]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR c++/12266
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
fa3a4f15
PM
12011-08-17 Phil Muldoon <pmuldoon@redhat.com>
2
3 * gdb.python/python.exp: Add extended-prompt tests.
4
c1049fca
JK
52011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6
7 * gdb.arch/i386-dr3-watch.exp
8 (watchpoint on gap1 does not fit debug registers)
9 (delete all watchpoints): Fix racy expect strings.
10
d93f7b5c
YQ
112011-08-14 Yao Qi <yao@codesourcery.com>
12
13 * gdb.base/maint.exp: set data_section to ".neardata".
14 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
15 * gdb.base/savedregs.exp: Handle SIGILL.
16 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
17 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
18
457e09f0
DE
192011-08-12 Doug Evans <dje@google.com>
20
21 * gdb.python/py-symbol.exp: Add test for symbol.type.
22
5d0bb2fb
UW
232011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
24
25 * gdb.threads/pthreads.exp: Enable on non-native configurations.
26 * gdb.mi/mi-pthreads.exp: Likewise.
27 * gdb.mi/mi2-pthreads.exp: Likewise.
28 * gdb.mi/gdb669.exp.exp: Likewise.
29
fcdfa280
PA
302011-08-09 Pedro Alves <pedro@codesourcery.com>
31
32 * lib/mi-support.exp (detect_async): Rename to...
33 (mi_detect_async): ... this.
34 * gdb.mi/mi-nonstop-exit.exp: Adjust.
35 * gdb.mi/mi-nonstop.exp: Adjust.
36 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
37 * gdb.mi/mi-nsintrall.exp: Adjust.
38 * gdb.mi/mi-nsmoribund.exp: Adjust.
39 * gdb.mi/mi-nsthrexec.exp: Adjust.
40
9d8fa392
PA
412011-08-09 Pedro Alves <pedro@codesourcery.com>
42
43 * gdb.base/display.c (do_loops): New `p_i' local.
44 * gdb.base/display.exp: Test displaying a variable that is
45 temporarily at a bad address.
46
b6cede78
JK
472011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
48
49 * gdb.dwarf2/dw2-op-stack-value.S: New file.
50 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
51
67bedb8c
JK
522011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
53
54 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
55 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
56 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 57
af6e93b2
PA
582011-08-05 Pedro Alves <pedro@codesourcery.com>
59
60 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
61 procedure.
62 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
63
1cf0e11f
YQ
642011-08-05 Yao Qi <yao@codesourcery.com>
65
66 * gdb.base/callfuncs.exp: Set language after main.
67 * gdb.cp/cplusfuncs.exp: Likewise.
68 * gdb.cp/inherit.exp: Likewise.
69
a1e28cb2
UW
702011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
71
72 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
73 * gdb.base/watch-vfork.exp: Skip on remote targets.
74
d4f5bbb9
UW
752011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
76
77 * gdb.threads/thread-find.exp: Support remote targets.
78
724f4f80
UW
792011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
80
81 * gdb.base/jit.exp: Download solib_binfile to target.
82 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
83 and call dlopen without full path name.
84 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
85 dlopen without full path name.
86
934709f0
PW
872011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
88
89 * gdb.base/break-always.exp: Complete the test
90 with duplicated breakpoints and enabling/disabling them.
91
c26106c4
TT
922011-08-02 Tom Tromey <tromey@redhat.com>
93
94 PR gdb/11289:
95 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
96
9300444e 972011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
98
99 PR gdb/13045
100 * gdb.base/float.exp: Add new test case for PR gdb/13045
101 * gdb.base/float.c: New file.
102
00bd41d6
PM
1032011-07-28 Phil Muldoon <pmuldoon@redhat.com>
104
105 * gdb.python/py-mi.exp: Test printers returning string hint, and
106 also not returning a value.
107 * gdb.python/py-prettyprint.c: Add testcase for above.
108 * gdb.python/py-prettyprint.py: Add test printer for above.
109
d24f74ce
JK
1102011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
111
112 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
113 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
114 (.Ldie30) Add as field "data4".
115 (.Ldie32) Rename field "b" to "shl".
116 (abbrev4) Change for the "data4" field.
117 (abbrev5, abbrev6) Remove.
118 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
119 (p &s.shl): ... here. Add comment.
120 (p &s.data4): New.
121
bb7da2bf
JK
1222011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
123
124 Fix crash on lval_computed values.
125 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
126
11081198
JK
1272011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
128
129 * gdb.base/help.exp (help whatis): Update the expected string.
130
3c6e0cb3
JK
1312011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
132
133 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
134 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
135 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
136 Change the expected string.
137
efa80663
PA
1382011-07-26 Pedro Alves <pedro@codesourcery.com>
139
140 * gdb.base/watchpoint.exp
141 (test_disable_enable_software_watchpoint): New procedure.
142 (top level): Run it.
143
db8e4570
UW
1442011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
145
146 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
147 executable file "${binfile}", C++ version "${binfile}-cxx".
148 * gdb.python/py-prettyprint.exp: Likewise.
149 * gdb.python/py-symbol.exp: Likewise.
150 * gdb.python/py-type.exp: Likewise.
151 * gdb.python/py-value.exp: Likewise.
152 * gdb.python/py-template.exp (test_template_arg): Pass full executable
153 file name instead of just suffix.
154
543305c9
JK
1552011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
156
157 Fix implicit pointer offsets.
158 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
159 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
160 (continue to breakpoint: continue to baz breakpoint for implptr)
161 (sanity check element 0, sanity check element 1)
162 (enter the inlined function, check element 0 for the offset)
163 (check element 1 for the offset)
164 (continue to breakpoint: ignore the second baz breakpoint): New tests.
165 (set foo breakpoint for implptr): Update the breakpoint number.
166
b3215adc
UW
1672011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
168
169 * gdb.python/py-mi.exp: Use different file names for different
170 versions of the executable under test.
171 * gdb.python/py-prettyprint.exp: Likewise.
172 * gdb.python/py-symbol.exp: Likewise.
173 * gdb.python/py-template.exp: Likewise.
174 * gdb.python/py-type.exp: Likewise.
175 * gdb.python/py-value.exp: Likewise.
176
182b9acc
UW
1772011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
178
179 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
180 flag after restarting GDB if necessary.
181
e6052b5d
UW
1822011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
183
184 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
185
1ced966e
PA
1862011-07-22 Pedro Alves <pedro@codesourcery.com>
187
188 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
189 backend doesn't leave used debug registers behind.
190
3543a589
TT
1912011-07-22 Tom Tromey <tromey@redhat.com>
192
193 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
194 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
195 argument.
196 * gdb.dwarf2/typeddwarf-amd64.S: New file.
197
14d15303 1982011-07-21 Matt Rice <ratmice@gmail.com>
199
200 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
201 in mostlyclean rule. Add files ending in .core.
202
9b158ba0 2032011-07-21 Matt Rice <ratmice@gmail.com>
204
205 PR macros/12999
206 * gdb.base/info-macros.c: New test sources.
207 * gdb.base/info-macros.exp: New tests.
208
d17b6f81
PM
2092011-07-21 Phil Muldoon <pmuldoon@redhat.com>
210
211 * gdb.python/python.exp: Add prompt substitution tests.
212
918dd910
JK
2132011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
214
215 Fix crash if referenced CU is aged out.
216 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
217 New.
218 * gdb.dwarf2/implptr.exp: Likewise.
219
0e37a63c
JK
2202011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
221
222 * gdb.dwarf2/implptr.S: Rebuilt.
223 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
224 (bar): Use them for j, k, l.
225 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
226 COMPILE.
227 (print j in implptr:bar): Update for the intp typedef.
228 (print p[0].x in implptr:foo): Use more exact regex.
229
f65cf84c
TT
2302011-07-18 Tom Tromey <tromey@redhat.com>
231
232 * gdb.cp/static-method.exp: Add missing single quote.
233
d5b4a7be
YQ
2342011-07-18 Yao Qi <yao@codesourcery.com>
235
236 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
237 supported.
238 * gdb.mi/mi-nonstop-exit.exp: Likewise.
239 * gdb.mi/mi-nonstop.exp: Likewise.
240 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
241 * gdb.mi/mi-nsintrall.exp: Likewise.
242 * gdb.mi/mi-nsmoribund.exp: Likewise.
243 * gdb.mi/mi-nsthrexec.exp: Likewise.
244 * gdb.python/py-evthreads.exp: Likewise.
245
e9ea2662
JK
2462011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
247
248 Code cleanup.
249 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
250 it. Substitute it instead of test_compiler_info everywhere.
251
ce451573
UW
2522011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
253
254 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
255 remote targets as well.
256
756d88a7
UW
2572011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
258
259 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
260 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
261
31f83dc5
UW
2622011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
263
264 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
265 a remote machine, not the host.
266 (gdb_compile_shlib): Set soname if target is remote.
267
059241a0
PP
2682011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
269
270 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
271
28a0b48c 2722011-07-13 Matt Rice <ratmice@gmail.com>
273
274 * gdb.python/py-objfile-script-gdb.py: Renamed to
275 py-objfile-script-gdb.py.in.
276 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
277 py-objfile-script-gdb.py.
278 * gdb.python/py-objfile-script.exp: Update reference to
279 py-objfile-script-gdb.py.
280
9a771b67
JK
2812011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
282
283 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
284 reference undefined label.
285
04ad99e6
JK
2862011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
287
288 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
289 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
290 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
291 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
292
713389e0
PM
2932011-07-11 Phil Muldoon <pmuldoon@redhat.com>
294
295 PR python/12438
296 * gdb.python/python.exp: Add maint set/show python print-stack
297 deprecated tests. Add set/show python print-backtrace tests.
298
97d146f8
JK
2992011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
300
301 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
302 debug info.
303
facde0e5 3042011-07-06 Matt Rice <ratmice@gmail.com>
305
306 * gdb.python/python.exp: Update filename paths.
307 * gdb.python/py-symtab.exp: Ditto.
308
438640d1
MP
3092011-07-06 Marek Polacek <mpolacek@redhat.com>
310
311 * gdb.python/py-evthreads.exp: Add missing `$'.
312
33a365df
MF
3132011-07-06 Jie Zhang <jie.zhang@analog.com>
314
315 * config/bfin.exp: New file.
316 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
317 * gdb.asm/bfin.inc: New file.
318
8f7ae686
MP
3192011-07-06 Marek Polacek <mpolacek@redhat.com>
320
df46027d 321 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
322 the whole output.
323
eb2a6f42
TT
3242011-07-05 Tom Tromey <tromey@redhat.com>
325
326 * gdb.java/jprint.java (jprint.hi): New field.
327 * gdb.java/jprint.exp: Print string.
328
177b42fe
TJB
3292011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
330
331 * gdb.base/call-sc.c: Fix typos.
332 * gdb.base/ifelse.exp: Likewise.
333 * gdb.base/structs.c: Likewise.
334
3b2a0cf2
JB
3352011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
336
337 * gdb.base/jit-so.exp: New test.
338 * gdb.base/jit-dlmain.c: New file.
339 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
340
46fc714c
JK
3412011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
342
343 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
344 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
345 * gdb.cp/pr9167.exp (p b): Likewise.
346 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
347 (test value of P in inner_m, test type of Z in inner_m): Call
348 setup_xfail for gcc <= 4.5.
46fc714c 349
418c7cf7
JK
3502011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
351
352 * gdb.cp/paren-type.cc: New files.
353 * gdb.cp/paren-type.exp: New files.
354
3d50dd94
JK
3552011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
356
357 Stop on first linespec terminator instead of eating what we can.
358 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
359 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
360 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
361 (break C::f()): ... this one.
362 (break C::operator()()): New test.
363 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
364 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
365 test.
366
dcf9f4ab
JK
3672011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
368
369 Fall back linespec to minimal symbols.
370 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
371 error message.
372 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
373 * gdb.cp/minsym-fallback-main.cc: New file.
374 * gdb.cp/minsym-fallback.cc: New file.
375 * gdb.cp/minsym-fallback.exp: New file.
376 * gdb.cp/minsym-fallback.h: New file.
377
3f542ed1
JK
3782011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
379
380 * gdb.cp/no-dmgl-verbose.cc: New file.
381 * gdb.cp/no-dmgl-verbose.exp: New file.
382
3832011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
384
385 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
386 __GI_.
387 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
388 (f): New function.
389 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
390 (complete p 'func<short>(): ... here.
391 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
392 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
393 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
394 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
395 Make them KFAIL gcc/49546.
396
00eb2c4a
JB
3972011-07-01 Joel Brobecker <brobecker@adacore.com>
398
399 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
400
85a20c42
JK
4012011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
402
403 Test GCC PR debug/49546.
404 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
405 (test type of F in k3_m, test value of F in k3_m): New.
406 * gdb.cp/temargs.cc (struct S3, struct K3): New.
407 (main): New variable k3. Call k3.k3_m.
408
d2d43431
JB
4092011-07-01 Jean-Charles Delay <delay@adacore.com>
410
411 * gdb.ada/packed_array.exp: Fix expected outout.
412
54ae186f
JB
4132011-07-01 Jean-Charles Delay <delay@adacore.com>
414
415 * gdb.ada/packed_array.exp: fixed expected output.
416
8f17729f
JB
4172011-07-01 Joel Brobecker <brobecker@adacore.com>
418
419 * gdb.ada/same_enum: New testcase.
420
f5aa6869
JB
4212011-07-01 Joel Brobecker <brobecker@adacore.com>
422
423 * gdb.ada/ptr_typedef: New testcase.
424
828292f2
JB
4252011-07-01 Joel Brobecker <brobecker@adacore.com>
426
427 * gdb.ada/arrayptr.exp: Add ptype test.
428
18920c42
JB
4292011-07-01 Joel Brobecker <brobecker@adacore.com>
430
431 * gdb.ada/char_enum: New testcase.
432
3536d9e3 4332011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
434
435 * gdb.base/dump.exp (capture_pointer_with_type): New.
436 Get value from address instead of name.
437 Start GDB once, and do `dump' and `restore'
438 tests together.
439
db863c42
MF
4402011-06-30 Jie Zhang <jie.zhang@analog.com>
441 Mike Frysinger <vapier@gentoo.org>
442
443 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
444 helper functions for getting/setting remotetimeout variable.
445 * lib/gdb.exp (gdb_load): If the target is remote, set
446 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
447 with $loadtimeout. Set $load_ok to 0 before doing the load.
448 Instead of returning, immediately, set $load_ok to 0. Call
449 set_remotetimeout with $oldremotetimeout, and then return if
450 $load_ok is 1.
451
e9e642a8
AB
4522011-06-30 Andrew Burgess <aburgess@broadcom.com>
453
454 * gdb.python/py-template.exp: Don't run this test if the target
455 does not support c++ tests.
456
32019081
JK
4572011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
458
459 Fix non-only rename list for Fortran modules import.
460 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
461 tests.
462 * gdb.fortran/module.f90 (module moduse): New.
463 (program module): use moduse, test var_x, var_y and var_z.
464
0ecee54c
TT
4652011-06-29 Tom Tromey <tromey@redhat.com>
466
467 PR testsuite/12040:
468 * gdb.fortran/array-element.exp: Use f90, not f77.
469 * gdb.fortran/complex.exp: Use f90, not f77.
470 * gdb.fortran/derived-type.exp: Use f90, not f77.
471 * gdb.fortran/library-module.exp: Use f90, not f77.
472 * gdb.fortran/logical.exp: Use f90, not f77.
473 * gdb.fortran/module.exp: Use f90, not f77.
474 * gdb.fortran/multi-dim.exp: Use f90, not f77.
475 * gdb.fortran/subarray.exp: Use f90, not f77.
476
3b2b8fea
TT
4772011-06-29 Tom Tromey <tromey@redhat.com>
478
479 * gdb.fortran/charset.exp: New file.
480 * gdb.fortran/charset.f90: New file.
481
42159ca5
TT
4822011-06-29 Tom Tromey <tromey@redhat.com>
483
484 PR testsuite/12040:
485 * lib/future.exp: New file, mostly extracted from ada.exp.
486 Rewrote compatibility code to use rename.
487 (gdb_find_gfortran): New proc.
488 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
489 gfortran patch.
490 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
491 Move to future.exp.
492 * lib/gdb.exp: Always load future.exp.
493
af69a5ce
YQ
4942011-06-28 Yao Qi <yao@codesourcery.com>
495
496 * gdb.cp/exception.cc: Don't include iostream.
497 (bar): Remove print statement.
498 (catcher): New.
499 (main): Remove print statements. Call function catcher.
500 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
501 Set breakpoint on catcher, and check the value of parameter.
502
ab5c6a72
YQ
5032011-06-23 Yao Qi <yao@codesourcery.com>
504
505 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
506 1.2 is disabled. KFAIL for uclinux.
507
9497469f
MP
5082011-06-23 Marek Polacek <mpolacek@redhat.com>
509
510 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
511 mi_gdb_test.
512
b9132588
MP
5132011-06-23 Marek Polacek <mpolacek@redhat.com>
514
5d197ed0 515 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 516
e55595ca
MP
5172011-06-23 Marek Polacek <mpolacek@redhat.com>
518
5d197ed0
MP
519 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
520
5212011-06-23 Marek Polacek <mpolacek@redhat.com>
522
523 * gdb.mi/mi2-basics.exp: Fix races. Honour the
524 `test_exec_and_symbol_mi_operatons' return value.
525 (test_mi_interpreter_selection): Use mi_gdb_test instead of
526 gdb_test_multiple.
527 (test_exec_and_symbol_mi_operatons): Likewise.
528 (test_path_specification): Likewise.
e55595ca 529
be777e08
YQ
5302011-06-23 Yao Qi <yao@codesourcery.com>
531
532 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
533 supported.
534 * lib/gdb.exp (support_displaced_stepping): New.
535
615556d6
YQ
5362011-06-23 Yao Qi <yao@codesourcery.com>
537
538 * gdb.threads/execl.exp: Skip on remote target.
539
833b0ca7
MP
5402011-06-21 Marek Polacek <mpolacek@redhat.com>
541
5d197ed0 542 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
543 mi_gdb_test.
544
1ee4023a
MP
5452011-06-20 Marek Polacek <mpolacek@redhat.com>
546
5d197ed0 547 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 548
d0b1d624
MP
5492011-06-20 Marek Polacek <mpolacek@redhat.com>
550
5d197ed0 551 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
552 mi_gdb_test.
553
79aa92c1
MP
5542011-06-20 Marek Polacek <mpolacek@redhat.com>
555
5d197ed0 556 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 557
5ce5db06
YQ
5582011-06-14 Yao Qi <yao@codesourcery.com>
559
560 gdb/testsuite/
561 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
562
533a737e
JK
5632011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
564
565 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
566
d0e53741
TT
5672011-06-10 Tom Tromey <tromey@redhat.com>
568
569 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
570 Add tests for pointer-to-member-function.
571 * gdb.cp/temargs.cc (S::somefunc): New function.
572 (K2): New class.
573 (main): Instantiate K2; call method.
574
b5916bbd
JB
5752011-06-08 Joel Brobecker <brobecker@adacore.com>
576
577 * gdb.python/py-inferior.c (f2): Make str an array rather
578 than a pointer.
579 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
580
5be4dfca
JK
5812011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
582
583 * gdb.base/async-shell.c: New file.
584 * gdb.base/async-shell.exp: New file.
585
9f47e254
PA
5862011-06-06 Pedro Alves <pedro@codesourcery.com>
587
588 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
589
64b9b334
JB
5902011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
591
592 From Stephen Kitt <steve@sk2.org>
593 * gdb.base/help.exp: Adjust following some spelling corrections
594 in GDB.
595
dbc0f131
YQ
5962011-06-01 Yao Qi <yao@codesourcery.com>
597
598 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
599
fd336a18
KS
6002010-05-31 Keith Seitz <keiths@redhat.com>
601
602 PR c++/12750
603 * gdb.cp/static-method.cc: New file.
604 * gdb.cp/static-method.exp: New file.
605
fa8b9902
KS
6062010-05-31 Keith Seitz <keiths@redhat.com>
607
608 PR symtab/12704
609 * gdb.cp/anon-ns.cc: New file.
610 * gdb.cp/anon-ns.exp: New file.
611
0a5b1e09
PA
6122011-05-31 Pedro Alves <pedro@codesourcery.com>
613
614 * gdb.arch/i386-dr3-watch.c: New file.
615 * gdb.arch/i386-dr3-watch.exp: New file.
616
0578b8d1
YQ
6172011-05-30 Yao Qi <yao@codesourcery.com>
618
619 * gdb.base/callfuncs.c (t_structs_fc): New.
620 (t_structs_dc, t_structs_ldc): New.
621 (t_double_many_args):
622 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
623 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
624 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
625 * gdb.base/callfuncs.exp: Call new functions.
626
6680506e
YQ
6272011-05-30 Yao Qi <yao@codesourcery.com>
628
ff4d2c60
YQ
629 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
630 Call rerun_and_prepare for each test to isolate effects.
631
6322011-05-30 Yao Qi <yao@codesourcery.com>
633
634 * gdb.base/varargs.c (find_max_float_real): New.
635 (find_max_double_real, find_max_long_double_real): New.
636 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
637 * lib/gdb.exp (setup_kfail_for_target): New.
638
e43ec454
YQ
6392011-05-30 Yao Qi <yao@codesourcery.com>
640
641 * gdb.base/funcargs.c (callca, callcb, callcc): New.
642 (callcd, callce, callcf, callc1a, callc1b): New.
643 (callc2a, callc2b): New.
644 * gdb.base/funcargs.exp (complex_args): New.
645 (complex_integral_args, complex_float_integral_args): New.
646 * lib/gdb.exp (support_complex_tests): New. Determine
647 whether to run test cases on _Complex types.
648
432b4d03
JK
6492011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
650
651 * gdb.threads/leader-exit.c: New file.
652 * gdb.threads/leader-exit.exp: New file.
653
6caf069d
MP
6542011-05-27 Marek Polacek <mpolacek@redhat.com>
655
9497469f 656 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 657
97fce28b
MP
6582011-05-27 Marek Polacek <mpolacek@redhat.com>
659
660 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
661 remove the `supported' variable.
662 * gdb.mi/mi-nonstop.exp: Likewise.
663 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
664 * gdb.mi/mi-nsintrall.exp: Likewise.
665 * gdb.mi/mi-nsmoribund.exp: Likewise.
666 * gdb.mi/mi-nsthrexec.exp: Likewise.
667
9da8c2a0
PA
6682011-05-26 Pedro Alves <pedro@codesourcery.com>
669
670 * gdb.reverse/finish-reverse-bkpt.exp: New test.
671
2c03e5be
PA
6722011-05-26 Pedro Alves <pedro@codesourcery.com>
673
674 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
675
2e21250d
KS
6762011-05-24 Keith Seitz <keiths@redhat.com>
677
678 PR breakpoint/12803
679 * gdb.cp/cmpd-minsyms.cc (a): New method.
680 (b): New method.
681 (c): New method.
682 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
683
cdac0397
PA
6842011-05-24 Pedro Alves <pedro@codesourcery.com>
685
686 * gdb.base/commands.exp (watchpoint_command_test): Check that the
687 watchpoint's command list didn't execute when the watchpoint went
688 out of scope.
689
ee5683ab
PM
6902011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
691
692 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
693 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
694 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
695 * gdb.arch/i386-gnu-cfi.exp: Likewise.
696 * gdb.arch/i386-permbkpt.exp: Likewise.
697 * gdb.arch/i386-prologue.exp: Likewise.
698 * gdb.arch/i386-size-overlap.exp: Likewise.
699 * gdb.arch/i386-size.exp: Likewise.
700 * gdb.arch/i386-unwind.exp: Likewise.
701 * gdb.reverse/i386-precsave.exp: Likewise.
702 * gdb.reverse/i386-reverse.exp: Likewise.
703 * gdb.reverse/i386-sse-reverse.exp: Likewise.
704 * gdb.reverse/i387-env-reverse.exp: Likewise.
705 * gdb.reverse/i387-stack-reverse.exp: Likewise.
706
c91c8c16
PA
7072011-05-24 Pedro Alves <pedro@codesourcery.com>
708
709 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
710 file doesn't error, using MI.
711
c50491a7
TT
7122011-05-23 Tom Tromey <tromey@redhat.com>
713
714 * gdb.base/charset.exp (string_display): Add tests to assign to
715 arrays.
716 * gdb.base/charset.c (short_array, int_array, long_array): New.
717
4a07b7da
PA
7182011-05-20 Pedro Alves <pedro@codesourcery.com>
719
720 Cope with async mode.
721
4a07b7da
PA
722 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
723 into gdb_test + mi_expect_stop.
724
b275f2d2
PA
7252011-05-20 Pedro Alves <pedro@codesourcery.com>
726
727 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
728 (callme): Remove printf call.
729
eec52c44
PM
7302011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
731
732 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
733 quote pattern to avoid problems with Cygwin/mingw expect versions.
734 * gdb.base/default.exp (show convenience): Use double
735 quote pattern for regular expressions.
736
b3c8eb43
JK
7372011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
738
739 Fix -readnow for -gdwarf-4 unused type units.
740 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
741 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
742
ed731959
JK
7432011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
744
745 * gdb.base/kill-after-signal.c: New file.
746 * gdb.base/kill-after-signal.exp: New file.
747
3b48433d
PA
7482011-05-16 Pedro Alves <pedro@codesourcery.com>
749
750 * gdb.ada/start.exp: Call untested with the correct test filename.
751 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
752 test filename. Make the test's binary unique.
753 * gdb.arch/i386-signal.exp: Call untested with the correct test
754 filename.
755 * gdb.arch/i386-size-overlap.exp: Ditto.
756 * gdb.arch/Makefile.in (EXECUTABLES): Update.
757 * gdb.base/gcore-buffer-overflow.exp: Ditto.
758 * gdb.cp/call-c.exp: Ditto.
759 * gdb.mi/mi-reverse.exp: Call untested with the correct test
760 filename. Make the test's binary unique.
761 * gdb.mi/Makefile.in (EXECUTABLES): Update.
762 * gdb.python/py-mi.exp: Ditto.
763 * gdb.python/Makefile.in (EXECUTABLES): Update.
764 * gdb.reverse/i386-precsave.exp: Ditto.
765 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
766 test filename.
767 * gdb.reverse/i387-stack-reverse.exp: Ditto.
768 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
769 unique.
770 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
771 test filename.
772 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
773 * gdb.trace/tfile.exp: Ditto.
774
ba4a8bdd
YQ
7752011-05-14 Yao Qi <yao@codesourcery.com>
776
777 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
778 type.
779
dbaefcf7
DE
7802011-05-13 Doug Evans <dje@google.com>
781
782 * gdb.python/py-objfile-script.exp: New file.
783 * gdb.python/py-objfile-script.c: New file.
784 * gdb.python/py-objfile-script-gdb.py: New file.
785 * testsuite/gdb.python/py-section-script.exp: Test
786 "info auto-load-scripts".
787
9930639c
TT
7882011-05-13 Tom Tromey <tromey@redhat.com>
789
790 * gdb.dwarf2/clztest.exp: New file.
791 * gdb.dwarf2/clztest.c: New file.
792 * gdb.dwarf2/clztest.S: New file.
793
05272e11
DE
7942011-05-13 Doug Evans <dje@google.com>
795
cc63ef9b
DE
796 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
797 String16 tests.
05272e11 798
6edba76f
TT
7992011-05-13 Tom Tromey <tromey@redhat.com>
800
801 * lib/gdb.exp (is_x86_like_target): New proc.
802 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
803 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
804 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
805 -nostdlib to compiler.
806 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
807 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
808 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
809 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
810 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
811
028d0ed5
TJB
8122011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
813
814 * gdb.python/py-function.exp: Test setting a value from a function
815 which executes a command.
816
8a9b8146
TT
8172011-05-12 Tom Tromey <tromey@redhat.com>
818
819 * gdb.dwarf2/typeddwarf.S: New file.
820 * gdb.dwarf2/typeddwarf.c: New file.
821 * gdb.dwarf2/typeddwarf.exp: New file.
822
10483e8e
MP
8232011-05-12 Marek Polacek <mpolacek@redhat.com>
824
825 * gdb.mi/mi-basics.exp: Fix races. Honour the
826 `test_exec_and_symbol_mi_operatons' return value.
827 (test_mi_interpreter_selection): Use mi_gdb_test instead of
828 gdb_test_multiple.
829 (test_exec_and_symbol_mi_operatons): Likewise.
830 (test_path_specification): Likewise.
831
faf067f1
JK
8322011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
833
834 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
835 (gdb_touch_execfile): Remove catch wrappers. New variable time.
836 Replace `file copy' and `file rename' by `file mtime'. Twice.
837
7ff911a3
JK
8382011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
839
840 * gdb.base/readline-ask.c: New file.
841 * gdb.base/readline-ask.exp: New file.
842 * gdb.base/readline-ask.inputrc: New file.
843
a536c6d7
UW
8442011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
845
846 * gdb.cell/bt.exp: Delete breakpoints before running to signal
847 to avoid race condition.
848 * gdb.cell/coremaker.c: Use small stack size.
849 * gdb.cell/ea-standalone.exp: Use file name without path as
850 argument to c_to.
851 * gdb.cell/fork.exp: Allow other output when continuing to end.
852
d472a426
JK
8532011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
854
855 * gdb.threads/corethreads.c: New file.
856 * gdb.threads/corethreads.exp: New file.
857
8582011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
859
860 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
861 Try to compile the test using -Wl,-z,norelro first.
862 (load_core): New variable libthread_db_seen, initialize it.
863 (zeroed-threads cannot be listed): Protect it by XFAIL on
864 !$libthread_db_seen.
865
8be455d7
JK
8662011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
867
868 PR 12573
869 * gdb.dwarf2/dw2-skip-prologue.S: New file.
870 * gdb.dwarf2/dw2-skip-prologue.c: New file.
871 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
872
1976171a
JK
8732011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
874
875 * gdb.cp/psymtab-parameter.cc: New file.
876 * gdb.cp/psymtab-parameter.exp: New file.
877
7db6f30f
JK
8782011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
879
880 Fix a race.
881 * gdb.cp/static-print-quit.exp (print c): Split to ...
882 (print c - <return>, print c - q <return>, print c - to quit):
883 ... these. Make the testfile untested on gdb-7.1.
884
85161e9e 8852011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
886
887 * lib/gdb.exp (exec_target_file, exec_symbol_file,
888 gdb_rename_execfile, gdb_touch_execfile): New.
889 * gdb.base/reread.exp: Use new procs to handle multiple
890 exec files.
891
0c51be18
YQ
8922011-05-05 Yao Qi <yao@codesourcery.com>
893
894 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
895 (test_adr_32bit, test_pop_pc): New.
896 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
897 (test_adr_32bit, test_pop_pc): New.
898
4d393d60
JM
8992011-05-04 Joseph Myers <joseph@codesourcery.com>
900
901 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
902 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
903 targets.
904 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
905 handle targets.
906
8ffd0459
JK
9072011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
908
909 * gdb.base/completion.exp (complete help info wat): Rename to ...
910 (complete 'help info wat'): ... here.
911 Remove all `-re ".*' and `-re "^.*' redundant regexes.
912 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
913
8e28d804
PA
9142011-05-04 Pedro Alves <pedro@codesourcery.com>
915
916 * gdb.base/completion.exp: Use gdb_test_multiple instead of
917 gdb_test and explicit $gdb_prompt/timeout matches.
918
3eb2ef34
YQ
9192011-05-04 Yao Qi <yao@codesourcery.com>
920
921 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
922 and __thumb2__.
923
aaaf81a3
MP
9242011-05-03 Marek Polacek <mpolacek@redhat.com>
925
926 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
927 in place of `gdb_test "delete breakpoints"'. This eliminates two
928 testcases.
929
c4cbc0df
PA
9302011-05-02 Pedro Alves <pedro@codesourcery.com>
931
932 PR testsuite/12649
933 Fix races.
934
935 * gdb.base/completion.exp: Remove all sleep calls. Remove
936 unnecessary regexs. Don't explicitly expect anything after the
937 prompt. Eat the prompt if necessary.
938
b4cbb4a3
EBM
9392011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
940
941 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
942 accept to show the caller line again as well as the line after.
943
d65aec65
PM
9442011-04-29 Phil Muldoon <pmuldoon@redhat.com>
945
946 PR mi/12531
947
948 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
949 compile target.
950 * gdb.python/py-prettyprint.exp: Add C++ object for
951 CPLUS_FAKE_CHILD test.
952
30852783
UW
9532011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
954
955 * gdb.base/signest.exp: New file.
956 * gdb.base/signest.c: Likewise.
957
c7b1f0d9
JK
9582011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
959
960 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
961 thread and breakpoint notifications.
962
559a7a62
JK
9632011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
964
965 * gdb.base/fortran-sym-case.c: New file.
966 * gdb.base/fortran-sym-case.exp: New file.
967 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
968 * gdb.dwarf2/dw2-case-insensitive.c: New file.
969 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
970
8344e389
JK
9712011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
972
973 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
974 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
975 false #1', `if true else false #2' and `if true else false #3'.
976
2484c66b
UW
9772011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
978
979 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
980 while delivering signal.
981
8d3788bd
VP
9822011-04-27 Vladimir Prus <vladimir@codesourcery.com>
983
984 MI breakpoint notifications.
985
986 * testsuite/gdb.mi/mi-cli.exp: Adust.
987 * testsuite/gdb.mi/mi2-cli.exp: Adust.
988 * testsuite/gdb.mi/mi-watch.exp: Adust.
989 * testsuite/gdb.mi/mi2-watch.exp: Adust.
990 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
991 notifications.
992
3e03848b
JK
9932011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
994
995 * gdb.base/gdbindex-stabs-dwarf.c: New file.
996 * gdb.base/gdbindex-stabs.c: New file.
997 * gdb.base/gdbindex-stabs.exp: New file.
998
918c9108
YQ
9992011-04-25 Yao Qi <yao@codesourcery.com>
1000
1001 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
1002 with /*...*/.
1003 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
1004
90556b8c
JK
10052011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1006
1007 * gdb.python/py-value.exp (test_objfiles): Name the first test
1008 `py-value in file.filename'.
1009
03f2bd59
JK
10102011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1011
1012 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
1013 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
1014 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
1015 !gdbserver_reconnect_p..
1016 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
1017
7b08b9eb
JK
10182011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1019
1020 * gdb.cp/cpcompletion.exp (complete class methods)
1021 (complete class methods beginning with F): Move them above runto. New
1022 comment about the runto delimiter.
1023
b78974c3
PA
10242011-04-20 Pedro Alves <pedro@codesourcery.com>
1025
1026 * gdb.base/maint.exp: Test that "maint print registers" works
1027 without a running program.
1028
20429c40 10292011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 1030
20429c40
MP
1031 * gdb.base/setshow.exp: Fix racy tests.
1032 ($old_gdb_prompt): New variable.
1033
7a9dd1b2
TT
10342011-04-19 Tom Tromey <tromey@redhat.com>
1035
1036 * gdb.mi/mi-nsmoribund.exp:
1037 * gdb.hp/gdb.objdbg/objdbg01.exp:
1038 * gdb.base/structs.exp (test_struct_returns):
1039 * gdb.base/call-sc.exp (test_scalar_returns):
1040 * gdb.base/bigcore.exp: Remove duplicate words.
1041
02835898
JK
10422011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1043
1044 * gdb.base/break-interp-lib.c (v, vptr): New variables.
1045 * gdb.base/break-interp.exp (test_attach): New comment.
1046
254f582e
JK
10472011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1048
1049 * gdb.threads/gcore-thread.exp ($core0file): New variable.
1050 (clear __stack_user.next, clear stack_used.next)
1051 (save a zeroed-threads corefile): New test.
1052 Call core_load for $core0file.
1053 (zeroed-threads cannot be listed): New test.
1054
4fe85f5c
JK
10552011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1056
1057 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
1058 filename.
1059 ($srcfile): Preserve the original value.
1060 ($testfile): Match it the .exp filename.
1061 ($corefile): New variable. Substitute it around.
1062 Use clean_restart.
1063 ($prev_timeout): Remove.
1064 (load_core): Move core loading into this proc.
1065 Fix restore of $timeout if load_core fails.
1066
63524580
JK
10672011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1068
1069 * gdb.base/eu-strip-infcall.c: New file.
1070 * gdb.base/eu-strip-infcall.exp: New file.
1071
90359a16
JK
10722011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1073
1074 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
1075 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
1076
626e7282
JK
10772011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1078
1079 Fix Python access to inlined frames.
1080 * gdb.python/py-frame-inline.c: New file.
1081 * gdb.python/py-frame-inline.exp: New file.
1082
3363d018
EBM
10832011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
1084
1085 * gdb.base/gdb1090.exp: Change breakpoint location to read the
1086 content of 's24' correctly (avoiding "optimized out").
1087 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
1088
28781456
JK
10892011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1090
1091 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
1092
4a4106ca
TJB
10932011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1094
1095 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
1096 expect a colon in watch -location output.
1097
d26ccb4f
JK
10982011-04-13 Marek Polacek <mpolacek@redhat.com>
1099
df46027d 1100 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
1101 New testcase `expect response to define backtrace'. Also remove
1102 redundant `default' block.
1103
e1ab1f9c
JK
11042011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1105
1106 * gdb.python/py-prettyprint.c (struct hint_error): New.
1107 (main): New variable hint_error.
1108 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
1109 "print hint_error".
1110 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
1111 (register_pretty_printers): Register it.
1112
0c2e6019
TT
11132011-04-04 Tom Tromey <tromey@redhat.com>
1114
1115 * gdb.cp/maint.exp (test_help): Update.
1116 (test_namespace): Likewise.
1117
af57139d
JB
11182011-04-01 Joel Brobecker <brobecker@adacore.com>
1119
1120 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
1121 * gdb.ada/arrayptr.exp: Add new tests.
1122
956a9fb9
JB
11232011-04-01 Joel Brobecker <brobecker@adacore.com>
1124
1125 * gdb.ada/mi_catch_ex: New testcase.
1126
d0c4d642
PA
11272011-04-01 Pedro Alves <pedro@codesourcery.com>
1128
1129 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
1130 base::overload(void) method without specifying "const".
1131
18819fa6
UW
11322011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1133
1134 * gdb.arch/thumb-singlestep.S: New file.
1135 * gdb.arch/thumb-singlestep.exp: Likewise.
1136
a4c8e806
TT
11372011-03-31 Tom Tromey <tromey@redhat.com>
1138
1139 * gdb.python/py-prettyprint.py (exception_flag): New global.
1140 (NoStringContainerPrinter._iterator.next): Check it.
1141 * gdb.python/py-prettyprint.c (main): New variable nstype2.
1142 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
1143
53832f31
TT
11442011-03-29 Tom Tromey <tromey@redhat.com>
1145
1146 * gdb.cp/anon-struct.cc: New file.
1147 * gdb.cp/anon-struct.exp: New file.
1148
e4620230
JK
11492011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1150
1151 Test STT_GNU_IFUNC support.
1152 * gdb.base/gnu-ifunc-lib.c: New file.
1153 * gdb.base/gnu-ifunc.c: New file.
1154 * gdb.base/gnu-ifunc.exp: New file.
1155
d0fb5eae
JK
11562011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1157
1158 Support a ring of related breakpoints.
1159 * gdb.base/watchpoint-delete.c: New file.
1160 * gdb.base/watchpoint-delete.exp: New file.
1161
20106cfb
JK
11622011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1163
1164 * gdb.ada/arrayparam.exp (print first after function call): Use
1165 explicit package name. Add a comment
1166 (print lasta after function call): Rename ...
1167 (print last after function call): ... it and use explicit package
1168 name.
1169 (print length after function call): Use explicit package name.
1170 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
1171 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
1172 (multiple matches for symbol i): Rename ...
1173 (multiple matches for symbol integervar): ... it.
1174 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
1175 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
1176
e7ab5e63
AB
11772011-03-25 Andrew Burgess <aburgess@broadcom.com>
1178
1179 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
1180 environment variable to make grep output more predictable. Move
1181 all the environment setup into gdb_init so it's done once per test
1182 case rather than each time we start gdb.
1183
9ef07c8c
TT
11842011-03-24 Tom Tromey <tromey@redhat.com>
1185
1186 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
1187 test.
1188
dd90784c
JK
11892011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1190
1191 * gdb.dwarf2/dw2-entry-value-main.c: New file.
1192 * gdb.dwarf2/dw2-entry-value.S: New file.
1193 * gdb.dwarf2/dw2-entry-value.exp: New file.
1194
05775840
PM
11952011-03-22 Phil Muldoon <pmuldoon@redhat.com>
1196
1197 PR python/12183
1198
1199 * gdb.python/py-function.exp: Add GdbError tests.
1200
8661b11b
PA
12012011-03-18 Pedro Alves <pedro@codesourcery.com>
1202
1203 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
1204 (reglocal_test_func, statlocal_test_func): New functions.
1205 (globals_test_func): Call new functions.
1206 * gdb.trace/unavailable.exp (gdb_collect_args_test)
1207 (gdb_collect_locals_test): New procedure.
1208 (gdb_trace_collection_test): Call new procedures.
1209
0fdb4f18
PA
12102011-03-18 Pedro Alves <pedro@codesourcery.com>
1211
1212 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
1213 (test_register, test_register_unavailable): New procedures.
1214 (gdb_unavailable_registers_test): New procedure.
1215 (gdb_trace_collection_test): Call it.
1216
99c3dc11
PM
12172011-03-18 Phil Muldoon <pmuldoon@redhat.com>
1218
1219 PR python/12149
1220
1221 * gdb.python/python.exp: Add gdb.write tests.
1222
29703da4
PM
12232010-03-17 Phil Muldoon <pmuldoon@redhat.com>
1224
1225 * gdb.python/Makefile.in: Add py-objfile.
1226 * gdb.python/py-objfile.exp: New file.
1227 * gdb.python/py-objfile.c: New file.
1228 * gdb.python/py-block.exp: Add is_valid tests.
1229 * gdb.python/py-inferior.exp: Ditto.
1230 * gdb.python/py-infthread.exp: Ditto.
1231 * gdb.python/py-symbol.exp: Ditto.
1232 * gdb.python/py-symtab.exp: Ditto.
1233
598997c8
KS
12342011-03-16 Keith Seitz <keiths@redhat.com>
1235
1236 PR c++/12273
1237 * gdb.cp/cmpd-minsyms.exp: New test.
1238 * gdb.cp/cmpd-minsyms.cc: New file.
1239
1240 PR c++/11734
1241 * gdb.cp/ovsrch.exp: New test.
1242 * gdb.cp/ovsrch.h: New file.
1243 * gdb.cp/ovsrch1.cc: New file.
1244 * gdb.cp/ovsrch2.cc: New file.
1245 * gdb.cp/ovsrch3.cc: New file.
1246 * gdb.cp/ovsrch4.cc: New file.
1247
c91513d8
PP
12482011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1249
1250 PR gdb/12528
1251 * gdb.base/Makefile.in: Adjust EXECUTABLES.
1252 * gdb.base/break-on-linker-gcd-function.exp: New test.
1253 * gdb.base/break-on-linker-gcd-function.cc: New file.
1254
7470fc63
AT
12552011-03-15 Andreas Tobler <andreast@fgznet.ch>
1256
1257 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
1258
959e7469
PM
12592011-03-15 Phil Muldoon <pmuldoon@redhat.com>
1260
1261 * lib/gdb.exp (gdb_unload): Add another termination case.
1262
9373cf26
JK
12632011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1264
1265 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
1266 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
1267 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
1268 Provide a stub byte there.
1269 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
1270 DW_AT_entry_pc.
1271 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
1272
24e9cda0
UW
12732011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
1274
1275 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
1276 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
1277 "generic ABI, auto".
1278 (altivec_abi_tests): Accept vectors returned by reference.
1279
7371cf6d
PM
12802010-03-14 Phil Muldoon <pmuldoon@redhat.com>
1281
1282 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
1283
ce77046a
UW
12842011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
1285
1286 * gdb.python/py-section-script.exp: Skip test if no Python support.
1287
176400c3
UW
12882011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
1289
1290 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
1291
ecec24e6
PM
12922011-03-10 Phil Muldoon <pmuldoon@redhat.com>
1293
1294 * gdb.python/py-parameter.exp: Update tests to the new Python
1295 parameter API. Add "no documentation" test. Add deprecated API
1296 backward compatibility test.
1297
5dbdd470
TT
12982011-03-09 Tom Tromey <tromey@redhat.com>
1299
1300 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
1301 gdb_continue_to_end.
1302
b66e66ee
MK
13032011-03-09 Mark Kettenis <kettenis@gnu.org>
1304
1305 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
1306 tabs.
1307
eceb0c5f
TT
13082011-03-09 Tom Tromey <tromey@redhat.com>
1309
1310 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
1311 parentheses.
1312 (gdb_continue_to_end): Add "allow_extra" parameter. Use
1313 $command.
1314 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
1315 argument to gdb_continue_to_end.
1316 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
1317 argument to gdb_continue_to_end.
1318 * gdb.cp/annota3.exp: Fix regex.
1319 * gdb.cp/annota2.exp: Fix regex.
1320 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
1321 gdb_continue_to_end.
1322 * gdb.base/call-signal-resume.exp: Revert earlier patch.
1323 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
1324 gdb_continue_to_end.
1325
63154eca
PA
13262011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1327
1328 * gdb.server/ext-run.exp
1329 (load new file without any gdbserver inferior): New test.
1330
967d1f9b
TT
13312011-03-07 Tom Tromey <tromey@redhat.com>
1332
1333 * Makefile.in (TAGS): Rewrite.
1334
d68dcbb9
JK
13352011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1336
1337 * gdb.trace/report.exp (12.1: trace report #1): New match for the
1338 initial commands echo. New match for `Found trace'. Anchor all the
1339 other matches. Anchor and match for `No trace frame found' the final
1340 match.
1341
6bf58e63
TT
13422011-03-07 Tom Tromey <tromey@redhat.com>
1343
1344 * Makefile.in (TAGS): New target.
1345
fda326dd
TT
13462011-03-07 Tom Tromey <tromey@redhat.com>
1347
1348 * lib/opencl.exp (skip_opencl_tests): Update for exit message
1349 change.
1350 * lib/mi-support.exp (mi_gdb_test): Update for exit message
1351 change.
1352 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
1353 exit message change.
1354 (skip_altivec_tests): Update for exit message change.
1355 (skip_vsx_tests): Likewise.
1356 (gdb_continue_to_end): Likewise. Add 'command' argument.
1357 * lib/cell.exp (skip_cell_tests): Update for exit message change.
1358 * gdb.threads/tls.exp: Update for exit message change.
1359 * gdb.threads/thread-unwindonsignal.exp: Use
1360 gdb_continue_to_end.
1361 * gdb.threads/step.exp (step_it): Update for exit message change.
1362 (continue_all): Likewise.
1363 * gdb.threads/print-threads.exp (test_all_threads): Update for
1364 exit message change.
1365 * gdb.threads/interrupted-hand-call.exp: Use
1366 gdb_continue_to_end.
1367 * gdb.threads/execl.exp: Use gdb_continue_to_end.
1368 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
1369 gdb_continue_to_end.
1370 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
1371 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
1372 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
1373 * gdb.cp/method.exp: Update for exit message change.
1374 * gdb.cp/mb-templates.exp: Update for exit message change.
1375 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
1376 * gdb.cp/annota3.exp: Update for exit message change.
1377 * gdb.cp/annota2.exp: Update for exit message change.
1378 * gdb.cell/fork.exp: Use gdb_continue_to_end.
1379 * gdb.base/term.exp: Update for exit message change.
1380 * gdb.base/step-test.exp (test_i): Update for exit message change.
1381 * gdb.base/sigstep.exp (advance): Update for exit message change.
1382 (advancei): Likewise.
1383 * gdb.base/siginfo.exp: Update for exit message change.
1384 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
1385 * gdb.base/reread.exp: Use gdb_continue_to_end.
1386 * gdb.base/langs.exp: Use gdb_continue_to_end.
1387 * gdb.base/interrupt.exp: Update for exit message change.
1388 * gdb.base/gdb1555.exp: Update for exit message change.
1389 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
1390 * gdb.base/ending-run.exp: Update for exit message change.
1391 * gdb.base/chng-syms.exp: Update for exit message change.
1392 * gdb.base/checkpoint.exp: Update for exit message change.
1393 * gdb.base/catch-syscall.exp (check_for_program_end): Use
1394 gdb_continue_to_end.
1395 (test_catch_syscall_with_wrong_args): Likewise.
1396 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
1397 * gdb.base/break-interp.exp (test_ld): Update for exit message
1398 change.
1399 * gdb.base/bang.exp: Update for exit message change.
1400 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
1401 (do_call_attach_tests): Likewise.
1402 * gdb.base/a2-run.exp: Update for exit message change.
1403 * gdb.arch/ppc-dfp.exp: Update for exit message change.
1404 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
1405 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
1406
dd19bd70
JK
14072011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1408
1409 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
1410
30e62689
TT
14112011-03-03 Tom Tromey <tromey@redhat.com>
1412
1413 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
1414 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
1415 * gdb.hp/gdb.aCC/configure.ac: Remove.
1416 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
1417 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
1418 * gdb.hp/gdb.base-hp/configure.ac: Remove.
1419 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
1420 * gdb.hp/gdb.compat/configure (Makefile): Remove.
1421 * gdb.hp/gdb.compat/configure.ac: Remove.
1422 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
1423 * gdb.hp/gdb.defects/configure (Makefile): Remove.
1424 * gdb.hp/gdb.defects/configure.ac: Remove.
1425 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
1426 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
1427 * gdb.hp/gdb.objdbg/configure.ac: Remove.
1428 * gdb.hp/configure.ac: Remove.
1429 * gdb.hp/configure: Remove.
1430 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
1431 substitution.
1432 (Makefile): Remove rule.
1433 * gdb.cell/configure.ac: Remove.
1434 * gdb.cell/configure: Remove.
1435 * gdb.stabs/Makefile.in (Makefile): Remove.
1436 (distclean): Don't remove config.status or config.log.
1437 * gdb.stabs/configure (Makefile): Remove.
1438 * gdb.stabs/configure.ac: Remove.
1439 * configure: Rebuild.
1440 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1441 Remove stabs- and cell-specific logic. Test for existence of
1442 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1443 subdirectories, gdb.cell, and and gdb.stabs.
1444 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1445
c171f854
JB
14462011-03-03 Joel Brobecker <brobecker@adacore.com>
1447
1448 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1449 end of buffer.
1450
9a5193cb
JB
14512011-03-02 Joel Brobecker <brobecker@adacore.com>
1452
1453 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1454 gdb_test when running a test where we expected no output back.
1455
9bb4c1bb
MS
14562011-02-28 Michael Snyder <msnyder@vmware.com>
1457
1458 * gdb.cp/overload.cc: Change initializer value to integer.
1459
3bd0f5ef
MS
14602011-02-27 Michael Snyder <msnyder@vmware.com>
1461
1462 * gdb.multi/base.exp: Add test for remove-inferiors.
1463
2279eaad
JB
14642011-02-26 Joel Brobecker <brobecker@adacore.com>
1465
1466 * gdb.python/py-frame.exp: Simplify the initialization phase
1467 using prepare_for_testing.
1468
c82c0b55
MS
14692011-02-25 Michael Snyder <msnyder@vmware.com>
1470
1471 * gdb.multi/base.exp: Add tests for info inferiors with args.
1472
1d94651b
JK
14732011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1474
1475 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1476 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1477 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1478 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1479 asmfile3. Comment the STABS (#3) file compilation. Compile
1480 everything through assembler. Provide KFAIL for symtab/12497.
1481 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1482 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1483 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1484 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1485
3bd0f5ef
MS
14862011-02-24 Michael Snyder <msnyder@vmware.com>
1487
1488 * gdb.base/break.exp: Add tests for delete breakpoints using
1489 convenience variables and value history references.
1490
12c1418e
MS
14912011-02-24 Michael Snyder <msnyder@vmware.com>
1492
1493 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1494 left behind in previous check-in.
1495
e5a67952
MS
14962011-02-23 Michael Snyder <msnyder@vmware.com>
1497
1498 * gdb.base/break.exp: Add tests for "info break" with arguments.
1499 * gdb.trace/infotrace.exp: Update patterns for error and help.
1500 * gdb.base/completion.exp: Update pattern.
1501 * gdb.base/ena-dis-br.exp: Update pattern.
1502 * gdb.base/help.exp: Update patterns.
1503
15042011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
1505
1506 * gdb.base/memattr.exp: New test.
1507 * gdb.base/memattr.c: Test load for memattr.exp.
1508
6e6fbe60
DE
15092011-02-22 Doug Evans <dje@google.com>
1510
1511 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1512
1d41d745
MS
15132011-02-22 Michael Snyder <msnyder@vmware.com>
1514
1515 * Makefile.in: Make more clean.
1516 * gdb.ada/Makefile.in: Ditto.
1517 * gdb.arch/Makefile.in: Ditto.
1518 * gdb.asm/Makefile.in: Ditto.
1519 * gdb.base/Makefile.in: Ditto.
1520 * gdb.cp/Makefile.in: Ditto.
1521 * gdb.dwarf2/Makefile.in: Ditto.
1522 * gdb.java/Makefile.in: Ditto.
1523 * gdb.mi/Makefile.in: Ditto.
1524 * gdb.modula2/Makefile.in: Ditto.
1525 * gdb.python/Makefile.in: Ditto.
1526 * gdb.server/Makefile.in: Ditto.
1527 * gdb.stabs/Makefile.in: Ditto.
1528 * gdb.threads/Makefile.in: Ditto.
1529 * gdb.trace/Makefile.in: Ditto.
1530
79ba84ca
MS
15312011-02-22 Michael Snyder <msnyder@vmware.com>
1532
df46027d 1533 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
1534 info threads.
1535
b9b35694
JB
15362011-02-22 Joel Brobecker <brobecker@adacore.com>
1537
1538 * gdb.python/py-breakpoint.exp: Fix the expected output of
1539 one of the "maint info breakpoints" tests to accept the output
1540 generated on platforms that do not have hardware watchpoints.
1541
8bfb830f
JB
15422011-02-22 Joel Brobecker <brobecker@adacore.com>
1543
1544 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1545 clean_restart. Be a little stricter in the expected output
1546 for one of the tests. Fix a typo in one of the comments.
1547
c45f3c54
JB
15482011-02-22 Joel Brobecker <brobecker@adacore.com>
1549
1550 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1551 Delete variable binfile, no longer use. Add or modify test
1552 comments to make them unique.
1553
b97c863c
MS
15542011-02-21 Michael Snyder <msnyder@vmware.com>
1555
1556 * Makefile.in: Update for make clean.
1557 * gdb.ada/Makefile.in: Ditto.
1558 * gdb.arch/Makefile.in: Ditto.
1559 * gdb.asm/Makefile.in: Ditto.
1560 * gdb.base/Makefile.in: Ditto.
1561 * gdb.cp/Makefile.in: Ditto.
1562 * gdb.dwarf2/Makefile.in: Ditto.
1563 * gdb.java/Makefile.in: Ditto.
1564 * gdb.mi/Makefile.in: Ditto.
1565 * gdb.modula2/Makefile.in: Ditto.
1566 * gdb.python/Makefile.in: Ditto.
1567 * gdb.server/Makefile.in: Ditto.
1568 * gdb.stabs/Makefile.in: Ditto.
1569 * gdb.threads/Makefile.in: Ditto.
1570 * gdb.trace/Makefile.in: Ditto.
1571
aea5b279
MS
15722011-02-21 Michael Snyder <msnyder@vmware.com>
1573
1574 * gdb.threads/thread-find.exp: Update patterns for changes in
1575 output of "info threads" command.
1576
e3039479
UW
15772011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1578 Ulrich Weigand <uweigand@de.ibm.com>
1579
1580 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1581 (skip_hw_watchpoint_tests): Likewise.
1582 (skip_hw_watchpoint_multi_tests): Likewise.
1583
b800ec70
UW
15842011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1585
1586 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1587 (skip_hw_watchpoint_tests): Likewise.
1588 (skip_hw_watchpoint_multi_tests): Likewise.
1589 (skip_hw_watchpoint_access_tests): Likewise.
1590
1591 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1592 * gdb.base/pr11022.exp: Likewise.
1593 * gdb.base/watch-read.exp: Likewise.
1594 * gdb.base/watch_thread_num.exp: Likewise.
1595 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1596 * gdb.base/watchpoint-hw.exp: Likewise.
1597 * gdb.base/watchpoint.exp: Likewise.
1598 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1599 * gdb.threads/watchthreads-reorder.exp: Likewise.
1600 * gdb.threads/watchthreads.exp: Likewise.
1601 * gdb.threads/watchthreads2.exp: Likewise.
1602
91033e37
JB
16032011-02-21 Joel Brobecker <brobecker@adacore.com>
1604
1605 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1606 the debugger is unable to find the array bounds.
1607
eeaafae2
JK
16082011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1609
1610 * gdb.cp/typedef-operator.exp: New file.
1611 * gdb.cp/typedef-operator.cc: New file.
1612
e338d953
MS
16132011-02-17 Michael Snyder <msnyder@vmware.com>
1614
1615 * gdb.threads/thread-find.exp: Fix regular expressions.
1616
e67ad678
JB
16172011-02-17 Joel Brobecker <brobecker@adacore.com>
1618
1619 * gdb.ada/packed_array: Expand testcase to test printing of
1620 unconstrained packed array.
1621
93084bca
JB
16222011-02-17 Joel Brobecker <brobecker@adacore.com>
1623
1624 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1625
a0c78a73
PA
16262011-02-16 Pedro Alves <pedro@codesourcery.com>
1627
f65d5553 1628 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
1629 (main): Initialize it before collecting, and and clear it
1630 afterwards.
f65d5553
PA
1631 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1632 collecting with '{type} addr', where the addr expression is not an
1633 rvalue.
a0c78a73 1634
3dfcbbd2
KW
16352011-02-16 Ken Werner <ken.werner@de.ibm.com>
1636
1637 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1638 a bool variable. Expect correct OpenCL names for vector types. Use the
1639 uc3 variable name instead of referring to the uchar3 built-in type.
1640 Escape the asterisk at the half pointer test.
1641
08807d5a
PA
16422011-02-16 Pedro Alves <pedro@codesourcery.com>
1643
f65d5553 1644 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
1645 (main): Initialize it before collecting, and and clear it
1646 afterwards.
f65d5553
PA
1647 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1648 collecting overlapping memory ranges.
08807d5a 1649
60f98dde
MS
16502011-02-15 Michael Snyder <msnyder@vmware.com>
1651
1652 * gdb.base/default.exp: Add tests for thread commands.
1653 * gdb.base/help.exp: Add tests for thread commands.
1654 * gdb.threads/thread-find.exp: New test for thread find command.
1655
648cd113
KW
16562011-02-15 Ken Werner <ken.werner@de.ibm.com>
1657
1658 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1659
494e194e
YQ
16602011-02-15 Yao Qi <yao@codesourcery.com>
1661
1662 PR tdep/12352
1663 * gdb.arch/arm-disp-step.S : New test for str instruction.
1664 * gdb.arch/arm-disp-step.exp : Likewise.
1665
d9492458
TJB
16662011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1667
1668 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1669 "vector_register2_vr" test strings. Test the extended floating
1670 point registers (F32~F63).
1671 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1672 IBM XL C compiler. Make the test program use a register provided
1673 by the compiler for the lxvd2x instruction.
1674
8af8e3bc
PA
16752011-02-14 Pedro Alves <pedro@codesourcery.com>
1676
1677 * gdb.trace/unavailable.cc (class Base, class Middle, class
1678 Derived): New types.
1679 (derived_unavail, derived_partial, derived_whole): New globals.
1680 (virtual_partial): New global.
1681 (virtualp): Point at virtual_partial.
1682 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1683 related to unavailable vptr.
1684
1b28d0b3
PA
16852011-02-14 Pedro Alves <pedro@codesourcery.com>
1686
1687 * gdb.trace/unavailable.cc (a, b, c): New globals.
1688 (main): Set and clear them.
1689 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1690 `a' and `c', and check that `b' isn't collected, although `a' and
1691 `c' are.
1692
ec0a52e1
PA
16932011-02-14 Pedro Alves <pedro@codesourcery.com>
1694
1695 * gdb.trace/unavailable.cc (struct Virtual): New.
1696 (virtualp): New global pointer.
1697 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1698 printing a pointer to an object whose type has a vtable, with
1699 print object on.
1700
24e6bcee
PA
17012011-02-14 Pedro Alves <pedro@codesourcery.com>
1702
1703 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1704 value repeat handles unavailableness.
1705
39d37385
PA
17062011-02-14 Pedro Alves <pedro@codesourcery.com>
1707
1708 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1709 tests for building arrays from unavailable values, subscripting
1710 non-memory rvalue unvailable arrays, and accessing fields or
1711 baseclasses of non-lazy unavailable values,
1712 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1713 struct types.
1714 (g_smallstruct, g_smallstruct_b): New globals.
1715
06d72e16
PA
17162011-02-14 Pedro Alves <pedro@codesourcery.com>
1717
1718 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1719
bc9a5551
JK
17202011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1721
1722 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1723 * gdb.cp/overload-const.exp: New file.
1724 * gdb.cp/overload-const.cc: New file.
1725
54fcddd0
UW
17262011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1727
1728 * gdb.opencl/callfuncs.cl: New file.
1729 * gdb.opencl/callfuncs.exp: New test.
1730 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1731
d6dafb7c
UW
17322011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1733
1734 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1735 when computing result.
1736 * gdb.arch/altivec-abi.exp: Update expected results.
1737
a449c2d8
TJB
17382011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1739
1740 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1741 * gdb.base/jit.exp: Likewise.
1742 * gdb.base/pie-execl.exp: Likewise.
1743 * gdb.base/solib-nodir.exp: Likewise.
1744 * gdb.base/solib-overlap.exp: Likewise.
1745
764880b7
PA
17462011-02-07 Pedro Alves <pedro@codesourcery.com>
1747
1748 * gdb.trace/collection.c (global_pieces): New.
1749 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1750 New procedure.
1751 (gdb_trace_collection_test): Call it.
1752
505500db
SW
17532011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1754
1755 * gdb.python/py-evthreads.c: New file.
1756 * gdb.python/py-evthreads.exp: New file.
1757 * gdb.python/py-events.py: New file.
1758 * gdb.python/py-events.exp: New file.
1759 * gdb.python/py-events.c: New file.
1760
385203ed
DD
17612011-02-04 David Daney <ddaney@caviumnetworks.com>
1762
1763 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1764
9011945e
AB
17652011-02-03 Andrew Burgess <aburgess@broadcom.com>
1766
1767 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1768 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1769 boundary between two compilation units.
1770
580688f3
PA
17712011-02-02 Pedro Alves <pedro@codesourcery.com>
1772
1773 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1774 (Virtual): New structs.
1775 (virtual_o, virtual_middle_b): New globals.
1776 * gdb.cp/virtbase.exp: New tests.
1777
d3f0f853
PP
17782011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1779
1780 * gdb.base/jit.exp: New file.
1781 * gdb.base/jit-main.c: New file.
1782 * gdb.base/jit-solib.c: New file.
1783
b2030fb5
UW
17842011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1785
1786 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1787 proceed to initial kernel entry point.
1788 * gdb.opencl/datatypes.exp: Likewise.
1789 * gdb.opencl/operators.exp: Likewise.
1790 * gdb.opencl/vec_comps.exp: Likewise.
1791
2db19d1e
SW
17922011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1793
1794 * gdb.cp/nsnested.cc: New.
1795 * gdb.cp/nsnested.exp: New.
1796 * gdb.cp/nsnoimports.exp: New.
1797 * gdb.cp/nsnoimports.cc: New.
1798
6b0c4c1f
JB
17992011-01-31 Joel Brobecker <brobecker@adacore.com>
1800
1801 * gdb.base/interact.exp: Add extra tests that verify that
1802 the value of the interactive-mode setting does not change
1803 after the script is sourced.
1804
80b23b6a
JK
18052011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1806
1807 * gdb.cp/noparam.exp: New file.
1808 * gdb.cp/noparam.cc: New file.
1809
ffd5ec24
PA
18102011-01-28 Pedro Alves <pedro@codesourcery.com>
1811
1812 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1813 there's no stack or registers.
1814
a81766d8
TT
18152011-01-26 Tom Tromey <tromey@redhat.com>
1816
1817 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1818 space before string output. Add test for "set print pretty off"
1819 case.
1820
585fdaa1
PA
18212011-01-25 Pedro Alves <pedro@codesourcery.com>
1822
1823 * gdb.base/frame-args.exp: Adjust.
1824 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1825 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1826 * gdb.dwarf2/pieces.exp: Adjust.
1827 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1828 * gdb.opt/inline-locals.exp: Adjust.
1829 * gdb.threads/fork-child-threads.exp: Adjust.
1830
d468832a
KW
18312011-01-25 Ken Werner <ken.werner@de.ibm.com>
1832
1833 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1834 OpenCL kernel function. Add a comment as marker. Add address space
1835 qualifiers for the remaining program scope variables.
1836 * gdb.opencl/datatypes.cl: Likewise.
1837 * gdb.opencl/operators.cl: Likewise.
1838 * gdb.opencl/vec_comps.cl: Likewise.
1839 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1840 Add breakpoint at the marker comment.
1841 * gdb.opencl/datatypes.exp: Likewise.
1842 * gdb.opencl/operators.exp: Likewise.
1843 * gdb.opencl/vec_comps.exp: Likewise.
1844
490f124f
PA
18452011-01-24 Pedro Alves <pedro@codesourcery.com>
1846
1847 * gdb.base/printcmds.c (some_struct): New struct and instance.
1848 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1849 procedure.
1850 <global scope>: Call it.
1851
6da78614
KW
18522011-01-21 Ken Werner <ken.werner@de.ibm.com>
1853
1854 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1855 argument to the gdb_compile_opencl_hostapp call.
1856
ec64c9aa
YQ
18572011-01-19 Yao Qi <yao@codesourcery.com>
1858
1859 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1860 positve list.
1861
810cfdbb
YQ
18622011-01-19 Yao Qi <yao@codesourcery.com>
1863
1864 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1865 canonical form.
1866 Remove "xscale-*-*"
1867 * gdb.xml/tdesc-regs.exp: Likewise.
1868 * gdb.python/py-section-script.exp: Replace ARM target triplet
1869 with canonical form.
1870 Match arm*-*-symbianelf*.
1871 * gdb.base/dup-sect.exp: Likewise.
1872 * lib/dwarf.exp: New.
1873 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1874 dwarf2_support.
1875 * gdb.dwarf2/dup-psym.exp: Likewise.
1876 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1877 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1878 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1879 * gdb.dwarf2/dw2-basic.exp: Likewise.
1880 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1881 * gdb.dwarf2/dw2-const.exp: Likewise.
1882 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1883 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1884 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1885 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1886 * gdb.dwarf2/dw2-filename.exp: Likewise.
1887 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1888 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1889 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1890 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1891 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1892 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1893 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1894 * gdb.dwarf2/dw2-producer.exp: Likewise.
1895 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1896 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1897 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1898 * gdb.dwarf2/dw2-strp.exp: Likewise.
1899 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1900 * gdb.dwarf2/implptr.exp: Likewise.
1901 * gdb.dwarf2/mac-fileno.exp: Likewise.
1902 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1903 * gdb.dwarf2/pieces.exp: Likewise.
1904 * gdb.dwarf2/pr11465.exp: Likewise.
1905 * gdb.dwarf2/valop.exp: Likewise.
1906 * gdb.dwarf2/watch-notconst.exp: Likewise.
1907 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1908
4694da01
TT
19092011-01-19 Tom Tromey <tromey@redhat.com>
1910
1911 * gdb.python/py-infthread.exp: Add thread tests.
1912
b075872c
JB
19132011-01-14 Joel Brobecker <brobecker@adacore.com>
1914
1915 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1916
2c3e6e24
JB
19172011-01-14 Joel Brobecker <brobecker@adacore.com>
1918
1919 * gdb.ada/widewide: New testcase.
1920
de8fa76c
JB
19212011-01-13 Joel Brobecker <brobecker@adacore.com>
1922
1923 * gdb.base/interact.exp: New testcase.
1924
1b05df00
TT
19252011-01-12 Tom Tromey <tromey@redhat.com>
1926
1927 * gdb.mi/gdb2549.exp: Update for error message changes.
1928 * gdb.mi/mi-cli.exp: Likewise.
1929 * gdb.mi/mi-disassemble.exp: Likewise.
1930 * gdb.mi/mi-pthreads.exp: Likewise.
1931 * gdb.mi/mi-regs.exp: Likewise.
1932 * gdb.mi/mi-stack.exp: Likewise.
1933 * gdb.mi/mi-var-block.exp: Likewise.
1934 * gdb.mi/mi-var-cmd.exp: Likewise.
1935 * gdb.mi/mi2-cli.exp: Likewise.
1936 * gdb.mi/mi2-disassemble.exp: Likewise.
1937 * gdb.mi/mi2-pthreads.exp: Likewise.
1938 * gdb.mi/mi2-regs.exp: Likewise.
1939 * gdb.mi/mi2-stack.exp: Likewise.
1940 * gdb.mi/mi2-var-block.exp: Likewise.
1941 * gdb.mi/mi2-var-cmd.exp: Likewise.
1942
c2ff108b
JK
19432011-01-12 Andrew Burgess <aburgess@broadcom.com>
1944 Jan Kratochvil <jan.kratochvil@redhat.com>
1945
1946 PR fortran/11104 and DWARF unbound arrays detection.
1947 * gdb.fortran/multi-dim.exp: New file.
1948 * gdb.fortran/multi-dim.f90: New file.
1949
b716877b
AB
19502011-01-12 Andrew Burgess <aburgess@broadcom.com>
1951
1952 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1953 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1954 add new tests for opcode dumping.
1955
6c162d5e
TT
19562011-01-11 Tom Tromey <tromey@redhat.com>
1957
1958 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1959
77b06cd7
TJB
19602010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1961
1962 Convert hardware watchpoints to use breakpoint_ops.
1963 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1964 type is not supported.
1965 * gdb.base/foll-fork.exp: Likewise.
1966 * gdb.base/foll-vfork.exp: Likewise.
1967
f39a75d0
PM
19682011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1969
1970 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1971 Use load_lib gdb-python.exp.
1972 * gdb.python/python.exp: Ditto.
1973 * gdb.python/py-function.exp: Ditto.
1974
fc529d80
AS
19752011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1976
1977 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1978
fb03cb59
JK
19792011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1980
1981 * configure: Regenerate.
1982
d8e22779
TT
19832011-01-06 Tom Tromey <tromey@redhat.com>
1984
1985 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1986
09050809
JB
19872011-01-06 Joel Brobecker <brobecker@adacore.com>
1988
fc529d80
AS
1989 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1990 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1991 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1992 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1993 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1994 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1995 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1996 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1997 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1998 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1999 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
2000 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
2001 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
2002 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
2003 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
2004 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
2005 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
2006 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
2007 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
2008 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
2009 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
2010 gdb.ada/uninitialized_vars.exp,
2011 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
2012 Simplify by using clean_restart.
09050809 2013
8ed5dd9e
JB
20142011-01-06 Joel Brobecker <brobecker@adacore.com>
2015
2016 Add marker to be used as anchor for inserting breakpoints.
2017 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
2018 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
2019 Likewise.
2020
2021 Remove uses of gdb_start_cmd.
2022 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
2023 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
2024
2025 Do not run testcase if testing with GDBserver.
2026 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
2027 if testing with GDBserver.
2028
368a124f
JB
20292011-01-06 Joel Brobecker <brobecker@adacore.com>
2030
2031 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
2032 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
2033 copyright header.
2034
44944448
JB
20352011-01-05 Joel Brobecker <brobecker@adacore.com>
2036
2037 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
2038 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
2039 testsuite/gdb.fortran/complex.f,
2040 testsuite/gdb.fortran/derived-type.f90,
2041 testsuite/gdb.fortran/library-module-lib.f90,
2042 testsuite/gdb.fortran/library-module-main.f90,
2043 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
2044 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
2045 Copyright year update.
2046
31886ea6
JB
20472011-01-05 Joel Brobecker <brobecker@adacore.com>
2048
2049 * gdb.base/langs1.f: Add copyright header.
2050
ebedcab5
JK
20512011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2052
2053 * gdb.base/morestack.exp: New file.
2054 * gdb.base/morestack.c: New file.
2055
de1eb2f9
JK
20562011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2057
2058 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
2059
9e87a409
JB
20602010-12-29 Joel Brobecker <brobecker@adacore.com>
2061
2062 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
2063 * gdb.ada/arrayptr.exp: Add test printing that new variable.
2064
720d1a40
JB
20652010-12-29 Joel Brobecker <brobecker@adacore.com>
2066
2067 * gdb.ada/lang_switch.exp: Correct expected parameter value.
2068
a283af87
AS
20692010-12-25 Andreas Schwab <schwab@linux-m68k.org>
2070
5d3d9cba
AS
2071 * gdb.threads/tls.exp: Fix typo.
2072
a283af87
AS
2073 * gdb.threads/thread-specific.exp (get_thread_list): Update.
2074 * gdb.threads/execl.exp: Update.
2075
2a20745c
YQ
20762010-12-23 Yao Qi <yao@codesourcery.com>
2077
2078 * gdb.arch/arm-disp-step.exp: New.
2079 * gdb.arch/arm-disp-step.S: New.
2080
a7658b96
TT
20812010-12-21 Tom Tromey <tromey@redhat.com>
2082
2083 * gdb.threads/execl.exp: Update.
2084 * gdb.threads/linux-dp.exp: Update.
2085 * gdb.threads/manythreads.exp: Update.
2086 * gdb.threads/tls.exp: Update.
2087
5b79abe7
TT
20882010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2089
2090 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
2091 (NextOverThrowDerivates) <resumebpt>: New.
2092 (resumebpt_test): New.
2093 (main): Call resumebpt_test.
2094 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2095
0914bcdb
SS
20962010-12-12 Stan Shebs <stan@codesourcery.com>
2097
2098 * gdb.trace/tsv.exp: Test print command on trace state variables.
2099
305aeedc
TT
21002010-12-09 Tom Tromey <tromey@redhat.com>
2101
2102 * gdb.base/interp.exp: Add regression test.
2103
186c406b
TT
21042010-12-09 Tom Tromey <tromey@redhat.com>
2105
2106 * gdb.java/jnpe.java: New file.
2107 * gdb.java/jnpe.exp: New file.
2108 * gdb.cp/nextoverthrow.exp: New file.
2109 * gdb.cp/nextoverthrow.cc: New file.
2110
aae1c79a
DE
21112010-12-07 Doug Evans <dje@google.com>
2112
2113 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
2114 of data-directory.
2115 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
2116 updated.
2117 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
2118
60f98dde 21192010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
2120
2121 * gdb.base/callfuncs.exp: Test for skip_float_tests.
2122 * gdb.base/call-sc.exp: Ditto.
2123 * gdb.base/finish.exp: Ditto.
2124 * gdb.base/return.exp: Ditto.
2125 * gdb.base/return2.exp: Ditto.
2126
5fa290c1
DE
21272010-11-30 Doug Evans <dje@google.com>
2128
2129 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
2130 (gdb_expect_list): Fix spelling errors in comments.
2131 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
2132 send_gdb/gdb_expect_list where applicable.
2133 * gdb.base/call-ar-st.exp: Ditto.
2134 * gdb.base/funcargs.exp: Ditto.
2135 * gdb.base/gcore.exp: Ditto.
2136 * gdb.base/page.exp: Ditto.
2137 * gdb.base/sigaltstack.exp: Ditto.
2138 * gdb.base/siginfo.exp: Ditto.
2139 * gdb.base/sigstep.exp: Ditto.
2140 * gdb.base/trace-commands.exp: Ditto.
2141
4e04c971
DE
21422010-11-29 Doug Evans <dje@google.com>
2143
2144 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
2145 printer-name;subprinter-name.
2146
8cf6f0b1
TT
21472010-11-29 Tom Tromey <tromey@redhat.com>
2148
2149 * gdb.dwarf2/implptr.exp: New file.
2150 * gdb.dwarf2/implptr.c: New file.
2151 * gdb.dwarf2/implptr.S: New file.
2152
94b6973e
PM
21532010-11-29 Phil Muldoon <pmuldoon@redhat.com>
2154
fc529d80 2155 PR python/12199
94b6973e
PM
2156
2157 * gdb.python/py-breakpoint.exp: Test the delete method.
2158
8358c15c
JK
21592010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2160
2161 Fix step_resume_breakpoint unsaved during an infcall.
2162 * gdb.base/step-resume-infcall.exp: New file.
2163 * gdb.base/step-resume-infcall.c: New file.
2164
f6df29bc
TJB
21652010-11-24 Edjunior Machado <emachado@br.ibm.com>
2166
2167 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
2168
f2b5a5cf
TJB
21692010-11-24 Edjunior Machado <emachado@br.ibm.com>
2170
2171 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
2172 on ppc64's symbols; "finish" and "return" commands must accept to
2173 show the caller line again as well as the line after.
2174 * gdb.asm/powerpc64.inc: New file.
2175
6b0ecdc2
DE
21762010-11-23 Doug Evans <dje@google.com>
2177
2178 * lib/gdb.exp (gdb_test_sequence): New function.
2179 (gdb_expect_list): Add verbose -log call for each pattern.
2180 * gdb.base/signals.exp (test_handle_all_print): Call it.
2181 Reduce timeout increment from 6 minutes to 1 minute.
2182 * gdb.server/ext-run.exp: Call it.
2183
ea976c60
PM
21842010-11-23 Phil Muldoon <pmuldoon@redhat.com>
2185
f2b5a5cf 2186 PR python/12212
ea976c60
PM
2187
2188 * gdb.python/python.exp: Check that selected_thread raises an
2189 error when no inferior is loaded.
2190
c0efa795
JK
21912010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2192
2193 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
2194 * gdb.dwarf2/dw2-stack-boundary.S: New file.
2195
ec3aa567
JK
21962010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2197
2198 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
2199 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
2200
d8249011
DE
22012010-11-18 Doug Evans <dje@google.com>
2202
2203 * gdb.server/ext-run.exp: Fix intermittent failures.
2204
d4eba7d1
NF
22052010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2206
2207 * gdb.stabs/gdb11479.exp: Use runto_main.
2208
b04c2f88
NF
22092010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2210
2211 * gdb.base/break-entry.exp: Skip if using a stub.
2212
ae9d7ce4
NF
22132010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2214
2215 * gdb.python/py-inferior.exp: Pack values in target endianness.
2216
621c8364
TT
22172010-11-12 Tom Tromey <tromey@redhat.com>
2218
2219 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
2220 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
2221 MemoryError.
2222 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
2223 type.
2224 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
2225 MemoryError.
2226 (test_subscript_regression): Update exception type.
2227
84f4c1fe
PM
22282010-11-11 Phil Muldoon <pmuldoon@redhat.com>
2229
2230 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
2231 breakpoint tests.
2232
a1442452
PA
22332010-11-09 Pedro Alves <pedro@codesourcery.com>
2234
2235 * gdb.base/watchpoint.exp: Test "watch -location" with an
2236 innacessible location.
2237
efd11a33
JK
22382010-11-09 Edjunior Machado <emachado@br.ibm.com>
2239 Luis Machado <luisgpm@br.ibm.com>
2240
2241 * gdb.base/maint.exp: Expect "." prefix.
2242 * gdb.base/nodebug.exp: Expect "." Likewise.
2243 * gdb.base/sepsymtab.exp: Expect "." Likewise.
2244 * gdb.base/watchpoint-cond-gone.exp: Likewise.
2245 * gdb.base/watchpoint.exp: Expect a software watch to be created for
2246 POWER server processors.
2247
aa00efb5
JK
22482010-11-08 Edjunior Machado <emachado@br.ibm.com>
2249 Luis Machado <luisgpm@br.ibm.com>
2250
2251 * gdb.base/break-entry.exp: convert entry point for
2252 ppc64 and expect leading `.' on ppc64's symbols
2253
99e7ae30
DE
22542010-11-05 Doug Evans <dje@google.com>
2255
2256 * gdb.base/help.exp: Update expected output.
b521dba8
DE
2257 * gdb.python/py-param.exp: Delete, contents moved to ...
2258 * gdb.python/py-parameter.exp: ... here. New file.
2259 Add test for gdb.parameter ("directories").
99e7ae30 2260
f4b8a18d
KW
22612010-11-05 Ken Werner <ken.werner@de.ibm.com>
2262
2263 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
2264 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
2265 * configure: Regenerate.
2266 * gdb.opencl/Makefile.in: New File.
2267 * gdb.opencl/datatypes.exp: Likewise.
2268 * gdb.opencl/datatypes.cl: Likewise.
2269 * gdb.opencl/operators.exp: Likewise.
2270 * gdb.opencl/operators.cl: Likewise.
2271 * gdb.opencl/vec_comps.exp: Likewise.
2272 * gdb.opencl/vec_comps.cl: Likewise.
2273 * gdb.opencl/convs_casts.exp: Likewise.
2274 * gdb.opencl/convs_casts.cl: Likewise.
2275 * lib/opencl.exp: Likewise.
2276 * lib/opencl_hostapp.c: Likewise.
2277 * lib/opencl_kernel.cl: Likewise.
2278 * lib/cl_util.c: Likewise.
2279 * lib/cl_util.c: Likewise.
2280 * gdb.base/default.exp (set language): Add "opencl" to the list of
2281 languages.
2282
a9d5ef47
SW
22832010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
2284
2285 * gdb.cp/overload.exp: Added test for inheritance overload.
2286 * gdb.cp/overload.cc: Ditto.
2287 * gdb.cp/oranking.exp: Removed releveant kfails.
2288
03eb1c79
JK
22892010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2290 Joel Brobecker <brobecker@adacore.com>
2291
2292 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
2293 check test_compiler_info.
2294
dbc98a8b
KW
22952010-11-03 Ken Werner <ken.werner@de.ibm.com>
2296
2297 * gdb.base/gnu_vector.exp: Adjust expect messages.
2298
120bd360
KW
22992010-11-03 Ken Werner <ken.werner@de.ibm.com>
2300
2301 * gdb.base/gnu_vector.exp: Add unary operator tests.
2302
c37f7098
KW
23032010-11-03 Ken Werner <ken.werner@de.ibm.com>
2304
2305 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2306
7b51bc51
DE
23072010-11-02 Doug Evans <dje@google.com>
2308
2309 * gdb.python/py-pp-maint.c: New file.
2310 * gdb.python/py-pp-maint.exp: New file.
2311 * gdb.python/py-pp-maint.py: New file.
2312
50c97f38
TT
23132010-11-02 Tom Tromey <tromey@redhat.com>
2314
2315 * gdb.base/default.exp: Remove "scheme" from language list.
2316
a289b8f6
JK
23172010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2318
2319 Revert:
2320 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2321 * gdb.threads/sigstep-threads.exp: New file.
2322 * gdb.threads/sigstep-threads.c: New file.
2323
cd017491
MS
23242010-10-20 Michael Snyder <msnyder@vmware.com>
2325
2326 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
2327
8e6a5956
UW
23282010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2329
2330 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
2331 Skip test completely if gdb,no_hardware_watchpoints.
2332
2c04da0d
UW
23332010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2334
2335 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
2336 strict, but do not check for any particular function name within libc.
2337
79afc5ef
SW
23382010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2339
2340 * gdb.cp/smartp.exp: New test.
2341 * gdb.cp/smartp.cc : New test.
2342
026ffab7
SW
23432010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2344
2345 * gdb.cp/converts.exp: Test pointer to bool conversion.
2346 Test pointer to long conversion.
2347 * gdb.cp/oranking.exp: Removed relevant kfail.
2348
3a772aa4
TT
23492010-10-18 Tom Tromey <tromey@redhat.com>
2350
2351 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
2352 argument to lazy_string.
2353 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
2354 (pp_ls.to_string): Use it.
2355 * gdb.python/py-prettyprint.c (main): Move declarations to top.
2356 Add "estring2" local.
2357
5fc3827b
JK
23582010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2359
2360 Fix s390x compatibility.
2361 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
2362 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2363
8aeb23f3
JK
23642010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2365
2366 * gdb.threads/sigstep-threads.exp: New file.
2367 * gdb.threads/sigstep-threads.c: New file.
2368
c1e56572
JK
23692010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2370
2371 * gdb.base/pie-execl.exp: New file.
2372 * gdb.base/pie-execl.c: New file.
2373
92163a10
JK
23742010-10-13 Doug Evans <dje@google.com>
2375 Jan Kratochvil <jan.kratochvil@redhat.com>
2376
2377 PR exp/12117
2378 * gdb.cp/ptype-cv-cp.cc: New file.
2379 * gdb.cp/ptype-cv-cp.exp: New file.
2380
7062b0a0
SW
23812010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
2382
2383 * gdb.cp/converts.cc: New test program.
2384 * gdb.cp/converts.exp: New test.
2385 * gdb.cp/overload.exp: Added test for void* vs int*.
2386 * gdb.cp/overload.exp: Ditto.
2387 * gdb.cp/oranking.exp: Removed related kfail.
2388
0e3509db
DE
23892010-10-13 Doug Evans <dje@google.com>
2390
2391 * lib/gdb-python.exp (gdb_check_python_config): New function.
2392 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
2393 * gdb.python/lib-types.cc: New file.
2394 * gdb.python/lib-types.exp: New file.
2395
8dc78533
JK
23962010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2397
2398 * gdb.python/py-error.exp: New file.
2399 * gdb.python/py-error.py: New file.
2400
93c17e06
JK
24012010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2402
2403 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
2404 gdb_test_multiple.
2405
d8b34041
JK
24062010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2407
2408 * gdb.base/break-interp.exp: Use ldlags for linking flags.
2409 * gdb.base/prelink.exp: Likewise.
2410 * gdb.base/solib-nodir.exp: Likewise.
2411 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
2412 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
2413 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
2414
e0cc584e
UW
24152010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
2416
2417 * break-interp.exp (test_ld): Use two separate gdb_expect statements
2418 for the "info files" test to avoid timeouts on slow machines.
2419
cfc353b1
JK
24202010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2421
2422 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
2423 (main): Make openlib dummy call.
2424
d3d7896d
JK
24252010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2426
2427 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
2428 * break-interp.exp (reach): Move the core body ...
2429 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
2430 (test_ld): Provide always real argument, even to the linker. Replace
2431 dl_main by _dl_debug_state.
2432
5e533c94
JK
24332010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2434
2435 Fix results of prelinked PIEs on ppc*.
2436 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
2437 Accept also DISPLACEMENT "PRESENT".
2438 (main): Replace "ZERO" displacements by "PRESENT".
2439
33540610
SW
24402010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2441
2442 * gdb.cp/oranking.exp: New test.
2443 * gdb.cp/oranking.cc: New test program.
2444
3bdf2bbd
KW
24452010-10-08 Ken Werner <ken.werner@de.ibm.com>
2446
2447 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2448 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2449
2f608a3a
KW
24502010-10-06 Ken Werner <ken.werner@de.ibm.com>
2451
2452 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2453 lush, lynx) New constant.
2454 * gdb.base/constvars.exp: Test const array types.
2455 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2456
aa2e2d8d
DE
24572010-10-06 Doug Evans <dje@google.com>
2458
2459 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2460 of syscall staging area.
2461
2844d6b5
KW
24622010-10-06 Ken Werner <ken.werner@de.ibm.com>
2463
2464 * gdb.base/gnu_vector.c: Add variable c4.
2465 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2466 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2467
7d8ac8bb
MR
24682010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2469
2470 * gdb.arch/altivec-abi.exp: Fix a typo.
2471
84a02e58
MR
24722010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2473
2474 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2475 to match a thread ID.
2476
b18e6318
JK
24772010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2478
2479 Fix s390x testcase compatibility.
2480 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2481
a2c09bd0
DE
24822010-10-01 Doug Evans <dje@google.com>
2483
2484 * lib/gdb-python.exp: New file.
2485 * gdb.python/py-block.exp: Use it.
2486 * gdb.python/py-breakpoint.exp: Ditto.
2487 * gdb.python/py-frame.exp: Ditto.
2488 * gdb.python/py-inferior.exp: Ditto.
2489 * gdb.python/py-param.exp: Ditto.
2490 * gdb.python/py-prettyprint.exp: Ditto.
2491 * gdb.python/py-shared.exp: Ditto.
2492 * gdb.python/py-symbol.exp: Ditto.
2493 * gdb.python/py-symtab.exp: Ditto.
2494 * gdb.python/py-type.exp: Ditto.
2495 * gdb.python/py-value.exp: Ditto.
2496 * gdb.python/python.exp: Ditto.
2497
38f12cfc
TT
24982010-09-30 Tom Tromey <tromey@redhat.com>
2499
2500 * gdb.base/anon.exp: New file.
2501 * gdb.base/anon.c: New file.
2502
9ae8282d
TT
25032010-09-30 Tom Tromey <tromey@redhat.com>
2504
2505 * gdb.base/completion.exp: Test completion through anonymous
2506 union.
2507 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2508
e9e07ba6
JK
25092010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2510
2511 Fix printing parameters of inlined functions.
2512 * gdb.dwarf2/dw2-inline-param.exp: New file.
2513 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2514 * gdb.dwarf2/dw2-inline-param.S: New file.
2515
cd2effb2
JK
25162010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2517
2518 PR corefiles/12071.
2519 * gdb.base/corefile.exp (quit with a process, no question: load core)
2520 (quit with a core file): New tests.
2521
bceffbf3
JK
25222010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2523
2524 Fix GDB crash on inferior calls with self-referencing classes.
2525 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2526 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2527 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2528
1736ad11
JK
25292010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2530
2531 Fix lost siginfo_t for inferior calls.
2532 * gdb.base/siginfo-infcall.exp: New file.
2533 * gdb.base/siginfo-infcall.c: New file.
2534
a176ad92
JB
25352010-09-22 Joel Brobecker <brobecker@adacore.com>
2536
2537 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2538
c2b0a229
JK
25392010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2540
2541 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2542 New test.
2543 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2544
e8ae22d1
JB
25452010-09-22 Joel Brobecker <brobecker@adacore.com>
2546
2547 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2548 type of our const type.
2549
ec322823
SW
25502010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2551
2552 * gdb.cp/pr12028.cc: New.
2553 * gdb.cp/pr12028.exp: New.
2554
72929c62
JB
25552010-09-22 Joel Brobecker <brobecker@adacore.com>
2556
2557 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2558
875b4ff5 25592010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 2560 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
2561
2562 PR mi/11407
2563 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2564 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2565 * gdb.mi/dw2-ref-missing-frame.S New File.
2566 * gdb.mi/dw2-ref-missing-frame.exp New File.
2567
7155d578
TT
25682010-09-14 Tom Tromey <tromey@redhat.com>
2569
2570 PR symtab/8399:
2571 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2572
515ed532
TT
25732010-09-14 Tom Tromey <tromey@redhat.com>
2574
2575 PR exp/11803:
2576 * gdb.threads/tls.exp: Use C++.
2577 (check_thread_local): Use K::another_thread_local.
2578 * gdb.threads/tls.c (class K): New.
2579 (another_thread_local): Now a member of K.
2580 (spin): Update. No longer K&R C.
2581
450ca57c
SW
25822010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2583
2584 * gdb.cp/koenig.cc: created class for testing member lookup.
2585 * gdb.cp/koenig.exp: Added test for member lookup.
2586
dbd492a3
JK
25872010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2588
2589 Fix false FAILs on sourcetree topdir directory containing "kill".
2590 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2591 source line matching regexp.
2592
8d4d924b
JK
25932010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2594
2595 * gdb.python/python.exp (set height 0, collect help from uiout)
2596 (verify help to uiout): New tests.
2597
8e64f2a0
JK
25982010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2599
2600 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2601 is_lp64_target to check 64bit target.
2602
4569eed2
JK
26032010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2604
2605 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2606 (test_ld) <powerpc64-*>: New.
2607
5e1617b1
DJ
26082010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2609
2610 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2611
c767944b
DJ
26122010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2613
2614 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2615 (FunctionArg::method): New function.
2616 (empty, arg): New variables.
2617 (main): Call arg.method.
2618 * gdb.cp/templates.exp (test_template_args): New function.
2619 (do_tests): Call it.
2620
27d3a3fc
UW
26212010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2622
2623 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2624 of "next" to proceed over pthread_exit call.
2625
55b7ce7f
UW
26262010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2627
2628 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2629 "maint print statistics" output to prevent expect timeouts.
2630
809df446
JK
26312010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2632
2633 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2634 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2635 (test_float_rejected): ... here.
2636 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2637 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2638 (test_float_rejected): ... here.
2639 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2640 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2641 (test_float_rejected): ... here.
2642 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2643 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2644 (test_float_rejected): ... here.
2645
8464be76
DJ
26462010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2647
2648 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2649 before disabling hardware watchpoints.
2650 (test_inaccessible_watchpoint): Check that hardware watchpoints
2651 are used. Test for watchpoints on a constant address.
2652
14dba4b4
JK
26532010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2654
2655 * gdb.base/ui-redirect.exp: New file.
2656
3f3540e1 26572010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 2658 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
2659
2660 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2661
0f254bb7
DE
26622010-08-31 Doug Evans <dje@google.com>
2663
2664 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2665
03f17ccf
TT
26662010-08-30 Tom Tromey <tromey@redhat.com>
2667
2668 PR python/11792:
2669 * gdb.python/py-value.exp (test_subscript_regression): Add
2670 dynamic_type test.
2671
640617ad
DJ
26722010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2673
2674 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2675 instead of running to main. Do not test the main function.
2676 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2677 Add new main.
2678
2ed91d1b
PA
26792010-08-26 Pedro Alves <pedro@codesourcery.com>
2680
2681 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2682 one test.
2683
673bfd45
DE
26842010-08-24 Doug Evans <dje@google.com>
2685
2686 PR symtab/11942
2687 * gdb.dwarf2/dw4-sig-types.cc: New file.
2688 * gdb.dwarf2/dw4-sig-types.h: New file.
2689 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2690 * gdb.dwarf2/dw4-sig-types.exp: New file.
2691
f9ffd4bb
TT
26922010-08-23 Tom Tromey <tromey@redhat.com>
2693
2694 PR python/11145:
2695 * gdb.python/py-value.c (Base, Derived): New types.
2696 (base): New global.
2697 * gdb.python/py-value.exp (test_subscript_regression): Add
2698 dynamic_cast test.
2699
d839c8a4
TT
27002010-08-23 Tom Tromey <tromey@redhat.com>
2701
2702 PR python/10676:
2703 * gdb.python/py-type.exp (test_fields): Add tests for type
2704 equality.
2705
702c2711
TT
27062010-08-23 Tom Tromey <tromey@redhat.com>
2707
2708 PR python/11915:
2709 * gdb.python/py-type.exp (test_fields): Add tests for array.
2710
832bafd3
KS
27112010-08-23 Keith Seitz <keiths@redhat.com>
2712
2713 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2714 have any children. Create a new abbrev for it.
2715 Add missing terminal sequence to .debug_abbrev.
2716
c37bf528
KS
27172010-08-20 Keith Seitz <keiths@redhat.com>
2718
2719 PR symtab/11465:
2720 * gdb.dwarf2/pr11465.exp: New test.
2721 * gdb.dwarf2/pr11465.S: New file.
2722 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2723 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2724
4572cbac
TJB
27252010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2726
2727 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2728 registers. Update data sets with the new v2_double element in the
2729 VSX register union. Add vector_register3_vr data set for the AltiVec
2730 registers. Use gdb_test_no_output instead of send_gdb.
2731
e7fbb131
PA
27322010-08-19 Pedro Alves <pedro@codesourcery.com>
2733
2734 * gdb.python/py-shared.exp: New file, factored out from
2735 python.exp.
2736 * gdb.python/py-shared.c: New file.
2737 * gdb.python/py-shared-sl.c: New file.
2738 * gdb.python/python-1.c: New file.
2739 * gdb.python/python-sl.c: Delete.
2740 * gdb.python/python.c: Mention python-1.c.
2741 * gdb.python/python.exp: Move shared library tests to
2742 py-shared.exp.
2743 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2744 (MISCELLANEOUS): New.
2745 (clean mostlyclean): Also remove $MISCELLANEOUS.
2746
d30f5e1f
DE
27472010-08-19 Doug Evans <dje@google.com>
2748
2749 PR exp/11926
2750 * gdb.base/printcmds.exp (test_float_accepted): New function.
2751 Move existing float tests there. Add tests for floats with suffixes.
2752 (test_float_rejected): New function.
2753 * gdb.java/jv-print.exp (test_float_accepted): New function.
2754 (test_float_rejected): New function.
2755 * gdb.objc/print.exp: New file.
2756 * gdb.pascal/print.exp: New file.
2757 * lib/objc.exp: New file.
2758
7b3fd859
PM
27592010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2760
2761 * gdb.base/default.exp (info set): Avoid full buffer error and force
2762 reading up to final gdb prompt.
2763 (show): Likewise.
2764
c92817ce
TT
27652010-08-18 Tom Tromey <tromey@redhat.com>
2766
2767 PR symtab/11919:
2768 * gdb.base/completion.exp: Add test.
2769
f1208f9e
DE
27702010-08-18 Doug Evans <dje@google.com>
2771
2772 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2773 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2774 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2775 Simplify, early exit if runto_main fails.
2776 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2777 (set_lang_fortran): Moved to lib/fortran.exp.
2778 * gdb.fortran/types.exp: load_lib fortran.exp.
2779 (set_lang_fortran): Moved to lib/fortran.exp.
2780 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2781 * gdb.java/jprint.exp (set_lang_java): Ditto.
2782 * gdb.java/jv-exp.exp: load_lib java.exp.
2783 If set_lang_java fails, issue a warning instead of failure to be
2784 consistent with other set_lang_foo uses.
2785 (set_lang_java): Moved to lib/java.exp.
2786 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2787 If set_lang_java fails, issue a warning instead of failure to be
2788 consistent with other set_lang_foo uses.
2789 * gdb.pascal/types.exp: load_lib pascal.exp.
2790 (set_lang_pascal): Moved to lib/pascal.exp.
2791 * lib/fortran.exp: New file.
2792 * lib/java.exp (set_lang_java): New function.
2793 * lib/pascal.exp (set_lang_pascal): New function.
2794
2f06b485
YQ
27952010-08-18 Yao Qi <yao@codesourcery.com
2796
2797 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2798 func_nofb_start and func_loopfb_start, so that address of functions
2799 is equal to these labels on Thumb.
2800
96e25403
YQ
28012010-08-18 Yao Qi <yao@codesourcery.com>
2802
2803 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2804 to reflect latest c source file.
2805
36e6adc4
JK
28062010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2807
2808 * gdb.cp/infcall-dlopen.exp: New file.
2809 * gdb.cp/infcall-dlopen.cc: New file.
2810 * gdb.cp/infcall-dlopen-lib.cc: New file.
2811
f431efe5
PA
28122010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2813 Pedro Alves <pedro@codesourcery.com>
2814
2815 PR breakpoints/11371
2816
2817 * gdb.base/watch-cond-infcall.exp: New file.
2818 * gdb.base/watch-cond-infcall.c: New file.
2819
06a64a0b
TT
28202010-08-16 Tom Tromey <tromey@redhat.com>
2821
2822 * gdb.base/help.exp: Update.
2823 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2824 watchpoint.
2825 (test_watch_location): New proc.
2826 (test_watchpoint_in_big_blob): Delete watchpoint.
2827 * gdb.base/watchpoint.c (func5): New function.
2828 (main): Call it.
2829
70ebf4ed
DE
28302010-08-16 Doug Evans <dje@google.com>
2831
2832 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2833
ca5c20b6
PM
28342010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2835
2836 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2837 tests.
2838
7346b668
KW
28392010-08-11 Ken Werner <ken.werner@de.ibm.com>
2840
2841 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2842 * gdb.base/gnu_vector.c: New File.
2843 * gdb.base/gnu_vector.exp: Likewise.
2844
cb2e07a6
PM
28452010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2846
2847 * gdb.python/python.c: New File.
2848 * gdb.python/python-sl.c: New File.
2849 * gdb.python/python.exp: Test solib_address and decode_line
2850 * functions.
2851
5da1313b
JK
28522010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2853
2854 * gdb.python/python.exp (show height, set height 10)
2855 (verify pagination beforehand, verify pagination beforehand: q)
2856 (gdb.execute does not page, verify pagination afterwards)
2857 (verify pagination afterwards: q): New.
2858
49c3ccf7
DE
28592010-08-02 Doug Evans <dje@google.com>
2860
2861 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2862 because of an older gcc, change test2
2863 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2864 to unsupported.
2865
42c0c4f1
KH
28662010-07-30 Kazu Hirata <kazu@codesourcery.com>
2867
2868 * gdb.base/break-always.exp: Do not expect full paths to file
2869 names.
2870 * gdb.base/commands.exp: Likewise.
2871
d3765805
DE
28722010-07-30 Doug Evans <dje@google.com>
2873
c98ee71b
DE
2874 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2875 xfail them when run with older gccs.
2876
fd961404
DE
2877 * lib/gdb.exp (build_executable): Forward "c++" option to
2878 get_compiler_info.
2879
999adef4
DE
2880 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2881 "python print ttype.template_argument(1)" and
2882 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2883 if using gcc 4.4 or earlier.
2884
d3765805
DE
2885 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2886 attach-to-debugger handling.
2887
1276c759
JK
28882010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2889
2890 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2891 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2892 (main): Use copyreloc.
2893 * gdb.base/prelink.exp (split debug of executable)
2894 (.dynbss vs. .bss address shift): New tests.
2895
88caa9b9
PA
28962010-07-29 Pedro Alves <pedro@codesourcery.com>
2897
2898 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2899 in gdb_test_multiple.
2900
c6f2ac43
PA
29012010-07-29 Pedro Alves <pedro@codesourcery.com>
2902
2903 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2904 environment.
2905
326fd672
TT
29062010-07-28 Tom Tromey <tromey@redhat.com>
2907
2908 PR python/11060:
2909 * gdb.python/py-type.c (Temargs): New template.
2910 (temvar): New variable.
2911 * gdb.python/py-type.exp (test_template): New proc.
2912
3ce3b1ba
PA
29132010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2914
2915 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2916 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2917
34eaf542
TT
29182010-07-28 Tom Tromey <tromey@redhat.com>
2919
2920 PR c++/9946:
2921 * gdb.cp/temargs.exp: New file.
2922 * gdb.cp/temargs.cc: New file.
2923
d41b819e
JK
29242010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2925
2926 * gdb.base/help.exp (help disassemble): Update the content.
2927
26ab7092
JK
29282010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2929
2930 * gdb.threads/ia64-sigill.exp: New file.
2931 * gdb.threads/ia64-sigill.c: New file.
2932
5283e9e1
TT
29332010-07-27 Tom Tromey <tromey@redhat.com>
2934
2935 * gdb.opt/inline-cmds.c (ATTR): New define.
2936 (func1): Use it.
2937 (func2): Likewise.
2938 (func3): Likewise.
2939 (outer_inline1): Likewise.
2940 (outer_inline2): Likewise.
2941 * gdb.opt/inline-bt.c (ATTR): New define.
2942 (func1): Use it.
2943 (func2): Likewise.
2944 * gdb.opt/inline-locals.c (ATTR): New define.
2945 (func1): Use it.
2946 (func2): Likewise.
2947
e992ef73
TT
29482010-07-27 Tom Tromey <tromey@redhat.com>
2949
2950 * gdb.stabs/gdb11479.c (hack): New function.
2951 (test): Use it.
2952 (test2): Use it.
2953 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2954 (int32_search_buf, int64_search_buf): No longer static.
2955 (x): Remove.
2956 * gdb.base/relocate.c (hack): New function.
2957
5374244e
PM
29582010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2959
2960 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2961 * gdb.python/py-value.c (func1): New function.
2962 (func2): Likewise.
2963
a99aee83
CV
29642010-07-26 Corinna Vinschen <vinschen@redhat.com>
2965
2966 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2967 as not to clash with .data section.
2968
a04ba985
JG
29692010-07-26 Jerome Guitton <guitton@adacore.com>
2970
2971 * gdb.base/code_elim.exp: New file.
2972 * gdb.base/code_elim1.c: New file.
2973 * gdb.base/code_elim2.c: New file.
2974
23bd0f7c
PA
29752010-07-21 Pedro Alves <pedro@codesourcery.com>
2976
2977 PR symtab/11827
2978
2979 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2980 (some_volatile_enum): New variable.
2981 * gdb.base/printcmds.exp (test_print_enums): New.
2982 <top level>: Call it.
2983
883df6dd
SW
29842010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2985
2986 * gdb.cp/fpointer.cc: New test.
2987 * gdb.cp/fpointer.exp: New test.
2988
569b05a5
JK
29892010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2990
2991 * gdb.base/solib-nodir.exp: New file.
2992 * lib/gdb.exp (runto): New case for a GDB internal error.
2993
51d7d803
JK
29942010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2995 Ulrich Weigand <uweigand@de.ibm.com>
2996 Tom Tromey <tromey@redhat.com>
2997
2998 * gdb.base/charset-malloc.c: New file.
2999 * gdb.base/charset.c (malloc_stub): New prototype.
3000 (main): Call it instead of malloc itself.
3001 * gdb.base/charset.exp: Use only prepare_for_testing.
3002 (binfile): Remove the variable.
3003
c0edd9ed
JK
30042010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3005
3006 Make core files the process_stratum.
3007 * gdb.base/corefile.exp (run: load core again)
3008 (run: sanity check we see the core file, run: with core)
3009 (run: core file is cleared, attach: load core again)
3010 (attach: sanity check we see the core file, attach: with core)
3011 (attach: core file is cleared): New tests.
3012 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
3013
3cbaedff
KW
30142010-07-14 Ken Werner <ken.werner@de.ibm.com>
3015
3016 * gdb.arch/altivec-abi.exp: New tests.
3017
91158a56
TT
30182010-07-13 Tom Tromey <tromey@redhat.com>
3019
3020 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
3021 (main): Use it.
3022 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
3023
0f5238ed
TT
30242010-07-13 Tom Tromey <tromey@redhat.com>
3025
3026 * gdb.base/label.exp: New file.
3027 * gdb.base/label.c: New file.
3028
add265ae
L
30292010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
3030 H.J. Lu <hongjiu.lu@intel.com>
3031
3032 * lib/gdb.exp (is_ilp32_target): New.
3033 (is_lp64_target): Likewise.
3034
3035 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
3036 target.
3037 * gdb.arch/amd64-disp-step.exp: Likewise.
3038 * gdb.arch/amd64-dword.exp: Likewise.
3039 * gdb.arch/amd64-i386-address.exp: Likewise.
3040 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 3041
add265ae
L
3042 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
3043 target.
3044 * gdb.arch/i386-bp_permanent.exp: Likewise.
3045 * gdb.arch/i386-byte.exp: Likewise.
3046 * gdb.arch/i386-disp-step.exp: Likewise.
3047 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3048 * gdb.arch/i386-prologue.exp: Likewise.
3049 * gdb.arch/i386-size-overlap.exp: Likewise.
3050 * gdb.arch/i386-size.exp: Likewise.
3051 * gdb.arch/i386-sse.exp: Likewise.
3052 * gdb.arch/i386-unwind.exp: Likewise.
3053 * gdb.arch/i386-word.exp: Likewise.
3054
3055 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
3056 test only when building 64-bit executables. Do not hard-code
3057 -m64 option.
3058
2dfb8c17
DE
30592010-07-07 Doug Evans <dje@google.com>
3060
3061 * lib/gdb.exp (gdb_test_list_exact): New function.
3062 * gdb.base/default.exp (show convenience): Call it, add tests for
3063 $_sdata = void, $_thread = 0.
3064
4e5799b6
JK
30652010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3066 Joel Brobecker <brobecker@adacore.com>
3067
3068 Fix re-run of PIE executable, PR shlibs/11776.
3069 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
3070 Remove $displacement_main to match the solib-svr4.c change. New "kill"
3071 and re-"run" of the inferior.
3072
1a219cc7
JK
30732010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3074 Joel Brobecker <brobecker@adacore.com>
3075
3076 Cope with missing /usr/sbin/prelink.
3077 * lib/prelink-support.exp (prelink_no):
3078 <result == 1 && $output is "no such file or directory">: New.
3079 (prelink_yes): Likewise. Return on failed prelink_no.
3080
5e3b36f8
JK
30812010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3082 Joel Brobecker <brobecker@adacore.com>
3083
3084 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
3085 build_executable by build_executable_own_libs. Replace "prelink -R"
3086 execution by a call of prelink_yes. Comment why "prelink -r" needs no
3087 change.
3088 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
3089 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
3090 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
3091 Replace build_executable by build_executable_own_libs's function
3092 build_executable_own_libs.
3093 (prelinkNO): Create new stub to call prelink_no.
3094 (prelinkYES): Create new stub to call prelink_yes.
3095 (test_attach): Rename calls of copy to file_copy.
3096 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
3097 (copy): Move to ...
3098 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
3099 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
3100 * gdb.base/prelink.exp: Disable testcase also for is_remote and
3101 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
3102 special flags by gdb_compile_shlib. Replace second gdb_compile by
3103 build_executable_own_libs. Replace "prelink -R" execution by a call of
3104 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
3105 a second call of prelink_yes. Replace restart commands by
3106 clean_restart.
3107 (prelink): Rename to ...
3108 (seen displacement message): ... this test. Extend its expectation
3109 strictness.
3110
86e4bafc
JK
31112010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3112
3113 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
3114 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
3115 displacement message exactly once.
3116
3cd07d20
JK
31172010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3118 Joel Brobecker <brobecker@adacore.com>
3119
3120 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
3121 its restore after the <$relink_args != ""> loop. new comment.
3122
0a1e94c7
JK
31232010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3124 Joel Brobecker <brobecker@adacore.com>
3125
3126 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
3127 code for it. New variable relink_args.
3128 (prelinkYES): Call prelinkNO.
3129 (test_attach): Accept new parameter relink_args. Re-prelink the binary
3130 in such case. Move the core code to ...
3131 (test_attach_gdb): ... a new function. Send GDB command "file".
3132 Extend expected "Attaching to " string.
3133
2f70bcfb
TT
31342010-07-02 Tom Tromey <tromey@redhat.com>
3135
3136 * gdb.base/bitops.exp: Remove extraneous "pass".
3137
a17ac5b0
TT
31382010-07-02 Ken Werner <ken.werner@de.ibm.com>
3139
3140 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3141
dc10affe
PA
31422010-07-01 Pedro Alves <pedro@codesourcery.com>
3143
d41c0fc8
PA
3144 * gdb.base/help.exp: Adjust expected output.
3145
31462010-07-01 Pedro Alves <pedro@codesourcery.com>
3147
3148 * gdb.base/help.exp: Adjust expected output.
dc10affe 3149
0a600c36
JK
31502010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3151
3152 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
3153 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
3154 c++/11702.
3155
37cc8bfe
JK
31562010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3157 Doug Evans <dje@google.com>
3158
3159 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
3160 add .dynamic entry'.
3161
254e6b9e
DE
31622010-06-29 Doug Evans <dje@google.com>
3163
3164 Test PR c++/11702.
3165 * gdb.cp/m-static.exp: Add testcase.
3166 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
3167
595939de 31682010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
3169 Tom Tromey <tromey@redhat.com>
3170 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
3171
3172 * gdb.python/py-inferior.c: New File.
3173 * gdb.python/py-infthread.c: New File.
3174 * gdb.python/py-inferior.exp: New File.
3175 * gdb.python/py-infthread.exp: New File.
3176
98751a41
JK
31772010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3178
3179 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
3180 (ptype ::C::OtherFileClass typedefs): New.
3181 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
3182 (C::OtherFileClass::cOtherFileClassVar2): New.
3183 (C::OtherFileClass::cOtherFileClassVar_use): Use also
3184 cOtherFileClassVar2.
3185 (C::cOtherFileType2, C::cOtherFileVar2): New.
3186 (C::cOtherFileVar_use): use also cOtherFileVar2.
3187 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
3188
41f62f39
JK
31892010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3190
3191 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
3192 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
3193 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
3194 (print ::C::cOtherFileVar)
3195 (whatis C::OtherFileClass::cOtherFileClassType)
3196 (whatis ::C::OtherFileClass::cOtherFileClassType)
3197 (print C::OtherFileClass::cOtherFileClassVar)
3198 (print ::cOtherFileClassVar)
3199 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
3200 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
3201 trailing content.
3202 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
3203 (C::OtherFileClass::cOtherFileClassVar)
3204 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
3205 (C::cOtherFileVar, C::cOtherFileVar_use): New.
3206
af53d231
JK
32072010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3208
3209 Test PR c++/11703 and PR gdb/1448.
3210 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
3211 gdb/1448.
3212
9655fd1a
JK
32132010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3214
3215 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
3216 (main) <rtti_data>: New.
3217 * gdb.cp/virtbase.exp (print rtti_data): New.
3218
824cc8dd
JK
32192010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3220 Joel Brobecker <brobecker@adacore.com>
3221
3222 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
3223
6036c742
JK
32242010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3225
3226 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
3227
de6a0421
DE
32282010-06-28 Doug Evans <dje@google.com>
3229
3230 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
3231
b2dae948
DE
32322010-06-27 Doug Evans <dje@google.com>
3233
3234 * gdb.cp/m-static.exp: Update expected test output.
3235
0f3bb72e
PH
32362010-06-25 Paul Hilfinger <hilfinger@adacore.com>
3237
889bf7c5
PA
3238 * gdb.gdb/selftest.exp: Adjust expected message for
3239 capturing start-up runtime.
0f3bb72e 3240
bc9f0842
TT
32412010-06-25 Tom Tromey <tromey@redhat.com>
3242
3243 PR python/10808:
3244 * gdb.python/python.exp: Add new tests.
3245
099ef718
SW
32462010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
3247
3248 * gdb.cp/operator.cc: Created an import loop.
3249 * gdb.cp/operator.exp: Added testcase for import loop.
3250
5868a632
JK
32512010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3252
3253 Test PR python/11407.
3254 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
3255 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
3256 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
3257 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
3258 executable_nofb and executable_fb. New variables srcsfile, objsfile,
3259 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
3260 binfile. Call gdb_compile with clean_restart twice.
3261 (func_nofb print, func_nofb backtrace, func_loopfb print)
3262 (func_loopfb backtrace): New.
3263
af76db58
JK
32642010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3265
3266 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
3267 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
3268 by a hand made one.
3269 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
3270 i?86 requirement. Remove variables srcfile and binfile. New variable
3271 sources, executable_nofb and executable_fb. Call prepare_for_testing.
3272
f2c7657e
UW
32732010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3274
3275 * gdb.cell/dwarfaddr.exp: New file.
3276 * gdb.cell/dwarfaddr.S: New file.
3277
628fe4e4
JK
32782010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3279
3280 Test PR 9436.
3281 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
3282
f1421989
HZ
32832010-06-24 Hui Zhu <teawater@gmail.com>
3284
3285 * gdb.base/eval.exp: New file.
3286
d03285ec
UW
32872010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3288
3289 * gdb.cell/fork.exp: New file.
3290 * gdb.cell/fork.c: Likewise.
3291 * gdb.cell/fork-spu.c: Likewise.
3292
41b2c92d
PM
32932010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
3294
3295 * lib/gdb.exp (banned_variables_traced): New global variable.
3296 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
3297 (gdb_init): Use `trace add variable' instead of obsolete
3298 `trace variable'.
3299
d5bc977f
DE
33002010-06-21 Doug Evans <dje@google.com>
3301
3302 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
3303
d2ed6730
UW
33042010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3305
3306 * gdb.arch/spu-ls.exp: New file.
3307 * gdb.arch/spu-ls.c: Likewise.
3308
6aed2dbc
SS
33092010-06-18 Stan Shebs <stan@codesourcery.com>
3310
3311 * gdb.threads/thread-specific.exp: Add tests of $_thread.
3312
e0756905
UW
33132010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3314
3315 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
3316 * gdb.base/watch-cond.exp: Likewise.
3317 * gdb.python/py-breakpoint.exp: Likewise.
3318
d8053d4d
PA
33192010-06-18 Pedro Alves <pedro@codesourcery.com>
3320
3321 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
3322 clean_restart, make sure every test has a distinct message, and
3323 that messages don't include the executable' full path.
3324
81ce510c
DE
33252010-06-17 Doug Evans <dje@google.com>
3326
3327 * gdb.arch/i386-size.exp: Updated expected output for
3328 DISASSEMBLY_OMIT_FNAME.
3329
65d79d4b
SDJ
33302010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3331 Sergio Durigan Junior <sergiodj@redhat.com>
3332
3333 * gdb.base/watch-notconst.c: New file.
3334 * gdb.base/watch-notconst.S: New file.
3335 * gdb.base/watch-notconst2.c: New file.
3336 * gdb.base/watch-notconst2.S: New file.
3337 * gdb.base/watch-notconst.exp: New file.
3338 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
3339 (func4): Add operations on `global_ptr_ptr'.
3340 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
3341 routine to test watchpoints created with a constant expression.
3342 (test_inaccessible_watchpoint): Include tests for watchpoints
3343 created with a constant expression.
3344
df0f4836
KB
33452010-06-14 Kevin Buettner <kevinb@redhat.com>
3346
3347 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3348 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
3349 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
3350 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
3351 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3352 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3353 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
3354 of `_start'.
3355
b769def5
UW
33562010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3357
3358 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
3359 not supported on the target.
3360 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3361 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3362 * gdb.mi/mi-nsintrall.exp: Likewise.
3363 * gdb.mi/mi-nsmoribund.exp: Likewise.
3364 * gdb.mi/mi-nsthrexec.exp: Likewise.
3365
d914c394
SS
33662010-06-11 Stan Shebs <stan@codesourcery.com>
3367
3368 * gdb.base/permissions.exp: New file.
3369
33702010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
3371
3372 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
3373 does not support ELF executable class.
3374
f3ce5b9c
UW
33752010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3376
3377 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
3378
8e46892c
JK
33792010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3380
3381 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
3382 (runto): Catch "The target does not support running in non-stop mode.".
3383
6cc55c64
MS
33842010-06-11 Michael Snyder <msnyder@vmware.com>
3385
3386 * gdb.base/setshow.exp (set language asm): Don't use
3387 gdb_test_no_output, fails on some targets.
3388
caddefa4
UW
33892010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3390
3391 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
3392 * gdb.cp/pr9167.exp: Likewise.
3393
468b1aa7
UW
33942010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3395
3396 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
3397
5c3552dc
UW
33982010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3399
3400 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
3401
02e6fe6a
UW
34022010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3403
3404 * gdb.base/charset.c (main): Make sure malloc gets linked in.
3405
0e03807e
TT
34062010-06-11 Tom Tromey <tromey@redhat.com>
3407
3408 PR gdb/9977, PR exp/11636::
3409 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
3410 (pieces_test_f6): Update expected output.
3411
2bdf28a0
JK
34122010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3413
3414 * gdb.base/moribund-step.exp: New.
3415
f6978de9
MS
34162010-06-08 Michael Snyder <msnyder@vmware.com>
3417
3418 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 3419 * gdb.ada/boolean_expr.exp:
f6978de9
MS
3420 * gdb.ada/frame_args.exp: Ditto.
3421 * gdb.ada/lang_switch.exp: Ditto.
3422 * gdb.ada/ptype_arith_binop.exp: Ditto.
3423 * gdb.ada/ref_param.exp: Ditto.
3424 * gdb.ada/type_coercion.exp:Ditto.
3425
3426 * gdb.asm/asm-source.exp: Ditto.
3427
3428 * gdb.base/attach.exp: Ditto.
3429 * gdb.base/bitfields2.exp: Ditto.
3430 * gdb.base/call-signal-resume.exp: Ditto.
3431 * gdb.base/callfuncs.exp: Ditto.
3432 * gdb.base/commands.exp: Ditto.
3433 * gdb.base/dbx.exp: Ditto.
3434 * gdb.base/default.exp: Ditto.
3435 * gdb.base/dump.exp: Ditto.
3436 * gdb.base/exprs.exp: Ditto.
3437 * gdb.base/freebpcmd.exp: Ditto.
3438 * gdb.base/interrupt.exp: Ditto.
3439 * gdb.base/list.exp: Ditto.
3440 * gdb.base/long_long.exp: Ditto.
3441 * gdb.base/maint.exp: Ditto.
3442 * gdb.base/ptype.exp: Ditto.
3443 * gdb.base/return.exp: Ditto.
3444 * gdb.base/setshow.exp: Ditto.
3445 * gdb.base/sigbpt.exp: Ditto.
3446 * gdb.base/sigrepeat.exp: Ditto.
3447
3448 * gdb.cp/classes.exp: Ditto.
3449
3450 * gdb.dwarf2/dw2-restore.exp: Ditto.
3451
3452 * gdb.gdb/selftest.exp: Ditto.
3453
3454 * gdb.multi/base.exp: Ditto.
3455 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3456
3457 * gdb.python/py-block.exp: Ditto.
3458 * gdb.python/py-prettyprint.exp: Ditto.
3459 * gdb.python/py-template.exp: Ditto.
3460
3461 * gdb.server/ext-attach.exp: Ditto.
3462 * gdb.server/ext-run.exp: Ditto.
3463 * gdb.server/server-mon.exp: Ditto.
3464
3465 * gdb.threads/fork-thread-pending.exp: Ditto.
3466 * gdb.threads/hand-call-in-threads.exp: Ditto.
3467 * gdb.threads/interrupted-hand-call.exp: Ditto.
3468 * gdb.threads/linux-dp.exp: Ditto.
3469 * gdb.threads/manythreads.exp: Ditto.
3470 * gdb.threads/print-threads.exp: Ditto.
3471 * gdb.threads/pthreads.exp: Ditto.
3472 * gdb.threads/schedlock.exp: Ditto.
3473 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3474 * gdb.threads/threadapply.exp: Ditto.
3475
de7ff789
MS
34762010-06-08 Michael Snyder <msnyder@vmware.com>
3477
889bf7c5 3478 * gdb.ada/exec_changed.exp:
de7ff789
MS
3479 Use ".*" instead of "" as wildcard regexp.
3480
3481 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3482 * gdb.base/call-ar-st.exp: Ditto.
3483 * gdb.base/checkpoint.exp: Ditto.
3484 * gdb.base/default.exp: Ditto.
3485 * gdb.base/dump.exp: Ditto.
3486 * gdb.base/ending-run.exp: Ditto.
3487 * gdb.base/fileio.exp: Ditto.
3488 * gdb.base/miscexprs.exp: Ditto.
3489 * gdb.base/pointers.exp: Ditto.
3490 * gdb.base/readline.exp: Ditto.
3491 * gdb.base/reread.exp: Ditto.
3492 * gdb.base/restore.exp: Ditto.
3493 * gdb.base/shlib-call.exp: Ditto.
3494 * gdb.base/valgrind-db-attach.exp: Ditto.
3495 * gdb.base/volatile.exp: Ditto.
3496 * gdb.base/watchpoints.exp: Ditto.
3497
3498 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3499
3500 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3501 * gdb.python/py-value.exp: Ditto.
3502
3503 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3504 * gdb.trace/circ.exp: Ditto.
3505 * gdb.trace/collection.exp: Ditto.
3506 * gdb.trace/packetlen.exp: Ditto.
3507 * gdb.trace/passc-dyn.exp: Ditto.
3508 * gdb.trace/report.exp: Ditto.
3509 * gdb.trace/tfile.exp: Ditto.
3510 * gdb.trace/tfind.exp: Ditto.
3511 * gdb.trace/while-dyn.exp: Ditto.
3512
3bebe2f2
JK
35132010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3514
3515 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3516
5c631832
JK
35172010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3518
3519 Test PR 10640.
3520 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3521
4c3376c8
SW
35222010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3523
3524 * gdb.cp/koenig.exp: Test for ADL operators.
3525 * gdb.cp/koenig.cc: Added ADL operators.
3526 * gdb.cp/operator.exp: New test.
3527 * gdb.cp/operator.cc: New test.
3528
dc226d5a
MS
35292010-06-04 Michael Snyder <msnyder@vmware.com>
3530
dfb88a23
MS
3531 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3532 * gdb.base/pending.exp: Ditto.
f7ae76b3 3533
dc226d5a
MS
3534 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3535
967cf477
DE
35362010-06-04 Doug Evans <dje@google.com>
3537
3538 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3539 disabled printers.
3540 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3541 (enable_lookup_function): New function.
3542
eb801841
TT
35432010-06-04 Tom Tromey <tromey@redhat.com>
3544
3545 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3546 of hash and id.
3547
38979823
JK
35482010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3549
3550 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3551 newline.
3552 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3553 (empty verbose non-noisy clear, empty verbose noisy clear)
3554 (empty non-verbose noisy clear): Likewise.
3555
35ec993f
MS
35562010-06-03 Michael Snyder <msnyder@vmware.com>
3557
3558 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3559 * gdb.base/display.exp: Ditto.
3560 * gdb.base/find.exp: Ditto.
3561 * gdb.base/ifelse.exp: Ditto.
3562 * gdb.base/multi-forks.exp: Ditto.
3563 * gdb.base/recurse.exp: Ditto.
3564 * gdb.base/setshow.exp: Ditto.
3565 * gdb.base/value-double-free.exp: Ditto.
3566 * gdb.base/watch-vfork.exp: Ditto.
3567 * gdb.base/watch_thread_num.exp: Ditto.
3568 * gdb.base/watchpoint-solib.exp: Ditto.
3569 * gdb.base/watchpoint.exp: Ditto.
3570 * gdb.base/watchpoints.exp: Ditto.
3571
3572 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3573 * gdb.cp/overload.exp: Ditto.
3574 * gdb.cp/virtfunc.exp: Ditto.
3575
3576 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3577
889bf7c5 3578 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
3579 Replace gdb_test with gdb_test_no_output.
3580
889bf7c5 3581 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
3582 Replace gdb_test with gdb_test_no_output.
3583 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3584 * gdb.threads/watchthreads.exp: Ditto.
3585 * gdb.threads/watchthreads2.exp: Ditto.
3586
3587 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3588 * gdb.trace/tfind.exp: Ditto.
3589
c22decce
JB
35902010-06-03 Joel Brobecker <brobecker@adacore.com>
3591
3592 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3593 successful test if message is the empty string.
3594
fd5700c7
JK
35952010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3596
3597 * gdb.fortran/module.exp (stopped language detection): New test.
3598
f55ee35c
JK
35992010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3600
3601 Support DW_TAG_module as separate namespaces.
3602 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3603 gdb.fortran/library-module-lib.f90: New.
3604 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3605 (print i): Remove.
3606 (continue to breakpoint: i-is-1, print var_i value 1)
3607 (continue to breakpoint: i-is-2, print var_i value 2)
3608 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3609 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3610 (complete `modmany, complete `modmany`, complete `modmany`var)
3611 (show language, setting breakpoint at module): New tests.
3612 * gdb.fortran/module.f90 (module mod): Remove.
3613 (module mod1, module mod2, module modmany, subroutine sub1)
3614 (subroutine sub2, program module): New.
3615
b8e8282f
JK
36162010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3617
3618 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3619 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
3620 * gdb.cp/anon-union.exp (pass): Rename to ...
3621 (print z 2): ... here.
b8e8282f 3622
019ebafc
MS
36232010-06-02 Michael Snyder <msnyder@vmware.com>
3624
e68d8fd4
MS
3625 * gdb.trace/actions.exp: Use gdb_test_no_output.
3626 * gdb.trace/circ.exp: Ditto.
3627 * gdb.trace/packetlen.exp: Ditto.
3628 * gdb.trace/save-trace.exp: Ditto.
3629 * gdb.trace/tracecmd.exp: Ditto.
3630 * gdb.trace/tsv.exp: Ditto.
3631
12b5d08a
MS
3632 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3633 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3634 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3635 * gdb.threads/manythreads.exp: Ditto.
3636 * gdb.threads/print-threads.exp: Ditto.
3637 * gdb.threads/pthreads.exp: Ditto.
3638 * gdb.threads/schedlock.exp: Ditto.
3639 * gdb.threads/staticthreads.exp: Ditto.
3640 * gdb.threads/thread-specific.exp: Ditto.
3641 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3642 * gdb.threads/threadapply.exp: Ditto.
3643 * gdb.threads/watchthreads.exp: Ditto.
3644 * gdb.threads/watchthreads2.exp: Ditto.
3645
89493308
MS
3646 * gdb.python/py-block.exp: Use gdb_test_no_output.
3647 * gdb.python/py-prettyprint.exp: Ditto.
3648 * gdb.python/py-template.exp: Ditto.
3649 * gdb.python/py-value.exp: Ditto.
3650
3651 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3652 * gdb.reverse/watch-reverse.exp: Ditto.
3653
3654 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3655 * gdb.server/ext-run.exp: Ditto.
3656
019ebafc
MS
3657 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3658 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3659 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3660 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3661 * gdb.dwarf2/dw2-producer.exp: Ditto.
3662 * gdb.dwarf2/mac-fileno.exp: Ditto.
3663
3664 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3665 * gdb.gdb/selftest.exp: Ditto.
3666
3667 * gdb.multi/base.exp: Use gdb_test_no_output.
3668
3669 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3670
3e0ca3a5
JK
36712010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3672
3673 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3674
9db70545
MS
36752010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3676
a8d52276
MS
3677 * gdb.cp/class2.exp: Use gdb_test_no_output.
3678 * gdb.cp/classes.exp: Ditto.
3679 * gdb.cp/extern-c.exp: Ditto.
3680 * gdb.cp/inherit.exp: Ditto.
3681 * gdb.cp/maint.exp: Ditto.
3682 * gdb.cp/mb-inline.exp: Ditto.
3683 * gdb.cp/mb-templates.exp: Ditto.
3684 * gdb.cp/method2.exp: Ditto.
3685 * gdb.cp/misc.exp: Ditto.
3686 * gdb.cp/ovldbreak.exp: Ditto.
3687 * gdb.cp/punctuator.exp: Ditto.
3688 * gdb.cp/templates.exp: Ditto.
3689 * gdb.cp/virtbase.exp: Ditto.
3690
889bf7c5 3691 * gdb.threads/attach-stopped.exp:
9db70545 3692 Replace uses of send_gdb / gdb_expect.
889bf7c5 3693 * gdb.threads/attachstop-mt.exp:
9db70545 3694 Replace uses of send_gdb / gdb_expect.
889bf7c5 3695 * gdb.threads/gcore-thread.exp:
9db70545 3696 Replace uses of send_gdb / gdb_expect.
889bf7c5 3697 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
3698 Replace uses of send_gdb / gdb_expect.
3699 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3700 * gdb.threads/print-threads.exp:
9db70545
MS
3701 Replace uses of send_gdb / gdb_expect.
3702 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3703 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3704 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3705
3706 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3707 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3708 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3709 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3710 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3711 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3712 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3713 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3714 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3715 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3716 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3717
359cc68c
JK
37182010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3719
3720 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3721
7d3fe98e
SW
37222010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3723
3724 * gdb.cp/koenig.exp: Added new test case.
3725 * gdb.cp/koenig.cc: Ditto.
3726
27d3a1a2
MS
37272010-06-01 Michael Snyder <msnyder@vmware.com>
3728
3729 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3730 * gdb.base/arrayidx.exp: Ditto.
3731 * gdb.base/attach.exp: Ditto.
3732 * gdb.base/auxv.exp: Ditto.
3733 * gdb.base/bigcre.exp: Ditto.
3734 * gdb.base/break-always.exp: Ditto.
3735 * gdb.base/break-interp.exp: Ditto.
3736 * gdb.base/break.exp: Ditto.
3737 * gdb.base/breakpoint-shadow.exp: Ditto.
3738 * gdb.base/call-ar-st.exp: Ditto.
3739 * gdb.base/call-sc.exp: Ditto.
3740 * gdb.base/call-signal-resume.exp: Ditto.
3741 * gdb.base/callfuncs.exp: Ditto.
3742 * gdb.base/catch-syscall.exp: Ditto.
3743 * gdb.base/charset.exp: Ditto.
3744 * gdb.base/code-expr.exp: Ditto.
3745 * gdb.base/commands.exp: Ditto.
3746 * gdb.base/cond-expr.exp: Ditto.
3747 * gdb.base/condbreak.exp: Ditto.
3748 * gdb.base/cursal.exp: Ditto.
3749 * gdb.base/cvexpr.exp: Ditto.
3750 * gdb.base/default.exp: Ditto.
3751 * gdb.base/del.exp: Ditto.
3752 * gdb.base/detach.exp: Ditto.
3753 * gdb.base/display.exp: Ditto.
3754 * gdb.base/ena-dis-br.exp: Ditto.
3755 * gdb.base/eval-skip.exp: Ditto.
3756 * gdb.base/foll-fork.exp: Ditto.
3757 * gdb.base/foll-vfork.exp: Ditto.
3758 * gdb.base/frame-args.exp: Ditto.
3759 * gdb.base/funcargs.exp: Ditto.
3760 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3761 * gdb.base/gdbvars.exp: Ditto.
3762 * gdb.base/help.exp: Ditto.
3763 * gdb.base/ifelse.exp: Ditto.
3764 * gdb.base/included.exp: Ditto.
3765 * gdb.base/list.exp: Ditto.
3766 * gdb.base/macscp.exp: Ditto.
3767 * gdb.base/maint.exp: Ditto.
3768 * gdb.base/multi-fork.exp: Ditto.
3769 * gdb.base/overlays.exp: Ditto.
3770 * gdb.base/page.exp: Ditto.
3771 * gdb.base/pending.exp: Ditto.
3772 * gdb.base/pointers.exp: Ditto.
3773 * gdb.base/pr11022.exp: Ditto.
3774 * gdb.base/prelink.exp: Ditto.
3775 * gdb.base/printcmds.exp: Ditto.
3776 * gdb.base/psymtab.exp: Ditto.
3777 * gdb.base/randomize.exp: Ditto.
3778 * gdb.base/relational.exp: Ditto.
3779 * gdb.base/relocate.exp: Ditto.
3780 * gdb.base/remote.exp: Ditto.
3781 * gdb.base/sepdebug.exp: Ditto.
3782 * gdb.base/set-lang-auto.exp: Ditto.
3783 * gdb.base/setshow.exp: Ditto.
3784 * gdb.base/setvar.exp: Ditto.
3785 * gdb.base/signals.exp: Ditto.
3786 * gdb.base/signull.exp: Ditto.
3787 * gdb.base/sigstep.exp: Ditto.
3788 * gdb.base/sizeof.exp: Ditto.
3789 * gdb.base/solib-disc.exp: Ditto.
3790 * gdb.base/store.exp: Ditto.
3791 * gdb.base/structs.exp: Ditto.
3792 * gdb.base/structs2.exp: Ditto.
3793 * gdb.base/subst.exp: Ditto.
3794 * gdb.base/term.exp: Ditto.
3795 * gdb.base/trace-commands.exp: Ditto.
3796 * gdb.base/unwindonsignal.exp: Ditto.
3797 * gdb.base/valgrind-db-attach.exp: Ditto.
3798 * gdb.base/varargs.exp: Ditto.
3799 * gdb.base/watch-cond.exp: Ditto.
3800 * gdb.base/watch_thread_num.exp: Ditto.
3801 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3802 * gdb.base/watchpoint.exp: Ditto.
3803 * gdb.base/whatis-exp.exp: Ditto.
3804
f8d3bf8f
MS
38052010-06-01 Michael Snyder <msnyder@vmware.com>
3806
3807 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3808 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3809 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3810 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3811 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3812 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3813 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3814 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3815 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3816 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3817 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3818 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3819 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3820 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3821 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3822
3f9e0d32
JK
38232010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3824
3825 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3826 trailing newline.
3827 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3828 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3829 (p *args): ... here and remove excessive trailing newline.
3830
f629457d
JB
38312010-05-31 Joel Brobecker <brobecker@adacore.com>
3832
3833 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3834
09eef106
JK
38352010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3836
3837 Accept the new Linux kernel "t (tracing stop)" string.
3838 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3839 Update comment.
3840 (state_wait) <T (tracing stop)>: New.
3841 (main): Update the state_wait expect string.
3842
94f31136
PA
38432010-05-28 Pedro Alves <pedro@codesourcery.com>
3844
3845 * limits.c, limits.exp: Delete files.
3846 * Makefile.in (clean mostlyclean): Adjust.
3847 * tracecmd.exp: Adjust.
3848
096554ab
JK
38492010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3850
3851 * gdb.base/tui-layout.exp: New.
3852
27d3a1a2 38532010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 3854
889bf7c5 3855 * gdb.reverse/break-precsave.exp:
bcd2dc50 3856 Replace uses of send_gdb / gdb_expect.
889bf7c5 3857 * gdb.reverse/break-reverse.exp:
bcd2dc50 3858 Replace uses of send_gdb / gdb_expect.
889bf7c5 3859 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 3860 Replace uses of send_gdb / gdb_expect.
889bf7c5 3861 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 3862 Replace uses of send_gdb / gdb_expect.
889bf7c5 3863 * gdb.reverse/finish-precsave.exp:
bcd2dc50 3864 Replace uses of send_gdb / gdb_expect.
889bf7c5 3865 * gdb.reverse/finish-reverse.exp:
bcd2dc50 3866 Replace uses of send_gdb / gdb_expect.
889bf7c5 3867 * gdb.reverse/i386-precsave.exp:
bcd2dc50 3868 Replace uses of send_gdb / gdb_expect.
889bf7c5 3869 * gdb.reverse/i386-reverse.exp:
bcd2dc50 3870 Replace uses of send_gdb / gdb_expect.
889bf7c5 3871 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 3872 Replace uses of send_gdb / gdb_expect.
889bf7c5 3873 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 3874 Replace uses of send_gdb / gdb_expect.
889bf7c5 3875 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 3876 Replace uses of send_gdb / gdb_expect.
889bf7c5 3877 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 3878 Replace uses of send_gdb / gdb_expect.
889bf7c5 3879 * gdb.reverse/machinestate.exp:
bcd2dc50 3880 Replace uses of send_gdb / gdb_expect.
889bf7c5 3881 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 3882 Replace uses of send_gdb / gdb_expect.
889bf7c5 3883 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 3884 Replace uses of send_gdb / gdb_expect.
889bf7c5 3885 * gdb.reverse/solib-precsave.exp:
bcd2dc50 3886 Replace uses of send_gdb / gdb_expect.
889bf7c5 3887 * gdb.reverse/solib-reverse.exp:
bcd2dc50 3888 Replace uses of send_gdb / gdb_expect.
889bf7c5 3889 * gdb.reverse/step-precsave.exp:
bcd2dc50 3890 Replace uses of send_gdb / gdb_expect.
889bf7c5 3891 * gdb.reverse/step-reverse.exp:
bcd2dc50 3892 Replace uses of send_gdb / gdb_expect.
889bf7c5 3893 * gdb.reverse/until-precsave.exp:
bcd2dc50 3894 Replace uses of send_gdb / gdb_expect.
889bf7c5 3895 * gdb.reverse/until-reverse.exp:
bcd2dc50 3896 Replace uses of send_gdb / gdb_expect.
889bf7c5 3897 * gdb.reverse/watch-precsave.exp:
bcd2dc50 3898 Replace uses of send_gdb / gdb_expect.
889bf7c5 3899 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
3900 Replace uses of send_gdb / gdb_expect.
3901
3def43e0
JK
39022010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3903
3904 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3905 excessive newline.
3906
27d3a1a2 39072010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
3908
3909 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
3910 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3911 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3912 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3913 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3914 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3915 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3916 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3917 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3918 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3919 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3920 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3921 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3922 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3923 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3924 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3925 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3926 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3927 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 3928
27d3a1a2 39292010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 3930
22454424
MS
3931 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3932 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3933
3934 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3935 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3936 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3937
889bf7c5 3938 * gdb.reverse/consecutive-reverse.exp:
22454424 3939 Replace uses of send_gdb / gdb_expect.
889bf7c5 3940 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
3941 Replace uses of send_gdb / gdb_expect.
3942
3943 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3944 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3945 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3946 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
3947 Replace uses of send_gdb / gdb_expect.
3948 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3949 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3950 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3951 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3952 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3953 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3954 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3955 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3956 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
3957
39582010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 3959
22454424 3960 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3961
22454424 3962 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3963
22454424
MS
3964 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3965 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3966 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3967 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3968 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3969 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3970 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3971 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3972 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3973
6e5f2c59
TT
39742010-05-25 Tom Tromey <tromey@redhat.com>
3975
3976 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3977
bbc8b958
TT
39782010-05-25 Tom Tromey <tromey@redhat.com>
3979
3980 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3981 argument order.
3982 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3983 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3984 order.
3985 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3986 order.
3987 * gdb.base/call-sc.exp (setup_kfails): Remove.
3988 (setup_compiler_kfails): Remove.
3989 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3990 argument order.
3991 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3992 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3993 (advancei): Fix setup_kfail argument order.
3994 * gdb.base/radix.exp: Fix setup_kfail argument order.
3995 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3996 order.
3997 * gdb.base/structs.exp (setup_kfails): Remove.
3998 (setup_compiler_kfails): Fix setup_kfail argument order.
3999 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
4000 order.
4001 * gdb.java/jmain.exp: Fix setup_kfail argument order.
4002 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
4003 setup_kfail argument order.
4004 * gdb.cp/overload.exp: Fix setup_kfail argument order.
4005
83d1babf
TT
40062010-05-25 Tom Tromey <tromey@redhat.com>
4007
4008 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
4009
6acb16a2
MS
40102010-05-25 Michael Snyder <msnyder@vmware.com>
4011
4012 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
4013 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
4014 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
4015 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
4016 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
4017 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
4018 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
4019 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
4020 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
4021 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
4022 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
4023 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
4024 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
4025 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
4026 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
4027 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
4028 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
4029 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
4030 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
4031 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
4032 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
4033 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
4034 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
4035 * gdb.base/default.exp: Replace send_gdb with gdb_test.
4036 * gdb.base/define.exp: Replace send_gdb with gdb_test.
4037 * gdb.base/display.exp: Replace send_gdb with gdb_test.
4038 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
4039 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
4040 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
4041 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
4042 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
4043 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
4044 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
4045 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
4046 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
4047 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
4048 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
4049 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
4050 * gdb.base/help.exp: Replace send_gdb with gdb_test.
4051 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
4052 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
4053 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
4054 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
4055 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
4056 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
4057 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
4058 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 4059 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
4060
40612010-05-25 Doug Evans <dje@google.com>
4062
4063 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
4064 gdb.string_to_argv.
ad3986f0 4065
d3b1e874
TT
40662010-05-21 Tom Tromey <tromey@redhat.com>
4067
4068 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
4069 Call it.
4070 * gdb.dwarf2/pieces.S: Update.
4071 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
4072
cb826367
TT
40732010-05-21 Tom Tromey <tromey@redhat.com>
4074
4075 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
4076 Call it.
4077 * gdb.dwarf2/pieces.c (struct C): New.
4078 (f6): New function.
4079 * gdb.dwarf2/pieces.S: Replace.
4080
74de6778
TT
40812010-05-21 Tom Tromey <tromey@redhat.com>
4082
4083 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
4084 Call it.
4085
afd74c5f
TT
40862010-05-21 Tom Tromey <tromey@redhat.com>
4087
4088 * gdb.dwarf2.pieces.exp: New file.
4089 * gdb.dwarf2.pieces.S: New file.
4090 * gdb.dwarf2.pieces.c: New file.
4091
a7b75dfd 40922010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4093 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
4094
4095 * lib/gdb.exp (gdb_test_no_output): New function.
4096 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
4097 when testing commands that should produce no output.
4098
c81c812a
JB
40992010-05-17 Joel Brobecker <brobecker@adacore.com>
4100
4101 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
4102 parameter that we want to watch being a constant.
4103
0cce5bd9
JB
41042010-05-17 Joel Brobecker <brobecker@adacore.com>
4105
4106 * gdb.ada/cond_lang: New testcase.
4107
47050449
JB
41082010-05-17 Joel Brobecker <brobecker@adacore.com>
4109
4110 * lib/gdb.exp (banned_variables): New variable/constant.
4111 (gdb_init): Add write trace on variables listed in banned_variables.
4112 (gdb_finish): Remove write traces on variables listed in
4113 banned_variables.
4114
77c01586
JB
41152010-05-17 Joel Brobecker <brobecker@adacore.com>
4116
4117 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
4118 * gdb.cp/koenig.exp: Likewise.
4119
88d4aea7
PM
41202010-05-14 Phil Muldoon <pmuldoon@redhat.com>
4121
889bf7c5 4122 PR python/11482
88d4aea7
PM
4123
4124 * gdb.python/py-value.exp (test_value_hash): New function.
4125
f5a010c0
PM
41262010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
4127
4128 PR exp/11530.
4129 * gdb.base/gdb11530.c: New file.
4130 * gdb.base/gdb11530.exp: New file.
4131
8ef4892f
JK
41322010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4133
4134 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
4135 * gdb.dwarf2/dw2-modula2-self-type.S: New.
4136
7322dca9
SW
41372010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
4138
4139 * gdb.cp/koenig.exp: New test.
4140 * gdb.cp/koenig.cc: New test program.
4141
02e7ea18
JB
41422010-05-05 Joel Brobecker <brobecker@adacore.com>
4143
4144 Remove the use of prms_id and bug_id throughout the testsuite.
4145
e1c34c5d
PM
41462010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
4147
4148 PR exp/11349.
4149 * testsuite/gdb.cp/ref-types.exp: Add test to examine
4150 use a reference local variable.
4151
8e1d0c49
JK
41522010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4153
4154 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
4155 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
4156 variable different_dir. Move debugfile into a full directory pathname
4157 under DIFFERENT_DIR.
4158 * lib/gdb.exp (separate_debug_filename): Remove.
4159 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
4160 variable debug_dir and mkdir of it. Update function comments.
4161
e66408ed
PA
41622010-04-29 Pedro Alves <pedro@codesourcery.com>
4163
4164 PR gdb/11557
4165
4166 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
4167 files.
4168
d7b32ed3
PM
41692010-04-29 Phil Muldoon <pmuldoon@redhat.com>
4170
889bf7c5 4171 * gdb.python/py-param.exp: New File.
d7b32ed3 4172
6aecb9c2
JB
41732010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
4174
4175 * gdb.base/default.exp: Fix "set language" test.
4176
bdf92a1c
PM
41772010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
4178
4179 PR breakpoints/11531.
4180 * gdb.base/gdb11531.c: New file.
4181 * gdb.base/gdb11531.exp: New file.
4182
3f172e24
TT
41832010-04-26 Tom Tromey <tromey@redhat.com>
4184
4185 * gdb.base/completion.exp: Add tests for completion and deprecated
4186 commands.
4187
64af4c92
JK
41882010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4189
4190 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
4191 (print /x char_array): Escape curly brackets.
4192
492928e4
JK
41932010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4194
4195 Fix deadlock on looped list of loaded shared objects.
4196 * gdb.base/solib-corrupted.exp: New.
4197
66d09542
DE
41982010-04-23 Doug Evans <dje@google.com>
4199
4200 * gdb.python/py-section-script.c: New file.
4201 * gdb.python/py-section-script.exp: New file.
4202 * gdb.python/py-section-script.py: New file.
4203
8bd10a10
CM
42042010-04-20 Chris Moller <cmoller@redhat.com>
4205
4206 PR 10179
4207
4208 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
4209 * gdb.base/pr10179-a.c:
4210 * gdb.base/pr10179-b.c:
4211 * gdb.base/pr10179.exp: New files.
4212
c0201579
JK
42132010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4214
4215 Fix crashes on dangling display expressions.
4216 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
4217 is SEP.
4218 (lib_flags): Remove the "debug" keyword.
4219 (libsepdebug): New variable for iterating new loop.
4220 (save_pf_prefix): New variable wrapping the loop.
4221 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
4222 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
4223
793b0ff8
PM
42242010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4225
4226 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
4227
097f51f7
PM
42282010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4229
4230 PR stabs/11479.
4231 * gdb.stabs/gdb11479.exp: New file.
4232 * gdb.stabs/gdb11479.c: New file.
4233
9a22f0d0
PM
42342010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4235
4236 * gdb.base/charset.c (Strin16, String32): New variables.
4237 * gdb.base/charset.exp (gdb_test): Test correct display
4238 of 16 or 32 bit strings.
4239
42402010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
4241
4242 PR 9167
4243 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
4244 * gdb.cp/pr9167.cc: New file.
4245 * gdb.cp/pr9167.exp: New file.
4246
4247
6e354e5e
PM
42482010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
4249
4250 PR pascal/11492.
4251 * gdb.pascal/gdb11492.pas: New file.
4252 * gdb.pascal/gdb11492.exp: New file.
4253
be942545
JB
42542010-04-20 Joel Brobecker <brobecker@adacore.com>
4255
1667e6e3 4256 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 4257
0c3acc09
JB
42582010-04-20 Joel Brobecker <brobecker@adacore.com>
4259
4260 * gdb.ada/dyn_loc: New testcase.
4261
ec31cde5
CM
42622010-04-20 Chris Moller <cmoller@redhat.com>
4263
4264 PR 10867
889bf7c5 4265
ec31cde5
CM
4266 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
4267 * gdb.cp/pr10687.cc: New file.
4268 * gdb.cp/pr10687.exp: New file.
4269
4270
ce4b0682
SDJ
42712010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4272 Sergio Durigan Junior <sergiodj@redhat.com>
4273
4274 * gdb.fortran/logical.exp: New testcase.
4275 * gdb.fortran/logical.f90: New file.
4276
3436961f
DE
42772010-04-19 Doug Evans <dje@google.com>
4278
4279 * gdb.base/help.exp (help source): Update expected output.
4280
4d836c09
JK
42812010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4282
4283 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
4284 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
4285 gdb_exit and return.
4286 (executable): New variable.
4287 (binfile): Use it.
4288
6149aea9
PA
42892010-04-19 Pedro Alves <pedro@codesourcery.com>
4290
4291 PR breakpoints/8554.
4292
4293 * gdb.trace/save-trace.exp: Adjust.
4294
ed41462c
L
42952010-04-17 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 PR corefiles/11511
4298 * gdb.arch/system-gcore.exp: New.
4299 * gdb.arch/gcore.c: Likewise.
4300
3f7b2faa
DE
43012010-04-15 Doug Evans <dje@google.com>
4302
fa33c3cd
DE
4303 * gdb.python/py-progspace.c: New file.
4304 * gdb.python/py-progspace.exp: New file.
4305
3f7b2faa
DE
4306 * gdb.base/source.exp: Add tests for "source -s".
4307
79f283fe
PM
43082010-04-14 Phil Muldoon <pmuldoon@redhat.com>
4309
4310 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
4311 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
4312 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
4313 * gdb.python/py-mi.exp: New test for to_string returning None.
4314
fc8eb08a
PM
43152010-04-12 Phil Muldoon <pmuldoon@redhat.com>
4316
4317 * gdb.python/py-breakpoint.c: Make result global.
4318
26e197f6
JK
43192010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4320
4321 Fix non-GNU make compatibility.
4322 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
4323
adc36818
PM
43242010-04-09 Phil Muldoon <pmuldoon@redhat.com>
4325
4326 * gdb.python/py-breakpoint.exp: New File.
4327 * gdb.python/py-breakpoint.C: Ditto.
4328
64e17368
SS
43292010-04-08 Stan Shebs <stan@codesourcery.com>
4330
4331 * gdb.trace/actions.exp: Clear default-collect.
4332 * gdb.trace/save-trace.exp: Clear default-collect.
4333
fff5cc64
PM
43342010-04-08 Phil Muldoon <pmuldoon@redhat.com>
4335
4336 * gdb.python/py-value: Add null string variable.
4337 (test_lazy_string): Test zero length, NULL address lazy
4338 strings.
4339
a055a187
L
43402010-04-07 H.J. Lu <hongjiu.lu@intel.com>
4341
4342 * gdb.arch/i386-avx.c: New.
4343 * gdb.arch/i386-avx.exp: Likewise.
4344
4345 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
4346
96e39866
DE
43472010-04-06 Doug Evans <dje@google.com>
4348
4349 * gdb.base/source-test.gdb: New file.
4350 * gdb.base/source.exp: Test source -v.
4351
5984a431
UW
43522010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4353
4354 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
4355
ec8a089a
PM
43562010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
4357
4358 * gdb.stabs/aout.sed: Convert all backslash to double backslash
4359 within one line, unless it is followed by a double quote.
4360 * gdb.stabs/hppa.sed: Idem.
4361 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
4362 * gdb.stabs/weird.exp: Check for correct parsing of
4363 char and string constants.
ec8a089a
PM
4364 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
4365 in .stabs to .stabx substitution.
4366
fce3c1f0
SS
43672010-04-05 Stan Shebs <stan@codesourcery.com>
4368
4369 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
4370 constant global.
4371 * gdb.trace/tfile.exp: Try to print them.
4372
d77f58be
SS
43732010-04-04 Stan Shebs <stan@codesourcery.com>
4374
4375 * gdb.base/completion.exp: Update for new "info watchpoints".
4376 * gdb.base/default.exp: Ditto.
4377 * gdb.base/help.exp: Ditto.
4378 * gdb.base/watchpoint.exp: Ditto.
4379 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 4380
af54718e
SS
43812010-04-04 Stan Shebs <stan@codesourcery.com>
4382
4383 * gdb.trace/tfile.exp: Sharpen tfind test.
4384
74d1f91e
JK
43852010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4386
4387 * gdb.base/break-entry.exp: New.
4388
eb8e76db 43892010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 4390 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
4391
4392 * gdb.reverse/i386-sse-reverse.exp: New file.
4393 * gdb.reverse/i386-sse-reverse.c: New file.
4394
bf65cad8
PA
43952010-04-02 Pedro Alves <pedro@codesourcery.com>
4396
4397 * gdb.trace/tfind.exp: Adjust expected disassembly output.
4398
fff87407
SS
43992010-04-01 Stan Shebs <stan@codesourcery.com>
4400
4401 * gdb.trace/actions.exp: Tweak expected output.
4402 * gdb.trace/while-stepping.exp: Tweak expected output.
4403
fe01d668
L
44042010-04-01 H.J. Lu <hongjiu.lu@intel.com>
4405
4406 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
4407
86b17b60
PA
44082010-04-01 Pedro Alves <pedro@codesourcery.com>
4409
4410 * gdb.base/commands.exp: Adjust.
4411 * gdb.cp/extern-c.exp: Adjust.
4412
2c58c0a9
PA
44132010-04-01 Pedro Alves <pedro@codesourcery.com>
4414
4415 * gdb.trace/collection.c (local_test_func): Define a local struct,
4416 and instanciate it.
4417
0db9b91c
PA
44182010-04-01 Pedro Alves <pedro@codesourcery.com>
4419
4420 * gdb.trace/collection.exp (gdb_collect_args_test)
4421 (gdb_collect_argarray_test): XFAIL the tests that assume the
4422 argarray argument's elements are collected.
4423
8072405b
JK
44242010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4425
4426 * gdb.dwarf2/dw2-bad-parameter-type.exp,
4427 gdb.dwarf2/dw2-bad-parameter-type.S: New.
4428
8bf6485c
SS
44292010-03-31 Stan Shebs <stan@codesourcery.com>
4430
4431 * gdb.trace/save-trace.exp: Test save/restore of default-collect
4432 and tracepoint conditionals.
4433 (gdb_verify_tracepoints): Delete unused return.
4434
fd7f724a
KS
44352010-03-26 Keith Seitz <keiths@redhat.com>
4436
4437 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
4438 appear in the output before main.
4439 Remove KFAIL for gdb/2215 aka bz 9320.
4440
8d9e7719
DE
44412010-03-30 Doug Evans <dje@google.com>
4442
0906dd0b
DE
4443 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4444 by dejagnu.
4445 * gdb.arch/amd64-dword.exp: Ditto.
4446
8d9e7719
DE
4447 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4448 match.
4449 (break printf): Ditto.
4450
1da644f0
SW
44512010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4452
4453 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4454 gcc < 4.4.
4455 * gdb.cp/shadow.exp: Ditto.
4456
a8121990
PA
44572010-03-29 Pedro Alves <pedro@codesourcery.com>
4458
4459 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4460 "tstart" is silent.
4461
6e79d367
PA
44622010-03-29 Pedro Alves <pedro@codesourcery.com>
4463
4464 * gdb.trace/collection.exp (executable): New.
4465 (binfile): Use it.
4466 (fpreg, spreg, pcreg): New.
4467 (test_register): Use gdb_test_multiple. Pass /x to print.
4468 (prepare_for_trace_test): New.
4469 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4470 (gdb_collect_args_test, gdb_collect_argstruct_test)
4471 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4472 prepare_for_trace_test.
4473 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4474 fpreg, spreg and pcreg.
4475 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4476 prepare_for_trace_test.
4477 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4478 try to detect tracing support here. Don't set breakpoints at
4479 `begin' or `end' here.
4480 <global scope>: Use clean_restart. Run to main before checking
4481 for tracing support. Check for for tracing support here.
4482
09248348
JK
44832010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4484
4485 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4486 " as $displacement" to "seen displacement message".
4487
d350db38
PA
44882010-03-28 Pedro Alves <pedro@codesourcery.com>
4489
4490 * gdb.trace/while-dyn.exp (executable): New variable.
4491 (binfile): Use it.
4492 (test_while_stepping): New function. Move most tests here. Call
4493 it once for each of the while-stepping, stepping and ws aliases.
4494
907af001
UW
44952010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4496
4497 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4498 that do not provide the tagless_struct type name at all.
4499 (test_print_anon_union): Do not check value of uninitialized
4500 union member. Do not use cp_test_ptype_class, so we can accept
4501 "long" as well as "long int".
4502
610197fd
PA
45032010-03-26 Pedro Alves <pedro@codesourcery.com>
4504
4505 * gdb.trace/tfile.c (tohex, bin2hex): New.
4506 (write_error_trace_file): Hexify error description.
4507
6c28cbf2
SS
45082010-03-25 Stan Shebs <stan@codesourcery.com>
4509
4510 * gdb.trace/tfile.c: Generate an additional trace file, improve
4511 portability.
4512 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4513 files in a better way.
4514
e62b8c7e
KS
45152010-03-25 Keith Seitz <keiths@redhat.com>
4516
4517 * gdb.java/jprint.exp: XFAIL printing of static class members
4518 because of GCC debuginfo problem.
4519
82ccf5a5
JK
45202010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4521
4522 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4523
293e2f9e
DJ
45242010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4525
4526 * gdb.base/completion.exp: Allow long instead of long int.
4527 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4528 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4529 variable p.
4530 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4531 * gdb.base/pointers.exp: Allow long instead of long int.
4532 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4533 * gdb.base/step-line.exp: Allow a directory before the source file name.
4534
95a42b64
TT
45352010-03-24 Tom Tromey <tromey@redhat.com>
4536
4537 PR breakpoints/9352:
4538 * gdb.base/default.exp: Update.
4539 * gdb.base/commands.exp: Update.
4540 * gdb.cp/extern-c.exp: Test setting commands on multiple
4541 breakpoints at once.
4542
2390201f
DJ
45432010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4544
4545 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4546 if gdb,nosignals.
4547 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4548 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4549 exited".
4550
8c9a6790
SS
45512010-03-24 Stan Shebs <stan@codesourcery.com>
4552
4553 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4554
a6c727b2
DJ
45552010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4556
4557 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4558 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4559 argument. Handle "short" and "long".
4560 (Top level): Pass overprototyped output for old_fptr and xptr.
4561
4dfd5423
PA
45622010-03-23 Pedro Alves <pedro@codesourcery.com>
4563
4564 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4565 format strings and add casts to avoid compiler warnings.
4566
45672010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
4568
4569 * lib/trace-support.exp (gdb_trace_setactions):
4570 Don't expect whitespace after ">" prompt.
4571 * gdb.trace/actions.exp: Adjust for output changes.
4572 * gdb.trace/while-stepping.exp: Likewise.
4573
c847d045
JK
45742010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4575
4576 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4577 and r157645).
4578
5f717f1d
JK
45792010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4580
4581 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4582 New.
4583
7d6d51d5
DJ
45842010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4585
4586 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4587 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4588
3b11a015
SS
45892010-03-19 Stan Shebs <stan@codesourcery.com>
4590
4591 * gdb.trace/ax.exp: New file.
4592
d7d158ed
DE
45932010-03-19 Doug Evans <dje@google.com>
4594
6bb85cd1
DE
4595 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4596 output from gcc.
4597
d7d158ed
DE
4598 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4599 named /usr/sbin/prelink<foo>.
4600
4daf5ac0
SS
46012010-03-18 Stan Shebs <stan@codesourcery.com>
4602
4603 * gdb.trace/circ.exp: Test circular-trace-buffer.
4604 * gdb.trace/tfile.exp: Update tstatus test.
4605
e8d05480
JB
46062010-03-18 Joel Brobecker <brobecker@adacore.com>
4607
4608 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4609 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4610
441b986a
UW
46112010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4612
4613 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4614
4247603b
PA
46152010-03-18 Pedro Alves <pedro@codesourcery.com>
4616
4617 * gdb.base/default.exp: Adjust the expected output of the finish
4618 and until commands when the inferior is not being run.
4619
13387711
SW
46202010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4621
4622 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4623 * gdb.cp/nsusing.exp: Ditto.
4624
6e31430b
TT
46252010-03-15 Tom Tromey <tromey@redhat.com>
4626
4627 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4628 * gdb.cp/userdef.cc (operator==): New function.
4629 (main): New locals mem1, mem2.
4630
e2d69cb5
JZ
46312010-03-15 Jie Zhang <jie@codesourcery.com>
4632
4633 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4634 Declare and use new loadtimeout variable.
4635
f572f0a9
DJ
46362010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4637
4638 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4639 Use gdb_load later.
4640
51f4c0b0
PA
46412010-03-14 Pedro Alves <pedro@codesourcery.com>
4642
4643 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4644 literal. Add missing endlines to prints to stderr.
4645
1c809c68
TT
46462010-03-12 Tom Tromey <tromey@redhat.com>
4647
4648 PR c++/9708:
4649 * gdb.cp/m-static.exp: Add regression test.
4650 * gdb.cp/m-static.cc (method): New method.
4651 (main): Call it.
4652
00ae8fef
SW
46532010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4654
4655 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4656 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4657
759f0f0b
PA
46582010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4659
21e24d21
PA
4660 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4661
46622010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4663
759f0f0b
PA
4664 * lib/gdb.exp (skip_stl_tests): New.
4665 (gdb_compile): Symbian needs -ldl.
4666 (shlib_target_file): New.
4667 (shlib_symbol_file): New.
4668 (gdb_load_shlibs): Use shlib_target_file.
4669 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4670 * gdb.cp/exception.exp: Use skip_stl_tests.
4671 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4672 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4673 * gdb.cp/mb-templates.exp: Ditto.
4674 * gdb.base/commands.exp: Relax regexes.
4675 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4676 shlib_target_file and shlib_symbol_file.
4677 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4678 sections.
4679 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4680 * gdb.base/solib-disc.exp: Use
4681 shlib_target_file and shlib_symbol_file.
4682 * gdb.base/unload.exp: Don't skip on symbian. Use
4683 shlib_target_file and shlib_symbol_file.
4684 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4685
6a8f2671 46862010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4687
6a8f2671
PA
4688 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4689 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4690 Issue a tfind end before looking for a tracepoint frame.
4691 * gdb.trace/tfind.exp: Adjust tstatus output.
4692 Adjust disassembly output.
4693 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4694
ccf26247
JK
46952010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4696
4697 * gdb.base/break-interp.exp: Create new displacement parameter value
4698 for the test_ld calls.
4699 (reach): New parameter displacement, verify its content. New push of
4700 pf_prefix "reach-$func:". Import global expect_out.
4701 (test_core): New parameter displacement, verify its content. New push
4702 of pf_prefix "core:". New command "set verbose on". Import global
4703 expect_out.
4704 (test_attach): New parameter displacement, verify its content. New
4705 push of pf_prefix "attach:". New command "set verbose on". Import
4706 global expect_out.
4707 (test_ld): New parameter displacement, pass it to the reach, test_core
4708 and test_attach calls and verify its content in the "ld.so exit" test.
4709 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4710 (prelink): Update expected text, use gdb_test.
4711
e469c7fb
DE
47122010-03-10 Doug Evans <dje@google.com>
4713
4714 * gdb.base/checkpoint.exp: Fix comment.
4715 Lengthen timeout while doing >600 checkpoints test.
4716 Rename duplicate "kill all one" test to keep test names unique.
4717
60e1c644
PA
47182010-03-10 Pedro Alves <pedro@codesourcery.com>
4719
4720 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4721
cec808ec
KS
47222010-03-08 Keith Seitz <keiths@redhat.com>
4723
889bf7c5
PA
4724 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4725 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4726 (dm_type_long): New function.
4727 (dm_type_unsigned_short): New function.
4728 (dm_type_unsigned_long): New function.
4729 (myint): New typedef.
4730 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4731 long, unsigned shor and long, operator char*, and typedef.
4732 (test_lookup_operator_functions): Add operator char* test.
4733 (test_paddr_operator_functions): Likewise.
4734 (test_paddr_overloaded_functions): Use probe values for
4735 short, long, and unsigned short and long.
4736 (test_paddr_hairy_functions): If the demangler probe detected
4737 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4738 demangler.
4739 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4740 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4741 and "print null_pmf".
4742 Add test "ptype a.*pmf".
4743 * gdb.cp/overload.exp: Allow optional "int" to appear with
4744 "short" and "long".
4745 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4746 long expect value for men_overload1arg.
4747 Allow "int" to appear with "short" and "long".
4748 When testing "info break", add argument for main (void).
4749 Also allow "int" to appear with "short" and "long".
4750 Ditto with "unsigned" and "long long".
cec808ec
KS
4751 * gdb.java/jmain.exp: Do not enclose methods names in single
4752 quotes.
4753 * gdb.java/jmisc.exp: Likewise.
4754 * gdb.java/jprint.exp: Likewise.
4755 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4756
4757 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4758 * gdb.cp/exception.exp (backtrace after first throw)
4759 (backtrace after second throw): Allow a namespace before __cxa_throw.
4760 (backtrace after first catch, backtrace after second catch): Allow
4761 a namespace before __cxa_begin_catch.
4762
4763 * gdb.cp/cpexprs.exp: New file.
4764 * gdb.cp/cpexprs.cc: New file.
4765
4766 From Daniel Jacobowitz <dan@codesourcery.com>
4767 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4768 to use string_to_regexp.
4769 (ctor, dtor): New functions. Use them to match constructor
4770 and destructor function types.
4771 (Top level): Use runto_main.
4772
f870a310
TT
47732010-03-05 Tom Tromey <tromey@redhat.com>
4774
4775 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4776 gdb.target_charset.
4777 (pp_ns.to_string): Likewise.
4778
0c199f28
KS
47792010-03-04 Keith Seitz <keiths@redhat.com>
4780
4781 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4782 can be quoted. Test that both the filename and function/line
4783 portions can be quoted at the same time.
4784
c7437ca6
PA
47852010-03-04 Pedro Alves <pedro@codesourcery.com>
4786
4787 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4788
b111b805
DE
47892010-03-03 Doug Evans <dje@google.com>
4790
24486cb7
DE
4791 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4792 libc contains libpthread.
4793
b111b805
DE
4794 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4795 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4796 of gdb_compile. Add another pattern to match android backtrace.
4797
a0e0ef55
TT
47982010-03-03 Tom Tromey <tromey@redhat.com>
4799
4800 PR gdb/11345:
4801 * gdb.base/printcmds.exp (test_printf): Add test.
4802
1ba53b71
L
48032010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4804
4805 * gdb.arch/amd64-byte.exp: New.
4806 * gdb.arch/amd64-dword.exp: Likewise.
4807 * gdb.arch/amd64-pseudo.c: Likewise.
4808 * gdb.arch/amd64-word.exp: Likewise.
4809 * gdb.arch/i386-byte.exp: Likewise.
4810 * gdb.arch/i386-pseudo.c: Likewise.
4811 * gdb.arch/i386-word.exp: Likewise.
4812
f5dff777
DJ
48132010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4814
4815 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4816 types. Add structreg, bitfields, and flags registers.
4817 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4818 registers.
4819
90884b2b
L
48202010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4821
4822 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4823 (load_description): Set architecture if defined.
4824
dc00d89f
PM
48252010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4826
4827 * gdb.python/py-frame.exp: Add read_var block tests.
4828 * gdb.python/py-frame.c (block): New function.
4829
0e095b7e
JK
48302010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4831 Daniel Jacobowitz <dan@codesourcery.com>
4832
4833 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4834
624f1a65
DM
48352010-02-25 David S. Miller <davem@davemloft.net>
4836
4837 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4838 fix logic for setting all_syscalls_numbers.
4839
f3e9a817
PM
48402010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4841
4842 * Makefile.in: Add py-block and py-symbol.
4843 * gdb.python/py-symbol.exp: New File.
4844 * gdb.python/py-symtab.exp: New File.
4845 * gdb.python/py-block.exp: New File.
4846 * gdb.python/py-symbol.c: New File.
4847 * gdb.python/py-block.c: New File.
4848
f6bbabf0
PM
48492010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4850
4851 PR python/11314
4852 * lib/gdb.exp (skip_python_tests): New function.
4853 * gdb.python/py-cmd.exp: Use skip_python_tests.
4854 * gdb.python/py-frame.exp: Likewise.
4855 * gdb.python/py-function.exp: Likewise.
4856 * gdb.python/py-prettyprint.exp: Likewise.
4857 * gdb.python/py-template.exp: Likewise.
4858 * gdb.python/py-type.exp: Likewise.
4859 * gdb.python/py-value.exp: Likewise.
4860
85d721b8
PA
48612010-02-22 Pedro Alves <pedro@codesourcery.com>
4862
4863 PR9605
4864
4865 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4866
48e32051
TT
48672010-02-19 Tom Tromey <tromey@redhat.com>
4868
4869 PR c++/8693, PR c++/9496:
4870 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4871 regression tests.
4872
ac9c0048
JK
48732010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4874
4875 Fix compatibility with m68k as.
4876 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4877 Use only /* comments */.
4878
57bb97a4
UW
48792010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4880
4881 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4882 * configure: Regenerate.
4883
7d1bf85c
DJ
48842010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4885
4886 * gdb.python/py-type.exp: Check for Python support.
4887
061b5285
PA
48882010-02-17 Pedro Alves <pedro@codesourcery.com>
4889
4890 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4891 `regsub' syntax available.
4892
f8a8bc2c
PA
48932010-02-17 Pedro Alves <pedro@codesourcery.com>
4894
4895 * gdb.base/shmain.c (main): Remove printf call.
4896 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4897 * gdb.base/unload.c (main): Make format of fprintf a string
4898 literal. Add missing endlines to prints to stderr.
4899 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4900
6f451e5e
TT
49012010-02-17 Tom Tromey <tromey@redhat.com>
4902
4903 * gdb.java/jprint.java (jprint.props): New field.
4904 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4905
12d79008
PA
49062010-02-17 Pedro Alves <pedro@codesourcery.com>
4907
ef801a0e 4908 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
4909 available.
4910
d252f7e5
DJ
49112010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4912
4913 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4914 creation to support remote host testing.
4915
67bdab6c
DJ
49162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4917
4918 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4919 Recognize "command not found".
4920
bb391223
DJ
49212010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4922
4923 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4924 single-stepping.
4925
70362913
DJ
49262010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4927
4928 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4929 if arguments are not supported.
4930
493f3c00
DJ
49312010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4932
4933 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4934 be const or non-const.
4935
8034c749
DJ
49362010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4937
4938 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4939 mi_send_resuming_command to send -exec-continue.
4940
791dfb64
DJ
49412010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4942
4943 * gdb.base/list.exp (test_list_filename_and_function): Add test
4944 with single quotes.
4945 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4946 matching.
4947 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4948 Add KFAIL'd tests for PR gdb/11289.
4949
7c5fe868
DJ
49502010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4951
4952 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4953
fdc498b8
DJ
49542010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4955
4956 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4957 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4958 a temporary directory.
4959
b519e2a6
DJ
49602010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4961
4962 * gdb.base/charset.exp: Use a single regular expression to match
4963 show host-charset and show target-charset output.
4964
74164c56
JK
49652010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4966
4967 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4968 "Illegal process-id" expect string more exact.
4969 (attach to digits-starting nonsense is prohibited): New.
4970
701ed6dc
JK
49712010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4972
4973 * gdb.base/prelink.exp (set verbose on): New.
4974
889bf7c5 49752010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
4976
4977 * mi-reverse.exp: New file. Test for reverse option to the
4978 following MI commands: exec-continue, exec-finish, exec-next,
4979 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 4980
dadf0e9c
JB
49812010-02-09 Joel Brobecker <brobecker@adacore.com>
4982
4983 * gdb.ada/ptype_tagged_param: New testcase.
4984
714f19d5
TT
49852010-02-08 Tom Tromey <tromey@redhat.com>
4986
4987 PR c++/8017:
4988 * gdb.cp/overload.exp: Add tests.
4989 * gdb.cp/overload.cc (struct K): New.
4990 (namespace N): New.
4991 (main): Call new functions.
4992 (K::staticoverload): Define.
4993
889bf7c5 49942010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
4995
4996 PR gdb/10728
4997 * gdb.cp/pr10728-x.h: New file.
4998 * gdb.cp/pr10728-x.cc: New file.
4999 * gdb.cp/pr10728-y.cc: New file.
5000 * gdb.cp/pr10728.exp: New file.
5001 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
5002
889bf7c5 50032010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
5004
5005 PR gdb/9067
5006 * gdb.cp/pr9067.exp: New
5007 * gdb.cp/pr9067.cc: New
5008 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
5009
7b356089
JB
50102010-02-08 Joel Brobecker <brobecker@adacore.com>
5011
5012 * lib/gdb.exp (gdb_test_timeout): New global variable.
5013 Set it to timeout if not already set.
5014 (gdb_init): Reset the value of timeout to gdb_test_timeout.
5015
1be00882
DE
50162010-02-05 Doug Evans <dje@google.com>
5017
5018 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
5019 user.
5020
82856980
SW
50212010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
5022
5023 PR c++/7935:
5024 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
5025
1a334831
TT
50262010-02-04 Tom Tromey <tromey@redhat.com>
5027
5028 * gdb.cp/virtbase.exp: Make test case names unique.
5029
9c3c02fd
TT
50302010-02-02 Tom Tromey <tromey@redhat.com>
5031
5032 * gdb.cp/virtbase.exp: Add regression tests.
5033 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
5034 (main): Instantiate RHC.
5035
0cc2414c
TT
50362010-02-02 Tom Tromey <tromey@redhat.com>
5037
5038 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
5039 type-printing change.
5040
edf3d5f3
TT
50412010-02-02 Tom Tromey <tromey@redhat.com>
5042
5043 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
5044 * gdb.cp/virtbase.cc: New file.
5045 * gdb.cp/virtbase.exp: New file.
5046 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
5047
e4b7f41c
JK
50482010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5049
5050 PR libc/11214:
5051 * gdb.threads/current-lwp-dead.c: Include features.h.
5052 (HAS_NOMMU): New.
5053 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
5054
b381ea14
JK
50552010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5056
5057 * gdb.base/symbol-without-target_section.exp,
5058 gdb.base/symbol-without-target_section.c: New.
5059
c593ac0e
DJ
50602010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5061
5062 * gdb.base/bigcore.exp: Reset increased timeout.
5063 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
5064
db25f29d
DJ
50652010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5066
5067 * gdb.base/gcore.exp (capture_command_output): Use
5068 gdb_test_multiple.
5069
f9d67f43
DJ
50702010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5071
5072 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
5073 * gdb.arch/thumb2-it.exp (test_it_break): New function.
5074 (Top level): Call it.
5075
177321bd
DJ
50762010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5077
5078 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
5079
97f2ed50
DJ
50802010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5081
5082 * gdb.base/call-strs.exp, gdb.base/default.exp,
5083 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
5084 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
5085 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
5086 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
5087 gdb.base/watchpoint-solib.exp: Save and restore timeout.
5088 * gdb.base/ending-run.exp: Correct restore of timeout.
5089 * gdb.base/page.exp: Remove unnecessary timeout setting.
5090
e4e2711a
JB
50912010-01-29 Joel Brobecker <brobecker@adacore.com>
5092
5093 * gdb.ada/rec_return: New testcase.
5094
ba581dc1
JB
50952010-01-29 Joel Brobecker <brobecker@adacore.com>
5096
5097 * gdb.ada/call_pn: New testcase.
5098
4ea95be9
DJ
50992010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5100
5101 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
5102 (Top level): Use it to resume.
5103 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
5104 the Thumb mode displaced stepping error as unsupported.
5105
df83a9bf
SW
51062010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
5107
889bf7c5
PA
5108 * gdb.cp/nsusing.exp: Added more tests.
5109 * gdb.cp/nsrecurs.exp: Ditto.
5110 * gdb.cp/nsusing.cc: Added test functions.
5111 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 5112
40b27cdc
JK
51132010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5114
5115 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
5116 absolute directory pathnames in gdb.sum file.
5117
de958931
SW
51182010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
5119
5120 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
5121 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
5122
708ead4e
TT
51232010-01-26 Tom Tromey <tromey@redhat.com>
5124
5125 PR exp/7643:
5126 * gdb.base/printcmds.exp (test_print_string_constants): Remove
5127 setup_kfail.
5128
b14e635e
SW
51292010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
5130
5131 * gdb.cp/nsrecurs.exp: New test.
5132 * gdb.cp/nsrecurs.cc: New test program.
5133 * gdb.cp/nsstress.exp: New test.
5134 * gdb.cp/nsstress.cc: New test program.
5135 * gdb.cp/nsdecl.exp: New test.
5136 * gdb.cp/nsdecl.cc: New test program.
5137
8540c487
SW
51382010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
5139
5140 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
5141 imported into file scope.
5142 Marked test as xfail.
5143 * gdb.cp/namespace-using.cc (marker5): New function.
5144 * gdb.cp/shadow.exp: New test.
5145 * gdb.cp/shadow.cc: New test program.
5146 * gdb.cp/nsimport.exp: New test.
5147 * gdb.cp/nsimport.cc: New test program.
5148
421d5d99
TT
51492010-01-25 Tom Tromey <tromey@redhat.com>
5150
5151 PR gdb/11049:
5152 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
5153 with "set print null-stop on".
5154
691f8dc1
JK
51552010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5156
5157 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
5158 Adjust it for DISASSEMBLY_OMIT_FNAME.
5159
0b92b5bb
TT
51602010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5161
5162 PR symtab/11199:
5163 * gdb.dwarf2/member-ptr-forwardref.exp,
5164 gdb.dwarf2/member-ptr-forwardref.S: New.
5165
23787403
JK
51662010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5167
5168 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
5169 (thread1_func): Protect thread1_tid with thread1_tid_cond by
5170 thread1_tid_mutex. Remove gdbstop_mutex handling.
5171 (thread2_func): Protect thread2_tid with thread2_tid_cond by
5172 thread2_tid_mutex. Remove gdbstop_mutex handling.
5173 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
5174 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
5175 pthread_cond_wait conditionalizations by while loops.
5176
b966cb8a
TT
51772010-01-20 Tom Tromey <tromey@redhat.com>
5178
5179 PR backtrace/10770:
5180 * gdb.dwarf2/pr10770.exp: New file.
5181 * gdb.dwarf2/pr10770.c: New file.
5182 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
5183
fcae584b
VP
51842010-01-20 Vladimir Prus <vladimir@codesourcery.com>
5185
5186 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
5187 that target was removed, and the test always runs native anyway.
5188
a0f49112
JK
51892010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5190
5191 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
5192 gdb.base/watchpoint-cond-gone-stripped.c: New.
5193
ceeb3d5a
TT
51942010-01-19 Tom Tromey <tromey@redhat.com>
5195
5196 PR c++/8000:
5197 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
5198 existing tests.
5199 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
5200 (main): Use AAA::SomeEnum.
5201
dd322c54
JK
52022010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5203
5204 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
5205 (test_ignore_count): Declare line_callme_body global.
5206 (run to breakpoint with ignore count): Use line_callme_body.
5207 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
5208 (set line_main_hello, set line_main_return): Reindent.
5209 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
5210 New.
5211 (continue to callee4): Use line_callee4_body.
5212 (check *stopped from CLI command): Use line_callee4_next.
5213 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
5214 (set line_main_hello, set line_main_return): Reindent.
5215 (set line_callee4_head, set line_callee4_body): New.
5216 (continue to callee4): Use line_callee4_body.
5217
4e8f195d
TT
52182010-01-18 Tom Tromey <tromey@redhat.com>
5219
5220 PR c++/9680:
5221 * gdb.cp/casts.cc: Add new classes and variables.
5222 * gdb.cp/casts.exp: Test new operators.
5223
9e14a9ba
JB
52242010-01-18 Tom Tromey <tromey@redhat.com>
5225 Thiago Jung Bauermann <bauerman@br.ibm.com>
5226
5227 * gdb.python/source2.py: New file.
5228 * gdb.python/source1: New file.
5229 * gdb.python/python.exp: Test "source" command.
5230
00bf0b85
SS
52312010-01-15 Stan Shebs <stan@codesourcery.com>
5232
5233 * gdb.trace/tfile.c: New file.
5234 * gdb.trace/tfile.exp: New file.
889bf7c5 5235
55235ad7
JK
52362010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5237
5238 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
5239
9f2982ff
JK
52402010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5241
5242 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
5243
bbfba9ed
JK
52442010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5245
5246 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
5247 (libfunc): New parameter action. Implement also selectable "sleep".
5248 * gdb.base/break-interp-main.c: Include assert.h.
5249 (libfunc): New parameter action.
5250 (main): New parameters argc and argv. Assert argc. Pass argv.
5251 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
5252 (test_attach): New proc.
5253 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
5254 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
5255
61f0d762
JK
52562010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5257
5258 * gdb.base/break-interp.exp (test_core): New proc.
5259 (test_ld): Call it.
5260
06a6f270
JK
52612010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5262
5263 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
5264 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
5265 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
5266 and gdb_compile_shlib. Use new -Wl compiler options.
5267 (dl bt, main bt): New tests.
5268
51bee8e9
JK
52692010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5270
5271 Support PIEs with no symfile_objfile.
5272 * gdb.base/break-interp.exp: New argument at the test_ld calls.
5273 (test_ld): New parameter trynosym.
5274 (test_ld <$trynosym>): New block.
5275
b8040f19
JK
52762010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5277
5278 * gdb.base/break-interp.exp: New file.
5279
be759fcf
PM
52802010-01-13 Phil Muldoon <pmuldoon@redhat.com>
5281
5282 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
5283 * gdb.python/py-prettyprint.py (pp_ls): New printer.
5284 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
5285 test.
5286 * gdb.python/py-prettyprint.c: Define lazystring test structure.
5287 * gdb.python/py-mi.exp: Add lazy string test.
5288
dc146f7c
VP
52892010-01-13 Vladimir Prus <vladimir@codesourcery.com>
5290
5291 * lib/mi-support.exp (mi_check_thread_states): Handle
5292 core number in thread listing.
5293
b4ba55a1
JB
52942010-01-12 Joel Brobecker <brobecker@adacore.com>
5295
5296 * gdb.base/maint.exp: Adjust the expected output for the
5297 "maint print type" test. Use gdb_test_multiple instead of
5298 gdb_sent/gdb_expect.
5299
08e24bd4
DE
53002010-01-11 Doug Evans <dje@google.com>
5301
6496a609
DE
5302 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
5303 from gdbserver_download. All callers updated.
5304
08e24bd4
DE
5305 * gdb.server/ext-run.exp: "info os processes" requires xml support.
5306
b5cfddf5
JK
53072010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5308
5309 Implement binary numbers parsing.
5310 * gdb.base/printcmds.exp (test_integer_literals_accepted)
5311 (test_integer_literals_rejected): New binary tests.
5312
3725885a
RW
53132010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5314
5315 * gdb.cell/configure: Regenerate.
5316
37aeb5df
JK
53172010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5318
5319 * gdb.base/corefile.exp: Move the core finding block out and call it as
5320 core_find, new variable $corefile, replace corefile by $corefile and
5321 [file tail $corefile] for usage vs. test names resp.
5322 * lib/gdb.exp (core_find): Move it as a new function here. New
5323 parameter binfile and deletefiles. New variable $destcore. Pre-delete
5324 $destcore. Return "" on error.
5325
d521f563
JK
53262010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5327
5328 Workaround PR binutils/10802.
5329 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
5330 (twice).
5331
28f24826
DJ
53322010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5333
5334 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
5335
2de75e71
JB
53362010-01-08 Joel Brobecker <brobecker@adacore.com>
5337
5338 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
5339 call, to avoid interruption.
5340
fe00719b 53412010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
5342
5343 * gdb.stabs/weird.def (args93): New.
5344
d0ef5df8
DE
53452010-01-07 Doug Evans <dje@google.com>
5346
5347 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
5348
3a08d52f
TT
53492010-01-07 Tom Tromey <tromey@redhat.com>
5350
5351 * gdb.base/source.exp: Use correct line number.
5352
7a697b8d
SS
53532010-01-05 Stan Shebs <stan@codesourcery.com>
5354
5355 * gdb.trace/tracecmd.exp: Test ftrace.
5356
7803799a
UW
53572010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5358
5359 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
5360
c54eabfa
JK
53612010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5362
5363 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
5364 "uint_for_mi_testing".
5365
02e7ef19
JB
53662010-01-01 Joel Brobecker <brobecker@adacore.com>
5367
5368 Test indented comment in file being sourced.
5369 * gdb.base/commands.exp: Test indented comment in file being sourced.
5370
abd775ce
JB
53712010-01-01 Joel Brobecker <brobecker@adacore.com>
5372
5373 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
5374 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
5375 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
5376 notice.
5377
79b55b82
JB
53782010-01-01 Joel Brobecker <brobecker@adacore.com>
5379
5380 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
5381 notice.
5382
8997583e
JK
53832010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5384
5385 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
5386 missing $after_stopped and comma (,) expectation.
5387
6da95a67
SS
53882009-12-31 Stan Shebs <stan@codesourcery.com>
5389
5390 * gdb.trace/actions.exp: Test teval action.
889bf7c5 5391
218d2fc6
TJB
53922009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5393
5394 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
5395 (top level): Call test_watchpoint_in_big_blob.
5396 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
5397 watchpoints.
5398 (func3): Write to buf.
5399
236f1d4d
SS
54002009-12-29 Stan Shebs <stan@codesourcery.com>
5401
5402 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 5403
f61e138d
SS
54042009-12-28 Stan Shebs <stan@codesourcery.com>
5405
5406 * gdb.trace/tsv.exp: New file.
5407 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 5408
0219b378
DJ
54092009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
5410
5411 * gdb.base/find.c (main): Reference search buffers.
5412 * gdb.base/included.c (main): Reference integer.
5413 * gdb.base/ptype.c (charfoo): Declare.
5414 (intfoo): Call charfoo.
5415 * gdb.base/scope0.c (useitp): New function.
5416 (usestatics): Use useitp.
5417 (useit): Add a type for val.
5418 * gdb.base/scope1.c (useit1): Take a pointer argument.
5419 (usestatics1): Update calls to useit1.
5420 * gdb.cp/call-c.cc: Declare foo.
5421 (main): Call foo.
5422 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
5423 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
5424 (main): Call C::ensureRefs and ensureOtherRefs.
5425 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
5426 variables.
5427 (ensureOtherRefs): New function.
5428 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
5429 * gdb.cp/templates.cc (main): Call t5i.value.
5430
3f78692f
JK
54312009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5432
5433 Fix compatibility with G++-4.5.
5434 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
5435 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
5436 (uncaught return): Remove.
5437
429374b8
JK
54382009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5439 Phil Muldoon <pmuldoon@redhat.com>
5440
5441 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5442 (bp_location13, bp_location14, bp_location17, bp_location18)
5443 (marker3_proto, marker4_proto): New variables.
5444 (breakpoint info): Update output.
5445 (run until breakpoint at marker3, run until breakpoint at marker4): New
5446 tests.
5447
859825b8
JK
54482009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5449
5450 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5451 Replace the printf call of Y by provided "y-set-1" label. New block
5452 for the second shared library.
5453 * gdb.base/unload.exp: Compile also the second library, call
5454 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5455 (single pending breakpoint info): Rename to ...
5456 (pending breakpoint info before run): ... this extended test.
5457 (libfile2, libname2, libsrcfile2, libsrc2)
5458 (lib_sl2): New variables.
5459 (exec_opts): Set also SHLIB_NAME2.
5460 (pending breakpoint info on first run at shrfunc1)
5461 (pending breakpoint info on second run at shrfunc1)
5462 (pending breakpoint info on second run at shrfunc2)
5463 (print y from libfile, print y from libfile2): New tests.
5464 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5465 * gdb.base/unloadshr2.c: New.
5466
e6a386cd
HZ
54672009-12-22 Hui Zhu <teawater@gmail.com>
5468
5469 * gdb.reverse/sigall-reverse.exp: Adjust.
5470
9e19b45e
VP
54712009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5472
5473 PR gdb/10884
5474
5475 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5476 (main): Call do_bitfield_tests.
aacf5b1e 5477 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 5478
d53a7b30
JB
54792009-12-20 Joel Brobecker <brobecker@adacore.com>
5480
5481 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5482 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5483 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5484 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5485 gdb.modula2/unbounded1.c: Update copyright header.
5486
191ca0a1
CM
54872009-12-10 Chris Moller <moller@mollerware.com>
5488
5489 PR gdb/9399
5490 * gdb.cp/virtfunc2.exp: New tests
5491 * gdb.cp/virtfunc2.cc: New tests
5492 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5493
0fa6cf1b
MS
54942009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5495
5496 * gdb.reverse/i387-env-reverse.c: New file.
5497 * gdb.reverse/i387-env-reverse.exp: New file.
5498 * gdb.reverse/i387-stack-reverse.c: New file.
5499 * gdb.reverse/i387-stack-reverse.exp: New file.
5500
361ae042
PM
55012009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5502
5503 * gdb.python/py-type.exp (test_range): New test.
5504
bfd31e71
PM
55052009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5506
5507 PR python/10805
5508
5509 * gdb.python/py-type.exp: New file.
5510 * gdb.python/py-type.c: New file.
5511 * Makefile.in: Add py-type.
5512
57a1d736
TT
55132009-12-03 Tom Tromey <tromey@redhat.com>
5514
5515 * gdb.python/py-value.exp (test_parse_and_eval): New
5516 function.
5517
1f3b5d1b
PP
55182009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5519
5520 PR gdb/11022
5521
5522 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
5523 * gdb.base/pr11022.c: New test.
5524
8b7dbdc9
JK
55252009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5526
5527 Fix spurious false FAILs.
5528 * gdb.base/structs.c (chartest): New.
5529 (main): Fill-in chartest.
5530 * gdb.base/structs.exp (anychar_re, first): New.
5531 (start_structs_test): Import global anychar_re and first.
5532 New gdb_test call "set print elements 300; ${testfile}"
5533 (start_structs_test <$first>): New block.
5534 (any): Import global anychar_re. New variable ac. Use ${ac}.
5535
6a53b2ec
JK
55362009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5537
5538 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5539
d7167b4c
JK
55402009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5541
5542 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5543 Force $srcfile file.
5544 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5545
b1798462
UW
55462009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5547
5548 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5549 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5550 * gdb.threads/watchthreads-reorder.exp: Likewise.
5551
b6199126
DJ
55522009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5553
5554 PR gdb/8704
5555
5556 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5557 "if", and "thread". Correct matching in the previous test.
5558
b22a0510
DJ
55592009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5560
5561 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5562
930636d2
MS
55632009-11-23 Michael Snyder <msnyder@vmware.com>
5564
5565 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5566 * gdb.reverse-watch-precsave.exp: Ditto.
5567
21a0512e
PP
55682009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5569
5570 * gdb.asm/asm-source.exp: Adjust.
5571 * gdb.base/help.exp: Adjust.
889bf7c5 5572
fc30d5e0
PA
55732009-11-22 Pedro Alves <pedro@codesourcery.com>
5574
5575 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5576 (do_syscall_tests_without_xml): Set data-directory to
5577 /the/path/to/nowhere.
5578
f6bc2008
PA
55792009-11-21 Pedro Alves <pedro@codesourcery.com>
5580
5581 * gdb.threads/local-watch-wrong-thread.c,
5582 gdb.threads/local-watch-wrong-thread.exp: New files.
5583
8c2fb5de
PA
55842009-11-21 Pedro Alves <pedro@codesourcery.com>
5585
5586 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5587 assume new `regsub' syntax available.
5588
ebec9a0f
PA
55892009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5590
a79d3c27
JK
5591 * gdb.base/watchpoint-hw-hit-once.exp,
5592 gdb.base/watchpoint-hw-hit-once.c: New.
5593
55942009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5595
5596 * gdb.threads/watchthreads-reorder.exp,
5597 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 5598
276a961b
MK
55992009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5600
5601 * gdb.xml/tdesc-regs.exp: Use for m68k.
5602
4867c1fb
PA
56032009-11-15 Pedro Alves <pedro@codesourcery.com>
5604
5605 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5606
f6838f81
DJ
56072009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5608
5609 * lib/gdb.exp (current_target_name): New procedure.
5610 (gdb_wrapper_target): New variable.
5611 (gdb_wrapper_init): Set gdb_wrapper_target.
5612 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5613 wrapper.
5614
4ac4dd3f
DJ
56152009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5616
5617 * gdb.base/remote.exp: Delete the slowest load test.
5618 Do not load with fixed packet sizes.
5619
a7881759
DJ
56202009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5621
5622 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5623
97a5b505
DJ
56242009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5625
5626 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5627 srcfile when setting a breakpoint.
5628
d3e1fc54
DJ
56292009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5630
5631 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5632 macros.
5633
7cbcbded
DJ
56342009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5635
5636 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5637 to be in memory.
5638 * gdb.base/display.c (force_mem): New.
5639 (do_loops): Use it. Add breakpoint comments.
5640 (do_vars): Add a breakpoint comment.
5641 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5642 line numbers.
5643
bdea3a92
NF
56442009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5645
5646 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5647 instead of a bare "run".
5648
269f82e5
PP
56492009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5650
5651 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 5652
a69b7d9d
DJ
56532009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5654
5655 * lib/cell.exp (skip_cell_tests): Clean up test files before
5656 returning.
5657
b598bfda
DJ
56582009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5659
5660 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5661 and the breakpoint menu. Do not call perror if a prompt is seen.
5662 Consume the following GDB prompt.
5663 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5664 * gdb.cp/namespace.exp: Use gdb_test.
5665 * gdb.cp/templates.exp: Use gdb_test.
5666 (test_template_breakpoints): Use gdb_test_multiple.
5667
87728fa0
DJ
56682009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5669
5670 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5671 (marker4): Reference values.
5672
b67c692f
DJ
56732009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5674
5675 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5676 is missing.
5677
f0df251a
DJ
56782009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5679
5680 * gdb.base/break.c (need_malloc): New.
5681 * gdb.base/constvars.c (main): Reference crass and crisp.
5682 * gdb.base/gdb1821.c (main): Reference bar.
5683 * gdb.cp/gdb1355.cc (main): Reference s1.
5684 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5685 (main): Call them.
5686 * gdb.cp/hang2.cc (dummy2): Define.
5687 * gdb.cp/hang3.cc (dummy3): Define.
5688 * gdb.cp/m-data.cc (main): Reference shadow.
5689
bdf7534a
NF
56902009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5691 Nathan Froyd <froydnj@codesourcery.com>
5692
5693 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5694 remote host.
5695
f24fce77
NF
56962009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5697
5698 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5699 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5700 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5701 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5702 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5703 * gdb.dwarf2/dw2-producer.exp: Likewise.
5704 * gdb.dwarf2/mac-fileno.exp: Likewise.
5705 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5706 py-prettyprint.py to the remote host.
5707 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5708
40f0318e
KS
57092009-11-11 Keith Seitz <keiths@redhat.com>
5710
5711 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5712 use it instead of "Foo".
5713 * gdb.cp/classes.exp (do_tests): Add a test to access
5714 a method through a typedef'd class name.
5715
f3d9f7fb
NF
57162009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5717
5718 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5719 exponents.
5720 * gdb.base/pointers.exp: Likewise.
5721 * gdb.cp/ref-types.exp: Likewise.
5722
a4216f37
KS
57232009-11-11 Keith Seitz <keiths@redhat.com>
5724
5725 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5726 new[] and delete[].
5727 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5728 "void".
5729 (probe_demangler): Remove all single-quoting of
5730 method and variable names.
5731 (info_func_regexp): Remove the word "void" from any
5732 occurrence of "(void)".
5733 (print_addr_2): Remove all single-quoting of
5734 method names.
5735 (print_addr_2_kfail): Likewise.
5736 (print_addr): Single-quote C function names before
5737 passing to print_addr_2.
5738 (test_paddr_operator_functions): Remove single-quoting
5739 for method names.
5740 Add tests for operator new[] and operator delete[].
5741
9b14d7aa
JK
57422009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5743
5744 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5745
85feb311
KS
57462009-11-09 Keith Seitz <keiths@redhat.com>
5747
5748 * gdb.cp/overload.exp: Add tests for resolving overloaded
5749 methods in expression parsing/evaluation.
5750
fa335448
DJ
57512009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5752
5753 * lib/gdb.exp (default_gdb_version): Use --version instead of
5754 --command.
5755
ec3c07fc
NS
57562009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5757
5758 * lib/gdb.exp (gdb_compile_test): New.
5759 (skip_ada_tests, skip_java_tests): New.
5760 (gdb_compile): Use gdb_compile_test for f77.
5761 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5762 * lib/java.exp (compile_java_from_source): Remove runtests check,
5763 use gdb_compile_test to record result.
5764 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5765 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5766 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5767 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5768 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5769 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5770 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5771 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5772 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5773 adjust gdb_compile invocations.
5774
b8b4e42b
JK
57752009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5776
5777 * Makefile.in (abs_builddir): New.
5778 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5779 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5780 `$(abs_builddir)/site.exp'.
5781
f8b7eaf3
DJ
57822009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5783
5784 * config/m68k-emc.exp, lib/emc-support.exp,
5785 gdb.trace/gdb_c_test.c: Delete.
5786 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5787 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5788 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5789 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5790 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5791 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5792 casing for m68k-*-elf.
5793
c4187697
NS
57942009-11-03 Pedro Alves <pedro@codesourcery.com>
5795
5796 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5797 * gdb.arch/i386-prologue.exp: Likewise.
5798 * gdb.arch/i386-unwind.exp: Likewise.
5799
db16b772
DJ
58002009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5801
5802 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5803
bcf71277
DJ
58042009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5805
5806 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5807
0105cee2
DJ
58082009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5809
5810 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5811
24ddea62
JK
58122009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5813
5814 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5815
287ccc17
JK
58162009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5817
5818 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5819 * gdb.base/sepdebug2.c: New file.
5820
08bca259 58212009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
5822
5823 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5824 the modified warnings for catch syscall. Verify if GDB was compiled
5825 with support for lib expat, and choose which tests to run depending
5826 on this.
5827
5d4e2b76
VP
58282009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5829
5830 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5831 that composite commands are parsed OK. And also test
5832 that breakpoint commands do work.
5833
240e538a
MS
58342009-10-23 Michael Snyder <msnyder@vmware.com>
5835
5836 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5837 to allow for new disassembly style.
5838
9c419145
PP
58392009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5840
5841 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 5842
02506ff1
MS
58432009-10-22 Michael Snyder <msnyder@vmware.com>
5844
5845 * gdb.reverse/break-precsave.exp: New test.
5846 * gdb.reverse/consecutive-precsave.exp: Ditto.
5847 * gdb.reverse/finish-precsave.exp: Ditto.
5848 * gdb.reverse/i386-precsave.exp: Ditto.
5849 * gdb.reverse/machinestate-precsave.exp: Ditto.
5850 * gdb.reverse/sigall-precsave.exp: Ditto.
5851 * gdb.reverse/solilb-precsave.exp: Ditto.
5852 * gdb.reverse/step-precsave.exp: Ditto.
5853 * gdb.reverse/until-precsave.exp: Ditto.
5854 * gdb.reverse/watch-precsave.exp: Ditto.
5855
4cf866a3
MS
58562009-10-22 Michael Snyder <msnyder@vmware.com>
5857
5858 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5859 for gdb_expect. Adjust one test's expect strings for the new
5860 format of disassemble.
5861 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5862 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5863 gdb_test_multiple.
5864 * gdb.reverse/step-reverse.exp: Delete 'return'.
5865 * gdb.reverse/until-reverse.exp: Delete blank lines.
5866 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5867
2b28d209
PP
58682009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5869
5870 * gdb.base/consecutive.exp: Adjust.
5871 * gdb.base/display.exp: Likewise.
5872 * gdb.base/pc-fp.exp: Likewise.
5873 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 5874
33b9c32b
MS
58752009-10-19 Michael Snyder <msnyder@vmware.com>
5876
5877 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5878 * gdb.reverse/finish-reverse.c: Ditto.
5879 * gdb.reverse/sigall-reverse.c: Ditto.
5880 * gdb.reverse/solib-reverse.c: Ditto.
5881 * gdb.reverse/step-reverse.c: Ditto.
5882 * gdb.reverse/watch-reverse.c: Ditto.
5883
6c95b8df
PA
58842009-10-19 Pedro Alves <pedro@codesourcery.com>
5885 Stan Shebs <stan@codesourcery.com>
5886
5887 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5888 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5889 "Executing new program".
5890 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5891 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5892 left listed after having been killed.
5893 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5894 * gdb.base/maint.exp: Adjust test.
5895
5896 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5897 * gdb.multi/Makefile.in: New.
5898 * gdb.multi/base.exp: New.
5899 * gdb.multi/goodbye.c: New.
5900 * gdb.multi/hangout.c: New.
5901 * gdb.multi/hello.c: New.
5902 * gdb.multi/bkpt-multi-exec.c: New.
5903 * gdb.multi/bkpt-multi-exec.exp: New.
5904 * gdb.multi/crashme.c: New.
5905
279017b7
TG
59062009-10-13 Tristan Gingold <gingold@adacore.com>
5907
5908 * gdb.base/sepdebug.exp: Check debug info are found.
5909
0413d738
PA
59102009-10-08 Pedro Alves <pedro@codesourcery.com>
5911
5912 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5913 bits.
5914
c628eecc
JK
59152009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5916
5917 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5918
38af1bfe
JB
59192009-10-07 Joel Brobecker <brobecker@adacore.com>
5920
5921 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5922 of the comments.
5923
2b0adecd
PM
59242009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5925
5926 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5927 * gdb.base/annota3.exp: Idem.
5928 * gdb.base/maint.exp: Idem.
5929
8d417781
PM
59302009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5931
889bf7c5 5932 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
5933 to default.
5934
bb61102d
PM
59352009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5936
889bf7c5 5937 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
5938 mingw and cygwin targets.
5939
ace5c364
PM
59402009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5941 Pedro Alves <pedro@codesourcery.com>
5942
889bf7c5 5943 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
5944 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5945
c2d494a0
PM
59462009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5947
e1b52ce2
PM
5948 * gdb.base/shr1.c: Use %p in format string.
5949 * gdb.base/unload.c: Avoid warning in fprintf.
5950 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 5951
209f53f5
PM
59522009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5953
5954 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5955 long type.
5956 (test_unlink): Correct printf string.
5957 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5958 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5959
8172766a
JK
59602009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5961
5962 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5963 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5964 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5965
0f73703c
UW
59662009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5967
5968 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5969 * gdb.objc/nondebug.exp: Likewise.
5970
b32306ca
UW
59712009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5972
5973 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5974 target_info setting.
5975
5976 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5977 that detect new threads during "info threads".
5978
0057022f
UW
59792009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5980
5981 * gdb.threads/manythreads.c (main): Increase thread stack size
5982 to 2*PTHREAD_STACK_MIN.
5983 * gdb.threads/multi-create.c (main): Likewise.
5984 (create_function): Likewise.
5985
f29c0325
UW
59862009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5987
5988 * gdb.base/dump.exp: Pass difference of pointer types instead
5989 of integer types as offset to restore in intarr3.srec case.
5990
fcb34849
UW
59912009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5992
5993 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5994
d5142e3b
UW
59952009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5996
5997 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5998
087b74b2 59992009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 6000
087b74b2
PM
6001 New test for two watchpoints, with disabling of
6002 the first inserted.
6003 * testsuite/gdb.base/watchpoints.c: New file.
6004 * testsuite/gdb.base/watchpoints.exp: New file.
6005
96c07c5b
TT
60062009-09-25 Tom Tromey <tromey@redhat.com>
6007
6008 * gdb.base/charset.exp: Test utf-16 strings with Python.
6009
b8899f2b
TT
60102009-09-25 Tom Tromey <tromey@redhat.com>
6011
6012 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
6013 UCS-4.
6014 * gdb.base/charset.c (utf_32_string): Rename.
6015 (init_utf32): Rename.
6016 (main): Update.
6017
329719ec
TT
60182009-09-22 Tom Tromey <tromey@redhat.com>
6019
6020 * gdb.python/py-function.exp: Add regression tests.
6021
11ef0d76
KS
60222009-09-21 Keith Seitz <keiths@redhat.com>
6023
6024 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
6025 with invalid operator.
6026
3fe8f3b3
KS
60272009-09-21 Keith Seitz <keiths@redhat.com>
6028
6029 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
6030 and destructor using typedef name of class.
6031 * gdb.cp/classes.cc (class Base1): Add a destructor.
6032 (base1): New typedef.
6033 (use_methods): Instanitate an object of type base1.
6034 * gdb.cp/templates.exp (test_template_typedef): New procedure.
6035 (do_tests): Call test_template_typedef.
6036 * gdb.cp/templates.cc (Baz::~Baz): New method.
6037 (intBazOne): New typedef.
6038 (main): Instantiate intBazOne.
6039
7a9fe101
PM
60402009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6041
6042 PR python/10633
6043
6044 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
6045 Function.
6046 (run_lang_tests): Add print elements test.
6047
2e4d963f
PM
60482009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6049
6050 * gdb.python/py-value.exp (test_subscript_regression): New
6051 function. Test for invalid subscripts.
6052 * gdb.python/py-value.c (main): Add test array, and pointer to it.
6053 (ptr_ref): New function.
6054
ec7e75e7
PP
60552009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6056
6057 * gdb.base/default.exp: Fix "show convenience".
6058
0cc7d26f
TT
60592009-09-15 Tom Tromey <tromey@redhat.com>
6060
6061 * lib/mi-support.exp (mi_create_varobj): Update.
6062 (mi_create_floating_varobj): Likewise.
6063 (mi_create_dynamic_varobj): New proc.
6064 (mi_varobj_update): Update.
6065 (mi_varobj_update_with_type_change): Likewise.
6066 (mi_varobj_update_kv_helper): New proc.
6067 (mi_varobj_update_dynamic_helper): Rewrite.
6068 (mi_varobj_update_dynamic): New proc.
6069 (mi_list_varobj_children): Update.
6070 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
6071 * gdb.python/python-prettyprint.py (pp_outer): New class.
6072 (pp_nullstr): Likewise.
6073 (lookup_function): Register new printers.
6074 * gdb.python/python-prettyprint.c (struct substruct): New type.
6075 (struct outerstruct): Likewise.
6076 (substruct_test): New function.
6077 (struct nullstr): New type.
6078 (string_1, string_2): New globals.
6079 (main): Add new tests.
6080 * gdb.python/python-mi.exp: Added regression tests.
6081 * gdb.mi/mi2-var-display.exp: Update.
6082 * gdb.mi/mi2-var-cmd.exp: Update.
6083 * gdb.mi/mi2-var-child.exp: Update.
6084 * gdb.mi/mi2-var-block.exp: Update.
6085 * gdb.mi/mi-var-invalidate.exp: Update.
6086 * gdb.mi/mi-var-display.exp: Update.
6087 * gdb.mi/mi-var-cmd.exp: Update.
6088 * gdb.mi/mi-var-child.exp: Update.
6089 * gdb.mi/mi-var-block.exp: Update.
6090 * gdb.mi/mi-break.exp: Update.
6091 * gdb.mi/gdb701.exp: Update.
6092
a96d9b2e
SDJ
60932009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6094
6095 * Makefile.in: Inclusion of catch-syscall object.
6096 * gdb.base/catch-syscall.c: New file.
6097 * gdb.base/catch-syscall.exp: New file.
6098
b43b923a
MS
60992009-09-12 Michael Snyder <msnyder@vmware.com>
6100
6101 * gdb.reverse/step-reverse.exp: Explicitly check for targets
6102 that can support reverse debuggnig.
6103
cec03d70
TT
61042009-09-11 Tom Tromey <tromey@redhat.com>
6105
6106 * gdb.dwarf2/valop.S: New file.
6107 * gdb.dwarf2/valop.exp: New file.
6108
e23bb3fc
MK
61092009-09-11 Mark Kettenis <kettenis@gnu.org>
6110
6111 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
6112
37c3696d
DE
61132009-09-10 Doug Evans <dje@google.com>
6114
6115 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
6116 Add $gdb_prompt to second breakpoint regexp.
6117
5172aecb
JB
61182009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
6119
6120 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
6121 names, add missing ones.
6122 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
6123 * gdb.python/py-frame.c: Rename from python-frame.c.
6124 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
6125 testfile name.
6126 * gdb.python/py-function.exp: Rename from python-function.exp.
6127 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
6128 testfile name.
6129 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
6130 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
6131 Adjust testfile name.
6132 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
6133 * gdb.python/py-template.cc: Rename from python-template.cc.
6134 * gdb.python/py-template.exp: Rename from python-template.exp.
6135 Adjust testfile name.
6136 * gdb.python/py-value.c: Rename from python-value.c.
6137 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
6138 testfile name.
6139
b554e4bd
JK
61402009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6141
6142 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
6143 $bpt2address.
6144 (Second breakpoint address is valid on ia64)
6145 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
6146
9a68ae16
JM
61472009-09-03 Joseph Myers <joseph@codesourcery.com>
6148
6149 * gdb.base/ending-run.exp: Restrict regular expression matching
6150 line number to require closing brace following.
6151
146b9145
DE
61522009-09-03 Doug Evans <dje@google.com>
6153
6154 * gdb.base/store.exp (check_set): Fix typo in expected value message.
6155
787d21e1
TT
61562009-09-02 Tom Tromey <tromey@redhat.com>
6157
6158 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
6159
e7802207
TT
61602009-09-02 Tom Tromey <tromey@redhat.com>
6161
6162 * gdb.dwarf2/callframecfa.exp: New file.
6163 * gdb.dwarf2/callframecfa.S: New file.
6164
817aadd2
JK
61652009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6166
6167 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
6168 gdb.base/solib-overlap-main.c: New.
6169
4a76eae5
DJ
61702009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
6171
6172 PR gdb/10565
6173
6174 * gdb.base/bitfields.c (struct container, container): New.
6175 (main): Initialize it and call break5.
6176 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
6177
d4b96c9a
JK
61782009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6179
6180 Support constant DW_AT_data_member_location by GCC PR debug/40659.
6181 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
6182
4e22772d
JK
61832009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6184
6185 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
6186
2efab443
MS
61872009-08-26 Michael Snyder <msnyder@vmware.com>
6188
6189 * gdb.base/i386-reverse.c: New file.
6190 * gdb.base/i386-reverse.exp: New file.
6191 * gdb.base/Makefile.in: Add new files to be removed.
6192
07ab73a0
JM
61932009-08-26 Joseph Myers <joseph@codesourcery.com>
6194
6195 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
6196 environment-pwd for remote host.
6197 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
6198
676accff
KS
61992009-08-24 Keith Seitz <keiths@redhat.com>
6200
6201 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
6202 Add two new C++ completer tests which limit the output to a
889bf7c5 6203 given class.
676accff 6204
f9f7ad22
MS
62052009-08-24 Michael Snyder <msnyder@vmware.com>
6206
6207 * gdb.base/del.exp: Fix typo in comment.
6208 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
6209
81ecdfbb
RW
62102009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6211
6212 * configure: Regenerate.
6213 * gdb.hp/configure: Likewise.
6214 * gdb.hp/gdb.aCC/configure: Likewise.
6215 * gdb.hp/gdb.base-hp/configure: Likewise.
6216 * gdb.hp/gdb.compat/configure: Likewise.
6217 * gdb.hp/gdb.defects/configure: Likewise.
6218 * gdb.hp/gdb.objdbg/configure: Likewise.
6219 * gdb.stabs/configure: Likewise.
6220
cab0c772
UW
62212009-08-19 Doug Evans <dje@google.com>
6222
6223 * gdb.base/gdbvars.c: New file.
6224 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
6225
b8fa0bfa
PA
62262009-08-14 Pedro Alves <pedro@codesourcery.com>
6227
6228 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6229 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
6230
b84aa90a
PA
62312009-08-13 Pedro Alves <pedro@codesourcery.com>
6232
6233 * gdb.base/default.exp: Adjust "set language test": it's now an
6234 enum command. Larger help string moved to "help set language".
6235 * gdb.base/help.exp: Adjust "help set language" expected output,
6236 now lists all known languages.
6237
0d8f9b2c
NF
62382009-08-11 Nathan Froyd <froydnj@codesourcery.com>
6239
6240 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
6241 all frame arguments.
6242 * gdb.arch/altivec-regs.exp: Likewise.
6243
bda180e0
TT
62442009-08-07 Tom Tromey <tromey@redhat.com>
6245
6246 * gdb.base/setshow.exp: Add tests for changes to set language, set
6247 check range, and set check type.
6248
48cb2d85
VP
62492009-08-03 Vladimir Prus <vladimir@codesourcery.com>
6250
6251 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
6252 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 6253 Call it.
48cb2d85 6254
1ea34204
UW
62552009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6256
6257 * configure.ac: Run gdb.cell tests when appropriate.
6258 * configure: Regenerate.
6259 * lib/cell.exp: New file.
6260 * gdb.cell: New directory.
6261 * gdb.cell/configure.ac: New file.
6262 * gdb.cell/configure: New file.
6263 * gdb.cell/Makefile.in: New file.
6264 * gdb.cell/arch.exp: New file.
6265 * gdb.cell/break.c: New file.
6266 * gdb.cell/break.exp: New file.
6267 * gdb.cell/break-spu.c: New file.
6268 * gdb.cell/bt.c: New file.
6269 * gdb.cell/bt2-spu.c: New file.
6270 * gdb.cell/bt-spu.c: New file.
6271 * gdb.cell/bt.exp: New file.
6272 * gdb.cell/coremaker.c: New file.
6273 * gdb.cell/coremaker-spu.c: New file.
6274 * gdb.cell/core.exp: New file.
6275 * gdb.cell/gcore.exp: New file.
6276 * gdb.cell/data.c: New file.
6277 * gdb.cell/data.exp: New file.
6278 * gdb.cell/data-spu.c: New file.
6279 * gdb.cell/ea-cache.exp: New file.
6280 * gdb.cell/ea-cache.c: New file.
6281 * gdb.cell/ea-cache-spu.c: New file.
6282 * gdb.cell/ea-standalone.c: New file.
6283 * gdb.cell/ea-standalone.exp: New file.
6284 * gdb.cell/ea-test.c: New file.
6285 * gdb.cell/ea-test.exp: New file.
6286 * gdb.cell/f-regs.exp: New file.
6287 * gdb.cell/mem-access.c: New file.
6288 * gdb.cell/mem-access.exp: New file.
6289 * gdb.cell/mem-access-spu.c: New file.
6290 * gdb.cell/ptype.exp: New file.
6291 * gdb.cell/registers.exp: New file.
6292 * gdb.cell/size.c: New file.
6293 * gdb.cell/sizeof.exp: New file.
6294 * gdb.cell/size-spu.c: New file.
6295 * gdb.cell/solib.exp: New file.
6296 * gdb.cell/solib-symbol.exp: New file.
6297
85e747d2
UW
62982009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6299
6300 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
6301
58d6951d
DJ
63022009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6303
6304 * gdb.base/float.exp: Handle VFP registers.
6305
6e0a4f15
MS
63062009-07-14 Michael Snyder <msnyder@vmware.com>
6307
dcd5da87
MS
6308 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
6309 to bring gdb to the beginning of the calling line.
6310
6e0a4f15
MS
6311 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
6312 confusing the i386 epilogue unwinder.
6313
782b2b07
SS
63142009-07-14 Stan Shebs <stan@codesourcery.com>
6315
6316 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
6317
f662c3bc
MS
63182009-07-14 Michael Snyder <msnyder@vmware.com>
6319
6320 * gdb.reverse/step-reverse.exp (stepi into function call):
6321 Call instruction may not be first instruction in the line.
6322 (reverse stepi from a function call): Used wrong line number.
6323
8f313923
JK
63242009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6325
6326 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
6327
4662c76e
JK
63282009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6329
6330 Fix gdb.base/macscp.exp when using custom inputrc.
6331 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
6332 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
6333 env(TERM) set.
6334 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
6335 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
6336
aa81e255
JK
63372009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6338
6339 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
6340 * gdb.base/annota1.exp (thread_test): Import global $testfile.
6341 Change the compilation target to match the testcase name.
6342 * gdb.base/sect-cmd.exp: Change the compilation target to match the
6343 testcase name.
6344 * a2-run.exp: Use for setup prepare_for_testing. Change the
6345 compilation target to match the testcase name.
6346 * gdb.base/commands.exp: Likewise.
6347 * gdb.base/finish.exp: Likewise.
6348 * gdb.base/float.exp: Likewise.
6349 * gdb.base/info-target.exp: Likewise.
6350 * gdb.base/relational.exp: Likewise.
6351 * gdb.base/term.exp: Likewise.
6352 * gdb.base/until.exp: Likewise.
6353 * gdb.base/volatile.exp: Likewise.
6354 * gdb.base/whatis-exp.exp: Likewise.
6355
4c93b1d7
HZ
63562009-07-11 Hui Zhu <teawater@gmail.com>
6357
6358 * gdb.base/help.exp (disassemble): Update expected help text.
6359
812f7342
TT
63602009-07-09 Tom Tromey <tromey@redhat.com>
6361
6362 * lib/gdb.exp: Handle TRANSCRIPT.
6363 (remote_spawn, remote_close, send_gdb): New procs.
6364
fbb8f299
PM
63652009-07-10 Phil Muldoon <pmuldoon@redhat.com>
6366
6367 * gdb.python/python-prettyprint.c: Add counted null string
6368 structure.
6369 * gdb.python/python-prettyprint.exp: Print null string. Test for
6370 embedded nulls.
6371 * gdb.python/python-prettyprint.py (pp_ns): New Function.
6372 * gdb.python/python-value.exp (test_value_in_inferior): Add
6373 variable length string fetch tests.
6374 * gdb.python/python-value.c (main): Add strings for string fetch tests.
6375
c0ac0ec7
JK
63762009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6377
6378 * gdb.base/dump.exp (inaccessible memory is reported): New test.
6379
30b66ecc
TT
63802009-07-07 Tom Tromey <tromey@redhat.com>
6381
6382 * gdb.base/call-rt-st.exp: Update for change to escape output.
6383 * gdb.base/callfuncs.exp: Likewise.
6384 * gdb.base/charset.exp: Likewise.
6385 * gdb.base/constvars.exp: Likewise.
6386 * gdb.base/long_long.exp: Likewise.
6387 * gdb.base/pointers.exp: Likewise.
6388 * gdb.base/printcmds.exp: Likewise.
6389 * gdb.base/setvar.exp: Likewise.
6390 * gdb.base/store.exp: Likewise.
6391 * gdb.cp/ref-types.exp: Likewise.
6392 * gdb.mi/mi-var-child.exp: Likewise.
6393 * gdb.mi/mi-var-display.exp: Likewise.
6394 * gdb.mi/mi2-var-display.exp: Likewise.
6395 * gdb.base/charset.exp: Test octal escape sequence length.
6396 Update for change to escape output.
6397
187c4a2b
JK
63982009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6399
6400 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
6401
d80a43f9
DJ
64022009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
6403
6404 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
6405
047427a8
JK
64062009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6407
6408 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
6409 gdbserver increasing $portnum if "Can't bind address" has been seen.
6410
8b5a0f4f
PA
64112009-07-05 Pedro Alves <pedro@codesourcery.com>
6412
6413 * gdb.base/ending-run.exp: Add "step out of main" pattern for
6414 mingw32ce.
6415
7d93ba58
PA
64162009-07-05 Pedro Alves <pedro@codesourcery.com>
6417
6418 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
6419 VFP format.
6420
2277426b
PA
64212009-07-02 Pedro Alves <pedro@codesourcery.com>
6422
6423 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
6424 linux. Adjust to use "inferior", "info inferiors", "detach
6425 inferior" and "kill inferior" instead of "restart", "info fork",
6426 "detach fork" and "delete fork".
6427 * gdb.base/ending-run.exp: Spell out "info".
6428 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
6429 the "kill" command.
6430
5af949e3
UW
64312009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6432
6433 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
6434 change to prefix TLS offset in hex with 0x.
6435
5d3729b5
UW
64362009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6437
6438 * gdb.base/default.exp: Update test case for "x" changes.
6439
af589bd0
TG
64402009-07-01 Tristan Gingold <gingold@adacore.com>
6441
6442 * gdb.base/bigcore.exp: Make darwin untested.
6443
40974f91
JK
64442009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6445
6446 * gdb.base/completion.exp (directory completion): Create the directory.
6447 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6448 escapeuniquesub.
6449 (directory completion 2): Expect now ${escapeuniquesub}.
6450 (Glob remaining of directory test): Remove one excessive newline.
6451 Expect the real output.
6452
59dd3af6
JK
64532009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6454
6455 Fix `make check//%' target after `make check' has been ran.
6456 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6457 a mkdir call.
6458 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6459 (%/.dir): Remove.
6460
f4e164aa
JK
64612009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6462
6463 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6464 the expected result record.
6465
69af2122
JK
64662009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6467
6468 Remove racy FAILs relying just on the timeouts.
6469 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6470 (annotation_level 2): Remove racy FAILs.
6471
2fd481e1
PP
64722009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6473
6474 gdb/10275
889bf7c5
PA
6475 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6476
c38f313d
DJ
64772009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6478
6479 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6480
8b777f02
VP
64812009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6482
6483 * gdb.mi/mi-stack.exp: Testing symbolic options
6484 to -stack-list-locals and -stack-list-arguments.
6485
00c7eacf
JK
64862009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6487
6488 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6489
6bc80edc
TT
64902009-06-29 Tom Tromey <tromey@redhat.com>
6491
6492 * dg-extract-results.sh: New file.
6493 * Makefile.in (FORCE_PARALLEL): New variable.
6494 (CHECK_TARGET): New conditional variable.
6495 (check): Use CHECK_TARGET.
6496 (DO_RUNTEST): New variable.
6497 (check-single): New target.
6498 (TEST_DIRS): New variable.
6499 (TEST_TARGETS): Likewise.
6500 (check-parallel): New target.
6501 (check-gdb.%): New pattern.
6502 (BASE1_FILES): New variable.
6503 (BASE2_FILES): Likewise.
6504 (check-gdb.base%): New pattern.
6505 (%/.dir): New pattern.
6506 * configure: Rebuild.
6507 * aclocal.m4 (AM_CONDITIONAL): New defun.
6508 * configure.ac: Check whether user is using GNU make.
6509 (GMAKE): New conditional.
6510
794684b6
SW
65112009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6512
6513 * gdb.cp/namespace-nested-import.cc: New test.
6514 * gdb.cp/namespace-nested-import.exp: New test.
6515
edb3359d
DJ
65162009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6517
6518 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6519 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6520 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6521 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6522 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6523 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6524 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6525 gdb.opt/inline-markers.c: New files.
6526 * lib/gdb.exp (skip_inline_frame_tests): New function.
6527 (skip_inline_var_tests): New function.
6528
cf657a0c
AS
65292009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6530
6531 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6532 backtrace.
6533
28d41a99
MS
65342009-06-27 Michael Snyder <msnyder@vmware.com>
6535
6536 * gdb.reverse: New directory.
6537 * gdb.reverse/break-reverse.c: New test.
6538 * gdb.reverse/break-reverse.exp: New test.
6539 * gdb.reverse/consecutive-reverse.c: New test.
6540 * gdb.reverse/consecutive-reverse.exp: New test.
6541 * gdb.reverse/finish-reverse.c: New test.
6542 * gdb.reverse/finish-reverse.exp: New test.
6543 * gdb.reverse/machinestate.c: New test.
6544 * gdb.reverse/ms1.c: New test.
6545 * gdb.reverse/machinestate.exp: New test.
6546 * gdb.reverse/Makefile.in: New file.
6547 * gdb.reverse/shr2.c: New test.
6548 * gdb.reverse/solib-reverse.c: New test.
6549 * gdb.reverse/solib-reverse.exp: New test.
6550 * gdb.reverse/step-reverse.c: New test.
6551 * gdb.reverse/step-reverse.exp: New test.
6552 * gdb.reverse/until-reverse.c: New test.
6553 * gdb.reverse/ur1.c: New test.
6554 * gdb.reverse/until-reverse.exp: New test.
6555 * gdb.reverse/watch-reverse.c: New test.
6556 * gdb.reverse/watch-reverse.exp: New test.
6557 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6558 * configure: Regenerate.
6559
fe3c8b0d
DE
65602009-06-26 Doug Evans <dje@google.com>
6561
6562 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6563
3a72a602
PM
65642009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6565
6566 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6567 windows problem for 'file delete $binfile'.
6568
27aa8d6a
SW
65692009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6570
6571 * gdb.cp/namespace-using.exp: New test.
6572 * gdb.cp/namespace-using.cc: New test.
6573
8ac055f8
JB
65742009-05-20 Joel Brobecker <brobecker@adacore.com>
6575
6576 * gdb.ada/variant_record_packed_array: New testcase.
6577
85e306ed
TT
65782009-06-23 Tom Tromey <tromey@redhat.com>
6579
6580 * gdb.base/charset.exp (test_combination): Regression test.
6581 * gdb.base/charset.c (my_wchar_t): New typedef.
6582 (myvar): New global.
6583 (main): Set myvar.
6584
56643c5e
PM
65852009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6586
6587 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6588 target.
6589
1fac167a
UW
65902009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6591
6592 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6593
7ccb0be9
UW
65942009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6595
6596 * gdb.mi/gdb680.exp: Update test for error message.
6597
568d6575
UW
65982009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6599
6600 * gdb.base/annota1.exp: Allow multiple occurrences of the
6601 frames-invalid annotation.
6602 * gdb.cp/annota2.exp: Likewise.
6603
7cd1089b
PM
66042009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6605
6606 * gdb.cp/gdb2495.cc: New file.
6607 * gdb.cp/gdb2495.exp: New file.
6608
72c63395
JK
66092009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6610
6611 Report error on GDB crash during runto.
6612 * lib/gdb.exp (runto <eof>): New.
6613
3788363d
DJ
66142009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6615
6616 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6617 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6618 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6619 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6620 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6621 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6622 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6623 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6624 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6625 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6626 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6627 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6628 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6629 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6630 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6631 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6632 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6633 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6634 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6635 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6636 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6637 gdb.trace/passcount.exp, gdb.trace/report.exp,
6638 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6639 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6640 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6641 executable.
6642
17592de3
PA
66432009-06-07 Pedro Alves <pedro@codesourcery.com>
6644
6645 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6646 defined before referencing it.
6647
701e355d
DE
66482009-06-03 Doug Evans <dje@google.com>
6649
6650 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6651 * gdb.arch/i386-see.c: Ditto.
6652
f2292c65
PM
66532009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6654
6655 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6656 (check_macro): Return 1 if undefined.
6657 If first test fails, check if macro debug information is available,
6658 and report unsupported test if no macro information is found.
6659
5a437975
DE
66602009-05-29 Doug Evans <dje@google.com>
6661
6662 * gdb.threads/hand-call-in-threads.exp: New.
6663 * gdb.threads/hand-call-in-threads.c: New.
6664
c141c696
MS
66652009-05-29 Michael Snyder <msnyder@vmware.com>
6666
6667 * gdb.base/break-always.exp: Change "1" to "on".
6668 Add confirmation check.
6669
b3444185
PA
66702009-05-28 Pedro Alves <pedro@codesourcery.com>
6671
6672 * gdb.threads/threxit-hop-specific.c: New.
6673 * gdb.threads/threxit-hop-specific.exp: New.
6674 * gdb.threads/thread-execl.c: New.
6675 * gdb.threads/thread-execl.exp: New.
6676
b6313243
TT
66772009-05-27 Tom Tromey <tromey@redhat.com>
6678 Thiago Jung Bauermann <bauerman@br.ibm.com>
6679
6680 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6681 (mi_child_regexp): Likewise.
6682 (mi_list_varobj_children_range): Likewise.
6683 (mi_get_features): Likewise.
6684 (mi_list_varobj_children): Rewrite.
6685 * gdb.python/python-mi.exp: New file.
6686
a6bac58e
TT
66872009-05-27 Tom Tromey <tromey@redhat.com>
6688 Thiago Jung Bauermann <bauerman@br.ibm.com>
6689 Phil Muldoon <pmuldoon@redhat.com>
6690 Paul Pluzhnikov <ppluzhnikov@google.com>
6691
6692 * gdb.python/python-prettyprint.exp: New file.
6693 * gdb.python/python-prettyprint.c: New file.
6694 * gdb.python/python-prettyprint.py: New file.
6695 * gdb.base/display.exp: print/r is now valid.
6696
2c74e833
TT
66972009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6698 Tom Tromey <tromey@redhat.com>
6699 Pedro Alves <pedro@codesourcery.com>
6700 Paul Pluzhnikov <ppluzhnikov@google.com>
6701
6702 * gdb.python/python-template.exp: New file.
6703 * gdb.python/python-template.cc: New file.
6704 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6705 tests.
6706 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6707 Call it.
6708 (test_value_after_death): New proc.
6709 * gdb.python/python-value.c (PTR): New typedef.
6710 (main): New variable 'x'.
6711
89c73ade
TT
67122009-05-27 Tom Tromey <tromey@redhat.com>
6713
6714 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6715 tests.
6716 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6717 Call it.
6718
a75724bc
PA
67192009-05-27 Pedro Alves <pedro@codesourcery.com>
6720
6721 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6722
e58b0e63
PA
67232009-05-24 Pedro Alves <pedro@codesourcery.com>
6724
6725 * gdb.threads/fork-thread-pending.c: New.
6726 * gdb.threads/fork-thread-pending.exp: New.
6727
4ac36638
JK
67282009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6729
6730 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6731 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6732
889bf7c5 67332009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 6734
889bf7c5 6735 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 6736
b242c3c2
PA
67372009-05-17 Pedro Alves <pedro@codesourcery.com>
6738
6739 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6740 `gdb_get_line_number'. Call `callee' in both parent and child.
6741 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6742 `gdb_get_line_number' instead of hardcoding line numbers.
6743 (catch_fork_unpatch_child): New procedure to test detaching
6744 breakpoints from child fork.
6745 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6746 hardcoding line numbers.
6747 (do_fork_tests): Run `catch_fork_unpatch_child'.
6748
ee342b23
VP
67492009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6750
6751 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6752 of structure type enters or leaves the scope, it
6753 is reported by -var-update.
6754
e2009e98
DE
67552009-05-11 Doug Evans <dje@sebabeach.org>
6756
6757 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 6758 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
6759 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6760
00903456
JK
67612009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6762
6763 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6764
dc621c35
DE
67652009-04-30 Doug Evans <dje@google.com>
6766
6767 * gdb.threads/watchthreads2.exp: New testcase.
6768 * gdb.threads/watchthreads2.c: New testcase.
6769
9ab4e744
DE
67702009-04-29 Doug Evans <dje@google.com>
6771
6772 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6773 * gdb.cp/mb-ctor.cc: Ditto.
6774 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6775 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6776 * gdb.cp/mb-inline1.cc: Call it.
6777 * gdb.cp/mb-inline2.cc: Ditto.
6778 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6779 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6780
484086b7
JK
67812009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6782
6783 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6784 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6785 Replace all uses of `decimal' by `nonzero'.
6786 (info macro FROM_COMMANDLINE): New test.
6787
379a77b5
TT
67882009-04-27 Tom Tromey <tromey@redhat.com>
6789
6790 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6791
b92b73c2
DE
67922009-04-27 Doug Evans <dje@google.com>
6793
6794 * gdb.threads/watchthreads.c (main): Initialize args before starting
6795 the threads. Plus formatting cleanup.
6796 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6797 biased scheduling of one thread.
6798
945a118d
JG
67992009-04-27 Jerome Guitton <guitton@adacore.com>
6800
6801 * gdb.cp/templates.cc (GetMax): New template.
6802 (main): Declare two instances of GetMax.
6803 * gdb.cp/templates.exp: Add new test.
6804
d389af10
JK
68052009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6806
6807 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6808
e7f86de9
JM
68092009-04-22 Joseph Myers <joseph@codesourcery.com>
6810
6811 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6812
334cc82d
TT
68132009-04-15 Tom Tromey <tromey@redhat.com>
6814
6815 * gdb.base/charset.exp: Add regression test.
6816
d12672cc
JB
68172009-04-14 Joel Brobecker <brobecker@adacore.com>
6818
6819 * gdb.base/exe-lock.exp: New testcase.
6820
18e8c3bc
TT
68212009-04-13 Tom Tromey <tromey@redhat.com>
6822
6823 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6824 operator on Frame.
6825
5ecd5cbe
UW
68262009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6827
6828 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6829 * gdb.server/ext-attach.exp: Likewise.
6830
7309f756
VP
68312009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6832
6833 Eliminate some sleep usage.
6834
889bf7c5
PA
6835 * gdb.mi/basics.c (do_nothing): New.
6836 (main): Use do_nothing instead of printf, so that
6837 not to introduce race condition between output of
6838 inferiour and output of gdb. Do not use sleep as it
6839 is not generally available on embedded targets.
7309f756 6840
f4b95f6f
PA
68412009-04-02 Pedro Alves <pedro@codesourcery.com>
6842
6843 * gdb.server/ext-attach.exp: Expect an optional process id after
6844 "Detached from remote process".
6845
de40b933
JK
68462009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6847
6848 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6849 gdb.dwarf2/dw2-unresolved.exp: New.
6850
2ae101a4
PA
68512009-04-02 Pedro Alves <pedro@codesourcery.com>
6852
6853 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6854 mi_run_to_main.
6855
56a8e183
PA
68562009-04-02 Pedro Alves <pedro@codesourcery.com>
6857
6858 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6859 mi_run_to_main. Skip thread exit test on remote targets.
6860 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6861 mi_run_to_main.
6862 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6863 mi_run_to_main.
6864 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6865 when expecting ^connected. Detect when the target doesn't support
6866 non-stop mode.
6867 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6868 supported. Return -1 on error, 0 on success.
6869 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6870 (mi_runto): Return mi_runto_helper's result explicitly.
6871
c35fafde
PA
68722009-04-01 Pedro Alves <pedro@codesourcery.com>
6873
6874 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6875
f8a8dce6
JB
68762009-04-01 Tom Tromey <tromey@redhat.com>
6877
6878 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6879 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6880 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6881 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6882
71c25dea
TT
68832009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6884 Jan Kratochvil <jan.kratochvil@redhat.com>
6885
6886 PR gdb/931
6887 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6888 output.
6889 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6890 for gdb/931.
6891 * dw2-strp.S (DW_AT_language): Change to C++.
6892 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6893
02d9a9ce
JB
68942009-03-31 Joel Brobecker <brobecker@adacore.com>
6895
6896 * gdb.ada/tasks: New testcase.
6897
1042e4c0
SS
68982009-03-30 Stan Shebs <stan@codesourcery.com>
6899
6900 * gdb.trace/actions.exp: Update to match new info trace format.
6901 * gdb.trace/deltrace.exp: Ditto.
6902 * gdb.trace/infotrace.exp: Ditto.
6903 * gdb.trace/passcount.exp: Ditto.
6904 * gdb.trace/save-trace.exp: Ditto.
6905 * gdb.trace/while-stepping.exp: Ditto.
6906 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6907
f8f6f20b
TJB
69082009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6909
6910 * gdb.python/python-frame.c: New file.
6911 * gdb.python/python-frame.exp: New file.
6912
c0c6f777
TJB
69132009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6914
6915 * gdb.python/python-value.exp: Add tests for the address
6916 attribute.
6917
3cb51905
AS
69182009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6919
6920 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6921
88fc996f
DE
69222009-03-26 Doug Evans <dje@google.com>
6923
6924 * gdb.mi/mi-nonstop-exit.exp: New file.
6925 * gdb.mi/non-stop-exit.c: New file.
6926
56ef84b1
TT
69272009-03-26 Tom Tromey <tromey@redhat.com>
6928
6929 Update for change to prologue skipping:
6930 * gdb.mi/mi2-simplerun.exp: Update.
6931 * gdb.mi/mi2-break.exp: Update.
6932 * gdb.mi/mi-simplerun.exp: Update.
6933 * gdb.mi/mi-break.exp: Update.
6934 * gdb.base/ending-run.exp: Update.
6935
def2b000
TJB
69362009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6937
6938 * gdb.python/python-value.exp (test_value_in_inferior): Test
6939 gdb.Value.is_optimized_out attribute.
6940
442ddf59
JK
69412009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6942
6943 * gdb.dwarf2/dw2-noloc-main.c: New file.
6944 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6945 (.text): Remove.
6946 (.data): New.
6947 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6948 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6949 (DW_TAG_subprogram func_cu1, noloc): Remove.
6950 (main): New.
6951 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6952 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6953 (file_symbols): New procedure.
6954
a8df5de4
TT
69552009-03-25 Tom Tromey <tromey@redhat.com>
6956
6957 * gdb.base/charset.exp (valid_target_charset): New proc.
6958 Use it to skip tests on invalid charsets.
6959
cc1d7add
PM
69602009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6961
6962 * gdb.base/completion.exp: Add a test for directory completion.
6963
bcd5727b
JK
69642009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6965
6966 Fix a racy FAIL.
6967 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6968 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6969
cc924cad
TJB
69702009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6971
6972 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6973 * gdb.python/python-function.exp: Add test for function returning
6974 a GDB value.
6975
bc3b79fd
TJB
69762009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6977
6978 * gdb.python/python-function.exp: New file.
6979
6c7a06a3
TT
69802009-03-20 Tom Tromey <tromey@redhat.com>
6981
6982 * gdb.base/store.exp: Update for change to escape output.
6983 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6984 to escape output.
6985 * gdb.base/pointers.exp: Update for change to escape output.
6986 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6987 to escape output.
6988 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6989 escape output.
6990 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6991 to escape output.
6992 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6993 escape output.
6994 * gdb.base/setvar.exp: Update for change to escape output.
6995 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6996 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6997 to escape output.
6998 (test_print_string_constants): Likewise.
6999 * gdb.base/charset.exp (valid_host_charset): Check size of
7000 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
7001 cases. Handle "auto"-related output.
7002 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
7003 (uvar, Uvar): New globals.
7004
c31af87b
JG
70052009-03-19 Jerome Guitton <guitton@adacore.com>
7006
7007 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
7008 deltas.
7009 * gdb.ada/fixed_points.exp: Ditto.
7010
51272cf2
PA
70112009-03-18 Pedro Alves <pedro@codesourcery.com>
7012
7013 * return-nodebug.c: Don't include stdio.h.
7014 (init): Delete.
7015 (func): Delete definition and provide extern declaration.
7016 (t): New.
7017 (main): Don't call printf. Call func and store its result in t.
7018 * return-nodebug1.c: New.
7019 * return-nodebug.exp: Don't expect stdio output. Instead, print
7020 the global variable t. Drop printf formatters and cast types from
7021 foreach loop. Don't use prepare_for_testing. Compile
7022 return-nodebug.c and return-nodebug1.c in separate steps. Don't
7023 define FORMAT or CAST.
7024
d24948ac
PP
70252009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7026
7027 * gdb.base/solib-display.exp: Disable test for remote targers.
7028
61ff14c6
JK
70292009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7030
7031 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
7032
cb4dce93
JK
70332009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7034
7035 Fix a racy FAIL.
7036 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
7037 code from `follow parent, print pids'.
7038 (`follow child, print pids', `follow parent, print pids'): Call it.
7039 Replace `gdb_test "break..."' by gdb_breakpoint.
7040
f7c60c5e
VP
70412009-03-13 Vladimir Prus <vladimir@codesourcery.com>
7042
7043 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 7044 sync and async modes.
f7c60c5e 7045
383ace49
JB
70462009-03-12 Joel Brobecker <brobecker@adacore.com>
7047
7048 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
7049 that was checked in by mistake. Remove loading of ada.exp, since
7050 this is not necessary in this case.
7051
4ce102af
JB
70522009-03-12 Joel Brobecker <brobecker@adacore.com>
7053
7054 * gdb.ada/ptype_arith_binop.exp: New testcase.
7055
529a2aef
JB
70562009-03-12 Joel Brobecker <brobecker@adacore.com>
7057
7058 * gdb.ada/mod_from_name: New testcase.
7059
8a38181c
JB
70602009-03-12 Joel Brobecker <brobecker@adacore.com>
7061
7062 * gdb.ada/tick_last_segv: New testcase.
7063
11436dee
VP
70642009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7065
61ff14c6 7066 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 7067
1f31650a
VP
70682009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7069
61ff14c6
JK
7070 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
7071 include the token in ^running and frame info in *stopped.
1f31650a 7072
a3247a22
PP
70732009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7074
7075 * solib-display.exp: New file.
7076 * solib-display-main.c: New file.
7077 * solib-display-lib.c: New file.
61ff14c6 7078
aae64587
PA
70792009-03-05 Pedro Alves <pedro@codesourcery.com>
7080
7081 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
7082
44aabfbc
JK
70832009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7084
7085 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
7086 (list_and_check_macro): Use more specific test name.
7087 (next to definition): Make the test names unique.
7088
c087fcd3
PM
70892009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
7090
7091 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 7092
c86cf029
VP
70932009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7094
7095 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
7096 notifications.
7097 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
7098 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
7099 * lib/mi-support.exp (library_loaded_re): New.
7100 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
7101
3ea85240
VP
71022009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7103
7104 * gdb.gdb/observer.exp: Use test_notification observer, not
7105 normal_stop, everywhere.
7106 (test_normal_stop_notifications): Rename to...
7107 (test_notifications): ...this.
7108 (test_observer_normal_stop): Rename to...
7109 (test_observer): ...this.
7110
1903f0e6
DE
71112009-02-16 Doug Evans <dje@google.com>
7112
7113 * gdb.arch/amd64-disp-step.S (test_int3): New test.
7114 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
7115 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
7116 (test_prefixed_syscall,test_int3): New tests.
7117 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
7118 (test_prefixed_syscall,test_int3): New tests.
7119
1d33d6ba
VP
71202009-02-14 Vladimir Prus <vladimir@codesourcery.com>
7121
3cb51905
AS
7122 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
7123 (mi_expect_interrupt): Likewise.
7124 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
7125 response.
1d33d6ba 7126
faafb047
PM
71272009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7128
7129 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
7130 * gdb.base/pc-fp.exp (get_valueofx): Remove.
7131 Replace calls to get_valueofx by get_hexadecimal_valueof.
7132
417e16e2
PM
71332009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7134
7135 * lib/gdb.exp (get_valueof): Accept anything as a return value.
7136 (get_integer_valueof): New procedure.
7137 (get_sizeof): Use new get_integer_value_of.
7138 * gdb.base/sizeof.exp: Replace all uses of get_valueof
7139 by get_integer_valueof.
7140
7065b901
TT
71412009-02-13 Tom Tromey <tromey@redhat.com>
7142
7143 * gdb.base/remote.exp (get_sizeof): Remove.
7144 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
7145 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
7146 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
7147 * lib/gdb.exp (get_valueof): Move from long_long.exp.
7148 (get_sizeof): Likewise.
7149
5d7cb8df
JK
71502009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7151
7152 PR fortran/9806
7153 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
7154
b2febfff
PP
71552009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7156
7157 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
7158
4aa995e1
PA
71592009-02-06 Pedro Alves <pedro@codesourcery.com>
7160
7161 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
7162
d8906c6f
TJB
71632009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7164
7165 * gdb.python/python-cmd.exp: New file.
7166
ff4ab08d
TG
71672009-02-06 Tristan Gingold <gingold@adacore.com>
7168
7169 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
7170
aacd552b
TG
71712009-02-05 Tristan Gingold <gingold@adacore.com>
7172
7173 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
7174 pointer is dereferenced and use this signal name in regexp.
7175 * gdb.base/signull.exp: Ditto.
7176 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
7177 * gdb.base/signull.c (main): Ditto.
7178
08c637de
TJB
71792009-02-04 Tom Tromey <tromey@redhat.com>
7180 Thiago Jung Bauermann <bauerman@br.ibm.com>
7181
7182 * gdb.python/python-value.exp: Use `gdb.history' instead of
7183 `gdb.value_from_history'.
7184 (test_value_numeric_ops): Add test for conversion of enum constant.
7185 * gdb.python/python-value.c (enum e): New type.
7186 (evalue): New global.
7187 (main): Use argv.
7188
20261af8
JG
71892009-02-04 Jerome Guitton <guitton@adacore.com>
7190
7191 * gdb.ada/uninitialized_vars: New test program.
7192 * gdb.ada/uninitialized_vars.exp: New testcase.
7193
52e44b43
TT
71942009-02-02 Tom Tromey <tromey@redhat.com>
7195
7196 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
7197 * gdb.cp/pr2489.cc: Rename...
7198 * gdb.cp/pr9594.cc: ... to this.
7199
1c71341a
TT
72002009-02-02 Tom Tromey <tromey@redhat.com>
7201
7202 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
7203 * gdb.cp/pr2489.cc: New file.
7204 * gdb.cp/cpcompletion.exp: New file.
7205
a4295225
TT
72062009-02-02 Tom Tromey <tromey@redhat.com>
7207
7208 PR exp/9059:
7209 * gdb.cp/call-c.exp: Add regression test.
7210 * gdb.cp/call-c.cc (FooHandle): New typedef.
7211 (main): New variable 'handle'.
7212
592375cd
VP
72132009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7214
7215 * lib/mi-support.exp (et_mi_thread_list)
7216 (check_mi_and_console_threads): Adjust for current thread in
7217 -thread-list-ids output.
7218
41447f92
VP
72192009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7220
889bf7c5
PA
7221 * gdb.mi/mi-break.exp (test_disabled_creation): New.
7222 Call it.
41447f92 7223
35669430
DE
72242009-01-28 Doug Evans <dje@google.com>
7225
7226 * gdb.arch/amd64-disp-step.S: New file.
7227 * gdb.arch/amd64-disp-step.exp: New file.
7228 * gdb.arch/i386-disp-step.S: New file.
7229 * gdb.arch/i386-disp-step.exp: New file.
7230
09f00d9a
PM
72312009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
7232
7233 * gdb.base/find.exp: Set newline variable
7234 using quotes instead of braces to fix cygwin failures.
7235
1e8fb976
PA
72362009-01-23 Pedro Alves <pedro@codesourcery.com>
7237
7238 * gdb.base/radix.exp: Add tests to ensure that that set
7239 input-radix 0 and set output-radix 0 are really rejected.
7240
da061712
PA
72412009-01-23 Pedro Alves <pedro@codesourcery.com>
7242
7243 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
7244 copyright years.
7245
dd7e2d2b
PA
72462009-01-23 Pedro Alves <pedro@codesourcery.com>
7247
7248 PR gdb/9664:
7249 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
7250
392452f6
PA
72512009-01-22 Pedro Alves <pedro@codesourcery.com>
7252
7253 PR c++/9631:
7254 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
7255
8653e71c
PM
72562009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
7257
7258 * gdb.server/file-transfer.exp: Use EXEEXT variable for
7259 binfile definition to fix Windows OS failure.
7260
a12cc160
DJ
72612009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7262
7263 PR gdb/9346
7264 * gdb.base/interrupt.c (sigint_handler): New.
7265 (main): Install a SIGINT handler if SIGNALS is defined. Exit
7266 on error.
7267 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
7268 Test "signal SIGINT".
7269
b89667eb
DE
72702009-01-19 Doug Evans <dje@google.com>
7271
7272 * gdb.base/break.exp: Update expected gdb output.
7273 * gdb.base/sepdebug.exp: Ditto.
7274 * gdb.mi/mi-syn-frame.exp: Ditto.
7275 * gdb.mi/mi2-syn-frame.exp: Ditto.
7276 * gdb.base/call-signal-resume.exp: New file.
7277 * gdb.base/call-signals.c: New file.
7278 * gdb.base/unwindonsignal.exp: New file.
7279 * gdb.base/unwindonsignal.c: New file.
7280 * gdb.threads/interrupted-hand-call.exp: New file.
7281 * gdb.threads/interrupted-hand-call.c: New file.
7282 * gdb.threads/thread-unwindonsignal.exp: New file.
7283
adb483fe
DJ
72842009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
7285
7286 * gdb.base/define.exp: Test defining and hooking prefix commands.
7287 * gdb.python/python.exp: Update test for "show user" output.
7288
60023297
JK
72892009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7290
7291 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
7292 now the output exactly, using less wildcards. Expect also the output
7293 of gfortran-4.3. Update for the f-valprint.c modification from
7294 2008-04-22.
7295 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
7296 Remove gdb_test test names where matching the command.
7297
ccc57cf9
PA
72982009-01-01 Pedro Alves <pedro@codesourcery.com>
7299
7300 PR breakpoints/9681:
7301 * gdb.base/watchpoint.exp: Add regression test.
7302
c7a6ca08
PA
73032008-12-31 Pedro Alves <pedro@codesourcery.com>
7304
7305 * gdb.threads/attach-into-signal.exp: Don't use
7306 gdb_suppress_entire_file.
7307 * gdb.threads/attach-stopped.exp: Ditto.
7308 * gdb.threads/attachstop-mt.exp: Ditto.
7309
3a031f65
PA
73102008-12-31 Pedro Alves <pedro@codesourcery.com>
7311
7312 PR gdb/8812:
7313 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
7314
09e6485f
PA
73152008-12-29 Pedro Alves <pedro@codesourcery.com>
7316
7317 PR gdb/7536:
7318 * gdb.base/radix.exp: Add tests to ensure invalid input radices
7319 and unsupported output radices are really rejected.
7320
0cd53049
JK
73212008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7322
7323 * gdb.cp/punctuator.exp: Backslash the '$' signs.
7324
ba163c7e
TT
73252008-12-22 Tom Tromey <tromey@redhat.com>
7326
7327 * gdb.cp/punctuator.exp: New file.
7328
6f4de6c9
JK
73292008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7330
7331 * gdb.base/completion.exp (Completing non-existing component): New test.
7332
0f34d0b4
JK
73332008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7334
7335 Fix for PR gdb/8648.
7336 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
7337 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
7338 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
7339 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
7340
db2ad4c3
JK
73412008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7342
7343 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
7344
bb5ef15e
DP
73452008-12-16 Christophe Lyon <christophe.lyon@st.com>
7346
7347 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
7348 compiler actually generate code at the expected line number.
7349
90142adc
JZ
73502008-12-15 Jie Zhang <jie.zhang@analog.com>
7351
7352 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
7353
fad6eecd
TT
73542008-12-12 Tom Tromey <tromey@redhat.com>
7355
7356 * gdb.base/commands.exp (redefine_hook_test): New proc.
7357 Call it.
7358
17c8aaf5
TT
73592008-12-11 Tom Tromey <tromey@redhat.com>
7360
7361 * gdb.base/macscp.exp: New regression test.
7362
7c8adf68
TT
73632008-12-11 Tom Tromey <tromey@redhat.com>
7364
7365 * gdb.base/macscp.exp: Print "address.addr".
7366 * gdb.base/macscp1.c (struct outer): New struct.
7367 (address): New global.
7368
b05dcbb7
TT
73692008-12-09 Tom Tromey <tromey@redhat.com>
7370
7371 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
7372 Call it.
7373
2d476de1
DE
73742008-12-04 Doug Evans <dje@google.com>
7375
7376 * gdb.server/ext-run.exp: Relax regexp for init program.
7377
87bdc959
TG
73782008-12-03 Tristan Gingold <gingold@adacore.com>
7379
7380 * gdb.base/macscp.exp: Generate an object file during compilation
7381 to work around Darwin dsymutil limitations.
7382
e0740f77
JK
73832008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7384
7385 Test resolving external references to TLS variables.
7386 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
7387 FILE2_THREAD_LOCAL.
7388 (testfile2, srcfile2): New variables.
7389 * gdb.threads/tls.c (file2_thread_local)
7390 (function_referencing_file2_thread_local): New.
7391 * gdb.threads/tls2.c: New file.
7392
67f0aac5
JB
73932008-11-28 Joel Brobecker <brobecker@adacore.com>
7394
7395 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
7396 rather than integer, as integer might not be big enough when
7397 on 64bit targets.
67f0aac5 7398
c332165e
JG
73992008-11-27 Jerome Guitton <guitton@adacore.com>
7400
7401 * gdb.cp/formatted-ref.exp: Add equality test.
7402 * gdb.ada/formatted_ref.exp: Ditto.
7403
fc9b693c
JK
74042008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7405
7406 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
7407 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
7408
a9c64011
AS
74092008-11-20 Andreas Schwab <schwab@suse.de>
7410
7411 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
7412 matching syscall entry point.
7413 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7414 (tcatch_vfork_then_child_follow): Likewise. Finish through
7415 vfork even if we stopped at the syscall trampoline.
7416
e2fd701e
DE
74172008-11-20 Doug Evans <dje@google.com>
7418
7419 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
7420
69abc51c
TJB
74212008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
7422
7423 * gdb.arch/ppc-dfp.exp: New file.
7424 * gdb.arch/ppc-dfp.c: New file.
7425
c14c28ba
PP
74262008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7427
7428 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 7429
2e74121d
DE
74302008-11-17 Doug Evans <dje@google.com>
7431
7432 * gdb.mi/mi-syn-frame.exp: Update expected output.
7433 * gdb.mi/mi2-syn-frame.exp: Update expected output.
7434
66bb093b
VP
74352008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7436
7437 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
7438 "thread N" results in =thread-selected.
7439 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7440 (mi_send_resuming_command_raw): Be prepared for
7441 =thread-selected.
7442
3d043ef6
VP
74432008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7444
a9c64011
AS
7445 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7446 * lib/mi-support.exp: Likewise.
3d043ef6 7447
808104c8
JB
74482008-11-16 Joel Brobecker <brobecker@adacore.com>
7449
7450 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7451 commands from the expected output for "help catch".
7452
00b22944
JB
74532008-11-15 Joel Brobecker <brobecker@adacore.com>
7454
7455 * gdb.ada/int_deref.exp: New testcase.
7456
59669435
TT
74572008-11-14 Nick Roberts <nickrob@snap.net.nz>
7458
7459 * gdb.mi/gdb2549.exp: New file.
7460
de04a248
DE
74612008-11-11 Doug Evans <dje@google.com>
7462
7463 * gdb.base/callexit.exp: New file.
7464 * gdb.base/callexit.c: New file.
7465
6b8ce727
DE
74662008-11-10 Doug Evans <dje@google.com>
7467
7468 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7469 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7470 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7471 (default_gdb_start,default_gdb_exit): Ditto.
7472 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7473 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7474 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7475 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7476 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7477 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7478
1b14b8aa
AS
74792008-11-03 Andreas Schwab <schwab@suse.de>
7480
7481 * gdb.base/hashline2.exp: Fix typo.
7482 * gdb.base/hashline3.exp: Likewise.
7483
f3134b88
TT
74842008-10-30 Tom Tromey <tromey@redhat.com>
7485
7486 * gdb.base/pointers.exp: Add test.
7487 * gdb.base/pointers.c (k, S): New typedefs.
7488 (instance): New global.
7489
c2226152
AS
74902008-10-30 Andreas Schwab <schwab@suse.de>
7491
7492 * gdb.base/args.exp: Add tests for newlines.
7493
462f405c
JB
74942008-10-30 Joel Brobecker <brobecker@adacore.com>
7495
7496 gdb.base/foll-exec.exp: Update the expected output of a couple
7497 of "info breakpoints" tests.
7498
79a45b7d
TT
74992008-10-28 Tom Tromey <tromey@redhat.com>
7500
7501 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7502
adc13a14
PA
75032008-10-24 Pedro Alves <pedro@codesourcery.com>
7504
7505 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7506 gdb_start_cmd.
7507 Use runto_main before any test that requires execution.
7508
252fbfc8
PA
75092008-10-23 Pedro Alves <pedro@codesourcery.com>
7510
7511 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7512 instead of SIGINT.
7513
28148e3d
JB
75142008-10-22 Joel Brobecker <brobecker@adacore.com>
7515
7516 * gdb.base/completion.exp: Update expected output following
7517 the addition of the "info tasks" command.
7518
c209f847
TT
75192008-10-22 Tom Tromey <tromey@redhat.com>
7520
7521 * gdb.base/exprs.exp (test_expr): Add test for string
7522 concatenation.
7523
f177e350
PA
75242008-10-19 Pedro Alves <pedro@codesourcery.com>
7525
7526 * configure.ac: Output gdb.python/Makefile.
7527 * configure: Regenerate.
7528 * gdb.python/Makefile.in: New.
7529
cce89356
JB
75302008-10-16 Joel Brobecker <brobecker@adacore.com>
7531
7532 * gdb.base/foll-fork.exp: Adjust the expected output to match
7533 the new description for fork/vfork catchpoints in the "info
7534 breakpoints" output.
7535
176d289d
TJB
75362008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7537
7538 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7539
a08702d6
TJB
75402008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7541
7542 * gdb.python/python-value.c: New file.
7543 * gdb.python/python-value.exp: New file.
7544
1c5cfe86
PA
75452008-10-15 Pedro Alves <pedro@codesourcery.com>
7546
7547 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7548
5a98ad69
DP
75492008-10-15 Denis Pilat <denis.pilat@st.com>
7550
41702f1b 7551 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 7552
dcb1a1e2
TT
75532008-10-09 Tom Tromey <tromey@redhat.com>
7554
7555 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7556 'fprintf' and 'stderr'.
7557
9124fe48
JB
75582008-10-07 Joel Brobecker <brobecker@adacore.com>
7559
7560 * gdb.ada/ref_tick_size.exp: New testcase.
7561
45452591
DE
75622008-10-06 Doug Evans <dje@google.com>
7563
7564 * gdb.dwarf2/dw2-cu-size.exp: New file.
7565 * gdb.dwarf2/dw2-cu-size.S: New file.
7566
7567 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7568 .Ltype_int for clarity.
7569
4fc5b208
PP
75702008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7571
7572 PR gdb/2384:
7573 * gdb.cp/gdb2384.exp: Extended to test more cases.
7574 * gdb.cp/gdb2384.cc: Likewise.
7575 * gdb.cp/gdb2384-base.h: Likewise.
7576 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 7577
d78df370
JK
75782008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7579
7580 * gdb.base/maint.exp (maint print type): Remove printing
7581 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7582
9a044a89
TT
75832008-09-30 Tom Tromey <tromey@redhat.com>
7584
7585 * gdb.base/macscp.exp: Add completion tests.
7586 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7587 (TWENTY_THREE): Likewise.
7588 (FORTY_EIGHT): Likewise.
7589
506800a9
TT
75902008-09-30 Tom Tromey <tromey@redhat.com>
7591
7592 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7593 everywhere.
7594 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7595
1a6f01b5
JK
75962008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7597
7598 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7599 testcase is derived from. Fix racy dependency on an expected PID
7600 number. No longer support the testcase on Linux kernel 2.4.x.
7601
2fae03e8
TT
76022008-09-27 Tom Tromey <tromey@redhat.com>
7603
7604 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7605 and varargs.
7606
1ad15515
PA
76072008-09-22 Pedro Alves <pedro@codesourcery.com>
7608
7609 * lib/mi-support.exp (mi_expect_interrupt): New.
7610 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7611 from gdb.mi/mi-nonstop.exp.
7612 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7613 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7614 lib/mi-support.exp.
7615 Use mi_check_thread_states throughout. Avoid ".*" and do not
7616 require an anchor after -exec-run.
7617
d0b76dc6
DJ
76182008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7619
7620 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7621 stop is pending. Avoid ".*" when two stops are pending.
7622 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7623 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7624 newlines in fullnames.
7625 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7626 (mi_expect_stop): Update comments. Only anchor in sync mode.
7627 Do not match newlines.
7628 (mi_send_resuming_command_raw): Always return status.
7629 (mi_get_stop_line): Do not match more than one line by accident.
7630 Only anchor in sync mode.
7631 (mi_run_inline_test): If -exec-next fails, give up.
7632
9990c830
UW
76332008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7634
7635 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7636 on SPU.
7637
ebcf6f00
JB
76382008-09-10 Joel Brobecker <brobecker@adacore.com>
7639
7640 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7641
b6db24e5
JB
76422008-09-10 Joel Brobecker <brobecker@adacore.com>
7643
7644 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7645 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7646 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7647 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7648 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7649 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7650 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7651 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7652 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7653 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7654 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7655 Include the "= " sequence in the expected output of print tests.
7656
2bf448e0
JB
76572008-09-10 Joel Brobecker <brobecker@adacore.com>
7658
7659 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7660 description for boolean types.
7661
d51fd4c8
PA
76622008-09-09 Pedro Alves <pedro@codesourcery.com>
7663
7664 * gdb.base/hook-stop-continue.c: New.
7665 * gdb.base/hook-stop-continue.exp: New.
7666
694182d2
DJ
76672008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7668
7669 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7670
3b8a7fc0
JG
76712008-09-08 Jerome Guitton <guitton@adacore.com>
7672
7673 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7674 (stack_check_probe_2, stack_check_probe_loop_1)
7675 (stack_check_probe_loop_2): New functions.
7676 (main): Add call to these new functions.
7677 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7678 functions, check that the breakpoint is inserted at the appropriate
7679 location.
7680 (insert_breakpoint): Slightly refine this procedure so that it can
7681 be called several times in the test.
7682
96cc0ae8
JG
76832008-09-08 Jerome Guitton <guitton@adacore.com>
7684
7685 * gdb.base/stack-checking.c: New file.
7686 * gdb.base/stack-checking.exp: New file.
7687
1f08b409
TJB
76882008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7689
7690 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7691 * gdb.arch/altivec-regs.exp: Likewise.
7692 * gdb.arch/vsx-regs.exp: Likewise.
7693
3099e1c4
TJB
76942008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7695
7696 * gdb.arch/ppc-fp.exp: New file.
7697 * gdb.arch/ppc-fp.c: New file.
7698
cc69bfc1
PP
76992008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7700
7701 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7702 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 7703
b02a33db
MS
77042008-09-04 Michael Snyder <msnyder@vmware.com>
7705
7706 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7707 as "at" (for non-debug functions such as _start).
7708
2992cbe0
UW
77092008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7710
7711 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7712 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7713 software watchpoints.
7714 * gdb.base/watch_thread_num.exp: Likewise.
7715
514f746b
AR
77162008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7717
7718 * gdb.arch/i386-bp_permanent.exp: New test.
7719
876cecd0
TT
77202008-08-24 Tom Tromey <tromey@redhat.com>
7721
7722 * gdb.base/maint.exp: Update "maint print type".
7723
80f73d71
VP
77242008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7725
7726 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7727 support. Adjust the order of "*running" notifications.
7728 * gdb.mi/non-stop.c: Don't cast from int to void* and
7729 back.
7730
d9c78d7d
MK
77312008-08-20 Mark Kettenis <kettenis@gnu.org>
7732
7733 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7734 expect to find it in the "info frame" output.
7735
97a2d1d3
DJ
77362008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7737
7738 * gdb.base/interp.exp: Always consume both prompts.
7739
b96e2927
PA
77402008-08-20 Pedro Alves <pedro@codesourcery.com>
7741
7742 * gdb.base/pending.exp: Test pending breakpoints without symbols
7743 loaded.
7744
8cf6e61a
VP
77452008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7746
7747 * lib/mi-support.exp (mi_expect_stop): Produce
7748 more details on failures.
7749 * gdb.mi/mi-nonstop.exp: New.
7750 * gdb.mi/non-stop.c: New.
7751
c6ebd6cf
VP
77522008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7753
a9c64011
AS
7754 * gdb.mi/mi-async.exp: Use 'set target-async'.
7755 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 7756
46a9b8ed
DJ
77572008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7758
7759 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7760
44feb3ce
TT
77612008-08-17 Tom Tromey <tromey@redhat.com>
7762
7763 * gdb.base/help.exp (help catch): Rewrite.
7764
311a4e6b
TJB
77652008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7766
7767 * gdb.base/define.exp: Test indented command documentation.
7768 * gdb.python/python.exp: Test indented multi-line command.
7769
604c2f83
LM
77702008-08-15 Luis Machado <luisgpm@br.ibm.com>
7771
7772 * testsuite/gdb.arch/vsx-regs.c: New source file.
7773 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7774 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7775
886a217c
TT
77762008-08-14 Tom Tromey <tromey@redhat.com>
7777
7778 * gdb.base/macscp.exp: Add regression test for "macro define" or
7779 "macro undef" with no arguments.
7780
c814a4f3
PP
77812008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7782
7783 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 7784
12ab8a60
UW
77852008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7786
7787 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7788
d57a3c85
TJB
77892008-08-06 Tom Tromey <tromey@redhat.com>
7790
7791 * gdb.python/python.exp: New file.
7792
c7b778ff
JK
77932008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7794
7795 Fix for PR gdb/1543.
7796 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7797 $LOCATION.
7798 (location): New variable.
7799 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7800 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7801 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7802 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7803 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7804 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7805 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7806 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7807 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7808 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7809 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7810 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7811 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7812 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7813 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7814 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7815 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7816 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7817 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7818 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7819 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7820 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7821 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7822 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7823 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7824 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7825 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7826 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7827 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7828 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7829 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7830 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7831 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7832 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7833 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7834 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7835 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7836 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7837 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7838 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7839 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7840 gdb.base/type-opaque.exp, gdb.base/until.exp,
7841 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7842 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7843 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7844 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7845 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7846 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7847 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7848 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7849 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7850 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7851 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7852 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7853 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7854 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7855 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7856 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7857 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7858 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7859 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7860 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7861 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7862 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7863 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7864 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7865 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7866 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7867 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7868 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7869 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7870 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7871 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7872 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7873 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7874 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7875 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7876 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7877 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7878 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7879 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7880 to bug-gdb@prep.ai.mit.edu .
7881
5e06a3d1
VP
78822008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7883
7884 * lib/mi-support.exp (mi_load_shlibs): New.
7885 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7886
9d81d21b
VP
78872008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7888
7889 * lib/mi-support.exp (get_mi_thread_list)
7890 (check_mi_and_console_threads): New, moved from ...
7891 * gdb.mi/mi-pthread.exp: ...here.
7892 * gdb.mi/gdb669.exp (get_mi_thread_list)
7893 (check_mi_and_console_threads): Delete.
7894 * gdb.mi/mi2-pthread.exp: Likewise.
7895
bae98fe0
TT
78962008-07-28 Tom Tromey <tromey@redhat.com>
7897
7898 * Makefile.in (just-check): Remove. Move body to...
7899 (check): ... here.
7900
57380f4e
DJ
79012008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7902
7903 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7904 Add a test for duplicated SIGINTs.
7905
e09490f1
DJ
79062008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7907
7908 * gdb.threads/schedlock.exp (get_args): Update to work for any
7909 value of NUM.
7910 (Top level): Report the number of threads that did not resume.
7911
6387b45f
DJ
79122008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7913
7914 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7915
62f64ff2
DJ
79162008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7917
7918 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7919 non-MI prompt.
7920
fa8de41e
TT
79212008-07-26 Tom Tromey <tromey@redhat.com>
7922
7923 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7924 (function_struct, function_struct_ptr): New globals.
7925 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7926 function pointer in a struct.
7927
ccb3ac8a
TT
79282008-07-26 Tom Tromey <tromey@redhat.com>
7929
7930 * gdb.base/macscp.exp: Add test for macro lexing bug.
7931
d7d9f01e
TT
79322008-07-18 Tom Tromey <tromey@redhat.com>
7933
7934 * gdb.base/macscp.exp: Add macro tests.
7935
9bf07184
PP
79362008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7937
7938 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7939
becf6477
PP
79402008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7941
7942 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7943
0709f7d3
PP
79442008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7945
7946 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 7947
7093c834
PP
79482008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7949
7950 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 7951
b432ffe3
JK
79522008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7953
7954 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7955
b1a268e5
VP
79562008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7957
7958 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7959
e2995f8e
KB
79602008-07-11 Kevin Buettner <kevinb@redhat.com>
7961
7962 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7963 of regexp to account for changes made to GDB in the printing of
7964 byte vectors.
7965
14032a66
TT
79662008-07-11 Tom Tromey <tromey@redhat.com>
7967
7968 * gdb.base/completion.exp: Add 'help' completion test.
7969
981505ef
JK
79702008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7971
7972 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7973
10568435
JK
79742008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7975
7976 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7977
4487aabf
PA
79782008-07-09 Pedro Alves <pedro@codesourcery.com>
7979
7980 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7981
a4a9b1c4
PA
79822008-07-09 Pedro Alves <pedro@codesourcery.com>
7983
7984 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7985
3c3185ac
JK
79862008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7987
7988 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7989
7ebd49dc
VP
79902008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7991
7992 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7993 previous commit. Add a comment.
7994
84e46146
PA
79952008-06-28 Pedro Alves <pedro@codesourcery.com>
7996
7997 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7998
0f8d4a2f
VP
79992008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8000
8001 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
8002
f747e0ce
PA
80032008-06-27 Pedro Alves <pedro@codesourcery.com>
8004
8005 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
8006 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
8007 compiling an executable, link in an object that forces unbuffered
8008 output.
8009 * lib/set_unbuffered_mode.c: New file.
8010
734a5c36
JK
80112008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8012
8013 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
8014
a2840c35
VP
80152008-06-25 Vladimir Prus <vladimir@codesourcery.com>
8016
a9c64011
AS
8017 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
8018 mi_expect_stop.
8019 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
8020 Demand that *running is output.
8021 (detect_async): Perform checking every time.
8022 (mi_send_resuming_command): Extract everything into...
8023 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
8024 (mi_expect_stop): Don't accept any output before *stopped.
8025
6ae37fef
VP
80262008-06-13 Vladimir Prus <vladimir@codesourcery.com>
8027
8028 Robustify mi-simplerun.
a9c64011
AS
8029 * gdb.mi/basics.c (main): Add a call to sleep.
8030 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
8031 * gdb.mi/mi2-cli.exp: Likewise.
8032 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 8033
b4aa76f0 80342008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
8035
8036 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
8037
e1ac3328
VP
80382008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8039
a9c64011
AS
8040 * gdb.mi/mi-console.exp: Adjust.
8041 * gdb.mi/mi-syn-frame.exp: Adjust.
8042 * gdb.mi/mi2-console.exp: Adjust.
8043 * gdb.mi/mi2-syn-frame.exp: Adjust.
8044 * lib/mi-support.exp (mi_run_cmd): Adjust.
8045 (mi_send_resuming_command): Adjust.
e1ac3328 8046
f7f9a841
VP
80472008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8048
8049 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
8050 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
8051 testing of stopped.
8052 * gdb.mi/mi2-syn-frame.exp: Likewise.
8053 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
8054 (async, detect_async): New.
8055 (mi_expect_stop, mi_continue_to_line): Adjust expectation
8056 depending on if we're running in sync or async mode.
f7f9a841 8057
37cd5d19
TT
80582008-06-09 Tom Tromey <tromey@redhat.com>
8059
8060 * gdb.base/completion.exp: New tests for field name completion
8061 with spaces, and field name completion with '->'.
8062
65d12d83
TT
80632008-06-06 Tom Tromey <tromey@redhat.com>
8064
8065 * gdb.base/break1.c (struct some_struct): New struct.
8066 (values): New global.
8067 * gdb.base/completion.exp: Add field name completion test.
8068
ebfe2e3f
PP
80692008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8070
8071 * gdb.cp/call-c.exp: Test for incorrect handling of reference
8072 to pointer.
8073 * gdb.cp/call-c.cc: Likewise.
8074
bcf6fc3a
NR
80752008-06-06 Nick Roberts <nickrob@snap.net.nz>
8076
8077 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
8078 annotation.
8079
49fd4a42 80802008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 8081 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
8082
8083 * gdb.threads/execl.c, gdb.threads/execl1.c,
8084 gdb.threads/execl.exp: New tests.
a9c64011 8085
8a34ac3f
AR
80862008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
8087 Daniel Jacobowitz <dan@codesourcery.com>
8088
8089 * gdb.cp/exception.exp: Activate test, make it work with pending
8090 catchpoints.
8091
86ae69ef
JK
80922008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8093
8094 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
8095
f7f9ae2c
VP
80962008-05-28 Vladimir Prus <vladimir@codesourcery.com>
8097
a9c64011
AS
8098 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
8099 now printed.
8100 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 8101
2a2d4dc3
AS
81022008-05-27 Andreas Schwab <schwab@suse.de>
8103
8104 * gdb.base/frame-args.exp: Handle arguments that are optimized
8105 out.
8106
5099e4d9
LM
81072008-05-26 Luis Machado <luisgpm@br.ibm.com>
8108
8109 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
8110 quiet for ppc32 and group options into a single variable.
8111
d9c36a91
JB
81122008-05-23 Joel Brobecker <brobecker@adacore.com>
8113
8114 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
8115 of zero-size elements.
8116 * gdb.ada/null_array.exp: Test printing this new array.
8117
103a8671
JK
81182008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8119
8120 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
8121
07a4cc1a 81222008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
8123
8124 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
8125 of the "finish" command.
8126
55f996a7
NR
81272008-05-21 Nick Roberts <nickrob@snap.net.nz>
8128
8129 * gdb.base/annota1.exp: Test for new annotation.
8130
907fc202
UW
81312008-05-16 Pedro Alves <pedro@codesourcery.com>
8132
8133 * gdb.base/fixsection.exp: New file.
8134 * gdb.base/fixsection0.c: New file.
8135 * gdb.base/fixsection1.c: New file.
8136
e8f97270
UW
81372008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8138
8139 * gdb.base/annota1.exp: Accept printf@... in place of printf.
8140 * gdb.base/annota3.exp: Likewise.
8141
ac0bb574
NF
81422008-05-13 Nathan Froyd <froydnj@codesourcery.com>
8143
8144 * gdb.base/watch_thread_num.exp: Don't run tests that require
8145 watchpoints if the target doesn't support them.
8146
6fadd07a
DE
81472008-05-12 Doug Evans <dje@google.com>
8148
8149 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
8150
6e9a4a30
JB
81512008-05-09 Joel Brobecker <brobecker@adacore.com>
8152
8153 * gdb.ada/assign_1.exp: New testcase.
8154
08388c79
DE
81552008-05-09 Doug Evans <dje@google.com>
8156
a3c83fae
DE
8157 * gdb.base/find.exp: New file.
8158 * gdb.base/find.c: New file.
08388c79 8159
bd5ddfe8
DJ
81602008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
8161
8162 * gdb.base/commands.exp (watchpoint_command_test): Handle
8163 gdb,no_hardware_watchpoints.
8164 * gdb.base/float.exp: Allow ARM targets without floating point.
8165 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
8166
b5dd68e2 81672008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 8168 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
8169
8170 * gdb.ada/lang_switch: New test program.
8171 * gdb.ada/lang_switch.exp: New testcase.
8172
382d13d1
DE
81732008-05-05 Doug Evans <dje@google.com>
8174
8175 * gdb.base/help.exp (disassemble): Update expected help text.
8176
9dd789d0
PA
81772008-05-04 Pedro Alves <pedro@codesourcery.com>
8178
8179 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
8180
611c83ae
PA
81812008-05-04 Pedro Alves <pedro@codesourcery.com>
8182
8183 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
8184 different times.
8185
ff013f42
JK
81862008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8187
8188 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
8189 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
8190 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
8191 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
8192
96dff6a2
VP
81932008-05-04 Vladimir Prus <vladimir@codesourcery.com>
8194
8195 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
8196 notification to appear.
8197
55cd6f92
DJ
81982008-05-04 Daniel Jacobowitz <dan@debian.org>
8199
8200 * gdb.base/fullname.c: New file.
8201 * gdb.base/fullname.exp: New file.
8202 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
8203
d705c43c
PA
82042008-05-03 Pedro Alves <pedro@codesourcery.com>
8205
8206 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
8207 expressions with macros.
8208
333222e1
JK
82092008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8210
8211 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
8212
5ac01682
DJ
82132008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
8214
8215 * gdb.base/completion.exp: Handle lack of other symbols beginning
8216 with "a".
8217
8218 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
8219
237fc4c9
PA
82202008-05-02 Jim Blandy <jimb@codesourcery.com>
8221
8222 * gdb.asm/asmsrc1.s: Add scratch space.
8223
ed5e9466
DJ
82242008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8225 Daniel Jacobowitz <dan@codesourcery.com>
8226
8227 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
8228 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
8229 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
8230
b39cc962
DJ
82312007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
8232
8233 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
8234
36d520f5
JB
82352008-05-01 Joel Brobecker <brobecker@adacore.com>
8236
8237 * gdb.base/info-target.exp: New testcase.
8238
8d4e3071
DJ
82392008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8240
8241 * gdb.cp/hang.exp: Use .cc instead of .C.
8242 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
8243 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
8244
6f3f3097
DJ
82452008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8246
8247 * gdb.base/gdb1250.exp: Remove perror.
8248 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
8249
5550a914
PA
82502008-04-30 Pedro Alves <pedro@codesourcery.com>
8251
8252 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
8253 .2byte.
8254
d848e687
DJ
82552008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
8256
8257 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
8258 (maybe_kfail): New.
8259
93b5768b
PA
82602008-04-25 Pedro Alves <pedro@codesourcery.com>
8261
8262 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
8263
721c02de
VP
82642008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8265
a9c64011
AS
8266 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
8267 * gdb.mi/mi2-syn-frame.exp: Likewise.
8268 * lib/mi-support.exp: Likewise.
721c02de 8269
74960c60
VP
82702008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8271
8272 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
8273 to specify regexp for the location to stop at.
8274 * gdb.base/break-always.c: New.
8275 * gdb.base/break-always.exp: New.
8276
d24317b4
VP
82772008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8278
8279 * lib/mi-support.exp (mi_runto_helper): Adjust
8280 for the original-location field.
8281 (mi_create_breakpoint, mi_list_breakpoints): New.
8282 * gdb.mi/mi-break.exp: Adjust.
8283 * gdb.mi/mi2-break.exp: Adjust.
8284 * gdb.mi/mi-pending.exp: Adjust.
8285 * gdb.mi/mi-simplerun.exp: Adjust.
8286 * gdb.mi/mi2-simplerun.exp: Adjust.
8287 * gdb.mi/mi-syn-frame.exp: Adjust.
8288 * gdb.mi/mi2-syn-frame.exp: Adjust.
8289 * gdb.mi/mi-until.exp: Adjust.
8290 * gdb.mi/mi2-until.exp: Adjust.
8291 * gdb.mi/mi-var-display.exp: Adjust.
8292 * gdb.mi/mi2-var-display.exp: Adjust.
8293 * gdb.mi/mi-watch.exp: Adjust.
8294 * gdb.mi/mi2-watch.exp: Adjust.
8295
fdc59709 82962008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 8297
a9c64011
AS
8298 * aclocal.m4: Add override.m4.
8299 * configure: Regenerate.
fdc59709 8300
8e91f023
VP
83012008-04-19 Vladimir Prus <vladimir@codesourcery.com>
8302
8303 * gdb.mi/var-cmd.c (do_at_tests): Verify that
8304 '-var-update --all-values' reports new value even the type
8305 of a variable object has changed.
8306
233a11ab
CS
83072008-04-18 Craig Silverstein <csilvers@google.com>
8308
8309 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
8310 files.
d24317b4 8311
9c1137ad
JB
83122008-04-18 Joel Brobecker <brobecker@adacore.com>
8313
8314 * gdb.ada/atomic_enum: New test program.
8315 * gdb.ada/atomic_enum.exp: New testcase.
8316
66d0bbc7
DE
83172008-04-17 Doug Evans <dje@google.com>
8318
8319 * gdb.opt/Makefile.in: Fix whitespace.
8320
100906b0
UW
83212008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
8322
8323 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
8324
4584e32e
DE
83252008-04-17 Doug Evans <dje@google.com>
8326
8327 * gdb.base/hashline1.exp: New testcase.
8328 * gdb.base/hashline2.exp: New testcase.
8329 * gdb.base/hashline2.exp: New testcase.
8330
0a320680
PA
83312008-04-17 Pedro Alves <pedro@codesourcery.com>
8332
8333 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
8334
18ac113b
AR
83352008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
8336
8337 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
8338 temporary breakpoint to match "Temporary breakpoint".
8339 * gdb.base/break.exp (delete_breakpoints): Likewise.
8340 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
8341 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
8342 * gdb.base/display.exp: Likewise.
8343 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
8344 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
8345 * gdb.base/restore.exp (restore_tests): Likewise.
8346 * gdb.base/sepdebug.exp: Likewise.
8347 * gdb.base/watchpoint.exp: Likewise.
8348 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
8349 * gdb.mi/mi-pending.exp: Likewise.
8350 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
8351 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
8352 * gdb.mi/mi-var-cmd.exp: Likewise.
8353 * gdb.mi/mi-var-display.exp: Likewise.
8354 * gdb.mi/mi2-cli.exp: Likewise.
8355 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
8356 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
8357 * gdb.mi/mi2-var-display.exp: Likewise.
8358 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
8359 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
8360 new "disp" field.
a9c64011 8361 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
8362 reason. This is to support fix for PR2424.
8363
add38693
JK
83642008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8365
8366 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
8367
fcacd99f
VP
83682008-04-13 Vladimir Prus <vladimir@codesourcery.com>
8369
8370 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 8371 field. Add more floating varobj tests.
fcacd99f 8372 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
8373 field.
8374 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
8375 (main): Call do_at_tests.
8376 * lib/mi-support.exp (mi_create_floating_varobj)
8377 (mi_varobj_update_with_type_change): New.
fcacd99f 8378
de051565
MK
83792008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
8380
8381 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
8382 option of -var-evaluate-expression.
8383 * gdb.mi/mi2-var-display.exp: Likewise.
8384
dbc52822
VP
83852008-04-07 Vladimir Prus <vladimir@codesourcery.com>
8386
8387 Introduce test setup helpers.
a9c64011
AS
8388 * lib/gdb.exp (build_executable, clean_restart)
8389 (prepare_for_testing): New.
8390 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
8391 * gdb.base/return.exp: Likewise.
8392 * gdb.base/ending-run.exp: Likewise.
dbc52822 8393
473591da
NR
83942008-04-07 Nick Roberts <nickrob@snap.net.nz>
8395
8396 * gdb.mi/mi-async.exp: New test for asynchronous Machine
8397 Interface (MI) responses.
8398
2b2d9e11
VP
83992008-04-06 Vladimir Prus <vladimir@codesourcery.com>
8400
a9c64011
AS
8401 * gdb.cp/breakpoint.cc: New code to test conditions involving
8402 member variables.
8403 * gdb.cp/breakpoint.exp: Test condition involving member
8404 variables.
2b2d9e11 8405
bb378428
VP
84062008-04-05 Vladimir Prus <vladimir@codesourcery.com>
8407
8408 * lib/mi-support.exp (mi_expect_stop): New.
8409 (mi_run_cmd): Change the
8410 token. Use mi_send_resuming_command, use
8411 mi_expect_stop.
8412 (mi_execute_to_helper): Rename to mi_execute_to.
8413 (mi_send_resuming_command): Add more error patterns.
8414 (mi_wait_for_stop): Renamed to...
8415 (mi_get_stop_line): ...this.
8416 (mi_run_inline_test): Adjust.
8417
8418 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
8419 * gdb.mi/mi-console.exp: Likewise.
8420 * gdb.mi/mi-pending.exp: Likewise.
8421 * gdb.mi/mi-simplerun.exp: Likewise.
8422 * gdb.mi/mi-stack.exp: Likewise.
8423 * gdb.mi/mi-stepi.exp: Likewise.
8424 * gdb.mi/mi-syn-frame.exp: Add comment.
8425 * gdb.mi/mi-until.exp: Likewise.
8426 * gdb.mi/mi-var-display.exp: Likewise.
8427 * gdb.mi/mi-watch.exp: Likewise.
8428 * gdb.mi/mi2-cli.exp: Likewise.
8429 * gdb.mi/mi2-console.exp: Likewise.
8430 * gdb.mi/mi2-simplerun.exp: Likewise.
8431 * gdb.mi/mi2-stack.exp: Likewise.
8432 * gdb.mi/mi2-stepi.exp: Likewise.
8433 * gdb.mi/mi2-until.exp: Likewise.
8434 * gdb.mi/mi2-var-display.exp: Likewise.
8435 * gdb.mi/mi2-watch.exp: Likewise.
8436
62172bb9
UW
84372008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8438
8439 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8440
8441 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8442
a13e061a
PA
84432008-04-04 Pedro Alves <pedro@codesourcery.com>
8444
8445 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8446 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8447 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8448 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8449 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8450 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8451 expect an mi error duplicated in stderr.
8452
eae06beb
JB
84532008-04-03 Joel Brobecker <brobecker@adacore.com>
8454
8455 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8456 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8457 Add a couple of tests that verify the behavior when the new setting
8458 is set to "cancel" and "all".
8459 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8460 "ask" before we start the testing.
8461
79c6ced6
AR
84622008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8463
8464 * gdb.cp/casts.cc: Add class reference variables.
8465 * gdb.cp/casts.exp: New test cases for up/down casting references.
8466
6c2d1a6b
MK
84672008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8468
8469 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8470 instead of beginning to make an extra test pass.
8471 * gdb.mi/mi2-var-display.exp: Likewise.
8472
55b411d9
MR
84732008-03-31 Maciej W. Rozycki <macro@mips.com>
8474
8475 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8476
c6140da2
MD
84772008-03-31 Markus Deuling <deuling@de.ibm.com>
8478 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8479
8480 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8481 value. Add xfail for older kernels.
8482
79732189
AR
84832008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8484
8485 Bring mi-support in line with gdb.exp.
8486 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8487 (mi_gdb_start): New function.
8488
33c3676e
MR
84892008-03-28 Maciej W. Rozycki <macro@mips.com>
8490
8491 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8492
92e28119
VP
84932008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8494
8495 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8496 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 8497
9e8e3afe
VP
84982008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8499
8500 * lib/mi-support.exp (mi_create_varobj_checked): New.
8501 (mi_list_varobj_children): Allow to check for a
8502 value.
8503 (mi_list_array_varobj_children): New.
8504
8505 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8506 and mi_list_varobj_children, as opposed to hardcoding
8507 expected strings.
8508 * gdb.mi/gdb701.exp: Likewise.
8509 * gdb.mi/gdb792.exp: Likewise.
8510 * gdb.mi/mi-var-block.exp: Likewise.
8511 * gdb.mi/mi-var-cmd.exp: Likewise.
8512 * gdb.mi/mi-var-invalidate.exp: Likewise.
8513 * gdb.mi/mi2-var-block.exp: Likewise.
8514 * gdb.mi/mi2-var-child.exp: Likewise.
8515 * gdb.mi/mi2-var-cmd.exp: Likewise.
8516 * gdb.mi/mi2-var-display.exp: Likewise.
8517
9df50351
JK
85182008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8519
8520 Fix random false FAILs on i386.
8521 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8522
31e5d73a
DJ
85232008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8524
8525 PR gdb/544
8526 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8527
12f4afab
DJ
85282008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8529
8530 PR gdb/544
8531 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8532
b562a0cb
DJ
85332008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8534
8535 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8536 fixed PR gdb/544.
8537
17faa917
DJ
85382008-03-21 Pedro Alves <pedro@codesourcery.com>
8539
8540 * gdb.threads/fork-child-threads.exp: Test next over fork.
8541
6214f497
DJ
85422008-03-21 Chris Demetriou <cgd@google.com>
8543
8544 * gdb.base/break.exp (rbreak junk): New test for rbreak
8545 "Junk at end of arguments" issue.
8546
63092375
DJ
85472008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8548
8549 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8550 *& to work on created array elements.
8551 (Top level): Test print $pc with a file. Test string operations
8552 without a target.
8553 * gdb.base/ptype.exp: Do not expect *& to work on created array
8554 elements.
8555
b21991b0
DJ
85562008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8557
8558 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8559 gdb.threads/staticthreads.exp: Update exit query.
8560
c4b347c7
SL
85612008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8562
8563 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8564
fa4727a6
DJ
85652008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8566
8567 * gdb.base/watchpoint.c (global_ptr, func4): New.
8568 (main): Call func4.
8569 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8570 (test_inaccessible_watchpoint): New.
8571
2f34202f
MR
85722008-02-29 Maciej W. Rozycki <macro@mips.com>
8573
8574 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8575 select the largest.
8576
0d6ba1b1
DJ
85772008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8578
8579 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8580 frames-invalid annotations.
8581
e691325a
PM
85822008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8583
a9c64011 8584 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 8585
f85b5ecc
DE
85862008-02-27 Doug Evans <dje@google.com>
8587
8588 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8589 for bug 1738.
8590 (breakpoint_to_handler_entry): Ditto.
8591
b40e7bf3
JB
85922008-02-27 Joel Brobecker <brobecker@adacore.com>
8593
8594 * gdb.base/ending-run.exp: Use the first line of code inside
8595 function body to test breakpoints.
8596 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8597 location where the breakpoint is inserted when using the line
8598 where a function is declared. Fix typo in the description of
8599 one of the tests.
8600 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8601
2faca73a
PM
86022008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8603
8604 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 8605 tests.
2faca73a 8606
6f439c36
PM
86072008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8608
8609 * gdb.base/args.exp: avoid same output for tests
8610 with single quotes.
8611
54e52265
VP
86122008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8613
a9c64011
AS
8614 * gdb.base/annota1.exp: Adjust for 'info break'
8615 format changes.
8616 * gdb.base/annota3.exp: Likewise.
8617 * gdb.base/break.exp: Likewise.
8618 * gdb.base/condbreak.exp: Likewise.
8619 * gdb.base/pending.exp: Likewise.
8620 * gdb.base/sepdebug.exp: Likewise.
8621 * gdb.base/unload.exp: Likewise.
8622 * gdb.cp/ovldbreak.exp: Likewise.
8623 * gdb.mi/mi-pending.exp: Likewise.
54e52265 8624
897b09ca
DE
86252008-02-07 Doug Evans <dje@google.com>
8626
8627 * gdb.cp/mb-inline.exp: New.
8628 * gdb.cp/mb-inline.h: New.
8629 * gdb.cp/mb-inline1.cc: New.
8630 * gdb.cp/mb-inline2.cc: New.
8631
b1c32d35
PM
86322008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8633
8634 * gdb.pascal/floats.pas: New test program.
8635 * gdb.pascal/floats.exp: New testcase.
8636
1a4ca44a
TJB
86372008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8638
8639 * gdb.base/callfuncs.c (t_float_many_args): New function.
8640 (t_double_many_args): New function.
8641 * gdb.base/callfuncs.exp: Add tests for exceeding float
8642 and double parameters passed through the stack.
8643
439048e8
JB
86442008-02-05 Joel Brobecker <brobecker@adacore.com>
8645
8646 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8647 gdb.ada/complete/foo.adb: New files.
8648 * gdb.ada/complete.exp: New testcase.
8649
81fe8080
DE
86502008-02-03 Doug Evans <dje@google.com>
8651
301f0ecf
DE
8652 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8653
81fe8080
DE
8654 * gdb.cp/gdb2384.exp: New file.
8655 * gdb.cp/gdb2384.cc: New file.
8656 * gdb.cp/gdb2384-base.h: New file.
8657 * gdb.cp/gdb2384-base.cc: New file.
8658
4b071aec
DE
86592008-02-02 Doug Evans <dje@google.com>
8660
8661 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8662
61137ba6
JB
86632007-02-01 Joel Brobecker <brobecker@adacore.com>
8664
8665 * gdb.ada/sym_print_name: New test program.
8666 * gdb.ada/sym_print_name.exp: New testcase.
8667
86682007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
8669
8670 * gdb.ada/nested/hello.adb: New file.
8671 * gdb.ada/nested.exp: New testcase.
8672 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8673
98deb0da
VP
86742008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8675
8676 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
8677 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8678 don't cause future evaluations of function to report
8679 creation of internal breakpoints.
98deb0da 8680
723a2275
VP
86812008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8682
8683 * gdb.mi/mi-break.exp (test_error): New.
8684 Call it.
8685
fb546a2f
LM
86862008-01-31 Luis Machado <luisgpm@br.ibm.com>
8687
8688 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8689 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8690
2d8fd90a
PM
86912008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8692
8693 * gdb.pascal/integers.pas: New test program.
8694 * gdb.pascal/integers.exp: New testcase.
8695
a7fa0ded
PM
86962008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8697
8698 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8699
5e1a1926
TJB
87002008-01-30 Luis Machado <luisgpm@br.ibm.com>
8701
8702 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8703 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8704
8d04f9f0
JB
87052008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8706
8707 * gdb.ada/formatted_ref: New test program.
8708 * gdb.ada/formatted_ref.exp: New testcase.
8709
8710 * gdb.cp/formatted-ref.cc: New file.
8711 * gdb.cp/formatted-ref.exp: New testcase.
8712
ce75a98f
JB
87132008-01-30 Joel Brobecker <brobecker@adacore.com>
8714
8715 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8716
e835f6bf
NR
87172008-01-30 Nick Roberts <nickrob@snap.net.nz>
8718
8719 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8720 (test_file_list_exec_source_file): Update to new macro-info field.
8721
d118ef87
PH
87222008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8723
8724 * gdb.ada/exprs: New test program.
8725 * gdb.ada/exprs.exp: New testcase.
8726
7d35ab09
TJB
87272008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8728
8729 * dfp-test.c (DELTA, DELTA_B): New definitions.
8730 (double_val1, double_val2, double_val3, double_val4, double_val5,
8731 double_val6, double_val7, double_val8, double_val9, double_val10,
8732 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8733 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8734 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8735 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8736 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8737 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8738 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8739 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8740 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8741 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8742 dec128_val16): New global variables.
8743 (decimal_dec128_align): New function.
8744 (decimal_mixed): Likewise.
8745 (decimal_many_args_dec32): Likewise.
8746 (decimal_many_args_dec64): Likewise.
8747 (decimal_many_args_dec128): Likewise.
8748 (decimal_many_args_mixed): Likewise.
8749 * dfp-test.exp: Add tests calling new inferior functions.
8750
2d717e4f
DJ
87512008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8752
8753 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8754 gdb.server/ext-run.exp: New files.
8755 * lib/gdbserver-support.exp (gdbserver_download): New.
8756 (gdbserver_start): New. Update gdbserver expected
8757 output.
8758 (gdbserver_spawn): Use them.
8759 (gdbserver_start_extended): New.
8760
e85a822c
DJ
87612008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8762
8763 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8764 Run on GNU/Linux.
8765 (do_exec_tests): Check for systems which do not support catchpoints.
8766 Do not match START.
8767 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8768 Run on GNU/Linux. Enable verbose output.
8769 (check_fork_catchpoints): New.
8770 (explicit_fork_child_follow, catch_fork_child_follow)
8771 (tcatch_fork_parent_follow): Update expected messages.
8772 (do_fork_tests): Use check_fork_catchpoints.
8773 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8774 Run on GNU/Linux. Enable verbose output.
8775 (check_vfork_catchpoints): New.
8776 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8777 expected messages.
8778 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8779
401ea829
JB
87802008-01-29 Jim Blandy <jimb@red-bean.com>
8781
8782 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8783 host' errors.
8784 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8785
aceaf3ad
JB
87862008-01-29 Jim Blandy <jimb@red-bean.com>
8787
8788 * gdb.threads/sigthread.c: Use barriers to ensure that
8789 child_thread and child_thread_two are always initialized before we
8790 start to use them.
8791
a5606eee
VP
87922008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8793
8794 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
8795 * gdb.base/watchpoint-solib.c: New.
8796 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 8797
c55a82bb
PM
87982008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8799
8800 * gdb.base/gdb1056.exp: Add unsigned integer test.
8801
0993fe05
DE
88022008-01-28 Doug Evans <dje@google.com>
8803
8804 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8805
4fe42e7f
JB
88062008-01-27 Jim Blandy <jimb@codesourcery.com>
8807
c7a69933
JB
8808 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8809
4fe42e7f
JB
8810 * gdb.base/expand-psymtabs.exp: Doc fix.
8811
5def8285
MK
88122008-01-26 Mark Kettenis <kettenis@gnu.org>
8813
8814 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8815
5313c911
NR
88162008-01-24 Nick Roberts <nickrob@snap.net.nz>
8817
a9c64011 8818 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
8819 -var-set-format.
8820
93815fbf
VP
88212008-01-23 Chris Demetriou <cgd@google.com>
8822
8823 * gdb.threads/thread_events.c: New testcase source file.
8824 * gdb.threads/thread_events.exp: New testcase expect file.
8825
467a88ee
NR
88262008-01-23 Nick Roberts <nickrob@snap.net.nz>
8827
8828 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
8829
8830 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
8831 -var-set-format.
8832
d8f82aba
DJ
88332008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8834 Vladimir Prus <vladimir@codesourcery.com>
8835
8836 * gdb.base/float.exp: Allow missing floating point for m68k and
8837 PowerPC.
8838
60c46647
VP
88392008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8840
8841 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
8842 ignore count.
8843 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8844 * gdb.mi/mi-cli.exp: Adjust.
8845 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 8846
c7dd36a1
PA
88472008-01-17 Pedro Alves <pedro@codesourcery.com>
8848
8849 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8850 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8851 with dummy_ptr's address.
8852 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8853 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8854 all targets.
8855 * gdb.mi/mi2-var-child.exp: Likewise.
8856
39d5313e
JB
88572008-01-09 Joel Brobecker <brobecker@adacore.com>
8858
8859 * gdb.ada/null_array: New test program.
8860 * gdb.ada/null_array.exp: New testcase.
8861
0aea4bf3
LM
88622008-01-09 Luis Machado <luisgpm@br.ibm.com>
8863
8864 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8865 with required float modifiers.
8866
0b354900
JB
88672008-01-08 Joel Brobecker <brobecker@adacore.com>
8868
8869 * gdb.ada/funcall_param: New test program.
8870 * gdb.ada/funcall_param.exp: New testcase.
8871
cdb7f5d4
JB
88722008-01-08 Joel Brobecker <brobecker@adacore.com>
8873
8874 * gdb.ada/arrayparam: New test program.
8875 * gdb.ada/arrayparam.exp: New testcase.
8876
88e2547f
JB
88772008-01-08 Joel Brobecker <brobecker@adacore.com>
8878
8879 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8880 landed. Should also fix random failures in the test following it.
8881
f6867ce0
TJB
88822008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8883
8884 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8885 for expressions with decimal float values.
8886 (test_dfp_conversions): New function to test casts to and from
8887 decimal float types.
8888 Call test_dfp_conversions.
8889 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8890 elements.
8891 (main): Initialize ds.float4 and ds.double8 elements.
8892 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8893 string to new error message.
8894 (d64_set_tests): Likewise.
8895 (d128_set_tests): Likewise.
8896 Add tests for expressions with decimal float variables. Add tests for
8897 conversions to and from decimal float types.
8898
f9c11282
JB
88992008-01-05 Joel Brobecker <brobecker@adacore.com>
8900
8901 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8902 * gdb.ada/packed_tagged.exp: New testcase.
8903
0ecbca72
JB
89042008-01-04 Joel Brobecker <brobecker@adacore.com>
8905
8906 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8907 gdb.ada/homonym/homonym_main.adb: New files.
8908 * gdb.ada/homonym.exp: New testcase.
8909
c18d3d89
JB
89102008-01-04 Joel Brobecker <brobecker@adacore.com>
8911
8912 * gdb.ada/packed_array.exp: Add testing of references to
8913 a packed array.
8914
ecc7085b
JB
89152008-01-04 Joel Brobecker <brobecker@adacore.com>
8916
8917 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8918 New files.
8919 * gdb.ada/type_coercion.exp: New testcase.
8920
c474c922
JB
89212008-01-04 Joel Brobecker <brobecker@adacore.com>
8922
8923 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8924 gdb.ada/tagged/foo.adb: New file.
8925 * gdb.ada/tagged.exp: New testcase.
8926
9005b927
JB
89272008-01-04 Joel Brobecker <brobecker@adacore.com>
8928
8929 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8930 gdb.ada/ptype_field/foo.adb: New files.
8931 * gdb.ada/ptype_field.exp: New testcase.
8932
1a6aaad8
JB
89332008-01-03 Joel Brobecker <brobecker@adacore.com>
8934
8935 * gdb.ada/print_pc.exp: New testcase.
8936
0ef22f53
JB
89372008-01-03 Joel Brobecker <brobecker@adacore.com>
8938
8939 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8940 gdb.ada/taft_type/p.adb: New files.
8941 * gdb.ada/taft_type.exp: New testcase.
8942
1689ecf8
JB
89432008-01-03 Joel Brobecker <brobecker@adacore.com>
8944
8945 * gdb.ada/array_bounds/bar.adb: New file.
8946 * gdb.ada/array_bounds.exp: New testcase.
8947
a4d0b9c3
JB
89482008-01-03 Joel Brobecker <brobecker@adacore.com>
8949
8950 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8951 gdb.ada/arrayptr/foo.adb: New files.
8952 * gdb.ada/arrayptr.exp: New testcase.
8953
a31ace00
JB
89542008-01-03 Joel Brobecker <brobecker@adacore.com>
8955
8956 * gdb.base/set-lang-auto.exp: New testcase.
8957
a97fced3
JB
89582008-01-03 Joel Brobecker <brobecker@adacore.com>
8959
8960 * gdb.ada/fun_addr/foo.adb: New file.
8961 * gdb.ada/fun_addr.exp: New testcase.
8962
ef29ce1a
JK
89632008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8964
8965 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8966 New files
8967
0fafefe3
JB
89682008-01-02 Joel Brobecker <brobecker@adacore.com>
8969
8970 * array_subscript_addr/p.adb: New file.
a9c64011 8971 * array_subscript_addr.exp: New testcase.
0fafefe3 8972
c4359f8d
JB
89732008-01-02 Joel Brobecker <brobecker@adacore.com>
8974
a9c64011 8975 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
8976 New files.
8977 * gdb.ada/str_cmp_ref.exp: New testcase.
8978
1aa1b15b
JB
89792008-01-01 Joel Brobecker <brobecker@adacore.com>
8980
8981 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8982 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 8983 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 8984
81c9b2cf
JB
89852008-01-01 Joel Brobecker <brobecker@adacore.com>
8986
8987 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8988 gdb.ada/ref_param/pck.ads: New files.
8989 * gdb.ada/ref_param.exp: New testcase.
8990
319e4674
JB
89912008-01-01 Joel Brobecker <brobecker@adacore.com>
8992
8993 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8994 gdb.ada/interface/foo.adb: New files.
8995 * gdb.ada/interface.exp: New testcase.
8996
ef682c56
JB
89972007-12-31 Jim Blandy <jimb@codesourcery.com>
8998
8999 * gdb.base/multi-forks.exp: Consume all output from child
9000 processes before proceeding to next test.
9001
f6f3eb6c
JB
90022007-12-29 Jim Blandy <jimb@codesourcery.com>
9003
9004 * configure: Regenerated.
9005
f652e42f
JB
90062007-12-27 Joel Brobecker <brobecker@adacore.com>
9007
9008 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
9009 gdb.ada/fixed_cmp/fixed.adb: New files.
9010 * gdb.ada/fixed_cmp.exp: New testcase.
9011
6943e596
JB
90122007-12-27 Joel Brobecker <brobecker@adacore.com>
9013
9014 * gdb.ada/boolean_expr.exp: New testcase.
9015
aad9a193
JB
90162007-12-26 Jim Blandy <jimb@codesourcery.com>
9017
9018 * gdb.base/multi-forks.exp: Doc fix.
9019
fb5f3683
JB
90202007-12-26 Joel Brobecker <brobecker@adacore.com>
9021
9022 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9023 * gdb.ada/char_param.exp: Do not compile our test program with
9024 -gnata, this is unnecessary.
9025 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
9026
384e4a9c
JB
90272007-12-24 Joel Brobecker <brobecker@adacore.com>
9028
9029 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
9030 gdb.ada/print_chars/foo.adb: New files.
9031 * gdb.ada/print_chars.exp: New testcase.
9032
01e044f7
JB
90332007-12-24 Joel Brobecker <brobecker@adacore.com>
9034
9035 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
9036 gdb.ada/char_param/foo.adb: New files.
9037 * gdb.ada/char_param.exp: New testcase.
9038
0ce17860
JB
90392007-12-22 Jim Blandy <jimb@codesourcery.com>
9040
9041 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
9042 hard-coding source line numbers into the test.
9043 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
9044 gdb_get_line_number to find.
9045
919809b9
JB
90462007-12-22 Joel Brobecker <brobecker@adacore.com>
9047
9048 * gdb.base/ptype.c (highest): New struct type.
9049 (the_highest): New variable of that type.
9050 (main): Add dummy assignment to a field of variable the_highest.
9051 * gdb.base/ptype.exp: Test type printing of our new variable.
9052
abc8a88d
PM
90532007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
9054
9055 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 9056 and record first explicitly generated thread number.
abc8a88d
PM
9057 Use that thread number for thread specific watchpoint test.
9058 Add iteration number to repetitive tests.
9059
5158f3e3
CES
90602007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9061 Jim Blandy <jimb@codesourcery.com>
9062
9063 * gdb.base/expand-psymtabs.c: New testcase
9064 source file.
9065 * gdb.base/expand-psymtabs.exp: New testcase
9066 expect file.
9067
37e4754d
LM
90682007-12-17 Luis Machado <luisgpm@br.ibm.com>
9069
9070 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
9071 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
9072
551e5d04
JB
90732007-12-17 Joel Brobecker <brobecker@adacore.com>
9074
9075 * gdb.ada/frame_args/foo.adb: New file.
9076 * gdb.ada/frame_args/pck.ads: New file.
9077 * gdb.ada/frame_args/pck.adb: New file.
9078 * gdb.ada/frame_args.exp: New testcase.
9079
a05ee097
JB
90802007-12-17 Joel Brobecker <brobecker@adacore.com>
9081
9082 * gdb.base/frame-args.c: New file.
9083 * gdb.base/frame-args.exp: New testcase.
9084
c162e8c9 90852007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 9086 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
9087
9088 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
9089
afe8ab22 90902007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9091
afe8ab22
VP
9092 * gdb.mi/mi-pending.exp: New.
9093 * gdb.mi/mi-pending.c: New.
9094 * gdb.mi/mi-pendshr.c: New.
9095
dfdfb3ca
JB
90962007-12-06 Jim Blandy <jimb@codesourcery.com>
9097
9098 * gdb.base/default.exp: Update expected output for 'info catch'.
9099
b7fca990
JK
91002007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9101
9102 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
9103 must be set to binary.
9104
6a1afc1e
PA
91052007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
9106
9107 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
9108
a6b151f1
DJ
91092007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
9110
9111 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
9112 gdb.mi/mi-file-transfer.exp: New.
9113
43039443
JK
91142007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9115
9116 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
9117
0ef2251b
MR
91182007-11-22 Maciej W. Rozycki <macro@mips.com>
9119
9120 * gdb.trace/backtrace.exp: Fix a typo.
9121 * gdb.trace/circ.exp: Likewise.
9122 * gdb.trace/collection.exp: Likewise.
9123 * gdb.trace/limits.exp: Likewise.
9124 * gdb.trace/report.exp: Likewise.
9125 * gdb.trace/tfind.exp: Likewise.
9126 * gdb.trace/while-dyn.exp: Likewise.
9127
5443631e
NR
91282007-11-21 Nick Roberts <nickrob@snap.net.nz>
9129
9130 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
9131 objects of pointers that can't be dereferenced are now
9132 "noneditable".
9133
a4ce5b0d
UW
91342007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9135
9136 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
9137 (target_cpu): Remove.
9138
d6e956e5
VP
91392007-10-15 Vladimir Prus <vladimir@codesourcery.com>
9140
9141 * gdb.base/ending-run.exp: Expect the list of cleared
9142 breakpoint to come in natural order, not the reversed one.
a9c64011 9143
214270ab
VP
91442007-11-07 Vladimir Prus <vladimir@codesourcery.com>
9145
9146 * gdb.mi/mi-var-child.c (do_child_deletion): New.
9147 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 9148
1a619819
LM
91492007-11-05 Luis Machado <luisgpm@br.ibm.com>
9150
9151 * gdb.base/printcmds.exp: New function
9152 test_printf_with_dfp.
9153
5b01a6fa
DE
91542007-11-02 Doug Evans <dje@google.com>
9155
9156 * gdb.disasm/t01_mov.s: Remove carriage returns.
9157 * gdb.disasm/t02_mova.s: Ditto.
9158 * gdb.disasm/t03_add.s: Ditto.
9159 * gdb.disasm/t04_sub.s: Ditto.
9160 * gdb.disasm/t05_cmp.s: Ditto.
9161 * gdb.disasm/t06_ari2.s: Ditto.
9162 * gdb.disasm/t07_ari3.s: Ditto.
9163 * gdb.disasm/t08_or.s: Ditto.
9164 * gdb.disasm/t09_xor.s: Ditto.
9165 * gdb.disasm/t10_and.s: Ditto.
9166 * gdb.disasm/t11_logs.s: Ditto.
9167 * gdb.disasm/t12_bit.s: Ditto.
9168 * gdb.disasm/t13_otr.s: Ditto.
9169
ec33ab7f
JK
91702007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9171
9172 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
9173
ae0d01ff
UW
91742007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9175
9176 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
9177 provide DFP support.
9178
55eddb0f
DJ
91792007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
9180
9181 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
9182 Test "set powerpc vector-abi". Skip auto-detection tests for old
9183 toolchains.
9184
7020f05c
PA
91852007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9186
9187 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
9188 with [string compare].
9189
84bc3db9
PA
91902007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9191
9192 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
9193 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
9194
5876dc88
LM
91952007-10-25 Luis Machado <luisgpm@br.ibm.com>
9196
9197 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
9198 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
9199 * gdb.opt/Makefile.in: New makefile.
9200 * Makefile.in: Create new directory "gdb.opt".
9201 * configure.ac: Add "gdb.opt" directory.
9202 * configure: Regenerated.
a9c64011 9203
c3ea9a14
DE
92042007-10-25 Doug Evans <dje@google.com>
9205
9206 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
9207 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
9208
a9c64011 92092007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
9210 Thiago Jung Bauermann <bauerman@br.ibm.com>
9211
9212 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
9213 Floating Point expressions.
9214 * gdb.base/dfp-test.exp: new file adding tests for Decimal
9215 Floating Point variables.
9216 * gdb.base/dfp-test.c: new file containing program with Decimal
9217 Floating variables, used by gdb.base/dfp-test.exp.
9218
62a24a2b
DJ
92192007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
9220
9221 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
9222
e7b1eae6
UW
92232007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9224
9225 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
9226 compiling test case with GCC.
9227 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
9228
c641edcc
UW
92292007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9230
9231 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9232 format changes.
9233
5e5ebfe6
MS
92342007-10-18 Michael Snyder <msnyder@specifix.com>
9235
9236 * gdb.base/dbx.exp: Add missing "-re " operator.
9237
e831e7b6
GM
92382007-10-16 Gaius Mulley <gaius@glam.ac.uk>
9239
9240 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
9241 * configure.ac: Removed trailing spaces after backslash.
9242 * gdb.modula2: New directory.
9243 * gdb.modula2/Makefile.in: New file.
9244 * gdb.modula2/unbounded-array.exp: New file.
9245 * gdb.modula2/unbounded1.c: New file.
9246
7cc46491
DJ
92472007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
9248
9249 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
9250
92512007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
9252
9253 * gdb.base/sigstep.c (main): Add checks for
9254 return values for setitimer call.
9255 Call setitimer again with itimer = ITIMER_REAL
9256 if first call to setitimer fails.
9257
e91528f0
KH
92582007-10-11 Kazu Hirata <kazu@codesourcery.com>
9259
9260 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
9261 of $timeout.
9262
2ec9a4f8
DJ
92632007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9264
9265 * gdb.server/server-run.exp: Test for dynamic linker symbols.
9266
92672007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
9268
9269 * lib/gdb.exp (gdb_run_cmd): Move comment outside
9270 of gdb_expect call, to avoid interruption.
9271
64b2fa04
PA
92722007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
9273
9274 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
9275 (v_unsigned_long_long, v_long_long_array)
9276 (v_signed_long_long_array, v_unsigned_long_long_array)
9277 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
9278 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
9279 [!NO_LONG_LONG]: New.
9280 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
9281 v_long_long_member.
9282
9283 (v_long_long_func, v_signed_long_long_func)
9284 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
9285 (main) [!NO_LONG_LONG]: Initialize long long variants.
9286
9287 * gdb.base/whatis.exp: If board file requests no_long_long, build
9288 test with NO_LONG_LONG defined. Test long long, signed long long,
9289 and unsigned long long variants but only if board file doesn't
9290 disable it.
9291
a912286e 92922007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 9293 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
9294
9295 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
9296 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
9297 * configure: Regenerated.
9298 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
9299 gdb.pascal/types.exp, lib/pascal.exp: New files.
9300
471ba8c9
DJ
93012007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
9302
9303 * gdb.cp/classes.exp (do_tests): Always step to the line after the
9304 call.
9305 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
9306 to return to the call.
9307 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
9308 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
9309 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
9310 * gdb.mi/mi-until.exp (test_until): Likewise.
9311 * gdb.mi/mi2-until.exp (test_until): Likewise.
9312
fef8a650
DJ
93132007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
9314
9315 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
9316 two-char array.
9317 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
9318
d983da9c
DJ
93192007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
9320
9321 * gdb.threads/watchthreads.c (thread_function): Sleep between
9322 iterations.
9323 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
9324 at once for S/390. Generate matching fails and passes.
9325
17f62551
VP
93262007-09-27 Vladimir Prus <vladimir@codesourcery.com>
9327
9328 * gdb.mi/var-cmd.c (do_children_tests): Initialize
9329 the 'struct_declarations' variable to zeros.
a9c64011 9330
ed0616c6
VP
93312007-09-24 Vladimir Prus <vladimir@codesourcery.com>
9332
9333 * gdb.cp/mb-ctor.cc: New.
9334 * gdb.cp/mb-ctor.exp: New.
9335 * gdb.cp/mb-templates.cc: New.
9336 * gdb.cp/mb-templates.exp: New.
9337
41f1b697
DJ
93382007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
9339
9340 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
9341
3f213f78
PA
93422007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
9343
9344 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
9345 targets.
9346 * configure: Regenerate.
9347
0d381245 93482007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9349
0d381245
VP
9350 * gdb.base/annota1.exp: Adjust for 'info break'
9351 format changes.
9352 * gdb.base/annota3.exp: Likewise.
9353 * gdb.base/break.exp: Likewise.
9354 * gdb.base/condbreak.exp: Likewise.
9355 * gdb.base/pending.exp: Likewise.
9356 * gdb.base/sepdebug.exp: Likewise.
9357 * gdb.base/unload.exp: Likewise.
9358 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 9359
fe3f5fa8
VP
93602007-09-22 Vladimir Prus <vladimir@codesourcery.com>
9361
9362 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
9363 messages.
9364 * gdb.base/chng-syms.exp: Likewise.
9365 * gdb.base/unload.exp: Likewise.
a9c64011 9366
a75cf6c0
DJ
93672007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
9368
9369 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
9370
18ecae38
DJ
93712007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
9372
9373 * schedlock.c (NUM): Change to 1.
9374 (main): Use args[0] for the main thread.
9375 * schedlock.exp: Only expect two threads. Only issue one pass or fail
9376 regardless of the number of threads.
9377
5509918f
MR
93782007-09-14 Maciej W. Rozycki <macro@mips.com>
9379
4a543daf
MR
9380 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
9381 type down.
9382 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9383 test.
9384 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
9385 watchpoint type down.
9386 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9387 test.
9388
93892007-09-14 Maciej W. Rozycki <macro@mips.com>
9390
5509918f
MR
9391 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
9392 Move all the tests here and run them twice, once using software
9393 watchpoints and once using hardware watchpoints.
9394 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
9395
40b53987
DJ
93962007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
9397
9398 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
9399 test.
9400
695e2681
MK
94012007-09-10 Mark Kettenis <kettenis@gnu.org>
9402
8b3fc8d8
MK
9403 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
9404 build-id.
9405
695e2681
MK
9406 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
9407 know about $ORIGIN. Calculate output dir from $dest instead of
9408 using ${objdir}/{$subdir}.
9409
58d69f29
MK
94102007-09-09 Mark Kettenis <kettenis@gnu.org>
9411
9412 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
9413 gcore, before continuing with the test.
9414
3e347599
DJ
94152007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
9416
9417 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
9418 * gdb.mi/mi-watch.exp: Likewise.
9419
ea37ba09
DJ
94202007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9421 Jim Blandy <jimb@codesourcery.com>
9422
9423 * gdb.arch/i386-sse.exp: Do not expect character constants.
9424 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
9425 * gdb.base/display.exp: Allow print/s.
9426 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
9427 and unsigned char array changes.
9428
2025a643
DJ
94292007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9430
9431 * gdb.base/display.exp: Add tests for printf %p.
9432
26669a27
PA
94332007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
9434
9435 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
9436 the dll name to unicode.
9437
c8f021f8
JK
94382007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9439
9440 * gdb.base/default.exp (show version): Update the version text.
9441 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9442
4cf31eea
JK
94432007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9444
9445 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9446 New files.
9447
4935890f
JK
94482007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9449
9450 * lib/gdb.exp (build_id_debug_filename_get): New function.
9451 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9452 Remove the generate DEBUG file for the future testcase runs.
9453 New testcase for the NT_GNU_BUILD_ID retrieval.
9454 Move the final testing step to ...
9455 (test_different_dir): ... a new function.
9456 New parameter XFAIL to XFAIL all the tests performed.
9457 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9458 New parameter TYPE to PF_PREFIX all the tests performed.
9459
02142340
VP
94602007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9461
9462 * gdb.mi/mi-var-cp.cc (path_expression): New
9463 function.
9464 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9465
36acd84e
UW
94662007-08-27 Markus Deuling <deuling@de.ibm.com>
9467
9468 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9469 to fit into SPU Local Store memory.
9470
a896d121
JB
94712007-08-23 Joel Brobecker <brobecker@adacore.com>
9472
9473 * gdb.base/default.exp: Adjust the expected output of "info
9474 warranty" after the switch to GPLv3.
9475
7b433602
JB
94762007-08-23 Joel Brobecker <brobecker@adacore.com>
9477
9478 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9479 to 30000 (from 20000).
9480
e22f8b7c
JB
94812007-08-23 Joel Brobecker <brobecker@adacore.com>
9482
9483 Switch the license of all .exp files to GPLv3.
9484 Switch the license of all .f and .f90 files to GPLv3.
9485 Switch the license of all .s and .S files to GPLv3.
9486
5a0e3bd0
JB
94872007-08-23 Joel Brobecker <brobecker@adacore.com>
9488
9489 * configure.ac: Switch license to GPLv3.
9490
cc00619d
JB
94912007-08-23 Joel Brobecker <brobecker@adacore.com>
9492
9493 Switch the licensing to GPLv3 for all .ads and .adb files.
9494
8d26208a
DJ
94952007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9496
9497 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9498 and t_int_double.
9499 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9500
4fcb9948
JB
95012007-08-17 Joel Brobecker <brobecker@adacore.com>
9502
9503 * gdb.base/step-line.c: Switch license to GPL version 3, and
9504 update copyright year.
9505 * gdb.base/step-line.inp: Likewise.
9506
b9c34f67
JB
95072007-08-17 Joel Brobecker <brobecker@adacore.com>
9508
9509 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9510 changes inside gdb1555.c.
9511 * gdb.base/pending.exp: Likewise.
9512
2cc17678
DJ
95132007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9514
9515 * config/default.exp: New file.
9516
e48883f7
DJ
95172007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9518
9519 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9520 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9521
1ab80e5b
MR
95222007-07-30 Maciej W. Rozycki <macro@mips.com>
9523
9524 * gdb.base/dump.exp: Force the correct endianness for binary
9525 formats not carrying this information.
9526
aba471f5
DJ
95272007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9528
9529 * gdb.threads/staticthreads.exp: Match .*sem_post.
9530
d4e07204
DJ
95312007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9532
9533 * gdb.base/readline.exp (operate_and_get_next): Match the final
9534 prompt.
9535
2b97317d
KB
95362007-07-23 Kevin Buettner <kevinb@redhat.com>
9537
9538 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9539 to restarting SID.
9540
44efa07a
KB
95412007-07-18 Kevin Buettner <kevinb@redhat.com>
9542
9543 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9544 prior to `gdb_start'.
9545
7b5ebade
KB
95462007-07-18 Kevin Buettner <kevinb@redhat.com>
9547
9548 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9549 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9550 Remove call to gdb_unload.
9551
255e7678
DJ
95522007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9553 Daniel Jacobowitz <dan@codesourcery.com>
9554
9555 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9556 for __WIN32__.
9557 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9558 * gdb.base/unload.exp: Use shared library test routines.
9559
3a40aaa0
UW
95602007-07-03 Markus Deuling <deuling@de.ibm.com>
9561
9562 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9563 * gdb.base/solib-symbol-lib.c: Likewise.
9564 * gdb.base/solib-symbol-main.c: Likewise.
9565
b0f4b84b
DJ
95662007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9567
9568 * config/gdbserver.exp (gdb_reconnect): New.
9569 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9570 gdb.base/solib-disc.exp: New files.
9571 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9572 remote debugging".
9573 (gdb_compile): Add shlib_load flag.
9574 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9575 port.
9576 (gdbserver_reconnect): New.
9577
1b05479a
DJ
95782007-07-01 Nick Roberts <nickrob@snap.net.nz>
9579 Daniel Jacobowitz <dan@codesourcery.com>
9580
9581 * gdb.base/annota3.exp: Test for if construct.
9582
86f78eb2
DJ
95832007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9584
9585 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9586
6a2eb474 95872007-06-21 Chris Dearman <chris@mips.com>
a9c64011 9588 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
9589
9590 * gdb.base/display.exp: Allow a newline after display/i.
9591 * gdb.base/pc-fp.exp: Likewise.
9592 * gdb.base/sigbpt.exp: Likewise.
9593
f8b73d13
DJ
95942007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9595
9596 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9597 required features to be included.
9598
4339e69e
DJ
95992007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9600
9601 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9602 in info threads output.
9603
23d964e7
UW
96042007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9605 Markus Deuling <deuling@de.ibm.com>
9606
9607 * gdb.arch/spu-info.exp: New testcase.
9608 * gdb.arch/spu-info.c: New file.
9609
fd20f75b
DJ
96102007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9611
9612 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9613 tpcs_offset. Restore lr after the call.
9614 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9615
2226f861
DJ
96162007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9617
9618 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9619 (gdbserver_run): Kill any running gdbserver.
9620 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9621
d12371a9
MR
96222007-05-17 Maciej W. Rozycki <macro@mips.com>
9623
9624 * gdb.base/sigbpt.exp: Preset segv_addr.
9625
93f02886
DJ
96262007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9627
9628 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9629 (gdb_compile_shlib): Likewise.
9630 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9631 (default_gdb_init): Clear cleanfiles.
9632 (gdb_finish): Delete recorded cleanfiles.
9633 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9634
9635 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9636 Do not use isnative.
9637 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9638 gdb.base/so-impl-ld.exp: Likewise.
9639 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9640 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9641 gdb_compile.
9642
b04e06d7
VP
96432007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9644
9645 * config/unknown.exp: Remove.
9646
069ed931
UW
96472007-05-15 Markus Deuling <deuling@de.ibm.com>
9648
9649 * gdb.base/info-proc.exp: Check is_remote.
9650
09db0d03
UW
96512007-05-14 Markus Deuling <deuling@de.ibm.com>
9652
9653 * gdb.base/gcore.exp: Initialize variable core_supported.
9654
af2cbe8c
DJ
96552007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9656
9657 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9658
027c0295
DJ
96592007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9660
9661 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9662 * gdb.threads/print-threads.exp (test_all_threads): Allow
9663 negative and hexadecimal thread IDs.
9664
dc5000e7
DJ
96652007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9666
9667 * gdb.java/jprint.java (public): Avoid invalid call to static
9668 method.
9669
2e74ed18
DP
96702007-05-14 Denis Pilat <denis.pilat@st.com>
9671
9672 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9673 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9674 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9675 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9676 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9677
83547f02
UW
96782007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9679
9680 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 9681 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
9682 this mode.
9683 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9684 * gdb.base/spu.ld: New file.
9685
b18be20d
DJ
96862007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9687
9688 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9689
be444858
DJ
96902007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9691
9692 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9693
b1d53152
DJ
96942007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9695
9696 * gdb.java/jmain.exp: Handle demangled names with and without method
9697 signatures.
9698
d084b331
DJ
96992007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9700
9701 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9702 (have_a_very_merry_interrupt): Remove calls to puts.
9703 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9704 inferior output.
9705 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9706 test names.
9707
db9d7fc5
DJ
97082007-04-29 Markus Deuling <deuling@de.ibm.com>
9709 Daniel Jacobowitz <dan@codesourcery.com>
9710
9711 * gdb.base/auxv.exp (core_works): Also check is_remote.
9712 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9713
ef783a7d 97142007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9715
ef783a7d
VP
9716 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9717 message, not the undefined 'module' variable.
9718 * gdb.base/siginfo.exp: Likewise.
9719 * gdb.base/sigstep.exp: Likewise.
9720 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9721 serialport.
9722 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9723
b7b73cae
CV
97242007-04-25 Corinna Vinschen <vinschen@redhat.com>
9725
9726 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9727 target sim fails. Return 0 otherwise.
9728 (gdb_load): Return prematurely if gdb_target_sim fails.
9729
7d90fdfa
DP
97302007-04-16 Denis Pilat <denis.pilat@st.com>
9731
9732 * gdb.base/setshow.exp: Reset height after having set it to 100.
9733
5d3e9c85
DP
97342007-04-16 Denis Pilat <denis.pilat@st.com>
9735
9736 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9737
18e75969
DP
97382007-04-16 Denis Pilat <denis.pilat@st.com>
9739
9740 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9741
25d5ea92
VP
97422007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9743
9744 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9745 tests. Run the frozen varobjs test.
9746 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 9747 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 9748
0b49cb80
JK
97492007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9750
9751 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9752 gdb.base/type-opaque.exp: New files.
9753
a73bafbc 97542007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
9755
9756 * gdb.mi/mi-var-child.c
a73bafbc
VP
9757 (do_children_tests): User char[2] instead of
9758 char so that automatic printing of pointers to char
9759 don't give unpredicable result.
9760 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9761 local variables.
9762 * gdb.mi/mi-var-child.exp: Step to right line
9763 of do_children_tests.
9764 * gdb.mi/mi2-var-child.exp: Likewise.
9765 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 9766 do_locals_tests.
a73bafbc
VP
9767 (do_children_tests): User char[2] instead of
9768 char so that automatic printing of pointers to char
a9c64011 9769 don't give unpredicable result.
a73bafbc 9770 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9771 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
9772 Pass test name to mi_wait_for_stop.
9773
7ce59000
DJ
97742007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9775
9776 * gdb.asm/asm-source.exp: Remove d10v case.
9777 * lib/gdb.exp (skip_cplus_tests): Likewise.
9778 * gdb.asm/d10v.inc: Deleted.
9779
20389057
DJ
97802007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9781
9782 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9783
8807d78b
DJ
97842007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9785
9786 * config/netware.exp: Delete file.
9787
aa3edb8e
JB
97882007-03-29 Joel Brobecker <brobecker@adacore.com>
9789
9790 * gdb.dwarf2/dw2-noloc.S: New file.
9791 * gdb.dwarf2/dw2-noloc.exp: New file.
9792
297561ac
PA
97932007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9794
9795 * gdb.cp/method2.cc: New test.
9796 * gdb.cp/method2.exp: New test.
9797 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9798
1f81bd39
DJ
97992007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9800
9801 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9802
9453113a
DJ
98032007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9804
9805 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9806
b741e217
DJ
98072007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9808
9809 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9810 (gdb_load): Delete, replace with...
9811 (gdb_reload): ...this.
9812 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9813 * gdb.server/server-mon.exp: Likewise.
9814 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9815 (gdb_start_cmd): New.
9816 (gdb_file_cmd): Save the last loaded file.
9817 (gdb_reload): New.
9818 (gdb_gnu_strip_debug): Use transform.
9819 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9820 support here. Use new $last_loaded_file. Check mtime.
9821 (gdb_target_cmd): Handle ObjC failure case.
9822 (infer_host_exec): Delete.
9823 (gdbserver_load): Rename to...
9824 (gdbserver_run): ...this. Simplify.
9825 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9826 (mi_gdb_load): Move most contents to a new function...
9827 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9828 (mi_run_cmd): Use mi_gdb_target_load.
9829 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9830 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9831 Use gdb_run_cmd.
9832 * gdb.base/charsign.exp: Remove incorrect comment.
9833 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9834 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9835 gdb.base/start.exp: Use gdb_start_cmd.
9836
446ab585 98372007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 9838 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
9839
9840 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9841 * gdb.base/signull.exp: Similarly.
9842
bbb88ebf
UW
98432007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9844
9845 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9846 messages available to test cases (like chng-sym.exp).
9847
cb8c4a99
AS
98482007-03-14 Andreas Schwab <schwab@suse.de>
9849
9850 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9851 format changes.
9852
4e463ff5
DJ
98532007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9854
9855 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9856 (optimized_1): New.
9857 (main): Call optimized_1.
9858 (gdb2029): Correct typos. Call gdb2029_marker.
9859 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9860 for gdb2029.
9861
b6db2c47
MK
98622007-03-12 Mark Kettenis <kettenis@gnu.org>
9863
9864 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9865 as tabs. Remove redundant test pattern.
9866
70ed3737
UW
98672007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9868
9869 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9870 for /a format output.
9871
47b67b60
DJ
98722007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9873
9874 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9875 collect output incrementally.
9876
b8953b0e
UW
98772007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9878
9879 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9880 for -var-create lpcharacter test.
9881 * gdb.mi/mi2-var-cmd.exp: Likewise.
9882
7acd5c40
UW
98832007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9884
9885 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9886 pass on targets where address zero is readable.
9887
9c6759c1
UW
98882007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9889
9890 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9891 just a single architecture.
9892
a2f1aeb4
UW
98932007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9894
9895 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9896 (fetch_all_registers): New function, uses gdb_test_multiple and
9897 exp_continue to fetch inferior output line-by-line.
9898 Replace all uses of do_get_all_registers by fetch_all_registers.
9899
46579ac2
UW
99002007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9901
9902 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9903 in target_info.
9904
fc133f24
MS
99052007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9906
a9c64011 9907 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
9908 consistancy; add a default (timeout) case.
9909
7646a51d
MS
99102007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9911
9912 * gdb.base/watchpoint.exp: Fix truncated comment.
9913
dcfff61f
MS
99142007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9915
9916 * Makefile.in: Remove spurious single-quotes from sed command.
9917
664e3ee9
DJ
99182007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9919
9920 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9921 func.
9922 * gdb.mi/mi2-var-cmd.exp: Likewise.
9923
d7cc6f2f
JB
99242007-02-27 Joel Brobecker <brobecker@adacore.com>
9925
a9c64011
AS
9926 * gdb.dwarf2/dw2-producer.S: New file.
9927 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
9928
99292007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
9930
9931 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9932 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9933 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9934 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9935 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9936 Revert tests to use mi_gdb_test and include value field in output
9937 of -var-create.
9938
93d42b30
DJ
99392007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9940
9941 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9942
c499ed39
DJ
99432007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9944
9945 * gdb.base/maint.exp: Remove full paths from test names.
9946 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9947 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9948
9836f81b
JB
99492007-02-27 Joel Brobecker <brobecker@adacore.com>
9950
9951 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9952
c74d0ad8
DJ
99532007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9954
9955 * gdb.server/server-mon.exp: New test.
9956
2711e456
DJ
99572007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9958
9959 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9960
ff6f572f
DJ
99612007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9962
9963 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9964 register capitalization.
9965
fada3feb
DP
99662007-02-13 Denis Pilat <denis.pilat@st.com>
9967
9968 * gdb.mi/mi-var-invalidate.exp: New file.
9969
fb1e4ffc
DJ
99702007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9971
9972 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9973
3da939d7
DJ
99742007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9975
9976 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9977
123dc839
DJ
99782007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9979
9980 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9981 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9982
877e3645 99832007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
9984
9985 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9986 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9987 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9988 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9989 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 9990 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 9991 Update tests to include value field in output of -var-create.
a9c64011 9992
3c0a2960
AS
99932007-02-08 Andreas Schwab <schwab@suse.de>
9994
9995 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9996
108546a0
DJ
99972007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9998
9999 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
10000 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
10001
d701dcab
DP
100022007-02-02 Denis Pilat <denis.pilat@st.com>
10003
10004 * gdb.threads/threadapply.exp: check that frame is not changed by
10005 the thread apply all command.
10006
783e3e2f
AS
100072007-01-31 Andreas Schwab <schwab@suse.de>
10008
6d9c3a87
AS
10009 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10010
3c50d7b9
AS
10011 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
10012 in the dwarf sections.
10013 * gdb.dwarf2/mac-fileno.S: Likewise.
10014
783e3e2f
AS
10015 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
10016 bspstore register on ia64.
10017
78ff580e
AS
100182007-01-29 Andreas Schwab <schwab@suse.de>
10019
cc8e9b12
AS
10020 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
10021 "frame-begin" annotation.
10022
78ff580e
AS
10023 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
10024 number of "frames-invalid" annotations.
10025
704a4f78
DJ
100262007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10027
10028 * gdb.base/commands.exp: Call if_commands_test.
10029 (gdb_test_no_prompt, if_commands_test): New.
10030
e741bf94
MK
100312007-01-28 Mark Kettenis <kettenis@gnu.org>
10032
10033 * gdb.threads/sigthread.c (NSIGS): Make bigger.
10034
474d0ad3
AS
100352007-01-27 Andreas Schwab <schwab@suse.de>
10036
10037 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
10038 .short/.int/.quad in the dwarf sections.
10039 * gdb.dwarf2/dw2-intercu.S: Likewise.
10040 * gdb.dwarf2/dw2-intermix.S: Likewise.
10041
e784b426
JK
100422007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10043
10044 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
10045 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
10046 array.
e784b426
JK
10047 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
10048 * gdb.base/setvar.exp: Likewise.
10049
37f08e04
AS
100502007-01-26 Andreas Schwab <schwab@suse.de>
10051
9a01813a
AS
10052 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
10053 test.
10054
37f08e04
AS
10055 * gdb.base/multi-forks.exp ("restart $i"): Also match
10056 __kernel_syscall_via_break.
10057
6e2a9270
VP
100582007-01-24 Vladimir Prus <vladimir@codesourcery.com>
10059
10060 * lib/mi-support.exp (mi_delete_varobj): New.
10061 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
10062 testcase.
10063 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
10064 (main): Call the above.
10065 (reference_update_test, base_in_reference_test)
10066 (reference_to_pointer): Delete the created varobjs.
a9c64011 10067
e515b470
DJ
100682007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
10069
10070 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
10071 * configure: Regenerated.
10072 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
10073 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
10074 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
10075 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
10076 * lib/gdb.exp (gdb_skip_xml_test): New function.
10077
08d8bcd7
DJ
100782007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
10079
10080 * gdb.base/sigrepeat.exp: Correct error message.
10081
100822007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
10083 Daniel Jacobowitz <dan@codesourcery.com>
10084
10085 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
10086 gdb.arch/i386-gnu-cfi-asm.S: New files.
10087
97c3f1f3
JK
100882007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10089
10090 * lib/gdb.exp: Abort on missing `site.exp'.
10091
cb1df416
DJ
100922007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10093 Daniel Jacobowitz <dan@codesourcery.com>
10094
10095 * gdb.base/included.c, gdb.base/included.exp,
10096 gdb.base/included.h: New files.
10097
35990120
DJ
100982007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10099
10100 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
10101 (maximize_rlimit): Reduce limits on 64-bit systems.
10102
6e81a116 101032007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
10104
10105 From Marcus Deuling <deuling@de.ibm.com>:
10106 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
10107 every case.
10108
6c3c41f3
NR
101092007-01-13 Nick Roberts <nickrob@snap.net.nz>
10110
10111 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
10112 (test_path_specification): Use objdir instead of srcdir to always
10113 get an absolute filename.
10114
2f12c312
DJ
101152007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
10116
10117 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
10118
81121995
VP
101192007-01-11 Vladimir Prus <vladimir@codesourcery.com>
10120
10121 * gdb.mi/mi-var-cp.cc (reference_update_tests):
10122 Make sure the variable we're using is in scope.
10123 (reference_to_pointer): Likewise.
10124
4741b737
DJ
101252007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10126
10127 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
10128 has no debug information.
10129
054410c3
DJ
101302007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10131
10132 * gdb.base/annota1.exp: Remove extra send_gdb.
10133
818f79f6
DJ
101342007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10135
10136 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
10137
f7a6bb70
DJ
101382007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10139
10140 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
10141
57e66780
DJ
101422007-01-08 Nick Roberts <nickrob@snap.net.nz>
10143 Daniel Jacobowitz <dan@codesourcery.com>
10144
10145 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
10146 lcharacter or linteger change. Correct duplicated test name.
10147 * gdb.mi/mi2-var-cmd.exp: Likewise.
10148
3d799a95
DJ
101492007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
10150
10151 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
10152
101532007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 10154
a9c64011
AS
10155 * gdb.base/nofield.c: New file.
10156 * gdb.base/nofield.exp: New testcase.
51679ba9 10157
eafb94e8
NR
101582007-01-05 Nick Roberts <nickrob@snap.net.nz>
10159
10160 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
10161
10162 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
10163 test.
10164
5e572bb4
DJ
101652007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10166
10167 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
10168
74a44383
DJ
101692007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10170
10171 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
10172 when continuing.
10173
1b572db9
DJ
101742007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10175
10176 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
10177 Expect ".exe" extension.
10178
381bc39b
DJ
101792007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10180
10181 * gdb.base/charset.exp: Add explicit filename to break.
10182 * gdb.base/dbx.exp: Add explicit filename to breaks.
10183
2b70e4c6
DJ
101842007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10185
10186 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
10187 * gdb.mi/mi2-file.exp: Likewise.
10188
303b6f5d
DJ
101892007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10190
10191 Implement specification of MI tests as comments
10192 in C and C++ sources.
10193 * lib/mi-support.exp (mi_autotest_data): New variable.
10194 (mi_autotest_source): New variable.
10195 (count_newlines, mi_prepare_inline_tests)
10196 (mi_get_inline_test, mi_continue_to_line)
10197 (mi_run_inline_test, mi_tbreak)
10198 (mi_send_resuming_command, mi_wait_for_stop): New functions.
10199 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
10200 Run inline tests.
10201 * gdb.mi/mi-var-cp.cc: Define tests here.
10202
23da0d94
VP
102032007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10204
10205 Simplify usage of mi_continue_to.
10206 * lib/mi-support.exp (mi_runto_helper): Renamed
10207 from mi_runto, added new parameter 'run_or_continue'.
10208 (mi_runto): Use mi_runto_helper.
10209 (mi_continue_to): Accept just function name as parameter.
10210 Use mi_runto_helper.
10211 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
10212 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 10213
f9e18282
JB
102142006-01-04 Joel Brobecker <brobecker@adacore.com>
10215
10216 Make this testcase a bit more realistic. The current code
10217 is too simplistic, and allows the compiler to optimize out
10218 some of the entities we need for this testcase.
10219 * gdb.ada/null_record/bar.ads (Void_Star): New type.
10220 (Do_Nothing): Add extra parameter.
10221 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
10222 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
10223 by using a variable of type Void_Star.
10224
fd678c65
JB
102252006-01-04 Joel Brobecker <brobecker@adacore.com>
10226
10227 * gdb.ada/catch_ex/foo.adb: New file.
10228 * gdb.ada/catch_ex.exp: New testcase.
10229
05cfdb42
DJ
102302007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
10231
10232 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
10233 pass --image-base to linker.
10234
2e03ee74
DJ
102352007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10236 Daniel Jacobowitz <dan@codesourcery.com>
10237
10238 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
10239 secondary prompts.
10240
0d5de010
DJ
102412007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10242
10243 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
10244 output. Test the types of members and member pointers.
10245 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
10246 gdb/2092.
10247 * gdb.cp/member-ptr.exp: Search for a comment instead of a
10248 statement. Enable for GCC. Update expected output for some tests
10249 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
10250 layout.
10251 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
10252 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
10253 (Diamond::vget_base): New.
10254 (main): Add new tests.
10255 * gdb.cp/printmethod.exp: Update expected output for member functions.
10256 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
10257 print pEe->D::vg().
10258
61a771aa
DJ
102592007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10260
10261 * gdb.threads/tls.exp: Allow stops in sem_post.
10262
2fa63963
DJ
102632006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
10264
10265 * gdb.base/annota1.exp: Allow .*printf in backtraces.
10266 * gdb.base/annota3.exp: Likewise.
10267 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
10268 again (instead of timing out).
10269 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
10270 GCC bug 26475.
10271 * gdb.java/jmisc.exp: Adjust to work with method signatures including
10272 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
10273 test from jmisc1.exp.
10274 * gdb.java/jmisc1.exp: Delete.
10275 * gdb.java/jprint.exp: Adjust to work with method signatures including
10276 return types.
10277 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
10278 * gdb.threads/linux-dp.exp: Don't be confused by program output.
10279 * lib/java.exp (compile_java_from_source): Pass the correct type
10280 to target_compile.
10281
5eefc2b7
JB
102822006-12-31 Joel Brobecker <brobecker@adacore.com>
10283
10284 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
10285 (stack_align_edx): New function.
10286 (stack_align_eax): New function.
10287 (main): Add calls to stack_align_edx and stack_align_eax.
10288 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
10289 Add testing for the cases where the register used during a stack
10290 realignment is edx. Same for eax.
10291
227c54da
DJ
102922006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
10293
10294 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
10295 and generic PE targets.
10296
cab8ac94
JB
102972006-12-29 Joel Brobecker <brobecker@adacore.com>
10298
10299 * gdb.ada/array_return.exp: Update copyright date list.
10300
ba54f318
JB
103012006-12-27 Joel Brobecker <brobecker@adacore.com>
10302
10303 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
10304 (Create_Small_Float_Vector): New function.
10305 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
10306 function body.
10307 * gdb.ada/array_return/p.adb: Use new type and function from
10308 package Pck.
10309 * gdb.ada/array_return.exp: Add a test verifying that GDB is
10310 able to print the value returned by a function returning an
10311 array of float.
10312
6b7a35dd
JB
103132006-12-20 Joel Brobecker <brobecker@adacore.com>
10314
10315 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
10316 The associated tests should be PASSing.
10317
038224f6
VP
103182006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10319
10320 Test for base in references.
10321 * gdb.mi/mi-var-cp.cc: Add test code.
10322 * gdb.mi/mi-var-cp.exp: Test for bases in references.
10323 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
10324 * gdb.mi/mi2-watch.exp: Likewise.
10325 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
10326 (mi_list_varobj_children): New function.
10327
b26ed50d
VP
103282006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10329
10330 * lib/mi-support.exp
10331 (mi_runto): Accept "()" after function name.
10332 (mi_create_varobj): New function.
10333 (mi_varobj_update): New function.
10334 (mi_Check_varobj_value): New function.
10335 * gdb.mi/mi-var-cp.exp: New file.
10336 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 10337
08232497
DJ
103382006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
10339
10340 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
10341 gdb.base/weaklib2.c: New files.
10342
d394c993 103432006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 10344
ac6c2fba
NS
10345 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
10346 info. Adjust test names.
10347
8ec659a0 10348 * gdb.base/break.c (main): Move position of malloc.
d394c993 10349 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 10350
acd65feb
VP
103512006-11-28 Vladimir Prus <vladimir@codesourcery.com>
10352
10353 * gdb.mi/mi-var-cmd.exp: Check -var-update after
10354 assignement of arrays and function pointers.
10355 * gdb.mi/var-cmd.c: Add declaration necessary for above
10356 tests.
10357
f556d5e5
NS
103582006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10359
10360 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
10361
10362 * gdb.threads/linux-dp.exp: Read thread table before and after
10363 creating each philosopher and verify it.
10364
697bc68d
NS
103652006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10366 Paul Brook <paul@codesourcery.com>
10367 Daniel Jacobowitz <dan@codesourcery.com>
10368
10369 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 10370 main to remove duplication. Add start function of the form
697bc68d
NS
10371 '_*start[1-9]*'. Add RVDS start function.
10372
29d73ae4
DJ
103732006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10374
10375 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
10376
c1d88655
UW
103772006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10378
10379 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
10380 * gdb.asm/spu.inc: New file.
10381 * gdb.base/term.exp: Disable if [target_info exists noargs].
10382 * gdb.gdb/complaints.exp: Disable if ![isnative].
10383 * gdb.gdb/selftest.exp: Likewise.
10384 * gdb.gdb/observer.exp: Likewise.
10385 * gdb.gdb/xfullpath.exp: Likewise.
10386 * gdb.base/attach.exp: Disable on SPU target.
10387 * gdb.cp/bs145503.exp: Likewise.
10388 * gdb.cp/exception.exp: Likewise.
10389 * gdb.cp/userdef.exp: Likewise.
10390
32a13b1a
DJ
103912006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10392
10393 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
10394
d8295fe9
VP
103952006-11-10 Vladimir Prus <vladimir@codesourcery.com>
10396
10397 * gdb.base/completion.exp: Fix completion tests for
10398 'info' and 'info '.
10399 * gdb.base/help.exp (help_test_raw, test_class_help)
10400 (test_prefix_command_help): Move...
10401 * lib/gdb.exp: Here.
10402 * gdb.base/main.exp: Adjust.
10403 * gdb.cp/maint.exp: Adjust.
10404 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 10405
8c394015
VP
104062006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10407
10408 * gdb.stabs/weird.exp (print_weird_var): Use
10409 gdb_test_multiple instead of gdb_expect.
10410
027fc1bc
VP
104112006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10412
10413 * gdb.base/help.exp (help_test_raw): New.
10414 (test_class_help): New.
10415 (test_prefix_command_help): New.
10416 Adjust testcases.
10417
67609209
FR
104182006-11-09 Christophe Lyon <christophe.lyon@st.com>
10419
10420 * gdb.base/constvars.c (main): Write to crass and crips, so that
10421 they are allocated by the compiler.
10422
f73adfeb
AS
104232006-10-27 Andreas Schwab <schwab@suse.de>
10424
10425 * gdb.base/multi-forks.exp: Use "detach fork" instead of
10426 "detach-fork".
10427
2f83a18e
DJ
104282006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
10429
10430 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
10431 of patterns.
10432
94277a38
DJ
104332006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10434
10435 * gdb.base/sepdebug.exp: Remove debug format test.
10436 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
10437 Handle no-symtab.
10438 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10439
5bd2f6e2
DJ
104402006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10441
10442 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10443 int to pointer or pointer to int.
10444 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10445
8c008720
DJ
104462006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10447
10448 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10449
9e35dae4
DJ
104502006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10451
10452 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10453
d9639e13
DJ
104542006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10455
10456 PR c++/2116
10457 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10458
390a1bd0
JB
104592006-10-06 Joel Brobecker <brobecker@adacore.com>
10460
10461 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10462 the corresponding bug has been fixed in GDB (PR/2018).
10463
dd920c33
JB
104642006-10-06 Joel Brobecker <brobecker@adacore.com>
10465
10466 * gdb.base/subst.exp: New testcase.
10467
53bbefe9
JB
104682006-10-06 Joel Brobecker <brobecker@adacore.com>
10469
10470 * gdb.ada/array_return/pck.ads: Add copyright notice.
10471 * gdb.ada/array_return/pck.adb: Likewise.
10472 * gdb.ada/array_return/p.adb: Likewise.
10473 * gdb.ada/exec_changed/first.adb: Likewise.
10474 * gdb.ada/exec_changed/second.adb: Likewise.
10475
09851417
JB
104762006-10-06 Joel Brobecker <brobecker@adacore.com>
10477
10478 * gdb.ada/watch_arg/watch.adb: New file.
10479 * gdb.ada/watch_arg.exp: New testcase.
10480
041bf30d
VP
104812006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10482
10483 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 10484 via string_to_regexp.
041bf30d 10485 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 10486
f286fbdd 104872006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
10488
10489 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10490 Remove unused / obsolete files.
10491
7c07f349
NR
104922006-09-19 Nick Roberts <nickrob@snap.net.nz>
10493
10494 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10495
cd5ff84a
VP
104962006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10497
10498 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10499 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 10500 the number of frames.
cd5ff84a 10501
ae018d1a
DJ
105022006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10503
10504 * gdb.base/args.c (main): Add breakpoint marker.
10505 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10506 really test empty arguments.
10507 (args_load): Delete.
10508 (args_test): New.
10509
b399c549
NR
105102006-09-13 Nick Roberts <nickrob@snap.net.nz>
10511
10512 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 10513 check for one file.
b399c549 10514
2ab1eb7a
VP
105152006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10516
10517 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10518 HIGH_FRAME argument to -stack-list-locals can be larger than
10519 the number of frames.
a9c64011 10520
476308bf
FF
105212006-08-18 Fred Fish <fnf@specifix.com>
10522
10523 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10524 '$' in front of skip_vmx_tests_saved when setting that.
10525
8625200f
AS
105262006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10527
10528 * gdb.base/trace-commands.exp: New file.
10529
089ec8f1
DJ
105302006-08-10 Joel Brobecker <brobecker@adacore.com>
10531 Daniel Jacobowitz <dan@codesourcery.com>
10532
10533 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10534 expected output of the backtrace commands.
10535
b60f0898
JB
105362006-08-09 Joel Brobecker <brobecker@adacore.com>
10537
10538 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10539 untested followed by return combination.
10540 * gdb.arch/altivec-regs.exp: Likewise.
10541 * gdb.arch/e500-abi.exp: Likewise.
10542 * gdb.arch/e500-regs.exp: Likewise.
10543 * gdb.arch/gdb1291.exp: Likewise.
10544 * gdb.arch/gdb1431.exp: Likewise.
10545 * gdb.arch/gdb1558.exp: Likewise.
10546 * gdb.arch/i386-prologue.exp: Likewise.
10547 * gdb.arch/i386-unwind.exp: Likewise.
10548 * gdb.asm/asm-source.exp: Likewise.
10549 * gdb.base/a2-run.exp: Likewise.
10550 * gdb.base/advance.exp: Likewise.
10551 * gdb.base/all-bin.exp: Likewise.
10552 * gdb.base/annota1.exp: Likewise.
10553 * gdb.base/annota3.exp: Likewise.
10554 * gdb.base/args.exp: Likewise.
10555 * gdb.base/arithmet.exp: Likewise.
10556 * gdb.base/assign.exp: Likewise.
10557 * gdb.base/async.exp: Likewise.
10558 * gdb.base/attach.exp: Likewise.
10559 * gdb.base/bang.exp: Likewise.
10560 * gdb.base/bigcore.exp: Likewise.
10561 * gdb.base/bitfields.exp: Likewise.
10562 * gdb.base/bitfields2.exp: Likewise.
10563 * gdb.base/break.exp: Likewise.
10564 * gdb.base/call-sc.exp: Likewise.
10565 * gdb.base/call-strs.exp: Likewise.
10566 * gdb.base/callfuncs.exp: Likewise.
10567 * gdb.base/checkpoint.exp: Likewise.
10568 * gdb.base/chng-syms.exp: Likewise.
10569 * gdb.base/code-expr.exp: Likewise.
10570 * gdb.base/commands.exp: Likewise.
10571 * gdb.base/completion.exp: Likewise.
10572 * gdb.base/cond-expr.exp: Likewise.
10573 * gdb.base/condbreak.exp: Likewise.
10574 * gdb.base/consecutive.exp: Likewise.
10575 * gdb.base/constvars.exp: Likewise.
10576 * gdb.base/corefile.exp: Likewise.
10577 * gdb.base/cvexpr.exp: Likewise.
10578 * gdb.base/dbx.exp: Likewise.
10579 * gdb.base/define.exp: Likewise.
10580 * gdb.base/detach.exp: Likewise.
10581 * gdb.base/display.exp: Likewise.
10582 * gdb.base/dump.exp: Likewise.
10583 * gdb.base/ena-dis-br.exp: Likewise.
10584 * gdb.base/ending-run.exp: Likewise.
10585 * gdb.base/environ.exp: Likewise.
10586 * gdb.base/eval-skip.exp: Likewise.
10587 * gdb.base/exprs.exp: Likewise.
10588 * gdb.base/fileio.exp: Likewise.
10589 * gdb.base/finish.exp: Likewise.
10590 * gdb.base/float.exp: Likewise.
10591 * gdb.base/foll-exec.exp: Likewise.
10592 * gdb.base/foll-fork.exp: Likewise.
10593 * gdb.base/foll-vfork.exp: Likewise.
10594 * gdb.base/freebpcmd.exp: Likewise.
10595 * gdb.base/funcargs.exp: Likewise.
10596 * gdb.base/gcore.exp: Likewise.
10597 * gdb.base/gdb1090.exp: Likewise.
10598 * gdb.base/gdb1250.exp: Likewise.
10599 * gdb.base/huge.exp: Likewise.
10600 * gdb.base/info-proc.exp: Likewise.
10601 * gdb.base/interrupt.exp: Likewise.
10602 * gdb.base/jump.exp: Likewise.
10603 * gdb.base/langs.exp: Likewise.
10604 * gdb.base/lineinc.exp: Likewise.
10605 * gdb.base/list.exp: Likewise.
10606 * gdb.base/logical.exp: Likewise.
10607 * gdb.base/long_long.exp: Likewise.
10608 * gdb.base/macscp.exp: Likewise.
10609 * gdb.base/maint.exp: Likewise.
10610 * gdb.base/mips_pro.exp: Likewise.
10611 * gdb.base/miscexprs.exp: Likewise.
10612 * gdb.base/multi-forks.exp: Likewise.
10613 * gdb.base/opaque.exp: Likewise.
10614 * gdb.base/overlays.exp: Likewise.
10615 * gdb.base/pc-fp.exp: Likewise.
10616 * gdb.base/pointers.exp: Likewise.
10617 * gdb.base/printcmds.exp: Likewise.
10618 * gdb.base/psymtab.exp: Likewise.
10619 * gdb.base/ptype.exp: Likewise.
10620 * gdb.base/recurse.exp: Likewise.
10621 * gdb.base/relational.exp: Likewise.
10622 * gdb.base/relocate.exp: Likewise.
10623 * gdb.base/remote.exp: Likewise.
10624 * gdb.base/reread.exp: Likewise.
10625 * gdb.base/restore.exp: Likewise.
10626 * gdb.base/return.exp: Likewise.
10627 * gdb.base/return2.exp: Likewise.
10628 * gdb.base/scope.exp: Likewise.
10629 * gdb.base/sect-cmd.exp: Likewise.
10630 * gdb.base/sep.exp: Likewise.
10631 * gdb.base/sepdebug.exp: Likewise.
10632 * gdb.base/setshow.exp: Likewise.
10633 * gdb.base/setvar.exp: Likewise.
10634 * gdb.base/sigall.exp: Likewise.
10635 * gdb.base/sigbpt.exp: Likewise.
10636 * gdb.base/signals.exp: Likewise.
10637 * gdb.base/signull.exp: Likewise.
10638 * gdb.base/sizeof.exp: Likewise.
10639 * gdb.base/solib.exp: Likewise.
10640 * gdb.base/step-line.exp: Likewise.
10641 * gdb.base/step-test.exp: Likewise.
10642 * gdb.base/structs.exp: Likewise.
10643 * gdb.base/structs2.exp: Likewise.
10644 * gdb.base/term.exp: Likewise.
10645 * gdb.base/twice.exp: Likewise.
10646 * gdb.base/until.exp: Likewise.
10647 * gdb.base/varargs.exp: Likewise.
10648 * gdb.base/volatile.exp: Likewise.
10649 * gdb.base/watchpoint.exp: Likewise.
10650 * gdb.base/whatis-exp.exp: Likewise.
10651 * gdb.base/whatis.exp: Likewise.
10652 * gdb.cp/ambiguous.exp: Likewise.
10653 * gdb.cp/annota2.exp: Likewise.
10654 * gdb.cp/annota3.exp: Likewise.
10655 * gdb.cp/bool.exp: Likewise.
10656 * gdb.cp/breakpoint.exp: Likewise.
10657 * gdb.cp/casts.exp: Likewise.
10658 * gdb.cp/class2.exp: Likewise.
10659 * gdb.cp/classes.exp: Likewise.
10660 * gdb.cp/cplusfuncs.exp: Likewise.
10661 * gdb.cp/ctti.exp: Likewise.
10662 * gdb.cp/derivation.exp: Likewise.
10663 * gdb.cp/exception.exp: Likewise.
10664 * gdb.cp/gdb1355.exp: Likewise.
10665 * gdb.cp/hang.exp: Likewise.
10666 * gdb.cp/inherit.exp: Likewise.
10667 * gdb.cp/local.exp: Likewise.
10668 * gdb.cp/m-data.exp: Likewise.
10669 * gdb.cp/m-static.exp: Likewise.
10670 * gdb.cp/member-ptr.exp: Likewise.
10671 * gdb.cp/method.exp: Likewise.
10672 * gdb.cp/misc.exp: Likewise.
10673 * gdb.cp/namespace.exp: Likewise.
10674 * gdb.cp/overload.exp: Likewise.
10675 * gdb.cp/ovldbreak.exp: Likewise.
10676 * gdb.cp/pr-1023.exp: Likewise.
10677 * gdb.cp/pr-1210.exp: Likewise.
10678 * gdb.cp/pr-574.exp: Likewise.
10679 * gdb.cp/printmethod.exp: Likewise.
10680 * gdb.cp/psmang.exp: Likewise.
10681 * gdb.cp/ref-params.exp: Likewise.
10682 * gdb.cp/ref-types.exp: Likewise.
10683 * gdb.cp/rtti.exp: Likewise.
10684 * gdb.cp/templates.exp: Likewise.
10685 * gdb.cp/try_catch.exp: Likewise.
10686 * gdb.cp/userdef.exp: Likewise.
10687 * gdb.cp/virtfunc.exp: Likewise.
10688 * gdb.disasm/am33.exp: Likewise.
10689 * gdb.disasm/h8300s.exp: Likewise.
10690 * gdb.disasm/mn10300.exp: Likewise.
10691 * gdb.disasm/sh3.exp: Likewise.
10692 * gdb.disasm/t01_mov.exp: Likewise.
10693 * gdb.disasm/t02_mova.exp: Likewise.
10694 * gdb.disasm/t03_add.exp: Likewise.
10695 * gdb.disasm/t04_sub.exp: Likewise.
10696 * gdb.disasm/t05_cmp.exp: Likewise.
10697 * gdb.disasm/t06_ari2.exp: Likewise.
10698 * gdb.disasm/t07_ari3.exp: Likewise.
10699 * gdb.disasm/t08_or.exp: Likewise.
10700 * gdb.disasm/t09_xor.exp: Likewise.
10701 * gdb.disasm/t10_and.exp: Likewise.
10702 * gdb.disasm/t11_logs.exp: Likewise.
10703 * gdb.disasm/t12_bit.exp: Likewise.
10704 * gdb.disasm/t13_otr.exp: Likewise.
10705 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10706 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10707 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10708 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10709 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10710 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10711 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10712 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10713 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10714 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10715 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10716 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10717 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10718 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10719 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10720 * gdb.mi/gdb701.exp: Likewise.
10721 * gdb.mi/gdb792.exp: Likewise.
10722 * gdb.mi/mi-basics.exp: Likewise.
10723 * gdb.mi/mi-break.exp: Likewise.
10724 * gdb.mi/mi-cli.exp: Likewise.
10725 * gdb.mi/mi-console.exp: Likewise.
10726 * gdb.mi/mi-disassemble.exp: Likewise.
10727 * gdb.mi/mi-eval.exp: Likewise.
10728 * gdb.mi/mi-file.exp: Likewise.
10729 * gdb.mi/mi-read-memory.exp: Likewise.
10730 * gdb.mi/mi-regs.exp: Likewise.
10731 * gdb.mi/mi-return.exp: Likewise.
10732 * gdb.mi/mi-simplerun.exp: Likewise.
10733 * gdb.mi/mi-stack.exp: Likewise.
10734 * gdb.mi/mi-stepi.exp: Likewise.
10735 * gdb.mi/mi-syn-frame.exp: Likewise.
10736 * gdb.mi/mi-until.exp: Likewise.
10737 * gdb.mi/mi-var-block.exp: Likewise.
10738 * gdb.mi/mi-var-child.exp: Likewise.
10739 * gdb.mi/mi-var-cmd.exp: Likewise.
10740 * gdb.mi/mi-var-display.exp: Likewise.
10741 * gdb.mi/mi-watch.exp: Likewise.
10742 * gdb.mi/mi2-basics.exp: Likewise.
10743 * gdb.mi/mi2-break.exp: Likewise.
10744 * gdb.mi/mi2-cli.exp: Likewise.
10745 * gdb.mi/mi2-console.exp: Likewise.
10746 * gdb.mi/mi2-disassemble.exp: Likewise.
10747 * gdb.mi/mi2-eval.exp: Likewise.
10748 * gdb.mi/mi2-file.exp: Likewise.
10749 * gdb.mi/mi2-read-memory.exp: Likewise.
10750 * gdb.mi/mi2-regs.exp: Likewise.
10751 * gdb.mi/mi2-return.exp: Likewise.
10752 * gdb.mi/mi2-simplerun.exp: Likewise.
10753 * gdb.mi/mi2-stack.exp: Likewise.
10754 * gdb.mi/mi2-stepi.exp: Likewise.
10755 * gdb.mi/mi2-syn-frame.exp: Likewise.
10756 * gdb.mi/mi2-until.exp: Likewise.
10757 * gdb.mi/mi2-var-block.exp: Likewise.
10758 * gdb.mi/mi2-var-child.exp: Likewise.
10759 * gdb.mi/mi2-var-cmd.exp: Likewise.
10760 * gdb.mi/mi2-var-display.exp: Likewise.
10761 * gdb.mi/mi2-watch.exp: Likewise.
10762 * gdb.stabs/exclfwd.exp: Likewise.
10763 * gdb.stabs/weird.exp: Likewise.
10764 * gdb.threads/gcore-thread.exp: Likewise.
10765 * gdb.trace/actions.exp: Likewise.
10766 * gdb.trace/backtrace.exp: Likewise.
10767 * gdb.trace/circ.exp: Likewise.
10768 * gdb.trace/collection.exp: Likewise.
10769 * gdb.trace/deltrace.exp: Likewise.
10770 * gdb.trace/infotrace.exp: Likewise.
10771 * gdb.trace/limits.exp: Likewise.
10772 * gdb.trace/packetlen.exp: Likewise.
10773 * gdb.trace/passc-dyn.exp: Likewise.
10774 * gdb.trace/passcount.exp: Likewise.
10775 * gdb.trace/report.exp: Likewise.
10776 * gdb.trace/save-trace.exp: Likewise.
10777 * gdb.trace/tfind.exp: Likewise.
10778 * gdb.trace/tracecmd.exp: Likewise.
10779 * gdb.trace/while-dyn.exp: Likewise.
10780 * gdb.trace/while-stepping.exp: Likewise.
10781
f4b618d1
JB
107822006-08-08 Joel Brobecker <brobecker@adacore.com>
10783
10784 * gdb.base/step-bt.c: New file.
10785 * gdb.base/step-bt.exp: New testcase.
10786
3d00d119
DJ
107872006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10788
10789 * config/monitor.exp (gdb_load): Remove support for obsolete
10790 download-write-size.
10791 * gdb.base/remote.exp: Likewise. Update all callers of
10792 gdb_timed_load.
10793
017b5bd4
DJ
107942006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10795
10796 * cursal.exp: Pass binfile to gdb_load.
10797
837c599d
DJ
107982006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10799
10800 * gdb.base/cursal.exp: Add "" to gdb_load call.
10801
8dd4540b
MK
108022006-07-29 Mark Kettenis <kettenis@gnu.org>
10803
10804 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10805 NetBSD/ELF targets.
10806
ab5c9f60
DJ
108072006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10808
10809 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10810 operator*.
10811
4c42eaff
DJ
108122006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10813
10814 * gdb.base/completion.exp: Update for change in "file" behavior.
10815 * gdb.stabs/weird.exp: Likewise.
10816 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10817 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10818
0155cc76
NS
108192006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10820
10821 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10822 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10823
16026cd7
AS
108242006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10825
10826 * gdb.base/default.exp: Update source command error message.
10827 * gdb.base/help.exp: Update 'help source' message.
10828
16963cb6
DJ
108292006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10830
10831 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10832 test.
10833
6d7fd486
AS
108342006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10835
10836 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10837
29e8a844
DJ
108382006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10839
10840 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10841
6afcfa39
DJ
108422006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10843
10844 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10845
267a692b
MK
108462006-07-17 Mark Kettenis <kettenis@gnu.org>
10847
10848 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10849 *-*-openbsd* from targets for wich we expect ARM FPA floating
10850 point format.
10851
85d2fec4
NR
108522006-07-17 Nick Roberts <nickrob@snap.net.nz>
10853
10854 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10855
108562006-07-17 Mark Kettenis <kettenis@gnu.org>
10857
10858 * gdb.base/annota3.exp: Expect frame-begin annotation.
10859
85b4c6e8
JB
108602006-07-14 Joel Brobecker <brobecker@adacore.com>
10861
10862 * gdb.base/help.exp: Adjust "help unset" test to accept
10863 any list of unset commands.
10864
fb933624
DJ
108652006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10866 Daniel Jacobowitz <dan@codesourcery.com>
10867
10868 * gdb.cp/ref-params.exp: New test.
10869 * gdb.cp/ref-params.cc: New source file.
10870 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10871
1dff4b64
MK
108722006-07-08 Mark Kettenis <kettenis@gnu.org>
10873
10874 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10875 spaces/tabs in regular expressions since they might not be there.
10876
40d2e0e3
AS
108772006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10878
10879 * gdb.base/ifelse.exp: New file.
10880
f6c957d2
NS
108812006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10882
10883 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10884 line.
10885 * gdb.base/huge.exp: Loop over compilation to find a size that
10886 is acceptable.
10887 * gdb.base/remote.exp: Correct expected strings.
10888 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10889
b9c5a23d
DJ
108902006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10891
10892 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10893
9af2e58d
DJ
108942006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10895
10896 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10897 native.
10898
30930ca5
DJ
108992006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10900
10901 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10902 enable stabs testing.
10903
aa32fa1d
DJ
109042006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10905
bd4a4c80 10906 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
10907 gdb_test_multiple does.
10908
321fef15
DJ
109092006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10910
10911 * Makefile.in (host_alias): Remove.
10912 (target_alias): Use @target_noncanonical@.
10913 (site.exp): Don't set host_alias.
10914 * aclocal.m4: Remove contents. Include acx.m4.
10915 * configure: Regenerated.
10916 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10917
e1c2defa
NS
109182006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10919
e63b55d1
NS
10920 * lib/gdb.exp (gdb_load_cmd): New.
10921
5600ea19
NS
10922 * gdb.base/fileio.c: Add system(NULL) test.
10923 * gdb.base/fileio.exp: Check it.
10924
e1c2defa
NS
10925 * gdb.base/break.c: Add 10a breakpoint at }
10926 * gdb.base/break.exp: Add test for breakpoint at }
10927 * gdb.cp/anon-union.cc: Add code at end of function.
10928 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10929 * gdb.mi/var-cmd.c: Add code at end of function.
10930 * gdb.mi/mi-var-display.exp: Adjust end of next.
10931 * gdb.mi/mi2-var-display.exp: Likewise.
10932 * gdb.base/fileio.c: Add stop function and insert calls at
10933 stopping places.
10934 * gdb.base/fileio.exp: Breakpoint stop function and remove
10935 explicit line number references.
10936
6c0112ec
JB
109372006-05-19 Joel Brobecker <brobecker@adacore.com>
10938
a9c64011
AS
10939 * gdb.base/del.exp (test_delete_alias): New function.
10940 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 10941
154189a4
FF
109422006-05-18 Fred Fish <fnf@specifix.com>
10943
10944 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10945 required. Check for spurious output after program exits normally.
10946
582e64c2
FF
109472006-05-17 Fred Fish <fnf@specifix.com>
10948
10949 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10950 gdb_load, so it works in the simulator.
10951
8ef6493a
FF
109522006-05-11 Fred Fish <fnf@specifix.com>
10953
10954 * gdb.base/bang.exp: Ignore unexpected output between the
10955 "program exited normally" and the gdb prompt, as many other
10956 tests do.
10957
692b141c
MK
109582006-05-07 Mark Kettenis <kettenis@gnu.org>
10959
10960 * gdb.base/help.exp: Make "delete checkpoint" part option for
10961 "help d" and "help delete" tests.
10962
540b8a30
UW
109632006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10964
a9c64011 10965 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
10966 expected output in some mi_gdb_test statements.
10967 * gdb.mi/mi2-basics.exp: Likewise.
10968
9b6462d9
JB
109692006-05-05 Joel Brobecker <brobecker@adacore.com>
10970
10971 * gdb.base/del.c: New file.
10972 * gdb.base/del.exp: New testcase.
10973
954de43b
DM
109742006-05-05 David S. Miller <davem@sunset.davemloft.net>
10975
10976 * gdb.base/break.exp: Do not assume a breakpoint on
10977 main will actually be in $srcfile when optimizing.
1303f75e
DM
10978 * gdb.base/savedregs.exp: Do not require that the dummy
10979 frame location match up to a symbol and source file location.
c3242428
DM
10980 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10981 will get printed without a mi_cmd_data_list_register_values prefix.
10982 (*-data-list-register-*): Correct regular expressions to expect the new
10983 pseudo d? floating point registers.
10984 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 10985
c7e64c9a
DJ
109862006-05-05 Christophe Lyon <christophe.lyon@st.com>
10987
10988 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10989 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10990 is allocated by the compiler.
10991 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10992 anons, e, anone to force their allocation by the compiler.
10993
109942006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
10995
10996 * gdb.base/help.exp: Update expected text for help d and
10997 help delete.
10998
27ce9a6d
MK
109992006-05-02 Mark Kettenis <kettenis@gnu.org>
11000
11001 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
11002 NetBSD/ELF targets.
11003
8608915f
MK
110042006-04-30 Mark Kettenis <kettenis@gnu.org>
11005
11006 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
11007 single-step breakpoint fails; make this a KFAIL on
11008 sparc*-*-openbsd*.
11009 * gdb.base/siginfo.exp: Likewise.
11010 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11011
b8db102d
MS
110122006-04-26 Michael Snyder <msnyder@redhat.com>
11013
11014 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
11015 which may have to consume output from other forks.
11016 Add tests to make sure that "delete fork" succeeded.
11017
c702009a
MS
110182006-04-20 Michael Snyder <msnyder@redhat.com>
11019
11020 * 2006-03-22 Jim Blandy <jimb@redhat.com>
11021 Add support for the Renesas M32C and M16C.
11022
11023 * gdb.asm/asm-source.exp: Add m32c target.
11024 * gdb.asm/m32c.inc: Support for m32c target.
11025
e28493f2
AS
110262006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
11027
11028 * gdb.base/commands.exp (recursive_source_test): New test.
11029
880da185
DM
110302006-04-04 David S. Miller <davem@sunset.davemloft.net>
11031
11032 * gdb.base/float.exp: Add pattern for sparc targets.
11033
61d9b92f
DJ
110342006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11035
11036 * gdb.base/commands.exp (stray_arg0_test): New test.
11037
bd717df8
PB
110382006-03-30 Paul Brook <paul@codesourcery.com>
11039
11040 * gdb.mi/mi-until.exp: kfail broken until command.
11041 * gdb.mi/mi2-until.exp: Ditto.
11042
ec793d3c
NR
110432006-03-27 Nick Roberts <nickrob@snap.net.nz>
11044
11045 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
11046
831004b7
AO
110472006-03-08 Alexandre Oliva <aoliva@redhat.com>
11048
11049 * gdb.base/prelink.exp: Anchor tested-for regular expression
11050 on gdb prompt.
11051
effe49a0
PB
110522006-03-07 Paul Brook <paul@codesourcery.com>
11053
11054 * gdb.base/assign.exp: Correct fail message.
11055
e5461016
PB
110562006-03-07 Paul Brook <paul@codesourcery.com>
11057
11058 * lib/compiler.c: Extract armcc version number.
11059 * lib/compiler.cc: Ditto.
11060
fc91c6c2
PB
110612006-03-07 Paul Brook <paul@codesourcery.com>
11062
11063 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
11064 additional_flags=-w.
11065 * gdb.arch/altivec-regs.exp: Ditto.
11066 * gdb.arch/e500-abi.exp: Ditto.
11067 * gdb.arch/e500-regs.exp: Ditto.
11068 * gdb.base/all-bin.exp: Ditto.
11069 * gdb.base/annota1.exp: Ditto.
11070 * gdb.base/annota3.exp: Ditto.
11071 * gdb.base/args.exp: Ditto.
11072 * gdb.base/arithmet.exp: Ditto.
11073 * gdb.base/assign.exp: Ditto.
11074 * gdb.base/async.exp: Ditto.
11075 * gdb.base/bang.exp: Ditto.
11076 * gdb.base/break.exp: Ditto.
11077 * gdb.base/call-rt-st.exp: Ditto.
11078 * gdb.base/completion.exp: Ditto.
11079 * gdb.base/cond-expr.exp: Ditto.
11080 * gdb.base/condbreak.exp: Ditto.
11081 * gdb.base/consecutive.exp: Ditto.
11082 * gdb.base/define.exp: Ditto.
11083 * gdb.base/display.exp: Ditto.
11084 * gdb.base/ena-dis-br.exp: Ditto.
11085 * gdb.base/environ.exp: Ditto.
11086 * gdb.base/eval-skip.exp: Ditto.
11087 * gdb.base/info-proc.exp: Ditto.
11088 * gdb.base/jump.exp: Ditto.
11089 * gdb.base/logical.exp: Ditto.
11090 * gdb.base/long_long.exp: Ditto.
11091 * gdb.base/maint.exp: Ditto.
11092 * gdb.base/miscexprs.exp: Ditto.
11093 * gdb.base/pc-fp.exp: Ditto.
11094 * gdb.base/pointers.exp: Ditto.
11095 * gdb.base/relational.exp: Ditto.
11096 * gdb.base/reread.exp: Ditto.
11097 * gdb.base/sect-cmd.exp: Ditto.
11098 * gdb.base/sep.exp: Ditto.
11099 * gdb.base/sepdebug.exp: Ditto.
11100 * gdb.base/until.exp: Ditto.
11101 * gdb.base/whatis-exp.exp: Ditto.
11102 * gdb.cp/annota2.exp: Ditto.
11103 * gdb.cp/annota3.exp: Ditto.
11104 * gdb.trace/actions.exp: Ditto.
11105 * gdb.trace/backtrace.exp: Ditto.
11106 * gdb.trace/circ.exp: Ditto.
11107 * gdb.trace/collection.exp: Ditto.
11108 * gdb.trace/deltrace.exp: Ditto.
11109 * gdb.trace/infotrace.exp: Ditto.
11110 * gdb.trace/limits.exp: Ditto.
11111 * gdb.trace/packetlen.exp: Ditto.
11112 * gdb.trace/passc-dyn.exp: Ditto.
11113 * gdb.trace/passcount.exp: Ditto.
11114 * gdb.trace/report.exp: Ditto.
11115 * gdb.trace/save-trace.exp: Ditto.
11116 * gdb.trace/tfind.exp: Ditto.
11117 * gdb.trace/tracecmd.exp: Ditto.
11118 * gdb.trace/while-dyn.exp: Ditto.
11119 * gdb.trace/while-stepping.exp: Ditto.
11120 * lib/gdb.exp: Ditto.
11121 (gdb_compile): Handle nowarning option.
11122
5f4a23d9
AO
111232006-03-07 Alexandre Oliva <aoliva@redhat.com>
11124
11125 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
11126 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
11127 Rename executable to prelinkt. Don't re-prelink if we didn't
11128 get a core file. Test prelink -u exit status to tell whether
11129 prelinking failed. Use gdb_test_multiple.
11130
9733fc94
DJ
111312006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11132
11133 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
11134 (do_tests): Call it.
11135
cc10cae3
AO
111362006-02-28 Alexandre Oliva <aoliva@redhat.com>
11137
11138 * gdb.base/prelink.exp: New test.
11139 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
11140
15c46491
WZ
111412006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
11142
11143 * gdb.fortran/derived-type.f90: New file.
11144 * gdb.fortran/derived-type.exp: New testcase.
11145
5c9f7ded
DJ
111462006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
11147
11148 * gdb.base/default.exp: Allow ';' as a directory separator.
11149
5b96932b
AS
111502006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11151
11152 * gdb.base/help.exp (help add-symbol-file): Update.
11153
1986bccd
AS
111542006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11155
11156 * gdb.base/help.exp (help load): Update expected results.
11157
a8b7528f
FF
111582006-02-19 Fred Fish <fnf@specifix.com>
11159
11160 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
11161 specifix hex value as part of results.
11162 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 11163
f8261448
FF
111642006-02-16 Fred Fish <fnf@specifix.com>
11165
11166 * gdb.base/whatis.c: Define variables using typedefs char_addr,
11167 ushort_addr, and slong_addr, so the typedefs are not optimized
11168 away.
11169 * gdb.base/whatis.exp: Add tests using type name for struct type,
11170 union type, enum type, and typedef.
a9c64011 11171
31d8bdd2
MK
111722006-02-13 Mark Kettenis <kettenis@gnu.org>
11173
11174 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
11175
34e41e63
JB
111762006-02-13 Jim Blandy <jimb@redhat.com>
11177
11178 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
11179 case where it takes two "next" commands to skip past the init
11180 call.
11181
ac6e4f31
FF
111822006-02-12 Fred Fish <fnf@specifix.com>
11183
11184 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
11185 to handle cases where it takes two "next" commands to skip
11186 past the init call.
11187
2db2d571
JB
111882006-02-07 Joel Brobecker <brobecker@adacore.com>
11189
11190 * gdb.ada/array_return.exp: Mark the last test as expected to fail
11191 on hppa32 targets.
11192
38fcd64c
DJ
111932006-02-06 Vladimir Prus <ghost@cs.msu.su>
11194
11195 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
11196 field.
11197
1315ad46
MK
111982006-01-29 Mark Kettenis <kettenis@gnu.org>
11199
11200 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
11201
5625b943
DJ
112022006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11203
11204 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
11205 files.
11206
80df1bbe
DJ
112072006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11208
11209 * gdb.cp/maint.exp: Set complaints to a positive value.
11210
9078e690
DJ
112112006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11212
11213 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
11214 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
11215 function name.
11216
9c903399
DJ
112172006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11218
11219 * gdb.base/checkpoint.c: Update copyright notice. Include
11220 <stdlib.h>.
11221
761ae4d6
JB
112222006-01-04 Jim Blandy <jimb@redhat.com>
11223
11224 * gdb.asm/asm-source.exp: Independently provide default values for
11225 asm-flags and debug-flags. Use 'string equal' to do the
11226 comparison, not the implicit expr's '==' operator. Remove
11227 now-unneeded assignments to asm-flags. In h8300 case, place
11228 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
11229
099ac3dd
MS
112302006-01-04 Michael Snyder <msnyder@redhat.com>
11231
11232 * gdb.base/checkpoint.c: New file.
11233 * gdb.base/checkpoint.exp: New file.
11234 * gdb.base/multi-fork.c: New file.
11235 * gdb.base/multi-fork.exp: New file.
11236 * gdb.base/pi.txt: New file (data for checkpoint.c test).
11237
f4d85314
FF
112382006-01-04 Fred Fish <fnf@specifix.com>
11239
11240 * gdb.base/ptype.c (foo): Add typedef.
11241 (intfoo): Add function.
11242 * gdb.base/ptype1.c: New file.
11243 * gdb.base/ptype.exp: Handle compilation and linking with two
11244 source files. Test that proper type for "foo" is found based
11245 on source context rather than first match found in symtabs.
11246
a1b06f35
MK
112472005-12-28 Mark Kettenis <kettenis@gnu.org>
11248
11249 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
11250 * gdb.asm/openbsd.inc: Indent commands.
11251
d082a1e2
MK
112522005-12-26 Mark Kettenis <kettenis@gnu.org>
11253
c65016bd
MK
11254 * gdb.base/freebpcmd.exp: Increase timeout.
11255
d082a1e2
MK
11256 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
11257
d3c32a0e
DJ
112582005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
11259
11260 * gdb.base/default.exp: Update check for "show version".
11261
9fdb1f50
RC
112622005-12-09 Randolph Chung <tausq@debian.org>
11263
11264 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
11265 * gdb.asm/pa64.inc: New file.
11266
5f2c56f7
RC
112672005-12-09 Randolph Chung <tausq@debian.org>
11268
11269 * gdb.asm/common.inc: Indent commands.
11270 * gdb.asm/asmsrc1.s: Likewise.
11271 * gdb.asm/asmsrc2.s: Likewise.
11272
8117349c
RC
112732005-12-09 Randolph Chung <tausq@debian.org>
11274
11275 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
11276 (get_addr_of_sym): Remove duplicate print.
11277 (gen_core): xfail hppa*-*-hpux*, update expected output.
11278 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
11279 * gdb.arch/pa64-nullify.s: New file.
11280
8f07f25a
RC
112812005-12-09 Randolph Chung <tausq@debian.org>
11282
11283 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
11284
55b39184
DJ
112852005-12-07 Christophe Lyon <christophe.lyon@st.com>
11286
11287 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
11288 code generation for these functions.
11289 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
11290 error message.
11291
31e2b00f
AS
112922005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
11293
11294 * gdb.base/help.exp (help b, help br, help bre, help brea)
11295 (help break): Update the expected message.
11296
c3d0b56e
SC
112972005-11-11 Stephane Carrez <stcarrez@nerim.fr>
11298
11299 * gdb.asm/m68hc11.inc: Setup the data section.
11300 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
11301 script for this test.
11302 (m6812-*-*): Likewise.
11303
36ae0ea9
RC
113042005-11-09 Randolph Chung <tausq@debian.org>
11305
11306 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
11307
9d6f42e9
WZ
113082005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
11309
11310 * gdb.base/break.exp: Fix a comment typo.
11311
e2126a14
EZ
113122005-11-03 Jim Blandy <jimb@redhat.com>
11313
a9c64011
AS
11314 Checked in by Elena Zannoni <ezannoni@redhat.com>
11315
889bf7c5 11316 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 11317
e0ac7199
CV
113182005-11-02 Corinna Vinschen <vinschen@redhat.com>
11319
11320 * gdb.arch/gdb1558.c: Include stdio.h.
11321
31d3fb18
MK
113222005-10-31 Mark Kettenis <kettenis@gnu.org>
11323
11324 * gdb.asm/asm-source.exp: Use -e instead of --entry.
11325
e52b687c
MK
113262005-10-31 Mark Kettenis <kettenis@gnu.org>
11327
11328 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
11329
f4711d79
PG
113302005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
11331
a9c64011
AS
11332 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11333 vscr" tests to better match output.
f4711d79 11334
987a9106
JB
113352005-10-12 Jim Blandy <jimb@redhat.com>
11336
11337 * gdb.base/structs.exp (any): New function.
11338 (test_struct_returns): Don't make any assumptions at all about
11339 what value the function returns when GDB can't set the return
11340 value.
11341
2336bb58
JB
113422005-10-09 Joel Brobecker <brobecker@adacore.com>
11343
11344 * gdb.ada/arrayidx/p.adb: New file.
11345 * gdb.ada/arrayidx.exp: New testcase
11346
113472005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
11348
11349 * gdb.ada/array_return/pck.ads: New file.
11350 * gdb.ada/array_return/pck.adb: New file.
11351 * gdb.ada/array_return/p.adb: New file.
11352 * gdb.ada/array_return.exp: New testcase.
11353
705335ea
JB
113542005-10-03 Joel Brobecker <brobecker@adacore.com>
11355
a9c64011
AS
11356 * gdb.base/arrayidx.c: New file.
11357 * gdb.base/arrayidx.exp: New testcase.
705335ea 11358
11ee9940
NR
113592005-09-29 Nick Roberts <nickrob@snap.net.nz>
11360
11361 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
11362 frames-invalid and breakpoints-invalid are no longer generated
11363 with level 3 so don't expect them in the output.
11364
39fb8e9e
BR
113652005-09-27 Bob Rossi <bob@brasko.net>
11366
a9c64011 11367 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
11368 from test. Escape the | in mi_gdb_test call.
11369 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
11370 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
11371 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
11372 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
11373 expected regex's in mi_gdb_test calls.
11374 * lib/mi-support.exp: Remove arbitrary .* from tests.
11375 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
11376 Fully anchor GDB/MI expected results in mi_gdb_test.
11377 * lib/gdb.exp (string_to_regexp): Escape the ] character.
11378 * gdb.base/sizeof.exp: Remove escape character. Correct test.
11379
2af48f68
PB
113802005-09-26 Paul Brook <paul@codesourcery.com>
11381
11382 * long_long.exp: Exclude eabi targets from arm FPA float format test.
11383
f34502bc
WZ
113842005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11385
11386 * bfp-test.c: New file.
11387 * bfp-test.exp: New testcase.
11388
ca929517
WZ
113892005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11390
11391 * gdb.fortran/subarray.exp: New testcase to test the evaluation
11392 of subarray and substring variable.
11393 * gdb.fortran/subarray.f: New source file for the test of subarray
11394 and substring variable evaluation.
11395 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
11396 of string constant.
11397
c761af65
DJ
113982005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
11399
11400 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
11401 copyright dates.
11402
561d7a1d
PG
114032005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
11404
11405 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
11406 powerpc altivec' test with an almost identical 'info vector' test.
11407
b2b64cc9
PG
114082005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11409
a9c64011
AS
11410 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11411 vscr" tests to match output.
b2b64cc9 11412
6ac4d15a
PG
114132005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11414
a9c64011
AS
11415 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
11416 output.
6ac4d15a 11417
40e55bef
BR
114182005-09-11 Bob Rossi <bob@brasko.net>
11419
889bf7c5
PA
11420 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
11421 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
11422 commands that return an MI output command and an asyncronous MI output
11423 command.
40e55bef
BR
11424 * gdb.mi/mi-console.exp: Ditto.
11425
3c7385ec
BR
114262005-09-11 Bob Rossi <bob@brasko.net>
11427
11428 * gdb.mi/mi-var-child.c: Include <string.h>.
11429
a6cd0eb3
DJ
114302005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
11431
11432 * killed.exp: Correct gdb_expect syntax.
11433
2f168eed
CV
114342005-08-09 Corinna Vinschen <vinschen@redhat.com>
11435
11436 * lib/mi-support.exp (mi_gdb_load): Fix typo.
11437
ecd3fd0f
BR
114382005-08-02 Bob Rossi <bob@brasko.net>
11439
11440 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11441 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11442 Change tests to inferior-tty-set/show.
11443 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11444 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11445 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11446 inferior. Use mi_gdb_test to get GDB and Inferior output.
11447 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11448 descriptor.
11449 (mi_inferior_tty_name): Add inferior PTY file name.
11450 (mi_gdb_start): Add INFERIOR_PTY parameter.
11451 (mi_gdb_test): Add IPATTERN parameter.
11452
f1ea48cb 114532005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 11454
f1ea48cb
BR
11455 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11456 parameter to mi_gdb_test.
11457 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11458
6e650a67
DJ
114592005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11460
11461 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11462 struct_declarations.
11463 * gdb.mi/mi-var-child.exp: Step over the initialization of
11464 struct_declarations.
11465
8be260b6
DJ
114662005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11467
11468 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11469 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11470 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11471 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11472 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11473 file.
11474
4e660f07
NR
114752005-07-27 Nick Roberts <nickrob@snap.net.nz>
11476
11477 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11478 (do_children_tests): Assign values to the extra elements.
11479
11480 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11481 them for tests for "-var-update --no-values" and
a9c64011 11482 "-var-update --all-values".
4e660f07
NR
11483 Add test for "-var-list-children --simple-values".
11484
11485 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11486
11487 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11488 "-stack-list-locals --simple-values" Improve doc strings and
11489 comments.
11490
6bdae935
MK
114912005-07-18 Mark Kettenis <kettenis@gnu.org>
11492
598b7a6f
MK
11493 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11494 *-*-openbsd*.
11495 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11496
6bdae935
MK
11497 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11498 sigaltsatck'.
11499
1323e929 115002005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 11501
1323e929
BR
11502 * gdb.base/default.exp (tty): Changed output of command.
11503 * gdb.base/help.exp (help tty): Ditto.
11504
b1a9c082
MK
115052005-07-12 Mark Kettenis <kettenis@gnu.org>
11506
11507 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11508
10a844a2
MK
115092005-07-10 Mark Kettenis <kettenis@gnu.org>
11510
11511 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11512 -stack-select-frame without arguments.
11513 (test_stack_frame_listing): Add test for newly implemented command
11514 -stack-info-frame.
11515
3cb3b8df
BR
115162005-07-06 Bob Rossi <bob@brasko.net>
11517
11518 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11519 command.
11520 (Copyright): Update copyright.
11521
a0c5fbcf
WZ
115222005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11523
11524 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11525 tests to evaluate exponentiation expression.
11526
984971d0
AS
115272005-06-29 Andreas Schwab <schwab@suse.de>
11528
11529 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11530 main to avoid warnings.
11531
11532 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11533
fe03833f
NR
115342005-06-20 Nick Roberts <nickrob@snap.net.nz>
11535
11536 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11537 -stack-select-frame without arguments.
11538 (test_stack_frame_listing): Add test for newly implemented command
11539 -stack-info-frame.
a9c64011 11540
7a55f279
WZ
115412005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11542
0ffa0ea5
DJ
11543 * gdb.fortran/array-element.f: New file.
11544 * gdb.fortran/array-element.exp: New testcase.
7a55f279 11545
26585198
DJ
115462005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11547
11548 * gdb.base/bigcore.exp: Correct checks for systems which can
11549 not dump a large core file.
11550
c1bd25fd
DJ
115512005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11552
11553 * gdb.base/relocate.c: Add a copyright notice.
11554 (dummy): Remove.
11555 * gdb.base/relocate.exp: Test printing the values of variables
11556 from a relocatable file.
11557
589e074d
DJ
115582005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11559
11560 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11561 excess MI output after an error.
11562
0915f927
JB
115632005-05-29 Joel Brobecker <brobecker@adacore.com>
11564
11565 * gdb.arch/alpha-step.c: New file.
11566 * gdb.arch/alpha-step.exp: New testcase.
11567
76ff342d
DJ
115682005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11569 Dennis Brueni <dennis@slickedit.com>
11570
11571 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11572 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11573 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11574 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11575 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11576 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11577 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11578
96b0c7ac
DJ
115792005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11580 Wu Zhou <woodzltc@cn.ibm.com>
11581
11582 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11583 IBM's xlc compiler.
11584 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11585 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11586
f21565d2
JB
115872005-05-13 Jim Blandy <jimb@redhat.com>
11588
11589 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11590 calling gdb_suppress_entire_file.
11591 * gdb.base/charset.exp: Same.
11592 * gdb.base/call-rt-st.exp: Same.
11593
6006a3a1
BR
115942005-05-05 Bob Rossi <bob_rossi@cox.net>
11595
11596 * lib/gdb.exp (fullname_syntax): Added global regex.
11597 (fullname_syntax_POSIX): Ditto.
11598 (fullname_syntax_UNC): Ditto.
11599 (fullname_syntax_DOS_CASE): Ditto.
11600 (fullname_syntax_DOS): Ditto.
11601 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11602 fullname_syntax variable to scope and use it.
11603 (test_file_list_exec_source_files): Ditto.
11604 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11605
c3b69c04
DJ
116062005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11607
11608 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11609
3c95e6af
PG
116102004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11611
a9c64011
AS
11612 * lib/gdb.exp (skip_altivec_tests): New function, based on
11613 check_vmx_hw_available from the GCC testsuite.
11614 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11615 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 11616
78df6c56
JB
116172005-05-02 Jim Blandy <jimb@redhat.com>
11618
11619 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11620 calling gdb_suppress_entire_file.
11621
1690f9cf
DJ
116222005-04-30 Randolph Chung <tausq@debian.org>
11623
11624 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11625 Slightly relax "sem_post" name checking.
11626
5ea106f7
PG
116272005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11628
11629 * gdb.base/unload.exp: Use new shared library infrastructure.
11630
bf7234cf
PG
116312005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11632
11633 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 11634 infrastructure.
bf7234cf 11635
547b869a
CV
116362005-04-29 Corinna Vinschen <vinschen@redhat.com>
11637
11638 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11639 * gdb.asm/h8300.inc: New file.
11640
f07e55f0
PG
116412005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11642
11643 * gdb.base/shlib-call.exp: Change to use new shared library
11644 infrastructure.
11645
3cbba3d1
PG
116462005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11647
a9c64011
AS
11648 * gdb.base/pending.exp: Change to use new shared library
11649 infrastructure.
3cbba3d1 11650
ed6df200
PG
116512005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11652
a9c64011
AS
11653 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11654 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 11655
8c8f4ebe
PG
116562005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11657
a9c64011
AS
11658 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11659 shared objects being adjusted and update copyright years.
8c8f4ebe 11660
607fbc54
DJ
116612005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11662
11663 * ChangeLog: Correct some 2003-01-13 dates.
11664 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11665 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11666 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11667 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11668 gdb.trace/tfind.exp: Update copyright years.
11669
57bf0e56
DJ
116702005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11671 Daniel Jacobowitz <dan@codesourcery.com>
11672
11673 * lib/gdb.exp (gdb_compile): Handle shlib=.
11674 (gdb_compile_shlib): New function.
11675
9b593790
PG
116762005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11677
a9c64011 11678 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 11679
9494c6a5
DJ
116802005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11681
11682 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11683 gdb.server.
11684 * configure.ac: Likewise.
11685 * configure: Regenerated.
11686 * gdb.gdbserver/Makefile.in: Moved to...
11687 * gdb.server/Makefile.in: ... here.
11688 * gdb.gdbserver/server.c: Moved to...
11689 * gdb.server/server.c: ... here.
11690 * gdb.gdbserver/server-run.exp: Moved to...
11691 * gdb.server/server-run.exp: ... here.
11692
6f8eac0e
DJ
116932005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11694
11695 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11696 * configure.ac: Create gdb.gdbserver/Makefile.
11697 * configure: Regenerated.
11698 * lib/gdbserver-support.exp: New file, derived from
11699 config/gdbserver.exp.
11700 * config/gdbserver.exp: Use gdbserver-support.exp.
11701 * gdb.gdbserver/Makefile.in: New file.
11702 * gdb.gdbserver/server.c: New file.
11703 * gdb.gdbserver/server-run.exp: New file.
11704
6e87504d
PG
117052005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11706
a9c64011
AS
11707 * lib/gdb.exp (test_compiler_info): Return compiler_info
11708 if no arguments are given.
6e87504d 11709
d1779be4
PG
117102005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11711
11712 * gdb.arch/altivec-abi.exp: Check for compiler and set
11713 use altivec' flag accordingly.
11714 * gdb.arch/altivec-regs.exp: Likewise.
11715
88750304
DJ
117162005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11717
11718 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11719
f3fb768d
AS
117202005-03-27 Andreas Schwab <schwab@suse.de>
11721
11722 * gdb.base/bigcore.c (main): Add missing mode argument in open
11723 call.
11724
7e813ac5
DJ
117252005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11726
11727 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11728 downloads.
11729 * config/gdbserver.exp (gdb_load): Likewise.
11730
8e3049aa
PB
117312005-03-14 Paul Brook <paul@codesourcery.com>
11732
11733 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11734 targets.
11735
a9df7c44
JB
117362005-03-09 Joel Brobecker <brobecker@adacore.com>
11737
11738 * gdb.dwarf2/dup-psym.S: New file.
11739 * gdb.dwarf2/dup-psym.exp: New testcase.
11740
9f0d94e8
JB
117412005-03-09 Joel Brobecker <brobecker@adacore.com>
11742
11743 * gdb.ada/exec_changed/first.adb: New file.
11744 * gdb.ada/exec_changed/second.adb: New file.
11745 * gdb.ada/exec_changed.exp: New testcase.
11746
5f579bc5
NS
117472005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11748
36e9969c
NS
11749 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11750 (A2): New class.
11751 (main): Test operator+.
11752 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11753 breakpoint test.
11754
5f579bc5
NS
11755 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11756 * gdb.base/signull.exp: Disable if gdb,nosignals.
11757 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11758 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11759 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11760 * gdb.mi/mi2-console.exp: Likewise.
11761 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11762 continue output at start.
11763 (gdb_collect_locals_test): Robustify regexp.
11764 * gdb.trace/passc-dyn.exp: Fix comment typo.
11765 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11766
be46087e
CV
117672005-03-08 Corinna Vinschen <vinschen@redhat.com>
11768
11769 * gdb.asm/asm-source.exp: Add iq2000 case.
11770 * gdb.asm/iq2000.inc: New file.
11771
384e1a61 117722005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 11773
384e1a61
MI
11774 * gdb.base/command.exp: Change hardcoded value to regular expression.
11775 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11776
584b6e9e
DJ
117772005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11778
11779 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11780 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11781 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11782 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11783 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11784
ab5b5d61
MK
117852005-03-05 Mark Kettenis <kettenis@gnu.org>
11786
11787 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11788 changes.
11789
ae051c1b
PG
117902004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11791
a9c64011
AS
11792 * lib/compiler.c: Add test for IBM's xlc compiler.
11793 * lib/compiler.cc: Likewise.
ae051c1b 11794
3f0f6ed2
JB
117952004-02-24 Joel Brobecker <brobecker@adacore.com>
11796
11797 * gdb.ada/fixed_points.exp: Create compilation object directory
11798 before running the test.
11799 * gdb.ada/null_record.exp: Likewise.
11800 * gdb.ada/packed_array.exp: Likewise.
11801 * gdb.ada/start.exp: Likewise.
11802
724f452b
JB
118032005-02-15 Joel Brobecker <brobecker@adacore.com>
11804
11805 * gdb.ada/packed_array/pa.adb: New file.
11806 * gdb.ada/packed_array.exp: New testcase.
11807
57f5cdfb 118082005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 11809
1f393151
MK
11810 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11811 files.
11812
ebdda337
MK
11813 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11814 on *-*-openbsd*. Correctly match whitespace in regukar
11815 expressions.
11816
cf309262
DJ
118172005-02-10 Daniel Jacobowitz <dan@debian.org>
11818
11819 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11820 PR exp/1821
11821 * gdb.base/gdb1821.c: New test file.
11822 * gdb.base/gdb1821.exp: New test file.
11823
3be49e7a
JB
118242005-02-09 Joel Brobecker <brobecker@adacore.com>
11825
11826 * gdb.base/start.c: New file.
11827 * gdb.base/start.exp: New testcase.
11828
e292e67d
JB
118292005-02-09 Joel Brobecker <brobecker@adacore.com>
11830
11831 * gdb.ada/start/dummy.adb: New file.
11832 * gdb.ada/start.exp: New testcase.
11833
dbdfa66c
CV
118342005-02-09 Corinna Vinschen <vinschen@redhat.com>
11835
11836 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11837 for printing symbols and statistics.
11838 Add test for using relative pathnames in "maint print msymbols" test.
11839 Mark "maint info sections DATA" XFAIL on Cygwin.
11840 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11841 tests.
11842
d7941671
AC
118432005-02-09 Andreas Schwab <schwab@suse.de>
11844
11845 Committed by Andrew Cagney <cagney@gnu.org>
11846 * gdb.base/remotetimeout.exp: New file.
11847
74e5ef44
MK
118482005-02-07 Mark Kettenis <kettenis@gnu.org>
11849
11850 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11851
464dd14d
JB
118522005-02-03 Joel Brobecker <brobecker@adacore.com>
11853
11854 * gdb.ada/gnat_ada.gpr: New file.
11855 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11856 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11857 * configure.ac: No longer generate gnat_ada.gpr.
11858 * configure: Regenerate.
11859 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11860 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11861 * gdb.ada/null_record/bar.ads: Likewise.
11862 * gdb.ada/null_record/bar.adb: Likewise.
11863 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11864 * gdb.ada/null_record.exp (testdir): New variable.
11865 (testfile): executable is now in testdir subdirectory.
11866 (srcfile): Use full path to the main compilation unit.
11867 * gdb.ada/fixed_points.exp: Same changes as above.
11868
30d756ae
NR
118692005-02-03 Nick Roberts <nickrob@snap.net.nz>
11870
11871 * gdb.base/interp.exp: New test.
11872
9d799f85
AC
118732005-01-24 Andrew Cagney <cagney@gnu.org>
11874
11875 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11876
15656118
AC
118772005-01-19 Andrew Cagney <cagney@gnu.org>
11878
a892c31b
AC
11879 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11880 configure.ac not configure.in.
11881
15656118
AC
11882 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11883 of powerpc*-*-*.
11884 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 11885 * gdb.base/list.exp (test_list_function)
15656118
AC
11886 (test_list_filename_and_function): Ditto.
11887 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11888
a7b01baf
AC
118892005-01-16 Andrew Cagney <cagney@gnu.org>
11890
17d92a02
AC
11891 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11892
a7b01baf
AC
11893 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11894
bc8332bb
AC
118952005-01-14 Andrew Cagney <cagney@gnu.org>
11896
11897 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11898 * gdb.mi/mi2-var-cmd.exp: Ditto.
11899
4d074752
CV
119002005-01-10 Corinna Vinschen <vinschen@redhat.com>
11901
11902 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11903
bec39cab
AC
119042005-01-07 Andrew Cagney <cagney@gnu.org>
11905
11906 * configure.ac: Rename configure.in, require autoconf 2.59.
11907 * configure: Re-generate.
11908 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11909 * gdb.stabs/configure: Re-generate.
11910 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11911 * gdb.hp/configure: Re-generate.
11912 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11913 autoconf 2.59.
11914 * gdb.hp/gdb.objdbg/configure: Re-generate.
11915 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11916 autoconf 2.59.
11917 * gdb.hp/gdb.defects/configure: Re-generate.
11918 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11919 autoconf 2.59.
11920 * gdb.hp/gdb.compat/configure: Re-generate.
11921 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11922 autoconf 2.59.
11923 * gdb.hp/gdb.base-hp/configure: Re-generate.
11924 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11925 autoconf 2.59.
11926 * gdb.hp/gdb.aCC/configure: Re-generate.
11927
f10b16d4
JB
119282004-12-15 Jim Blandy <jimb@redhat.com>
11929
11930 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11931 under NPTL when there is debugging info available for libpthread.
11932
fb6e1814
JG
119332004-12-13 Jerome Guitton <guitton@gnat.com>
11934
11935 * gdb.ada/fixed_points.c: New file.
11936 * gdb.ada/fixed_points.exp: New file.
11937
fe46cd3a
RC
119382004-12-03 Randolph Chung <tausq@debian.org>
11939
11940 * gdb.arch/pa-nullify.exp: New file.
11941 * gdb.arch/pa-nullify.s: New file.
11942
8de0841b
RC
119432004-11-30 Randolph Chung <tausq@debian.org>
11944
11945 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11946 instead of "tbug". Fix regexp to work properly with gdb_test.
11947
c8170782
PH
119482004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11949
11950 * gdb.base/bitfields2.exp: New test.
11951 * gdb.base/bitfields2.c: New file.
11952
954269c2
RE
119532004-11-28 Richard Earnshaw <rearnsha@arm.com>
11954
11955 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11956
0107feed
RC
119572004-11-16 Randolph Chung <tausq@debian.org>
11958
11959 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11960
f073ae8c
DJ
119612004-11-14 Daniel Jacobowitz <dan@debian.org>
11962
11963 * gdb.threads/threadapply.exp: Correct "macro details" test.
11964
19ad59e7
JJ
119652004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11966
11967 * gdb.threads/threadapply.exp: New test.
11968 * gdb.threads/threadapply.c: New file.
11969
9cf0961b
MK
119702004-11-07 Mark Kettenis <kettenis@gnu.org>
11971
11972 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11973 frames.
11974
c789492a
FL
119752004-11-05 Felix Lee <felix+log1@specifixinc.com>
11976
11977 * gdb.base/cursal.exp: New file.
11978 * gdb.base/cursal.c: New file.
11979
a1e167bb
AC
119802004-11-03 Andrew Cagney <cagney@gnu.org>
11981
11982 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11983
b7cbf173
MK
119842004-10-30 Mark Kettenis <kettenis@gnu.org>
11985
11986 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11987 NetBSD/ELF targets.
11988
88f9d34f
JB
119892004-10-29 Joel Brobecker <brobecker@gnat.com>
11990
11991 * gdb.threads/bp_in_thread.c: New file, copied from
11992 pthread_cond_wait.c.
11993 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11994 file, rather than reusing the .c file from another testcase.
11995
ca7d6a0c
JB
119962004-10-20 Joel Brobecker <brobecker@gnat.com>
11997
11998 * gdb.ada/null_record.exp: Check where we stopped after
11999 sending the start command, instead of where the associated
12000 temporary breakpoint was inserted.
12001
0d863d03
AC
120022004-10-14 Andrew Cagney <cagney@gnu.org>
12003
12004 * gdb.mi/gdb701.c (main): Return 0.
12005
d11e72cb
DJ
120062004-10-13 Daniel Jacobowitz <dan@debian.org>
12007
d40539a4 12008 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 12009
e1923096
JJ
120102004-10-12 Jeff Johnston <jjohnstn@redhat.com>
12011
12012 * gdb.threads/schedlock.c: Add comment markers to use to find
12013 line numbers.
12014 * gdb.threads/schedlock.exp: Adjust regex to handle the new
12015 comments.
12016 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
12017 breakpoint lines.
12018
ec8ba2c9
DJ
120192004-10-12 Daniel Jacobowitz <dan@debian.org>
12020
12021 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
12022
0eb3658b
DJ
120232004-10-12 Daniel Jacobowitz <dan@debian.org>
12024
12025 * configure.in: Add gdb.dwarf2.
12026 * configure: Regenerated.
12027 * Makefile.in: Add gdb.dwarf2.
12028 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
12029 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
12030 gdb.dwarf2/file1.txt: New files.
12031
a271cc33
OF
120322004-10-11 Orjan Friberg <orjanf@axis.com>
12033
a9c64011 12034 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
12035 of "run", since the latter doesn't work with remote targets. Adjust
12036 the breakpoint numbering accordingly.
12037 * gdb.threads/pthread_cond_wait.exp: Ditto.
12038
895ce074
MC
120392004-10-08 Michael Chastain <mec.gnu@mindspring.com>
12040
12041 * gdb.base/overlays.exp: Update copyright years.
12042
6be3092d
KI
120432004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
12044
12045 * gdb.base/overlays.exp: Disable if target is Linux.
12046
e05389b8
FL
120472004-10-06 Felix Lee <felix+log1@specifixinc.com>
12048
12049 * config/gdbserver.exp (gdb_load): Use right filename on remote.
12050
73cb587d
KI
120512004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
12052
12053 * gdb.asm/asm-source.exp: Add m32r-linux target.
12054 * gdb.asm/m32r-linux.inc: New file.
12055
3c0edcdc
AC
120562004-09-24 Andrew Cagney <cagney@redhat.com>
12057 David Anderson <anderson@redhat.com>
12058
12059 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
12060 command fails, assume things will work.
12061 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
12062 (_GNU_SOURCE): Define.
12063 (print_unsigned, print_hex): Change parameter to "long long".
12064 (print_byte_count): New function, use to print byte counts.
12065 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
12066 O_LARGEFILE.
12067 (main): Compute an upper bound on a corefile in max_core_size.
12068 Limit memory chunk size to max_core_size. Limit total memory
12069 allocated to max_core_size.
12070
4bb3667f
AC
120712004-09-23 Andrew Cagney <cagney@gnu.org>
12072
12073 * gdb.base/bigcore.exp: Replace the code that creates a corefile
12074 from a separate process with code that creates a corefile by
12075 making the inferior dump core.
12076
60fe1a51
MK
120772004-09-23 Mark Kettenis <kettenis@gnu.org>
12078
12079 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
12080 block.
12081
8e937346
MC
120822004-09-23 Michael Chastain <mec.gnu@mindspring.com>
12083
12084 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
12085 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
12086 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
12087 Likewise.
12088
7213f6d6
JJ
120892004-09-20 Jeff Johnston <jjohnstn@redhat.com>
12090
12091 * gdb.java/jprint.exp: New test case for java inferior call.
12092 * gdb.java/jprint.java: Ditto.
12093
eac69dca
JB
120942004-09-15 Joel Brobecker <brobecker@gnat.com>
12095
12096 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
12097
22227696
MC
120982004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12099
12100 * gdb.threads/killed.c: Include <stdlib.h>.
12101 * gdb.threads/pthreads.c: Likewise.
12102
7dd403a4
MC
121032004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12104
12105 * gdb.threads/killed.c: Add copyright notice.
12106
33f2d567
JM
121072004-09-10 Jason Molenda (jmolenda@apple.com)
12108
a9c64011
AS
12109 * gdb.base/define.exp: Two new tests to verify zero space chars
12110 after 'if' and 'while' commands in a user-defined command is correctly
12111 parsed.
33f2d567 12112
e05b62ac
AC
121132004-09-08 Andrew Cagney <cagney@gnu.org>
12114
12115 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
12116 delivery test with duplicate at end of file.
12117
9cbe82da
MK
121182004-09-06 Mark Kettenis <kettenis@jive.nl>
12119
12120 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
12121
564803d9
MC
121222004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12123
12124 * config/hppro.exp: Removed.
12125
7c6807ce
MC
121262004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12127
12128 * config/sparclet.exp: Removed.
12129
bf7e26dd
MC
121302004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12131
12132 * config/udi.exp: Removed.
12133
714e341b
MC
121342004-09-02 Michael Chastain <mec.gnu@mindspring.com>
12135
12136 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
12137 of "exp_continue".
12138 (advancei): Likewise.
12139
1236e623
JJ
121402004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12141
12142 * gdb.base/unload.exp: Fix so messages aren't duplicated.
12143
3bdcad15
MI
121442004-09-01 Manoj Iyer <manjo@austin.ibm.com>
12145
228af206 12146 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
12147 to check for nodebug in executable.
12148 * gdb.gdb/observer.exp (setup_test): Likewise.
12149 * gdb.gdb/selftest.exp (test_with_self): Likewise.
12150 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
12151
c72b934c
AC
121522004-09-01 Andrew Cagney <cagney@gnu.org>
12153
12154 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12155 files.
12156
edd9b715
JJ
121572004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12158
12159 * gdb.base/unload.exp: Fix expected warning message to match
12160 latest format.
12161
fb4ce06b
CV
121622004-09-01 Corinna Vinschen <vinschen@redhat.com>
12163
12164 * gdb.base/call-rt-st.exp: Fix typos.
12165
ce78e7c3
MI
121662004-08-31 Manoj Iyer <manjo@austin.ibm.com>
12167
12168 * gdb.threads/thread_check.exp: New testcase.
12169 * gdb.threads/thread_check.c: New testcase.
12170
2dedb159
AC
121712004-08-31 Andrew Cagney <cagney@gnu.org>
12172
12173 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
12174 (skip_to_handler_entry): New procedures. Test stepping into a
12175 handler when the breakpoint is at the handler's entry point.
12176
68f53502
AC
121772004-08-30 Andrew Cagney <cagney@gnu.org>
12178
12179 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
12180 gdb/1757.
12181
3e3ffd2b
MC
121822004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12183
12184 With code from Manoj Iyer <manjo@austin.ibm.com>:
12185 * lib/gdb.exp (gdb_file_cmd): Return more information in the
12186 return value. Add an arm for "no debugging symbols found".
12187 Change a stray "error" to "perror".
12188 (gdb_run_cmd): Adapt to new return value.
12189 * gdb.base/remote.exp: Adapt to new return value.
12190 * gdb.gdb/complaints.exp: Likewise.
12191 * gdb.gdb/observer.exp: Likewise.
12192 * gdb.gdb/selftest.exp: Likewise.
12193 * gdb.gdb/xfullpath.exp: Likewise.
12194
4b6f5fd2
JB
121952004-08-27 Joel Brobecker <brobecker@gnat.com>
12196
12197 * gdb.threads/bp_in_thread.exp: New testcase.
12198
e5b25496
MC
121992004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12200
12201 Fix PR testsuite/1735.
12202 * gdb.threads/schedlock.c (thread_function): Add a cast
12203 to suppress a gcc warning.
12204 * gdb.threads/thread-specific.c (thread_function): Likewise.
12205
934353d6
MC
122062004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12207
12208 * gdb.base/unload.c: Include <stdlib.h>.
12209
f98a0aef 122102004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 12211
f98a0aef 12212 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
12213 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
12214 synchronized after the "return".
12215
5a2e8882
MC
122162004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12217
12218 * gdb.mi/basics.c: Include <stdio.h>.
12219 * gdb.mi/pthreads.c: Include <stdlib.h>.
12220 * gdb.mi/var-cmd.c: Include <stdlib.h>.
12221
a9640423
MC
122222004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12223
12224 * gdb.threads/schedlock.c: Add copyright notice.
12225
b04e311d
AC
122262004-08-25 Andrew Cagney <cagney@gnu.org>
12227
12228 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
12229 (skip_over_handler, breakpoint_over_hander): New test procedures.
12230 (advance, advancei): Add a proper prefix, do not use
12231 rerun_to_main.
12232 * gdb.base/sigstep.c (main): Change to use an infinite loop.
12233
7c27f15b
MC
122342004-08-24 Michael Chastain <mec.gnu@mindspring.com>
12235
12236 * gdb.mi/basics.c: Add copyright notice.
12237 * gdb.mi/var-cmd.c: Add copyright notice.
12238
fffc87ae
MC
122392004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12240
12241 * lib/gdb.exp: Remove signed_keyword_not_used.
12242 * lib/compiler.c: Likewise.
12243 * lib/compiler.cc: Likewise.
12244
d782e0bf
MC
122452004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12246
12247 * gdb.base/whatis.c: Remove conditional disabling of "signed".
12248 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
12249
96033e83
MC
122502004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12251
12252 * gdb.base/whatis.c: Add copyright notice.
12253
cf38c229
MK
122542004-08-20 Mark Kettenis <kettenis@gnu.org>
12255
12256 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
12257 it to skip the breakpoints encoded in the inline assembly.
12258
f4b49756
MC
122592004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12260
12261 * Makefile.in: Add gdb.fortran.
12262
2f193b69
MC
122632004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12264
12265 * gdb.base/call-sc.exp (test_scalar_returns):
12266 Fix cut-and-paste glitch in "Make fun return now".
12267
89a237cb
MC
122682004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12269
12270 * configure.in: Add gdb.fortran.
12271 * configure: Regenerate.
12272 * gdb.fortran/Makefile.in: New file.
12273 * lib/gdb.exp (skip_fortran_tests): New procedure.
12274
469aff8e
MC
122752004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12276
12277 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
12278 reference to bug-gnu@prep.ai.mit.edu.
12279 * gdb.mi/mi-var-child.exp: Likewise.
12280 * gdb.mi/mi-var-cmd.exp: Likewise.
12281 * gdb.mi/mi-var-display.exp: Likewise.
12282 * gdb.mi/mi2-var-block.exp: Likewise.
12283 * gdb.mi/mi2-var-child.exp: Likewise.
12284 * gdb.mi/mi2-var-cmd.exp: Likewise.
12285 * gdb.mi/mi2-var-display.exp: Likewise.
12286
00b51b9f
MK
122872004-08-15 Mark Kettenis <kettenis@gnu.org>
12288
12289 * gdb.base/unload.c (main): Make local variable msg const.
12290
45f07fef
MC
122912004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12292
12293 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
12294 to bug-gnu@prep.ai.mit.edu.
12295 * gdb.mi/mi-disassemble.exp: Likewise.
12296 * gdb.mi/mi-eval.exp: Likewise.
12297 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
12298 default line number.
12299 * gdb.mi/mi-return.exp: Likewise.
12300 * gdb.mi/mi-simplerun.exp: Likewise.
12301 * gdb.mi/mi-stack.exp: Likewise.
12302 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
12303 number with explicit range test.
12304 * gdb.mi/mi-watch.exp: Likewise.
12305 * gdb.mi/mi2-break.exp: Likewise.
12306 * gdb.mi/mi2-cli.exp: Likewise.
12307 * gdb.mi/mi2-disassemble.exp: Likewise.
12308 * gdb.mi/mi2-eval.exp: Likewise.
12309 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
12310 default line number.
12311 * gdb.mi/mi2-return.exp: Likewise.
12312 * gdb.mi/mi2-simplerun.exp: Likewise.
12313 * gdb.mi/mi2-stack.exp: Likewise.
12314 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
12315 number with explicit range test.
12316 * gdb.mi/mi2-watch.exp: Likewise.
12317
dd8c8ee7
MC
123182004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12319
12320 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
12321 * gdb.cp/m-static.exp: Likewise.
12322 * gdb.cp/rtti.exp: Likewise.
12323
4e838464
MK
123242004-08-14 Mark Kettenis <kettenis@gnu.org>
12325
12326 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
12327
8d8cb839
EZ
123282004-08-14 Eli Zaretskii <eliz@gnu.org>
12329
12330 * ChangeLog: Prefix Local Variables with semi-colons and indent
12331 the reference to older ChangeLog files, to fix fontification in
12332 Emacs.
12333
deea8bb0
MC
123342004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12335
12336 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
12337 * gdb.mi/mi2-break.exp: Likewise.
12338
c3297504
MC
123392004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12340
12341 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
12342
25808999
MC
123432004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12344
12345 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
12346
226a8d71
MC
123472004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12348
12349 * gdb.cp/classes.exp: Remove unused declarations. Just let
12350 test names default instead of providing special names. Remove
12351 extraneous demangler test.
12352
37fdf854
JJ
123532004-08-12 Jeff Johnston <jjohnstn@redhat.com>
12354
12355 * gdb.base/unload.exp: New test for breakpoints in dynamically
12356 loaded libraries.
12357 * gdb.base/unload.c: Ditto.
12358 * gdb.base/unloadshr.c: Ditto.
12359
2d3a7986
MC
123602004-08-12 Michael Chastain <mec.gnu@mindspring.com>
12361
12362 * gdb.cp/classes.exp (test_ptype_class_objects): Call
12363 cp_test_ptype_class.
12364 (test_enums): Likewise.
12365
c72b934c
AC
123662004-08-10 Andrew Cagney <cagney@gnu.org>
12367
12368 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12369 files.
12370
cc503c8a
AC
123712004-08-10 Andrew Cagney <cagney@gnu.org>
12372
12373 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
12374 init_malloc call.
12375
902f2ccb
MC
123762004-08-10 Michael Chastain <mec.gnu@mindspring.com>
12377
12378 * ChangeLog: Add copyright notice. The notice is copied
12379 from emacs 21.3 top level ChangeLog.
12380
78c90502
MC
123812004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12382
12383 * lib/cp-support.exp: New file.
12384 * lib/cp-support.exp (cp_test_type_class): New function.
12385 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
12386 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
12387 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
12388 cp_test_ptype_class.
12389
88e5ea78
MC
123902004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12391
12392 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
12393 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12394 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
12395 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
12396 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12397 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
12398 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
12399 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
12400 gdb.mi/mi2-watch.exp: Update copyright years.
12401
6a89fc9c
MK
124022004-08-09 Mark Kettenis <kettenis@gnu.org>
12403
12404 * gdb.base/sigaltstack.exp: Provide proper anchoring.
12405
1482e0de
MC
124062004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12407
12408 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
12409 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
12410 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
12411 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12412 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
12413 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
12414 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
12415 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12416 gdb.mi/mi-watch.exp: Update copyright years.
12417
1a5ce3f3
DJ
124182004-08-08 Daniel Jacobowitz <dan@debian.org>
12419
12420 PR gdb/1738
12421 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
12422 from a breakpoint with a pending signal.
12423
04f6ecf2
DJ
124242004-08-08 Daniel Jacobowitz <dan@debian.org>
12425
12426 PR gdb/1736
12427 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
12428 * gdb.base/sigaltstack.exp (finish_test): Consume output until
12429 the prompt.
12430 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
12431
54d90d35
DJ
124322004-08-08 Daniel Jacobowitz <dan@debian.org>
12433
12434 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
12435
d2f6abb0
DJ
124362004-08-08 Daniel Jacobowitz <dan@debian.org>
12437
12438 PR gdb/1736
12439 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12440 for i?86-*-linux*.
12441
5598c03d
DJ
124422004-08-08 Daniel Jacobowitz <dan@debian.org>
12443
12444 * gdb.arch/i386-prologue.exp: Compile without debug information.
12445
c6fee705
MC
124462004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12447
12448 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12449 rather than asking gdb to search.
12450
dd90efdb
MC
124512004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12452
12453 * gdb.base/gcore.c: Include <string.h>.
12454
1e84bec1
MC
124552004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12456
12457 * gdb.base/gcore.c: Add copyright notice.
12458
e425eb2b
MC
124592004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12460
12461 * gdb.base/freebpcmd.c: Include <stdio.h>.
12462 * gdb.base/long_long.c: Include <string.h>.
12463 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12464 * gdb.base/siginfo.c: Include <string.h>.
12465 * gdb.base/sigstep.c: Include <string.h>.
12466
cb9aaed5
MC
124672004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12468
12469 * gdb.base/complex.c: Include <stdlib.h>.
12470
55944f3d
MC
124712004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12472
12473 * gdb.base/complex.c: Add copyright notice.
12474
7b2953d9
MC
124752004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12476
12477 * gdb.base/charset.c: Include <stdlib.h>.
12478
c9133d23
MC
124792004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12480
12481 * gdb.base/auxv.c: Include <stdlib.h>.
12482
0a8490ad
MC
124832004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12484
12485 * gdb.base/auxv.c: Add copyright notice.
12486
3426d5ec
MC
124872004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12488
12489 * gdb.base/coremaker.c: Add copyright notice.
12490 * gdb.base/coremaker2.c: Add copyright notice.
12491
8da195dd
AC
124922004-08-04 Andrew Cagney <cagney@gnu.org>
12493
12494 * gdb.base/store.exp: Update copyright.
12495 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12496 names, do not import gdb_prompt.
12497
8d394f98
AC
124982004-08-01 Andrew Cagney <cagney@gnu.org>
12499
12500 Fix PR testsuite/1729.
12501 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12502 not use capture_value with value 4.
12503 (capture_value): Add optional test name parameter.
12504 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12505 the prefix, pass to capture_value.
12506
b6702b23
MK
125072004-08-01 Mark Kettenis <kettenis@gnu.org>
12508
12509 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12510 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12511 (main): Call new function.
12512
c203e0ca
MC
125132004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12514
12515 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12516
a7995a30
MC
125172004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12518
12519 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12520
9366563b
MC
125212004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12522
b6eeaf26 12523 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
12524 Accept more values of vtbl pointer. Remove some messages
12525 about "obsolete gcc or gdb".
12526
2fc1f950
MC
125272004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12528
12529 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12530
c724d49b
MC
125312004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12532
12533 * gdb.base/asm-source.exp: Properly convert target board
12534 debug flags from gcc format to binutils format.
12535
736b0fce
MK
125362004-07-28 Mark Kettenis <kettenis@gnu.org>
12537
12538 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12539 gdb1718". PR backtrace/1718 partially fixed.
12540
5633ea5c
JJ
125412004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12542
12543 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12544
575eebb1
NC
125452004-07-26 Nick Clifton <nickc@redhat.com>
12546
12547 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12548 good default value for a specific architecture is available then
12549 set it to that value. Otherwise default to the -gstabs switch.
12550 Remove the -g... switches from the asm-flags variable. Allow the
12551 target board info to override the value if it wants to. Pass the
12552 switch on the assembler command line.
12553
62104619
MK
125542004-07-23 Mark Kettenis <kettenis@gnu.org>
12555
12556 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12557 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12558 (main): Call new function.
12559
4a1135b8
MC
125602004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12561
12562 Test for PR exp/1715.
12563 * gdb.base/radix.exp: Refactor common procedures. Make all
12564 test names unique. Change XFAIL to KFAIL.
12565
8a12c1f0
MC
125662004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12567
12568 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12569 * gdb.ada/gnat_ada.gin: ... to here.
12570 * configure.in: Use gnat_ada.gin.
12571 * configure: Regenerate.
12572
23b451cf
AC
125732004-07-20 Andrew Cagney <cagney@gnu.org>
12574
12575 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12576 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12577 XFAILs. Clean up test messages and comments. Check backtraces.
12578 Delete re-sync code.
12579
ab618a02
MC
125802004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12581
12582 Fix PR cli/740.
12583 * gdb.base/annota1.exp: Honor gdb,nosignals.
12584 * gdb.base/annota3.exp: Likewise.
12585
46dad340
MC
125862004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12587
12588 * lib/java.exp: Update copyright notice.
12589
756d8c70
AC
125902004-07-19 Andrew Cagney <cagney@gnu.org>
12591
12592 * gdb.base/selftest.exp: Copy file from here ...
12593 * gdb.gdb/selftest.exp: ... to here.
12594
586027e6
AC
125952004-07-16 Andrew Cagney <cagney@redhat.com>
12596
12597 * lib/insight-support.exp: Delete file.
12598 * lib/java.exp (java_init): Fix copyright.
12599
029d2200
AC
126002004-07-16 Andrew Cagney <cagney@gnu.org>
12601
12602 * gdb.base/restore.c: Append "prologue" to comments marking the a
12603 function's prologue.
12604 * gdb.base/restore.exp: Update copyright, re-indent.
12605 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12606 callerN" prefix where needed. Update patterns that match a
12607 function's prologue.
12608
653b62c5
MC
126092004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12610
12611 * gdb.base/restore.c: Add copyright notice.
12612
f7d690e5
AC
126132004-07-16 Andrew Cagney <cagney@gnu.org>
12614
12615 * gdb.base/logical.exp: Update copyright.
12616 (evaluate): New procedure. Use to re-implement tests using
12617 several tables.
12618
d629a7cb
MH
126192004-07-14 Martin Hunt <hunt@redhat.com>
12620
12621 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12622 which fixes some problems where init.tcl was not found.
12623
9c7bb332
AC
126242004-07-13 Andrew Cagney <cagney@gnu.org>
12625
6bf46641
AC
12626 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12627 (check_sizeof, check_valueof): Do not include the output in the
12628 test name. Use gdb_test.
12629 (get_valueof): Use gdb_test_multiple.
12630
c4ffd4c0
AC
12631 * gdb.base/step-test.exp: Update copyright. Use
12632 gdb_test_multiple. Ensure that test names do not include
12633 architecture dependent output.
12634
ab89363a
AC
12635 * gdb.gdb/observer.exp: Update copyright.
12636 (setup_test): Use gdb_test_multiple.
12637 (attach_first_observer, attach_second_observer)
12638 (attach_third_observer, detach_first_observer)
12639 (detach_second_observer, detach_third_observer)
12640 (reset_counters, check_counters): Make $message a prefix.
12641 (test_normal_stop_notifications): Add "args" parameter - a list of
12642 init functions to be called. Make $message a prefix,
12643 (test_observer_normal_stop): Change the message prefixes so that
12644 they are unique, pass the attach / detach procedures to
12645 test_normal_stop_notifications.
12646
ec58997a
AC
12647 * gdb.base/signull.exp (test_segv): Prefix all tests with
12648 "${name}". Clean up test messages.
12649
b475183b
AC
12650 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12651
9c7bb332
AC
12652 * gdb.base/ena-dis-br.exp: Update copyright.
12653 (break_at): New function. Replace send_gdb with gdb_test,
12654 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12655 ignore count, not stopped at bpt", with KFAIL.
12656
2dd95497
CV
126572004-07-13 Corinna Vinschen <vinschen@redhat.com>
12658
12659 * gdb.base/attach.exp: Remove cleanupfile handling.
12660
419e626b
AC
126612004-07-12 Andrew Cagney <cagney@gnu.org>
12662
12663 * gdb.base/annota1.exp: Cleanup corefile test name.
12664 * gdb.base/annota3.exp: Ditto.
12665
8b1b3228
AC
126662004-07-12 Andrew Cagney <cagney@gnu.org>
12667
78650829
AC
12668 * gdb.base/signals.exp: Clean up copyright, re-indent.
12669
8b1b3228
AC
12670 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12671 gdb_test and gdb_test_multiple.
12672
935c2760
JJ
126732004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12674
12675 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 12676 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
12677 provide line number info for first statement in main.
12678
1544280f
AC
126792004-07-08 Andrew Cagney <cagney@gnu.org>
12680
1279f4ff
AC
12681 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12682
1544280f
AC
12683 * gdb.base/sigbpt.exp: Make the common part of each test name a
12684 prefix instead of suffix.
12685
bcc82369
BR
126862004-07-07 Bob Rossi <bob_rossi@cox.net>
12687
12688 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12689 test from test_tbreak_creation_and_listing to
12690 test_file_list_exec_source_file
12691 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12692 Changed name of test from test_tbreak_creation_and_listing to
12693 test_file_list_exec_source_file
12694
23f4b0aa
JJ
126952004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12696
12697 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12698 the jmisc() constructor instead of <init>.
12699 * gdb.java/jmisc1.exp: Ditto.
12700
56401cd5
AC
127012004-07-07 Andrew Cagney <cagney@gnu.org>
12702
12703 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12704 corrupting the PC.
12705
44ae2f6a
MC
127062004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12707
12708 * gdb.cp/templates.exp: Accept whitespace change in demangler
12709 output.
12710
45a83408
AC
127112004-07-06 Andrew Cagney <cagney@gnu.org>
12712
12713 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12714
d205ad70
MC
127152004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12716
12717 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12718 * lib/compiler.cc: Likewise.
12719
06ea1a61
MC
127202004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12721
12722 * lib/compiler.cc: Work around string preprocessing problem
12723 with old hp c++ compiler.
12724 * lib/compiler.c: Likewise.
12725
daab1251
CV
127262004-06-29 Corinna Vinschen <vinschen@redhat.com>
12727
12728 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12729 directives to conditionalize symbol prefixing.
12730 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12731 additional_flags handling. Add underscore prefix for Cygwin.
12732 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12733 conditionalize symbol prefixing.
12734 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12735 additional_flags handling. Add underscore prefix for Cygwin.
12736
cc984116
CV
127372004-06-29 Corinna Vinschen <vinschen@redhat.com>
12738
12739 * gdb.base/bigcore.exp: Skip test on Cygwin.
12740
c279b077
MC
127412004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12742
12743 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12744 formats for "info register". Use gdb_test_multiple. Fix
12745 the "invalid register" test.
12746
0e915747
CV
127472004-06-28 Corinna Vinschen <vinschen@redhat.com>
12748
12749 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12750 PID for Cygwin. Add Cygwin specific strings to check for in some
12751 tests.
12752 (do_attach_tests): Add a test for user interaction when attaching
12753 to a process with no matching symbol table already loaded.
12754
11422c86
AC
127552004-06-26 Andrew Cagney <cagney@gnu.org>
12756
12757 Test PR java/1567 and PR java/1565.
12758 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12759 * gdb.java/jmisc2.exp: Delete file.
12760
cefbce26
MC
127612004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12762
12763 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12764
e19f872c
CV
127652004-06-25 Corinna Vinschen <vinschen@redhat.com>
12766
12767 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12768 attach process.
12769
d931ba3b
MC
127702004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12771
12772 * gdb.cp/pr-1553.exp: Remove.
12773
aef68c48
MC
127742004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12775
12776 * gdb.cp/pr-1553.cc: Remove.
12777 * gdb.cp/pr-1553.exp: Disable this test.
12778
8d5df71a
JB
127792004-06-20 Jim Blandy <jimb@redhat.com>
12780
a9c64011 12781 Fix PR testsuite/1680.
8d5df71a
JB
12782 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12783 regular expressions.
12784
4ac6f39d
MC
127852004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12786
12787 Fix PR testsuite/1679.
12788 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12789 Issue an UNSUPPORTED result instead.
12790
1b413552
JB
127912004-06-18 Jim Blandy <jimb@redhat.com>
12792
12793 * gdb.base/charset.exp: Only send a control-C if we see a new
12794 prompt and incomplete command.
12795
6daa6ebd
MC
127962004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12797
12798 * gdb.cp/pr-574.cc: Add copyright notice.
12799
51fa4ae0
JB
128002004-06-17 Jim Blandy <jimb@redhat.com>
12801
12802 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12803 cases where the regexp has no groups; this grabs random text from
12804 the previous test suite, whatever that was.
12805
8fea26c5
MC
128062004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12807
12808 * gdb.cp/printmethod.cc: Add copyright notice.
12809
1e3aeb41
MC
128102004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12811
12812 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12813
9d9030bc
AC
128142004-06-16 Andrew Cagney <cagney@gnu.org>
12815
12816 * gdb.base/signull.c: Update copyright. Include <string.h>.
12817 (bowler): Replace data_pointer with data_read
12818 and data_write cases. Add code_descriptor case.
12819 (zero, desc): New array and pointer.
12820 (data, code): Change to simple pointers.
12821 * gdb.base/signull.exp: Fix probe pattern matching a function
12822 descriptor SIGSEGV. Replace data_pointer with data_read and
12823 data_write tests.
12824
acd4ad44
AC
128252004-06-16 Andrew Cagney <cagney@gnu.org>
12826
12827 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12828
08fd625c
MC
128292004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12830
12831 * gdb.base/long_long.c: Add copyright notice.
12832
1903502c
MC
128332004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12834
12835 * gdb.base/long_long.exp: Remove reference to
12836 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12837 to gdb_breakpoint and gdb_continue_to_breakpoint.
12838
83313cb1
JB
128392004-06-14 Jim Blandy <jimb@redhat.com>
12840
12841 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12842 endian case.
12843
1bf404ef
AC
128442004-06-14 Andrew Cagney <cagney@gnu.org>
12845
12846 * gdb.base/gcore.exp (capture_command_output): Delete the always
12847 passing tests containing inferior values.
12848 * gdb.base/ending-run.exp: Do not include the breakpoint address
12849 in the test message. Update copyright.
12850 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12851 size in the test name, use gdb_test_multiple. Update copyright.
12852
ef220b33
MC
128532004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12854
12855 * gdb.cp/ref-types.cc: Add copyright notice.
12856
4f70a4c9
MC
128572004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12858
12859 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12860 hp_aCC_compiler.
12861 * lib/compiler.cc: Likewise.
12862 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12863 'set' commands. Log diagnostics for other lines. Set
12864 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12865
335928ac
MC
128662004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12867
12868 * gdb.cp/try_catch.cc: Add copyright notice.
12869
2efb12e8
MC
128702004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12871
12872 * gdb.cp/userdef.cc: Add copyright notice.
12873
0bbed51a
MC
128742004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12875
12876 * gdb.cp/virtfunc.cc: Add copyright notice.
12877
e12a46c9
RC
128782004-06-11 Randolph Chung <tausq@debian.org>
12879
12880 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12881 problem.
12882
338e05af
AC
128832004-06-10 Andrew Cagney <cagney@gnu.org>
12884
12885 * lib/compiler.cc, lib/compiler.c: Append either
12886 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12887 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12888 instead of gcc-3-3.
12889
dc3f10cb
AC
128902004-06-09 Andrew Cagney <cagney@gnu.org>
12891
b4d946af
AC
12892 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12893 gdb/1455, bug is specific to "long long" and "double".
a9c64011 12894
dc3f10cb
AC
12895 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12896 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12897 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12898 fixed.
12899
b5c0bfa2
AC
129002004-06-09 Andrew Cagney <cagney@gnu.org>
12901
12902 * gdb.base/structs.exp (test_struct_returns): Replace
12903 "return_value_unknown" and "finish_value_unknown" by
12904 "return_value_known" and "finish_value_known". Instead of
12905 "return_value_unknown" iff "finish_value_unknown", check
12906 "return_value_known" implies "finish_value_known".
12907
caeb605f
MH
129082004-06-08 Martin Hunt <hunt@redhat.com>
12909
12910 * gdb.base/float.exp: Add pattern for mips targets.
12911
c892bb64
RC
129122004-06-08 Randolph Chung <tausq@debian.org>
12913
12914 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12915 message for unknown architectures more clear.
12916
48306d3e
JB
129172004-06-08 Joel Brobecker <brobecker@gnat.com>
12918
12919 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12920 start the execution of the program.
12921
83ecb59f
JB
129222004-06-07 Jim Blandy <jimb@redhat.com>
12923
12924 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12925 * gdb.arch/i386-cpuid.h: New helper file.
12926
55264cb4
RC
129272004-06-07 Randolph Chung <tausq@debian.org>
12928
12929 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12930 has started.
12931
23cadb28
RM
129322004-06-04 Roland McGrath <roland@redhat.com>
12933
12934 Fix PR gdb/1647.
12935 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12936 differently to be robust to output buffering differences.
12937
51d01eda
MC
129382004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12939
12940 * gdb.threads/pthreads.exp: Update copyright years.
12941 (check_control_c): Change asynchronous 'after' to synchronous.
12942
f4fc3b93
RM
129432004-06-04 Roland McGrath <roland@redhat.com>
12944
12945 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12946 next gdb prompt.
12947
4013522b
MC
129482004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12949
12950 Fix PR gdb/1636.
12951 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12952 calls to synchronous.
12953
7a8f1e6b
JB
129542004-05-26 Jim Blandy <jimb@redhat.com>
12955
12956 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12957
81bb3443
RC
129582004-05-24 Randolph Chung <tausq@debian.org>
12959
12960 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12961 * gdb.asm/pa.inc: New file.
12962
8f5a3103
MK
129632004-05-22 Mark Kettenis <kettenis@gnu.org>
12964
12965 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12966
734b8fe8 129672004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 12968 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
12969
12970 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12971 GDB prompt.
12972
725603e1
UW
129732004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12974
f4fc3b93 12975 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
12976 setjmp/longjmp. Use sigaction instead of signal.
12977
8b923272 129782004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 12979 Michael Snyder <msnyder@redhat.com>
8b923272
JB
12980
12981 * gdb.threads/pthread_cond_wait.c: New file.
12982 * gdb.threads/pthread_cond_wait.exp: New testcase.
12983
8bfabb04
AC
129842004-05-13 Andrew Cagney <cagney@redhat.com>
12985
12986 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12987 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12988
42edda50
AC
129892004-05-11 Andrew Cagney <cagney@redhat.com>
12990
12991 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12992 fixed but revealed gdb/1639.
12993
d303a6c7
AC
129942004-05-10 Andrew Cagney <cagney@redhat.com>
12995
12996 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12997 func1" and "next to 2nd alarm", kernel bug avoided.
12998
bf08c2a1
DJ
129992004-05-10 Daniel Jacobowitz <dan@debian.org>
13000
13001 PR external/1568
13002 * gdb.base/bigcore.exp: Check the size of the dumped core file.
13003 XFAIL if it is smaller than bytes_allocated.
13004 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
13005 (main): Make chunks_allocated unsigned. Correct comment.
13006
c0586a34
JB
130072004-05-07 Joel Brobecker <brobecker@gnat.com>
13008
13009 * gdb.arch/powerpc-aix-prologue.c: New file.
13010 * gdb.arch/powerpc-aix-prologue.exp: New file.
13011
f2785d12
JB
130122004-05-07 Jim Blandy <jimb@redhat.com>
13013
13014 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
13015 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
13016
bd7f6e30
JB
130172004-05-06 Joel Brobecker <brobecker@gnat.com>
13018
13019 * gdb.base/sep.exp: No longer setup_kfail when the program was
13020 built with dwarf2.
13021
0a5e7efe
JI
130222004-05-05 Jim Ingham <jingham@apple.com>
13023
13024 * gdb.base/pending.exp: Make sure pending breakpoints
13025 preserve the ignore count.
f4fc3b93 13026
a8958849
MK
130272004-04-27 Jerome Guitton <guitton@gnat.com>
13028
13029 * i386-prologue.exp: Add testcase for jump instruction as first
13030 instruction of the real code.
13031 * i386-prologue.c (jump_at_beginning): New function.
13032
7e103f5b
MK
130332004-04-28 Mark Kettenis <kettenis@gnu.org>
13034
13035 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
13036 x86_64-*-*.
13037
5d38b224
MK
130382004-04-28 Mark Kettenis <kettenis@gnu.org>
13039
13040 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
13041 i*86-*-*.
13042
0ef32fd9
MK
130432004-04-25 Mark Kettenis <kettenis@gnu.org>
13044
13045 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
13046 expression that checks the return type.
13047
71d7dd7c
AC
130482004-04-23 Andrew Cagney <cagney@redhat.com>
13049
13050 * gdb.base/call-sc.exp: New test of scalar call/return values.
13051 * gdb.base/call-sc.c: Ditto.
13052
1e9f977e
JJ
130532004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13054
13055 * gdb.threads/manythreads.c: Reduce thread stack size.
13056
899d9e3a
JJ
130572004-04-23 Jeff Johnston <jjohnstn@redhat.com>
13058
13059 * gdb.threads/manythreads.c: Add copyright notice.
13060
61bcae62
AC
130612004-04-23 Andrew Cagney <cagney@redhat.com>
13062
13063 * gdb.base/siginfo.exp: Better handle step out of signal.
13064 * gdb.base/sigstep.exp: Ditto.
13065
7339a42e 130662004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 13067 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
13068
13069 * gdb.threads/manythreads.c: New testcase.
13070 * gdb.threads/manythreads.exp: Ditto.
13071
5c98409b
JB
130722004-04-22 Jim Blandy <jimb@redhat.com>
13073
13074 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
13075 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
13076
3b611f1a
MC
130772004-04-21 Michael Chastain <mec.gnu@mindspring.com>
13078
13079 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
13080
f0fd9238
AC
130812004-04-21 Andrew Cagney <cagney@redhat.com>
13082
13083 * gdb.base/sigstep.c: New file.
13084 * gdb.base/sigstep.exp: New file.
13085
90990674
JB
130862004-04-16 Joel Brobecker <brobecker@gnat.com>
13087
13088 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
13089 call to observer_notify_normal_stop.
13090
78cef34b
AC
130912004-04-15 Andrew Cagney <cagney@redhat.com>
13092
13093 * gdb.base/siginfo.c: New file.
13094 * gdb.base/siginfo.exp: New file.
13095
d2343407
JB
130962004-04-12 J. Brobecker <brobecker@gnat.com>
13097
13098 * gdb.base/sep.exp: Fix typo in comment.
13099
a2dba3c8
JB
131002004-04-12 J. Brobecker <brobecker@gnat.com>
13101
13102 * gdb.base/sep.c: New file.
13103 * gdb.base/sep-proc.c: New file.
13104 * gdb.base/sep.exp: New testcase.
13105
15f7b60e
MK
131062004-04-09 Mark Kettenis <kettenis@gnu.org>
13107
13108 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
13109 support.
13110
44f4de1a
AC
131112004-04-05 Andrew Cagney <cagney@redhat.com>
13112
13113 * gdb.base/sigaltstack.c: New file.
13114 * gdb.base/sigaltstack.exp: New file.
13115
ef04f396
JB
131162004-04-04 Joel Brobecker <brobecker@gnat.com>
13117
13118 * gdb.base/foll-fork.exp: Update the expected output for
13119 "help set follow-fork-mode", to match a change that was made
13120 to the help of this variable on 2004-01-13.
13121
d40d2c92
JB
131222004-04-01 Joel Brobecker <brobecker@gnat.com>
13123
13124 * lib/ada.exp: Add copyright notice.
13125 * bar.ads: Likewise.
13126 * bar.adb: Likewise.
13127 * null_record.adb: Likewise.
13128 * null_record.exp: Likewise.
13129 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
13130
f86ef5a3
JB
131312004-04-01 Joel Brobecker <brobecker@gnat.com>
13132
13133 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
13134 * configure: Regenerate.
13135
414e70e3
JB
131362004-04-01 Joel Brobecker <brobecker@gnat.com>
13137
13138 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
13139 to build the application. Remove the message printed when in
13140 verbose mode, redundant with the UNSUPPORTED message above.
13141
f0aaee49
JB
131422004-03-31 Joel Brobecker <brobecker@gnat.com>
13143
13144 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
13145 * gdb.ada (null_record.exp): New testcase.
13146
ac81cb54
JB
131472004-03-31 Joel Brobecker <brobecker@gnat.com>
13148
13149 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
13150
854af2f7
JB
131512004-03-31 Joel Brobecker <brobecker@gnat.com>
13152
13153 * gdb.ada: New subdirectory.
13154 * gdb.ada/Makefile.in: New file.
13155 * gdb.ada/gnat_ada.gpr.in: New file.
13156
034cb681
JB
131572004-03-31 Joel Brobecker <brobecker@gnat.com>
13158
13159 * lib/ada.exp: New file.
13160
78a1a894
DJ
131612004-03-24 Daniel Jacobowitz <drow@mvista.com>
13162
13163 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
13164 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
13165
4b2b3b3e
AC
131662004-03-22 Andrew Cagney <cagney@redhat.com>
13167
13168 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
13169 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
13170 Problem identified by Ulrich Weigand.
13171
23c73aa3
DC
131722004-03-17 David Carlton <carlton@kealia.com>
13173
13174 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
13175 PR c++/826.
13176
d63a86f8
RM
131772004-03-16 Roland McGrath <roland@redhat.com>
13178
13179 * gdb.base/auxv.exp: New file.
13180 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
13181
0e02aa50
DC
131822004-03-12 David Carlton <carlton@kealia.com>
13183
13184 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
13185 * gdb.cp/pr-1553.cc: Ditto.
13186 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
13187 pass branch.
13188
c20b71be
MC
131892004-03-12 Michael Chastain <mec.gnu@mindspring.com>
13190
13191 * gdb.cp/templates.exp: Accept more template types.
13192
c7414a01
MC
131932004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13194
13195 From Corinna Vinschen with modifications.
13196 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
13197 local variable obj_with_enum.
13198 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
13199 results with obj_with_enum.
13200
ed69573c
MC
132012004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13202
13203 * gdb.cp/classes.cc: New file, copied from misc.cc.
13204 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
13205
28301461
MC
132062004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13207
13208 * gdb.cp/misc.cc: Add copyright notice.
13209
1198ecbe
DC
132102004-03-05 David Carlton <carlton@kealia.com>
13211
13212 * gdb.cp/rtti.exp: Add 'print *obj3' test.
13213 * gdb.cp/rtti.h: Update copyright.
13214 (namespace n2::n3): New.
13215 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
13216 (n2::n3::func3): New.
13217 (main): Call n2::n3::func3.
13218 * gdb.cp/rtti2.cc: Update copyright.
13219 (n2::create3): New.
13220
9e08c470
MK
132212004-03-04 Mark Kettenis <kettenis@gnu.org>
13222
13223 * gdb.asm/openbsd.inc: Fix typo.
13224
4bebc3aa
FF
132252004-03-03 Fred Fish <fnf@redhat.com>
13226
13227 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
13228 "val" instead of unused "size". Update copyright year.
13229
6ea9fb37
DJ
132302004-02-29 Daniel Jacobowitz <drow@mvista.com>
13231
13232 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
13233 to use unsigned char.
13234 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
13235 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
13236
23b23974
DJ
132372004-02-29 Daniel Jacobowitz <drow@mvista.com>
13238
13239 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
13240 line of output.
13241
7574fd53
DJ
132422004-02-28 Daniel Jacobowitz <drow@mvista.com>
13243
13244 * gdb.base/relocate.c (dummy): Initialize.
13245
a195357f
DJ
132462004-02-28 Daniel Jacobowitz <drow@mvista.com>
13247
13248 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
13249 a breakpoint at exit.
13250
72fd54a9
FF
132512004-02-27 Fred Fish <fnf@redhat.com>
13252
13253 * gdb.base/chng-syms.exp: Add expect condition to match failing
13254 case that isn't a timeout.
13255
b9d23137
AC
132562004-02-27 Andrew Cagney <cagney@redhat.com>
13257
13258 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
13259 support.
13260
15d208f6 132612004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 13262
15d208f6
FF
13263 * gdb.arch/gdb1431.c: Remove.
13264 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
13265 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
13266 of "until" incorrectly.
13267
98f9cd2d
JB
132682004-02-26 J. Brobecker <brobecker@gnat.com>
13269
13270 * gdb.cp/class2.cc (empty): New class.
13271 (refer): New function.
13272 (main): Declare an object of type empty and use it.
13273 * gdb.cp/class2.exp: Print the value of an object of type empty.
13274
9b50c11b
JJ
132752004-02-26 Jeff Johnston <jjohnstn@redhat.com>
13276
13277 * gdb.base/langs.exp: Update query string to match the
13278 new nquery format used for pending breakpoints.
13279
0dcd613f
AC
132802004-02-26 Andrew Cagney <cagney@redhat.com>
13281
13282 Fix PR i18n/1570.
13283 * gdb.base/charset.c: Update copyright notice.
13284 (main, init_string): Remove the escape character '\e' tests.
13285 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
13286 * gdb.base/charset.exp (valid_host_charset): Ditto.
13287 * gdb.base/setvar.exp: Ditto.
13288
b8a56647
AC
132892004-02-24 Andrew Cagney <cagney@redhat.com>
13290
90d59e34
AC
13291 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
13292 mmapped data in core file" PASS and FAIL messages consistent.
13293
b8a56647
AC
13294 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
13295 setting a breakpoint. Work around PR java/1565.
13296
9f27c604
JJ
132972004-02-23 Jeff Johnston <jjohnstn@redhat.com>
13298
13299 * lib/gdb.exp (gdb_breakpoint): Update query string to match
13300 new nquery format.
13301 * gdb.base/pending.exp: Ditto.
13302
3224a706
MK
133032004-02-22 Mark Kettenis <kettenis@gnu.org>
13304
13305 * configure.in: Run stabs tests on *BSD.
13306 * configure: Regenerated.
13307
41e0a9ca
MK
133082004-02-21 Mark Kettenis <kettenis@gnu.org>
13309
13310 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
13311
1e1b3428
FF
133122004-02-20 Fred Fish <fnf@redhat.com>
13313
13314 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
13315 blank in test for "returns short", for consistency with other
13316 "returns xxx" tests. Update copyright year.
13317
f9a7572a
FF
133182004-02-19 Fred Fish <fnf@redhat.com>
13319
13320 New testcase for PR breakpoint/1558.
13321 * gdb.arch/gdb1558.exp: New file.
13322 * gdb.arch/gdb1558.c: New file.
13323
b2ce2854
EZ
133242004-02-19 Elena Zannoni <ezannoni@redhat.com>
13325
13326 * gdb.base/nodebug.exp: Fix typo.
13327
e7c9ff01
JB
133282004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13329
13330 Committed by Jim Blandy <jimb@redhat.com>.
13331
62f4b920
JB
13332 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
13333
2db536a1
JB
13334 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
13335
e7c9ff01
JB
13336 * gdb.base/float.exp: Support s390*-*-* targets.
13337
f3205b34
AF
133382004-02-17 Adam Fedor <fedor@gnu.org>
13339
13340 * gdb.base/gdb1555.exp: New file.
13341 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
13342
9d62932d
EZ
133432004-02-17 Elena Zannoni <ezannoni@redhat.com>
13344
13345 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
13346
344c9711
FF
133472004-02-16 Fred Fish <fnf@redhat.com>
13348
13349 * gdb.arch/gdb1291.c: Remove
13350 * gdb.arch/gdb1291.s: New test input file.
13351 * gdb.arch/gdb1291.exp: Expand test to check case that should not
13352 fail. Test for correct result, known incorrect result, other
13353 failures and timeouts.
13354
2d822687
AC
133552004-02-16 Andrew Cagney <cagney@redhat.com>
13356
13357 * gdb.base/bigcore.exp: New file.
13358 * gdb.base/bigcore.c: New file.
13359
dac15b66
AC
133602004-02-13 Andrew Cagney <cagney@redhat.com>
13361
13362 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
13363 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
13364 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
13365 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
13366 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
13367 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
13368 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
13369 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
13370 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
13371 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
13372
6bdfc2c4
JJ
133732004-02-11 Jeff Johnston <jjohnstn@redhat.com>
13374
13375 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
13376 executed is an alloc instruction.
13377
87b3ede8
DC
133782004-02-11 David Carlton <carlton@kealia.com>
13379
13380 * gdb.cp/breakpoint.exp: New.
13381 * gdb.cp/breakpoint.cc: New.
13382
6e19e2bf
MC
133832004-02-11 Michael Chastain <mec.gnu@mindspring.com>
13384
13385 Partial fix for PR gdb/1543.
13386 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
13387 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
13388 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
13389 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
13390 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
13391 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
13392 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
13393 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
13394 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
13395 to bug-gdb@prep.ai.mit.edu .
13396 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
13397 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
13398 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
13399 Likewise.
13400
5c5455dc
AC
134012004-02-10 Andrew Cagney <cagney@redhat.com>
13402
13403 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
13404 using gdb_internal_error_resync.
13405
9cf689d7
DJ
134062004-02-09 Daniel Jacobowitz <drow@mvista.com>
13407
13408 * gdb.threads/thread-specific.exp: Stop early if no threads are
13409 found.
13410
d2dc51db
MC
134112004-02-09 Michael Chastain <mec.gnu@mindspring.com>
13412
13413 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
13414
14b1a056
DJ
134152004-02-08 Daniel Jacobowitz <drow@mvista.com>
13416
13417 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
13418 breakpoints.
13419
83f66e8f
DJ
134202004-02-07 Daniel Jacobowitz <drow@mvista.com>
13421
13422 * config/sim.exp (gdb_load): Handle $arg == "".
13423 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
13424 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
13425
30fc0091
EZ
134262004-02-07 Elena Zannoni <ezannoni@redhat.com>
13427
a9c64011
AS
13428 * gdb.base/maint.exp: Update test to reflect
13429 obstack changes.
30fc0091 13430
4d806929
JJ
134312004-02-04 Jeff Johnston <jjohnstn@redhat.com>
13432
13433 * gdb.base/pendshr.c (pendfunc): New function that calls
13434 pendfunc1.
13435 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
13436
7bfdd688
FF
134372004-02-04 Fred Fish <fnf@redhat.com>
13438
13439 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13440 function symbols and update copyright years.
13441 * gdb.arch/gdb1291.c: Ditto.
13442
aaa08ee4
MC
134432004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13444
13445 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13446
dbad7755
MC
134472004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13448
13449 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13450
ec4646ef
MC
134512004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13452
13453 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13454
1b802196
FF
134552004-02-02 Fred Fish <fnf@redhat.com>
13456
13457 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13458 remote targets. Update copyright years.
13459
18fe2033
JJ
134602004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13461
13462 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13463 support.
13464 * gdb.base/langs.exp: Fix test which attempts to create
13465 breakpoint on non-existent function to handle new pending
13466 support.
13467 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13468 a breakpoint.
13469 * gdb.base/pending.exp: New test.
13470 * gdb.base/pending.c: New file.
13471 * gdb.base/pendshr.c: Ditto.
13472
8d577d32
DC
134732004-02-02 David Carlton <carlton@kealia.com>
13474
13475 * gdb.cp/overload.exp: Add overloadNamespace tests.
13476 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13477 (overloadNamespace, XXX): New.
13478 (main): Call XXX::marker2.
13479
3ad13771
FF
134802004-02-01 Fred Fish <fnf@redhat.com>
13481
13482 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13483 * gdb.base/finish.exp: Ditto.
13484 * gdb.base/gcore.exp: Ditto.
13485 * gdb.base/huge.exp: Ditto.
13486 * gdb.base/info-proc.exp: Ditto.
13487 * gdb.base/return2.exp: Ditto.
13488 * gdb.threads/gcore-thread.exp: Ditto.
13489
44c75849
DJ
134902004-02-01 Daniel Jacobowitz <drow@mvista.com>
13491
13492 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13493
005bc093
MK
134942004-02-01 Mark Kettenis <kettenis@gnu.org>
13495
13496 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13497 that opening the file succeeds on OpenBSD.
13498
c47cebdb
DJ
134992004-02-01 Daniel Jacobowitz <drow@mvista.com>
13500
13501 * gdb.threads/thread-specific.c: New file.
13502 * gdb.threads/threads-specific.exp: New test script.
13503 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13504 to expect_out.
13505
5a01311c
MK
135062004-02-01 Mark Kettenis <kettenis@gnu.org>
13507
13508 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13509 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13510 only on the "print_small_structs from print_long_arg_list" test.
13511
ce22a4f1
DJ
135122004-02-01 Daniel Jacobowitz <drow@mvista.com>
13513
13514 * gdb.base/completion.exp: Kill a stray backslash.
13515
13516 From Jim Ingham <jingham@apple.com>:
13517 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13518 agrees with the result from sending a tab.
13519
abbab9d3
DJ
135202004-01-31 Daniel Jacobowitz <drow@mvista.com>
13521
13522 * gdb.base/chng-syms.exp: Remove stray newline.
13523
53904d1e
MK
135242004-01-31 Mark Kettenis <kettenis@gnu.org>
13525
13526 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13527 *-*-openbsd*.
13528 * gdb.asm/openbsd.inc: New file.
13529
3a4b3aac
MK
135302004-01-30 Mark Kettenis <kettenis@gnu.org>
13531
13532 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13533 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13534 *-*solaris2*. Remove commented out default settings for
13535 asm-flags. Replace gdb_compile with target_link.
13536
ebac27b4
MC
135372004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13538
13539 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13540 for all tests. Remove old hp-ux and cygnus xfail cases.
13541
d8679d84
PH
135422004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13543
13544 * gdb.base/chng-syms.exp: New file.
13545 * gdb.base/chng-syms.c: New file.
13546
0a55bc22
MC
135472004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13548
13549 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13550 Provide arms for current output in all my configurations.
13551
94b8e876
MC
135522004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13553
13554 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13555 * lib/compiler.cc: Likewise.
13556 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13557 get the right preprocessor. Eval the output directly. Remove
13558 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13559 hp_f77_compiler and hp_f90_compiler completely.
13560 (gdb_preprocess): Delete.
13561 (get_compiler): Delete.
13562
7cf03d44
MK
135632004-01-24 Mark Kettenis <kettenis@gnu.org>
13564
13565 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13566 <string.h>.
13567
68b6dce9
NR
135682004-01-24 Nick Roberts <nick@nick.uklinux.net>
13569
13570 * gdb.mi/mi-stack.exp: Update copyright.
13571
b368761e
DC
135722004-01-23 David Carlton <carlton@kealia.com>
13573
13574 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13575 test for cp_lookup_transparent_type.
13576 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13577 call them.
13578
f2061b53
DJ
135792004-01-23 Daniel Jacobowitz <drow@mvista.com>
13580
13581 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13582 after -var-update.
13583
37fc574a
DC
135842004-01-23 David Carlton <carlton@kealia.com>
13585
13586 * gdb.cp/namespace.cc (C::ensureRefs): New.
13587 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13588
8e94b928
NR
135892004-01-20 Nick Roberts <nick@nick.uklinux.net>
13590
13591 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13592 case "-stack-list-locals 2".
13593 * gdb.mi/mi-var-child.exp: Test for case
13594 "-var-list-children --all-values NAME".
13595
997b0952
MC
135962004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13597
13598 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13599
52470da3
MK
136002004-01-18 Mark Kettenis <kettenis@gnu.org>
13601
7049b4b8
MK
13602 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13603 used with gdb_test_multiple.
13604
52470da3
MK
13605 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13606 read at address 0. This fixes PR testsuite/1504.
13607
da6012e5
DJ
136082004-01-18 Daniel Jacobowitz <drow@mvista.com>
13609
13610 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13611 Remove downloading, guessing the host executable, the calls to
13612 gdb_file_cmd and gdb_target_cmd, and "load" support.
13613 (infer_host_exec): New function broken out from gdb_load.
13614 (gdb_load): New wrapper for gdbserver_gdb_load.
13615 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13616 gdb_target_cmd. Use -target-select.
13617 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13618 Download binaries to the host. Clear last_mi_remote_file when
13619 we load a new binary.
13620 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13621 call gdbserver_gdb_load and mi_gdb_target_cmd.
13622
32c70722
MC
136232004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13624
13625 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13626 type patterns.
13627
b0cecf36
MC
136282004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13629
13630 * gdb.cp/templates.exp: Fix typo in test name of
13631 "print Foo<volatile char*>::foo".
13632
4120d7e6
MC
136332004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13634
13635 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13636
f679e530
BE
136372004-01-16 Ben Elliston <bje@wasabisystems.com>
13638
13639 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13640 (clean mostlyclean): Remove empty rm.
13641
091c48f6
MC
136422004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13643
13644 * gdb.base/setvar.exp: Add copyright years.
13645
3e5fc8d2
DC
136462004-01-14 David Carlton <carlton@bactrian.org>
13647
13648 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13649 PR c++/1511 and update coment.
13650 * gdb.cp/templates.exp: Update patterns to match current output.
13651 If changes involve something other than whitespace, KFAIL
13652 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13653
63d06c5c
DC
136542004-01-14 David Carlton <carlton@kealia.com>
13655
13656 * gdb.cp/namespace.exp: Add tests involving classes defined within
13657 namespaces.
13658 * gdb.cp/namespace.cc (C::CClass): New.
13659 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13660
a51dab88
EZ
136612004-01-14 Elena Zannoni <ezannoni@redhat.com>
13662
13663 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13664 what debug info we have. Print a better message if something goes
13665 wrong while producing the separate debug info file.
13666
a476ccc9
MC
136672004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13668
13669 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13670
f453692c
MC
136712004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13672
13673 * gdb.base/callfuncs.c: Add copyright notice.
13674
f40063a5
MC
136752004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13676
13677 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13678 inheritance. PR gdb/1498, PR gcc/13539.
13679
19ac3974
EZ
136802004-01-13 Elena Zannoni <ezannoni@redhat.com>
13681
a9c64011
AS
13682 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13683 test specific name.
13684 * gdb.mi/gdb669.exp: Ditto.
13685 * gdb.mi/mi-pthreads.exp: Ditto.
13686 * gdb.mi/mi1-pthreads.exp: Ditto.
13687 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 13688
56c97c6e
MC
136892004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13690
13691 * gdb.cp/member-ptr.cc: Add copyright notice.
13692
a0644324
MC
136932004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13694
13695 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13696 some patterns for recent versions of gcc and hpacc. Delete
13697 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13698 Delete tests that access a NULL pointer-to-member-data. This
13699 script is still disabled for gcc.
13700
32fabe09
EZ
137012004-01-12 Elena Zannoni <ezannoni@redhat.com>
13702
13703 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 13704 escaped correctly.
32fabe09 13705
1f8a6abb
EZ
137062004-01-12 Elena Zannoni <ezannoni@redhat.com>
13707
13708 * gdb.base/sepdebug.exp: New file.
13709 * gdb.base/sepdebug.c: New file.
13710 * lib/gdb.exp (separate_debug_filename): New procedure.
13711 (gdb_gnu_strip_debug): New procedure.
13712
48efe704
AC
137132004-01-12 Andrew Cagney <cagney@redhat.com>
13714
13715 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13716 * gdb.mi/ChangeLog-1999-2003: New file.
13717
a9415475
AC
137182004-01-12 Andrew Cagney <cagney@redhat.com>
13719
13720 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13721 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13722 or EEXIST", treat EBUSY as an XFAIL.
13723
83b8cf9d
MC
137242004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13725
13726 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13727 hp_cc_compiler.
13728
9939d2a8
MC
137292004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13730
13731 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13732 decorations.
13733
1ff8cadf
MC
137342004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13735
13736 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13737 and "(aCC)" decorations. Remove obsolete doco about old
13738 test results.
13739
6fa9022e
MC
137402004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13741
13742 * gdb.cp/exception.exp: Fix typo in doco.
13743
209721fe
MK
137442004-01-09 Mark Kettenis <kettenis@gnu.org>
13745
13746 * gdb.base/gdb1476.exp: Fix typo.
13747
ef11303e
MC
137482004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13749
13750 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13751 file.
13752
041ab88c
MC
137532004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13754
13755 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13756 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13757 Use gdb_compile. Remove restriction on gcc. Add some patterns
13758 for recent version of gdb. Delete second half, which was a copy
13759 of the first half with different build flags. This test is
13760 still disabled because it is still not ready for production.
13761
e36d075a
MC
137622004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13763
13764 * gdb.cp/exception.cc: Add copyright notice.
13765 * gdb.cp/exception.exp: Add a notice that this file is broken
13766 because of line number changes caused by addition of copyright
13767 notice.
13768
42b190ad
MC
137692004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13770
13771 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13772 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13773
8f25f06b
MC
137742004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13775
13776 * gdb.cp/classes.exp: Accept gnu abi 2.
13777 * gdb.cp/derivation.exp: Likewise.
13778 * gdb.cp/overload.exp: Likewise.
13779 * gdb.cp/virtfunc.exp: Likewise.
13780
06ded8b8
MC
137812004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13782
13783 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13784 semicolon after end of function.
13785
77c26ae3
MC
137862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13787
13788 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13789 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13790 boilerplate code for compiling and running the program under
13791 test. Add some string method tests.
13792
20757486
MC
137932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13794
13795 * gdb.cp/bs15503.cc: Add copyright notice.
13796 * gdb.cp/bs15503.exp: Adjust line number.
13797
0fd3b503
MC
137982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13799
13800 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13801 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13802
10d1bea8
MC
138032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13804
13805 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13806 hp_cc_compiler.
13807
2789202a
MC
138082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13809
13810 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13811 * gdb.cp/ctti.exp: Use the marker instead of "next".
13812 With gcc, run further before bailing.
13813
b862f14c
MC
138142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13815
13816 * gdb.cp/cttiadd.cc: Add copyright notice.
13817 * gdb.cp/cttiadd1.cc: Likewise.
13818 * gdb.cp/cttiadd2.cc: Likewise.
13819 * gdb.cp/cttiadd3.cc: Likewise.
13820
96da2469
MC
138212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13822
13823 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13824 Use gdb_test, gdb_test_multiple. Use floating-point values that
13825 have exact representations in IEEE-ish formats.
13826
053248ff
MC
138272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13828
13829 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13830 compilers. Delete duplicate call to get_compiler_info.
13831 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13832 * gdb.base/volatile.exp: Likewise.
13833
84acecdd
MK
138342004-01-07 Mark Kettenis <kettenis@gnu.org>
13835
13836 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13837 memory at address 0.
13838
fe11a27f
MC
138392004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13840
13841 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13842 to test for hp-ux assembler. Fix copyright years.
13843
60ad077b
AC
138442004-01-07 Andrew Cagney <cagney@redhat.com>
13845
13846 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13847
1c9b8f33
AC
138482004-01-07 Andrew Cagney <cagney@redhat.com>
13849
13850 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13851 when creating the read-only file. From analysis by Roland McGrath
13852 and Elena Zannoni.
13853
753ccc7a
MC
138542004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13855
13856 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13857
eca3e36b
MC
138582004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13859
13860 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13861 data pointers.
13862
f8d4bac4
MC
138632004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13864
13865 * gdb.cp/m-static.exp: Compile one source file at a time.
13866 Delete unused call to get_compiler_info.
13867
9b4e0f94
MC
138682004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13869
13870 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13871 * gdb.base/call-rt-st.exp: Likewise.
13872 * gdb.base/nodebug.exp: Likewise.
13873 * gdb.base/volatile.exp: Likewise.
13874 * gdb.cp/ref-types.exp: Likewise.
13875 * gdb.cp/templates.exp: Likewise.
13876
023c1024
MK
138772004-01-05 Mark Kettenis <kettenis@gnu.org>
13878
13879 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13880
19703c4a
MC
138812004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13882
13883 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13884 hppa*-hp-hpux*.
13885
18b67037
MK
138862004-01-04 Mark Kettenis <kettenis@gnu.org>
13887
ba6219c8
MK
13888 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13889 x86_64-*-*.
13890
18b67037
MK
13891 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13892 sparc64-*-* and sparc*-solaris2*.
13893
1bfbbb9d
MK
138942004-01-04 Mark Kettenis <kettenis@gnu.org>
13895
13896 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13897 return ${tests}" test. The ${tests} already mentions the
13898 filename.
13899
06846494
MC
139002004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13901
13902 * gdb.cp/local.exp: Accept gcc abi 2.
13903
3b0cb202
MC
139042004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13905
13906 * gdb.cp/templates.exp: Accept gcc abi 2.
13907
0643ec3f
MC
139082004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13909
13910 * lib/compiler.cc: Remove supports_template_debugging.
13911 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13912
d231d0b1
MC
139132004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13914
13915 * gdb.cp/namespace.exp: Accept gcc abi 2.
13916
44ffb27c
MC
139172004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13918
13919 * gdb.cp/method.exp: Accept gcc abi 2.
13920
184ad485
MC
139212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13922
13923 * gdb.cp/classes.exp: Generate identical results as old version.
13924 * gdb.cp/derivation.exp: Likewise.
13925 * gdb.cp/overload.exp: Likewise.
13926 * gdb.cp/virtfunc.exp: Likewise.
13927
116f09e7
MC
139282004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13929
13930 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13931 mysterious bug with sourceware version of expect.
13932
b1379776
MC
139332004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13934
13935 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13936 current versions of gcc, including gcc abi 2. Remove gratuitous
13937 restart of test program. Use gdb_test_multiple and gdb_test for
13938 all tests. Add patterns to xfail missing "const" in "const char *"
13939 and kfail PR gdb/1155.
13940
6b7a4c0e
MC
139412004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13942
13943 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13944 current versions of gcc, including gcc abi 2. Remove gratuitous
13945 restart of test program. Use gdb_test_multiple and gdb_test for
13946 all tests. Add patterns to kfail PR gdb/1498.
13947
51615d72
MC
139482003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13949
13950 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13951 current versions of gcc, including gcc abi 2. Use "breakpoint"
13952 and "continue" instead of restarting the target program. Use
13953 gdb_test_multiple and gdb_test for all tests.
13954
7b79a9d7
MK
139552004-01-01 Mark Kettenis <kettenis@gnu.org>
13956
13957 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13958 for *-*-solaris2*.
13959
1cd3489f
MC
139602003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13961
13962 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13963 current versions of gcc, including gcc abi 2. Use "breakpoint"
13964 and "continue" instead of restarting the target program several
13965 times. Use gdb_test_multiple and gdb_test for all tests.
13966
850742db
MC
139672003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13968
13969 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13970 source files.
13971
eb4bbda8
MC
139722003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13973
13974 * gdb.base/environ.exp: Handle compiling test case from multiple
13975 source files.
13976
e42c7771
MC
139772003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13978
13979 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13980
80e4b428
JB
139812003-12-17 Jim Blandy <jimb@redhat.com>
13982
5f06973a
JB
13983 * gdb.base/freebpcmd.c: Add copyright notice.
13984
80e4b428
JB
13985 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13986
0ab84fb7
MC
139872003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13988
13989 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13990
1b3bb3d0
JB
139912003-12-13 Jim Blandy <jimb@redhat.com>
13992
13993 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13994
3a4c9371
KB
139952003-12-12 Kevin Buettner <kevinb@redhat.com>
13996
13997 * gdb.asm/frv.inc: New file.
13998 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13999
a1dea79a
FF
140002003-12-09 Fred Fish <fnf@redhat.com>
14001
14002 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
14003 functions to break1.c and leave prototypes behind. Add more
14004 "set breakpoint NN here" comments.
14005 * gdb.base/break1.c: New file.
14006
14007 * gdb.base/break.exp: Handle compiling test case from multiple
14008 source files and change source file references as needed.
14009 * gdb.base/completion.exp: Ditto.
14010 * gdb.base/condbreak.exp: Ditto.
14011 * gdb.base/define.exp: Ditto.
14012 * gdb.base/ena-dis-br.exp: Ditto.
14013 * gdb.base/info-proc.exp: Ditto.
14014 * gdb.base/maint.exp: Ditto.
14015 * gdb.base/until.exp: Ditto.
14016
14017 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
14018 hardcoded line numbers.
14019 * gdb.base/define.exp: Ditto.
14020 * gdb.base/ena-dis-br.exp: Ditto.
14021 * gdb.base/maint.exp: Ditto.
14022 * gdb.base/until.exp: Ditto.
14023
14024 * gdb.base/completion.exp: Use "break1" for completion tests since
14025 "break" is no longer a unique prefix.
14026
5266b69c
AC
140272003-12-06 Andrew Cagney <cagney@redhat.com>
14028
14029 * gdb.base/structs.exp (test_struct_returns): When applicable, set
14030 "return_value_unimplemented". When an unimplemented struct return
14031 architecture, report incorrect values as a KFAIL
14032
374451f0
MC
140332003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14034
14035 * gdb.cp/rtti.exp: Accept new wording of warning from
14036 cp_lookup_rtti_type.
14037
ba9b20a7
MC
140382003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14039
14040 Partial fix for PR testsuite/1456.
14041 * gdb.base/scope.exp (test_at_main): Replace references to
14042 gcc_compiled with calls to test_compiler_info.
14043 (test_at_foo): Likewise.
14044 (test_at_bar): Likewise.
14045
b74b6d0b
MC
140462003-12-04 Michael Chastain <mec.gnu@mindspring.com>
14047
14048 Partial fix for PR testsuite/1456.
14049 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
14050 to test_compiler_info.
14051
ccfa3402
MC
140522003-12-03 Michael Chastain <mec.gnu@mindspring.com>
14053
14054 * gdb.base/so-impl-ld.exp: Update copyright notice.
14055
f6246aba
MC
140562003-12-02 Michael Chastain <mec.gnu@mindspring.com>
14057
14058 Partial fix for PR testsuite/1456.
14059 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
14060 to test_compiler_info.
14061
13ae734a
MC
140622003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14063
14064 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
14065 from current versions of gdb. Clean up regular expressions.
14066 Delete redundant timeout case.
14067
d8e1cdee
MC
140682003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14069
14070 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
14071 from current versions of gdb. Clean up regular expressions.
14072 Delete redundant timeout case.
14073
96457b64
MC
140742003-12-01 Michael Chastain <mec.gnu@mindspring.com>
14075
14076 Partial fix for PR testsuite/1456.
14077 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
14078 gcc_compiled with call to test_compiler_info.
14079
f35309fc
MC
140802003-11-30 Michael Chastain <mec.gnu@mindspring.com>
14081
14082 Partial fix for PR testsuite/1456.
14083 * gdb.base/list.exp (test_list_function): Delete unused declaration
14084 of gcc_compiled.
14085
d7afdf9b
MC
140862003-11-29 Michael Chastain <mec.gnu@mindspring.com>
14087
14088 Partial fix for PR testsuite/1456.
14089 * gdb.base/complex.exp: Replace reference to gcc_compiled with
14090 call to test_compiler_info.
14091
71507b56
MK
140922003-11-29 Mark Kettenis <kettenis@gnu.org>
14093
14094 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
14095 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
14096 it to create the appropriate note.inc.
14097 * gdb.asm/asmsrc1.s: Include "note.inc".
14098 * gdb.asm/netbsd.inc: New file.
14099 * gdb.asm/empty.inc: New file.
14100
f81f93f7
MC
141012003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14102
14103 Partial fix for PR testsuite/1456.
14104 * gdb.base/constvars.exp: Replace references to gcc_compiled with
14105 calls to test_compiler_info.
14106
9a77938e
MC
141072003-11-27 Michael Chastain <mec.gnu@mindspring.com>
14108
14109 Partial fix for PR testsuite/1456.
14110 * gdb.base/volatile.exp: Replace references to gcc_compiled with
14111 calls to test_compiler_info.
14112
e8367dc7
MK
141132003-11-27 Mark Kettenis <kettenis@gnu.org>
14114
14115 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
14116 pattern for the KFAILs.
14117
526c61ee
AF
141182003-11-25 Adam Fedor <fedor@gnu.org>
14119
14120 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
14121 * gdb.objc/objcdecode.m: New file.
14122
28f2d600
AF
141232003-11-25 Adam Fedor <fedor@gnu.org>
14124
14125 * gdb.objc/nondebug.exp: Test for PR objc/1236.
14126 * gdb.objc/nondebug.m: New file.
14127
a3895cee
BE
141282003-11-26 Ben Elliston <bje@wasabisystems.com>
14129
14130 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14131 NetBSD as it does on FreeBSD. Modelled on a similar change by
14132 Mark Kettenis on 2003-05-30.
14133 (link-flags): Set to "--entry _start" regardless of target.
14134 Special linker flags are to be appended to $link-flags.
14135 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
14136
c9f2c8a3
MC
141372003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14138
14139 * gdb.cp/method.exp: Accept output of new demangler.
14140
15a0587a 141412003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
14142
14143 * gdb/class2.exp: New file.
14144 * gdb/class2.cc: New file.
14145
3c00b570
MC
141462003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14147
14148 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
14149 of new demangler.
14150
7027acc7
MK
141512003-11-23 Mark Kettenis <kettenis@gnu.org>
14152
14153 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
14154 of gdb_test "run".
14155
b0e1598a
MK
141562003-11-23 Mark Kettenis <kettenis@gnu.org>
14157
14158 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
14159 "continue" into "run".
14160
4d9eda44
MC
141612003-11-23 Michael Chastain <mec.gnu@mindspring.com>
14162
14163 Partial fix for PR testsuite/1456.
14164 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
14165 call to test_compiler_info.
14166 * gdb.cp/ctti.exp: Likewise.
14167 * gdb.cp/derivation.exp: Likewise.
14168 * gdb.cp/member-ptr.exp: Likewise.
14169 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
14170 reference to gcc_compiled.
14171
141722003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
14173
14174 Fix PR testsuite/1463.
14175 * gdb.base/structs.exp (start_structs_test): Call
14176 get_debug_format before using the debug format.
14177
d422fe19
AC
141782003-11-22 Andrew Cagney <cagney@redhat.com>
14179
14180 * lib/gdb.exp (gdb_test_multiple): Add simple example.
14181 * gdb.base/structs.exp: Use gdb_test_multiple.
14182
039cf96d
AC
141832003-11-20 Andrew Cagney <cagney@redhat.com>
14184
6882279b
AC
14185 * gdb.base/structs.exp: Handle and recover from internal errors.
14186 Replace "foo${n}" with "foo<n>" in test messages.
14187
e53890ae
AC
14188 * gdb.base/structs.exp: Update copyright. Rewrite.
14189 * gdb.base/structs.c: Update copyright. Rewrite.
14190
2b211c59
AC
14191 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
14192 resync count exceeded.
d63a86f8 14193
039cf96d
AC
14194 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
14195 from the internal error.
14196 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
14197 Original from Jim Blandy.
14198 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 14199
eac98b22
AC
142002003-11-19 Andrew Cagney <cagney@redhat.com>
14201
14202 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
14203 KFAIL.
14204
67455b2a
MK
142052003-11-17 Mark Kettenis <kettenis@gnu.org>
14206
14207 New testcase for PR backtrace/1435.
14208 * gdb.arch/i386-unwind.exp: New file.
14209 * gdb.arch/i386-unwind.c: New file.
14210
853d6e5b
AC
142112003-11-17 Andrew Cagney <cagney@redhat.com>
14212
14213 * lib/gdb.exp (compiler_info): New global.
14214 (test_compiler_info): New function.
14215 (get_compiler_info): Set compiler_info.
14216 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
14217 "compiler_info" to gcc-<major>-<minor>.
14218
38cf6e11
MC
142192003-11-15 Michael Chastain <mec.gnu@mindspring.com>
14220
14221 * gdb.trace/configure: Remove.
14222
a50d3602
EZ
142232003-11-13 Elena Zannoni <ezannoni@redhat.com>
14224
14225 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 14226 breakpoints.
a50d3602
EZ
14227 * gdb.base/break.exp: Remove all references to explicit line
14228 numbers.
14229
d9407aaa
NC
142302003-11-11 Nick Clifton <nickc@redhat.com>
14231
14232 * gdb.base/shreloc.exp: Do not run for targets which do not
14233 support shared objects.
14234
db488fc1
CV
142352003-11-10 Corinna Vinschen <vinschen@redhat.com>
14236
14237 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
14238 Don't run tests if nofileio flag is given.
14239
6a90a18e
EZ
142402003-11-07 Elena Zannoni <ezannoni@redhat.com>
14241
14242 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 14243 as well as 'Watchpoint'.
6a90a18e 14244
0b915e9c
EZ
142452003-11-06 Elena Zannoni <ezannoni@redhat.com>
14246
14247 Reported by Jim Ingham <jingham@apple.com>:
14248 * gdb.base/annota1.exp: Match at least one occurrence of the
14249 signal handler annotation.
14250
d7e4b55f
EZ
142512003-11-06 Elena Zannoni <ezannoni@redhat.com>
14252
a9c64011
AS
14253 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
14254 as well as 'Watchpoint'.
d7e4b55f 14255
2fe4e8d0
MC
142562003-11-05 Michael Chastain <mec@shout.net>
14257
14258 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
14259
6ef88553
KW
142602003-11-03 Kris Warkentin <kewarken@qnx.com>
14261
14262 * gdb.arch/gdb1291.c: New test file.
14263 * gdb.arch/gdb1291.exp: New test script.
14264 * gdb.arch/gdb1431.c: New test file.
14265 * gdb.arch/gdb1431.exp: New test script.
14266
ae7dc4d8
MC
142672003-10-22 Michael Chastain <mec@shout.net>
14268
14269 * gdb.mi/pthreads.c: Add copyright notice.
14270
c39d7427
MC
142712003-10-22 Michael Chastain <mec@shout.net>
14272
14273 * gdb.threads/pthreads.c: Add copyright notice.
14274
8b7d96c1
MC
142752003-10-20 Michael Chastain <mec@shout.net>
14276
14277 * gdb.base/gdb1056.exp: New test script.
14278
d1d69fdd
DJ
142792003-10-13 Daniel Jacobowitz <drow@mvista.com>
14280
14281 * gdb.threads/killed.exp: Use gdb_run_cmd.
14282
7d605576
DJ
142832003-10-13 Daniel Jacobowitz <drow@mvista.com>
14284
14285 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
14286 create a core file.
14287 * gdb.threads/gcore-thread.exp: Likewise.
14288
618ec112
CV
142892003-10-13 Corinna Vinschen <vinschen@redhat.com>
14290
14291 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
14292 type, based on char type.
14293 (struct bit_flags_short_t): New bitfield type, based on short type.
14294 (init_bit_flags_char): New fuction.
14295 (init_bit_flags_short): Ditto.
14296 (print_bit_flags_char): Ditto.
14297 (print_bit_flags_short): Ditto.
14298 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
14299
9367a73c
MC
143002003-10-11 Michael Chastain <mec@shout.net>
14301
14302 * gdb.base/call-rt-st.exp: Update copyright year.
14303
1decf120
KI
143042003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
14305
14306 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
14307 * gdb.disasm/sh3.s: Ditto.
14308
5445b2ae
DJ
143092003-10-07 Daniel Jacobowitz <drow@mvista.com>
14310
14311 * gdb.threads/switch-threads.exp: New test.
14312 * gdb.threads/switch-threads.c: New source file.
14313
aec24853
CV
143142003-10-07 Corinna Vinschen <vinschen@redhat.com>
14315
14316 * gdb.base/ending-run.exp: Add sh specific case.
14317
adc7428d
AC
143182003-10-06 Andrew Cagney <cagney@redhat.com>
14319
14320 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
14321 * gdb.disasm/mn10200.exp: Delete obsolete file.
14322
c9d37158
DJ
143232003-09-29 Daniel Jacobowitz <drow@mvista.com>
14324
14325 * ChangeLog: Correct an entry command.exp -> commands.exp.
14326 * gdb.base/commands.exp (bp_deleted_in_command_test)
14327 (temporary_breakpoint_commands): Check noargs.
14328
79c2c32d
DC
143292003-09-25 David Carlton <carlton@kealia.com>
14330
14331 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
14332 of some print tests, where appropriate. Add tests for C::D::cd,
14333 E::ce, F::cXfX, G::XgX.
14334 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
14335
594e6d67
RE
143362003-09-25 Richard Earnshaw <rearnsha@arm.com>
14337
14338 * lib/java.exp (java_init): Import target_alias before using it.
14339
10f0d451
DC
143402003-09-25 David Carlton <carlton@kealia.com>
14341
14342 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
14343
274bcba0
EZ
143442003-09-23 Elena Zannoni <ezannoni@redhat.com>
14345
d63a86f8 14346 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 14347 weirdness.
274bcba0 14348
cdbf20f7
MC
143492003-09-17 Michael Chastain <mec@shout.net>
14350
14351 * gdb.cp/gdb1355.exp: New file.
14352 * gdb.cp/gdb1355.c: New file.
14353
71e06f80
CV
143542003-09-15 Corinna Vinschen <vinschen@redhat.com>
14355
14356 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
14357 * gdb.asm/sh.inc: New file.
14358
5c4e30ca
DC
143592003-09-11 David Carlton <carlton@kealia.com>
14360
bd45b7af
DC
14361 * gdb.cp/namespace.exp: Add tests for namespace types.
14362 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
14363 (test_namespace): New.
14364
1c199746
EZ
143652003-09-11 Elena Zannoni <ezannoni@redhat.com>
14366
a9c64011 14367 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 14368 * gdb.stabs/weird.exp: Ditto.
1c199746 14369
04ed252f
MC
143702003-09-08 Michael Chastain <mec@shout.net>
14371
14372 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
14373
d8a2d9e7
MC
143742003-09-07 Michael Chastain <mec@shout.net>
14375
14376 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
14377 'parse error'.
14378
161afb24
MK
143792003-09-07 Mark Kettenis <m.kettenis@osp.nl>
14380
14381 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
14382
49f2741a
MC
143832003-08-30 Michael Chastain <mec@shout.net>
14384
14385 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
14386 * gdb.gdb/observer.exp: Ditto.
14387 * gdb.gdb/xfullpath.exp: Ditto.
14388
8afa723e
MK
143892003-08-29 Mark Kettenis <kettenis@gnu.org>
14390
14391 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
14392 *-*-*bsd*.
14393
f31dfe3b
JJ
143942003-08-28 Jeff Johnston <jjohnstn@redhat.com>
14395
14396 * gdb.base/dump.exp: Skip for ia64.
14397
4630e498
JJ
143982003-08-25 Jeff Johnston <jjohnstn@redhat.com>
14399
14400 * gdb.asm/asm-source.exp: Add ia64 support.
14401 * gdb.asm/ia64.inc: New file.
14402
1105b7ef
MC
144032003-08-22 Michael Chastain <mec@shout.net>
14404
14405 * gdb.cp: New directory.
14406 * gdb.cp/*: Copy from gdb.c++/*.
14407 * gdb.c++/*: Remove.
14408 * Makefile.in: Change gdb.c++ to gdb.cp.
14409 * configure.in: Ditto.
14410 * configure: Regnerate.
14411
c945b932
MK
144122003-08-18 Mark Kettenis <kettenis@gnu.org>
14413
14414 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
14415 * gdb.arch/i386-prologue.c (gdb1338): Add function.
14416
2b66634b
DJ
144172003-08-17 Daniel Jacobowitz <drow@mvista.com>
14418
14419 * mi-var-display.exp (-var-list-children weird): Accept function
14420 pointers with argument types.
14421 * mi1-var-display.exp (-var-list-children weird): Likewise.
14422 * mi2-var-display.exp (-var-list-children weird): Likewise.
14423
a356f73b
DJ
144242003-08-17 Daniel Jacobowitz <drow@mvista.com>
14425
14426 * gdb.base/annota3.exp: Add missing newline.
14427
483417b8
MC
144282003-08-06 Michael Chastain <mec@shout.net>
14429
14430 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
14431
c99c59c3
MS
144322003-08-12 Michael Snyder <msnyder@redhat.com>
14433
14434 * gdb.base/float.exp: Add test for SH.
14435
55ed7501
MK
144362003-08-10 Mark Kettenis <kettenis@gnu.org>
14437
14438 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14439
1a371f2e
EZ
144402003-08-07 Elena Zannoni <ezannoni@redhat.com>
14441
14442 * gdb.base/completion.exp: Remove reduntant completion test
14443 on filename.
14444
e0f353ce
EZ
144452003-08-07 Elena Zannoni <ezannoni@redhat.com>
14446
a9c64011
AS
14447 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14448 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14449 gdb.trace/save-trace.exp: Make sure that full pathnames are
14450 escaped correctly.
e0f353ce 14451
5710a1af 144522003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 14453
a9c64011
AS
14454 * configure.in: Don't generate config.h from config.hin.
14455 * configure: Regenerate.
14456 * config.hin: Remove file.
14457 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14458 * gdb.threads/pthreads.c: Ditto.
5710a1af 14459
dcd81ce9
DJ
144602003-08-07 Daniel Jacobowitz <drow@mvista.com>
14461
14462 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14463 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14464 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14465 Replace ld24 with seth/add3.
14466
6009d884
AC
144672003-08-02 Andrew Cagney <cagney@redhat.com>
14468
14469 * gdb.base/annota3.exp: New file.
14470 * gdb.base/annota3.c: New file.
14471 * gdb.c++/annota3.exp: New file.
14472 * gdb.c++/annota3.cc: New file.
14473
51514e06
MC
144742003-07-29 Michael Chastain <mec@shout.net>
14475
14476 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14477 actually failed.
14478 (do_pass): Likewise.
14479 * gdb.threads/tls.exp: Always initialize no_of_threads.
14480
4ee6625b
DJ
144812003-07-27 Daniel Jacobowitz <drow@mvista.com>
14482
14483 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14484 pattern.
14485 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14486 * gdb.threads/tls.exp: Recognize one case of the host library not
14487 supporting TLS.
14488
225f2bf6
AC
144892003-07-27 Andrew Cagney <cagney@redhat.com>
14490
14491 * gdb.base/fileio.exp: Use SH when running commands using
14492 remote_exec.
14493
bcb27c9f
DJ
144942003-07-24 Daniel Jacobowitz <drow@mvista.com>
14495
14496 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14497 * gdb.base/relocate.c (dummy): New padding array.
14498
3d67be83
MS
144992003-07-22 Michael Snyder <msnyder@redhat.com>
14500
d63a86f8 14501 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
14502
14503 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14504 patterns to be more general, accepting old and new output.
14505 Some output chars (such as '+') also must be quoted.
d63a86f8 14506 Some addresses are displayed numerically instead of
3d67be83
MS
14507 symbolically.
14508
57ba3b85
MS
145092003-07-23 Michael Snyder <msnyder@redhat.com>
14510
686d097c
MS
14511 * gdb.base/return2.exp: Don't test long-long return.
14512
57ba3b85
MS
14513 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14514 * gdb.disasm/t01_mov.exp: Ditto.
14515 * gdb.disasm/t02_mova.s: Ditto.
14516 * gdb.disasm/t02_mova.exp: Ditto.
14517 * gdb.disasm/t03_add.s: Ditto.
14518 * gdb.disasm/t03_add.exp: Ditto.
14519 * gdb.disasm/t04_sub.s: Ditto.
14520 * gdb.disasm/t04_sub.exp: Ditto.
14521 * gdb.disasm/t05_cmp.s: Ditto.
14522 * gdb.disasm/t05_cmp.exp: Ditto.
14523 * gdb.disasm/t06_ari2.s: Ditto.
14524 * gdb.disasm/t06_ari2.exp: Ditto.
14525 * gdb.disasm/t07_ari3.s: Ditto.
14526 * gdb.disasm/t07_ari3.exp: Ditto.
14527 * gdb.disasm/t08_or.s: Ditto.
14528 * gdb.disasm/t08_or.exp: Ditto.
14529 * gdb.disasm/t09_xor.s: Ditto.
14530 * gdb.disasm/t09_xor.exp: Ditto.
14531 * gdb.disasm/t10_and.s: Ditto.
14532 * gdb.disasm/t10_and.exp: Ditto.
14533 * gdb.disasm/t11_logs.s: Ditto.
14534 * gdb.disasm/t11_logs.exp: Ditto.
14535 * gdb.disasm/t12_bit.s: Ditto.
14536 * gdb.disasm/t12_bit.exp: Ditto.
14537 * gdb.disasm/t13_otr.s: Ditto.
14538 * gdb.disasm/t13_otr.exp: Ditto.
14539
e00759ef
EZ
145402003-07-22 Elena Zannoni <ezannoni@redhat.com>
14541
14542 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14543
8bc2021f
EZ
145442003-07-22 Elena Zannoni <ezannoni@redhat.com>
14545
a9c64011
AS
14546 * gdb.threads/tls.c : New file.
14547 * gdb.threads/tls.exp : New file.
14548 * gdb.threads/tls-main.c : New file.
14549 * gdb.threads/tls-shared.c : New file.
14550 * gdb.threads/tls-shared.exp : New file.
8bc2021f 14551
89320c4c
AS
145522003-07-22 Andreas Schwab <schwab@suse.de>
14553
14554 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14555
180dea7c
AS
145562003-07-20 Andreas Schwab <schwab@suse.de>
14557
14558 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14559 due to insn reordering.
14560
0714963c
AC
145612003-07-15 Andrew Cagney <cagney@redhat.com>
14562
14563 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14564
98a23b3f
MC
145652003-07-15 Michael Chastain <mec@shout.net>
14566
14567 * gdb.base/gdb1250.exp: New file.
14568 * gdb.base/gdb1250.c: New file.
14569
27e417a2
ML
145702003-07-09 Michal Ludvig <mludvig@suse.cz>
14571
14572 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14573 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14574
8bc2021f
EZ
145752003-07-09 Elena Zannoni <ezannoni@redhat.com>
14576
a9c64011
AS
14577 * gdb.threads/tls.c: New file.
14578 * gdb.threads/tls.exp: New file.
14579 * gdb.threads/tls-main.c: New file.
14580 * gdb.threads/tls-shared.c: New file.
14581 * gdb.threads/tls-shared.exp: New file.
8bc2021f 14582
d99968dc
EZ
145832003-07-09 Elena Zannoni <ezannoni@redhat.com>
14584
14585 * gdb.base/annota1.exp: Make sure that we properly escape the
14586 full path of the source file. Xfail more permissive patterns,
d63a86f8 14587 due to a compiler debug info problem.
d99968dc 14588
83876b3b
AS
145892003-07-07 Andreas Schwab <schwab@suse.de>
14590
2705e972
AS
14591 * gdb.asm/m68k.inc: New file.
14592 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14593
83876b3b
AS
14594 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14595 arguments"): Also match negative number.
14596
14597 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14598
3a871b37
DJ
145992003-07-03 Daniel Jacobowitz <drow@mvista.com>
14600
14601 * gdb.base/store.c (charest): New typedef.
14602 (add_char): Rename to add_charest, update.
14603 (wack_char): Rename to wack_charest, update types. Return l + r
14604 to keep r live across the call.
14605 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14606 (wack_double, wack_doublest): Return l + r to keep r live across
14607 the call.
14608 * gdb.base/store.exp: Accomodate store.c changes.
14609
b2a7f303
DC
146102003-06-30 David Carlton <carlton@kealia.com>
14611
14612 * gdb.c++/maint.exp (test_invalid_name): New.
14613 (test_first_component): Add tests for invalid names.
14614
3c6cb4a1
MC
146152003-06-29 Michael Chastain <mec@shout.net>
14616
14617 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14618 output of '<VTT for class>' for virtual base classes.
14619
f1c2644b
DJ
146202003-06-29 Daniel Jacobowitz <drow@mvista.com>
14621
14622 * gdb.base/completion.exp: Tab-complete "complet" instead of
14623 "compl".
14624 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14625
18080350
DJ
146262003-06-29 Daniel Jacobowitz <drow@mvista.com>
14627
14628 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14629 * gdb.base/volatile.exp: Likewise.
14630
f56973f8
DJ
146312003-06-29 Daniel Jacobowitz <drow@mvista.com>
14632
14633 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14634 gdb/1265.
14635
146362003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
14637 Daniel Jacobowitz <drow@mvista.com>
14638
14639 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14640 initial line count of 'captured_main' from 26 to 32.
14641 (test_with_self): Allow xmalloc call to be interleaved with the
14642 preceding two lines.
14643
e766d4d6
JB
146442003-06-24 Joel Brobecker <brobecker@gnat.com>
14645
14646 * gdb.base/bang.exp: New testcase.
14647
f125c9a4
JB
146482003-06-23 Joel Brobecker <brobecker@gnat.com>
14649
14650 * gdb.base/langs.exp: Add some tests for the "minimal" language
14651 support.
14652
6e25beaf
EZ
146532003-06-23 Elena Zannoni <ezannoni@redhat.com>
14654
14655 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14656 the testcase.
14657
2f816dda
DJ
146582003-06-22 Daniel Jacobowitz <drow@mvista.com>
14659
14660 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14661 offset.
14662
db5a5748
DJ
146632003-06-22 Daniel Jacobowitz <drow@mvista.com>
14664
14665 * gdb.c++/pr-1210.cc: New file.
14666 * gdb.c++/pr-1210.exp: New file.
14667
1df0c130
DJ
146682003-06-21 Daniel Jacobowitz <drow@mvista.com>
14669
14670 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14671 000-exec-continue.
14672
a92feac0
MK
146732003-06-15 Mark Kettenis <kettenis@gnu.org>
14674
14675 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14676 on *-*-*bsd* instead of *-*-freebsd*.
14677
81a58f5b
AC
146782003-06-14 Andrew Cagney <cagney@redhat.com>
14679
14680 * gdb.base/store.exp: Test longest and doublest. Test all
14681 parameters. Weaken return statement match.
14682 * gdb.base/store.c: Add longest and doublest - aka long long and
14683 long double functions. Put all parameters into local register
14684 variables. Use negative values.
14685
b257a0d3
AC
146862003-06-14 Andrew Cagney <cagney@redhat.com>
14687
14688 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14689 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14690 exit status.
14691 * gdb.base/fileio.exp: Disable target when nointerrupts and
14692 noinferiorio, instead of limiting it to remote. Use remote_exec
14693 instead of system.
d63a86f8 14694
21c38304
JJ
146952003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14696
14697 * gdb.base/float.exp: Add ia64 support.
14698
1bcdb424
CV
146992003-06-12 Corinna Vinschen <vinschen@redhat.com>
14700
14701 * gdb.base/fileio.exp: Run only on remote targets.
14702
6aeb981f
CV
147032003-06-10 Corinna Vinschen <vinschen@redhat.com>
14704
14705 * gdb.base/fileio.c: New file, testing File-I/O.
14706 * gdb.base/fileio.exp: Ditto.
14707
53df362e
RG
147082003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14709
14710 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14711 shared objects after relocation at load time (gdb PR/1132).
14712 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 14713 as above, part of the shared object relocation test.
53df362e 14714
ffee1b46
MK
147152003-06-08 Mark Kettenis <kettenis@gnu.org>
14716
b5ca3722
MK
14717 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14718 fully filled history list.
14719 * gdb.base/gdb_history: New file.
14720
03ed860d
MK
14721 * gdb.base/signals.exp: XFAIL "continue to func1" on
14722 i*86-*-freebsd*.
14723
ffee1b46
MK
14724 * gdb.base/attach.exp: When trying to attach to a nonexistent
14725 process, make it possible to specify the PID based on the target,
14726 and do so for *-*-freebsd*.
14727
d80dbb52
RH
147282003-06-02 Richard Henderson <rth@redhat.com>
14729
14730 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14731
6dd77b81
RH
147322003-06-02 Richard Henderson <rth@redhat.com>
14733
14734 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14735
f6347e16
RH
147362003-06-02 Richard Henderson <rth@redhat.com>
14737
14738 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14739
2c161407
DJ
147402003-06-01 Daniel Jacobowitz <drow@mvista.com>
14741
14742 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14743 of globalvar.
14744
572eb746
MK
147452003-06-01 Mark Kettenis <kettenis@gnu.org>
14746
14747 * gdb.asm/asm-source.exp: Check for memory read errors in
14748 disassembler test on *BSD too.
14749
9e9617a5
RH
147502003-06-01 Richard Henderson <rth@redhat.com>
14751
14752 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14753 for .frame.
14754 (gdbasm_call): Lose ldgp.
14755 (gdbasm_startup): Add frame information.
14756 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14757
7b34ad4e
MK
147582003-05-31 Mark Kettenis <kettenis@gnu.org>
14759
14760 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14761 i?86-*-*.
14762
10059fdf
MK
147632003-05-30 Mark Kettenis <kettenis@gnu.org>
14764
14765 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14766 FreeBSD.
14767
acf4b816
RH
147682003-05-29 Richard Henderson <rth@redhat.com>
14769
14770 * gdb.asm/alpha.inc: New file.
14771 * gdb.asm/asm-source.exp: Use it.
14772
e9ecd949
JB
147732003-05-29 Jim Blandy <jimb@redhat.com>
14774
14775 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14776 'core.PID'.
14777
e3e5a4f3
JB
147782003-05-22 Jim Blandy <jimb@redhat.com>
14779
14780 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14781 backtrace.
d63a86f8 14782
72fe3d25
DC
147832003-05-20 David Carlton <carlton@math.stanford.edu>
14784
14785 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14786 this time.
14787
58da2eb2
DC
147882003-05-19 David Carlton <carlton@bactrian.org>
14789
14790 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14791 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14792
1fcb5155
DC
147932003-05-19 David Carlton <carlton@bactrian.org>
14794
14795 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14796 namespace tests.
14797 Bump copyright date.
14798 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14799 (main): Call C::D::marker2.
14800 * gdb.c++/namespace1.cc: New file.
14801
85e85163
JJ
148022003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14803
14804 Roland McGrath <roland@redhat.com>
d63a86f8 14805 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
14806 there is no manager thread.
14807
a25fbfec
JJ
148082003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14809
d63a86f8
RM
14810 * gdb.threads/schedlock.exp: Remove assumption that all threads
14811 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
14812 in one of the child threads rather than the main thread.
14813
be375bae
JB
148142003-05-07 Jim Blandy <jimb@redhat.com>
14815
09bf6082
JB
14816 Add support for assembly source testing on the s390x.
14817 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14818 architecture.
14819 * gdb.asm/s390x.inc: New file.
14820
be375bae
JB
14821 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14822 succession of 'if' statements.
14823
00905d52
AC
148242003-05-05 Andrew Cagney <cagney@redhat.com>
14825
14826 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14827
b1e29e33
AC
148282003-05-05 Andrew Cagney <cagney@redhat.com>
14829
14830 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14831 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14832
e33d66ec
EZ
148332003-05-02 Elena Zannoni <ezannoni@redhat.com>
14834
14835 * gdb.base/charset.exp: Update based on new behavior of set/show
14836 charset commands.
14837
2b6fd0d8
AC
148382003-05-01 Andrew Cagney <cagney@redhat.com>
14839
14840 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14841 variable do not give memory errors.
14842
130cacce
AF
148432003-04-30 Adam Fedor <fedor@gnu.org>
14844
14845 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14846 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14847 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14848 gdb.objc/basicclass.m: : New files
14849
14850 * lib/gdb.exp (gdb_compile_objc): New procedure.
14851
bea71854
DJ
148522003-04-27 Daniel Jacobowitz <drow@mvista.com>
14853
14854 * gdb.base/signals.exp: Make backtrace tests more specific.
14855
0f20eeea
DC
148562003-04-23 David Carlton <carlton@bactrian.org>
14857
14858 * gdb.c++/maint.exp (test_first_component): Add tests for
14859 'operator' in more locations.
14860
c8c4d8dc
KB
148612003-04-16 Kevin Buettner <kevinb@redhat.com>
14862
14863 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14864
3fe60e3c
EZ
148652003-04-16 Elena Zannoni <ezannoni@redhat.com>
14866
14867 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 14868 func marke' instead. Update test name.
3fe60e3c 14869
9219021c
DC
148702003-04-15 David Carlton <carlton@math.stanford.edu>
14871
14872 * gdb.c++/maint.exp: New file.
14873
5dd55bdd
EZ
148742003-04-14 Elena Zannoni <ezannoni@redhat.com>
14875
14876 * gdb.threads/schedlock.c: Change type of thread function argument
14877 to long, to avoid warnings on 64-bit platforms.
14878
00890572
EZ
148792003-04-14 Elena Zannoni <ezannoni@redhat.com>
14880
a9c64011
AS
14881 * gdb.base/attach.exp: Add new message from ptrace in case of
14882 attaching to nonexistent process.
d63a86f8 14883
93201743
JB
148842003-04-11 Jim Blandy <jimb@redhat.com>
14885
14886 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14887 gdb.c++/userdef.cc: Place comments on the lines to which the
14888 marker function might return.
14889 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14890 gdb.c++/userdef.exp: Look for those comments to check that we've
14891 returned to the right place, instead of checking line numbers.
14892
2a11c64d
EZ
148932003-04-11 Elena Zannoni <ezannoni@redhat.com>
14894
a9c64011
AS
14895 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14896 match on sourcefile name, instead of directory name.
2a11c64d 14897
68ab8fc5
EZ
148982003-04-10 Elena Zannoni <ezannoni@redhat.com>
14899
d63a86f8 14900 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
14901 working directory name.
14902
5624293a
JB
149032003-04-09 Jim Blandy <jimb@redhat.com>
14904
14905 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14906 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14907 after an inferior function call, report the failure, but allow the
14908 test to continue.
14909
f1f02ee4
SC
149102003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14911
14912 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14913 with -DPROTOTYPES.
14914
6eb79af0
SC
149152003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14916
14917 * gdb.base/break.exp: Revert last patch.
14918
8dfb4cf0
SC
149192003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14920
14921 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14922 with -DPROTOTYPES.
14923
ed4c619a
AC
149242003-04-02 Andrew Cagney <cagney@redhat.com>
14925
14926 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14927 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14928 matching directories by the name breakpoint.
14929 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14930 Make "continue to marker1" consistent.
14931 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14932 message consistent.
14933 * lib/gdb.exp: Put "the program is no longer running", and "the
14934 program exited" in parenthesis.
14935 * lib/mi-support.exp: Ditto.
d63a86f8 14936
4e35d5f0 149372003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 14938
4e35d5f0
BR
14939 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14940
71900fe8
AC
149412003-03-29 Andrew Cagney <cagney@redhat.com>
14942
14943 * gdb.base/sizeof.c (main): Print the value of '\377'.
14944 * gdb.base/sizeof.exp: Check the sign of '\377'.
14945
c0655a16
MC
149462003-03-27 Michael Chastain <mec@shout.net>
14947
14948 * gdb.base/gdb1090.exp: New file.
14949 * gdb.base/gdb1090.cc: New file.
14950
5b2a3989
JB
149512003-03-27 J. Brobecker <brobecker@gnat.com>
14952
14953 * gdb.gdb/observer.exp: New regression test.
14954
79876890
MC
149552003-03-27 Michael Chastain <mec@shout.net>
14956
14957 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14958 * gdb.base/ptype.exp: Likewise.
14959
6eac95e3
CV
149602003-03-27 Corinna Vinschen <vinschen@redhat.com>
14961
14962 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14963
e8c71839
MC
149642003-03-26 Michael Chastain <mec@shout.net>
14965
14966 * gdb.base/ptype.exp: Actually use some typedef'd types.
14967
71b10041
SC
149682003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14969
14970 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14971 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14972
2512cf80
CV
149732003-03-20 Corinna Vinschen <vinschen@redhat.com>
14974
14975 * gdb.base/default.exp: Fix regular expression.
14976
0d195a4f
CV
149772003-03-20 Corinna Vinschen <vinschen@redhat.com>
14978
14979 * gdb.base/args.exp: Fix regular expression.
14980
8a2dbca8
CV
149812003-03-20 Corinna Vinschen <vinschen@redhat.com>
14982
14983 * gdb.base/help.exp: Allow Win32 child process.
14984
bf028682
CV
149852003-03-20 Corinna Vinschen <vinschen@redhat.com>
14986
14987 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14988 when stepping out of main().
14989
182dbe85
CV
149902003-03-20 Corinna Vinschen <vinschen@redhat.com>
14991
14992 * gdb.base/default.exp: Check for win32 specific message when calling
14993 "run" without executable.
14994
d67a6ba5
CV
149952003-03-20 Corinna Vinschen <vinschen@redhat.com>
14996
14997 * gdb.base/args.exp: Expect .exe in output.
14998
a955b5bb
CV
149992003-03-20 Corinna Vinschen <vinschen@redhat.com>
15000
15001 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
15002 Cygwin native.
15003
bf6bad4b
AC
150042003-03-17 Andrew Cagney <cagney@redhat.com>
15005
15006 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
15007 vector registes.
15008 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
15009 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
15010
293e9a31
DC
150112003-03-17 David Carlton <carlton@math.stanford.edu>
15012
15013 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
15014 test, for PR breakpoints/38.
15015 Call test_watchpoint_and_breakpoint.
15016 * gdb.base/watchpoint.c (func3): New function.
15017 (main): Call func3.
15018
5330f2db
DC
150192003-03-04 David Carlton <carlton@math.stanford.edu>
15020
15021 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
15022 Garply<Garply<char> >:: garply".
15023 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
15024 with respect to PR c++/1111; note also PR c++/1113.
15025 (test_template_breakpoints): KFAIL "constructor breakpoint" with
15026 respect to PR c++/1062.
15027 KFAIL "destructor breakpoint" with respect to PR c++/1112.
15028
6ece72da
DC
150292003-03-03 David Carlton <carlton@math.stanford.edu>
15030
15031 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
15032 with respect to PR c++/57.
15033 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
15034 c++/826.
15035 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
15036 respect to PR c++/57.
15037
85ca1584
DC
150382003-03-03 David Carlton <carlton@math.stanford.edu>
15039
15040 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
15041 respect to PR c++/33 into FAILs.
15042
98e9c5b8
MC
150432003-03-03 Michael Chastain <mec@shout.net>
15044
7bedbf27
MC
15045 * configure.in: Update copyright years.
15046
150472003-03-03 Michael Chastain <mec@shout.net>
15048
15049 * Makefile.in: Update copyright years.
98e9c5b8 15050
f683e100
DC
150512003-02-28 David Carlton <carlton@math.stanford.edu>
15052
15053 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
15054 print class instead of struct and/or superfluous protection
15055 specifiers, as long as the resulting output is equivalent to the
15056 source code.
15057 Delete FIXME from end of messages on tests that don't need
15058 fixing.
15059
a9e0cf2c
DC
150602003-02-28 David Carlton <carlton@math.stanford.edu>
15061
15062 * gdb.c++/templates.exp (do_tests): Allow const in the two
15063 Foo<volatile char *>::foo tests.
15064
e8d359df
MS
150652003-02-27 Michael Snyder <msnyder@redhat.com>
15066
d63a86f8 15067 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
15068 will be consistant.
15069
0b71dc91
DC
150702003-02-26 David Carlton <carlton@math.stanford.edu>
15071
15072 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
15073 char *>::foo" test with respect to PR c++/33. Create a new test
15074 which is identical to that one except that it doesn't put the
15075 space between the "char" and the "*"; KFAIL it, too.
15076
dd14ab43
DC
150772003-02-26 David Carlton <carlton@math.stanford.edu>
15078
15079 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
15080 template types into either PASSes or KFAILs (corresponding to PR
15081 c++/57). Tweak indentation. Update copyright.
15082
1146c7f1
SC
150832003-02-23 Stephane Carrez <stcarrez@nerim.fr>
15084
15085 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
15086
74641dfb
MC
150872003-02-13 Michael Chastain <mec@shout.net>
15088
15089 * gdb.base/exprs.exp: Remove i960 remnants.
15090 * gdb.base/funcargs.exp: Likewise.
15091 * gdb.base/list.exp: Likewise.
15092 * gdb.base/ptype.exp: Likewise.
15093
559cd2d0
DC
150942003-02-14 David Carlton <carlton@math.stanford.edu>
15095
15096 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
15097 pEe->D::vg()" from XFAIL to KFAIL.
15098
c4f90d87
JM
150992003-02-13 Jason Molenda (jmolenda@apple.com)
15100
15101 * gdb.base/maint.exp: Update maint print statistics regexp to include
15102 new entries.
15103
cbc4d97c
MC
151042003-02-13 Michael Chastain <mec@shout.net>
15105
15106 * gdb.c++/inherit.exp: Remove call to get_debug_format.
15107
40f235b7
MC
151082003-02-12 Michael Chastain <mec@shout.net>
15109
15110 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
15111 * gdb.c++/inherit.exp: Likewise.
15112 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
15113 * gdb.c++/templates.exp: Likewise.
15114 * gdb.c++/virtfunc.exp: Likewise.
15115
c56716b0
JM
151162003-02-06 Jason Molenda (jason-cl@molenda.com)
15117
15118 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
15119 why the code is written that way.
15120
070afcf8
MC
151212003-02-05 Michael Chastain <mec@shout.net>
15122
15123 * gdb.base/dump.exp: Add missing copyright line.
15124
5d0331e5
JM
151252003-02-05 Jason Molenda (jason-cl@molenda.com)
15126
f7ae6d3e 15127 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
15128 at the beginning so the breakpoint doesn't get set on the loop.
15129
92851186
MC
151302003-02-05 Michael Chastain <mec@shout.net>
15131
15132 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
15133 output for configurations with gcc 2.95.3.
15134
cbf1e085
AC
151352003-02-05 Keith Seitz <keiths@redhat.com>
15136 Andrew Cagney <ac131313@redhat.com>
15137
15138 * gdb.mi/mi-cli.exp: New file.
d63a86f8 15139
29518e1e
MC
151402003-02-04 Michael Chastain <mec@shout.net>
15141
15142 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
15143 Call perror and then continue.
15144
5af1d5f3
MC
151452003-02-03 Michael Chastain <mec@shout.net>
15146
15147 * gdb.c++/pr-1023.cc: New file.
15148 * gdb.c++/pr-1023.exp: New file.
15149
6b549786
JB
151502003-02-05 Jim Blandy <jimb@redhat.com>
15151
15152 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
15153 it's local to foobar. Check for it there, and check that it's not
15154 present in main.
15155 * gdb.c++/local.cc (marker2): New function.
15156 (foobar): Call marker1.
15157 (main): Call marker2 instead of marker1.
15158
67f16606
AC
151592003-02-04 Andrew Cagney <ac131313@redhat.com>
15160
15161 * gdb.disasm/mn10200.exp: Obsolete file.
15162 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
15163 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
15164 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
15165
1c5cb38e
DC
151662003-02-04 David Carlton <carlton@math.stanford.edu>
15167
15168 * gdb.c++/overload.exp: Test intToChar(1).
15169 * gdb.c++/overload.cc (intToChar): New.
15170 (main): Call intToChar.
15171
d1fe6965
DC
151722003-02-03 David Carlton <carlton@math.stanford.edu>
15173
15174 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
15175 'might_kfail' arg.
15176 KFAIL some of the continue_to_bp_overloaded calls, according to
15177 PR c++/1025.
15178
9ba61c5d
MC
151792003-02-01 Michael Chastain <mec@shout.net>
15180
15181 * gdb.base/advance.c (marker1): New marker function.
15182 * gdb.base/advance.exp: When the 'advance' command lands on the
15183 return breakpoint, it can legitimately stop on either the
15184 current line or the next line. Accommodate both outcomes.
15185 * gdb.base/until.exp: Likewise.
15186
e7494ffb
AC
151872003-02-02 Andrew Cagney <ac131313@redhat.com>
15188
15189 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
15190 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
15191 now a list, not a tuple.
15192 * gdb.mi/mi-var-display.exp: Ditto.
15193 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 15194
075559bc
AC
151952003-02-01 Andrew Cagney <ac131313@redhat.com>
15196
15197 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
15198 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
15199 stack backtraces.
15200 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 15201
2bd4c7b1
MK
152022003-02-01 Mark Kettenis <kettenis@gnu.org>
15203
15204 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15205 gdb.mi/mi1-pthreads.exp: Return instead of calling
15206 gdb_suppress_entire_file.
15207
eabd8992
MS
152082003-02-01 Mark Salter <msalter@redhat.com>
15209
15210 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
15211
71469e2f
MS
152122003-01-31 Mark Salter <msalter@redhat.com>
15213
15214 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
15215 Support empty arg.
15216
38a94d44
MC
152172003-01-30 Michael Chastain <mec@shout.net>
15218
15219 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
15220 This was a workaround for a UTF-8 bug in readline 4.3. The bug
15221 has been fixed in gdb/readline on 2003-01-09.
15222
19ea9e73
MS
152232003-01-29 Michael Snyder <msnyder@redhat.com>
15224
e8d359df
MS
15225 * gdb.base/maint.exp: Allow for leading underscore in symbol.
15226 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
15227 * gdb.base/args.exp: Skip if target does not support args passing.
15228
2307bd6a
DJ
152292003-01-22 Daniel Jacobowitz <drow@mvista.com>
15230
19ea9e73 15231 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
15232 gdb_test. Accept a list of expect arguments as the third
15233 parameter.
15234 (gdb_test): Use it.
15235
f2dd3617
EZ
152362003-01-20 Elena Zannoni <ezannoni@redhat.com>
15237
15238 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
15239 allow for different test tree configurations. Update some
15240 tescases accordingly.
15241 * gdb.arch/altivec-regs.exp: Ditto.
15242 * gdb.asm/asm-source.exp: Ditto.
15243 * gdb.base/advance.exp: Ditto.
15244 * gdb.base/display.exp: Ditto.
d63a86f8 15245 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
15246 * gdb.base/mips_pro.exp: Ditto.
15247 * gdb.base/overlays.exp: Ditto.
15248 * gdb.base/relocate.exp: Ditto.
15249 * gdb.base/setshow.exp: Ditto.
15250 * gdb.base/step-line.exp: Ditto.
15251 * gdb.base/step-test.exp: Ditto.
15252 * gdb.base/until.exp: Ditto.
15253 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
15254
c71cdefd
DC
152552003-01-17 David Carlton <carlton@math.stanford.edu>
15256
15257 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
15258 corresponding to PR c++/945.
15259 Update copyright.
15260
fdba05d7
DC
152612003-01-17 David Carlton <carlton@math.stanford.edu>
15262
15263 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
15264 corresponding to PR c++/68.
15265
152662003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
15267
15268 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
15269 (test_paddr_hairy_functions): Call print_addr_2_kfail for
15270 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
15271
c362c33a
EZ
152722003-01-15 Elena Zannoni <ezannoni@redhat.com>
15273
0fbc361c
EZ
15274 * gdb.base/break.exp: Fix change of default location, because of
15275 removal of until tests.
15276 * gdb.base/help.exp: Update test for new 'until' help message.
15277 Add test for help on 'advance'.
a9c64011 15278 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 15279
dabf8a35
MK
152802003-01-15 Mark Kettenis <kettenis@gnu.org>
15281
15282 * gdb.base/default.exp: Adapt "info float" test for recent changes
15283 to that command. Add test for "info vector".
15284 * gdb.base/float.exp: New file. Add test for "info float" that
15285 resembles the old test in gdb.base/default.exp.
15286
a1769aca
DC
152872003-01-15 David Carlton <carlton@math.stanford.edu>
15288
15289 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
15290
82025e13
EZ
152912003-01-15 Elena Zannoni <ezannoni@redhat.com>
15292
15293 * gdb.base/break.exp: Move the tests of until command from here...
15294 * gdb.base/until.exp: ... to here. New file. Add other tests.
15295 * gdb.base/advance.c: New file.
15296 * gdb.base/advance.exp: New file.
15297
8f9ab801
EZ
152982003-01-14 Elena Zannoni <ezannoni@redhat.com>
15299
a9c64011
AS
15300 * gdb.base/args.c: New file.
15301 * gdb.base/args.exp: New file.
8f9ab801 15302
9ae66589
DJ
153032003-01-14 Daniel Jacobowitz <drow@mvista.com>
15304
15305 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
15306
8d77e5c3
DJ
153072003-01-14 Daniel Jacobowitz <drow@mvista.com>
15308
15309 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
15310
12d2f0a1
DJ
153112003-01-14 Daniel Jacobowitz <drow@mvista.com>
15312
15313 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
15314 dates.
15315
6ca37014
DJ
153162003-01-13 Daniel Jacobowitz <drow@mvista.com>
15317
15318 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
15319
b0023472
DJ
153202003-01-13 Daniel Jacobowitz <drow@mvista.com>
15321
15322 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
15323 (ptype &*"foo").
15324 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
15325
607fbc54 153262003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
15327
15328 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
15329 * gdb.mi/mi1-console.exp: Likewise.
15330
607fbc54 153312003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
15332
15333 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
15334 * gdb.mi/mi1-console.exp: Likewise.
15335
a1fb14a2
DJ
153362003-01-13 Daniel Jacobowitz <drow@mvista.com>
15337
15338 * gdb.c++/overload.exp: Remove some fixed XFAILs.
15339
c4cf40b7
DJ
153402003-01-09 Daniel Jacobowitz <drow@mvista.com>
15341
15342 * gdb.base/detach.exp: New test.
15343
696d5a5b
DJ
153442003-01-09 Daniel Jacobowitz <drow@mvista.com>
15345
15346 * Makefile.in (ALL_SUBDIRS): New variable.
15347 (subdirs, clean, distclean): Use it.
15348 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
15349 regenerating Makefile, since it is generated from the top level.
15350 * gdb.asm/Makefile.in: Likewise.
15351 * gdb.base/Makefile.in: Likewise.
15352 * gdb.c++/Makefile.in: Likewise.
15353 * gdb.disasm/Makefile.in: Likewise.
15354 * gdb.java/Makefile.in: Likewise.
15355 * gdb.mi/Makefile.in: Likewise.
15356 * gdb.threads/Makefile.in: Likewise.
15357 * gdb.trace/Makefile.in: Likewise.
15358
754533e4
DC
153592003-01-09 David Carlton <carlton@math.stanford.edu>
15360
15361 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
15362 Add copyright year 2003.
15363
d8b3e9ee
MC
153642003-01-06 Michael Chastain <mec@shout.net>
15365
15366 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
15367 When selecting a thread, 'line' and 'file' are optional.
15368 * gdb.mi/mi1-pthreads.exp: Likewise.
15369
8e9e0fe6
AS
153702003-01-06 Andreas Schwab <schwab@suse.de>
15371
15372 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
15373 failures.
15374
b5ab8ff3
DJ
153752003-01-04 Daniel Jacobowitz <drow@mvista.com>
15376
15377 Fix PR gdb/844
15378 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
15379 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
15380
15381 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
15382 instead of calling gdb_suppress_entire_file.
15383 * gdb.threads/print-threads.exp: Likewise.
15384 * gdb.threads/schedlock.exp: Likewise.
15385
15386 * gdb.threads/killed.exp: Return instead of calling
15387 gdb_suppress_entire_file.
15388 * gdb.threads/linux-dp.exp: Likewise.
15389 * gdb.threads/pthreads.exp: Likewise.
15390
1e698235
DJ
153912003-01-04 Daniel Jacobowitz <drow@mvista.com>
15392
15393 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
15394 stabs.
15395 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
15396 * gdb.base/whatis.exp: Always allow (void) after function names.
15397
147ff08c
DJ
153982003-01-04 Daniel Jacobowitz <drow@mvista.com>
15399
15400 * gdb.c++/casts.exp: Correct regexp.
15401
dc62bfc2
MK
154022003-01-04 Mark Kettenis <kettenis@gnu.org>
15403
15404 * configure.in: Call AC_CONFIG_HEADER. Don't call
15405 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
15406 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
15407 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
15408 aforementioned directories in the AC_OUPUT call.
15409 * config.hin: New file.
15410 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15411 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
15412 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
15413 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
15414 pass -I$objdir instead of -I$objdir/$subdir in compilation.
15415 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
15416 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
15417 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
15418 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
15419 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
15420 gdb.threads/configure.in, gdb.threads/configure,
15421 gdb.threads/config.in, gdb.trace/configure.in,
15422 gdb.trace/configure: Removed.
15423
77afa639
MC
154242003-01-03 Michael Chastain <mec@shout.net>
15425
15426 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
15427 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
15428
7634bb6e
DJ
154292003-01-03 Daniel Jacobowitz <drow@mvista.com>
15430
15431 * gdb.base/store.exp: Fix regular expressions.
15432
b39c905e
MK
154332002-12-28 Mark Kettenis <kettenis@gnu.org>
15434
15435 * configure.in: Rewrite.
15436 * configure: Regenerated.
15437
0a8551dd
DC
154382003-01-03 David Carlton <carlton@math.stanford.edu>
15439
15440 * gdb.base/psymtab.exp: New file.
15441 * gdb.base/psymtab1.c: Ditto.
15442 * gdb.base/psymtab2.c: Ditto.
15443
c60b7188
AF
154442002-12-23 Adam Fedor <fedor@gnu.org>
15445
15446 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15447
ee73db83
DC
154482002-12-23 David Carlton <carlton@math.stanford.edu>
15449
15450 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15451 and current_directory initialization.
15452
d6c1774e
JB
154532002-12-22 Jim Blandy <jimb@redhat.com>
15454
f0a847b8
JB
15455 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15456 rather than as part of the output file name.
15457
d6c1774e
JB
15458 * gdb.base/attach.exp: There's no need to copy the test program to
15459 /tmp; that was only ever necessary on HP/UX, and this test is
15460 entirely disabled there anyway.
15461
f0708dbb
JB
154622002-12-21 Jim Blandy <jimb@redhat.com>
15463
4c2acfea
JB
15464 * gdb.c++/psmang.exp: Doc fix.
15465
f0708dbb
JB
15466 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15467 test.
15468
9579e000
DC
154692002-12-20 David Carlton <carlton@math.stanford.edu>
15470
15471 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15472
d1810171
MC
154732002-12-18 Michael Chastain <mec@shout.net>
15474
15475 * gdb.c++/annota2.exp: Add copyright year 2002.
15476
76565097
DC
154772002-12-17 David Carlton <carlton@math.stanford.edu>
15478
15479 * gdb.c++/try_catch.cc: Add marker comments.
15480 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15481 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15482 * gdb.c++/m-static.cc: Ditto.
15483 * gdb.c++/m-static1.cc: Ditto.
15484 * gdb.c++/try_catch.cc: Ditto.
15485
da81390b
JJ
154862002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15487
15488 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15489 to see whether we are using the new -environment-directory
15490 command which resets via -r or the old version of the command
15491 which may prompt the user. Part of fix for gdb/741.
15492
b304d130
AC
154932002-12-13 Andrew Cagney <ac131313@redhat.com>
15494
15495 * gdb.fortran/types.exp: Update obsolete comment.
15496 * gdb.fortran/exprs.exp: Ditto.
15497 * lib/gdb.exp: Delete obsolete code.
15498 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15499 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15500 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15501 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15502 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15503 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15504 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15505 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15506 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15507 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15508 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15509 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15510 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15511 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15512 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15513 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15514 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15515 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15516 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15517 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15518 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15519 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15520 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15521 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15522 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15523 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15524 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15525 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15526 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15527 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15528 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15529 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15530 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15531 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15532 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15533 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15534 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15535
a23b6e6a
DC
155362002-12-11 David Carlton <carlton@math.stanford.edu>
15537
15538 * gdb.c++/m-data.exp: Add test for members that shadow global
15539 variables: see PR gdb/804.
15540 * gdb.c++/m-data.cc: Ditto.
15541
6604731b
DJ
155422002-12-10 Daniel Jacobowitz <drow@mvista.com>
15543
15544 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15545
de46ecd7
DC
155462002-12-06 David Carlton <carlton@math.stanford.edu>
15547
15548 * gdb.base/store.c: Don't declare functions static.
15549
27e829d0
AC
155502002-12-04 Andrew Cagney <ac131313@redhat.com>
15551
15552 * gdb.base/store.exp, gdb.base/store.c: New files.
15553
92806416
DJ
155542002-12-03 Daniel Jacobowitz <drow@mvista.com>
15555
15556 * gdb.base/selftest.exp: Update for current gdb.
15557
3bcbaac5
DJ
155582002-12-03 Daniel Jacobowitz <drow@mvista.com>
15559
15560 * gdb.base/maint.exp: Only dump symbols from one source file
15561 or objfile.
15562
f4f00b1f
DJ
155632002-12-03 Daniel Jacobowitz <drow@mvista.com>
15564
15565 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15566 function call.
15567
f1c8a949
JB
155682002-11-25 Jim Blandy <jimb@redhat.com>
15569
15570 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15571 function appearing in error message.
15572
9e297a97
DJ
155732002-11-21 Daniel Jacobowitz <drow@mvista.com>
15574
15575 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15576
1f312e79
JJ
155772002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15578
d63a86f8
RM
15579 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15580 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
15581 should be in mi console format. This is part of fix for PR gdb/604.
15582
83c31e7d
FN
155832002-09-18 Fernando Nasser <fnasser@redhat.com>
15584
15585 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15586 which explicitly prints the zero offset as "+0".
15587
322b3f65
DJ
155882002-10-22 Daniel Jacobowitz <drow@mvista.com>
15589
15590 * gdb.threads/schedlock.c (args): Make unsigned.
15591
155922002-10-21 Daniel Jacobowitz <drow@mvista.com>
15593
15594 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15595 numbers. Allow "foo2|selected stack frame".
15596 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15597 * gdb.asm/asmsrc2.s: Likewise.
15598 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15599 comments.
15600 * gdb.asm/mips.inc: New file.
15601
5e2fe5b8
AF
156022002-10-18 Adam Fedor <fedor@gnu.org>
15603
15604 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15605 * gdb.base/help.exp: Likewise.
15606
abe1a5d0
KB
156072002-10-17 Kevin Buettner <kevinb@redhat.com>
15608
15609 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15610 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15611
10abb1d4
JB
156122002-10-02 Jim Blandy <jimb@redhat.com>
15613
15614 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15615
1f609b42
AC
156162002-10-01 Andrew Cagney <ac131313@redhat.com>
15617
15618 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15619 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15620 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15621 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15622 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15623 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15624 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15625
0aee02e4
AC
156262002-09-29 Andrew Cagney <ac131313@redhat.com>
15627
15628 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15629 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15630 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15631 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15632 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15633 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15634 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 15635
6fde09ad
KB
156362002-09-27 Kevin Buettner <kevinb@redhat.com>
15637
15638 * gdb.base/annota1.exp (info break): Make directory components of
15639 path optional since not all compilers emit this debug information.
15640
889bf7c5
PA
15641 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15642 step ends up stepping out of the function instead of stopping on
15643 the epilogue.
6fde09ad 15644
9e8aab75
KS
156452002-09-26 Keith Seitz <keiths@redhat.com>
15646
15647 * lib/insight-support.exp (gdbtk_start): Figure out where
15648 the insight executable is based on where gdb is. Use this
15649 executable to start insight instead of gdb.
15650
e36180d7
AC
156512002-09-25 Andrew Cagney <cagney@redhat.com>
15652
15653 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15654
9dd34b2b
AC
156552002-09-24 Andrew Cagney <ac131313@redhat.com>
15656
15657 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15658 test_isolated_complaints.
15659 (test_empty_complaint): New function.
15660 (test_empty_complaints): New function. Check no output when no
15661 complaints.
d63a86f8 15662
dea97812
KB
156632002-09-19 Jim Blandy <jimb@redhat.com>
15664
a9c64011 15665 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 15666
54951bd7
AC
156672002-09-19 Andrew Cagney <ac131313@redhat.com>
15668
15669 * gdb.gdb/complaints.exp: New file.
15670
dec43320
AC
156712002-09-18 Andrew Cagney <ac131313@redhat.com>
15672
15673 * gdb.base/maint.exp: Check `help maint internal-warning'.
15674
e70d6e3f
DC
156752002-09-18 David Carlton <carlton@math.stanford.edu>
15676
15677 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15678 numbers, and replace them by a single breakpoint after the
15679 constructors are all finished.
15680 Add test 4.
15681 * gdb.c++/m-static.cc: Add test 4.
15682 * gdb.c++/m-static.h: New file.
15683 * gdb.c++/m-static1.cc: New file.
15684
15685 * gdb.c++/printmethod.exp: New file.
15686 * gdb.c++/printmethod.cc: New file.
15687
15688 * gdb.c++/pr-574.exp: New file.
15689 * gdb.c++/pr-574.cc: New file.
15690
afb5c968
CV
156912002-09-18 Corinna Vinschen <vinschen@redhat.com>
15692
15693 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15694 embedded targets which never actually exit.
15695
31e45dee
FN
156962002-09-18 Fernando Nasser <fnasser@redhat.com>
15697
15698 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15699 "don't step after run" as unresolved or unsupported, instead of xfail.
15700
a283c5a1
CV
157012002-09-18 Corinna Vinschen <vinschen@redhat.com>
15702
15703 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15704 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15705 Add newline to expected string in "step out of main (status wrapper)"
15706 case.
15707
11350d2a
CV
157082002-09-18 Corinna Vinschen <vinschen@redhat.com>
15709
15710 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15711 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15712
0deec7d6
TT
157132002-09-17 Tom Tromey <tromey@redhat.com>
15714
15715 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15716 \000, not \0, in double-quoted string.
15717
b2b4a1b5
CV
157182002-09-14 Corinna Vinschen <vinschen@redhat.com>
15719
c9d37158 15720 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
15721 string after running the commands execution on breakpoint tests.
15722
1c56143a
CV
157232002-09-13 Corinna Vinschen <vinschen@redhat.com>
15724
15725 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15726
37f8da45
JB
157272002-09-12 Joel Brobecker <brobecker@gnat.com>
15728
15729 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15730
08b468e0
KS
157312002-09-10 Keith Seitz <keiths@redhat.com>
15732
15733 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15734 runto proc.
15735 (mi_run_to_main): Use mi_runto.
15736 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15737
dc360f58
KS
157382002-09-10 Keith Seitz <keiths@redhat.com>
15739
15740 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15741 regexp for stopping at main. Could have multiple event notifications.
15742 Don't assume that main was declared with no parameters.
15743 (mi_next): Use mi_step_to.
15744 (mi_step): Use mi_next_to.
15745
ce3abcfb
CV
157462002-09-09 Corinna Vinschen <vinschen@redhat.com>
15747
15748 * gdb.base/default.exp: Fix expected string in `info float' test.
15749
d1f5b980
BE
157502002-09-09 Ben Elliston <bje@redhat.com>
15751
15752 * config/mips.exp: Update comments.
15753 * config/mips-idt.exp: Likewise.
15754 * config/nind.exp: Likewise.
15755 * config/slite.exp: Likewise.
15756 * config/sparclet.exp: Likewise.
15757 * config/udi.exp: Likewise.
15758 * config/vx.exp: Likewise.
15759 * config/vxworks29k.exp: Likewise.
15760
2f71430b
JB
157612002-09-05 Jim Blandy <jimb@redhat.com>
15762
15763 * gdb.threads/killed.exp: Fix test failure message.
15764
7ddebc7e
KS
157652002-09-04 Keith Seitz <keiths@redhat.com>
15766
15767 * lib/mi-support.exp: Update copyright.
15768 (mi_gdb_test): Increase the priority of the expected pattern
15769 so that it matches gdb_test.
15770
0ae67eb3
KS
157712002-09-03 Keith Seitz <keiths@redhat.com>
15772
15773 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15774 Use integer comparison instead of string comparison for testing
15775 whether binary was built.
15776
38fc42c8
JB
157772002-09-03 Jim Blandy <jimb@redhat.com>
15778
15779 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15780
b6ff0e81
JB
157812002-08-29 Jim Blandy <jimb@redhat.com>
15782
15783 * gdb.threads/pthreads.exp: Move the portable thread compilation
15784 code into a function in lib/gdb.exp, and call that from here.
15785 * lib/gdb.exp (gdb_compile_pthreads): New function.
15786
07c98896
KS
157872002-08-29 Keith Seitz <keiths@redhat.com>
15788
15789 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15790 expect_out so that callers can get at it.
15791
0312286c
DJ
157922002-08-23 Daniel Jacobowitz <drow@mvista.com>
15793
15794 * gdb.threads/print-threads.c: New file.
15795 * gdb.threads/print-threads.exp: New file.
15796 * gdb.threads/schedlock.c: New file.
15797 * gdb.threads/schedlock.exp: New file.
15798
dd039bc4
EZ
157992002-08-22 Elena Zannoni <ezannoni@redhat.com>
15800
a9c64011
AS
15801 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15802 not altivec.c.
dd039bc4 15803
1f36144c
MK
158042002-08-17 Mark Kettenis <kettenis@gnu.org>
15805
15806 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15807 targets. The problem should be fixed now.
15808
16057ec7 158092002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
15810
15811 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15812 2002-07-24 change that removes final dots from error messages.
15813
3c1499ad
TT
158142002-08-13 Tom Tromey <tromey@redhat.com>
15815
15816 * gdb.base/readline.exp: New file.
15817
a20ce2c3
AC
158182002-08-01 Andrew Cagney <ac131313@redhat.com>
15819
15820 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15821 supress message.
15822
db034ac5
AC
158232002-08-01 Andrew Cagney <cagney@redhat.com>
15824
15825 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15826 CHILL_FOR_TARGET and CHILL_LIB.
15827 * configure.in (configdirs): Remove gdb.chill.
15828 * configure: Regenerate.
15829 * lib/gdb.exp: Obsolete references to chill.
15830 * gdb.fortran/types.exp: Ditto.
15831 * gdb.fortran/exprs.exp: Ditto.
15832
3e000b18
KB
158332002-07-30 Kevin Buettner <kevinb@redhat.com>
15834
15835 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15836 set Irix-specific compile and link flags.
15837
28f4966b
KB
158382002-07-29 Kevin Buettner <kevinb@redhat.com>
15839
15840 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15841 source files. The ``-o'' option doesn't work with the ``-E'' option
15842 when using the Irix compiler.
15843
46c0d5a6
DJ
158442002-07-19 Daniel Jacobowitz <drow@mvista.com>
15845
15846 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15847 Improve support for reusing an exec file. Copy exec file
15848 to target, and run gdbserver on the target instead of on the host.
15849
eecf4bed
JB
158502002-07-18 Jim Blandy <jimb@redhat.com>
15851
0f815cdf
JB
15852 * gdb.base/ending-run.exp: Don't expect to see the program end in
15853 some orderly fashion when we're running on a real stand-alone
15854 board.
15855
eecf4bed
JB
15856 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15857 targets that don't support interrupts.
15858
52d309e4
JB
158592002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15860
15861 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15862 systems.
15863 Move comments in expect statements to inside the actions, so that they
15864 don't get matched against.
15865
ff683d9e
MK
158662002-07-10 Mark Kettenis <kettenis@gnu.org>
15867
15868 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15869 function when asleep" test.
15870
b5356753
AC
158712002-07-10 Andrew Cagney <ac131313@redhat.com>
15872
15873 * gdb.base/page.exp: Rewrite to handle problems with very long
15874 `info set' output. Update copyright.
15875
6aa4d13a
AC
158762002-06-26 Andrew Cagney <ac131313@redhat.com>
15877
15878 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15879 gdb.threads-hp.
15880 * gdb.hp/configure: Regenerate.
15881 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15882 * gdb.hp/gdb.threads-hp/configure: Delete file.
15883 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15884
8cf8c2b8
AC
158852002-06-22 Andrew Cagney <ac131313@redhat.com>
15886
15887 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15888 setlocale, bindtextdomain and textdomain.
15889
6827a8f8
JB
158902002-06-11 Jim Blandy <jimb@redhat.com>
15891
919d772c
JB
15892 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15893 preprocessor macro information is present.
15894
6827a8f8
JB
15895 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15896 tests.
15897
c15b0d21
MS
158982002-06-06 Michael Snyder <msnyder@redhat.com>
15899
c5984d70
MS
15900 * gdb.base/overlays.exp: Record addresses of overlay
15901 functions in TCL variables rather than in GDB variables,
15902 to avoid having GDB convert them to pointers (with loss
15903 of information).
15904
d63a86f8 15905 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 15906 default linker script changes.
c15b0d21
MS
15907 * gdb.base/long_long.exp: Add check for sizeof (long double).
15908
be26fe0d
ML
159092002-06-06 Michal Ludvig <mludvig@suse.cz>
15910
15911 * gdb.asm/asm-source.exp: Add x86-64 target.
15912 * gdb.asm/x86_64.inc: New.
d63a86f8 15913
258093ca 159142002-05-30 Michael Chastain <mec@shout.net>
258093ca 15915
4b3153f1 15916 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
15917 * gdb.c++/m-static.cc: New file.
15918 * gdb.c++/m-static.exp: New file.
15919
241264c6
MS
159202002-05-28 Michael Snyder <msnyder@redhat.com>
15921
15922 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15923 precision.
15924
9bba8c8f 159252002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 15926
4b3153f1 15927 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
15928 * gdb.c++/m-data.cc: New file.
15929 * gdb.c++/m-data.exp: New file.
15930
159312002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 15932
4b3153f1 15933 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 15934 * gdb.c++/try_catch.cc: New file.
d63a86f8 15935 * gdb.c++/try_catch.exp: New file.
9bba8c8f 15936
def1b996
MC
159372002-05-27 Michael Chastain <mec@shout.net>
15938
15939 * gdb.c++/local.exp: Accept more nested types in output.
15940
522ba268
MC
159412002-05-26 Michael Chastain <mec@shout.net>
15942
15943 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15944
277254ba
MS
159452002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15946
15947 * lib/gdb.exp (gdb_wrapper_init): Just because
15948 gdb_wrapper_file exists, this does not mean that the file
15949 should not be rebuilt. That is what gdb_wrapper_initialized
15950 is for.
15951 (default_gdb_init): Reset gdb_wrapper_initialized.
15952
b61a8733
MS
159532002-05-23 Michael Snyder <msnyder@redhat.com>
15954
d63a86f8 15955 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
15956 the precision of the floating point test results.
15957 * gdb.base/call-rt-st.exp: Ditto.
15958
b61a8733
MS
15959 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15960 * gdb.base/call-rt-st.exp: Ditto.
15961
56f6e910
MC
159622002-05-19 Michael Chastain <mec@shout.net>
15963
15964 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15965
ad0b0016
EZ
159662002-05-19 Elena Zannoni <ezannoni@redhat.com>
15967
a9c64011
AS
15968 * configure.in (configdirs): Add gdb.arch.
15969 * configure: Regenerate.
ad0b0016 15970
f617d2b6
JB
159712002-05-17 Jim Blandy <jimb@redhat.com>
15972
15973 * gdb.base/completion.exp: Recognize the more detailed error
15974 messages produced by the macro expander's lexical analyzer.
15975
eac2a696
EZ
159762002-05-14 Elena Zannoni <ezannoni@redhat.com>
15977
a9c64011
AS
15978 * gdb.arch/altivec-abi.c: New file.
15979 * gdb.arch/altivec-abi.exp: New file.
15980 * gdb.arch/altivec-regs.c: New file.
15981 * gdb.arch/altivec-regs.exp: New file.
eac2a696 15982
2fdde8f8
DJ
159832002-05-14 Daniel Jacobowitz <drow@mvista.com>
15984
15985 * gdb.base/maint.exp (maint print type): Update for new type
15986 structure.
d63a86f8 15987
e31f1a7c
EZ
159882002-05-14 Elena Zannoni <ezannoni@redhat.com>
15989
15990 * gdb.arch: New directory.
15991 * gdb.arch/configure.in: New file.
15992 * gdb.arch/configure: New file.
15993 * gdb.arch/Makefile.in: New file.
15994
db589741
CV
159952002-05-13 Corinna Vinschen <vinschen@redhat.com>
15996
15997 * gdb.asm/asm-source.exp: Add v850 as supported target.
15998 * gdb.asm/v850.inc: New file.
15999
8ce2a7dc
DJ
160002002-05-13 Daniel Jacobowitz <drow@mvista.com>
16001
16002 * gdb.c++/annota2.exp (annotate-quit): Add comment.
16003
df763c7f
DJ
160042002-05-12 Daniel Jacobowitz <drow@mvista.com>
16005
16006 * gdb.base/break.exp: Check 'break "marker2"'.
16007
377daeed
MS
160082002-05-10 Michael Snyder <msnyder@redhat.com>
16009
16010 * gdb.base/long_long.exp: Fix typo.
16011
c4b7bc2b
JB
160122002-05-10 Jim Blandy <jimb@redhat.com>
16013
ecac9a4e
JB
16014 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
16015 a bug.
16016
c4b7bc2b
JB
16017 * gdb.base/printcmds.exp (test_integer_literals_rejected):
16018 Recognize more detailed error message produced by the macro
16019 expander's lexical analyzer.
16020 * lib/gdb.exp (test_print_reject): Same.
16021
e71019a1
MK
160222002-05-09 Mark Kettenis <kettenis@gnu.org>
16023
16024 * gdb.c++/method.exp: Fix typo.
16025
fedfc8e6
MS
160262002-05-08 Michael Snyder <msnyder@redhat.com>
16027
166a1957
MS
16028 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
16029 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 16030 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
16031 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
16032 Add iftarget clause for strongarm.
d63a86f8 16033
f1c47eb2
MS
160342002-05-06 Michael Snyder <msnyder@redhat.com>
16035
cb9a9d3e
MS
16036 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
16037 (gdb_continue_to_end): Accept output from status wrapper.
16038 * gdb.base/ending-run.exp: Add case for output from status wrapper.
16039 Clean up fail messages to match pass messages.
16040
f1c47eb2
MS
16041 Enable the "needs_status_wrapper" testsuite feature.
16042 * lib/gdb.exp (gdb_wrapper_init): New procedure.
16043 (gdb_compile): Conditionally call gdb_wrapper_init.
16044 * gdb.base/a2-run.exp: Recognize output from status wrapper.
16045 * gdb.c++/method.exp: Recognize output from status wrapper.
16046
6079c749
BE
160472002-05-06 Ben Elliston <bje@redhat.com>
16048From Graydon Hoare <graydon@redhat.com>
16049
16050 * config/sid.exp: Include support for "rawsid" protocol.
16051
188baff3
JB
160522002-05-03 Jim Blandy <jimb@redhat.com>
16053
16054 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
16055 * gdb.c++/hang3.C: New file.
16056
b9c07f0f
AC
160572002-05-04 Andrew Cagney <ac131313@redhat.com>
16058
16059 * gdb.base/default.exp: Remove obsolete code.
16060 * gdb.c++/misc.exp: Ditto. Update copyright.
16061 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
16062 * gdb.base/whatis.exp: Ditto. Update copyright.
16063 * gdb.base/scope.exp: Ditto. Update copyright.
16064 * gdb.base/ptype.exp: Ditto. Update copyright.
16065 * gdb.base/printcmds.exp: Ditto. Update copyright.
16066 * gdb.base/opaque.exp: Ditto. Update copyright.
16067 * gdb.base/list.exp: Ditto.
16068 * gdb.base/funcargs.exp: Ditto. Update copyright.
16069 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
16070 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
16071 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
16072 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
16073 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
16074 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
16075
5c7a0397
MS
160762002-05-02 Michael Snyder <msnyder@redhat.com>
16077
d6dcc264 16078 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
16079 * gdb.base/long_long.exp: Add xscale target.
16080 * gdb.base/default.exp: Add xscale target.
16081
eb7f1c48
JB
160822002-05-01 Jim Blandy <jimb@redhat.com>
16083
16084 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
16085 gdb.c++/hang.exp: New test.
16086
a6befae8
FF
160872002-05-01 Fred Fish <fnf@redhat.com>
16088
16089 * gdb.base/completion.exp: Handle completions of "./Make" for
16090 more than one completion possibility, as is the case when we
16091 build and test in the source tree.
16092
0a310277
AG
160932002-04-29 Anthony Green <green@redhat.com>
16094
16095 * gdb.java/jmisc1.exp: New file.
16096 * gdb.java/jmisc2.exp: New file.
16097
6ff9af88
DJ
160982002-04-24 Daniel Jacobowitz <drow@mvista.com>
16099
16100 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
16101
96b3d632
EZ
161022002-04-23 Elena Zannoni <ezannoni@redhat.com>
16103
16104 * gdb.base/help.exp: Change 'help status' to allow for target
16105 dependent output differences.
16106
5019bb54
MC
161072002-04-22 Michael Chastain <mec@shout.net>
16108
16109 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
16110
a805a116
MC
161112002-04-22 Michael Chastain <mec@shout.net>
16112
16113 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
16114
a1706bfd
DM
161152002-04-17 David S. Miller <davem@redhat.com>
16116
16117 * gdb.asm/sparc64.inc: New file.
16118 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
16119
a73a20a2
EZ
161202002-04-19 Elena Zannoni <ezannoni@redhat.com>
16121
16122 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
16123 instruction file directly into the build tree. Clean up at end of
16124 test.
16125
ba678339
DM
161262002-04-18 David S. Miller <davem@redhat.com>
16127
16128 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
16129 handle 64-bit platforms correctly.
16130 * gdb.base/maint.exp: Likewise.
16131
b03399da
KB
161322002-04-18 Kevin Buettner <kevinb@redhat.com>
16133
16134 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
16135 ``-fpic'' when compiling files comprising a shared library, but
16136 it does need additional linker flags in order to find shared
16137 libraries at run time.
16138
e2004992
KB
161392002-04-18 Kevin Buettner <kevinb@redhat.com>
16140
16141 * gdb.base/cvexpr.c (use): New function.
16142 (main): Invoke use() on all global variables to prevent
16143 some linkers from deleting these otherwise unused symbols.
16144
d8937120
MC
161452002-04-17 Michael Chastain <mec@shout.net>
16146From David S. Miller <davem@redhat.com>
16147
16148 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
16149 handle 64-bit platforms correctly.
16150
ffd61a58
MS
161512002-04-12 Michael Snyder <msnyder@redhat.com>
16152From Jim Blandy <jimb@redhat.com>
a9c64011 16153 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
16154 script can handle this instead.
16155 * gdb.base/bar.c (barx): Same.
16156 * gdb.base/baz.c (bazx): Same.
16157 * gdb.base/grbx.c (grbxx): Same.
16158
16159 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
16160 manager doesn't automatically unmap overlays unnecessarily.
16161
6b8426a6
MH
161622002-04-10 Martin M. Hunt <hunt@redhat.com>
16163
16164 * gdb.base/ending-run.exp: Fix pattern for Mips targets
16165 stepping out of main.
16166
34af4875
MC
161672002-04-09 Michael Chastain <mec@shout.net>
16168
16169 * gdb.c++/local.cc (main): Move call to marker1() inside nested
16170 scope so that the nested scope tests will make sense.
16171 * gdb.c++/local.exp: Write patterns that actually work with gcc
16172 (the HP patterns "were never known to work with gcc").
16173 Keep the old aCC patterns too.
16174
2d1676a0
DJ
161752002-04-09 Daniel Jacobowitz <drow@mvista.com>
16176
16177 * gdb.base/attach.exp: Correct target board test.
16178
3a63e3f9
MC
161792002-04-08 Michael Chastain <mec@shout.net>
16180
16181 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
16182 in a const method. Add some xfail and fail cases for configurations
16183 that do not emit the "const ...".
16184
f18dabd2
MC
161852002-04-07 Michael Chastain <mec@shout.net>
16186
16187 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
16188 Accept "A * const" and "const A * const" as type of "this".
16189 Fix spelling of getFunky throughout. Make messages uniform.
16190
0fcddd82
EZ
161912002-04-07 Elena Zannoni <ezannoni@redhat.com>
16192
a9c64011 16193 Work around for PR gdb/285:
0fcddd82
EZ
16194 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
16195
16a8534a
EZ
161962002-04-07 Elena Zannoni <ezannoni@redhat.com>
16197
16198 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
16199 instructions file at run time instead of configure time.
16200 Sometimes we run the test in a directory that is not the one we
16201 configured in.
16202 * gdb.asm/configure.in: Delete creation of symlink.
16203 * gdb.asm/configure: Regenerate.
16204
24181d81
JB
162052002-04-05 J. Brobecker <brobecker@gnat.com>
16206
16207 * gdb.gdb/xfullpath.exp: New test, to exercise the new
16208 xfullpath () function.
16209
7cdb7107
DJ
162102002-04-04 Daniel Jacobowitz <drow@mvista.com>
16211
16212 * gdb.asm/Makefile.in: Correct dependencies.
16213
16214 * gdb.asm/powerpc.inc: New file.
16215 * gdb.asm/asm-source.exp: Add PowerPC.
16216 * gdb.asm/configure.in: Likewise.
16217 * gdb.asm/configure: Regenerated.
16218
a7d17088
DJ
162192002-04-04 Daniel Jacobowitz <drow@mvista.com>
16220
16221 * gdb.base/relocate.exp: New file.
16222 * gdb.base/relocate.c: New file.
16223
cd721503
FF
162242002-04-04 Fred Fish <fnf@redhat.com>
16225
16226 * gdb.base/step-test.exp: Update comment regarding stopping in
16227 memcpy/bcopy calls inserted as part of the compiler runtime.
16228
b22ad7a7
MS
162292002-04-04 Michael Snyder <msnyder@redhat.com>
16230
16231 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
16232
5f279fa6
DJ
162332002-04-03 Daniel Jacobowitz <drow@mvista.com>
16234
16235 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
16236 (gdb_expect): Remove $notransfer hack.
16237
dd0fd3ce
DJ
162382002-04-02 Daniel Jacobowitz <drow@mvista.com>
16239
16240 * gdb.c++/classes.exp ("calling method for small class"): Match
16241 updated register output.
16242
1e50cda1
DJ
162432002-03-30 Daniel Jacobowitz <drow@mvista.com>
16244
16245 Fix PR gdb/452
16246 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
16247 when finished. Make gdb_file_cmd send "exec-file" when
16248 appropriate.
16249
24015922
DJ
162502002-03-30 Daniel Jacobowitz <drow@mvista.com>
16251
16252 * gdb.base/attach.exp: Remove extra setup_xfail.
16253
dd7dfd64
MS
162542002-03-26 Michael Snyder <msnyder@redhat.com>
16255
16256 * gdb.base/default.exp: Add tests for dump, append, and restore.
16257 * gdb.base/help.exp: Add tests for dump, append, and restore.
16258 * gdb.base/dump.exp: New file, test dump, append and restore.
16259 * gdb.base/dump.c: New file.
16260
48b2f8d7
MS
162612002-03-27 Michael Snyder <msnyder@redhat.com>
16262
d63a86f8 16263 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
16264 clean-ups in help messages.
16265
05b4d525
FF
162662002-03-26 Fred Fish <fnf@redhat.com>
16267
16268 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
16269 have debugging info for those functions and the compiler uses them
16270 internally to copy structs around.
16271
d7679631
FF
162722002-03-26 Fred Fish <fnf@redhat.com>
16273
16274 * gdb.base/list.exp: Revert the change made yesterday and add note
16275 about why we don't list the default lines for remote targets.
16276
523ac3f9
MS
162772002-03-25 Michael Snyder <msnyder@redhat.com>
16278
16279 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
16280
754b2b8d
FF
162812002-03-25 Fred Fish <fnf@redhat.com>
16282
16283 * gdb.base/list.exp: This test works on remote targets so remove
16284 the short circuit for remote targets. Update copyright.
16285
33c3e192
FF
162862002-03-25 Fred Fish <fnf@redhat.com>
16287
16288 * gdb.base/attach.exp: Fix logic error that was suppressing this
16289 test for all non hppa*-*-hpux* targets, instead of the hp target.
16290 Move comments closer to the suppression point. Also now need to
16291 check that we are running natively.
16292
d43e73ee
MS
162932002-03-22 Michael Snyder <msnyder@redhat.com>
16294
882c8f02
MS
16295 * gdb.base/default.exp: Add test for gcore. Update copyright.
16296 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 16297
04c12f60
FF
162982002-03-06 Fred Fish <fnf@redhat.com>
16299
16300 * gdb.base/funcargs.c: Remove extraneous ';' character.
16301 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
16302
b43df995
MC
163032002-03-04 Michael Chastain <mec@shout.net>
16304
16305 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
16306 accommodate gcc v3 function signature.
16307 * gdb.mi/mi0-var-cmd-exp: Ditto.
16308
92362027
AC
163092002-02-24 Andrew Cagney <ac131313@redhat.com>
16310
16311 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
16312 ``GNU/Linux'' or ``Linux kernel''
16313 * testsuite/gdb.threads/pthreads.c: Ditto.
16314
258ad32d
MC
163152002-02-24 Michael Chastain <mec@shout.net>
16316
16317 * gdb.threads/pthreads.c (thread1): Add a return statement.
16318 (thread2): Likewise.
16319 (foo): Likewise.
16320
04c3b3d4
MC
163212002-02-23 Michael Chastain <mec@shout.net>
16322
16323 * gdb.threads/linux-dp.c (philosopher): Add a return statement
16324 to placate gcc.
16325
5a2a0a20
MC
163262002-02-23 Michael Chastain <mec@shout.net>
16327
16328 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
16329 test "ptype bint". The test passes on all my stabs configurations.
16330
a640f7fc
JB
163312002-02-21 Jim Blandy <jimb@redhat.com>
16332
27924826
JB
16333 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
16334 filename at a time, and watch for the ones we want to see.
16335
a640f7fc
JB
16336 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
16337 types of pointers to prototyped functions.
16338
edcc8c75
AC
163392002-02-20 Andrew Cagney <ac131313@redhat.com>
16340
16341 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
16342 signed, unsigned and straight char.
16343 (padding_char, padding_short, padding_int, padding_long,
16344 padding_long_long, padding_float, padding_double,
16345 padding_long_double): New global variables.
16346 (fill, fill_structs): New functions.
16347
16348 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
16349 for correctly sized writes. Update copyright.
16350 (get_valueof): New procedure.
16351 (get_sizeof): Call get_valueof.
16352 (check_valueof): New procedure.
16353 (check_padding): New procedure.
16354
ac57ea44
MC
163552002-02-20 Michael Chastain <mec@shout.net>
16356
16357 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
16358 to setup_xfail. Document some of the remaining calls.
16359
7a10c941
MC
163602002-02-18 Michael Chastain <mec@shout.net>
16361
16362 * gdb.c++/userdef.exp: Update copyright year.
16363
fb8acdcc
DJ
163642002-02-18 Daniel Jacobowitz <drow@mvista.com>
16365
16366 * gdb.c++/userdef.exp: Test overloaded operators properly.
16367 Remove xfails.
16368
fda6ae12
MS
163692002-02-14 Michael Snyder <msnyder@redhat.com>
16370
16371 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
16372
676a0442
DJ
163732002-02-14 Daniel Jacobowitz <drow@mvista.com>
16374
16375 * gdb.base/a2-run.exp: Check for a remote target properly.
16376 * gdb.base/annota1.exp: Likewise.
16377 * gdb.base/list.exp: Likewise.
16378 * gdb.base/reread.exp: Likewise.
16379 * gdb.base/scope.exp: Likewise.
16380 * gdb.base/shlib-call.exp: Likewise.
16381 * gdb.base/term.exp: Likewise.
16382 * gdb.c++/annota2.exp: Likewise.
16383
78b4f468
RE
163842002-02-13 Richard Earnshaw <rearnsha@arm.com>
16385
16386 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
16387
9a81ba51
MC
163882002-02-10 Michael Chastain <mec@shout.net>
16389
16390 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
16391 (call_after_alloca): Ditto.
16392
004af6c7
DJ
163932002-02-10 Daniel Jacobowitz <drow@mvista.com>
16394
16395 * gdb.base/ending-run.exp: Guard "cont" test with
16396 gdb_skip_stdio_test.
16397
37225f62
JB
163982002-02-06 Jim Blandy <jimb@redhat.com>
16399
16400 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
16401 from here...
16402 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
16403 To here. Disable this test on non-HP platforms. Add big comment.
16404
fe6fdd96
MS
164052002-02-04 Michael Snyder <msnyder@redhat.com>
16406
16407 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
16408 other than d10v and m32r.
16409
036fad3f
RE
164102002-02-02 Richard Earnshaw <rearnsha@arm.com>
16411
16412 * gdb.base/default.exp: Rewrite test patterns to reduce time
16413 taken to match them.
16414
7148ab62
DJ
164152002-01-30 Daniel Jacobowitz <drow@mvista.com>
16416
16417 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
16418 Allow a start function above main.
16419 * gdb.threads/linux-dp.exp: Fix copyright date.
16420
396cc255
DJ
164212002-01-30 Daniel Jacobowitz <drow@mvista.com>
16422
a9c64011
AS
16423 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
16424 (check_philosopher_stack): Check for manager thread before checking
16425 for a just-starting thread.
396cc255 16426
f038d31b
DJ
164272002-01-30 Daniel Jacobowitz <drow@mvista.com>
16428
16429 From Neil Booth <neil@daikokuya.demon.co.uk>:
16430 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
16431 warnings.
16432
b3ff9d9a
FF
164332002-01-21 Fred Fish <fnf@redhat.com>
16434
16435 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
16436 not caller.
16437
39ad761d
JB
164382002-01-21 Jim Blandy <jimb@redhat.com>
16439
16440 * gdb.base/reread.exp: Check that GDB properly re-reads the
16441 executable file when it changes while no inferior is running.
16442
aaf320fa
FF
164432002-01-21 Fred Fish <fnf@redhat.com>
16444
a9c64011
AS
16445 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16446 optionally accept the "shlib events" variation.
aaf320fa 16447
808a31f5
JB
164482002-01-21 Jim Blandy <jimb@redhat.com>
16449
16450 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16451 call `fflush' after every `printf', so that the output is produced
16452 at predictable points, regardless of whatever buffering does (or
16453 doesn't) take place.
16454 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16455 at different points.
16456
4420d5e2
DJ
164572002-01-20 Daniel Jacobowitz <drow@mvista.com>
16458
16459 * gdb.c++/inherit.exp: Update copyright years.
16460 * gdb.c++/method.exp: Likewise.
16461
3e36a0f4
DJ
164622002-01-20 Daniel Jacobowitz <drow@mvista.com>
16463
16464 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16465 artificial methods/arguments.
16466 * gdb.c++/derivation.exp: Likewise.
16467 * gdb.c++/inherit.exp: Likewise.
16468 * gdb.c++/method.exp: Likewise.
16469 * gdb.c++/virtfunc.exp: Likewise.
16470
b4ceaee6
AC
164712002-01-18 Andrew Cagney <ac131313@redhat.com>
16472
16473 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16474 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16475 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16476 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16477 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16478 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16479
ecace851
JB
164802002-01-17 Jim Blandy <jimb@redhat.com>
16481
16482 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16483 anchoring the pattern matching the entry point symbol's name.
16484
375fc983
AC
164852002-01-17 Andrew Cagney <ac131313@redhat.com>
16486
16487 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16488 continue/quit query. Update copyright.
16489
fe6fdd96
MS
164902002-01-14 Michael Snyder <msnyder@redhat.com>
16491
16492 * gdb.base/gcore.exp: Remove extra debugging output.
16493
e017c81f
DJ
164942002-01-13 Daniel Jacobowitz <drow@mvista.com>
16495
16496 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16497 for slightly dubious v2 mangled string.
16498
37ab3bf8
DJ
164992002-01-13 Daniel Jacobowitz <drow@mvista.com>
16500
16501 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16502
1bc05c3a 165032002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 16504
1bc05c3a 16505 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 16506
1bc05c3a
JM
16507 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16508 constructors.
16509 * gdb.c++/derivation.exp: Likewise.
16510 * gdb.c++/templates.exp: Likewise.
16511 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 16512
1bc05c3a
JM
165132002-01-10 Michael Snyder <msnyder@redhat.com>
16514
16515 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 16516
a911c360
MS
165172002-01-08 Michael Snyder <msnyder@redhat.com>
16518
16519 * gdb.base/gcore.exp: New test for generate-core-file command.
16520 * gdb.base/gcore.c: Testcase for above.
16521 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16522
ea2119ec
JM
165232002-01-08 Jason Merrill <jason@redhat.com>
16524
16525 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16526
68203136
FF
165272002-01-07 Fred Fish <fnf@redhat.com>
16528
16529 * gdb.c++/overload.exp: Remove unconditional xfails for:
16530 print foo_instance1.overloadargs(1)
16531 print foo_instance1.overloadargs(1, 2)
16532 print foo_instance1.overloadargs(1, 2, 3)
16533 print foo_instance1.overloadargs(1, 2, 3, 4)
16534 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16535 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16536 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16537 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16538 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16539 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16540 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16541 print foo_instance1.overload1arg()
16542 print foo_instance1.overload1arg((char)arg2)
16543 print foo_instance1.overload1arg((signed char)arg3)
16544 print foo_instance1.overload1arg((unsigned char)arg4)
16545 print foo_instance1.overload1arg((int)arg7)
16546 print foo_instance1.overload1arg((unsigned int)arg8)
16547 print foo_instance1.overload1arg((float)arg11)
16548 print foo_instance1.overload1arg((double)arg12)
d63a86f8 16549
21b9b5b1
MS
165502002-01-07 Michael Snyder <msnyder@redhat.com>
16551
16552 * gdb.base/huge.exp: New test. Print a very large target data object.
16553 (skip_huge_test): New test variable. Define if you want to skip this
16554 test. The test reads an 8 megabyte data object from the target, so it
16555 might be very time consuming on remote targets with a slow connection.
16556 * gdb.base/huge.c: New file. Test case for above.
16557
725f922e
FF
165582002-01-07 Fred Fish <fnf@redhat.com>
16559
16560 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16561 g_instance.bfoo, and g_instance.cfoo.
16562
889bf7c5 165632002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 16564
889bf7c5
PA
16565 * gdb.base/break.c (multi_line_if_conditional): New function.
16566 (multi_ilne_while_conditional): Likewise.
16567 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16568 IF or WHILE condition puts the breakpoint at the start of
16569 the condition.
f286b2c3 16570
634d57ec
JL
16571 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16572 hppa*-*-hpux* expected failure.
16573 * gdb.base/structs.exp (do_function_calls): Similarly.
16574
16575 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16576 watchpoints.
16577
9fbfe2dc
AC
165782002-01-06 Andrew Cagney <ac131313@redhat.com>
16579
16580 Fix PR gdb/66.
16581 * gdb.base/structs.exp: Replace skip for a29k with skip for
16582 gdb,cannot_call_functions.
16583 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16584 * gdb.base/callfuncs.exp: Ditto.
16585 * gdb.base/call-rt-st.exp: Ditto.
16586 * gdb.base/call-strs.exp: Ditto.
16587 * gdb.base/callfwmall.exp: Ditto.
16588 * gdb.base/scope.exp: Obsolete xfail a29k.
16589 * gdb.c++/misc.exp: Ditto.
16590 * gdb.c++/cplusfuncs.exp: Ditto.
16591 * gdb.base/ptype.exp: Ditto.
16592 * gdb.base/printcmds.exp: Ditto.
16593 * gdb.base/opaque.exp: Ditto.
16594 * gdb.base/list.exp: Ditto.
16595 * gdb.base/funcargs.exp: Ditto.
16596 * gdb.base/default.exp: Ditto.
16597
8ddad156
MS
165982002-01-04 Michael Snyder <msnyder@redhat.com>
16599
ca4976a6 16600 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
16601 * gdb.base/maint.exp: Add tests for maint info sections options.
16602
1b074332
JL
16603Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16604
16605 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16606
7d159115
CV
166072001-12-20 Corinna Vinschen <vinschen@redhat.com>
16608
16609 * gdb.asm/arm.inc: New file.
16610 * gdb.asm/asm-source.exp: Add arm targets.
16611 * gdb.asm/configure.in: Ditto.
16612 * gdb.asm/configure: Recreated from configure.in.
16613
8fb87725
JL
16614Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16615
afabe08c
JL
16616 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16617 with HP's compiler.
16618 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16619 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16620 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16621 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16622
16623 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16624 either HP's compilers or GCC.
16625
db521deb
JL
16626 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16627 a SIGBUS or SIGSEGV.
16628
16629 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16630
16631 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16632 can be compiled with either HP's compiler or GCC.
16633
cfa88ab7
JL
16634 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16635 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16636 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16637
ca344dff
JL
16638 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16639 to match current gdb output. Update due to using auto-solib-limit
16640 for limiting instead of overloading auto-solib-add.
16641 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16642 test program.
16643
3f3c6e55 16644 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
16645 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16646 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16647 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16648 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16649 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16650 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16651 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16652 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16653 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16654 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16655 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16656 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 16657
8fb87725
JL
16658 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16659 a SIGTRAP to the inferior.
16660
cf599fa7
CV
166612001-12-19 Corinna Vinschen <vinschen@redhat.com>
16662
16663 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16664 Substitute call to target_link by call to gdb_compile.
16665
2cd045cd
JL
16666Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16667
a9c64011
AS
16668 * gdb.base/break.exp: Fix HP specific search string when testing
16669 backtracing in a called function.
2cd045cd 16670
a9c64011
AS
16671 * gdb.base/constvars.exp: Only set lang to C++ if we're
16672 compiling the test with HP's compilers.
16673 * gdb.base/volatile.exp: Similarly.
2cd045cd 16674
99ebe9ac
JB
166752001-12-19 Jim Blandy <jimb@redhat.com>
16676
16677 * gdb.base/printcmds.exp: Expect the null character to be printed
16678 as '\0', and the '\013' to be printed as '\v'.
16679 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16680 * gdb.base/setvar.exp: Same.
16681
b9891b29
JB
166822001-12-17 Jim Blandy <jimb@redhat.com>
16683
0eba65ab
JB
16684 * gdb.base/completion.exp: Rather than completing very long
16685 filenames, which can make the readline library produce output we
16686 don't recognize, cd to the directory first, and then complete
16687 using nice, short relative paths.
16688
6970b5b1
JB
16689 * gdb.base/completion.exp: On some systems, there is, in fact, a
16690 variable named `b' in scope, since GDB treats all static
a9c64011
AS
16691 variables as being in scope. So use `no_var_named_this'
16692 instead of `b'.
6970b5b1 16693
b9891b29 16694 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 16695 can't find the core file's registers as a failure.
b9891b29 16696
e6ccd35f
JSC
166972001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16698
a9c64011
AS
16699 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16700 test expect string more specific.
e6ccd35f 16701
105ba819
CV
167022001-12-13 Corinna Vinschen <vinschen@redhat.com>
16703
16704 * gdb.asm/asm-source.exp: Add support for xstormy16.
16705 * gdb.asm/configure.in: Ditto.
16706 * gdb.asm/configure: Rebuild.
16707 * gdb.asm/xstormy16.inc: New file.
16708
e9e79dd9
FF
167092001-12-10 Fred Fish <fnf@redhat.com>
16710
16711 * gdb.base/maint.exp: Update to match changes in type dumping code.
16712
347dc97d
JB
167132001-12-10 Jim Blandy <jimb@redhat.com>
16714
16715 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
16716 matching the entry point symbol's name at the beginning of the
16717 line.
347dc97d 16718
5178b9d6
DJ
167192001-12-07 Daniel Jacobowitz <drow@mvista.com>
16720
16721 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16722 gdb.c++/inherit.exp, gdb.c++/method.exp,
16723 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16724 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16725 and class layout support.
16726
af890c52
DJ
167272001-12-07 Daniel Jacobowitz <drow@mvista.com>
16728
16729 * gdb.c++/classes.exp: Add test for static member function.
16730 * gdb.c++/misc.cc: Add class with static member function.
16731
7a345fb3
JB
167322001-12-07 Jim Blandy <jimb@redhat.com>
16733
f2e54a80 16734 If GDB says it can't find the struct the function returned, report
8032bf31
JB
16735 those tests as `unsupported'.
16736 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16737 Rewrite subsequent tests to use it.
16738
16739 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
16740 those tests as `unsupported'.
16741 * gdb.base/structs.exp (call_struct_func): New function.
16742 (do_function_calls): Use call_struct_func to call the functions
16743 returning structs.
16744
0bc69509
JB
16745 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16746 whether functions are prototyped or not, so we can't possibly pass
16747 arguments to t_float_values2 properly.
16748
7a345fb3
JB
16749 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16750 value of `timeout' for targets other than the mips*tx39-*.
16751
edb6ede1
MS
167522001-12-06 Michael Snyder <msnyder@redhat.com>
16753
d63a86f8 16754 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
16755 and detect whether the start symbol has a leading underscore.
16756
2d842f13
JB
167572001-12-04 Jim Blandy <jimb@redhat.com>
16758
16759 * gdb.base/completion.exp: Clarify indentation.
16760
68550daf
JB
167612001-12-03 Jim Blandy <jimb@redhat.com>
16762
16763 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16764 variables on the S/390, not `.word'.
16765
cd5195a8
JB
167662001-11-30 Jim Blandy <jimb@redhat.com>
16767
16768 Add assembly-source tests for s390-ibm-linux.
16769 * gdb.asm/s390.inc: New file.
16770 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16771 the S/390 architecture.
a9c64011 16772 * gdb.asm/configure: Regenerated.
cd5195a8 16773
ca9efc90
MS
167742001-11-30 Michael Snyder <msnyder@redhat.com>
16775
16776 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16777 next, info source, info sources, info line, global and static
16778 variables, and static functions.
16779 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16780 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16781 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16782 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16783 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16784 (gdbasm_leave): Restore frame pointer.
16785 (gdbasm_startup): Copy stack set-up from crt0.S.
16786
d0e66976
FN
167872001-11-26 Fernando Nasser <fnasser@redhat.com>
16788
16789 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16790 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16791 to a local (non-static) variable. Copy tstruct.a to a static buffer
16792 and return a pointer to that buffer.
16793 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16794
e2334072
MK
167952001-11-24 Mark Kettenis <kettenis@gnu.org>
16796
16797 * gdb.asm/configure.in: Fix recognition of ix86 target.
16798 * gdb.asm/configure: Regenerate.
16799
756caa3d
MS
168002001-11-21 Michael Snyder <msnyder@redhat.com>
16801
16802 * gdb.asm/sparc.inc: New file.
16803 * gdb.asm/asm-source.exp: Recognize sparc target.
16804 * gdb.asm/configure.in: Recognize sparc target.
16805 * gdb.asm/configure: Regenerate.
d63a86f8 16806
9a4d72d5
MS
168072001-11-21 Michael Snyder <msnyder@redhat.com>
16808
16809 * gdb.asm/m32r.inc: New file.
16810 * gdb.asm/asm-source.exp: Recognize m32r target.
16811 * gdb.asm/configure.in: Recognize m32r target.
16812 * gdb.asm/configure: Regenerate.
16813
a773d1cd
MS
168142001-11-20 Michael Snyder <msnyder@redhat.com>
16815
017ac23d
MS
16816 * gdb.asm/i386.inc: New file.
16817 * gdb.asm/asm-source.exp: Recognize ix86 target.
16818 * gdb.asm/configure.in: Recognize ix86 target.
16819 * gdb.asm/configure: Regenerate.
16820
a773d1cd
MS
16821 * gdb.c++/namespace.exp: Fix quotes in output messages.
16822
bb632afb
MS
168232001-11-14 Michael Snyder <msnyder@redhat.com>
16824
25d559ca 16825 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
16826 qualifier in a type cast expression, to designate an address
16827 in the instruction space (Harvard architecture).
16828
4749e309
MS
168292001-11-13 Michael Snyder <msnyder@redhat.com>
16830
16831 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16832 Tests for expressions using 'const' and 'volatile'.
16833
25050984
CV
168342001-11-13 Corinna Vinschen <vinschen@redhat.com>
16835
16836 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16837
1902c51f
DJ
168382001-11-12 Daniel Jacobowitz <drow@mvista.com>
16839
16840 * lib/mi-support.exp (mi_run_to_helper): Move comments
16841 outside of gdb_expect.
16842
dcf95b47
DJ
168432001-11-11 Daniel Jacobowitz <drow@mvista.com>
16844
16845 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16846 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16847 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16848 mi0_run_to): New functions.
16849 * gdb.mi/mi-simplerun.exp: Use them.
16850 * gdb.mi/mi0-simplerun.exp: Likewise.
16851 * gdb.mi/mi-var-cmd.exp: Likewise.
16852 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 16853
45b074e1
AC
168542001-11-10 Andrew Cagney <ac131313@redhat.com>
16855
16856 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16857 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16858
bf50d346
AC
168592001-11-09 Andrew Cagney <ac131313@redhat.com>
16860
16861 * gdb.base/restore.exp: Include $expected value in restored test
16862 message.
16863
9383332c
AC
168642001-11-09 Andrew Cagney <ac131313@redhat.com>
16865
16866 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16867 implemented.
16868
db62520a
MS
168692001-11-08 Michael Snyder <msnyder@redhat.com>
16870
16871 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16872 Add pass/fail message for stop at breakpoint in call dummy function.
16873
b5703437
MS
168742001-11-07 Michael Snyder <msnyder@redhat.com>
16875
d63a86f8
RM
16876 * gdb.c++/templates.exp (test_template_breakpoints):
16877 If we get an overload menu, but it does not match what
760f6330 16878 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
16879 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16880 making the whitespace optional. Argument for "new" may be
16881 "unsigned" as well as "unsigned int/long".
d63a86f8 16882 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
16883 making the whitespace optional. Also replace "(void) with
16884 "((void|)), making the keyword "void" optional.
d63a86f8 16885 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
16886 making the whitespace optional. Also replace "(void) with
16887 "((void|)), making the keyword "void" optional.
3bf40917
MS
16888 * gdb.base/callfuncs.c (t_float_values): This function must
16889 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 16890 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
16891 can be tested against both cases. Usually one case involves
16892 promotion of float to double, while the other does not.
16893 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
16894 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16895 includes a stack frame for "start".
16896
c8ab4e6d
JB
168972001-11-05 Jim Blandy <jimb@redhat.com>
16898
16899 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16900 pointers are 32 bits long, and that offsets of relocs are always
16901 stored in the data (REL-style), and not in the reloc entry itself
16902 (RELA-style).
16903 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16904 stabs.
16905
3f08ced9
MS
169062001-11-01 Michael Snyder <msnyder@redhat.com>
16907
16908 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16909 and regular expression operators by using quoting.
16910
cbfa24cd
MS
169112001-10-31 Michael Snyder <msnyder@redhat.com>
16912
16913 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16914 depending on what the symbol table contains.
16915 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16916 the output of the ptype command. Similarly, accept both "const &"
16917 and "const&".
16918
aaa68313
CV
169192001-10-31 Corinna Vinschen <vinschen@redhat.com>
16920
16921 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16922 symbol `STORAGE' to allow to choose the storage class of
16923 the local datastructures.
16924 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16925 compiler directive.
16926
91740388
MS
169272001-10-30 Michael Snyder <msnyder@redhat.com>
16928
16929 * gdb.base/jump.exp: Allow it to run for all targets.
16930
1b7c05e7
CV
169312001-10-29 Corinna Vinschen <vinschen@redhat.com>
16932
16933 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16934 with new double_array size.
16935 (main): Change storage class of all local variables to static.
16936 Reduce size of double_array to 9.
16937 * gdb.base/call-ar-st.exp: Increase timeout value.
16938 Change expected output for double array to match new size in
16939 call-ar-st.c.
16940
36a22261
CV
169412001-10-29 Corinna Vinschen <vinschen@redhat.com>
16942
16943 * gdb.base/ending-run.exp: Create identical output when passing
16944 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 16945 Stormy16 target.
36a22261 16946
92b8ae91
MK
169472001-10-28 Mark Kettenis <kettenis@gnu.org>
16948
16949 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16950 that we catch the expected failure under Linux/x86.
16951
cb135b83
OF
169522001-10-29 Orjan Friberg <orjanf@axis.com>
16953
16954 * gdb.base/setvar.exp: Escape curly braces.
16955 * gdb.stabs/weird.exp: Ditto.
16956
6884aa54
DJ
169572001-10-27 Daniel Jacobowitz <drow@mvista.com>
16958
16959 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16960 * gdm.mi/mi0-hack-cli.exp: Likewise.
16961
0398c9aa
AC
169622001-10-25 Andrew Cagney <ac131313@redhat.com>
16963
16964 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16965 messages.
16966
d20bf2e8
AC
169672001-10-21 Andrew Cagney <ac131313@redhat.com>
16968
16969 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16970 checking MI enabled.
16971
03dd63aa
CV
169722001-10-09 Corinna Vinschen <vinschen@redhat.com>
16973
16974 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16975
1d9d99f3
FCE
169762001-10-04 Frank Ch. Eigler <fche@redhat.com>
16977
16978 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16979 if gdb child process crashes, just signal an error.
16980
838ae6c4
JB
169812001-10-02 Jim Blandy <jimb@redhat.com>
16982
16983 * lib/gdb.exp (test_xfail_format): Simplify.
16984
16985 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16986 front of the variable name `format'. Simplify `if'.
16987
8f0cbc1c
DJ
169882001-10-01 Daniel Jacobowitz <drow@mvista.com>
16989
16990 * gdb.threads/pthreads.exp: Wait for output and delay
16991 before sending ^C.
16992
1f08dafd
DJ
169932001-10-01 Daniel Jacobowitz <drow@mvista.com>
16994
16995 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16996 some incorrect output instead of timing out.
16997 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16998
674f90ff
CV
169992001-09-28 Corinna Vinschen <vinschen@redhat.com>
17000
17001 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
17002 check to allow additional `int'.
17003
9b284272
DJ
170042001-09-27 Daniel Jacobowitz <drow@mvista.com>
17005
17006 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
17007 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
17008
b55a4771
MS
170092001-09-27 Michael Snyder <msnyder@redhat.com>
17010
17011 * lib/gdb.exp (test_debug_format): New proc.
17012 (setup_xfail_format): Use new proc test_debug_format.
17013 * gdb.base/constvars.exp (local_compiler_xfail_check): New
17014 proc; use new service proc test_debug_format.
17015 Replace all other "gcc_compiled" tests with this test.
17016 * gdb.base/volatile.exp (local_compiler_xfail_check): New
17017 proc; use new service proc test_debug_format.
17018 Replace all other "gcc_compiled" tests with this test.
17019
170202001-09-27 Michael Snyder <msnyder@redhat.com>
17021
17022 * gdb.base/cvexpr.exp: New file.
17023 * gdb.base/cvexpr.c: New file
17024 Test for expressions using const and volatile keywords.
17025
4e6667ac
CV
170262001-09-26 Corinna Vinschen <vinschen@redhat.com>
17027
17028 * gdb.base/constvars.exp: Check for different orders of keywords
17029 and additional "int" strings in output.
17030
4f337972
AC
170312001-09-22 Andrew Cagney <ac131313@redhat.com>
17032
17033 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
17034 responses from "help maint".
17035
2015650d
FCE
170362001-09-19 Frank Ch. Eigler <fche@redhat.com>
17037
17038 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
17039 to localhost:NNN instead of :NNN, in case Xvfb is listening
17040 only on TCP.
17041
f3bcedc1
CV
170422001-09-19 Corinna Vinschen <vinschen@redhat.com>
17043
17044 * gdb.base/recurse.exp: When checking leaving the watchpoint
17045 scope, recognize when gdb is in function's epilogue and pass.
17046
6b819c92
KS
170472001-09-18 Keith Seitz <keiths@redhat.com>
17048
17049 * lib/insight-support.exp (_gdbtk_export_target_info): Add
17050 support for running tests against sid targets.
17051 (gdbtk_done): Ditto.
17052
a10c9419
CV
170532001-09-18 Corinna Vinschen <vinschen@redhat.com>
17054
17055 * gdb.base/ending-run.c (main): Set stdout buffersize
17056 to the same reasonable value for any target.
17057 * gdb.base/ending-run.exp: Add a regular expression
17058 to make testsuite happy on Sanyo Stormy16 target.
17059
739d0d99
CV
170602001-09-17 Corinna Vinschen <vinschen@redhat.com>
17061
17062 * gdb.base/display.c (do_loops): Add float variable `f'.
17063 Increment f in loop.
17064 * gdb.base/display.exp: Increment timeout by 60 seconds.
17065 Change float display test to use variable `f'.
17066
1b8947f0
JB
170672001-09-17 Jim Blandy <jimb@redhat.com>
17068
17069 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
17070 overflowing the limited breakpoint tables on some ROM monitors
17071 (like the ROM68K).
17072
9890ac81
FCE
170732001-09-15 Frank Ch. Eigler <fche@redhat.com>
17074
17075 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
17076 the "-ac" (disable access control) flag.
17077
6db765ea
JH
170782001-08-30 Jeff Holcomb <jeffh@redhat.com>
17079
17080 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
17081 ints.
17082
4c32cc04
KS
170832001-08-30 Keith Seitz <keiths@redhat.com>
17084
17085 * lib/gdb.exp: Move all insight-related functionality into
17086 separate file.
17087 * lib/insight-support.exp: New file.
17088
8d6e6f81
FCE
170892001-08-29 Frank Ch. Eigler <fche@redhat.com>
17090
17091 * config/sid.exp (sid_start): Never set sid verbosity; disable
17092 expect_background {} that consumed its stdout; tolerate </dev/null.
17093 Attempt to set endianness override in "sid" protocol mode. Cleanup.
17094
6a90e1d0
AC
170952001-08-18 Andrew Cagney <ac131313@redhat.com>
17096
17097 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
17098 CLI jump command to start it.
17099 (mi_run_to_main): Fail immediatly when unexpected output.
17100
1759b3c3
AC
171012001-08-18 Andrew Cagney <ac131313@redhat.com>
17102
17103 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
17104 beginning of function. Fix PR gdb/191.
17105
61d11d80
FCE
171062001-08-16 Frank Ch. Eigler <fche@redhat.com>
17107
17108 * config/sid.exp (sid_start): Don't warn if we cannot figure out
17109 what to force sid endianness to.
17110
942a4df2
KS
171112001-08-15 Keith Seitz <keiths@redhat.com>
17112
17113 * lib/gdb.exp (gdbtk_start): Don't set environment
17114 variables for TCL_LIBRARY and friends. Insight will
17115 now figure these out for itself.
17116
0521c418
MS
171172001-08-02 Michael Snyder <msnyder@redhat.com>
17118
17119 * gdb.base/completion.exp: Remove the symbol "a64l" from
17120 the expect string; this is target-specific, and not related
17121 to what is being tested.
17122
74a9a58a
DB
171232001-08-02 Dave Brolley <brolley@redhat.com>
17124
17125 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
17126
c70819fa
MS
171272001-07-25 Michael Snyder <msnyder@redhat.com>
17128
c2b8fa57
MS
17129 * gdb.base/consecutive.exp: New file. Test stepping over
17130 breakpoints on consecutive instructions.
17131 * gdb.base/consecutive.c: New file.
17132
c70819fa
MS
17133 * gdb.base/call-rt-st.exp: Use double-backslash to quote
17134 curly braces in regular expressions.
17135
2b1a1355
MS
171362001-07-25 Michael Snyder <msnyder@redhat.com>
17137
17138 * gdb.base/ending-run.exp: Accept "Program exited normally" as
17139 legitimate output from stepping out of main.
17140
413eca6f
KS
171412001-07-22 Keith Seitz <keiths@redhat.com>
17142
17143 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
17144 the empty string, do not run the tests.
17145
7e5a9322
SC
171462001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17147
17148 * gdb.base/long_long.exp: Detect size of pointer. Take into
17149 account 2-byte pointers when testing for p/a results.
17150
de58f10f
SC
171512001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17152
d63a86f8 17153 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
17154 and defined to 1K for m68hc11.
17155 (random_data): Reduce table to 1K for embedded platforms (68hc11).
17156 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
17157 (sizeof_random_data): New variable to tell the size of the data table;
17158 don't test past this size; always run to main.
17159
d6f5fea1
SC
171602001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17161
17162 * gdb.base/return2.exp: return of long long and double fails for
17163 68HC11; don't execute these tests on that platform.
17164 * gdb.base/return.exp: Return of a double fails for 68hc11.
17165
c477543d
SC
171662001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17167
17168 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
17169 tests that print a float.
17170 * call-rt-st.exp: Likewise.
17171
63cf1c79
MK
171722001-07-12 Mark Kettenis <kettenis@gnu.org>
17173
17174 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
17175 running this test on Linux.
17176
112f9ab5
MC
171772001-06-24 Michael Chastain <chastain@redhat.com>
17178
17179 * gdb.base/arithmet.exp: Remove some tests to make all test names
17180 unique.
17181
4970cb0f
MS
171822001-07-03 Michael Snyder <msnyder@redhat.com>
17183
17184 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
17185 the output of the ptype command.
17186
d85da69f
MS
171872001-07-02 Michael Snyder <msnyder@redhat.com>
17188
4c8a82de
MS
17189 * gdb.base/completion.exp: Don't assume that break.c is the only
17190 source file that may contain functions named "marker".
d85da69f
MS
17191 * gdb.base/corefile.exp: Quote the curly braces in regexp.
17192
8afc772b
AC
171932001-06-28 Andrew Cagney <ac131313@redhat.com>
17194
17195 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
17196 of files to delete.
17197
17198 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
17199 * gdb.disasm/h8300s.exp: New file.
17200 gdb.disasm/h8300s.s: Likewise.
17201
cff22675
AC
172022001-06-27 Andrew Cagney <ac131313@redhat.com>
17203
17204 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
17205 empty breakpoint tables.
17206
68c81b54
AC
172072001-06-25 Andrew Cagney <ac131313@redhat.com>
17208
17209 * lib/mi-support.exp: Update args=... part of stop-reason
17210 patterns. Accept either a list or a tuple.
17211
2dd62704
AC
172122001-06-23 Andrew Cagney <ac131313@redhat.com>
17213
17214 * lib/mi-support.exp: Remove local emacs variable defining
17215 change-log-default-name.
17216
b4127474
MC
172172001-06-22 Michael Chastain <chastain@redhat.com>
17218
17219 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
17220 This is operationally compatible with the previous version.
17221
8dbfb380
JB
172222001-06-13 Jim Blandy <jimb@redhat.com>
17223
17224 * lib/gdb.exp (gdb_test): Doc fix.
17225
f2d8c86d
MC
172262001-06-10 Michael Chastain <chastain@redhat.com>
17227
17228 * gdb.base/exprs.exp: Remove a duplicate test.
17229
81564d34
JB
172302001-06-06 Jim Blandy <jimb@redhat.com>
17231
17232 * gdb.base/return2.exp (main): Use values to test float and double
17233 returns that are not NaN's, to avoid being confused by IEEE
17234 comparison rules.
17235
da55addb
MS
172362001-06-04 Michael Snyder <msnyder@redhat.com>
17237
17238 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 17239 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
17240 rather than wait for 12 more tests to time out.
17241
42c65987
JB
172422001-06-06 Jim Blandy <jimb@redhat.com>
17243
b18bced9 17244 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 17245 Don't forget to match the GDB prompt.
b18bced9 17246
42c65987
JB
17247 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
17248
5b41e5f0
JB
172492001-06-04 Jim Blandy <jimb@redhat.com>
17250
17251 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
17252 command.
17253
015e046f
KB
172542001-05-31 Kevin Buettner <kevinb@redhat.com>
17255
17256 * gdb.base/annota1.exp (info break): Match four or more spaces
17257 after "Address".
17258
fb1ffbbe
MC
172592001-05-31 Michael Chastain <chastain@redhat.com>
17260
17261 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
17262 (dm_type_int_star): Likewise.
17263 (dm_type_long_star): Likewise.
17264 (dm_type_void_star): Likewise.
17265
5ea2a32c
KB
172662001-05-29 Kevin Buettner <kevinb@redhat.com>
17267
17268 * gdb.base/completion.exp (INPUTRC): Set this environment variable
17269 to a known value in order to get consistent results regardless
17270 of the setting of INPUTRC or the presence or contents of .inputrc.
17271
ae23c492
MS
172722001-05-24 Michael Snyder <msnyder@redhat.com>
17273
ac55707e
MS
17274 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
17275 Don't require that the main thread and the manager thread are the
17276 first in the list.
17277
ae23c492
MS
17278 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
17279 debugging. If test fails, issue an "unsupported" not a "fail".
17280
400071f1
JB
172812001-05-24 Jim Blandy <jimb@redhat.com>
17282
17283 Don't assume that short is shorter than int.
17284 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
17285 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 17286 this isn't true.
400071f1
JB
17287 ("print unsigned char == (~0)"): Add test that verifies that ~0,
17288 an int, is not equal to ~0 stored in an unsigned char. This tests
17289 the same thing that the previous test meant to, but works on
17290 16-bit machines, too.
17291 ("print unsigned char != (~0)"): Same test, complemented.
17292
0816a3e5
MS
172932001-05-24 Michael Snyder <msnyder@redhat.com>
17294
17295 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 17296 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
17297 and prevents dejagnu getting out of step.
17298
f6dc23a9
KB
172992001-05-23 Kevin Buettner <kevinb@redhat.com>
17300
17301 * gdb.base/finish.exp (finish_void): Revise pattern for
17302 stopping on the call statement to not permit stopping at
17303 the start of the instructions comprising the call sequence.
17304
7dbd117d
MC
173052001-05-19 Michael Chastain <chastain@redhat.com>
17306
17307 * gdb.base/callfuncs.exp: Make all test names unique.
17308 * gdb.base/commands.exp: Make all test names unique.
17309 * gdb.base/condbreak.exp: Make all test names unique.
17310 * gdb.base/dbx.exp: Make all test names unique.
17311 * gdb.base/default.exp: Make all test names unique.
17312 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
17313 and TIMEOUT messages to their corresponding PASS message.
17314 * gdb.base/ending-run.exp: Make all test names unique.
17315 * gdb.base/long_long.exp: Remove duplicate test.
17316
6b0b0a9e
KB
173172001-05-21 Kevin Buettner <kevinb@redhat.com>
17318
17319 * gdb.base/finish.exp (finish_void): Allow "finish" command to
17320 stop on the call statement as well as the statement after the
17321 call.
17322
2caa35cb
MS
173232001-05-21 Michael Snyder <msnyder@redhat.com>
17324
17325 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
17326
40713331
EZ
173272001-05-10 Elena Zannoni <ezannoni@redhat.com>
17328
a9c64011
AS
17329 * gdb.base/completion.exp: Revamp test. Make it execute on all
17330 platforms.
40713331 17331
c2c1be8d
EZ
173322001-05-10 Elena Zannoni <ezannoni@redhat.com>
17333
a9c64011
AS
17334 * config/gdbserver.exp (gdb_load): Handle the case
17335 in which the arguments to gdbserver are given in the
17336 baseboard configuration file.
17337 Also handle the case in which the server needs to do a
17338 load.
2c9cd303 17339
9671de48
KS
173402001-05-07 Keith Seitz <keiths@cygnus.com>
17341
a9c64011
AS
17342 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
17343 set up the display for testing.
17344 (gdbtk_start): Convert all paths to paths that tcl will like.
17345 Export target information to environment.
17346 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
17347 necessary.
17348 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
17349 (to_tcl_path): New proc to convert a given pathname into
17350 a path acceptible as an argument to a tcl command.
17351 (_gdbtk_export_target_info): New proc to export target info
17352 into the environment for gdbtk testing.
17353 (gdbtk_done): New proc to signal end-of-test.
9671de48 17354
5a360f47
JB
173552001-05-06 Jim Blandy <jimb@redhat.com>
17356
17357 * restore.c: Make the code of caller0 correspond to its comment.
17358
66c756c6
MS
173592001-05-03 Michael Snyder <msnyder@redhat.com>
17360
17361 * config/sid.exp (gdb_target_sid): Check for error messages.
17362 On error or timeout, don't make expect exit (which will terminate
17363 all subsequent tests); instead just make gdb exit.
d63a86f8 17364 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
17365 return a negative value.
17366
a966fde5
JB
173672001-04-24 Jim Blandy <jimb@redhat.com>
17368
851c18e0
JB
17369 * gdb.c++/templates.exp: If we see the prompt for the overload
17370 list, but we haven't recognized any of the longer patterns,
17371 arrange for this test to fail, not hang.
17372
a966fde5
JB
17373 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
17374 variations.
17375
db144853
MC
173762001-04-22 Michael Chastain <chastain@redhat.com>
17377
17378 * gdb.c++/local.exp: Use the 'runto' library function.
17379 * gdb.c++/namespace.exp: Likewise.
17380 * gdb.c++/overload.exp: Likewise.
17381
3207ec21
KB
173822001-03-26 Kevin Buettner <kevinb@redhat.com>
17383
17384 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
17385 * gdb.base/step-line.exp: New file. Test step/next in presence of
17386 #line directives.
17387 * gdb.base/step-line.c: New file. Test program for the above.
17388 * gdb.base/step-line.inp: New file. We pretend that this file has
17389 been transformed by some other tool into step-line.c.
17390
13b57657
JB
173912001-03-21 Jim Blandy <jimb@redhat.com>
17392
17393 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
17394 unmangled operator names.
17395
754cbe1c
JB
173962001-03-20 Jim Blandy <jimb@redhat.com>
17397
17398 * gdb.threads/linux-dp.exp: Recognize an additional message
17399 generated by GDB when it doesn't understand how to debug threads
17400 on the target system.
17401
177495c9
AC
174022001-03-19 Andrew Cagney <ac131313@redhat.com>
17403
17404 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
17405
f266096b
MC
174062001-03-12 Michael Chastain <chastain@redhat.com>
17407
17408 * gdb.c++/derivation.exp: Use the 'runto' library function.
17409
cac3c2ff
MC
174102001-03-12 Michael Chastain <chastain@redhat.com>
17411
17412 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
17413
b6c11a24
MC
174142001-02-24 Michael Chastain <chastain@redhat.com>
17415
17416 * gdb.c++/ref-types.exp: Change handwritten code to library
17417 function 'runto'.
17418
6bae5bce
OF
174192001-03-16 Orjan Friberg <orjanf@axis.com>
17420
17421 * gdb.base/signals.exp: Set count to 0 explicitly.
17422
0015fd9a
MS
174232001-03-15 Mark Salter <msalter@redhat.com>
17424
17425 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
17426 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
17427 (gdb_load): Add support for additional target_info: gdb_download_size
17428 and gdb_load_timeout.
0015fd9a 17429
fc33412a
DT
17430Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
17431
17432 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
17433 file -- to prevent failing when the compile fails but we have no
17434 intention of running the tests anyway.
fc33412a
DT
17435
17436 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
17437 tests if set.
17438
17439 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 17440 integers.
fc33412a
DT
17441
17442 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17443 * gdb.c++/namespace.exp: Ditto.
17444
115f06de
OF
174452001-03-07 Orjan Friberg <orjanf@axis.com>
17446
17447 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17448 * gdb.base/pointers.exp: Relax pattern match of decimals.
17449
b6ba6518
KB
174502001-03-06 Kevin Buettner <kevinb@redhat.com>
17451
17452 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17453 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17454 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17455 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17456 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17457 config/sh.exp, config/sid.exp, config/slite.exp,
17458 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17459 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17460 config/vxworks.exp, config/vxworks29k.exp,
17461 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17462 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17463 gdb.base/arithmet.exp, gdb.base/assign.exp,
17464 gdb.base/async.exp, gdb.base/attach.exp,
17465 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17466 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17467 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17468 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17469 gdb.base/commands.exp, gdb.base/completion.exp,
17470 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17471 gdb.base/constvars.exp, gdb.base/corefile.exp,
17472 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17473 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17474 gdb.base/ending-run.exp, gdb.base/environ.exp,
17475 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17476 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17477 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17478 gdb.base/funcargs.exp, gdb.base/help.exp,
17479 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17480 gdb.base/logical.exp, gdb.base/long_long.exp,
17481 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17482 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17483 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17484 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17485 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17486 gdb.base/regs.exp, gdb.base/relational.exp,
17487 gdb.base/remote.exp, gdb.base/reread.exp,
17488 gdb.base/restore.exp, gdb.base/return2.exp,
17489 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17490 gdb.base/selftest.exp, gdb.base/setshow.exp,
17491 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17492 gdb.base/sigall.exp, gdb.base/signals.exp,
17493 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17494 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17495 gdb.base/step-test.exp, gdb.base/structs.c,
17496 gdb.base/structs.exp, gdb.base/structs2.exp,
17497 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17498 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17499 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17500 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17501 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17502 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17503 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17504 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17505 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17506 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17507 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17508 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17509 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17510 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17511 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17512 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17513 gdb.trace/circ.exp, gdb.trace/collection.exp,
17514 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17515 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17516 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17517 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17518 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17519 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17520 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17521 notices.
17522
dc96c6c7 175232001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
17524
17525 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17526 first arg is int not float.
17527
dc96c6c7 175282001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
17529
17530 * gdb.base/reread.exp: Unsupported for non-native targets;
17531 doesn't work for remote debugging.
17532
9b0c4aeb
FN
175332001-02-19 Fernando Nasser <fnasser@redhat.com>
17534
17535 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
17536 * gdb.base/ending-run.exp: Properly handle the BSP state when
17537 stepping past the end of main.
9b0c4aeb 17538
02aa71d5
MC
175392001-02-19 John Moore <jmoore@redhat.com>
17540
17541 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17542 Converted HPUX fix for non-expected items following multiple
17543 step commands into general solution for all platforms.
17544
1fa449a4
MC
175452001-02-18 Michael Chastain <chastain@redhat.com>
17546
17547 * gdb.c++/classes.exp (do_tests): Change runto statements
17548 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17549 statements demangler agnostic.
17550 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17551 (gdb_virtfunc_restart): Likewise.
17552
b2f9ec70
MC
175532001-02-14 Michael Chastain <chastain@redhat.com>
17554
17555 * gdb.c++/inherit.exp (do_tests): Change runto statements
17556 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17557 statements demangler agnostic.
17558
cf74b8ca
AC
17559Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17560
17561 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
17562 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17563 before calling common_routine 15 times'' tests.
cf74b8ca 17564
99f78f56
MC
175652001-02-11 Michael Chastain <chastain@redhat.com>
17566
17567 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17568 Helps the test script figure out which demangler is in use.
17569 (dm_type_foo_ref): Ditto.
17570 (dm_type_int_star): Ditto.
17571 (dm_type_long_star): Ditto.
17572 (dm_type_unsigned_int): Ditto.
17573 (dm_type_void): Ditto.
17574 (dm_type_void_star): Ditto.
99707966 17575 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
17576 Probe the gdb demangler and set variables to accommodate
17577 formatting differences.
17578 (info_func_regexp): New function. Same as info_func, but
17579 matches against a regexp.
17580 (info_func): Match against a literal string.
17581 (print_addr_2): New function. Match against a literal string,
17582 which can be different from the input to gdb.
17583 (print_addr): Simply call print_addr_2 with the same argument twice.
17584 (test_lookup_operator_functions): Use demangler formatting variables.
17585 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17586 the tests in the same order as the C++ class declaration.
17587 (test_paddr_operator_functions): Ditto.
17588 (test_paddr_overloaded_functions): Ditto.
17589 (test_paddr_hairy_functions): Use demangler formatting variables.
17590 Add reference to gdb/19 for related tests.
17591 (do_tests): Call probe_demangler.
17592
1de8f023
KB
175932001-01-30 Kevin Buettner <kevinb@redhat.com>
17594
17595 * gdb.c++/templates.cc (printf): Remove unused function definition.
17596
ca3f91ed
MS
175972001-01-26 Felix Lee <flee@redhat.com>
17598
17599 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17600
176012001-01-25 matthew green <mrg@redhat.com>
17602
17603 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17604 up sid.
17605 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17606
176072001-01-25 matthew green <mrg@redhat.com>
17608
17609 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 17610 Deprecate $sid_spawn_id.
ca3f91ed
MS
17611 (sid_exit): Remove code necessary only for `spawn.'
17612
176132001-01-25 matthew green <mrg@redhat.com>
17614
17615 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17616
fb18ec4a
MC
176172001-01-28 Michael Chastain <chastain@redhat.com>
17618
17619 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17620 to call when tests fail. It takes gdb out of the overloaded
17621 function choice menu back to the main prompt, so that the test
17622 program stays synchronized.
17623 (set_bp_overloaded): New proc to collect all the common
17624 code for setting a breakpoint on an overloaded name. Calls
17625 take_gdb_out_of_choice_menu when needed.
17626 (menu_overload1arg): New variable to collect the repeated
17627 instances of the expected menu for an overloaded name. Change
17628 the regular expression to handle changes in g++ type encoding:
17629 "void" can be either "void" or "", and "unsigned int" can be
17630 either "unsigned int" or "unsigned".
17631 (continue_to_bp_overloaded): Change regular expressions to handle
17632 changes in g++ type encoding.
17633 (no proc): Call take_gdb_out_of_choice_menu when needed.
17634 Remove redundant calls to "info break". Accept either "canceled"
17635 or "cancelled". Change regular expressions in "info break"
17636 calls to handle changes in g++ type encoding. Give all tests
17637 unique strings.
17638
9c646a6e
BE
176392001-01-17 Ben Elliston <bje@redhat.com>
17640
17641 * config/sid.exp: New file.
17642
9549d9c1
AC
17643Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17644
17645 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17646
dc96c6c7 176472000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
17648
17649 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17650 Add a RE to accept a non-ascii char if one is ever presented.
17651
b4df4f68
FN
176522000-12-20 Fernando Nasser <fnasser@redhat.com>
17653
297dd0fd 17654 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 17655
dc96c6c7 176562000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 17657
d63a86f8 17658 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
17659 in regexp. One '\' does not suffice on Linux.
17660
4a7bddb6
MC
176612000-12-09 Michael Chastain <chastain@redhat.com>
17662
17663 * gdb.base/break.exp (test_clear_command): Use a marker function
17664 rather than 'main' for the test function. Also move this
17665 test to an execution point where the marker function names are
17666 guaranteed to be bound to functions. (Executing tests after a
17667 'finish' from main runs into name conflicts with local names
17668 in __libc_start_main).
17669
dc96c6c7 176702000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
17671
17672 * gdb.base/finish.exp: New test for gdb's "finish" command.
17673 * gdb.base/return2.exp: New test for gdb's "return" command.
17674 * gdb.base/return2.c: New source file for above.
17675
dc96c6c7 176762000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
17677
17678 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17679 * gdb.base/miscexprs.exp: Ditto.
17680 * gdb.base/pointers.exp: Ditto.
17681 * gdb.c++/derivation.exp: Ditto.
17682 * gdb.c++/local.exp: Ditto.
17683 * gdb.c++/namespace.exp: Ditto.
17684 * gdb.c++/overload.exp: Ditto.
17685 * gdb.c++/ref-types.exp: Ditto.
17686
dc96c6c7 176872000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
17688
17689 * gdb.base/constvars.exp: Test result of "up" command.
17690 * gdb.base/miscexprs.exp: Ditto.
17691 * gdb.base/pointers.exp: Ditto.
17692 * gdb.base/scope.exp: Ditto.
17693 * gdb.c++/derivation.exp: Ditto.
17694 * gdb.c++/local.exp: Ditto.
17695 * gdb.c++/namespace.exp: Ditto.
17696 * gdb.c++/overload.exp: Ditto.
17697 * gdb.c++/ref-types.exp: Ditto.
17698
44097287
FN
176992000-11-22 Michael Chastain <chastain@redhat.com>
17700
17701 * mips_pro.exp: Accept either "middle -> top -> main" or
17702 "middle -> main" in the backtrace, because gcc can optimize
17703 tail calls to jumps. Remove setup_xfail for the hppa case.
17704 Add a comment with the original warning messages from PR 3016,
17705 which was filed in 1993, to preserve them for posterity.
17706
9d2e1bab
ND
177072000-11-17 Nick Duffek <nsd@redhat.com>
17708
17709 * lib/gdb.exp (gdb_test): Override timeout with board info.
17710
1aca8eb7
ND
177112000-11-17 Nick Duffek <nsd@redhat.com>
17712
17713 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17714 the second kill and detach messages.
17715
93076499
ND
177162000-11-17 Nick Duffek <nsd@redhat.com>
17717
17718 * configure.in: Add AC_EXEEXT.
17719 * configure: Regenerate.
17720 * Makefile.in (just-check): Export EXEEXT.
17721 * lib/gdb.exp ($EXEEXT): Import from environment.
17722 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17723 expect "maint dump-me" on Cygwin.
17724 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17725 $EXEEXT.
17726
30e87cd3
ND
177272000-11-17 Nick Duffek <nsd@redhat.com>
17728
17729 * gdb.base/break.exp: Test backtrace and finish from called
17730 function on all platforms, not just HP-UX.
17731
dc96c6c7 177322000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
17733
17734 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17735 code from gdb_target_monitor, so it can be used independantly
17736 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 17737
dc96c6c7 177382000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
17739
17740 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17741 * gdb.base/corefile.exp: Expect the message "Program is being
17742 debugged already" when we send the "corefile" command, since
17743 the preceeding gdb_load may have connected gdb to a remote target.
17744 * gdb.base/display.exp: Disable hardware watchpoints if new
17745 board info variable "no_hardware_watchpoints" is true.
17746 Replace single-letter commands with more readable ones.
17747 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17748 if new board info variable "no_hardware_watchpoints" is true.
17749 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17750 to see if stdio (printf) testing is possible.
17751 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17752 board info variable "no_hardware_watchpoints" is true. Use new
17753 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17754
39124dea
FN
177552000-11-13 Fernando Nasser <fnasser@redhat.com>
17756
17757 From Orjan Friberg <orjanf@axis.com>:
17758 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17759 in array print pattern match.
17760
a9e2e984
FN
177612000-11-09 Fernando Nasser <fnasser@redhat.com>
17762
17763 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17764 spelling "cancelled" to U.S. spelling "canceled" to match changes
17765 made to gdb.
17766 * gdb.c++/ovldbreak.exp: Ditto.
17767
c7db355b
PS
177682000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17769
17770 * gdb.base/callfuncs.c (main): Moved to end of file, call
17771 t_double_values to initialize the FPU before inferior calls are made.
17772 * gdb.base/callfuncs.exp: Test for register preservation after calling
17773 inferior functions. Add tests for continuining, finishing and
17774 returning from a stop in a call dummy.
17775
dc96c6c7 177762000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
17777
17778 * gdb.base/commands.exp: Break up long lines, and re-indent.
17779
dc96c6c7 177802000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
17781
17782 * config/gdbserver.exp: Rewritten from the ground up, to make it
17783 compatible with the current dejagnu tree, and to make it work with
17784 the new "gdbserver" in libremote.
17785
dc96c6c7 177862000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17787
17788 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17789 * gdb.base/varargs.exp: Skip entire test if no printf support.
17790 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17791 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17792
dc96c6c7 177932000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17794
17795 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17796 no floating point support.
17797 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17798 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17799 * gdb.base/call-rt-st.exp: Ditto.
17800 * gdb.base/call-strs.exp: Ditto.
17801
bac5fc66
JG
178022000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17803
17804 * gdb.base/sizeof.c: include <stdio.h>.
17805
17806 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
17807 'finish', otherwise uncaptured gdb_prompt would potentially
17808 throw remaining test points out of sync.
bac5fc66 17809
b22a6027
SB
178102000-07-26 Scott Bambrough <scottb@netwinder.org>
17811
17812 * gdb.base/recurse.exp: Run tests for all targets.
17813 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17814 gnu-oldld case on ARM.
17815 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17816 for ARM targets.
d63a86f8 17817
d8231941
AG
17818Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17819
17820 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17821 * gdb.java/configure: Rebuild.
17822
8caabe69
AG
17823Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17824
17825 * gdb.java/jv-exp.exp: New file.
17826
9d273ca3
AG
17827Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17828
17829 * configure: Rebuilt.
17830 * configure.in (configdirs): Add gdb.java.
17831 * gdb.java/jmisc.java: New file.
17832 * gdb.java/jmisc.exp: New file.
17833 * gdb.java/Makefile.in: New file.
17834 * gdb.java/configure: Rebuilt.
17835 * gdb.java/configure.in: New file.
17836 * lib/java.exp: New file.
17837
4f823a66
AC
17838Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17839
17840 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 17841 underflow.
4f823a66 17842
2391e11d
AC
17843Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17844
17845 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 17846 and the compilers sizes.
2391e11d 17847
54602222
ND
178482000-07-09 Nick Duffek <nsd@redhat.com>
17849
17850 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17851 (use_methods): New function.
17852 (main): Call use_methods().
17853 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17854 (do_tests): Call test_method_param_class.
17855
2bec0572
ND
178562000-07-09 Nick Duffek <nsd@redhat.com>
17857
17858 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17859 spelling.
17860 (test_enums): New procedure. Move enum tests from end of script
17861 to here. Set breakpoint on function name instead of line number.
17862 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17863 (enums2): New marker function.
17864 (enums1): New function.
17865 (main): Call enums1(). Move enum tests to enums1().
17866
78492fde
AC
17867Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17868
17869 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 17870 compile/link program. Update line numbers.
78492fde
AC
17871 * gdb.asm/d10v.inc: Define ``startup''.
17872 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 17873
49a2cef8
AC
17874Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17875
17876 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17877
3e6c8688
EZ
178782000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17879
17880 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 17881 of 'help maint print' command.
3e6c8688 17882
9ff5cbe9
AC
17883Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17884
17885 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 17886 they use gdb_expect_list.
9ff5cbe9 17887
17c579bd
AC
17888Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17889
17890 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
17891 memory-read-packet-size'' instead of ``set endian big'' to test
17892 long commands.
17c579bd 17893
e6d71bf3
DB
178942000-06-03 Daniel Berlin <dan@cgsoftware.com>
17895
17896 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 17897 g++, and stop skipping them.
e6d71bf3
DB
17898
17899 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17900 work under g++.
17901
d63a86f8 17902 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
17903 initialization.
17904
dc96c6c7 179052000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
17906
17907 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17908 the regular expression: accept an (almost) arbitrary sequence of
17909 "frames-invalid" and "breakpoints-invalid" messages both before
17910 and after the "starting" message.
17911
dc96c6c7 179122000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
17913
17914 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 17915
dc96c6c7 179162000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
17917
17918 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17919 Relax the regular expression a little, make it pass on Solaris 8.
17920
8216cda9
KB
179212000-05-12 Kevin Buettner <kevinb@redhat.com>
17922
17923 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 17924 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
17925 Instead, it is permissible for gdb to stop on the line of the
17926 call itself.
17927
1a570b2f
MS
179282000-05-12 Michael Snyder <msnyder@.cygnus.com>
17929
17930 * gdb.base/break.exp (bp on small function, optimized file):
17931 Add a second pass pattern. The behavior differs here between stabs
17932 and dwarf for one-line functions. Stabs preserves two line symbols
17933 (one before the prologue and one after) with the same line number,
17934 but dwarf regards these as duplicates and discards one of them.
17935 Therefore the address after the prologue (where the breakpoint is)
17936 has no exactly matching line symbol, and GDB reports the breakpoint
17937 as if it were in the middle of a line rather than at the beginning.
17938
dc96c6c7 179392000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 17940
d63a86f8 17941 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
17942 rather than "send_gdb" (for consistancy).
17943
7d418785
AC
17944Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17945
17946 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17947 * gdb.c++/templates.cc: Properly check for GCC version number.
17948 * lib/compiler.cc: Likewise
17949
dc96c6c7 179502000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 17951
d63a86f8 17952 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
17953 gdb may not stop at the first line of main, due to code motion.
17954
dc96c6c7 179552000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
17956
17957 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17958 This test depends on parsing the printf output from the target.
17959 Since the sparclet stub doesn't do stdio, this will never work.
17960 * gdb.base/call-rt-st.exp: ditto.
17961 * gdb.base/call-strs: ditto.
17962
dc96c6c7 179632000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
17964
17965 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17966
17967 * gdb.base/ending-run.exp: After connecting to a remote target,
17968 but before running, the target will appear to be in a random
17969 location. Specify both a file and a line for breakpoints.
17970 Also, the function that calls main may be called 'init'
17971 rather than 'start'.
17972
a5a51225
EZ
179732000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17974
17975 * gdb.base/help.exp: Update output for add-symbol-file command.
17976
7930cc7c
FN
179772000-04-10 Fernando Nasser <fnasser@cygnus.com>
17978
17979 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17980 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17981
23e37ab1
C
179822000-04-07 J.T. Conklin <jtc@redback.com>
17983
e93c542c
C
17984 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17985
23e37ab1
C
17986 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17987
591b8fa3
PDM
17988Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17989
17990 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 17991 values that can be represented exactly.
591b8fa3
PDM
17992 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17993 above change, and to not check against the directory part of the source
17994 file name.
17995 (step into print_long_arg_list): Likewise.
17996 (print print_small_structs from print_long_arg_list): Likewise.
17997 (print print_long_arg_list): Likewise.
17998
7a495180
EZ
179992000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18000
30b53638 18001 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 18002
beb998c6
AC
18003Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
18004
18005 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
18006
1c689132
DB
180072000-03-25 Daniel Berlin <dan@cgsoftware.com>
18008
18009 * gdb.base/commands.exp (deprecated_command_test): Add test for
18010 deprecate with no arguments.
18011
c1790a9d
JL
180122000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
18013
18014 * gdb.base/break.exp: Add new test for setting breakpoints on
18015 optimized code so we can test breakpoints work even when function
18016 prologues may be optimized away
18017
003ba290
FN
180182000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
18019
18020 From David Whedon <dwhedon@gordian.com>
a9c64011 18021 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 18022
6837a0a2
DB
180232000-03-22 Daniel Berlin <dan@cgsoftware.com>
18024
18025 * gdb.base/help.exp: Added test for new apropos command.
18026
b9593231
KB
180272000-03-21 Kevin Buettner <kevinb@redhat.com>
18028
18029 * gdb.base/pointers.c (usevar): New function.
18030 (main): Make sure that global variables v_int_pointer2, rptr,
18031 and y are all referenced someplace in the program by calling
18032 usevar() on them. [Some linkers delete symbols which are
18033 never referenced. The space remains, but there's no way to
18034 get a (symbolic) handle on the variable from the debugger.]
18035
751a959b
EZ
180362000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18037
18038 * gdb.base/printcmds.c: Add typedeffed arrays.
18039
18040 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 18041 procedure to test arrays that are typedef'd.
751a959b 18042
73a93a32
JI
180432000-03-13 James Ingham <jingham@leda.cygnus.com>
18044
18045 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 18046 the library directories.
73a93a32 18047
fb40c209
AC
18048Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
18049
18050 * configure.in (configdirs): Add sub directory gdb.mi.
18051 * configure: Re-generate.
18052
18053 * gdb.mi: New directory.
d63a86f8 18054
ee4dd2c9
AC
180552000-02-25 Scott Bambrough <scottb@netwinder.org>
18056
18057 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 18058 a long long value as a double on ARM platforms.
ee4dd2c9 18059
70f0cc22
JB
180602000-02-16 Jim Blandy <jimb@redhat.com>
18061
18062 * gdb.base/break.exp ("breakpoint line number"): Make sure the
18063 default source file is set properly before running this test.
18064
853819b8
EZ
180652000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18066
18067 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 18068 gdbtk/library directory, not in gdbtcl2.
853819b8 18069
dfcd3bfb
JM
180702000-02-04 Jim Blandy <jimb@redhat.com>
18071
18072 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
18073 backslash from regexp pattern.
18074
18075 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
18076 procedure. Use it to run all the "continue to bp overloaded"
18077 tests. Note that this changes the names of the tests slightly.
18078 If the breakpoint hit message includes a hex PC value, because
18079 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
18080 from the real source code, still consider that a pass.
18081
18082 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
18083 XFAIL here if the breakpoint message contains a hex address. Note
18084 similar change on 1999-11-02.
18085
18086 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
18087
18088 * gdb.base/ptype.exp: Establish a default source file before
18089 calling get_debug_format.
18090
180912000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
18092
18093 * gdb.base/watchpoint.exp: Remove duplication of test messages.
18094
8b93c638
JM
180952000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18096
18097 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
18098 of successive stepi commands -- while in the prologue we should see
18099 the function entry bracket.
18100
181012000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18102
18103 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
18104 reach __change_mode() when stepping through the end of main().
18105
c5394b80
JM
181062000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
18107
18108 * gdb.base/default.exp: Fix expected pattern.
18109 * gdb.base/help.exp: Same.
18110
0d06e24b
JM
181112000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18112
18113 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 18114 Don't use xfail's because that affects only the following test.
d63a86f8 18115
0d06e24b 18116 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 18117 solaris or linux.
0d06e24b
JM
18118
18119 * gdb.base/selftest.exp: Update to reflect changes to main.c.
18120
dc96c6c7 181212000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 18122
d63a86f8 18123 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
18124 "A syntax error" rather than "A parse error". Accept both.
18125
181262000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
18127
18128 * gdb.base/default.exp: Remove OS dependent string from "target
18129 remote" test.
18130 * gdb.base/help.exp: Same for "help target remote" test.
18131
c3f6f71d
JM
181322000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18133
18134 From Jim Kingdon <kingdon@redhat.com>:
18135
18136 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
18137 prompt (cleanup rather than necessity, but still might keep output
18138 from spilling to next test).
c3f6f71d
JM
18139
181402000-01-02 Fred Fish <fnf@cygnus.com>
18141
18142 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
18143 AIX, which defines them in <sys/types.h>.
18144
ed9a39eb 181451999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 18146
ed9a39eb 18147 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 18148 float" test.
ed9a39eb
JM
18149
181501999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 18151
ed9a39eb 18152 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
18153
18154 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
18155 outermost frame disallowed".
18156
181571999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
18158
18159 * gdb.base/setvar.exp: New tests for setting the value of a struct
18160 with a constant list.
18161
181621999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18163
18164 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
18165 require the user to type a cast before setting the value of a struct.
18166
de57eccd
JM
181671999-12-06 Jim Blandy <jimb@cygnus.com>
18168
18169 * gdb.base/default.exp: Expect the new 'info float' command on
18170 all i386 platforms.
18171
18172 * gdb.threads/linux-dp.exp: Expand our ability to recognize
18173 LinuxThreads libraries that don't support debugging.
18174
c2d11a7d
JM
18175Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18176
18177 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
18178 Change the buffer type to ``unsigned char'' to simplify size
18179 arithmetic.
c2d11a7d
JM
18180
18181 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
18182 stub only handles 400-1 byte packets. Verify that the download
18183 worked.
c2d11a7d
JM
18184
181851999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
18186
18187 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
18188 tests, using UNRESOLVED for the untested cases. Also, does not wait
18189 for a timeout if the prompt was received before a recognizable pattern.
18190
181911999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
18192
18193 * lib/gdb.exp (gdb_expect_list): Fix spelling.
18194
181951999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18196
18197 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 18198 watchpoints.
c2d11a7d
JM
18199
182001999-11-24 Jason Merrill <jason@casey.cygnus.com>
18201
18202 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
18203
18204 * gdb.c++/local.exp: Be more flexible in recognizing local class
18205 name mangling. Don't allow horribly truncated method names.
18206 * gdb.c++/derivation.exp: Expect protected inheritance.
18207 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
18208 * gdb.c++/virtfunc.exp: Likewise.
18209 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
18210 when printing a nested enum.
18211
182121999-11-22 Jim Blandy <jimb@cygnus.com>
18213
18214 * gdb.base/step-test.exp: Properly await GDB's response to setting
18215 a breakpoint on the call to large_struct_by_value.
18216
18217 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
18218 just because we have debug info for the `start' function.
18219
182201999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
18221
18222 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
18223 "Unknown signal" messages, which indicate (on LinuxThreads) that
18224 GDB doesn't know how to debug threads on this system. This is
18225 better than hanging while philosopher 0 dumps chatter into gdb.log.
18226
182271999-11-18 Tom Tromey <tromey@cygnus.com>
18228
18229 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
18230
182311999-11-18 Fred Fish <fnf@cygnus.com>
18232
18233 * gdb.base/coremaker2.c: Add sample program for generating
18234 cores that is more self contained than coremaker.c. Eventually
18235 I'll add more code to this and tie it into the testsuite.
18236
4ce44c66
JM
182371999-11-12 Stan Shebs <shebs@andros.cygnus.com>
18238
18239 * gdb.base/dollar.exp: Remove, now in gdb.hp.
18240
182411999-11-10 Jimmy Guo <guo@cup.hp.com>
18242
18243 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 18244 from $srcdir/lib/.
4ce44c66 18245 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 18246 and gdb.c++/.
4ce44c66
JM
18247
18248 * gdb.c++/derivation.exp: remove redundant get compiler info code.
18249
d63a86f8 18250 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
18251 'continue with watch' test point.
18252
182531999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
18254
18255 Merged from p2linux-990323-branch:
d63a86f8 18256
4ce44c66
JM
18257 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
18258
11cf8741
JM
18259Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
18260
18261 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 18262 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
18263
18264Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
18265
18266 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 18267 gdb_expect_list.
11cf8741
JM
18268
18269Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
18270
18271 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
18272
182731999-11-03 Mark Salter <msalter@cygnus.com>
18274
18275 * gdb.base/break.exp: Fix "stub continue" pattern.
18276
182771999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
18278
18279 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
18280
182811999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
18282
18283 * gdb.base/display.exp ("finish"): Add timeout clause.
18284
18285 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
18286 plain prompt clause, so this doesn't have to time out in order to
18287 fail.
18288
18289 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 18290 breakpoint hit messages include an address.
11cf8741
JM
18291
18292 * gdb.base/display.exp: Don't forget to escape parens in regular
18293 expressions. Unix regexp notatation sucks.
18294
182951999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18296
18297 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 18298 order for 'signalled' message.
11cf8741 18299
5c44784c
JM
183001999-11-01 Stan Shebs <shebs@andros.cygnus.com>
18301
18302 From Jimmy Guo <guo@cup.hp.com>:
18303 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
18304 * gdb.base/annota1.c: Add code for tests to work with.
18305
183061999-10-26 Frank Ch. Eigler <fche@cygnus.com>
18307
18308 * gdb.base/remote.exp: New test for remote downloading settings.
18309 * gdb.base/remote.c: New file with large .data.
18310
917317f4
JM
183111999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
18312
18313 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
18314 for LinuxThreads support, merged from the Code Fusion branch.
18315
18316Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
18317
18318 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
18319 containing exp_continue into a while within an expect. Don't
18320 attempt a start more than three times. Check return value from
18321 gdb_load.
d63a86f8 18322
2df3850c
JM
18323Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
18324
18325 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 18326 a pass case.
2df3850c 18327
2acceee2
JM
183281999-10-01 Kevin Buettner <kevinb@cygnus.com>
18329
18330 * gdb.base/break.c (main): Added a statement that we can step
18331 off of.
18332 * gdb.base/break.exp: Added tests for setting a breakpoint
18333 at an offset and stepping onto a breakpoint.
18334
183351999-10-01 Fred Fish <fnf@cygnus.com>
18336
d63a86f8 18337 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
18338 gdb output.
18339
c2c6d25f
JM
183401999-09-18 Jim Blandy <jimb@cris.red-bean.com>
18341
18342 * gdb.base/break.exp: Code locations are in hex, don't forget!
18343 (For HP-UX.)
18344
183451999-09-17 Stan Shebs <shebs@andros.cygnus.com>
18346
18347 * condbreak.exp: Use break.c as test program.
18348 * condbreak.c: Remove, redundant with break.c.
18349
183501999-09-15 Stan Shebs <shebs@andros.cygnus.com>
18351
18352 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 18353 Z-packets if the target needs it.
c2c6d25f
JM
18354
183551999-09-13 James Ingham <jingham@leda.cygnus.com>
18356
18357 * gdb.c++/overload.exp: Added tests for listing overloaded
18358 functions with function pointers in the arg, explicitly calling
18359 out the version you want.
18360
cff3e48b
JM
183611999-09-09 Stan Shebs <shebs@andros.cygnus.com>
18362
18363 * long_long.exp: Add variations of test cases that work for
18364 targets with 16-bit ints and 32-bit doubles.
18365
d4f3574e
SS
183661999-09-08 Stan Shebs <shebs@andros.cygnus.com>
18367
18368 * break.c (main): Compare a possibly-uninitialized argc with an
18369 unlikely value that fits in 16 bits.
18370
183711999-09-07 Stan Shebs <shebs@andros.cygnus.com>
18372
18373 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
18374 0xfeeb, don't want negative numbers if ints are 16 bits.
18375
18376 * lib/gdb.exp (skip_cplus_tests): New proc.
18377 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
18378 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
18379 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
18380 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
18381 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
18382 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
18383 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
18384 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
18385
18386 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
18387
18388Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
18389
18390 * gdb.base/corefile.exp (up): Allow a parameter to appear
18391 in the frame that we're going up to.
18392
18393 From Jim Blandy <jimb@cygnus.com>:
18394
18395 * gdb.base/default.exp (info float): Expect some output now.
18396
18397 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
18398 returning floating-point values to fail on the x86.
18399 * gdb.base/callfwmall.exp (do_function_calls): Same.
18400
18401 * gdb.base/list.exp (test_listsize): Correct expectations for
18402 listing line 1 with listsize 2. Also, listing a single line
18403 works now, as does listing three lines. [Kevin's note: There
18404 were a number of other cases fixed too where the expectations
18405 differed...]
18406
184071999-09-02 Stan Shebs <shebs@andros.cygnus.com>
18408
18409 * gdb.base/selftest.exp: Add case for when version prints as
18410 constant string instead of char pointer.
18411
104c1213
JM
184121999-08-25 Stan Shebs <shebs@andros.cygnus.com>
18413
18414 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 18415 stepping out of main.
104c1213
JM
18416
18417 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
18418 G++ used.
18419
18420 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 18421 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
18422
18423 * gdb.c++/ovldbreak.exp: Update match string in test that
18424 includes a warning of multiple breakpoints.
18425
184261999-08-24 Stan Shebs <shebs@andros.cygnus.com>
18427
18428 * gdb.base/display.exp: Improve precision of step-after-finish
18429 added yesterday.
18430
18431 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 18432 test.
104c1213
JM
18433
18434 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
18435 configs when using G++, not just hppa*.
18436
184371999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18438
18439 * gdb.base/async.c: New file.
18440 * gdb.base/async.exp: New file.
18441
18442Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18443
18444 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18445 PA64.
18446
53a5351d
JM
18447Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18448
104c1213
JM
18449 * gdb.base/display.exp: "finish" can leave us mid-line on many
18450 targets, deal with it. Add a small constant to main, instead of
18451 1000 since main+1000 may not be a valid address in the target.
18452
53a5351d
JM
18453 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18454 on hpux11.
18455
18456 * gdb.base/attach.exp: Handle another hpux11 error message variant
18457 when attaching to a process that does not exist.
18458
184591999-08-19 J.T. Conklin <jtc@redback.com>
18460
18461 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 18462 characters in 'continue to 1241' test.
53a5351d
JM
18463
184641999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18465
18466 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18467 stop in print_long_arg_list, define and use a whitespace
18468 variable in print_small_structs test, add an XFAIL for Solaris.
18469 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18470 interested enough to fix.
18471
7be570e7
JM
184721999-08-13 Keith Seitz <keiths@cygnus.com>
18473
18474 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18475 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18476 proc knows about targets other than the natives.
18477 (test_assign): Use "gdb_run_cmd" to "run" the target.
18478 Check that we've actually hit the breakpoint at main.
18479 When we attempt to assign a value to a local variable, check
18480 that the variable is in the current scope, i.e., don't use
18481 a test with an empty result.
18482
18483Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18484
18485 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 18486 command.
7be570e7
JM
18487
184881999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18489
18490 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18491 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18492 gdb.compat, gdb.threads-hp.
18493 gdb.hp/configure, gdb.hp/configure.in: New files.
18494 gdb.hp/Makefile.in: Recurse into new subdirs.
18495 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18496 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18497 in object files.
18498 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18499
96baa820
JM
185001999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18501
18502 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 18503 funky printf, remove a bogus p/a test.
96baa820
JM
18504
185051999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18506
18507 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
18508 connected to the target. This is necessary when running not
18509 natively.
96baa820
JM
18510
185111999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18512
18513 * gdb.base/step-test.exp: Removed some extraneous messages.
18514
18515 * gdb.base/long_long.exp: Don't run memory examination tests
18516 on little-endian targets (they will need a different set of
18517 results to match).
18518
185191999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18520
18521 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18522 until somebody decides to fix GDB.
18523
18524 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 18525 constant as "ULL".
96baa820
JM
18526 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18527 matches for a couple x/2 commands.
18528
a0b3c4fd
JM
185291999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18530
18531 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18532 by merging in ref-types2 tests.
18533 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18534
18535 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18536 * gdb.c++/Makefile.in: Add standard actions.
18537 (EXECUTABLES): Rename from PROGS, update list.
18538 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18539 from gdb.hp.
18540 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18541 foo and bar locals.
18542 * gdb.c++/anon-union.exp: Fix tests to match.
18543 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18544 expect matches to handle output variations.
18545 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18546 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 18547 output, add HP alternatives for new and delete prints.
a0b3c4fd 18548 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 18549 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
18550 * gdb.c++/demangle.exp: Use $style when reporting failure.
18551 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18552 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18553 match alternatives.
18554 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 18555 compilers.
a0b3c4fd
JM
18556 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18557 * gdb.c++/method.exp: Add match alternatives.
18558 * gdb.c++/misc.cc: Add bool types.
18559 * gdb.c++/misc.exp: Add tests for bool types.
18560 * gdb.c++/overload.exp: Add xfails.
18561 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18562 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18563 add some more template parameter tests (only for HP currently).
18564 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18565 * gdb.c++/virtfunc.cc: Add return type and value for main.
18566 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18567 match alternatives.
d63a86f8 18568
a0b3c4fd
JM
185691999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18570
18571 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18572
185731999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18574
18575 * gdb.base/signals.exp: Don't expect getting a backtrace from
18576 within a signal handler to fail on Linux.
18577
185781999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18579
18580 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18581 * lib/gdb.exp: Remove some gratuitious semicolons.
18582 (delete_breakpoints): Increase timeout.
18583 (gdb_expect): Add -notransfer option.
18584 (gdb_test): Use -notransfer option.
18585 (get_compiler_info): Add f77 case.
18586 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 18587 case.
a0b3c4fd
JM
18588 (gdb_preprocess): Call get_compiler.
18589
18590 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18591 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
18592 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18593 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18594 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18595 third arg to gdb_test.
a0b3c4fd
JM
18596 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18597 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 18598 HP-UX xfails, add others.
a0b3c4fd
JM
18599 * gdb.base/completion.exp: Reflect name change of self-test.
18600 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
18601 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18602 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18603 HP failure number.
a0b3c4fd
JM
18604 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18605 useless HP-UX 10.30 references.
18606 * gdb.base/maint.exp: Loosen matches.
18607 * gdb.base/pointers.c (main): Declare more_code.
18608 * gdb.base/pointers.exp: Match on output of a `next'.
18609 * gdb.base/structs.c: Add prototypes.
18610 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18611 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18612
186131999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18614
18615 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 18616 command.
a0b3c4fd
JM
18617
186181999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18619
18620 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18621 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
18622
18623 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
18624 debug info. Deal with lack of signal hanlder info in stack.
18625
a9c64011 18626 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
18627 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18628
5a2468f5
JM
186291999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18630
18631 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 18632 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 18633
adf40b2e
JM
18634Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18635
18636 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 18637 a1-selftest.exp.
adf40b2e
JM
18638 * gdb.base/configure: Re-generate.
18639
186401999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18641
18642 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18643 in trying to run first and name is too long.
18644
18645 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18646 pointers2.c and pointers2.exp, respectively.
18647 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18648 doschk happier.
18649
43e526b9
JM
186501999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18651
18652 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18653 callfuncs2.c and callfuncs2.exp.
18654
18655 * gdb.base/list.exp: Remove mistaken xfails.
18656 * gdb.base/list0.h: Add optional prototypes.
18657
9846de1b
JM
18658Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18659
a9c64011 18660 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 18661 calling malloc.
a9c64011
AS
18662 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18663 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 18664 use.
9846de1b
JM
18665
186661999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18667
18668 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18669 * gdb.base/annota2.cc, annota2.exp: Move from here.
18670 * gdb.c++/annota2.cc, annota2.exp: To here.
18671 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18672
43ff13b4
JM
18673Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18674
18675 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 18676 a consistent format.
43ff13b4 18677
085dd6e6
JM
186781999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18679
18680 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18681 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18682 HP compilers, also set the globals $true and $false.
18683
18684 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
18685 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18686 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18687 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18688 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18689 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18690 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18691 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18692 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18693 whatis.c} Add C++ compatible function definitions and return
18694 types, add includes for library functions.
085dd6e6
JM
18695 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18696 * gdb.base/step-test.c (myglob): Rename from glob.
18697 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
18698 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18699 files, move here from gdb.hp.
085dd6e6 18700 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
18701 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18702 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18703 Adjust line numbers in regexps.
085dd6e6
JM
18704
18705 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18706 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18707 instead of 0/1.
18708
18709 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18710 foll-vfork.exp: New files, move here from gdb.hp.
18711 * gdb.base/page.exp: New file, test of pagination command.
18712
18713 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18714 recursion test.
18715 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18716
18717 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 18718 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
18719
18720 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 18721 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 18722 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 18723 watchpoint test.
085dd6e6
JM
18724 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18725 them work.
18726 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18727 expressions properly.
18728 * gdb.base/corefile.exp: Loosen the match slightly.
18729 * gdb.base/default.exp: Allow "Error accessing memory" message
18730 also.
18731 * gdb.base/display.exp: Skip over x/0 j if PA64.
18732 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18733 * gdb.base/interrupt.exp: Ditto.
18734 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18735 in use.
18736 * gdb.base/list.exp: Add xfails for HP-UX.
18737 * gdb.base/long_long.exp: Refine some of the numeric matches.
18738 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18739 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18740 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18741 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18742 * gdb.base/ptype.exp: Succeed on more varieties of output.
18743 * gdb.base/scope.exp: Add xfails for HP-UX.
18744 * gdb.base/sect-cmd.exp: Add more cases.
18745 * gdb.base/setvar.exp: Add xfails for HP-UX.
18746 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18747 * gdb.base/signals.exp: Match on void symbolically.
18748 * gdb.base/step-test.exp: Add case for PA64.
18749 * gdb.base/term.exp: Add exit and restart.
18750 * gdb.base/twice.exp: Clean up after self.
18751 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18752 * gdb.base/whatis.exp: Allow more ways to pass tests.
18753
18754 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 18755 no longer useful.
085dd6e6
JM
18756
18757Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18758
18759 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 18760 list of patterns.
085dd6e6 18761 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
18762 print_double_array(double_array)", "continuing to breakpoint
18763 1018", "print print_double_array(array_d)" and "continuing to
18764 1034" tests.
d63a86f8 18765
085dd6e6
JM
187661999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18767
a9c64011 18768 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
18769
187701999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18771
18772 * config/mt-*: Remove, these haven't been used since 1996.
18773
187741999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18775
18776 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 18777 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
18778 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18779
9e0b60a8
JM
187801999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18781
18782 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18783 simpler match case for the ptype of the big class.
18784
187851999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18786
18787 * gdb.exp: Fix test for gdb_prompt existence.
18788
187891999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18790
18791 * gdb.exp (gdb_test): Add fail after calls to perror.
18792
187931999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18794
18795 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18796
187971999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18798
18799 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18800
0f71a2f6
JM
18801Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18802
18803 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 18804 malloc() is linked in.
0f71a2f6
JM
18805
188061999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18807
18808 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18809 step at end.
18810
18811 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18812
188131999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18814
18815 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18816
cce74817
JM
18817Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18818
18819 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18820 * gdb.base/mips_pro.exp: Likewise.
18821
188221999-06-02 Keith Seitz <keiths@cygnus.com>
18823
18824 * gdb.c++/templates.cc: Change all "new" operators to throw
18825 an exception.
18826 * gdb.c++/cplusfuncs.cc: Likewise.
18827
18828 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18829
18830Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18831
18832 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
18833 * gdb.base/ending-run.exp: When stepping out of main, accept a
18834 step into an arbitrary assembler file.
cce74817 18835
392a587b
JM
188361999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18837
d63a86f8 18838 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 18839 "breakpoint-invalid" to be printed.
d63a86f8 18840 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
18841 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18842 * gdb.base/annota2.cc: Initialize a.x to 0.
18843
9e086581
JM
188441999-05-17 Keith Seitz <keiths@cygnus.com>
18845
18846 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18847 when "skip_float_tests" set.
18848 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18849 "print print_ten_doubles", and "step into print_long_arg_list".
18850 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18851 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18852 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18853 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18854 "skip_float_tests" is set.
18855 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18856 when "skip_float_tests" set.
d63a86f8 18857
cd0fc7c3
SS
188581999-05-06 Keith Seitz <keiths@cygnus.com>
18859
18860 * gdb.base/annota2.cc: Include stdio.h.
18861
18862Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18863
18864 * gdb.base/crossload.exp: Remove, this has been disabled ever
18865 since BFD stopped including all targets, and cross-GDB gets
18866 plenty of testing anyway.
18867 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
18868 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18869 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
18870 * gdb.base/README: Remove, was doc for this.
18871 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 18872 needed.
cd0fc7c3 18873
b83266a0
SS
188741999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18875
18876 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18877 output.
18878
18879 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18880 * gdb.base/annota2.exp: New file. More annotation tests.
18881 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18882 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18883
188841999-04-23 Angela Marie Thomas <angela@cygnus.com>
18885
18886 * config/cfdbug.exp: New file.
18887
7a292a7a
SS
188881999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18889
18890 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18891 Marcus Daniel's and Dale Hawkins's demangler crashes.
18892
18893 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
18894 test_lucid_style_demangling, test_arm_style_demangling,
18895 test_hp_style_demangling): Try Tom Tromey's core-dumping
18896 identifier under each demangling style.
7a292a7a
SS
18897
188981999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18899
18900 * gdb.c++/demangle.exp: Include the current demangling style
18901 in all test names.
18902 (current_demangling_style): New global variable.
18903 (set_demangling_style, test_demangling_core, test_demangling,
18904 test_demangling_exact): New functions.
18905 (test_gnu_style_demangling, test_lucid_style_demangling,
18906 test_arm_style_demangling, test_hp_style_demangling): Use those,
18907 instead of calling gdb_test and gdb_test_exact directly.
18908 (catch_demangling_errors): New function, which reports errors
18909 signalled by the demangling test functions in an orderly way.
18910 (do_tests): Use catch_demangling_errors.
18911
189121999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18913
18914 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 18915 grouping in expressions, not {}.
7a292a7a
SS
18916
18917 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 18918 initialized yet.
7a292a7a
SS
18919
189201999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18921
18922 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18923 are listed.
18924
189251999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18926
18927 * gdb.stabs/weird.exp: Test for CC being defined before
18928 looking at its value.
18929
189301999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18931
18932 * gdb.base/call-ar-st.exp: Remove stray '#'.
18933 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18934 "short int" and "long int".
18935 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 18936 change, to mollify finicky HP compiler.
7a292a7a
SS
18937 * gdb.hp/reg-test.exp (testfile): Fix file name.
18938 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 18939
7a292a7a
SS
18940 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18941 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18942 alternate form of enum ptype.
18943
c906108c
SS
189441999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18945
7a292a7a
SS
18946 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18947 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
18948 passing skip_hp_tests, so as not to waste time on guaranteed
18949 failure.
7a292a7a 18950
c906108c
SS
18951 * gdb.c++/overload.cc: Pass string instead of char addr, always
18952 init ccpfoo.
18953 * gdb.c++/templates.cc: Fix syntax error.
18954
7a292a7a
SS
18955Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18956
18957 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 18958 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
18959 command.
18960
189611999-03-18 James Ingham <jingham@cygnus.com>
18962
18963 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18964
18965 * gdb.c++/method.exp: It was testing an uninitialized int on the
18966 stack and assuming it was positive.
18967
18968 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18969
18970 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 18971 keep it from killing the rest of the tests.
7a292a7a
SS
18972 Use gdb_continue_to_end.
18973
18974 * gdb.base/sigall.exp: use gdb_continue_to_end.
18975
18976 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18977
18978 * gdb.base/display.exp: use runto_main, not run.
18979
d63a86f8
RM
18980 * gdb.base/default.exp: Check for the current error message in the
18981 r abbreviation test.
7a292a7a
SS
18982 Add strongarm to the targets that know info float.
18983
d63a86f8 18984 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
18985 run which doesn't work with monitors.
18986
18987 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18988
18989 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18990
18991 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
18992 program. Traps the case (in Cygmon) when the program never really
18993 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
18994 more places, so I used my name. Sorry Mark...
18995
18996 * config/monitor.exp (gdb_target_monitor): added another
18997 target_info parameter: remotebinarydownload. This will set the
18998 remotebinarydownload flag if this is causing some boards trouble.
18999
190001999-03-18 Mark Salter <msalter@cygnus.com>
19001
19002 * lib/gdb.exp (continue_to_exit): New function.
19003
19004 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
19005 * gdb.base/ending-run.exp: Ditto.
19006 * gdb.base/step-test.exp: Ditto.
19007
190081999-03-16 Stan Shebs <shebs@andros.cygnus.com>
19009
19010 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
19011 (suggested by Art Haas <ahaas@neosoft.com>).
19012
190131999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
19014
889bf7c5 19015 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
19016
19017Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
19018
19019 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 19020 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
19021
190221999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
19023
19024 * gdb.base/call-strs.exp: Don't assume that `step' will step over
19025 a call to strlen; sometimes we do have sources.
19026
190271999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
19028
19029 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 19030 character, so GDB won't print garbage after its end.
d63a86f8 19031
c906108c
SS
19032 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
19033 breakpoint there instead. Sometimes GCC emits memcpy to handle
19034 the large structures being passed by value, so we step into that
19035 instead of sum_array_print, which obscures what we're really testing.
19036 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
19037 the bizarre steps into memcpy, so do that here. Add check for
19038 stepping into function calls that pass large structures by value.
19039 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
19040 Remove all references to specific line numbers.
19041 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
19042 New type and function.
19043 (main): Call large_struct_by_value, passing it a large struct by value.
19044 * lib/gdb.exp (gdb_get_line_number): New function.
19045
19046 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
19047 more portable.
19048
7a292a7a
SS
190491999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
19050
c906108c
SS
19051 * lib/gdb.exp: Doc fixes.
19052
7a292a7a
SS
190531999-03-05 Nick Clifton <nickc@cygnus.com>
19054
d63a86f8 19055 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
19056
190571999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
19058
c906108c 19059 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
19060 commands. They're not germane to this test, and they don't work
19061 that way on remote targets.
c906108c 19062
3fc11d3e
JM
190631999-03-01 James Ingham <jingham@cygnus.com>
19064
19065 * Changelog entries merged over from gdb development branch.
19066
3fc11d3e
JM
19067 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
19068
19069 * lib/gdb.exp (gdbtk_analyze_results): Generic function
19070 for outputting results of test run.
19071
2d4a1622 19072 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
19073
19074 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 19075
7a292a7a
SS
190761999-02-25 Felix Lee <flee@cygnus.com>
19077
19078 * lib/gdb.exp (debug_format): initialize
19079
c906108c
SS
190801999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
19081
19082 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
19083 * gdb.base/call-rt-st.c: Ditto.
19084
c906108c
SS
190851999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
19086
19087 * gdb.threads/pthreads.exp (horiz): New variable.
19088 (test_startup): Fix regexps that capture thread numbers.
19089
190901999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
19091
19092 * gdb.base/smoke.exp: Disambiguate two test case names (both
19093 called ``print'').
19094
19095Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19096
19097 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 19098 compilation.
c906108c
SS
19099
191001999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19101
19102 * gdb.base/miscexprs.exp: Change patterns to match GDB's
19103 actual output formatting.
19104 * gdb.base/smoke.exp: GDB removes leading 0's.
19105 * gdb.base/volatile.exp: Don't check type of remuneration;
19106 that variable is no longer defined in constvars.c.
19107 * gdb.base/step-test.c (main): Exit with explicit exit code.
19108 * gdb.base/step-test.exp: Remove two nexti checks--they are
19109 not portable.
19110
191111999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19112
19113 * gdb.base/help.exp ("help delete display"): Fix test to match
19114 gdb's output.
19115
19116 * gdb.base/long_long.c (known_types): Initialize values to zero.
19117 * gdb.base/long_long.exp: Step one more line
19118 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
19119 leading zeros. Explicitly ask for hex formatting. Use
19120 unique test case names.
c906108c
SS
19121
19122Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19123
d63a86f8 19124 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
19125
19126 * gdb.c++/method.exp: Add missing close brace.
19127
191281999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
19129
19130 * gdb.base/maint.exp: Use 'set height 0' to disable page
19131 prompting, not 'set height 400'.
19132
19133 Fix a bunch of timeouts.
19134 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
19135 four separate tests, so expect doesn't take forever to match a ton
19136 of text against a regexp with lots of .* forms.
19137 ("maint print psymbols", "maint print symbols"): Make some of
19138 these greps more selective, so that expect doesn't try to wade
19139 through huge piles of output and time out.
19140
19141 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
19142
19143 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
19144 tests: one which doesn't expect shlib events to be reported, and
19145 another which does, but is XFAIL for all platforms other than
19146 HP/UX.
c906108c
SS
19147
19148 * gdb.base/break.exp: Teach the test suite that the `catch
19149 fork', `catch vfork', and `catch exec' commands produce error
19150 messages on platforms that don't provide these features.
19151
19152Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19153
19154 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
19155 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
19156 (shortening names from solib_threshold.exp etc), won't run on
19157 anything but HP-UX for the foreseeable future.
c906108c 19158 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 19159 reflect move.
c906108c
SS
19160
19161Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
19162
19163 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 19164 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
19165
19166Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
19167
19168 * gdb.base/shlib-call.exp: add test cases to verify that gdb
19169 successfully re-sets breakpoints in shared libraries.
19170 * gdb.base/shmain.c (main): return 0, don't fall off the end.
19171
19172Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19173
d63a86f8
RM
19174 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
19175 and compiled w/o GCC.
c906108c
SS
19176
19177 * gdb.hp/watch-cmd.exp: ditto.
19178
19179 * gdb.hp/watch-hp.exp: ditto.
19180
19181 * gdb.hp/xdb1.exp: ditto.
19182
19183 * gdb.hp/xdb2.exp: ditto.
19184
19185 * gdb.hp/dbx.exp: ditto.
19186
19187Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
19188
19189 * constvars.c: Remove C++-isms.
19190 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 19191 with GCC.
c906108c
SS
19192
19193Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
19194
19195 The following changes are part of the HP merge.
19196
19197 * gdb.base/break.exp: new tests to verify that catchpoints for
19198 fork, vfork, and exec don't trigger inappropriately.
19199
19200 * gdb.base/opaque.exp: compile one file at a time, then link.
19201
19202 * gdb.base/signals.exp: be more restrictive about which hppa
19203 systems receive a setup_xfail. new tests.
19204
19205 * gdb.base/solib_threshold.build: new file.
19206 * gdb.base/solib_threshold.exp: new file.
19207 * gdb.base/solib_threshold.link_opts: new file.
19208 * gdb.base/solib_threshold.mk: new file.
19209 * gdb.base/gen_solib_threshold.c: new file.
19210
19211 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
19212 tests. New tests for enums inside classes.
19213
19214 * gdb.c++/compiler.cc: indicate support of template debugging.
19215
19216 * gdb.c++/demangle.exp: run hp style demangling tests.
19217
19218 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
19219 tests.
19220
19221 * gdb.c++/misc.cc: changes to support new tests.
19222
19223 * gdb.c++/templates.cc: changes to support HP's compiler; changes
19224 to support new tests.
19225
19226 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
19227 gcc, then skip these tests.
19228
19229Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
19230
19231 The following files are part of the HP merge; some had longer
19232 names at HP, but have been renamed to be no more than 14
19233 characters in length.
19234
19235 * gdb.hp/ambiguous.cc: new file.
19236 * gdb.hp/ambiguous.exp: new file.
19237 * gdb.hp/attach.exp: new file.
19238 * gdb.hp/attach2.exp: new file.
19239 * gdb.hp/classes-hp.exp: new file.
19240 * gdb.hp/ctti.exp: new file.
19241 * gdb.hp/ctti-add.cc: new file.
19242 * gdb.hp/ctti-add1.cc: new file.
19243 * gdb.hp/ctti-add2.cc: new file.
19244 * gdb.hp/ctti-add3.cc: new file.
19245 * gdb.hp/dbx.exp: new file.
19246 * gdb.hp/exception.cc: new file.
19247 * gdb.hp/exception.exp: new file.
19248 * gdb.hp/foll-exec.c: new file.
19249 * gdb.hp/foll-exec.exp: new file.
19250 * gdb.hp/foll-fork.c: new file.
19251 * gdb.hp/foll-fork.exp: new file.
19252 * gdb.hp/foll-vfork.c: new file.
19253 * gdb.hp/foll-vfork.exp: new file.
19254 * gdb.hp/inherit-hp.exp: new file.
19255 * gdb.hp/more-steps.exp: new file.
19256 * gdb.hp/namespace.cc: new file.
19257 * gdb.hp/namespace.exp: new file.
19258 * gdb.hp/optimize.exp: new file.
19259 * gdb.hp/pxdb.c: new file.
19260 * gdb.hp/pxdb.exp: new file.
19261 * gdb.hp/quicksort.exp: new file.
19262 * gdb.hp/reg-test.exp: new file.
19263 * gdb.hp/reg-test.s: new file.
19264 * gdb.hp/sized-enum.c: new file.
19265 * gdb.hp/sized-enum.exp: new file.
19266 * gdb.hp/start-stop.exp: new file.
19267 * gdb.hp/templ-hp.cc: new file.
19268 * gdb.hp/templ-hp.exp: new file.
19269 * gdb.hp/thr-lib.c: new file.
19270 * gdb.hp/thr-lib.exp: new file.
19271 * gdb.hp/thr-lib.h: new file.
19272 * gdb.hp/thr-liblib.c: new file.
19273 * gdb.hp/virtfun-hp.c: new file.
19274 * gdb.hp/virtfun-hp.exp: new file.
19275 * gdb.hp/watch-cmd.exp: new file.
19276 * gdb.hp/watch-hp.exp: new file.
19277 * gdb.hp/xdb1.exp: new file.
19278 * gdb.hp/xdb2.exp: new file.
19279 * gdb.hp/xdb3.exp: new file.
19280
19281Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
19282
19283 The following files are part of the HP merge; some had longer
19284 names at HP, but have been renamed to be no more than 14
19285 characters in length.
19286
19287 * gdb.base/ss.h: new file.
19288 * gdb.base/call-ar-st.c: new file.
19289 * gdb.base/call-ar-st.exp: new file.
19290 * gdb.base/call-rt-st.c: new file.
19291 * gdb.base/call-rt-st-exp: new file.
19292 * gdb.base/call-strs.exp: new file.
19293 * gdb.base/ena-dis-br.exp: new file.
19294 * gdb.base/environ.exp: new file.
19295 * gdb.base/long_long.exp: new file.
19296 * gdb.base/sect-cmd.exp: new file.
19297 * gdb.base/shlib-cl2.exp: new file.
19298 * gdb.base/smoke.exp: new file.
19299 * gdb.base/so-impl-ld.c: new file.
19300 * gdb.base/so-impl-ld.exp: new file.
19301 * gdb.base/so-indr-cl.c: new file.
19302 * gdb.base/so-indr-cl.exp: new file.
19303 * gdb.base/varargs.exp: new file.
19304 * gdb.base/volatile.exp: new file.
19305 * gdb.base/whatis-exp.exp: new file.
7a292a7a 19306 * gdb.base/display.exp: new file.
c906108c
SS
19307 * gdb.c++/derivation.exp: new file.
19308 * gdb.c++/local.exp: new file.
19309 * gdb.c++/member-ptr.exp: new file.
19310 * gdb.c++/overload.exp: new file.
19311 * gdb.c++/ovldbreak.exp: new file.
19312 * gdb.c++/ref-types.exp: new file.
19313 * gdb.c++/ref-types2.exp: new file.
19314 * gdb.c++/userdef.exp: new file.
d63a86f8 19315
c906108c
SS
19316Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
19317
19318 * gdb.base/default.exp: Reflect wording change in remote.c.
19319
dc96c6c7 19320Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19321
19322 * gdb.base/help.exp: Update to reflect current text.
19323
19324Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
19325
19326 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
19327 they're stack variables and contain garbage.
19328 * gdb.c++/anon-union.exp: new file.
19329
19330 The following changes were made by David Taylor
889bf7c5
PA
19331 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19332 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19333 in changes by HP.
c906108c
SS
19334
19335 * gdb.base/bitops.exp: new file.
19336 * gdb.base/default.exp: change expected messages for catch and
19337 info catch tests to reflect HP merge changes.
19338 * gdb.base/enable-disable-break.exp
19339 * gdb.base/ending-run.c: new file.
19340 * gdb.base/long_long.c: new file.
19341 * gdb.base/maint.exp: new file.
19342 * gdb.base/pointers2.exp: new file.
19343 * gdb.base/shlib-call2.exp: new file.
19344 * gdb.base/solib.exp: new file.
19345 * gdb.base/step-test.c: new file.
19346 * gdb.c++/anon-union.cc: new file.
19347 * gdb.c++/local.cc: new file.
19348 * gdb.c++/member-pointer.cc: new file.
19349 * gdb.c++/method.cc: new file.
19350 * gdb.c++/ref-types.cc: new file.
19351 * gdb.c++/ref-types2.cc: new file.
19352 * gdb.c++/userdef.cc: new file.
d63a86f8 19353
c906108c
SS
19354 * gdb.base/scope.exp: compile one file at a time, then link.
19355 * gdb.base/langs.exp: ditto.
19356 * gdb.base/list.exp: ditto.
d63a86f8 19357
c906108c
SS
19358Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
19359
19360 The following changes were made by David Taylor
889bf7c5
PA
19361 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19362 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19363 in changes by HP.
d63a86f8 19364
c906108c
SS
19365 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
19366 skip tests. When compiling pass c++ flag to gdb_compile.
19367 * gdb.c++/
d63a86f8 19368
c906108c
SS
19369 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
19370 test for on hppa*-*-hpux*; use args to see if c++ was specified.
19371 (skip_hp_tests): new function.
19372 (gdb_preprocess): new function.
19373
19374 * configure.in (hpdir): decide whether to configure gdb.hp.
19375 * configure: regenerated.
19376
19377 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
19378 to delete on clean.
19379 (EXECUTABLES): update to reflect new additions.
19380 * gdb.base/commands.exp: update message expected.
19381 * gdb.base/default.exp: add copyright notice.
19382 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
19383 * gdb.base/help.exp: update messages to reflect current text.
19384 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
19385 targets for recurse tests.
19386 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
19387 skip this file.
19388
19389 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
19390 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
19391 compilation.
19392 * gdb.c++/misc.exp: ditto.
19393 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
19394 run the tests. tell gdb_compile that it's a c++ compilation.
19395
19396 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 19397
c906108c
SS
19398 * gdb.base/all-bin.exp: new file.
19399 * gdb.base/arithmet.exp: new file.
19400 * gdb.base/assign.exp: new file.
19401 * gdb.base/completion.exp: new file.
19402 * gdb.base/cond-expr.exp: new file.
19403 * gdb.base/condbreak.exp: new file.
19404 * gdb.base/define.exp: new file.
19405 * gdb.base/dollar.exp: new file.
19406 * gdb.base/environment.exp: new file.
19407 * gdb.base/eval-skip.exp: new file.
19408 * gdb.base/jump.exp: new file.
19409 * gdb.base/logical.exp: new file.
19410 * gdb.base/pointers.exp: new file.
19411 * gdb.base/relational.exp: new file.
19412 * gdb.base/section_command.exp: new file.
19413 * gdb.base/whatis-expr.exp: new file.
19414
19415 * gdb.base/all-types.c: new file.
19416 * gdb.base/call-array-struct.c: new file.
19417 * gdb.base/call-return-struct.c: new file.
19418 * gdb.base/call-strings.c: new file.
19419 * gdb.base/callfuncs2.c: new file.
19420 * gdb.base/condbreak.c: new file.
19421 * gdb.base/constvars.c: new file.
19422 * gdb.base/display.c: new file.
19423 * gdb.base/int-type.c: new file.
19424 * gdb.base/jump.c: new file.
19425 * gdb.base/miscexprs.c: new file.
19426 * gdb.base/pointers.c: new file.
19427 * gdb.base/pointers2.c: new file.
19428 * gdb.base/shmain.c: new file.
19429 * gdb.base/shr1.c: new file.
19430 * gdb.base/shr2.c: new file.
19431 * gdb.base/solib.c: new file.
19432 * gdb.base/solib1.c: new file.
19433 * gdb.base/solib2.c: new file.
19434 * gdb.base/varargs.c: new file.
19435 * gdb.c++/derivation.cc: new file.
19436 * gdb.c++/overload.cc: new file.
19437 * gdb.c++/ovldbreak.cc: new file.
19438 * gdb.hp/attach.c: new file.
19439 * gdb.hp/attach2.c: new file.
19440 * gdb.hp/average.c: new file.
19441 * gdb.hp/compiler.c: new file.
19442 * gdb.hp/compiler.cc: new file.
19443 * gdb.hp/execd-program.c: new file.
19444 * gdb.hp/follow-exec.c: new file.
19445 * gdb.hp/follow-fork.c: new file.
19446 * gdb.hp/follow-vfork-and-exec.c: new file.
19447 * gdb.hp/misc-hp.cc: new file.
19448 * gdb.hp/more-steps.c: new file.
19449 * gdb.hp/optimize.c: new file.
19450 * gdb.hp/quicksort.c: new file.
19451 * gdb.hp/run-hp.c: new file.
19452 * gdb.hp/start-stop.c: new file.
19453 * gdb.hp/sum.c: new file.
19454 * gdb.hp/templates-hp.cc: new file.
19455 * gdb.hp/thread-local-in-lib.c: new file.
19456 * gdb.hp/thread-local-in-lib.h: new file.
19457 * gdb.hp/thread-local-in-lib.lib.c: new file.
19458 * gdb.hp/vforked-program.c: new file.
19459 * gdb.hp/virtfunc-hp.cc: new file.
19460 * gdb.hp/watchpoint-hp.c: new file.
19461 * gdb.hp/xdb.c: new file.
19462 * gdb.hp/xdb0.c: new file.
19463 * gdb.hp/xdb0.h: new file.
19464 * gdb.hp/xdb1.c: new file.
19465
19466Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19467
19468 The following change was made by Edith Epstein
889bf7c5
PA
19469 <eepstein@cygnus.com> as part of a project to merge in changes
19470 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
19471
19472 * gdb.c++/demangle.exp: changed the expected output for some
19473 ARM-style mangling -- removed second reference to datatype.
889bf7c5 19474 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 19475 T1<char>::~T1<char>(void)
c906108c 19476 becomes,
a9c64011
AS
19477 maint demangle __dt__11T1__pt__2_cFv
19478 T1<char>::~T1(void)
c906108c 19479
889bf7c5 19480 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 19481
c906108c
SS
19482Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19483
19484 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19485 * gdb.trace/backtrace.exp: Likewise.
19486 * gdb.trace/circ.exp: Likewise.
19487 * gdb.trace/collection.exp: Likewise.
19488 * gdb.trace/deltrace.exp: Likewise.
19489 * gdb.trace/infotrace.exp: Likewise.
19490 * gdb.trace/limits.exp: Likewise.
19491 * gdb.trace/packetlen.exp: Likewise.
19492 * gdb.trace/passc-dyn.exp: Likewise.
19493 * gdb.trace/passcount.exp: Likewise.
19494 * gdb.trace/report.exp: Likewise.
19495 * gdb.trace/save-trace.exp: Likewise.
19496 * gdb.trace/tfind.exp: Likewise.
19497 * gdb.trace/tracecmd.exp: Likewise.
19498 * gdb.trace/while-dyn.exp: Likewise.
19499 * gdb.trace/while-stepping.exp: Likewise.
19500
195011998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19502
19503 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19504
19505Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19506
19507 From Brendan Kehoe:
19508 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19509 int return types.
19510
19511Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19512
19513 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 19514 remote dos host testing right.
c906108c
SS
19515
19516Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19517
19518 * gdb.base/corefile.exp: remove some xfails.
19519
19520Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19521
19522 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 19523 have different timestamps.
c906108c
SS
19524
19525Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19526
19527 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 19528 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
19529
19530Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19531
19532 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 19533 delta.
c906108c
SS
19534
19535Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19536
19537 * gdb.base/default.exp: Add brace missing from previous delta.
19538
19539Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19540
19541 * gdb.base/default.exp: Support test for info float for all
19542 varieties of arm toolchain.
19543
dc96c6c7 19544Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19545
19546 * gdb.trace/*.exp: remove "remote_download" command.
19547
dc96c6c7 19548Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19549
19550 * gdb.trace/*.exp: remove -gdwarf from compile.
19551
19552Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19553
19554 * gdb.trace/configure.in(AC_INIT): typo
19555 * gdb.trace/configure: regenerated
19556
dc96c6c7 19557Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19558
19559 * config/m68k-emc.exp: New file.
19560 * lib/<emc-support.exp trace-support.exp}: New files.
19561 * configure.in: add new test directory gdb.trace.
19562 * gdb.trace/{configure configure.in Makefile.in}: New files.
19563 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19564 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19565 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19566 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19567 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19568 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19569 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 19570
dc96c6c7 19571Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19572
19573 * gdb.c++/classes.exp: Change all regular expressions to match
19574 arbitrary combinations of newline/carriage-return, so that they
19575 will work equally well on Unix and Windows.
19576 * gdb.c++/inherit.exp: ditto.
19577 * gdb.c++/virtfunc.exp: ditto.
19578
195791998-08-11 Dawn Perchik <dawn@cygnus.com>
19580
19581 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19582
c2d11a7d
JM
19583Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19584
19585 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19586 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19587 to use a0-a3/d0-d3 as needed.
19588
19589Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19590
19591 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19592 * gdb.disasm/am33.exp: Corresponding changes.
19593
c906108c
SS
195941998-07-11 Felix Lee <flee@cygnus.com>
19595
19596 * gdb.base/callfuncs.exp: add cmp10 test.
19597 * gdb.base/callfuncs.c (cmp10): new function.
19598
19599Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19600
d63a86f8 19601 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
19602 into two parts to get around a synchronization problem in expect.
19603
3fc11d3e
JM
19604Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19605
19606 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19607
19608 * configure.in: Add options for gdbtk testsuite.
19609
19610 * configure: Regenerate.
19611
19612 * gdb.gdbtk: New directory to hold gdbtk tests.
19613
c906108c
SS
19614Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19615
19616 * gdb.fortran/types.exp: Escape brackets in expect patterns
19617 for test_float_literal_types_accepted tests.
19618 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19619 before run test.
19620
c2d11a7d
JM
19621Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19622
19623 * am33.exp: Just compile, do not link the testcase.
19624 * am33.s: Add ".am33" pseudoop to force am33 mode.
19625
c906108c
SS
196261998-06-25 Felix Lee <flee@cygnus.com>
19627
19628 * gdb.base/setshow.exp: make sure $pc is sane.
19629
19630 * gdb.stabs/weird.exp: split expect patterns properly.
19631
c2d11a7d
JM
19632Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19633
19634 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19635 * gdb.disasm/am33.exp: Run it.
19636
dc96c6c7 19637Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19638
19639 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19640 match processing (and eliminate spurious timeouts when running).
19641
dc96c6c7 19642Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19643
19644 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19645 exception test, but conditionalize it on target [mach | gnu].
19646
dc96c6c7 19647Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19648
19649 * gdb.base/overlays.exp: fixup compile line for linker script.
19650
19651Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19652
19653 * gdb.fortran/types.exp: don't guess at float size.
19654
19655Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19656
19657 * gdb.base/exprs.exp: delete test that depends on int size.
19658
19659Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19660
19661 * config/sim.exp: Removed checks for target triplets.
19662 (gdb_target_sim): Use gdb,target_sim_options.
19663
19664Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19665
19666 * gdb.base/reread.exp: New file.
19667 * gdb.base/reread1.c: New file.
19668 * gdb.base/reread2.c: New file.
19669
19670Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19671
19672 * config/sim.exp: Use 'target sim -sparclite' when running
19673 SPARClite programs.
19674
19675Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19676
19677 * gdb.base/structs2.exp: New file.
19678 * gdb.base/structs2.c: New file.
19679
19680Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19681
19682 * gdb.asm/common.inc: New file.
19683 * gdb.asm/d10v.inc: New file.
19684 * asm-source.exp: Pass -I's to gas to find .inc files.
19685 Update line numbers in expected output.
19686 * asmsrc1.s: Rewrite.
19687 * asmsrc2.s: Rewrite.
19688 * configure.in: Create arch.inc symlink.
19689 * configure: Regenerate.
19690 * Makefile.in (distclean): Delete arch.inc.
19691
19692Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19693
19694 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
19695 (t_enum_value2): ditto
19696 (t_enum_value3): ditto
19697 (main): ditto
c906108c
SS
19698Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19699
19700 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19701 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19702 change.
19703 Use gdb_test instead of send_gdb/gdb_expect sequences.
19704
19705Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19706
19707 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19708 not void.
19709
19710Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19711
19712 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
19713 subroutines. Used to test gdbs ability to single step through PC
19714 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
19715
19716Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19717
19718 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19719 more rigorous EGCS C++ error checking.
19720
19721Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19722
a9c64011
AS
19723 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19724 tests.
19725 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19726 function when asleep.
19727 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19728 for i*86 Linux and SVR4 signal handling problems.
19729 Remove linux xfail for `next to handler in signals_tests_1', fixed
19730 by recent infrun.c change.
19731 Limit backtrace to 10 frames to avoid timeout problems with infinite
19732 stack backtraces.
19733 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19734 target.[ch] change.
c906108c
SS
19735
19736Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19737
19738 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19739 for a newline from gdb before continuing.
19740 (default_gdb_exit): Just look for y or n.
19741 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19742 it does, fail the rests of the tests in the file.
19743
19744Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19745
19746 * config/cygmon.exp: New file.
19747
19748Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19749
19750 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 19751 main" test on remote targets.
c906108c
SS
19752
19753 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19754 run test on remote targets.
19755
19756Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19757
19758 * gdb.asm: New directory.
19759 * configure.in: Configure it.
19760 * configure: Regenerate.
19761 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19762 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19763
19764Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19765
19766 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19767
dc96c6c7 19768Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19769
a9c64011
AS
19770 * gdb.base/overlays (several files): Merge the two overlay
19771 managers into one. Change variables (foox, barx, bazx, grbxx)
19772 back into ints but force them to load in their proper sections.
c906108c
SS
19773
19774Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19775
19776 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 19777 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
19778 (D10VCopy): Handle memory regions crossing 16k boundaries.
19779 (D10VCopy): Transfer data in 32 bit chunks.
19780
19781Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19782
19783 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 19784 correct.
c906108c
SS
19785
19786 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 19787 map. Include space for printf in .text segment.
c906108c
SS
19788
19789 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 19790 updated d10v memory VMA/LMA map.
c906108c 19791 (D10VCopy): Call D10VTranslate.
d63a86f8 19792
c906108c
SS
19793Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19794
19795 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19796
19797 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
19798 that it won't be put into the .sdata - small data -
19799 section. Update reference.
c906108c
SS
19800 * gdb.base/baz.c (bazx, baz): Ditto.
19801 * gdb.base/foo.c (foox, foo): Ditto.
19802 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19803
19804 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 19805 to be arrays.
d63a86f8 19806
dc96c6c7 19807Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19808
a9c64011
AS
19809 * gdb.base/overlays.exp: fix up and get working again.
19810 Add tests for backtraces from an overlay function.
d63a86f8 19811
c906108c
SS
19812Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19813
19814 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19815 "calling function with watchpoint enabled".
19816
19817Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19818
19819 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 19820 gdb_suppress_tests for d10v-*-*.
c906108c
SS
19821 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19822 pending review of whether it is useful or not.
19823
19824Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19825
19826 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19827
19828Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19829
19830 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19831 * config/dve.exp: New file to support Densan boards.
19832
19833Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19834
19835 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 19836 reads and BSD.
c906108c
SS
19837
19838Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19839
19840 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19841 response.
19842
19843 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19844
19845Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19846
19847 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 19848 test.
c906108c
SS
19849
19850 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 19851 target_sizeof_long and target_bigendian_p.
c906108c 19852 (structs_by_value, structs_by_reference): Check values according
889bf7c5 19853 to targets word size and endianess.
d63a86f8 19854
c906108c
SS
19855Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19856
19857 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 19858 output.
c906108c
SS
19859
19860Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19861
19862 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 19863 Update test of set args help to match source change.
c906108c
SS
19864
19865Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19866
19867 * gdb.base/default.exp: Expect help system output to be in
19868 alphabetical order.
19869 * gdb.base/help.exp: Ditto.
19870
19871Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19872
19873 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19874 "i*86-pc-linux-gnu*".
19875 * gdb.base/interrupt.exp: Ditto.
19876 * gdb.base/corefile.exp: Ditto.
19877
19878 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 19879 define vxworks when building the testcase.
c906108c
SS
19880
19881 * gdb.base/ptype.exp: Fix testnames to be unique.
19882 * gdb.base/radix.exp: Ditto.
19883 * gdb.base/term.exp: Ditto.
19884 * gdb.base/whatis.exp: Ditto.
19885 * gdb.c++/classes.exp: Ditto.
19886
19887Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19888
19889 * gdb.base/callfuncs.exp: Fix indentation.
19890
19891 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19892 suppress_flag has been set.
19893 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19894 target feature.
19895
19896Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19897
19898 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19899 the testcase.
19900
19901 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 19902 set_debug_traps() and breakpoint().
c906108c
SS
19903 * gdb.c++/misc.cc (main): Ditto.
19904 * gdb.c++/templates.cc (main): Ditto.
19905 * gdb.c++/virtfunc.cc (main): Ditto.
19906
19907Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19908
19909 * lib/gdb.exp(gdb_step_for_stub): New function.
19910 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19911 exists, reload the executable and do a "continue" instead of
19912 doing a jump.
19913 (runto_main): Use gdb_step_for_stub.
d63a86f8 19914
c906108c 19915 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 19916 tests to have unique names.
c906108c
SS
19917 * gdb.base/callfuncs.exp: Ditto.
19918 * gdb.base/commands.exp: Ditto.
19919 * gdb.base/default.exp: Ditto.
19920 * gdb.base/help.exp: Ditto.
19921 * gdb.base/list.exp: Ditto.
19922 * gdb.base/opaque.exp: Ditto.
19923 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19924 similar tests.
d63a86f8 19925
c906108c
SS
19926 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19927 * gdb.c++/cplusfuncs.cc: Ditto.
19928 * gdb.c++/virtfunc.cc: Ditto.
19929
19930 * config/monitor.exp: Keep track of the last file we saw, rather
19931 than trying to get the info from gdb.
19932
19933 * gdb.fortran/types.exp: Move comment to previous line.
19934
19935Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19936
19937 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 19938 target mode.
c906108c
SS
19939
19940Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19941
19942 From Bob Manson:
19943 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 19944 string from GDB when it connects.
c906108c
SS
19945
19946 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19947
19948Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19949
19950 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
19951 if we can't get a debug format from GDB (we may be testing an
19952 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
19953
19954 * gdb.stabs/weird.exp: Fix quoting.
19955
19956 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19957
19958Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19959
19960 * config/arm-ice.exp: New file.
19961
19962Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19963
19964 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 19965 until it has been modified to work with the new testsuite.
c906108c 19966
99707966 19967 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
19968 testcase won't compile, cause all of the testcases in the file to
19969 fail instead.
c906108c
SS
19970
19971 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19972 (gdb_clear_suppressed): New procedure.
19973 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19974 it contains a positive value.
19975
19976Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19977
19978 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19979
19980 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19981
19982Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19983
19984 * lib/gdb.exp (setup_xfail_format): New function.
19985 (get_debug_format): New function to get debug format.
19986 (debug_format): New global variable to hold last value set
19987 by get_debug_format.
19988 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 19989 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
19990 * gdb.c++/ptype.exp: Ditto.
19991 * gdb.c++/classes.exp: Ditto.
19992 * gdb.c++/cplusfuncs.exp: Ditto.
19993 * gdb.c++/inherit.exp: Ditto.
19994 * gdb.c++/templates.exp: Ditto.
19995 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 19996
c906108c
SS
19997Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19998
19999 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
20000 host doesn't have a currently-open connection.
20001
20002 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
20003 any gdb stub target. Handle cases where gdb doesn't respond when
20004 interrupted in a sane fashion.
c906108c
SS
20005
20006 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 20007 same thing in a totally different way.
c906108c
SS
20008
20009 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 20010 setting "timeout".
c906108c 20011 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 20012 default_gdb_init now.
c906108c
SS
20013
20014Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
20015
20016 * gdb.base/printcmds.exp: Fix "check for floating addition"
20017 regexp to accept results within approx +/- .01 of exact value.
20018 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
20019
20020Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
20021
20022 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 20023 properly.
c906108c
SS
20024 (gdb_expect): Add optional timeout parameter, and add timeout
20025 value to various calls.
20026 (gdb_suppress_tests): Only give one warning message per group.
20027
20028Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
20029
20030 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
20031 global variables. Handle getting a value for $timeout more
20032 gracefully.
c906108c
SS
20033
20034Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20035
20036 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 20037 initialize.
c906108c 20038 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 20039 by a target configuration file.
c906108c
SS
20040 (gdb_expect): Pass the timeout to remote_expect.
20041
20042 * config/monitor.exp(gdb_load): Fix typo in regexp.
20043
20044Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
20045
20046 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
20047
20048Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
20049
20050 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
20051 here. Call gdb_target_exec before rebooting the target, to make
20052 sure the connection to the target is closed.
c906108c
SS
20053 (gdb_load): Pass the name of the executable to gdb_target_monitor.
20054 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
20055 Also detect "Timeout reading from remote" error.
20056
20057 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
20058 gdb_target_monitor. Don't call gdb_file_cmd here; let
20059 gdb_target_monitor do it.
c906108c
SS
20060
20061 * gdb.disasm/hppa.exp: Don't use exec_output.
20062
20063Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
20064
20065 * gdb.base/list.exp: If we're debugging a non-native target,
20066 try to set the pc register to point to the start of the
20067 program before doing the first list command.
20068
20069 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 20070 test_calls after restarting.
c906108c
SS
20071
20072 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 20073 reloading.
c906108c
SS
20074
20075 * gdb.base/watchpoint.exp: Fix typo.
20076
20077 * gdb.base/setshow.exp: Check for use_gdb_stub.
20078
20079 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 20080 stub case.
c906108c
SS
20081 * gdb.base/langs.exp: Ditto.
20082
20083 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
20084 gdb_load_offset. If we weren't given a file to load, figure out
20085 what the current file is and use it.
c906108c
SS
20086
20087 * config/i386-bozo.exp: New file.
20088
20089Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
20090
20091 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
20092 feature.
20093
20094 * config/proelf.exp: New entry.
20095
20096Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
20097
20098 * lib/gdb.exp: Remove spurious .* patterns at the beginning
20099 of regexps.
20100
20101 * gdb.base/watchpoint.exp: Don't run the test_stepping
20102 tests if gdb can't call functions on the target.
20103
20104 * gdb.base/setshow.exp: Don't run the set prompt tests if
20105 the board has gdb_prompt set.
20106
20107Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
20108
20109 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
20110 * gdb.base/commands.exp: Likewise.
20111 * gdb.base/setshow.exp: Likewise.
20112
20113Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
20114
20115 * config/monitor.exp(gdb_start): Look for gdb_prompt target
20116 feature.
20117
20118 * config/i960.exp: New file.
20119
20120Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
20121
20122 * gdb.base/funcargs.exp: Check for gdb,short_int target
20123 feature instead of looking for explicit target triplets.
20124
dc96c6c7 20125Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 20126
d63a86f8 20127 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
20128 "p 123DEADBEEF", to check parse_number.
20129 * top.c: change "to enable to enable" to "to enable" in a couple
20130 of help strings.
20131
20132Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
20133
20134 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
20135 on the mn10300.
d63a86f8 20136
c906108c
SS
20137Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
20138
20139 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
20140 where the test executable is run with explicit args.
20141 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
20142
20143Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
20144
20145 * gdb.base/run.c: Use FAKEARGV to build test executable that
20146 does not require a command line arg, since most simulators
20147 don't currently support passing such an arg into the simulated
20148 program.
20149 * gdb.base/commands.exp: Change tests to insert the proper
20150 value as the arg to the first recursive factorial call. Change
20151 compilation line to define FAKEARGV at compile time.
20152
20153Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
20154
20155 * gdb.base/recurse.exp: Enable these tests for the mn10300.
20156 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
20157 function with watchpoint enabled" test.
20158
20159Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
20160
20161 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 20162 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
20163
20164 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 20165 "Tests restarted" messages.
c906108c
SS
20166
20167Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
20168
20169 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
20170
dc96c6c7 20171Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20172
20173 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
20174 for INFO SYMBOL; add help tests for OVERLAY commands.
20175 * gdb.base/default.exp: add tests for INFO SYMBOL command;
20176 add tests for OVERLAY commands
20177 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
20178 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
20179 * gdb.base/sigall.c: add usestubs code frag
20180 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 20181
c906108c
SS
20182Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
20183
20184 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
20185 failures.
20186 (gdb_stop_suppressing_tests): Note that tests have restarted.
20187
20188Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
20189
20190 * config/h8300.exp: New file.
20191
20192Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
20193
20194 * gdb.base/setshow.exp: Check for the existence of a
20195 feature, not its value.
20196
20197Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
20198
20199 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
20200
20201 * gdb.base/scope.exp: It's now init0(), not init().
20202
20203 * gdb.base/scope0.c: For now, change init() to be init0().
20204
20205 * config/monitor.exp: Use gdb_serial in preference to serial
20206 or netport.
20207
20208 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 20209 and it's not already set.
c906108c
SS
20210
20211Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
20212
20213 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 20214 isn't using a stub and if it supports argument passing.
c906108c
SS
20215
20216Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
20217
20218 * config/udi.exp(gdb_start): Make sure UDICONF is set
20219 properly before starting gdb.
20220
20221Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
20222
20223 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
20224 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
20225 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
20226
20227Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
20228
20229 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 20230 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
20231
20232 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
20233
20234 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
20235
20236 * config/monitor.exp: Make sure we disconnect from the target.
20237 Also, try a reboot/reload cycle instead of failing if the
20238 load fails.
20239
20240Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
20241
20242 * gdb.base/default.exp: Don't set match_max.
20243 * gdb.base/help.exp: Ditto.
20244 * gdb.base/list.exp: Ditto.
20245 * gdb.base/signals.exp: Ditto.
20246
20247 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
20248 set, use remote_ld to download the testcase instead of
20249 the GDB loader.
20250
20251Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
20252
20253 * config/vr5000.exp: New file.
20254
20255 * config/monitor.exp(gdb_target_monitor): Add pattern for
20256 "Ending remote" to detect errors in connecting.
20257
20258 * gdb.base/setshow.exp: Add .* within auto language test.
20259
20260 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
20261 target feature.
20262
20263 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 20264 and reboot the board if necessary.
c906108c
SS
20265
20266 * gdb.base/setvar.exp(test_set): Handle multiple prints within
20267 a set of tests. Remove print.* from the patterns being checked.
20268
20269Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
20270
20271 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
20272 refer to gdb_spawn_id.
20273
20274 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
20275 longer used.
20276 * config/sparclet.exp: Ditto.
20277 * config/sparclet-old.exp: Ditto.
20278 * config/slite.exp: Ditto.
20279 * config/sim.exp: Ditto.
20280 * gdb.base/funcargs.exp: Ditto.
20281
20282 * lib/gdb.exp:Remove references to gdb_spawn_id.
20283 (gdb_expect): Move to remote.exp.
20284
20285Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
20286
20287 * config/monitor.exp: Detect the "Couldn't establish connection"
20288 message from GDB.
20289
20290Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
20291
20292 * gdb.base/bitfields.exp: Use runto instead of explicit
20293 gdb_run_cmd/gdb_expect sequences.
20294
20295 * gdb.base/break.exp(text_next_with_recursion): Add match for
20296 gdb_expect call.
20297
20298 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
20299 We also need to handle the "A program is being debugged already"
20300 prompt from gdb. Use gdb_test to set the baud rate.
20301
20302 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
20303 to 20000. Really. I mean it.
20304
20305Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20306
20307 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
20308 fails. If suppress_flag is set, skip perror message about not
20309 being able to send to GDB.
c906108c 20310 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 20311 GDB.
c906108c
SS
20312 (gdb_expect): If suppress_flag is set, always fail immediately.
20313 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
20314 (gdb_init): Call gdb_stop_suppressing_tests.
20315 (default_gdb_exit): Ditto.
20316 (default_gdb_start): Ditto.
20317
20318 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 20319 gdb_stop_suppressing_tests as appropriate.
c906108c 20320 * gdb.base/break.exp: Ditto.
889bf7c5 20321 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
20322 * gdb.base/commands.exp: Ditto.
20323 * gdb.base/exprs.exp: Ditto.
889bf7c5 20324 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
20325 * gdb.base/list.exp: Ditto.
20326 * gdb.base/recurse.exp: Ditto.
889bf7c5 20327 * gdb.base/scope.exp: Ditto.
c906108c
SS
20328 * gdb.base/structs.exp: Ditto.
20329 * gdb.c++/inherit.exp: Ditto.
20330
20331Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
20332
20333 * config/vr4300.exp: New file.
20334
99707966 20335 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 20336
99707966 20337 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
20338
20339Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
20340
20341 * lib/gdb.exp(gdb_init): New function.
20342
20343 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 20344 for each individual variable set.
c906108c
SS
20345
20346 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
20347 name.
20348
20349 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
20350
20351 * gdb.base/scope.exp: Use gdb_test.
20352
20353 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
20354 aborting; the testsuite driver will do that for us (see
20355 gdb_finish). Also, use gdb_test in a few more places.
20356
20357Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
20358
20359 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20360
20361Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
20362
20363 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
20364 and "add_tests" are not at the same address.
20365
20366Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
20367
20368 * gdb.base/ptype.exp: Use gdb_test.
20369
20370Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
20371
20372 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
20373 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
20374 left in. No longer expect them to fail.
20375
20376 * gdb.stabs/*.mt; Deleted, no longer used.
20377 * gdb.stabs/configure.in: Remove references to target makefile
20378 frags.
20379 * gdb.stabs/configure: Rebuilt.
20380
20381 * gdb.disasm/*.mt: Deleted, no longer used.
20382 * gdb.disasm/configure.in: Remove references to target makefile
20383 frags. Use "sh3.s" as the unique filename for this directory.
20384 * gdb.disasm/configure: Rebuilt.
20385
20386 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
20387 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
20388 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
20389
20390Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
20391
20392 * config/udi.exp: Use mondfe,name instead of remote_host.
20393
20394Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
20395
20396 * gdb.base/watchpoint.exp: Don't expect a failure when calling
20397 a function with a watchpoint enabled on the mn10200.
20398
20399 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
20400 before trying to create it!
20401
20402Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
20403
20404 * config/vx.exp: Use hostname instead of netport.
20405
20406 * config/vxworks.exp: New file.
20407
20408 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
20409
20410 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 20411 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
20412 occurs.
20413
20414 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
20415 $gdb_spawn_id directly.
20416 (gdb_run_cmd): Try _start as well as start. Use the target feature
20417 gdb,start_symbol as the symbol to start from when jumping.
20418
20419Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
20420
20421 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
20422 redundant) test.
20423
20424 * gdb.base/recurse.exp: Relax final value test for 'b' so that
20425 it doesn't lose for 16bit integer systems.
20426
20427Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
20428
20429 * gdb.fortran/types.exp: If the target doesn't support "double"
20430 data types, then expect "real" types to only be 4 bytes.
20431
20432 * gdb.c++/virtfunc.exp: Expect failure for virtual function
20433 call tests if the target doesn't support inferior function calls.
20434
20435 * gdb.base/printcmds.exp: Allow minor deviation in FP values
20436 in printf tests.
20437
20438Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20439
20440 * gdb.base/help.exp: Disable "help set", "help show", and
20441 "help support". Simplify regexp for "help stack".
20442
20443 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20444 to 60 seconds. Temporarily set match_max to 15000 around the
20445 "info copying" test.
20446
20447 * gdb.base/nodebug.exp: Don't try to do an inferior function
20448 call if the target doesn't support them.
20449 * gdb.base/printcmds.exp: Likewise.
20450 * gdb.base/setvar.exp: Likewise.
20451 * gdb.base/structs.exp: Likewise.
20452 * gdb.c++/templates.exp: Likewise.
20453 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20454
20455 * gdb.base/recurse.exp: Enable for the mn10200.
20456
20457 * configure.in: Do configure gdb.stabs directory for *-*-elf
20458 targets.
20459 * configure: Rebuilt.
20460
20461 * gdb.base/break.exp: Check for gdb,noresults before testing
20462 exit status and/or results from the target.
20463 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20464 * lib/gdb.exp: Remove old (now bogus) initialization of
20465 noinferior, noargs, noresults and nosignals.
20466
20467Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20468
20469 * config/sh.exp: New file.
20470
20471 * config/slite.exp: Try to connect multiple times to the board
20472 before rebooting. Only send a "monitor run" if need_monitor_run
20473 is set.
20474
20475 * gdb.base/break.exp: Don't do the "stub continue" test if
20476 the target has gdb_stub set.
20477
20478 * gdb.base/callfuncs.exp: Increase the timeout.
20479
20480 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20481 if the target has gdb,noinferiorio set.
20482
20483 * gdb.base/list.exp: Increase match_max to 10000 characters.
20484
20485 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20486
20487 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20488 target.
20489
20490 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20491
20492Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20493
20494 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
20495 trying to delete the copy of gdb. Catch the file delete so we
20496 don't die if the delete fails; also, the file should be copied to
20497 the host, not to the build.
c906108c
SS
20498
20499Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20500
20501 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 20502 parenthesis in case it contains multiple regexps separated
c906108c
SS
20503 with |.
20504
20505 * gdb.base/watchpoint.exp: Use gdb_test.
20506 * gdb.base/default.exp: Ditto.
20507
20508Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20509
99707966 20510 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 20511
c906108c
SS
20512 * gdb.base/scope.exp: Use gdb_test.
20513 * gdb.c++/classes.exp: Ditto.
20514 * gdb.c++/inherit.exp: Ditto.
20515
20516Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20517
20518 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20519 remote_exec instead.
20520 * gdb.base/corefile.exp: Don't be ridiculous.
20521 * gdb.base/*.c: Add missing stub invocations.
20522
20523Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20524
20525 * config/slite.exp: Miscellaneous fixes.
20526
20527 * lib/gdb.exp: Fix runto.
20528
20529 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20530 the target.
20531
20532 * gdb.base/watchpoint.exp: Fix regexp.
20533
20534 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20535 close and wait commands, as the descriptor may now be
20536 invalid. Always call "remote_close host".
20537
20538Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20539
20540 Major rewrite for testsuite revision.
d63a86f8 20541
c906108c
SS
20542 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20543 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20544 instead of relying on spawn_id to always contain a valid
20545 spawn id.
20546 (get_compiler_info): New procedure to build the ${binfile}.ci
20547 file, instead of replicating this in N different places.
20548 (gdb_compile): New procedure.
d63a86f8 20549
c906108c 20550 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
20551 appropriate arguments) instead of compile. Use gdb_test in a lot
20552 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
20553 at the start of a testcase, as this is no longer done magically.
20554
20555 config/*-gdb.exp: Rename without the -gdb suffix.
20556
20557 config/mips.exp: Use remote_close instead of exit_remote_shell.
20558 config/monitor.exp: Use target_info instead of looking at
20559 baud, timeout, etc.
20560 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20561
20562Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20563
20564 * gdb.c++/templates.exp (test_ptype_of_templates),
20565 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20566 Update expect patterns for destructors and assignment operators
20567 to match corresponding c-typeprint.c changes.
20568 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20569 to destructor breakpoint test, GDB should be able to set the
20570 destructor breakpoint without specifying arguments.
20571
20572Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20573
20574 * gdb.threads/pthreads.exp: Change result for failure to compile due
20575 to lack of pthreads runtime support from an error to simply an
20576 unsupported test, per dejagnu standards.
20577
20578Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20579
20580 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20581 where GDB exits to reduce pattern match time.
20582 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20583
20584 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20585
dc96c6c7 20586Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20587
20588 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20589 * gdb.base/default.exp: ditto.
20590 * gdb.base/nodebug.exp: ditto.
20591 * gdb.base/printcmds.exp: ditto.
20592 * gdb.base/ptype.exp: ditto.
20593 * gdb.base/setvar.exp: ditto.
20594 * gdb.base/structs.exp: ditto.
20595 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20596
20597Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20598
20599 * configure, */configure: Rebuild with autoconf 2.12.
20600
20601Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20602
20603 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20604 use new i*86-pc-linux*-gnu quads.
20605 * gdb.base/corefile.exp: Ditto.
20606 * gdb.base/signals.exp: Ditto.
20607 * gdb.base/sigall.exp: Ditto.
20608 * gdb.base/interrupt.exp: Ditto.
20609
20610 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20611 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20612 RedHat 4.0.
d63a86f8 20613
c906108c 20614 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
20615 linux. This allows the test case to at least compile on latest
20616 linux, but still not run due to missing the threads runtime library.
c906108c
SS
20617
20618Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20619
20620 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20621 directory to search gdb directory. Accept and step over conditional
20622 stack alignment code. Consume $prompt in failure cases.
20623 Reset timeout to $oldtimeout instead of some arbitrary value.
20624 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20625 timeout problems with infinite stack backtraces.
20626 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20627 Accept function parameters for linkfunc member.
20628
20629Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20630
20631 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20632 (CXXFLAGS): Remove, unreferenced.
20633 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
20634 previous -B options and also add -B option to pick up cross compiled
20635 runtime.
c906108c
SS
20636 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20637 doing cross compiles.
20638 (target_alias): Declare global.
20639 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20640 to verify that gcc exists in build tree, and if so set CC to that
20641 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 20642
c906108c
SS
20643Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20644
20645 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20646 ptype test for anonymous union. Fixup testcase to match
20647 current gcc debug output.
20648
20649Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20650
20651 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20652 force argument to an unsigned long type.
20653
20654Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20655
20656 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 20657 tests and anonymous union print/ptype tests.
c906108c
SS
20658 * gdb.base/list.exp (test_forward-search): Increase timeout by
20659 5 minutes for the "search extremely long line" case.
20660 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20661 completely optional and that the pass/fail messages use the command as
20662 the message if that third arg is a null string.
20663 (gdb_test_exact): Arrange that a null string pattern means match a
20664 null string output rather than any output, which might include random
889bf7c5 20665 errors.
c906108c
SS
20666 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20667 backtrace test.
20668 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20669 always failing and failure is now exposed by gdb.exp changes.
20670
20671Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20672
20673 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20674 weren't being noted.
20675
20676Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20677
20678 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20679 * gdb.stabs/weird.exp: Remove v_comb xfails.
20680
dc96c6c7 20681Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20682
20683 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 20684 list.exp scope.exp watchpoint.exp]
c906108c 20685 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 20686
dc96c6c7 20687Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20688
20689 * config/monitor.exp: Increase download timeout to 1000 seconds.
20690
dc96c6c7 20691Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20692
20693 * config/m32r.exp: Increase timeout to 120 seconds.
20694
20695Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20696
20697 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20698 and accept older ordering as obsolescent gcc or gdb.
20699 * gdb.c++/templates.exp: Ditto.
20700 * gdb.c++/virtfunc.exp: Ditto.
20701
20702Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20703
20704 * gdb.base/coremaker.c: Add code to mmap some data so we
20705 can check that it ends up in the core file.
20706 * gdb.base/corefile.exp: Add test to read mmapped data
20707 from core file.
20708
dc96c6c7 20709Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20710
20711 * config/m32r.exp: New file.
20712
20713Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20714
20715 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20716 that cflags can contains -gstabs, and work correctly for other tests.
20717
dc96c6c7 20718Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20719
20720 * gdb.base/setshow.exp: New file, tests show and set.
20721 * gdb.base/setshow.c: New file, tests show and set.
20722 * gdb.base/help.exp: Add test for help set|show annotate.
20723 * gdb.base/default.exp: Add test for set|show annotate.
20724
20725Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20726
20727 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20728 errors unique.
20729 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20730 explicitly.
20731
20732Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20733
20734 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20735 and width commands. This is done elsewhere.
20736 * (gdb_start): Don't call gdb_start_sim here. That's already
20737 done in gdb_load. This fixes lots of failures in default.exp.
20738
20739Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20740
20741 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20742 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20743 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20744 in the same we we treat other failures (since it may be an expected
889bf7c5 20745 condition), rather than as an error.
c906108c
SS
20746 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20747 old test format.
20748
20749Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20750
20751 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20752 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 20753 twice. Nuke the duplicates.
c906108c 20754 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 20755 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
20756 Remove config.h along with other config files.
20757
20758Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20759
20760 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20761 "p func1 ()" and note that rests of tests are skipped.
20762 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20763 setup_xfails for "print func2::coremaker_local".
c906108c
SS
20764 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20765 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20766 affected by the previous run test.
20767 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20768 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20769 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20770 "pass int powerset tuple" and "pass modeless int powerset tuple".
20771 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20772 "real write 4" and "real write 8".
20773 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20774 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
20775 "print \$i after tuple assign 2", and
20776 "print vs2 after tuple assign 2".
20777 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20778 meaningful error message and return -1 so the caller can
20779 suppress further tests and avoid a cascade of errors.
d63a86f8 20780
c906108c
SS
20781Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20782
20783 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20784 format for printing version.
20785 * gdb.base/default.exp: Ditto.
20786 * gdb.base/interrupt.exp: Fix problem with cascade of
20787 errors if child process dies while calling a function.
d63a86f8 20788
c906108c
SS
20789Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20790
20791 * Makefile.in (VPATH): Add
20792 * Makefile.in (Makefile, config.status): Fix rules so things get
20793 remade when necessary.
20794
20795Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20796
20797 * Makefile.in (just-check): Add path to sibling expect dir
20798 to environment variable specified by RPATH_ENVVAR.
20799
20800Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20801
20802 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20803 (just-check): Add shared library paths for libstdc++, tk,
20804 tcl, bfd, and opcodes to the environment variable specified
20805 in RPATH_ENVVAR.
20806 * configure.in: Add support to recognize --enable-shared flag
20807 and generate correct value for RPATH_ENVVAR.
20808 * configure: Regenerated with autoconf.
20809
20810Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20811
20812 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 20813 include all osf versions.
c906108c
SS
20814 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20815 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20816 when target is linux. When failing to build pthreads test
20817 executable, give more meaningful message.
20818 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20819 arg for pthread_create.
d63a86f8 20820
c906108c
SS
20821Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20822
20823 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 20824 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 20825 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 20826 and -lpthreads (everybody else).
c906108c
SS
20827 (test_startup): Fail gracefully if threads are not supported.
20828 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20829 "p/c array_index("abcdef",2)" when not gcc compiled.
20830 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20831 "print func2::coremaker_local" when not gcc compiled.
20832 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20833 "ptype on opaque struct tagname (statically)",
20834 "ptype on opaque struct tagname (dynamically) 1", and
20835 "ptype on opaque struct tagname (dynamically) 2"
20836 for not compiled with gcc.
20837 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20838 backtrace when compiled with gcc.
d63a86f8 20839 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
20840 than always return success.
20841
20842Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20843
20844 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20845
20846Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20847
20848 * gdb.base/structs.exp: Undo last change.
20849
20850Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20851
20852 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20853 encapsulate all the steps/nexts done during self test, starting
20854 at main, and makes them less sensitive to optimization issues.
20855 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20856 signal handler" test.
20857 * gdb.threads/pthreads.exp: Only run this for native configs.
20858 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20859 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20860 tests.
20861 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20862 for "runto test_calls(void)" test.
d63a86f8 20863
c906108c
SS
20864Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20865
20866 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20867 and don't expect address info in breakpoint confirmations.
20868
20869Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20870
20871 * gdb.base/list.exp (test_forward_search): Increase timeout
20872 temporarily by 60 seconds for searching extremely long line,
889bf7c5 20873 and then reset to old value when done. Increase expect input
c906108c
SS
20874 buffer to 10000.
20875
20876Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20877
20878 * gdb.base/list.exp (test_forward_search): Fix to handle very
20879 long source line without overflowing expect's input buffer.
20880
20881Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20882
20883 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20884 "buffer_full".
20885
20886 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20887 "buffer_full".
20888
20889 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20890 "buffer_full".
20891
20892 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20893 "buffer_full".
20894
20895Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20896
20897 * configure.in (configdirs): Add gdb.threads.
20898 * configure: Regenerated with autoconf.
20899 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20900 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20901 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 20902
c906108c
SS
20903Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20904
20905 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20906
20907Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20908
20909 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20910 each signal's status in the output of "handle all print".
20911 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20912 the \r\n sequence that immediately precedes the gdb prompt.
20913 * gdb.base/a1-selftest.exp: Save original timeout and restore
20914 after test.
20915
20916Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20917
20918 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20919 symbol.
20920
20921Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20922
20923 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20924
20925Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20926
20927 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20928 timeout by 60 seconds.
20929
20930Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20931
20932 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20933 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20934 error return.
20935
20936Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20937
20938 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20939 gdb initialization, also report how long dejagnu waited. Restore
20940 old timeout before doing error return. Temporarily increase timeout
889bf7c5 20941 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
20942
20943Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20944
20945 * lib/gdb.exp: Report timeout value for verbosity level 2.
20946 * config/gdbserver.exp: Ditto.
20947 * config/hppro.exp: Ditto.
20948 * config/mips-gdb.exp: Ditto.
20949 * config/monitor.exp: Ditto.
20950 * config/netware.exp: Ditto.
20951 * config/sim-gdb.exp: Ditto.
20952 * config/slite-gdb.exp: Ditto.
20953 * config/udi-gdb.exp: Ditto.
20954 * config/unix-gdb.exp: Ditto.
20955 * config/vx-gdb.exp: Ditto.
20956 * gdb.base/a1-selftest.exp: Ditto.
20957 * gdb.base/a2-run.exp: Ditto.
20958 * gdb.base/break.exp: Ditto.
20959 * gdb.base/corefile.exp: Ditto.
20960 * gdb.base/list.exp: Ditto.
20961 * gdb.base/recurse.exp: Ditto.
20962 * gdb.base/scope.exp: Ditto.
20963 * gdb.base/signals.exp: Ditto.
20964
20965Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20966
20967 * gdb.threads/Makefile.in (docdir): Removed.
20968
20969Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20970
20971 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 20972 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 20973 @srcdir@.
d63a86f8 20974 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
20975 autoconf 2.5 or higher.
20976 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20977
20978Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20979
20980 * configure: Regenerated.
20981 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20982 avoid name clashes with SunOS headers.
20983
20984Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20985
20986 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20987
20988Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20989
20990 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20991 prototype information ends up in the compiler info file.
20992
20993Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20994
20995 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20996 attempting to regenerate it. Eliminate use of a temporary file
20997 and just generate the info file directly. Source it immediately,
20998 for consistency of use.
20999 * gdb.base/corefile.exp: Ditto
21000 * gdb.base/exprs.exp: Ditto.
21001 * gdb.base/funcargs.exp: Ditto.
21002 * gdb.base/langs.exp: Ditto.
21003 * gdb.base/list.exp: Ditto.
21004 * gdb.base/mips_pro.exp: Ditto.
21005 * gdb.base/nodebug.exp: Ditto.
21006 * gdb.base/opaque.exp: Ditto.
21007 * gdb.base/ptype.exp: Ditto.
21008 * gdb.base/scope.exp: Ditto.
21009 * gdb.base/setvar.exp: Ditto.
21010 * gdb.base/signals.exp: Ditto.
21011 * gdb.base/whatis.exp: Ditto.
21012 * gdb.c++/templates.exp: Ditto.
21013 * gdb.c++/virtfunc.exp: Ditto.
21014 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 21015 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
21016
21017Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21018
21019 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
21020 it got fixed by the recent lookup_minimal_symbol_by_pc change.
21021 Increase timeout, a lot of single stepping might be needed if the
21022 target has no hardware watchpoints.
21023
21024Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
21025
21026 * gdb.base/break.exp: Ignore compiler warnings when compiling
21027 break.c.
21028 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
21029 * gdb.base/default.exp: Add h8300 xfails. Handle messages
21030 from remote-sim.
21031 * gdb.base/exprs.exp: Add h8300 xfails.
21032 * gdb.base/funcargs.exp: Likewise.
21033 * gdb.base/nodebug.exp: Likewise.
21034 * gdb.base/printcmds.exp: Likewise.
21035 * gdb.base/ptype.exp: Likewise.
21036 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
21037 h8300 xfails.
d63a86f8 21038 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
21039 on the h8300.
21040 * gdb.base/funcargs.c: Explicitly make last constant argument to
21041 call_after_alloca_subr an unsigned long type.
21042 * gdb.base/return.c: Include stdio.h.
21043
21044Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
21045
21046 * config/abug.exp: New file for the older Motorola Bug monitor
21047 that runs on the mvme13x series VME boards.
21048 * config/monitor.exp: Use the new config array for target settings
21049 if they exist.
21050
21051Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
21052
21053 * sim-gdb.exp: Make the SH simulator allocate less space when
21054 it is targeted.
21055
21056Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
21057
21058 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
21059 test.
21060
21061Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
21062
21063 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
21064 "rs6000-*-*" for "list function in include file" when gcc compiled.
21065 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
21066 for "p ctable1[120]".
21067 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
21068 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
21069 Remove setup_xfail for "rs6000-*-*" for
21070 "print 'scope0.c'::filelocal before run".
21071 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
21072 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
21073 since some compilers don't allow both options to be given
21074 on the same command line. Create object file and move it.
d63a86f8 21075
c906108c
SS
21076Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
21077
21078 * gdb.base/corefile.exp: Always regenerate the core file, since
21079 we always regenerate the coremaker program. Detect special case
21080 where registers cannot be read from core file.
d63a86f8 21081
c906108c
SS
21082Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
21083
21084 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
21085 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
21086 * gdb.c++/templates.exp: Only match on basename of file since
21087 some formats like xcoff don't encode directory information.
21088 * gdb.stabs/weird.exp: Use the right sed script for powerpc
21089 and rs6000 AIX xcoff targets.
21090 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
21091 * configure: Regenerate.
21092 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
21093 here, rather than in distclean.
d63a86f8 21094
c906108c
SS
21095Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
21096
21097 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
21098 defined, and use it to compile the test case with -O2. The
21099 native compilation still uses no optimization.
21100 * gdb.base/mips_pro.c: Remove inline assembly code since
21101 it is compiled PIC by default, which results in assembler
21102 warnings that make the testsuite think the compilation
21103 was unsuccessful.
21104
21105Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
21106
21107 * gdb.c++/misc.exp: Add note to message for
21108 "print s.a for foo struct" that this is a known gcc 2.7.2
21109 and earlier bug.
21110
21111Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
21112
21113 * gdb.base/break.exp: Fix pattern for matching "Delete all
21114 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
21115 setup_xfail for deleting all breakpoints test. Fix various
21116 timeout messages to include "(timeout)".
21117 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
21118 for "p t_float_values2(3.14159,float_val2)".
21119 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
21120 for "continue to call2g" when gcc compiled.
21121 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
21122 "up to foo in langs.exp", "show language at foo in langs.exp",
21123 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
21124 and "show language at fsub in langs.exp".
21125 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
21126 "list line 1 in include file", "list message for lines past EOF",
21127 "list function in include file", "list list0.h:foo", and
21128 "list filename:function; nonexistant function".
21129 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
21130 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
21131 and "ptype t_char_array" to be for native cc only.
d63a86f8 21132
c906108c
SS
21133Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
21134
d63a86f8 21135 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 21136 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 21137 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
21138
21139Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
21140
21141 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
21142 "bt in signals.exp". This problem only appears when running
21143 the testsuite, and then only intermittently.
21144
21145Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
21146
21147 * gdb.base/return.exp (return_tests): Differentiate between
21148 two tests of continuing.
21149
21150Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
21151
21152 * */Makefile.in (maintainer-clean): Remove config.log.
21153 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
21154 * gdb.c++/Makefile.in (PROGS): Add inherit.
21155 (clean): Remove *.ci.
21156
21157Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
21158
21159 * gdb.c++/misc.cc: Add test code from Mike Stump.
21160 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
21161
21162Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
21163
21164 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
21165 to "alpha-*-osf2*" and add comment.
21166 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
21167 setup_xfail for "step over execarg initialization" and
21168 "step over corearg initialization".
c906108c
SS
21169 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
21170 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
21171 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 21172 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
21173 "print func2::coremaker_local", and "backtrace in corefile.exp".
21174 * gdb.base/signals.exp: Build and source signals.ci.
21175 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
21176 to be for gcc only.
21177 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 21178
c906108c
SS
21179Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21180
21181 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
21182 Feb 3 procfs.c change.
21183
21184Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
21185
21186 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
21187
21188Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
21189
21190 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
21191 from dejagnu's apparent default of 10 seconds, which gives random
21192 results when running the tests over NFS on moderately loaded systems.
21193 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
21194
21195Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
21196
21197 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
21198 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 21199 result reports.
c906108c
SS
21200
21201Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
21202
21203 * configure.in (CY_AC_PATH_TCLH): Remove.
21204 * configure: Regenerate.
21205
21206Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
21207
21208 * gdb.c++/Makefile.in (clean): Add missing '{'.
21209
21210Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
21211
21212 * lib/gdb.exp: Provide a default value for noinferior.
21213
21214 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
21215 Load libgloss.exp.
21216
21217Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
21218
21219 * gdb.disasm/hppa.exp: Compile directly into an executable, use
21220 the executable, not the .o to run the tests from.
21221
21222Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
21223
21224 * gdb.base/break.exp: Don't test for program exit or exit status
21225 if $noresults if nonzero.
21226 * gdb.base/langs.exp: Likewise.
21227 * gdb.base/watchpoint.exp: Likewise.
21228
21229 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
21230 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
21231 trying to compile the testcase.
21232
21233Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
21234
21235 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
21236 * gdb.base/signals.exp (continue to handler): Likewise.
21237
21238Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
21239
21240 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
21241
21242 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
21243
21244Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
21245
21246 * gdb.base/corefile.exp: Recognize "not found" as failure
21247 when trying to determine if a core file was generated.
21248 If no core file was generate the first time, try again without
21249 the ulimit -c to work around braindamaged shells.
21250
21251Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
21252
21253 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
21254 [] tests with "test" and enclose string in quotes.
21255 * gdb.stabs/configure: Rebuild
d63a86f8 21256
c906108c
SS
21257Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
21258
21259 Changes in sync with expect:
21260 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
21261 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
21262 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
21263 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
21264 argument to AC_REQUIRE.
21265 * configure: Regenerated.
21266
21267Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
21268
21269 * gdb.base/corefile.exp: When generating a core, discard any
21270 error messages about ulimit not found and the "core dumped"
21271 message from the shell that runs the coredumper.
21272
21273Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
21274
21275 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
21276
21277 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
21278 which sed script to run. Expect failure for v_comb test
21279 on PA targets too.
d63a86f8 21280
c906108c
SS
21281Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
21282
21283 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 21284 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
21285
21286Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
21287
21288 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
21289 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 21290 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
21291 * lib/gdb.exp (default_gdb_start): Fix typo.
21292 * gdb.base/corefile.exp: Allow "Core was generated by ..."
21293 messages to not include the full program name that caused
21294 the core dump since some systems (such as solaris) apparently
21295 truncate this path to about 80 characters.
21296 When generating a core file first try increasing the core file
21297 size limit to unlimited since some systems may default it to
21298 zero, and it is harmless to try it. Move the test for failing
21299 to generate a core file to where it will actually get executed.
21300 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
21301 new gdb result from g++ debug info improvements and make old
21302 pattern obsolescent. Also account for size_t differences
21303 (may be int or long).
21304 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
21305 initialization before function call is placed in the delay slot
21306 and thus appears to be skipped over by commands such as "next".
21307
21308Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21309
21310 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
21311
21312Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
21313
21314 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
21315 input source file; fix code to compile test to deal with this
21316 convention.
21317 * gdb.c++/*.exp: Likewise.
21318
21319Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
21320
21321 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
21322 "bt in signals.exp".
21323
21324Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
21325
21326 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
21327 "step over execarg initialization" and
889bf7c5 21328 "step over corearg initialization".
c906108c
SS
21329
21330Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
21331
21332 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
21333 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
21334
21335Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
21336
21337 From Rob Savoye (rob@poseidon.cygnus.com)
21338 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
21339 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
21340 configure.in}, gdb.disasm/{Makefile.in, configure.in},
21341 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
21342 configure.in}: Major reworking for autoconfig.
c906108c
SS
21343 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
21344 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 21345 New files.
c906108c
SS
21346 * config/unix-gdb.exp: Make GDB global.
21347 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
21348 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
21349 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
21350 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
21351 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
21352 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 21353 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
21354 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
21355 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
21356 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
21357 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 21358 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
21359 to returns as necessary, arrange for test to compile own testcase
21360 executable.
c906108c 21361 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 21362
c906108c
SS
21363Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
21364
21365 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 21366 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
21367 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
21368 "backtrace through signal handler".
21369
21370Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21371
21372 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
21373 continuing from a job control stop signal.
21374 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
21375
21376Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
21377
21378 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
21379 * gdb.base/corefile.exp: Likewise.
21380 * gdb.base/funcargs.exp: Likewise.
21381
21382Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
21383
21384 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
21385 * config/monitor.exp: Add support for setting baud rate.
21386
21387Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
21388
21389 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
21390 i*86-*-linux* xfails for "backtrace through signal handler".
21391 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
21392 "print func2::coremaker_local".
21393 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 21394 alpha-dec-osf2* xfail for
c906108c
SS
21395 "delete all breakpoints when none".
21396
21397Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
21398
21399 * gdb.base/break.exp: Change test that deletes all breakpoints
21400 when no user breakpoints are installed. A post 4.15 change
21401 causes gdb to no longer prompt in this case.
21402
21403Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
21404
21405 * gdb.base/return.exp (return_tests): Change xfail for test
21406 "correct value returned double test" to stop xfailing at
21407 Solaris 2.5. Apparently the bug has been fixed.
21408
21409Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
21410
21411 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
21412 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
21413
21414Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
21415
21416 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
21417 * gdb.disasm/hppa.s: Corresponding changes.
21418
21419Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
21420
21421 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
21422 makefile fragment.
21423 * config/mt-hpux: Deleted.
21424
21425Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
21426
d63a86f8 21427 * Many files: When warning about suppressed tests due to a
c906108c
SS
21428 nonexistant test binary, avoid incrementing the warning count.
21429
21430Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
21431
21432 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 21433
c906108c
SS
21434Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21435
21436 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
21437 "sparc-*-solaris2*".
21438
21439Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21440
21441 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21442 Add global and local variables and initialize them.
21443 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21444 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21445 extracts the file name and terminating signal from the core file.
21446 * TODO: Remove note about tests for correct mapping of corefile.
21447 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21448 from optimizing it away.
21449 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21450 handles common blocks.
21451
21452Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21453
21454 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21455 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21456
21457Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21458
21459 * Makefile.in (maintainer-clean): New target, synonym for
21460 realclean.
21461 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21462 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21463 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21464 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21465 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21466 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21467
21468Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21469
21470 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21471 xfails when not gcc compiled for "print foo::funclocal".
21472 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21473 "print foo::funclocal at foo",
21474 "print 'scope1.c'::foo::funclocal at foo",
21475 "print foo::funclocal_bss at foo",
21476 "print 'scope1.c'::foo::funclocal_bss at foo",
21477 "print foo::funclocal_ro at foo",
21478 "print 'scope1.c'::foo::funclocal_ro at foo",
21479 "print bar::funclocal at foo" and
21480 "print 'scope1.c'::bar::funclocal at foo".
21481 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21482 gcc compiled for "print foo::funclocal at bar".
21483 Expand all messages to ensure that they identify that
21484 the test is at bar().
21485 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21486 gcc compiled for:
21487 "ptype on opaque struct pointer (statically)",
21488 "ptype on opaque struct tagname (statically)",
21489 "ptype on opaque struct pointer (dynamically) 1",
21490 "ptype on opaque struct tagname (dynamically) 1",
21491 "ptype on opaque struct pointer (dynamically) 2" and
21492 "ptype on opaque struct tagname (dynamically) 2
21493 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21494 gcc compiled for:
21495 "p datalocal"
21496 "whatis datalocal",
21497 "ptype datalocal",
21498 "p bsslocal",
21499 "whatis bsslocal", and
21500 "ptype bsslocal".
21501 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21502 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21503 when not gcc compiled.
21504 * gdb.base/funcargs.exp (float_and_integral_args): Add
21505 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21506 compiled.
21507 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21508 "backtrace from call6a" when not gcc compiled.
21509 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21510 "backtrace from call7a" when not gcc compiled.
21511 * gdb.base/callfuncs.exp (do_function_calls):
21512 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21513 "p t_char_array_values(char_array_val2,char_array_val1)",
21514 "p t_char_array_values(char_array_val1,char_array_val2)",
21515 "p t_char_array_values("carray 1","carray 2")",
21516 "p t_char_array_values("carray 1",char_array_val2)",
21517 "p t_char_array_values(char_array_val1,"carray 2")",
21518 "p sum_args(1,{2})",
21519 "p sum_args(2,{2,3})",
21520 "p sum_args(3,{2,3,4})",
21521 "p sum_args(4,{2,3,4,5})"
21522 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21523 "backtrace in corefile.exp" when not gcc compiled.
21524
21525Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21526
21527 * gdb.base/signals.exp: Rewrite `handle all print' test as
21528 a procedure. Accept blanks or TABs as whitespace, increase
21529 timeout and expect input buffer size for the large output
21530 from the command. Remove "i*86-*-bsdi2.0" xfail.
21531
21532Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21533
21534 * gdb.base/setvar.exp: Add new testcases for truncation when
21535 assigning invalid values to bitfields.
21536
21537Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21538
d63a86f8 21539 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
21540 mips-sgi-irix* xfail for
21541 "call inferior func with struct - returns char *"
21542 and fix test so that an optional (unsigned char *) cast is
889bf7c5 21543 accepted in the result.
c906108c
SS
21544
21545Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21546
21547 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21548 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21549 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21550 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21551 that accidentally got checked in.
21552
21553Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21554
d63a86f8 21555 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
21556 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21557 compiled test.
21558 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21559 Add mips-sgi-irix5* xfail for not gcc compiled.
21560 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21561 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21562 "p top", "whatis top", "p middle", and "whatis middle".
21563 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21564 "whatis signed char" for not gcc compiled.
21565 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21566 "set variable signed char=-1 (-1)" and
21567 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21568 * gdb.base/funcargs.exp (float_and_integral_args):
21569 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21570 Add mips-sgi-irix* xfail when not gcc compiled for
21571 "continue to call2b".
21572 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21573 "continue to call2g".
21574 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21575 "backtrace from call6a"
21576 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21577 "backtrace from call7k".
21578 Add mips-sgi-irix5* xfail when not gcc compiled for
21579 "backtrace from call7a".
21580 (localvars_after_alloca): Fix gdb_test cmds for
21581 "print * after runto ...".
21582 Remove rs6000-*-* xfails for
21583 "print i after runto localvars_after_alloca" and
21584 "print l after runto localvars_after_alloca"
21585 for all compilers.
21586 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 21587 when not compiled with gcc, for:
c906108c
SS
21588 "print signed char == (minus)",
21589 "print signed char != (minus)",
21590 "print signed char < (minus)",
21591 "print signed char > (minus)".
21592 * gdb.base/callfuncs.exp (do_function_calls):
21593 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21594 "call inferior func with struct - returns char *".
d63a86f8 21595 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
21596 "correct value returned double test" to include Solaris 2.4.
21597 * gdb.base/funcargs.exp (float_and_integral_args):
21598 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 21599
c906108c
SS
21600Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21601
21602 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21603 enumeration bitfields if compiling with GNU C.
21604 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21605 to empty' prompt.
21606
21607Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21608
21609 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21610 test for PRO targets.
21611
21612 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21613 breakpoints in the inferior at any given time by making
21614 two groups of breakpoints for call2*, call6* and call7*
21615 tests.
21616
21617Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21618
21619 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21620 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21621 from optimizing it away.
21622 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21623 "call inferior func with struct".
21624
21625Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21626
21627 * configure.in: Only configure gdb.chill for particular targets.
21628
21629Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21630
21631 * gdb.base/Makefile.in: Add action to .c.o transformation
21632 rule that generates a .ci file for each .o file and remove
21633 explicit .c.o rules except for callfuncs.o.
21634 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21635 generates a .ci file for each .o file and remove explicit
21636 .cc.o rules.
21637 (clean): Remove *.tmp *.ci files.
21638 (EXECUTABLES): Remove templ-info.exp.
21639 * gdb.base/compiler.c: New file.
21640 * gdb.c++/compiler.cc: New file
21641 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21642 Change rs6000-*-* xfail for
21643 "print 'scope0.c'::filelocal_ro" and
21644 "print 'scope1.c'::filelocal" and
21645 "print 'scope1.c'::filelocal_bss" and
21646 "print 'scope1.c'::filelocal_ro" and
21647 "print 'scope1.c'::foo::funclocal" and
21648 "print 'scope1.c'::foo::funclocal_ro" and
21649 "print 'scope1.c'::bar::funclocal" and
21650 "print 'scope0.c'::filelocal_ro" and
21651 "print 'scope1.c'::filelocal at foo" and
21652 "print 'scope1.c'::filelocal_bss at foo" and
21653 "print 'scope1.c'::filelocal_ro at foo" and
21654 "print 'scope1.c'::foo::funclocal at foo" and
21655 "print 'scope1.c'::foo::funclocal_bss at foo" and
21656 "print 'scope1.c'::foo::funclocal_ro at foo" and
21657 "print 'scope1.c'::bar::funclocal at foo" and
21658 "print 'scope0.c'::filelocal_ro" and
21659 "print 'scope1.c'::filelocal" and
21660 "print 'scope1.c'::filelocal_bss" and
21661 "print 'scope1.c'::filelocal_ro" and
21662 "print 'scope1.c'::foo::funclocal" and
21663 "print 'scope1.c'::foo::funclocal_bss" and
21664 "print 'scope1.c'::foo::funclocal_ro" and
21665 "print 'scope1.c'::bar::funclocal" and
21666 "print 'scope1.c'::bar::funclocal_bss"
21667 to only be xfail'd when not compiled with gcc.
d63a86f8 21668 Add rs6000-*-* xfail for
c906108c
SS
21669 "print 'scope0.c'::filelocal_bss before run"
21670 when compiled with gcc.
21671 (test_at_main): Add rs6000-*-* xfail for
21672 "print filelocal_ro in test_at_main"
21673 when compiled with gcc.
21674 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 21675 Add rs6000-*-aix* xfail for
c906108c
SS
21676 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21677 "ptype t_char_array", not compiled with gcc.
21678 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21679 xfail for "list foo (in include file)" when gcc compiled.
21680 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 21681 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
21682 "run to call0a" if not compiled with gcc.
21683 (unsigned_integral_args): Add rs6000-*-* xfail for
21684 "run to call1a" if not compiled with gcc.
21685 (float_and_integral_args): Add rs6000-*-* xfail for
21686 "run to call2a" if not compiled with gcc and for
21687 "continue to call2b" for any compiler.
21688 Add rs6000-*-* xfail to
21689 "print f1 after run to call2a" for gcc compiled.
21690 (discard_and_shuffle): Add rs6000-*-* xfail for
21691 "run to call6a".
21692 (shuffle_round_robin): Add rs6000-*-* xfail for
21693 "backtrace from call7a" if not compiled with gcc.
21694 Add rs6000-*-* xfail for
21695 "backtrace from call7b" if compiled with gcc.
21696 (call_after_alloca): Add rs6000-*-* xfail for
21697 "print c in call_after_alloca" and
21698 "print s in call_after_alloca" and
21699 "backtrace from call_after_alloca_subr"
21700 if not compiled with gcc.
21701 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21702 "print c in localvars_in_indirect_call" and
21703 "print c in localvars_in_indirect_call" and
21704 "backtrace in indirectly called function" and
21705 "stepping into indirectly called function"
21706 if not compiled with gcc.
21707 (localvars_after_alloca): Add rs6000-*-* xfail for
21708 "print c after runto localvars_after_alloca" and
21709 "print s after runto localvars_after_alloca" and
21710 "print i after runto localvars_after_alloca" and
21711 "print l after runto localvars_after_alloca"
21712 for all compilers.
21713 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21714 than whatis-info.exp.
21715 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21716 than opaque-info.exp.
21717 Setup rs6000-*-* xfail for
d63a86f8 21718 "ptype on opaque struct pointer (statically)" and
c906108c
SS
21719 "ptype on opaque struct pointer (dynamically)" when
21720 not compiled with gcc.
21721 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21722 rather than callf-info.exp.
21723 (do_function_calls): Add clear_xfail for rs6000-*-* for
21724 "p t_float_values2(3.14159,float_val2)". Seems to work
21725 fine there, both with xlc and gcc. Need to find out what
21726 it is doing right and fix other platforms.
21727 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21728 "call inferior func with struct - returns int",
21729 "call inferior func with struct - returns long",
21730 "call inferior func with struct - returns float",
21731 "call inferior func with struct - returns double",
21732 "call inferior func with struct - returns char *",
21733 but only if not gcc compiled (presumes xlc compiled).
21734 Change rs6000-*-* xfails for
21735 "call inferior func with struct - returns char" and
21736 " call inferior func with struct - returns short" to only
21737 xfail if not using gcc.
21738 (clean mostlyclean): Remove *.ci and *.tmp files.
21739 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21740 than templ-info.exp.
21741 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21742 Add rs6000-*-* xfail for "up to foo in langs.exp"
21743 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 21744 when not gcc compiled.
d63a86f8 21745
c906108c
SS
21746Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21747
21748 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21749 * gdb.base/corefile.exp: Likewise.
21750 * gdb.base/list.exp: Likewise.
21751 * gdb.base/scope.exp: Likewise.
21752 * gdb.base/siganls.exp: Likewise.
21753
21754 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21755 compiler output.
21756 * gdb.base/whatis.exp: Likewise.
21757
21758Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21759
21760 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21761 failure (opcode table has been fixed to match reality).
21762
21763Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21764
21765 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21766 "call inferior func with struct - returns char",
21767 "call inferior func with struct - returns short"
21768
21769 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21770 "print 'scope0.c'::filelocal at main",
21771 "print 'scope0.c'::filelocal_bss in test_at_main",
21772 "print 'scope0.c'::filelocal at foo",
21773 "print 'scope0.c'::filelocal_bss in test_at_foo",
21774 "print 'scope0.c'::filelocal at bar",
21775 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 21776
c906108c
SS
21777 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21778 in source file 1". This bug seems to have been fixed with both
21779 gcc and native cc (was native assembler bug?).
21780
21781Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21782
21783 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21784 "backtrace through signal handler" to "i*86-*-sysv4*".
21785 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21786 continue" case. Add "known SVR4 bug" to fail message.
21787 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21788 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21789 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21790 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21791 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21792 "up to foo in langs.exp", "show language at foo in
21793 langs.exp", "up to cppsub_ in langs.exp", "show
21794 language at cppsub_ in langs.exp", "up to fsub in
21795 langs.exp", and "show language at fsub in langs.exp".
21796 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21797 "bactrace in corefile.exp".
21798 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21799 "call inferior function with struct - returns float" and
21800 "call inferior function with struct - returns double".
d63a86f8 21801
c906108c
SS
21802Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21803
21804 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21805 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21806 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21807 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21808
21809Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21810
21811 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21812 (or overriden) "CHILL" macro rather then bare "gcc".
21813 Also look for ../../gcc/xgcc since that is what we will
21814 actually need, not "Makefile". Remove following assignment
21815 of CHILL to CHILL_FOR_TARGET because that results in
21816 recursive definition.
21817
21818Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21819
21820 * gdb.base/corefile.exp: Change xfail for backtrace in
21821 corefile.exp from linuxaout to all linux.
21822 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21823 cases where we miss the breakpoint at the signal handler
21824 for some reason. Setup xfail for linuxoldld/linuxaout and
21825 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21826 hitting SIGURG breakpoint.
21827 * gdb.base/signals.exp: Setup xfail for "next" acting like
21828 continue to add linuxoldld. Setup xfail for all linux for
21829 "next to handler in signals_tests_1", "backtrace in
21830 signals_tests_1", "continue to func1", "pass SIGUSR1",
21831 and continue to handler".
21832
21833Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21834
21835 * Update all FSF addresses except those in COPYING* files.
21836
21837Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21838
21839 * gdb.base/a2-run.exp: Change messages to be more explicit about
21840 the status of args, and quote binfile in results.
21841
21842Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21843
21844 * gdb.base/callfuncs.exp: Add tests for passing structs to
21845 inferior functions and return various types.
21846 * gdb.base/callfuncs.c: Add functions to receive a struct
21847 and return a member of the struct, in various types.
21848
21849Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21850
21851 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21852
21853Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21854
21855 * config/vxworks29k.exp: New file, sources vxworks.exp.
21856
21857Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21858
21859 * config/gdbremote.exp: New file. Testing framework using
21860 gdbserver.
21861
21862Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21863
21864 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21865 "call function when asleep" and "send end of file".
21866 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21867 for "backtrace in corefile.exp".
21868 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21869 for "backtrace through signal handler".
21870 * gdb.base/corefile.exp: Make sure we actually generate a core file
21871 before trying the core tests. Some systems allow the user to suppress
21872 generation of core files and default to that (linux for example).
21873 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21874 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21875
21876Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21877
21878 * gdb.threads: New directory with some crude multi-threaded
21879 gdb tests (step.exp and step2.exp).
21880 * config/mt-lynx (STEP_EXECUTABLE): Define.
21881 (THREADFLAGS): Define.
21882
21883Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21884
21885 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21886
21887 * gdb.base/signals.exp: Disable whole file for lynx until
21888 further notice.
21889
21890 * gdb.base/signals.exp: xfail test where "next" acts like
21891 "continue" for lynx.
21892
21893 * gdb.base/interrupt.exp: xfail test for calling function while
21894 inferior is asleep for lynx.
21895
21896 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21897 than one cr-lf after each command.
21898
21899Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21900
21901 * configure.in: Reinstate setting of stabsdirs variable, fix
21902 typo in setting up configdirs for native builds.
21903
21904 * gdb.base/return.exp: Fix typo in return double test.
21905 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21906 compiler from optimizing them away.
21907
21908Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21909
21910 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21911 sequences to be echo'd by gdb when using gdb_test.
21912 * gdb.chill/chexp.exp: Likewise.
21913 * gdb.fortran/exprs.exp: Likewise
21914
21915Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21916
21917 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21918 after the inferior gdb has started.
21919
21920 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21921 after each command.
21922 * gdb.base/funcargs.exp: Likewise.
21923 * gdb.base/gdbvars.exp: Likewise.
21924 * gdb.base/interrupt.exp: Likewise.
21925 * gdb.base/list.exp: Likewise.
21926 * gdb.base/watchpoint.exp: Likewise.
21927 * gdb.c++/demangle.exp: Likewise.
21928 * gdb.c++/inherit.exp: Likewise.
21929 * gdb.chill/chexp.exp: Likewise.
21930 * gdb.fortran/exprs.exp: Likewise.
21931
21932 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21933 test if we can't handle IO to/from the inferior.
21934
21935 * gdb.c++/misc.exp: Always check for a program already being
21936 started after sending a "run" command to gdb.
21937
21938 * gdb.base/twice.exp: Start with a fresh gdb.
21939
21940 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21941 only depend on gdb's expression code, not the chill runtime.
21942
21943 * gdb.base/return.c: Put return values into variables so we
21944 can have gdb print them rather than depending on the program
21945 to print them.
21946 * gdb.base/return.exp: Corresponding changes.
21947
21948 * lib/gdb.exp: Provide default value for noinferiorio.
21949 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21950 the inferior.
21951
21952 * gdb.base/break.exp: Always check for a program already being
21953 started after sending a "run" command to gdb.
21954 (text_next_with_recursion): Don't check the output from the
21955 program's printf statement. Instead just make sure the program
21956 exited.
21957
21958 * gdb.base/commands.exp: Protect tests which need arguments with
21959 $noargs conditionals.
21960
21961Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21962
21963 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21964 of structure member arrays to match gdb/valops.c:value_addr change.
21965
21966Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21967
21968 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21969 cases.
21970
21971Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21972
21973 * configure.in (configdirs): Remove gdb.chill from default list
21974 of subdirs and then add it back in only if doing a native build.
21975 The current chill compiler does not yet work in any cross build.
21976 * Revert all signal changes from Jul 6.
21977 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21978 for sh-hms targets, allowing these tests to link, with no other
21979 changes. Testing is suppressed by setting "nosignals" in site.exp.
21980
21981Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21982
21983 * configure.in (signaldirs): Define and add to configdirs for all
21984 targets except some specific ones that are known to not support signals.
21985 Also clean up formatting.
21986 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21987 (signals, sigall): Remove rules to build.
21988 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21989 Moved to new gdb.signals directory.
21990 * gdb.signals: New test directory.
21991 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21992 signals.c signals.exp}: New or moved files.
21993
21994Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21995
21996 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21997
21998Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21999
22000 * gdb.base/return.exp: Xfail `return double' test failure
22001 on at least Solaris 2.3 and handle future/past versions on
22002 a case by case basis as appropriate. Also update message
22003 to include i*86 failures.
22004
22005Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22006
22007 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
22008
22009 * lib/gdb.exp: Fix comment which erroneously identified
22010 gdb_file_cmd as gdb_load (the 19 May change was in fact to
22011 gdb_file_cmd not gdb_load).
22012 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
22013
22014 * gdb.base/setvar.exp: Make test names consistent between pass and
22015 fail cases. Use gdb_test more.
22016
22017Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22018
22019 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
22020
22021Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22022
22023 * gdb.base/help.exp: Fix expected help string for `show commands'.
22024
22025Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
22026
22027 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
22028
22029 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
22030 of a text section.
22031
22032Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
22033
22034 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
22035 that loop eventually terminates. Fix Connection refused logic so
22036 that testsuite will expire nicely.
22037
22038Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
22039
22040 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
22041 config/rom68k.exp: New tcl glue for the appropriate monitors.
22042 These all just end up calling monitor.exp.
22043 * config/monitor.exp (gdb_target_monitor): Handle `Connection
22044 refused' by retrying. Cleanup some timeout issues.
22045 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
22046 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
22047 callers don't have to set/restore global timeout variable.
22048
22049 * The following set of changes centralizes management of the global
22050 timeout variable. This way, it can be set in one target dependent
22051 place instead of dozens of places scattered throughout the test suite.
22052 If you need to lengthen a timeout, then you should either set timeout
22053 in one of the config/{target}.exp files, or multiply it by a factor.
22054 Setting it to an absolute value is always going to lose for some
22055 targets.
22056 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
22057 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
22058 * gdb.base/funcargs.exp: Don't set timeout.
22059 * gdb.base/list.exp (test_forward_search): Only use local timeout.
22060 * gdb.base/printcmds.exp (test_print_string_constants
22061 test_print_array_constants): Don't set timeout.
22062 * gdb.base/ptype.exp: Don't set timeout.
22063 * gdb.base/recurse.exp: Don't set timeout.
22064 * gdb.base/return.exp: Don't set timeout.
22065 * gdb.base/watchpoint.exp: Don't set timeout.
22066 * gdb.c++/classes.exp (do_tests): Don't set timeout.
22067 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
22068
22069Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
22070
22071 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
22072
22073Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22074
22075 * lib/gdb.exp: Disable chill tests for irix5.
22076
22077Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22078
22079 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
22080 each test pass or fail.
22081
22082Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22083
22084 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
22085 xlc not gcc.
22086
22087Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
22088
22089 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
22090
22091Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
22092
22093 * config/est.exp: Fix copyright and comments. Remove dead code.
22094 Use targetname, serialport and baud variables instead of fixed
22095 constants.
22096 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
22097 * config/cpu32bug.exp: New file to support cpu32bug monitors.
22098
22099Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22100
22101 * gdb.base/watchpoint.exp: Don't run
22102 test_watchpoint_triggered_in_syscall for sunos.
22103
22104Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22105
22106 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
22107 they don't seem to exist. Do include stdio.h.
22108
22109Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22110
22111 * gdb.base/a1-selftest.exp: Add alpha xfail.
22112
22113Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22114
22115 * gdb.base/watchpoint.c (main): Prompt before calling read().
22116 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22117 Revise accordingly. Remove cruft about sending "123" several
22118 times, until it gets noticed. Clean up the "print buf[0]" stuff
22119 so that it passes or fails, and waits for prompts in the usual way.
22120
22121Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22122
22123 * gdb.base/recurse.exp: Fix comment.
22124
22125 * TODO: Remove item about printing variables in nodebug.exp. Add
22126 item about enabling tests which are only run on some targets.
22127
22128 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
22129 fail, make test names unique, use new gdb_test convention
22130 regarding pattern, use gdb_test more, etc.).
22131
22132 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
22133 fail, make test names unique, etc.).
22134
22135Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22136
22137 * gdb.base/nodebug.c: Change return type of top and middle to
22138 short.
22139 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
22140 are fixed by the recent mdebugread.c changes. Allow `short ()'
22141 as type for top and middle.
22142
22143Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22144
22145 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
22146 nearly as I can tell, the whole thing was an accident in Stu's
22147 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
22148 to replace a send/expect pair with gdb_test, but ended up only
22149 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
22150 of 30 Mar 1995 took care of it, but left this vestigial comment
22151 which I am now nuking.
22152
22153Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22154
22155 * gdb.base/break.exp: Look for different line number for
22156 breakpoint at main depending on usestubs.
22157
22158Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22159
22160 * gdb.base/list.exp: Adjust some alternate expect patterns to
22161 match recent list0.c change. Add alternate expect pattern for
22162 output from `list default lines around main' for optimizing
22163 compilers.
22164
22165Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22166
22167 * lib/gdb.exp: If nosignals is not set, set it to 0.
22168
22169Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
22170
22171 * config/slite-gdb.exp: Responds to load symbol table prompt.
22172 * gdb.base/break.exp: Adjust line number, fix rerun.
22173 * gdb.base/langs0.c: Add #ifdef usestubs.
22174
22175Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
22176
22177 * gdb.base/list.exp: Adjust line contents after adding new lines in
22178 list0.c. Also fix a syntax error.
22179
22180 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
22181 * gdb.base/break.exp: ditto.
22182 * gdb.base/list.exp: ditto.
22183 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
22184 * gdb.base/run.c: ditto.
22185 * gdb.base/list0.c: ditto.
22186 * gdb.base/funcargs.c: ditto.
22187
22188Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
22189
22190 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
22191 $targetname, $serialport and $baud instead of hardwired variables.
22192 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
22193 target doesn't support signals.
22194
22195Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
22196
22197 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
22198
22199Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22200
22201 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
22202 Don't rely on the value of an auto variable before it has been
22203 initialized. Use gdb_test more.
22204
22205Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22206
22207 * lib/gdb.exp (default_gdb_version): A version number must start
22208 with a digit, but other than that contains all characters up to
22209 the first whitespace character.
22210
22211Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22212
22213 * gdb.base/commands.exp (breakpoint_command_test): New tests.
22214
22215Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22216
22217 * gdb.c++/*.exp: Warn if executable does not exist. The original
22218 reason for skipping the warning was that configure.in sometimes
22219 intentionally skipped building the executables but the tcl code
22220 had no way of knowing. That (a) was always bogus with respect to
22221 error handling, (b) is no longer true (right now there is no way
22222 to skip C++ tests).
22223
22224 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
22225
22226Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22227
22228 * gdb.base/list.exp: Add expect patterns for output from
22229 SunPRO compiled executables.
22230 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
22231 types.
22232
22233Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22234
22235 * gdb.base/break.exp (test_next_with_recursion): Accept any line
22236 number (we are already testing that the correct source line text
22237 gets printed).
22238
22239 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
22240 that is what is intended, but something needed to be done to get
22241 sunos4 native working again.
22242
22243 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
22244
22245 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
22246 apparently went with a (very) old xfail.
22247
22248Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
22249
22250 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
22251 runto_main is a proc in gdb.exp that will do 'step' for target use
22252 stubs.
22253 * gdb.base/exprs.exp: ditto.
22254 * gdb.base/interrupt.exp: ditto.
22255 * gdb.base/opaque.exp: ditto.
22256 * gdb.base/printcmds.exp: ditto.
22257 * gdb.base/ptype.exp: ditto.
22258 * gdb.base/scope.exp: ditto.
22259 * gdb.base/setvar.exp: ditto.
22260 * gdb.base/signals.exp: ditto.
22261 * gdb.base/twice.exp: ditto.
22262 * gdb.c++/classes.exp: ditto.
22263 * gdb.c++/inherit.exp: ditto.
22264 * gdb.c++/templates.exp: ditto.
22265 * gdb.base/break.exp: no run and hit main for stubs. Change line
22266 numbers for breakpoints and info breakpoint.
22267 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
22268 breakpoint().
22269 * gdb.base/callfuncs.c: ditto.
22270 * gdb.base/exprs: ditto.
22271 * gdb.base/interrupt.c: ditto.
22272 * gdb.base/opaque0.c: ditto.
22273 * gdb.base/printcmds.c: ditto.
22274 * gdb.base/ptype.c: ditto.
22275 * gdb.base/scope0.c: ditto.
22276 * gdb.base/setvar.c: ditto.
22277 * gdb.base/signals.c: ditto.
22278 * gdb.base/twice.c: ditto.
22279 * gdb.c++/misc.cc: ditto.
22280 * gdb.c++/templates.cc: ditto.
22281
22282Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22283
22284 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
22285
22286 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
22287 somewhere between `read' and `main.c'. I'm pretty sure the
22288 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
22289 and it isn't particularly useful.
22290
22291 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
22292
22293Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22294
22295 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
22296
22297Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
22298
22299 * config/mt-slite: add LIBS and -nostdlib.
22300 * config/slite-gdb.exp: add this new file to support sparclite target.
22301
22302Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
22303
22304 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
22305
22306 * gdb.base/a2-run.exp: Change argument to istarget from
22307 "*-*-vxworks" to "*-*-vxworks*".
22308 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
22309
22310Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
22311
22312 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
22313 will not runto main but do a 'step' to step out of breakpoint().
22314 * config/mt-slite: add -Dusestubs.
22315
22316Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22317
22318 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
22319 instead of just @.
22320
22321 * gdb.base/signals.exp: Add test for "handle all print".
22322 * TODO: Remove "handle all print". Also remove item about
22323 checking copyright date (I don't like the idea of a spurious FAIL
22324 based on when we run the tests).
22325
22326 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
22327 for SunOS4 (reason for failure not investigated). Remove
22328 redundant test for $binfile.
22329
22330 * gdb.base/nodebug.c (array_index): Call malloc.
22331
22332 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
22333
22334Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
22335
22336 * gdb.base/recurse.exp: Update gdb_test invocation to use new
22337 conventions and slightly simplify the matching regexp.
22338
22339Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22340
22341 * gdb.base/break.exp: Update gdb_test invocation to use new
22342 convention.
22343
22344 * lib/gdb.exp: If noargs is not set, set it to 0.
22345
22346 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
22347 tests unique.
22348
22349 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
22350
22351Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22352
22353 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
22354 one argument of type "<non-float parameter>".
22355
22356Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
22357
22358 * config/rom68k.exp: New file to support Motorola IDP board.
22359 * gdb.base/a2-run.exp: Skip this file if noargs is set.
22360 * gdb.base/break.c: Change things around so that this program
22361 doesn't depend upon args. This is necessary to make remote
22362 targets work (in general, they can't take args).
22363 * gdb.base/break.exp: Don't try to send args to program. Don't
22364 expect output. Also, replace lots of code with gdb_test.
22365
22366Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22367
22368 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
22369 printing of '\'' (which is what the comment says we are testing,
22370 even though we were not), not '''.
22371 (test_integer_literals_rejected): Test that printing ''' is an error.
22372
22373 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22374 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
22375 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
22376 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
22377 Use gdb_test not test_print_accept.
22378 * lib/gdb.exp: Remove test_print_accept.
22379
22380 * gdb.base/signals.exp (signal_tests_1): Make pass message
22381 consistent with fail message.
22382
22383 * gdb.base/whatis.exp: Remove xfails for printing char vs.
22384 unsigned char; the bug (PR 1821) is fixed.
22385
22386 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
22387
22388 * gdb.base/scope.exp (test_at_localscopes): Call pass for
22389 successful tests--makes xfailing them work right.
22390
22391Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22392
22393 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
22394 only \r\n, not .*. The test can pass .* as the last thing in
22395 $pattern if that is what it wants. In addition to providing this
22396 flexibility, this change should speed up pattern matching in cases
22397 where the pattern already ended with .* (there were a number of
22398 them). This change also helps catch bad patterns--in the old
22399 scheme the typo "char \*" instead of "char \\*" would pass. Now
22400 it is caught.
22401 * Many .exp files: Update callers.
22402
22403 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
22404 clearer and does not spuriously match multiple ('s. Likewise for
22405 ) and *.
22406
22407 * gdb.base/nodebug.exp: Test ability to call a function and pass
22408 it a string (even with no debugging info).
22409
22410 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
22411 "p '\'", which is the same as "p ''" once tcl gets done with
22412 quoting, to "p '\\'", which I suspect is what is intended (one
22413 backslash gets sent to GDB).
22414
22415 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
22416
22417Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22418
22419 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
22420 1817) was fixed literally years ago.
22421
22422Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22423
22424 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
22425 test, it causes stepping out of call_after_alloca_subr with
22426 optimizing compilers.
22427 (localvars_in_indirect_call): Consume GDB prompt if `finish'
22428 fails.
22429
22430 * gdb.c++/templates.exp: Source templ-info.exp only if
22431 the templates executable exists.
22432
22433 * gdb.c++/misc.cc (class Contains_static_instance,
22434 class Contains_nested_static_instance),
22435 gdb.c++/classes.exp (test_static_members): Test printing of
22436 a class that contains a static instance of the class.
22437
22438Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22439
22440 * gdb.base/langs2.c (cppsub_): Don't prototype.
22441 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22442 only, I believe).
22443
22444Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22445
22446 * lib/gdb.exp (skip_chill_tests): New procedure.
22447
22448 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22449
22450Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22451
22452 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22453 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22454
22455Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22456
22457 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22458
22459 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22460 disassemble 8, not 16, instructions for part 4.
22461
22462 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22463 support the latter anymore.
22464
22465 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22466 -DNO_PROTOTYPES.
22467 * gdb.base/callfuncs.c: Control use of prototypes based on
22468 NO_PROTOTYPES, not __STDC__.
22469 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22470 t_float_values2 tests if prototypes in use.
22471
22472 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22473 t_double_values): When checking differences against DELTA, check
22474 that difference is within the range (-DELTA,DELTA), not just
22475 (-infinity,DELTA).
22476
22477Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22478
22479 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22480 'file' command firts, then 'target', then 'load', this is due to gdb
22481 target set up.
22482 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22483
22484Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22485
22486 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22487 FP load/store variants.
22488 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22489
22490Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22491
22492 * gdb.base/term.exp: Do not give a warning if not native, it is
22493 not an abnormal condition.
22494
22495Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22496
22497 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22498 t_char_array".
22499
22500Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22501
22502 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22503 are getting the version number.
22504
22505 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22506 if not native, it is not an abnormal condition.
22507
22508Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22509
22510 * lib/gdb.exp: Just use "file exists", rather than undocumented
22511 dejagnu procedure "findfile".
22512
22513Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22514
22515 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22516 (LDFLAGS): Set to -Xlinker -Ur.
22517
22518 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22519 Removed, these values are set by lib/gdb.exp.
22520
22521 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22522
22523Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22524
22525 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22526 of replicating gdb startup code.
22527
22528 * config/mt-vxworks (LDFLAGS): Set to -r.
22529 (CFLAGS_FOR_TARGET): Removed.
22530
22531 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22532 (gdb) and gdb for vxworks uses (vxgdb).
22533
22534 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22535 executable is not in the tree and host != target, use sed and
22536 program_transform_name to determine the gdb name used by the
22537 target.
22538
22539 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22540 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22541
22542Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22543
22544 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22545 floats, chars, and shorts where there are ANSI-style function
22546 definitions.
22547
22548 * gdb.base/langs.exp, gdb.base/langs*: New test.
22549 * gdb.base/Makefile.in: Build it.
22550 * TODO: Remove item about checking that C names don't get C++
22551 demangling applied; this test tests it.
22552
22553Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22554
22555 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22556 went with the const70 xfail. The xfail went away a year ago.
22557
22558 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22559
22560 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22561 for hp300.
22562
22563 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22564
22565 * gdb.base/a1-selftest.exp: Don't run on hp300.
22566
22567Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22568
22569 * Makefile.in (site.exp): Set host_alias and target_alias as well
22570 as host_triplet and target_triplet.
22571
22572Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22573
22574 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22575
22576 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22577 places as other ecoff systems).
22578
22579 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22580 ultrix.
22581
22582Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22583
22584 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22585 remove them.
22586 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22587 variable and "variable" in addition to "data variable".
22588 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22589
22590 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22591 2.
22592 * gdb.base/list1.c (long_line): Add additional statement at start
22593 of function.
22594 * gdb.base/list.exp (test_forward_search): Update line number to
22595 reflect new statement.
22596
22597Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22598
22599 * gdb.base/signals.exp: Reinitialize searched source directories
22600 after gdb_start call.
22601
22602Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22603
22604 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22605 * gdb.stabs/Makefile.in: Likewise.
22606
22607 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22608 change. Instead split the tests into smaller pieces.
22609 * gdb.disasm/hppa.s: Corresponding changes.
22610
22611Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22612
22613 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22614 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22615
22616 * gdb.base/funcargs.exp: Modify many tests so that every test
22617 either passes or fails. Make some test names unique.
22618
22619Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22620
22621 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22622 Call stty to set interrupt character.
22623
22624 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22625 for HP assembler versus GNU assembler based on actual behavior of
22626 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22627
22628 * TODO: Suggest a few more stepping tests.
22629
22630Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22631
22632 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22633 restart GDB for h8300 after a continue.
22634 (return): Add pattern to match a29k-udi behavior.
22635 * gdb.base/nodebug.exp: Remove obsolete comment.
22636 * gdb.base/regs.exp: New file, testing of register displays.
22637 * gdb.base/return.exp: Fix typo in reference to $objdir.
22638 * gdb.base/whatis.exp: Always start with a fresh GDB.
22639
22640Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22641
22642 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22643 higher, these tests generate a lot of output.
22644
22645Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22646
22647 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22648 code following the catch silently ignored some errors; without the
22649 catch they should be thrown like any other tcl error. Also, the
22650 catch used "" instead of {} which meant all the callers who wanted
22651 to include one of the characters "[]$ had to quote it an extra time.
22652 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22653 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22654 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22655 Remove extra quoting.
22656
22657Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22658
22659 * gdb.base/commands.exp: Make test names unique; every test either
22660 passes or fails. Update some comments.
22661
22662 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22663
22664Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22665
22666 The following fixes a FAIL caused by the fact that the alpha stabs
22667 configuration didn't use the ".if alpha" code in weird.def.
22668 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22669 bit pointer, so the 32 bit version works even on the alpha.
22670 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22671 Remove the stuff which allowed us to have separate versions for
22672 alpha and everything else.
22673
22674 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22675 regexp which "info func operator\[\](" is supposed to match. Fix
22676 string to send to GDB. Note that GDB still doesn't work right. Add a
22677 new test for "info func .perator\[\](" which GDB does handle correctly.
22678
22679 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22680
22681Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22682
22683 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22684 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22685 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22686 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22687 it makes the tests harder to understand and confuses test-o-matic.
22688 The preferred style is that each test provides a PASS or a FAIL,
22689 and has a unique message (e.g. "continue #54" not just "continue")
22690 which is the same for the pass and the fail.
22691 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22692 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22693 to lib/gdb.exp.
22694 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22695 prt_accept which was basically the same thing. Likewise for
22696 test_print_reject and prt_reject.
22697 * lib/gdb.exp (test_print_reject): Add some more error message
22698 patterns to match from the former printcmds.exp (prt_reject).
22699 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22700 One defect of the passcount stuff is that some of it failed to
22701 report XPASS where appropriate.
22702 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22703 stuff before and after arg in expected pattern.
22704 (test_paddr_operator_functions): Re-do test without print_addr_of;
22705 this is the only test which seems to want extra stuff there.
22706
22707Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22708
22709 * gdb.base/nodebug.exp: Update new tests to reflect improved
22710 wording of gdb output.
22711
22712 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22713 and "ptype" work on variables in files compiled without -g.
22714 Replaces commented out "maint print msymbol" tests.
22715
22716Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22717
22718 * gdb.base/setvar.c (dummy): Call malloc.
22719
22720 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22721 losing with the irix4 sed.
22722
22723 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22724 ALRM" on irix4.
22725
22726Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22727
22728 * TODO: Remove items about corefile.exp testing new exec-file and
22729 backtrace; both are now done. Add items about printing enums.
22730
22731Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22732
22733 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22734 "get signal $thissig" test fails.
22735
22736 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22737
22738Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22739
22740 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22741 compiler warning with dec alpha compiler.
22742
22743 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22744 extra \n from gdb_test call (this explains why the prompt test
22745 that I removed yesterday was there).
22746 (user_defined_command_test): Remove extra \n and prompt test.
22747
22748 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22749 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22750 doesn't exist.
22751 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22752 Also remove alpha workaround, which turns out to be because
22753 SIGABRT == SIGLOST.
22754
22755 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22756
22757 * gdb.base/help.exp: Don't test "help show".
22758
22759Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22760
22761 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22762 "set print address" is on.
22763 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22764 pass prompt to gdb_test; gdb_test already looks for the prompt.
22765
22766 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22767
22768 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22769 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22770 was to make sure that gdb can read a core file. But (a) the "read
22771 the corefile" part didn't make it to a1-selftest.exp, we just
22772 delete the corefile after creating it, and (b) we test reading
22773 corefiles in corefile.exp anyway. Also, this test left around a
22774 xgdb process on Solaris.
22775
22776 * gdb.base/corefile.exp: Also test backtrace.
22777
22778Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22779
22780 * gdb.base/commands.exp: Test a simple user defined command with
22781 arguments and if/while statements; verify the full user command is
22782 printed by "show user".
22783
22784 * gdb.base/commands.exp: Test if/while commands as part of a
22785 breakpoint command list; verify they appear in breakpoint
22786 information.
22787
22788Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22789
22790 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22791 than by dividing by zero.
22792
22793Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22794
22795 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22796 performing an inferior call with watchpoints enabled.
22797 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22798 call.
22799
22800Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22801
22802 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22803 of "file" command.
22804
22805 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22806 Add additional pattern for when "int operator int(void);" appears
22807 in a different order.
22808
22809Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22810
22811 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22812
22813 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22814 and "signal" with ".*".
22815
22816Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22817
22818 * TODO: Add note about "handle all nostop".
22819
22820 * gdb.base/{sigall.c, sigall.exp}: New test.
22821 * gdb.base/Makefile.in: Add it.
22822
22823Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22824
22825 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22826 when invoking GDB, suppresses any windowing interface.
22827
22828Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22829
22830 * config/sim-gdb: New file, simulator testing support.
22831
22832Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22833
22834 * gdb.base/interrupt.exp: Test calling func1 twice.
22835
22836Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22837
22838 * gdb.base/list.exp (test_forward_search): Set timeout higher
22839 when we'll be getting lots of output from gdb.
22840
22841 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22842 "init_malloc" to after the expect statement. Run it if that
22843 regexp is taken, but also for two others which happen if source
22844 cannot be found.
22845
22846Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22847
22848 * gdb.base/printcmds.exp: New test, for printing register before
22849 program is running.
22850
22851Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22852
22853 * gdb.base/list.exp: Correct some alternate expect patterns
22854 to reflect changes in list1.c.
22855
22856Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22857
22858 * TODO: Add item regarding large frames.
22859
22860 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22861
22862 * TODO: Remove item about enabling return.exp; it
22863 is enabled. Suggest a few more "return" tests.
22864
22865Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22866
22867 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22868 anonymous unions.
22869
22870Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22871
22872 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22873 and pr-5646.o, so "make" is the same as "make all", not "make
22874 pr-4975.o".
22875
22876Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22877
22878 * gdb.base/list.exp: Adjust expectations to reflect changes in
22879 list1.c.
22880 (test_forward_search): New test proc.
22881 * gdb.base/list1.c (long_line): New function, has long source line.
22882
22883Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22884
22885 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22886 additional line of code that was added.
22887
22888Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22889
22890 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22891 tests so as not to overflow expect's input buffers.
22892 * gdb.disasm/hppa.exp: Corresponding changes.
22893
22894Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22895
22896 Beginnings of template debugging tests.
22897 * gdb.c++/templ-info.cc: New file to test for template
22898 debugging capability of the compiler.
22899 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22900 templ-info.cc.
22901 * gdb.c++/templates.cc: Add explicit template instantiations
22902 to enable compiling with -fno-implicit-templates. Add destructor
22903 and 'value' method to T5 class for template tests.
22904 * gdb.c++/templates.exp: Add testcases for printing of template
22905 types, setting breakpoints on template methods and calling a
d63a86f8 22906 template method.
c906108c
SS
22907
22908Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22909
22910 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22911 branch target since some assemblers (gas-2.5) may emit a
22912 relocation for the branch instead of resolving it in the
22913 assembler.
22914
22915Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22916
22917 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22918 through signal handler.
22919
22920Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22921
22922 * configure.in (*-*-netware): Use config/mt-netware.
22923
22924 * config/mt-netware: New file.
22925 * config/mt-i386-netware: Removed, separate configs for different
22926 netware architectures are no longer needed now that we have
22927 --with-headers.
22928
22929Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22930
22931 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22932 by the recent changes to use ANSI C arithmetic conversions.
22933
22934Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22935
22936 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22937 bug involving using inferior_pid to figure out whether to select a
22938 frame.
22939
22940Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22941
22942 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22943 match the current disassembler output.
22944
22945Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22946
22947 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22948 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22949 types, expect "int" as type of integer values (for now).
22950
22951Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22952
22953 * gdb.base/commands.exp: New tests for if/while commands.
22954
22955Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22956
22957 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22958 by .*, since hex values have different syntax in Chill mode.
22959
22960Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22961
22962 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22963 linefeed from expect pattern for repeated types with indices > 9.
22964
22965Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22966
22967 First part of Fortran test suite.
22968 * gdb.fortran: New directory.
22969 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22970
22971Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22972
22973 * gdb.base/default.exp: Update expect pattern for load command
22974 without arguments.
22975
22976Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22977
22978 * configure.in: Change i386 to i[345]86.
22979 * gdb.base/configure.in: Likewise.
22980 * gdb.c++/configure.in: Likewise.
22981 * gdb.chill/configure.in: Likewise.
22982
22983Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22984
22985 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22986 patterns, since that is not a valid context for comments.
22987
22988Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22989
22990 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22991 repeated types and repeated types with indices > 9.
22992
22993Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22994
22995 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22996 2417; old bug has been fixed.
22997
22998Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22999
23000 * gdb.base/interrupt.exp: When trying to wake up the inferior,
23001 send the newline ourselves instead of assuming gdb_test will do
23002 so when passed an empty input string.
23003
23004 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
23005 stabs testcode.
23006
23007Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23008
23009 * lib/gdb.exp (gdb_test): Don't send anything if the first
23010 argument is an empty string. This makes cases where we want to
23011 match output that is already in expect's buffers (for example,
23012 matching a breakpoint after gdb_run_cmd has been called) work
23013 reliably.
23014
23015Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23016
23017 * config/netware.exp: New file.
23018
23019Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23020
23021 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
23022 the -B and -L prefixes so we can find the debugging stub.
23023
23024 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
23025 there and we are using the gcc from the tree.
23026
23027 * gdb.base/types.c: Removed.
23028
23029 * gdb.base/configure.in: Look for makefile fragments in ../config.
23030 Recognize i386-*-netware.
23031 * gdb.c++/configure.in: Likewise.
23032
23033Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23034
23035 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
23036 the correct TCL syntax.
23037
23038Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23039
23040 * gdb.base/opaque.exp: use runto instead of messing around with
23041 breakpoints. Simplify by using gdb_test.
23042
23043 * gdb.base/bitfields.exp: restart between tests on netware targets
23044 because breakpoints aren't relocated after target death. Run
23045 processes to completion.
23046
23047 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
23048
23049Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
23050
23051 * Makefile.in: Remove extra tabs that confuse some versions
23052 of "make". Use the newly built gdb to test with by default,
23053 rather than the first one in the tester's search path.
23054
23055Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
23056
23057 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
23058
23059 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
23060 condition help.
23061
23062Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23063
23064 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
23065
23066 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
23067 running.
23068 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
23069 * gdb.base/funcargs.exp: Likewise.
23070
23071 * gdb.base/bitfields.exp: Simplify by using gdb_test.
23072 * gdb.base/funcargs.exp: Likewise.
23073
23074 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
23075 message is "".
23076
23077Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23078
23079 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
23080 return,signals,twice}.exp: Handle non-existant binaries
23081 consistantly.
23082
23083 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
23084 * gdb.base/Makefile.in: Don't try to generate a core dump, we
23085 might testing a cross development system.
23086
23087Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23088
23089 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
23090 runtest script is relative to ${srcdir}, not ${rootdir}.
23091
23092Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
23093
23094 * gdb.base/signals.exp: Allow for optionality of breakpoint
23095 address.
23096
23097Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23098
23099 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
23100
23101Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23102
23103 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
23104 for size_t definition.
23105 * gdb.c++/templates.cc: Likewise
23106
23107 * config/mt-i386-netware: New file.
23108
23109 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
23110 defined.
23111
23112 * gdb.base/Makefile.in: Added support for systems that name core
23113 files by appending "core" to the program name.
23114 * gdb.base/a1-selftest.exp: Likewise.
23115
23116Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23117
23118 * gdb.base/return.exp: Add comment and message for `return double'
23119 test failure on Sparc Solaris.
23120
23121Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
23122
23123 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
23124
23125Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23126
23127 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
23128 from optimizing them away.
23129 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
23130 patterns to include default constructors and assignment operators,
23131 to match gcc versions beyond 2.5.8. Accept any cplus demangling
23132 character in the output of the virtual base pointer.
23133
23134Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23135
23136 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
23137 expression match in print_addr_of to avoid unintented matches.
23138 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
23139 versions up to 2.5.8.
23140
23141Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23142
23143 * gdb.base/list.exp: Tweak alternate pattern for listing of an
23144 included file to run under newer versions of expect.
23145 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
23146 consecutive >'s in templates to accomodate recent cplus-dem.c change.
23147 Remove xfail for the virtual table of BDDHookV.
23148
23149Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
23150
23151 * lib/gdb.exp (string_to_regexp): Set a default result.
23152 (default_gdb_start): Fix misleading message.
23153
23154Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
23155
23156 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
23157 Remove all CC, etc definitions.
23158 * config/mt-hpux: New file.
23159 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
23160 (CFLAGS, LDFLAGS): Define.
23161 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
23162
23163 * Makefile.in (site.exp): Don't insert host_os, etc.
23164 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
23165 (distclean): Check existence of subdir.
23166 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
23167 * gdb.base/Makefile.in: General cleanup and simplification.
23168 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23169 to build executables. Use default rule to build .o files.
23170 (EXPECT, RUNTEST, CC): Fix relative pathname.
23171 (site.exp): Don't insert host_os, etc.
23172 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
23173 and/or SIGUSR1 defined.
23174 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
23175 * gdb.c++/Makefile.in: General cleanup and simplification.
23176 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23177 (CFLAGS): Remove.
23178 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
23179
23180Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
23181
23182 * gdb.base/recurse.exp: Misc changes to get tests running again
23183 after Kung's changes to the watchpoint code.
23184 * gdb.base/watchpoint.exp: Likewise.
23185
23186Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
23187
23188 * lib/gdb.exp (string_to_regexp): Convert {\} also.
23189
23190Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
23191
23192 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
23193 * lib/gdb.exp (default_gdb_start): Define.
23194 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
23195 gdb.base/funcargs.exp, gdb.base/opaque.exp,
23196 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
23197 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
23198 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
23199 Don't call gdb_target_udi in between tests.
23200
23201Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23202
23203 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
23204 (which was basically just a local version of the same thing). In
23205 addition to avoiding duplication, gdb_test_exact is faster.
23206 * lib/gdb.exp (gdb_test_exact): Fix typo.
23207
23208 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
23209 don't give an error.
23210
23211 * gdb.base/term.exp: Call delete_breakpoints before starting.
23212
23213 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
23214 (t10): Add comment.
23215
23216Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23217
23218 Reorganization of the GDB Test Suite.
23219
23220 * gdb.base: New directory, contains all the basic tests.
23221 * gdb.c++: New directory, tests specific to C++.
23222 * gdb.chill: New directory, tests specific to Chill.
23223 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
23224 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
23225 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
23226 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
23227 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
23228 t30-31 to chill).
23229 * */gdbme.*: Rename to match appropriate expect scripts.
23230 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
23231 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
23232 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
23233 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
23234 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
23235 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
23236 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
23237 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
23238 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
23239 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
23240 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
23241 gdb.c++/virtfunc.cc: New names of C++ files.
23242 * gdb.chill/chillvars.ch: New name of Chill file.
23243 * gdb.base/configure.in, gdb.c++/configure.in,
23244 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
23245 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
23246 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
23247 * configure.in (configdirs): Update to reflect directory changes.
23248 (target_abbrev): No longer define for any configuration.
23249 * Makefile.in: Cosmetic improvements to header comments.
23250
23251Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
23252
23253 Various changes to gdb.t31:
23254
23255 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
23256 * gdbme.ch: Make all key-words and predefineds be upper-case.
23257 * chillvars.exp: Expect key-words and predefinds in upper-case.
23258
23259 * chillvars.exp: Use gdb_test_exact many places.
23260 Change expected output for arrays (which now includes index labels).
23261
23262 * pr-5020.exp, gdme.ch (module PR_5020):
23263 New test, for PR-5020.
23264
23265Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
23266
23267 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
23268 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
23269
23270Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
23271
23272 * Makefile.in: Fix bit-rot in definitions of CHILL,
23273 CHILL_FOR_TARGET and Chill_LIB.
23274 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
23275 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
23276 CHILL, and CHILL_LIB.
23277
23278Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
23279
23280 * Revert the previous changes. Please see Rob's directory
23281 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
23282
23283Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
23284
23285 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
23286 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
23287 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
23288 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
23289 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
23290 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
23291 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
23292 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
23293 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
23294 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
23295 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
23296 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
23297 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
23298 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
23299 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
23300 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
23301 changes from 94Q1.
23302
23303Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
23304
23305 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
23306 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
23307 Rob's new testing fragments.
23308
23309Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
23310
23311 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 23312 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
23313
23314Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23315
23316 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
23317 version also, match on casted version strings, and match on
23318 gdb startup case where the line numbers might be messed up.
23319
23320Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
23321
23322 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 23323 (CFLAGS): Delete it from here.
c906108c
SS
23324
23325Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
23326
23327 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
23328
23329Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
23330
23331 * Makefile.in (RUNTEST): Default to just "runtest".
23332
23333Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23334
23335 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
23336 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
23337 the code has been restructured.
23338
23339Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23340
23341 * gdb.t00/default.exp (set write): Allow any number of \r and/or
23342 \n, not just one of each.
23343
23344 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
23345 /bin/cc gives a warning if you do.
23346
23347Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
23348
d63a86f8 23349 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
23350 __t10ListS_link1ZUiRCUiPT0
23351
23352Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23353
23354 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
23355 on local variables in recursive functions.
23356
23357 * gdb.t07/Makefile.in: Build the new test.
23358
23359Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23360
23361 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
23362 directly. Instead compare the return values from actual calls.
23363
23364Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
23365
23366 * Makefile.in (check): Set TCL_LIBRARY for runtest.
23367
23368Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23369
23370 * From Peter Schauer with minor modifications.
a9c64011
AS
23371 * gdb.t15/return.exp (return_tests): Handle targets where "return"
23372 stops in mid-line in the caller. Add xfail for returning a float
23373 value on X86 targets.
c906108c
SS
23374
23375Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23376
23377 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
23378 to avoid expect lossage.
23379 (fmem_LRbug_tests): Likewise.
23380 * gdb.disasm/hppa.s: Corresponding changes.
23381
23382 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
23383 conditions to work with latest dejagnu/expect.
23384
23385 * gdb.t15/funcargs.exp (finish from indirect call): No longer
23386 expected to fail on the PA.
23387 (backtrace in call with trampolines): Explicitly require main
23388 to be frame #1 (no trampolines should show up in backtrace).
23389
23390 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
23391 "continue -expect".
23392 * gdb.t06/break.exp: Likewise.
23393 * gdb.t07/watchpoint.exp: Likewise.
23394 * gdb.t13/bitfields.exp: Likewise.
23395 * gdb.t15/{funcargs,return}.exp: Likewise.
23396 * gdb.stabs/weird.exp: Likewise.
23397 * config/{mips,udi}-gdb.exp: Likewise.
23398
23399 * hppa.sed: Enclose comments within a sed command to avoid
23400 losing with the old OSF1 sed.
23401
23402Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23403
23404 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
23405 sequent dynix.
23406 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
23407 * gdb.t15/funcargs.exp: Conditionally step again to really
23408 finish from marker_call_with_trampolines. Handle the case where
23409 the first step from within call_with_trampolines already steps
23410 us back to main.
23411 * gdb.t15/gdbme.c: Add comment to closing brace of
23412 call_with_trampolines for funcargs.exp.
23413
23414Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23415
d63a86f8 23416 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
23417 Fix typo(s).
23418
23419Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23420
23421 * gdb.t07/gdbme.c: More code for watchpoint testing.
23422
23423 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
23424 "Hardware watchpoint" throughout file.
23425 (test_watchpoint_triggered_in_syscall): New test.
23426 (test_complex_watchpoint): New test.
23427
23428Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23429
23430 * gdbme.c (call_with_trampolines): New function to try and step
23431 into. Tests trampoline problems on the PA.
23432
23433 * funcargs.exp (localvars_in_indirect_call): No longer expect
23434 stepping into indirect call to fail on PAs.
23435 (test_stepping_over_trampolines): New test.
23436
23437Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23438
23439 * TODO: Add suggestions for static member function tests, and
23440 completion tests.
23441
23442Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23443
23444 * TODO: Add suggestions for "p/a" tests.
23445
23446 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23447 (default_gdb_exit): Replace all the hair with sending "quit" to
23448 the process with a simple close.
23449
23450Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23451
23452 * TODO: Add suggestions for shared library tests.
23453
23454Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23455
23456 * TODO: Add suggestions for x/s tests.
23457
23458Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23459
23460 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23461 "enable once", and "enable breakpoints once" with ".*".
23462
23463Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23464
23465 * TODO: Add suggestions about structure passing tests.
23466
23467Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23468
23469 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23470 the primary1 test, use work around if __GNUC__ < 2.
23471 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23472 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23473 Test for bad output rather than waiting for timeout. Issue
23474 second continue only if first continue failed.
23475
23476Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23477
23478 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23479 operator[] test with gdb_test because the old code didn't seem to
23480 be getting the quoting right with the new dejagnu.
23481
23482Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23483
23484 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23485 one from the path.
23486 * Makefile.in: Use a fresh expect if there is one, use runtest
23487 from the src tree if there is one.
d63a86f8 23488
c906108c
SS
23489Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23490
23491 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23492 next over recursive call. Revise the tests from that point on
23493 (which had been skipped) to match GDB's actual (correct) output.
23494
23495 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23496 with next over a breakpoint whose condition is false.
23497
23498 * gdb.t00/help.exp: Comment out "help set print" tests just like
23499 (and for same reason as) "help set" test.
23500
23501Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23502
23503 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23504 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23505
23506Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23507
23508 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23509 necessary gdb_target_udi.
23510
23511 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23512
23513 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23514 1838 and 2417; they are fixed.
23515
23516 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23517 gdb.t03/ptype.exp (ptype structure, ptype union):
23518 Remove xfails; the test is looser than when the xfails were added.
23519
23520 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23521 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23522
23523 * gdb.t01/run.exp: Only run shell test if isnative.
23524
23525 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23526 since "run" automatically loads if necessary. Call gdb_target_udi
23527 after the "file" since "file" kills any execution target.
23528
23529 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23530 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23531 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23532 argument for UDI.
23533
23534Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23535
23536 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23537
23538 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23539
23540Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23541
23542 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23543 properly quoting regexps. This makes the second argument to
23544 demangle a fixed string, which matches the callers, instead of a
23545 shell-style pattern which is what the previous implementation
23546 used. Update some of the callers.
23547
23548Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23549
23550 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23551 (comib_nullified_tests): Fix typo.
23552 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23553 strings. No longer expected to fail.
23554
23555 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23556 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23557 strings. No longer expected to fail.
23558
23559 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23560 string. No longer expected to fail.
23561
23562Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23563
23564 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23565 No longer expected to fail.
23566
23567 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23568 string. No longer expected to fail.
23569
23570Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23571
23572 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23573 only in the names (I probably got most of them). I was even
23574 generous with some which differed in underscores in names, and
23575 probably missed a few, and I *still* was able to remove almost a
23576 third of the file with almost no impact on testsuite coverage.
23577
23578Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23579
23580 * gdb.t00/default.exp: Match udi_attach error message as well as
23581 the one from child_attach.
23582
23583 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23584
23585 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23586
23587 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23588 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23589
23590 * Move test with enums and partial symbols back to
23591 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23592 Reverts the change of 26 May 93. Per today's change to
23593 stabs.texinfo, the behavior that weird.exp was expecting was
23594 unreasonable; what is important is that the compiler+gdb get
23595 things right, which happens with a recent gcc. Also fix the test
23596 to deal with native compilers which put out the stab gdb can't
23597 deal with.
23598
23599Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23600
23601 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23602 in the names. The main thing these accomplish is to slow things down.
23603 Many more such duplicates surely remain.
23604
23605 * gdb.t00/help.exp: Comment out "help support" test just like
23606 (and for same reason as) "help set" test.
23607
23608Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23609
23610 * gdb.t06/break.exp: Remove setup_xfails for
23611 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23612 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23613 about known bug in gcc to include up through 2.5.8.
23614 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23615 well as "_vb$".
23616 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23617 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23618 with latest gcc and gdb.
23619 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23620 well as "_vb$".
23621
23622Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23623
23624 * configure.in (hppa*-*-*): Also configure and build stabs-only
23625 tests.
23626
23627Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23628
23629 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23630 * gdb.t10/configure.in (hppa*-*-*): Use it.
23631
23632Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23633
23634 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23635
23636Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23637
23638 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23639 versions prior to 1.13.5.
23640
23641Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23642
23643 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23644 the prompt is at the start of a line.
23645
23646Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23647
23648 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23649 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23650 in the copr tests now.
23651 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23652 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23653 expected to fail.
23654
23655Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23656
23657 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23658 gdb.t31/chillvars.exp, lib/gdb.exp:
23659 Tweak to run under either version of expect.
23660 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23661 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23662 * gdb.t11/list.exp: Remove extraneous whitespace.
23663
23664Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23665
23666 * gdb.t16/printcmds.exp (test_print_strings): Accept
23667 "(unsigned char *) " before the string.
23668
23669 * TODO: Add notes about printing of fancy types and GDB expressions.
23670
23671Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23672
23673 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23674 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 23675 if doing mips-idt-ecoff.
c906108c
SS
23676
23677Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23678
23679 * Most .exp files: Tweak to run under either version of expect.
23680
23681Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23682
23683 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23684 xfails; I'm not sure why they are failing, but not because of PR 1806.
23685
23686Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23687
23688 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23689 defined in lib/gdb.exp.
23690
23691Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23692
23693 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23694 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23695 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23696 have to be typeless.
23697
23698Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23699
23700 * TODO: Add suggestion for copyright year test.
23701
23702Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23703
23704 * configure.in (*-*-lynxos*): Add stabs tests.
23705
23706Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23707
23708 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23709 so insert a tab before any assembler directive in column zero.
23710
23711 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23712 stores.
23713 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23714 stores.
23715 (fpu_short_memory_tests): Likewise.
23716
23717Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23718
23719 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23720 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23721 .stabs directives in comments.
23722
23723Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23724
23725 * TODO: New file, describing tests we could write.
23726 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23727
23728Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23729
23730 * gdb.t06/signals.exp: Add kludge to force re-sync.
23731
23732 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23733 to xgdb instead of gdb, get out of gdb.
23734
23735Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23736
23737 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23738 for info.
23739
23740Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23741
23742 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23743 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23744 * gdb.stabs/hppa.sed: New sed script for the PA.
23745
23746Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23747
23748 * gdb.stabs: Re-write weird.def and configuration to use sed
23749 instead of cpp. sed is portable and POSIX; cpp is neither.
23750
23751Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23752
23753 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23754
23755Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23756
23757 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23758
23759Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23760
23761 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23762 "_vb$".
23763 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23764 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23765
23766Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23767
23768 * lib/gdb.exp: Comment out code which depends on non-existent
23769 `transform' procedure.
23770
23771Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23772
23773 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23774 * lib/gdb.exp: Transform tool name.
23775 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23776 1.1's new error handling system.
23777
23778Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23779
23780 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23781
23782Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23783
23784 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23785 They made pattern matching so slow that timeouts happened on
23786 heavily loaded systems. Now any output from "show print" which
23787 gets us back to the GDB prompt is a PASS.
23788
23789Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23790
23791 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23792
23793Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23794
23795 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23796
23797 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23798 It is not from PR 3220.
23799
23800Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23801
23802 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23803 just started failing because they depended on the order the
23804 subcommands are presented, or exact docstring text. This kind of
23805 test is a pain and has minimal benefit.
23806
23807Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23808
23809 * gdb.t09/corefile.exp: At end of test, use "core" command with
23810 no arguments.
23811
23812Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23813
23814 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23815 17}/Makefile.in: Make it possible to run the testsuite with Sun
23816 make and CC = cross gcc by adding explicit build rules for .o
23817 files.
23818
23819Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23820
23821 * gdb.t15/funcargs.exp: Don't put comments on same line as
23822 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 23823
c906108c
SS
23824Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23825
23826 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23827
23828Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23829
23830 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23831 * gdb.t20/inherit.exp: remove three dumplicate entries.
23832
23833Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23834
23835 * gdb.t06/break.exp: For "next over recursive call", fail on any
23836 incorrect output, not just on "factorial (value=2)".
23837
23838Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23839
23840 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23841 working now. Add an xfail if accesing a bss variable causes
23842 a memory error if the target is not yet run.
23843
23844Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23845
23846 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23847 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23848 name of __st* demangling (2 strings). Did Kung really get the
23849 more than 95 others right without testing them?
23850
23851Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23852
23853 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23854
23855Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23856
23857 * configure.in (configdirs): Add gdb.disasm
23858 * gdb.disasm: New directory for GDB disassembler tests.
23859 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23860
23861Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23862
23863 * gdb.t00/help.exp: Don't test "help set".
23864
23865 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23866 from within expect statements. None of these happen anymore and
23867 they cause regressions to be silently unnoticed.
23868
23869 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23870 messages) about known failures with gcc cygnus-2.4.5-930417.
23871
23872 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23873 comp-info.exp so it gets built if it doesn't exist.
23874
23875 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23876 it is no longer used.
23877 * gdb.t13/comp-info.c: Removed.
23878
23879Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23880
23881 * gdb.t06/signals.exp: Add xfail for sun3.
23882
23883Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23884
23885 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23886 relevant because ^C doesn't get sent but failure can be reproduced
23887 interactively).
23888
23889Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23890
23891 * gdb.stabs/alpha.mt: New configuration file for alpha.
23892 * gdb.stabs/configure.in: Use it.
23893 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23894 sharing with alpha.mt, redefine long to word via preprocessor.
23895 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23896 for alpha.
23897 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23898 native cc.
23899 * gdb.t00/teststrategy.exp: Change expect string so that we
23900 consume the `(xgdb)' from the command echo and from the gdb prompt.
23901 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23902 gdb currently compares all values as long, so this failure probably
23903 applies to any configuration where LONGEST is bigger than a target int.
23904 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23905 with gcc.
23906 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23907 to handle opaque pointers, gcc is.
23908 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23909 as first argument. Include <sys/types.h> and change all operator
23910 new definitions to use size_t.
23911 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23912 now that we use size_t.
23913
23914Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23915
a9c64011 23916 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 23917 a long or float array cast all array members to the same type.
a9c64011 23918 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 23919 with 64 bit longs.
a9c64011 23920 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 23921 on alpha.
a9c64011 23922 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
23923
23924Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23925
23926 * gdb.t24 (demangle.exp): Constructors of templates have names like
23927 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23928 section 14.6 of the ARM.
23929
23930 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23931 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23932 accomplish little and slow down the testsuite.
23933
23934 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23935 Accept spaces various places.
23936
23937Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23938
23939 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23940 with watchpoint enabled.
23941
23942 * Makefile.in: Remove definition of CC and remove the second
23943 definition of CXX (the "CXX = gcc" one remains). These definitions
23944 were causing backquotes to be expanded within backquotes, which
23945 doesn't work.
23946
23947Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23948
23949 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23950
23951Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23952
a9c64011
AS
23953 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23954 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
23955 by mips cc and contains no stabs entries.
23956
23957Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23958
23959 * config/vx-gdb.exp: Use fake device to load files rather than
23960 NFS.
23961 * lib/gdb.exp: New proc to do "file" command.
23962 * config/unix-gdb.exp: Use new "file" proc.
23963
23964Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23965
23966 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23967 Rework board rebooting slightly.
23968 (gdb_exit): Don't exit from the remote shell; there isn't one.
23969 * gdb.stabs/weird.exp: If a program is being debugged already,
23970 kill it.
23971 * gdb.t04/setvar.exp: Stop and restart gdb.
23972 * gdb.t05/expr.exp: Likewise.
23973 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23974 restart gdb and reload the program.
23975 * gdb.t08/opaque.exp: Likewise.
23976 * gdb.t12/scope.exp: Likewise.
23977 * gdb.t13/bitfields.exp: Likewise.
23978 * gdb.t15/funcargs.exp: Likewise.
23979 * gdb.t20/classes.exp: Likewise.
23980 * gdb.t03/ptype.exp: Increase timeout.
23981 * gdb.t16/printcmds.exp (test_print_string_constants,
23982 test_print_array_constants): Likewise.
23983 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23984 * gdb.t20/classes.exp (do_tests): Likewise.
23985 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23986
23987Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23988
23989 * gdb.stabs: Renamed *wierd* to *weird*.
23990
23991Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23992
23993 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23994 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23995
23996Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23997
23998 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23999 (do_tests): Remove xfail for whatis on one_var and two_var.
24000
24001Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
24002
24003 * Makefile.in: Made cross building work better by adding
24004 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
24005
24006Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24007
24008 * gdb.t15/{return.c,return.exp,Makefile.in}:
24009 New test, currently commented out.
24010
24011Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
24012
24013 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
24014 still running and removes the leftover named socket so GDb can do
24015 clean restarts.
24016
24017Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
24018
24019 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
24020 console, not GDB.
24021 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
24022 cross testing works better with "make check"
24023 * config/unix-gdb: Use default procedures for exit and version.
24024 * config/vx-gdb.exp: Cleaned up and massaged back to working order
24025 with the newest VxWorks.
24026
24027Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24028
24029 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
24030 old form.
24031
24032 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
24033 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
24034
24035 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
24036
24037 * config/unix-gdb.exp: Remove this version of gdb_exit
24038 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
24039 Rob says he'll look at it when he gets back to testing boards.
24040
24041Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
24042
24043 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
24044 an expected fail for certain ptype commands.
24045
24046 * gdb.t20/classes.exp: Update expected results of "ptype class
24047 Base1" to account for the constructor that now appears in the type.
24048
24049Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
24050
24051 * configure.in (configdirs): Restore gdb.t04, which mysteriously
24052 disappeared from list.
24053 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
24054 "alldone" proc with call to cleanup and exit.
24055 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
24056 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
24057 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
24058 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
24059 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
24060 "alldone" proc with simple returns that suppress remaining
24061 tests. The alldone proc went away many months ago.
24062
24063Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24064
24065 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
24066
24067 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
24068
24069Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24070
24071 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
24072 as vax gdb will display them.
24073
24074Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24075
24076 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
24077 optimizers.
24078
24079 * scope.exp: Change "bad value for localval" messages so each one
24080 is unique.
24081
24082 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
24083 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
24084
24085 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
24086
24087Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24088
24089 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
24090 doesn't exist (due to optimization).
24091
24092Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24093
24094 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
24095 contains \r because the filename is long.
24096
24097 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
24098 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
24099
24100Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24101
24102 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
24103 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
24104 Ultrix.
24105 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
24106 int tests.
24107 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
24108
24109Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
24110
24111 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
24112
24113 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 24114 to match does not match the passing case but still matches the
c906108c
SS
24115 failing case.
24116
24117Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24118
24119 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
24120
24121Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
24122
24123 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
24124 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
24125 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
24126 Remove various versions of gdb_exit.
24127 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
24128 gdb_exit.
24129 * config/unix-gdb.exp: gdb_exit remains here, and should override
24130 the generic version, since it's doing a lot of wierd stuff that
24131 the other versions aren't. FIXME, fold it in, or abandon this
24132 version.
24133
24134Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24135
24136 * gdb.t24/demangle.exp: Add tests for PR 3220.
24137
24138Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24139
24140 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
24141
24142Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
24143
24144 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
24145 "i386-*-*". Works for i486 as well.
24146
24147 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
24148 bug, and expand domain of xfail to all SVR4 systems, since the
24149 actual problem is likely to be in generic SVR4 /proc support.
24150
24151Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24152
24153 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
24154
24155Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
24156
24157 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
24158 xfails for other systems. Match a missing 'Continuing.' as an
24159 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
24160
24161 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
24162 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
24163 Only issue warning for missing executables if -all option is used.
24164
24165 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
24166 file if -all option is used. It's like an unpredictable XFAIL.
24167
24168Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24169
24170 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
24171 for dynamically linked binaries.
24172
24173 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
24174
24175Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24176
24177 * gdb.t20/inherit.exp: Change message for "print tagless struct"
24178 to state that this is a known bug in old versions of g++.
24179
24180Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24181
24182 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
24183 while waiting for `Continuing'.
24184
24185Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
24186
24187 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
24188 in text, data, and bss.
24189 * gdb.t10/nodebug.c: Add local and global test variables for
24190 initialized and uninitialized data.
24191
24192Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24193
24194 * config/unix-gdb.exp (gdb_exit): Add "wait".
24195
24196Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24197
24198 * gdb.t06/signals.exp: xfail the continue from the handler for all
24199 targets.
24200
24201 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
24202 function with watchpoints enabled, the i386 call dummy starts with
24203 a call.
24204
24205 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
24206 386 bsd names its corefiles.
24207
24208Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
24209
24210 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
24211 compilers don't grok it.
24212 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
24213 with small octal ints rather than character constants, which
24214 are signed and might not fit if first promoted to int.
24215
24216Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
24217
24218 * gdb.t09/Makefile.in (clean): Remove corefile.
24219
24220Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24221
24222 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
24223
24224Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24225 and Jim Kingdon (kingdon@cygnus.com)
24226
24227 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
24228 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
24229 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
24230
24231Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24232
24233 * gdb.t17/interrupt.exp: Add xfail for hppa.
24234
24235Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24236
24237 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
24238 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
24239 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
24240 to determine signed-ness of bitfields and use the result to setup
24241 the xfail.
24242 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
24243 * gdb.t15/funcargs.exp: Use them to step until the second indirect
24244 call line is reached if necessary.
24245
24246Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24247
24248 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
24249
24250Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24251
24252 * gdb.t06/break.exp: Also test `clear' command.
24253
24254Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24255
24256 * gdb.t00/teststrategy.exp: Remove extra quote.
24257
24258 * gdb.t07/watchpoint.exp: Change xfail for calling function with
24259 watchpoint enabled to be for all non-68k machines.
24260
24261 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
24262
24263Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24264
24265 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
24266 targets use aout.mt instead of ecoff.mt as gas understands
24267 standard aout format.
24268
24269Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24270
24271 * lib/gdb.exp (runto): Don't insist that function we are running to
24272 was compiled with -g.
24273
24274 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
24275
24276 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
24277 to get back into the read system call.
24278 Accept leading newline in case where we woke it up.
24279
24280Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24281
24282 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
24283 to make the stabs test work on ecoff systems using gcc and -with-stabs.
24284 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
24285 enable ecoff configuration.
24286
24287Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24288
24289 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
24290
24291Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24292
24293 * gdb.t16/printcmds.exp: Add another printf test.
24294
24295Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
24296
24297 * configure.in: If configured -with-stabs on any target, add
24298 stabsdirs to configdirs.
24299
24300Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24301
24302 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
24303 fun" so pattern does not match the command itself.
24304
24305Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24306
24307 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
24308
24309Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24310
24311 * gdb.t17/interrupt.exp: Test for more things.
24312
24313Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24314
24315 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
24316 compiler arranges the code and line numbers.
24317
24318 * gdb.t17/interrupt.exp: Don't send \n after ^C.
24319
24320Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24321
24322 * gdb.t00/help.exp: Increase expect input buffer size.
24323
24324Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24325
24326 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
24327
24328 * gdb.t07/watchpoint.exp: Add xfail for hppa.
24329
24330 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
24331
24332 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
24333 [0-9]*, not just [0-9].
24334
24335Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24336
24337 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
24338
24339 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
24340
24341Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24342
24343 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
24344
24345Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24346
24347 * gdb.t06/signals.c: Add xfails for sun3.
24348
24349 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
24350
24351 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
24352 test_stepping tests.
24353
24354Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24355
24356 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
24357
24358 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
24359
24360 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
24361 rather than actually putting it through cpp twice.
24362
24363 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
24364
24365Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
24366
24367 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
24368 no longer needed.
24369
24370Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24371
24372 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
24373
24374 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
24375 C++ features prints as "struct", make it a pass, not an xfail.
24376
24377Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24378
24379 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
24380 Don't require VA to print as "class" rather than "struct".
24381
24382Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
24383
24384 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
24385
24386Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24387
24388 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
24389
24390Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24391
24392 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
24393 order.
24394
24395Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24396
24397 * gdb.t16/printcmds.exp: Add printf tests.
24398
24399 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
24400
24401 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
24402
24403Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
24404
24405 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
24406 pass counts, to counteract any existing or future setup_xfails.
24407
24408Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24409
24410 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
24411 {BEGIN,END}_COMMON for common block instead of STAB.
24412 * gdb.stabs/wierd.exp: Add xfail for rs6000.
24413
24414 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
24415 intp_var should be N_GSYM not N_LSYM.
24416 wierd-aout.S: Use a label for the value of the N_SO.
24417 wierd.def: Remove all backslashes.
24418 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
24419
24420Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24421
24422 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
24423 get the expected next to inheritance3.
24424
24425Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24426
24427 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
24428 now that gcc-2.4 gets it right.
24429
24430Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24431
24432 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
24433
24434 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
24435 generating comp-info.exp which works for cross-compilation.
24436
24437Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
24438
24439 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24440 "*-*-sysv4.*".
24441
24442Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24443
24444 * gdb.t01/run.exp: Start with a fresh gdb.
24445 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24446 SVR4.x.
24447
24448Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24449
24450 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24451 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24452 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24453 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24454 things to remove.
24455
24456Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24457
24458 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24459 test cases from bug reports.
24460
24461Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24462
24463 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24464 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24465 avoid spurious xfails.
24466 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24467 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24468 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24469
24470Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24471
24472 * gdb.t00/teststrategy.exp: Rework to provide more useful
24473 description of each test, fix problem with systems that define
24474 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24475 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24476 results for "next over recursive call" so timeouts aren't taken
24477 by error.
24478
24479Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24480
24481 * gdb.t12/scope.exp: Test printing of variables before run.
24482
24483 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24484 printed in wrong order due to sorting.
24485
24486Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24487
24488 * gdb.t00/teststrategy.exp: Fix expected results for printing
24489 user entered string constant. Is array of char, prints with no
24490 address.
24491
24492 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24493 commands.
24494 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24495 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24496 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24497 of struct of char arrays.
24498 * gdb.t00/radix.exp: New tests for radix commands.
24499
24500Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24501
24502 * gdb.t16/printcmd.exp: Print a variable before running program
24503 (with xfail for AIX).
24504
24505Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24506
24507 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24508
24509 * gdb.t16/printcmd.exp: Don't print variables before running program.
24510
24511 * gdb.t06/break.exp: Don't require envp argument to main.
24512
24513 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24514
24515 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24516 Add xfails for rs6000.
24517
24518 * gdb.t02/whatis.exp: Change other tests not to re-test something
24519 we already tested.
24520
24521 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24522 each type used has a variable of that type.
24523
24524Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24525
24526 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24527
24528Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24529
24530 * configure.in: change srctrigger to be a file, not a directory
24531
24532Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24533
24534 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24535
24536 * gdb.t11/list.exp: Fixed a couple of typos.
24537
24538Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24539
24540 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24541 is fixed and PR is closed.
24542 * gdb.t16 (gdbme.c): Add simple test string variable.
24543 * gdb.t16 (printcmds.exp): Add tests with simple test string
24544 variable, primarily for boundaries on "set print elements".
24545
24546Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24547
24548 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24549 Make leading 0's optional and don't expect a tab in the middle
24550 of the number.
24551
24552 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24553
24554 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24555 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24556 don't end command passed to gdb_test with newline.
24557
24558 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24559 signed keyword away, don't expect signed bitfields to be signed.
24560
24561 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24562 printing with only as many 1's as are in the field as well as printing
24563 with 32 1's (see comment).
24564
24565Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24566
24567 * gdb.t00/default.exp: Start with a fresh gdb.
24568 * configure.in (configdirs): Remove gdb.t31 until the chill
24569 compiler works again. It no longer is able to find chillrt0
24570 since it isn't in libchill.a anymore.
24571 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24572 wierd.o, make more modular.
24573 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24574 spurious newlines that caused problems.
24575
24576Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24577
24578 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24579 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24580 gdb.stabs/wierd.{exp,def}: Many new tests.
24581
24582 * gdb.t00/default.exp: update info line for new message.
24583
24584 * gdb.t02/{whatis.exp,gdbme.c}:
24585 Test that "char *" doesn't print as "caddr_t".
24586
24587Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24588
24589 * gdb.t00/help.exp: Use .* in place of some help messages which
24590 just changed.
24591 gdb.t00/default.exp: Update "info frame" test for new message.
24592 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24593 Remove some xfails
24594
24595Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24596
24597 * gdb.t03/{gdbme.c,ptype.exp}:
24598 Add tests for typedef'd struct and union without tags.
24599 Also check "whatis" on a variable of a typedef'd enum without a tag.
24600
24601 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24602 PRMS 1823; the bug still exists but isn't reproduced by this test
24603 anymore), and remove rs6000 XFAIL (the bug is fixed).
24604
24605 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24606 duplicated from whatis.exp. For those that are left, accept
24607 "long", "long int", or "int" for long variables (whatis.exp already
24608 has an XFAIL for "int", so no need to fail it here).
24609
24610 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24611 Deal with GCC's names for types now that GDB uses the compiler's names.
24612
24613 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24614 setup_xfail's for sunos4. If we #defined the signed keyword away,
24615 don't expect GDB to know that char it is signed.
24616
24617 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24618
24619Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24620
24621 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24622 should work on any system, regardless of debugging format.
24623 * gdb.t21/demangle.exp: Move to gdb.t24.
24624 * gdb.t24/demangle.exp: Move from gdb.t21.
24625 * gdb.t24/{Makefile.in, configure.in}: New files.
24626
24627Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24628
24629 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24630 * gdb.stabs: New directory.
24631
24632Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24633
24634 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24635 not just "Quit anyway?".
24636
24637Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24638
24639 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24640 that all setup_xfails are immediately followed by clear_xfails.
24641
24642Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24643
24644 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24645 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24646 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24647 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24648 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24649 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24650 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24651 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24652 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24653 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24654 gdb.t31/chillvars.exp, lib/gdb.exp:
24655 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24656 bug-gdb@prep.ai.mit.edu.
24657
24658Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24659
24660 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24661 with 0.0, not integer 0.
24662
24663Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24664
24665 * gdb.t06/break.exp: Update for "Kill the program" message change.
24666
24667Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24668
24669 * Makefile.in (GDBFLAGS): Set to -nx.
24670 * Makefile.in (site.exp): Use GDBFLAGS.
24671
24672Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24673
24674 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24675 Makefiles.
24676 (check): depend on just-check.
24677 (just-check): added so that tests can be run without a noop
24678 build pass.
24679
24680Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24681
24682 Switch to using configure's configdirs.
24683 * Makefile.in (Makefile): add configure.in dependency.
24684 (SUBDIRS): removed redundant assignment.
24685 * configure.in: switch subdirs assignment to configdirs.
24686 * gdb.t*/configure.in: new files.
24687
24688Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24689
24690 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24691 works.
24692
24693Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24694
24695 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24696 in explicit rules. Apparently this is not supported by some makes.
24697
24698Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24699
24700 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24701
24702Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24703
24704 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24705 disappeared.
24706
24707Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24708
24709 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24710
24711Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24712
24713 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24714 watchpoint problem that is now fixed.
24715 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24716 uninitialized convenience variables.
24717 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24718 structures.
24719
24720Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24721
24722 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24723 which causes expect to get out of sync with gdb on long output
24724 from help set.
24725 * gdb.t09/corefile.exp: Make expected pattern for core file
24726 failing signal and frame output format less sun specific.
24727
24728Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24729
24730 * gdb.t31/chillvars.exp: Add and remove initial dummy
24731 breakpoint, so that symbol table is forced in.
24732 (Needed at least on Sunos4, though it seems not SVR4.)
24733 * gdb.t31/chillvars.exp: Update for changed output format.
24734
24735Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24736
a9c64011 24737 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
24738
24739Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24740
24741 * Makefile.in: Added --srcdir when invoking runtest, removed the
24742 need for a local config file. (optional now)
24743
24744Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24745
24746 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24747 failure count used to force early termination. Add some more
24748 expected failures for gnu style demangling.
24749
24750Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24751
24752 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24753 pmi variable from gdb.t20/gdbme to get optimized away.
24754 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24755 Check for written corefile upon timeout _and_ eof.
24756
24757Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24758
24759 * config/unix-gdb.exp: Add missing return 0.
24760
24761Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24762
24763 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24764 test termination.
24765
24766Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24767
24768 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24769 disappeared.
24770
24771Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24772
24773 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24774 time as i860 support works.
24775
d63a86f8 24776 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
24777 "backtrace 100\r" rather than just "backtrace\r", to match last
24778 change.
24779
24780Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24781
24782 * config/udi-gdb.exp (gdb_exit): Remove close command.
24783 (gdb_target_udi): New procedure to set the UDI target.
24784 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24785 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24786 Added waits for prompts after several question responses. Added
24787 some more responses used by a29k-amd-udi-gdb.
24788 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24789 pass different arguments, restart UDI connection after program
24790 completion.
24791 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24792 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24793 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24794 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24795 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24796 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24797 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24798 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24799 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24800 after program completion.
24801 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24802 compiled with a SELECT_VECS setting.
24803 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24804 infinite recursion.
24805
24806 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24807 Added checks for COFF results, and made them expected failures for
24808 all targets. It would be better to make them expected failures
24809 for COFF targets only.
24810
24811Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24812
24813 * Makefile.in: add null dvi target, don't bother to recurse
24814 through test directories for info and install-info; rename
24815 $(datadir) to be dejagnu instead of deja-gnu
24816
24817Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24818
24819 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24820 compiler to coredump.
24821 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24822 code.
24823
24824Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24825
24826 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24827 coredump.
24828 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24829 code.
24830
24831Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24832
24833 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24834 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24835 which in a shell. Deletes xgdb when done.
24836 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24837 Tests the return from the "set height" or "set width" commands.
24838 Added a few return codes where needed.
24839
24840Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24841
24842 * Makefile.in (SUBDIRS): Add gdb.t17.
24843 * configure.in (subdirs): Add gdb.t17.
24844 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24845 files to test gdb's calling of functions in the inferior with
24846 the correct arguments and gdb's ability to retrieve any
24847 result returned.
24848
24849Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24850
24851 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24852 may be called after gdb goes away. Previous versions of expect
24853 needed these to avoid file descriptor leaks, but they cause
24854 errors with the current revision of expect.
24855 * gdb.t00/gdbvars.exp: Use -re on expected output after
24856 setting sevenbit-strings.
24857 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24858 to set sevenbit-strings consistent across tests.
24859 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24860 set sevenbit-strings consistent across tests.
24861
24862Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24863
24864 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24865 expected output to match current "expect" expectations.
24866
24867Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24868
24869 * gdb.t00/default.exp: Change expected output for default "source"
24870 command, to match new gdb behavior which requires a filename to
24871 source.
24872
24873Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24874
24875 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24876 expected fail for i486-*-* that misses the marker2 function.
24877 * gdb.t10/crossload.exp (bfddefault): Allow successful
24878 recognition of a format to pass even if no symbols are found.
24879 Explicitly catch failures where the format is not recognized
24880 or is ambiguous, and add the reason to the fail message.
24881 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24882 the cause is and invalid target and add reason to failure message.
24883 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24884 elf32-i386, elf32-sparc, and elf32-i860.
24885 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24886 Set up expected failure for 'filename'::variable scope resolution,
24887 which is now apparently broken on all targets.
24888 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24889 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24890 gdb.t23/templates.exp: Change failure for missing binfile into
24891 just a warning.
24892 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24893 references.
24894
24895Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24896
24897 * gdb.t00/default.exp: Add expected output for default "source"
24898 command, to match new gdb behavior.
24899 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24900
24901Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24902
24903 * config/*-gdb.exp: returns an error, rather than exiting on
24904 internal errors.
24905
24906Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24907
24908 * gdb.t03/gdbme.c: Add pointer to struct variable.
24909 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24910 referencing struct members.
24911
24912Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24913
24914 * configure.in (mips-idt-ecoff): New target.
24915 * config/mips-gdb.exp: New file for remote board using MIPS remote
24916 debugging protocol.
24917
24918 * Redid configuration scheme. Removed gdb.t*/configure.in.
24919 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24920 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24921 distclean targets. Built executables via .o files. Adjusted
24922 tests to account for source files in $(srcdir) rather than
24923 $(objdir).
24924 * lib/gdb.exp (runto): Don't expect () after the function name,
24925 because it may have arguments.
24926
24927Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24928
24929 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24930 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24931 expected failures for mips-idt-* and mips-sgi-*.
24932 * gdb.t00/default.exp (attach): Kill process if requested.
24933 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24934 that does not read core files.
24935 * gdb.t01/run.exp: Removed checks for exit status code.
24936 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24937 it is linked in.
24938 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24939 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24940 appropriate, rather than doing it by hand.
24941 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24942 execution.
24943 * gdb.t10/crossload.exp: Kill existing program if needed.
24944 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24945 appropriate, rather than doing it by hand. Always increase
24946 timeout for this test, not just for VxWorks.
24947
24948Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24949
24950 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24951 of Chill STRUCT types and STRUCT values.
24952 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24953 than "char".
24954 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 24955 struct2): New struct definitions and initializations to test
c906108c
SS
24956 simple Chill STRUCT types.
24957
24958Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24959
24960 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24961 the null byte at the end of strings.
24962 * gdb.t00/default.exp: Make show version insensitive to copyright
24963 date.
24964 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24965 to avoid dependencies on target char signedness.
24966 * gdb.t16/printcmds.exp: Update expected results for explicitly
24967 unsigned char.
24968 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24969 now work.
24970 * gdb.t21/demangle.exp: Add many more patterns for template
24971 demangling, most of them being expected failures.
24972 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24973 string we are matching for, to match on the whole string.
24974 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24975 and fix a whole bunch that had incorrect expected output but were
24976 passing anyway because of the bug in "proc demangle".
24977 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24978 type.
24979 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24980
24981Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24982
a9c64011
AS
24983 * gdb/testsuite: made modifications to testcases, etc., to allow
24984 them to work properly given the reorganization of deja-gnu and the
24985 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
24986
24987Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24988
24989 * gdb/testsuite: Initial creation of gdb/testsuite.
24990 Migrated dejagnu testcases and support files for testing nm to
24991 gdb/testsuite from deja-gnu. These files were moved "as is"
24992 with no modifications. This migration is part of a major overhaul
24993 of dejagnu. The modifications to these testcases, etc., which
24994 will allow them to work with the new version of dejagnu will be
24995 made in a future update.
48efe704 24996
8d8cb839 24997 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 24998\f
8d8cb839
EZ
24999;; Local Variables:
25000;; mode: change-log
25001;; left-margin: 8
25002;; fill-column: 74
25003;; version-control: never
25004;; End:
902f2ccb
MC
25005
25006 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 25007 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
25008 Copying and distribution of this file, with or without modification,
25009 are permitted provided the copyright notice and this notice are preserved.