]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* value.c (deprecated_set_value_modifiable): Remove.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
bed911e5
DE
12013-01-28 Doug Evans <dje@google.com>
2
3 * gdb.dwarf2/fission-loclists.exp: New file.
4 * gdb.dwarf2/fission-loclists.S: New file.
5
e229648e
JK
62013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7
8 Code cleanup.
9 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
10 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
11 and prepare_for_testing.
12 * gdb.base/store.exp: Likewise.
13
86700f00
TT
142013-01-25 Tom Tromey <tromey@redhat.com>
15
16 * gdb.python/py-explore.exp: Expect the gdb prompt.
17
8954db33
AB
182013-01-25 Andrew Burgess <aburgess@broadcom.com>
19
20 * gdb.base/gnu_vector.c: New variable for use in tests.
21 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
22 changes in scalar to vector casting and widening.
23 * gdb.python/py-type.c: New variables for use in tests.
24 * gdb.python/py-type.exp: Update vector related tests to reflect
25 changes in scalar to vector casting and widening.
26
2077afdd
TD
272013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
28
29 * gdb.base/prologue-include.c: New file.
30 * gdb.base/prologue-include.exp: New file.
31 * gdb.base/prologue-include.h: New file.
32
d7499464
HAQ
332013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
34
35 PR gdb/13443
36 * gdb.mi/mi-var-block.exp: Make test messages unique.
37
e2a3e0f1
TT
382013-01-23 Tom Tromey <tromey@redhat.com>
39
40 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
41
152fcc9c
TT
422013-01-23 Tom Tromey <tromey@redhat.com>
43
44 * gdb.cp/converts.cc (main): Initialize 'a'.
45
bea883fd
SCR
462013-01-23 Siva Chandra Reddy <sivachandra@google.com>
47
48 * testsuite/gdb.python/frame.exp: Add a test for
49 gdb.Frame.architecture() method.
50
0928e93d
PA
512013-01-22 Pedro Alves <palves@redhat.com>
52
53 * gdb.base/annota1.exp (signal sent): No longer expect
54 breakpoints-invalid.
55 * gdb.cp/annota2.exp (continue until exit)
56 (watch triggered on a.x): Ditto.
57
9c97429f
PA
582013-01-22 Pedro Alves <palves@redhat.com>
59
60 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
61 Adjust tests to breakpoints-invalid changes.
62 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
63 variables.
64 Adjust tests to breakpoints-invalid changes.
65
187d10dd
PA
662013-01-22 Pedro Alves <palves@redhat.com>
67
68 * gdb.base/annota1.exp (annotate ignore count change): Add
69 expected output for failure case.
70
ea3aedcb
TT
712013-01-22 Tom Tromey <tromey@redhat.com>
72
73 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
74 call.
75
998580f1
MK
762013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
77
78 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 79 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
80 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
81 Also handle 'thread' field.
82 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
83 * gdb.mi/mi-watch.exp: Ditto.
84 * lib/mi-support.exp: Ditto.
85
8f1d5693
MK
862013-01-21 Siva Chandra Reddy <sivachandra@google.com>
87
88 * gdb.python/py-explore.exp: Improve a test
89
2d8c5d7c
DB
902013-01-18  David Blaikie  <dblaikie@gmail.com>
91
92 * gdb.base/label.c (main): Correct the type of the second
93 parameter.
94
46f35228
TT
952013-01-18 Tom Tromey <tromey@redhat.com>
96
97 * gdb.dwarf2/trace-crash.s: New file.
98 * gdb.dwarf2/trace-crash.exp: New file.
99
5965d69d
HAQ
1002013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
101
102 PR gdb/13443
103 * gdb.base/checkpoint.exp: Update test messages to make them
104 unique.
105
5ae4861a
YQ
1062013-01-18 Yao Qi <yao@codesourcery.com>
107
108 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
109 output of 'info tracepoints'.
110 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
111 Likewise.
112 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
113 * gdb.trace/disconnected-tracing.c (struct foo): New.
114
d84fca2c
JK
1152013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
116
117 * gdb.dwarf2/dw2-dos-drive.S: New file.
118 * gdb.dwarf2/dw2-dos-drive.exp: New file.
119
aebb1cc9
DE
1202013-01-17 Doug Evans <dje@google.com>
121
2782d512
DE
122 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
123 CXX_FOR_TARGET.
124
aebb1cc9
DE
125 * boards/cc-with-tweaks.exp: New file.
126
db2b2972
TT
1272013-01-17 Tom Tromey <tromey@redhat.com>
128
129 * gdb.base/completion.exp: Add "set cp-abi" completion test.
130
96343774
PA
1312013-01-17 Pedro Alves <palves@redhat.com>
132
133 Merge dg-extract-results.sh from upstream (svn 195224).
134
135 2013-01-15 David Blaikie <dblaikie@gmail.com>
136 * dg-extract-results.sh: Fix order of summary counts.
137
138 2013-01-15 David Blaikie <dblaikie@gmail.com>
139 * dg-extract-results.sh: Constrain the start-of-log pattern.
140
141 2013-01-15 David Blaikie <dblaikie@gmail.com>
142 * dg-extract-results.sh: Handle KPASSes.
143
144 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
145 * dg-extract-results.sh: Redirect grep output to /dev/null instead
146 of grep -q.
147
675921c0
SD
1482012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
149
150 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
151 interface.
152 * gdb.base/jithost.c: New file.
153 * gdb.base/jithost.h: New file.
154 * gdb.base/jitreader.c : New file.
155 * gdb.base/jit-protocol.h: New file.
156
ab04a2af
TT
1572013-01-16 Tom Tromey <tromey@redhat.com>
158
159 * gdb.base/catch-signal.c: New file.
160 * gdb.base/catch-signal.exp: New file.
161
8ac3646f
TT
1622013-01-16 Tom Tromey <tromey@redhat.com>
163
164 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
165
22fc223e
JK
1662013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
167
168 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
169
44478ab3
TT
1702013-01-14 Tom Tromey <tromey@redhat.com>
171
172 * gdb.base/completion.exp: Add "set gnutarget" test.
173
06d66ee9
TT
1742013-01-14 Tom Tromey <tromey@redhat.com>
175
176 * gdb.dwarf2/dw2-restrict.S: New file.
177 * gdb.dwarf2/dw2-restrict.c: New file.
178 * gdb.dwarf2/dw2-restrict.exp: New file.
179
c9bf0622
TT
1802013-01-14 Tom Tromey <tromey@redhat.com>
181
182 * gdb.dwarf2/dw2-error.exp: New file.
183 * gdb.dwarf2/dw2-error.c: New file.
184 * gdb.dwarf2/dw2-error.S: New file.
185
5b12a61c
JK
1862013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
187
188 * gdb.cp/parse-lang.cc: New file.
189 * gdb.cp/parse-lang.exp: New file.
190
f0a4b570
JK
1912013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
192
193 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
194 (set substitute-path): New test.
195 (fullname present): Remove content.
196 (substituted fullname): New test.
197
f751cc97
JB
1982013-01-13 Joel Brobecker <brobecker@adacore.com>
199
200 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
201 check. Move $gdb_py_is_py24 value check right after.
202
04164e8e
JK
2032013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
204
205 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
206 targets.
207
5bf480a5
YQ
2082013-01-11 Yao Qi <yao@codesourcery.com>
209
210 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
211 for dprintf.
212 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
213 Check the fields in "=breakpoint-created" for dprintf.
214
f35a17b5
JK
2152012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
216
217 * gdb.mi/mi-fullname-deleted.exp: New file.
218
85817405
JK
2192012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
220
221 * gdb.base/skip-solib.exp (info skip with pending file): Update the
222 expected output.
223 (info skip with pending file): Remove.
224 (ignoring function in solib, info skip for function multiply): Update
225 the expected output.
226 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
227 (info skip (delete 1), info skip after disabling all)
228 (info skip after enabling all, info skip after disabling 4 2-3)
229 (info skip after enabling 2-3, info skip 2-3)
230 (info skip after deleting 2 3): Update the expected output.
231 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
232 statement to its initialization and return.
233 * gdb.linespec/skip-two.exp: New file.
234
27210e12
DE
2352012-12-19 Doug Evans <dje@google.com>
236
237 * gdb.base/maint.exp: Handle testing with .gdb_index.
238
bb627a12
JB
2392012-12-19 Joel Brobecker <brobecker@adacore.com>
240
241 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
242 Cavium to FSF.
243
7785b880
JB
2442012-12-19 Joel Brobecker <brobecker@adacore.com>
245
246 * dg-extract-results.sh: Update contact info in copyright notice.
247 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
248 GPL v3 or later. Update contact info.
249 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
250 gdb.threads/watchpoint-fork-mt.c,
251 gdb.threads/watchpoint-fork-parent.c,
252 gdb.threads/watchpoint-fork-st.c,
253 gdb.threads/watchpoint-fork.h: Likewise.
254
f2a8bc8a
YQ
2552012-12-15 Yao Qi <yao@codesourcery.com>
256
257 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
258 'installed' field in '=breakpoint-modified'.
259 (test_reconnect): Check 'installed' field in
260 '=breakpoint-modified' and '=breakpoint-created'.
261
262 * gdb.trace/actions.exp: Update test for 'installed' field.
263 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
264 (tracepoint_change_loc_2): Likewise.
265 Check 'info tracepoint' display nothing else.
266 * gdb.trace/deltrace.exp: Likewise.
267 * gdb.trace/infotrace.exp: Likewise.
268 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
269 Likewise.
270 * gdb.trace/passcount.exp: Likewise.
271 * gdb.trace/tracecmd.exp: Likewise.
272 * gdb.trace/while-stepping.exp: Likewise.
273
6592e36f
TT
2742012-12-14 Tom Tromey <tromey@redhat.com>
275
276 * gdb.cp/member-name.exp: New file.
277 * gdb.cp/member-name.cc: New file.
278
7d27a96d
TT
2792012-12-14 Tom Tromey <tromey@redhat.com>
280
281 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
282
f8c05d0d
DE
2832012-12-14 Doug Evans <dje@google.com>
284
285 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
286 DW_OP_GNU_implicit_pointer is section-relative.
287
451b7c33
TT
2882012-12-14 Tom Tromey <tromey@redhat.com>
289
290 * gdb.base/info-proc.exp: Add core file tests.
291
10e339df
PA
2922012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
293
6fdff2c5 294 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 295
e780d813
DE
2962012-12-13 Doug Evans <dje@google.com>
297
298 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
299 * gdb.multi/multi-arch.exp: Ditto.
300
ca3dbcc8 3012012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 302
ca3dbcc8
MG
303 * gdb.mi/mi-catch-load-so.c: New. Clone of the
304 catch load test library source file.
305 * gdb.mi/mi-catch-load.c: New. Clone of the catch
306 load test source file.
307 * gdb.mi/mi-catch-load.exp: New. Test file for
308 basic MI -catch-load and -catch-unload tests.
309
2960a434
PK
3102012-12-11 Paul Koning <paul_koning@dell.com>
311
312 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
313 exception.
314 (_iterator_except): New function.
315 (ArrayPrinter): Use _iterator function instead of local _iterator
316 class for Python 3 compatibility.
317 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 318 _iterator.
2960a434
PK
319 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
320 execfile for Python 3 compatibility.
321 * gdb.python/python.exp: Handle Python 2.4 exception traceback
322 format in error_prompt test.
6fdff2c5 323
9325cb04
PK
3242012-12-10 Paul Koning <paul_koning@dell.com>
325
326 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 327 compatibility.
9325cb04
PK
328 * gdb.python/py-block.exp: Ditto.
329 * gdb.python/py-breakpoint.exp: Ditto.
330 * gdb.python/py-cmd.exp: Ditto.
331 * gdb.python/py-events.py: Ditto.
332 * gdb.python/py-finish-breakpoint.py: Ditto.
333 * gdb.python/py-finish-breakpoint2.exp: Ditto.
334 * gdb.python/py-finish-breakpoint2.py: Ditto.
335 * gdb.python/py-frame-inline.exp: Ditto.
336 * gdb.python/py-frame.exp: Ditto.
337 * gdb.python/py-infthread.exp: Ditto.
338 * gdb.python/py-objfile.exp: Ditto.
339 * gdb.python/py-parameter.exp: Ditto.
340 * gdb.python/py-progspace.exp: Ditto.
341 * gdb.python/py-prompt.exp: Ditto.
342 * gdb.python/py-symbol.exp: Ditto.
343 * gdb.python/py-symtab.exp: Ditto.
344 * gdb.python/py-template.exp: Ditto.
345 * gdb.python/py-value-cc.exp: Ditto.
346 * gdb.python/python.exp: Ditto.
347 * gdb.python/source2.py: Ditto.
348 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 349 compatibility.
9325cb04
PK
350 Use sorted() function rather than sort() method.
351 Accept either int or long values for enum values.
352 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
353 execfile for Python 3 compatibility.
354 * gdb.python/py-evsignal.exp: Ditto.
355 * gdb.python/py-evthreads.exp: Ditto.
356 * gdb.python/py-mi.exp: Ditto.
357 * gdb.python/py-pp-maint.exp: Ditto.
358 * gdb.python/py-prettyprint.exp: Ditto.
359 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 360 Python 3 compatibility.
9325cb04
PK
361 Skip tests for Python 2.4.
362 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 363 Python 3 compatibility.
9325cb04
PK
364 Use byte string rather than character string in memory write test
365 if Python 3.
366 * gdb.python/py-pp-maint.py: Change class declarations to "new
367 class" syntax.
368 * gdb.python/py-prettyprint.py: Change iterator class to generator
369 function for Python 3 compatibility.
370 Make all classes "new style".
371 Fix indentation issue and stray semicolon.
372 * gdb.python/py-shared.expChange print syntax for Python 3
373 compatibility.
374 Define "long" if Python 3.
375 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 376 compatibility.
9325cb04
PK
377 Accept either int or long values for enum values.
378 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 379 compatibility.
9325cb04
PK
380 Skip "long" and "unicode" tests if Python 3.
381 Accept either "type" or "class" in type checks.
382 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
383 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
384
8b9737bf
TT
3852012-12-10 Tom Tromey <tromey@redhat.com>
386
387 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
388 (test): Add "two_cu" argument.
389 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
390 for types; allow two CUs.
391
1b80a9fa
JK
3922012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
393
394 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
395 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
396
f0b6d50a
YQ
3972012-12-08 Yao Qi <yao@codesourcery.com>
398 Pedro Alves <palves@redhat.com>
399
400 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
401 '=breakpoint-created' when GDB merges the tracepoints of both
402 sides.
403
2f68a895
TT
4042012-12-07 Tom Tromey <tromey@redhat.com>
405
406 * gdb.base/break1.c (enum some_enum, union some_union): New.
407 (some_enum_global, some_union_global, some_value): New globals.
408 * gdb.base/completion.exp: Add tag completion tests.
409
4fc5d43e
TT
4102012-12-07 Tom Tromey <tromey@redhat.com>
411
412 * gdb.base/completion.exp: Add tests for ptype and whatis
413 completion.
414
6559e013
JB
4152012-12-07 Joel Brobecker <brobecker@adacore.com>
416
417 * gdb.base/stale-infcall.exp: Fix copyright line.
418
ae2b630d
JB
4192012-12-07 Joel Brobecker <brobecker@adacore.com>
420
421 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
422
0ba2eb0f
TT
4232012-12-06 Pedro Alves <palves@redhat.com>
424 Tom Tromey <tromey@redhat.com>
425
426 * gdb.base/exprs.exp: Add tests for cast to void.
427
731145cb
TT
4282012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
429
430 * gdb.python/py-mi.exp: Correct expected results for attribute
431 "dynamic" returned by -var-update.
432 Add test case for correct handling of "diplayhint" for children
433 of dynamic varobjs.
434 * gdb.python/py-prettyprint.c (set_itme): New function.
435 (bug_14741) New function.
436 (main) Add call to bug_14741().
437 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
438
e58fcc15
UW
4392012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
440
441 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
442 ${binfile}.funcsyms list.
443
e9eb0d14
YQ
4442012-12-04 Yao Qi <yao@codesourcery.com>
445
446 PR gdb/13443
447 * gdb.trace/actions.exp: Make test messages unique.
448
4983028c
TT
4492012-11-29 Tom Tromey <tromey@redhat.com>
450
451 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
452
ea5e6b0e
UW
4532012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
454
455 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
456 * gdb.opencl/datatypes.exp: Likewise.
457 * gdb.opencl/operators.exp: Likewise.
458 * gdb.opencl/vec_comps.exp: Likewise.
459
cdde3dfb
JG
4602012-11-29 Jerome Guitton <guitton@adacore.com>
461
462 * gdb.ada/iwide: New testcase.
463
b50d69b5
JG
4642012-11-29 Jerome Guitton <guitton@adacore.com>
465
466 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
467 ptype test.
468
c2d3fccf
JG
4692012-11-29 Jerome Guitton <guitton@adacore.com>
470
471 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
472 form {VARIANT_TYPE}ADDRESS.
473
5edf51fe
YQ
4742012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
475
476 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
477 (func): New function.
478 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
479 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
480 pointers to members with pointer-to-function type.
481
608e2dbb
TT
4822012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
483 Tom Tromey <tromey@redhat.com>
484
485 * gdb.base/gnu-debugdata.exp: New file.
486 * gdb.base/gnu-debugdata.c: New file.
487 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
488 (gdb_unload): Return 0 on success.
489
4648e588
JK
4902012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
491
492 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
493
17d6efc4
JB
4942012-11-26 Joel Brobecker <brobecker@adacore.com>
495
496 * gdb.base/empty_exe.exp: New testcase.
497
ace21957
MF
4982012-11-20 Mike Frysinger <vapier@gentoo.org>
499
500 * gdb.base/completion.exp: Add test for help aliases completion.
501
5c401a0a
YQ
5022012-11-20 Yao Qi <yao@codesourcery.com>
503
504 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
505 Don't test 'maint set show-debug-regs'.
506 Use command 'set remotecache' instead of
507 'set circular-trace-buffer'.
508
8dea366b
KS
5092012-11-16 Keith Seitz <keiths@redhat.com>
510
511 PR c++/13615
512 * gdb.cp/baseenum.cc: New file.
513 * gdb.cp/baseenum.exp: New file.
514 * gdb.cp/derivation.cc (A): Add copyright.
515 Add a typedef.
516 (B): Use A::value_type instead of int. Change all references.
517 (D): Use value_type instead of int. Change all references.
518 (E): Likewise.
519 (F); Likewise.
520 (Z): New class.
521 (ZZ): New class.
6fdff2c5 522 (N, Base, Derived): New namespace and classes.
8dea366b
KS
523 (main): Add instances of Z and ZZ.
524 Make sure all symbols from N are kept.
525 * gdb.cp/derivation.exp: Update typedef changes in tests.
526 Add tests for class typedefs both before and after starting
527 the inferior.
528 Add tests for searching for a typedef while stopped in a
529 method.
530
5e34c6c3
LM
5312012-11-14 Luis Machado <lgustavo@codesourcery.com>
532
533 * gdb.mi/mi-var-create-rtti.c: New file.
534 * gdb.mi/mi-var-create-rtti.exp: New file.
535
5e487a5f
LM
5362012-11-14 Luis Machado <lgustavo@codesourcery.com>
537
538 * gdb.base/structs3.exp: Run to main before doing any tests.
539
6d67b990
AB
5402012-11-14 Andrew Burgess <aburgess@broadcom.com>
541
542 * gdb.python/py-type.exp: Uniquify test names.
543
e5d98164
YQ
5442012-11-14 Yao Qi <yao@codesourcery.com>
545
546 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
547 (thread_function) [DEBUG]: Call 'printf'.
548 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
549 command line if 'DEBUG=1' is passed to test.
550 Remove a pattern to match inferior's output.
551
62747a60
TT
5522012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
553
554 * gdb.mi/mi-fill-memory.exp: New test.
555
18a9fc12
TT
5562012-11-12 Tom Tromey <tromey@redhat.com>
557
558 * gdb.base/completion.exp: Update for "info type-printers".
559 * gdb.python/py-typeprint.cc: New file.
560 * gdb.python/py-typeprint.exp: New file.
561 * gdb.python/py-typeprint.py: New file.
562
bd69fc68
TT
5632012-11-12 Tom Tromey <tromey@redhat.com>
564
565 * gdb.base/call-sc.exp: Use "ptype/r".
566 * gdb.base/volatile.exp: Don't expect "int".
567 * gdb.cp/ptype-flags.cc: New file.
568 * gdb.cp/ptype-flags.exp: New file.
569 * gdb.cp/templates.exp: Use ptype/r.
570 (test_ptype_of_templates, test_template_typedef): Likewise.
571 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
572 argument. Handle template names and template parameters.
573 * gdb.mi/mi-var-cmd.exp: Accept "long".
574 * gdb.mi/mi-var-child.exp: Accept "long".
575 * gdb.mi/mi-var-display.exp: Accept "long".
576 * gdb.mi/mi2-var-child.exp: Accept "long".
577
b3720c3a
TT
5782012-11-12 Tom Tromey <tromey@redhat.com>
579
580 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
581 "ptype" from calls to cp_test_ptype_class.
582 (test_enums): Likewise.
583 * gdb.cp/derivation.exp: Remove "ptype" from calls to
584 cp_test_ptype_class.
585 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
586 calls to cp_test_ptype_class.
587 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
588 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
589 from calls to cp_test_ptype_class.
590 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
591 command here. Change "in_command" argument to "in_exp".
592
0d63ecda
KS
5932012-11-10 Keith Seitz <keiths@redhat.com>
594
595 PR gdb/14288
596 * gdb.base/printcmds.c: Add invalid_XXX globals
597 for repeated byte tests.
598 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
599 * gdb.base/wchar.c (main): Add and construct a wchar_t
600 array with repeated characters.
601 * gdb.base/wchar.exp: Add repeated character tests.
602
ed8a1c2d
AB
6032012-11-09 Andrew Burgess <aburgess@broadcom.com>
604
605 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
606 disassembly output.
607
9107fc8d
PA
6082012-11-09 Pedro Alves <palves@redhat.com>
609
610 PR gdb/14306
611
612 * gdb.multi/multi-arch-exec.c: New file.
613 * gdb.multi/multi-arch-exec.exp: New file.
614
558a9d82
YQ
6152012-11-09 Yao Qi <yao@codesourcery.com>
616
617 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
618 (top level): Call it.
619
e714f336
YQ
6202012-11-09 Yao Qi <yao@codesourcery.com>
621
622 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
623 typo.
624
6ecd4729
PA
6252012-11-09 Pedro Alves <palves@redhat.com>
626
627 * gdb.multi/multi-arch.exp: New.
628
9015683b
TT
6292012-11-08 Tom Tromey <tromey@redhat.com>
630
631 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
632 core files, if possible.
633 * gdb.base/siginfo-thread.c: New file
634 * gdb.base/siginfo-thread.exp: New file
635
ea9f10bb
TT
6362012-11-08 Tom Tromey <tromey@redhat.com>
637
638 * gdb.base/comprdebug.exp: New file.
639
f6592439
PA
6402012-11-06 Pedro Alves <palves@redhat.com>
641
642 PR gdb/14810
643
644 * gdb.base/disabled-location.c: New file.
645 * gdb.base/disabled-location.exp: New file.
646
2d338fa9
TT
6472012-11-06 Tom Tromey <tromey@redhat.com>
648
649 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
650 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
651 gdb_gcore_cmd.
652 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
653 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
654 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
655 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
656 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
657 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
658 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
659 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
660 * lib/gdb.exp (gdb_gcore_cmd): New proc.
661
68c9da30
PA
6622012-11-05 Pedro Alves <palves@redhat.com>
663
664 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
665 procedure.
666 (do_vfork_and_follow_child_tests_exec)
667 (do_vfork_and_follow_child_tests_exit): Call it.
668
a7c8c931
PA
6692012-11-05 Pedro Alves <palves@redhat.com>
670
671 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
672 fails.
673
6f6484cd
YQ
6742012-11-03 Yao Qi <yao@codesourcery.com>
675
676 Fix PR gdb/14617.
677 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
678 Remove setup_kfail, and update test.
679
b45627a0
TT
6802012-11-02 Tom Tromey <tromey@redhat.com>
681
682 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
683 test.
684
f50f4e56
PA
6852012-11-02 Pedro Alves <palves@redhat.com>
686
687 PR gdb/14766
688
689 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
690 setup_kfail.
691 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
692 get registers".
693
71ce889d
PA
6942012-11-02 Pedro Alves <palves@redhat.com>
695
696 * gdb.base/foll-vfork-exit.c: New file.
697 * gdb.base/foll-vfork.exp (top level): New file-describing
698 comment.
699 (vfork_child_follow_to_exit): New procedure.
700 (tcatch_vfork_then_child_follow): Rename as ...
701 (tcatch_vfork_then_child_follow_exec): ... this.
702 (tcatch_vfork_then_child_follow_exit): New procedure.
703 (do_vfork_and_follow_parent_tests): New procedure, factored out
704 from do_vfork_and_exec_tests.
705 (do_vfork_and_follow_child_tests_exec): Ditto.
706 (do_vfork_and_exec_tests): Delete.
707 (do_vfork_and_follow_child_tests_exit): New procedure.
708 (top level): Run tests with both the program that has the vfork
709 child execing, and the program has the vfork child exiting.
710
1e35b1a9
PA
7112012-11-02 Pedro Alves <palves@redhat.com>
712
713 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
714 (check_vfork_catchpoints, vfork_parent_follow_through_step)
715 (vfork_parent_follow_to_bp): Call it.
716 (kill_child): Delete.
717 (vfork_and_exec_child_follow_to_main_bp)
718 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
719 longer call kill_child.
720 (tcatch_vfork_then_parent_follow): Call setup_gdb.
721 (do_vfork_and_exec_tests): Don't runto_main before calling each
722 test procedure.
723 (top level): Don't clean restart and set verbose before running
724 each test procedure.
725
7262012-11-02 Pedro Alves <palves@redhat.com>
727
728 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
729 (vfork_parent_follow_to_bp)
730 (vfork_and_exec_child_follow_to_main_bp)
731 (vfork_and_exec_child_follow_through_step)
732 (tcatch_vfork_then_parent_follow)
733 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
734 Use with_test_prefix.
735
7362012-11-02 Pedro Alves <palves@redhat.com>
737
738 * gdb.base/foll-vfork.c: Add copyright header.
739 * gdb.base/vforked-prog.c: Add copyright header.
740
7412012-11-02 Pedro Alves <palves@redhat.com>
742
743 * gdb.base/foll-vfork.exp
744 (vfork_and_exec_child_follow_through_step): Don't skip on
745 non-HP/UX targets. Expect the next to only step one line on
746 non-HP/UX targets, rather than stopping only after the exec.
747
7482012-11-02 Pedro Alves <palves@redhat.com>
749
750 Don't hard code line numbers.
751
752 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
753 Expect text from the sources instead of a line number.
754 (vfork_parent_follow_to_bp)
755 (vfork_and_exec_child_follow_to_main_bp)
756 (vfork_and_exec_child_follow_through_step)
757 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
758 Use gdb_get_line_number.
759
7602012-11-02 Pedro Alves <palves@redhat.com>
761
762 Modernize.
763
764 * gdb.base/foll-vfork.exp: Use standard_testfile and
765 build_executable. Pass descriptive string to untested.
766 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
767 (vfork_and_exec_child_follow_to_main_bp)
768 (vfork_and_exec_child_follow_through_step)
769 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
770 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
771 of send_gdb/gdb_expect.
772
773 (kill_child): New procedure.
774 (vfork_and_exec_child_follow_to_main_bp)
775 (vfork_and_exec_child_follow_through_step): Use it.
776
f0559fff
YQ
7772012-11-02 Yao Qi <yao@codesourcery.com>
778
779 * gdb.base/setvar.exp: Test setting nested struct.
780 * gdb.base/setvar.c (v_struct3): New.
781
c207c6da
DE
7822012-11-01 Doug Evans <dje@google.com>
783
784 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
785 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
786 use them.
787
2f27adfe
AB
7882012-10-31 Andrew Burgess <aburgess@broadcom.com>
789
790 PR cli/14772
791 * gdb.base/gnu_vector.c (union_with_vector_1)
792 (struct_with_vector_1): Add new struct and union for testing
793 ptype.
794 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
795 structs / unions containing vectors.
796
bb662ca6
YQ
7972012-10-25 Yao Qi <yao@codesourcery.com>
798
799 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
800 'setup_kfail' instead of 'setup_kfail_for_target'.
801 * gdb.base/varargs.exp: Likewise.
802 * lib/gdb.exp (setup_kfail_for_target): Remove.
803
635d23ff
MK
8042012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
805
806 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
807
afdb064f
MK
8082012-10-25 Mark Kettenis <kettenis@gnu.org>
809
810 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
811
d99dcf51
JB
8122012-10-24 Joel Brobecker <brobecker@adacore.com>
813
814 * gdb.ada/set_wstr: New testcase.
815
32560274
JB
8162012-10-24 Joel Brobecker <brobecker@adacore.com>
817
818 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
819
5ded5331
JB
8202012-10-24 Joel Brobecker <brobecker@adacore.com>
821
822 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
823
d8d84291
MK
8242012-10-24 Mark Kettenis <kettenis@gnu.org>
825
826 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
827
6e933c51
JK
8282012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
829
830 * gdb.base/callfuncs.exp (do_function_calls): Fix
831 setup_kfail_for_target for -m32 mode.
832
274bd000
MK
8332012-10-23 Mark Kettenis <kettenis@gnu.org>
834
835 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
836 are now fixed.
837
545f743d
YQ
8382012-10-23 Yao Qi <yao@codesourcery.com>
839
840 * gdb.base/info-os.exp: Resume the inferior until it exits.
841
48b56b6a 8422012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
843
99c7d5a8 844 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
845 * gdb.base/print-file-var.exp: Likewise.
846 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 847
8de0566d
YQ
8482012-10-17 Yao Qi <yao@codesourcery.com>
849
850 * gdb.mi/mi-memory-changed.exp: New.
851
44883546
YQ
8522012-10-16 Yao Qi <yao@codesourcery.com>
853
854 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
855 returns true.
856 Call gdb_load_shlibs.
857 * gdb.reverse/solib-reverse.exp: Likewise.
858
345f514a
KS
8592012-10-15 Keith Seitz <keiths@redhat.com>
860
861 * lib/cp-support.exp (cp_test_ptype_class): Add support
862 for class typedefs.
863
864 * gdb.cp/derivation.exp: Add tests for g_instance.
865
9e3a7d65
JK
8662012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
867
868 Fix entry values resolving in inlined frames.
869 * gdb.arch/amd64-entry-value-inline.S: New file.
870 * gdb.arch/amd64-entry-value-inline.c: New file.
871 * gdb.arch/amd64-entry-value-inline.exp: New file.
872
21a7b089
JK
8732012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
874 Doug Evans <dje@google.com>
875
876 Fix recent gdb_breakpoint regression.
877 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
878 braces from the parameter.
879 * gdb.java/jprint.exp: Likewise.
880
2c47921e
DE
8812012-10-15 Doug Evans <dje@google.com>
882
883 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
884
89398707
JB
8852012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
886
887 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
888
801e4185
TT
8892012-10-15 Tom Tromey <tromey@redhat.com>
890
891 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
892
74f910c8
TT
8932012-10-15 Tom Tromey <tromey@redhat.com>
894
895 * gdb.python/py-symbol.exp: Test symbol destructor.
896
91567807
YQ
8972012-10-14 Yao Qi <yao@codesourcery.com>
898
899 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
900 * gdb.mi/mi-cli.exp: New.
901
902 * gdb.mi/mi2-basics.exp: Remove.
903 * gdb.mi/mi2-break.exp: Remove.
904 * gdb.mi/mi2-console.exp: Remove.
905 * gdb.mi/mi2-disassemble.exp: Remove.
906 * gdb.mi/mi2-eval.exp: Remove.
907 * gdb.mi/mi2-file.exp: Remove.
908 * gdb.mi/mi2-hack-cli.exp: Remove.
909 * gdb.mi/mi2-pthreads.exp: Remove.
910 * gdb.mi/mi2-read-memory.exp: Remove.
911 * gdb.mi/mi2-regs.exp: Remove.
912 * gdb.mi/mi2-return.exp: Remove.
913 * gdb.mi/mi2-simplerun.exp: Remove.
914 * gdb.mi/mi2-stack.exp: Remove.
915 * gdb.mi/mi2-stepi.exp: Remove.
916 * gdb.mi/mi2-syn-frame.exp: Remove.
917 * gdb.mi/mi2-until.exp: Remove.
918 * gdb.mi/mi2-watch.exp: Remove.
919 * gdb.mi/mi2-var-block.exp: Remove.
920 * gdb.mi/mi2-var-cmd.exp: Remove.
921 * gdb.mi/mi2-var-display.exp: Remove.
922
87332029
YQ
9232012-10-12 Yao Qi <yao@codesourcery.com>
924
925 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
926 trail '.*' on matching patterns.
927
11fc9057
L
9282012-10-11 H.J. Lu <hongjiu.lu@intel.com>
929
930 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
931 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
932 * gdb.arch/i386-disp-step.exp: Likewise.
933 * gdb.arch/i386-gnu-cfi.exp: Likewise.
934 * gdb.arch/i386-prologue.exp: Likewise.
935 * gdb.arch/i386-size-overlap.exp: Likewise.
936 * gdb.arch/i386-size.exp: Likewise.
937 * gdb.arch/i386-unwind.exp: Likewise.
938
7d46bcdc
L
9392012-10-11 H.J. Lu <hongjiu.lu@intel.com>
940
941 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
942 * gdb.arch/i386-word.exp: Likewise.
943
31224d9d
L
9442012-10-11 H.J. Lu <hongjiu.lu@intel.com>
945
946 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
947 is_ilp32_target to set nr_regs.
948 * gdb.arch/i386-sse.exp: Likewise.
949
5b7d0050
DE
9502012-10-11 Doug Evans <dje@google.com>
951
7c09e5a0
DE
952 PR breakpoints/14643.
953 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
954 * gdb.linespec/thread.c: New file.
955 * gdb.linespec/thread.exp: New file.
956
5b7d0050
DE
957 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
958 Recognize "message" -> print pass and fail. Add eof case.
959 (runto): Recognize message, no-message. Print pass/fail if requested,
960 with same treatment as gdb_breakpoint.
961 (runto_main): Pass no-message to runto.
962 (gdb_internal_error_resync): Add log message.
963 (gdb_file_cmd): Tweak internal error fail text for consistency.
964
2e24f4aa
JK
9652012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
966
967 Fix crash during stepping on ppc32.
968 * gdb.base/step-symless.c: New file.
969 * gdb.base/step-symless.exp: New file.
970
aa14df25
DE
9712012-10-03 Doug Evans <dje@google.com>
972
973 PR symtab/14601
974 * gdb.cp/using-crash.exp: New file.
975 * gdb.cp/using-crash.cc: New file.
976
975531db
DE
9772012-10-02 Doug Evans <dje@google.com>
978
979 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
980 more consistent.
981 (runto,gdb_debug_format): Ditto.
982 (gdb_file_cmd): Watch for eof in nested gdb_expect.
983 Clean up logging and error messages.
984
b3dc46ff
AB
9852012-10-01 Andrew Burgess <aburgess@broadcom.com>
986
987 Test find command on unmapped memory.
988 * gdb.base/find-unmapped.c: New file.
989 * gdb.base/find-unmapped.exp: New file.
990
45814d45
YQ
9912012-09-29 Yao Qi <yao@codesourcery.com>
992
993 * gdb.trace/mi-tracepoint-changed.exp: New.
994 * gdb.mi/mi-breakpoint-changed.exp: New.
995 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
996 * gdb.mi/pendshr2.c: New.
997
4c2786ba
YQ
9982012-09-28 Yao Qi <yao@codesourcery.com>
999
1000 * gdb.mi/pr11022.exp: New.
1001 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
1002
7977e5d2
TT
10032012-09-27 Tom Tromey <tromey@redhat.com>
1004
1005 * gdb.cp/derivation.exp: Add regression test.
1006 * gdb.cp/derivation.cc (class V_base, class V_inter, class
1007 V_derived): New.
1008 (vderived): New global.
1009
0971de02
TT
10102012-09-26 Tom Tromey <tromey@redhat.com>
1011
1012 * gdb.dwarf2/dw2-common-block.S: New file.
1013 * gdb.dwarf2/dw2-common-block.exp: New file.
1014
4357ac6c
TT
10152012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1016
1017 * gdb.fortran/common-block.exp: New file.
1018 * gdb.fortran/common-block.f90: New file.
1019
6f380991
AB
10202012-09-26 Andrew Burgess <aburgess@broadcom.com>
1021
1022 * gdb.base/duplicate-bp.c: New file.
1023 * gdb.base/duplicate-bp.exp: New file.
1024
8ae551cf
YQ
10252012-09-26 Yao Qi <yao@codesourcery.com>
1026
1027 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
1028
1029 Revert:
1030 2012-09-21 Yao Qi <yao@codesourcery.com>
1031
1032 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1033
318102b9
SP
10342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1035
1036 * gdb.base/longest-types.c: New test case.
1037 * gdb.base/longest-types.exp: New test case.
1038
a1e5fd69
YQ
10392012-09-25 Yao Qi <yao@codesourcery.com>
1040
1041 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
1042
04e7407c
JK
10432012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1044
1045 Fix internal error on canonicalization of clang types.
1046 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
1047 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
1048 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
1049
9bf4bce9
JK
10502012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1051
1052 Fix disassemble without parameters in tailcall frame.
1053 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
1054
2603f7ee
AB
10552012-09-21 Andrew Burgess <aburgess@broadcom.com>
1056
1057 * gdb.dwarf2/dw2-op-out-param.S: New file.
1058 * gdb.dwarf2/dw2-op-out-param.exp: New file.
1059
a3569abd
YQ
10602012-09-21 Yao Qi <yao@codesourcery.com>
1061
1062 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1063
a065d7af
YQ
10642012-09-21 Yao Qi <yao@codesourcery.com>
1065
1066 * gdb.mi/mi-cli.exp: Remove.
1067 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
1068
15544bd9
YQ
10692012-09-21 Yao Qi <yao@codesourcery.com>
1070
1071 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
1072 "=record-started" notification.
1073
82a90ccf
YQ
10742012-09-21 Yao Qi <yao@codesourcery.com>
1075
1076 * gdb.mi/mi-record-changed.exp: New.
1077 * gdb.mi/mi-reverse.exp: Adjust expected output.
1078
d7de8e3c
TT
10792012-09-20 Tom Tromey <tromey@redhat.com>
1080
1081 * gdb.python/python.exp: Test atexit.register.
1082
1aa99537
DE
10832012-09-20 Doug Evans <dje@google.com>
1084
05eade73
DE
1085 * boards/dwarf4-gdb-index.exp: New file.
1086
1aa99537
DE
1087 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
1088 while running the tests.
1089
4ae24af0
JB
10902012-09-18 Joel Brobecker <brobecker@adacore.com>
1091
1092 * gdb.ada/bp_reset: New testcase.
1093
bb25a15c
YQ
10942012-09-18 Yao Qi <yao@codesourcery.com>
1095
1096 * gdb.trace/mi-tsv-changed.exp: New.
1097
201b4506
YQ
10982012-09-18 Yao Qi <yao@codesourcery.com>
1099
1100 * gdb.trace/mi-traceframe-changed.exp: New.
1101
6fc1c773
YQ
11022012-09-17 Yao Qi <yao@codesourcery.com>
1103
1104 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
1105 when it is less than 0.
1106
1ab3b62c
JK
11072012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1108
1109 PR 14119
1110 * gdb.arch/amd64-tailcall-ret.S: New file.
1111 * gdb.arch/amd64-tailcall-ret.c: New file.
1112 * gdb.arch/amd64-tailcall-ret.exp: New file.
1113 * gdb.reverse/amd64-tailcall-reverse.S: New file.
1114 * gdb.reverse/amd64-tailcall-reverse.c: New file.
1115 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
1116
acf9414f
JK
11172012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1118
1119 PR 14548
1120 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
1121 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
1122 * gdb.reverse/singlejmp-reverse.S: New file.
1123 * gdb.reverse/singlejmp-reverse.c: New file.
1124 * gdb.reverse/singlejmp-reverse.exp: New file.
1125
666b578b
JK
11262012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1127
1128 Fix compatibility with old GCC (~4.1).
1129 * gdb.cp/converts.cc (my_enum_var): New variable.
1130
42056501
AB
11312012-09-14 Andrew Burgess <aburgess@broadcom.com>
1132
1133 * gdb.xml/tdesc-regs.exp: Update expected output for new
1134 vector_size syntax of vector types.
1135
b9516fa1
YPK
11362012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
1137
1138 Refactor Python "gdb" module into a proper Python package, by
1139 introducing a new "_gdb" module for code implemented in C, and
1140 using reload/__import__ instead of exec.
1141 * gdb.python/python.exp (Test stderr location): Update module
1142 location of GDB-specific sys.stderr.
1143 (Test stdout location): Ditto for sys.stdout.
1144
18dc9ad8
JK
11452012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1146
1147 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
1148
ea3a9873
KS
11492012-09-12 Keith Seitz <keiths@redhat.com>
1150
1151 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
1152 conversion statement.
1153
5941debb
DE
11542012-09-12 Doug Evans <dje@google.com>
1155
1156 * gdb.base/help.exp: Remove testing of individual command help text,
1157 too much of a maintenance burden. Instead, test the functionality
1158 of "help" itself.
1159
cfc35e02
DE
11602012-09-11 Doug Evans <dje@google.com>
1161
3a0ed5d7
DE
1162 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
1163 breakpoint.
1164
cfc35e02
DE
1165 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
1166 * gdb.dwarf2/fission-reread.S: Ditto.
1167 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
1168 * gdb.dwarf2/fission-reread.exp: Ditto.
1169
350b1b26
AB
11702012-09-11 Andrew Burgess <aburgess@broadcom.com>
1171
1172 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
1173
2fa15f23
JB
11742012-09-10 Joel Brobecker <brobecker@adacore.com>
1175
1176 * gdb.ada/optim_drec: New testcase.
1177
09be558e
DE
11782012-09-10 Doug Evans <dje@google.com>
1179
1180 * boards/fission.exp: Explicitly mark "board" as not remote.
1181
5b4f6e25
KS
11822012-09-10 Keith Seitz <keiths@redhat.com>
1183
1184 PR gdb/13483
1185 * gdb.cp/converts.cc (A::A): Add ctor.
1186 (A::member_): Add member.
1187 (enum my_enum): New enumeration.
1188 (main): Add calls to foo1_7 with various
1189 permitted arguments.
1190 * gdb.cp/converts.exp: Add tests for boolean
1191 conversions permitted by the standard.
1192
b4ca5ed9
YPK
11932012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
1194
1195 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
1196 avoid spurious results due to ~/.gdbinit.
1197 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
1198 $INTERNAL_GDBFLAGS in run command.
1199 * gdb.gdb/observer.exp (setup_test): Ditto.
1200 * gdb.gdb/selftest.exp (test_with_self): Ditto.
1201 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
1202
d54b30bb
DE
12032012-09-06 Doug Evans <dje@google.com>
1204
14910956
DE
1205 * boards/fission.exp: New file.
1206
d54b30bb
DE
1207 * gdb.python/py-value.exp: Use clean_restart.
1208
91b253e1
DE
12092012-09-05 Doug Evans <dje@google.com>
1210
1211 * gdb.base/info-macros.c: Fix whitespace.
1212
1292279a
PA
12132012-08-28 Pedro Alves <palves@redhat.com>
1214
1215 PR gdb/14428
1216
1217 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
1218
1c8cdcb1
JK
12192012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1220
1221 * gdb.base/break-caller-line.c: New file.
1222 * gdb.base/break-caller-line.exp: New file.
1223
1e8e8b51
JK
12242012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1225
1226 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
1227 * gdb.arch/i386-cfi-notcurrent.S: New file.
1228 * gdb.arch/i386-cfi-notcurrent.exp: New file.
1229
1591a1e8
PA
12302012-08-27 Wei-cheng Wang <cole945@gmail.com>
1231 Yao Qi <yao@codesourcery.com>
1232 Pedro Alves <palves@redhat.com>
1233
1234 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
1235 New procedures.
1236 (top level): Add overlap checking tests.
1237
4442ada7
TT
12382012-08-24 Tom Tromey <tromey@redhat.com>
1239
1240 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
1241 gdb_test_multiple fails for other reasons.
1242
e7d50cc9
YQ
12432012-08-24 Yao Qi <yao@codesourcery.com>
1244
1245 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
1246
dfbd5e7b
PA
12472012-08-23 Pedro Alves <palves@redhat.com>
1248
1249 * gdb.base/help.exp: Adjust to "handle" help text change.
1250
8d735b87
YQ
12512012-08-23 Yao Qi <yao@codesourcery.com>
1252
1253 * gdb.trace/disconnected-tracing.c (start, end): New.
1254 (main): Call start and end.
1255 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
1256 existing tests into this proc.
1257 (disconnected_tfind): New.
1258
61b1d759
YQ
12592012-08-23 Yao Qi <yao@codesourcery.com>
1260
1261 * boards/native-gdbserver.exp (${board}_upload): New.
1262 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
1263 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
1264 Execute tfile on remote target.
1265 Copy trace file from target to host.
1266
6ca1b147
JM
12672012-08-22 Joseph Myers <joseph@codesourcery.com>
1268
1269 * gdb.arch/thumb-bx-pc.S: New file.
1270 * gdb.arch/thumb-bx-pc.exp: New file.
1271
706e3705
TT
12722012-08-22 Tom Tromey <tromey@redhat.com>
1273
1274 * gdb.base/maint.exp: Update.
1275
b4893d48
TT
12762012-08-22 Tom Tromey <tromey@redhat.com>
1277
1278 * lib/gdb.exp (skip_unwinder_tests): New proc.
1279 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
1280 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
1281
45b7da81
TT
12822012-08-21 Tom Tromey <tromey@redhat.com>
1283
1284 * gdb.hp/gdb.aCC/exception.exp: Remove.
1285
f94363d7
AP
1286012-08-19 Andrew Pinski <apinski@cavium.com>
1287
1288 * gdb.arch/mips-octeon-bbit.c: New file.
1289 * gdb.arch/mips-octeon-bbit.exp: New Test.
1290
e5afdbd7
KS
1291012-08-19 Keith Seitz <keiths@redhat.com>
1292
1293 PR c++/14365
1294 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
1295 * gdb.dwarf2/dw2-anon-mptr.S: New file.
1296
c29e8b64
JK
12972012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1298
1299 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
1300 verbose -log by more specific untested call.
1301
15a7e7bc
YQ
13022012-08-18 Yao Qi <yao@codesourcery.com>
1303
1304 * gdb.trace/tfind.exp: Move tests on various command help before
1305 checking target supports trace.
1306 Fix the expected output of 'help tfind end'.
1307
a451cb65
KS
13082012-08-17 Keith Seitz <keiths@redhat.com>
1309
1310 PR c++/13356
1311 * gdb.base/default.exp: Update all "check type" tests.
1312 * gdb.base/help.exp: Likewise.
1313 * gdb.base/setshow.exp: Likewise.
1314 * gdb.cp/converts.cc (foo1_type_check): New function.
1315 (foo2_type_check): New function.
1316 (foo3_type_check): New function.
1317 (main): Call new functions.
1318 * converts.exp: Add tests for integer-to-pointer conversions
1319 with/without strict type-checking.
1320
dbf6a605
MF
13212012-08-16 Mike Frysinger <vapier@gentoo.org>
1322
1323 * gdb.base/help.exp: Update expected output.
1324
0c92d8c1
JB
13252012-08-16 Joel Brobecker <brobecker@adacore.com>
1326
1327 * gdb.ada/rdv_wait: New testcase.
1328
e56f7f42
JK
13292012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1330
1331 * gdb.base/attach-twice.exp: Remove excessive ps exec.
1332
f47f77df
DE
13332012-08-13 Doug Evans <dje@google.com>
1334
e202d6e8 1335 * gdb.base/help.exp: Update expected output.
f47f77df
DE
1336 * gdb.base/default.exp: Update expected output of "show convenience".
1337
a72c3253
DE
13382012-08-10 Doug Evans <dje@google.com>
1339
1340 * gdb.python/py-strfns.c: New file.
1341 * gdb.python/py-strfns.exp: New file.
1342 * gdb.python/py-type.exp (test_fields): Add vector tests.
1343
de0bea00
MF
13442012-08-10 Mike Frysinger <vapier@gentoo.org>
1345
1346 PR cli/10436:
1347 * gdb.base/completion.exp: Add tests for handle completion.
1348
5b9afe8a
YQ
13492012-08-09 Yao Qi <yao@codesourcery.com>
1350
1351 * gdb.mi/mi-cmd-param-changed.exp: New.
1352 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
1353 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
1354 * gdb.mi/mi2-prompt.exp: Likewise.
1355
4f485ebc
DE
13562012-08-08 Doug Evans <dje@google.com>
1357
1358 * gdb.base/debug-expr.c: New file.
1359 * gdb.base/debug-expr.exp: New file.
1360 * gdb.base/exprs.exp: Test {type} casts.
1361 * gdb.cp/debug-expr.exp: New file.
1362
5888842d
JK
13632012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1364
1365 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
1366 global variable loop, not a 'break'. Add loop count limit to 100.
1367 Add new fail case for terminated vgdb.
1368
4f69f4c2
JK
13692012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1370 Jean-Marc Saffroy <saffroy@gmail.com>
1371
1372 PR 11804
1373 * gdb.base/gcore-relro.exp: New file.
1374 * gdb.base/gcore-relro-main.c: New file.
1375 * gdb.base/gcore-relro-lib.c: New file.
1376
e2de5390
JK
13772012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1378
1379 Do not false FAIL with old GCCs.
1380 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
1381 GCC < 4.5 in $no_hw mode.
1382
606603c5
JK
13832012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1384
1385 * gdb.base/default.exp (cd): Accept new directory with no arguments.
1386
777f26c2
JK
13872012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1388
1389 * gdb.base/list.exp (test_only_end): New function.
1390 Call it.
1391
2c12abee
TT
13922012-08-06 Tom Tromey <tromey@redhat.com>
1393
1394 * gdb.python/py-mi.exp: Add test for printer whose children
1395 are a list.
1396 * gdb.python/py-prettyprint.c (struct children_as_list): New.
1397 (main): New variable children_as_list.
1398 * gdb.python/py-prettyprint.py (class pp_children_as_list):
1399 New.
1400 (register_pretty_printers): Register new printer.
1401
0eae2cf4
EBM
14022012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1403
1404 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
1405 symbols. Abort if vgdb remote connection is closed.
1406
09e0881d
DE
14072012-08-02 Doug Evans <dje@google.com>
1408
1409 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
1410
b40f514f
SDJ
14112012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
1412
1413 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
1414 s390x, PowerPC 64 and m68k-linux.
1415
11315ae0
UW
14162012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1417
1418 * gdb.base/annota1.exp: Accept no frames-invalid notification
1419 when starting up the program.
1420 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
1421 show a symbolic value as well.
1422 * gdb.server/server-exec-info.exp: Skip test when skipping
1423 gdbserver test and/or when skipping shared library tests.
1424 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
1425 avoid name conflicts with other tests.
1426
0547eeed
UW
14272012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1428
1429 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
1430 Fix wrong output on big-endian systems.
1431 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
1432 4-byte pointer types on 64-bit s390x.
1433
bdddb4de
UW
14342012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1435
1436 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
1437 marker comment at the beginning (after intialization).
1438 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
1439 breakpoint on marker comment instead of function begin.
1440 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
1441 PowerPC.
1442 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
1443 or 64-bit PowerPC.
1444 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
1445 gdb,no_hardware_watchpoints flag is set.
1446 (initialize): Remove now redundant can-use-hw-watchpoints change.
1447
5d206025
YQ
14482012-08-02 Yao Qi <yao@codesourcery.com>
1449 Pedro Alves <palves@redhat.com>
1450
1451 * boards/local-remote-host.exp: New.
1452
4f665099
UW
14532012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1454
1455 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
1456 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
1457 * gdb.base/print-file-var.exp: Likewise.
1458 * gdb.server/solib-list.exp: Skip on remote targets.
1459
b62e2b27
UW
14602012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1461
1462 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
1463 watchpoints on ARM. When expecting software watchpoints, tolerate
1464 (remote) targets that report unsupported hardware watchpoint only
1465 at continue time.
1466 (test_wide_location_2): Likewise.
1467
a967a851
JK
14682012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1469
1470 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
1471 valgrind versions.
1472
75d9f9ff 14732012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
1474
1475 * gdb.base/valgrind-infcall.c: New file.
1476 * gdb.base/valgrind-infcall.exp: New file.
1477
75d9f9ff
JK
1478 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
1479
1c9f2ed2
KS
14802012-07-30 Keith Seitz <keiths@redhat.com>
1481
1482 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
1483 linespecs.
1484
7f9b2034
DE
14852012-07-30 Doug Evans <dje@google.com>
1486
85220e01
DE
1487 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
1488 * gdb.dwarf2/pr13961.S: Ditto.
1489
7f9b2034
DE
1490 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
1491
4e969b4f
AB
14922012-07-30 Andrew Burgess <aburgess@broadcom.com>
1493
1494 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
1495 change its format immediately after reloading the binary.
1496
e7de8362
JK
14972012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1498
1499 Fix testsuite regression after --use-deprecated-index-sections removal.
1500 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
1501 string.
1502 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
1503
7255706c
YQ
15042012-07-27 Yao Qi <yao@codesourcery.com>
1505
1506 KFAIL for PR remote/14161.
1507 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
1508 Cleanup socket files.
1509 (strace_info_marker): Detach inferior.
1510
f2e8016f
TT
15112012-07-26 Tom Tromey <tromey@redhat.com>
1512
6fdff2c5 1513 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 1514
f66713d2
JK
15152012-07-26 Markus Metzger <markus.t.metzger@intel.com>
1516
1517 * gdb.python/py-inferior.c (thread): New function.
1518 (check_threads): New function.
1519 (test_threads): New function.
1520 * gdb.python/py-inferior.exp: Added test.
1521 Replaced runto with continue to breakpoint.
1522
8223e12c
TT
15232012-07-26 Tom Tromey <tromey@redhat.com>
1524
1525 * lib/ada.exp (standard_ada_testfile): New proc.
1526 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
1527 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
1528 * gdb.ada/array_return.exp: Use standard_ada_testfile.
1529 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
1530 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
1531 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
1532 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
1533 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
1534 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
1535 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
1536 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
1537 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
1538 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
1539 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
1540 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
1541 * gdb.ada/char_param.exp: Use standard_ada_testfile.
1542 * gdb.ada/complete.exp: Use standard_ada_testfile.
1543 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
1544 standard_output_file.
1545 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
1546 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
1547 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
1548 standard_output_file.
1549 * gdb.ada/exprs.exp: Use standard_ada_testfile.
1550 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
1551 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
1552 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
1553 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
1554 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
1555 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
1556 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
1557 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
1558 * gdb.ada/homonym.exp: Use standard_ada_testfile.
1559 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
1560 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
1561 * gdb.ada/interface.exp: Use standard_ada_testfile.
1562 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
1563 standard_output_file
1564 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
1565 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
1566 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
1567 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
1568 * gdb.ada/nested.exp: Use standard_ada_testfile.
1569 * gdb.ada/null_array.exp: Use standard_ada_testfile.
1570 * gdb.ada/null_record.exp: Use standard_ada_testfile.
1571 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
1572 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
1573 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
1574 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
1575 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
1576 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
1577 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
1578 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
1579 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
1580 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
1581 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
1582 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
1583 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
1584 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
1585 * gdb.ada/start.exp: Use standard_ada_testfile.
1586 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
1587 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
1588 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
1589 * gdb.ada/tagged.exp: Use standard_ada_testfile.
1590 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
1591 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
1592 * gdb.ada/tasks.exp: Use standard_ada_testfile.
1593 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
1594 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
1595 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
1596 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
1597 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
1598 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
1599 * gdb.ada/widewide.exp: Use standard_ada_testfile.
1600
bbec57e4
JK
16012012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1602
1603 Fix testsuite regression after --use-deprecated-index-sections removal.
1604 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
1605
9cc8e32c
JK
16062012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1607
1608 Fix compatibility with Tcl before 7.5.
1609 * lib/future.exp (lreverse): New function if it does not exist.
1610
ea5ca7b5
MK
16112012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
1612
1613 * gdb.mi/mi-pending.c: New method to set a second pending
1614 breakpoint.
1615 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
1616 condition.
1617
64776a0b
PA
16182012-07-20 Pedro Alves <palves@redhat.com>
1619
1620 PR threads/11692
1621 PR gdb/12203
1622
1623 * gdb.threads/create-fail.c: New file.
1624 * gdb.threads/create-fail.exp: New file.
1625
13e4e967
PA
16262012-07-19 Pedro Alves <palves@redhat.com>
1627
1628 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
1629 * config/vx.exp (gdb_start): Likewise.
1630 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
1631 * gdb.base/setvar.exp (test_set): Likewise.
1632 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
1633 * gdb.reverse/sigall-precsave.exp: Likewise.
1634 * gdb.reverse/sigall-reverse.exp: Likewise.
1635
b7aefa4d
PA
16362012-07-19 Pedro Alves <palves@redhat.com>
1637
1638 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
1639 handler before recording.
1640
608b4967
TT
16412012-07-19 Tom Tromey <tromey@redhat.com>
1642
1643 * gdb.cp/casts.exp: Add tests for typeof and decltype.
1644 * gdb.cp/casts.cc (decltype): New function.
1645 (main): Use it.
1646
b1e0c0fa
PA
16472012-07-19 Pedro Alves <palves@redhat.com>
1648
1649 * gdb.base/sigall.exp (signals): New list.
1650 <top level>: Loop over signals in the $signals list instead of
1651 calling a test function once per signal.
1652 * gdb.reverse/sigall-precsave.exp (signals): New list.
1653 <top level>: Loop over signals in the $signals list instead of
1654 calling a test function once per signal.
1655 * gdb.reverse/sigall-reverse.exp (signals): New list.
1656 <top level>: Loop over signals in the $signals list instead of
1657 calling a test function once per signal.
1658
6ace3df1
YQ
16592012-07-19 Yao Qi <yao@codesourcery.com>
1660
1661 * gdb.base/setshow.exp: Test 'set args ~'.
1662
263a0f8c
JK
16632012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1664
1665 * gdb.base/store.exp (check_set): Import gdb_prompt.
1666 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
1667 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
1668
8f043999
JK
16692012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1670
1671 PR 11914
1672 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
1673 (main): Call eval_sub.
1674 * gdb.python/py-prettyprint.exp:
1675 (python execfile ('py-prettyprint.py')): Move it earlier.
1676 New breakpoint for eval-break.
1677 (continue to breakpoint: eval-break, info locals): New test.
1678 (python execfile ('py-prettyprint.py')): Move it from here.
1679 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
1680 (register_pretty_printers): Register pp_eval_type.
1681
725c7b66
JK
16822012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1683
1684 Fix a testcase regression by me.
1685 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
1686 DW_FORM_data4.
1687
4359dff1
JK
16882012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1689 Doug Evans <dje@google.com>
1690
1691 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
1692 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
1693
61e44cfa
JK
16942012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1695
1696 Fix gdbserver run regression.
1697 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
1698
93c0ef37
TT
16992012-07-12 Tom Tromey <tromey@redhat.com>
1700
1701 * lib/gdb.exp (standard_testfile): Don't declare objdir.
1702 (clean_restart): Likewise.
1703 (core_find): Use standard_output_file.
1704
76027ef5
TT
17052012-07-12 Tom Tromey <tromey@redhat.com>
1706
1707 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
1708 * gdb.dwarf2/dw2-anonymous-func.exp: Use
1709 prepare_for_testing_full.
1710 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
1711 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
1712 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
1713 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
1714 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
1715 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
1716 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
1717 prepare_for_testing_full.
1718 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
1719 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
1720 prepare_for_testing_full.
1721 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
1722 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
1723 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
1724
85b4440a
TT
17252012-07-12 Tom Tromey <tromey@redhat.com>
1726
1727 * lib/gdb.exp (build_executable_from_specs): New proc, from
1728 build_executable.
1729 (build_executable): Use it.
1730 (prepare_for_testing_full): New proc.
1731
55baab26
TT
17322012-07-11 Tom Tromey <tromey@redhat.com>
1733
1734 * gdb.reverse/break-precsave.exp: Use standard_output_file.
1735 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
1736 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
1737 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
1738 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
1739 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
1740 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
1741 * gdb.reverse/step-precsave.exp: Use standard_output_file.
1742 * gdb.reverse/until-precsave.exp: Use standard_output_file.
1743 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
1744
298a9cf0
TT
17452012-07-10 Tom Tromey <tromey@redhat.com>
1746
1747 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
1748 standard_output_file.
1749 * gdb.mi/gdb2549.exp: Use standard_testfile.
1750 * gdb.mi/gdb669.exp: Use standard_testfile.
1751 * gdb.mi/gdb701.exp: Use standard_testfile.
1752 * gdb.mi/gdb792.exp: Use standard_testfile.
1753 * gdb.mi/mi-async.exp: Use standard_testfile.
1754 * gdb.mi/mi-basics.exp: Use standard_testfile.
1755 * gdb.mi/mi-break.exp: Use standard_testfile.
1756 * gdb.mi/mi-cli.exp: Use standard_testfile.
1757 * gdb.mi/mi-console.exp: Use standard_testfile.
1758 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
1759 * gdb.mi/mi-eval.exp: Use standard_testfile.
1760 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
1761 * gdb.mi/mi-file.exp: Use standard_testfile.
1762 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
1763 * gdb.mi/mi-logging.exp: Use standard_testfile.
1764 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
1765 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
1766 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
1767 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
1768 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
1769 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
1770 * gdb.mi/mi-pending.exp: Use standard_testfile,
1771 standard_output_file.
1772 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
1773 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
1774 * gdb.mi/mi-regs.exp: Use standard_testfile.
1775 * gdb.mi/mi-return.exp: Use standard_testfile.
1776 * gdb.mi/mi-reverse.exp: Use standard_testfile.
1777 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
1778 * gdb.mi/mi-solib.exp: Use standard_testfile,
1779 standard_output_file.
1780 * gdb.mi/mi-stack.exp: Use standard_testfile.
1781 * gdb.mi/mi-stepi.exp: Use standard_testfile.
1782 * gdb.mi/mi-stepn.exp: Use standard_testfile.
1783 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
1784 * gdb.mi/mi-until.exp: Use standard_testfile.
1785 * gdb.mi/mi-var-block.exp: Use standard_testfile.
1786 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
1787 * gdb.mi/mi-var-child.exp: Use standard_testfile.
1788 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
1789 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
1790 * gdb.mi/mi-var-display.exp: Use standard_testfile.
1791 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
1792 standard_output_file.
1793 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
1794 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
1795 * gdb.mi/mi-watch.exp: Use standard_testfile.
1796 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
1797 * gdb.mi/mi2-basics.exp: Use standard_testfile.
1798 * gdb.mi/mi2-break.exp: Use standard_testfile.
1799 * gdb.mi/mi2-cli.exp: Use standard_testfile.
1800 * gdb.mi/mi2-console.exp: Use standard_testfile.
1801 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
1802 * gdb.mi/mi2-eval.exp: Use standard_testfile.
1803 * gdb.mi/mi2-file.exp: Use standard_testfile.
1804 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
1805 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
1806 * gdb.mi/mi2-regs.exp: Use standard_testfile.
1807 * gdb.mi/mi2-return.exp: Use standard_testfile.
1808 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
1809 * gdb.mi/mi2-stack.exp: Use standard_testfile.
1810 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
1811 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
1812 * gdb.mi/mi2-until.exp: Use standard_testfile.
1813 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
1814 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
1815 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
1816 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
1817 * gdb.mi/mi2-watch.exp: Use standard_testfile.
1818
f5f3a911
TT
18192012-07-10 Tom Tromey <tromey@redhat.com>
1820
1821 * gdb.cp/abstract-origin.exp: Use standard_testfile.
1822 * gdb.cp/ambiguous.exp: Use standard_testfile,
1823 prepare_for_testing.
1824 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
1825 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
1826 * gdb.cp/anon-ns.exp: Use standard_testfile.
1827 * gdb.cp/anon-struct.exp: Use standard_testfile.
1828 * gdb.cp/anon-union.exp: Use standard_testfile,
1829 prepare_for_testing.
1830 * gdb.cp/arg-reference.exp: Use standard_testfile,
1831 prepare_for_testing.
1832 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
1833 * gdb.cp/breakpoint.exp: Use standard_testfile,
1834 prepare_for_testing.
1835 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
1836 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
1837 standard_output_file.
1838 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
1839 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
1840 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
1841 (test_static_members): Update.
1842 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
1843 * gdb.cp/converts.exp: Use standard_testfile.
1844 * gdb.cp/cp-relocate.exp: Use standard_testfile.
1845 * gdb.cp/cpcompletion.exp: Use standard_testfile,
1846 prepare_for_testing.
1847 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
1848 * gdb.cp/cplabel.exp: Use standard_testfile.
1849 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
1850 prepare_for_testing.
1851 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
1852 * gdb.cp/derivation.exp: Use standard_testfile,
1853 prepare_for_testing.
1854 * gdb.cp/destrprint.exp: Use standard_testfile.
1855 * gdb.cp/dispcxx.exp: Use standard_testfile.
1856 * gdb.cp/exception.exp: Use standard_testfile,
1857 prepare_for_testing.
1858 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
1859 * gdb.cp/extern-c.exp: Use standard_testfile,
1860 prepare_for_testing.
1861 * gdb.cp/formatted-ref.exp: Use standard_testfile,
1862 prepare_for_testing.
1863 * gdb.cp/fpointer.exp: Use standard_testfile.
1864 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
1865 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
1866 standard_output_file.
1867 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
1868 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
1869 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
1870 standard_output_file.
1871 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
1872 (do_tests): Update.
1873 * gdb.cp/koenig.exp: Use standard_testfile.
1874 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
1875 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
1876 * gdb.cp/m-static.exp: Use standard_testfile,
1877 prepare_for_testing.
1878 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
1879 * gdb.cp/mb-inline.exp: Use standard_testfile,
1880 prepare_for_testing.
1881 * gdb.cp/mb-templates.exp: Use standard_testfile,
1882 prepare_for_testing.
1883 * gdb.cp/member-ptr.exp: Use standard_testfile,
1884 prepare_for_testing.
1885 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
1886 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
1887 * gdb.cp/method2.exp: Use standard_testfile.
1888 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
1889 standard_output_file.
1890 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
1891 (do_tests): Update.
1892 * gdb.cp/namespace-enum.exp: Use standard_testfile,
1893 prepare_for_testing.
1894 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
1895 prepare_for_testing.
1896 * gdb.cp/namespace.exp: Use standard_testfile,
1897 prepare_for_testing.
1898 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
1899 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
1900 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
1901 * gdb.cp/nsimport.exp: Use standard_testfile,
1902 prepare_for_testing.
1903 * gdb.cp/nsnested.exp: Use standard_testfile.
1904 * gdb.cp/nsnoimports.exp: Use standard_testfile.
1905 * gdb.cp/nsrecurs.exp: Use standard_testfile,
1906 prepare_for_testing.
1907 * gdb.cp/nsstress.exp: Use standard_testfile,
1908 prepare_for_testing.
1909 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
1910 * gdb.cp/operator.exp: Use standard_testfile.
1911 * gdb.cp/oranking.exp: Use standard_testfile.
1912 * gdb.cp/overload-const.exp: Use standard_testfile.
1913 * gdb.cp/overload.exp: Use standard_testfile,
1914 prepare_for_testing.
1915 * gdb.cp/ovldbreak.exp: Use standard_testfile.
1916 * gdb.cp/ovsrch.exp: Use standard_testfile.
1917 * gdb.cp/paren-type.exp: Use standard_testfile.
1918 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
1919 prepare_for_testing.
1920 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
1921 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
1922 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
1923 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
1924 * gdb.cp/pr10728.exp: Use standard_testfile,
1925 standard_output_file.
1926 * gdb.cp/pr12028.exp: Use standard_testfile.
1927 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
1928 * gdb.cp/pr9167.exp: Use standard_testfile.
1929 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
1930 * gdb.cp/printmethod.exp: Use standard_testfile,
1931 prepare_for_testing.
1932 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
1933 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
1934 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
1935 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
1936 standard_output_file.
1937 * gdb.cp/readnow-language.exp: Use standard_testfile.
1938 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
1939 (gdb_start_again): Use clean_restart.
1940 * gdb.cp/ref-types.exp: Use standard_testfile,
1941 prepare_for_testing.
1942 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
1943 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
1944 * gdb.cp/smartp.exp: Use standard_testfile.
1945 * gdb.cp/static-method.exp: Use standard_testfile.
1946 * gdb.cp/static-print-quit.exp: Use standard_testfile.
1947 * gdb.cp/temargs.exp: Use standard_testfile.
1948 * gdb.cp/templates.exp: Use standard_testfile,
1949 prepare_for_testing.
1950 (do_tests): Update.
1951 * gdb.cp/try_catch.exp: Use standard_testfile,
1952 prepare_for_testing.
1953 * gdb.cp/typedef-operator.exp: Use standard_testfile.
1954 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
1955 * gdb.cp/virtbase.exp: Use standard_testfile,
1956 prepare_for_testing.
1957 * gdb.cp/virtfunc.exp: Use standard_testfile,
1958 prepare_for_testing.
1959 (do_tests): Update.
1960 * gdb.cp/virtfunc2.exp: Use standard_testfile,
1961 prepare_for_testing.
1962
686f09d0
TT
19632012-07-10 Tom Tromey <tromey@redhat.com>
1964
1965 * lib/gdb.exp (standard_testfile): Unset output variables from
1966 earlier invocations.
1967
9357e021
YQ
19682012-07-10 Yao Qi <yao@codesourcery.com>
1969
1970 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
1971 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
1972 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
1973 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
1974 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
1975 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
1976 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
1977 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
1978 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
1979 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
1980 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
1981 * gdb.mi/mi-var-display.exp: Likewise.
1982 * gdb.mi/mi-var-invalidate.exp: Likewise.
1983 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
1984 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
1985 * gdb.mi/mi2-console.exp: Likewise.
1986 * gdb.mi/mi2-disassemble.exp: Likewise.
1987 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
1988 * gdb.mi/mi2-read-memory.exp: Likewise.
1989 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
1990 * gdb.mi/mi2-simplerun.exp: Likewise.
1991 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
1992 * gdb.mi/mi2-syn-frame.exp: Likewise.
1993 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
1994 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
1995 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
1996
e314d629
TT
19972012-07-09 Tom Tromey <tromey@redhat.com>
1998
1999 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
2000 * gdb.base/callfuncs.exp: Add cast-based test.
2001 * gdb.base/callfuncs.c (voidfunc): New function.
2002
06928b3f
DE
20032012-07-08 Doug Evans <dje@google.com>
2004
2005 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
2006
32f11bad
JK
20072012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2008
2009 Fix XFAIL compatibility with old i386 systems.
2010 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
2011 Check also 'Cannot insert breakpoint 0'.
2012
76b83c51
JK
20132012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2014
2015 PR 14321
2016 * gdb.base/find.exp
2017 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
2018
a6fb9c08
TT
20192012-07-06 Tom Tromey <tromey@redhat.com>
2020
2021 * gdb.base/whatis.exp: Add test.
2022
71918a86
TT
20232012-07-06 Tom Tromey <tromey@redhat.com>
2024
2025 * gdb.base/whatis.exp: Add regression test.
2026
fcde5961
TT
20272012-07-06 Tom Tromey <tromey@redhat.com>
2028
2029 * gdb.base/whatis.exp: Add tests.
2030
f9cf0f4a
JK
20312012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2032
2033 PR 12649
2034 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
2035 gdb_test_multiple $gdb_prompt terminator.
2036
979ade8b
PA
20372012-07-04 Pedro Alves <palves@redhat.com>
2038
2039 * gdb.mi/mi-reverse.exp: Use supports_reverse and
2040 supports_process_record.
2041
8a980b44
PA
20422012-07-04 Pedro Alves <palves@redhat.com>
2043
2044 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
2045 endings.
2046 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
2047
855ba978
SS
20482012-07-03 Stan Shebs <stan@codesourcery.com>
2049
2050 * gdb.base/info-os.c (main): Retry resource acquisition until an
2051 available one is found.
2052 * gdb.base/info-os.exp: Collect resource keys from the program
2053 and use them in matching.
2054
fcb44371
JK
20552012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
2058 Wrap the test into loop for corefile and core0file.
2059
08a67be6
JK
20602012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2061
2062 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
2063 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
2064 .note.GNU-stack.
2065
0f3c2347
JK
2066 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
2067
ff4a4500
SDJ
20682012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
2069
2070 * gdb.base/help.exp (help b, help br, help bre, help brea, help
2071 break): Include help message for the new `-probe' and `-probe-stap'
2072 options.
2073
d3ce09f5
SS
20742012-07-02 Stan Shebs <stan@codesourcery.com>
2075
2076 * gdb.base/dprintf.exp: Add agent style tests.
2077
a1624241
JK
20782012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2079
2080 * gdb.base/stale-infcall.c (infcall): New label test-next.
2081 (main): New labels test-pass and test-fail.
2082 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
2083 $test_fail_bpnum to test-fail.
2084 (test system longjmp tracking support): New test.
2085 Delete $test_fail_bpnum.
2086 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
2087 breakpoint.
2088
42e7ad6c
DE
20892012-06-30 Doug Evans <dje@google.com>
2090
2091 * gdb.dwarf2/fission-reread.S: New file.
2092 * gdb.dwarf2/fission-reread.exp: New file.
2093
37ce89eb
SS
20942012-06-28 Stan Shebs <stan@codesourcery.com>
2095
2096 * gdb.mi/mi-logging.exp: New file.
2097
e5ef252a
PA
20982012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2099 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.threads/siginfo-threads.exp: New file.
2102 * gdb.threads/siginfo-threads.c: New file.
2103 * gdb.threads/sigstep-threads.exp: New file.
2104 * gdb.threads/sigstep-threads.c: New file.
2105
22f1fbae
TT
21062012-06-28 Tom Tromey <tromey@redhat.com>
2107
2108 * gdb.go/package.exp: Partially revert earlier patch; use
2109 gdb_compile again. Use standard_output_file.
2110
2e3cf129
DE
21112012-06-27 Doug Evans <dje@google.com>
2112
2113 * gdb.dwarf2/fission-base.c: New file.
2114 * gdb.dwarf2/fission-base.S: New file.
2115 * gdb.dwarf2/fission-base.exp: New file.
2116
785fd303
JK
21172012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2118
2119 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
2120
1bb9788d
TT
21212012-06-27 Tom Tromey <tromey@redhat.com>
2122
2123 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
2124 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
2125
c83ee902
TT
21262012-06-27 Tom Tromey <tromey@redhat.com>
2127
2128 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
2129 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
2130 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
2131 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
2132 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
2133 prepare_for_testing.
2134 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
2135 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
2136 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
2137 standard_testfile.
2138 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
2139 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
2140 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
2141 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
2142 prepare_for_testing.
2143 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
2144 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
2145 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
2146 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
2147 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
2148 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
2149 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
2150 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
2151 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
2152 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
2153 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
2154 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
2155 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
2156 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
2157 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
2158 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
2159 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
2160 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
2161 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
2162 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
2163 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
2164 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
2165 standard_output_file.
2166 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
2167 standard_output_file.
2168 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
2169 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
2170 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
2171 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
2172 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
2173 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
2174 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
2175 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
2176 * gdb.dwarf2/implptr.exp: Use standard_testfile.
2177 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
2178 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
2179 * gdb.dwarf2/pieces.exp: Use standard_testfile.
2180 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
2181 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
2182 * gdb.dwarf2/valop.exp: Use standard_testfile,
2183 prepare_for_testing.
2184
5204774b
TT
21852012-06-27 Tom Tromey <tromey@redhat.com>
2186
2187 * gdb.python/python.exp: Fix regexps in pagination tests.
2188
ee0bf529
SCR
21892012-06-26 Siva Chandra Reddy <sivachandra@google.com>
2190
2191 * gdb.python/py-symtab.exp: Add tests to test the new attribute
2192 'last' of gdb.Symtab_and_line.
2193 * gdb.python/py-symbol.c: Move break point comment to enable
2194 testing of gdb.Symtab_and_line.last.
2195
14fcc022
TT
21962012-06-26 Tom Tromey <tromey@redhat.com>
2197
2198 * gdb.threads/step.c: Remove.
2199 * gdb.threads/step.exp: Remove.
2200 * gdb.threads/step2.exp: Remove.
2201
0efbbabc
TT
22022012-06-26 Tom Tromey <tromey@redhat.com>
2203
2204 * gdb.threads/watchpoint-fork.exp (test): Use
2205 standard_output_file. Don't declare objdir.
2206 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
2207 standard_output_file.
2208 * gdb.threads/attach-stopped.exp: Use standard_testfile.
2209 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
2210 clean_restart. Remove incdir.
2211 * gdb.threads/corethreads.exp: Use standard_testfile.
2212 * gdb.threads/execl.exp: Use standard_testfile,
2213 standard_output_file, clean_restart.
2214 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
2215 clean_restart.
2216 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
2217 clean_restart.
2218 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
2219 incdir.
2220 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
2221 clean_restart. Remove incdir.
2222 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
2223 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
2224 clean_restart. Remove incdir.
2225 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
2226 Remove incdir.
2227 * gdb.threads/leader-exit.exp: Use standard_testfile.
2228 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
2229 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
2230 clean_restart.
2231 * gdb.threads/manythreads.exp: Use standard_testfile,
2232 clean_restart. Remove incdir.
2233 * gdb.threads/multi-create.exp: Use standard_testfile,
2234 clean_restart.
2235 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
2236 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
2237 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
2238 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
2239 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
2240 * gdb.threads/pending-step.exp: Use standard_testfile,
2241 clean_restart. Remove incdir.
2242 * gdb.threads/print-threads.exp: Use standard_testfile,
2243 clean_restart. Remove incdir.
2244 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
2245 clean_restart. Remove incdir.
2246 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
2247 Remove incdir.
2248 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
2249 incdir.
2250 * gdb.threads/sigthread.exp: Use standard_testfile,
2251 clean_restart.
2252 * gdb.threads/staticthreads.exp: Use standard_testfile,
2253 clean_restart. Remove incdir.
2254 * gdb.threads/switch-threads.exp: Use standard_testfile,
2255 clean_restart. Remove incdir.
2256 * gdb.threads/thread-execl.exp: Use standard_testfile,
2257 clean_restart. Remove incdir.
2258 * gdb.threads/thread-find.exp: Use standard_testfile,
2259 clean_restart.
2260 * gdb.threads/thread-specific.exp: Use standard_testfile,
2261 clean_restart. Remove incdir.
2262 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
2263 clean_restart. Remove incdir.
2264 * gdb.threads/thread_check.exp: Use standard_testfile,
2265 clean_restart. Remove incdir.
2266 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
2267 incdir.
2268 * gdb.threads/threadapply.exp: Use standard_testfile,
2269 clean_restart. Remove incdir.
2270 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
2271 clean_restart. Remove incdir.
2272 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
2273 clean_restart.
2274 * gdb.threads/tls-shared.exp: Use standard_testfile,
2275 clean_restart, standard_output_file.
2276 * gdb.threads/tls-var.exp: Use standard_testfile,
2277 standard_output_file.
2278 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
2279 Remove incdir.
2280 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
2281 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
2282 incdir.
2283 * gdb.threads/watchthreads2.exp: Use standard_testfile,
2284 clean_restart. Remove incdir.
2285
497a5eb0
TT
22862012-06-26 Tom Tromey <tromey@redhat.com>
2287
2288 * gdb.trace/actions.exp: Use standard_testfile.
2289 * gdb.trace/ax.exp: Use standard_testfile.
2290 * gdb.trace/backtrace.exp: Use standard_testfile.
2291 * gdb.trace/change-loc.exp: Use standard_testfile.
2292 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
2293 * gdb.trace/collection.exp: Use standard_testfile,
2294 prepare_for_testing.
2295 * gdb.trace/deltrace.exp: Use standard_testfile.
2296 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
2297 * gdb.trace/ftrace.exp: Use standard_testfile.
2298 * gdb.trace/infotrace.exp: Use standard_testfile.
2299 * gdb.trace/packetlen.exp: Use standard_testfile.
2300 * gdb.trace/passc-dyn.exp: Use standard_testfile.
2301 * gdb.trace/passcount.exp: Use standard_testfile.
2302 * gdb.trace/pending.exp: Use standard_testfile.
2303 * gdb.trace/report.exp: Use standard_testfile.
2304 * gdb.trace/save-trace.exp: Use standard_testfile.
2305 * gdb.trace/stap-trace.exp: Use standard_testfile.
2306 * gdb.trace/status-stop.exp: Use standard_testfile.
2307 * gdb.trace/strace.exp: Use standard_testfile.
2308 * gdb.trace/tfile.exp: Use standard_testfile.
2309 * gdb.trace/tfind.exp: Use standard_testfile.
2310 * gdb.trace/trace-break.exp: Use standard_testfile.
2311 * gdb.trace/trace-mt.exp: Use standard_testfile.
2312 * gdb.trace/tracecmd.exp: Use standard_testfile.
2313 * gdb.trace/tspeed.exp: Use standard_testfile.
2314 * gdb.trace/tstatus.exp: Use standard_testfile.
2315 * gdb.trace/tsv.exp: Use standard_testfile.
2316 * gdb.trace/unavailable.exp: Use standard_testfile,
2317 prepare_for_testing.
2318 * gdb.trace/while-dyn.exp: Use standard_testfile.
2319 * gdb.trace/while-stepping.exp: Use standard_testfile.
2320
7686c074
TT
23212012-06-26 Tom Tromey <tromey@redhat.com>
2322
2323 * gdb.reverse/break-precsave.exp: Use standard_testfile.
2324 * gdb.reverse/break-reverse.exp: Use standard_testfile.
2325 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
2326 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
2327 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
2328 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
2329 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
2330 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
2331 prepare_for_testing.
2332 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
2333 prepare_for_testing.
2334 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
2335 prepare_for_testing.
2336 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
2337 prepare_for_testing.
2338 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
2339 prepare_for_testing
2340 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
2341 * gdb.reverse/machinestate.exp: Use standard_testfile.
2342 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
2343 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
2344 build_executable.
2345 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
2346 build_executable.
2347 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
2348 standard_output_file.
2349 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
2350 standard_output_file.
2351 * gdb.reverse/step-precsave.exp: Use standard_testfile.
2352 * gdb.reverse/step-reverse.exp: Use standard_testfile.
2353 * gdb.reverse/until-precsave.exp: Use standard_testfile.
2354 * gdb.reverse/until-reverse.exp: Use standard_testfile.
2355 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
2356 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
2357
481fc100
TT
23582012-06-26 Tom Tromey <tromey@redhat.com>
2359
2360 * gdb.stabs/weird.exp: Remove directory-checking code. Use
2361 standard_output_file.
2362 * gdb.stabs/exclfwd.exp: Use standard_testfile,
2363 prepare_for_testing. Remove directory-checking code.
2364
7bb18ae2
TT
23652012-06-25 Tom Tromey <tromey@redhat.com>
2366
2367 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
2368 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
2369 build_executable, not prepare_for_testing.
2370 * gdb.multi/base.exp: Use standard_output_file. Use
2371 build_executable, not prepare_for_testing.
2372
cf09b3e4
TT
23732012-06-25 Tom Tromey <tromey@redhat.com>
2374
2375 * gdb.fortran/subarray.exp: Use standard_testfile,
2376 prepare_for_testing.
2377 * gdb.fortran/multi-dim.exp: Use standard_testfile.
2378 * gdb.fortran/module.exp: Use standard_testfile.
2379 * gdb.fortran/logical.exp: Use standard_testfile.
2380 * gdb.fortran/library-module.exp: Use standard_testfile,
2381 standard_output_file.
2382 * gdb.fortran/derived-type.exp: Use standard_testfile,
2383 prepare_for_testing.
2384 * gdb.fortran/complex.exp: Use standard_testfile,
2385 prepare_for_testing.
2386 * gdb.fortran/charset.exp: Use standard_testfile.
2387 * gdb.fortran/array-element.exp: Use standard_testfile,
2388 prepare_for_testing.
2389
18b5ff1b
KS
23902012-06-25 Keith Seitz <keiths@redhat.com>
2391
2392 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
2393 Change rbreak-related tests to KFAIL and add bugzilla numbers.
2394
17b77626
TT
23952012-06-25 Tom Tromey <tromey@redhat.com>
2396
2397 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
2398 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
2399 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
2400 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
2401
f91e3dc1
TT
24022012-06-25 Tom Tromey <tromey@redhat.com>
2403
2404 * gdb.linespec/ls-errs.exp: Use standard_testfile.
2405 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
2406 * gdb.linespec/linespec.exp: Use standard_testfile.
2407
a884434d
TT
24082012-06-25 Tom Tromey <tromey@redhat.com>
2409
2410 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
2411 prepare_for_testing.
2412
efc9d70a
TT
24132012-06-25 Tom Tromey <tromey@redhat.com>
2414
2415 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
2416 prepare_for_testing.
2417 * gdb.opt/inline-break.exp: Use standard_testfile,
2418 prepare_for_testing.
2419 * gdb.opt/inline-bt.exp: Use standard_testfile,
2420 prepare_for_testing.
2421 * gdb.opt/inline-cmds.exp: Use standard_testfile,
2422 prepare_for_testing.
2423 * gdb.opt/inline-locals.exp: Use standard_testfile,
2424 prepare_for_testing.
2425
e2fc92c6
TT
24262012-06-25 Tom Tromey <tromey@redhat.com>
2427
2428 * gdb.asm/asm-source.exp: Use standard_output_file,
2429 standard_testfile. Construct .o files in proper subdir.
2430
b0963d73
TT
24312012-06-25 Tom Tromey <tromey@redhat.com>
2432
2433 * gdb.server/ext-attach.exp: Use standard_testfile,
2434 prepare_for_testing.
2435 * gdb.server/ext-run.exp: Use standard_testfile,
2436 build_executable.
2437 * gdb.server/file-transfer.exp: Use standard_testfile,
2438 prepare_for_testing.
2439 * gdb.server/server-exec-info.exp: Use standard_testfile.
2440 * gdb.server/server-mon.exp: Use standard_testfile,
2441 prepare_for_testing.
2442 * gdb.server/server-run.exp: Use standard_testfile,
2443 build_executable.
2444 * gdb.server/solib-list.exp: Use standard_testfile,
2445 standard_output_file.
2446
8a3e1f8d
TT
24472012-06-25 Tom Tromey <tromey@redhat.com>
2448
2449 * lib/gdb.exp (standard_output_file): Use "file join".
2450 * gdb.go/chan.exp: Use standard_testfile.
2451 * gdb.go/handcall.exp: Use standard_testfile.
2452 * gdb.go/hello.exp: Use standard_testfile.
2453 * gdb.integers/chan.exp: Use standard_testfile.
2454 * gdb.go/methods.exp: Use standard_testfile.
2455 * gdb.go/package.exp: Use standard_testfile.
2456 * gdb.go/strings.exp: Use standard_testfile.
2457 * gdb.go/types.exp: Use standard_testfile.
2458 * gdb.go/unsafe.exp: Use standard_testfile.
2459
944a9061
MGD
24602012-06-25 Greta Yorsh <greta.yorsh@arm.com>
2461
2462 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
2463
1c06bd58
JK
24642012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2465
2466 Fix regression by the previous commit.
2467 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
2468
b4a58790
TT
24692012-06-22 Tom Tromey <tromey@redhat.com>
2470
2471 * gdb.python/lib-types.exp: Use standard_testfile,
2472 prepare_for_testing.
2473 * gdb.python/py-block.exp: Use standard_testfile.
2474 * gdb.python/py-breakpoint.exp: Use standard_testfile.
2475 * gdb.python/py-events.exp: Use standard_testfile,
2476 standard_output_file.
2477 * gdb.python/py-evsignal.exp: Use standard_testfile.
2478 * gdb.python/py-evethreads.exp: Use standard_testfile.
2479 * gdb.python/py-explore-cc.exp: Use standard_testfile.
2480 * gdb.python/py-explore.exp: Use standard_testfile.
2481 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
2482 standard_output_file.
2483 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
2484 prepare_for_testing.
2485 * gdb.python/py-frame-inline.exp: Use standard_testfile.
2486 * gdb.python/py-frame.exp: Use standard_testfile.
2487 * gdb.python/py-inferior.exp: Use standard_testfile.
2488 * gdb.python/py-infthread.exp: Use standard_testfile.
2489 * gdb.python/py-mi.exp: Use standard_testfile.
2490 * gdb.python/py-objfile-script.exp: Use standard_testfile,
2491 build_executable.
2492 * gdb.python/py-objfile.exp: Use standard_testfile.
2493 * gdb.python/py-pp-maint.exp: Use standard_testfile,
2494 prepare_for_testing.
2495 * gdb.python/py-prettyprint.exp: Use standard_testfile.
2496 * gdb.python/py-progspace.exp: Use standard_testfile,
2497 build_executable.
2498 * gdb.python/py-prompt.exp: Use standard_testfile,
2499 build_executable.
2500 * gdb.python/py-section-script.exp: Use standard_testfile,
2501 build_executable.
2502 * gdb.python/py-shared.exp: Use standard_testfile,
2503 standard_output_file, clean_restart.
2504 * gdb.python/py-symbol.exp: Use standard_output_file,
2505 prepare_for_testing.
2506 * gdb.python/py-symtab.exp: Use standard_output_file,
2507 prepare_for_testing
2508 * gdb.python/py-template.exp: Use standard_testfile.
2509 * gdb.python/py-type.exp: Use standard_testfile.
2510 * gdb.python/py-value-cc.exp: Use standard_testfile.
2511 * gdb.python/py-value.exp: Use standard_testfile.
2512 * gdb.python/python.exp: Use standard_testfile, build_executable.
2513
2c44deac
TT
25142012-06-22 Tom Tromey <tromey@redhat.com>
2515
2516 * gdb.objc/basicclass.exp: Use standard_testfile.
2517 (do_objc_tests): Don't declare objdir.
2518 * gdb.objc/nondebug.exp: Use standard_testfile.
2519 (do_objc_tests): Don't declare objdir.
2520 * gdb.objc/objcdecode.exp: Use standard_testfile.
2521 (do_objc_tests): Don't declare objdir.
2522
c24ccbce
TT
25232012-06-22 Tom Tromey <tromey@redhat.com>
2524
2525 * gdb.java/jmain.exp: Use standard_testfile.
2526 * gdb.java/jmisc.exp: Use standard_testfile.
2527 * gdb.java/jnpe.exp: Use standard_testfile.
2528 * gdb.java/jprint.exp: Use standard_testfile.
2529
0a6d0306
TT
25302012-06-22 Tom Tromey <tromey@redhat.com>
2531
2532 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
2533 (standard_output_file, standard_testfile): New procs.
2534 (build_executable, clean_restart): Use standard_output_file.
2535
6ea815ef
YQ
25362012-06-22 Yao Qi <yao@codesourcery.com>
2537
2538 * boards/native-gdbserver.exp: New proc ${board}_exec.
2539 * boards/native-stdio-gdbserver.exp: Likewise.
2540
4c93b1db
TT
25412012-06-21 Tom Tromey <tromey@redhat.com>
2542
2543 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
2544 (build_executable): Update.
2545 (get_compiler_info): Remove 'binfile' argument.
2546 * gdb.ada/arrayidx.exp: Update.
2547 * gdb.ada/null_array.exp: Update.
2548 * gdb.arch/altivec-abi.exp: Update.
2549 * gdb.arch/altivec-regs.exp: Update.
2550 * gdb.arch/amd64-byte.exp: Update.
2551 * gdb.arch/amd64-dword.exp: Update.
2552 * gdb.arch/amd64-word.exp: Update.
2553 * gdb.arch/i386-avx.exp: Update.
2554 * gdb.arch/i386-byte.exp: Update.
2555 * gdb.arch/i386-sse.exp: Update.
2556 * gdb.arch/i386-word.exp: Update.
2557 * gdb.arch/ppc-dfp.exp: Update.
2558 * gdb.arch/ppc-fp.exp: Update.
2559 * gdb.arch/vsx-regs.exp: Update.
2560 * gdb.base/all-bin.exp: Update.
2561 * gdb.base/annota1.exp: Update.
2562 * gdb.base/async.exp: Update.
2563 * gdb.base/attach.exp: Update.
2564 * gdb.base/break-interp.exp: Update.
2565 * gdb.base/call-ar-st.exp: Update.
2566 * gdb.base/call-rt-st.exp: Update.
2567 * gdb.base/call-sc.exp: Update.
2568 * gdb.base/callfuncs.exp: Update.
2569 * gdb.base/catch-load.exp: Update.
2570 * gdb.base/completion.exp: Update.
2571 * gdb.base/complex.exp: Update.
2572 * gdb.base/condbreak.exp: Update.
2573 * gdb.base/consecutive.exp: Update.
2574 * gdb.base/constvars.exp: Update.
2575 * gdb.base/corefile.exp: Update.
2576 * gdb.base/eval-skip.exp: Update.
2577 * gdb.base/expand-psymtabs.exp: Update.
2578 * gdb.base/exprs.exp: Update.
2579 * gdb.base/fileio.exp: Update.
2580 * gdb.base/fixsection.exp: Update.
2581 * gdb.base/funcargs.exp: Update.
2582 * gdb.base/gdb11530.exp: Update.
2583 * gdb.base/gdb1555.exp: Update.
2584 * gdb.base/gnu-ifunc.exp: Update.
2585 * gdb.base/gnu_vector.exp: Update.
2586 * gdb.base/info-macros.exp: Update.
2587 * gdb.base/jit-simple.exp: Update.
2588 * gdb.base/jit-so.exp: Update.
2589 * gdb.base/jit.exp: Update.
2590 * gdb.base/langs.exp: Update.
2591 * gdb.base/list.exp: Update.
2592 * gdb.base/logical.exp: Update.
2593 * gdb.base/long_long.exp: Update.
2594 * gdb.base/longjmp.exp: Update.
2595 * gdb.base/macscp.exp: Update.
2596 * gdb.base/mips_pro.exp: Update.
2597 * gdb.base/miscexprs.exp: Update.
2598 * gdb.base/morestack.exp: Update.
2599 * gdb.base/nodebug.exp: Update.
2600 * gdb.base/opaque.exp: Update.
2601 * gdb.base/pc-fp.exp: Update.
2602 * gdb.base/pending.exp: Update.
2603 * gdb.base/permissions.exp: Update.
2604 * gdb.base/pointers.exp: Update.
2605 * gdb.base/prelink.exp: Update.
2606 * gdb.base/printcmds.exp: Update.
2607 * gdb.base/psymtab.exp: Update.
2608 * gdb.base/ptype.exp: Update.
2609 * gdb.base/relational.exp: Update.
2610 * gdb.base/scope.exp: Update.
2611 * gdb.base/setvar.exp: Update.
2612 * gdb.base/shlib-call.exp: Update.
2613 * gdb.base/shreloc.exp: Update.
2614 * gdb.base/signals.exp: Update.
2615 * gdb.base/sizeof.exp: Update.
2616 * gdb.base/so-impl-ld.exp: Update.
2617 * gdb.base/so-indr-cl.exp: Update.
2618 * gdb.base/solib-disc.exp: Update.
2619 * gdb.base/solib-display.exp: Update.
2620 * gdb.base/solib-nodir.exp: Update.
2621 * gdb.base/solib-overlap.exp: Update.
2622 * gdb.base/solib-symbol.exp: Update.
2623 * gdb.base/solib-weak.exp: Update.
2624 * gdb.base/solib.exp: Update.
2625 * gdb.base/store.exp: Update.
2626 * gdb.base/structs.exp: Update.
2627 * gdb.base/structs2.exp: Update.
2628 * gdb.base/type-opaque.exp: Update.
2629 * gdb.base/unload.exp: Update.
2630 * gdb.base/varargs.exp: Update.
2631 * gdb.base/volatile.exp: Update.
2632 * gdb.base/watch_thread_num.exp: Update.
2633 * gdb.base/watchpoint-solib.exp: Update.
2634 * gdb.base/watchpoint.exp: Update.
2635 * gdb.base/watchpoints.exp: Update.
2636 * gdb.base/whatis.exp: Update.
2637 * gdb.cell/arch.exp: Update.
2638 * gdb.cell/break.exp: Update.
2639 * gdb.cell/bt.exp: Update.
2640 * gdb.cell/core.exp: Update.
2641 * gdb.cell/data.exp: Update.
2642 * gdb.cell/ea-cache.exp: Update.
2643 * gdb.cell/f-regs.exp: Update.
2644 * gdb.cell/fork.exp: Update.
2645 * gdb.cell/gcore.exp: Update.
2646 * gdb.cell/mem-access.exp: Update.
2647 * gdb.cell/ptype.exp: Update.
2648 * gdb.cell/registers.exp: Update.
2649 * gdb.cell/sizeof.exp: Update.
2650 * gdb.cell/solib-symbol.exp: Update.
2651 * gdb.cell/solib.exp: Update.
2652 * gdb.cp/ambiguous.exp: Update.
2653 * gdb.cp/breakpoint.exp: Update.
2654 * gdb.cp/bs15503.exp: Update.
2655 * gdb.cp/casts.exp: Update.
2656 * gdb.cp/class2.exp: Update.
2657 * gdb.cp/cpexprs.exp: Update.
2658 * gdb.cp/cplusfuncs.exp: Update.
2659 * gdb.cp/ctti.exp: Update.
2660 * gdb.cp/dispcxx.exp: Update.
2661 * gdb.cp/gdb1355.exp: Update.
2662 * gdb.cp/gdb2384.exp: Update.
2663 * gdb.cp/gdb2495.exp: Update.
2664 * gdb.cp/infcall-dlopen.exp: Update.
2665 * gdb.cp/local.exp: Update.
2666 * gdb.cp/m-data.exp: Update.
2667 * gdb.cp/m-static.exp: Update.
2668 * gdb.cp/mb-ctor.exp: Update.
2669 * gdb.cp/mb-inline.exp: Update.
2670 * gdb.cp/mb-templates.exp: Update.
2671 * gdb.cp/member-ptr.exp: Update.
2672 * gdb.cp/method.exp: Update.
2673 * gdb.cp/namespace.exp: Update.
2674 * gdb.cp/nextoverthrow.exp: Update.
2675 * gdb.cp/nsdecl.exp: Update.
2676 * gdb.cp/nsrecurs.exp: Update.
2677 * gdb.cp/nsstress.exp: Update.
2678 * gdb.cp/nsusing.exp: Update.
2679 * gdb.cp/pr-1023.exp: Update.
2680 * gdb.cp/pr-1210.exp: Update.
2681 * gdb.cp/pr-574.exp: Update.
2682 * gdb.cp/pr9631.exp: Update.
2683 * gdb.cp/printmethod.exp: Update.
2684 * gdb.cp/psmang.exp: Update.
2685 * gdb.cp/re-set-overloaded.exp: Update.
2686 * gdb.cp/rtti.exp: Update.
2687 * gdb.cp/shadow.exp: Update.
2688 * gdb.cp/templates.exp: Update.
2689 * gdb.cp/try_catch.exp: Update.
2690 * gdb.dwarf2/dw2-ranges.exp: Update.
2691 * gdb.dwarf2/pr10770.exp: Update.
2692 * gdb.fortran/library-module.exp: Update.
2693 * gdb.hp/gdb.aCC/optimize.exp: Update.
2694 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
2695 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
2696 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
2697 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
2698 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
2699 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
2700 * gdb.hp/gdb.compat/xdb1.exp: Update.
2701 * gdb.hp/gdb.compat/xdb2.exp: Update.
2702 * gdb.hp/gdb.compat/xdb3.exp: Update.
2703 * gdb.hp/gdb.defects/bs14602.exp: Update.
2704 * gdb.hp/gdb.defects/solib-d.exp: Update.
2705 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
2706 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
2707 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
2708 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
2709 * gdb.mi/gdb792.exp: Update.
2710 * gdb.mi/mi-pending.exp: Update.
2711 * gdb.mi/mi-solib.exp: Update.
2712 * gdb.mi/mi-var-cp.exp: Update.
2713 * gdb.opt/clobbered-registers-O2.exp: Update.
2714 * gdb.opt/inline-bt.exp: Update.
2715 * gdb.opt/inline-cmds.exp: Update.
2716 * gdb.opt/inline-locals.exp: Update.
2717 * gdb.python/py-events.exp: Update.
2718 * gdb.python/py-finish-breakpoint.exp: Update.
2719 * gdb.python/py-type.exp: Update.
2720 * gdb.reverse/solib-precsave.exp: Update.
2721 * gdb.reverse/solib-reverse.exp: Update.
2722 * gdb.server/solib-list.exp: Update.
2723 * gdb.stabs/weird.exp: Update.
2724 * gdb.threads/attach-into-signal.exp: Update.
2725 * gdb.threads/attach-stopped.exp: Update.
2726 * gdb.threads/tls-shared.exp: Update.
2727 * gdb.trace/change-loc.exp: Update.
2728 * gdb.trace/strace.exp: Update.
2729
95c391b6
TT
27302012-06-19 Tom Tromey <tromey@redhat.com>
2731
2732 * gdb.base/whatis.exp: Add tests.
2733
e910f0b6
TT
27342012-06-19 Tom Tromey <tromey@redhat.com>
2735
2736 * gdb.cp/m-static.cc (keepalive): New function.
2737 (gnu_obj_1::method): Use it.
2738
422d65e7
DE
27392012-06-18 Doug Evans <dje@google.com>
2740
2741 * gdb.base/info-fun.exp: New file.
2742 * gdb.base/info-fun.c: New file.
2743 * gdb.base/info-fun-solib.c: New file.
2744
e2e4d78b
JK
27452012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2746
2747 Remove stale dummy frames.
2748 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
2749 (maintenance info breakpoints): New tests.
2750 * gdb.base/stale-infcall.c: New file.
2751 * gdb.base/stale-infcall.exp: New file.
2752
1788b2d3
JK
27532012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2754
2755 * gdb.arch/amd64-entry-value-param.S: New file.
2756 * gdb.arch/amd64-entry-value-param.c: New file.
2757 * gdb.arch/amd64-entry-value-param.exp: New file.
2758
663b969e
TT
27592012-06-15 Tom Tromey <tromey@redhat.com>
2760
2761 * gdb.cp/namespace.exp: Add "show lang" test.
2762
8e09ad05
IS
27632012-06-15 Iain Sandoe <iain@codesourcery.com>
2764
2765 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
2766 case. (top level): Use gdb_file_cmd instead of gdb_load.
2767
f85e18ee
JK
27682012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2769
2770 PR tdep/14222
2771 * gdb.arch/i386-sse-stack-align.S: New file.
2772 * gdb.arch/i386-sse-stack-align.c: New file.
2773 * gdb.arch/i386-sse-stack-align.exp: New file.
2774
f3b5e280
KS
27752012-06-13 Keith Seitz <keiths@redhat.com>
2776
2777 PR breakpoints/13798 and mi/11541
2778 * gdb.linespec/ls-errs.exp: Add a few more tests for
2779 filenames with spaces and colons.
2780
50af5481
JK
27812012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2782
2783 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
2784 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
2785 (test_function): Call CV_f.
2786 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
2787 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
2788 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
2789 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
2790 (p CV_f(CV::i)): New tests.
2791
d55637df
TT
27922012-06-13 Tom Tromey <tromey@redhat.com>
2793
2794 * gdb.base/condbreak.exp: Add tests for "condition" completion.
2795
cc80f267
JK
27962012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2797
2798 Fix regression by the "ambiguous linespec" series.
2799 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
2800 tests.
2801
bb2af9cc
JK
28022012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2803
2804 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
2805 missing.
2806
e81a37f7
TT
28072012-06-11 Tom Tromey <tromey@redhat.com>
2808
2809 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
2810 location...
2811 (main): ...here.
2812
8efd7788
YQ
28132012-06-07 Yao Qi <yao@codesourcery.com>
2814
2815 * gdb.trace/strace.exp: Shorten some too-long lines.
2816
359f5fe6
PA
28172012-06-06 Pedro Alves <palves@redhat.com>
2818
2819 * gdb.threads/clone-new-thread-event.c: New file.
2820 * gdb.threads/clone-new-thread-event.exp: New file.
2821
7b2fe205
YQ
28222012-06-06 Yao Qi <yao@codesourcery.com>
2823
2824 * gdb.base/dprintf.c (main): Add extra parameter when calling
2825 printf and fprintf.
2826 (bar): New function. It is a dead function, but to ensure
2827 'malloc' is linked explicitly.
2828
3eca55e8
YQ
28292012-06-06 Yao Qi <yao@codesourcery.com>
2830
2831 * gdb.base/info-proc.exp: Return if target doesn't support
2832 'info proc'.
2833
91cc9324
JK
28342012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2835
2836 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
2837 (run program with breakpoint commands): XFAIl if it is not.
2838
c56e7c43
JB
28392012-06-05 Joel Brobecker <brobecker@adacore.com>
2840
2841 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
2842 and add comment.
2843 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
2844 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
2845 "STOP" marker. Adjust testing strategy to make it work on
2846 all targets.
2847
2848 * gdb.base/print-file-var-main.c (main): Rewrite using local
2849 variables and adjust get_version_2's return value check.
2850 Add small comment.
2851 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
2852 marker. Adjust testing strategy to make it work on all targets.
2853
ccab2054
JB
28542012-06-05 Joel Brobecker <brobecker@adacore.com>
2855
2856 * gdb.ada/bad-task-bp-keyword: New testcase.
2857
d0d86158
JK
28582012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2859
2860 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
2861 Simplify it to ...
2862 (symbol-file ${testfile1}): ... here.
2863 (test eliminated var my_global_symbol)
2864 (test eliminated var my_static_symbol)
2865 (test eliminated var my_global_func, get address of main): Wrap them to
2866 'single psymtabs' and 'single symtabs'
2867 (get address of my_global_symbol, get address of my_static_symbol)
2868 (get address of my_global_func, get address of main): Wrap them to
2869 'order1' and 'order2'.
2870
952cf74c
JK
2871 * gdb.base/code_elim.exp
2872 (add-symbol-file ${testfile1} 0x100000)
2873 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
2874 'order2'.
2875 (order1: add-symbol-file ${testfile1} 0x100000)
2876 (order1: add-symbol-file ${testfile2} 0x200000)
2877 (order2: add-symbol-file ${testfile2} 0x200000)
2878 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
2879 .bss as appropriate.
2880
0c5bf5a9
JK
28812012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2882
2883 * gdb.server/solib-list-lib.c: New file.
2884 * gdb.server/solib-list-main.c: New file.
2885 * gdb.server/solib-list.exp: New file.
2886
4196f325
MR
28872012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
2888
2889 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
2890 for 'set print symbol' change.
2891
bfb05775
JK
28922012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2893
2894 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
2895 .debug_abbrev_seg3.
2896
685b1105
JK
28972012-05-24 John Steele Scott <toojays@toojays.net>
2898
2899 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
2900 * gdb.dwarf2/dw2-icc-opaque.S: New file.
2901 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
2902
f3e0e960
SS
29032012-05-23 Stan Shebs <stan@codesourcery.com>
2904
2905 * gdb.mi/mi-info-os.exp: New file.
2906
11eb1b4d
KS
29072012-05-23 Keith Seitz <keiths@redhat.com>
2908
2909 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
2910 return -1 to suppress the rest of the tests.
2911 (compile_stap_bin): Return boolean success value.
2912
b1af9e97
TT
29132012-05-21 Tom Tromey <tromey@redhat.com>
2914
2915 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
2916 Remove kfails.
2917 (test_print_mi_member_types): Likewise.
2918
248537e3
TT
29192012-05-21 Tom Tromey <tromey@redhat.com>
2920
2921 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
2922 print symbol' change.
2923
d791e155
TJB
29242012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
2925
2926 * gdb.python/py-prompt.exp: Quit if the target is remote.
2927
e77afa2e
JK
29282012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2929
2930 Fix ERROR: internal buffer is full.
2931 * gdb.base/info-os.exp (expect_multiline): New function.
2932 (get process list, get process groups, get threads)
2933 (get file descriptors, get internet-domain sockets)
2934 (get shared-memory regions, get semaphores, get message queues): Use
2935 it for these tests.
2936
9cb709b6
TT
29372012-05-18 Tom Tromey <tromey@redhat.com>
2938
2939 * gdb.mi/mi-var-cmd.exp: Update.
2940 * gdb.objc/basicclass.exp (do_objc_tests): Update.
2941 * gdb.cp/virtbase.exp: Update.
2942 * gdb.cp/classes.exp (test_static_members): Update.
2943 * gdb.cp/casts.exp: Update.
2944 * gdb.base/pointers.exp: Update.
2945 * gdb.base/funcargs.exp (pointer_args): Update.
2946 (structs_by_reference): Update.
2947 * gdb.base/find.exp: Update.
2948 * gdb.base/call-strs.exp: Send "set print symbol off".
2949 * gdb.base/call-ar-st.exp: Update.
2950 * gdb.ada/fun_addr.exp: Update.
2951 * gdb.base/printcmds.exp (test_print_symbol): New proc.
2952 Call it.
2953 (test_print_repeats_10, test_print_strings)
2954 (test_print_char_arrays): Update.
2955
b012acdd
TT
29562012-05-18 Tom Tromey <tromey@redhat.com>
2957
2958 * gdb.base/charset.exp (string_display): Update.
2959
1d51a733
TT
29602012-05-18 Tom Tromey <tromey@redhat.com>
2961
2962 * gdb.mi/mi2-var-display.exp: Update.
2963 * gdb.mi/mi-var-display.exp: Update.
2964 * gdb.mi/mi-var-child.exp: Update.
2965 * gdb.cp/expand-psymtabs-cxx.exp: Update.
2966 * gdb.cp/cp-relocate.exp (get_func_address): Update.
2967
957df313
DE
29682012-05-17 Doug Evans <dje@google.com>
2969
682c7f7b
DE
2970 * info-macros.exp: Pass "debug" to prepare_for_testing.
2971
957df313
DE
2972 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
2973 * gdb.ada/Makefile.in (clean): Ditto.
2974 * gdb.arch/Makefile.in (clean): Ditto.
2975 * gdb.asm/Makefile.in (clean): Ditto.
2976 * gdb.base/Makefile.in (clean): Ditto.
2977 * gdb.cell/Makefile.in (clean): Ditto.
2978 * gdb.cp/Makefile.in (clean): Ditto.
2979 * gdb.disasm/Makefile.in (clean): Ditto.
2980 * gdb.dwarf2/Makefile.in (clean): Ditto.
2981 * gdb.fortran/Makefile.in (clean): Ditto.
2982 * gdb.go/Makefile.in (clean): Ditto.
2983 * gdb.hp/Makefile.in (clean): Ditto.
2984 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
2985 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
2986 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
2987 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
2988 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
2989 * gdb.java/Makefile.in (clean): Ditto.
2990 * gdb.linespec/Makefile.in (clean): Ditto.
2991 * gdb.mi/Makefile.in (clean): Ditto.
2992 * gdb.modula2/Makefile.in (clean): Ditto.
2993 * gdb.multi/Makefile.in (clean): Ditto.
2994 * gdb.objc/Makefile.in (clean): Ditto.
2995 * gdb.opencl/Makefile.in (clean): Ditto.
2996 * gdb.opt/Makefile.in (clean): Ditto.
2997 * gdb.pascal/Makefile.in (clean): Ditto.
2998 * gdb.python/Makefile.in (clean): Ditto.
2999 * gdb.reverse/Makefile.in (clean): Ditto.
3000 * gdb.server/Makefile.in (clean): Ditto.
3001 * gdb.stabs/Makefile.in (clean): Ditto.
3002 * gdb.threads/Makefile.in (clean): Ditto.
3003 * gdb.trace/Makefile.in (clean): Ditto.
3004 * gdb.xml/Makefile.in (clean): Ditto.
3005
abc9d0dc
TT
30062012-05-16 Tom Tromey <tromey@redhat.com>
3007
3008 * gdb.base/macscp1.c (macscp_expr): Add comment.
3009 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
3010
6a3a010b
MR
30112012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3012
3013 * gdb.base/return-nodebug.exp: Also test float and double types.
3014
01429c8e
JK
30152012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3016
3017 PR testsuite/12649
3018 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
3019
54115cd4
JK
3020 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
3021
0c5f383f
SDJ
30222012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
3023
3024 * gdb.base/stap-probe.exp (stap_test): Remove calls to
3025 `rerun_to_main'.
3026 (stap_test_no_debuginfo): Likewise.
3027
e7e0cddf
SS
30282012-05-14 Stan Shebs <stan@codesourcery.com>
3029
3030 * gdb.base/dprintf.c: New file.
3031 * gdb.base/dprintf.exp: New file.
3032
c772f8e7
HZ
30332012-05-14 Hui Zhu <hui_zhu@mentor.com>
3034
3035 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
3036 * gdb.trace/disconnected-tracing.c: New file.
3037 * gdb.trace/disconnected-tracing.exp: New file.
3038
7efc75aa
SCR
30392012-05-13 Siva Chandra Reddy <sivachandra@google.com>
3040
3041 * gdb.python/python.c: Add a new breakpoint comment.
3042 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
3043
85d4a676
SS
30442011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
3045
3046 * gdb.base/info-os.exp: New file.
3047 * gdb.base/info-os.c: New file.
3048
64ea88dc
JB
30492012-05-10 Joel Brobecker <brobecker@adacore.com>
3050
4647ab1b
JB
3051 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
3052 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
3053 New files.
64ea88dc 3054
afba63f1
JB
30552012-05-10 Joel Brobecker <brobecker@adacore.com>
3056
3057 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
3058 gdb.base/ctxobj.exp: New files.
3059
9d198b1e
TT
30602012-05-09 Tom Tromey <tromey@redhat.com>
3061
3062 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
3063
9bfee719
MR
30642012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
3065
3066 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
3067
3a7341d8
MR
30682012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
3069
3070 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
3071 before using it.
3072
52b3699b
TG
30732012-05-04 Tristan Gingold <gingold@adacore.com>
3074
3075 * gdb.base/set-noassign.exp: New test.
3076
a20ee7a4
SCR
30772012-05-03 Siva Chandra Reddy <sivachandra@google.com>
3078
3079 * gdb.python/py-symbol.exp: Add tests to test the new methods
3080 gdb.Symtab.global_block() and gdb.Symtab.static_block().
3081 * gdb.python/py-symbol.c: Add new struct to help test
3082 gdb.Symtab.static_block().
3083
bf2f0858
DE
30842012-05-03 Doug Evans <dje@google.com>
3085
3086 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
3087 commented out.
3088
2d4e0376
YQ
30892012-05-03 Yao Qi <yao@codesourcery.com>
3090
3091 * gdb.base/catch-syscall.exp: Skip it before compilation if target
3092 doesn't support.
3093 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
3094 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
3095
6d0bb9f3
YQ
30962012-05-03 Yao Qi <yao@codesourcery.com>
3097
3098 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
3099
fd820528
DE
31002012-04-30 Doug Evans <dje@google.com>
3101
3102 PR testsuite/13961
3103 * gdb.dwarf2/pr13961.S: New file.
3104 * gdb.dwarf2/pr13961.exp: New file.
3105
b9e219b9
YQ
31062012-04-29 Yao Qi <yao@codesourcery.com>
3107
3108 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
3109
3019eac3
DE
31102012-04-28 Doug Evans <dje@google.com>
3111
3112 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
3113 .Ltype_int_in_cu2. Use name "int2" instead of "int".
3114 All uses updated.
3115 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
3116 "ptype func_cu1" to expand cu2 before cu1.
3117
62e5f89c
SDJ
31182012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
3119 Tom Tromey <tromey@redhat.com>
3120
3121 * gdb.base/default.exp: Add `$_probe_arg*' convenience
3122 variables.
3123 * gdb.base/stap-probe.c: New file.
3124 * gdb.base/stap-probe.exp: New file.
3125 * gdb.trace/stap-trace.c: New file.
3126 * gdb.trace/stap-trace.exp: New file.
3127 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
3128 libgcc's unwinder.
3129
14132e89
MR
31302012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
3131
3132 * gdb.arch/mips16-thunks-inmain.c: New file.
3133 * gdb.arch/mips16-thunks-main.c: New file.
3134 * gdb.arch/mips16-thunks-sin.c: New file.
3135 * gdb.arch/mips16-thunks-sinfrob.c: New file.
3136 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
3137 * gdb.arch/mips16-thunks-sinmain.c: New file.
3138 * gdb.arch/mips16-thunks-sinmips16.c: New file.
3139 * gdb.arch/mips16-thunks.exp: New file.
3140
a766d390
DE
31412012-04-25 Doug Evans <dje@google.com>
3142
3143 * configure.ac: Create gdb.go/Makefile.
3144 * configure: Regenerate.
3145 * gdb.base/default.exp: Add "go" to "set language" testing.
3146 * gdb.go/Makefile.in: New file.
3147 * gdb.go/basic-types.exp: New file.
3148 * gdb.go/chan.exp: New file.
3149 * gdb.go/chan.go: New file.
3150 * gdb.go/handcall.exp: New file.
3151 * gdb.go/handcall.go: New file.
3152 * gdb.go/hello.exp: New file.
3153 * gdb.go/hello.go: New file.
3154 * gdb.go/integers.exp: New file.
3155 * gdb.go/integers.go: New file.
3156 * gdb.go/methods.exp: New file.
3157 * gdb.go/methods.go: New file.
3158 * gdb.go/package.exp: New file.
3159 * gdb.go/package1.go: New file.
3160 * gdb.go/package2.go: New file.
3161 * gdb.go/print.exp: New file.
3162 * gdb.go/strings.exp: New file.
3163 * gdb.go/strings.go: New file.
3164 * gdb.go/types.exp: New file.
3165 * gdb.go/types.go: New file.
3166 * gdb.go/unsafe.exp: New file.
3167 * gdb.go/unsafe.go: New file.
3168 * lib/future.exp: Add Go support.
3169 (gdb_find_go, gdb_find_go_linker): New procs.
3170 (gdb_default_target_compile): Add Go support.
3171 * lib/gdb.exp (skip_go_tests): New proc.
3172 * lib/go.exp: New file.
3173
e65f9ffb
TT
31742012-04-25 Tom Tromey <tromey@redhat.com>
3175
3176 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
3177
14e75d8e
JK
31782012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3179 Jan Kratochvil <jan.kratochvil@redhat.com>
3180
3181 PR symtab/7259:
3182 * gdb.base/enumval.c: New test case.
3183 * gdb.base/enumval.exp: New test case.
3184 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
3185 field.bitpos.
3186
f3525b70
PA
31872012-04-17 Pedro Alves <palves@redhat.com>
3188
3189 * Makefile.in (site.exp): Make site.exp source
3190 $srcdir/lib/append_gdb_boards_dir.exp.
3191 * lib/append_gdb_boards_dir.exp: New file.
3192
bccbefd2
JK
31932012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3194
3195 New option "set auto-load safe-path".
3196 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
3197 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
3198
bf88dd68
JK
31992012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3200
3201 auto-load: Implementation.
3202 * gdb.base/help.exp (test set height): Increase the height.
3203 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
3204 to ...
3205 (info auto-load python-scripts): ... here.
3206 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
3207 to ...
3208 (info auto-load python-scripts *): ... here.
3209
c0d4d1c0
YQ
32102012-04-16 Yao Qi <yao@codesourcery.com>
3211
3212 * lib/trace-support.exp (get_in_proc_agent): New.
3213 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
3214 of in process trace agent.
3215 * gdb.trace/ftrace.exp: Likewise.
3216 * gdb.trace/pending.exp: Likewise.
3217 * gdb.trace/trace-break.exp: Likewise.
3218 * gdb.trace/trace-mt.exp
3219 * gdb.trace/tspeed.exp: Likewise.
3220 * gdb.trace/tstatus.exp
3221 * gdb.trace/strace.exp: Likewise.
3222
cbf68a60
TS
32232012-04-16 Thomas Schwinge <thomas@codesourcery.com>
3224
dd6d3b70
TS
3225 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
3226 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
3227
cbf68a60
TS
3228 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
3229
8264ba82
AG
32302012-04-14 Anton Gorenkov <xgsa@yandex.ru>
3231
3232 PR mi/13393
3233 * gdb.mi/mi-var-rtti.cc: New file.
3234 * gdb.mi/mi-var-rtti.exp: New file.
3235 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
3236 function.
3237 (mi_varobj_update_with_type_change): updated to avoid code duplication.
3238
de0919f8 32392012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
3240
3241 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
3242 EXECUTABLES.
3243 * gdb.python/py-explore.c: C program used for testing the new
3244 'explore' command on C constructs.
3245 * gdb.python/py-explore.cc: C++ program used for testing the new
3246 'explore' command on C++ constructs.
3247 * gdb-python/py-explore.exp: Tests for the new 'explore'
3248 command on C constructs.
3249 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
3250 command on C++ constructs.
3251
a82da7dd
MK
32522012-04-07 Mark Kettenis <kettenis@gnu.org>
3253
3254 * gdb.base/funcargs.exp (complex_args): Fix typo.
3255
e127cba8
JK
32562012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3257
3258 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
3259 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
3260
40e084e1
KS
32612012-04-05 Keith Seitz <keiths@redhat.com>
3262
3263 * gdb.base/advance.exp: Update error message for
3264 "advance malformed" test.
3265 * gdb.base/break.exp: Likewise for "breakpoint with
3266 trailing garbage" test.
3267 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
3268 with trailing garbage" test.
3269 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
3270 trailng garbage" test.
3271 * gdb.base/until.exp: Likewise for "malformed until" test.
3272 * gdb.cp/ovldbreak.exp: Create the breakpoint table
3273 for "breakpoint info (after setting on all)".
3274 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
3275 tests.
3276 * gdb.cp/cplabel.cc: New file.
3277 * gdb.cp/cplabel.exp: New test.
3278 * gdb.linespec/ls-errs.c: New file.
3279 * gdb.linespec/ls-errs.exp: New test.
3280
a72c8f6a
JK
32812012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3282
3283 * gdb.trace/unavailable.exp
3284 (collect globals: print object on: print derived_partial)
3285 (collect globals: print object on: print derived_whole)
3286 (collect globals: print object off: print derived_partial)
3287 (collect globals: print object off: print derived_whole): Update
3288 expected output.
3289
f87a3023
KS
32902012-03-30 Keith Seitz <keiths@redhat.com>
3291
3292 * gdb.python: Add test for linespecs with commas.
3293
e2171b3c
KS
32942012-03-28 Keith Seitz <keiths@redhat.com>
3295
3296 * gdb.linespec/ls-dollar.cc: New file.
3297 * gdb.linespec/ls-dollar.exp: New test.
3298
32992012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
3300
3301 * gdb.cp/namespace.exp: Add breakpoint tests for functions
3302 starting with the global namespace.
3303
2f4e0a80
DE
33042012-03-23 Doug Evans <dje@google.com>
3305
3306 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
3307
7b282c5a
SCR
33082012-03-22 Siva Chandra Reddy <sivachandra@google.com>
3309
3310 * gdb.python/py-value.cc: Add test case for testing the
3311 methodology exposing C++ values to Python.
3312 * gdb.python/py-value-cc.exp: Add tests testing the methodology
3313 exposing C++ values to Python.
3314 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
3315
2e98ca53
JK
33162012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3317 Siddhesh Poyarekar <siddhesh@redhat.com>
3318
3319 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
3320 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
3321 (generate native core dump): Make the test unsupported if core cannot
3322 be generated.
3323
8320cc4f
JK
33242012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3325
3326 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
3327 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
3328 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
3329
3a69ffb2
JK
33302012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3331
3332 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
3333
8fabffee
DE
33342012-03-17 Doug Evans <dje@google.com>
3335
3336 * dg-extract-results.sh: Handle KFAILs.
3337
ab260dad
JK
33382012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3339
3340 PR symtab/13777
3341 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
3342
53ba8333
JB
33432012-03-16 Joel Brobecker <brobecker@adacore.com>
3344
3345 * gdb.ada/set_pckd_arr_elt: New testcase.
3346
481860b3
GB
33472012-03-16 Gary Benson <gbenson@redhat.com>
3348
3349 PR breakpoints/10738
3350 * gdb.opt/inline-break.exp: New file.
3351 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
3352 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
3353 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
3354 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
3355 * gdb.base/async-shell.exp: Likewise.
3356 * lib/mi-support.exp (library_loaded_re): Likewise.
3357
410528f0
TT
33582012-03-15 Tom Tromey <tromey@redhat.com>
3359
3360 * gdb.cp/virtfunc2.exp: Update expected output.
3361 * gdb.cp/pr9631.exp: Update expected output.
3362 * gdb.cp/member-ptr.exp: Update expected output.
3363 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
3364 output.
3365 * gdb.cp/casts.exp: Update expected output.
3366
c4aeac85
TT
33672012-03-15 Tom Tromey <tromey@redhat.com>
3368
3369 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
3370 (test_info_vtbl): Likewise.
3371 (do_tests): Call test_info_vtbl.
3372 * gdb.cp/virtfunc.cc (va): New global.
3373
856d06f9
TS
33742012-03-15 Thomas Schwinge <thomas@codesourcery.com>
3375
3376 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
3377 describing DWARF data structures.
3378 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
3379 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
3380 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
3381 * gdb.dwarf2/dw2-entry-value.S: Likewise.
3382 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3383 * gdb.dwarf2/dw2-param-error.S: Likewise.
3384 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
3385 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
3386 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
3387 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
3388 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
3389 * gdb.dwarf2/pr11465.S: Likewise.
3390
e837f12a
JK
33912012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3392
3393 * gdb.mi/mi2-prompt.exp: New file.
3394
ccbb4f28
JB
33952012-03-13 Joel Brobecker <brobecker@adacore.com>
3396
3397 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
3398
32039130
JB
33992012-03-13 Joel Brobecker <brobecker@adacore.com>
3400
3401 * gdb.ada/bp_range_type: New testcase.
3402
16899756
DE
34032012-03-13 Doug Evans <dje@google.com>
3404
3405 * gdb.base/default.exp: Delete tests for symbol-reloading.
3406 * gdb.base/help.exp: Ditto.
3407 * gdb.base/setshow.exp: Ditto.
3408 * gdb.base/gdb_history: Delete references to symbol-reloading.
3409
87b0bb13
JK
34102012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3411
3412 * gdb.base/attach-twice.c: New files.
3413 * gdb.base/attach-twice.exp: New files.
3414
0d7941a9
KS
34152012-03-08 Keith Seitz <keiths@redhat.com>
3416
3417 * lib/gdb.exp (gdb_get_line_number): Throw an
3418 error instead of returning -1.
3419 * gdb.base/break.exp: Remove unused variable
3420 bp_location5.
3421 * gdb.base/hbreak2.exp: Likewise.
3422 * gdb.base/sepdebug.exp: Likewise.
3423
f4647387
YQ
34242012-03-08 Yao Qi <yao@codesourcery.com>
3425 Pedro Alves <palves@redhat.com>
3426
3427 Fix PR server/13392.
3428 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
3429 (tracepoint_change_loc_2): Remove kfail. Return if failed to
3430 download tracepoints.
3431 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
3432 (pending_tracepoint_resolved_during_trace): Likewise.
3433 (pending_tracepoint_installed_during_trace): Likewise.
3434 (pending_tracepoint_with_action_resolved): Likewise.
3435
83c532cb
KS
34362012-03-08 Keith Seitz <keiths@redhat.com>
3437
3438 * gdb.ada/array_bounds.exp: Get breakpoint for line
3439 with "START", not "STOP".
3440 * gdb.python/py-infthread.exp: Do not continue to
3441 line marked "Break here.", which is undefined.
3442
d6b6bbb7
LM
34432012-03-08 Luis Machado <lgustavo@codesourcery.com>
3444
3445 Revert:
3446
3447 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3448
3449 Implement testsuite workaround for PR breakpoints/13781.
3450 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
3451 (set breakpoint condition-evaluation host): New conditional command.
3452
7fe25d9b
JK
34532012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3454
3455 Fix CU relative vs. absolute DIE offsets.
3456 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
3457 one.
3458
51898c15
JK
34592012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3460
3461 Fix false FAIL on distros with relro linkage as default.
3462 * gdb.reverse/solib-precsave.exp: Try to compile the test using
3463 -Wl,-z,norelro first.
3464
8131799e
JB
34652012-03-06 Joel Brobecker <brobecker@adacore.com>
3466
3467 * gdb.ada/bp_on_var: New testcase.
3468
ba241969
JB
34692012-03-06 Joel Brobecker <brobecker@adacore.com>
3470
3471 * gdb.ada/bp_enum_homonym: New testcase.
3472
abe49676
YQ
34732012-03-06 Yao Qi <yao@codesourcery.com>
3474
3475 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
3476 x86_64-*-* and i?86-*-*.
3477 Set up KFAIL for gdb/13808.
3478
d8df103b
TT
34792012-03-05 Tom Tromey <tromey@redhat.com>
3480
3481 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
3482 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
3483
b7b189f3
TT
34842012-03-05 Tom Tromey <tromey@redhat.com>
3485
3486 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
3487
69dc1c4d
YQ
34882012-03-04 Yao Qi <yao@codesourcery.com>
3489
3490 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
3491 messages for KFAIL.
3492
3f20c47f
JK
34932012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3494
3495 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
3496 (print one_two_three, indexes off, print few_reps, indexes off)
3497 (print many_reps, indexes off, print empty, indexes off)
3498 (print one_two_three, print few_reps, print many_reps, print empty):
3499 Call setup_xfail if $gcc_old.
3500
abf1152a
JK
35012012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3502
3503 Implement testsuite workaround for PR breakpoints/13781.
3504 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
3505 (set breakpoint condition-evaluation host): New conditional command.
3506
a06715f8
JK
35072012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3508
3509 Code cleanup.
3510 * gdb.cp/mb-templates.exp: New variables executable. Use it for
3511 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
3512 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
3513 number 1 by $bpnum. Four times.
3514
5808517f
YQ
35152012-03-03 Yao Qi <yao@codesourcery.com>
3516
3517 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
3518
dfe2ac14
JK
35192012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3520
3521 Setup KFAIL for PR server/13796.
3522 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
3523
8bbc467a
JB
35242012-03-02 Joel Brobecker <brobecker@adacore.com>
3525
3526 * gdb.ada/operator_bp: New testcase.
3527
c0eac87f
JB
35282012-03-02 Joel Brobecker <brobecker@adacore.com>
3529
3530 * gdb.ada/info_locals_renaming: New testcase.
3531
4f42c881
TT
35322012-03-02 Tom Tromey <tromey@redhat.com>
3533
3534 * gdb.base/nextoverexit.c: New file.
3535 * gdb.base/nextoverexit.exp: New file.
3536
7380c0c9
EBM
35372012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
3538
3539 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
3540 parameter.
3541
1faeff08
MR
35422012-03-01 Maciej W. Rozycki <macro@mips.com>
3543
3544 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
3545 core registers.
3546
320b6f49 35472012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
3548 Maciej W. Rozycki <macro@codesourcery.com>
3549 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
3550
3551 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
3552
ad5f7d6e
PA
35532012-03-01 Pedro Alves <palves@redhat.com>
3554
3555 PR gdb/13767
3556
3557 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
3558 (gdb_collect_globals_test): Call it.
3559
d3dc44a6
KS
35602012-03-01 Keith Seitz <keiths@redhat.com>
3561
3562 * gdb.cp/method2.exp: Output of overload menu is now
3563 alphabetized. Update tests for "break A::method".
3564 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
3565 of hard-coding them.
3566 Overload menu is alphabetized: rewrite to accommodate.
3567 Unset variables LINE and TYPES which are used in other tests.
3568 Compute the output of "info break".
3569 Update the breakpoint table after all breakpoints are deleted.
3570 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
3571 compute ACTUALS and the method body based on parameters.
3572 Update expected output accordingly.
3573 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
3574 unique comments to allow the use of gdb_get_line_number.
3575
35762012-03-01 Keith Seitz <keiths@redhat.com>
3577
3578 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
3579 some Tcl syntax.
3580 * gdb.cp/ovldbreak.exp: Likewise.
3581
7949c2a0
KS
35822012-03-01 Keith Seitz <keiths@redhat.com>
3583
3584 * gdb.base/help.exp (help show user): Update expected result
3585 for new doc string changes (add "non-python").
3586
7d74f244
DE
35872012-03-01 Scott J. Goldman <scottjg@vmware.com>
3588
3589 * gdb.python/py-cmd.exp: Add test to verify that python commands can
3590 be put in the user-defined category and that the commands appear in
3591 "help user-defined".
3592
1b611343
JB
35932012-02-29 Joel Brobecker <brobecker@adacore.com>
3594
3595 * gdb.ada/tagged_not_init: New testcase.
3596
99b1c762
JB
35972012-02-29 Joel Brobecker <brobecker@adacore.com>
3598
3599 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
3600 * gdb.ada/enum_idx_packed: New testcase.
3601
2d4a02ee
JB
36022012-02-29 Joel Brobecker <brobecker@adacore.com>
3603
3604 * gdb.ada/aliased_array: New testcase.
3605
2e6fda7d
JB
36062012-02-29 Joel Brobecker <brobecker@adacore.com>
3607
3608 * gdb.ada/whatis_array_val: New testcase.
3609
9a7f938f
JK
36102012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3611
3612 Fix disp-step-syscall.exp: fork: single step over fork.
3613 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
3614 whitespaces.
3615 (single step over $syscall): Remove its check.
3616 (single step over $syscall final pc): New check.
3617
8703a944
JK
36182012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3619
3620 Support processors without SSSE3.
3621 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
3622 pabsd into ...
3623 (ssse3_test): ... a new function.
3624 (main): Call ssse3_test.
3625 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
3626 Update expected values everywhere.
3627 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
3628 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
3629 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
3630 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
3631 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
3632 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
3633 Move these tests lower.
3634 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
3635 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
3636 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
3637 New tests.
3638
c03e6ccc
YQ
36392012-02-29 Yao Qi <yao@codesourcery.com>
3640 Pedro Alves <palves@redhat.com>
3641
3642 * gdb.trace/trace-mt.c: New.
3643 * gdb.trace/trace-mt.exp: New.
3644
7964b62a
TS
36452012-02-28 Thomas Schwinge <thomas@codesourcery.com>
3646
2c8910ba
TS
3647 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
3648 numbers instead of hardcoding them.
3649 * gdb.base/annota1.c: Provide suitable markers.
3650 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
3651 numbers instead of hardcoding them.
3652 * gdb.base/annota3.c: Provide suitable markers.
3653
3654 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
3655 * gdb.base/annota3.c: Likewise.
3656 * gdb.base/sigall.c: Likewise.
3657 * gdb.base/signals.c: Likewise.
3658 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 3659
5a41c0b7
MR
36602012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
3661
3662 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
3663 failure return path.
3664
ebbbe5c5
LM
36652012-02-27 Luis Machado <lgustavo@codesourcery.com>
3666
3667 * gdb.base/save-bp.exp: Account for new condition evaluator output.
3668
8d126d8a
LM
36692012-02-24 Luis Machado <lgustavo@codesourcery.com>
3670
3671 * gdb.base/cond-eval-mode.exp: New file.
3672
11337c2f
PA
36732012-02-24 Pedro Alves <palves@redhat.com>
3674
3675 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
3676 (top level): Use with_test_prefix.
3677
13fc3e3c
PA
36782012-02-24 Pedro Alves <palves@redhat.com>
3679
3680 * gdb.threads/attach-into-signal.exp (corefunc): Use
3681 with_test_prefix.
3682
07c1b626
JK
36832012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3684
3685 Fix false FAILs on old CPUs without SSE.
3686 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
3687 Return untested for Illegal instruction.
3688
596ba138
JK
36892012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3690
3691 Fix false FAILs with glibc debug infos installed.
3692 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
3693 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
3694
aeaa2474
SA
36952012-02-22 Sterling Augustine <saugustine@google.com>
3696
3697 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
3698 constant with cast.
3699
aed555c9
PA
37002012-02-21 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
3703
78afebb4
PA
37042012-02-21 Pedro Alves <palves@redhat.com>
3705
3706 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
3707
fdcfef12
PA
37082012-02-21 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
3711 with_test_prefix.
3712
0f4d39d5
PA
37132012-02-21 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
3716 with_test_prefix here.
3717 (top level): Do it here instead. Remove `:' from the
3718 with_test_prefix string.
3719 * gdb.base/attach-pie-misread.exp: Remove the leading space the
3720 the suffix `:' from the with_test_prefix prefix string.
3721 * gdb.base/break-interp.exp: Ditto.
3722 * gdb.base/catch-load.exp: Ditto.
3723 * gdb.base/disp-step-syscall.exp: Ditto.
3724 * gdb.base/jit-so.exp: Ditto.
3725 * gdb.base/jit.exp: Ditto.
3726 * gdb.base/sepdebug.exp: Ditto.
3727 * gdb.base/solib-display.exp: Ditto.
3728 * gdb.base/solib-overlap.exp: Ditto.
3729 * gdb.base/watch-cond-infcall.exp: Ditto.
3730 * gdb.base/watchpoint.exp: Ditto.
3731 * gdb.dwarf2/dw2-noloc.exp: Ditto.
3732 * gdb.mi/mi-watch.exp: Ditto.
3733 * gdb.mi/mi2-watch.exp: Ditto.
3734 * gdb.threads/non-ldr-exc-1.exp: Ditto.
3735 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3736 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3737 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3738 * gdb.threads/watchpoint-fork.exp: Ditto.
3739 * gdb.threads/watchthreads-reorder.exp: Ditto.
3740 * gdb.trace/change-loc.exp: Ditto.
3741 * gdb.trace/pending.exp: Ditto.
3742 * gdb.trace/status-stop.exp: Ditto.
3743 * gdb.trace/strace.exp: Ditto.
3744 * gdb.trace/trace-break.exp: Ditto.
3745 * gdb.trace/unavailable.exp: Ditto.
3746 * lib/gdb.exp (with_test_prefix): Always prefix with space and
3747 suffix with colon. Adjust leading comments.
3748
6a5870ce
PA
37492012-02-21 Pedro Alves <palves@redhat.com>
3750 Tom Tromey <tromey@redhat.com>
3751
3752 * lib/gdb.exp: Add description of test prefixes.
3753 (with_test_prefix): New procedure.
3754 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
3755 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
3756 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
3757 instead of lappend to append to pf_prefix.
3758 * gdb.base/catch-load.exp: Use with_test_prefix.
3759 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
3760 * gdb.base/jit-so.exp: Use with_test_prefix.
3761 * gdb.base/jit.exp: Use with_test_prefix.
3762 * gdb.base/return-nodebug.exp (do_test): Use append instead of
3763 lappend to append to pf_prefix.
3764 * gdb.base/sepdebug.exp: Use with_test_prefix.
3765 * gdb.base/solib-display.exp: Use with_test_prefix.
3766 * gdb.base/solib-overlap.exp: Use with_test_prefix.
3767 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
3768 * gdb.base/watchpoint.exp: Use with_test_prefix.
3769 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
3770 * gdb.mi/mi-watch.exp: Use with_test_prefix.
3771 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
3772 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
3773 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
3774 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
3775 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
3776 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
3777 append instead of lappend to append to pf_prefix.
3778 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
3779 * gdb.trace/change-loc.exp: Use with_test_prefix.
3780 * gdb.trace/pending.exp: Use with_test_prefix.
3781 * gdb.trace/status-stop.exp: Use with_test_prefix.
3782 * gdb.trace/strace.exp: Use with_test_prefix.
3783 * gdb.trace/trace-break.exp: Use with_test_prefix.
3784 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
3785 instead of lappend to append to pf_prefix.
3786
35dc4a6b
JK
37872012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3788
3789 Fix racy FAILs.
3790 * gdb.base/inferior-died.c (main): Add return of 0.
3791 * gdb.base/inferior-died.exp (continue): Fix expectation of
3792 asynchronous events.
3793 (p 1): New test.
3794
c5a006e6
PA
37952012-02-20 Pedro Alves <palves@redhat.com>
3796
3797 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
3798 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
3799 gdb's internal debug output. For the non-threaded case, look for
3800 "Program received signal SIGLARM", for the threaded case, peek at
3801 the thread's siginfo.
3802
cc51a170
PA
38032012-02-20 Pedro Alves <palves@redhat.com>
3804
3805 General cleanup, make output test messages unique, and build
3806 different executable files for the non-threaded and threaded
3807 cases.
3808
3809 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
3810 Delete.
3811 (executable_nothr, executable_thr): New globals.
3812 (top level): Adjust to delete both executables.
3813 (corefunc): New parameter $executable. Set $pf_prefix instead of
3814 hand writing a prefix in tests. Issue a clean_restart and enable
3815 lin-lwp debug output here.
3816 (top level): Adjust. Use build_executable. Don't start gdb here,
3817 and don't enable lin-lwp debug output here.
3818 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
3819
c755f03d
JK
38202012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3821
3822 Fix racy FAILs.
3823 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
3824 "continue" command.
3825
6bec5e0a
JK
38262012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3827
3828 Fix for gdbserver non-extended mode.
3829 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
3830 and gdb_run_cmd.
3831
2e8265fd
TT
38322012-02-17 Tom Tromey <tromey@redhat.com>
3833
3834 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
3835 * gdb.python/py-events.exp: Check 'dir' output.
3836 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
3837
9e507076
YQ
38382012-02-17 Yao Qi <yao@codesourcery.com>
3839
3840 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
3841
32d22ab1
TT
38422012-02-16 Tom Tromey <tromey@redhat.com>
3843
3844 * gdb.base/inferior-died.c: Don't include stdio.h.
3845
9addecb9
TT
38462012-02-16 Tom Tromey <tromey@redhat.com>
3847
3848 * gdb.base/inferior-died.c: New file.
3849 * gdb.base/inferior-died.exp: New file.
3850
4cb6da1c
AR
38512012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
3852
3853 * gdb.base/break-inline.exp: New file.
3854 * gdb.base/break-inline.c: New file.
3855
3af2590d
TT
38562012-02-15 Tom Tromey <tromey@redhat.com>
3857
3858 * gdb.base/pc-fp.exp: Add "info register" tests.
3859
29988831
TT
38602012-02-15 Tom Tromey <tromey@redhat.com>
3861
3862 * gdb.base/regs.exp: Remove.
3863
10010058
PA
38642012-02-15 Pedro Alves <palves@redhat.com>
3865
3866 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
3867 the target doesn't support tracepoints.
3868 * gdb.trace/circ.exp: Ditto.
3869 * gdb.trace/collection.exp: Ditto.
3870 * gdb.trace/packetlen.exp: Ditto.
3871 * gdb.trace/passc-dyn.exp: Ditto.
3872 * gdb.trace/report.exp: Ditto.
3873 * gdb.trace/tfind.exp: Ditto.
3874 * gdb.trace/tspeed.exp: Ditto.
3875 * gdb.trace/tsv.exp: Ditto.
3876 * gdb.trace/unavailable.exp: Ditto.
3877 * gdb.trace/while-dyn.exp: Ditto.
3878
a2e0062d
PA
38792012-02-15 Pedro Alves <palves@redhat.com>
3880
3881 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
3882 gdb_test_multiple, and call unsupported instead of fail, if the
3883 remote side does not support the request.
3884
a1999d40
PA
38852012-02-15 Pedro Alves <palves@redhat.com>
3886
3887 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
3888 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
3889 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
3890 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
3891 * gdb.server/server-run.exp: Make sure gdb is disconnected.
3892 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
3893 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
3894 doesn't start with "extended-" already.
3895
7cee1e54
PA
38962012-02-15 Pedro Alves <palves@redhat.com>
3897
3898 Support extended-remote. Avoid cascading timeouts.
3899
3900 * gdb.base/attach.exp (do_attach_tests): Add expected output for
3901 the extended-remote target. If attaching with no file fails, load
3902 the file manually.
3903 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
3904
816338b5
SS
39052012-02-14 Stan Shebs <stan@codesourcery.com>
3906
3907 * gdb.base/ena-dis-br.exp: Add enable count test.
3908
cc30c4bd
PA
39092012-02-13 Pedro Alves <palves@redhat.com>
3910
3911 * config/mips-idt.exp: Delete.
3912 * gdb.base/a2-run.exp: Remove mips-idt xfails.
3913 * gdb.base/bitfields.exp: Remove mips-idt restarts.
3914 * gdb.base/break.exp: Remove mips-idt references.
3915 * gdb.base/chng-syms.exp: Ditto.
3916 * gdb.base/default.exp: Ditto.
3917 * gdb.base/funcargs.exp (funcargs_reload): Delete.
3918 (top level): Don't call it.
3919 * gdb.base/opaque.exp: Remove mips-idt restarts.
3920 * gdb.base/ptype.exp: Remove mips-idt xfails.
3921 * gdb.base/scope.exp: Remove mips-idt restarts.
3922 * gdb.base/sepdebug.exp: Remove mips-idt references.
3923 * gdb.base/watchpoint.exp (maybe_clean_restart)
3924 (maybe_reinitialize): Delete.
3925 (test_disabling_watchpoints, test_disabling_watchpoints)
3926 (test_watchpoint_triggered_in_syscall)
3927 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
3928 Don't call them.
3929
57008375
JK
39302012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3931
3932 * gdb.server/server-exec-info.exp: New file.
3933
4a2d9c08
PA
39342012-02-10 Pedro Alves <palves@redhat.com>
3935
3936 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
3937 always non-empty.
3938 (test_attach): Always pass $exec to test_attach_gdb.
3939
09fa21bd
TT
39402012-02-08 Tom Tromey <tromey@redhat.com>
3941
3942 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
3943 before inferior is started.
3944
f0823d2c
TT
39452012-02-07 Tom Tromey <tromey@redhat.com>
3946
3947 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
3948 Symbol.value.
3949 * gdb.python/py-symbol.c (qq): Set default value.
3950
39512012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
3952
3953 * gdb.python/py-symbol.c (qq): New global.
3954 * gdb.python/py-symbol.exp: Add test for frame-less
3955 lookup_symbol.
3956 * gdb.python/py-symtab.exp: Fix line number.
3957
f7e44f65
JB
39582012-02-03 Joel Brobecker <brobecker@adacore.com>
3959
3960 * gdb.ada/mi_task_arg: New testcase.
3961
4c9ed63c
PA
39622012-02-02 Pedro Alves <palves@redhat.com>
3963
3964 * gdb.reverse/until-precsave.exp: Also put "record save" under the
3965 extended timeout.
3966
c0b9f2c6
PA
39672012-02-02 Pedro Alves <palves@redhat.com>
3968
3969 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
3970 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
3971
5f8cefd7
PA
39722012-02-02 Pedro Alves <palves@redhat.com>
3973
3974 * gdb.base/term.exp: Rewrite.
3975 * gdb.base/term.c: New.
3976
2f3a2569
PA
39772012-02-02 Pedro Alves <palves@redhat.com>
3978
3979 * gdb.base/default.exp (run "r" abbreviation, run): Add
3980 extended-remote expected output.
3981
f149aabd
TT
39822012-02-02 Tom Tromey <tromey@redhat.com>
3983
3984 * gdb.cp/dispcxx.exp: New file.
3985 * gdb.cp/dispcxx.cc: New file.
3986
03bef283
TT
39872012-02-01 Tom Tromey <tromey@redhat.com>
3988
3989 * gdb.base/jit-simple.exp: New file.
3990 * gdb.base/jit-simple.c: New file.
3991
a79b18b5
YQ
39922012-01-30 Yao Qi <yao@codesourcery.com>
3993
3994 * gdb.base/skip.exp: Make test result unique.
3995
f0d1a53e
JK
39962012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3997
3998 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
3999 compatibility with valgrind-3.7.0.
4000
4b3c9f41
PA
40012012-01-27 Pedro Alves <palves@redhat.com>
4002
4003 * gdb.base/watchpoint.exp (no_hw): New global.
4004 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
4005 disable hw watchpoints.
4006 (test_wide_location_1, test_wide_location_2): If no_hw is set,
4007 don't expect hw watchpoints.
4008 (no_hw_watchpoints): Always clean restart.
4009 (do_tests): New procedure, factored out from the top level.
4010 (top level): Run tests twice. Once with hw watchpoints enabled,
4011 another time with hw watchpoints disabled.
4012
a13491c8
PA
40132012-01-27 Pedro Alves <palves@redhat.com>
4014
4015 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
4016 out from the top level.
4017 (top level): Call it instead.
4018
f2c8a051
PA
40192012-01-27 Pedro Alves <palves@redhat.com>
4020
4021 * gdb.base/watchpoint.exp (top level): Re-enable hardware
4022 watchpoints sooner.
4023
654d7a9e
PA
40242012-01-27 Pedro Alves <palves@redhat.com>
4025
4026 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
4027
274f47f3
PA
40282012-01-27 Pedro Alves <palves@redhat.com>
4029
4030 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
4031 "You may have requested too many hardware
4032 breakpoints/watchpoints".
4033
e4d63ba2
PA
40342012-01-27 Pedro Alves <palves@redhat.com>
4035
4036 * gdb.base/watchpoint.exp (maybe_clean_restart)
4037 (maybe_reinitialize): New.
4038 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
4039 expect "hit N times".
4040 (test_disabling_watchpoints, test_complex_watchpoint)
4041 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4042 Call maybe_clean_restart.
4043 (top level): Use clean_restart. Remove "mips-idt-*"
4044 reinitialization.
4045
dbd95daf
PA
40462012-01-27 Pedro Alves <palves@redhat.com>
4047
4048 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
4049
f3ad2025
PA
40502012-01-27 Pedro Alves <palves@redhat.com>
4051
4052 * gdb.base/watchpoint.exp: Clean restart after tests that don't
4053 require `initialize' anymore. Remove unnecessary `initialize'
4054 calls.
4055
100aa3ae
PA
40562012-01-27 Pedro Alves <palves@redhat.com>
4057
4058 * gdb.base/watchpoint.exp (wp_set): Delete.
4059 (initialize, test_simple_watchpoint, top level): Remove dead code.
4060
c79a8e11
PA
40612012-01-27 Pedro Alves <palves@redhat.com>
4062
4063 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
4064 typo.
4065
048fe15a
PA
40662012-01-27 Pedro Alves <palves@redhat.com>
4067
4068 * config/extended-gdbserver.exp: New file.
4069 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
4070 comment.
4071 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
4072 * boards/native-extended-gdbserver.exp: New file.
4073
4033a6bf
PA
40742012-01-26 Pedro Alves <palves@redhat.com>
4075
4076 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
4077 and gdb_test_multiple.
4078
3d7f4b81
PA
40792012-01-26 Pedro Alves <palves@redhat.com>
4080
4081 Make test messages unique, and more identifiable.
4082 * gdb.multi/watchpoint-multi.exp: Change test messages.
4083
484abf42
TT
40842012-01-25 Tom Tromey <tromey@redhat.com>
4085
4086 * gdb.base/solib-disc.exp: Fix regexps.
4087
edcc5120
TT
40882012-01-24 Tom Tromey <tromey@redhat.com>
4089
4090 * lib/mi-support.exp (mi_expect_stop): Add special case for
4091 solib-event.
4092 * gdb.base/catch-load-so.c: New file.
4093 * gdb.base/catch-load.exp: New file.
4094 * gdb.base/catch-load.c: New file.
4095 * gdb.base/break-interp.exp (reach_1): Update regexp.
4096
30b91c90
JK
40972012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4098
4099 Fix fuzzy results.
4100 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
4101 lpsimple and func.
4102
53fe1783
GB
41032012-01-24 Gary Benson <gbenson@redhat.com>
4104
4105 Delete #if 0'd out code.
4106 * gdb.base/default.exp (info catch): Remove.
4107 * gdb.base/gdb_history (info catch): Likewise.
4108 * gdb.base/help.exp (info catch): Likewise.
4109
d0d8b0c6
JK
41102012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4111
4112 Fix watchpoints to be specific for each inferior.
4113 * gdb.multi/watchpoint-multi.c: New file.
4114 * gdb.multi/watchpoint-multi.exp: New file.
4115
4403d8e9
JK
41162012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4117
4118 Fix watchpoints across inferior fork.
4119 * gdb.threads/watchpoint-fork-child.c: New file.
4120 * gdb.threads/watchpoint-fork-mt.c: New file.
4121 * gdb.threads/watchpoint-fork-parent.c: New file.
4122 * gdb.threads/watchpoint-fork-st.c: New file.
4123 * gdb.threads/watchpoint-fork.exp: New file.
4124 * gdb.threads/watchpoint-fork.h: New file.
4125
050a2e1d
PA
41262012-01-23 Pedro Alves <palves@redhat.com>
4127
4128 * gdb.base/call-signal-resume.exp: Allow output after "return".
4129
6a52fb62
PA
41302012-01-20 Pedro Alves <palves@redhat.com>
4131
4132 * gdb.python/py-finish-breakpoint.py: Fix typo.
4133
145b16a9
UW
41342012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
4135
4136 * gdb.base/info-proc.exp: Also run on remote targets. Main
4137 "info proc" command is now always present; whether target supports
4138 actual info proc operation is detected when attempting to issue
4139 the command.
4140
26f6125e
JK
41412012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4142
4143 * .gdbinit: Remove.
4144
eb5227ce
PA
41452012-01-19 Pedro Alves <palves@redhat.com>
4146
4147 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
4148 look at the funtions' returns.
4149 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
4150 (jprint.print(int, int)): Change return type to int. Adjust.
4151
1db33378
PP
41522012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4153
4154 PR gdb/9538
4155 * gdb.base/sepdebug.exp: New test.
4156
b9736cf8
PA
41572012-01-18 Pedro Alves <palves@redhat.com>
4158
4159 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
4160 Allow output before ^done.
4161
4aac40c8
TT
41622012-01-16 Tom Tromey <tromey@redhat.com>
4163
4164 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
4165 Add tests for relative directory.
4166
cafec441
TT
41672012-01-16 Tom Tromey <tromey@redhat.com>
4168
4169 * gdb.base/printcmds.c (enum flag_enum): New.
4170 (three): New global.
4171 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
4172 enum printing.
4173 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
4174 FlagEnumerationPrinter.
4175 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
4176 * gdb.python/py-pp-maint.c (enum flag_enum): New.
4177 (fval): New global.
4178
abcc4978
PA
41792012-01-16 Pedro Alves <palves@redhat.com>
4180
4181 * lib/gdb.exp (banned_procedures): New variable.
4182 (banned_variables_traced): Rename to ...
4183 (banned_traced): ... this.
4184 (gdb_init): Also trace banned procedures.
4185 (gdb_finish): Also untrace banned procedures.
4186
97ccebe8
PA
41872012-01-16 Pedro Alves <palves@redhat.com>
4188
4189 Remove all calls to strace.
4190
2af7517b
JK
41912012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4192
4193 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
4194 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
4195
9241a8bc
PP
41962012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4197
4198 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
4199 * gdb.base/pie-execl.exp: Likewise.
4200
3848a17f
KS
42012012-01-12 Keith Seitz <keiths@redhat.com>
4202
4203 PR mi/10586
4204 * gdb.mi/var-cmd.c (struct anonymous): New structure.
4205 (do_anonymous_type_tests): New function.
4206 (main): Call do_anonymous_type_tests.
4207 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
4208 (verify_everything): New procedure.
4209 * gdb.mi/mi-var-cp.cc (class A): New class.
4210 (anonymous_structs_and_unions): New function.
4211 (main): Call anonymous_structs_and_unions.
4212 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
4213 (verify_everything): New procedure.
4214
440e2fca
KS
42152012-01-12 Keith Seitz <keiths@redhat.com>
4216
4217 * lib/mi-support.exp: Expand comments about PATH_EXPR.
4218 (varobj_tree::get_path_expr): Assume that all varobjs are
4219 compound unless they are known simple types.
4220 Adjust path expressions based on parent type, path parent type,
4221 and tree language.
4222 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
4223 the root varobj.
4224 (mi_walk_varobj_tree): Add LANGUAGE parameter.
4225
675399c9
PA
42262012-01-11 Pedro Alves <palves@redhat.com>
4227
4228 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
4229 core files on this machine" anymore.
4230
97ddaa9b
PH
42312012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4232
4233 * gdb.base/watchpoint.c (recurser): Initialize local_x.
4234 (main): Repeat recurser call.
4235 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
4236 equivalent to 'local_x'.
4237
ea733575 42382012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 4239 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
4240
4241 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
4242
2ca0b532
PA
42432012-01-05 Pedro Alves <alves.ped@gmail.com>
4244
4245 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
4246 * gdb.python/py-events.c (first): Add bits for new "step N" test.
4247 * gdb.python/py-events.exp: Test that "step N" tripping on a
4248 breakpoint emits a breakpoint event.
4249
6e681866
JB
42502012-01-03 Joel Brobecker <brobecker@adacore.com>
4251
4252 * gdb.base/auxv.exp: Reformat the copyright notice.
4253
3c2d6aff
YQ
42542012-01-03 Yao Qi <yao@codesourcery.com>
4255
4256 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
4257 (strace_trace_on_diff_addr): New.
4258 * gdb.trace/strace.c: (main): Add two local variables.
4259
0852fee3
UW
42602011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
4261
4262 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
4263 * gdb.cell/gcore.exp: Likewise.
4264 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
4265 to verify the correct instance of main is selected.
4266
12c3e59c
JB
42672012-01-02 Joel Brobecker <brobecker@adacore.com>
4268
4269 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
4270 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
4271 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
4272 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
4273 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
4274 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
4275 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
4276 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
4277 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
4278 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
4279 gdb.threads/thread_check.c: Reformat copyright header.
4280
c0f378ec
EBM
42812011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
4282
e4a7ca93 4283 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
4284 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
4285 is not enabled.
4286
3bc96cfb
JK
42872011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4288
4289 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
4290 parameter to self_exec, adjust the function.
4291 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
4292 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
4293 (set var do_exit = 0): Remove test.
4294 (newline at end of file): Add one.
4295
095bcf5e
JB
42962011-12-27 Joel Brobecker <brobecker@adacore.com>
4297
4298 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
4299 New files.
4300
18d19bd1
JK
43012011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4302
4303 Fix racy FAILs.
4304 * gdb.threads/fork-thread-pending.c (barrier): New variable.
4305 (thread_function, thread_forker): Call pthread_barrier_wait for it.
4306 (main): Call pthread_barrier_init for it.
4307
e809353a
JK
43082011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4309
4310 Fix double send_gdb leading to racy FAILs.
4311 * gdb.base/break.exp (set silent break bp_location1): Replace
4312 3x send_gdb and gdb_expect by gdb_test.
4313 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
4314 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
4315 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
4316 instead of send_gdb. Twice.
4317 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
4318 3x send_gdb and gdb_expect by gdb_test.
4319 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
4320
da8cb7ec
JK
43212011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4322
4323 * gdb.linespec/linespec.exp: Compile using {c++}.
4324
ae1a303e
JK
43252011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4326
4327 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
4328 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
4329 (verify GCC PR debug/51668): New test.
4330
cc72b2a2
KP
43312011-12-23 Kevin Pouget <kevin.pouget@st.com>
4332
4333 Introduce gdb.FinishBreakpoint in Python.
4334 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
4335 py-finish-breakpoint2
4336 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
4337 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
4338 instead of line number.
4339 * gdb.python/py-finish-breakpoint.c: New file.
4340 * gdb.python/py-finish-breakpoint.exp: New file.
4341 * gdb.python/py-finish-breakpoint.py: New file.
4342 * gdb.python/py-finish-breakpoint2.cc: New file.
4343 * gdb.python/py-finish-breakpoint2.exp: New file.
4344 * gdb.python/py-finish-breakpoint2.py: New file.
4345
3b7962f9
JK
43462011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4347
4348 Partial fix of compatibility with gcc-4.7.
4349 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
4350 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
4351 Add comment to add a PASS case in the future.
4352
6538471c
JK
4353 Fix compatibility with gcc-4.7.
4354 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
4355
7052e42c
UW
43562011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
4357
4358 PR tdep/12797
4359 * gdb.base/callfuncs.exp: Remove KFAIL.
4360
9ac7f98e
JB
43612011-12-21 Joel Brobecker <brobecker@adacore.com>
4362
4363 * gdb.ada/task_bp: New testcase.
4364
f6eeced0
JK
43652011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4366
4367 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
4368 -DNO_SECTIONS.
4369 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
4370
72225e17
JK
43712011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4372
4373 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
4374 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
4375 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4376 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
4377 conditional for gcc <= 4.5.
4378
13ac8d2c
JK
43792011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4380
4381 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
4382 by XFAIL.
4383 * gdb.cp/static-method.exp (info addr A::func())
4384 (list static-method.cc:xxx::(anonymous namespace)::A::func)
4385 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
4386 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
4387 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
4388 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
4389 (test value of F in k3_m): Likewise.
4390 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4391 Likewise.
4392
049682ba
JK
43932011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4394
4395 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
4396 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
4397 Remove.
4398 * gdb.threads/attachstop-mt.c: Remove.
4399 * gdb.threads/attachstop-mt.exp: Remove.
4400
2c9d8796
MK
44012011-12-17 Mark Kettenis <kettenis@gnu.org>
4402
4403 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
4404
e0f9f062
DE
44052011-12-16 Doug Evans <dje@google.com>
4406
f4aa2101 4407 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
4408 * boards/native-gdbserver.exp: New file.
4409
e0f9f062
DE
4410 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
4411 gdbserver output.
4412 (gdbserver_default_get_remote_address): New function.
4413 (gdbserver_start): Call gdb,get_remote_address to compute argument
4414 to "target remote" command.
4415
80b6e756
PM
44162011-12-16 Phil Muldoon <pmuldoon@redhat.com>
4417
1c3ad6ab 4418 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
4419 python print-stack. Add set/show python print-stack
4420 off|full|message tests.
4421
1576bd00
YQ
44222011-12-15 Yao Qi <yao@codesourcery.com>
4423
4424 * gdb.trace/strace.c: New
4425 * gdb.trace/strace.exp: New.
4426
d6a0f6e0
TT
44272011-12-14 Tom Tromey <tromey@redhat.com>
4428
4429 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
4430
31015e1d
DE
44312011-12-14 Doug Evans <dje@google.com>
4432
4433 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
4434
7b50312a
PA
44352011-12-14 Pedro Alves <pedro@codesourcery.com>
4436
4437 PR threads/10729
4438
4439 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 4440 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 4441
924437bc
PA
44422011-12-13 Pedro Alves <pedro@codesourcery.com>
4443 Doug Evans <dje@google.com>
4444
4445 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
4446 (clean_restart): Remove references to the gdb_stub target board
4447 variable.
4448 (gdb_step_for_stub): Delete.
4449
4450 * gdb.base/annota1.exp: Remove all references to [target_info
4451 exists gdb_stub], gdb_step_for_stub and usestubs.
4452 * gdb.base/annota3.exp: Ditto.
4453 * gdb.base/async.exp: Ditto.
4454 * gdb.base/break.exp: Ditto.
4455 * gdb.base/code-expr.exp: Ditto.
4456 * gdb.base/commands.exp: Ditto.
4457 * gdb.base/completion.exp: Ditto.
4458 * gdb.base/condbreak.exp: Ditto.
4459 * gdb.base/consecutive.exp: Ditto.
4460 * gdb.base/cvexpr.exp: Ditto.
4461 * gdb.base/define.exp: Ditto.
4462 * gdb.base/display.exp: Ditto.
4463 * gdb.base/ena-dis-br.exp: Ditto.
4464 * gdb.base/environ.exp: Ditto.
4465 * gdb.base/gnu-ifunc.exp: Ditto.
4466 * gdb.base/maint.exp: Ditto.
4467 * gdb.base/pending.exp: Ditto.
4468 * gdb.base/sect-cmd.exp: Ditto.
4469 * gdb.base/sepdebug.exp: Ditto.
4470 * gdb.base/unload.exp: Ditto.
4471 * gdb.base/watchpoint-solib.exp: Ditto.
4472 * gdb.cp/annota2.exp: Ditto.
4473 * gdb.cp/annota3.exp: Ditto.
4474 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
4475 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
4476 * gdb.mi/mi-pending.exp: Ditto.
4477 * gdb.trace/circ.exp: Ditto.
4478 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
4479 * gdb.base/list.exp: Ditto.
4480
4481 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
4482 breakpoint function and all references to the usestubs macro.
4483 * gdb.base/exprs.c: Ditto.
4484 * gdb.base/freebpcmd.c: Ditto.
4485 * gdb.base/bitfields.c: Ditto.
4486 * gdb.base/bitfields2.c: Ditto.
4487 * gdb.base/break.c: Ditto.
4488 * gdb.base/call-sc.c: Ditto.
4489 * gdb.base/call-signals.c: Ditto.
4490 * gdb.base/callfuncs.c: Ditto.
4491 * gdb.base/charset.c: Ditto.
4492 * gdb.base/consecutive.c: Ditto.
4493 * gdb.base/constvars.c: Ditto.
4494 * gdb.base/funcargs.c: Ditto.
4495 * gdb.base/int-type.c: Ditto.
4496 * gdb.base/interrupt.c: Ditto.
4497 * gdb.base/langs0.c: Ditto.
4498 * gdb.base/list0.c: Ditto.
4499 * gdb.base/mips_pro.c: Ditto.
4500 * gdb.base/miscexprs.c: Ditto.
4501 * gdb.base/nodebug.c: Ditto.
4502 * gdb.base/opaque0.c: Ditto.
4503 * gdb.base/pointers.c: Ditto.
4504 * gdb.base/printcmds.c: Ditto.
4505 * gdb.base/ptype.c: Ditto.
4506 * gdb.base/recurse.c: Ditto.
4507 * gdb.base/reread1.c: Ditto.
4508 * gdb.base/reread2.c: Ditto.
4509 * gdb.base/restore.c: Ditto.
4510 * gdb.base/return.c: Ditto.
4511 * gdb.base/run.c: Ditto.
4512 * gdb.base/scope0.c: Ditto.
4513 * gdb.base/sepdebug.c: Ditto.
4514 * gdb.base/setshow.c: Ditto.
4515 * gdb.base/setvar.c: Ditto.
4516 * gdb.base/sigall.c: Ditto.
4517 * gdb.base/signals.c: Ditto.
4518 * gdb.base/structs.c: Ditto.
4519 * gdb.base/structs2.c: Ditto.
4520 * gdb.base/testenv.c: Ditto.
4521 * gdb.base/twice.c: Ditto.
4522 * gdb.base/unwindonsignal.c: Ditto.
4523 * gdb.base/watchpoint.c: Ditto.
4524 * gdb.base/watchpoints.c: Ditto.
4525 * gdb.base/whatis.c: Ditto.
4526 * gdb.cp/classes.cc: Ditto.
4527 * gdb.cp/cplusfuncs.cc: Ditto.
4528 * gdb.cp/derivation.cc: Ditto.
4529 * gdb.cp/formatted-ref.cc: Ditto.
4530 * gdb.cp/misc.cc: Ditto.
4531 * gdb.cp/overload.cc: Ditto.
4532 * gdb.cp/ovldbreak.cc: Ditto.
4533 * gdb.cp/ref-params.cc: Ditto.
4534 * gdb.cp/ref-types.cc: Ditto.
4535 * gdb.cp/templates.cc: Ditto.
4536 * gdb.cp/virtfunc.cc: Ditto.
4537 * gdb.hp/gdb.aCC/run.c: Ditto.
4538 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
4539 * gdb.hp/gdb.compat/xdb0.c: Ditto.
4540 * gdb.reverse/consecutive-reverse.c: Ditto.
4541 * gdb.reverse/sigall-reverse.c: Ditto.
4542 * gdb.reverse/until-reverse.c: Ditto.
4543 * gdb.reverse/watch-reverse.c: Ditto.
4544 * gdb.trace/actions.c: Ditto.
4545 * gdb.trace/circ.c: Ditto.
4546 * gdb.trace/collection.c: Ditto.
4547
fabde485
PA
45482011-12-13 Pedro Alves <pedro@codesourcery.com>
4549
4550 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
4551 (func6, func7): New.
4552 (main): Call func6 and func7.
4553 * gdb.base/watchpoint.exp (test_wide_location_1)
4554 (test_wide_location_2): New.
4555 (top level): Re-enable hardware watchpoints if necessary. Call
4556 test_wide_location_1 and test_wide_location_2.
4557
ff7d1690
YQ
45582011-12-11 Yao Qi <yao@codesourcery.com>
4559
4560 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
4561
a6af7abe
JB
45622011-12-11 Joel Brobecker <brobecker@adacore.com>
4563
4564 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
4565 expected output for unsupported case.
4566
61638e15
JK
45672011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4568
4569 PR testsuite/12649
4570 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
4571 Protect gdb_test_multiple by final $gdb_prompt match.
4572
0a00efc3
JK
45732011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4574
4575 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
4576 New variable, new test.
4577 (list static-method.cc:xxx::(anonymous namespace)::A::func)
4578 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
4579 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
4580 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
4581 them if HAVE_GCC_45682_FIXED is not set.
4582
4511b1ba
YQ
45832011-12-10 Yao Qi <yao@codesourcery.com>
4584
4585 * gdb.trace/status-stop.exp: New.
4586 * gdb.trace/status-stop.c: New.
4587
27949e73
JK
45882011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4589
4590 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
4591 timeout.
4592
d8ea7931
TT
45932011-12-08 Tom Tromey <tromey@redhat.com>
4594
4595 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
4596 condition.
4597
1cc310d2
SS
45982011-12-07 Stan Shebs <stan@codesourcery.com>
4599
4600 * gdb.trace/tfind.exp: Update for output changes.
4601
d482a875
PA
46022011-12-07 Pedro Alves <pedro@codesourcery.com>
4603
4604 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
4605 throws "Cannot insert catchpoints in this configuration".
4606 * gdb.ada/mi_catch_ex.exp: Likewise.
4607
f0ba3972
PA
46082011-12-06 Pedro Alves <pedro@codesourcery.com>
4609
4610 * gdb.base/break-always.exp: Test changing memory at addresses
4611 with breakpoints inserted.
4612
f8eba3c6
TT
46132011-12-06 Joel Brobecker <brobecker@acacore.com>
4614
6fdff2c5
PA
4615 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
4616 involving a fully qualified function name.
f8eba3c6
TT
4617
46182011-12-06 Tom Tromey <tromey@redhat.com>
4619
4620 * gdb.ada/homonym.exp: Add three breakpoint tests.
4621
46222011-12-06 Tom Tromey <tromey@redhat.com>
4623
4624 * gdb.base/solib-weak.exp (do_test): Remove kfail.
4625 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
4626 * gdb.objc/objcdecode.exp: Update for output changes.
4627 * gdb.linespec/linespec.exp: New file.
4628 * gdb.linespec/lspec.cc: New file.
4629 * gdb.linespec/lspec.h: New file.
4630 * gdb.linespec/body.h: New file.
4631 * gdb.linespec/base/two/thefile.cc: New file.
4632 * gdb.linespec/base/one/thefile.cc: New file.
4633 * gdb.linespec/Makefile.in: New file.
4634 * gdb.cp/templates.exp (test_template_breakpoints): Update for
4635 output changes.
4636 * gdb.cp/re-set-overloaded.exp: Remove kfail.
4637 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
4638 makes one breakpoint.
4639 * gdb.cp/method2.exp (test_break): Update for output changes.
4640 * gdb.cp/mb-templates.exp: Update for output changes.
4641 * gdb.cp/mb-inline.exp: Update for output changes.
4642 * gdb.cp/mb-ctor.exp: Update for output changes.
4643 * gdb.cp/ovsrch.exp: Use fully-qualified names.
4644 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
4645 has multiple matches.
4646 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
4647 error message change.
4648 * gdb.base/list.exp (test_list_filename_and_number): Update for
4649 error message change.
4650 * gdb.base/break.exp: Disable pending breakpoints. Update for
4651 output changes.
4652 * configure.ac: Add gdb.linespec.
4653 * configure: Rebuild.
4654 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
4655
c642a434
UW
46562011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
4657
4658 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
4659 last_break register on s390*-*-* targets.
4660
b18003d1
JB
46612011-12-06 Joel Brobecker <brobecker@adacore.com>
4662
4663 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
4664 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
4665 of parameter X in procedure Foo.
4666
fe96589c
SS
46672011-12-05 Stan Shebs <stan@codesourcery.com>
4668
4669 * gdb.trace/tfind.exp: Update help string matches.
4670
1820ab47
JK
46712011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4672
4673 * gdb.server/ext-run.exp (get process list): Accept also systemd
4674 as PID 1.
4675
e11ac3a3
JK
46762011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4677 Pedro Alves <pedro@codesourcery.com>
4678
4679 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
4680 starting GDB.
4681 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
4682 $use_gdb_stub.
4683 * gdb.base/display.exp: Likewise.
4684 * gdb.base/ending-run.exp: Likewise.
4685 * gdb.base/list.exp (test_listsize): Likewise.
4686 * gdb.base/setshow.exp: Likewise.
4687 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
4688 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
4689 check by global $use_gdb_stub.
4690 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
4691 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
4692 (default_gdb_init): Unset global $use_gdb_stub.
4693 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
4694 by global $use_gdb_stub.
4695 * lib/gdbserver-support.exp: Extend comments for set_board_info
4696 gdb_protocol and gdb,socketport.
4697 (gdbserver_start_extended): Set global gdbserver_protocol and
4698 gdbserver_gdbport. Clear global use_gdb_stub.
4699 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
4700 from target use_gdb_stub.
4701 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
4702
1d41d75c
DE
47032011-12-03 Doug Evans <dje@google.com>
4704
4705 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
4706 (gdb_step_for_stub): Add comments.
4707
d6d7a51a
MR
47082011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
4709
4710 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
4711 to the caller.
4712 (gdb_test_multiple): Likewise.
4713
05acf274
JK
47142011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4715
4716 Fix gdb.mi/mi-solib.exp without system debug info installed.
4717 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
4718 expect attribute, return 0 for it. Update comments.
4719
2268b414
JK
47202011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4721
4722 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
4723 (corrupted list): Adjust the expectation.
4724
585861ea
JK
47252011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4726
4727 PR threads/13448
4728 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
4729 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
4730 * gdb.threads/tls-var-main.c: New file.
4731 * gdb.threads/tls-var.c: New file.
4732 * gdb.threads/tls-var.exp: New file.
4733
968643aa
JK
47342011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4735
4736 PR testsuite/12649
4737 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
4738 Protect gdb_test_multiple by final $gdb_prompt match.
4739 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
4740 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
4741 (test_tracepoints): Likewise.
4742
9750bca9
JK
47432011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4744
4745 PR breakpoints/13346
4746 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
4747 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
4748 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
4749
ac1349b7
JB
47502011-12-01 Joel Brobecker <brobecker@adacore.com>
4751
4752 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
4753 * gdb.ada/homonym/homonym.adb: For use of all types defined
4754 locally inside both Get_Value subprograms.
4755
26d44faf
JK
47562011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4757
4758 Fix racy FAILs.
4759 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
4760 of send_gdb.
4761
514f6425
UW
47622011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4763
4764 * gdb.base/testenv.exp: Skip on remote targets. Unset global
4765 environment variable after test completed.
4766
4255c8d2
UW
47672011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4768
4769 * gdb.base/solib-nodir.exp: Skip if remote target.
4770 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
4771 application. Call gdb_load_shlibs.
4772 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
4773
a35ad96a
JB
47742011-11-29 Joel Brobecker <brobecker@adacore.com>
4775
4776 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
4777
1a1d5513
JB
47782011-11-28 Joel Brobecker <brobecker@adacore.com>
4779
4780 * gdb.ada/fullname_bp: New testcase.
4781
50b4ddf8
JK
47822011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4783
4784 PR testsuite/12649
4785 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
4786 Wrap send_gdb into a new gdb_test.
4787
fb0aec57
JK
4788 Code cleanup.
4789 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
4790 Convert send_gdb and gdb_expect to gdb_test_multiple.
4791
2376d946
JK
47922011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4793
4794 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
4795
1eec78bd
KS
47962011-11-23 Keith Seitz <keiths@redhat.com>
4797
4798 * lib/mi-support.exp (varobj_tree): New namespace and procs.
4799 (mi_varobj_tree_test_children_callback): New proc.
4800 (mi_walk_varobj_tree): New proc.
4801
36dfb11c
TT
48022011-11-22 Tom Tromey <tromey@redhat.com>
4803
4804 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
4805 Add "use_mi_command" argument.
4806 (mi_run_cmd, mi_run_with_cli): New procs.
4807 * gdb.mi/solib-lib.c: New file.
4808 * gdb.mi/solib-main.c: New file.
4809 * gdb.mi/mi-solib.exp: New file.
4810
0e965dd0
DE
48112011-11-21 Doug Evans <dje@google.com>
4812
4813 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
4814 _Unwind_DebugHook is missing.
4815
f196051f
SS
48162011-11-20 Stan Shebs <stan@codesourcery.com>
4817
4818 * gdb.trace/tstatus.exp: New.
4819 * gdb.trace/actions.c: Include string.h.
4820
bfccc43c
YQ
48212011-11-18 Yao Qi <yao@codesourcery.com>
4822
4823 * gdb.trace/pending.exp: New.
4824 * gdb.trace/pending.c: New.
4825 * gdb.trace/pendshr1.c: New.
4826 * gdb.trace/pendshr2.c: New.
4827 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
4828 tracepoint location becomes pending.
4829 (tracepoint_change_loc_2): New.
4830
73cd8ab1
DM
48312011-11-16 David S. Miller <davem@davemloft.net>
4832
4833 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
4834 target is sparc*-*-linux*
4835
77426730
PK
48362011-11-15 Paul Koning <paul_koning@dell.com>
4837
4838 * gdb.python/py-type.exp: New testcases for exceptions on scalar
4839 types.
4840
ed59ded5
DE
48412011-11-14 Doug Evans <dje@google.com>
4842
4843 * gdb.base/shell.exp: New file.
4844
405f8e94
SS
48452011-11-14 Stan Shebs <stan@codesourcery.com>
4846
4847 * gdb.trace/ftrace.c: New.
4848 * gdb.trace/ftrace.exp: New.
4849
1e4d1764
YQ
48502011-11-14 Yao Qi <yao@codesourcery.com>
4851
4852 * gdb.trace/change-loc-1.c: New.
4853 * gdb.trace/change-loc-2.c: New.
4854 * gdb.trace/change-loc.c: New.
4855 * gdb.trace/change-loc.exp: New.
4856 * gdb.trace/change-loc.h: New.
4857 * gdb.trace/trace-break.c (marker): Define new symbol.
4858 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 4859 New.
1e4d1764
YQ
4860 (break_trace_same_addr_6): New.
4861
71eba9c2 48622011-11-12 Matt Rice <ratmice@gmail.com>
4863
4864 * gdb.base/info-macros.exp: Make tests for info definitions
4865 test info macro. Add tests for info macro argument processing.
4866 Rename a few tests.
4867
1d93e29a
KS
48682011-11-11 Keith Seitz <keiths@redhat.com>
4869
4870 PR gdb/12843
4871 * gdb.base/linespecs.exp: New file.
4872
a4b5b48a
DE
48732011-11-11 Doug Evans <dje@google.com>
4874
4875 * gdb.threads/print-threads.exp: Extend timeout for slower
4876 tests.
4877
f6b47be4
DE
48782011-11-10 Doug Evans <dje@google.com>
4879
792a0230
DE
4880 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
4881 "record to end of main" test.
4882
f6b47be4
DE
4883 * gdb.python/py-type.c (TS): New typedef.
4884 (ts): New global.
4885 * gdb.python/py-type.exp: Test field list of typedef.
4886
22355c90
JB
48872011-11-10 Joel Brobecker <brobecker@adacore.com>
4888
4889 * gdb.ada/small_reg_param: New testcase.
4890
a7860e76
TT
48912011-11-09 Tom Tromey <tromey@redhat.com>
4892
4893 * gdb.cp/destrprint.exp: New file.
4894 * gdb.cp/destrprint.cc: New file.
4895
72a2e3dc
MI
48962011-11-08 Meador Inge <meadori@codesourcery.com>
4897
4898 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
4899 (switch_stack_to_other): New test function.
4900 * gdb.arch/thumb-prologue.exp: New test cases.
4901
c7195df2 49022011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
4903
4904 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
4905
d3895d7d
YQ
49062011-11-08 Yao Qi <yao@codesourcery.com>
4907
4908 * gdb.exp (supports_process_record): New.
4909 (supports_reverse): New.
4910 * gdb.reverse/break-precsave.exp: Call support_process_record
4911 to run test conditionally.
4912 * gdb.reverse/consecutive-precsave.exp: Likewise.
4913 * gdb.reverse/i386-precsave.exp: Likewise.
4914 * gdb.reverse/machinestate-precsave.exp: Likewise.
4915 * gdb.reverse/solib-precsave.exp: Likewise.
4916 * gdb.reverse/step-precsave.exp: Likewise.
4917 * gdb.reverse/until-precsave.exp: Likewise.
4918 * gdb.reverse/watch-precsave.exp: Likewise.
4919 * gdb.reverse/break-reverse.exp: Call support_reverse to run
4920 test conditionally.
4921 * gdb.reverse/consecutive-reverse.exp: Likewise.
4922 * gdb.reverse/finish-precsave.exp: Likewise.
4923 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4924 * gdb.reverse/finish-reverse.exp: Likewise.
4925 * gdb.reverse/i386-reverse.exp: Likewise.
4926 * gdb.reverse/i386-sse-reverse.exp: Likewise.
4927 * gdb.reverse/machinestate.exp: Likewise.
4928 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
4929 * gdb.reverse/sigall-precsave.exp: Likewise.
4930 * gdb.reverse/sigall-reverse.exp: Likewise.
4931 * gdb.reverse/solib-reverse.exp: Likewise.
4932 * gdb.reverse/step-reverse.exp: Likewise.
4933 * gdb.reverse/until-reverse.exp: Likewise.
4934 * gdb.reverse/watch-reverse.exp: Likewise.
4935
a59306a3
YQ
49362011-11-05 Yao Qi <yao@codesourcery.com>
4937
4938 * gdb.trace/trace-break.exp: Add test on setting two
4939 fast tracepoints at the same address.
4940
87769f59
JK
49412011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4942
4943 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
4944
3065dfb6
SS
49452011-11-02 Stan Shebs <stan@codesourcery.com>
4946
4947 * gdb.trace/collection.c: Add code using strings.
4948 * gdb.trace/collection.exp: Add tests of string collection.
4949
89e208db
JK
49502011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4951
4952 * gdb.base/skip-solib.exp (executable_main): New variable.
4953 (binfile_main): Base it on that.
4954 Use $executable_main in clean_restart calls. Drop gdb_exit and
4955 gdb_start calls.
4956
405e54e9
JK
49572011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4958
4959 Fix racy FAILs.
4960 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
4961 breakpoint_re globals import by async. Set string_regex to .* for
4962 async. Remove the optional thread_selected_re and breakpoint_re
4963 globals expectations.
4964
58e8570a
JM
49652011-11-01 Joseph Myers <joseph@codesourcery.com>
4966
4967 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
4968 well as Cygwin.
4969
7b35ec7f 49702011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
4971
4972 Add tests for skip command.
89e208db
JK
4973 * gdb.base/skip-solib-lib.c: New
4974 * gdb.base/skip-solib-main.c: New
4975 * gdb.base/skip-solib.exp: New
4976 * gdb.base/skip.c: New
4977 * gdb.base/skip.exp: New
4978 * gdb.base/skip1.c: New
4979 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 4980
b9fd1791
PA
49812011-10-31 Yao Qi <yao@codesourcery.com>
4982 Pedro Alves <pedro@codesourcery.com>
4983
6fdff2c5
PA
4984 * gdb.trace/trace-break.c: New.
4985 * gdb.trace/trace-break.exp: New.
b9fd1791 4986
4323fecc
JK
49872011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4988
4989 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
4990 break-here-2.
4991
0e5bf2a8
PA
49922011-10-28 Pedro Alves <pedro@codesourcery.com>
4993
4994 * gdb.threads/no-unwaited-for-left.c: New.
4995 * gdb.threads/no-unwaited-for-left.exp: New.
4996 * gdb.threads/non-ldr-exc-1.c: New.
4997 * gdb.threads/non-ldr-exc-1.exp: New.
4998 * gdb.threads/non-ldr-exc-2.c: New.
4999 * gdb.threads/non-ldr-exc-2.exp: New.
5000 * gdb.threads/non-ldr-exc-3.c: New.
5001 * gdb.threads/non-ldr-exc-3.exp: New.
5002 * gdb.threads/non-ldr-exc-4.c: New.
5003 * gdb.threads/non-ldr-exc-4.exp: New.
5004
3a3dad98
JK
50052011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5006
5007 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
5008 * gdb.base/attach-pie-misread.exp: Likewise.
5009 * gdb.base/break-interp.exp: Likewise.
5010 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
5011 testcases for use_gdb_stub.
5012 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
5013 (continue): New testcase.
5014 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
5015 * gdb.threads/attach-into-signal.exp: Likewise.
5016 * gdb.threads/attach-stopped.exp: Likewise.
5017 * gdb.threads/attachstop-mt.exp: Likewise.
5018
d6a5d40c
PK
50192011-10-28 Paul Koning <paul_koning@dell.com>
5020
5021 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
5022
ca539be8
JK
50232011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5024
5025 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
5026 (mi_gdb_test): Import globals thread_selected_re
5027 and breakpoint_re. Expect them optionally at the regex start.
5028
d234ef5c
DE
50292011-10-27 Doug Evans <dje@google.com>
5030
5031 * gdb.python/python.exp: Test source -s.
5032
ab964825
PK
50332011-10-26 Paul Koning <paul_koning@dell.com>
5034
5035 * gdb.python/lib-types.cc (struct A): New structure.
5036 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 5037
54d8a644
PK
50382011-10-25 Paul Koning <paul_koning@dell.com>
5039
5040 PR python/13327
d234ef5c 5041
54d8a644
PK
5042 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
5043 fetch_lazy method.
5044
b0221781
YQ
50452011-10-24 Yao Qi <yao@codesourcery.com>
5046
5047 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
5048 target is tic6x-*-*.
5049
6cda5a20
JB
50502011-10-21 Joel Brobecker <brobecker@adacore.com>
5051
5052 * gdb.ada/mi_task_info/task_switch.adb: New file.
5053 * gdb.ada/mi_task_info.exp: New file.
5054
5ed9db04
JK
50552011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5056
5057 * gdb.cp/expand-psymtabs-cxx.exp: New file.
5058 * gdb.cp/expand-psymtabs-cxx.cc: New file.
5059
9df2fbc4
PM
50602011-10-20 Phil Muldoon <pmuldoon@redhat.com>
5061
5062 PR python/12656
5063
5064 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
5065 global_block tests.
5066
736086ba
TT
50672011-10-18 Tom Tromey <tromey@redhat.com>
5068
5069 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
5070
4af31552
TT
50712011-10-18 Tom Tromey <tromey@redhat.com>
5072
5073 * gdb.base/source.exp: Don't include full file name in test name.
5074 * gdb.python/python.exp: Don't include full file name in test
5075 name.
5076
43136979
AR
50772011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5078
5079 * gdb.base/attach-pie-noexec.c: New files.
5080 * gdb.base/attach-pie-noexec.exp: New files.
5081
543a9323
JM
50822011-10-17 Joseph Myers <joseph@codesourcery.com>
5083
5084 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
5085 prompt for each extra line in command.
5086
21ae7a4d
JK
50872011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5088
5089 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
5090 Revert the part of:
5091 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5092 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5093 Change the expected string.
5094
20ec36d9
JK
50952011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5096
5097 Fix results with system glibc debug info installed.
5098 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
5099 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
5100 Accept also __libc_ symbol prefix and no prefix.
5101
6501c2fc
KS
51022011-10-14 Keith Seitz <keiths@redhat.com>
5103
5104 PR c++/13225
5105 * gdb.cp/converts.cc (foo3_1): New function.
5106 (foo3_2): New functions.
5107 * gdb.cp/converts.exp: Add tests for int to pointer conversion
5108 and null pointer conversions of integer constant zero.
5109 Add test to check if all arguments are checked for incompatible
5110 conversion BADNESS.
5111
55b1fd0c
TT
51122011-10-14 Tom Tromey <tromey@redhat.com>
5113
5114 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
5115 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
5116 linespec.
5117
22c05d8a
JK
51182011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5119
5120 Fix internal error regression.
5121 * gdb.dwarf2/implptr-optimized-out.S: New file.
5122 * gdb.dwarf2/implptr-optimized-out.exp: New file.
5123
1d6edc3c
JK
51242011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5125
5126 Fix empty DWARF expressions DATA vs. SIZE conditionals.
5127 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
5128 (loclist): New.
5129 (4): New abbrev.
5130 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
5131 Use prepare_for_testing, remove clean_restart.
5132 (p arraynoloc, p arraycallnoloc): New tests.
5133
9ec72168
JK
51342011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5135
5136 * gdb.cp/namespace-enum.exp (executable): New variable.
5137 (binfile): Use ${objdir}/${subdir}/ prefix.
5138 Use ${executable} for clean_restart.
5139
9c6c53f7
SA
51402011-10-11 Sterling Augustine <saugustine@google.com>
5141
5142 * gdb.cp/Makefile.in: Add namespace-enum test.
5143 * gdb.cp/namespace-enum.exp: New file.
5144 * gdb.cp/namespace-enum.c: New file.
5145 * gdb.cp/namespace-enum-main.c: New file.
5146
fac7ceb3
UW
51472011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
5148
5149 * gdb.python/py-shared.exp: Relax filename check to handle remote:
5150 sysroot.
5151
941b2081
JK
51522011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5153
5154 Reimplement @entry in input expressions.
5155 * gdb.base/exprs.c (v_int_array_init): New variable.
5156 * gdb.base/exprs.exp (print v_int_array_init)
5157 (print *v_int_array_init@1, print *v_int_array_init@2)
5158 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
5159 (print v_int_array_init[1]@1): New tests.
5160
0344e878
JM
51612011-10-10 Joseph Myers <joseph@codesourcery.com>
5162
5163 * gdb.cp/gdb2495.exp: Do not include directories in filename in
5164 expected message.
5165
5a56e9c5
DE
51662011-10-09 Doug Evans <dje@google.com>
5167
5168 * gdb.base/alias.exp: Add tests for alias command.
5169
2bda9cc5
JK
51702011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5171
5172 * gdb.arch/amd64-entry-value.s: New file.
5173 * gdb.mi/mi2-amd64-entry-value.s: New file.
5174
a471c594
JK
51752011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5176
5177 Display @entry parameter values even for references.
5178 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
5179 functions.
5180 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
5181 reference and datap_input.
5182 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
5183 breakpoints.
5184 (continue to breakpoint: entry_reference: reference)
5185 (entry_reference: bt at entry)
5186 (continue to breakpoint: entry_reference: breakhere_reference)
5187 (entry_reference: bt, entry_reference: ptype regparam)
5188 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
5189 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
5190 (entry_reference: p regcopy, entry_reference: p nodataparam)
5191 (entry_reference: p nodataparam@entry): New tests.
5192
36b11add
JK
51932011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5194
5195 Support @entry in input expressions.
5196 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
5197 (entry_stack: p s1@entry, entry_stack: p s2@entry)
5198 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
5199 (tailcall: p j@entry): New tests.
5200 * gdb.cp/koenig.cc (A::entry): New function.
5201 (main): Call it.
5202 * gdb.cp/koenig.exp (p entry (c)): New test.
5203
e18b2753
JK
52042011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5205
5206 Display @entry parameter values (without references).
5207 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
5208 (different, validity, invalid): New functions.
5209 (main): Call them.
5210 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
5211 stacktest, breakhere_stacktest, different, breakhere_different,
5212 breakhere_validity and breakhere_invalid.
5213 (entry: bt): Update for @entry.
5214 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
5215 (entry_validity: *, entry_invalid: *): Many new tests.
5216 * gdb.base/break.exp
5217 (run until breakpoint set at small function, optimized file): Accept
5218 also the @entry suffix.
5219 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
5220 * gdb.mi/mi2-amd64-entry-value.c: New files.
5221 * gdb.mi/mi2-amd64-entry-value.exp: New files.
5222
2d6c5dc2
JK
52232011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5224
5225 Protect entry values against self tail calls.
5226 * gdb.arch/amd64-entry-value.cc (self2, self): New.
5227 (main): Call self.
5228 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
5229 (set debug entry-values 1, self: bt debug entry-values): New tests.
5230
111c6489
JK
52312011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5232
5233 Recognize virtual tail call frames.
5234 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
5235 (amb_b, amb_a): New.
5236 (main): Call a and b.
5237 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
5238 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
5239 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
5240 New tests.
5241
8e3b41a9
JK
52422011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5243
5244 Implement basic support for DW_TAG_GNU_call_site.
5245 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
5246 * gdb.arch/amd64-entry-value.cc: New file.
5247 * gdb.arch/amd64-entry-value.exp: New file.
5248
181cebd4
JK
52492011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5250
5251 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
5252 * gdb.dwarf2/implptr-64bit.S: New file.
5253 * gdb.dwarf2/implptr-64bit.exp: New file.
5254
741f5e3c
JK
52552011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5256
5257 Fix initial language detection with -readnow.
5258 * gdb.cp/readnow-language.cc: New file.
5259 * gdb.cp/readnow-language.exp: New file.
5260
a73d2258
JK
52612011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5262
5263 Fix printed anonymous struct name.
5264 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
5265
af369495
JM
52662011-10-09 Joseph Myers <joseph@codesourcery.com>
5267
5268 * gdb.base/solib-symbol.exp: Do not include directories in
5269 filenames in expected messages.
5270
1fa57852
DE
52712011-10-07 Doug Evans <dje@google.com>
5272
5273 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
5274
bd054e06
KP
52752011-10-07 Kevin Pouget <kevin.pouget@st.com>
5276
5277 Allow Python notification of new object-file loadings.
5278 * gdb.python/py-events.exp: Test newobjfile event.
5279 * gdb.python/py-events.py: Register newobjfile callback.
5280 * gdb.python/py-events.c: Add call to shared library
5281 * gdb.python/py-events-shlib.c: New file.
5282
8031b6f8
JM
52832011-10-06 Joseph Myers <joseph@codesourcery.com>
5284
5285 * gdb.base/fixsection.exp: Do not include directories in filename
5286 in expected message.
5287
7fea6923
PM
52882011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5289
5290 Add tests for passing of environment variables to inferior.
5291 * gdb.base/testenv.c: New test source.
5292 * gdb.base/testenv.exp: New expect test.
5293
687f2a88
PK
52942011-10-04 Paul Koning <paul_koning@dell.com>
5295
5296 * gdb.python/py-value.c (main): Break before return.
5297
cb6be26b
KP
52982011-10-04 Kevin Pouget <kevin.pouget@st.com>
5299
5300 PR python/12691: Add the inferior to Python exited event
5301 * gdb.python/py-events.exp: Test the inferior attribute of exited
5302 event with a fork.
5303 * gdb.python/py-events.py: Print inferior number on exit.
5304 * gdb.python/py-events.c: Fork the inferior.
5305
fb213700
EBM
53062011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
5307
5308 * gdb.base/jit.exp: Add testcase name to log message
5309
aa2071bd
PK
53102011-10-03 Paul Koning <paul_koning@dell.com>
5311 Jan Kratochvil <jan.kratochvil@redhat.com>
5312
5313 * gdb.python/py-value.exp
5314 (python inval = gdb.parse_and_eval('*(int*)0'))
5315 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
5316 (set argc=2, python print argc_lazy): New tests.
5317
dd11a36c
JB
53182011-10-02 Joel Brobecker <brobecker@adacore.com>
5319
5320 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
5321
46f886f1
JK
53222011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5323 Pedro Alves <pedro@codesourcery.com>
5324
5325 * gdb.python/py-value.exp (test_value_in_inferior): New variable
5326 can_read_0, test for it.
5327 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
5328 (parse_and_eval with memory error): ... here, make it untested if
5329 can_read_0.
5330
c5cb204f
MP
53312011-09-30 Marek Polacek <mpolacek@redhat.com>
5332
5333 * gdb.python/python.exp (verify pagination beforehand)
5334 (verify pagination afterwards): Fix race by splitting the line.
5335
68fb0ec0
JM
53362011-09-29 Joseph Myers <joseph@codesourcery.com>
5337
5338 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
5339 for 64-bit multilibs from i?86-* targets.
5340
6aee0d90
MP
53412011-09-29 Marek Polacek <mpolacek@redhat.com>
5342
5343 * lib/gdb.exp: Fix a typo in one of the comments.
5344
e9101ff5
MP
53452011-09-29 Marek Polacek <mpolacek@redhat.com>
5346
5347 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
5348 matching pattern.
5349
7a81bdbf
PK
53502011-09-28 Paul Koning <paul_koning@dell.com>
5351
5352 * gdb.python/py-type.c (enum E): New.
5353 * gdb.python/py-type.exp (test_fields): Add tests for Python
5354 mapping access to fields.
5355 (test_enums): New test for field access on enums.
5356
6710bf39
SS
53572011-09-27 Stan Shebs <stan@codesourcery.com>
5358
5359 * gdb.trace/collection.exp: Test collection of $_ret.
5360
b2a6bdeb
AT
53612011-09-22 Andreas Tobler <andreast@fgznet.ch>
5362
5363 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
5364 list of compilation switches for <*-*-freebsd*>.
5365
3c9057f3
SS
53662011-09-19 Stan Shebs <stan@codesourcery.com>
5367
5368 * gdb.trace/tspeed.exp: New file.
5369 * gdb.trace/tspeed.c: New file.
5370
34518530
YQ
53712011-09-18 Yao Qi <yao@codesourcery.com>
5372
5373 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
5374 instructions.
5375 (test_adr_32bit, test_pop_pc): Likewise.
5376 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
5377 Thumb instructions.
5378 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
5379 in gdb_test_multiple.
5380 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
5381
ab254057
YQ
53822011-09-17 Yao Qi <yao@codesourcery.com>
5383
5384 * lib/gdb.exp (can_single_step_to_signal_handler): New.
5385 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
5386 support single step to signal handler.
5387
9c317b71
YQ
53882011-09-17 Yao Qi <yao@codesourcery.com>
5389
5390 * gdb.base/disp-step-fork.c: New.
5391 * gdb.base/disp-step-syscall.exp: New.
5392 * gdb.base/disp-step-vfork.c: New.
5393
a8123151
JB
53942011-09-16 Joel Brobecker <brobecker@adacore.com>
5395
5396 * gdb.ada/tasks.exp: Make the expected output for
5397 the `info tasks' tests more resilient to spacing
5398 changes.
5399
63a9aad8
JK
54002011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5401
5402 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
5403 (reached breakpoint 2, reached breakpoint 3): Update expected output.
5404
2aa48337
KP
54052011-09-15 Kevin Pouget <kevin.pouget@st.com>
5406
5407 PR Python/12692 Add gdb.selected_inferior() to Python interface.
5408 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
5409
6839b47f
KP
54102011-04-30 Kevin Pouget <kevin.pouget@st.com>
5411
5412 Handle multiple breakpoint hits in Python interface:
5413 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
5414 presence.
5415 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
5416 breakpoint hits.
5417
0935723e
JK
54182011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
5419 Jan Kratochvil <jan.kratochvil@redhat.com>
5420
5421 * gdb.python/py-events.exp: Remove pretty printing comment.
5422 * gdb.python/py-evsignal.exp: New file.
5423 * gdb.python/py-evthreads.c: Include signal.h.
5424 (thread3): Remove variable count3. Remove variable bad and use raise
5425 instead.
5426 (thread2): Remove variable count2. Move thread3 pthread_create here,
5427 merge pthread_join to a single line.
5428 (main): Remove variable count1. Merge pthread_join with pthread_create
5429 to a single line.
5430 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
5431 KFAIL python/12966 for gdbserver. Test return value of
5432 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
5433 gdb_expect by gdb_test and gdb_test_multiple.
5434 (thread 2, thread 3): New tests.
5435
4801a9a3
PA
54362011-09-12 Matt Rice <ratmice@gmail.com>
5437 Pedro Alves <pedro@codesourcery.com>
5438
5439 PR gdb/13175
5440
5441 * gdb.base/interp.exp: New tests.
5442 * gdb.base/interp.c: New file.
5443
24ece742
DE
54442011-09-12 Doug Evans <dje@google.com>
5445
5446 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
5447 * gdb.dwarf2/typeddwarf.exp: Ditto.
5448
7f062217
JK
54492011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5450
5451 Fix compatibility with x32 arch.
5452 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
5453 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
5454 is_x86_like_target.
5455 * testsuite/gdb.trace/collection.exp: Likewise.
5456 * testsuite/gdb.trace/report.exp: Likewise.
5457 * testsuite/gdb.trace/unavailable.exp: Likewise.
5458 * testsuite/gdb.trace/while-dyn.exp: Likewise.
5459 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
5460 (is_x86_like_target): Check also is_amd64_regs_target.
5461
08711b9a
JK
54622011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5463
5464 PR breakpoints/12435
5465 * gdb.arch/amd64-prologue-xmm.c: New file.
5466 * gdb.arch/amd64-prologue-xmm.exp: New file.
5467 * gdb.arch/amd64-prologue-xmm.s: New file.
5468
b99b5f66
JK
54692011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5470
5471 * gdb.dwarf2/dw2-param-error-main.c: New file.
5472 * gdb.dwarf2/dw2-param-error.S: New file.
5473 * gdb.dwarf2/dw2-param-error.exp: New file.
5474
a391a2f6
PA
54752011-09-08 Pedro Alves <pedro@codesourcery.com>
5476
5477 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
5478 inferior's pid and look for a core dump named core.$pid. Use
5479 `remote_file' commands on the host instead of hand coding shell
5480 commands on the build.
5481 * gdb.base/valgrind-db-attach.exp: Kill the program before
5482 finishing the test.
5483
7d8e6458 54842011-09-02 Matt Rice <ratmice@gmail.com>
5485
5486 * lib/prompt.exp: New file for testing the first prompt.
5487 * gdb.python/py-prompt.exp: Ditto.
5488 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
5489
68e77c9e
PA
54902011-09-02 Pedro Alves <pedro@codesourcery.com>
5491
5492 * gdb.threads/gcore-thread.exp: Set the global core_supported to
5493 0, before testing gcore.
5494
9655e943
JK
54952011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5496
df6dc84d
JK
5497 * dw2-ifort-parameter-debug.S: Update copyright year.
5498 * dw2-ifort-parameter.c: Update copyright year.
5499 * dw2-ifort-parameter.exp: Update copyright year.
5500
9655e943
JK
5501 * dw2-ifort-parameter-debug.S: New file.
5502 * dw2-ifort-parameter.c: New file.
5503 * dw2-ifort-parameter.exp: New file.
5504
353d1d73
JK
55052011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5506
5507 * gdb.base/commands.exp (error_clears_commands_left): New function.
5508 (): Call it.
5509
5c07461a
JK
55102011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5511
5512 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
5513 (C): Initialize `a'.
5514 * gdb.mi/mi-inheritance-syntax-error.exp
5515 (-data-evaluate-expression $path): Expect `a' as 5.
5516
0d932b2f
MK
55172011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
5518
5519 PR mi/11912
5520 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
5521 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
5522 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
5523 keyword in output of -var-info-path-expression.
5524
bdb54049
JK
55252011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5526
5527 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
5528 * gdb.trace/collection.exp: Likewise.
5529 * gdb.trace/report.exp: Likewise.
5530 * gdb.trace/unavailable.exp: Likewise.
5531 * gdb.trace/while-dyn.exp: Likewise.
5532
59cde39c
KS
55332011-08-18 Keith Seitz <keiths@redhat.com>
5534
5535 PR c++/12266
5536 * gdb.cp/meth-typedefs.cc: New file.
5537 * gdb.cp/meth-typedefs.exp: New file.
5538
fa3a4f15
PM
55392011-08-17 Phil Muldoon <pmuldoon@redhat.com>
5540
6fdff2c5 5541 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 5542
c1049fca
JK
55432011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5544
5545 * gdb.arch/i386-dr3-watch.exp
5546 (watchpoint on gap1 does not fit debug registers)
5547 (delete all watchpoints): Fix racy expect strings.
5548
d93f7b5c
YQ
55492011-08-14 Yao Qi <yao@codesourcery.com>
5550
5551 * gdb.base/maint.exp: set data_section to ".neardata".
5552 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
5553 * gdb.base/savedregs.exp: Handle SIGILL.
5554 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
5555 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
5556
457e09f0
DE
55572011-08-12 Doug Evans <dje@google.com>
5558
5559 * gdb.python/py-symbol.exp: Add test for symbol.type.
5560
5d0bb2fb
UW
55612011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
5562
5563 * gdb.threads/pthreads.exp: Enable on non-native configurations.
5564 * gdb.mi/mi-pthreads.exp: Likewise.
5565 * gdb.mi/mi2-pthreads.exp: Likewise.
5566 * gdb.mi/gdb669.exp.exp: Likewise.
5567
fcdfa280
PA
55682011-08-09 Pedro Alves <pedro@codesourcery.com>
5569
5570 * lib/mi-support.exp (detect_async): Rename to...
5571 (mi_detect_async): ... this.
5572 * gdb.mi/mi-nonstop-exit.exp: Adjust.
5573 * gdb.mi/mi-nonstop.exp: Adjust.
5574 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
5575 * gdb.mi/mi-nsintrall.exp: Adjust.
5576 * gdb.mi/mi-nsmoribund.exp: Adjust.
5577 * gdb.mi/mi-nsthrexec.exp: Adjust.
5578
9d8fa392
PA
55792011-08-09 Pedro Alves <pedro@codesourcery.com>
5580
5581 * gdb.base/display.c (do_loops): New `p_i' local.
5582 * gdb.base/display.exp: Test displaying a variable that is
5583 temporarily at a bad address.
5584
b6cede78
JK
55852011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5586
5587 * gdb.dwarf2/dw2-op-stack-value.S: New file.
5588 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
5589
67bedb8c
JK
55902011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5591
5592 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
5593 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
5594 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 5595
af6e93b2
PA
55962011-08-05 Pedro Alves <pedro@codesourcery.com>
5597
5598 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
5599 procedure.
5600 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
5601
1cf0e11f
YQ
56022011-08-05 Yao Qi <yao@codesourcery.com>
5603
5604 * gdb.base/callfuncs.exp: Set language after main.
5605 * gdb.cp/cplusfuncs.exp: Likewise.
5606 * gdb.cp/inherit.exp: Likewise.
5607
a1e28cb2
UW
56082011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
5609
5610 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
5611 * gdb.base/watch-vfork.exp: Skip on remote targets.
5612
d4f5bbb9
UW
56132011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
5614
5615 * gdb.threads/thread-find.exp: Support remote targets.
5616
724f4f80
UW
56172011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
5618
5619 * gdb.base/jit.exp: Download solib_binfile to target.
5620 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
5621 and call dlopen without full path name.
5622 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
5623 dlopen without full path name.
5624
934709f0
PW
56252011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5626
5627 * gdb.base/break-always.exp: Complete the test
5628 with duplicated breakpoints and enabling/disabling them.
5629
c26106c4
TT
56302011-08-02 Tom Tromey <tromey@redhat.com>
5631
5632 PR gdb/11289:
5633 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
5634
9300444e 56352011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
5636
5637 PR gdb/13045
5638 * gdb.base/float.exp: Add new test case for PR gdb/13045
5639 * gdb.base/float.c: New file.
5640
00bd41d6
PM
56412011-07-28 Phil Muldoon <pmuldoon@redhat.com>
5642
5643 * gdb.python/py-mi.exp: Test printers returning string hint, and
5644 also not returning a value.
5645 * gdb.python/py-prettyprint.c: Add testcase for above.
5646 * gdb.python/py-prettyprint.py: Add test printer for above.
5647
d24f74ce
JK
56482011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5649
5650 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
5651 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
5652 (.Ldie30) Add as field "data4".
5653 (.Ldie32) Rename field "b" to "shl".
5654 (abbrev4) Change for the "data4" field.
5655 (abbrev5, abbrev6) Remove.
5656 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
5657 (p &s.shl): ... here. Add comment.
5658 (p &s.data4): New.
5659
bb7da2bf
JK
56602011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5661
5662 Fix crash on lval_computed values.
5663 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
5664
11081198
JK
56652011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5666
5667 * gdb.base/help.exp (help whatis): Update the expected string.
5668
3c6e0cb3
JK
56692011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5670
5671 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
5672 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
5673 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5674 Change the expected string.
5675
efa80663
PA
56762011-07-26 Pedro Alves <pedro@codesourcery.com>
5677
5678 * gdb.base/watchpoint.exp
5679 (test_disable_enable_software_watchpoint): New procedure.
5680 (top level): Run it.
5681
db8e4570
UW
56822011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
5683
5684 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
5685 executable file "${binfile}", C++ version "${binfile}-cxx".
5686 * gdb.python/py-prettyprint.exp: Likewise.
5687 * gdb.python/py-symbol.exp: Likewise.
5688 * gdb.python/py-type.exp: Likewise.
5689 * gdb.python/py-value.exp: Likewise.
5690 * gdb.python/py-template.exp (test_template_arg): Pass full executable
5691 file name instead of just suffix.
5692
543305c9
JK
56932011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5694
5695 Fix implicit pointer offsets.
5696 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
5697 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
5698 (continue to breakpoint: continue to baz breakpoint for implptr)
5699 (sanity check element 0, sanity check element 1)
5700 (enter the inlined function, check element 0 for the offset)
5701 (check element 1 for the offset)
5702 (continue to breakpoint: ignore the second baz breakpoint): New tests.
5703 (set foo breakpoint for implptr): Update the breakpoint number.
5704
b3215adc
UW
57052011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5706
5707 * gdb.python/py-mi.exp: Use different file names for different
5708 versions of the executable under test.
5709 * gdb.python/py-prettyprint.exp: Likewise.
5710 * gdb.python/py-symbol.exp: Likewise.
5711 * gdb.python/py-template.exp: Likewise.
5712 * gdb.python/py-type.exp: Likewise.
5713 * gdb.python/py-value.exp: Likewise.
5714
182b9acc
UW
57152011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5716
5717 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
5718 flag after restarting GDB if necessary.
5719
e6052b5d
UW
57202011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5721
5722 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
5723
1ced966e
PA
57242011-07-22 Pedro Alves <pedro@codesourcery.com>
5725
5726 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
5727 backend doesn't leave used debug registers behind.
5728
3543a589
TT
57292011-07-22 Tom Tromey <tromey@redhat.com>
5730
5731 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
5732 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
5733 argument.
5734 * gdb.dwarf2/typeddwarf-amd64.S: New file.
5735
14d15303 57362011-07-21 Matt Rice <ratmice@gmail.com>
5737
5738 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
5739 in mostlyclean rule. Add files ending in .core.
5740
9b158ba0 57412011-07-21 Matt Rice <ratmice@gmail.com>
5742
5743 PR macros/12999
5744 * gdb.base/info-macros.c: New test sources.
5745 * gdb.base/info-macros.exp: New tests.
5746
d17b6f81
PM
57472011-07-21 Phil Muldoon <pmuldoon@redhat.com>
5748
5749 * gdb.python/python.exp: Add prompt substitution tests.
5750
918dd910
JK
57512011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5752
5753 Fix crash if referenced CU is aged out.
5754 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
5755 New.
5756 * gdb.dwarf2/implptr.exp: Likewise.
5757
0e37a63c
JK
57582011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5759
5760 * gdb.dwarf2/implptr.S: Rebuilt.
5761 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
5762 (bar): Use them for j, k, l.
5763 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
5764 COMPILE.
5765 (print j in implptr:bar): Update for the intp typedef.
5766 (print p[0].x in implptr:foo): Use more exact regex.
5767
f65cf84c
TT
57682011-07-18 Tom Tromey <tromey@redhat.com>
5769
5770 * gdb.cp/static-method.exp: Add missing single quote.
5771
d5b4a7be
YQ
57722011-07-18 Yao Qi <yao@codesourcery.com>
5773
5774 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
5775 supported.
5776 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5777 * gdb.mi/mi-nonstop.exp: Likewise.
5778 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5779 * gdb.mi/mi-nsintrall.exp: Likewise.
5780 * gdb.mi/mi-nsmoribund.exp: Likewise.
5781 * gdb.mi/mi-nsthrexec.exp: Likewise.
5782 * gdb.python/py-evthreads.exp: Likewise.
5783
e9ea2662
JK
57842011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5785
5786 Code cleanup.
5787 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
5788 it. Substitute it instead of test_compiler_info everywhere.
5789
ce451573
UW
57902011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
5791
5792 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
5793 remote targets as well.
5794
756d88a7
UW
57952011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
5796
5797 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
5798 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
5799
31f83dc5
UW
58002011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
5801
5802 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
5803 a remote machine, not the host.
5804 (gdb_compile_shlib): Set soname if target is remote.
5805
059241a0
PP
58062011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5807
5808 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
5809
28a0b48c 58102011-07-13 Matt Rice <ratmice@gmail.com>
5811
5812 * gdb.python/py-objfile-script-gdb.py: Renamed to
5813 py-objfile-script-gdb.py.in.
5814 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
5815 py-objfile-script-gdb.py.
5816 * gdb.python/py-objfile-script.exp: Update reference to
5817 py-objfile-script-gdb.py.
5818
9a771b67
JK
58192011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5820
5821 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
5822 reference undefined label.
5823
04ad99e6
JK
58242011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5825
5826 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
5827 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
5828 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
5829 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
5830
713389e0
PM
58312011-07-11 Phil Muldoon <pmuldoon@redhat.com>
5832
6fdff2c5 5833 PR python/12438
713389e0 5834 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 5835 deprecated tests. Add set/show python print-backtrace tests.
713389e0 5836
97d146f8
JK
58372011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5838
5839 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
5840 debug info.
5841
facde0e5 58422011-07-06 Matt Rice <ratmice@gmail.com>
5843
5844 * gdb.python/python.exp: Update filename paths.
5845 * gdb.python/py-symtab.exp: Ditto.
5846
438640d1
MP
58472011-07-06 Marek Polacek <mpolacek@redhat.com>
5848
5849 * gdb.python/py-evthreads.exp: Add missing `$'.
5850
33a365df
MF
58512011-07-06 Jie Zhang <jie.zhang@analog.com>
5852
5853 * config/bfin.exp: New file.
5854 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
5855 * gdb.asm/bfin.inc: New file.
5856
8f7ae686
MP
58572011-07-06 Marek Polacek <mpolacek@redhat.com>
5858
df46027d 5859 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
5860 the whole output.
5861
eb2a6f42
TT
58622011-07-05 Tom Tromey <tromey@redhat.com>
5863
5864 * gdb.java/jprint.java (jprint.hi): New field.
5865 * gdb.java/jprint.exp: Print string.
5866
177b42fe
TJB
58672011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
5868
5869 * gdb.base/call-sc.c: Fix typos.
5870 * gdb.base/ifelse.exp: Likewise.
5871 * gdb.base/structs.c: Likewise.
5872
3b2a0cf2
JB
58732011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5874
5875 * gdb.base/jit-so.exp: New test.
5876 * gdb.base/jit-dlmain.c: New file.
5877 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
5878
46fc714c
JK
58792011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5880
5881 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
5882 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
5883 * gdb.cp/pr9167.exp (p b): Likewise.
5884 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
5885 (test value of P in inner_m, test type of Z in inner_m): Call
5886 setup_xfail for gcc <= 4.5.
46fc714c 5887
418c7cf7
JK
58882011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5889
5890 * gdb.cp/paren-type.cc: New files.
5891 * gdb.cp/paren-type.exp: New files.
5892
3d50dd94
JK
58932011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5894
5895 Stop on first linespec terminator instead of eating what we can.
5896 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
5897 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
5898 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
5899 (break C::f()): ... this one.
5900 (break C::operator()()): New test.
5901 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
5902 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
5903 test.
5904
dcf9f4ab
JK
59052011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5906
5907 Fall back linespec to minimal symbols.
5908 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
5909 error message.
5910 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
5911 * gdb.cp/minsym-fallback-main.cc: New file.
5912 * gdb.cp/minsym-fallback.cc: New file.
5913 * gdb.cp/minsym-fallback.exp: New file.
5914 * gdb.cp/minsym-fallback.h: New file.
5915
3f542ed1
JK
59162011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5917
5918 * gdb.cp/no-dmgl-verbose.cc: New file.
5919 * gdb.cp/no-dmgl-verbose.exp: New file.
5920
59212011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
5922
5923 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
5924 __GI_.
5925 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
5926 (f): New function.
5927 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
5928 (complete p 'func<short>(): ... here.
5929 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
5930 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
5931 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
5932 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
5933 Make them KFAIL gcc/49546.
5934
00eb2c4a
JB
59352011-07-01 Joel Brobecker <brobecker@adacore.com>
5936
5937 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
5938
85a20c42
JK
59392011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5940
5941 Test GCC PR debug/49546.
5942 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
5943 (test type of F in k3_m, test value of F in k3_m): New.
5944 * gdb.cp/temargs.cc (struct S3, struct K3): New.
5945 (main): New variable k3. Call k3.k3_m.
5946
d2d43431
JB
59472011-07-01 Jean-Charles Delay <delay@adacore.com>
5948
5949 * gdb.ada/packed_array.exp: Fix expected outout.
5950
54ae186f
JB
59512011-07-01 Jean-Charles Delay <delay@adacore.com>
5952
5953 * gdb.ada/packed_array.exp: fixed expected output.
5954
8f17729f
JB
59552011-07-01 Joel Brobecker <brobecker@adacore.com>
5956
5957 * gdb.ada/same_enum: New testcase.
5958
f5aa6869
JB
59592011-07-01 Joel Brobecker <brobecker@adacore.com>
5960
5961 * gdb.ada/ptr_typedef: New testcase.
5962
828292f2
JB
59632011-07-01 Joel Brobecker <brobecker@adacore.com>
5964
5965 * gdb.ada/arrayptr.exp: Add ptype test.
5966
18920c42
JB
59672011-07-01 Joel Brobecker <brobecker@adacore.com>
5968
5969 * gdb.ada/char_enum: New testcase.
5970
3536d9e3 59712011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
5972
5973 * gdb.base/dump.exp (capture_pointer_with_type): New.
5974 Get value from address instead of name.
5975 Start GDB once, and do `dump' and `restore'
5976 tests together.
5977
db863c42
MF
59782011-06-30 Jie Zhang <jie.zhang@analog.com>
5979 Mike Frysinger <vapier@gentoo.org>
5980
5981 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
5982 helper functions for getting/setting remotetimeout variable.
5983 * lib/gdb.exp (gdb_load): If the target is remote, set
5984 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
5985 with $loadtimeout. Set $load_ok to 0 before doing the load.
5986 Instead of returning, immediately, set $load_ok to 0. Call
5987 set_remotetimeout with $oldremotetimeout, and then return if
5988 $load_ok is 1.
5989
e9e642a8
AB
59902011-06-30 Andrew Burgess <aburgess@broadcom.com>
5991
5992 * gdb.python/py-template.exp: Don't run this test if the target
5993 does not support c++ tests.
5994
32019081
JK
59952011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5996
5997 Fix non-only rename list for Fortran modules import.
5998 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
5999 tests.
6000 * gdb.fortran/module.f90 (module moduse): New.
6001 (program module): use moduse, test var_x, var_y and var_z.
6002
0ecee54c
TT
60032011-06-29 Tom Tromey <tromey@redhat.com>
6004
6005 PR testsuite/12040:
6006 * gdb.fortran/array-element.exp: Use f90, not f77.
6007 * gdb.fortran/complex.exp: Use f90, not f77.
6008 * gdb.fortran/derived-type.exp: Use f90, not f77.
6009 * gdb.fortran/library-module.exp: Use f90, not f77.
6010 * gdb.fortran/logical.exp: Use f90, not f77.
6011 * gdb.fortran/module.exp: Use f90, not f77.
6012 * gdb.fortran/multi-dim.exp: Use f90, not f77.
6013 * gdb.fortran/subarray.exp: Use f90, not f77.
6014
3b2b8fea
TT
60152011-06-29 Tom Tromey <tromey@redhat.com>
6016
6017 * gdb.fortran/charset.exp: New file.
6018 * gdb.fortran/charset.f90: New file.
6019
42159ca5
TT
60202011-06-29 Tom Tromey <tromey@redhat.com>
6021
6022 PR testsuite/12040:
6023 * lib/future.exp: New file, mostly extracted from ada.exp.
6024 Rewrote compatibility code to use rename.
6025 (gdb_find_gfortran): New proc.
6026 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
6027 gfortran patch.
6028 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
6029 Move to future.exp.
6030 * lib/gdb.exp: Always load future.exp.
6031
af69a5ce
YQ
60322011-06-28 Yao Qi <yao@codesourcery.com>
6033
6034 * gdb.cp/exception.cc: Don't include iostream.
6035 (bar): Remove print statement.
6036 (catcher): New.
6037 (main): Remove print statements. Call function catcher.
6038 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
6039 Set breakpoint on catcher, and check the value of parameter.
6040
ab5c6a72
YQ
60412011-06-23 Yao Qi <yao@codesourcery.com>
6042
6fdff2c5
PA
6043 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
6044 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 6045
9497469f
MP
60462011-06-23 Marek Polacek <mpolacek@redhat.com>
6047
6048 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
6049 mi_gdb_test.
6050
b9132588
MP
60512011-06-23 Marek Polacek <mpolacek@redhat.com>
6052
5d197ed0 6053 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 6054
e55595ca
MP
60552011-06-23 Marek Polacek <mpolacek@redhat.com>
6056
5d197ed0
MP
6057 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
6058
60592011-06-23 Marek Polacek <mpolacek@redhat.com>
6060
6061 * gdb.mi/mi2-basics.exp: Fix races. Honour the
6062 `test_exec_and_symbol_mi_operatons' return value.
6063 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6064 gdb_test_multiple.
6065 (test_exec_and_symbol_mi_operatons): Likewise.
6066 (test_path_specification): Likewise.
e55595ca 6067
be777e08
YQ
60682011-06-23 Yao Qi <yao@codesourcery.com>
6069
6070 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
6071 supported.
6072 * lib/gdb.exp (support_displaced_stepping): New.
6073
615556d6
YQ
60742011-06-23 Yao Qi <yao@codesourcery.com>
6075
6076 * gdb.threads/execl.exp: Skip on remote target.
6077
833b0ca7
MP
60782011-06-21 Marek Polacek <mpolacek@redhat.com>
6079
5d197ed0 6080 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
6081 mi_gdb_test.
6082
1ee4023a
MP
60832011-06-20 Marek Polacek <mpolacek@redhat.com>
6084
5d197ed0 6085 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 6086
d0b1d624
MP
60872011-06-20 Marek Polacek <mpolacek@redhat.com>
6088
5d197ed0 6089 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
6090 mi_gdb_test.
6091
79aa92c1
MP
60922011-06-20 Marek Polacek <mpolacek@redhat.com>
6093
5d197ed0 6094 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 6095
5ce5db06
YQ
60962011-06-14 Yao Qi <yao@codesourcery.com>
6097
6098 gdb/testsuite/
6099 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
6100
533a737e
JK
61012011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6102
6103 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
6104
d0e53741
TT
61052011-06-10 Tom Tromey <tromey@redhat.com>
6106
6107 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
6108 Add tests for pointer-to-member-function.
6109 * gdb.cp/temargs.cc (S::somefunc): New function.
6110 (K2): New class.
6111 (main): Instantiate K2; call method.
6112
b5916bbd
JB
61132011-06-08 Joel Brobecker <brobecker@adacore.com>
6114
6115 * gdb.python/py-inferior.c (f2): Make str an array rather
6116 than a pointer.
6117 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
6118
5be4dfca
JK
61192011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6120
6121 * gdb.base/async-shell.c: New file.
6122 * gdb.base/async-shell.exp: New file.
6123
9f47e254
PA
61242011-06-06 Pedro Alves <pedro@codesourcery.com>
6125
6126 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
6127
64b9b334
JB
61282011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
6129
6130 From Stephen Kitt <steve@sk2.org>
6131 * gdb.base/help.exp: Adjust following some spelling corrections
6132 in GDB.
6133
dbc0f131
YQ
61342011-06-01 Yao Qi <yao@codesourcery.com>
6135
6136 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
6137
fd336a18
KS
61382010-05-31 Keith Seitz <keiths@redhat.com>
6139
6140 PR c++/12750
6141 * gdb.cp/static-method.cc: New file.
6142 * gdb.cp/static-method.exp: New file.
6143
fa8b9902
KS
61442010-05-31 Keith Seitz <keiths@redhat.com>
6145
6146 PR symtab/12704
6147 * gdb.cp/anon-ns.cc: New file.
6148 * gdb.cp/anon-ns.exp: New file.
6149
0a5b1e09
PA
61502011-05-31 Pedro Alves <pedro@codesourcery.com>
6151
6152 * gdb.arch/i386-dr3-watch.c: New file.
6153 * gdb.arch/i386-dr3-watch.exp: New file.
6154
0578b8d1
YQ
61552011-05-30 Yao Qi <yao@codesourcery.com>
6156
6157 * gdb.base/callfuncs.c (t_structs_fc): New.
6158 (t_structs_dc, t_structs_ldc): New.
6159 (t_double_many_args):
6160 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
6161 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
6162 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
6163 * gdb.base/callfuncs.exp: Call new functions.
6164
6680506e
YQ
61652011-05-30 Yao Qi <yao@codesourcery.com>
6166
ff4d2c60
YQ
6167 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
6168 Call rerun_and_prepare for each test to isolate effects.
6169
61702011-05-30 Yao Qi <yao@codesourcery.com>
6171
6172 * gdb.base/varargs.c (find_max_float_real): New.
6173 (find_max_double_real, find_max_long_double_real): New.
6174 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
6175 * lib/gdb.exp (setup_kfail_for_target): New.
6176
e43ec454
YQ
61772011-05-30 Yao Qi <yao@codesourcery.com>
6178
6179 * gdb.base/funcargs.c (callca, callcb, callcc): New.
6180 (callcd, callce, callcf, callc1a, callc1b): New.
6181 (callc2a, callc2b): New.
6182 * gdb.base/funcargs.exp (complex_args): New.
6183 (complex_integral_args, complex_float_integral_args): New.
6184 * lib/gdb.exp (support_complex_tests): New. Determine
6185 whether to run test cases on _Complex types.
6186
432b4d03
JK
61872011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6188
6189 * gdb.threads/leader-exit.c: New file.
6190 * gdb.threads/leader-exit.exp: New file.
6191
6caf069d
MP
61922011-05-27 Marek Polacek <mpolacek@redhat.com>
6193
9497469f 6194 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 6195
97fce28b
MP
61962011-05-27 Marek Polacek <mpolacek@redhat.com>
6197
6198 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
6199 remove the `supported' variable.
6200 * gdb.mi/mi-nonstop.exp: Likewise.
6201 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6202 * gdb.mi/mi-nsintrall.exp: Likewise.
6203 * gdb.mi/mi-nsmoribund.exp: Likewise.
6204 * gdb.mi/mi-nsthrexec.exp: Likewise.
6205
9da8c2a0
PA
62062011-05-26 Pedro Alves <pedro@codesourcery.com>
6207
6208 * gdb.reverse/finish-reverse-bkpt.exp: New test.
6209
2c03e5be
PA
62102011-05-26 Pedro Alves <pedro@codesourcery.com>
6211
6212 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
6213
2e21250d
KS
62142011-05-24 Keith Seitz <keiths@redhat.com>
6215
6216 PR breakpoint/12803
6217 * gdb.cp/cmpd-minsyms.cc (a): New method.
6218 (b): New method.
6219 (c): New method.
6220 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
6221
cdac0397
PA
62222011-05-24 Pedro Alves <pedro@codesourcery.com>
6223
6224 * gdb.base/commands.exp (watchpoint_command_test): Check that the
6225 watchpoint's command list didn't execute when the watchpoint went
6226 out of scope.
6227
ee5683ab
PM
62282011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
6229
6230 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
6231 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
6232 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
6233 * gdb.arch/i386-gnu-cfi.exp: Likewise.
6234 * gdb.arch/i386-permbkpt.exp: Likewise.
6235 * gdb.arch/i386-prologue.exp: Likewise.
6236 * gdb.arch/i386-size-overlap.exp: Likewise.
6237 * gdb.arch/i386-size.exp: Likewise.
6238 * gdb.arch/i386-unwind.exp: Likewise.
6239 * gdb.reverse/i386-precsave.exp: Likewise.
6240 * gdb.reverse/i386-reverse.exp: Likewise.
6241 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6242 * gdb.reverse/i387-env-reverse.exp: Likewise.
6243 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6244
c91c8c16
PA
62452011-05-24 Pedro Alves <pedro@codesourcery.com>
6246
6247 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
6248 file doesn't error, using MI.
6249
c50491a7
TT
62502011-05-23 Tom Tromey <tromey@redhat.com>
6251
6252 * gdb.base/charset.exp (string_display): Add tests to assign to
6253 arrays.
6254 * gdb.base/charset.c (short_array, int_array, long_array): New.
6255
4a07b7da
PA
62562011-05-20 Pedro Alves <pedro@codesourcery.com>
6257
6258 Cope with async mode.
6259
4a07b7da
PA
6260 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
6261 into gdb_test + mi_expect_stop.
6262
b275f2d2
PA
62632011-05-20 Pedro Alves <pedro@codesourcery.com>
6264
6265 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
6266 (callme): Remove printf call.
6267
eec52c44
PM
62682011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
6269
6270 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
6271 quote pattern to avoid problems with Cygwin/mingw expect versions.
6272 * gdb.base/default.exp (show convenience): Use double
6273 quote pattern for regular expressions.
6274
b3c8eb43
JK
62752011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6276
6277 Fix -readnow for -gdwarf-4 unused type units.
6278 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
6279 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
6280
ed731959
JK
62812011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6282
6283 * gdb.base/kill-after-signal.c: New file.
6284 * gdb.base/kill-after-signal.exp: New file.
6285
3b48433d
PA
62862011-05-16 Pedro Alves <pedro@codesourcery.com>
6287
6288 * gdb.ada/start.exp: Call untested with the correct test filename.
6289 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
6290 test filename. Make the test's binary unique.
6291 * gdb.arch/i386-signal.exp: Call untested with the correct test
6292 filename.
6293 * gdb.arch/i386-size-overlap.exp: Ditto.
6294 * gdb.arch/Makefile.in (EXECUTABLES): Update.
6295 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6296 * gdb.cp/call-c.exp: Ditto.
6297 * gdb.mi/mi-reverse.exp: Call untested with the correct test
6298 filename. Make the test's binary unique.
6299 * gdb.mi/Makefile.in (EXECUTABLES): Update.
6300 * gdb.python/py-mi.exp: Ditto.
6301 * gdb.python/Makefile.in (EXECUTABLES): Update.
6302 * gdb.reverse/i386-precsave.exp: Ditto.
6303 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
6304 test filename.
6305 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6306 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
6307 unique.
6308 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
6309 test filename.
6310 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
6311 * gdb.trace/tfile.exp: Ditto.
6312
ba4a8bdd
YQ
63132011-05-14 Yao Qi <yao@codesourcery.com>
6314
6315 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
6316 type.
6317
dbaefcf7
DE
63182011-05-13 Doug Evans <dje@google.com>
6319
6320 * gdb.python/py-objfile-script.exp: New file.
6321 * gdb.python/py-objfile-script.c: New file.
6322 * gdb.python/py-objfile-script-gdb.py: New file.
6323 * testsuite/gdb.python/py-section-script.exp: Test
6324 "info auto-load-scripts".
6325
9930639c
TT
63262011-05-13 Tom Tromey <tromey@redhat.com>
6327
6328 * gdb.dwarf2/clztest.exp: New file.
6329 * gdb.dwarf2/clztest.c: New file.
6330 * gdb.dwarf2/clztest.S: New file.
6331
05272e11
DE
63322011-05-13 Doug Evans <dje@google.com>
6333
cc63ef9b
DE
6334 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
6335 String16 tests.
05272e11 6336
6edba76f
TT
63372011-05-13 Tom Tromey <tromey@redhat.com>
6338
6339 * lib/gdb.exp (is_x86_like_target): New proc.
6340 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
6341 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
6342 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
6343 -nostdlib to compiler.
6344 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
6345 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
6346 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
6347 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
6348 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
6349
028d0ed5
TJB
63502011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
6351
6352 * gdb.python/py-function.exp: Test setting a value from a function
6353 which executes a command.
6354
8a9b8146
TT
63552011-05-12 Tom Tromey <tromey@redhat.com>
6356
6357 * gdb.dwarf2/typeddwarf.S: New file.
6358 * gdb.dwarf2/typeddwarf.c: New file.
6359 * gdb.dwarf2/typeddwarf.exp: New file.
6360
10483e8e
MP
63612011-05-12 Marek Polacek <mpolacek@redhat.com>
6362
6363 * gdb.mi/mi-basics.exp: Fix races. Honour the
6364 `test_exec_and_symbol_mi_operatons' return value.
6365 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6366 gdb_test_multiple.
6367 (test_exec_and_symbol_mi_operatons): Likewise.
6368 (test_path_specification): Likewise.
6369
faf067f1
JK
63702011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6371
6372 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
6373 (gdb_touch_execfile): Remove catch wrappers. New variable time.
6374 Replace `file copy' and `file rename' by `file mtime'. Twice.
6375
7ff911a3
JK
63762011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6377
6378 * gdb.base/readline-ask.c: New file.
6379 * gdb.base/readline-ask.exp: New file.
6380 * gdb.base/readline-ask.inputrc: New file.
6381
a536c6d7
UW
63822011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
6383
6384 * gdb.cell/bt.exp: Delete breakpoints before running to signal
6385 to avoid race condition.
6386 * gdb.cell/coremaker.c: Use small stack size.
6387 * gdb.cell/ea-standalone.exp: Use file name without path as
6388 argument to c_to.
6389 * gdb.cell/fork.exp: Allow other output when continuing to end.
6390
d472a426
JK
63912011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6392
6393 * gdb.threads/corethreads.c: New file.
6394 * gdb.threads/corethreads.exp: New file.
6395
63962011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
6397
6398 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
6399 Try to compile the test using -Wl,-z,norelro first.
6400 (load_core): New variable libthread_db_seen, initialize it.
6401 (zeroed-threads cannot be listed): Protect it by XFAIL on
6402 !$libthread_db_seen.
6403
8be455d7
JK
64042011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6405
6406 PR 12573
6407 * gdb.dwarf2/dw2-skip-prologue.S: New file.
6408 * gdb.dwarf2/dw2-skip-prologue.c: New file.
6409 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
6410
1976171a
JK
64112011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6412
6413 * gdb.cp/psymtab-parameter.cc: New file.
6414 * gdb.cp/psymtab-parameter.exp: New file.
6415
7db6f30f
JK
64162011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6417
6418 Fix a race.
6419 * gdb.cp/static-print-quit.exp (print c): Split to ...
6420 (print c - <return>, print c - q <return>, print c - to quit):
6421 ... these. Make the testfile untested on gdb-7.1.
6422
85161e9e 64232011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
6424
6425 * lib/gdb.exp (exec_target_file, exec_symbol_file,
6426 gdb_rename_execfile, gdb_touch_execfile): New.
6427 * gdb.base/reread.exp: Use new procs to handle multiple
6428 exec files.
6429
0c51be18
YQ
64302011-05-05 Yao Qi <yao@codesourcery.com>
6431
6432 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
6433 (test_adr_32bit, test_pop_pc): New.
6434 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
6435 (test_adr_32bit, test_pop_pc): New.
6436
4d393d60
JM
64372011-05-04 Joseph Myers <joseph@codesourcery.com>
6438
6439 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
6440 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
6441 targets.
6442 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
6443 handle targets.
6444
8ffd0459
JK
64452011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6446
6447 * gdb.base/completion.exp (complete help info wat): Rename to ...
6448 (complete 'help info wat'): ... here.
6449 Remove all `-re ".*' and `-re "^.*' redundant regexes.
6450 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
6451
8e28d804
PA
64522011-05-04 Pedro Alves <pedro@codesourcery.com>
6453
6454 * gdb.base/completion.exp: Use gdb_test_multiple instead of
6455 gdb_test and explicit $gdb_prompt/timeout matches.
6456
3eb2ef34
YQ
64572011-05-04 Yao Qi <yao@codesourcery.com>
6458
6459 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
6460 and __thumb2__.
6461
aaaf81a3
MP
64622011-05-03 Marek Polacek <mpolacek@redhat.com>
6463
6464 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
6465 in place of `gdb_test "delete breakpoints"'. This eliminates two
6466 testcases.
6467
c4cbc0df
PA
64682011-05-02 Pedro Alves <pedro@codesourcery.com>
6469
6470 PR testsuite/12649
6471 Fix races.
6472
6473 * gdb.base/completion.exp: Remove all sleep calls. Remove
6474 unnecessary regexs. Don't explicitly expect anything after the
6475 prompt. Eat the prompt if necessary.
6476
b4cbb4a3
EBM
64772011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6478
6479 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
6480 accept to show the caller line again as well as the line after.
6481
d65aec65
PM
64822011-04-29 Phil Muldoon <pmuldoon@redhat.com>
6483
6484 PR mi/12531
6485
6486 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
6487 compile target.
6488 * gdb.python/py-prettyprint.exp: Add C++ object for
6489 CPLUS_FAKE_CHILD test.
6490
30852783
UW
64912011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
6492
6493 * gdb.base/signest.exp: New file.
6494 * gdb.base/signest.c: Likewise.
6495
c7b1f0d9
JK
64962011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6497
6498 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
6499 thread and breakpoint notifications.
6500
559a7a62
JK
65012011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6502
6503 * gdb.base/fortran-sym-case.c: New file.
6504 * gdb.base/fortran-sym-case.exp: New file.
6505 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
6506 * gdb.dwarf2/dw2-case-insensitive.c: New file.
6507 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
6508
8344e389
JK
65092011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6510
6511 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
6512 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
6513 false #1', `if true else false #2' and `if true else false #3'.
6514
2484c66b
UW
65152011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
6516
6517 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
6518 while delivering signal.
6519
8d3788bd
VP
65202011-04-27 Vladimir Prus <vladimir@codesourcery.com>
6521
6522 MI breakpoint notifications.
6523
6524 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
6525 * testsuite/gdb.mi/mi2-cli.exp: Adust.
6526 * testsuite/gdb.mi/mi-watch.exp: Adust.
6527 * testsuite/gdb.mi/mi2-watch.exp: Adust.
6528 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
6529 notifications.
8d3788bd 6530
3e03848b
JK
65312011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6532
6533 * gdb.base/gdbindex-stabs-dwarf.c: New file.
6534 * gdb.base/gdbindex-stabs.c: New file.
6535 * gdb.base/gdbindex-stabs.exp: New file.
6536
918c9108
YQ
65372011-04-25 Yao Qi <yao@codesourcery.com>
6538
6539 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
6540 with /*...*/.
6541 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
6542
90556b8c
JK
65432011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6544
6545 * gdb.python/py-value.exp (test_objfiles): Name the first test
6546 `py-value in file.filename'.
6547
03f2bd59
JK
65482011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6549
6550 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
6551 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
6552 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
6553 !gdbserver_reconnect_p..
6554 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
6555
7b08b9eb
JK
65562011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6557
6558 * gdb.cp/cpcompletion.exp (complete class methods)
6559 (complete class methods beginning with F): Move them above runto. New
6560 comment about the runto delimiter.
6561
b78974c3
PA
65622011-04-20 Pedro Alves <pedro@codesourcery.com>
6563
6564 * gdb.base/maint.exp: Test that "maint print registers" works
6565 without a running program.
6566
20429c40 65672011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 6568
20429c40
MP
6569 * gdb.base/setshow.exp: Fix racy tests.
6570 ($old_gdb_prompt): New variable.
6571
7a9dd1b2
TT
65722011-04-19 Tom Tromey <tromey@redhat.com>
6573
6574 * gdb.mi/mi-nsmoribund.exp:
6575 * gdb.hp/gdb.objdbg/objdbg01.exp:
6576 * gdb.base/structs.exp (test_struct_returns):
6577 * gdb.base/call-sc.exp (test_scalar_returns):
6578 * gdb.base/bigcore.exp: Remove duplicate words.
6579
02835898
JK
65802011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6581
6582 * gdb.base/break-interp-lib.c (v, vptr): New variables.
6583 * gdb.base/break-interp.exp (test_attach): New comment.
6584
254f582e
JK
65852011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6586
6587 * gdb.threads/gcore-thread.exp ($core0file): New variable.
6588 (clear __stack_user.next, clear stack_used.next)
6589 (save a zeroed-threads corefile): New test.
6590 Call core_load for $core0file.
6591 (zeroed-threads cannot be listed): New test.
6592
4fe85f5c
JK
65932011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6594
6595 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
6596 filename.
6597 ($srcfile): Preserve the original value.
6598 ($testfile): Match it the .exp filename.
6599 ($corefile): New variable. Substitute it around.
6600 Use clean_restart.
6601 ($prev_timeout): Remove.
6602 (load_core): Move core loading into this proc.
6603 Fix restore of $timeout if load_core fails.
6604
63524580
JK
66052011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6606
6607 * gdb.base/eu-strip-infcall.c: New file.
6608 * gdb.base/eu-strip-infcall.exp: New file.
6609
90359a16
JK
66102011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6611
6612 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
6613 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
6614
626e7282
JK
66152011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6616
6617 Fix Python access to inlined frames.
6618 * gdb.python/py-frame-inline.c: New file.
6619 * gdb.python/py-frame-inline.exp: New file.
6620
3363d018
EBM
66212011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
6622
6623 * gdb.base/gdb1090.exp: Change breakpoint location to read the
6624 content of 's24' correctly (avoiding "optimized out").
6625 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
6626
28781456
JK
66272011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6628
6629 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
6630
4a4106ca
TJB
66312011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
6632
6633 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
6634 expect a colon in watch -location output.
6635
d26ccb4f
JK
66362011-04-13 Marek Polacek <mpolacek@redhat.com>
6637
df46027d 6638 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
6639 New testcase `expect response to define backtrace'. Also remove
6640 redundant `default' block.
6641
e1ab1f9c
JK
66422011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6643
6644 * gdb.python/py-prettyprint.c (struct hint_error): New.
6645 (main): New variable hint_error.
6646 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
6647 "print hint_error".
6648 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
6649 (register_pretty_printers): Register it.
6650
0c2e6019
TT
66512011-04-04 Tom Tromey <tromey@redhat.com>
6652
6653 * gdb.cp/maint.exp (test_help): Update.
6654 (test_namespace): Likewise.
6655
af57139d
JB
66562011-04-01 Joel Brobecker <brobecker@adacore.com>
6657
6658 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
6659 * gdb.ada/arrayptr.exp: Add new tests.
6660
956a9fb9
JB
66612011-04-01 Joel Brobecker <brobecker@adacore.com>
6662
6663 * gdb.ada/mi_catch_ex: New testcase.
6664
d0c4d642
PA
66652011-04-01 Pedro Alves <pedro@codesourcery.com>
6666
6667 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
6668 base::overload(void) method without specifying "const".
6669
18819fa6
UW
66702011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
6671
6672 * gdb.arch/thumb-singlestep.S: New file.
6673 * gdb.arch/thumb-singlestep.exp: Likewise.
6674
a4c8e806
TT
66752011-03-31 Tom Tromey <tromey@redhat.com>
6676
6677 * gdb.python/py-prettyprint.py (exception_flag): New global.
6678 (NoStringContainerPrinter._iterator.next): Check it.
6679 * gdb.python/py-prettyprint.c (main): New variable nstype2.
6680 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
6681
53832f31
TT
66822011-03-29 Tom Tromey <tromey@redhat.com>
6683
6684 * gdb.cp/anon-struct.cc: New file.
6685 * gdb.cp/anon-struct.exp: New file.
6686
e4620230
JK
66872011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6688
6689 Test STT_GNU_IFUNC support.
6690 * gdb.base/gnu-ifunc-lib.c: New file.
6691 * gdb.base/gnu-ifunc.c: New file.
6692 * gdb.base/gnu-ifunc.exp: New file.
6693
d0fb5eae
JK
66942011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6695
6696 Support a ring of related breakpoints.
6697 * gdb.base/watchpoint-delete.c: New file.
6698 * gdb.base/watchpoint-delete.exp: New file.
6699
20106cfb
JK
67002011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6701
6702 * gdb.ada/arrayparam.exp (print first after function call): Use
6703 explicit package name. Add a comment
6704 (print lasta after function call): Rename ...
6705 (print last after function call): ... it and use explicit package
6706 name.
6707 (print length after function call): Use explicit package name.
6708 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
6709 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
6710 (multiple matches for symbol i): Rename ...
6711 (multiple matches for symbol integervar): ... it.
6712 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
6713 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
6714
e7ab5e63
AB
67152011-03-25 Andrew Burgess <aburgess@broadcom.com>
6716
6717 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
6718 environment variable to make grep output more predictable. Move
6719 all the environment setup into gdb_init so it's done once per test
6720 case rather than each time we start gdb.
6721
9ef07c8c
TT
67222011-03-24 Tom Tromey <tromey@redhat.com>
6723
6724 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
6725 test.
6726
dd90784c
JK
67272011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6728
6729 * gdb.dwarf2/dw2-entry-value-main.c: New file.
6730 * gdb.dwarf2/dw2-entry-value.S: New file.
6731 * gdb.dwarf2/dw2-entry-value.exp: New file.
6732
05775840
PM
67332011-03-22 Phil Muldoon <pmuldoon@redhat.com>
6734
6fdff2c5 6735 PR python/12183
05775840
PM
6736
6737 * gdb.python/py-function.exp: Add GdbError tests.
6738
8661b11b
PA
67392011-03-18 Pedro Alves <pedro@codesourcery.com>
6740
6741 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
6742 (reglocal_test_func, statlocal_test_func): New functions.
6743 (globals_test_func): Call new functions.
6744 * gdb.trace/unavailable.exp (gdb_collect_args_test)
6745 (gdb_collect_locals_test): New procedure.
6746 (gdb_trace_collection_test): Call new procedures.
6747
0fdb4f18
PA
67482011-03-18 Pedro Alves <pedro@codesourcery.com>
6749
6750 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
6751 (test_register, test_register_unavailable): New procedures.
6752 (gdb_unavailable_registers_test): New procedure.
6753 (gdb_trace_collection_test): Call it.
6754
99c3dc11
PM
67552011-03-18 Phil Muldoon <pmuldoon@redhat.com>
6756
6fdff2c5 6757 PR python/12149
99c3dc11
PM
6758
6759 * gdb.python/python.exp: Add gdb.write tests.
6760
29703da4
PM
67612010-03-17 Phil Muldoon <pmuldoon@redhat.com>
6762
6763 * gdb.python/Makefile.in: Add py-objfile.
6764 * gdb.python/py-objfile.exp: New file.
6765 * gdb.python/py-objfile.c: New file.
6766 * gdb.python/py-block.exp: Add is_valid tests.
6767 * gdb.python/py-inferior.exp: Ditto.
6768 * gdb.python/py-infthread.exp: Ditto.
6769 * gdb.python/py-symbol.exp: Ditto.
6770 * gdb.python/py-symtab.exp: Ditto.
6771
598997c8
KS
67722011-03-16 Keith Seitz <keiths@redhat.com>
6773
6774 PR c++/12273
6775 * gdb.cp/cmpd-minsyms.exp: New test.
6776 * gdb.cp/cmpd-minsyms.cc: New file.
6777
6778 PR c++/11734
6779 * gdb.cp/ovsrch.exp: New test.
6780 * gdb.cp/ovsrch.h: New file.
6781 * gdb.cp/ovsrch1.cc: New file.
6782 * gdb.cp/ovsrch2.cc: New file.
6783 * gdb.cp/ovsrch3.cc: New file.
6784 * gdb.cp/ovsrch4.cc: New file.
6785
c91513d8
PP
67862011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6787
6788 PR gdb/12528
6789 * gdb.base/Makefile.in: Adjust EXECUTABLES.
6790 * gdb.base/break-on-linker-gcd-function.exp: New test.
6791 * gdb.base/break-on-linker-gcd-function.cc: New file.
6792
7470fc63
AT
67932011-03-15 Andreas Tobler <andreast@fgznet.ch>
6794
6795 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
6796
959e7469
PM
67972011-03-15 Phil Muldoon <pmuldoon@redhat.com>
6798
6799 * lib/gdb.exp (gdb_unload): Add another termination case.
6800
9373cf26
JK
68012011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6802
6803 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
6804 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
6805 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
6806 Provide a stub byte there.
6807 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
6808 DW_AT_entry_pc.
6809 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
6810
24e9cda0
UW
68112011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
6812
6813 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
6814 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
6815 "generic ABI, auto".
6816 (altivec_abi_tests): Accept vectors returned by reference.
6817
7371cf6d
PM
68182010-03-14 Phil Muldoon <pmuldoon@redhat.com>
6819
6820 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
6821
ce77046a
UW
68222011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
6823
6824 * gdb.python/py-section-script.exp: Skip test if no Python support.
6825
176400c3
UW
68262011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
6827
6828 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
6829
ecec24e6
PM
68302011-03-10 Phil Muldoon <pmuldoon@redhat.com>
6831
6832 * gdb.python/py-parameter.exp: Update tests to the new Python
6833 parameter API. Add "no documentation" test. Add deprecated API
6834 backward compatibility test.
6835
5dbdd470
TT
68362011-03-09 Tom Tromey <tromey@redhat.com>
6837
6838 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
6839 gdb_continue_to_end.
6840
b66e66ee
MK
68412011-03-09 Mark Kettenis <kettenis@gnu.org>
6842
6843 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
6844 tabs.
6845
eceb0c5f
TT
68462011-03-09 Tom Tromey <tromey@redhat.com>
6847
6848 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
6849 parentheses.
6850 (gdb_continue_to_end): Add "allow_extra" parameter. Use
6851 $command.
6852 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
6853 argument to gdb_continue_to_end.
6854 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
6855 argument to gdb_continue_to_end.
6856 * gdb.cp/annota3.exp: Fix regex.
6857 * gdb.cp/annota2.exp: Fix regex.
6858 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
6859 gdb_continue_to_end.
6860 * gdb.base/call-signal-resume.exp: Revert earlier patch.
6861 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
6862 gdb_continue_to_end.
6863
63154eca
PA
68642011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6865
6866 * gdb.server/ext-run.exp
6867 (load new file without any gdbserver inferior): New test.
6868
967d1f9b
TT
68692011-03-07 Tom Tromey <tromey@redhat.com>
6870
6871 * Makefile.in (TAGS): Rewrite.
6872
d68dcbb9
JK
68732011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6874
6875 * gdb.trace/report.exp (12.1: trace report #1): New match for the
6876 initial commands echo. New match for `Found trace'. Anchor all the
6877 other matches. Anchor and match for `No trace frame found' the final
6878 match.
6879
6bf58e63
TT
68802011-03-07 Tom Tromey <tromey@redhat.com>
6881
6882 * Makefile.in (TAGS): New target.
6883
fda326dd
TT
68842011-03-07 Tom Tromey <tromey@redhat.com>
6885
6886 * lib/opencl.exp (skip_opencl_tests): Update for exit message
6887 change.
6888 * lib/mi-support.exp (mi_gdb_test): Update for exit message
6889 change.
6890 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
6891 exit message change.
6892 (skip_altivec_tests): Update for exit message change.
6893 (skip_vsx_tests): Likewise.
6894 (gdb_continue_to_end): Likewise. Add 'command' argument.
6895 * lib/cell.exp (skip_cell_tests): Update for exit message change.
6896 * gdb.threads/tls.exp: Update for exit message change.
6897 * gdb.threads/thread-unwindonsignal.exp: Use
6898 gdb_continue_to_end.
6899 * gdb.threads/step.exp (step_it): Update for exit message change.
6900 (continue_all): Likewise.
6901 * gdb.threads/print-threads.exp (test_all_threads): Update for
6902 exit message change.
6903 * gdb.threads/interrupted-hand-call.exp: Use
6904 gdb_continue_to_end.
6905 * gdb.threads/execl.exp: Use gdb_continue_to_end.
6906 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
6907 gdb_continue_to_end.
6908 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
6909 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
6910 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
6911 * gdb.cp/method.exp: Update for exit message change.
6912 * gdb.cp/mb-templates.exp: Update for exit message change.
6913 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
6914 * gdb.cp/annota3.exp: Update for exit message change.
6915 * gdb.cp/annota2.exp: Update for exit message change.
6916 * gdb.cell/fork.exp: Use gdb_continue_to_end.
6917 * gdb.base/term.exp: Update for exit message change.
6918 * gdb.base/step-test.exp (test_i): Update for exit message change.
6919 * gdb.base/sigstep.exp (advance): Update for exit message change.
6920 (advancei): Likewise.
6921 * gdb.base/siginfo.exp: Update for exit message change.
6922 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
6923 * gdb.base/reread.exp: Use gdb_continue_to_end.
6924 * gdb.base/langs.exp: Use gdb_continue_to_end.
6925 * gdb.base/interrupt.exp: Update for exit message change.
6926 * gdb.base/gdb1555.exp: Update for exit message change.
6927 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
6928 * gdb.base/ending-run.exp: Update for exit message change.
6929 * gdb.base/chng-syms.exp: Update for exit message change.
6930 * gdb.base/checkpoint.exp: Update for exit message change.
6931 * gdb.base/catch-syscall.exp (check_for_program_end): Use
6932 gdb_continue_to_end.
6933 (test_catch_syscall_with_wrong_args): Likewise.
6934 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
6935 * gdb.base/break-interp.exp (test_ld): Update for exit message
6936 change.
6937 * gdb.base/bang.exp: Update for exit message change.
6938 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
6939 (do_call_attach_tests): Likewise.
6940 * gdb.base/a2-run.exp: Update for exit message change.
6941 * gdb.arch/ppc-dfp.exp: Update for exit message change.
6942 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
6943 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
6944
dd19bd70
JK
69452011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6946
6947 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
6948
30e62689
TT
69492011-03-03 Tom Tromey <tromey@redhat.com>
6950
6951 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
6952 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
6953 * gdb.hp/gdb.aCC/configure.ac: Remove.
6954 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
6955 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
6956 * gdb.hp/gdb.base-hp/configure.ac: Remove.
6957 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
6958 * gdb.hp/gdb.compat/configure (Makefile): Remove.
6959 * gdb.hp/gdb.compat/configure.ac: Remove.
6960 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
6961 * gdb.hp/gdb.defects/configure (Makefile): Remove.
6962 * gdb.hp/gdb.defects/configure.ac: Remove.
6963 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
6964 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
6965 * gdb.hp/gdb.objdbg/configure.ac: Remove.
6966 * gdb.hp/configure.ac: Remove.
6967 * gdb.hp/configure: Remove.
6968 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
6969 substitution.
6970 (Makefile): Remove rule.
6971 * gdb.cell/configure.ac: Remove.
6972 * gdb.cell/configure: Remove.
6973 * gdb.stabs/Makefile.in (Makefile): Remove.
6974 (distclean): Don't remove config.status or config.log.
6975 * gdb.stabs/configure (Makefile): Remove.
6976 * gdb.stabs/configure.ac: Remove.
6977 * configure: Rebuild.
6978 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
6979 Remove stabs- and cell-specific logic. Test for existence of
6980 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
6981 subdirectories, gdb.cell, and and gdb.stabs.
6982 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
6983
c171f854
JB
69842011-03-03 Joel Brobecker <brobecker@adacore.com>
6985
6986 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
6987 end of buffer.
6988
9a5193cb
JB
69892011-03-02 Joel Brobecker <brobecker@adacore.com>
6990
6991 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
6992 gdb_test when running a test where we expected no output back.
6993
9bb4c1bb
MS
69942011-02-28 Michael Snyder <msnyder@vmware.com>
6995
6996 * gdb.cp/overload.cc: Change initializer value to integer.
6997
3bd0f5ef
MS
69982011-02-27 Michael Snyder <msnyder@vmware.com>
6999
7000 * gdb.multi/base.exp: Add test for remove-inferiors.
7001
2279eaad
JB
70022011-02-26 Joel Brobecker <brobecker@adacore.com>
7003
7004 * gdb.python/py-frame.exp: Simplify the initialization phase
7005 using prepare_for_testing.
7006
c82c0b55
MS
70072011-02-25 Michael Snyder <msnyder@vmware.com>
7008
7009 * gdb.multi/base.exp: Add tests for info inferiors with args.
7010
1d94651b
JK
70112011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7012
7013 * gdb.dwarf2/dw2-ranges.S: Rename to ...
7014 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
7015 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
7016 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
7017 asmfile3. Comment the STABS (#3) file compilation. Compile
7018 everything through assembler. Provide KFAIL for symtab/12497.
7019 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
7020 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
7021 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
7022 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
7023
3bd0f5ef
MS
70242011-02-24 Michael Snyder <msnyder@vmware.com>
7025
7026 * gdb.base/break.exp: Add tests for delete breakpoints using
7027 convenience variables and value history references.
7028
12c1418e
MS
70292011-02-24 Michael Snyder <msnyder@vmware.com>
7030
7031 * gdb.base/break.exp: Remove debugging 'printf' accidentally
7032 left behind in previous check-in.
7033
e5a67952
MS
70342011-02-23 Michael Snyder <msnyder@vmware.com>
7035
7036 * gdb.base/break.exp: Add tests for "info break" with arguments.
7037 * gdb.trace/infotrace.exp: Update patterns for error and help.
7038 * gdb.base/completion.exp: Update pattern.
7039 * gdb.base/ena-dis-br.exp: Update pattern.
7040 * gdb.base/help.exp: Update patterns.
7041
70422011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
7043
7044 * gdb.base/memattr.exp: New test.
7045 * gdb.base/memattr.c: Test load for memattr.exp.
7046
6e6fbe60
DE
70472011-02-22 Doug Evans <dje@google.com>
7048
7049 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
7050
1d41d745
MS
70512011-02-22 Michael Snyder <msnyder@vmware.com>
7052
7053 * Makefile.in: Make more clean.
7054 * gdb.ada/Makefile.in: Ditto.
7055 * gdb.arch/Makefile.in: Ditto.
7056 * gdb.asm/Makefile.in: Ditto.
7057 * gdb.base/Makefile.in: Ditto.
7058 * gdb.cp/Makefile.in: Ditto.
7059 * gdb.dwarf2/Makefile.in: Ditto.
7060 * gdb.java/Makefile.in: Ditto.
7061 * gdb.mi/Makefile.in: Ditto.
7062 * gdb.modula2/Makefile.in: Ditto.
7063 * gdb.python/Makefile.in: Ditto.
7064 * gdb.server/Makefile.in: Ditto.
7065 * gdb.stabs/Makefile.in: Ditto.
7066 * gdb.threads/Makefile.in: Ditto.
7067 * gdb.trace/Makefile.in: Ditto.
7068
79ba84ca
MS
70692011-02-22 Michael Snyder <msnyder@vmware.com>
7070
df46027d 7071 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
7072 info threads.
7073
b9b35694
JB
70742011-02-22 Joel Brobecker <brobecker@adacore.com>
7075
7076 * gdb.python/py-breakpoint.exp: Fix the expected output of
7077 one of the "maint info breakpoints" tests to accept the output
7078 generated on platforms that do not have hardware watchpoints.
7079
8bfb830f
JB
70802011-02-22 Joel Brobecker <brobecker@adacore.com>
7081
7082 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
7083 clean_restart. Be a little stricter in the expected output
7084 for one of the tests. Fix a typo in one of the comments.
7085
c45f3c54
JB
70862011-02-22 Joel Brobecker <brobecker@adacore.com>
7087
7088 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
7089 Delete variable binfile, no longer use. Add or modify test
7090 comments to make them unique.
7091
b97c863c
MS
70922011-02-21 Michael Snyder <msnyder@vmware.com>
7093
7094 * Makefile.in: Update for make clean.
7095 * gdb.ada/Makefile.in: Ditto.
7096 * gdb.arch/Makefile.in: Ditto.
7097 * gdb.asm/Makefile.in: Ditto.
7098 * gdb.base/Makefile.in: Ditto.
7099 * gdb.cp/Makefile.in: Ditto.
7100 * gdb.dwarf2/Makefile.in: Ditto.
7101 * gdb.java/Makefile.in: Ditto.
7102 * gdb.mi/Makefile.in: Ditto.
7103 * gdb.modula2/Makefile.in: Ditto.
7104 * gdb.python/Makefile.in: Ditto.
7105 * gdb.server/Makefile.in: Ditto.
7106 * gdb.stabs/Makefile.in: Ditto.
7107 * gdb.threads/Makefile.in: Ditto.
7108 * gdb.trace/Makefile.in: Ditto.
7109
aea5b279
MS
71102011-02-21 Michael Snyder <msnyder@vmware.com>
7111
7112 * gdb.threads/thread-find.exp: Update patterns for changes in
7113 output of "info threads" command.
7114
e3039479
UW
71152011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7116 Ulrich Weigand <uweigand@de.ibm.com>
7117
7118 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
7119 (skip_hw_watchpoint_tests): Likewise.
7120 (skip_hw_watchpoint_multi_tests): Likewise.
7121
b800ec70
UW
71222011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
7123
7124 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
7125 (skip_hw_watchpoint_tests): Likewise.
7126 (skip_hw_watchpoint_multi_tests): Likewise.
7127 (skip_hw_watchpoint_access_tests): Likewise.
7128
7129 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
7130 * gdb.base/pr11022.exp: Likewise.
7131 * gdb.base/watch-read.exp: Likewise.
7132 * gdb.base/watch_thread_num.exp: Likewise.
7133 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7134 * gdb.base/watchpoint-hw.exp: Likewise.
7135 * gdb.base/watchpoint.exp: Likewise.
7136 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
7137 * gdb.threads/watchthreads-reorder.exp: Likewise.
7138 * gdb.threads/watchthreads.exp: Likewise.
7139 * gdb.threads/watchthreads2.exp: Likewise.
7140
91033e37
JB
71412011-02-21 Joel Brobecker <brobecker@adacore.com>
7142
7143 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
7144 the debugger is unable to find the array bounds.
7145
eeaafae2
JK
71462011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7147
7148 * gdb.cp/typedef-operator.exp: New file.
7149 * gdb.cp/typedef-operator.cc: New file.
7150
e338d953
MS
71512011-02-17 Michael Snyder <msnyder@vmware.com>
7152
7153 * gdb.threads/thread-find.exp: Fix regular expressions.
7154
e67ad678
JB
71552011-02-17 Joel Brobecker <brobecker@adacore.com>
7156
7157 * gdb.ada/packed_array: Expand testcase to test printing of
7158 unconstrained packed array.
7159
93084bca
JB
71602011-02-17 Joel Brobecker <brobecker@adacore.com>
7161
7162 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
7163
a0c78a73
PA
71642011-02-16 Pedro Alves <pedro@codesourcery.com>
7165
f65d5553 7166 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
7167 (main): Initialize it before collecting, and and clear it
7168 afterwards.
f65d5553
PA
7169 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7170 collecting with '{type} addr', where the addr expression is not an
7171 rvalue.
a0c78a73 7172
3dfcbbd2
KW
71732011-02-16 Ken Werner <ken.werner@de.ibm.com>
7174
7175 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
7176 a bool variable. Expect correct OpenCL names for vector types. Use the
7177 uc3 variable name instead of referring to the uchar3 built-in type.
7178 Escape the asterisk at the half pointer test.
7179
08807d5a
PA
71802011-02-16 Pedro Alves <pedro@codesourcery.com>
7181
f65d5553 7182 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
7183 (main): Initialize it before collecting, and and clear it
7184 afterwards.
f65d5553
PA
7185 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7186 collecting overlapping memory ranges.
08807d5a 7187
60f98dde
MS
71882011-02-15 Michael Snyder <msnyder@vmware.com>
7189
7190 * gdb.base/default.exp: Add tests for thread commands.
7191 * gdb.base/help.exp: Add tests for thread commands.
7192 * gdb.threads/thread-find.exp: New test for thread find command.
7193
648cd113
KW
71942011-02-15 Ken Werner <ken.werner@de.ibm.com>
7195
7196 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
7197
494e194e
YQ
71982011-02-15 Yao Qi <yao@codesourcery.com>
7199
7200 PR tdep/12352
7201 * gdb.arch/arm-disp-step.S : New test for str instruction.
7202 * gdb.arch/arm-disp-step.exp : Likewise.
7203
d9492458
TJB
72042011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
7205
7206 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
7207 "vector_register2_vr" test strings. Test the extended floating
7208 point registers (F32~F63).
7209 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
7210 IBM XL C compiler. Make the test program use a register provided
7211 by the compiler for the lxvd2x instruction.
7212
8af8e3bc
PA
72132011-02-14 Pedro Alves <pedro@codesourcery.com>
7214
7215 * gdb.trace/unavailable.cc (class Base, class Middle, class
7216 Derived): New types.
7217 (derived_unavail, derived_partial, derived_whole): New globals.
7218 (virtual_partial): New global.
7219 (virtualp): Point at virtual_partial.
7220 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
7221 related to unavailable vptr.
7222
1b28d0b3
PA
72232011-02-14 Pedro Alves <pedro@codesourcery.com>
7224
7225 * gdb.trace/unavailable.cc (a, b, c): New globals.
7226 (main): Set and clear them.
7227 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
7228 `a' and `c', and check that `b' isn't collected, although `a' and
7229 `c' are.
7230
ec0a52e1
PA
72312011-02-14 Pedro Alves <pedro@codesourcery.com>
7232
7233 * gdb.trace/unavailable.cc (struct Virtual): New.
7234 (virtualp): New global pointer.
7235 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
7236 printing a pointer to an object whose type has a vtable, with
7237 print object on.
7238
24e6bcee
PA
72392011-02-14 Pedro Alves <pedro@codesourcery.com>
7240
7241 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
7242 value repeat handles unavailableness.
7243
39d37385
PA
72442011-02-14 Pedro Alves <pedro@codesourcery.com>
7245
7246 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
7247 tests for building arrays from unavailable values, subscripting
7248 non-memory rvalue unvailable arrays, and accessing fields or
7249 baseclasses of non-lazy unavailable values,
7250 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
7251 struct types.
7252 (g_smallstruct, g_smallstruct_b): New globals.
7253
06d72e16
PA
72542011-02-14 Pedro Alves <pedro@codesourcery.com>
7255
7256 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
7257
bc9a5551
JK
72582011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7259
7260 Fix const/volatile qualifiers of C++ types, PR c++/12328.
7261 * gdb.cp/overload-const.exp: New file.
7262 * gdb.cp/overload-const.cc: New file.
7263
54fcddd0
UW
72642011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7265
7266 * gdb.opencl/callfuncs.cl: New file.
7267 * gdb.opencl/callfuncs.exp: New test.
7268 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
7269
d6dafb7c
UW
72702011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7271
7272 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
7273 when computing result.
7274 * gdb.arch/altivec-abi.exp: Update expected results.
7275
a449c2d8
TJB
72762011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7277
7278 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
7279 * gdb.base/jit.exp: Likewise.
7280 * gdb.base/pie-execl.exp: Likewise.
7281 * gdb.base/solib-nodir.exp: Likewise.
7282 * gdb.base/solib-overlap.exp: Likewise.
7283
764880b7
PA
72842011-02-07 Pedro Alves <pedro@codesourcery.com>
7285
7286 * gdb.trace/collection.c (global_pieces): New.
7287 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
7288 New procedure.
7289 (gdb_trace_collection_test): Call it.
7290
505500db
SW
72912011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
7292
7293 * gdb.python/py-evthreads.c: New file.
7294 * gdb.python/py-evthreads.exp: New file.
7295 * gdb.python/py-events.py: New file.
7296 * gdb.python/py-events.exp: New file.
7297 * gdb.python/py-events.c: New file.
7298
385203ed
DD
72992011-02-04 David Daney <ddaney@caviumnetworks.com>
7300
7301 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
7302
9011945e
AB
73032011-02-03 Andrew Burgess <aburgess@broadcom.com>
7304
7305 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
7306 gdb.base/disasm-end-cu.exp: New test for disassembling over the
7307 boundary between two compilation units.
7308
580688f3
PA
73092011-02-02 Pedro Alves <pedro@codesourcery.com>
7310
7311 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
7312 (Virtual): New structs.
7313 (virtual_o, virtual_middle_b): New globals.
7314 * gdb.cp/virtbase.exp: New tests.
7315
d3f0f853
PP
73162011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7317
7318 * gdb.base/jit.exp: New file.
7319 * gdb.base/jit-main.c: New file.
7320 * gdb.base/jit-solib.c: New file.
7321
b2030fb5
UW
73222011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
7323
7324 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
7325 proceed to initial kernel entry point.
7326 * gdb.opencl/datatypes.exp: Likewise.
7327 * gdb.opencl/operators.exp: Likewise.
7328 * gdb.opencl/vec_comps.exp: Likewise.
7329
2db19d1e
SW
73302011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
7331
7332 * gdb.cp/nsnested.cc: New.
7333 * gdb.cp/nsnested.exp: New.
7334 * gdb.cp/nsnoimports.exp: New.
7335 * gdb.cp/nsnoimports.cc: New.
7336
6b0c4c1f
JB
73372011-01-31 Joel Brobecker <brobecker@adacore.com>
7338
7339 * gdb.base/interact.exp: Add extra tests that verify that
7340 the value of the interactive-mode setting does not change
7341 after the script is sourced.
7342
80b23b6a
JK
73432011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7344
7345 * gdb.cp/noparam.exp: New file.
7346 * gdb.cp/noparam.cc: New file.
7347
ffd5ec24
PA
73482011-01-28 Pedro Alves <pedro@codesourcery.com>
7349
7350 * gdb.trace/tfile.exp: Test that with no traceframe selected,
7351 there's no stack or registers.
7352
a81766d8
TT
73532011-01-26 Tom Tromey <tromey@redhat.com>
7354
7355 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
7356 space before string output. Add test for "set print pretty off"
7357 case.
7358
585fdaa1
PA
73592011-01-25 Pedro Alves <pedro@codesourcery.com>
7360
7361 * gdb.base/frame-args.exp: Adjust.
7362 * gdb.dwarf2/dw2-noloc.exp: Adjust.
7363 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
7364 * gdb.dwarf2/pieces.exp: Adjust.
7365 * gdb.opt/clobbered-registers-O2.exp: Adjust.
7366 * gdb.opt/inline-locals.exp: Adjust.
7367 * gdb.threads/fork-child-threads.exp: Adjust.
7368
d468832a
KW
73692011-01-25 Ken Werner <ken.werner@de.ibm.com>
7370
7371 * gdb.opencl/convs_casts.cl: Move program scope variables into the
7372 OpenCL kernel function. Add a comment as marker. Add address space
7373 qualifiers for the remaining program scope variables.
7374 * gdb.opencl/datatypes.cl: Likewise.
7375 * gdb.opencl/operators.cl: Likewise.
7376 * gdb.opencl/vec_comps.cl: Likewise.
7377 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
7378 Add breakpoint at the marker comment.
7379 * gdb.opencl/datatypes.exp: Likewise.
7380 * gdb.opencl/operators.exp: Likewise.
7381 * gdb.opencl/vec_comps.exp: Likewise.
7382
490f124f
PA
73832011-01-24 Pedro Alves <pedro@codesourcery.com>
7384
7385 * gdb.base/printcmds.c (some_struct): New struct and instance.
7386 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
7387 procedure.
7388 <global scope>: Call it.
7389
6da78614
KW
73902011-01-21 Ken Werner <ken.werner@de.ibm.com>
7391
7392 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
7393 argument to the gdb_compile_opencl_hostapp call.
7394
ec64c9aa
YQ
73952011-01-19 Yao Qi <yao@codesourcery.com>
7396
7397 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
7398 positve list.
7399
810cfdbb
YQ
74002011-01-19 Yao Qi <yao@codesourcery.com>
7401
7402 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
7403 canonical form.
7404 Remove "xscale-*-*"
7405 * gdb.xml/tdesc-regs.exp: Likewise.
7406 * gdb.python/py-section-script.exp: Replace ARM target triplet
7407 with canonical form.
7408 Match arm*-*-symbianelf*.
7409 * gdb.base/dup-sect.exp: Likewise.
7410 * lib/dwarf.exp: New.
7411 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
7412 dwarf2_support.
7413 * gdb.dwarf2/dup-psym.exp: Likewise.
7414 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
7415 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7416 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
7417 * gdb.dwarf2/dw2-basic.exp: Likewise.
7418 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7419 * gdb.dwarf2/dw2-const.exp: Likewise.
7420 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
7421 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
7422 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7423 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
7424 * gdb.dwarf2/dw2-filename.exp: Likewise.
7425 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7426 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
7427 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7428 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7429 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
7430 * gdb.dwarf2/dw2-noloc.exp: Likewise.
7431 * gdb.dwarf2/dw2-op-call.exp: Likewise.
7432 * gdb.dwarf2/dw2-producer.exp: Likewise.
7433 * gdb.dwarf2/dw2-ranges.exp: Likewise.
7434 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
7435 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
7436 * gdb.dwarf2/dw2-strp.exp: Likewise.
7437 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
7438 * gdb.dwarf2/implptr.exp: Likewise.
7439 * gdb.dwarf2/mac-fileno.exp: Likewise.
7440 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
7441 * gdb.dwarf2/pieces.exp: Likewise.
7442 * gdb.dwarf2/pr11465.exp: Likewise.
7443 * gdb.dwarf2/valop.exp: Likewise.
7444 * gdb.dwarf2/watch-notconst.exp: Likewise.
7445 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
7446
4694da01
TT
74472011-01-19 Tom Tromey <tromey@redhat.com>
7448
7449 * gdb.python/py-infthread.exp: Add thread tests.
7450
b075872c
JB
74512011-01-14 Joel Brobecker <brobecker@adacore.com>
7452
7453 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
7454
2c3e6e24
JB
74552011-01-14 Joel Brobecker <brobecker@adacore.com>
7456
7457 * gdb.ada/widewide: New testcase.
7458
de8fa76c
JB
74592011-01-13 Joel Brobecker <brobecker@adacore.com>
7460
7461 * gdb.base/interact.exp: New testcase.
7462
1b05df00
TT
74632011-01-12 Tom Tromey <tromey@redhat.com>
7464
7465 * gdb.mi/gdb2549.exp: Update for error message changes.
7466 * gdb.mi/mi-cli.exp: Likewise.
7467 * gdb.mi/mi-disassemble.exp: Likewise.
7468 * gdb.mi/mi-pthreads.exp: Likewise.
7469 * gdb.mi/mi-regs.exp: Likewise.
7470 * gdb.mi/mi-stack.exp: Likewise.
7471 * gdb.mi/mi-var-block.exp: Likewise.
7472 * gdb.mi/mi-var-cmd.exp: Likewise.
7473 * gdb.mi/mi2-cli.exp: Likewise.
7474 * gdb.mi/mi2-disassemble.exp: Likewise.
7475 * gdb.mi/mi2-pthreads.exp: Likewise.
7476 * gdb.mi/mi2-regs.exp: Likewise.
7477 * gdb.mi/mi2-stack.exp: Likewise.
7478 * gdb.mi/mi2-var-block.exp: Likewise.
7479 * gdb.mi/mi2-var-cmd.exp: Likewise.
7480
c2ff108b
JK
74812011-01-12 Andrew Burgess <aburgess@broadcom.com>
7482 Jan Kratochvil <jan.kratochvil@redhat.com>
7483
7484 PR fortran/11104 and DWARF unbound arrays detection.
7485 * gdb.fortran/multi-dim.exp: New file.
7486 * gdb.fortran/multi-dim.f90: New file.
7487
b716877b
AB
74882011-01-12 Andrew Burgess <aburgess@broadcom.com>
7489
7490 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
7491 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
7492 add new tests for opcode dumping.
7493
6c162d5e
TT
74942011-01-11 Tom Tromey <tromey@redhat.com>
7495
7496 * gdb.python/py-infthread.exp: Load gdb-python.exp.
7497
77b06cd7
TJB
74982010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
7499
7500 Convert hardware watchpoints to use breakpoint_ops.
7501 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
7502 type is not supported.
7503 * gdb.base/foll-fork.exp: Likewise.
7504 * gdb.base/foll-vfork.exp: Likewise.
7505
f39a75d0
PM
75062011-01-10 Phil Muldoon <pmuldoon@redhat.com>
7507
7508 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
7509 Use load_lib gdb-python.exp.
7510 * gdb.python/python.exp: Ditto.
7511 * gdb.python/py-function.exp: Ditto.
7512
fc529d80
AS
75132011-01-09 Andreas Schwab <schwab@linux-m68k.org>
7514
7515 * gdb.threads/tls.exp ("info address me"): Fix expected output.
7516
fb03cb59
JK
75172011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7518
7519 * configure: Regenerate.
7520
d8e22779
TT
75212011-01-06 Tom Tromey <tromey@redhat.com>
7522
7523 * gdb.python/py-frame.exp: Test gdb.newest_frame.
7524
09050809
JB
75252011-01-06 Joel Brobecker <brobecker@adacore.com>
7526
fc529d80
AS
7527 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
7528 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
7529 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7530 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
7531 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
7532 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7533 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
7534 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
7535 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
7536 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
7537 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
7538 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
7539 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
7540 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7541 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7542 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
7543 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
7544 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
7545 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7546 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
7547 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
7548 gdb.ada/uninitialized_vars.exp,
7549 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
7550 Simplify by using clean_restart.
09050809 7551
8ed5dd9e
JB
75522011-01-06 Joel Brobecker <brobecker@adacore.com>
7553
7554 Add marker to be used as anchor for inserting breakpoints.
7555 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
7556 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
7557 Likewise.
7558
7559 Remove uses of gdb_start_cmd.
7560 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
7561 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
7562
7563 Do not run testcase if testing with GDBserver.
7564 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
7565 if testing with GDBserver.
7566
368a124f
JB
75672011-01-06 Joel Brobecker <brobecker@adacore.com>
7568
7569 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
7570 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
7571 copyright header.
7572
44944448
JB
75732011-01-05 Joel Brobecker <brobecker@adacore.com>
7574
7575 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
7576 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
7577 testsuite/gdb.fortran/complex.f,
7578 testsuite/gdb.fortran/derived-type.f90,
7579 testsuite/gdb.fortran/library-module-lib.f90,
7580 testsuite/gdb.fortran/library-module-main.f90,
7581 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
7582 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
7583 Copyright year update.
7584
31886ea6
JB
75852011-01-05 Joel Brobecker <brobecker@adacore.com>
7586
7587 * gdb.base/langs1.f: Add copyright header.
7588
ebedcab5
JK
75892011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7590
7591 * gdb.base/morestack.exp: New file.
7592 * gdb.base/morestack.c: New file.
7593
de1eb2f9
JK
75942011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7595
7596 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
7597
9e87a409
JB
75982010-12-29 Joel Brobecker <brobecker@adacore.com>
7599
7600 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
7601 * gdb.ada/arrayptr.exp: Add test printing that new variable.
7602
720d1a40
JB
76032010-12-29 Joel Brobecker <brobecker@adacore.com>
7604
7605 * gdb.ada/lang_switch.exp: Correct expected parameter value.
7606
a283af87
AS
76072010-12-25 Andreas Schwab <schwab@linux-m68k.org>
7608
5d3d9cba
AS
7609 * gdb.threads/tls.exp: Fix typo.
7610
a283af87
AS
7611 * gdb.threads/thread-specific.exp (get_thread_list): Update.
7612 * gdb.threads/execl.exp: Update.
7613
2a20745c
YQ
76142010-12-23 Yao Qi <yao@codesourcery.com>
7615
7616 * gdb.arch/arm-disp-step.exp: New.
7617 * gdb.arch/arm-disp-step.S: New.
7618
a7658b96
TT
76192010-12-21 Tom Tromey <tromey@redhat.com>
7620
7621 * gdb.threads/execl.exp: Update.
7622 * gdb.threads/linux-dp.exp: Update.
7623 * gdb.threads/manythreads.exp: Update.
7624 * gdb.threads/tls.exp: Update.
7625
5b79abe7
TT
76262010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7627
7628 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
7629 (NextOverThrowDerivates) <resumebpt>: New.
7630 (resumebpt_test): New.
7631 (main): Call resumebpt_test.
7632 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
7633
0914bcdb
SS
76342010-12-12 Stan Shebs <stan@codesourcery.com>
7635
7636 * gdb.trace/tsv.exp: Test print command on trace state variables.
7637
305aeedc
TT
76382010-12-09 Tom Tromey <tromey@redhat.com>
7639
7640 * gdb.base/interp.exp: Add regression test.
7641
186c406b
TT
76422010-12-09 Tom Tromey <tromey@redhat.com>
7643
7644 * gdb.java/jnpe.java: New file.
7645 * gdb.java/jnpe.exp: New file.
7646 * gdb.cp/nextoverthrow.exp: New file.
7647 * gdb.cp/nextoverthrow.cc: New file.
7648
aae1c79a
DE
76492010-12-07 Doug Evans <dje@google.com>
7650
7651 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
7652 of data-directory.
7653 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
7654 updated.
7655 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
7656
60f98dde 76572010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
7658
7659 * gdb.base/callfuncs.exp: Test for skip_float_tests.
7660 * gdb.base/call-sc.exp: Ditto.
7661 * gdb.base/finish.exp: Ditto.
7662 * gdb.base/return.exp: Ditto.
7663 * gdb.base/return2.exp: Ditto.
7664
5fa290c1
DE
76652010-11-30 Doug Evans <dje@google.com>
7666
7667 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
7668 (gdb_expect_list): Fix spelling errors in comments.
7669 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
7670 send_gdb/gdb_expect_list where applicable.
7671 * gdb.base/call-ar-st.exp: Ditto.
7672 * gdb.base/funcargs.exp: Ditto.
7673 * gdb.base/gcore.exp: Ditto.
7674 * gdb.base/page.exp: Ditto.
7675 * gdb.base/sigaltstack.exp: Ditto.
7676 * gdb.base/siginfo.exp: Ditto.
7677 * gdb.base/sigstep.exp: Ditto.
7678 * gdb.base/trace-commands.exp: Ditto.
7679
4e04c971
DE
76802010-11-29 Doug Evans <dje@google.com>
7681
7682 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
7683 printer-name;subprinter-name.
7684
8cf6f0b1
TT
76852010-11-29 Tom Tromey <tromey@redhat.com>
7686
7687 * gdb.dwarf2/implptr.exp: New file.
7688 * gdb.dwarf2/implptr.c: New file.
7689 * gdb.dwarf2/implptr.S: New file.
7690
94b6973e
PM
76912010-11-29 Phil Muldoon <pmuldoon@redhat.com>
7692
fc529d80 7693 PR python/12199
94b6973e
PM
7694
7695 * gdb.python/py-breakpoint.exp: Test the delete method.
7696
8358c15c
JK
76972010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7698
7699 Fix step_resume_breakpoint unsaved during an infcall.
7700 * gdb.base/step-resume-infcall.exp: New file.
7701 * gdb.base/step-resume-infcall.c: New file.
7702
f6df29bc
TJB
77032010-11-24 Edjunior Machado <emachado@br.ibm.com>
7704
7705 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
7706
f2b5a5cf
TJB
77072010-11-24 Edjunior Machado <emachado@br.ibm.com>
7708
7709 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
7710 on ppc64's symbols; "finish" and "return" commands must accept to
7711 show the caller line again as well as the line after.
7712 * gdb.asm/powerpc64.inc: New file.
7713
6b0ecdc2
DE
77142010-11-23 Doug Evans <dje@google.com>
7715
7716 * lib/gdb.exp (gdb_test_sequence): New function.
7717 (gdb_expect_list): Add verbose -log call for each pattern.
7718 * gdb.base/signals.exp (test_handle_all_print): Call it.
7719 Reduce timeout increment from 6 minutes to 1 minute.
7720 * gdb.server/ext-run.exp: Call it.
7721
ea976c60
PM
77222010-11-23 Phil Muldoon <pmuldoon@redhat.com>
7723
f2b5a5cf 7724 PR python/12212
ea976c60
PM
7725
7726 * gdb.python/python.exp: Check that selected_thread raises an
7727 error when no inferior is loaded.
7728
c0efa795
JK
77292010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7730
7731 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
7732 * gdb.dwarf2/dw2-stack-boundary.S: New file.
7733
ec3aa567
JK
77342010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7735
7736 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
7737 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
7738
d8249011
DE
77392010-11-18 Doug Evans <dje@google.com>
7740
7741 * gdb.server/ext-run.exp: Fix intermittent failures.
7742
d4eba7d1
NF
77432010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7744
7745 * gdb.stabs/gdb11479.exp: Use runto_main.
7746
b04c2f88
NF
77472010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7748
7749 * gdb.base/break-entry.exp: Skip if using a stub.
7750
ae9d7ce4
NF
77512010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7752
7753 * gdb.python/py-inferior.exp: Pack values in target endianness.
7754
621c8364
TT
77552010-11-12 Tom Tromey <tromey@redhat.com>
7756
7757 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
7758 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
7759 MemoryError.
7760 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
7761 type.
7762 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
7763 MemoryError.
7764 (test_subscript_regression): Update exception type.
7765
84f4c1fe
PM
77662010-11-11 Phil Muldoon <pmuldoon@redhat.com>
7767
7768 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
7769 breakpoint tests.
7770
a1442452
PA
77712010-11-09 Pedro Alves <pedro@codesourcery.com>
7772
7773 * gdb.base/watchpoint.exp: Test "watch -location" with an
7774 innacessible location.
7775
efd11a33
JK
77762010-11-09 Edjunior Machado <emachado@br.ibm.com>
7777 Luis Machado <luisgpm@br.ibm.com>
7778
7779 * gdb.base/maint.exp: Expect "." prefix.
7780 * gdb.base/nodebug.exp: Expect "." Likewise.
7781 * gdb.base/sepsymtab.exp: Expect "." Likewise.
7782 * gdb.base/watchpoint-cond-gone.exp: Likewise.
7783 * gdb.base/watchpoint.exp: Expect a software watch to be created for
7784 POWER server processors.
7785
aa00efb5
JK
77862010-11-08 Edjunior Machado <emachado@br.ibm.com>
7787 Luis Machado <luisgpm@br.ibm.com>
7788
7789 * gdb.base/break-entry.exp: convert entry point for
7790 ppc64 and expect leading `.' on ppc64's symbols
7791
99e7ae30
DE
77922010-11-05 Doug Evans <dje@google.com>
7793
7794 * gdb.base/help.exp: Update expected output.
b521dba8
DE
7795 * gdb.python/py-param.exp: Delete, contents moved to ...
7796 * gdb.python/py-parameter.exp: ... here. New file.
7797 Add test for gdb.parameter ("directories").
99e7ae30 7798
f4b8a18d
KW
77992010-11-05 Ken Werner <ken.werner@de.ibm.com>
7800
7801 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
7802 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
7803 * configure: Regenerate.
7804 * gdb.opencl/Makefile.in: New File.
7805 * gdb.opencl/datatypes.exp: Likewise.
7806 * gdb.opencl/datatypes.cl: Likewise.
7807 * gdb.opencl/operators.exp: Likewise.
7808 * gdb.opencl/operators.cl: Likewise.
7809 * gdb.opencl/vec_comps.exp: Likewise.
7810 * gdb.opencl/vec_comps.cl: Likewise.
7811 * gdb.opencl/convs_casts.exp: Likewise.
7812 * gdb.opencl/convs_casts.cl: Likewise.
7813 * lib/opencl.exp: Likewise.
7814 * lib/opencl_hostapp.c: Likewise.
7815 * lib/opencl_kernel.cl: Likewise.
7816 * lib/cl_util.c: Likewise.
7817 * lib/cl_util.c: Likewise.
7818 * gdb.base/default.exp (set language): Add "opencl" to the list of
7819 languages.
7820
a9d5ef47
SW
78212010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
7822
7823 * gdb.cp/overload.exp: Added test for inheritance overload.
7824 * gdb.cp/overload.cc: Ditto.
7825 * gdb.cp/oranking.exp: Removed releveant kfails.
7826
03eb1c79
JK
78272010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7828 Joel Brobecker <brobecker@adacore.com>
7829
7830 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
7831 check test_compiler_info.
7832
dbc98a8b
KW
78332010-11-03 Ken Werner <ken.werner@de.ibm.com>
7834
7835 * gdb.base/gnu_vector.exp: Adjust expect messages.
7836
120bd360
KW
78372010-11-03 Ken Werner <ken.werner@de.ibm.com>
7838
7839 * gdb.base/gnu_vector.exp: Add unary operator tests.
7840
c37f7098
KW
78412010-11-03 Ken Werner <ken.werner@de.ibm.com>
7842
7843 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
7844
7b51bc51
DE
78452010-11-02 Doug Evans <dje@google.com>
7846
7847 * gdb.python/py-pp-maint.c: New file.
7848 * gdb.python/py-pp-maint.exp: New file.
7849 * gdb.python/py-pp-maint.py: New file.
7850
50c97f38
TT
78512010-11-02 Tom Tromey <tromey@redhat.com>
7852
7853 * gdb.base/default.exp: Remove "scheme" from language list.
7854
a289b8f6
JK
78552010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7856
7857 Revert:
7858 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7859 * gdb.threads/sigstep-threads.exp: New file.
7860 * gdb.threads/sigstep-threads.c: New file.
7861
cd017491
MS
78622010-10-20 Michael Snyder <msnyder@vmware.com>
7863
7864 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
7865
8e6a5956
UW
78662010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
7867
7868 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
7869 Skip test completely if gdb,no_hardware_watchpoints.
7870
2c04da0d
UW
78712010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
7872
7873 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
7874 strict, but do not check for any particular function name within libc.
7875
79afc5ef
SW
78762010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
7877
7878 * gdb.cp/smartp.exp: New test.
7879 * gdb.cp/smartp.cc : New test.
7880
026ffab7
SW
78812010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
7882
7883 * gdb.cp/converts.exp: Test pointer to bool conversion.
7884 Test pointer to long conversion.
7885 * gdb.cp/oranking.exp: Removed relevant kfail.
7886
3a772aa4
TT
78872010-10-18 Tom Tromey <tromey@redhat.com>
7888
7889 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
7890 argument to lazy_string.
7891 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
7892 (pp_ls.to_string): Use it.
7893 * gdb.python/py-prettyprint.c (main): Move declarations to top.
7894 Add "estring2" local.
7895
5fc3827b
JK
78962010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7897
7898 Fix s390x compatibility.
7899 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
7900 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
7901
8aeb23f3
JK
79022010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7903
7904 * gdb.threads/sigstep-threads.exp: New file.
7905 * gdb.threads/sigstep-threads.c: New file.
7906
c1e56572
JK
79072010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7908
7909 * gdb.base/pie-execl.exp: New file.
7910 * gdb.base/pie-execl.c: New file.
7911
92163a10
JK
79122010-10-13 Doug Evans <dje@google.com>
7913 Jan Kratochvil <jan.kratochvil@redhat.com>
7914
7915 PR exp/12117
7916 * gdb.cp/ptype-cv-cp.cc: New file.
7917 * gdb.cp/ptype-cv-cp.exp: New file.
7918
7062b0a0
SW
79192010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
7920
7921 * gdb.cp/converts.cc: New test program.
7922 * gdb.cp/converts.exp: New test.
7923 * gdb.cp/overload.exp: Added test for void* vs int*.
7924 * gdb.cp/overload.exp: Ditto.
7925 * gdb.cp/oranking.exp: Removed related kfail.
7926
0e3509db
DE
79272010-10-13 Doug Evans <dje@google.com>
7928
7929 * lib/gdb-python.exp (gdb_check_python_config): New function.
7930 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
7931 * gdb.python/lib-types.cc: New file.
7932 * gdb.python/lib-types.exp: New file.
7933
8dc78533
JK
79342010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7935
7936 * gdb.python/py-error.exp: New file.
7937 * gdb.python/py-error.py: New file.
7938
93c17e06
JK
79392010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7940
7941 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
7942 gdb_test_multiple.
7943
d8b34041
JK
79442010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7945
7946 * gdb.base/break-interp.exp: Use ldlags for linking flags.
7947 * gdb.base/prelink.exp: Likewise.
7948 * gdb.base/solib-nodir.exp: Likewise.
7949 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
7950 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
7951 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
7952
e0cc584e
UW
79532010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
7954
7955 * break-interp.exp (test_ld): Use two separate gdb_expect statements
7956 for the "info files" test to avoid timeouts on slow machines.
7957
cfc353b1
JK
79582010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7959
7960 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
7961 (main): Make openlib dummy call.
7962
d3d7896d
JK
79632010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7964
7965 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
7966 * break-interp.exp (reach): Move the core body ...
7967 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
7968 (test_ld): Provide always real argument, even to the linker. Replace
7969 dl_main by _dl_debug_state.
7970
5e533c94
JK
79712010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7972
7973 Fix results of prelinked PIEs on ppc*.
7974 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
7975 Accept also DISPLACEMENT "PRESENT".
7976 (main): Replace "ZERO" displacements by "PRESENT".
7977
33540610
SW
79782010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
7979
7980 * gdb.cp/oranking.exp: New test.
7981 * gdb.cp/oranking.cc: New test program.
7982
3bdf2bbd
KW
79832010-10-08 Ken Werner <ken.werner@de.ibm.com>
7984
7985 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
7986 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
7987
2f608a3a
KW
79882010-10-06 Ken Werner <ken.werner@de.ibm.com>
7989
7990 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
7991 lush, lynx) New constant.
7992 * gdb.base/constvars.exp: Test const array types.
7993 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
7994
aa2e2d8d
DE
79952010-10-06 Doug Evans <dje@google.com>
7996
7997 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
7998 of syscall staging area.
7999
2844d6b5
KW
80002010-10-06 Ken Werner <ken.werner@de.ibm.com>
8001
8002 * gdb.base/gnu_vector.c: Add variable c4.
8003 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
8004 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8005
7d8ac8bb
MR
80062010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
8007
8008 * gdb.arch/altivec-abi.exp: Fix a typo.
8009
84a02e58
MR
80102010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
8011
8012 * lib/mi-support.exp (thread_selected_re): Correct pattern used
8013 to match a thread ID.
8014
b18e6318
JK
80152010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8016
8017 Fix s390x testcase compatibility.
8018 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
8019
a2c09bd0
DE
80202010-10-01 Doug Evans <dje@google.com>
8021
8022 * lib/gdb-python.exp: New file.
8023 * gdb.python/py-block.exp: Use it.
8024 * gdb.python/py-breakpoint.exp: Ditto.
8025 * gdb.python/py-frame.exp: Ditto.
8026 * gdb.python/py-inferior.exp: Ditto.
8027 * gdb.python/py-param.exp: Ditto.
8028 * gdb.python/py-prettyprint.exp: Ditto.
8029 * gdb.python/py-shared.exp: Ditto.
8030 * gdb.python/py-symbol.exp: Ditto.
8031 * gdb.python/py-symtab.exp: Ditto.
8032 * gdb.python/py-type.exp: Ditto.
8033 * gdb.python/py-value.exp: Ditto.
8034 * gdb.python/python.exp: Ditto.
8035
38f12cfc
TT
80362010-09-30 Tom Tromey <tromey@redhat.com>
8037
8038 * gdb.base/anon.exp: New file.
8039 * gdb.base/anon.c: New file.
8040
9ae8282d
TT
80412010-09-30 Tom Tromey <tromey@redhat.com>
8042
8043 * gdb.base/completion.exp: Test completion through anonymous
8044 union.
8045 * gdb.base/break1.c (struct some_struct): Add anonymous union.
8046
e9e07ba6
JK
80472010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8048
8049 Fix printing parameters of inlined functions.
8050 * gdb.dwarf2/dw2-inline-param.exp: New file.
8051 * gdb.dwarf2/dw2-inline-param-main.c: New file.
8052 * gdb.dwarf2/dw2-inline-param.S: New file.
8053
cd2effb2
JK
80542010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8055
8056 PR corefiles/12071.
8057 * gdb.base/corefile.exp (quit with a process, no question: load core)
8058 (quit with a core file): New tests.
8059
bceffbf3
JK
80602010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8061
8062 Fix GDB crash on inferior calls with self-referencing classes.
8063 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
8064 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
8065 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
8066
1736ad11
JK
80672010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8068
8069 Fix lost siginfo_t for inferior calls.
8070 * gdb.base/siginfo-infcall.exp: New file.
8071 * gdb.base/siginfo-infcall.c: New file.
8072
a176ad92
JB
80732010-09-22 Joel Brobecker <brobecker@adacore.com>
8074
8075 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
8076
c2b0a229
JK
80772010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8078
8079 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
8080 New test.
8081 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
8082
e8ae22d1
JB
80832010-09-22 Joel Brobecker <brobecker@adacore.com>
8084
8085 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
8086 type of our const type.
8087
ec322823
SW
80882010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
8089
8090 * gdb.cp/pr12028.cc: New.
8091 * gdb.cp/pr12028.exp: New.
8092
72929c62
JB
80932010-09-22 Joel Brobecker <brobecker@adacore.com>
8094
8095 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
8096
875b4ff5 80972010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 8098 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
8099
8100 PR mi/11407
8101 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
8102 * gdb.mi/dw2-ref-missing-frame-main.c New File.
8103 * gdb.mi/dw2-ref-missing-frame.S New File.
8104 * gdb.mi/dw2-ref-missing-frame.exp New File.
8105
7155d578
TT
81062010-09-14 Tom Tromey <tromey@redhat.com>
8107
8108 PR symtab/8399:
8109 * gdb.threads/tls.exp: Remove kfail. Update expected output.
8110
515ed532
TT
81112010-09-14 Tom Tromey <tromey@redhat.com>
8112
8113 PR exp/11803:
8114 * gdb.threads/tls.exp: Use C++.
8115 (check_thread_local): Use K::another_thread_local.
8116 * gdb.threads/tls.c (class K): New.
8117 (another_thread_local): Now a member of K.
8118 (spin): Update. No longer K&R C.
8119
450ca57c
SW
81202010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8121
8122 * gdb.cp/koenig.cc: created class for testing member lookup.
8123 * gdb.cp/koenig.exp: Added test for member lookup.
8124
dbd492a3
JK
81252010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8126
8127 Fix false FAILs on sourcetree topdir directory containing "kill".
8128 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
8129 source line matching regexp.
8130
8d4d924b
JK
81312010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8132
8133 * gdb.python/python.exp (set height 0, collect help from uiout)
8134 (verify help to uiout): New tests.
8135
8e64f2a0
JK
81362010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8137
8138 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
8139 is_lp64_target to check 64bit target.
8140
4569eed2
JK
81412010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8142
8143 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
8144 (test_ld) <powerpc64-*>: New.
8145
5e1617b1
DJ
81462010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8147
8148 * gdb.cp/templates.exp (test_template_args): Allow "struct".
8149
c767944b
DJ
81502010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8151
8152 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
8153 (FunctionArg::method): New function.
8154 (empty, arg): New variables.
8155 (main): Call arg.method.
8156 * gdb.cp/templates.exp (test_template_args): New function.
8157 (do_tests): Call it.
8158
27d3a3fc
UW
81592010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8160
8161 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
8162 of "next" to proceed over pthread_exit call.
8163
55b7ce7f
UW
81642010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8165
8166 * gdb.base/maint.exp: Avoid wildcards against potentially very long
8167 "maint print statistics" output to prevent expect timeouts.
8168
809df446
JK
81692010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8170
8171 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
8172 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8173 (test_float_rejected): ... here.
8174 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
8175 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8176 (test_float_rejected): ... here.
8177 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
8178 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8179 (test_float_rejected): ... here.
8180 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
8181 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8182 (test_float_rejected): ... here.
8183
8464be76
DJ
81842010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8185
8186 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
8187 before disabling hardware watchpoints.
8188 (test_inaccessible_watchpoint): Check that hardware watchpoints
8189 are used. Test for watchpoints on a constant address.
8190
14dba4b4
JK
81912010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8192
8193 * gdb.base/ui-redirect.exp: New file.
8194
3f3540e1 81952010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 8196 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
8197
8198 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
8199
0f254bb7
DE
82002010-08-31 Doug Evans <dje@google.com>
8201
8202 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
8203
03f17ccf
TT
82042010-08-30 Tom Tromey <tromey@redhat.com>
8205
8206 PR python/11792:
8207 * gdb.python/py-value.exp (test_subscript_regression): Add
8208 dynamic_type test.
8209
640617ad
DJ
82102010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
8211
8212 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
8213 instead of running to main. Do not test the main function.
8214 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
8215 Add new main.
8216
2ed91d1b
PA
82172010-08-26 Pedro Alves <pedro@codesourcery.com>
8218
8219 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
8220 one test.
8221
673bfd45
DE
82222010-08-24 Doug Evans <dje@google.com>
8223
8224 PR symtab/11942
8225 * gdb.dwarf2/dw4-sig-types.cc: New file.
8226 * gdb.dwarf2/dw4-sig-types.h: New file.
8227 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
8228 * gdb.dwarf2/dw4-sig-types.exp: New file.
8229
f9ffd4bb
TT
82302010-08-23 Tom Tromey <tromey@redhat.com>
8231
8232 PR python/11145:
8233 * gdb.python/py-value.c (Base, Derived): New types.
8234 (base): New global.
8235 * gdb.python/py-value.exp (test_subscript_regression): Add
8236 dynamic_cast test.
8237
d839c8a4
TT
82382010-08-23 Tom Tromey <tromey@redhat.com>
8239
8240 PR python/10676:
8241 * gdb.python/py-type.exp (test_fields): Add tests for type
8242 equality.
8243
702c2711
TT
82442010-08-23 Tom Tromey <tromey@redhat.com>
8245
8246 PR python/11915:
8247 * gdb.python/py-type.exp (test_fields): Add tests for array.
8248
832bafd3
KS
82492010-08-23 Keith Seitz <keiths@redhat.com>
8250
8251 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
8252 have any children. Create a new abbrev for it.
8253 Add missing terminal sequence to .debug_abbrev.
8254
c37bf528
KS
82552010-08-20 Keith Seitz <keiths@redhat.com>
8256
8257 PR symtab/11465:
8258 * gdb.dwarf2/pr11465.exp: New test.
8259 * gdb.dwarf2/pr11465.S: New file.
8260 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
8261 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
8262
4572cbac
TJB
82632010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
8264
8265 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
8266 registers. Update data sets with the new v2_double element in the
8267 VSX register union. Add vector_register3_vr data set for the AltiVec
8268 registers. Use gdb_test_no_output instead of send_gdb.
8269
e7fbb131
PA
82702010-08-19 Pedro Alves <pedro@codesourcery.com>
8271
8272 * gdb.python/py-shared.exp: New file, factored out from
8273 python.exp.
8274 * gdb.python/py-shared.c: New file.
8275 * gdb.python/py-shared-sl.c: New file.
8276 * gdb.python/python-1.c: New file.
8277 * gdb.python/python-sl.c: Delete.
8278 * gdb.python/python.c: Mention python-1.c.
8279 * gdb.python/python.exp: Move shared library tests to
8280 py-shared.exp.
8281 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
8282 (MISCELLANEOUS): New.
8283 (clean mostlyclean): Also remove $MISCELLANEOUS.
8284
d30f5e1f
DE
82852010-08-19 Doug Evans <dje@google.com>
8286
8287 PR exp/11926
8288 * gdb.base/printcmds.exp (test_float_accepted): New function.
8289 Move existing float tests there. Add tests for floats with suffixes.
8290 (test_float_rejected): New function.
8291 * gdb.java/jv-print.exp (test_float_accepted): New function.
8292 (test_float_rejected): New function.
8293 * gdb.objc/print.exp: New file.
8294 * gdb.pascal/print.exp: New file.
8295 * lib/objc.exp: New file.
8296
7b3fd859
PM
82972010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
8298
8299 * gdb.base/default.exp (info set): Avoid full buffer error and force
8300 reading up to final gdb prompt.
8301 (show): Likewise.
8302
c92817ce
TT
83032010-08-18 Tom Tromey <tromey@redhat.com>
8304
8305 PR symtab/11919:
8306 * gdb.base/completion.exp: Add test.
8307
f1208f9e
DE
83082010-08-18 Doug Evans <dje@google.com>
8309
8310 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
8311 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
8312 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
8313 Simplify, early exit if runto_main fails.
8314 * gdb.fortran/exprs.exp: load_lib fortran.exp.
8315 (set_lang_fortran): Moved to lib/fortran.exp.
8316 * gdb.fortran/types.exp: load_lib fortran.exp.
8317 (set_lang_fortran): Moved to lib/fortran.exp.
8318 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
8319 * gdb.java/jprint.exp (set_lang_java): Ditto.
8320 * gdb.java/jv-exp.exp: load_lib java.exp.
8321 If set_lang_java fails, issue a warning instead of failure to be
8322 consistent with other set_lang_foo uses.
8323 (set_lang_java): Moved to lib/java.exp.
8324 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
8325 If set_lang_java fails, issue a warning instead of failure to be
8326 consistent with other set_lang_foo uses.
8327 * gdb.pascal/types.exp: load_lib pascal.exp.
8328 (set_lang_pascal): Moved to lib/pascal.exp.
8329 * lib/fortran.exp: New file.
8330 * lib/java.exp (set_lang_java): New function.
8331 * lib/pascal.exp (set_lang_pascal): New function.
8332
2f06b485
YQ
83332010-08-18 Yao Qi <yao@codesourcery.com
8334
8335 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
8336 func_nofb_start and func_loopfb_start, so that address of functions
8337 is equal to these labels on Thumb.
8338
96e25403
YQ
83392010-08-18 Yao Qi <yao@codesourcery.com>
8340
8341 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
8342 to reflect latest c source file.
8343
36e6adc4
JK
83442010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8345
8346 * gdb.cp/infcall-dlopen.exp: New file.
8347 * gdb.cp/infcall-dlopen.cc: New file.
8348 * gdb.cp/infcall-dlopen-lib.cc: New file.
8349
f431efe5
PA
83502010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8351 Pedro Alves <pedro@codesourcery.com>
8352
8353 PR breakpoints/11371
8354
8355 * gdb.base/watch-cond-infcall.exp: New file.
8356 * gdb.base/watch-cond-infcall.c: New file.
8357
06a64a0b
TT
83582010-08-16 Tom Tromey <tromey@redhat.com>
8359
8360 * gdb.base/help.exp: Update.
8361 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
8362 watchpoint.
8363 (test_watch_location): New proc.
8364 (test_watchpoint_in_big_blob): Delete watchpoint.
8365 * gdb.base/watchpoint.c (func5): New function.
8366 (main): Call it.
8367
70ebf4ed
DE
83682010-08-16 Doug Evans <dje@google.com>
8369
8370 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
8371
ca5c20b6
PM
83722010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8373
8374 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
8375 tests.
8376
7346b668
KW
83772010-08-11 Ken Werner <ken.werner@de.ibm.com>
8378
8379 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
8380 * gdb.base/gnu_vector.c: New File.
8381 * gdb.base/gnu_vector.exp: Likewise.
8382
cb2e07a6
PM
83832010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8384
8385 * gdb.python/python.c: New File.
8386 * gdb.python/python-sl.c: New File.
8387 * gdb.python/python.exp: Test solib_address and decode_line
8388 * functions.
8389
5da1313b
JK
83902010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8391
8392 * gdb.python/python.exp (show height, set height 10)
8393 (verify pagination beforehand, verify pagination beforehand: q)
8394 (gdb.execute does not page, verify pagination afterwards)
8395 (verify pagination afterwards: q): New.
8396
49c3ccf7
DE
83972010-08-02 Doug Evans <dje@google.com>
8398
8399 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
8400 because of an older gcc, change test2
8401 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
8402 to unsupported.
8403
42c0c4f1
KH
84042010-07-30 Kazu Hirata <kazu@codesourcery.com>
8405
8406 * gdb.base/break-always.exp: Do not expect full paths to file
8407 names.
8408 * gdb.base/commands.exp: Likewise.
8409
d3765805
DE
84102010-07-30 Doug Evans <dje@google.com>
8411
c98ee71b
DE
8412 * gdb.cp/temargs.exp: For new tests that require newer gccs,
8413 xfail them when run with older gccs.
8414
fd961404
DE
8415 * lib/gdb.exp (build_executable): Forward "c++" option to
8416 get_compiler_info.
8417
999adef4
DE
8418 * gdb.python/py-type.exp (test_template): Mark as xfail tests
8419 "python print ttype.template_argument(1)" and
8420 "python print isinstance(ttype.template_argument(1), gdb.Value)"
8421 if using gcc 4.4 or earlier.
8422
d3765805
DE
8423 * gdb.base/valgrind-db-attach.exp: Use unique test name for
8424 attach-to-debugger handling.
8425
1276c759
JK
84262010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8427
8428 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
8429 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
8430 (main): Use copyreloc.
8431 * gdb.base/prelink.exp (split debug of executable)
8432 (.dynbss vs. .bss address shift): New tests.
8433
88caa9b9
PA
84342010-07-29 Pedro Alves <pedro@codesourcery.com>
8435
8436 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
8437 in gdb_test_multiple.
8438
c6f2ac43
PA
84392010-07-29 Pedro Alves <pedro@codesourcery.com>
8440
8441 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
8442 environment.
8443
326fd672
TT
84442010-07-28 Tom Tromey <tromey@redhat.com>
8445
8446 PR python/11060:
8447 * gdb.python/py-type.c (Temargs): New template.
8448 (temvar): New variable.
8449 * gdb.python/py-type.exp (test_template): New proc.
8450
3ce3b1ba
PA
84512010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8452
8453 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
8454 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
8455
34eaf542
TT
84562010-07-28 Tom Tromey <tromey@redhat.com>
8457
8458 PR c++/9946:
8459 * gdb.cp/temargs.exp: New file.
8460 * gdb.cp/temargs.cc: New file.
8461
d41b819e
JK
84622010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8463
8464 * gdb.base/help.exp (help disassemble): Update the content.
8465
26ab7092
JK
84662010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8467
8468 * gdb.threads/ia64-sigill.exp: New file.
8469 * gdb.threads/ia64-sigill.c: New file.
8470
5283e9e1
TT
84712010-07-27 Tom Tromey <tromey@redhat.com>
8472
8473 * gdb.opt/inline-cmds.c (ATTR): New define.
8474 (func1): Use it.
8475 (func2): Likewise.
8476 (func3): Likewise.
8477 (outer_inline1): Likewise.
8478 (outer_inline2): Likewise.
8479 * gdb.opt/inline-bt.c (ATTR): New define.
8480 (func1): Use it.
8481 (func2): Likewise.
8482 * gdb.opt/inline-locals.c (ATTR): New define.
8483 (func1): Use it.
8484 (func2): Likewise.
8485
e992ef73
TT
84862010-07-27 Tom Tromey <tromey@redhat.com>
8487
8488 * gdb.stabs/gdb11479.c (hack): New function.
8489 (test): Use it.
8490 (test2): Use it.
8491 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
8492 (int32_search_buf, int64_search_buf): No longer static.
8493 (x): Remove.
8494 * gdb.base/relocate.c (hack): New function.
8495
5374244e
PM
84962010-07-27 Phil Muldoon <pmuldoon@redhat.com>
8497
8498 * gdb.python/py-value.exp (test_inferior_function_call): New function.
8499 * gdb.python/py-value.c (func1): New function.
8500 (func2): Likewise.
8501
a99aee83
CV
85022010-07-26 Corinna Vinschen <vinschen@redhat.com>
8503
8504 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
8505 as not to clash with .data section.
8506
a04ba985
JG
85072010-07-26 Jerome Guitton <guitton@adacore.com>
8508
8509 * gdb.base/code_elim.exp: New file.
8510 * gdb.base/code_elim1.c: New file.
8511 * gdb.base/code_elim2.c: New file.
8512
23bd0f7c
PA
85132010-07-21 Pedro Alves <pedro@codesourcery.com>
8514
8515 PR symtab/11827
8516
8517 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
8518 (some_volatile_enum): New variable.
8519 * gdb.base/printcmds.exp (test_print_enums): New.
8520 <top level>: Call it.
8521
883df6dd
SW
85222010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
8523
8524 * gdb.cp/fpointer.cc: New test.
8525 * gdb.cp/fpointer.exp: New test.
8526
569b05a5
JK
85272010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8528
8529 * gdb.base/solib-nodir.exp: New file.
8530 * lib/gdb.exp (runto): New case for a GDB internal error.
8531
51d7d803
JK
85322010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8533 Ulrich Weigand <uweigand@de.ibm.com>
8534 Tom Tromey <tromey@redhat.com>
8535
8536 * gdb.base/charset-malloc.c: New file.
8537 * gdb.base/charset.c (malloc_stub): New prototype.
8538 (main): Call it instead of malloc itself.
8539 * gdb.base/charset.exp: Use only prepare_for_testing.
8540 (binfile): Remove the variable.
8541
c0edd9ed
JK
85422010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8543
8544 Make core files the process_stratum.
8545 * gdb.base/corefile.exp (run: load core again)
8546 (run: sanity check we see the core file, run: with core)
8547 (run: core file is cleared, attach: load core again)
8548 (attach: sanity check we see the core file, attach: with core)
8549 (attach: core file is cleared): New tests.
8550 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
8551
3cbaedff
KW
85522010-07-14 Ken Werner <ken.werner@de.ibm.com>
8553
8554 * gdb.arch/altivec-abi.exp: New tests.
8555
91158a56
TT
85562010-07-13 Tom Tromey <tromey@redhat.com>
8557
8558 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
8559 (main): Use it.
8560 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
8561
0f5238ed
TT
85622010-07-13 Tom Tromey <tromey@redhat.com>
8563
8564 * gdb.base/label.exp: New file.
8565 * gdb.base/label.c: New file.
8566
add265ae
L
85672010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
8568 H.J. Lu <hongjiu.lu@intel.com>
8569
8570 * lib/gdb.exp (is_ilp32_target): New.
8571 (is_lp64_target): Likewise.
8572
8573 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
8574 target.
8575 * gdb.arch/amd64-disp-step.exp: Likewise.
8576 * gdb.arch/amd64-dword.exp: Likewise.
8577 * gdb.arch/amd64-i386-address.exp: Likewise.
8578 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 8579
add265ae
L
8580 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
8581 target.
8582 * gdb.arch/i386-bp_permanent.exp: Likewise.
8583 * gdb.arch/i386-byte.exp: Likewise.
8584 * gdb.arch/i386-disp-step.exp: Likewise.
8585 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8586 * gdb.arch/i386-prologue.exp: Likewise.
8587 * gdb.arch/i386-size-overlap.exp: Likewise.
8588 * gdb.arch/i386-size.exp: Likewise.
8589 * gdb.arch/i386-sse.exp: Likewise.
8590 * gdb.arch/i386-unwind.exp: Likewise.
8591 * gdb.arch/i386-word.exp: Likewise.
8592
8593 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
8594 test only when building 64-bit executables. Do not hard-code
8595 -m64 option.
8596
2dfb8c17
DE
85972010-07-07 Doug Evans <dje@google.com>
8598
8599 * lib/gdb.exp (gdb_test_list_exact): New function.
8600 * gdb.base/default.exp (show convenience): Call it, add tests for
8601 $_sdata = void, $_thread = 0.
8602
4e5799b6
JK
86032010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8604 Joel Brobecker <brobecker@adacore.com>
8605
8606 Fix re-run of PIE executable, PR shlibs/11776.
8607 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
8608 Remove $displacement_main to match the solib-svr4.c change. New "kill"
8609 and re-"run" of the inferior.
8610
1a219cc7
JK
86112010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8612 Joel Brobecker <brobecker@adacore.com>
8613
8614 Cope with missing /usr/sbin/prelink.
8615 * lib/prelink-support.exp (prelink_no):
8616 <result == 1 && $output is "no such file or directory">: New.
8617 (prelink_yes): Likewise. Return on failed prelink_no.
8618
5e3b36f8
JK
86192010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8620 Joel Brobecker <brobecker@adacore.com>
8621
8622 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
8623 build_executable by build_executable_own_libs. Replace "prelink -R"
8624 execution by a call of prelink_yes. Comment why "prelink -r" needs no
8625 change.
8626 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
8627 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
8628 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
8629 Replace build_executable by build_executable_own_libs's function
8630 build_executable_own_libs.
8631 (prelinkNO): Create new stub to call prelink_no.
8632 (prelinkYES): Create new stub to call prelink_yes.
8633 (test_attach): Rename calls of copy to file_copy.
8634 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
8635 (copy): Move to ...
8636 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
8637 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
8638 * gdb.base/prelink.exp: Disable testcase also for is_remote and
8639 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
8640 special flags by gdb_compile_shlib. Replace second gdb_compile by
8641 build_executable_own_libs. Replace "prelink -R" execution by a call of
8642 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
8643 a second call of prelink_yes. Replace restart commands by
8644 clean_restart.
8645 (prelink): Rename to ...
8646 (seen displacement message): ... this test. Extend its expectation
8647 strictness.
8648
86e4bafc
JK
86492010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8650
8651 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
8652 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
8653 displacement message exactly once.
8654
3cd07d20
JK
86552010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8656 Joel Brobecker <brobecker@adacore.com>
8657
8658 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
8659 its restore after the <$relink_args != ""> loop. new comment.
8660
0a1e94c7
JK
86612010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8662 Joel Brobecker <brobecker@adacore.com>
8663
8664 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
8665 code for it. New variable relink_args.
8666 (prelinkYES): Call prelinkNO.
8667 (test_attach): Accept new parameter relink_args. Re-prelink the binary
8668 in such case. Move the core code to ...
8669 (test_attach_gdb): ... a new function. Send GDB command "file".
8670 Extend expected "Attaching to " string.
8671
2f70bcfb
TT
86722010-07-02 Tom Tromey <tromey@redhat.com>
8673
8674 * gdb.base/bitops.exp: Remove extraneous "pass".
8675
a17ac5b0
TT
86762010-07-02 Ken Werner <ken.werner@de.ibm.com>
8677
8678 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8679
dc10affe
PA
86802010-07-01 Pedro Alves <pedro@codesourcery.com>
8681
d41c0fc8
PA
8682 * gdb.base/help.exp: Adjust expected output.
8683
86842010-07-01 Pedro Alves <pedro@codesourcery.com>
8685
8686 * gdb.base/help.exp: Adjust expected output.
dc10affe 8687
0a600c36
JK
86882010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8689
8690 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
8691 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
8692 c++/11702.
8693
37cc8bfe
JK
86942010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8695 Doug Evans <dje@google.com>
8696
8697 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
8698 add .dynamic entry'.
8699
254e6b9e
DE
87002010-06-29 Doug Evans <dje@google.com>
8701
8702 Test PR c++/11702.
8703 * gdb.cp/m-static.exp: Add testcase.
8704 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
8705
595939de 87062010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
8707 Tom Tromey <tromey@redhat.com>
8708 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
8709
8710 * gdb.python/py-inferior.c: New File.
8711 * gdb.python/py-infthread.c: New File.
8712 * gdb.python/py-inferior.exp: New File.
8713 * gdb.python/py-infthread.exp: New File.
8714
98751a41
JK
87152010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8716
8717 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
8718 (ptype ::C::OtherFileClass typedefs): New.
8719 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
8720 (C::OtherFileClass::cOtherFileClassVar2): New.
8721 (C::OtherFileClass::cOtherFileClassVar_use): Use also
8722 cOtherFileClassVar2.
8723 (C::cOtherFileType2, C::cOtherFileVar2): New.
8724 (C::cOtherFileVar_use): use also cOtherFileVar2.
8725 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
8726
41f62f39
JK
87272010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8728
8729 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
8730 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
8731 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
8732 (print ::C::cOtherFileVar)
8733 (whatis C::OtherFileClass::cOtherFileClassType)
8734 (whatis ::C::OtherFileClass::cOtherFileClassType)
8735 (print C::OtherFileClass::cOtherFileClassVar)
8736 (print ::cOtherFileClassVar)
8737 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
8738 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
8739 trailing content.
8740 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
8741 (C::OtherFileClass::cOtherFileClassVar)
8742 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
8743 (C::cOtherFileVar, C::cOtherFileVar_use): New.
8744
af53d231
JK
87452010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8746
8747 Test PR c++/11703 and PR gdb/1448.
8748 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
8749 gdb/1448.
8750
9655fd1a
JK
87512010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8752
8753 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
8754 (main) <rtti_data>: New.
8755 * gdb.cp/virtbase.exp (print rtti_data): New.
8756
824cc8dd
JK
87572010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8758 Joel Brobecker <brobecker@adacore.com>
8759
8760 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
8761
6036c742
JK
87622010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8763
8764 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
8765
de6a0421
DE
87662010-06-28 Doug Evans <dje@google.com>
8767
8768 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
8769
b2dae948
DE
87702010-06-27 Doug Evans <dje@google.com>
8771
8772 * gdb.cp/m-static.exp: Update expected test output.
8773
0f3bb72e
PH
87742010-06-25 Paul Hilfinger <hilfinger@adacore.com>
8775
889bf7c5
PA
8776 * gdb.gdb/selftest.exp: Adjust expected message for
8777 capturing start-up runtime.
0f3bb72e 8778
bc9f0842
TT
87792010-06-25 Tom Tromey <tromey@redhat.com>
8780
8781 PR python/10808:
8782 * gdb.python/python.exp: Add new tests.
8783
099ef718
SW
87842010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
8785
8786 * gdb.cp/operator.cc: Created an import loop.
8787 * gdb.cp/operator.exp: Added testcase for import loop.
8788
5868a632
JK
87892010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8790
8791 Test PR python/11407.
8792 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
8793 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
8794 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
8795 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
8796 executable_nofb and executable_fb. New variables srcsfile, objsfile,
8797 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
8798 binfile. Call gdb_compile with clean_restart twice.
8799 (func_nofb print, func_nofb backtrace, func_loopfb print)
8800 (func_loopfb backtrace): New.
8801
af76db58
JK
88022010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8803
8804 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
8805 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
8806 by a hand made one.
8807 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
8808 i?86 requirement. Remove variables srcfile and binfile. New variable
8809 sources, executable_nofb and executable_fb. Call prepare_for_testing.
8810
f2c7657e
UW
88112010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8812
8813 * gdb.cell/dwarfaddr.exp: New file.
8814 * gdb.cell/dwarfaddr.S: New file.
8815
628fe4e4
JK
88162010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8817
8818 Test PR 9436.
8819 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
8820
f1421989
HZ
88212010-06-24 Hui Zhu <teawater@gmail.com>
8822
8823 * gdb.base/eval.exp: New file.
8824
d03285ec
UW
88252010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8826
8827 * gdb.cell/fork.exp: New file.
8828 * gdb.cell/fork.c: Likewise.
8829 * gdb.cell/fork-spu.c: Likewise.
8830
41b2c92d
PM
88312010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
8832
8833 * lib/gdb.exp (banned_variables_traced): New global variable.
8834 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
8835 (gdb_init): Use `trace add variable' instead of obsolete
8836 `trace variable'.
8837
d5bc977f
DE
88382010-06-21 Doug Evans <dje@google.com>
8839
8840 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
8841
d2ed6730
UW
88422010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8843
8844 * gdb.arch/spu-ls.exp: New file.
8845 * gdb.arch/spu-ls.c: Likewise.
8846
6aed2dbc
SS
88472010-06-18 Stan Shebs <stan@codesourcery.com>
8848
8849 * gdb.threads/thread-specific.exp: Add tests of $_thread.
8850
e0756905
UW
88512010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8852
8853 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
8854 * gdb.base/watch-cond.exp: Likewise.
8855 * gdb.python/py-breakpoint.exp: Likewise.
8856
d8053d4d
PA
88572010-06-18 Pedro Alves <pedro@codesourcery.com>
8858
8859 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
8860 clean_restart, make sure every test has a distinct message, and
8861 that messages don't include the executable' full path.
8862
81ce510c
DE
88632010-06-17 Doug Evans <dje@google.com>
8864
8865 * gdb.arch/i386-size.exp: Updated expected output for
8866 DISASSEMBLY_OMIT_FNAME.
8867
65d79d4b
SDJ
88682010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8869 Sergio Durigan Junior <sergiodj@redhat.com>
8870
8871 * gdb.base/watch-notconst.c: New file.
8872 * gdb.base/watch-notconst.S: New file.
8873 * gdb.base/watch-notconst2.c: New file.
8874 * gdb.base/watch-notconst2.S: New file.
8875 * gdb.base/watch-notconst.exp: New file.
8876 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
8877 (func4): Add operations on `global_ptr_ptr'.
8878 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
8879 routine to test watchpoints created with a constant expression.
8880 (test_inaccessible_watchpoint): Include tests for watchpoints
8881 created with a constant expression.
8882
df0f4836
KB
88832010-06-14 Kevin Buettner <kevinb@redhat.com>
8884
8885 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
8886 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
8887 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
8888 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
8889 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
8890 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
8891 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
8892 of `_start'.
8893
b769def5
UW
88942010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8895
8896 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
8897 not supported on the target.
8898 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8899 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8900 * gdb.mi/mi-nsintrall.exp: Likewise.
8901 * gdb.mi/mi-nsmoribund.exp: Likewise.
8902 * gdb.mi/mi-nsthrexec.exp: Likewise.
8903
d914c394
SS
89042010-06-11 Stan Shebs <stan@codesourcery.com>
8905
8906 * gdb.base/permissions.exp: New file.
8907
89082010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
8909
8910 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
8911 does not support ELF executable class.
8912
f3ce5b9c
UW
89132010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8914
8915 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
8916
8e46892c
JK
89172010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8918
8919 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
8920 (runto): Catch "The target does not support running in non-stop mode.".
8921
6cc55c64
MS
89222010-06-11 Michael Snyder <msnyder@vmware.com>
8923
8924 * gdb.base/setshow.exp (set language asm): Don't use
8925 gdb_test_no_output, fails on some targets.
8926
caddefa4
UW
89272010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8928
8929 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
8930 * gdb.cp/pr9167.exp: Likewise.
8931
468b1aa7
UW
89322010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8933
8934 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
8935
5c3552dc
UW
89362010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8937
8938 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
8939
02e6fe6a
UW
89402010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8941
8942 * gdb.base/charset.c (main): Make sure malloc gets linked in.
8943
0e03807e
TT
89442010-06-11 Tom Tromey <tromey@redhat.com>
8945
8946 PR gdb/9977, PR exp/11636::
8947 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
8948 (pieces_test_f6): Update expected output.
8949
2bdf28a0
JK
89502010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8951
8952 * gdb.base/moribund-step.exp: New.
8953
f6978de9
MS
89542010-06-08 Michael Snyder <msnyder@vmware.com>
8955
8956 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 8957 * gdb.ada/boolean_expr.exp:
f6978de9
MS
8958 * gdb.ada/frame_args.exp: Ditto.
8959 * gdb.ada/lang_switch.exp: Ditto.
8960 * gdb.ada/ptype_arith_binop.exp: Ditto.
8961 * gdb.ada/ref_param.exp: Ditto.
8962 * gdb.ada/type_coercion.exp:Ditto.
8963
8964 * gdb.asm/asm-source.exp: Ditto.
8965
8966 * gdb.base/attach.exp: Ditto.
8967 * gdb.base/bitfields2.exp: Ditto.
8968 * gdb.base/call-signal-resume.exp: Ditto.
8969 * gdb.base/callfuncs.exp: Ditto.
8970 * gdb.base/commands.exp: Ditto.
8971 * gdb.base/dbx.exp: Ditto.
8972 * gdb.base/default.exp: Ditto.
8973 * gdb.base/dump.exp: Ditto.
8974 * gdb.base/exprs.exp: Ditto.
8975 * gdb.base/freebpcmd.exp: Ditto.
8976 * gdb.base/interrupt.exp: Ditto.
8977 * gdb.base/list.exp: Ditto.
8978 * gdb.base/long_long.exp: Ditto.
8979 * gdb.base/maint.exp: Ditto.
8980 * gdb.base/ptype.exp: Ditto.
8981 * gdb.base/return.exp: Ditto.
8982 * gdb.base/setshow.exp: Ditto.
8983 * gdb.base/sigbpt.exp: Ditto.
8984 * gdb.base/sigrepeat.exp: Ditto.
8985
8986 * gdb.cp/classes.exp: Ditto.
8987
8988 * gdb.dwarf2/dw2-restore.exp: Ditto.
8989
8990 * gdb.gdb/selftest.exp: Ditto.
8991
8992 * gdb.multi/base.exp: Ditto.
8993 * gdb.multi/bkpt-multi-exec.exp: Ditto.
8994
8995 * gdb.python/py-block.exp: Ditto.
8996 * gdb.python/py-prettyprint.exp: Ditto.
8997 * gdb.python/py-template.exp: Ditto.
8998
8999 * gdb.server/ext-attach.exp: Ditto.
9000 * gdb.server/ext-run.exp: Ditto.
9001 * gdb.server/server-mon.exp: Ditto.
9002
9003 * gdb.threads/fork-thread-pending.exp: Ditto.
9004 * gdb.threads/hand-call-in-threads.exp: Ditto.
9005 * gdb.threads/interrupted-hand-call.exp: Ditto.
9006 * gdb.threads/linux-dp.exp: Ditto.
9007 * gdb.threads/manythreads.exp: Ditto.
9008 * gdb.threads/print-threads.exp: Ditto.
9009 * gdb.threads/pthreads.exp: Ditto.
9010 * gdb.threads/schedlock.exp: Ditto.
9011 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9012 * gdb.threads/threadapply.exp: Ditto.
9013
de7ff789
MS
90142010-06-08 Michael Snyder <msnyder@vmware.com>
9015
889bf7c5 9016 * gdb.ada/exec_changed.exp:
de7ff789
MS
9017 Use ".*" instead of "" as wildcard regexp.
9018
9019 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
9020 * gdb.base/call-ar-st.exp: Ditto.
9021 * gdb.base/checkpoint.exp: Ditto.
9022 * gdb.base/default.exp: Ditto.
9023 * gdb.base/dump.exp: Ditto.
9024 * gdb.base/ending-run.exp: Ditto.
9025 * gdb.base/fileio.exp: Ditto.
9026 * gdb.base/miscexprs.exp: Ditto.
9027 * gdb.base/pointers.exp: Ditto.
9028 * gdb.base/readline.exp: Ditto.
9029 * gdb.base/reread.exp: Ditto.
9030 * gdb.base/restore.exp: Ditto.
9031 * gdb.base/shlib-call.exp: Ditto.
9032 * gdb.base/valgrind-db-attach.exp: Ditto.
9033 * gdb.base/volatile.exp: Ditto.
9034 * gdb.base/watchpoints.exp: Ditto.
9035
9036 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
9037
9038 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
9039 * gdb.python/py-value.exp: Ditto.
9040
9041 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
9042 * gdb.trace/circ.exp: Ditto.
9043 * gdb.trace/collection.exp: Ditto.
9044 * gdb.trace/packetlen.exp: Ditto.
9045 * gdb.trace/passc-dyn.exp: Ditto.
9046 * gdb.trace/report.exp: Ditto.
9047 * gdb.trace/tfile.exp: Ditto.
9048 * gdb.trace/tfind.exp: Ditto.
9049 * gdb.trace/while-dyn.exp: Ditto.
9050
3bebe2f2
JK
90512010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9052
9053 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
9054
5c631832
JK
90552010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9056
9057 Test PR 10640.
9058 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
9059
4c3376c8
SW
90602010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
9061
9062 * gdb.cp/koenig.exp: Test for ADL operators.
9063 * gdb.cp/koenig.cc: Added ADL operators.
9064 * gdb.cp/operator.exp: New test.
9065 * gdb.cp/operator.cc: New test.
9066
dc226d5a
MS
90672010-06-04 Michael Snyder <msnyder@vmware.com>
9068
dfb88a23
MS
9069 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
9070 * gdb.base/pending.exp: Ditto.
f7ae76b3 9071
dc226d5a
MS
9072 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
9073
967cf477
DE
90742010-06-04 Doug Evans <dje@google.com>
9075
9076 * gdb.python/py-prettyprint.exp: Add new test for enabled and
9077 disabled printers.
9078 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
9079 (enable_lookup_function): New function.
9080
eb801841
TT
90812010-06-04 Tom Tromey <tromey@redhat.com>
9082
9083 * gdb.python/py-value.exp (test_value_hash): Don't test equality
9084 of hash and id.
9085
38979823
JK
90862010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9087
9088 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
9089 newline.
9090 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
9091 (empty verbose non-noisy clear, empty verbose noisy clear)
9092 (empty non-verbose noisy clear): Likewise.
9093
35ec993f
MS
90942010-06-03 Michael Snyder <msnyder@vmware.com>
9095
9096 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
9097 * gdb.base/display.exp: Ditto.
9098 * gdb.base/find.exp: Ditto.
9099 * gdb.base/ifelse.exp: Ditto.
9100 * gdb.base/multi-forks.exp: Ditto.
9101 * gdb.base/recurse.exp: Ditto.
9102 * gdb.base/setshow.exp: Ditto.
9103 * gdb.base/value-double-free.exp: Ditto.
9104 * gdb.base/watch-vfork.exp: Ditto.
9105 * gdb.base/watch_thread_num.exp: Ditto.
9106 * gdb.base/watchpoint-solib.exp: Ditto.
9107 * gdb.base/watchpoint.exp: Ditto.
9108 * gdb.base/watchpoints.exp: Ditto.
9109
9110 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
9111 * gdb.cp/overload.exp: Ditto.
9112 * gdb.cp/virtfunc.exp: Ditto.
9113
9114 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
9115
889bf7c5 9116 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
9117 Replace gdb_test with gdb_test_no_output.
9118
889bf7c5 9119 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
9120 Replace gdb_test with gdb_test_no_output.
9121 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9122 * gdb.threads/watchthreads.exp: Ditto.
9123 * gdb.threads/watchthreads2.exp: Ditto.
9124
9125 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
9126 * gdb.trace/tfind.exp: Ditto.
9127
c22decce
JB
91282010-06-03 Joel Brobecker <brobecker@adacore.com>
9129
9130 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
9131 successful test if message is the empty string.
9132
fd5700c7
JK
91332010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9134
9135 * gdb.fortran/module.exp (stopped language detection): New test.
9136
f55ee35c
JK
91372010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9138
9139 Support DW_TAG_module as separate namespaces.
9140 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
9141 gdb.fortran/library-module-lib.f90: New.
9142 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
9143 (print i): Remove.
9144 (continue to breakpoint: i-is-1, print var_i value 1)
9145 (continue to breakpoint: i-is-2, print var_i value 2)
9146 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
9147 (print var_d, print var_i value 14, ptype modmany, complete `modm)
9148 (complete `modmany, complete `modmany`, complete `modmany`var)
9149 (show language, setting breakpoint at module): New tests.
9150 * gdb.fortran/module.f90 (module mod): Remove.
9151 (module mod1, module mod2, module modmany, subroutine sub1)
9152 (subroutine sub2, program module): New.
9153
b8e8282f
JK
91542010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9155
9156 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
9157 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
9158 * gdb.cp/anon-union.exp (pass): Rename to ...
9159 (print z 2): ... here.
b8e8282f 9160
019ebafc
MS
91612010-06-02 Michael Snyder <msnyder@vmware.com>
9162
e68d8fd4
MS
9163 * gdb.trace/actions.exp: Use gdb_test_no_output.
9164 * gdb.trace/circ.exp: Ditto.
9165 * gdb.trace/packetlen.exp: Ditto.
9166 * gdb.trace/save-trace.exp: Ditto.
9167 * gdb.trace/tracecmd.exp: Ditto.
9168 * gdb.trace/tsv.exp: Ditto.
9169
12b5d08a
MS
9170 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
9171 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
9172 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9173 * gdb.threads/manythreads.exp: Ditto.
9174 * gdb.threads/print-threads.exp: Ditto.
9175 * gdb.threads/pthreads.exp: Ditto.
9176 * gdb.threads/schedlock.exp: Ditto.
9177 * gdb.threads/staticthreads.exp: Ditto.
9178 * gdb.threads/thread-specific.exp: Ditto.
9179 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9180 * gdb.threads/threadapply.exp: Ditto.
9181 * gdb.threads/watchthreads.exp: Ditto.
9182 * gdb.threads/watchthreads2.exp: Ditto.
9183
89493308
MS
9184 * gdb.python/py-block.exp: Use gdb_test_no_output.
9185 * gdb.python/py-prettyprint.exp: Ditto.
9186 * gdb.python/py-template.exp: Ditto.
9187 * gdb.python/py-value.exp: Ditto.
9188
9189 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
9190 * gdb.reverse/watch-reverse.exp: Ditto.
9191
9192 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
9193 * gdb.server/ext-run.exp: Ditto.
9194
019ebafc
MS
9195 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
9196 * gdb.dwarf2/dw2-compressed.exp: Ditto.
9197 * gdb.dwarf2/dw2-intercu.exp: Ditto.
9198 * gdb.dwarf2/dw2-intermix.exp: Ditto.
9199 * gdb.dwarf2/dw2-producer.exp: Ditto.
9200 * gdb.dwarf2/mac-fileno.exp: Ditto.
9201
9202 * gdb.gdb/observer.exp: Use gdb_test_no_output.
9203 * gdb.gdb/selftest.exp: Ditto.
9204
9205 * gdb.multi/base.exp: Use gdb_test_no_output.
9206
9207 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
9208
3e0ca3a5
JK
92092010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9210
9211 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
9212
9db70545
MS
92132010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
9214
a8d52276
MS
9215 * gdb.cp/class2.exp: Use gdb_test_no_output.
9216 * gdb.cp/classes.exp: Ditto.
9217 * gdb.cp/extern-c.exp: Ditto.
9218 * gdb.cp/inherit.exp: Ditto.
9219 * gdb.cp/maint.exp: Ditto.
9220 * gdb.cp/mb-inline.exp: Ditto.
9221 * gdb.cp/mb-templates.exp: Ditto.
9222 * gdb.cp/method2.exp: Ditto.
9223 * gdb.cp/misc.exp: Ditto.
9224 * gdb.cp/ovldbreak.exp: Ditto.
9225 * gdb.cp/punctuator.exp: Ditto.
9226 * gdb.cp/templates.exp: Ditto.
9227 * gdb.cp/virtbase.exp: Ditto.
9228
889bf7c5 9229 * gdb.threads/attach-stopped.exp:
9db70545 9230 Replace uses of send_gdb / gdb_expect.
889bf7c5 9231 * gdb.threads/attachstop-mt.exp:
9db70545 9232 Replace uses of send_gdb / gdb_expect.
889bf7c5 9233 * gdb.threads/gcore-thread.exp:
9db70545 9234 Replace uses of send_gdb / gdb_expect.
889bf7c5 9235 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
9236 Replace uses of send_gdb / gdb_expect.
9237 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 9238 * gdb.threads/print-threads.exp:
9db70545
MS
9239 Replace uses of send_gdb / gdb_expect.
9240 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
9241 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
9242 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
9243
9244 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
9245 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
9246 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
9247 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
9248 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
9249 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
9250 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
9251 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
9252 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
9253 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
9254 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
9255
359cc68c
JK
92562010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9257
9258 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
9259
7d3fe98e
SW
92602010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
9261
9262 * gdb.cp/koenig.exp: Added new test case.
9263 * gdb.cp/koenig.cc: Ditto.
9264
27d3a1a2
MS
92652010-06-01 Michael Snyder <msnyder@vmware.com>
9266
9267 * gdb.base/arithmet.exp: Use gdb_test_no_output.
9268 * gdb.base/arrayidx.exp: Ditto.
9269 * gdb.base/attach.exp: Ditto.
9270 * gdb.base/auxv.exp: Ditto.
9271 * gdb.base/bigcre.exp: Ditto.
9272 * gdb.base/break-always.exp: Ditto.
9273 * gdb.base/break-interp.exp: Ditto.
9274 * gdb.base/break.exp: Ditto.
9275 * gdb.base/breakpoint-shadow.exp: Ditto.
9276 * gdb.base/call-ar-st.exp: Ditto.
9277 * gdb.base/call-sc.exp: Ditto.
9278 * gdb.base/call-signal-resume.exp: Ditto.
9279 * gdb.base/callfuncs.exp: Ditto.
9280 * gdb.base/catch-syscall.exp: Ditto.
9281 * gdb.base/charset.exp: Ditto.
9282 * gdb.base/code-expr.exp: Ditto.
9283 * gdb.base/commands.exp: Ditto.
9284 * gdb.base/cond-expr.exp: Ditto.
9285 * gdb.base/condbreak.exp: Ditto.
9286 * gdb.base/cursal.exp: Ditto.
9287 * gdb.base/cvexpr.exp: Ditto.
9288 * gdb.base/default.exp: Ditto.
9289 * gdb.base/del.exp: Ditto.
9290 * gdb.base/detach.exp: Ditto.
9291 * gdb.base/display.exp: Ditto.
9292 * gdb.base/ena-dis-br.exp: Ditto.
9293 * gdb.base/eval-skip.exp: Ditto.
9294 * gdb.base/foll-fork.exp: Ditto.
9295 * gdb.base/foll-vfork.exp: Ditto.
9296 * gdb.base/frame-args.exp: Ditto.
9297 * gdb.base/funcargs.exp: Ditto.
9298 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9299 * gdb.base/gdbvars.exp: Ditto.
9300 * gdb.base/help.exp: Ditto.
9301 * gdb.base/ifelse.exp: Ditto.
9302 * gdb.base/included.exp: Ditto.
9303 * gdb.base/list.exp: Ditto.
9304 * gdb.base/macscp.exp: Ditto.
9305 * gdb.base/maint.exp: Ditto.
9306 * gdb.base/multi-fork.exp: Ditto.
9307 * gdb.base/overlays.exp: Ditto.
9308 * gdb.base/page.exp: Ditto.
9309 * gdb.base/pending.exp: Ditto.
9310 * gdb.base/pointers.exp: Ditto.
9311 * gdb.base/pr11022.exp: Ditto.
9312 * gdb.base/prelink.exp: Ditto.
9313 * gdb.base/printcmds.exp: Ditto.
9314 * gdb.base/psymtab.exp: Ditto.
9315 * gdb.base/randomize.exp: Ditto.
9316 * gdb.base/relational.exp: Ditto.
9317 * gdb.base/relocate.exp: Ditto.
9318 * gdb.base/remote.exp: Ditto.
9319 * gdb.base/sepdebug.exp: Ditto.
9320 * gdb.base/set-lang-auto.exp: Ditto.
9321 * gdb.base/setshow.exp: Ditto.
9322 * gdb.base/setvar.exp: Ditto.
9323 * gdb.base/signals.exp: Ditto.
9324 * gdb.base/signull.exp: Ditto.
9325 * gdb.base/sigstep.exp: Ditto.
9326 * gdb.base/sizeof.exp: Ditto.
9327 * gdb.base/solib-disc.exp: Ditto.
9328 * gdb.base/store.exp: Ditto.
9329 * gdb.base/structs.exp: Ditto.
9330 * gdb.base/structs2.exp: Ditto.
9331 * gdb.base/subst.exp: Ditto.
9332 * gdb.base/term.exp: Ditto.
9333 * gdb.base/trace-commands.exp: Ditto.
9334 * gdb.base/unwindonsignal.exp: Ditto.
9335 * gdb.base/valgrind-db-attach.exp: Ditto.
9336 * gdb.base/varargs.exp: Ditto.
9337 * gdb.base/watch-cond.exp: Ditto.
9338 * gdb.base/watch_thread_num.exp: Ditto.
9339 * gdb.base/watchpoint-cond-gone.exp: Ditto.
9340 * gdb.base/watchpoint.exp: Ditto.
9341 * gdb.base/whatis-exp.exp: Ditto.
9342
f8d3bf8f
MS
93432010-06-01 Michael Snyder <msnyder@vmware.com>
9344
9345 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
9346 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
9347 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
9348 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
9349 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
9350 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
9351 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
9352 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
9353 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
9354 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
9355 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
9356 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
9357 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
9358 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
9359 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
9360
3f9e0d32
JK
93612010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9362
9363 * gdb.base/commands.exp (begin commands on watch): Remove excessive
9364 trailing newline.
9365 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
9366 * gdb.java/jmisc.exp (p *args\n): Rename to ...
9367 (p *args): ... here and remove excessive trailing newline.
9368
f629457d
JB
93692010-05-31 Joel Brobecker <brobecker@adacore.com>
9370
9371 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
9372
09eef106
JK
93732010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
9374
9375 Accept the new Linux kernel "t (tracing stop)" string.
9376 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
9377 Update comment.
9378 (state_wait) <T (tracing stop)>: New.
9379 (main): Update the state_wait expect string.
9380
94f31136
PA
93812010-05-28 Pedro Alves <pedro@codesourcery.com>
9382
9383 * limits.c, limits.exp: Delete files.
9384 * Makefile.in (clean mostlyclean): Adjust.
9385 * tracecmd.exp: Adjust.
9386
096554ab
JK
93872010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9388
9389 * gdb.base/tui-layout.exp: New.
9390
27d3a1a2 93912010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 9392
889bf7c5 9393 * gdb.reverse/break-precsave.exp:
bcd2dc50 9394 Replace uses of send_gdb / gdb_expect.
889bf7c5 9395 * gdb.reverse/break-reverse.exp:
bcd2dc50 9396 Replace uses of send_gdb / gdb_expect.
889bf7c5 9397 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 9398 Replace uses of send_gdb / gdb_expect.
889bf7c5 9399 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 9400 Replace uses of send_gdb / gdb_expect.
889bf7c5 9401 * gdb.reverse/finish-precsave.exp:
bcd2dc50 9402 Replace uses of send_gdb / gdb_expect.
889bf7c5 9403 * gdb.reverse/finish-reverse.exp:
bcd2dc50 9404 Replace uses of send_gdb / gdb_expect.
889bf7c5 9405 * gdb.reverse/i386-precsave.exp:
bcd2dc50 9406 Replace uses of send_gdb / gdb_expect.
889bf7c5 9407 * gdb.reverse/i386-reverse.exp:
bcd2dc50 9408 Replace uses of send_gdb / gdb_expect.
889bf7c5 9409 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 9410 Replace uses of send_gdb / gdb_expect.
889bf7c5 9411 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 9412 Replace uses of send_gdb / gdb_expect.
889bf7c5 9413 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 9414 Replace uses of send_gdb / gdb_expect.
889bf7c5 9415 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 9416 Replace uses of send_gdb / gdb_expect.
889bf7c5 9417 * gdb.reverse/machinestate.exp:
bcd2dc50 9418 Replace uses of send_gdb / gdb_expect.
889bf7c5 9419 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 9420 Replace uses of send_gdb / gdb_expect.
889bf7c5 9421 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 9422 Replace uses of send_gdb / gdb_expect.
889bf7c5 9423 * gdb.reverse/solib-precsave.exp:
bcd2dc50 9424 Replace uses of send_gdb / gdb_expect.
889bf7c5 9425 * gdb.reverse/solib-reverse.exp:
bcd2dc50 9426 Replace uses of send_gdb / gdb_expect.
889bf7c5 9427 * gdb.reverse/step-precsave.exp:
bcd2dc50 9428 Replace uses of send_gdb / gdb_expect.
889bf7c5 9429 * gdb.reverse/step-reverse.exp:
bcd2dc50 9430 Replace uses of send_gdb / gdb_expect.
889bf7c5 9431 * gdb.reverse/until-precsave.exp:
bcd2dc50 9432 Replace uses of send_gdb / gdb_expect.
889bf7c5 9433 * gdb.reverse/until-reverse.exp:
bcd2dc50 9434 Replace uses of send_gdb / gdb_expect.
889bf7c5 9435 * gdb.reverse/watch-precsave.exp:
bcd2dc50 9436 Replace uses of send_gdb / gdb_expect.
889bf7c5 9437 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
9438 Replace uses of send_gdb / gdb_expect.
9439
3def43e0
JK
94402010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9441
9442 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
9443 excessive newline.
9444
27d3a1a2 94452010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
9446
9447 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
9448 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
9449 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
9450 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
9451 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
9452 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
9453 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
9454 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
9455 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
9456 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
9457 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
9458 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
9459 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
9460 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
9461 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
9462 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
9463 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
9464 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
9465 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 9466
27d3a1a2 94672010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 9468
22454424
MS
9469 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
9470 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
9471
9472 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
9473 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
9474 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
9475
889bf7c5 9476 * gdb.reverse/consecutive-reverse.exp:
22454424 9477 Replace uses of send_gdb / gdb_expect.
889bf7c5 9478 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
9479 Replace uses of send_gdb / gdb_expect.
9480
9481 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
9482 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
9483 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 9484 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
9485 Replace uses of send_gdb / gdb_expect.
9486 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
9487 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
9488 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
9489 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
9490 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
9491 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
9492 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
9493 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
9494 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
9495
94962010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 9497
22454424 9498 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 9499
22454424 9500 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 9501
22454424
MS
9502 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
9503 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
9504 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
9505 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
9506 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
9507 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
9508 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
9509 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
9510 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 9511
6e5f2c59
TT
95122010-05-25 Tom Tromey <tromey@redhat.com>
9513
9514 * gdb.base/macscp.exp: Add missing space after setup_kfail.
9515
bbc8b958
TT
95162010-05-25 Tom Tromey <tromey@redhat.com>
9517
9518 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
9519 argument order.
9520 * gdb.base/macscp.exp: Fix setup_kfail argument order.
9521 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
9522 order.
9523 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
9524 order.
9525 * gdb.base/call-sc.exp (setup_kfails): Remove.
9526 (setup_compiler_kfails): Remove.
9527 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
9528 argument order.
9529 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
9530 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
9531 (advancei): Fix setup_kfail argument order.
9532 * gdb.base/radix.exp: Fix setup_kfail argument order.
9533 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
9534 order.
9535 * gdb.base/structs.exp (setup_kfails): Remove.
9536 (setup_compiler_kfails): Fix setup_kfail argument order.
9537 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
9538 order.
9539 * gdb.java/jmain.exp: Fix setup_kfail argument order.
9540 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
9541 setup_kfail argument order.
9542 * gdb.cp/overload.exp: Fix setup_kfail argument order.
9543
83d1babf
TT
95442010-05-25 Tom Tromey <tromey@redhat.com>
9545
9546 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
9547
6acb16a2
MS
95482010-05-25 Michael Snyder <msnyder@vmware.com>
9549
9550 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
9551 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
9552 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
9553 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
9554 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
9555 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
9556 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
9557 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
9558 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
9559 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
9560 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
9561 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
9562 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
9563 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
9564 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
9565 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
9566 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
9567 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
9568 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
9569 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
9570 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
9571 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
9572 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
9573 * gdb.base/default.exp: Replace send_gdb with gdb_test.
9574 * gdb.base/define.exp: Replace send_gdb with gdb_test.
9575 * gdb.base/display.exp: Replace send_gdb with gdb_test.
9576 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
9577 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
9578 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
9579 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
9580 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
9581 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
9582 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
9583 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
9584 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
9585 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
9586 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
9587 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
9588 * gdb.base/help.exp: Replace send_gdb with gdb_test.
9589 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
9590 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
9591 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
9592 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
9593 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
9594 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
9595 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
9596 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 9597 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
9598
95992010-05-25 Doug Evans <dje@google.com>
9600
9601 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
9602 gdb.string_to_argv.
ad3986f0 9603
d3b1e874
TT
96042010-05-21 Tom Tromey <tromey@redhat.com>
9605
9606 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
9607 Call it.
9608 * gdb.dwarf2/pieces.S: Update.
9609 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
9610
cb826367
TT
96112010-05-21 Tom Tromey <tromey@redhat.com>
9612
9613 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
9614 Call it.
9615 * gdb.dwarf2/pieces.c (struct C): New.
9616 (f6): New function.
9617 * gdb.dwarf2/pieces.S: Replace.
9618
74de6778
TT
96192010-05-21 Tom Tromey <tromey@redhat.com>
9620
9621 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
9622 Call it.
9623
afd74c5f
TT
96242010-05-21 Tom Tromey <tromey@redhat.com>
9625
9626 * gdb.dwarf2.pieces.exp: New file.
9627 * gdb.dwarf2.pieces.S: New file.
9628 * gdb.dwarf2.pieces.c: New file.
9629
a7b75dfd 96302010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 9631 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
9632
9633 * lib/gdb.exp (gdb_test_no_output): New function.
9634 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
9635 when testing commands that should produce no output.
9636
c81c812a
JB
96372010-05-17 Joel Brobecker <brobecker@adacore.com>
9638
9639 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
9640 parameter that we want to watch being a constant.
9641
0cce5bd9
JB
96422010-05-17 Joel Brobecker <brobecker@adacore.com>
9643
9644 * gdb.ada/cond_lang: New testcase.
9645
47050449
JB
96462010-05-17 Joel Brobecker <brobecker@adacore.com>
9647
9648 * lib/gdb.exp (banned_variables): New variable/constant.
9649 (gdb_init): Add write trace on variables listed in banned_variables.
9650 (gdb_finish): Remove write traces on variables listed in
9651 banned_variables.
9652
77c01586
JB
96532010-05-17 Joel Brobecker <brobecker@adacore.com>
9654
9655 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
9656 * gdb.cp/koenig.exp: Likewise.
9657
88d4aea7
PM
96582010-05-14 Phil Muldoon <pmuldoon@redhat.com>
9659
889bf7c5 9660 PR python/11482
88d4aea7
PM
9661
9662 * gdb.python/py-value.exp (test_value_hash): New function.
9663
f5a010c0
PM
96642010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
9665
9666 PR exp/11530.
9667 * gdb.base/gdb11530.c: New file.
9668 * gdb.base/gdb11530.exp: New file.
9669
8ef4892f
JK
96702010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9671
9672 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
9673 * gdb.dwarf2/dw2-modula2-self-type.S: New.
9674
7322dca9
SW
96752010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
9676
9677 * gdb.cp/koenig.exp: New test.
9678 * gdb.cp/koenig.cc: New test program.
9679
02e7ea18
JB
96802010-05-05 Joel Brobecker <brobecker@adacore.com>
9681
9682 Remove the use of prms_id and bug_id throughout the testsuite.
9683
e1c34c5d
PM
96842010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
9685
9686 PR exp/11349.
9687 * testsuite/gdb.cp/ref-types.exp: Add test to examine
9688 use a reference local variable.
9689
8e1d0c49
JK
96902010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9691
9692 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
9693 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
9694 variable different_dir. Move debugfile into a full directory pathname
9695 under DIFFERENT_DIR.
9696 * lib/gdb.exp (separate_debug_filename): Remove.
9697 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
9698 variable debug_dir and mkdir of it. Update function comments.
9699
e66408ed
PA
97002010-04-29 Pedro Alves <pedro@codesourcery.com>
9701
9702 PR gdb/11557
9703
9704 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
9705 files.
9706
d7b32ed3
PM
97072010-04-29 Phil Muldoon <pmuldoon@redhat.com>
9708
889bf7c5 9709 * gdb.python/py-param.exp: New File.
d7b32ed3 9710
6aecb9c2
JB
97112010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
9712
9713 * gdb.base/default.exp: Fix "set language" test.
9714
bdf92a1c
PM
97152010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
9716
9717 PR breakpoints/11531.
9718 * gdb.base/gdb11531.c: New file.
9719 * gdb.base/gdb11531.exp: New file.
9720
3f172e24
TT
97212010-04-26 Tom Tromey <tromey@redhat.com>
9722
9723 * gdb.base/completion.exp: Add tests for completion and deprecated
9724 commands.
9725
64af4c92
JK
97262010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9727
9728 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
9729 (print /x char_array): Escape curly brackets.
9730
492928e4
JK
97312010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9732
9733 Fix deadlock on looped list of loaded shared objects.
9734 * gdb.base/solib-corrupted.exp: New.
9735
66d09542
DE
97362010-04-23 Doug Evans <dje@google.com>
9737
9738 * gdb.python/py-section-script.c: New file.
9739 * gdb.python/py-section-script.exp: New file.
9740 * gdb.python/py-section-script.py: New file.
9741
8bd10a10
CM
97422010-04-20 Chris Moller <cmoller@redhat.com>
9743
9744 PR 10179
9745
9746 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
9747 * gdb.base/pr10179-a.c:
9748 * gdb.base/pr10179-b.c:
9749 * gdb.base/pr10179.exp: New files.
9750
c0201579
JK
97512010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9752
9753 Fix crashes on dangling display expressions.
9754 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
9755 is SEP.
9756 (lib_flags): Remove the "debug" keyword.
9757 (libsepdebug): New variable for iterating new loop.
9758 (save_pf_prefix): New variable wrapping the loop.
9759 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
9760 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
9761
793b0ff8
PM
97622010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
9763
9764 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
9765
097f51f7
PM
97662010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
9767
9768 PR stabs/11479.
9769 * gdb.stabs/gdb11479.exp: New file.
9770 * gdb.stabs/gdb11479.c: New file.
9771
9a22f0d0
PM
97722010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
9773
9774 * gdb.base/charset.c (Strin16, String32): New variables.
9775 * gdb.base/charset.exp (gdb_test): Test correct display
9776 of 16 or 32 bit strings.
9777
97782010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
9779
9780 PR 9167
9781 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
9782 * gdb.cp/pr9167.cc: New file.
9783 * gdb.cp/pr9167.exp: New file.
9784
9785
6e354e5e
PM
97862010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
9787
9788 PR pascal/11492.
9789 * gdb.pascal/gdb11492.pas: New file.
9790 * gdb.pascal/gdb11492.exp: New file.
9791
be942545
JB
97922010-04-20 Joel Brobecker <brobecker@adacore.com>
9793
1667e6e3 9794 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 9795
0c3acc09
JB
97962010-04-20 Joel Brobecker <brobecker@adacore.com>
9797
9798 * gdb.ada/dyn_loc: New testcase.
9799
ec31cde5
CM
98002010-04-20 Chris Moller <cmoller@redhat.com>
9801
9802 PR 10867
889bf7c5 9803
ec31cde5
CM
9804 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
9805 * gdb.cp/pr10687.cc: New file.
9806 * gdb.cp/pr10687.exp: New file.
9807
9808
ce4b0682
SDJ
98092010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9810 Sergio Durigan Junior <sergiodj@redhat.com>
9811
9812 * gdb.fortran/logical.exp: New testcase.
9813 * gdb.fortran/logical.f90: New file.
9814
3436961f
DE
98152010-04-19 Doug Evans <dje@google.com>
9816
9817 * gdb.base/help.exp (help source): Update expected output.
9818
4d836c09
JK
98192010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9820
9821 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
9822 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
9823 gdb_exit and return.
9824 (executable): New variable.
9825 (binfile): Use it.
9826
6149aea9
PA
98272010-04-19 Pedro Alves <pedro@codesourcery.com>
9828
9829 PR breakpoints/8554.
9830
9831 * gdb.trace/save-trace.exp: Adjust.
9832
ed41462c
L
98332010-04-17 H.J. Lu <hongjiu.lu@intel.com>
9834
9835 PR corefiles/11511
9836 * gdb.arch/system-gcore.exp: New.
9837 * gdb.arch/gcore.c: Likewise.
9838
3f7b2faa
DE
98392010-04-15 Doug Evans <dje@google.com>
9840
fa33c3cd
DE
9841 * gdb.python/py-progspace.c: New file.
9842 * gdb.python/py-progspace.exp: New file.
9843
3f7b2faa
DE
9844 * gdb.base/source.exp: Add tests for "source -s".
9845
79f283fe
PM
98462010-04-14 Phil Muldoon <pmuldoon@redhat.com>
9847
9848 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
9849 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
9850 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
9851 * gdb.python/py-mi.exp: New test for to_string returning None.
9852
fc8eb08a
PM
98532010-04-12 Phil Muldoon <pmuldoon@redhat.com>
9854
9855 * gdb.python/py-breakpoint.c: Make result global.
9856
26e197f6
JK
98572010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9858
9859 Fix non-GNU make compatibility.
9860 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
9861
adc36818
PM
98622010-04-09 Phil Muldoon <pmuldoon@redhat.com>
9863
9864 * gdb.python/py-breakpoint.exp: New File.
9865 * gdb.python/py-breakpoint.C: Ditto.
9866
64e17368
SS
98672010-04-08 Stan Shebs <stan@codesourcery.com>
9868
9869 * gdb.trace/actions.exp: Clear default-collect.
9870 * gdb.trace/save-trace.exp: Clear default-collect.
9871
fff5cc64
PM
98722010-04-08 Phil Muldoon <pmuldoon@redhat.com>
9873
9874 * gdb.python/py-value: Add null string variable.
9875 (test_lazy_string): Test zero length, NULL address lazy
9876 strings.
9877
a055a187
L
98782010-04-07 H.J. Lu <hongjiu.lu@intel.com>
9879
9880 * gdb.arch/i386-avx.c: New.
9881 * gdb.arch/i386-avx.exp: Likewise.
9882
9883 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
9884
96e39866
DE
98852010-04-06 Doug Evans <dje@google.com>
9886
9887 * gdb.base/source-test.gdb: New file.
9888 * gdb.base/source.exp: Test source -v.
9889
5984a431
UW
98902010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9891
9892 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
9893
ec8a089a
PM
98942010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
9895
9896 * gdb.stabs/aout.sed: Convert all backslash to double backslash
9897 within one line, unless it is followed by a double quote.
9898 * gdb.stabs/hppa.sed: Idem.
9899 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
9900 * gdb.stabs/weird.exp: Check for correct parsing of
9901 char and string constants.
ec8a089a
PM
9902 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
9903 in .stabs to .stabx substitution.
9904
fce3c1f0
SS
99052010-04-05 Stan Shebs <stan@codesourcery.com>
9906
9907 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
9908 constant global.
9909 * gdb.trace/tfile.exp: Try to print them.
9910
d77f58be
SS
99112010-04-04 Stan Shebs <stan@codesourcery.com>
9912
9913 * gdb.base/completion.exp: Update for new "info watchpoints".
9914 * gdb.base/default.exp: Ditto.
9915 * gdb.base/help.exp: Ditto.
9916 * gdb.base/watchpoint.exp: Ditto.
9917 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 9918
af54718e
SS
99192010-04-04 Stan Shebs <stan@codesourcery.com>
9920
9921 * gdb.trace/tfile.exp: Sharpen tfind test.
9922
74d1f91e
JK
99232010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9924
9925 * gdb.base/break-entry.exp: New.
9926
eb8e76db 99272010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 9928 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
9929
9930 * gdb.reverse/i386-sse-reverse.exp: New file.
9931 * gdb.reverse/i386-sse-reverse.c: New file.
9932
bf65cad8
PA
99332010-04-02 Pedro Alves <pedro@codesourcery.com>
9934
9935 * gdb.trace/tfind.exp: Adjust expected disassembly output.
9936
fff87407
SS
99372010-04-01 Stan Shebs <stan@codesourcery.com>
9938
9939 * gdb.trace/actions.exp: Tweak expected output.
9940 * gdb.trace/while-stepping.exp: Tweak expected output.
9941
fe01d668
L
99422010-04-01 H.J. Lu <hongjiu.lu@intel.com>
9943
9944 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
9945
86b17b60
PA
99462010-04-01 Pedro Alves <pedro@codesourcery.com>
9947
9948 * gdb.base/commands.exp: Adjust.
9949 * gdb.cp/extern-c.exp: Adjust.
9950
2c58c0a9
PA
99512010-04-01 Pedro Alves <pedro@codesourcery.com>
9952
9953 * gdb.trace/collection.c (local_test_func): Define a local struct,
9954 and instanciate it.
9955
0db9b91c
PA
99562010-04-01 Pedro Alves <pedro@codesourcery.com>
9957
9958 * gdb.trace/collection.exp (gdb_collect_args_test)
9959 (gdb_collect_argarray_test): XFAIL the tests that assume the
9960 argarray argument's elements are collected.
9961
8072405b
JK
99622010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
9963
9964 * gdb.dwarf2/dw2-bad-parameter-type.exp,
9965 gdb.dwarf2/dw2-bad-parameter-type.S: New.
9966
8bf6485c
SS
99672010-03-31 Stan Shebs <stan@codesourcery.com>
9968
9969 * gdb.trace/save-trace.exp: Test save/restore of default-collect
9970 and tracepoint conditionals.
9971 (gdb_verify_tracepoints): Delete unused return.
9972
fd7f724a
KS
99732010-03-26 Keith Seitz <keiths@redhat.com>
9974
9975 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
9976 appear in the output before main.
9977 Remove KFAIL for gdb/2215 aka bz 9320.
9978
8d9e7719
DE
99792010-03-30 Doug Evans <dje@google.com>
9980
0906dd0b
DE
9981 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
9982 by dejagnu.
9983 * gdb.arch/amd64-dword.exp: Ditto.
9984
8d9e7719
DE
9985 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
9986 match.
9987 (break printf): Ditto.
9988
1da644f0
SW
99892010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
9990
9991 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
9992 gcc < 4.4.
9993 * gdb.cp/shadow.exp: Ditto.
9994
a8121990
PA
99952010-03-29 Pedro Alves <pedro@codesourcery.com>
9996
9997 * gdb.trace/collection.exp (run_trace_experiment): Make sure
9998 "tstart" is silent.
9999
6e79d367
PA
100002010-03-29 Pedro Alves <pedro@codesourcery.com>
10001
10002 * gdb.trace/collection.exp (executable): New.
10003 (binfile): Use it.
10004 (fpreg, spreg, pcreg): New.
10005 (test_register): Use gdb_test_multiple. Pass /x to print.
10006 (prepare_for_trace_test): New.
10007 (run_trace_experiment): Use "continue", not gdb_run_cmd.
10008 (gdb_collect_args_test, gdb_collect_argstruct_test)
10009 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
10010 prepare_for_trace_test.
10011 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
10012 fpreg, spreg and pcreg.
10013 (gdb_collect_expression_test, gdb_collect_globals_test): Use
10014 prepare_for_trace_test.
10015 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
10016 try to detect tracing support here. Don't set breakpoints at
10017 `begin' or `end' here.
10018 <global scope>: Use clean_restart. Run to main before checking
10019 for tracing support. Check for for tracing support here.
10020
09248348
JK
100212010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10022
10023 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
10024 " as $displacement" to "seen displacement message".
10025
d350db38
PA
100262010-03-28 Pedro Alves <pedro@codesourcery.com>
10027
10028 * gdb.trace/while-dyn.exp (executable): New variable.
10029 (binfile): Use it.
10030 (test_while_stepping): New function. Move most tests here. Call
10031 it once for each of the while-stepping, stepping and ws aliases.
10032
907af001
UW
100332010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10034
10035 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
10036 that do not provide the tagless_struct type name at all.
10037 (test_print_anon_union): Do not check value of uninitialized
10038 union member. Do not use cp_test_ptype_class, so we can accept
10039 "long" as well as "long int".
10040
610197fd
PA
100412010-03-26 Pedro Alves <pedro@codesourcery.com>
10042
10043 * gdb.trace/tfile.c (tohex, bin2hex): New.
10044 (write_error_trace_file): Hexify error description.
10045
6c28cbf2
SS
100462010-03-25 Stan Shebs <stan@codesourcery.com>
10047
10048 * gdb.trace/tfile.c: Generate an additional trace file, improve
10049 portability.
10050 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
10051 files in a better way.
10052
e62b8c7e
KS
100532010-03-25 Keith Seitz <keiths@redhat.com>
10054
10055 * gdb.java/jprint.exp: XFAIL printing of static class members
10056 because of GCC debuginfo problem.
10057
82ccf5a5
JK
100582010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10059
10060 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
10061
293e2f9e
DJ
100622010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10063
10064 * gdb.base/completion.exp: Allow long instead of long int.
10065 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
10066 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
10067 variable p.
10068 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
10069 * gdb.base/pointers.exp: Allow long instead of long int.
10070 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
10071 * gdb.base/step-line.exp: Allow a directory before the source file name.
10072
95a42b64
TT
100732010-03-24 Tom Tromey <tromey@redhat.com>
10074
10075 PR breakpoints/9352:
10076 * gdb.base/default.exp: Update.
10077 * gdb.base/commands.exp: Update.
10078 * gdb.cp/extern-c.exp: Test setting commands on multiple
10079 breakpoints at once.
10080
2390201f
DJ
100812010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10082
10083 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
10084 if gdb,nosignals.
10085 * gdb.base/watchpoints.c: Do not include unnecessary headers.
10086 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
10087 exited".
10088
8c9a6790
SS
100892010-03-24 Stan Shebs <stan@codesourcery.com>
10090
10091 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
10092
a6c727b2
DJ
100932010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10094
10095 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
10096 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
10097 argument. Handle "short" and "long".
10098 (Top level): Pass overprototyped output for old_fptr and xptr.
10099
4dfd5423
PA
101002010-03-23 Pedro Alves <pedro@codesourcery.com>
10101
10102 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
10103 format strings and add casts to avoid compiler warnings.
10104
101052010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
10106
10107 * lib/trace-support.exp (gdb_trace_setactions):
10108 Don't expect whitespace after ">" prompt.
10109 * gdb.trace/actions.exp: Adjust for output changes.
10110 * gdb.trace/while-stepping.exp: Likewise.
10111
c847d045
JK
101122010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10113
10114 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
10115 and r157645).
10116
5f717f1d
JK
101172010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10118
10119 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
10120 New.
10121
7d6d51d5
DJ
101222010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
10123
10124 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
10125 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
10126
3b11a015
SS
101272010-03-19 Stan Shebs <stan@codesourcery.com>
10128
10129 * gdb.trace/ax.exp: New file.
10130
d7d158ed
DE
101312010-03-19 Doug Evans <dje@google.com>
10132
6bb85cd1
DE
10133 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
10134 output from gcc.
10135
d7d158ed
DE
10136 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
10137 named /usr/sbin/prelink<foo>.
10138
4daf5ac0
SS
101392010-03-18 Stan Shebs <stan@codesourcery.com>
10140
10141 * gdb.trace/circ.exp: Test circular-trace-buffer.
10142 * gdb.trace/tfile.exp: Update tstatus test.
10143
e8d05480
JB
101442010-03-18 Joel Brobecker <brobecker@adacore.com>
10145
10146 * gdb.dwarf2/dw2-anonymous-func.S: New file.
10147 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
10148
441b986a
UW
101492010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10150
10151 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
10152
4247603b
PA
101532010-03-18 Pedro Alves <pedro@codesourcery.com>
10154
10155 * gdb.base/default.exp: Adjust the expected output of the finish
10156 and until commands when the inferior is not being run.
10157
13387711
SW
101582010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
10159
10160 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
10161 * gdb.cp/nsusing.exp: Ditto.
10162
6e31430b
TT
101632010-03-15 Tom Tromey <tromey@redhat.com>
10164
10165 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
10166 * gdb.cp/userdef.cc (operator==): New function.
10167 (main): New locals mem1, mem2.
10168
e2d69cb5
JZ
101692010-03-15 Jie Zhang <jie@codesourcery.com>
10170
10171 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
10172 Declare and use new loadtimeout variable.
10173
f572f0a9
DJ
101742010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
10175
10176 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
10177 Use gdb_load later.
10178
51f4c0b0
PA
101792010-03-14 Pedro Alves <pedro@codesourcery.com>
10180
10181 * gdb.base/solib-disc.c (main): Make format of fprintf a string
10182 literal. Add missing endlines to prints to stderr.
10183
1c809c68
TT
101842010-03-12 Tom Tromey <tromey@redhat.com>
10185
10186 PR c++/9708:
10187 * gdb.cp/m-static.exp: Add regression test.
10188 * gdb.cp/m-static.cc (method): New method.
10189 (main): Call it.
10190
00ae8fef
SW
101912010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
10192
10193 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
10194 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
10195
759f0f0b
PA
101962010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10197
21e24d21
PA
10198 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
10199
102002010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10201
759f0f0b
PA
10202 * lib/gdb.exp (skip_stl_tests): New.
10203 (gdb_compile): Symbian needs -ldl.
10204 (shlib_target_file): New.
10205 (shlib_symbol_file): New.
10206 (gdb_load_shlibs): Use shlib_target_file.
10207 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
10208 * gdb.cp/exception.exp: Use skip_stl_tests.
10209 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
10210 * gdb.cp/try_catch.exp: Use skip_stl_tests.
10211 * gdb.cp/mb-templates.exp: Ditto.
10212 * gdb.base/commands.exp: Relax regexes.
10213 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
10214 shlib_target_file and shlib_symbol_file.
10215 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
10216 sections.
10217 * gdb.base/ending-run.exp: Accept E32Main for symbian.
10218 * gdb.base/solib-disc.exp: Use
10219 shlib_target_file and shlib_symbol_file.
10220 * gdb.base/unload.exp: Don't skip on symbian. Use
10221 shlib_target_file and shlib_symbol_file.
10222 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
10223
6a8f2671 102242010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10225
6a8f2671
PA
10226 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
10227 * gdb.trace/report.exp: Adjust for x86 and x86_64.
10228 Issue a tfind end before looking for a tracepoint frame.
10229 * gdb.trace/tfind.exp: Adjust tstatus output.
10230 Adjust disassembly output.
10231 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
10232
ccf26247
JK
102332010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10234
10235 * gdb.base/break-interp.exp: Create new displacement parameter value
10236 for the test_ld calls.
10237 (reach): New parameter displacement, verify its content. New push of
10238 pf_prefix "reach-$func:". Import global expect_out.
10239 (test_core): New parameter displacement, verify its content. New push
10240 of pf_prefix "core:". New command "set verbose on". Import global
10241 expect_out.
10242 (test_attach): New parameter displacement, verify its content. New
10243 push of pf_prefix "attach:". New command "set verbose on". Import
10244 global expect_out.
10245 (test_ld): New parameter displacement, pass it to the reach, test_core
10246 and test_attach calls and verify its content in the "ld.so exit" test.
10247 * gdb.base/prelink.exp: Remove gdb_exit and final return.
10248 (prelink): Update expected text, use gdb_test.
10249
e469c7fb
DE
102502010-03-10 Doug Evans <dje@google.com>
10251
10252 * gdb.base/checkpoint.exp: Fix comment.
10253 Lengthen timeout while doing >600 checkpoints test.
10254 Rename duplicate "kill all one" test to keep test names unique.
10255
60e1c644
PA
102562010-03-10 Pedro Alves <pedro@codesourcery.com>
10257
10258 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
10259
cec808ec
KS
102602010-03-08 Keith Seitz <keiths@redhat.com>
10261
889bf7c5
PA
10262 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
10263 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
10264 (dm_type_long): New function.
10265 (dm_type_unsigned_short): New function.
10266 (dm_type_unsigned_long): New function.
10267 (myint): New typedef.
10268 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
10269 long, unsigned shor and long, operator char*, and typedef.
10270 (test_lookup_operator_functions): Add operator char* test.
10271 (test_paddr_operator_functions): Likewise.
10272 (test_paddr_overloaded_functions): Use probe values for
10273 short, long, and unsigned short and long.
10274 (test_paddr_hairy_functions): If the demangler probe detected
10275 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
10276 demangler.
10277 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
10278 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
10279 and "print null_pmf".
10280 Add test "ptype a.*pmf".
10281 * gdb.cp/overload.exp: Allow optional "int" to appear with
10282 "short" and "long".
10283 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
10284 long expect value for men_overload1arg.
10285 Allow "int" to appear with "short" and "long".
10286 When testing "info break", add argument for main (void).
10287 Also allow "int" to appear with "short" and "long".
10288 Ditto with "unsigned" and "long long".
cec808ec
KS
10289 * gdb.java/jmain.exp: Do not enclose methods names in single
10290 quotes.
10291 * gdb.java/jmisc.exp: Likewise.
10292 * gdb.java/jprint.exp: Likewise.
10293 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
10294
10295 From Jan Kratochvil <jan.kratochvil@redhat.com>:
10296 * gdb.cp/exception.exp (backtrace after first throw)
10297 (backtrace after second throw): Allow a namespace before __cxa_throw.
10298 (backtrace after first catch, backtrace after second catch): Allow
10299 a namespace before __cxa_begin_catch.
10300
10301 * gdb.cp/cpexprs.exp: New file.
10302 * gdb.cp/cpexprs.cc: New file.
10303
10304 From Daniel Jacobowitz <dan@codesourcery.com>
10305 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
10306 to use string_to_regexp.
10307 (ctor, dtor): New functions. Use them to match constructor
10308 and destructor function types.
10309 (Top level): Use runto_main.
10310
f870a310
TT
103112010-03-05 Tom Tromey <tromey@redhat.com>
10312
10313 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
10314 gdb.target_charset.
10315 (pp_ns.to_string): Likewise.
10316
0c199f28
KS
103172010-03-04 Keith Seitz <keiths@redhat.com>
10318
10319 * gdb.cp/overload.exp: Test that the filename portion of a linespec
10320 can be quoted. Test that both the filename and function/line
10321 portions can be quoted at the same time.
10322
c7437ca6
PA
103232010-03-04 Pedro Alves <pedro@codesourcery.com>
10324
10325 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
10326
b111b805
DE
103272010-03-03 Doug Evans <dje@google.com>
10328
24486cb7
DE
10329 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
10330 libc contains libpthread.
10331
b111b805
DE
10332 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
10333 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
10334 of gdb_compile. Add another pattern to match android backtrace.
10335
a0e0ef55
TT
103362010-03-03 Tom Tromey <tromey@redhat.com>
10337
10338 PR gdb/11345:
10339 * gdb.base/printcmds.exp (test_printf): Add test.
10340
1ba53b71
L
103412010-03-02 H.J. Lu <hongjiu.lu@intel.com>
10342
10343 * gdb.arch/amd64-byte.exp: New.
10344 * gdb.arch/amd64-dword.exp: Likewise.
10345 * gdb.arch/amd64-pseudo.c: Likewise.
10346 * gdb.arch/amd64-word.exp: Likewise.
10347 * gdb.arch/i386-byte.exp: Likewise.
10348 * gdb.arch/i386-pseudo.c: Likewise.
10349 * gdb.arch/i386-word.exp: Likewise.
10350
f5dff777
DJ
103512010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10352
10353 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
10354 types. Add structreg, bitfields, and flags registers.
10355 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
10356 registers.
10357
90884b2b
L
103582010-03-01 H.J. Lu <hongjiu.lu@intel.com>
10359
10360 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
10361 (load_description): Set architecture if defined.
10362
dc00d89f
PM
103632010-02-28 Phil Muldoon <pmuldoon@redhat.com>
10364
10365 * gdb.python/py-frame.exp: Add read_var block tests.
10366 * gdb.python/py-frame.c (block): New function.
10367
0e095b7e
JK
103682010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10369 Daniel Jacobowitz <dan@codesourcery.com>
10370
10371 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
10372
624f1a65
DM
103732010-02-25 David S. Miller <davem@davemloft.net>
10374
10375 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
10376 fix logic for setting all_syscalls_numbers.
10377
f3e9a817
PM
103782010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10379
10380 * Makefile.in: Add py-block and py-symbol.
10381 * gdb.python/py-symbol.exp: New File.
10382 * gdb.python/py-symtab.exp: New File.
10383 * gdb.python/py-block.exp: New File.
10384 * gdb.python/py-symbol.c: New File.
10385 * gdb.python/py-block.c: New File.
10386
f6bbabf0
PM
103872010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10388
10389 PR python/11314
10390 * lib/gdb.exp (skip_python_tests): New function.
10391 * gdb.python/py-cmd.exp: Use skip_python_tests.
10392 * gdb.python/py-frame.exp: Likewise.
10393 * gdb.python/py-function.exp: Likewise.
10394 * gdb.python/py-prettyprint.exp: Likewise.
10395 * gdb.python/py-template.exp: Likewise.
10396 * gdb.python/py-type.exp: Likewise.
10397 * gdb.python/py-value.exp: Likewise.
10398
85d721b8
PA
103992010-02-22 Pedro Alves <pedro@codesourcery.com>
10400
10401 PR9605
10402
10403 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
10404
48e32051
TT
104052010-02-19 Tom Tromey <tromey@redhat.com>
10406
10407 PR c++/8693, PR c++/9496:
10408 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
10409 regression tests.
10410
ac9c0048
JK
104112010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10412
10413 Fix compatibility with m68k as.
10414 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
10415 Use only /* comments */.
10416
57bb97a4
UW
104172010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10418
10419 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
10420 * configure: Regenerate.
10421
7d1bf85c
DJ
104222010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
10423
10424 * gdb.python/py-type.exp: Check for Python support.
10425
061b5285
PA
104262010-02-17 Pedro Alves <pedro@codesourcery.com>
10427
10428 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
10429 `regsub' syntax available.
10430
f8a8bc2c
PA
104312010-02-17 Pedro Alves <pedro@codesourcery.com>
10432
10433 * gdb.base/shmain.c (main): Remove printf call.
10434 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
10435 * gdb.base/unload.c (main): Make format of fprintf a string
10436 literal. Add missing endlines to prints to stderr.
10437 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
10438
6f451e5e
TT
104392010-02-17 Tom Tromey <tromey@redhat.com>
10440
10441 * gdb.java/jprint.java (jprint.props): New field.
10442 * gdb.java/jprint.exp (set_lang_java): Add regression test.
10443
12d79008
PA
104442010-02-17 Pedro Alves <pedro@codesourcery.com>
10445
ef801a0e 10446 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
10447 available.
10448
d252f7e5
DJ
104492010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10450
10451 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
10452 creation to support remote host testing.
10453
67bdab6c
DJ
104542010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10455
10456 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
10457 Recognize "command not found".
10458
bb391223
DJ
104592010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10460
10461 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
10462 single-stepping.
10463
70362913
DJ
104642010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10465
10466 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
10467 if arguments are not supported.
10468
493f3c00
DJ
104692010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10470
10471 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
10472 be const or non-const.
10473
8034c749
DJ
104742010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10475
10476 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
10477 mi_send_resuming_command to send -exec-continue.
10478
791dfb64
DJ
104792010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10480
10481 * gdb.base/list.exp (test_list_filename_and_function): Add test
10482 with single quotes.
10483 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
10484 matching.
10485 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
10486 Add KFAIL'd tests for PR gdb/11289.
10487
7c5fe868
DJ
104882010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10489
10490 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
10491
fdc498b8
DJ
104922010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10493
10494 * gdb.base/comp-dir/subdir/dummy.txt: New file.
10495 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
10496 a temporary directory.
10497
b519e2a6
DJ
104982010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10499
10500 * gdb.base/charset.exp: Use a single regular expression to match
10501 show host-charset and show target-charset output.
10502
74164c56
JK
105032010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10504
10505 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
10506 "Illegal process-id" expect string more exact.
10507 (attach to digits-starting nonsense is prohibited): New.
10508
701ed6dc
JK
105092010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10510
10511 * gdb.base/prelink.exp (set verbose on): New.
10512
889bf7c5 105132010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
10514
10515 * mi-reverse.exp: New file. Test for reverse option to the
10516 following MI commands: exec-continue, exec-finish, exec-next,
10517 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 10518
dadf0e9c
JB
105192010-02-09 Joel Brobecker <brobecker@adacore.com>
10520
10521 * gdb.ada/ptype_tagged_param: New testcase.
10522
714f19d5
TT
105232010-02-08 Tom Tromey <tromey@redhat.com>
10524
10525 PR c++/8017:
10526 * gdb.cp/overload.exp: Add tests.
10527 * gdb.cp/overload.cc (struct K): New.
10528 (namespace N): New.
10529 (main): Call new functions.
10530 (K::staticoverload): Define.
10531
889bf7c5 105322010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
10533
10534 PR gdb/10728
10535 * gdb.cp/pr10728-x.h: New file.
10536 * gdb.cp/pr10728-x.cc: New file.
10537 * gdb.cp/pr10728-y.cc: New file.
10538 * gdb.cp/pr10728.exp: New file.
10539 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
10540
889bf7c5 105412010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
10542
10543 PR gdb/9067
10544 * gdb.cp/pr9067.exp: New
10545 * gdb.cp/pr9067.cc: New
10546 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
10547
7b356089
JB
105482010-02-08 Joel Brobecker <brobecker@adacore.com>
10549
10550 * lib/gdb.exp (gdb_test_timeout): New global variable.
10551 Set it to timeout if not already set.
10552 (gdb_init): Reset the value of timeout to gdb_test_timeout.
10553
1be00882
DE
105542010-02-05 Doug Evans <dje@google.com>
10555
10556 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
10557 user.
10558
82856980
SW
105592010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
10560
10561 PR c++/7935:
10562 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
10563
1a334831
TT
105642010-02-04 Tom Tromey <tromey@redhat.com>
10565
10566 * gdb.cp/virtbase.exp: Make test case names unique.
10567
9c3c02fd
TT
105682010-02-02 Tom Tromey <tromey@redhat.com>
10569
10570 * gdb.cp/virtbase.exp: Add regression tests.
10571 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
10572 (main): Instantiate RHC.
10573
0cc2414c
TT
105742010-02-02 Tom Tromey <tromey@redhat.com>
10575
10576 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
10577 type-printing change.
10578
edf3d5f3
TT
105792010-02-02 Tom Tromey <tromey@redhat.com>
10580
10581 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
10582 * gdb.cp/virtbase.cc: New file.
10583 * gdb.cp/virtbase.exp: New file.
10584 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
10585
e4b7f41c
JK
105862010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10587
10588 PR libc/11214:
10589 * gdb.threads/current-lwp-dead.c: Include features.h.
10590 (HAS_NOMMU): New.
10591 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
10592
b381ea14
JK
105932010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10594
10595 * gdb.base/symbol-without-target_section.exp,
10596 gdb.base/symbol-without-target_section.c: New.
10597
c593ac0e
DJ
105982010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10599
10600 * gdb.base/bigcore.exp: Reset increased timeout.
10601 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
10602
db25f29d
DJ
106032010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10604
10605 * gdb.base/gcore.exp (capture_command_output): Use
10606 gdb_test_multiple.
10607
f9d67f43
DJ
106082010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10609
10610 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
10611 * gdb.arch/thumb2-it.exp (test_it_break): New function.
10612 (Top level): Call it.
10613
177321bd
DJ
106142010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10615
10616 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
10617
97f2ed50
DJ
106182010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10619
10620 * gdb.base/call-strs.exp, gdb.base/default.exp,
10621 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
10622 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
10623 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
10624 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
10625 gdb.base/watchpoint-solib.exp: Save and restore timeout.
10626 * gdb.base/ending-run.exp: Correct restore of timeout.
10627 * gdb.base/page.exp: Remove unnecessary timeout setting.
10628
e4e2711a
JB
106292010-01-29 Joel Brobecker <brobecker@adacore.com>
10630
10631 * gdb.ada/rec_return: New testcase.
10632
ba581dc1
JB
106332010-01-29 Joel Brobecker <brobecker@adacore.com>
10634
10635 * gdb.ada/call_pn: New testcase.
10636
4ea95be9
DJ
106372010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10638
10639 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
10640 (Top level): Use it to resume.
10641 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
10642 the Thumb mode displaced stepping error as unsupported.
10643
df83a9bf
SW
106442010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
10645
889bf7c5
PA
10646 * gdb.cp/nsusing.exp: Added more tests.
10647 * gdb.cp/nsrecurs.exp: Ditto.
10648 * gdb.cp/nsusing.cc: Added test functions.
10649 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 10650
40b27cdc
JK
106512010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10652
10653 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
10654 absolute directory pathnames in gdb.sum file.
10655
de958931
SW
106562010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
10657
10658 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
10659 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
10660
708ead4e
TT
106612010-01-26 Tom Tromey <tromey@redhat.com>
10662
10663 PR exp/7643:
10664 * gdb.base/printcmds.exp (test_print_string_constants): Remove
10665 setup_kfail.
10666
b14e635e
SW
106672010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
10668
10669 * gdb.cp/nsrecurs.exp: New test.
10670 * gdb.cp/nsrecurs.cc: New test program.
10671 * gdb.cp/nsstress.exp: New test.
10672 * gdb.cp/nsstress.cc: New test program.
10673 * gdb.cp/nsdecl.exp: New test.
10674 * gdb.cp/nsdecl.cc: New test program.
10675
8540c487
SW
106762010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
10677
10678 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
10679 imported into file scope.
10680 Marked test as xfail.
10681 * gdb.cp/namespace-using.cc (marker5): New function.
10682 * gdb.cp/shadow.exp: New test.
10683 * gdb.cp/shadow.cc: New test program.
10684 * gdb.cp/nsimport.exp: New test.
10685 * gdb.cp/nsimport.cc: New test program.
10686
421d5d99
TT
106872010-01-25 Tom Tromey <tromey@redhat.com>
10688
10689 PR gdb/11049:
10690 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
10691 with "set print null-stop on".
10692
691f8dc1
JK
106932010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10694
10695 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
10696 Adjust it for DISASSEMBLY_OMIT_FNAME.
10697
0b92b5bb
TT
106982010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10699
10700 PR symtab/11199:
10701 * gdb.dwarf2/member-ptr-forwardref.exp,
10702 gdb.dwarf2/member-ptr-forwardref.S: New.
10703
23787403
JK
107042010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10705
10706 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
10707 (thread1_func): Protect thread1_tid with thread1_tid_cond by
10708 thread1_tid_mutex. Remove gdbstop_mutex handling.
10709 (thread2_func): Protect thread2_tid with thread2_tid_cond by
10710 thread2_tid_mutex. Remove gdbstop_mutex handling.
10711 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
10712 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
10713 pthread_cond_wait conditionalizations by while loops.
10714
b966cb8a
TT
107152010-01-20 Tom Tromey <tromey@redhat.com>
10716
10717 PR backtrace/10770:
10718 * gdb.dwarf2/pr10770.exp: New file.
10719 * gdb.dwarf2/pr10770.c: New file.
10720 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
10721
fcae584b
VP
107222010-01-20 Vladimir Prus <vladimir@codesourcery.com>
10723
10724 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
10725 that target was removed, and the test always runs native anyway.
10726
a0f49112
JK
107272010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10728
10729 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
10730 gdb.base/watchpoint-cond-gone-stripped.c: New.
10731
ceeb3d5a
TT
107322010-01-19 Tom Tromey <tromey@redhat.com>
10733
10734 PR c++/8000:
10735 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
10736 existing tests.
10737 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
10738 (main): Use AAA::SomeEnum.
10739
dd322c54
JK
107402010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10741
10742 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
10743 (test_ignore_count): Declare line_callme_body global.
10744 (run to breakpoint with ignore count): Use line_callme_body.
10745 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
10746 (set line_main_hello, set line_main_return): Reindent.
10747 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
10748 New.
10749 (continue to callee4): Use line_callee4_body.
10750 (check *stopped from CLI command): Use line_callee4_next.
10751 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
10752 (set line_main_hello, set line_main_return): Reindent.
10753 (set line_callee4_head, set line_callee4_body): New.
10754 (continue to callee4): Use line_callee4_body.
10755
4e8f195d
TT
107562010-01-18 Tom Tromey <tromey@redhat.com>
10757
10758 PR c++/9680:
10759 * gdb.cp/casts.cc: Add new classes and variables.
10760 * gdb.cp/casts.exp: Test new operators.
10761
9e14a9ba
JB
107622010-01-18 Tom Tromey <tromey@redhat.com>
10763 Thiago Jung Bauermann <bauerman@br.ibm.com>
10764
10765 * gdb.python/source2.py: New file.
10766 * gdb.python/source1: New file.
10767 * gdb.python/python.exp: Test "source" command.
10768
00bf0b85
SS
107692010-01-15 Stan Shebs <stan@codesourcery.com>
10770
10771 * gdb.trace/tfile.c: New file.
10772 * gdb.trace/tfile.exp: New file.
889bf7c5 10773
55235ad7
JK
107742010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10775
10776 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
10777
9f2982ff
JK
107782010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10779
10780 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
10781
bbfba9ed
JK
107822010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10783
10784 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
10785 (libfunc): New parameter action. Implement also selectable "sleep".
10786 * gdb.base/break-interp-main.c: Include assert.h.
10787 (libfunc): New parameter action.
10788 (main): New parameters argc and argv. Assert argc. Pass argv.
10789 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
10790 (test_attach): New proc.
10791 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
10792 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
10793
61f0d762
JK
107942010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10795
10796 * gdb.base/break-interp.exp (test_core): New proc.
10797 (test_ld): Call it.
10798
06a6f270
JK
107992010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10800
10801 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
10802 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
10803 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
10804 and gdb_compile_shlib. Use new -Wl compiler options.
10805 (dl bt, main bt): New tests.
10806
51bee8e9
JK
108072010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10808
10809 Support PIEs with no symfile_objfile.
10810 * gdb.base/break-interp.exp: New argument at the test_ld calls.
10811 (test_ld): New parameter trynosym.
10812 (test_ld <$trynosym>): New block.
10813
b8040f19
JK
108142010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10815
10816 * gdb.base/break-interp.exp: New file.
10817
be759fcf
PM
108182010-01-13 Phil Muldoon <pmuldoon@redhat.com>
10819
10820 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
10821 * gdb.python/py-prettyprint.py (pp_ls): New printer.
10822 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
10823 test.
10824 * gdb.python/py-prettyprint.c: Define lazystring test structure.
10825 * gdb.python/py-mi.exp: Add lazy string test.
10826
dc146f7c
VP
108272010-01-13 Vladimir Prus <vladimir@codesourcery.com>
10828
10829 * lib/mi-support.exp (mi_check_thread_states): Handle
10830 core number in thread listing.
10831
b4ba55a1
JB
108322010-01-12 Joel Brobecker <brobecker@adacore.com>
10833
10834 * gdb.base/maint.exp: Adjust the expected output for the
10835 "maint print type" test. Use gdb_test_multiple instead of
10836 gdb_sent/gdb_expect.
10837
08e24bd4
DE
108382010-01-11 Doug Evans <dje@google.com>
10839
6496a609
DE
10840 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
10841 from gdbserver_download. All callers updated.
10842
08e24bd4
DE
10843 * gdb.server/ext-run.exp: "info os processes" requires xml support.
10844
b5cfddf5
JK
108452010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10846
10847 Implement binary numbers parsing.
10848 * gdb.base/printcmds.exp (test_integer_literals_accepted)
10849 (test_integer_literals_rejected): New binary tests.
10850
3725885a
RW
108512010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10852
10853 * gdb.cell/configure: Regenerate.
10854
37aeb5df
JK
108552010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10856
10857 * gdb.base/corefile.exp: Move the core finding block out and call it as
10858 core_find, new variable $corefile, replace corefile by $corefile and
10859 [file tail $corefile] for usage vs. test names resp.
10860 * lib/gdb.exp (core_find): Move it as a new function here. New
10861 parameter binfile and deletefiles. New variable $destcore. Pre-delete
10862 $destcore. Return "" on error.
10863
d521f563
JK
108642010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10865
10866 Workaround PR binutils/10802.
10867 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
10868 (twice).
10869
28f24826
DJ
108702010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
10871
10872 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
10873
2de75e71
JB
108742010-01-08 Joel Brobecker <brobecker@adacore.com>
10875
10876 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
10877 call, to avoid interruption.
10878
fe00719b 108792010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
10880
10881 * gdb.stabs/weird.def (args93): New.
10882
d0ef5df8
DE
108832010-01-07 Doug Evans <dje@google.com>
10884
10885 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
10886
3a08d52f
TT
108872010-01-07 Tom Tromey <tromey@redhat.com>
10888
10889 * gdb.base/source.exp: Use correct line number.
10890
7a697b8d
SS
108912010-01-05 Stan Shebs <stan@codesourcery.com>
10892
10893 * gdb.trace/tracecmd.exp: Test ftrace.
10894
7803799a
UW
108952010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10896
10897 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
10898
c54eabfa
JK
108992010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10900
10901 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
10902 "uint_for_mi_testing".
10903
02e7ef19
JB
109042010-01-01 Joel Brobecker <brobecker@adacore.com>
10905
10906 Test indented comment in file being sourced.
10907 * gdb.base/commands.exp: Test indented comment in file being sourced.
10908
abd775ce
JB
109092010-01-01 Joel Brobecker <brobecker@adacore.com>
10910
10911 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
10912 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
10913 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
10914 notice.
10915
79b55b82
JB
109162010-01-01 Joel Brobecker <brobecker@adacore.com>
10917
10918 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
10919 notice.
10920
8997583e
JK
109212010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10922
10923 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
10924 missing $after_stopped and comma (,) expectation.
10925
6da95a67
SS
109262009-12-31 Stan Shebs <stan@codesourcery.com>
10927
10928 * gdb.trace/actions.exp: Test teval action.
889bf7c5 10929
218d2fc6
TJB
109302009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10931
10932 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
10933 (top level): Call test_watchpoint_in_big_blob.
10934 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
10935 watchpoints.
10936 (func3): Write to buf.
10937
236f1d4d
SS
109382009-12-29 Stan Shebs <stan@codesourcery.com>
10939
10940 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 10941
f61e138d
SS
109422009-12-28 Stan Shebs <stan@codesourcery.com>
10943
10944 * gdb.trace/tsv.exp: New file.
10945 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 10946
0219b378
DJ
109472009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
10948
10949 * gdb.base/find.c (main): Reference search buffers.
10950 * gdb.base/included.c (main): Reference integer.
10951 * gdb.base/ptype.c (charfoo): Declare.
10952 (intfoo): Call charfoo.
10953 * gdb.base/scope0.c (useitp): New function.
10954 (usestatics): Use useitp.
10955 (useit): Add a type for val.
10956 * gdb.base/scope1.c (useit1): Take a pointer argument.
10957 (usestatics1): Update calls to useit1.
10958 * gdb.cp/call-c.cc: Declare foo.
10959 (main): Call foo.
10960 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
10961 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
10962 (main): Call C::ensureRefs and ensureOtherRefs.
10963 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
10964 variables.
10965 (ensureOtherRefs): New function.
10966 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
10967 * gdb.cp/templates.cc (main): Call t5i.value.
10968
3f78692f
JK
109692009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10970
10971 Fix compatibility with G++-4.5.
10972 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
10973 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
10974 (uncaught return): Remove.
10975
429374b8
JK
109762009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10977 Phil Muldoon <pmuldoon@redhat.com>
10978
10979 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
10980 (bp_location13, bp_location14, bp_location17, bp_location18)
10981 (marker3_proto, marker4_proto): New variables.
10982 (breakpoint info): Update output.
10983 (run until breakpoint at marker3, run until breakpoint at marker4): New
10984 tests.
10985
859825b8
JK
109862009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10987
10988 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
10989 Replace the printf call of Y by provided "y-set-1" label. New block
10990 for the second shared library.
10991 * gdb.base/unload.exp: Compile also the second library, call
10992 gdb_load_shlibs also for it. Use now gdb_breakpoint.
10993 (single pending breakpoint info): Rename to ...
10994 (pending breakpoint info before run): ... this extended test.
10995 (libfile2, libname2, libsrcfile2, libsrc2)
10996 (lib_sl2): New variables.
10997 (exec_opts): Set also SHLIB_NAME2.
10998 (pending breakpoint info on first run at shrfunc1)
10999 (pending breakpoint info on second run at shrfunc1)
11000 (pending breakpoint info on second run at shrfunc2)
11001 (print y from libfile, print y from libfile2): New tests.
11002 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
11003 * gdb.base/unloadshr2.c: New.
11004
e6a386cd
HZ
110052009-12-22 Hui Zhu <teawater@gmail.com>
11006
11007 * gdb.reverse/sigall-reverse.exp: Adjust.
11008
9e19b45e
VP
110092009-12-21 Vladimir Prus <vladimir@codesourcery.com>
11010
11011 PR gdb/10884
11012
11013 * gdb.mi/var-cmd.c (do_bitfield_tests): New
11014 (main): Call do_bitfield_tests.
aacf5b1e 11015 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 11016
d53a7b30
JB
110172009-12-20 Joel Brobecker <brobecker@adacore.com>
11018
11019 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
11020 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
11021 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
11022 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
11023 gdb.modula2/unbounded1.c: Update copyright header.
11024
191ca0a1
CM
110252009-12-10 Chris Moller <moller@mollerware.com>
11026
11027 PR gdb/9399
11028 * gdb.cp/virtfunc2.exp: New tests
11029 * gdb.cp/virtfunc2.cc: New tests
11030 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
11031
0fa6cf1b
MS
110322009-12-10 Oza Pawandeep (paawan1982@yahoo.com
11033
11034 * gdb.reverse/i387-env-reverse.c: New file.
11035 * gdb.reverse/i387-env-reverse.exp: New file.
11036 * gdb.reverse/i387-stack-reverse.c: New file.
11037 * gdb.reverse/i387-stack-reverse.exp: New file.
11038
361ae042
PM
110392009-12-08 Phil Muldoon <pmuldoon@redhat.com>
11040
11041 * gdb.python/py-type.exp (test_range): New test.
11042
bfd31e71
PM
110432009-12-03 Phil Muldoon <pmuldoon@redhat.com>
11044
11045 PR python/10805
11046
11047 * gdb.python/py-type.exp: New file.
11048 * gdb.python/py-type.c: New file.
11049 * Makefile.in: Add py-type.
11050
57a1d736
TT
110512009-12-03 Tom Tromey <tromey@redhat.com>
11052
11053 * gdb.python/py-value.exp (test_parse_and_eval): New
11054 function.
11055
1f3b5d1b
PP
110562009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11057
11058 PR gdb/11022
11059
11060 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
11061 * gdb.base/pr11022.c: New test.
11062
8b7dbdc9
JK
110632009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11064
11065 Fix spurious false FAILs.
11066 * gdb.base/structs.c (chartest): New.
11067 (main): Fill-in chartest.
11068 * gdb.base/structs.exp (anychar_re, first): New.
11069 (start_structs_test): Import global anychar_re and first.
11070 New gdb_test call "set print elements 300; ${testfile}"
11071 (start_structs_test <$first>): New block.
11072 (any): Import global anychar_re. New variable ac. Use ${ac}.
11073
6a53b2ec
JK
110742009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11075
11076 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
11077
d7167b4c
JK
110782009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11079
11080 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
11081 Force $srcfile file.
11082 * gdb.base/foll-fork.c (callee): Comment out the printf call.
11083
b1798462
UW
110842009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11085
11086 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
11087 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11088 * gdb.threads/watchthreads-reorder.exp: Likewise.
11089
b6199126
DJ
110902009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
11091
11092 PR gdb/8704
11093
11094 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
11095 "if", and "thread". Correct matching in the previous test.
11096
b22a0510
DJ
110972009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
11098
11099 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
11100
930636d2
MS
111012009-11-23 Michael Snyder <msnyder@vmware.com>
11102
11103 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
11104 * gdb.reverse-watch-precsave.exp: Ditto.
11105
21a0512e
PP
111062009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
11107
11108 * gdb.asm/asm-source.exp: Adjust.
11109 * gdb.base/help.exp: Adjust.
889bf7c5 11110
fc30d5e0
PA
111112009-11-22 Pedro Alves <pedro@codesourcery.com>
11112
11113 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
11114 (do_syscall_tests_without_xml): Set data-directory to
11115 /the/path/to/nowhere.
11116
f6bc2008
PA
111172009-11-21 Pedro Alves <pedro@codesourcery.com>
11118
11119 * gdb.threads/local-watch-wrong-thread.c,
11120 gdb.threads/local-watch-wrong-thread.exp: New files.
11121
8c2fb5de
PA
111222009-11-21 Pedro Alves <pedro@codesourcery.com>
11123
11124 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
11125 assume new `regsub' syntax available.
11126
ebec9a0f
PA
111272009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11128
a79d3c27
JK
11129 * gdb.base/watchpoint-hw-hit-once.exp,
11130 gdb.base/watchpoint-hw-hit-once.c: New.
11131
111322009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11133
11134 * gdb.threads/watchthreads-reorder.exp,
11135 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 11136
276a961b
MK
111372009-11-17 Nathan Sidwell <nathan@codesourcery.com>
11138
11139 * gdb.xml/tdesc-regs.exp: Use for m68k.
11140
4867c1fb
PA
111412009-11-15 Pedro Alves <pedro@codesourcery.com>
11142
11143 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
11144
f6838f81
DJ
111452009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11146
11147 * lib/gdb.exp (current_target_name): New procedure.
11148 (gdb_wrapper_target): New variable.
11149 (gdb_wrapper_init): Set gdb_wrapper_target.
11150 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
11151 wrapper.
11152
4ac4dd3f
DJ
111532009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11154
11155 * gdb.base/remote.exp: Delete the slowest load test.
11156 Do not load with fixed packet sizes.
11157
a7881759
DJ
111582009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11159
11160 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
11161
97a5b505
DJ
111622009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11163
11164 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
11165 srcfile when setting a breakpoint.
11166
d3e1fc54
DJ
111672009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
11168
11169 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
11170 macros.
11171
7cbcbded
DJ
111722009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11173
11174 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
11175 to be in memory.
11176 * gdb.base/display.c (force_mem): New.
11177 (do_loops): Use it. Add breakpoint comments.
11178 (do_vars): Add a breakpoint comment.
11179 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
11180 line numbers.
11181
bdea3a92
NF
111822009-11-13 Nathan Froyd <froydnj@codesourcery.com>
11183
11184 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
11185 instead of a bare "run".
11186
269f82e5
PP
111872009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11188
11189 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 11190
a69b7d9d
DJ
111912009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11192
11193 * lib/cell.exp (skip_cell_tests): Clean up test files before
11194 returning.
11195
b598bfda
DJ
111962009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11197
11198 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
11199 and the breakpoint menu. Do not call perror if a prompt is seen.
11200 Consume the following GDB prompt.
11201 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
11202 * gdb.cp/namespace.exp: Use gdb_test.
11203 * gdb.cp/templates.exp: Use gdb_test.
11204 (test_template_breakpoints): Use gdb_test_multiple.
11205
87728fa0
DJ
112062009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11207
11208 * gdb.base/break1.c (struct some_struct, values): Move earlier.
11209 (marker4): Reference values.
11210
b67c692f
DJ
112112009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11212
11213 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
11214 is missing.
11215
f0df251a
DJ
112162009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11217
11218 * gdb.base/break.c (need_malloc): New.
11219 * gdb.base/constvars.c (main): Reference crass and crisp.
11220 * gdb.base/gdb1821.c (main): Reference bar.
11221 * gdb.cp/gdb1355.cc (main): Reference s1.
11222 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
11223 (main): Call them.
11224 * gdb.cp/hang2.cc (dummy2): Define.
11225 * gdb.cp/hang3.cc (dummy3): Define.
11226 * gdb.cp/m-data.cc (main): Reference shadow.
11227
bdf7534a
NF
112282009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11229 Nathan Froyd <froydnj@codesourcery.com>
11230
11231 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
11232 remote host.
11233
f24fce77
NF
112342009-11-12 Nathan Froyd <froydnj@codesourcery.com>
11235
11236 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
11237 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
11238 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11239 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11240 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11241 * gdb.dwarf2/dw2-producer.exp: Likewise.
11242 * gdb.dwarf2/mac-fileno.exp: Likewise.
11243 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
11244 py-prettyprint.py to the remote host.
11245 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
11246
40f0318e
KS
112472009-11-11 Keith Seitz <keiths@redhat.com>
11248
11249 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
11250 use it instead of "Foo".
11251 * gdb.cp/classes.exp (do_tests): Add a test to access
11252 a method through a typedef'd class name.
11253
f3d9f7fb
NF
112542009-11-11 Nathan Froyd <froydnj@codesourcery.com>
11255
11256 * gdb.base/long_long.exp: Permit leading zeros on floating-point
11257 exponents.
11258 * gdb.base/pointers.exp: Likewise.
11259 * gdb.cp/ref-types.exp: Likewise.
11260
a4216f37
KS
112612009-11-11 Keith Seitz <keiths@redhat.com>
11262
11263 * gdb.cp/cplusfuncs.cc (class foo): Add operators
11264 new[] and delete[].
11265 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
11266 "void".
11267 (probe_demangler): Remove all single-quoting of
11268 method and variable names.
11269 (info_func_regexp): Remove the word "void" from any
11270 occurrence of "(void)".
11271 (print_addr_2): Remove all single-quoting of
11272 method names.
11273 (print_addr_2_kfail): Likewise.
11274 (print_addr): Single-quote C function names before
11275 passing to print_addr_2.
11276 (test_paddr_operator_functions): Remove single-quoting
11277 for method names.
11278 Add tests for operator new[] and operator delete[].
11279
9b14d7aa
JK
112802009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11281
11282 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
11283
85feb311
KS
112842009-11-09 Keith Seitz <keiths@redhat.com>
11285
11286 * gdb.cp/overload.exp: Add tests for resolving overloaded
11287 methods in expression parsing/evaluation.
11288
fa335448
DJ
112892009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
11290
11291 * lib/gdb.exp (default_gdb_version): Use --version instead of
11292 --command.
11293
ec3c07fc
NS
112942009-11-10 Nathan Sidwell <nathan@codesourcery.com>
11295
11296 * lib/gdb.exp (gdb_compile_test): New.
11297 (skip_ada_tests, skip_java_tests): New.
11298 (gdb_compile): Use gdb_compile_test for f77.
11299 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
11300 * lib/java.exp (compile_java_from_source): Remove runtests check,
11301 use gdb_compile_test to record result.
11302 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
11303 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
11304 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
11305 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
11306 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
11307 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
11308 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
11309 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
11310 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
11311 adjust gdb_compile invocations.
11312
b8b4e42b
JK
113132009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11314
11315 * Makefile.in (abs_builddir): New.
11316 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
11317 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
11318 `$(abs_builddir)/site.exp'.
11319
f8b7eaf3
DJ
113202009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
11321
11322 * config/m68k-emc.exp, lib/emc-support.exp,
11323 gdb.trace/gdb_c_test.c: Delete.
11324 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
11325 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
11326 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
11327 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
11328 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
11329 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
11330 casing for m68k-*-elf.
11331
c4187697
NS
113322009-11-03 Pedro Alves <pedro@codesourcery.com>
11333
11334 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
11335 * gdb.arch/i386-prologue.exp: Likewise.
11336 * gdb.arch/i386-unwind.exp: Likewise.
11337
db16b772
DJ
113382009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11339
11340 * lib/gdb.exp (gdb_expect): Fix timeout typo.
11341
bcf71277
DJ
113422009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11343
11344 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
11345
0105cee2
DJ
113462009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11347
11348 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
11349
24ddea62
JK
113502009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11351
11352 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
11353
287ccc17
JK
113542009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11355
11356 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
11357 * gdb.base/sepdebug2.c: New file.
11358
08bca259 113592009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
11360
11361 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
11362 the modified warnings for catch syscall. Verify if GDB was compiled
11363 with support for lib expat, and choose which tests to run depending
11364 on this.
11365
5d4e2b76
VP
113662009-10-30 Vladimir Prus <vladimir@codesourcery.com>
11367
11368 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
11369 that composite commands are parsed OK. And also test
11370 that breakpoint commands do work.
11371
240e538a
MS
113722009-10-23 Michael Snyder <msnyder@vmware.com>
11373
11374 gdb.reverse/consecutive-precsave.exp: Change expect pattern
11375 to allow for new disassembly style.
11376
9c419145
PP
113772009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11378
11379 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 11380
02506ff1
MS
113812009-10-22 Michael Snyder <msnyder@vmware.com>
11382
11383 * gdb.reverse/break-precsave.exp: New test.
11384 * gdb.reverse/consecutive-precsave.exp: Ditto.
11385 * gdb.reverse/finish-precsave.exp: Ditto.
11386 * gdb.reverse/i386-precsave.exp: Ditto.
11387 * gdb.reverse/machinestate-precsave.exp: Ditto.
11388 * gdb.reverse/sigall-precsave.exp: Ditto.
11389 * gdb.reverse/solilb-precsave.exp: Ditto.
11390 * gdb.reverse/step-precsave.exp: Ditto.
11391 * gdb.reverse/until-precsave.exp: Ditto.
11392 * gdb.reverse/watch-precsave.exp: Ditto.
11393
4cf866a3
MS
113942009-10-22 Michael Snyder <msnyder@vmware.com>
11395
11396 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
11397 for gdb_expect. Adjust one test's expect strings for the new
11398 format of disassemble.
11399 * gdb.reverse/finish-reverse.exp: Delete 'return'.
11400 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
11401 gdb_test_multiple.
11402 * gdb.reverse/step-reverse.exp: Delete 'return'.
11403 * gdb.reverse/until-reverse.exp: Delete blank lines.
11404 * gdb.reverse/watch-reverse.exp: Delete blank lines.
11405
2b28d209
PP
114062009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
11407
11408 * gdb.base/consecutive.exp: Adjust.
11409 * gdb.base/display.exp: Likewise.
11410 * gdb.base/pc-fp.exp: Likewise.
11411 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 11412
33b9c32b
MS
114132009-10-19 Michael Snyder <msnyder@vmware.com>
11414
11415 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
11416 * gdb.reverse/finish-reverse.c: Ditto.
11417 * gdb.reverse/sigall-reverse.c: Ditto.
11418 * gdb.reverse/solib-reverse.c: Ditto.
11419 * gdb.reverse/step-reverse.c: Ditto.
11420 * gdb.reverse/watch-reverse.c: Ditto.
11421
6c95b8df
PA
114222009-10-19 Pedro Alves <pedro@codesourcery.com>
11423 Stan Shebs <stan@codesourcery.com>
11424
11425 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
11426 * gdb.base/foll-exec.exp: Adjust to expect a process id before
11427 "Executing new program".
11428 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
11429 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
11430 left listed after having been killed.
11431 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
11432 * gdb.base/maint.exp: Adjust test.
11433
11434 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
11435 * gdb.multi/Makefile.in: New.
11436 * gdb.multi/base.exp: New.
11437 * gdb.multi/goodbye.c: New.
11438 * gdb.multi/hangout.c: New.
11439 * gdb.multi/hello.c: New.
11440 * gdb.multi/bkpt-multi-exec.c: New.
11441 * gdb.multi/bkpt-multi-exec.exp: New.
11442 * gdb.multi/crashme.c: New.
11443
279017b7
TG
114442009-10-13 Tristan Gingold <gingold@adacore.com>
11445
11446 * gdb.base/sepdebug.exp: Check debug info are found.
11447
0413d738
PA
114482009-10-08 Pedro Alves <pedro@codesourcery.com>
11449
11450 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
11451 bits.
11452
c628eecc
JK
114532009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11454
11455 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
11456
38af1bfe
JB
114572009-10-07 Joel Brobecker <brobecker@adacore.com>
11458
11459 * gdb.base/watchpoints.c: Add copyright header. Reformat one
11460 of the comments.
11461
2b0adecd
PM
114622009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
11463
11464 * gdb.base/annota1.exp: Remove obsolete match_max increase.
11465 * gdb.base/annota3.exp: Idem.
11466 * gdb.base/maint.exp: Idem.
11467
8d417781
PM
114682009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
11469
889bf7c5 11470 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
11471 to default.
11472
bb61102d
PM
114732009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
11474
889bf7c5 11475 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
11476 mingw and cygwin targets.
11477
ace5c364
PM
114782009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
11479 Pedro Alves <pedro@codesourcery.com>
11480
889bf7c5 11481 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
11482 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
11483
c2d494a0
PM
114842009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
11485
e1b52ce2
PM
11486 * gdb.base/shr1.c: Use %p in format string.
11487 * gdb.base/unload.c: Avoid warning in fprintf.
11488 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 11489
209f53f5
PM
114902009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
11491
11492 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
11493 long type.
11494 (test_unlink): Correct printf string.
11495 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
11496 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
11497
8172766a
JK
114982009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11499
11500 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
11501 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
11502 * gdb.arch/ia64-breakpoint-shadow.S: New file.
11503
0f73703c
UW
115042009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11505
11506 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
11507 * gdb.objc/nondebug.exp: Likewise.
11508
b32306ca
UW
115092009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11510
11511 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
11512 target_info setting.
11513
11514 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
11515 that detect new threads during "info threads".
11516
0057022f
UW
115172009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11518
11519 * gdb.threads/manythreads.c (main): Increase thread stack size
11520 to 2*PTHREAD_STACK_MIN.
11521 * gdb.threads/multi-create.c (main): Likewise.
11522 (create_function): Likewise.
11523
f29c0325
UW
115242009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11525
11526 * gdb.base/dump.exp: Pass difference of pointer types instead
11527 of integer types as offset to restore in intarr3.srec case.
11528
fcb34849
UW
115292009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11530
11531 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
11532
d5142e3b
UW
115332009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11534
11535 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
11536
087b74b2 115372009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 11538
087b74b2
PM
11539 New test for two watchpoints, with disabling of
11540 the first inserted.
11541 * testsuite/gdb.base/watchpoints.c: New file.
11542 * testsuite/gdb.base/watchpoints.exp: New file.
11543
96c07c5b
TT
115442009-09-25 Tom Tromey <tromey@redhat.com>
11545
11546 * gdb.base/charset.exp: Test utf-16 strings with Python.
11547
b8899f2b
TT
115482009-09-25 Tom Tromey <tromey@redhat.com>
11549
11550 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
11551 UCS-4.
11552 * gdb.base/charset.c (utf_32_string): Rename.
11553 (init_utf32): Rename.
11554 (main): Update.
11555
329719ec
TT
115562009-09-22 Tom Tromey <tromey@redhat.com>
11557
11558 * gdb.python/py-function.exp: Add regression tests.
11559
11ef0d76
KS
115602009-09-21 Keith Seitz <keiths@redhat.com>
11561
11562 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
11563 with invalid operator.
11564
3fe8f3b3
KS
115652009-09-21 Keith Seitz <keiths@redhat.com>
11566
11567 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
11568 and destructor using typedef name of class.
11569 * gdb.cp/classes.cc (class Base1): Add a destructor.
11570 (base1): New typedef.
11571 (use_methods): Instanitate an object of type base1.
11572 * gdb.cp/templates.exp (test_template_typedef): New procedure.
11573 (do_tests): Call test_template_typedef.
11574 * gdb.cp/templates.cc (Baz::~Baz): New method.
11575 (intBazOne): New typedef.
11576 (main): Instantiate intBazOne.
11577
7a9fe101
PM
115782009-09-21 Phil Muldoon <pmuldoon@redhat.com>
11579
11580 PR python/10633
11581
11582 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
11583 Function.
11584 (run_lang_tests): Add print elements test.
11585
2e4d963f
PM
115862009-09-21 Phil Muldoon <pmuldoon@redhat.com>
11587
11588 * gdb.python/py-value.exp (test_subscript_regression): New
11589 function. Test for invalid subscripts.
11590 * gdb.python/py-value.c (main): Add test array, and pointer to it.
11591 (ptr_ref): New function.
11592
ec7e75e7
PP
115932009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11594
11595 * gdb.base/default.exp: Fix "show convenience".
11596
0cc7d26f
TT
115972009-09-15 Tom Tromey <tromey@redhat.com>
11598
11599 * lib/mi-support.exp (mi_create_varobj): Update.
11600 (mi_create_floating_varobj): Likewise.
11601 (mi_create_dynamic_varobj): New proc.
11602 (mi_varobj_update): Update.
11603 (mi_varobj_update_with_type_change): Likewise.
11604 (mi_varobj_update_kv_helper): New proc.
11605 (mi_varobj_update_dynamic_helper): Rewrite.
11606 (mi_varobj_update_dynamic): New proc.
11607 (mi_list_varobj_children): Update.
11608 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
11609 * gdb.python/python-prettyprint.py (pp_outer): New class.
11610 (pp_nullstr): Likewise.
11611 (lookup_function): Register new printers.
11612 * gdb.python/python-prettyprint.c (struct substruct): New type.
11613 (struct outerstruct): Likewise.
11614 (substruct_test): New function.
11615 (struct nullstr): New type.
11616 (string_1, string_2): New globals.
11617 (main): Add new tests.
11618 * gdb.python/python-mi.exp: Added regression tests.
11619 * gdb.mi/mi2-var-display.exp: Update.
11620 * gdb.mi/mi2-var-cmd.exp: Update.
11621 * gdb.mi/mi2-var-child.exp: Update.
11622 * gdb.mi/mi2-var-block.exp: Update.
11623 * gdb.mi/mi-var-invalidate.exp: Update.
11624 * gdb.mi/mi-var-display.exp: Update.
11625 * gdb.mi/mi-var-cmd.exp: Update.
11626 * gdb.mi/mi-var-child.exp: Update.
11627 * gdb.mi/mi-var-block.exp: Update.
11628 * gdb.mi/mi-break.exp: Update.
11629 * gdb.mi/gdb701.exp: Update.
11630
a96d9b2e
SDJ
116312009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
11632
11633 * Makefile.in: Inclusion of catch-syscall object.
11634 * gdb.base/catch-syscall.c: New file.
11635 * gdb.base/catch-syscall.exp: New file.
11636
b43b923a
MS
116372009-09-12 Michael Snyder <msnyder@vmware.com>
11638
11639 * gdb.reverse/step-reverse.exp: Explicitly check for targets
11640 that can support reverse debuggnig.
11641
cec03d70
TT
116422009-09-11 Tom Tromey <tromey@redhat.com>
11643
11644 * gdb.dwarf2/valop.S: New file.
11645 * gdb.dwarf2/valop.exp: New file.
11646
e23bb3fc
MK
116472009-09-11 Mark Kettenis <kettenis@gnu.org>
11648
11649 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
11650
37c3696d
DE
116512009-09-10 Doug Evans <dje@google.com>
11652
11653 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
11654 Add $gdb_prompt to second breakpoint regexp.
11655
5172aecb
JB
116562009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
11657
11658 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
11659 names, add missing ones.
11660 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
11661 * gdb.python/py-frame.c: Rename from python-frame.c.
11662 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
11663 testfile name.
11664 * gdb.python/py-function.exp: Rename from python-function.exp.
11665 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
11666 testfile name.
11667 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
11668 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
11669 Adjust testfile name.
11670 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
11671 * gdb.python/py-template.cc: Rename from python-template.cc.
11672 * gdb.python/py-template.exp: Rename from python-template.exp.
11673 Adjust testfile name.
11674 * gdb.python/py-value.c: Rename from python-value.c.
11675 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
11676 testfile name.
11677
b554e4bd
JK
116782009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11679
11680 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
11681 $bpt2address.
11682 (Second breakpoint address is valid on ia64)
11683 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
11684
9a68ae16
JM
116852009-09-03 Joseph Myers <joseph@codesourcery.com>
11686
11687 * gdb.base/ending-run.exp: Restrict regular expression matching
11688 line number to require closing brace following.
11689
146b9145
DE
116902009-09-03 Doug Evans <dje@google.com>
11691
11692 * gdb.base/store.exp (check_set): Fix typo in expected value message.
11693
787d21e1
TT
116942009-09-02 Tom Tromey <tromey@redhat.com>
11695
11696 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
11697
e7802207
TT
116982009-09-02 Tom Tromey <tromey@redhat.com>
11699
11700 * gdb.dwarf2/callframecfa.exp: New file.
11701 * gdb.dwarf2/callframecfa.S: New file.
11702
817aadd2
JK
117032009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11704
11705 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
11706 gdb.base/solib-overlap-main.c: New.
11707
4a76eae5
DJ
117082009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
11709
11710 PR gdb/10565
11711
11712 * gdb.base/bitfields.c (struct container, container): New.
11713 (main): Initialize it and call break5.
11714 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
11715
d4b96c9a
JK
117162009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11717
11718 Support constant DW_AT_data_member_location by GCC PR debug/40659.
11719 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
11720
4e22772d
JK
117212009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11722
11723 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
11724
2efab443
MS
117252009-08-26 Michael Snyder <msnyder@vmware.com>
11726
11727 * gdb.base/i386-reverse.c: New file.
11728 * gdb.base/i386-reverse.exp: New file.
11729 * gdb.base/Makefile.in: Add new files to be removed.
11730
07ab73a0
JM
117312009-08-26 Joseph Myers <joseph@codesourcery.com>
11732
11733 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
11734 environment-pwd for remote host.
11735 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
11736
676accff
KS
117372009-08-24 Keith Seitz <keiths@redhat.com>
11738
11739 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
11740 Add two new C++ completer tests which limit the output to a
889bf7c5 11741 given class.
676accff 11742
f9f7ad22
MS
117432009-08-24 Michael Snyder <msnyder@vmware.com>
11744
11745 * gdb.base/del.exp: Fix typo in comment.
11746 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
11747
81ecdfbb
RW
117482009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11749
11750 * configure: Regenerate.
11751 * gdb.hp/configure: Likewise.
11752 * gdb.hp/gdb.aCC/configure: Likewise.
11753 * gdb.hp/gdb.base-hp/configure: Likewise.
11754 * gdb.hp/gdb.compat/configure: Likewise.
11755 * gdb.hp/gdb.defects/configure: Likewise.
11756 * gdb.hp/gdb.objdbg/configure: Likewise.
11757 * gdb.stabs/configure: Likewise.
11758
cab0c772
UW
117592009-08-19 Doug Evans <dje@google.com>
11760
11761 * gdb.base/gdbvars.c: New file.
11762 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
11763
b8fa0bfa
PA
117642009-08-14 Pedro Alves <pedro@codesourcery.com>
11765
11766 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
11767 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
11768
b84aa90a
PA
117692009-08-13 Pedro Alves <pedro@codesourcery.com>
11770
11771 * gdb.base/default.exp: Adjust "set language test": it's now an
11772 enum command. Larger help string moved to "help set language".
11773 * gdb.base/help.exp: Adjust "help set language" expected output,
11774 now lists all known languages.
11775
0d8f9b2c
NF
117762009-08-11 Nathan Froyd <froydnj@codesourcery.com>
11777
11778 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
11779 all frame arguments.
11780 * gdb.arch/altivec-regs.exp: Likewise.
11781
bda180e0
TT
117822009-08-07 Tom Tromey <tromey@redhat.com>
11783
11784 * gdb.base/setshow.exp: Add tests for changes to set language, set
11785 check range, and set check type.
11786
48cb2d85
VP
117872009-08-03 Vladimir Prus <vladimir@codesourcery.com>
11788
11789 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
11790 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 11791 Call it.
48cb2d85 11792
1ea34204
UW
117932009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11794
11795 * configure.ac: Run gdb.cell tests when appropriate.
11796 * configure: Regenerate.
11797 * lib/cell.exp: New file.
11798 * gdb.cell: New directory.
11799 * gdb.cell/configure.ac: New file.
11800 * gdb.cell/configure: New file.
11801 * gdb.cell/Makefile.in: New file.
11802 * gdb.cell/arch.exp: New file.
11803 * gdb.cell/break.c: New file.
11804 * gdb.cell/break.exp: New file.
11805 * gdb.cell/break-spu.c: New file.
11806 * gdb.cell/bt.c: New file.
11807 * gdb.cell/bt2-spu.c: New file.
11808 * gdb.cell/bt-spu.c: New file.
11809 * gdb.cell/bt.exp: New file.
11810 * gdb.cell/coremaker.c: New file.
11811 * gdb.cell/coremaker-spu.c: New file.
11812 * gdb.cell/core.exp: New file.
11813 * gdb.cell/gcore.exp: New file.
11814 * gdb.cell/data.c: New file.
11815 * gdb.cell/data.exp: New file.
11816 * gdb.cell/data-spu.c: New file.
11817 * gdb.cell/ea-cache.exp: New file.
11818 * gdb.cell/ea-cache.c: New file.
11819 * gdb.cell/ea-cache-spu.c: New file.
11820 * gdb.cell/ea-standalone.c: New file.
11821 * gdb.cell/ea-standalone.exp: New file.
11822 * gdb.cell/ea-test.c: New file.
11823 * gdb.cell/ea-test.exp: New file.
11824 * gdb.cell/f-regs.exp: New file.
11825 * gdb.cell/mem-access.c: New file.
11826 * gdb.cell/mem-access.exp: New file.
11827 * gdb.cell/mem-access-spu.c: New file.
11828 * gdb.cell/ptype.exp: New file.
11829 * gdb.cell/registers.exp: New file.
11830 * gdb.cell/size.c: New file.
11831 * gdb.cell/sizeof.exp: New file.
11832 * gdb.cell/size-spu.c: New file.
11833 * gdb.cell/solib.exp: New file.
11834 * gdb.cell/solib-symbol.exp: New file.
11835
85e747d2
UW
118362009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11837
11838 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
11839
58d6951d
DJ
118402009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
11841
11842 * gdb.base/float.exp: Handle VFP registers.
11843
6e0a4f15
MS
118442009-07-14 Michael Snyder <msnyder@vmware.com>
11845
dcd5da87
MS
11846 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
11847 to bring gdb to the beginning of the calling line.
11848
6e0a4f15
MS
11849 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
11850 confusing the i386 epilogue unwinder.
11851
782b2b07
SS
118522009-07-14 Stan Shebs <stan@codesourcery.com>
11853
11854 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
11855
f662c3bc
MS
118562009-07-14 Michael Snyder <msnyder@vmware.com>
11857
11858 * gdb.reverse/step-reverse.exp (stepi into function call):
11859 Call instruction may not be first instruction in the line.
11860 (reverse stepi from a function call): Used wrong line number.
11861
8f313923
JK
118622009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11863
11864 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
11865
4662c76e
JK
118662009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11867
11868 Fix gdb.base/macscp.exp when using custom inputrc.
11869 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
11870 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
11871 env(TERM) set.
11872 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
11873 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
11874
aa81e255
JK
118752009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11876
11877 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
11878 * gdb.base/annota1.exp (thread_test): Import global $testfile.
11879 Change the compilation target to match the testcase name.
11880 * gdb.base/sect-cmd.exp: Change the compilation target to match the
11881 testcase name.
11882 * a2-run.exp: Use for setup prepare_for_testing. Change the
11883 compilation target to match the testcase name.
11884 * gdb.base/commands.exp: Likewise.
11885 * gdb.base/finish.exp: Likewise.
11886 * gdb.base/float.exp: Likewise.
11887 * gdb.base/info-target.exp: Likewise.
11888 * gdb.base/relational.exp: Likewise.
11889 * gdb.base/term.exp: Likewise.
11890 * gdb.base/until.exp: Likewise.
11891 * gdb.base/volatile.exp: Likewise.
11892 * gdb.base/whatis-exp.exp: Likewise.
11893
4c93b1d7
HZ
118942009-07-11 Hui Zhu <teawater@gmail.com>
11895
11896 * gdb.base/help.exp (disassemble): Update expected help text.
11897
812f7342
TT
118982009-07-09 Tom Tromey <tromey@redhat.com>
11899
11900 * lib/gdb.exp: Handle TRANSCRIPT.
11901 (remote_spawn, remote_close, send_gdb): New procs.
11902
fbb8f299
PM
119032009-07-10 Phil Muldoon <pmuldoon@redhat.com>
11904
11905 * gdb.python/python-prettyprint.c: Add counted null string
11906 structure.
11907 * gdb.python/python-prettyprint.exp: Print null string. Test for
11908 embedded nulls.
11909 * gdb.python/python-prettyprint.py (pp_ns): New Function.
11910 * gdb.python/python-value.exp (test_value_in_inferior): Add
11911 variable length string fetch tests.
11912 * gdb.python/python-value.c (main): Add strings for string fetch tests.
11913
c0ac0ec7
JK
119142009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11915
11916 * gdb.base/dump.exp (inaccessible memory is reported): New test.
11917
30b66ecc
TT
119182009-07-07 Tom Tromey <tromey@redhat.com>
11919
11920 * gdb.base/call-rt-st.exp: Update for change to escape output.
11921 * gdb.base/callfuncs.exp: Likewise.
11922 * gdb.base/charset.exp: Likewise.
11923 * gdb.base/constvars.exp: Likewise.
11924 * gdb.base/long_long.exp: Likewise.
11925 * gdb.base/pointers.exp: Likewise.
11926 * gdb.base/printcmds.exp: Likewise.
11927 * gdb.base/setvar.exp: Likewise.
11928 * gdb.base/store.exp: Likewise.
11929 * gdb.cp/ref-types.exp: Likewise.
11930 * gdb.mi/mi-var-child.exp: Likewise.
11931 * gdb.mi/mi-var-display.exp: Likewise.
11932 * gdb.mi/mi2-var-display.exp: Likewise.
11933 * gdb.base/charset.exp: Test octal escape sequence length.
11934 Update for change to escape output.
11935
187c4a2b
JK
119362009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11937
11938 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
11939
d80a43f9
DJ
119402009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
11941
11942 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
11943
047427a8
JK
119442009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11945
11946 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
11947 gdbserver increasing $portnum if "Can't bind address" has been seen.
11948
8b5a0f4f
PA
119492009-07-05 Pedro Alves <pedro@codesourcery.com>
11950
11951 * gdb.base/ending-run.exp: Add "step out of main" pattern for
11952 mingw32ce.
11953
7d93ba58
PA
119542009-07-05 Pedro Alves <pedro@codesourcery.com>
11955
11956 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
11957 VFP format.
11958
2277426b
PA
119592009-07-02 Pedro Alves <pedro@codesourcery.com>
11960
11961 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
11962 linux. Adjust to use "inferior", "info inferiors", "detach
11963 inferior" and "kill inferior" instead of "restart", "info fork",
11964 "detach fork" and "delete fork".
11965 * gdb.base/ending-run.exp: Spell out "info".
11966 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
11967 the "kill" command.
11968
5af949e3
UW
119692009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11970
11971 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
11972 change to prefix TLS offset in hex with 0x.
11973
5d3729b5
UW
119742009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11975
11976 * gdb.base/default.exp: Update test case for "x" changes.
11977
af589bd0
TG
119782009-07-01 Tristan Gingold <gingold@adacore.com>
11979
11980 * gdb.base/bigcore.exp: Make darwin untested.
11981
40974f91
JK
119822009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11983
11984 * gdb.base/completion.exp (directory completion): Create the directory.
11985 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
11986 escapeuniquesub.
11987 (directory completion 2): Expect now ${escapeuniquesub}.
11988 (Glob remaining of directory test): Remove one excessive newline.
11989 Expect the real output.
11990
59dd3af6
JK
119912009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11992
11993 Fix `make check//%' target after `make check' has been ran.
11994 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
11995 a mkdir call.
11996 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
11997 (%/.dir): Remove.
11998
f4e164aa
JK
119992009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12000
12001 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
12002 the expected result record.
12003
69af2122
JK
120042009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12005
12006 Remove racy FAILs relying just on the timeouts.
12007 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
12008 (annotation_level 2): Remove racy FAILs.
12009
2fd481e1
PP
120102009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12011
12012 gdb/10275
889bf7c5
PA
12013 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
12014
c38f313d
DJ
120152009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
12016
12017 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
12018
8b777f02
VP
120192009-06-30 Vladimir Prus <vladimir@codesourcery.com>
12020
12021 * gdb.mi/mi-stack.exp: Testing symbolic options
12022 to -stack-list-locals and -stack-list-arguments.
12023
00c7eacf
JK
120242009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12025
12026 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
12027
6bc80edc
TT
120282009-06-29 Tom Tromey <tromey@redhat.com>
12029
12030 * dg-extract-results.sh: New file.
12031 * Makefile.in (FORCE_PARALLEL): New variable.
12032 (CHECK_TARGET): New conditional variable.
12033 (check): Use CHECK_TARGET.
12034 (DO_RUNTEST): New variable.
12035 (check-single): New target.
12036 (TEST_DIRS): New variable.
12037 (TEST_TARGETS): Likewise.
12038 (check-parallel): New target.
12039 (check-gdb.%): New pattern.
12040 (BASE1_FILES): New variable.
12041 (BASE2_FILES): Likewise.
12042 (check-gdb.base%): New pattern.
12043 (%/.dir): New pattern.
12044 * configure: Rebuild.
12045 * aclocal.m4 (AM_CONDITIONAL): New defun.
12046 * configure.ac: Check whether user is using GNU make.
12047 (GMAKE): New conditional.
12048
794684b6
SW
120492009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
12050
12051 * gdb.cp/namespace-nested-import.cc: New test.
12052 * gdb.cp/namespace-nested-import.exp: New test.
12053
edb3359d
DJ
120542009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
12055
12056 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
12057 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
12058 * gdb.opt/Makefile.in (EXECUTABLES): Update.
12059 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
12060 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
12061 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
12062 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
12063 gdb.opt/inline-markers.c: New files.
12064 * lib/gdb.exp (skip_inline_frame_tests): New function.
12065 (skip_inline_var_tests): New function.
12066
cf657a0c
AS
120672009-06-27 Andreas Schwab <schwab@linux-m68k.org>
12068
12069 * gdb.cp/exception.exp: Don't require $hex before inner frame in
12070 backtrace.
12071
28d41a99
MS
120722009-06-27 Michael Snyder <msnyder@vmware.com>
12073
12074 * gdb.reverse: New directory.
12075 * gdb.reverse/break-reverse.c: New test.
12076 * gdb.reverse/break-reverse.exp: New test.
12077 * gdb.reverse/consecutive-reverse.c: New test.
12078 * gdb.reverse/consecutive-reverse.exp: New test.
12079 * gdb.reverse/finish-reverse.c: New test.
12080 * gdb.reverse/finish-reverse.exp: New test.
12081 * gdb.reverse/machinestate.c: New test.
12082 * gdb.reverse/ms1.c: New test.
12083 * gdb.reverse/machinestate.exp: New test.
12084 * gdb.reverse/Makefile.in: New file.
12085 * gdb.reverse/shr2.c: New test.
12086 * gdb.reverse/solib-reverse.c: New test.
12087 * gdb.reverse/solib-reverse.exp: New test.
12088 * gdb.reverse/step-reverse.c: New test.
12089 * gdb.reverse/step-reverse.exp: New test.
12090 * gdb.reverse/until-reverse.c: New test.
12091 * gdb.reverse/ur1.c: New test.
12092 * gdb.reverse/until-reverse.exp: New test.
12093 * gdb.reverse/watch-reverse.c: New test.
12094 * gdb.reverse/watch-reverse.exp: New test.
12095 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
12096 * configure: Regenerate.
12097
fe3c8b0d
DE
120982009-06-26 Doug Evans <dje@google.com>
12099
12100 * gdb.base/psymtab.exp: Turn off pending breakpoints.
12101
3a72a602
PM
121022009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
12103
12104 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
12105 windows problem for 'file delete $binfile'.
12106
27aa8d6a
SW
121072009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
12108
12109 * gdb.cp/namespace-using.exp: New test.
12110 * gdb.cp/namespace-using.cc: New test.
12111
8ac055f8
JB
121122009-05-20 Joel Brobecker <brobecker@adacore.com>
12113
12114 * gdb.ada/variant_record_packed_array: New testcase.
12115
85e306ed
TT
121162009-06-23 Tom Tromey <tromey@redhat.com>
12117
12118 * gdb.base/charset.exp (test_combination): Regression test.
12119 * gdb.base/charset.c (my_wchar_t): New typedef.
12120 (myvar): New global.
12121 (main): Set myvar.
12122
56643c5e
PM
121232009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
12124
12125 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
12126 target.
12127
1fac167a
UW
121282009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12129
12130 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
12131
7ccb0be9
UW
121322009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12133
12134 * gdb.mi/gdb680.exp: Update test for error message.
12135
568d6575
UW
121362009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12137
12138 * gdb.base/annota1.exp: Allow multiple occurrences of the
12139 frames-invalid annotation.
12140 * gdb.cp/annota2.exp: Likewise.
12141
7cd1089b
PM
121422009-06-15 Phil Muldoon <pmuldoon@redhat.com>
12143
12144 * gdb.cp/gdb2495.cc: New file.
12145 * gdb.cp/gdb2495.exp: New file.
12146
72c63395
JK
121472009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12148
12149 Report error on GDB crash during runto.
12150 * lib/gdb.exp (runto <eof>): New.
12151
3788363d
DJ
121522009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
12153
12154 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
12155 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
12156 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
12157 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
12158 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
12159 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
12160 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
12161 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
12162 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
12163 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
12164 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
12165 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
12166 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12167 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
12168 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
12169 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
12170 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
12171 gdb.server/server-mon.exp, gdb.server/server-run.exp,
12172 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12173 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
12174 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
12175 gdb.trace/passcount.exp, gdb.trace/report.exp,
12176 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
12177 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
12178 gdb.trace/while-stepping.exp: Use a unique name for the compiled
12179 executable.
12180
17592de3
PA
121812009-06-07 Pedro Alves <pedro@codesourcery.com>
12182
12183 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
12184 defined before referencing it.
12185
701e355d
DE
121862009-06-03 Doug Evans <dje@google.com>
12187
12188 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
12189 * gdb.arch/i386-see.c: Ditto.
12190
f2292c65
PM
121912009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
12192
12193 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
12194 (check_macro): Return 1 if undefined.
12195 If first test fails, check if macro debug information is available,
12196 and report unsupported test if no macro information is found.
12197
5a437975
DE
121982009-05-29 Doug Evans <dje@google.com>
12199
12200 * gdb.threads/hand-call-in-threads.exp: New.
12201 * gdb.threads/hand-call-in-threads.c: New.
12202
c141c696
MS
122032009-05-29 Michael Snyder <msnyder@vmware.com>
12204
12205 * gdb.base/break-always.exp: Change "1" to "on".
12206 Add confirmation check.
12207
b3444185
PA
122082009-05-28 Pedro Alves <pedro@codesourcery.com>
12209
12210 * gdb.threads/threxit-hop-specific.c: New.
12211 * gdb.threads/threxit-hop-specific.exp: New.
12212 * gdb.threads/thread-execl.c: New.
12213 * gdb.threads/thread-execl.exp: New.
12214
b6313243
TT
122152009-05-27 Tom Tromey <tromey@redhat.com>
12216 Thiago Jung Bauermann <bauerman@br.ibm.com>
12217
12218 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
12219 (mi_child_regexp): Likewise.
12220 (mi_list_varobj_children_range): Likewise.
12221 (mi_get_features): Likewise.
12222 (mi_list_varobj_children): Rewrite.
12223 * gdb.python/python-mi.exp: New file.
12224
a6bac58e
TT
122252009-05-27 Tom Tromey <tromey@redhat.com>
12226 Thiago Jung Bauermann <bauerman@br.ibm.com>
12227 Phil Muldoon <pmuldoon@redhat.com>
12228 Paul Pluzhnikov <ppluzhnikov@google.com>
12229
12230 * gdb.python/python-prettyprint.exp: New file.
12231 * gdb.python/python-prettyprint.c: New file.
12232 * gdb.python/python-prettyprint.py: New file.
12233 * gdb.base/display.exp: print/r is now valid.
12234
2c74e833
TT
122352009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
12236 Tom Tromey <tromey@redhat.com>
12237 Pedro Alves <pedro@codesourcery.com>
12238 Paul Pluzhnikov <ppluzhnikov@google.com>
12239
12240 * gdb.python/python-template.exp: New file.
12241 * gdb.python/python-template.cc: New file.
12242 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12243 tests.
12244 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12245 Call it.
12246 (test_value_after_death): New proc.
12247 * gdb.python/python-value.c (PTR): New typedef.
12248 (main): New variable 'x'.
12249
89c73ade
TT
122502009-05-27 Tom Tromey <tromey@redhat.com>
12251
12252 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12253 tests.
12254 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12255 Call it.
12256
a75724bc
PA
122572009-05-27 Pedro Alves <pedro@codesourcery.com>
12258
12259 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
12260
e58b0e63
PA
122612009-05-24 Pedro Alves <pedro@codesourcery.com>
12262
12263 * gdb.threads/fork-thread-pending.c: New.
12264 * gdb.threads/fork-thread-pending.exp: New.
12265
4ac36638
JK
122662009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12267
12268 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
12269 * gdb.dwarf2/dw2-strp.S (a_string2): New.
12270
889bf7c5 122712009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 12272
889bf7c5 12273 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 12274
b242c3c2
PA
122752009-05-17 Pedro Alves <pedro@codesourcery.com>
12276
12277 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
12278 `gdb_get_line_number'. Call `callee' in both parent and child.
12279 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
12280 `gdb_get_line_number' instead of hardcoding line numbers.
12281 (catch_fork_unpatch_child): New procedure to test detaching
12282 breakpoints from child fork.
12283 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
12284 hardcoding line numbers.
12285 (do_fork_tests): Run `catch_fork_unpatch_child'.
12286
ee342b23
VP
122872009-05-17 Vladimir Prus <vladimir@codesourcery.com>
12288
12289 * gdb.mi/mi-cmd-var.exp: Check that when varobj
12290 of structure type enters or leaves the scope, it
12291 is reported by -var-update.
12292
e2009e98
DE
122932009-05-11 Doug Evans <dje@sebabeach.org>
12294
12295 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 12296 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
12297 * gdb.threads/schedlock.c (main): Fix off-by-one error.
12298
00903456
JK
122992009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12300
12301 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
12302
dc621c35
DE
123032009-04-30 Doug Evans <dje@google.com>
12304
12305 * gdb.threads/watchthreads2.exp: New testcase.
12306 * gdb.threads/watchthreads2.c: New testcase.
12307
9ab4e744
DE
123082009-04-29 Doug Evans <dje@google.com>
12309
12310 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
12311 * gdb.cp/mb-ctor.cc: Ditto.
12312 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
12313 * gdb.cp/mb-inline.h (multi_line_foo): New function.
12314 * gdb.cp/mb-inline1.cc: Call it.
12315 * gdb.cp/mb-inline2.cc: Ditto.
12316 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
12317 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
12318
484086b7
JK
123192009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12320
12321 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
12322 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
12323 Replace all uses of `decimal' by `nonzero'.
12324 (info macro FROM_COMMANDLINE): New test.
12325
379a77b5
TT
123262009-04-27 Tom Tromey <tromey@redhat.com>
12327
12328 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
12329
b92b73c2
DE
123302009-04-27 Doug Evans <dje@google.com>
12331
12332 * gdb.threads/watchthreads.c (main): Initialize args before starting
12333 the threads. Plus formatting cleanup.
12334 * gdb.threads/watchthreads.exp: Avoid errant failures due to
12335 biased scheduling of one thread.
12336
945a118d
JG
123372009-04-27 Jerome Guitton <guitton@adacore.com>
12338
12339 * gdb.cp/templates.cc (GetMax): New template.
12340 (main): Declare two instances of GetMax.
12341 * gdb.cp/templates.exp: Add new test.
12342
d389af10
JK
123432009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12344
12345 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
12346
e7f86de9
JM
123472009-04-22 Joseph Myers <joseph@codesourcery.com>
12348
12349 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
12350
334cc82d
TT
123512009-04-15 Tom Tromey <tromey@redhat.com>
12352
12353 * gdb.base/charset.exp: Add regression test.
12354
d12672cc
JB
123552009-04-14 Joel Brobecker <brobecker@adacore.com>
12356
12357 * gdb.base/exe-lock.exp: New testcase.
12358
18e8c3bc
TT
123592009-04-13 Tom Tromey <tromey@redhat.com>
12360
12361 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
12362 operator on Frame.
12363
5ecd5cbe
UW
123642009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12365
12366 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
12367 * gdb.server/ext-attach.exp: Likewise.
12368
7309f756
VP
123692009-04-03 Vladimir Prus <vladimir@codesourcery.com>
12370
12371 Eliminate some sleep usage.
12372
889bf7c5
PA
12373 * gdb.mi/basics.c (do_nothing): New.
12374 (main): Use do_nothing instead of printf, so that
12375 not to introduce race condition between output of
12376 inferiour and output of gdb. Do not use sleep as it
12377 is not generally available on embedded targets.
7309f756 12378
f4b95f6f
PA
123792009-04-02 Pedro Alves <pedro@codesourcery.com>
12380
12381 * gdb.server/ext-attach.exp: Expect an optional process id after
12382 "Detached from remote process".
12383
de40b933
JK
123842009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12385
12386 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
12387 gdb.dwarf2/dw2-unresolved.exp: New.
12388
2ae101a4
PA
123892009-04-02 Pedro Alves <pedro@codesourcery.com>
12390
12391 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
12392 mi_run_to_main.
12393
56a8e183
PA
123942009-04-02 Pedro Alves <pedro@codesourcery.com>
12395
12396 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
12397 mi_run_to_main. Skip thread exit test on remote targets.
12398 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
12399 mi_run_to_main.
12400 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
12401 mi_run_to_main.
12402 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
12403 when expecting ^connected. Detect when the target doesn't support
12404 non-stop mode.
12405 (mi_run_cmd): Detect if non-stop mode was requested by isn't
12406 supported. Return -1 on error, 0 on success.
12407 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
12408 (mi_runto): Return mi_runto_helper's result explicitly.
12409
c35fafde
PA
124102009-04-01 Pedro Alves <pedro@codesourcery.com>
12411
12412 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
12413
f8a8dce6
JB
124142009-04-01 Tom Tromey <tromey@redhat.com>
12415
12416 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
12417 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
12418 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
12419 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
12420
71c25dea
TT
124212009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
12422 Jan Kratochvil <jan.kratochvil@redhat.com>
12423
12424 PR gdb/931
12425 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
12426 output.
12427 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
12428 for gdb/931.
12429 * dw2-strp.S (DW_AT_language): Change to C++.
12430 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
12431
02d9a9ce
JB
124322009-03-31 Joel Brobecker <brobecker@adacore.com>
12433
12434 * gdb.ada/tasks: New testcase.
12435
1042e4c0
SS
124362009-03-30 Stan Shebs <stan@codesourcery.com>
12437
12438 * gdb.trace/actions.exp: Update to match new info trace format.
12439 * gdb.trace/deltrace.exp: Ditto.
12440 * gdb.trace/infotrace.exp: Ditto.
12441 * gdb.trace/passcount.exp: Ditto.
12442 * gdb.trace/save-trace.exp: Ditto.
12443 * gdb.trace/while-stepping.exp: Ditto.
12444 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
12445
f8f6f20b
TJB
124462009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12447
12448 * gdb.python/python-frame.c: New file.
12449 * gdb.python/python-frame.exp: New file.
12450
c0c6f777
TJB
124512009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
12452
12453 * gdb.python/python-value.exp: Add tests for the address
12454 attribute.
12455
3cb51905
AS
124562009-03-29 Andreas Schwab <schwab@linux-m68k.org>
12457
12458 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
12459
88fc996f
DE
124602009-03-26 Doug Evans <dje@google.com>
12461
12462 * gdb.mi/mi-nonstop-exit.exp: New file.
12463 * gdb.mi/non-stop-exit.c: New file.
12464
56ef84b1
TT
124652009-03-26 Tom Tromey <tromey@redhat.com>
12466
12467 Update for change to prologue skipping:
12468 * gdb.mi/mi2-simplerun.exp: Update.
12469 * gdb.mi/mi2-break.exp: Update.
12470 * gdb.mi/mi-simplerun.exp: Update.
12471 * gdb.mi/mi-break.exp: Update.
12472 * gdb.base/ending-run.exp: Update.
12473
def2b000
TJB
124742009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
12475
12476 * gdb.python/python-value.exp (test_value_in_inferior): Test
12477 gdb.Value.is_optimized_out attribute.
12478
442ddf59
JK
124792009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12480
12481 * gdb.dwarf2/dw2-noloc-main.c: New file.
12482 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
12483 (.text): Remove.
12484 (.data): New.
12485 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
12486 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
12487 (DW_TAG_subprogram func_cu1, noloc): Remove.
12488 (main): New.
12489 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
12490 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
12491 (file_symbols): New procedure.
12492
a8df5de4
TT
124932009-03-25 Tom Tromey <tromey@redhat.com>
12494
12495 * gdb.base/charset.exp (valid_target_charset): New proc.
12496 Use it to skip tests on invalid charsets.
12497
cc1d7add
PM
124982009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
12499
12500 * gdb.base/completion.exp: Add a test for directory completion.
12501
bcd5727b
JK
125022009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12503
12504 Fix a racy FAIL.
12505 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
12506 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
12507
cc924cad
TJB
125082009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
12509
12510 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
12511 * gdb.python/python-function.exp: Add test for function returning
12512 a GDB value.
12513
bc3b79fd
TJB
125142009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
12515
12516 * gdb.python/python-function.exp: New file.
12517
6c7a06a3
TT
125182009-03-20 Tom Tromey <tromey@redhat.com>
12519
12520 * gdb.base/store.exp: Update for change to escape output.
12521 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
12522 to escape output.
12523 * gdb.base/pointers.exp: Update for change to escape output.
12524 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
12525 to escape output.
12526 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
12527 escape output.
12528 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
12529 to escape output.
12530 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
12531 escape output.
12532 * gdb.base/setvar.exp: Update for change to escape output.
12533 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
12534 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
12535 to escape output.
12536 (test_print_string_constants): Likewise.
12537 * gdb.base/charset.exp (valid_host_charset): Check size of
12538 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
12539 cases. Handle "auto"-related output.
12540 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
12541 (uvar, Uvar): New globals.
12542
c31af87b
JG
125432009-03-19 Jerome Guitton <guitton@adacore.com>
12544
12545 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
12546 deltas.
12547 * gdb.ada/fixed_points.exp: Ditto.
12548
51272cf2
PA
125492009-03-18 Pedro Alves <pedro@codesourcery.com>
12550
12551 * return-nodebug.c: Don't include stdio.h.
12552 (init): Delete.
12553 (func): Delete definition and provide extern declaration.
12554 (t): New.
12555 (main): Don't call printf. Call func and store its result in t.
12556 * return-nodebug1.c: New.
12557 * return-nodebug.exp: Don't expect stdio output. Instead, print
12558 the global variable t. Drop printf formatters and cast types from
12559 foreach loop. Don't use prepare_for_testing. Compile
12560 return-nodebug.c and return-nodebug1.c in separate steps. Don't
12561 define FORMAT or CAST.
12562
d24948ac
PP
125632009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12564
12565 * gdb.base/solib-display.exp: Disable test for remote targers.
12566
61ff14c6
JK
125672009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12568
12569 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
12570
cb4dce93
JK
125712009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12572
12573 Fix a racy FAIL.
12574 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
12575 code from `follow parent, print pids'.
12576 (`follow child, print pids', `follow parent, print pids'): Call it.
12577 Replace `gdb_test "break..."' by gdb_breakpoint.
12578
f7c60c5e
VP
125792009-03-13 Vladimir Prus <vladimir@codesourcery.com>
12580
12581 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 12582 sync and async modes.
f7c60c5e 12583
383ace49
JB
125842009-03-12 Joel Brobecker <brobecker@adacore.com>
12585
12586 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
12587 that was checked in by mistake. Remove loading of ada.exp, since
12588 this is not necessary in this case.
12589
4ce102af
JB
125902009-03-12 Joel Brobecker <brobecker@adacore.com>
12591
12592 * gdb.ada/ptype_arith_binop.exp: New testcase.
12593
529a2aef
JB
125942009-03-12 Joel Brobecker <brobecker@adacore.com>
12595
12596 * gdb.ada/mod_from_name: New testcase.
12597
8a38181c
JB
125982009-03-12 Joel Brobecker <brobecker@adacore.com>
12599
12600 * gdb.ada/tick_last_segv: New testcase.
12601
11436dee
VP
126022009-03-12 Vladimir Prus <vladimir@codesourcery.com>
12603
61ff14c6 12604 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 12605
1f31650a
VP
126062009-03-12 Vladimir Prus <vladimir@codesourcery.com>
12607
61ff14c6
JK
12608 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
12609 include the token in ^running and frame info in *stopped.
1f31650a 12610
a3247a22
PP
126112009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12612
12613 * solib-display.exp: New file.
12614 * solib-display-main.c: New file.
12615 * solib-display-lib.c: New file.
61ff14c6 12616
aae64587
PA
126172009-03-05 Pedro Alves <pedro@codesourcery.com>
12618
12619 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
12620
44aabfbc
JK
126212009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12622
12623 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
12624 (list_and_check_macro): Use more specific test name.
12625 (next to definition): Make the test names unique.
12626
c087fcd3
PM
126272009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
12628
12629 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 12630
c86cf029
VP
126312009-02-17 Vladimir Prus <vladimir@codesourcery.com>
12632
12633 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
12634 notifications.
12635 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
12636 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
12637 * lib/mi-support.exp (library_loaded_re): New.
12638 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
12639
3ea85240
VP
126402009-02-17 Vladimir Prus <vladimir@codesourcery.com>
12641
12642 * gdb.gdb/observer.exp: Use test_notification observer, not
12643 normal_stop, everywhere.
12644 (test_normal_stop_notifications): Rename to...
12645 (test_notifications): ...this.
12646 (test_observer_normal_stop): Rename to...
12647 (test_observer): ...this.
12648
1903f0e6
DE
126492009-02-16 Doug Evans <dje@google.com>
12650
12651 * gdb.arch/amd64-disp-step.S (test_int3): New test.
12652 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
12653 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
12654 (test_prefixed_syscall,test_int3): New tests.
12655 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
12656 (test_prefixed_syscall,test_int3): New tests.
12657
1d33d6ba
VP
126582009-02-14 Vladimir Prus <vladimir@codesourcery.com>
12659
3cb51905
AS
12660 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
12661 (mi_expect_interrupt): Likewise.
12662 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
12663 response.
1d33d6ba 12664
faafb047
PM
126652009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
12666
12667 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
12668 * gdb.base/pc-fp.exp (get_valueofx): Remove.
12669 Replace calls to get_valueofx by get_hexadecimal_valueof.
12670
417e16e2
PM
126712009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
12672
12673 * lib/gdb.exp (get_valueof): Accept anything as a return value.
12674 (get_integer_valueof): New procedure.
12675 (get_sizeof): Use new get_integer_value_of.
12676 * gdb.base/sizeof.exp: Replace all uses of get_valueof
12677 by get_integer_valueof.
12678
7065b901
TT
126792009-02-13 Tom Tromey <tromey@redhat.com>
12680
12681 * gdb.base/remote.exp (get_sizeof): Remove.
12682 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
12683 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
12684 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
12685 * lib/gdb.exp (get_valueof): Move from long_long.exp.
12686 (get_sizeof): Likewise.
12687
5d7cb8df
JK
126882009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12689
12690 PR fortran/9806
12691 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
12692
b2febfff
PP
126932009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12694
12695 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
12696
4aa995e1
PA
126972009-02-06 Pedro Alves <pedro@codesourcery.com>
12698
12699 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
12700
d8906c6f
TJB
127012009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
12702
12703 * gdb.python/python-cmd.exp: New file.
12704
ff4ab08d
TG
127052009-02-06 Tristan Gingold <gingold@adacore.com>
12706
12707 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
12708
aacd552b
TG
127092009-02-05 Tristan Gingold <gingold@adacore.com>
12710
12711 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
12712 pointer is dereferenced and use this signal name in regexp.
12713 * gdb.base/signull.exp: Ditto.
12714 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
12715 * gdb.base/signull.c (main): Ditto.
12716
08c637de
TJB
127172009-02-04 Tom Tromey <tromey@redhat.com>
12718 Thiago Jung Bauermann <bauerman@br.ibm.com>
12719
12720 * gdb.python/python-value.exp: Use `gdb.history' instead of
12721 `gdb.value_from_history'.
12722 (test_value_numeric_ops): Add test for conversion of enum constant.
12723 * gdb.python/python-value.c (enum e): New type.
12724 (evalue): New global.
12725 (main): Use argv.
12726
20261af8
JG
127272009-02-04 Jerome Guitton <guitton@adacore.com>
12728
12729 * gdb.ada/uninitialized_vars: New test program.
12730 * gdb.ada/uninitialized_vars.exp: New testcase.
12731
52e44b43
TT
127322009-02-02 Tom Tromey <tromey@redhat.com>
12733
12734 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
12735 * gdb.cp/pr2489.cc: Rename...
12736 * gdb.cp/pr9594.cc: ... to this.
12737
1c71341a
TT
127382009-02-02 Tom Tromey <tromey@redhat.com>
12739
12740 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
12741 * gdb.cp/pr2489.cc: New file.
12742 * gdb.cp/cpcompletion.exp: New file.
12743
a4295225
TT
127442009-02-02 Tom Tromey <tromey@redhat.com>
12745
12746 PR exp/9059:
12747 * gdb.cp/call-c.exp: Add regression test.
12748 * gdb.cp/call-c.cc (FooHandle): New typedef.
12749 (main): New variable 'handle'.
12750
592375cd
VP
127512009-01-30 Vladimir Prus <vladimir@codesourcery.com>
12752
12753 * lib/mi-support.exp (et_mi_thread_list)
12754 (check_mi_and_console_threads): Adjust for current thread in
12755 -thread-list-ids output.
12756
41447f92
VP
127572009-01-30 Vladimir Prus <vladimir@codesourcery.com>
12758
889bf7c5
PA
12759 * gdb.mi/mi-break.exp (test_disabled_creation): New.
12760 Call it.
41447f92 12761
35669430
DE
127622009-01-28 Doug Evans <dje@google.com>
12763
12764 * gdb.arch/amd64-disp-step.S: New file.
12765 * gdb.arch/amd64-disp-step.exp: New file.
12766 * gdb.arch/i386-disp-step.S: New file.
12767 * gdb.arch/i386-disp-step.exp: New file.
12768
09f00d9a
PM
127692009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
12770
12771 * gdb.base/find.exp: Set newline variable
12772 using quotes instead of braces to fix cygwin failures.
12773
1e8fb976
PA
127742009-01-23 Pedro Alves <pedro@codesourcery.com>
12775
12776 * gdb.base/radix.exp: Add tests to ensure that that set
12777 input-radix 0 and set output-radix 0 are really rejected.
12778
da061712
PA
127792009-01-23 Pedro Alves <pedro@codesourcery.com>
12780
12781 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
12782 copyright years.
12783
dd7e2d2b
PA
127842009-01-23 Pedro Alves <pedro@codesourcery.com>
12785
12786 PR gdb/9664:
12787 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
12788
392452f6
PA
127892009-01-22 Pedro Alves <pedro@codesourcery.com>
12790
12791 PR c++/9631:
12792 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
12793
8653e71c
PM
127942009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
12795
12796 * gdb.server/file-transfer.exp: Use EXEEXT variable for
12797 binfile definition to fix Windows OS failure.
12798
a12cc160
DJ
127992009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12800
12801 PR gdb/9346
12802 * gdb.base/interrupt.c (sigint_handler): New.
12803 (main): Install a SIGINT handler if SIGNALS is defined. Exit
12804 on error.
12805 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
12806 Test "signal SIGINT".
12807
b89667eb
DE
128082009-01-19 Doug Evans <dje@google.com>
12809
12810 * gdb.base/break.exp: Update expected gdb output.
12811 * gdb.base/sepdebug.exp: Ditto.
12812 * gdb.mi/mi-syn-frame.exp: Ditto.
12813 * gdb.mi/mi2-syn-frame.exp: Ditto.
12814 * gdb.base/call-signal-resume.exp: New file.
12815 * gdb.base/call-signals.c: New file.
12816 * gdb.base/unwindonsignal.exp: New file.
12817 * gdb.base/unwindonsignal.c: New file.
12818 * gdb.threads/interrupted-hand-call.exp: New file.
12819 * gdb.threads/interrupted-hand-call.c: New file.
12820 * gdb.threads/thread-unwindonsignal.exp: New file.
12821
adb483fe
DJ
128222009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
12823
12824 * gdb.base/define.exp: Test defining and hooking prefix commands.
12825 * gdb.python/python.exp: Update test for "show user" output.
12826
60023297
JK
128272009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12828
12829 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
12830 now the output exactly, using less wildcards. Expect also the output
12831 of gfortran-4.3. Update for the f-valprint.c modification from
12832 2008-04-22.
12833 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
12834 Remove gdb_test test names where matching the command.
12835
ccc57cf9
PA
128362009-01-01 Pedro Alves <pedro@codesourcery.com>
12837
12838 PR breakpoints/9681:
12839 * gdb.base/watchpoint.exp: Add regression test.
12840
c7a6ca08
PA
128412008-12-31 Pedro Alves <pedro@codesourcery.com>
12842
12843 * gdb.threads/attach-into-signal.exp: Don't use
12844 gdb_suppress_entire_file.
12845 * gdb.threads/attach-stopped.exp: Ditto.
12846 * gdb.threads/attachstop-mt.exp: Ditto.
12847
3a031f65
PA
128482008-12-31 Pedro Alves <pedro@codesourcery.com>
12849
12850 PR gdb/8812:
12851 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
12852
09e6485f
PA
128532008-12-29 Pedro Alves <pedro@codesourcery.com>
12854
12855 PR gdb/7536:
12856 * gdb.base/radix.exp: Add tests to ensure invalid input radices
12857 and unsupported output radices are really rejected.
12858
0cd53049
JK
128592008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12860
12861 * gdb.cp/punctuator.exp: Backslash the '$' signs.
12862
ba163c7e
TT
128632008-12-22 Tom Tromey <tromey@redhat.com>
12864
12865 * gdb.cp/punctuator.exp: New file.
12866
6f4de6c9
JK
128672008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12868
12869 * gdb.base/completion.exp (Completing non-existing component): New test.
12870
0f34d0b4
JK
128712008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12872
12873 Fix for PR gdb/8648.
12874 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
12875 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
12876 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
12877 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
12878
db2ad4c3
JK
128792008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12880
12881 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
12882
bb5ef15e
DP
128832008-12-16 Christophe Lyon <christophe.lyon@st.com>
12884
12885 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
12886 compiler actually generate code at the expected line number.
12887
90142adc
JZ
128882008-12-15 Jie Zhang <jie.zhang@analog.com>
12889
12890 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
12891
fad6eecd
TT
128922008-12-12 Tom Tromey <tromey@redhat.com>
12893
12894 * gdb.base/commands.exp (redefine_hook_test): New proc.
12895 Call it.
12896
17c8aaf5
TT
128972008-12-11 Tom Tromey <tromey@redhat.com>
12898
12899 * gdb.base/macscp.exp: New regression test.
12900
7c8adf68
TT
129012008-12-11 Tom Tromey <tromey@redhat.com>
12902
12903 * gdb.base/macscp.exp: Print "address.addr".
12904 * gdb.base/macscp1.c (struct outer): New struct.
12905 (address): New global.
12906
b05dcbb7
TT
129072008-12-09 Tom Tromey <tromey@redhat.com>
12908
12909 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
12910 Call it.
12911
2d476de1
DE
129122008-12-04 Doug Evans <dje@google.com>
12913
12914 * gdb.server/ext-run.exp: Relax regexp for init program.
12915
87bdc959
TG
129162008-12-03 Tristan Gingold <gingold@adacore.com>
12917
12918 * gdb.base/macscp.exp: Generate an object file during compilation
12919 to work around Darwin dsymutil limitations.
12920
e0740f77
JK
129212008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12922
12923 Test resolving external references to TLS variables.
12924 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
12925 FILE2_THREAD_LOCAL.
12926 (testfile2, srcfile2): New variables.
12927 * gdb.threads/tls.c (file2_thread_local)
12928 (function_referencing_file2_thread_local): New.
12929 * gdb.threads/tls2.c: New file.
12930
67f0aac5
JB
129312008-11-28 Joel Brobecker <brobecker@adacore.com>
12932
12933 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
12934 rather than integer, as integer might not be big enough when
12935 on 64bit targets.
67f0aac5 12936
c332165e
JG
129372008-11-27 Jerome Guitton <guitton@adacore.com>
12938
12939 * gdb.cp/formatted-ref.exp: Add equality test.
12940 * gdb.ada/formatted_ref.exp: Ditto.
12941
fc9b693c
JK
129422008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12943
12944 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
12945 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
12946
a9c64011
AS
129472008-11-20 Andreas Schwab <schwab@suse.de>
12948
12949 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
12950 matching syscall entry point.
12951 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12952 (tcatch_vfork_then_child_follow): Likewise. Finish through
12953 vfork even if we stopped at the syscall trampoline.
12954
e2fd701e
DE
129552008-11-20 Doug Evans <dje@google.com>
12956
12957 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
12958
69abc51c
TJB
129592008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
12960
12961 * gdb.arch/ppc-dfp.exp: New file.
12962 * gdb.arch/ppc-dfp.c: New file.
12963
c14c28ba
PP
129642008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12965
12966 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 12967
2e74121d
DE
129682008-11-17 Doug Evans <dje@google.com>
12969
12970 * gdb.mi/mi-syn-frame.exp: Update expected output.
12971 * gdb.mi/mi2-syn-frame.exp: Update expected output.
12972
66bb093b
VP
129732008-11-17 Vladimir Prus <vladimir@codesourcery.com>
12974
12975 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
12976 "thread N" results in =thread-selected.
12977 * lib/mi-support (mi_run_cmd, mi_expect_stop)
12978 (mi_send_resuming_command_raw): Be prepared for
12979 =thread-selected.
12980
3d043ef6
VP
129812008-11-17 Vladimir Prus <vladimir@codesourcery.com>
12982
a9c64011
AS
12983 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
12984 * lib/mi-support.exp: Likewise.
3d043ef6 12985
808104c8
JB
129862008-11-16 Joel Brobecker <brobecker@adacore.com>
12987
12988 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
12989 commands from the expected output for "help catch".
12990
00b22944
JB
129912008-11-15 Joel Brobecker <brobecker@adacore.com>
12992
12993 * gdb.ada/int_deref.exp: New testcase.
12994
59669435
TT
129952008-11-14 Nick Roberts <nickrob@snap.net.nz>
12996
12997 * gdb.mi/gdb2549.exp: New file.
12998
de04a248
DE
129992008-11-11 Doug Evans <dje@google.com>
13000
13001 * gdb.base/callexit.exp: New file.
13002 * gdb.base/callexit.c: New file.
13003
6b8ce727
DE
130042008-11-10 Doug Evans <dje@google.com>
13005
13006 * lib/gdb.exp (GDBFLAGS): Move -nx ...
13007 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
13008 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
13009 (default_gdb_start,default_gdb_exit): Ditto.
13010 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
13011 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
13012 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
13013 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
13014 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
13015 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
13016
1b14b8aa
AS
130172008-11-03 Andreas Schwab <schwab@suse.de>
13018
13019 * gdb.base/hashline2.exp: Fix typo.
13020 * gdb.base/hashline3.exp: Likewise.
13021
f3134b88
TT
130222008-10-30 Tom Tromey <tromey@redhat.com>
13023
13024 * gdb.base/pointers.exp: Add test.
13025 * gdb.base/pointers.c (k, S): New typedefs.
13026 (instance): New global.
13027
c2226152
AS
130282008-10-30 Andreas Schwab <schwab@suse.de>
13029
13030 * gdb.base/args.exp: Add tests for newlines.
13031
462f405c
JB
130322008-10-30 Joel Brobecker <brobecker@adacore.com>
13033
13034 gdb.base/foll-exec.exp: Update the expected output of a couple
13035 of "info breakpoints" tests.
13036
79a45b7d
TT
130372008-10-28 Tom Tromey <tromey@redhat.com>
13038
13039 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
13040
adc13a14
PA
130412008-10-24 Pedro Alves <pedro@codesourcery.com>
13042
13043 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
13044 gdb_start_cmd.
13045 Use runto_main before any test that requires execution.
13046
252fbfc8
PA
130472008-10-23 Pedro Alves <pedro@codesourcery.com>
13048
13049 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
13050 instead of SIGINT.
13051
28148e3d
JB
130522008-10-22 Joel Brobecker <brobecker@adacore.com>
13053
13054 * gdb.base/completion.exp: Update expected output following
13055 the addition of the "info tasks" command.
13056
c209f847
TT
130572008-10-22 Tom Tromey <tromey@redhat.com>
13058
13059 * gdb.base/exprs.exp (test_expr): Add test for string
13060 concatenation.
13061
f177e350
PA
130622008-10-19 Pedro Alves <pedro@codesourcery.com>
13063
13064 * configure.ac: Output gdb.python/Makefile.
13065 * configure: Regenerate.
13066 * gdb.python/Makefile.in: New.
13067
cce89356
JB
130682008-10-16 Joel Brobecker <brobecker@adacore.com>
13069
13070 * gdb.base/foll-fork.exp: Adjust the expected output to match
13071 the new description for fork/vfork catchpoints in the "info
13072 breakpoints" output.
13073
176d289d
TJB
130742008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13075
13076 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
13077
a08702d6
TJB
130782008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13079
13080 * gdb.python/python-value.c: New file.
13081 * gdb.python/python-value.exp: New file.
13082
1c5cfe86
PA
130832008-10-15 Pedro Alves <pedro@codesourcery.com>
13084
13085 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
13086
5a98ad69
DP
130872008-10-15 Denis Pilat <denis.pilat@st.com>
13088
41702f1b 13089 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 13090
dcb1a1e2
TT
130912008-10-09 Tom Tromey <tromey@redhat.com>
13092
13093 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
13094 'fprintf' and 'stderr'.
13095
9124fe48
JB
130962008-10-07 Joel Brobecker <brobecker@adacore.com>
13097
13098 * gdb.ada/ref_tick_size.exp: New testcase.
13099
45452591
DE
131002008-10-06 Doug Evans <dje@google.com>
13101
13102 * gdb.dwarf2/dw2-cu-size.exp: New file.
13103 * gdb.dwarf2/dw2-cu-size.S: New file.
13104
13105 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
13106 .Ltype_int for clarity.
13107
4fc5b208
PP
131082008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13109
13110 PR gdb/2384:
13111 * gdb.cp/gdb2384.exp: Extended to test more cases.
13112 * gdb.cp/gdb2384.cc: Likewise.
13113 * gdb.cp/gdb2384-base.h: Likewise.
13114 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 13115
d78df370
JK
131162008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13117
13118 * gdb.base/maint.exp (maint print type): Remove printing
13119 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
13120
9a044a89
TT
131212008-09-30 Tom Tromey <tromey@redhat.com>
13122
13123 * gdb.base/macscp.exp: Add completion tests.
13124 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
13125 (TWENTY_THREE): Likewise.
13126 (FORTY_EIGHT): Likewise.
13127
506800a9
TT
131282008-09-30 Tom Tromey <tromey@redhat.com>
13129
13130 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
13131 everywhere.
13132 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
13133
1a6f01b5
JK
131342008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13135
13136 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
13137 testcase is derived from. Fix racy dependency on an expected PID
13138 number. No longer support the testcase on Linux kernel 2.4.x.
13139
2fae03e8
TT
131402008-09-27 Tom Tromey <tromey@redhat.com>
13141
13142 * gdb.base/macscp.exp: Add tests for stringification, splicing,
13143 and varargs.
13144
1ad15515
PA
131452008-09-22 Pedro Alves <pedro@codesourcery.com>
13146
13147 * lib/mi-support.exp (mi_expect_interrupt): New.
13148 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
13149 from gdb.mi/mi-nonstop.exp.
13150 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
13151 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
13152 lib/mi-support.exp.
13153 Use mi_check_thread_states throughout. Avoid ".*" and do not
13154 require an anchor after -exec-run.
13155
d0b76dc6
DJ
131562008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
13157
13158 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
13159 stop is pending. Avoid ".*" when two stops are pending.
13160 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
13161 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
13162 newlines in fullnames.
13163 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
13164 (mi_expect_stop): Update comments. Only anchor in sync mode.
13165 Do not match newlines.
13166 (mi_send_resuming_command_raw): Always return status.
13167 (mi_get_stop_line): Do not match more than one line by accident.
13168 Only anchor in sync mode.
13169 (mi_run_inline_test): If -exec-next fails, give up.
13170
9990c830
UW
131712008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13172
13173 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
13174 on SPU.
13175
ebcf6f00
JB
131762008-09-10 Joel Brobecker <brobecker@adacore.com>
13177
13178 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
13179
b6db24e5
JB
131802008-09-10 Joel Brobecker <brobecker@adacore.com>
13181
13182 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
13183 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
13184 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
13185 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
13186 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
13187 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
13188 gdb.ada/interface.exp, gdb.ada/null_array.exp,
13189 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
13190 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
13191 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
13192 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
13193 Include the "= " sequence in the expected output of print tests.
13194
2bf448e0
JB
131952008-09-10 Joel Brobecker <brobecker@adacore.com>
13196
13197 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
13198 description for boolean types.
13199
d51fd4c8
PA
132002008-09-09 Pedro Alves <pedro@codesourcery.com>
13201
13202 * gdb.base/hook-stop-continue.c: New.
13203 * gdb.base/hook-stop-continue.exp: New.
13204
694182d2
DJ
132052008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
13206
13207 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
13208
3b8a7fc0
JG
132092008-09-08 Jerome Guitton <guitton@adacore.com>
13210
13211 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
13212 (stack_check_probe_2, stack_check_probe_loop_1)
13213 (stack_check_probe_loop_2): New functions.
13214 (main): Add call to these new functions.
13215 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
13216 functions, check that the breakpoint is inserted at the appropriate
13217 location.
13218 (insert_breakpoint): Slightly refine this procedure so that it can
13219 be called several times in the test.
13220
96cc0ae8
JG
132212008-09-08 Jerome Guitton <guitton@adacore.com>
13222
13223 * gdb.base/stack-checking.c: New file.
13224 * gdb.base/stack-checking.exp: New file.
13225
1f08b409
TJB
132262008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13227
13228 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
13229 * gdb.arch/altivec-regs.exp: Likewise.
13230 * gdb.arch/vsx-regs.exp: Likewise.
13231
3099e1c4
TJB
132322008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13233
13234 * gdb.arch/ppc-fp.exp: New file.
13235 * gdb.arch/ppc-fp.c: New file.
13236
cc69bfc1
PP
132372008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13238
13239 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
13240 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 13241
b02a33db
MS
132422008-09-04 Michael Snyder <msnyder@vmware.com>
13243
13244 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
13245 as "at" (for non-debug functions such as _start).
13246
2992cbe0
UW
132472008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13248
13249 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
13250 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
13251 software watchpoints.
13252 * gdb.base/watch_thread_num.exp: Likewise.
13253
514f746b
AR
132542008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
13255
13256 * gdb.arch/i386-bp_permanent.exp: New test.
13257
876cecd0
TT
132582008-08-24 Tom Tromey <tromey@redhat.com>
13259
13260 * gdb.base/maint.exp: Update "maint print type".
13261
80f73d71
VP
132622008-08-21 Vladimir Prus <vladimir@codesourcery.com>
13263
13264 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
13265 support. Adjust the order of "*running" notifications.
13266 * gdb.mi/non-stop.c: Don't cast from int to void* and
13267 back.
13268
d9c78d7d
MK
132692008-08-20 Mark Kettenis <kettenis@gnu.org>
13270
13271 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
13272 expect to find it in the "info frame" output.
13273
97a2d1d3
DJ
132742008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
13275
13276 * gdb.base/interp.exp: Always consume both prompts.
13277
b96e2927
PA
132782008-08-20 Pedro Alves <pedro@codesourcery.com>
13279
13280 * gdb.base/pending.exp: Test pending breakpoints without symbols
13281 loaded.
13282
8cf6e61a
VP
132832008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13284
13285 * lib/mi-support.exp (mi_expect_stop): Produce
13286 more details on failures.
13287 * gdb.mi/mi-nonstop.exp: New.
13288 * gdb.mi/non-stop.c: New.
13289
c6ebd6cf
VP
132902008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13291
a9c64011
AS
13292 * gdb.mi/mi-async.exp: Use 'set target-async'.
13293 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 13294
46a9b8ed
DJ
132952008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
13296
13297 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
13298
44feb3ce
TT
132992008-08-17 Tom Tromey <tromey@redhat.com>
13300
13301 * gdb.base/help.exp (help catch): Rewrite.
13302
311a4e6b
TJB
133032008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13304
13305 * gdb.base/define.exp: Test indented command documentation.
13306 * gdb.python/python.exp: Test indented multi-line command.
13307
604c2f83
LM
133082008-08-15 Luis Machado <luisgpm@br.ibm.com>
13309
13310 * testsuite/gdb.arch/vsx-regs.c: New source file.
13311 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
13312 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
13313
886a217c
TT
133142008-08-14 Tom Tromey <tromey@redhat.com>
13315
13316 * gdb.base/macscp.exp: Add regression test for "macro define" or
13317 "macro undef" with no arguments.
13318
c814a4f3
PP
133192008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13320
13321 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 13322
12ab8a60
UW
133232008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13324
13325 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
13326
d57a3c85
TJB
133272008-08-06 Tom Tromey <tromey@redhat.com>
13328
13329 * gdb.python/python.exp: New file.
13330
c7b778ff
JK
133312008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13332
13333 Fix for PR gdb/1543.
13334 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
13335 $LOCATION.
13336 (location): New variable.
13337 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
13338 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
13339 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
13340 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
13341 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
13342 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
13343 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
13344 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
13345 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
13346 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
13347 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
13348 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
13349 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
13350 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
13351 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
13352 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
13353 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
13354 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
13355 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
13356 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
13357 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
13358 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
13359 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
13360 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
13361 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
13362 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
13363 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
13364 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
13365 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
13366 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
13367 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
13368 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
13369 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
13370 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
13371 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
13372 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
13373 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
13374 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
13375 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
13376 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
13377 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
13378 gdb.base/type-opaque.exp, gdb.base/until.exp,
13379 gdb.base/value-double-free.c, gdb.base/varargs.exp,
13380 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
13381 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
13382 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
13383 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
13384 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
13385 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
13386 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
13387 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
13388 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
13389 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
13390 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
13391 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
13392 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
13393 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
13394 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
13395 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
13396 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
13397 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
13398 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
13399 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13400 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
13401 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
13402 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
13403 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13404 gdb.pascal/types.exp, gdb.stabs/weird.exp,
13405 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
13406 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
13407 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
13408 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
13409 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
13410 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
13411 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13412 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13413 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13414 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13415 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13416 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
13417 lib/mi-support.exp, lib/trace-support.exp: Remove reference
13418 to bug-gdb@prep.ai.mit.edu .
13419
5e06a3d1
VP
134202008-07-31 Vladimir Prus <vladimir@codesourcery.com>
13421
13422 * lib/mi-support.exp (mi_load_shlibs): New.
13423 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
13424
9d81d21b
VP
134252008-07-30 Vladimir Prus <vladimir@codesourcery.com>
13426
13427 * lib/mi-support.exp (get_mi_thread_list)
13428 (check_mi_and_console_threads): New, moved from ...
13429 * gdb.mi/mi-pthread.exp: ...here.
13430 * gdb.mi/gdb669.exp (get_mi_thread_list)
13431 (check_mi_and_console_threads): Delete.
13432 * gdb.mi/mi2-pthread.exp: Likewise.
13433
bae98fe0
TT
134342008-07-28 Tom Tromey <tromey@redhat.com>
13435
13436 * Makefile.in (just-check): Remove. Move body to...
13437 (check): ... here.
13438
57380f4e
DJ
134392008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13440
13441 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
13442 Add a test for duplicated SIGINTs.
13443
e09490f1
DJ
134442008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13445
13446 * gdb.threads/schedlock.exp (get_args): Update to work for any
13447 value of NUM.
13448 (Top level): Report the number of threads that did not resume.
13449
6387b45f
DJ
134502008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13451
13452 * gdb.dwarf2/dw2-compressed.S: Also define __start.
13453
62f64ff2
DJ
134542008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13455
13456 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
13457 non-MI prompt.
13458
fa8de41e
TT
134592008-07-26 Tom Tromey <tromey@redhat.com>
13460
13461 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
13462 (function_struct, function_struct_ptr): New globals.
13463 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
13464 function pointer in a struct.
13465
ccb3ac8a
TT
134662008-07-26 Tom Tromey <tromey@redhat.com>
13467
13468 * gdb.base/macscp.exp: Add test for macro lexing bug.
13469
d7d9f01e
TT
134702008-07-18 Tom Tromey <tromey@redhat.com>
13471
13472 * gdb.base/macscp.exp: Add macro tests.
13473
9bf07184
PP
134742008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13475
13476 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
13477
becf6477
PP
134782008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13479
13480 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
13481
0709f7d3
PP
134822008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
13483
13484 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 13485
7093c834
PP
134862008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
13487
13488 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 13489
b432ffe3
JK
134902008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13491
13492 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
13493
b1a268e5
VP
134942008-07-12 Vladimir Prus <vladimir@codesourcery.com>
13495
13496 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
13497
e2995f8e
KB
134982008-07-11 Kevin Buettner <kevinb@redhat.com>
13499
13500 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
13501 of regexp to account for changes made to GDB in the printing of
13502 byte vectors.
13503
14032a66
TT
135042008-07-11 Tom Tromey <tromey@redhat.com>
13505
13506 * gdb.base/completion.exp: Add 'help' completion test.
13507
981505ef
JK
135082008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13509
13510 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
13511
10568435
JK
135122008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13513
13514 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
13515
4487aabf
PA
135162008-07-09 Pedro Alves <pedro@codesourcery.com>
13517
13518 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
13519
a4a9b1c4
PA
135202008-07-09 Pedro Alves <pedro@codesourcery.com>
13521
13522 * gdb.base/fullname.exp: Restore pwd if compiling failed.
13523
3c3185ac
JK
135242008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13525
13526 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
13527
7ebd49dc
VP
135282008-06-28 Vladimir Prus <vladimir@codesourcery.com>
13529
13530 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
13531 previous commit. Add a comment.
13532
84e46146
PA
135332008-06-28 Pedro Alves <pedro@codesourcery.com>
13534
13535 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
13536
0f8d4a2f
VP
135372008-06-28 Vladimir Prus <vladimir@codesourcery.com>
13538
13539 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
13540
f747e0ce
PA
135412008-06-27 Pedro Alves <pedro@codesourcery.com>
13542
13543 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
13544 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
13545 compiling an executable, link in an object that forces unbuffered
13546 output.
13547 * lib/set_unbuffered_mode.c: New file.
13548
734a5c36
JK
135492008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13550
13551 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
13552
a2840c35
VP
135532008-06-25 Vladimir Prus <vladimir@codesourcery.com>
13554
a9c64011
AS
13555 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
13556 mi_expect_stop.
13557 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
13558 Demand that *running is output.
13559 (detect_async): Perform checking every time.
13560 (mi_send_resuming_command): Extract everything into...
13561 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
13562 (mi_expect_stop): Don't accept any output before *stopped.
13563
6ae37fef
VP
135642008-06-13 Vladimir Prus <vladimir@codesourcery.com>
13565
13566 Robustify mi-simplerun.
a9c64011
AS
13567 * gdb.mi/basics.c (main): Add a call to sleep.
13568 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
13569 * gdb.mi/mi2-cli.exp: Likewise.
13570 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 13571
b4aa76f0 135722008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
13573
13574 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
13575
e1ac3328
VP
135762008-06-10 Vladimir Prus <vladimir@codesourcery.com>
13577
a9c64011
AS
13578 * gdb.mi/mi-console.exp: Adjust.
13579 * gdb.mi/mi-syn-frame.exp: Adjust.
13580 * gdb.mi/mi2-console.exp: Adjust.
13581 * gdb.mi/mi2-syn-frame.exp: Adjust.
13582 * lib/mi-support.exp (mi_run_cmd): Adjust.
13583 (mi_send_resuming_command): Adjust.
e1ac3328 13584
f7f9a841
VP
135852008-06-10 Vladimir Prus <vladimir@codesourcery.com>
13586
13587 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
13588 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
13589 testing of stopped.
13590 * gdb.mi/mi2-syn-frame.exp: Likewise.
13591 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
13592 (async, detect_async): New.
13593 (mi_expect_stop, mi_continue_to_line): Adjust expectation
13594 depending on if we're running in sync or async mode.
f7f9a841 13595
37cd5d19
TT
135962008-06-09 Tom Tromey <tromey@redhat.com>
13597
13598 * gdb.base/completion.exp: New tests for field name completion
13599 with spaces, and field name completion with '->'.
13600
65d12d83
TT
136012008-06-06 Tom Tromey <tromey@redhat.com>
13602
13603 * gdb.base/break1.c (struct some_struct): New struct.
13604 (values): New global.
13605 * gdb.base/completion.exp: Add field name completion test.
13606
ebfe2e3f
PP
136072008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13608
13609 * gdb.cp/call-c.exp: Test for incorrect handling of reference
13610 to pointer.
13611 * gdb.cp/call-c.cc: Likewise.
13612
bcf6fc3a
NR
136132008-06-06 Nick Roberts <nickrob@snap.net.nz>
13614
13615 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
13616 annotation.
13617
49fd4a42 136182008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 13619 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
13620
13621 * gdb.threads/execl.c, gdb.threads/execl1.c,
13622 gdb.threads/execl.exp: New tests.
a9c64011 13623
8a34ac3f
AR
136242008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
13625 Daniel Jacobowitz <dan@codesourcery.com>
13626
13627 * gdb.cp/exception.exp: Activate test, make it work with pending
13628 catchpoints.
13629
86ae69ef
JK
136302008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13631
13632 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
13633
f7f9ae2c
VP
136342008-05-28 Vladimir Prus <vladimir@codesourcery.com>
13635
a9c64011
AS
13636 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
13637 now printed.
13638 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 13639
2a2d4dc3
AS
136402008-05-27 Andreas Schwab <schwab@suse.de>
13641
13642 * gdb.base/frame-args.exp: Handle arguments that are optimized
13643 out.
13644
5099e4d9
LM
136452008-05-26 Luis Machado <luisgpm@br.ibm.com>
13646
13647 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
13648 quiet for ppc32 and group options into a single variable.
13649
d9c36a91
JB
136502008-05-23 Joel Brobecker <brobecker@adacore.com>
13651
13652 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
13653 of zero-size elements.
13654 * gdb.ada/null_array.exp: Test printing this new array.
13655
103a8671
JK
136562008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13657
13658 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
13659
07a4cc1a 136602008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
13661
13662 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
13663 of the "finish" command.
13664
55f996a7
NR
136652008-05-21 Nick Roberts <nickrob@snap.net.nz>
13666
13667 * gdb.base/annota1.exp: Test for new annotation.
13668
907fc202
UW
136692008-05-16 Pedro Alves <pedro@codesourcery.com>
13670
13671 * gdb.base/fixsection.exp: New file.
13672 * gdb.base/fixsection0.c: New file.
13673 * gdb.base/fixsection1.c: New file.
13674
e8f97270
UW
136752008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13676
13677 * gdb.base/annota1.exp: Accept printf@... in place of printf.
13678 * gdb.base/annota3.exp: Likewise.
13679
ac0bb574
NF
136802008-05-13 Nathan Froyd <froydnj@codesourcery.com>
13681
13682 * gdb.base/watch_thread_num.exp: Don't run tests that require
13683 watchpoints if the target doesn't support them.
13684
6fadd07a
DE
136852008-05-12 Doug Evans <dje@google.com>
13686
13687 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
13688
6e9a4a30
JB
136892008-05-09 Joel Brobecker <brobecker@adacore.com>
13690
13691 * gdb.ada/assign_1.exp: New testcase.
13692
08388c79
DE
136932008-05-09 Doug Evans <dje@google.com>
13694
a3c83fae
DE
13695 * gdb.base/find.exp: New file.
13696 * gdb.base/find.c: New file.
08388c79 13697
bd5ddfe8
DJ
136982008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
13699
13700 * gdb.base/commands.exp (watchpoint_command_test): Handle
13701 gdb,no_hardware_watchpoints.
13702 * gdb.base/float.exp: Allow ARM targets without floating point.
13703 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
13704
b5dd68e2 137052008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 13706 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
13707
13708 * gdb.ada/lang_switch: New test program.
13709 * gdb.ada/lang_switch.exp: New testcase.
13710
382d13d1
DE
137112008-05-05 Doug Evans <dje@google.com>
13712
13713 * gdb.base/help.exp (disassemble): Update expected help text.
13714
9dd789d0
PA
137152008-05-04 Pedro Alves <pedro@codesourcery.com>
13716
13717 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
13718
611c83ae
PA
137192008-05-04 Pedro Alves <pedro@codesourcery.com>
13720
13721 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
13722 different times.
13723
ff013f42
JK
137242008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13725
13726 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
13727 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
13728 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
13729 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
13730
96dff6a2
VP
137312008-05-04 Vladimir Prus <vladimir@codesourcery.com>
13732
13733 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
13734 notification to appear.
13735
55cd6f92
DJ
137362008-05-04 Daniel Jacobowitz <dan@debian.org>
13737
13738 * gdb.base/fullname.c: New file.
13739 * gdb.base/fullname.exp: New file.
13740 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
13741
d705c43c
PA
137422008-05-03 Pedro Alves <pedro@codesourcery.com>
13743
13744 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
13745 expressions with macros.
13746
333222e1
JK
137472008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13748
13749 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
13750
5ac01682
DJ
137512008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
13752
13753 * gdb.base/completion.exp: Handle lack of other symbols beginning
13754 with "a".
13755
13756 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
13757
237fc4c9
PA
137582008-05-02 Jim Blandy <jimb@codesourcery.com>
13759
13760 * gdb.asm/asmsrc1.s: Add scratch space.
13761
ed5e9466
DJ
137622008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13763 Daniel Jacobowitz <dan@codesourcery.com>
13764
13765 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
13766 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
13767 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
13768
b39cc962
DJ
137692007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
13770
13771 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
13772
36d520f5
JB
137732008-05-01 Joel Brobecker <brobecker@adacore.com>
13774
13775 * gdb.base/info-target.exp: New testcase.
13776
8d4e3071
DJ
137772008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
13778
13779 * gdb.cp/hang.exp: Use .cc instead of .C.
13780 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
13781 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
13782
6f3f3097
DJ
137832008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
13784
13785 * gdb.base/gdb1250.exp: Remove perror.
13786 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
13787
5550a914
PA
137882008-04-30 Pedro Alves <pedro@codesourcery.com>
13789
13790 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
13791 .2byte.
13792
d848e687
DJ
137932008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
13794
13795 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
13796 (maybe_kfail): New.
13797
93b5768b
PA
137982008-04-25 Pedro Alves <pedro@codesourcery.com>
13799
13800 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
13801
721c02de
VP
138022008-04-24 Vladimir Prus <vladimir@codesourcery.com>
13803
a9c64011
AS
13804 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
13805 * gdb.mi/mi2-syn-frame.exp: Likewise.
13806 * lib/mi-support.exp: Likewise.
721c02de 13807
74960c60
VP
138082008-04-24 Vladimir Prus <vladimir@codesourcery.com>
13809
13810 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
13811 to specify regexp for the location to stop at.
13812 * gdb.base/break-always.c: New.
13813 * gdb.base/break-always.exp: New.
13814
d24317b4
VP
138152008-04-24 Vladimir Prus <vladimir@codesourcery.com>
13816
13817 * lib/mi-support.exp (mi_runto_helper): Adjust
13818 for the original-location field.
13819 (mi_create_breakpoint, mi_list_breakpoints): New.
13820 * gdb.mi/mi-break.exp: Adjust.
13821 * gdb.mi/mi2-break.exp: Adjust.
13822 * gdb.mi/mi-pending.exp: Adjust.
13823 * gdb.mi/mi-simplerun.exp: Adjust.
13824 * gdb.mi/mi2-simplerun.exp: Adjust.
13825 * gdb.mi/mi-syn-frame.exp: Adjust.
13826 * gdb.mi/mi2-syn-frame.exp: Adjust.
13827 * gdb.mi/mi-until.exp: Adjust.
13828 * gdb.mi/mi2-until.exp: Adjust.
13829 * gdb.mi/mi-var-display.exp: Adjust.
13830 * gdb.mi/mi2-var-display.exp: Adjust.
13831 * gdb.mi/mi-watch.exp: Adjust.
13832 * gdb.mi/mi2-watch.exp: Adjust.
13833
fdc59709 138342008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 13835
a9c64011
AS
13836 * aclocal.m4: Add override.m4.
13837 * configure: Regenerate.
fdc59709 13838
8e91f023
VP
138392008-04-19 Vladimir Prus <vladimir@codesourcery.com>
13840
13841 * gdb.mi/var-cmd.c (do_at_tests): Verify that
13842 '-var-update --all-values' reports new value even the type
13843 of a variable object has changed.
13844
233a11ab
CS
138452008-04-18 Craig Silverstein <csilvers@google.com>
13846
13847 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
13848 files.
d24317b4 13849
9c1137ad
JB
138502008-04-18 Joel Brobecker <brobecker@adacore.com>
13851
13852 * gdb.ada/atomic_enum: New test program.
13853 * gdb.ada/atomic_enum.exp: New testcase.
13854
66d0bbc7
DE
138552008-04-17 Doug Evans <dje@google.com>
13856
13857 * gdb.opt/Makefile.in: Fix whitespace.
13858
100906b0
UW
138592008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
13860
13861 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
13862
4584e32e
DE
138632008-04-17 Doug Evans <dje@google.com>
13864
13865 * gdb.base/hashline1.exp: New testcase.
13866 * gdb.base/hashline2.exp: New testcase.
13867 * gdb.base/hashline2.exp: New testcase.
13868
0a320680
PA
138692008-04-17 Pedro Alves <pedro@codesourcery.com>
13870
13871 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
13872
18ac113b
AR
138732008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
13874
13875 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
13876 temporary breakpoint to match "Temporary breakpoint".
13877 * gdb.base/break.exp (delete_breakpoints): Likewise.
13878 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
13879 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
13880 * gdb.base/display.exp: Likewise.
13881 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
13882 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
13883 * gdb.base/restore.exp (restore_tests): Likewise.
13884 * gdb.base/sepdebug.exp: Likewise.
13885 * gdb.base/watchpoint.exp: Likewise.
13886 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
13887 * gdb.mi/mi-pending.exp: Likewise.
13888 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
13889 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
13890 * gdb.mi/mi-var-cmd.exp: Likewise.
13891 * gdb.mi/mi-var-display.exp: Likewise.
13892 * gdb.mi/mi2-cli.exp: Likewise.
13893 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
13894 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
13895 * gdb.mi/mi2-var-display.exp: Likewise.
13896 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
13897 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
13898 new "disp" field.
a9c64011 13899 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
13900 reason. This is to support fix for PR2424.
13901
add38693
JK
139022008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13903
13904 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
13905
fcacd99f
VP
139062008-04-13 Vladimir Prus <vladimir@codesourcery.com>
13907
13908 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 13909 field. Add more floating varobj tests.
fcacd99f 13910 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
13911 field.
13912 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
13913 (main): Call do_at_tests.
13914 * lib/mi-support.exp (mi_create_floating_varobj)
13915 (mi_varobj_update_with_type_change): New.
fcacd99f 13916
de051565
MK
139172008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
13918
13919 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
13920 option of -var-evaluate-expression.
13921 * gdb.mi/mi2-var-display.exp: Likewise.
13922
dbc52822
VP
139232008-04-07 Vladimir Prus <vladimir@codesourcery.com>
13924
13925 Introduce test setup helpers.
a9c64011
AS
13926 * lib/gdb.exp (build_executable, clean_restart)
13927 (prepare_for_testing): New.
13928 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
13929 * gdb.base/return.exp: Likewise.
13930 * gdb.base/ending-run.exp: Likewise.
dbc52822 13931
473591da
NR
139322008-04-07 Nick Roberts <nickrob@snap.net.nz>
13933
13934 * gdb.mi/mi-async.exp: New test for asynchronous Machine
13935 Interface (MI) responses.
13936
2b2d9e11
VP
139372008-04-06 Vladimir Prus <vladimir@codesourcery.com>
13938
a9c64011
AS
13939 * gdb.cp/breakpoint.cc: New code to test conditions involving
13940 member variables.
13941 * gdb.cp/breakpoint.exp: Test condition involving member
13942 variables.
2b2d9e11 13943
bb378428
VP
139442008-04-05 Vladimir Prus <vladimir@codesourcery.com>
13945
13946 * lib/mi-support.exp (mi_expect_stop): New.
13947 (mi_run_cmd): Change the
13948 token. Use mi_send_resuming_command, use
13949 mi_expect_stop.
13950 (mi_execute_to_helper): Rename to mi_execute_to.
13951 (mi_send_resuming_command): Add more error patterns.
13952 (mi_wait_for_stop): Renamed to...
13953 (mi_get_stop_line): ...this.
13954 (mi_run_inline_test): Adjust.
13955
13956 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
13957 * gdb.mi/mi-console.exp: Likewise.
13958 * gdb.mi/mi-pending.exp: Likewise.
13959 * gdb.mi/mi-simplerun.exp: Likewise.
13960 * gdb.mi/mi-stack.exp: Likewise.
13961 * gdb.mi/mi-stepi.exp: Likewise.
13962 * gdb.mi/mi-syn-frame.exp: Add comment.
13963 * gdb.mi/mi-until.exp: Likewise.
13964 * gdb.mi/mi-var-display.exp: Likewise.
13965 * gdb.mi/mi-watch.exp: Likewise.
13966 * gdb.mi/mi2-cli.exp: Likewise.
13967 * gdb.mi/mi2-console.exp: Likewise.
13968 * gdb.mi/mi2-simplerun.exp: Likewise.
13969 * gdb.mi/mi2-stack.exp: Likewise.
13970 * gdb.mi/mi2-stepi.exp: Likewise.
13971 * gdb.mi/mi2-until.exp: Likewise.
13972 * gdb.mi/mi2-var-display.exp: Likewise.
13973 * gdb.mi/mi2-watch.exp: Likewise.
13974
62172bb9
UW
139752008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13976
13977 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
13978
13979 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
13980
a13e061a
PA
139812008-04-04 Pedro Alves <pedro@codesourcery.com>
13982
13983 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
13984 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
13985 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13986 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
13987 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
13988 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
13989 expect an mi error duplicated in stderr.
13990
eae06beb
JB
139912008-04-03 Joel Brobecker <brobecker@adacore.com>
13992
13993 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
13994 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
13995 Add a couple of tests that verify the behavior when the new setting
13996 is set to "cancel" and "all".
13997 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
13998 "ask" before we start the testing.
13999
79c6ced6
AR
140002008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
14001
14002 * gdb.cp/casts.cc: Add class reference variables.
14003 * gdb.cp/casts.exp: New test cases for up/down casting references.
14004
6c2d1a6b
MK
140052008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
14006
14007 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
14008 instead of beginning to make an extra test pass.
14009 * gdb.mi/mi2-var-display.exp: Likewise.
14010
55b411d9
MR
140112008-03-31 Maciej W. Rozycki <macro@mips.com>
14012
14013 * gdb.base/break.exp: Mark failures as such. Fix formatting.
14014
c6140da2
MD
140152008-03-31 Markus Deuling <deuling@de.ibm.com>
14016 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14017
14018 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
14019 value. Add xfail for older kernels.
14020
79732189
AR
140212008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
14022
14023 Bring mi-support in line with gdb.exp.
14024 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
14025 (mi_gdb_start): New function.
14026
33c3676e
MR
140272008-03-28 Maciej W. Rozycki <macro@mips.com>
14028
14029 * gdb.mi/mi-var-cmd.exp: Fix a typo.
14030
92e28119
VP
140312008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14032
14033 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
14034 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 14035
9e8e3afe
VP
140362008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14037
14038 * lib/mi-support.exp (mi_create_varobj_checked): New.
14039 (mi_list_varobj_children): Allow to check for a
14040 value.
14041 (mi_list_array_varobj_children): New.
14042
14043 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
14044 and mi_list_varobj_children, as opposed to hardcoding
14045 expected strings.
14046 * gdb.mi/gdb701.exp: Likewise.
14047 * gdb.mi/gdb792.exp: Likewise.
14048 * gdb.mi/mi-var-block.exp: Likewise.
14049 * gdb.mi/mi-var-cmd.exp: Likewise.
14050 * gdb.mi/mi-var-invalidate.exp: Likewise.
14051 * gdb.mi/mi2-var-block.exp: Likewise.
14052 * gdb.mi/mi2-var-child.exp: Likewise.
14053 * gdb.mi/mi2-var-cmd.exp: Likewise.
14054 * gdb.mi/mi2-var-display.exp: Likewise.
14055
9df50351
JK
140562008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14057
14058 Fix random false FAILs on i386.
14059 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
14060
31e5d73a
DJ
140612008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14062
14063 PR gdb/544
14064 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
14065
12f4afab
DJ
140662008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14067
14068 PR gdb/544
14069 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
14070
b562a0cb
DJ
140712008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14072
14073 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
14074 fixed PR gdb/544.
14075
17faa917
DJ
140762008-03-21 Pedro Alves <pedro@codesourcery.com>
14077
14078 * gdb.threads/fork-child-threads.exp: Test next over fork.
14079
6214f497
DJ
140802008-03-21 Chris Demetriou <cgd@google.com>
14081
14082 * gdb.base/break.exp (rbreak junk): New test for rbreak
14083 "Junk at end of arguments" issue.
14084
63092375
DJ
140852008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14086
14087 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
14088 *& to work on created array elements.
14089 (Top level): Test print $pc with a file. Test string operations
14090 without a target.
14091 * gdb.base/ptype.exp: Do not expect *& to work on created array
14092 elements.
14093
b21991b0
DJ
140942008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14095
14096 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14097 gdb.threads/staticthreads.exp: Update exit query.
14098
c4b347c7
SL
140992008-03-07 Sandra Loosemore <sandra@codesourcery.com>
14100
14101 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
14102
fa4727a6
DJ
141032008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
14104
14105 * gdb.base/watchpoint.c (global_ptr, func4): New.
14106 (main): Call func4.
14107 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
14108 (test_inaccessible_watchpoint): New.
14109
2f34202f
MR
141102008-02-29 Maciej W. Rozycki <macro@mips.com>
14111
14112 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
14113 select the largest.
14114
0d6ba1b1
DJ
141152008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14116
14117 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
14118 frames-invalid annotations.
14119
e691325a
PM
141202008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
14121
a9c64011 14122 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 14123
f85b5ecc
DE
141242008-02-27 Doug Evans <dje@google.com>
14125
14126 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
14127 for bug 1738.
14128 (breakpoint_to_handler_entry): Ditto.
14129
b40e7bf3
JB
141302008-02-27 Joel Brobecker <brobecker@adacore.com>
14131
14132 * gdb.base/ending-run.exp: Use the first line of code inside
14133 function body to test breakpoints.
14134 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
14135 location where the breakpoint is inserted when using the line
14136 where a function is declared. Fix typo in the description of
14137 one of the tests.
14138 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
14139
2faca73a
PM
141402008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14141
14142 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 14143 tests.
2faca73a 14144
6f439c36
PM
141452008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14146
14147 * gdb.base/args.exp: avoid same output for tests
14148 with single quotes.
14149
54e52265
VP
141502008-02-26 Vladimir Prus <vladimir@codesourcery.com>
14151
a9c64011
AS
14152 * gdb.base/annota1.exp: Adjust for 'info break'
14153 format changes.
14154 * gdb.base/annota3.exp: Likewise.
14155 * gdb.base/break.exp: Likewise.
14156 * gdb.base/condbreak.exp: Likewise.
14157 * gdb.base/pending.exp: Likewise.
14158 * gdb.base/sepdebug.exp: Likewise.
14159 * gdb.base/unload.exp: Likewise.
14160 * gdb.cp/ovldbreak.exp: Likewise.
14161 * gdb.mi/mi-pending.exp: Likewise.
54e52265 14162
897b09ca
DE
141632008-02-07 Doug Evans <dje@google.com>
14164
14165 * gdb.cp/mb-inline.exp: New.
14166 * gdb.cp/mb-inline.h: New.
14167 * gdb.cp/mb-inline1.cc: New.
14168 * gdb.cp/mb-inline2.cc: New.
14169
b1c32d35
PM
141702008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
14171
14172 * gdb.pascal/floats.pas: New test program.
14173 * gdb.pascal/floats.exp: New testcase.
14174
1a4ca44a
TJB
141752008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14176
14177 * gdb.base/callfuncs.c (t_float_many_args): New function.
14178 (t_double_many_args): New function.
14179 * gdb.base/callfuncs.exp: Add tests for exceeding float
14180 and double parameters passed through the stack.
14181
439048e8
JB
141822008-02-05 Joel Brobecker <brobecker@adacore.com>
14183
14184 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
14185 gdb.ada/complete/foo.adb: New files.
14186 * gdb.ada/complete.exp: New testcase.
14187
81fe8080
DE
141882008-02-03 Doug Evans <dje@google.com>
14189
301f0ecf
DE
14190 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
14191
81fe8080
DE
14192 * gdb.cp/gdb2384.exp: New file.
14193 * gdb.cp/gdb2384.cc: New file.
14194 * gdb.cp/gdb2384-base.h: New file.
14195 * gdb.cp/gdb2384-base.cc: New file.
14196
4b071aec
DE
141972008-02-02 Doug Evans <dje@google.com>
14198
14199 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
14200
61137ba6
JB
142012007-02-01 Joel Brobecker <brobecker@adacore.com>
14202
14203 * gdb.ada/sym_print_name: New test program.
14204 * gdb.ada/sym_print_name.exp: New testcase.
14205
142062007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
14207
14208 * gdb.ada/nested/hello.adb: New file.
14209 * gdb.ada/nested.exp: New testcase.
14210 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14211
98deb0da
VP
142122008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14213
14214 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
14215 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
14216 don't cause future evaluations of function to report
14217 creation of internal breakpoints.
98deb0da 14218
723a2275
VP
142192008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14220
14221 * gdb.mi/mi-break.exp (test_error): New.
14222 Call it.
14223
fb546a2f
LM
142242008-01-31 Luis Machado <luisgpm@br.ibm.com>
14225
14226 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
14227 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
14228
2d8fd90a
PM
142292008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14230
14231 * gdb.pascal/integers.pas: New test program.
14232 * gdb.pascal/integers.exp: New testcase.
14233
a7fa0ded
PM
142342008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14235
14236 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
14237
5e1a1926
TJB
142382008-01-30 Luis Machado <luisgpm@br.ibm.com>
14239
14240 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
14241 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
14242
8d04f9f0
JB
142432008-01-30 Paul Hilfinger <hilfinger@adacore.com>
14244
14245 * gdb.ada/formatted_ref: New test program.
14246 * gdb.ada/formatted_ref.exp: New testcase.
14247
14248 * gdb.cp/formatted-ref.cc: New file.
14249 * gdb.cp/formatted-ref.exp: New testcase.
14250
ce75a98f
JB
142512008-01-30 Joel Brobecker <brobecker@adacore.com>
14252
14253 * gdb.base/ptype.exp: Add testing of "ptype $pc".
14254
e835f6bf
NR
142552008-01-30 Nick Roberts <nickrob@snap.net.nz>
14256
14257 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
14258 (test_file_list_exec_source_file): Update to new macro-info field.
14259
d118ef87
PH
142602008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
14261
14262 * gdb.ada/exprs: New test program.
14263 * gdb.ada/exprs.exp: New testcase.
14264
7d35ab09
TJB
142652008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14266
14267 * dfp-test.c (DELTA, DELTA_B): New definitions.
14268 (double_val1, double_val2, double_val3, double_val4, double_val5,
14269 double_val6, double_val7, double_val8, double_val9, double_val10,
14270 double_val11, double_val12, double_val13, double_val14, dec32_val1,
14271 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
14272 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
14273 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
14274 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
14275 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
14276 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
14277 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
14278 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
14279 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
14280 dec128_val16): New global variables.
14281 (decimal_dec128_align): New function.
14282 (decimal_mixed): Likewise.
14283 (decimal_many_args_dec32): Likewise.
14284 (decimal_many_args_dec64): Likewise.
14285 (decimal_many_args_dec128): Likewise.
14286 (decimal_many_args_mixed): Likewise.
14287 * dfp-test.exp: Add tests calling new inferior functions.
14288
2d717e4f
DJ
142892008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14290
14291 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
14292 gdb.server/ext-run.exp: New files.
14293 * lib/gdbserver-support.exp (gdbserver_download): New.
14294 (gdbserver_start): New. Update gdbserver expected
14295 output.
14296 (gdbserver_spawn): Use them.
14297 (gdbserver_start_extended): New.
14298
e85a822c
DJ
142992008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14300
14301 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
14302 Run on GNU/Linux.
14303 (do_exec_tests): Check for systems which do not support catchpoints.
14304 Do not match START.
14305 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
14306 Run on GNU/Linux. Enable verbose output.
14307 (check_fork_catchpoints): New.
14308 (explicit_fork_child_follow, catch_fork_child_follow)
14309 (tcatch_fork_parent_follow): Update expected messages.
14310 (do_fork_tests): Use check_fork_catchpoints.
14311 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
14312 Run on GNU/Linux. Enable verbose output.
14313 (check_vfork_catchpoints): New.
14314 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
14315 expected messages.
14316 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
14317
401ea829
JB
143182008-01-29 Jim Blandy <jimb@red-bean.com>
14319
14320 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
14321 host' errors.
14322 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
14323
aceaf3ad
JB
143242008-01-29 Jim Blandy <jimb@red-bean.com>
14325
14326 * gdb.threads/sigthread.c: Use barriers to ensure that
14327 child_thread and child_thread_two are always initialized before we
14328 start to use them.
14329
a5606eee
VP
143302008-01-29 Vladimir Prus <vladimir@codesourcery.com>
14331
14332 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
14333 * gdb.base/watchpoint-solib.c: New.
14334 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 14335
c55a82bb
PM
143362008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
14337
14338 * gdb.base/gdb1056.exp: Add unsigned integer test.
14339
0993fe05
DE
143402008-01-28 Doug Evans <dje@google.com>
14341
14342 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
14343
4fe42e7f
JB
143442008-01-27 Jim Blandy <jimb@codesourcery.com>
14345
c7a69933
JB
14346 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
14347
4fe42e7f
JB
14348 * gdb.base/expand-psymtabs.exp: Doc fix.
14349
5def8285
MK
143502008-01-26 Mark Kettenis <kettenis@gnu.org>
14351
14352 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14353
5313c911
NR
143542008-01-24 Nick Roberts <nickrob@snap.net.nz>
14355
a9c64011 14356 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
14357 -var-set-format.
14358
93815fbf
VP
143592008-01-23 Chris Demetriou <cgd@google.com>
14360
14361 * gdb.threads/thread_events.c: New testcase source file.
14362 * gdb.threads/thread_events.exp: New testcase expect file.
14363
467a88ee
NR
143642008-01-23 Nick Roberts <nickrob@snap.net.nz>
14365
14366 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
14367
14368 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
14369 -var-set-format.
14370
d8f82aba
DJ
143712008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
14372 Vladimir Prus <vladimir@codesourcery.com>
14373
14374 * gdb.base/float.exp: Allow missing floating point for m68k and
14375 PowerPC.
14376
60c46647
VP
143772008-01-22 Vladimir Prus <vladimir@codesourcery.com>
14378
14379 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
14380 ignore count.
14381 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
14382 * gdb.mi/mi-cli.exp: Adjust.
14383 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 14384
c7dd36a1
PA
143852008-01-17 Pedro Alves <pedro@codesourcery.com>
14386
14387 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
14388 and 'dummy_ptr' integer pointer. Initialize struct_declarations
14389 with dummy_ptr's address.
14390 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
14391 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
14392 all targets.
14393 * gdb.mi/mi2-var-child.exp: Likewise.
14394
39d5313e
JB
143952008-01-09 Joel Brobecker <brobecker@adacore.com>
14396
14397 * gdb.ada/null_array: New test program.
14398 * gdb.ada/null_array.exp: New testcase.
14399
0aea4bf3
LM
144002008-01-09 Luis Machado <luisgpm@br.ibm.com>
14401
14402 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
14403 with required float modifiers.
14404
0b354900
JB
144052008-01-08 Joel Brobecker <brobecker@adacore.com>
14406
14407 * gdb.ada/funcall_param: New test program.
14408 * gdb.ada/funcall_param.exp: New testcase.
14409
cdb7f5d4
JB
144102008-01-08 Joel Brobecker <brobecker@adacore.com>
14411
14412 * gdb.ada/arrayparam: New test program.
14413 * gdb.ada/arrayparam.exp: New testcase.
14414
88e2547f
JB
144152008-01-08 Joel Brobecker <brobecker@adacore.com>
14416
14417 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
14418 landed. Should also fix random failures in the test following it.
14419
f6867ce0
TJB
144202008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
14421
14422 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
14423 for expressions with decimal float values.
14424 (test_dfp_conversions): New function to test casts to and from
14425 decimal float types.
14426 Call test_dfp_conversions.
14427 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
14428 elements.
14429 (main): Initialize ds.float4 and ds.double8 elements.
14430 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
14431 string to new error message.
14432 (d64_set_tests): Likewise.
14433 (d128_set_tests): Likewise.
14434 Add tests for expressions with decimal float variables. Add tests for
14435 conversions to and from decimal float types.
14436
f9c11282
JB
144372008-01-05 Joel Brobecker <brobecker@adacore.com>
14438
14439 * gdb.ada/packed_tagged/comp_bug.adb: New file.
14440 * gdb.ada/packed_tagged.exp: New testcase.
14441
0ecbca72
JB
144422008-01-04 Joel Brobecker <brobecker@adacore.com>
14443
14444 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
14445 gdb.ada/homonym/homonym_main.adb: New files.
14446 * gdb.ada/homonym.exp: New testcase.
14447
c18d3d89
JB
144482008-01-04 Joel Brobecker <brobecker@adacore.com>
14449
14450 * gdb.ada/packed_array.exp: Add testing of references to
14451 a packed array.
14452
ecc7085b
JB
144532008-01-04 Joel Brobecker <brobecker@adacore.com>
14454
14455 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
14456 New files.
14457 * gdb.ada/type_coercion.exp: New testcase.
14458
c474c922
JB
144592008-01-04 Joel Brobecker <brobecker@adacore.com>
14460
14461 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
14462 gdb.ada/tagged/foo.adb: New file.
14463 * gdb.ada/tagged.exp: New testcase.
14464
9005b927
JB
144652008-01-04 Joel Brobecker <brobecker@adacore.com>
14466
14467 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
14468 gdb.ada/ptype_field/foo.adb: New files.
14469 * gdb.ada/ptype_field.exp: New testcase.
14470
1a6aaad8
JB
144712008-01-03 Joel Brobecker <brobecker@adacore.com>
14472
14473 * gdb.ada/print_pc.exp: New testcase.
14474
0ef22f53
JB
144752008-01-03 Joel Brobecker <brobecker@adacore.com>
14476
14477 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
14478 gdb.ada/taft_type/p.adb: New files.
14479 * gdb.ada/taft_type.exp: New testcase.
14480
1689ecf8
JB
144812008-01-03 Joel Brobecker <brobecker@adacore.com>
14482
14483 * gdb.ada/array_bounds/bar.adb: New file.
14484 * gdb.ada/array_bounds.exp: New testcase.
14485
a4d0b9c3
JB
144862008-01-03 Joel Brobecker <brobecker@adacore.com>
14487
14488 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
14489 gdb.ada/arrayptr/foo.adb: New files.
14490 * gdb.ada/arrayptr.exp: New testcase.
14491
a31ace00
JB
144922008-01-03 Joel Brobecker <brobecker@adacore.com>
14493
14494 * gdb.base/set-lang-auto.exp: New testcase.
14495
a97fced3
JB
144962008-01-03 Joel Brobecker <brobecker@adacore.com>
14497
14498 * gdb.ada/fun_addr/foo.adb: New file.
14499 * gdb.ada/fun_addr.exp: New testcase.
14500
ef29ce1a
JK
145012008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14502
14503 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
14504 New files
14505
0fafefe3
JB
145062008-01-02 Joel Brobecker <brobecker@adacore.com>
14507
14508 * array_subscript_addr/p.adb: New file.
a9c64011 14509 * array_subscript_addr.exp: New testcase.
0fafefe3 14510
c4359f8d
JB
145112008-01-02 Joel Brobecker <brobecker@adacore.com>
14512
a9c64011 14513 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
14514 New files.
14515 * gdb.ada/str_cmp_ref.exp: New testcase.
14516
1aa1b15b
JB
145172008-01-01 Joel Brobecker <brobecker@adacore.com>
14518
14519 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
14520 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 14521 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 14522
81c9b2cf
JB
145232008-01-01 Joel Brobecker <brobecker@adacore.com>
14524
14525 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
14526 gdb.ada/ref_param/pck.ads: New files.
14527 * gdb.ada/ref_param.exp: New testcase.
14528
319e4674
JB
145292008-01-01 Joel Brobecker <brobecker@adacore.com>
14530
14531 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
14532 gdb.ada/interface/foo.adb: New files.
14533 * gdb.ada/interface.exp: New testcase.
14534
ef682c56
JB
145352007-12-31 Jim Blandy <jimb@codesourcery.com>
14536
14537 * gdb.base/multi-forks.exp: Consume all output from child
14538 processes before proceeding to next test.
14539
f6f3eb6c
JB
145402007-12-29 Jim Blandy <jimb@codesourcery.com>
14541
14542 * configure: Regenerated.
14543
f652e42f
JB
145442007-12-27 Joel Brobecker <brobecker@adacore.com>
14545
14546 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
14547 gdb.ada/fixed_cmp/fixed.adb: New files.
14548 * gdb.ada/fixed_cmp.exp: New testcase.
14549
6943e596
JB
145502007-12-27 Joel Brobecker <brobecker@adacore.com>
14551
14552 * gdb.ada/boolean_expr.exp: New testcase.
14553
aad9a193
JB
145542007-12-26 Jim Blandy <jimb@codesourcery.com>
14555
14556 * gdb.base/multi-forks.exp: Doc fix.
14557
fb5f3683
JB
145582007-12-26 Joel Brobecker <brobecker@adacore.com>
14559
14560 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14561 * gdb.ada/char_param.exp: Do not compile our test program with
14562 -gnata, this is unnecessary.
14563 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
14564
384e4a9c
JB
145652007-12-24 Joel Brobecker <brobecker@adacore.com>
14566
14567 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
14568 gdb.ada/print_chars/foo.adb: New files.
14569 * gdb.ada/print_chars.exp: New testcase.
14570
01e044f7
JB
145712007-12-24 Joel Brobecker <brobecker@adacore.com>
14572
14573 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
14574 gdb.ada/char_param/foo.adb: New files.
14575 * gdb.ada/char_param.exp: New testcase.
14576
0ce17860
JB
145772007-12-22 Jim Blandy <jimb@codesourcery.com>
14578
14579 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
14580 hard-coding source line numbers into the test.
14581 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
14582 gdb_get_line_number to find.
14583
919809b9
JB
145842007-12-22 Joel Brobecker <brobecker@adacore.com>
14585
14586 * gdb.base/ptype.c (highest): New struct type.
14587 (the_highest): New variable of that type.
14588 (main): Add dummy assignment to a field of variable the_highest.
14589 * gdb.base/ptype.exp: Test type printing of our new variable.
14590
abc8a88d
PM
145912007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
14592
14593 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 14594 and record first explicitly generated thread number.
abc8a88d
PM
14595 Use that thread number for thread specific watchpoint test.
14596 Add iteration number to repetitive tests.
14597
5158f3e3
CES
145982007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14599 Jim Blandy <jimb@codesourcery.com>
14600
14601 * gdb.base/expand-psymtabs.c: New testcase
14602 source file.
14603 * gdb.base/expand-psymtabs.exp: New testcase
14604 expect file.
14605
37e4754d
LM
146062007-12-17 Luis Machado <luisgpm@br.ibm.com>
14607
14608 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
14609 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
14610
551e5d04
JB
146112007-12-17 Joel Brobecker <brobecker@adacore.com>
14612
14613 * gdb.ada/frame_args/foo.adb: New file.
14614 * gdb.ada/frame_args/pck.ads: New file.
14615 * gdb.ada/frame_args/pck.adb: New file.
14616 * gdb.ada/frame_args.exp: New testcase.
14617
a05ee097
JB
146182007-12-17 Joel Brobecker <brobecker@adacore.com>
14619
14620 * gdb.base/frame-args.c: New file.
14621 * gdb.base/frame-args.exp: New testcase.
14622
c162e8c9 146232007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 14624 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
14625
14626 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
14627
afe8ab22 146282007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 14629
afe8ab22
VP
14630 * gdb.mi/mi-pending.exp: New.
14631 * gdb.mi/mi-pending.c: New.
14632 * gdb.mi/mi-pendshr.c: New.
14633
dfdfb3ca
JB
146342007-12-06 Jim Blandy <jimb@codesourcery.com>
14635
14636 * gdb.base/default.exp: Update expected output for 'info catch'.
14637
b7fca990
JK
146382007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14639
14640 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
14641 must be set to binary.
14642
6a1afc1e
PA
146432007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
14644
14645 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
14646
a6b151f1
DJ
146472007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
14648
14649 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
14650 gdb.mi/mi-file-transfer.exp: New.
14651
43039443
JK
146522007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14653
14654 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
14655
0ef2251b
MR
146562007-11-22 Maciej W. Rozycki <macro@mips.com>
14657
14658 * gdb.trace/backtrace.exp: Fix a typo.
14659 * gdb.trace/circ.exp: Likewise.
14660 * gdb.trace/collection.exp: Likewise.
14661 * gdb.trace/limits.exp: Likewise.
14662 * gdb.trace/report.exp: Likewise.
14663 * gdb.trace/tfind.exp: Likewise.
14664 * gdb.trace/while-dyn.exp: Likewise.
14665
5443631e
NR
146662007-11-21 Nick Roberts <nickrob@snap.net.nz>
14667
14668 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
14669 objects of pointers that can't be dereferenced are now
14670 "noneditable".
14671
a4ce5b0d
UW
146722007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14673
14674 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
14675 (target_cpu): Remove.
14676
d6e956e5
VP
146772007-10-15 Vladimir Prus <vladimir@codesourcery.com>
14678
14679 * gdb.base/ending-run.exp: Expect the list of cleared
14680 breakpoint to come in natural order, not the reversed one.
a9c64011 14681
214270ab
VP
146822007-11-07 Vladimir Prus <vladimir@codesourcery.com>
14683
14684 * gdb.mi/mi-var-child.c (do_child_deletion): New.
14685 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 14686
1a619819
LM
146872007-11-05 Luis Machado <luisgpm@br.ibm.com>
14688
14689 * gdb.base/printcmds.exp: New function
14690 test_printf_with_dfp.
14691
5b01a6fa
DE
146922007-11-02 Doug Evans <dje@google.com>
14693
14694 * gdb.disasm/t01_mov.s: Remove carriage returns.
14695 * gdb.disasm/t02_mova.s: Ditto.
14696 * gdb.disasm/t03_add.s: Ditto.
14697 * gdb.disasm/t04_sub.s: Ditto.
14698 * gdb.disasm/t05_cmp.s: Ditto.
14699 * gdb.disasm/t06_ari2.s: Ditto.
14700 * gdb.disasm/t07_ari3.s: Ditto.
14701 * gdb.disasm/t08_or.s: Ditto.
14702 * gdb.disasm/t09_xor.s: Ditto.
14703 * gdb.disasm/t10_and.s: Ditto.
14704 * gdb.disasm/t11_logs.s: Ditto.
14705 * gdb.disasm/t12_bit.s: Ditto.
14706 * gdb.disasm/t13_otr.s: Ditto.
14707
ec33ab7f
JK
147082007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14709
14710 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
14711
ae0d01ff
UW
147122007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14713
14714 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
14715 provide DFP support.
14716
55eddb0f
DJ
147172007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
14718
14719 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
14720 Test "set powerpc vector-abi". Skip auto-detection tests for old
14721 toolchains.
14722
7020f05c
PA
147232007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
14724
14725 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
14726 with [string compare].
14727
84bc3db9
PA
147282007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
14729
14730 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
14731 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
14732
5876dc88
LM
147332007-10-25 Luis Machado <luisgpm@br.ibm.com>
14734
14735 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
14736 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
14737 * gdb.opt/Makefile.in: New makefile.
14738 * Makefile.in: Create new directory "gdb.opt".
14739 * configure.ac: Add "gdb.opt" directory.
14740 * configure: Regenerated.
a9c64011 14741
c3ea9a14
DE
147422007-10-25 Doug Evans <dje@google.com>
14743
14744 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
14745 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
14746
a9c64011 147472007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
14748 Thiago Jung Bauermann <bauerman@br.ibm.com>
14749
14750 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
14751 Floating Point expressions.
14752 * gdb.base/dfp-test.exp: new file adding tests for Decimal
14753 Floating Point variables.
14754 * gdb.base/dfp-test.c: new file containing program with Decimal
14755 Floating variables, used by gdb.base/dfp-test.exp.
14756
62a24a2b
DJ
147572007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
14758
14759 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
14760
e7b1eae6
UW
147612007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14762
14763 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
14764 compiling test case with GCC.
14765 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
14766
c641edcc
UW
147672007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14768
14769 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
14770 format changes.
14771
5e5ebfe6
MS
147722007-10-18 Michael Snyder <msnyder@specifix.com>
14773
14774 * gdb.base/dbx.exp: Add missing "-re " operator.
14775
e831e7b6
GM
147762007-10-16 Gaius Mulley <gaius@glam.ac.uk>
14777
14778 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
14779 * configure.ac: Removed trailing spaces after backslash.
14780 * gdb.modula2: New directory.
14781 * gdb.modula2/Makefile.in: New file.
14782 * gdb.modula2/unbounded-array.exp: New file.
14783 * gdb.modula2/unbounded1.c: New file.
14784
7cc46491
DJ
147852007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
14786
14787 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
14788
147892007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
14790
14791 * gdb.base/sigstep.c (main): Add checks for
14792 return values for setitimer call.
14793 Call setitimer again with itimer = ITIMER_REAL
14794 if first call to setitimer fails.
14795
e91528f0
KH
147962007-10-11 Kazu Hirata <kazu@codesourcery.com>
14797
14798 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
14799 of $timeout.
14800
2ec9a4f8
DJ
148012007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
14802
14803 * gdb.server/server-run.exp: Test for dynamic linker symbols.
14804
148052007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
14806
14807 * lib/gdb.exp (gdb_run_cmd): Move comment outside
14808 of gdb_expect call, to avoid interruption.
14809
64b2fa04
PA
148102007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
14811
14812 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
14813 (v_unsigned_long_long, v_long_long_array)
14814 (v_signed_long_long_array, v_unsigned_long_long_array)
14815 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
14816 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
14817 [!NO_LONG_LONG]: New.
14818 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
14819 v_long_long_member.
14820
14821 (v_long_long_func, v_signed_long_long_func)
14822 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
14823 (main) [!NO_LONG_LONG]: Initialize long long variants.
14824
14825 * gdb.base/whatis.exp: If board file requests no_long_long, build
14826 test with NO_LONG_LONG defined. Test long long, signed long long,
14827 and unsigned long long variants but only if board file doesn't
14828 disable it.
14829
a912286e 148302007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 14831 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
14832
14833 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
14834 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
14835 * configure: Regenerated.
14836 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
14837 gdb.pascal/types.exp, lib/pascal.exp: New files.
14838
471ba8c9
DJ
148392007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
14840
14841 * gdb.cp/classes.exp (do_tests): Always step to the line after the
14842 call.
14843 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
14844 to return to the call.
14845 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
14846 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
14847 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
14848 * gdb.mi/mi-until.exp (test_until): Likewise.
14849 * gdb.mi/mi2-until.exp (test_until): Likewise.
14850
fef8a650
DJ
148512007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
14852
14853 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
14854 two-char array.
14855 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
14856
d983da9c
DJ
148572007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
14858
14859 * gdb.threads/watchthreads.c (thread_function): Sleep between
14860 iterations.
14861 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
14862 at once for S/390. Generate matching fails and passes.
14863
17f62551
VP
148642007-09-27 Vladimir Prus <vladimir@codesourcery.com>
14865
14866 * gdb.mi/var-cmd.c (do_children_tests): Initialize
14867 the 'struct_declarations' variable to zeros.
a9c64011 14868
ed0616c6
VP
148692007-09-24 Vladimir Prus <vladimir@codesourcery.com>
14870
14871 * gdb.cp/mb-ctor.cc: New.
14872 * gdb.cp/mb-ctor.exp: New.
14873 * gdb.cp/mb-templates.cc: New.
14874 * gdb.cp/mb-templates.exp: New.
14875
41f1b697
DJ
148762007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
14877
14878 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
14879
3f213f78
PA
148802007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
14881
14882 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
14883 targets.
14884 * configure: Regenerate.
14885
0d381245 148862007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 14887
0d381245
VP
14888 * gdb.base/annota1.exp: Adjust for 'info break'
14889 format changes.
14890 * gdb.base/annota3.exp: Likewise.
14891 * gdb.base/break.exp: Likewise.
14892 * gdb.base/condbreak.exp: Likewise.
14893 * gdb.base/pending.exp: Likewise.
14894 * gdb.base/sepdebug.exp: Likewise.
14895 * gdb.base/unload.exp: Likewise.
14896 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 14897
fe3f5fa8
VP
148982007-09-22 Vladimir Prus <vladimir@codesourcery.com>
14899
14900 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
14901 messages.
14902 * gdb.base/chng-syms.exp: Likewise.
14903 * gdb.base/unload.exp: Likewise.
a9c64011 14904
a75cf6c0
DJ
149052007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
14906
14907 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
14908
18ecae38
DJ
149092007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
14910
14911 * schedlock.c (NUM): Change to 1.
14912 (main): Use args[0] for the main thread.
14913 * schedlock.exp: Only expect two threads. Only issue one pass or fail
14914 regardless of the number of threads.
14915
5509918f
MR
149162007-09-14 Maciej W. Rozycki <macro@mips.com>
14917
4a543daf
MR
14918 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
14919 type down.
14920 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
14921 test.
14922 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
14923 watchpoint type down.
14924 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
14925 test.
14926
149272007-09-14 Maciej W. Rozycki <macro@mips.com>
14928
5509918f
MR
14929 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
14930 Move all the tests here and run them twice, once using software
14931 watchpoints and once using hardware watchpoints.
14932 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
14933
40b53987
DJ
149342007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
14935
14936 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
14937 test.
14938
695e2681
MK
149392007-09-10 Mark Kettenis <kettenis@gnu.org>
14940
8b3fc8d8
MK
14941 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
14942 build-id.
14943
695e2681
MK
14944 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
14945 know about $ORIGIN. Calculate output dir from $dest instead of
14946 using ${objdir}/{$subdir}.
14947
58d69f29
MK
149482007-09-09 Mark Kettenis <kettenis@gnu.org>
14949
14950 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
14951 gcore, before continuing with the test.
14952
3e347599
DJ
149532007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
14954
14955 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
14956 * gdb.mi/mi-watch.exp: Likewise.
14957
ea37ba09
DJ
149582007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
14959 Jim Blandy <jimb@codesourcery.com>
14960
14961 * gdb.arch/i386-sse.exp: Do not expect character constants.
14962 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
14963 * gdb.base/display.exp: Allow print/s.
14964 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
14965 and unsigned char array changes.
14966
2025a643
DJ
149672007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
14968
14969 * gdb.base/display.exp: Add tests for printf %p.
14970
26669a27
PA
149712007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
14972
14973 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
14974 the dll name to unicode.
14975
c8f021f8
JK
149762007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14977
14978 * gdb.base/default.exp (show version): Update the version text.
14979 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
14980
4cf31eea
JK
149812007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14982
14983 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
14984 New files.
14985
4935890f
JK
149862007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14987
14988 * lib/gdb.exp (build_id_debug_filename_get): New function.
14989 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
14990 Remove the generate DEBUG file for the future testcase runs.
14991 New testcase for the NT_GNU_BUILD_ID retrieval.
14992 Move the final testing step to ...
14993 (test_different_dir): ... a new function.
14994 New parameter XFAIL to XFAIL all the tests performed.
14995 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
14996 New parameter TYPE to PF_PREFIX all the tests performed.
14997
02142340
VP
149982007-08-31 Vladimir Prus <vladimir@codesourcery.com>
14999
15000 * gdb.mi/mi-var-cp.cc (path_expression): New
15001 function.
15002 * gdb.mi/mi-var-cp.exp: Run path exression tests.
15003
36acd84e
UW
150042007-08-27 Markus Deuling <deuling@de.ibm.com>
15005
15006 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
15007 to fit into SPU Local Store memory.
15008
a896d121
JB
150092007-08-23 Joel Brobecker <brobecker@adacore.com>
15010
15011 * gdb.base/default.exp: Adjust the expected output of "info
15012 warranty" after the switch to GPLv3.
15013
7b433602
JB
150142007-08-23 Joel Brobecker <brobecker@adacore.com>
15015
15016 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
15017 to 30000 (from 20000).
15018
e22f8b7c
JB
150192007-08-23 Joel Brobecker <brobecker@adacore.com>
15020
15021 Switch the license of all .exp files to GPLv3.
15022 Switch the license of all .f and .f90 files to GPLv3.
15023 Switch the license of all .s and .S files to GPLv3.
15024
5a0e3bd0
JB
150252007-08-23 Joel Brobecker <brobecker@adacore.com>
15026
15027 * configure.ac: Switch license to GPLv3.
15028
cc00619d
JB
150292007-08-23 Joel Brobecker <brobecker@adacore.com>
15030
15031 Switch the licensing to GPLv3 for all .ads and .adb files.
15032
8d26208a
DJ
150332007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
15034
15035 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
15036 and t_int_double.
15037 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
15038
4fcb9948
JB
150392007-08-17 Joel Brobecker <brobecker@adacore.com>
15040
15041 * gdb.base/step-line.c: Switch license to GPL version 3, and
15042 update copyright year.
15043 * gdb.base/step-line.inp: Likewise.
15044
b9c34f67
JB
150452007-08-17 Joel Brobecker <brobecker@adacore.com>
15046
15047 * gdb.base/gdb1555.exp: Make expected output immune to formatting
15048 changes inside gdb1555.c.
15049 * gdb.base/pending.exp: Likewise.
15050
2cc17678
DJ
150512007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
15052
15053 * config/default.exp: New file.
15054
e48883f7
DJ
150552007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15056
15057 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
15058 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
15059
1ab80e5b
MR
150602007-07-30 Maciej W. Rozycki <macro@mips.com>
15061
15062 * gdb.base/dump.exp: Force the correct endianness for binary
15063 formats not carrying this information.
15064
aba471f5
DJ
150652007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15066
15067 * gdb.threads/staticthreads.exp: Match .*sem_post.
15068
d4e07204
DJ
150692007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15070
15071 * gdb.base/readline.exp (operate_and_get_next): Match the final
15072 prompt.
15073
2b97317d
KB
150742007-07-23 Kevin Buettner <kevinb@redhat.com>
15075
15076 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
15077 to restarting SID.
15078
44efa07a
KB
150792007-07-18 Kevin Buettner <kevinb@redhat.com>
15080
15081 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
15082 prior to `gdb_start'.
15083
7b5ebade
KB
150842007-07-18 Kevin Buettner <kevinb@redhat.com>
15085
15086 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
15087 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
15088 Remove call to gdb_unload.
15089
255e7678
DJ
150902007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
15091 Daniel Jacobowitz <dan@codesourcery.com>
15092
15093 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
15094 for __WIN32__.
15095 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
15096 * gdb.base/unload.exp: Use shared library test routines.
15097
3a40aaa0
UW
150982007-07-03 Markus Deuling <deuling@de.ibm.com>
15099
15100 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
15101 * gdb.base/solib-symbol-lib.c: Likewise.
15102 * gdb.base/solib-symbol-main.c: Likewise.
15103
b0f4b84b
DJ
151042007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
15105
15106 * config/gdbserver.exp (gdb_reconnect): New.
15107 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
15108 gdb.base/solib-disc.exp: New files.
15109 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
15110 remote debugging".
15111 (gdb_compile): Add shlib_load flag.
15112 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
15113 port.
15114 (gdbserver_reconnect): New.
15115
1b05479a
DJ
151162007-07-01 Nick Roberts <nickrob@snap.net.nz>
15117 Daniel Jacobowitz <dan@codesourcery.com>
15118
15119 * gdb.base/annota3.exp: Test for if construct.
15120
86f78eb2
DJ
151212007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
15122
15123 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
15124
6a2eb474 151252007-06-21 Chris Dearman <chris@mips.com>
a9c64011 15126 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
15127
15128 * gdb.base/display.exp: Allow a newline after display/i.
15129 * gdb.base/pc-fp.exp: Likewise.
15130 * gdb.base/sigbpt.exp: Likewise.
15131
f8b73d13
DJ
151322007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15133
15134 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
15135 required features to be included.
15136
4339e69e
DJ
151372007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15138
15139 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
15140 in info threads output.
15141
23d964e7
UW
151422007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15143 Markus Deuling <deuling@de.ibm.com>
15144
15145 * gdb.arch/spu-info.exp: New testcase.
15146 * gdb.arch/spu-info.c: New file.
15147
fd20f75b
DJ
151482007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
15149
15150 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
15151 tpcs_offset. Restore lr after the call.
15152 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
15153
2226f861
DJ
151542007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
15155
15156 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
15157 (gdbserver_run): Kill any running gdbserver.
15158 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
15159
d12371a9
MR
151602007-05-17 Maciej W. Rozycki <macro@mips.com>
15161
15162 * gdb.base/sigbpt.exp: Preset segv_addr.
15163
93f02886
DJ
151642007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
15165
15166 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
15167 (gdb_compile_shlib): Likewise.
15168 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
15169 (default_gdb_init): Clear cleanfiles.
15170 (gdb_finish): Delete recorded cleanfiles.
15171 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
15172
15173 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
15174 Do not use isnative.
15175 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
15176 gdb.base/so-impl-ld.exp: Likewise.
15177 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
15178 * gdb.base/unload.exp: Likewise. Do not pass empty option to
15179 gdb_compile.
15180
b04e06d7
VP
151812007-05-15 Vladimir Prus <vladimir@codesourcery.com>
15182
15183 * config/unknown.exp: Remove.
15184
069ed931
UW
151852007-05-15 Markus Deuling <deuling@de.ibm.com>
15186
15187 * gdb.base/info-proc.exp: Check is_remote.
15188
09db0d03
UW
151892007-05-14 Markus Deuling <deuling@de.ibm.com>
15190
15191 * gdb.base/gcore.exp: Initialize variable core_supported.
15192
af2cbe8c
DJ
151932007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15194
15195 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
15196
027c0295
DJ
151972007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15198
15199 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
15200 * gdb.threads/print-threads.exp (test_all_threads): Allow
15201 negative and hexadecimal thread IDs.
15202
dc5000e7
DJ
152032007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15204
15205 * gdb.java/jprint.java (public): Avoid invalid call to static
15206 method.
15207
2e74ed18
DP
152082007-05-14 Denis Pilat <denis.pilat@st.com>
15209
15210 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
15211 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
15212 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
15213 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
15214 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
15215
83547f02
UW
152162007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15217
15218 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 15219 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
15220 this mode.
15221 * gdb.base/ovlymgr.c: Provide stubs for spu target.
15222 * gdb.base/spu.ld: New file.
15223
b18be20d
DJ
152242007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
15225
15226 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
15227
be444858
DJ
152282007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
15229
15230 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
15231
b1d53152
DJ
152322007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15233
15234 * gdb.java/jmain.exp: Handle demangled names with and without method
15235 signatures.
15236
d084b331
DJ
152372007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15238
15239 * gdb.mi/mi-syn-frame.c (main, foo, bar)
15240 (have_a_very_merry_interrupt): Remove calls to puts.
15241 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
15242 inferior output.
15243 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
15244 test names.
15245
db9d7fc5
DJ
152462007-04-29 Markus Deuling <deuling@de.ibm.com>
15247 Daniel Jacobowitz <dan@codesourcery.com>
15248
15249 * gdb.base/auxv.exp (core_works): Also check is_remote.
15250 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
15251
ef783a7d 152522007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15253
ef783a7d
VP
15254 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
15255 message, not the undefined 'module' variable.
15256 * gdb.base/siginfo.exp: Likewise.
15257 * gdb.base/sigstep.exp: Likewise.
15258 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
15259 serialport.
15260 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
15261
b7b73cae
CV
152622007-04-25 Corinna Vinschen <vinschen@redhat.com>
15263
15264 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
15265 target sim fails. Return 0 otherwise.
15266 (gdb_load): Return prematurely if gdb_target_sim fails.
15267
7d90fdfa
DP
152682007-04-16 Denis Pilat <denis.pilat@st.com>
15269
15270 * gdb.base/setshow.exp: Reset height after having set it to 100.
15271
5d3e9c85
DP
152722007-04-16 Denis Pilat <denis.pilat@st.com>
15273
15274 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
15275
18e75969
DP
152762007-04-16 Denis Pilat <denis.pilat@st.com>
15277
15278 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
15279
25d5ea92
VP
152802007-04-14 Vladimir Prus <vladimir@codesourcery.com>
15281
15282 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
15283 tests. Run the frozen varobjs test.
15284 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 15285 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 15286
0b49cb80
JK
152872007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15288
15289 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
15290 gdb.base/type-opaque.exp: New files.
15291
a73bafbc 152922007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
15293
15294 * gdb.mi/mi-var-child.c
a73bafbc
VP
15295 (do_children_tests): User char[2] instead of
15296 char so that automatic printing of pointers to char
15297 don't give unpredicable result.
15298 * gdb.mi/var-cmd.c (do_locals_test): Initialize
15299 local variables.
15300 * gdb.mi/mi-var-child.exp: Step to right line
15301 of do_children_tests.
15302 * gdb.mi/mi2-var-child.exp: Likewise.
15303 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 15304 do_locals_tests.
a73bafbc
VP
15305 (do_children_tests): User char[2] instead of
15306 char so that automatic printing of pointers to char
a9c64011 15307 don't give unpredicable result.
a73bafbc 15308 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 15309 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
15310 Pass test name to mi_wait_for_stop.
15311
7ce59000
DJ
153122007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15313
15314 * gdb.asm/asm-source.exp: Remove d10v case.
15315 * lib/gdb.exp (skip_cplus_tests): Likewise.
15316 * gdb.asm/d10v.inc: Deleted.
15317
20389057
DJ
153182007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15319
15320 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
15321
8807d78b
DJ
153222007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15323
15324 * config/netware.exp: Delete file.
15325
aa3edb8e
JB
153262007-03-29 Joel Brobecker <brobecker@adacore.com>
15327
15328 * gdb.dwarf2/dw2-noloc.S: New file.
15329 * gdb.dwarf2/dw2-noloc.exp: New file.
15330
297561ac
PA
153312007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
15332
15333 * gdb.cp/method2.cc: New test.
15334 * gdb.cp/method2.exp: New test.
15335 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
15336
1f81bd39
DJ
153372007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15338
15339 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
15340
9453113a
DJ
153412007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
15342
15343 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
15344
b741e217
DJ
153452007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15346
15347 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
15348 (gdb_load): Delete, replace with...
15349 (gdb_reload): ...this.
15350 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
15351 * gdb.server/server-mon.exp: Likewise.
15352 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
15353 (gdb_start_cmd): New.
15354 (gdb_file_cmd): Save the last loaded file.
15355 (gdb_reload): New.
15356 (gdb_gnu_strip_debug): Use transform.
15357 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
15358 support here. Use new $last_loaded_file. Check mtime.
15359 (gdb_target_cmd): Handle ObjC failure case.
15360 (infer_host_exec): Delete.
15361 (gdbserver_load): Rename to...
15362 (gdbserver_run): ...this. Simplify.
15363 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
15364 (mi_gdb_load): Move most contents to a new function...
15365 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
15366 (mi_run_cmd): Use mi_gdb_target_load.
15367 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
15368 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
15369 Use gdb_run_cmd.
15370 * gdb.base/charsign.exp: Remove incorrect comment.
15371 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
15372 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
15373 gdb.base/start.exp: Use gdb_start_cmd.
15374
446ab585 153752007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 15376 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
15377
15378 * gdb.base/sigbpt.exp: Fix the message when skipping test.
15379 * gdb.base/signull.exp: Similarly.
15380
bbb88ebf
UW
153812007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15382
15383 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
15384 messages available to test cases (like chng-sym.exp).
15385
cb8c4a99
AS
153862007-03-14 Andreas Schwab <schwab@suse.de>
15387
15388 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15389 format changes.
15390
4e463ff5
DJ
153912007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
15392
15393 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
15394 (optimized_1): New.
15395 (main): Call optimized_1.
15396 (gdb2029): Correct typos. Call gdb2029_marker.
15397 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
15398 for gdb2029.
15399
b6db2c47
MK
154002007-03-12 Mark Kettenis <kettenis@gnu.org>
15401
15402 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
15403 as tabs. Remove redundant test pattern.
15404
70ed3737
UW
154052007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15406
15407 * gdb.base/long_long.exp: Accept optional symbol name in <...>
15408 for /a format output.
15409
47b67b60
DJ
154102007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
15411
15412 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
15413 collect output incrementally.
15414
b8953b0e
UW
154152007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15416
15417 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
15418 for -var-create lpcharacter test.
15419 * gdb.mi/mi2-var-cmd.exp: Likewise.
15420
7acd5c40
UW
154212007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15422
15423 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
15424 pass on targets where address zero is readable.
15425
9c6759c1
UW
154262007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15427
15428 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
15429 just a single architecture.
15430
a2f1aeb4
UW
154312007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15432
15433 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
15434 (fetch_all_registers): New function, uses gdb_test_multiple and
15435 exp_continue to fetch inferior output line-by-line.
15436 Replace all uses of do_get_all_registers by fetch_all_registers.
15437
46579ac2
UW
154382007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15439
15440 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
15441 in target_info.
15442
fc133f24
MS
154432007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15444
a9c64011 15445 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
15446 consistancy; add a default (timeout) case.
15447
7646a51d
MS
154482007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15449
15450 * gdb.base/watchpoint.exp: Fix truncated comment.
15451
dcfff61f
MS
154522007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15453
15454 * Makefile.in: Remove spurious single-quotes from sed command.
15455
664e3ee9
DJ
154562007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15457
15458 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
15459 func.
15460 * gdb.mi/mi2-var-cmd.exp: Likewise.
15461
d7cc6f2f
JB
154622007-02-27 Joel Brobecker <brobecker@adacore.com>
15463
a9c64011
AS
15464 * gdb.dwarf2/dw2-producer.S: New file.
15465 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
15466
154672007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
15468
15469 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
15470 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
15471 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
15472 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
15473 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
15474 Revert tests to use mi_gdb_test and include value field in output
15475 of -var-create.
15476
93d42b30
DJ
154772007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
15478
15479 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
15480
c499ed39
DJ
154812007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
15482
15483 * gdb.base/maint.exp: Remove full paths from test names.
15484 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
15485 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
15486
9836f81b
JB
154872007-02-27 Joel Brobecker <brobecker@adacore.com>
15488
15489 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
15490
c74d0ad8
DJ
154912007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
15492
15493 * gdb.server/server-mon.exp: New test.
15494
2711e456
DJ
154952007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
15496
15497 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
15498
ff6f572f
DJ
154992007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
15500
15501 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
15502 register capitalization.
15503
fada3feb
DP
155042007-02-13 Denis Pilat <denis.pilat@st.com>
15505
15506 * gdb.mi/mi-var-invalidate.exp: New file.
15507
fb1e4ffc
DJ
155082007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
15509
15510 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
15511
3da939d7
DJ
155122007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
15513
15514 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
15515
123dc839
DJ
155162007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
15517
15518 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
15519 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
15520
877e3645 155212007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
15522
15523 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
15524 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
15525 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
15526 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
15527 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 15528 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 15529 Update tests to include value field in output of -var-create.
a9c64011 15530
3c0a2960
AS
155312007-02-08 Andreas Schwab <schwab@suse.de>
15532
15533 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
15534
108546a0
DJ
155352007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
15536
15537 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
15538 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
15539
d701dcab
DP
155402007-02-02 Denis Pilat <denis.pilat@st.com>
15541
15542 * gdb.threads/threadapply.exp: check that frame is not changed by
15543 the thread apply all command.
15544
783e3e2f
AS
155452007-01-31 Andreas Schwab <schwab@suse.de>
15546
6d9c3a87
AS
15547 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
15548
3c50d7b9
AS
15549 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
15550 in the dwarf sections.
15551 * gdb.dwarf2/mac-fileno.S: Likewise.
15552
783e3e2f
AS
15553 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
15554 bspstore register on ia64.
15555
78ff580e
AS
155562007-01-29 Andreas Schwab <schwab@suse.de>
15557
cc8e9b12
AS
15558 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
15559 "frame-begin" annotation.
15560
78ff580e
AS
15561 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
15562 number of "frames-invalid" annotations.
15563
704a4f78
DJ
155642007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15565
15566 * gdb.base/commands.exp: Call if_commands_test.
15567 (gdb_test_no_prompt, if_commands_test): New.
15568
e741bf94
MK
155692007-01-28 Mark Kettenis <kettenis@gnu.org>
15570
15571 * gdb.threads/sigthread.c (NSIGS): Make bigger.
15572
474d0ad3
AS
155732007-01-27 Andreas Schwab <schwab@suse.de>
15574
15575 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
15576 .short/.int/.quad in the dwarf sections.
15577 * gdb.dwarf2/dw2-intercu.S: Likewise.
15578 * gdb.dwarf2/dw2-intermix.S: Likewise.
15579
e784b426
JK
155802007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15581
15582 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
15583 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
15584 array.
e784b426
JK
15585 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
15586 * gdb.base/setvar.exp: Likewise.
15587
37f08e04
AS
155882007-01-26 Andreas Schwab <schwab@suse.de>
15589
9a01813a
AS
15590 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
15591 test.
15592
37f08e04
AS
15593 * gdb.base/multi-forks.exp ("restart $i"): Also match
15594 __kernel_syscall_via_break.
15595
6e2a9270
VP
155962007-01-24 Vladimir Prus <vladimir@codesourcery.com>
15597
15598 * lib/mi-support.exp (mi_delete_varobj): New.
15599 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
15600 testcase.
15601 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
15602 (main): Call the above.
15603 (reference_update_test, base_in_reference_test)
15604 (reference_to_pointer): Delete the created varobjs.
a9c64011 15605
e515b470
DJ
156062007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
15607
15608 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
15609 * configure: Regenerated.
15610 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
15611 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
15612 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
15613 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
15614 * lib/gdb.exp (gdb_skip_xml_test): New function.
15615
08d8bcd7
DJ
156162007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
15617
15618 * gdb.base/sigrepeat.exp: Correct error message.
15619
156202007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
15621 Daniel Jacobowitz <dan@codesourcery.com>
15622
15623 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
15624 gdb.arch/i386-gnu-cfi-asm.S: New files.
15625
97c3f1f3
JK
156262007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15627
15628 * lib/gdb.exp: Abort on missing `site.exp'.
15629
cb1df416
DJ
156302007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15631 Daniel Jacobowitz <dan@codesourcery.com>
15632
15633 * gdb.base/included.c, gdb.base/included.exp,
15634 gdb.base/included.h: New files.
15635
35990120
DJ
156362007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15637
15638 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
15639 (maximize_rlimit): Reduce limits on 64-bit systems.
15640
6e81a116 156412007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
15642
15643 From Marcus Deuling <deuling@de.ibm.com>:
15644 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
15645 every case.
15646
6c3c41f3
NR
156472007-01-13 Nick Roberts <nickrob@snap.net.nz>
15648
15649 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
15650 (test_path_specification): Use objdir instead of srcdir to always
15651 get an absolute filename.
15652
2f12c312
DJ
156532007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
15654
15655 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
15656
81121995
VP
156572007-01-11 Vladimir Prus <vladimir@codesourcery.com>
15658
15659 * gdb.mi/mi-var-cp.cc (reference_update_tests):
15660 Make sure the variable we're using is in scope.
15661 (reference_to_pointer): Likewise.
15662
4741b737
DJ
156632007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
15664
15665 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
15666 has no debug information.
15667
054410c3
DJ
156682007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
15669
15670 * gdb.base/annota1.exp: Remove extra send_gdb.
15671
818f79f6
DJ
156722007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15673
15674 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
15675
f7a6bb70
DJ
156762007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15677
15678 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
15679
57e66780
DJ
156802007-01-08 Nick Roberts <nickrob@snap.net.nz>
15681 Daniel Jacobowitz <dan@codesourcery.com>
15682
15683 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
15684 lcharacter or linteger change. Correct duplicated test name.
15685 * gdb.mi/mi2-var-cmd.exp: Likewise.
15686
3d799a95
DJ
156872007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
15688
15689 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
15690
156912007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 15692
a9c64011
AS
15693 * gdb.base/nofield.c: New file.
15694 * gdb.base/nofield.exp: New testcase.
51679ba9 15695
eafb94e8
NR
156962007-01-05 Nick Roberts <nickrob@snap.net.nz>
15697
15698 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
15699
15700 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
15701 test.
15702
5e572bb4
DJ
157032007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
15704
15705 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
15706
74a44383
DJ
157072007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
15708
15709 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
15710 when continuing.
15711
1b572db9
DJ
157122007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15713
15714 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
15715 Expect ".exe" extension.
15716
381bc39b
DJ
157172007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15718
15719 * gdb.base/charset.exp: Add explicit filename to break.
15720 * gdb.base/dbx.exp: Add explicit filename to breaks.
15721
2b70e4c6
DJ
157222007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15723
15724 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
15725 * gdb.mi/mi2-file.exp: Likewise.
15726
303b6f5d
DJ
157272007-01-04 Vladimir Prus <vladimir@codesourcery.com>
15728
15729 Implement specification of MI tests as comments
15730 in C and C++ sources.
15731 * lib/mi-support.exp (mi_autotest_data): New variable.
15732 (mi_autotest_source): New variable.
15733 (count_newlines, mi_prepare_inline_tests)
15734 (mi_get_inline_test, mi_continue_to_line)
15735 (mi_run_inline_test, mi_tbreak)
15736 (mi_send_resuming_command, mi_wait_for_stop): New functions.
15737 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
15738 Run inline tests.
15739 * gdb.mi/mi-var-cp.cc: Define tests here.
15740
23da0d94
VP
157412007-01-04 Vladimir Prus <vladimir@codesourcery.com>
15742
15743 Simplify usage of mi_continue_to.
15744 * lib/mi-support.exp (mi_runto_helper): Renamed
15745 from mi_runto, added new parameter 'run_or_continue'.
15746 (mi_runto): Use mi_runto_helper.
15747 (mi_continue_to): Accept just function name as parameter.
15748 Use mi_runto_helper.
15749 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
15750 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 15751
f9e18282
JB
157522006-01-04 Joel Brobecker <brobecker@adacore.com>
15753
15754 Make this testcase a bit more realistic. The current code
15755 is too simplistic, and allows the compiler to optimize out
15756 some of the entities we need for this testcase.
15757 * gdb.ada/null_record/bar.ads (Void_Star): New type.
15758 (Do_Nothing): Add extra parameter.
15759 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
15760 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
15761 by using a variable of type Void_Star.
15762
fd678c65
JB
157632006-01-04 Joel Brobecker <brobecker@adacore.com>
15764
15765 * gdb.ada/catch_ex/foo.adb: New file.
15766 * gdb.ada/catch_ex.exp: New testcase.
15767
05cfdb42
DJ
157682007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
15769
15770 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
15771 pass --image-base to linker.
15772
2e03ee74
DJ
157732007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15774 Daniel Jacobowitz <dan@codesourcery.com>
15775
15776 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
15777 secondary prompts.
15778
0d5de010
DJ
157792007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
15780
15781 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
15782 output. Test the types of members and member pointers.
15783 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
15784 gdb/2092.
15785 * gdb.cp/member-ptr.exp: Search for a comment instead of a
15786 statement. Enable for GCC. Update expected output for some tests
15787 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
15788 layout.
15789 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
15790 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
15791 (Diamond::vget_base): New.
15792 (main): Add new tests.
15793 * gdb.cp/printmethod.exp: Update expected output for member functions.
15794 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
15795 print pEe->D::vg().
15796
61a771aa
DJ
157972007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
15798
15799 * gdb.threads/tls.exp: Allow stops in sem_post.
15800
2fa63963
DJ
158012006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
15802
15803 * gdb.base/annota1.exp: Allow .*printf in backtraces.
15804 * gdb.base/annota3.exp: Likewise.
15805 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
15806 again (instead of timing out).
15807 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
15808 GCC bug 26475.
15809 * gdb.java/jmisc.exp: Adjust to work with method signatures including
15810 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
15811 test from jmisc1.exp.
15812 * gdb.java/jmisc1.exp: Delete.
15813 * gdb.java/jprint.exp: Adjust to work with method signatures including
15814 return types.
15815 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
15816 * gdb.threads/linux-dp.exp: Don't be confused by program output.
15817 * lib/java.exp (compile_java_from_source): Pass the correct type
15818 to target_compile.
15819
5eefc2b7
JB
158202006-12-31 Joel Brobecker <brobecker@adacore.com>
15821
15822 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
15823 (stack_align_edx): New function.
15824 (stack_align_eax): New function.
15825 (main): Add calls to stack_align_edx and stack_align_eax.
15826 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
15827 Add testing for the cases where the register used during a stack
15828 realignment is edx. Same for eax.
15829
227c54da
DJ
158302006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
15831
15832 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
15833 and generic PE targets.
15834
cab8ac94
JB
158352006-12-29 Joel Brobecker <brobecker@adacore.com>
15836
15837 * gdb.ada/array_return.exp: Update copyright date list.
15838
ba54f318
JB
158392006-12-27 Joel Brobecker <brobecker@adacore.com>
15840
15841 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
15842 (Create_Small_Float_Vector): New function.
15843 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
15844 function body.
15845 * gdb.ada/array_return/p.adb: Use new type and function from
15846 package Pck.
15847 * gdb.ada/array_return.exp: Add a test verifying that GDB is
15848 able to print the value returned by a function returning an
15849 array of float.
15850
6b7a35dd
JB
158512006-12-20 Joel Brobecker <brobecker@adacore.com>
15852
15853 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
15854 The associated tests should be PASSing.
15855
038224f6
VP
158562006-12-08 Vladimir Prus <vladimir@codesourcery.com>
15857
15858 Test for base in references.
15859 * gdb.mi/mi-var-cp.cc: Add test code.
15860 * gdb.mi/mi-var-cp.exp: Test for bases in references.
15861 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
15862 * gdb.mi/mi2-watch.exp: Likewise.
15863 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
15864 (mi_list_varobj_children): New function.
15865
b26ed50d
VP
158662006-12-08 Vladimir Prus <vladimir@codesourcery.com>
15867
15868 * lib/mi-support.exp
15869 (mi_runto): Accept "()" after function name.
15870 (mi_create_varobj): New function.
15871 (mi_varobj_update): New function.
15872 (mi_Check_varobj_value): New function.
15873 * gdb.mi/mi-var-cp.exp: New file.
15874 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 15875
08232497
DJ
158762006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
15877
15878 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
15879 gdb.base/weaklib2.c: New files.
15880
d394c993 158812006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 15882
ac6c2fba
NS
15883 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
15884 info. Adjust test names.
15885
8ec659a0 15886 * gdb.base/break.c (main): Move position of malloc.
d394c993 15887 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 15888
acd65feb
VP
158892006-11-28 Vladimir Prus <vladimir@codesourcery.com>
15890
15891 * gdb.mi/mi-var-cmd.exp: Check -var-update after
15892 assignement of arrays and function pointers.
15893 * gdb.mi/var-cmd.c: Add declaration necessary for above
15894 tests.
15895
f556d5e5
NS
158962006-11-27 Nathan Sidwell <nathan@codesourcery.com>
15897
15898 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
15899
15900 * gdb.threads/linux-dp.exp: Read thread table before and after
15901 creating each philosopher and verify it.
15902
697bc68d
NS
159032006-11-27 Nathan Sidwell <nathan@codesourcery.com>
15904 Paul Brook <paul@codesourcery.com>
15905 Daniel Jacobowitz <dan@codesourcery.com>
15906
15907 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 15908 main to remove duplication. Add start function of the form
697bc68d
NS
15909 '_*start[1-9]*'. Add RVDS start function.
15910
29d73ae4
DJ
159112006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
15912
15913 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
15914
c1d88655
UW
159152006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15916
15917 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
15918 * gdb.asm/spu.inc: New file.
15919 * gdb.base/term.exp: Disable if [target_info exists noargs].
15920 * gdb.gdb/complaints.exp: Disable if ![isnative].
15921 * gdb.gdb/selftest.exp: Likewise.
15922 * gdb.gdb/observer.exp: Likewise.
15923 * gdb.gdb/xfullpath.exp: Likewise.
15924 * gdb.base/attach.exp: Disable on SPU target.
15925 * gdb.cp/bs145503.exp: Likewise.
15926 * gdb.cp/exception.exp: Likewise.
15927 * gdb.cp/userdef.exp: Likewise.
15928
32a13b1a
DJ
159292006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
15930
15931 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
15932
d8295fe9
VP
159332006-11-10 Vladimir Prus <vladimir@codesourcery.com>
15934
15935 * gdb.base/completion.exp: Fix completion tests for
15936 'info' and 'info '.
15937 * gdb.base/help.exp (help_test_raw, test_class_help)
15938 (test_prefix_command_help): Move...
15939 * lib/gdb.exp: Here.
15940 * gdb.base/main.exp: Adjust.
15941 * gdb.cp/maint.exp: Adjust.
15942 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 15943
8c394015
VP
159442006-11-09 Vladimir Prus <vladimir@codesourcery.com>
15945
15946 * gdb.stabs/weird.exp (print_weird_var): Use
15947 gdb_test_multiple instead of gdb_expect.
15948
027fc1bc
VP
159492006-11-09 Vladimir Prus <vladimir@codesourcery.com>
15950
15951 * gdb.base/help.exp (help_test_raw): New.
15952 (test_class_help): New.
15953 (test_prefix_command_help): New.
15954 Adjust testcases.
15955
67609209
FR
159562006-11-09 Christophe Lyon <christophe.lyon@st.com>
15957
15958 * gdb.base/constvars.c (main): Write to crass and crips, so that
15959 they are allocated by the compiler.
15960
f73adfeb
AS
159612006-10-27 Andreas Schwab <schwab@suse.de>
15962
15963 * gdb.base/multi-forks.exp: Use "detach fork" instead of
15964 "detach-fork".
15965
2f83a18e
DJ
159662006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
15967
15968 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
15969 of patterns.
15970
94277a38
DJ
159712006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
15972
15973 * gdb.base/sepdebug.exp: Remove debug format test.
15974 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
15975 Handle no-symtab.
15976 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
15977
5bd2f6e2
DJ
159782006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
15979
15980 * gdb.threads/manythreads.c (thread_function, main): Don't cast
15981 int to pointer or pointer to int.
15982 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
15983
8c008720
DJ
159842006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
15985
15986 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
15987
9e35dae4
DJ
159882006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15989
15990 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
15991
d9639e13
DJ
159922006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15993
15994 PR c++/2116
15995 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
15996
390a1bd0
JB
159972006-10-06 Joel Brobecker <brobecker@adacore.com>
15998
15999 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
16000 the corresponding bug has been fixed in GDB (PR/2018).
16001
dd920c33
JB
160022006-10-06 Joel Brobecker <brobecker@adacore.com>
16003
16004 * gdb.base/subst.exp: New testcase.
16005
53bbefe9
JB
160062006-10-06 Joel Brobecker <brobecker@adacore.com>
16007
16008 * gdb.ada/array_return/pck.ads: Add copyright notice.
16009 * gdb.ada/array_return/pck.adb: Likewise.
16010 * gdb.ada/array_return/p.adb: Likewise.
16011 * gdb.ada/exec_changed/first.adb: Likewise.
16012 * gdb.ada/exec_changed/second.adb: Likewise.
16013
09851417
JB
160142006-10-06 Joel Brobecker <brobecker@adacore.com>
16015
16016 * gdb.ada/watch_arg/watch.adb: New file.
16017 * gdb.ada/watch_arg.exp: New testcase.
16018
041bf30d
VP
160192006-10-02 Vladimir Prus <vladimir@codesourcery.com>
16020
16021 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 16022 via string_to_regexp.
041bf30d 16023 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 16024
f286fbdd 160252006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
16026
16027 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
16028 Remove unused / obsolete files.
16029
7c07f349
NR
160302006-09-19 Nick Roberts <nickrob@snap.net.nz>
16031
16032 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
16033
cd5ff84a
VP
160342006-09-17 Vladimir Prus <vladimir@codesourcery.com>
16035
16036 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
16037 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 16038 the number of frames.
cd5ff84a 16039
ae018d1a
DJ
160402006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
16041
16042 * gdb.base/args.c (main): Add breakpoint marker.
16043 * gdb.base/args.exp: Use args_test for tests. Add new tests which
16044 really test empty arguments.
16045 (args_load): Delete.
16046 (args_test): New.
16047
b399c549
NR
160482006-09-13 Nick Roberts <nickrob@snap.net.nz>
16049
16050 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 16051 check for one file.
b399c549 16052
2ab1eb7a
VP
160532006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
16054
16055 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
16056 HIGH_FRAME argument to -stack-list-locals can be larger than
16057 the number of frames.
a9c64011 16058
476308bf
FF
160592006-08-18 Fred Fish <fnf@specifix.com>
16060
16061 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
16062 '$' in front of skip_vmx_tests_saved when setting that.
16063
8625200f
AS
160642006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
16065
16066 * gdb.base/trace-commands.exp: New file.
16067
089ec8f1
DJ
160682006-08-10 Joel Brobecker <brobecker@adacore.com>
16069 Daniel Jacobowitz <dan@codesourcery.com>
16070
16071 * gdb.base/step-bt.exp: Make hexadecimal address optional in
16072 expected output of the backtrace commands.
16073
b60f0898
JB
160742006-08-09 Joel Brobecker <brobecker@adacore.com>
16075
16076 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
16077 untested followed by return combination.
16078 * gdb.arch/altivec-regs.exp: Likewise.
16079 * gdb.arch/e500-abi.exp: Likewise.
16080 * gdb.arch/e500-regs.exp: Likewise.
16081 * gdb.arch/gdb1291.exp: Likewise.
16082 * gdb.arch/gdb1431.exp: Likewise.
16083 * gdb.arch/gdb1558.exp: Likewise.
16084 * gdb.arch/i386-prologue.exp: Likewise.
16085 * gdb.arch/i386-unwind.exp: Likewise.
16086 * gdb.asm/asm-source.exp: Likewise.
16087 * gdb.base/a2-run.exp: Likewise.
16088 * gdb.base/advance.exp: Likewise.
16089 * gdb.base/all-bin.exp: Likewise.
16090 * gdb.base/annota1.exp: Likewise.
16091 * gdb.base/annota3.exp: Likewise.
16092 * gdb.base/args.exp: Likewise.
16093 * gdb.base/arithmet.exp: Likewise.
16094 * gdb.base/assign.exp: Likewise.
16095 * gdb.base/async.exp: Likewise.
16096 * gdb.base/attach.exp: Likewise.
16097 * gdb.base/bang.exp: Likewise.
16098 * gdb.base/bigcore.exp: Likewise.
16099 * gdb.base/bitfields.exp: Likewise.
16100 * gdb.base/bitfields2.exp: Likewise.
16101 * gdb.base/break.exp: Likewise.
16102 * gdb.base/call-sc.exp: Likewise.
16103 * gdb.base/call-strs.exp: Likewise.
16104 * gdb.base/callfuncs.exp: Likewise.
16105 * gdb.base/checkpoint.exp: Likewise.
16106 * gdb.base/chng-syms.exp: Likewise.
16107 * gdb.base/code-expr.exp: Likewise.
16108 * gdb.base/commands.exp: Likewise.
16109 * gdb.base/completion.exp: Likewise.
16110 * gdb.base/cond-expr.exp: Likewise.
16111 * gdb.base/condbreak.exp: Likewise.
16112 * gdb.base/consecutive.exp: Likewise.
16113 * gdb.base/constvars.exp: Likewise.
16114 * gdb.base/corefile.exp: Likewise.
16115 * gdb.base/cvexpr.exp: Likewise.
16116 * gdb.base/dbx.exp: Likewise.
16117 * gdb.base/define.exp: Likewise.
16118 * gdb.base/detach.exp: Likewise.
16119 * gdb.base/display.exp: Likewise.
16120 * gdb.base/dump.exp: Likewise.
16121 * gdb.base/ena-dis-br.exp: Likewise.
16122 * gdb.base/ending-run.exp: Likewise.
16123 * gdb.base/environ.exp: Likewise.
16124 * gdb.base/eval-skip.exp: Likewise.
16125 * gdb.base/exprs.exp: Likewise.
16126 * gdb.base/fileio.exp: Likewise.
16127 * gdb.base/finish.exp: Likewise.
16128 * gdb.base/float.exp: Likewise.
16129 * gdb.base/foll-exec.exp: Likewise.
16130 * gdb.base/foll-fork.exp: Likewise.
16131 * gdb.base/foll-vfork.exp: Likewise.
16132 * gdb.base/freebpcmd.exp: Likewise.
16133 * gdb.base/funcargs.exp: Likewise.
16134 * gdb.base/gcore.exp: Likewise.
16135 * gdb.base/gdb1090.exp: Likewise.
16136 * gdb.base/gdb1250.exp: Likewise.
16137 * gdb.base/huge.exp: Likewise.
16138 * gdb.base/info-proc.exp: Likewise.
16139 * gdb.base/interrupt.exp: Likewise.
16140 * gdb.base/jump.exp: Likewise.
16141 * gdb.base/langs.exp: Likewise.
16142 * gdb.base/lineinc.exp: Likewise.
16143 * gdb.base/list.exp: Likewise.
16144 * gdb.base/logical.exp: Likewise.
16145 * gdb.base/long_long.exp: Likewise.
16146 * gdb.base/macscp.exp: Likewise.
16147 * gdb.base/maint.exp: Likewise.
16148 * gdb.base/mips_pro.exp: Likewise.
16149 * gdb.base/miscexprs.exp: Likewise.
16150 * gdb.base/multi-forks.exp: Likewise.
16151 * gdb.base/opaque.exp: Likewise.
16152 * gdb.base/overlays.exp: Likewise.
16153 * gdb.base/pc-fp.exp: Likewise.
16154 * gdb.base/pointers.exp: Likewise.
16155 * gdb.base/printcmds.exp: Likewise.
16156 * gdb.base/psymtab.exp: Likewise.
16157 * gdb.base/ptype.exp: Likewise.
16158 * gdb.base/recurse.exp: Likewise.
16159 * gdb.base/relational.exp: Likewise.
16160 * gdb.base/relocate.exp: Likewise.
16161 * gdb.base/remote.exp: Likewise.
16162 * gdb.base/reread.exp: Likewise.
16163 * gdb.base/restore.exp: Likewise.
16164 * gdb.base/return.exp: Likewise.
16165 * gdb.base/return2.exp: Likewise.
16166 * gdb.base/scope.exp: Likewise.
16167 * gdb.base/sect-cmd.exp: Likewise.
16168 * gdb.base/sep.exp: Likewise.
16169 * gdb.base/sepdebug.exp: Likewise.
16170 * gdb.base/setshow.exp: Likewise.
16171 * gdb.base/setvar.exp: Likewise.
16172 * gdb.base/sigall.exp: Likewise.
16173 * gdb.base/sigbpt.exp: Likewise.
16174 * gdb.base/signals.exp: Likewise.
16175 * gdb.base/signull.exp: Likewise.
16176 * gdb.base/sizeof.exp: Likewise.
16177 * gdb.base/solib.exp: Likewise.
16178 * gdb.base/step-line.exp: Likewise.
16179 * gdb.base/step-test.exp: Likewise.
16180 * gdb.base/structs.exp: Likewise.
16181 * gdb.base/structs2.exp: Likewise.
16182 * gdb.base/term.exp: Likewise.
16183 * gdb.base/twice.exp: Likewise.
16184 * gdb.base/until.exp: Likewise.
16185 * gdb.base/varargs.exp: Likewise.
16186 * gdb.base/volatile.exp: Likewise.
16187 * gdb.base/watchpoint.exp: Likewise.
16188 * gdb.base/whatis-exp.exp: Likewise.
16189 * gdb.base/whatis.exp: Likewise.
16190 * gdb.cp/ambiguous.exp: Likewise.
16191 * gdb.cp/annota2.exp: Likewise.
16192 * gdb.cp/annota3.exp: Likewise.
16193 * gdb.cp/bool.exp: Likewise.
16194 * gdb.cp/breakpoint.exp: Likewise.
16195 * gdb.cp/casts.exp: Likewise.
16196 * gdb.cp/class2.exp: Likewise.
16197 * gdb.cp/classes.exp: Likewise.
16198 * gdb.cp/cplusfuncs.exp: Likewise.
16199 * gdb.cp/ctti.exp: Likewise.
16200 * gdb.cp/derivation.exp: Likewise.
16201 * gdb.cp/exception.exp: Likewise.
16202 * gdb.cp/gdb1355.exp: Likewise.
16203 * gdb.cp/hang.exp: Likewise.
16204 * gdb.cp/inherit.exp: Likewise.
16205 * gdb.cp/local.exp: Likewise.
16206 * gdb.cp/m-data.exp: Likewise.
16207 * gdb.cp/m-static.exp: Likewise.
16208 * gdb.cp/member-ptr.exp: Likewise.
16209 * gdb.cp/method.exp: Likewise.
16210 * gdb.cp/misc.exp: Likewise.
16211 * gdb.cp/namespace.exp: Likewise.
16212 * gdb.cp/overload.exp: Likewise.
16213 * gdb.cp/ovldbreak.exp: Likewise.
16214 * gdb.cp/pr-1023.exp: Likewise.
16215 * gdb.cp/pr-1210.exp: Likewise.
16216 * gdb.cp/pr-574.exp: Likewise.
16217 * gdb.cp/printmethod.exp: Likewise.
16218 * gdb.cp/psmang.exp: Likewise.
16219 * gdb.cp/ref-params.exp: Likewise.
16220 * gdb.cp/ref-types.exp: Likewise.
16221 * gdb.cp/rtti.exp: Likewise.
16222 * gdb.cp/templates.exp: Likewise.
16223 * gdb.cp/try_catch.exp: Likewise.
16224 * gdb.cp/userdef.exp: Likewise.
16225 * gdb.cp/virtfunc.exp: Likewise.
16226 * gdb.disasm/am33.exp: Likewise.
16227 * gdb.disasm/h8300s.exp: Likewise.
16228 * gdb.disasm/mn10300.exp: Likewise.
16229 * gdb.disasm/sh3.exp: Likewise.
16230 * gdb.disasm/t01_mov.exp: Likewise.
16231 * gdb.disasm/t02_mova.exp: Likewise.
16232 * gdb.disasm/t03_add.exp: Likewise.
16233 * gdb.disasm/t04_sub.exp: Likewise.
16234 * gdb.disasm/t05_cmp.exp: Likewise.
16235 * gdb.disasm/t06_ari2.exp: Likewise.
16236 * gdb.disasm/t07_ari3.exp: Likewise.
16237 * gdb.disasm/t08_or.exp: Likewise.
16238 * gdb.disasm/t09_xor.exp: Likewise.
16239 * gdb.disasm/t10_and.exp: Likewise.
16240 * gdb.disasm/t11_logs.exp: Likewise.
16241 * gdb.disasm/t12_bit.exp: Likewise.
16242 * gdb.disasm/t13_otr.exp: Likewise.
16243 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
16244 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
16245 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16246 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
16247 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
16248 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16249 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16250 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16251 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
16252 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
16253 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16254 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16255 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16256 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16257 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16258 * gdb.mi/gdb701.exp: Likewise.
16259 * gdb.mi/gdb792.exp: Likewise.
16260 * gdb.mi/mi-basics.exp: Likewise.
16261 * gdb.mi/mi-break.exp: Likewise.
16262 * gdb.mi/mi-cli.exp: Likewise.
16263 * gdb.mi/mi-console.exp: Likewise.
16264 * gdb.mi/mi-disassemble.exp: Likewise.
16265 * gdb.mi/mi-eval.exp: Likewise.
16266 * gdb.mi/mi-file.exp: Likewise.
16267 * gdb.mi/mi-read-memory.exp: Likewise.
16268 * gdb.mi/mi-regs.exp: Likewise.
16269 * gdb.mi/mi-return.exp: Likewise.
16270 * gdb.mi/mi-simplerun.exp: Likewise.
16271 * gdb.mi/mi-stack.exp: Likewise.
16272 * gdb.mi/mi-stepi.exp: Likewise.
16273 * gdb.mi/mi-syn-frame.exp: Likewise.
16274 * gdb.mi/mi-until.exp: Likewise.
16275 * gdb.mi/mi-var-block.exp: Likewise.
16276 * gdb.mi/mi-var-child.exp: Likewise.
16277 * gdb.mi/mi-var-cmd.exp: Likewise.
16278 * gdb.mi/mi-var-display.exp: Likewise.
16279 * gdb.mi/mi-watch.exp: Likewise.
16280 * gdb.mi/mi2-basics.exp: Likewise.
16281 * gdb.mi/mi2-break.exp: Likewise.
16282 * gdb.mi/mi2-cli.exp: Likewise.
16283 * gdb.mi/mi2-console.exp: Likewise.
16284 * gdb.mi/mi2-disassemble.exp: Likewise.
16285 * gdb.mi/mi2-eval.exp: Likewise.
16286 * gdb.mi/mi2-file.exp: Likewise.
16287 * gdb.mi/mi2-read-memory.exp: Likewise.
16288 * gdb.mi/mi2-regs.exp: Likewise.
16289 * gdb.mi/mi2-return.exp: Likewise.
16290 * gdb.mi/mi2-simplerun.exp: Likewise.
16291 * gdb.mi/mi2-stack.exp: Likewise.
16292 * gdb.mi/mi2-stepi.exp: Likewise.
16293 * gdb.mi/mi2-syn-frame.exp: Likewise.
16294 * gdb.mi/mi2-until.exp: Likewise.
16295 * gdb.mi/mi2-var-block.exp: Likewise.
16296 * gdb.mi/mi2-var-child.exp: Likewise.
16297 * gdb.mi/mi2-var-cmd.exp: Likewise.
16298 * gdb.mi/mi2-var-display.exp: Likewise.
16299 * gdb.mi/mi2-watch.exp: Likewise.
16300 * gdb.stabs/exclfwd.exp: Likewise.
16301 * gdb.stabs/weird.exp: Likewise.
16302 * gdb.threads/gcore-thread.exp: Likewise.
16303 * gdb.trace/actions.exp: Likewise.
16304 * gdb.trace/backtrace.exp: Likewise.
16305 * gdb.trace/circ.exp: Likewise.
16306 * gdb.trace/collection.exp: Likewise.
16307 * gdb.trace/deltrace.exp: Likewise.
16308 * gdb.trace/infotrace.exp: Likewise.
16309 * gdb.trace/limits.exp: Likewise.
16310 * gdb.trace/packetlen.exp: Likewise.
16311 * gdb.trace/passc-dyn.exp: Likewise.
16312 * gdb.trace/passcount.exp: Likewise.
16313 * gdb.trace/report.exp: Likewise.
16314 * gdb.trace/save-trace.exp: Likewise.
16315 * gdb.trace/tfind.exp: Likewise.
16316 * gdb.trace/tracecmd.exp: Likewise.
16317 * gdb.trace/while-dyn.exp: Likewise.
16318 * gdb.trace/while-stepping.exp: Likewise.
16319
f4b618d1
JB
163202006-08-08 Joel Brobecker <brobecker@adacore.com>
16321
16322 * gdb.base/step-bt.c: New file.
16323 * gdb.base/step-bt.exp: New testcase.
16324
3d00d119
DJ
163252006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
16326
16327 * config/monitor.exp (gdb_load): Remove support for obsolete
16328 download-write-size.
16329 * gdb.base/remote.exp: Likewise. Update all callers of
16330 gdb_timed_load.
16331
017b5bd4
DJ
163322006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
16333
16334 * cursal.exp: Pass binfile to gdb_load.
16335
837c599d
DJ
163362006-08-01 Nathan Sidwell <nathan@codesourcery.com>
16337
16338 * gdb.base/cursal.exp: Add "" to gdb_load call.
16339
8dd4540b
MK
163402006-07-29 Mark Kettenis <kettenis@gnu.org>
16341
16342 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
16343 NetBSD/ELF targets.
16344
ab5c9f60
DJ
163452006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
16346
16347 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
16348 operator*.
16349
4c42eaff
DJ
163502006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
16351
16352 * gdb.base/completion.exp: Update for change in "file" behavior.
16353 * gdb.stabs/weird.exp: Likewise.
16354 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
16355 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
16356
0155cc76
NS
163572006-07-24 Nathan Sidwell <nathan@codesourcery.com>
16358
16359 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
16360 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
16361
16026cd7
AS
163622006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
16363
16364 * gdb.base/default.exp: Update source command error message.
16365 * gdb.base/help.exp: Update 'help source' message.
16366
16963cb6
DJ
163672006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
16368
16369 * gdb.cp/bs15503.exp: Update comment for no longer crashing
16370 test.
16371
6d7fd486
AS
163722006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
16373
16374 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
16375
29e8a844
DJ
163762006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16377
16378 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
16379
6afcfa39
DJ
163802006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16381
16382 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
16383
267a692b
MK
163842006-07-17 Mark Kettenis <kettenis@gnu.org>
16385
16386 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
16387 *-*-openbsd* from targets for wich we expect ARM FPA floating
16388 point format.
16389
85d2fec4
NR
163902006-07-17 Nick Roberts <nickrob@snap.net.nz>
16391
16392 * gdb.cp/annota3.exp: Expect frame-begin annotation.
16393
163942006-07-17 Mark Kettenis <kettenis@gnu.org>
16395
16396 * gdb.base/annota3.exp: Expect frame-begin annotation.
16397
85b4c6e8
JB
163982006-07-14 Joel Brobecker <brobecker@adacore.com>
16399
16400 * gdb.base/help.exp: Adjust "help unset" test to accept
16401 any list of unset commands.
16402
fb933624
DJ
164032006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
16404 Daniel Jacobowitz <dan@codesourcery.com>
16405
16406 * gdb.cp/ref-params.exp: New test.
16407 * gdb.cp/ref-params.cc: New source file.
16408 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
16409
1dff4b64
MK
164102006-07-08 Mark Kettenis <kettenis@gnu.org>
16411
16412 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
16413 spaces/tabs in regular expressions since they might not be there.
16414
40d2e0e3
AS
164152006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
16416
16417 * gdb.base/ifelse.exp: New file.
16418
f6c957d2
NS
164192006-07-04 Nathan Sidwell <nathan@codesourcery.com>
16420
16421 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
16422 line.
16423 * gdb.base/huge.exp: Loop over compilation to find a size that
16424 is acceptable.
16425 * gdb.base/remote.exp: Correct expected strings.
16426 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
16427
b9c5a23d
DJ
164282006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16429
16430 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
16431
9af2e58d
DJ
164322006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16433
16434 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
16435 native.
16436
30930ca5
DJ
164372006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16438
16439 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
16440 enable stabs testing.
16441
aa32fa1d
DJ
164422006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16443
bd4a4c80 16444 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
16445 gdb_test_multiple does.
16446
321fef15
DJ
164472006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16448
16449 * Makefile.in (host_alias): Remove.
16450 (target_alias): Use @target_noncanonical@.
16451 (site.exp): Don't set host_alias.
16452 * aclocal.m4: Remove contents. Include acx.m4.
16453 * configure: Regenerated.
16454 * configure.ac: Use ACX_NONCANONICAL_TARGET.
16455
e1c2defa
NS
164562006-06-13 Nathan Sidwell <nathan@codesourcery.com>
16457
e63b55d1
NS
16458 * lib/gdb.exp (gdb_load_cmd): New.
16459
5600ea19
NS
16460 * gdb.base/fileio.c: Add system(NULL) test.
16461 * gdb.base/fileio.exp: Check it.
16462
e1c2defa
NS
16463 * gdb.base/break.c: Add 10a breakpoint at }
16464 * gdb.base/break.exp: Add test for breakpoint at }
16465 * gdb.cp/anon-union.cc: Add code at end of function.
16466 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
16467 * gdb.mi/var-cmd.c: Add code at end of function.
16468 * gdb.mi/mi-var-display.exp: Adjust end of next.
16469 * gdb.mi/mi2-var-display.exp: Likewise.
16470 * gdb.base/fileio.c: Add stop function and insert calls at
16471 stopping places.
16472 * gdb.base/fileio.exp: Breakpoint stop function and remove
16473 explicit line number references.
16474
6c0112ec
JB
164752006-05-19 Joel Brobecker <brobecker@adacore.com>
16476
a9c64011
AS
16477 * gdb.base/del.exp (test_delete_alias): New function.
16478 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 16479
154189a4
FF
164802006-05-18 Fred Fish <fnf@specifix.com>
16481
16482 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
16483 required. Check for spurious output after program exits normally.
16484
582e64c2
FF
164852006-05-17 Fred Fish <fnf@specifix.com>
16486
16487 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
16488 gdb_load, so it works in the simulator.
16489
8ef6493a
FF
164902006-05-11 Fred Fish <fnf@specifix.com>
16491
16492 * gdb.base/bang.exp: Ignore unexpected output between the
16493 "program exited normally" and the gdb prompt, as many other
16494 tests do.
16495
692b141c
MK
164962006-05-07 Mark Kettenis <kettenis@gnu.org>
16497
16498 * gdb.base/help.exp: Make "delete checkpoint" part option for
16499 "help d" and "help delete" tests.
16500
540b8a30
UW
165012006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16502
a9c64011 16503 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
16504 expected output in some mi_gdb_test statements.
16505 * gdb.mi/mi2-basics.exp: Likewise.
16506
9b6462d9
JB
165072006-05-05 Joel Brobecker <brobecker@adacore.com>
16508
16509 * gdb.base/del.c: New file.
16510 * gdb.base/del.exp: New testcase.
16511
954de43b
DM
165122006-05-05 David S. Miller <davem@sunset.davemloft.net>
16513
16514 * gdb.base/break.exp: Do not assume a breakpoint on
16515 main will actually be in $srcfile when optimizing.
1303f75e
DM
16516 * gdb.base/savedregs.exp: Do not require that the dummy
16517 frame location match up to a symbol and source file location.
c3242428
DM
16518 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
16519 will get printed without a mi_cmd_data_list_register_values prefix.
16520 (*-data-list-register-*): Correct regular expressions to expect the new
16521 pseudo d? floating point registers.
16522 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 16523
c7e64c9a
DJ
165242006-05-05 Christophe Lyon <christophe.lyon@st.com>
16525
16526 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
16527 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
16528 is allocated by the compiler.
16529 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
16530 anons, e, anone to force their allocation by the compiler.
16531
165322006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
16533
16534 * gdb.base/help.exp: Update expected text for help d and
16535 help delete.
16536
27ce9a6d
MK
165372006-05-02 Mark Kettenis <kettenis@gnu.org>
16538
16539 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
16540 NetBSD/ELF targets.
16541
8608915f
MK
165422006-04-30 Mark Kettenis <kettenis@gnu.org>
16543
16544 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
16545 single-step breakpoint fails; make this a KFAIL on
16546 sparc*-*-openbsd*.
16547 * gdb.base/siginfo.exp: Likewise.
16548 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16549
b8db102d
MS
165502006-04-26 Michael Snyder <msnyder@redhat.com>
16551
16552 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
16553 which may have to consume output from other forks.
16554 Add tests to make sure that "delete fork" succeeded.
16555
c702009a
MS
165562006-04-20 Michael Snyder <msnyder@redhat.com>
16557
16558 * 2006-03-22 Jim Blandy <jimb@redhat.com>
16559 Add support for the Renesas M32C and M16C.
16560
16561 * gdb.asm/asm-source.exp: Add m32c target.
16562 * gdb.asm/m32c.inc: Support for m32c target.
16563
e28493f2
AS
165642006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
16565
16566 * gdb.base/commands.exp (recursive_source_test): New test.
16567
880da185
DM
165682006-04-04 David S. Miller <davem@sunset.davemloft.net>
16569
16570 * gdb.base/float.exp: Add pattern for sparc targets.
16571
61d9b92f
DJ
165722006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16573
16574 * gdb.base/commands.exp (stray_arg0_test): New test.
16575
bd717df8
PB
165762006-03-30 Paul Brook <paul@codesourcery.com>
16577
16578 * gdb.mi/mi-until.exp: kfail broken until command.
16579 * gdb.mi/mi2-until.exp: Ditto.
16580
ec793d3c
NR
165812006-03-27 Nick Roberts <nickrob@snap.net.nz>
16582
16583 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
16584
831004b7
AO
165852006-03-08 Alexandre Oliva <aoliva@redhat.com>
16586
16587 * gdb.base/prelink.exp: Anchor tested-for regular expression
16588 on gdb prompt.
16589
effe49a0
PB
165902006-03-07 Paul Brook <paul@codesourcery.com>
16591
16592 * gdb.base/assign.exp: Correct fail message.
16593
e5461016
PB
165942006-03-07 Paul Brook <paul@codesourcery.com>
16595
16596 * lib/compiler.c: Extract armcc version number.
16597 * lib/compiler.cc: Ditto.
16598
fc91c6c2
PB
165992006-03-07 Paul Brook <paul@codesourcery.com>
16600
16601 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
16602 additional_flags=-w.
16603 * gdb.arch/altivec-regs.exp: Ditto.
16604 * gdb.arch/e500-abi.exp: Ditto.
16605 * gdb.arch/e500-regs.exp: Ditto.
16606 * gdb.base/all-bin.exp: Ditto.
16607 * gdb.base/annota1.exp: Ditto.
16608 * gdb.base/annota3.exp: Ditto.
16609 * gdb.base/args.exp: Ditto.
16610 * gdb.base/arithmet.exp: Ditto.
16611 * gdb.base/assign.exp: Ditto.
16612 * gdb.base/async.exp: Ditto.
16613 * gdb.base/bang.exp: Ditto.
16614 * gdb.base/break.exp: Ditto.
16615 * gdb.base/call-rt-st.exp: Ditto.
16616 * gdb.base/completion.exp: Ditto.
16617 * gdb.base/cond-expr.exp: Ditto.
16618 * gdb.base/condbreak.exp: Ditto.
16619 * gdb.base/consecutive.exp: Ditto.
16620 * gdb.base/define.exp: Ditto.
16621 * gdb.base/display.exp: Ditto.
16622 * gdb.base/ena-dis-br.exp: Ditto.
16623 * gdb.base/environ.exp: Ditto.
16624 * gdb.base/eval-skip.exp: Ditto.
16625 * gdb.base/info-proc.exp: Ditto.
16626 * gdb.base/jump.exp: Ditto.
16627 * gdb.base/logical.exp: Ditto.
16628 * gdb.base/long_long.exp: Ditto.
16629 * gdb.base/maint.exp: Ditto.
16630 * gdb.base/miscexprs.exp: Ditto.
16631 * gdb.base/pc-fp.exp: Ditto.
16632 * gdb.base/pointers.exp: Ditto.
16633 * gdb.base/relational.exp: Ditto.
16634 * gdb.base/reread.exp: Ditto.
16635 * gdb.base/sect-cmd.exp: Ditto.
16636 * gdb.base/sep.exp: Ditto.
16637 * gdb.base/sepdebug.exp: Ditto.
16638 * gdb.base/until.exp: Ditto.
16639 * gdb.base/whatis-exp.exp: Ditto.
16640 * gdb.cp/annota2.exp: Ditto.
16641 * gdb.cp/annota3.exp: Ditto.
16642 * gdb.trace/actions.exp: Ditto.
16643 * gdb.trace/backtrace.exp: Ditto.
16644 * gdb.trace/circ.exp: Ditto.
16645 * gdb.trace/collection.exp: Ditto.
16646 * gdb.trace/deltrace.exp: Ditto.
16647 * gdb.trace/infotrace.exp: Ditto.
16648 * gdb.trace/limits.exp: Ditto.
16649 * gdb.trace/packetlen.exp: Ditto.
16650 * gdb.trace/passc-dyn.exp: Ditto.
16651 * gdb.trace/passcount.exp: Ditto.
16652 * gdb.trace/report.exp: Ditto.
16653 * gdb.trace/save-trace.exp: Ditto.
16654 * gdb.trace/tfind.exp: Ditto.
16655 * gdb.trace/tracecmd.exp: Ditto.
16656 * gdb.trace/while-dyn.exp: Ditto.
16657 * gdb.trace/while-stepping.exp: Ditto.
16658 * lib/gdb.exp: Ditto.
16659 (gdb_compile): Handle nowarning option.
16660
5f4a23d9
AO
166612006-03-07 Alexandre Oliva <aoliva@redhat.com>
16662
16663 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
16664 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
16665 Rename executable to prelinkt. Don't re-prelink if we didn't
16666 get a core file. Test prelink -u exit status to tell whether
16667 prelinking failed. Use gdb_test_multiple.
16668
9733fc94
DJ
166692006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
16670
16671 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
16672 (do_tests): Call it.
16673
cc10cae3
AO
166742006-02-28 Alexandre Oliva <aoliva@redhat.com>
16675
16676 * gdb.base/prelink.exp: New test.
16677 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
16678
15c46491
WZ
166792006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
16680
16681 * gdb.fortran/derived-type.f90: New file.
16682 * gdb.fortran/derived-type.exp: New testcase.
16683
5c9f7ded
DJ
166842006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
16685
16686 * gdb.base/default.exp: Allow ';' as a directory separator.
16687
5b96932b
AS
166882006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
16689
16690 * gdb.base/help.exp (help add-symbol-file): Update.
16691
1986bccd
AS
166922006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
16693
16694 * gdb.base/help.exp (help load): Update expected results.
16695
a8b7528f
FF
166962006-02-19 Fred Fish <fnf@specifix.com>
16697
16698 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
16699 specifix hex value as part of results.
16700 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 16701
f8261448
FF
167022006-02-16 Fred Fish <fnf@specifix.com>
16703
16704 * gdb.base/whatis.c: Define variables using typedefs char_addr,
16705 ushort_addr, and slong_addr, so the typedefs are not optimized
16706 away.
16707 * gdb.base/whatis.exp: Add tests using type name for struct type,
16708 union type, enum type, and typedef.
a9c64011 16709
31d8bdd2
MK
167102006-02-13 Mark Kettenis <kettenis@gnu.org>
16711
16712 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
16713
34e41e63
JB
167142006-02-13 Jim Blandy <jimb@redhat.com>
16715
16716 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
16717 case where it takes two "next" commands to skip past the init
16718 call.
16719
ac6e4f31
FF
167202006-02-12 Fred Fish <fnf@specifix.com>
16721
16722 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
16723 to handle cases where it takes two "next" commands to skip
16724 past the init call.
16725
2db2d571
JB
167262006-02-07 Joel Brobecker <brobecker@adacore.com>
16727
16728 * gdb.ada/array_return.exp: Mark the last test as expected to fail
16729 on hppa32 targets.
16730
38fcd64c
DJ
167312006-02-06 Vladimir Prus <ghost@cs.msu.su>
16732
16733 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
16734 field.
16735
1315ad46
MK
167362006-01-29 Mark Kettenis <kettenis@gnu.org>
16737
16738 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
16739
5625b943
DJ
167402006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16741
16742 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
16743 files.
16744
80df1bbe
DJ
167452006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16746
16747 * gdb.cp/maint.exp: Set complaints to a positive value.
16748
9078e690
DJ
167492006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
16750
16751 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
16752 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
16753 function name.
16754
9c903399
DJ
167552006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
16756
16757 * gdb.base/checkpoint.c: Update copyright notice. Include
16758 <stdlib.h>.
16759
761ae4d6
JB
167602006-01-04 Jim Blandy <jimb@redhat.com>
16761
16762 * gdb.asm/asm-source.exp: Independently provide default values for
16763 asm-flags and debug-flags. Use 'string equal' to do the
16764 comparison, not the implicit expr's '==' operator. Remove
16765 now-unneeded assignments to asm-flags. In h8300 case, place
16766 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
16767
099ac3dd
MS
167682006-01-04 Michael Snyder <msnyder@redhat.com>
16769
16770 * gdb.base/checkpoint.c: New file.
16771 * gdb.base/checkpoint.exp: New file.
16772 * gdb.base/multi-fork.c: New file.
16773 * gdb.base/multi-fork.exp: New file.
16774 * gdb.base/pi.txt: New file (data for checkpoint.c test).
16775
f4d85314
FF
167762006-01-04 Fred Fish <fnf@specifix.com>
16777
16778 * gdb.base/ptype.c (foo): Add typedef.
16779 (intfoo): Add function.
16780 * gdb.base/ptype1.c: New file.
16781 * gdb.base/ptype.exp: Handle compilation and linking with two
16782 source files. Test that proper type for "foo" is found based
16783 on source context rather than first match found in symtabs.
16784
a1b06f35
MK
167852005-12-28 Mark Kettenis <kettenis@gnu.org>
16786
16787 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
16788 * gdb.asm/openbsd.inc: Indent commands.
16789
d082a1e2
MK
167902005-12-26 Mark Kettenis <kettenis@gnu.org>
16791
c65016bd
MK
16792 * gdb.base/freebpcmd.exp: Increase timeout.
16793
d082a1e2
MK
16794 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
16795
d3c32a0e
DJ
167962005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
16797
16798 * gdb.base/default.exp: Update check for "show version".
16799
9fdb1f50
RC
168002005-12-09 Randolph Chung <tausq@debian.org>
16801
16802 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
16803 * gdb.asm/pa64.inc: New file.
16804
5f2c56f7
RC
168052005-12-09 Randolph Chung <tausq@debian.org>
16806
16807 * gdb.asm/common.inc: Indent commands.
16808 * gdb.asm/asmsrc1.s: Likewise.
16809 * gdb.asm/asmsrc2.s: Likewise.
16810
8117349c
RC
168112005-12-09 Randolph Chung <tausq@debian.org>
16812
16813 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
16814 (get_addr_of_sym): Remove duplicate print.
16815 (gen_core): xfail hppa*-*-hpux*, update expected output.
16816 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
16817 * gdb.arch/pa64-nullify.s: New file.
16818
8f07f25a
RC
168192005-12-09 Randolph Chung <tausq@debian.org>
16820
16821 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
16822
55b39184
DJ
168232005-12-07 Christophe Lyon <christophe.lyon@st.com>
16824
16825 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
16826 code generation for these functions.
16827 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
16828 error message.
16829
31e2b00f
AS
168302005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
16831
16832 * gdb.base/help.exp (help b, help br, help bre, help brea)
16833 (help break): Update the expected message.
16834
c3d0b56e
SC
168352005-11-11 Stephane Carrez <stcarrez@nerim.fr>
16836
16837 * gdb.asm/m68hc11.inc: Setup the data section.
16838 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
16839 script for this test.
16840 (m6812-*-*): Likewise.
16841
36ae0ea9
RC
168422005-11-09 Randolph Chung <tausq@debian.org>
16843
16844 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
16845
9d6f42e9
WZ
168462005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
16847
16848 * gdb.base/break.exp: Fix a comment typo.
16849
e2126a14
EZ
168502005-11-03 Jim Blandy <jimb@redhat.com>
16851
a9c64011
AS
16852 Checked in by Elena Zannoni <ezannoni@redhat.com>
16853
889bf7c5 16854 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 16855
e0ac7199
CV
168562005-11-02 Corinna Vinschen <vinschen@redhat.com>
16857
16858 * gdb.arch/gdb1558.c: Include stdio.h.
16859
31d3fb18
MK
168602005-10-31 Mark Kettenis <kettenis@gnu.org>
16861
16862 * gdb.asm/asm-source.exp: Use -e instead of --entry.
16863
e52b687c
MK
168642005-10-31 Mark Kettenis <kettenis@gnu.org>
16865
16866 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
16867
f4711d79
PG
168682005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
16869
a9c64011
AS
16870 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
16871 vscr" tests to better match output.
f4711d79 16872
987a9106
JB
168732005-10-12 Jim Blandy <jimb@redhat.com>
16874
16875 * gdb.base/structs.exp (any): New function.
16876 (test_struct_returns): Don't make any assumptions at all about
16877 what value the function returns when GDB can't set the return
16878 value.
16879
2336bb58
JB
168802005-10-09 Joel Brobecker <brobecker@adacore.com>
16881
16882 * gdb.ada/arrayidx/p.adb: New file.
16883 * gdb.ada/arrayidx.exp: New testcase
16884
168852005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
16886
16887 * gdb.ada/array_return/pck.ads: New file.
16888 * gdb.ada/array_return/pck.adb: New file.
16889 * gdb.ada/array_return/p.adb: New file.
16890 * gdb.ada/array_return.exp: New testcase.
16891
705335ea
JB
168922005-10-03 Joel Brobecker <brobecker@adacore.com>
16893
a9c64011
AS
16894 * gdb.base/arrayidx.c: New file.
16895 * gdb.base/arrayidx.exp: New testcase.
705335ea 16896
11ee9940
NR
168972005-09-29 Nick Roberts <nickrob@snap.net.nz>
16898
16899 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
16900 frames-invalid and breakpoints-invalid are no longer generated
16901 with level 3 so don't expect them in the output.
16902
39fb8e9e
BR
169032005-09-27 Bob Rossi <bob@brasko.net>
16904
a9c64011 16905 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
16906 from test. Escape the | in mi_gdb_test call.
16907 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
16908 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
16909 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
16910 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
16911 expected regex's in mi_gdb_test calls.
16912 * lib/mi-support.exp: Remove arbitrary .* from tests.
16913 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
16914 Fully anchor GDB/MI expected results in mi_gdb_test.
16915 * lib/gdb.exp (string_to_regexp): Escape the ] character.
16916 * gdb.base/sizeof.exp: Remove escape character. Correct test.
16917
2af48f68
PB
169182005-09-26 Paul Brook <paul@codesourcery.com>
16919
16920 * long_long.exp: Exclude eabi targets from arm FPA float format test.
16921
f34502bc
WZ
169222005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
16923
16924 * bfp-test.c: New file.
16925 * bfp-test.exp: New testcase.
16926
ca929517
WZ
169272005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
16928
16929 * gdb.fortran/subarray.exp: New testcase to test the evaluation
16930 of subarray and substring variable.
16931 * gdb.fortran/subarray.f: New source file for the test of subarray
16932 and substring variable evaluation.
16933 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
16934 of string constant.
16935
c761af65
DJ
169362005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
16937
16938 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
16939 copyright dates.
16940
561d7a1d
PG
169412005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
16942
16943 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
16944 powerpc altivec' test with an almost identical 'info vector' test.
16945
b2b64cc9
PG
169462005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
16947
a9c64011
AS
16948 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
16949 vscr" tests to match output.
b2b64cc9 16950
6ac4d15a
PG
169512005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
16952
a9c64011
AS
16953 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
16954 output.
6ac4d15a 16955
40e55bef
BR
169562005-09-11 Bob Rossi <bob@brasko.net>
16957
889bf7c5
PA
16958 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
16959 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
16960 commands that return an MI output command and an asyncronous MI output
16961 command.
40e55bef
BR
16962 * gdb.mi/mi-console.exp: Ditto.
16963
3c7385ec
BR
169642005-09-11 Bob Rossi <bob@brasko.net>
16965
16966 * gdb.mi/mi-var-child.c: Include <string.h>.
16967
a6cd0eb3
DJ
169682005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
16969
16970 * killed.exp: Correct gdb_expect syntax.
16971
2f168eed
CV
169722005-08-09 Corinna Vinschen <vinschen@redhat.com>
16973
16974 * lib/mi-support.exp (mi_gdb_load): Fix typo.
16975
ecd3fd0f
BR
169762005-08-02 Bob Rossi <bob@brasko.net>
16977
16978 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
16979 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
16980 Change tests to inferior-tty-set/show.
16981 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
16982 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
16983 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
16984 inferior. Use mi_gdb_test to get GDB and Inferior output.
16985 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
16986 descriptor.
16987 (mi_inferior_tty_name): Add inferior PTY file name.
16988 (mi_gdb_start): Add INFERIOR_PTY parameter.
16989 (mi_gdb_test): Add IPATTERN parameter.
16990
f1ea48cb 169912005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 16992
f1ea48cb
BR
16993 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
16994 parameter to mi_gdb_test.
16995 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
16996
6e650a67
DJ
169972005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16998
16999 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
17000 struct_declarations.
17001 * gdb.mi/mi-var-child.exp: Step over the initialization of
17002 struct_declarations.
17003
8be260b6
DJ
170042005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17005
17006 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
17007 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
17008 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
17009 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
17010 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
17011 file.
17012
4e660f07
NR
170132005-07-27 Nick Roberts <nickrob@snap.net.nz>
17014
17015 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
17016 (do_children_tests): Assign values to the extra elements.
17017
17018 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
17019 them for tests for "-var-update --no-values" and
a9c64011 17020 "-var-update --all-values".
4e660f07
NR
17021 Add test for "-var-list-children --simple-values".
17022
17023 * gdb.mi/basics.c (callee4): Add integer array D[3]...
17024
17025 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
17026 "-stack-list-locals --simple-values" Improve doc strings and
17027 comments.
17028
6bdae935
MK
170292005-07-18 Mark Kettenis <kettenis@gnu.org>
17030
598b7a6f
MK
17031 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
17032 *-*-openbsd*.
17033 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
17034
6bdae935
MK
17035 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
17036 sigaltsatck'.
17037
1323e929 170382005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 17039
1323e929
BR
17040 * gdb.base/default.exp (tty): Changed output of command.
17041 * gdb.base/help.exp (help tty): Ditto.
17042
b1a9c082
MK
170432005-07-12 Mark Kettenis <kettenis@gnu.org>
17044
17045 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
17046
10a844a2
MK
170472005-07-10 Mark Kettenis <kettenis@gnu.org>
17048
17049 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
17050 -stack-select-frame without arguments.
17051 (test_stack_frame_listing): Add test for newly implemented command
17052 -stack-info-frame.
17053
3cb3b8df
BR
170542005-07-06 Bob Rossi <bob@brasko.net>
17055
17056 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
17057 command.
17058 (Copyright): Update copyright.
17059
a0c5fbcf
WZ
170602005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
17061
17062 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
17063 tests to evaluate exponentiation expression.
17064
984971d0
AS
170652005-06-29 Andreas Schwab <schwab@suse.de>
17066
17067 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
17068 main to avoid warnings.
17069
17070 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
17071
fe03833f
NR
170722005-06-20 Nick Roberts <nickrob@snap.net.nz>
17073
17074 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
17075 -stack-select-frame without arguments.
17076 (test_stack_frame_listing): Add test for newly implemented command
17077 -stack-info-frame.
a9c64011 17078
7a55f279
WZ
170792005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
17080
0ffa0ea5
DJ
17081 * gdb.fortran/array-element.f: New file.
17082 * gdb.fortran/array-element.exp: New testcase.
7a55f279 17083
26585198
DJ
170842005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17085
17086 * gdb.base/bigcore.exp: Correct checks for systems which can
17087 not dump a large core file.
17088
c1bd25fd
DJ
170892005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17090
17091 * gdb.base/relocate.c: Add a copyright notice.
17092 (dummy): Remove.
17093 * gdb.base/relocate.exp: Test printing the values of variables
17094 from a relocatable file.
17095
589e074d
DJ
170962005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17097
17098 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
17099 excess MI output after an error.
17100
0915f927
JB
171012005-05-29 Joel Brobecker <brobecker@adacore.com>
17102
17103 * gdb.arch/alpha-step.c: New file.
17104 * gdb.arch/alpha-step.exp: New testcase.
17105
76ff342d
DJ
171062005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
17107 Dennis Brueni <dennis@slickedit.com>
17108
17109 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
17110 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
17111 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
17112 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
17113 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17114 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
17115 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
17116
96b0c7ac
DJ
171172005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
17118 Wu Zhou <woodzltc@cn.ibm.com>
17119
17120 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
17121 IBM's xlc compiler.
17122 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
17123 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
17124
f21565d2
JB
171252005-05-13 Jim Blandy <jimb@redhat.com>
17126
17127 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
17128 calling gdb_suppress_entire_file.
17129 * gdb.base/charset.exp: Same.
17130 * gdb.base/call-rt-st.exp: Same.
17131
6006a3a1
BR
171322005-05-05 Bob Rossi <bob_rossi@cox.net>
17133
17134 * lib/gdb.exp (fullname_syntax): Added global regex.
17135 (fullname_syntax_POSIX): Ditto.
17136 (fullname_syntax_UNC): Ditto.
17137 (fullname_syntax_DOS_CASE): Ditto.
17138 (fullname_syntax_DOS): Ditto.
17139 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
17140 fullname_syntax variable to scope and use it.
17141 (test_file_list_exec_source_files): Ditto.
17142 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
17143
c3b69c04
DJ
171442005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
17145
17146 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
17147
3c95e6af
PG
171482004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
17149
a9c64011
AS
17150 * lib/gdb.exp (skip_altivec_tests): New function, based on
17151 check_vmx_hw_available from the GCC testsuite.
17152 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
17153 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 17154
78df6c56
JB
171552005-05-02 Jim Blandy <jimb@redhat.com>
17156
17157 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
17158 calling gdb_suppress_entire_file.
17159
1690f9cf
DJ
171602005-04-30 Randolph Chung <tausq@debian.org>
17161
17162 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
17163 Slightly relax "sem_post" name checking.
17164
5ea106f7
PG
171652005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17166
17167 * gdb.base/unload.exp: Use new shared library infrastructure.
17168
bf7234cf
PG
171692005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17170
17171 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 17172 infrastructure.
bf7234cf 17173
547b869a
CV
171742005-04-29 Corinna Vinschen <vinschen@redhat.com>
17175
17176 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
17177 * gdb.asm/h8300.inc: New file.
17178
f07e55f0
PG
171792005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17180
17181 * gdb.base/shlib-call.exp: Change to use new shared library
17182 infrastructure.
17183
3cbba3d1
PG
171842005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17185
a9c64011
AS
17186 * gdb.base/pending.exp: Change to use new shared library
17187 infrastructure.
3cbba3d1 17188
ed6df200
PG
171892005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17190
a9c64011
AS
17191 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
17192 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 17193
8c8f4ebe
PG
171942005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
17195
a9c64011
AS
17196 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
17197 shared objects being adjusted and update copyright years.
8c8f4ebe 17198
607fbc54
DJ
171992005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
17200
17201 * ChangeLog: Correct some 2003-01-13 dates.
17202 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
17203 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
17204 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
17205 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
17206 gdb.trace/tfind.exp: Update copyright years.
17207
57bf0e56
DJ
172082005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
17209 Daniel Jacobowitz <dan@codesourcery.com>
17210
17211 * lib/gdb.exp (gdb_compile): Handle shlib=.
17212 (gdb_compile_shlib): New function.
17213
9b593790
PG
172142005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
17215
a9c64011 17216 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 17217
9494c6a5
DJ
172182005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17219
17220 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
17221 gdb.server.
17222 * configure.ac: Likewise.
17223 * configure: Regenerated.
17224 * gdb.gdbserver/Makefile.in: Moved to...
17225 * gdb.server/Makefile.in: ... here.
17226 * gdb.gdbserver/server.c: Moved to...
17227 * gdb.server/server.c: ... here.
17228 * gdb.gdbserver/server-run.exp: Moved to...
17229 * gdb.server/server-run.exp: ... here.
17230
6f8eac0e
DJ
172312005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17232
17233 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
17234 * configure.ac: Create gdb.gdbserver/Makefile.
17235 * configure: Regenerated.
17236 * lib/gdbserver-support.exp: New file, derived from
17237 config/gdbserver.exp.
17238 * config/gdbserver.exp: Use gdbserver-support.exp.
17239 * gdb.gdbserver/Makefile.in: New file.
17240 * gdb.gdbserver/server.c: New file.
17241 * gdb.gdbserver/server-run.exp: New file.
17242
6e87504d
PG
172432005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
17244
a9c64011
AS
17245 * lib/gdb.exp (test_compiler_info): Return compiler_info
17246 if no arguments are given.
6e87504d 17247
d1779be4
PG
172482005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
17249
17250 * gdb.arch/altivec-abi.exp: Check for compiler and set
17251 use altivec' flag accordingly.
17252 * gdb.arch/altivec-regs.exp: Likewise.
17253
88750304
DJ
172542005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
17255
17256 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
17257
f3fb768d
AS
172582005-03-27 Andreas Schwab <schwab@suse.de>
17259
17260 * gdb.base/bigcore.c (main): Add missing mode argument in open
17261 call.
17262
7e813ac5
DJ
172632005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
17264
17265 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
17266 downloads.
17267 * config/gdbserver.exp (gdb_load): Likewise.
17268
8e3049aa
PB
172692005-03-14 Paul Brook <paul@codesourcery.com>
17270
17271 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
17272 targets.
17273
a9df7c44
JB
172742005-03-09 Joel Brobecker <brobecker@adacore.com>
17275
17276 * gdb.dwarf2/dup-psym.S: New file.
17277 * gdb.dwarf2/dup-psym.exp: New testcase.
17278
9f0d94e8
JB
172792005-03-09 Joel Brobecker <brobecker@adacore.com>
17280
17281 * gdb.ada/exec_changed/first.adb: New file.
17282 * gdb.ada/exec_changed/second.adb: New file.
17283 * gdb.ada/exec_changed.exp: New testcase.
17284
5f579bc5
NS
172852005-03-08 Nathan Sidwell <nathan@codesourcery.com>
17286
36e9969c
NS
17287 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
17288 (A2): New class.
17289 (main): Test operator+.
17290 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
17291 breakpoint test.
17292
5f579bc5
NS
17293 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
17294 * gdb.base/signull.exp: Disable if gdb,nosignals.
17295 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
17296 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
17297 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
17298 * gdb.mi/mi2-console.exp: Likewise.
17299 * gdb.trace/collection.exp (run_trace_experiment): Consume the
17300 continue output at start.
17301 (gdb_collect_locals_test): Robustify regexp.
17302 * gdb.trace/passc-dyn.exp: Fix comment typo.
17303 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
17304
be46087e
CV
173052005-03-08 Corinna Vinschen <vinschen@redhat.com>
17306
17307 * gdb.asm/asm-source.exp: Add iq2000 case.
17308 * gdb.asm/iq2000.inc: New file.
17309
384e1a61 173102005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 17311
384e1a61
MI
17312 * gdb.base/command.exp: Change hardcoded value to regular expression.
17313 * gdb.base/float.exp: Add powerpc to the list of targets checked.
17314
584b6e9e
DJ
173152005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
17316
17317 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
17318 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
17319 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
17320 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
17321 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
17322
ab5b5d61
MK
173232005-03-05 Mark Kettenis <kettenis@gnu.org>
17324
17325 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
17326 changes.
17327
ae051c1b
PG
173282004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
17329
a9c64011
AS
17330 * lib/compiler.c: Add test for IBM's xlc compiler.
17331 * lib/compiler.cc: Likewise.
ae051c1b 17332
3f0f6ed2
JB
173332004-02-24 Joel Brobecker <brobecker@adacore.com>
17334
17335 * gdb.ada/fixed_points.exp: Create compilation object directory
17336 before running the test.
17337 * gdb.ada/null_record.exp: Likewise.
17338 * gdb.ada/packed_array.exp: Likewise.
17339 * gdb.ada/start.exp: Likewise.
17340
724f452b
JB
173412005-02-15 Joel Brobecker <brobecker@adacore.com>
17342
17343 * gdb.ada/packed_array/pa.adb: New file.
17344 * gdb.ada/packed_array.exp: New testcase.
17345
57f5cdfb 173462005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 17347
1f393151
MK
17348 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
17349 files.
17350
ebdda337
MK
17351 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
17352 on *-*-openbsd*. Correctly match whitespace in regukar
17353 expressions.
17354
cf309262
DJ
173552005-02-10 Daniel Jacobowitz <dan@debian.org>
17356
17357 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
17358 PR exp/1821
17359 * gdb.base/gdb1821.c: New test file.
17360 * gdb.base/gdb1821.exp: New test file.
17361
3be49e7a
JB
173622005-02-09 Joel Brobecker <brobecker@adacore.com>
17363
17364 * gdb.base/start.c: New file.
17365 * gdb.base/start.exp: New testcase.
17366
e292e67d
JB
173672005-02-09 Joel Brobecker <brobecker@adacore.com>
17368
17369 * gdb.ada/start/dummy.adb: New file.
17370 * gdb.ada/start.exp: New testcase.
17371
dbdfa66c
CV
173722005-02-09 Corinna Vinschen <vinschen@redhat.com>
17373
17374 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
17375 for printing symbols and statistics.
17376 Add test for using relative pathnames in "maint print msymbols" test.
17377 Mark "maint info sections DATA" XFAIL on Cygwin.
17378 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
17379 tests.
17380
d7941671
AC
173812005-02-09 Andreas Schwab <schwab@suse.de>
17382
17383 Committed by Andrew Cagney <cagney@gnu.org>
17384 * gdb.base/remotetimeout.exp: New file.
17385
74e5ef44
MK
173862005-02-07 Mark Kettenis <kettenis@gnu.org>
17387
17388 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
17389
464dd14d
JB
173902005-02-03 Joel Brobecker <brobecker@adacore.com>
17391
17392 * gdb.ada/gnat_ada.gpr: New file.
17393 * gdb.ada/gnat_ada.gin: Delete, no longer used.
17394 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
17395 * configure.ac: No longer generate gnat_ada.gpr.
17396 * configure: Regenerate.
17397 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
17398 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
17399 * gdb.ada/null_record/bar.ads: Likewise.
17400 * gdb.ada/null_record/bar.adb: Likewise.
17401 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
17402 * gdb.ada/null_record.exp (testdir): New variable.
17403 (testfile): executable is now in testdir subdirectory.
17404 (srcfile): Use full path to the main compilation unit.
17405 * gdb.ada/fixed_points.exp: Same changes as above.
17406
30d756ae
NR
174072005-02-03 Nick Roberts <nickrob@snap.net.nz>
17408
17409 * gdb.base/interp.exp: New test.
17410
9d799f85
AC
174112005-01-24 Andrew Cagney <cagney@gnu.org>
17412
17413 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
17414
15656118
AC
174152005-01-19 Andrew Cagney <cagney@gnu.org>
17416
a892c31b
AC
17417 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
17418 configure.ac not configure.in.
17419
15656118
AC
17420 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
17421 of powerpc*-*-*.
17422 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 17423 * gdb.base/list.exp (test_list_function)
15656118
AC
17424 (test_list_filename_and_function): Ditto.
17425 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
17426
a7b01baf
AC
174272005-01-16 Andrew Cagney <cagney@gnu.org>
17428
17d92a02
AC
17429 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
17430
a7b01baf
AC
17431 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
17432
bc8332bb
AC
174332005-01-14 Andrew Cagney <cagney@gnu.org>
17434
17435 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
17436 * gdb.mi/mi2-var-cmd.exp: Ditto.
17437
4d074752
CV
174382005-01-10 Corinna Vinschen <vinschen@redhat.com>
17439
17440 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
17441
bec39cab
AC
174422005-01-07 Andrew Cagney <cagney@gnu.org>
17443
17444 * configure.ac: Rename configure.in, require autoconf 2.59.
17445 * configure: Re-generate.
17446 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
17447 * gdb.stabs/configure: Re-generate.
17448 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
17449 * gdb.hp/configure: Re-generate.
17450 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
17451 autoconf 2.59.
17452 * gdb.hp/gdb.objdbg/configure: Re-generate.
17453 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
17454 autoconf 2.59.
17455 * gdb.hp/gdb.defects/configure: Re-generate.
17456 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
17457 autoconf 2.59.
17458 * gdb.hp/gdb.compat/configure: Re-generate.
17459 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
17460 autoconf 2.59.
17461 * gdb.hp/gdb.base-hp/configure: Re-generate.
17462 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
17463 autoconf 2.59.
17464 * gdb.hp/gdb.aCC/configure: Re-generate.
17465
f10b16d4
JB
174662004-12-15 Jim Blandy <jimb@redhat.com>
17467
17468 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
17469 under NPTL when there is debugging info available for libpthread.
17470
fb6e1814
JG
174712004-12-13 Jerome Guitton <guitton@gnat.com>
17472
17473 * gdb.ada/fixed_points.c: New file.
17474 * gdb.ada/fixed_points.exp: New file.
17475
fe46cd3a
RC
174762004-12-03 Randolph Chung <tausq@debian.org>
17477
17478 * gdb.arch/pa-nullify.exp: New file.
17479 * gdb.arch/pa-nullify.s: New file.
17480
8de0841b
RC
174812004-11-30 Randolph Chung <tausq@debian.org>
17482
17483 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
17484 instead of "tbug". Fix regexp to work properly with gdb_test.
17485
c8170782
PH
174862004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
17487
17488 * gdb.base/bitfields2.exp: New test.
17489 * gdb.base/bitfields2.c: New file.
17490
954269c2
RE
174912004-11-28 Richard Earnshaw <rearnsha@arm.com>
17492
17493 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
17494
0107feed
RC
174952004-11-16 Randolph Chung <tausq@debian.org>
17496
17497 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
17498
f073ae8c
DJ
174992004-11-14 Daniel Jacobowitz <dan@debian.org>
17500
17501 * gdb.threads/threadapply.exp: Correct "macro details" test.
17502
19ad59e7
JJ
175032004-11-11 Jeff Johnston <jjohnstn@redhat.com>
17504
17505 * gdb.threads/threadapply.exp: New test.
17506 * gdb.threads/threadapply.c: New file.
17507
9cf0961b
MK
175082004-11-07 Mark Kettenis <kettenis@gnu.org>
17509
17510 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
17511 frames.
17512
c789492a
FL
175132004-11-05 Felix Lee <felix+log1@specifixinc.com>
17514
17515 * gdb.base/cursal.exp: New file.
17516 * gdb.base/cursal.c: New file.
17517
a1e167bb
AC
175182004-11-03 Andrew Cagney <cagney@gnu.org>
17519
17520 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
17521
b7cbf173
MK
175222004-10-30 Mark Kettenis <kettenis@gnu.org>
17523
17524 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
17525 NetBSD/ELF targets.
17526
88f9d34f
JB
175272004-10-29 Joel Brobecker <brobecker@gnat.com>
17528
17529 * gdb.threads/bp_in_thread.c: New file, copied from
17530 pthread_cond_wait.c.
17531 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
17532 file, rather than reusing the .c file from another testcase.
17533
ca7d6a0c
JB
175342004-10-20 Joel Brobecker <brobecker@gnat.com>
17535
17536 * gdb.ada/null_record.exp: Check where we stopped after
17537 sending the start command, instead of where the associated
17538 temporary breakpoint was inserted.
17539
0d863d03
AC
175402004-10-14 Andrew Cagney <cagney@gnu.org>
17541
17542 * gdb.mi/gdb701.c (main): Return 0.
17543
d11e72cb
DJ
175442004-10-13 Daniel Jacobowitz <dan@debian.org>
17545
d40539a4 17546 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 17547
e1923096
JJ
175482004-10-12 Jeff Johnston <jjohnstn@redhat.com>
17549
17550 * gdb.threads/schedlock.c: Add comment markers to use to find
17551 line numbers.
17552 * gdb.threads/schedlock.exp: Adjust regex to handle the new
17553 comments.
17554 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
17555 breakpoint lines.
17556
ec8ba2c9
DJ
175572004-10-12 Daniel Jacobowitz <dan@debian.org>
17558
17559 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
17560
0eb3658b
DJ
175612004-10-12 Daniel Jacobowitz <dan@debian.org>
17562
17563 * configure.in: Add gdb.dwarf2.
17564 * configure: Regenerated.
17565 * Makefile.in: Add gdb.dwarf2.
17566 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
17567 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
17568 gdb.dwarf2/file1.txt: New files.
17569
a271cc33
OF
175702004-10-11 Orjan Friberg <orjanf@axis.com>
17571
a9c64011 17572 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
17573 of "run", since the latter doesn't work with remote targets. Adjust
17574 the breakpoint numbering accordingly.
17575 * gdb.threads/pthread_cond_wait.exp: Ditto.
17576
895ce074
MC
175772004-10-08 Michael Chastain <mec.gnu@mindspring.com>
17578
17579 * gdb.base/overlays.exp: Update copyright years.
17580
6be3092d
KI
175812004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
17582
17583 * gdb.base/overlays.exp: Disable if target is Linux.
17584
e05389b8
FL
175852004-10-06 Felix Lee <felix+log1@specifixinc.com>
17586
17587 * config/gdbserver.exp (gdb_load): Use right filename on remote.
17588
73cb587d
KI
175892004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
17590
17591 * gdb.asm/asm-source.exp: Add m32r-linux target.
17592 * gdb.asm/m32r-linux.inc: New file.
17593
3c0edcdc
AC
175942004-09-24 Andrew Cagney <cagney@redhat.com>
17595 David Anderson <anderson@redhat.com>
17596
17597 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
17598 command fails, assume things will work.
17599 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
17600 (_GNU_SOURCE): Define.
17601 (print_unsigned, print_hex): Change parameter to "long long".
17602 (print_byte_count): New function, use to print byte counts.
17603 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
17604 O_LARGEFILE.
17605 (main): Compute an upper bound on a corefile in max_core_size.
17606 Limit memory chunk size to max_core_size. Limit total memory
17607 allocated to max_core_size.
17608
4bb3667f
AC
176092004-09-23 Andrew Cagney <cagney@gnu.org>
17610
17611 * gdb.base/bigcore.exp: Replace the code that creates a corefile
17612 from a separate process with code that creates a corefile by
17613 making the inferior dump core.
17614
60fe1a51
MK
176152004-09-23 Mark Kettenis <kettenis@gnu.org>
17616
17617 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
17618 block.
17619
8e937346
MC
176202004-09-23 Michael Chastain <mec.gnu@mindspring.com>
17621
17622 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
17623 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
17624 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
17625 Likewise.
17626
7213f6d6
JJ
176272004-09-20 Jeff Johnston <jjohnstn@redhat.com>
17628
17629 * gdb.java/jprint.exp: New test case for java inferior call.
17630 * gdb.java/jprint.java: Ditto.
17631
eac69dca
JB
176322004-09-15 Joel Brobecker <brobecker@gnat.com>
17633
17634 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
17635
22227696
MC
176362004-09-14 Michael Chastain <mec.gnu@mindspring.com>
17637
17638 * gdb.threads/killed.c: Include <stdlib.h>.
17639 * gdb.threads/pthreads.c: Likewise.
17640
7dd403a4
MC
176412004-09-14 Michael Chastain <mec.gnu@mindspring.com>
17642
17643 * gdb.threads/killed.c: Add copyright notice.
17644
33f2d567
JM
176452004-09-10 Jason Molenda (jmolenda@apple.com)
17646
a9c64011
AS
17647 * gdb.base/define.exp: Two new tests to verify zero space chars
17648 after 'if' and 'while' commands in a user-defined command is correctly
17649 parsed.
33f2d567 17650
e05b62ac
AC
176512004-09-08 Andrew Cagney <cagney@gnu.org>
17652
17653 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
17654 delivery test with duplicate at end of file.
17655
9cbe82da
MK
176562004-09-06 Mark Kettenis <kettenis@jive.nl>
17657
17658 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
17659
564803d9
MC
176602004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17661
17662 * config/hppro.exp: Removed.
17663
7c6807ce
MC
176642004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17665
17666 * config/sparclet.exp: Removed.
17667
bf7e26dd
MC
176682004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17669
17670 * config/udi.exp: Removed.
17671
714e341b
MC
176722004-09-02 Michael Chastain <mec.gnu@mindspring.com>
17673
17674 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
17675 of "exp_continue".
17676 (advancei): Likewise.
17677
1236e623
JJ
176782004-09-01 Jeff Johnston <jjohnstn@redhat.com>
17679
17680 * gdb.base/unload.exp: Fix so messages aren't duplicated.
17681
3bdcad15
MI
176822004-09-01 Manoj Iyer <manjo@austin.ibm.com>
17683
228af206 17684 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
17685 to check for nodebug in executable.
17686 * gdb.gdb/observer.exp (setup_test): Likewise.
17687 * gdb.gdb/selftest.exp (test_with_self): Likewise.
17688 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
17689
c72b934c
AC
176902004-09-01 Andrew Cagney <cagney@gnu.org>
17691
17692 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
17693 files.
17694
edd9b715
JJ
176952004-09-01 Jeff Johnston <jjohnstn@redhat.com>
17696
17697 * gdb.base/unload.exp: Fix expected warning message to match
17698 latest format.
17699
fb4ce06b
CV
177002004-09-01 Corinna Vinschen <vinschen@redhat.com>
17701
17702 * gdb.base/call-rt-st.exp: Fix typos.
17703
ce78e7c3
MI
177042004-08-31 Manoj Iyer <manjo@austin.ibm.com>
17705
17706 * gdb.threads/thread_check.exp: New testcase.
17707 * gdb.threads/thread_check.c: New testcase.
17708
2dedb159
AC
177092004-08-31 Andrew Cagney <cagney@gnu.org>
17710
17711 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
17712 (skip_to_handler_entry): New procedures. Test stepping into a
17713 handler when the breakpoint is at the handler's entry point.
17714
68f53502
AC
177152004-08-30 Andrew Cagney <cagney@gnu.org>
17716
17717 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
17718 gdb/1757.
17719
3e3ffd2b
MC
177202004-08-27 Michael Chastain <mec.gnu@mindspring.com>
17721
17722 With code from Manoj Iyer <manjo@austin.ibm.com>:
17723 * lib/gdb.exp (gdb_file_cmd): Return more information in the
17724 return value. Add an arm for "no debugging symbols found".
17725 Change a stray "error" to "perror".
17726 (gdb_run_cmd): Adapt to new return value.
17727 * gdb.base/remote.exp: Adapt to new return value.
17728 * gdb.gdb/complaints.exp: Likewise.
17729 * gdb.gdb/observer.exp: Likewise.
17730 * gdb.gdb/selftest.exp: Likewise.
17731 * gdb.gdb/xfullpath.exp: Likewise.
17732
4b6f5fd2
JB
177332004-08-27 Joel Brobecker <brobecker@gnat.com>
17734
17735 * gdb.threads/bp_in_thread.exp: New testcase.
17736
e5b25496
MC
177372004-08-27 Michael Chastain <mec.gnu@mindspring.com>
17738
17739 Fix PR testsuite/1735.
17740 * gdb.threads/schedlock.c (thread_function): Add a cast
17741 to suppress a gcc warning.
17742 * gdb.threads/thread-specific.c (thread_function): Likewise.
17743
934353d6
MC
177442004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17745
17746 * gdb.base/unload.c: Include <stdlib.h>.
17747
f98a0aef 177482004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 17749
f98a0aef 17750 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
17751 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
17752 synchronized after the "return".
17753
5a2e8882
MC
177542004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17755
17756 * gdb.mi/basics.c: Include <stdio.h>.
17757 * gdb.mi/pthreads.c: Include <stdlib.h>.
17758 * gdb.mi/var-cmd.c: Include <stdlib.h>.
17759
a9640423
MC
177602004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17761
17762 * gdb.threads/schedlock.c: Add copyright notice.
17763
b04e311d
AC
177642004-08-25 Andrew Cagney <cagney@gnu.org>
17765
17766 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
17767 (skip_over_handler, breakpoint_over_hander): New test procedures.
17768 (advance, advancei): Add a proper prefix, do not use
17769 rerun_to_main.
17770 * gdb.base/sigstep.c (main): Change to use an infinite loop.
17771
7c27f15b
MC
177722004-08-24 Michael Chastain <mec.gnu@mindspring.com>
17773
17774 * gdb.mi/basics.c: Add copyright notice.
17775 * gdb.mi/var-cmd.c: Add copyright notice.
17776
fffc87ae
MC
177772004-08-23 Michael Chastain <mec.gnu@mindspring.com>
17778
17779 * lib/gdb.exp: Remove signed_keyword_not_used.
17780 * lib/compiler.c: Likewise.
17781 * lib/compiler.cc: Likewise.
17782
d782e0bf
MC
177832004-08-23 Michael Chastain <mec.gnu@mindspring.com>
17784
17785 * gdb.base/whatis.c: Remove conditional disabling of "signed".
17786 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
17787
96033e83
MC
177882004-08-23 Michael Chastain <mec.gnu@mindspring.com>
17789
17790 * gdb.base/whatis.c: Add copyright notice.
17791
cf38c229
MK
177922004-08-20 Mark Kettenis <kettenis@gnu.org>
17793
17794 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
17795 it to skip the breakpoints encoded in the inline assembly.
17796
f4b49756
MC
177972004-08-20 Michael Chastain <mec.gnu@mindspring.com>
17798
17799 * Makefile.in: Add gdb.fortran.
17800
2f193b69
MC
178012004-08-20 Michael Chastain <mec.gnu@mindspring.com>
17802
17803 * gdb.base/call-sc.exp (test_scalar_returns):
17804 Fix cut-and-paste glitch in "Make fun return now".
17805
89a237cb
MC
178062004-08-17 Michael Chastain <mec.gnu@mindspring.com>
17807
17808 * configure.in: Add gdb.fortran.
17809 * configure: Regenerate.
17810 * gdb.fortran/Makefile.in: New file.
17811 * lib/gdb.exp (skip_fortran_tests): New procedure.
17812
469aff8e
MC
178132004-08-17 Michael Chastain <mec.gnu@mindspring.com>
17814
17815 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
17816 reference to bug-gnu@prep.ai.mit.edu.
17817 * gdb.mi/mi-var-child.exp: Likewise.
17818 * gdb.mi/mi-var-cmd.exp: Likewise.
17819 * gdb.mi/mi-var-display.exp: Likewise.
17820 * gdb.mi/mi2-var-block.exp: Likewise.
17821 * gdb.mi/mi2-var-child.exp: Likewise.
17822 * gdb.mi/mi2-var-cmd.exp: Likewise.
17823 * gdb.mi/mi2-var-display.exp: Likewise.
17824
00b51b9f
MK
178252004-08-15 Mark Kettenis <kettenis@gnu.org>
17826
17827 * gdb.base/unload.c (main): Make local variable msg const.
17828
45f07fef
MC
178292004-08-15 Michael Chastain <mec.gnu@mindspring.com>
17830
17831 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
17832 to bug-gnu@prep.ai.mit.edu.
17833 * gdb.mi/mi-disassemble.exp: Likewise.
17834 * gdb.mi/mi-eval.exp: Likewise.
17835 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
17836 default line number.
17837 * gdb.mi/mi-return.exp: Likewise.
17838 * gdb.mi/mi-simplerun.exp: Likewise.
17839 * gdb.mi/mi-stack.exp: Likewise.
17840 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
17841 number with explicit range test.
17842 * gdb.mi/mi-watch.exp: Likewise.
17843 * gdb.mi/mi2-break.exp: Likewise.
17844 * gdb.mi/mi2-cli.exp: Likewise.
17845 * gdb.mi/mi2-disassemble.exp: Likewise.
17846 * gdb.mi/mi2-eval.exp: Likewise.
17847 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
17848 default line number.
17849 * gdb.mi/mi2-return.exp: Likewise.
17850 * gdb.mi/mi2-simplerun.exp: Likewise.
17851 * gdb.mi/mi2-stack.exp: Likewise.
17852 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
17853 number with explicit range test.
17854 * gdb.mi/mi2-watch.exp: Likewise.
17855
dd8c8ee7
MC
178562004-08-15 Michael Chastain <mec.gnu@mindspring.com>
17857
17858 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
17859 * gdb.cp/m-static.exp: Likewise.
17860 * gdb.cp/rtti.exp: Likewise.
17861
4e838464
MK
178622004-08-14 Mark Kettenis <kettenis@gnu.org>
17863
17864 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
17865
8d8cb839
EZ
178662004-08-14 Eli Zaretskii <eliz@gnu.org>
17867
17868 * ChangeLog: Prefix Local Variables with semi-colons and indent
17869 the reference to older ChangeLog files, to fix fontification in
17870 Emacs.
17871
deea8bb0
MC
178722004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17873
17874 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
17875 * gdb.mi/mi2-break.exp: Likewise.
17876
c3297504
MC
178772004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17878
17879 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
17880
25808999
MC
178812004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17882
17883 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
17884
226a8d71
MC
178852004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17886
17887 * gdb.cp/classes.exp: Remove unused declarations. Just let
17888 test names default instead of providing special names. Remove
17889 extraneous demangler test.
17890
37fdf854
JJ
178912004-08-12 Jeff Johnston <jjohnstn@redhat.com>
17892
17893 * gdb.base/unload.exp: New test for breakpoints in dynamically
17894 loaded libraries.
17895 * gdb.base/unload.c: Ditto.
17896 * gdb.base/unloadshr.c: Ditto.
17897
2d3a7986
MC
178982004-08-12 Michael Chastain <mec.gnu@mindspring.com>
17899
17900 * gdb.cp/classes.exp (test_ptype_class_objects): Call
17901 cp_test_ptype_class.
17902 (test_enums): Likewise.
17903
c72b934c
AC
179042004-08-10 Andrew Cagney <cagney@gnu.org>
17905
17906 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
17907 files.
17908
cc503c8a
AC
179092004-08-10 Andrew Cagney <cagney@gnu.org>
17910
17911 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
17912 init_malloc call.
17913
902f2ccb
MC
179142004-08-10 Michael Chastain <mec.gnu@mindspring.com>
17915
17916 * ChangeLog: Add copyright notice. The notice is copied
17917 from emacs 21.3 top level ChangeLog.
17918
78c90502
MC
179192004-08-09 Michael Chastain <mec.gnu@mindspring.com>
17920
17921 * lib/cp-support.exp: New file.
17922 * lib/cp-support.exp (cp_test_type_class): New function.
17923 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
17924 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
17925 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
17926 cp_test_ptype_class.
17927
88e5ea78
MC
179282004-08-09 Michael Chastain <mec.gnu@mindspring.com>
17929
17930 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
17931 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17932 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
17933 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
17934 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
17935 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
17936 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
17937 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
17938 gdb.mi/mi2-watch.exp: Update copyright years.
17939
6a89fc9c
MK
179402004-08-09 Mark Kettenis <kettenis@gnu.org>
17941
17942 * gdb.base/sigaltstack.exp: Provide proper anchoring.
17943
1482e0de
MC
179442004-08-09 Michael Chastain <mec.gnu@mindspring.com>
17945
17946 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
17947 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
17948 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
17949 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
17950 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
17951 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
17952 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
17953 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
17954 gdb.mi/mi-watch.exp: Update copyright years.
17955
1a5ce3f3
DJ
179562004-08-08 Daniel Jacobowitz <dan@debian.org>
17957
17958 PR gdb/1738
17959 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
17960 from a breakpoint with a pending signal.
17961
04f6ecf2
DJ
179622004-08-08 Daniel Jacobowitz <dan@debian.org>
17963
17964 PR gdb/1736
17965 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
17966 * gdb.base/sigaltstack.exp (finish_test): Consume output until
17967 the prompt.
17968 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
17969
54d90d35
DJ
179702004-08-08 Daniel Jacobowitz <dan@debian.org>
17971
17972 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
17973
d2f6abb0
DJ
179742004-08-08 Daniel Jacobowitz <dan@debian.org>
17975
17976 PR gdb/1736
17977 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
17978 for i?86-*-linux*.
17979
5598c03d
DJ
179802004-08-08 Daniel Jacobowitz <dan@debian.org>
17981
17982 * gdb.arch/i386-prologue.exp: Compile without debug information.
17983
c6fee705
MC
179842004-08-08 Michael Chastain <mec.gnu@mindspring.com>
17985
17986 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
17987 rather than asking gdb to search.
17988
dd90efdb
MC
179892004-08-05 Michael Chastain <mec.gnu@mindspring.com>
17990
17991 * gdb.base/gcore.c: Include <string.h>.
17992
1e84bec1
MC
179932004-08-05 Michael Chastain <mec.gnu@mindspring.com>
17994
17995 * gdb.base/gcore.c: Add copyright notice.
17996
e425eb2b
MC
179972004-08-05 Michael Chastain <mec.gnu@mindspring.com>
17998
17999 * gdb.base/freebpcmd.c: Include <stdio.h>.
18000 * gdb.base/long_long.c: Include <string.h>.
18001 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
18002 * gdb.base/siginfo.c: Include <string.h>.
18003 * gdb.base/sigstep.c: Include <string.h>.
18004
cb9aaed5
MC
180052004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18006
18007 * gdb.base/complex.c: Include <stdlib.h>.
18008
55944f3d
MC
180092004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18010
18011 * gdb.base/complex.c: Add copyright notice.
18012
7b2953d9
MC
180132004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18014
18015 * gdb.base/charset.c: Include <stdlib.h>.
18016
c9133d23
MC
180172004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18018
18019 * gdb.base/auxv.c: Include <stdlib.h>.
18020
0a8490ad
MC
180212004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18022
18023 * gdb.base/auxv.c: Add copyright notice.
18024
3426d5ec
MC
180252004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18026
18027 * gdb.base/coremaker.c: Add copyright notice.
18028 * gdb.base/coremaker2.c: Add copyright notice.
18029
8da195dd
AC
180302004-08-04 Andrew Cagney <cagney@gnu.org>
18031
18032 * gdb.base/store.exp: Update copyright.
18033 (check_set, up_set, check_struct, up_struct): Add a prefix to test
18034 names, do not import gdb_prompt.
18035
8d394f98
AC
180362004-08-01 Andrew Cagney <cagney@gnu.org>
18037
18038 Fix PR testsuite/1729.
18039 * gdb.base/dump.exp: Add test name to callers of capture_value, do
18040 not use capture_value with value 4.
18041 (capture_value): Add optional test name parameter.
18042 (test_reload_saved_value, test_restore_saved_value): Use $msg as
18043 the prefix, pass to capture_value.
18044
b6702b23
MK
180452004-08-01 Mark Kettenis <kettenis@gnu.org>
18046
18047 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
18048 * gdb.arch/i386-prologue.c (standard): New prototype and function.
18049 (main): Call new function.
18050
c203e0ca
MC
180512004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18052
18053 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
18054
a7995a30
MC
180552004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18056
18057 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
18058
9366563b
MC
180592004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18060
b6eeaf26 18061 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
18062 Accept more values of vtbl pointer. Remove some messages
18063 about "obsolete gcc or gdb".
18064
2fc1f950
MC
180652004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18066
18067 * gdb.cp/classes.exp: Accept more varieties of ptype output.
18068
c724d49b
MC
180692004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18070
18071 * gdb.base/asm-source.exp: Properly convert target board
18072 debug flags from gcc format to binutils format.
18073
736b0fce
MK
180742004-07-28 Mark Kettenis <kettenis@gnu.org>
18075
18076 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
18077 gdb1718". PR backtrace/1718 partially fixed.
18078
5633ea5c
JJ
180792004-07-27 Jeff Johnston <jjohnstn@redhat.com>
18080
18081 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
18082
575eebb1
NC
180832004-07-26 Nick Clifton <nickc@redhat.com>
18084
18085 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
18086 good default value for a specific architecture is available then
18087 set it to that value. Otherwise default to the -gstabs switch.
18088 Remove the -g... switches from the asm-flags variable. Allow the
18089 target board info to override the value if it wants to. Pass the
18090 switch on the assembler command line.
18091
62104619
MK
180922004-07-23 Mark Kettenis <kettenis@gnu.org>
18093
18094 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
18095 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
18096 (main): Call new function.
18097
4a1135b8
MC
180982004-07-22 Michael Chastain <mec.gnu@mindspring.com>
18099
18100 Test for PR exp/1715.
18101 * gdb.base/radix.exp: Refactor common procedures. Make all
18102 test names unique. Change XFAIL to KFAIL.
18103
8a12c1f0
MC
181042004-07-20 Michael Chastain <mec.gnu@mindspring.com>
18105
18106 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
18107 * gdb.ada/gnat_ada.gin: ... to here.
18108 * configure.in: Use gnat_ada.gin.
18109 * configure: Regenerate.
18110
23b451cf
AC
181112004-07-20 Andrew Cagney <cagney@gnu.org>
18112
18113 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
18114 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
18115 XFAILs. Clean up test messages and comments. Check backtraces.
18116 Delete re-sync code.
18117
ab618a02
MC
181182004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18119
18120 Fix PR cli/740.
18121 * gdb.base/annota1.exp: Honor gdb,nosignals.
18122 * gdb.base/annota3.exp: Likewise.
18123
46dad340
MC
181242004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18125
18126 * lib/java.exp: Update copyright notice.
18127
756d8c70
AC
181282004-07-19 Andrew Cagney <cagney@gnu.org>
18129
18130 * gdb.base/selftest.exp: Copy file from here ...
18131 * gdb.gdb/selftest.exp: ... to here.
18132
586027e6
AC
181332004-07-16 Andrew Cagney <cagney@redhat.com>
18134
18135 * lib/insight-support.exp: Delete file.
18136 * lib/java.exp (java_init): Fix copyright.
18137
029d2200
AC
181382004-07-16 Andrew Cagney <cagney@gnu.org>
18139
18140 * gdb.base/restore.c: Append "prologue" to comments marking the a
18141 function's prologue.
18142 * gdb.base/restore.exp: Update copyright, re-indent.
18143 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
18144 callerN" prefix where needed. Update patterns that match a
18145 function's prologue.
18146
653b62c5
MC
181472004-07-16 Michael Chastain <mec.gnu@mindspring.com>
18148
18149 * gdb.base/restore.c: Add copyright notice.
18150
f7d690e5
AC
181512004-07-16 Andrew Cagney <cagney@gnu.org>
18152
18153 * gdb.base/logical.exp: Update copyright.
18154 (evaluate): New procedure. Use to re-implement tests using
18155 several tables.
18156
d629a7cb
MH
181572004-07-14 Martin Hunt <hunt@redhat.com>
18158
18159 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
18160 which fixes some problems where init.tcl was not found.
18161
9c7bb332
AC
181622004-07-13 Andrew Cagney <cagney@gnu.org>
18163
6bf46641
AC
18164 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
18165 (check_sizeof, check_valueof): Do not include the output in the
18166 test name. Use gdb_test.
18167 (get_valueof): Use gdb_test_multiple.
18168
c4ffd4c0
AC
18169 * gdb.base/step-test.exp: Update copyright. Use
18170 gdb_test_multiple. Ensure that test names do not include
18171 architecture dependent output.
18172
ab89363a
AC
18173 * gdb.gdb/observer.exp: Update copyright.
18174 (setup_test): Use gdb_test_multiple.
18175 (attach_first_observer, attach_second_observer)
18176 (attach_third_observer, detach_first_observer)
18177 (detach_second_observer, detach_third_observer)
18178 (reset_counters, check_counters): Make $message a prefix.
18179 (test_normal_stop_notifications): Add "args" parameter - a list of
18180 init functions to be called. Make $message a prefix,
18181 (test_observer_normal_stop): Change the message prefixes so that
18182 they are unique, pass the attach / detach procedures to
18183 test_normal_stop_notifications.
18184
ec58997a
AC
18185 * gdb.base/signull.exp (test_segv): Prefix all tests with
18186 "${name}". Clean up test messages.
18187
b475183b
AC
18188 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
18189
9c7bb332
AC
18190 * gdb.base/ena-dis-br.exp: Update copyright.
18191 (break_at): New function. Replace send_gdb with gdb_test,
18192 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
18193 ignore count, not stopped at bpt", with KFAIL.
18194
2dd95497
CV
181952004-07-13 Corinna Vinschen <vinschen@redhat.com>
18196
18197 * gdb.base/attach.exp: Remove cleanupfile handling.
18198
419e626b
AC
181992004-07-12 Andrew Cagney <cagney@gnu.org>
18200
18201 * gdb.base/annota1.exp: Cleanup corefile test name.
18202 * gdb.base/annota3.exp: Ditto.
18203
8b1b3228
AC
182042004-07-12 Andrew Cagney <cagney@gnu.org>
18205
78650829
AC
18206 * gdb.base/signals.exp: Clean up copyright, re-indent.
18207
8b1b3228
AC
18208 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
18209 gdb_test and gdb_test_multiple.
18210
935c2760
JJ
182112004-07-08 Jeff Johnston <jjohnstn@redhat.com>
18212
18213 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 18214 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
18215 provide line number info for first statement in main.
18216
1544280f
AC
182172004-07-08 Andrew Cagney <cagney@gnu.org>
18218
1279f4ff
AC
18219 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
18220
1544280f
AC
18221 * gdb.base/sigbpt.exp: Make the common part of each test name a
18222 prefix instead of suffix.
18223
bcc82369
BR
182242004-07-07 Bob Rossi <bob_rossi@cox.net>
18225
18226 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
18227 test from test_tbreak_creation_and_listing to
18228 test_file_list_exec_source_file
18229 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
18230 Changed name of test from test_tbreak_creation_and_listing to
18231 test_file_list_exec_source_file
18232
23f4b0aa
JJ
182332004-07-07 Jeff Johnston <jjohnstn@redhat.com>
18234
18235 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
18236 the jmisc() constructor instead of <init>.
18237 * gdb.java/jmisc1.exp: Ditto.
18238
56401cd5
AC
182392004-07-07 Andrew Cagney <cagney@gnu.org>
18240
18241 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
18242 corrupting the PC.
18243
44ae2f6a
MC
182442004-07-06 Michael Chastain <mec.gnu@mindspring.com>
18245
18246 * gdb.cp/templates.exp: Accept whitespace change in demangler
18247 output.
18248
45a83408
AC
182492004-07-06 Andrew Cagney <cagney@gnu.org>
18250
18251 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
18252
d205ad70
MC
182532004-07-02 Michael Chastain <mec.gnu@mindspring.com>
18254
18255 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
18256 * lib/compiler.cc: Likewise.
18257
06ea1a61
MC
182582004-06-30 Michael Chastain <mec.gnu@mindspring.com>
18259
18260 * lib/compiler.cc: Work around string preprocessing problem
18261 with old hp c++ compiler.
18262 * lib/compiler.c: Likewise.
18263
daab1251
CV
182642004-06-29 Corinna Vinschen <vinschen@redhat.com>
18265
18266 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
18267 directives to conditionalize symbol prefixing.
18268 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
18269 additional_flags handling. Add underscore prefix for Cygwin.
18270 * gdb.arch/i386-unwind.c: Use preprocessor directives to
18271 conditionalize symbol prefixing.
18272 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
18273 additional_flags handling. Add underscore prefix for Cygwin.
18274
cc984116
CV
182752004-06-29 Corinna Vinschen <vinschen@redhat.com>
18276
18277 * gdb.base/bigcore.exp: Skip test on Cygwin.
18278
c279b077
MC
182792004-06-28 Michael Chastain <mec.gnu@mindspring.com>
18280
18281 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
18282 formats for "info register". Use gdb_test_multiple. Fix
18283 the "invalid register" test.
18284
0e915747
CV
182852004-06-28 Corinna Vinschen <vinschen@redhat.com>
18286
18287 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
18288 PID for Cygwin. Add Cygwin specific strings to check for in some
18289 tests.
18290 (do_attach_tests): Add a test for user interaction when attaching
18291 to a process with no matching symbol table already loaded.
18292
11422c86
AC
182932004-06-26 Andrew Cagney <cagney@gnu.org>
18294
18295 Test PR java/1567 and PR java/1565.
18296 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
18297 * gdb.java/jmisc2.exp: Delete file.
18298
cefbce26
MC
182992004-06-26 Michael Chastain <mec.gnu@mindspring.com>
18300
18301 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
18302
e19f872c
CV
183032004-06-25 Corinna Vinschen <vinschen@redhat.com>
18304
18305 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
18306 attach process.
18307
d931ba3b
MC
183082004-06-23 Michael Chastain <mec.gnu@mindspring.com>
18309
18310 * gdb.cp/pr-1553.exp: Remove.
18311
aef68c48
MC
183122004-06-22 Michael Chastain <mec.gnu@mindspring.com>
18313
18314 * gdb.cp/pr-1553.cc: Remove.
18315 * gdb.cp/pr-1553.exp: Disable this test.
18316
8d5df71a
JB
183172004-06-20 Jim Blandy <jimb@redhat.com>
18318
a9c64011 18319 Fix PR testsuite/1680.
8d5df71a
JB
18320 * gdb.arch/i386-sse.exp: Properly quote curly braces in
18321 regular expressions.
18322
4ac6f39d
MC
183232004-06-19 Michael Chastain <mec.gnu@mindspring.com>
18324
18325 Fix PR testsuite/1679.
18326 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
18327 Issue an UNSUPPORTED result instead.
18328
1b413552
JB
183292004-06-18 Jim Blandy <jimb@redhat.com>
18330
18331 * gdb.base/charset.exp: Only send a control-C if we see a new
18332 prompt and incomplete command.
18333
6daa6ebd
MC
183342004-06-18 Michael Chastain <mec.gnu@mindspring.com>
18335
18336 * gdb.cp/pr-574.cc: Add copyright notice.
18337
51fa4ae0
JB
183382004-06-17 Jim Blandy <jimb@redhat.com>
18339
18340 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
18341 cases where the regexp has no groups; this grabs random text from
18342 the previous test suite, whatever that was.
18343
8fea26c5
MC
183442004-06-17 Michael Chastain <mec.gnu@mindspring.com>
18345
18346 * gdb.cp/printmethod.cc: Add copyright notice.
18347
1e3aeb41
MC
183482004-06-16 Michael Chastain <mec.gnu@mindspring.com>
18349
18350 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
18351
9d9030bc
AC
183522004-06-16 Andrew Cagney <cagney@gnu.org>
18353
18354 * gdb.base/signull.c: Update copyright. Include <string.h>.
18355 (bowler): Replace data_pointer with data_read
18356 and data_write cases. Add code_descriptor case.
18357 (zero, desc): New array and pointer.
18358 (data, code): Change to simple pointers.
18359 * gdb.base/signull.exp: Fix probe pattern matching a function
18360 descriptor SIGSEGV. Replace data_pointer with data_read and
18361 data_write tests.
18362
acd4ad44
AC
183632004-06-16 Andrew Cagney <cagney@gnu.org>
18364
18365 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
18366
08fd625c
MC
183672004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18368
18369 * gdb.base/long_long.c: Add copyright notice.
18370
1903502c
MC
183712004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18372
18373 * gdb.base/long_long.exp: Remove reference to
18374 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
18375 to gdb_breakpoint and gdb_continue_to_breakpoint.
18376
83313cb1
JB
183772004-06-14 Jim Blandy <jimb@redhat.com>
18378
18379 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
18380 endian case.
18381
1bf404ef
AC
183822004-06-14 Andrew Cagney <cagney@gnu.org>
18383
18384 * gdb.base/gcore.exp (capture_command_output): Delete the always
18385 passing tests containing inferior values.
18386 * gdb.base/ending-run.exp: Do not include the breakpoint address
18387 in the test message. Update copyright.
18388 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
18389 size in the test name, use gdb_test_multiple. Update copyright.
18390
ef220b33
MC
183912004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18392
18393 * gdb.cp/ref-types.cc: Add copyright notice.
18394
4f70a4c9
MC
183952004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18396
18397 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
18398 hp_aCC_compiler.
18399 * lib/compiler.cc: Likewise.
18400 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
18401 'set' commands. Log diagnostics for other lines. Set
18402 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
18403
335928ac
MC
184042004-06-13 Michael Chastain <mec.gnu@mindspring.com>
18405
18406 * gdb.cp/try_catch.cc: Add copyright notice.
18407
2efb12e8
MC
184082004-06-12 Michael Chastain <mec.gnu@mindspring.com>
18409
18410 * gdb.cp/userdef.cc: Add copyright notice.
18411
0bbed51a
MC
184122004-06-11 Michael Chastain <mec.gnu@mindspring.com>
18413
18414 * gdb.cp/virtfunc.cc: Add copyright notice.
18415
e12a46c9
RC
184162004-06-11 Randolph Chung <tausq@debian.org>
18417
18418 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
18419 problem.
18420
338e05af
AC
184212004-06-10 Andrew Cagney <cagney@gnu.org>
18422
18423 * lib/compiler.cc, lib/compiler.c: Append either
18424 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
18425 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
18426 instead of gcc-3-3.
18427
dc3f10cb
AC
184282004-06-09 Andrew Cagney <cagney@gnu.org>
18429
b4d946af
AC
18430 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
18431 gdb/1455, bug is specific to "long long" and "double".
a9c64011 18432
dc3f10cb
AC
18433 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
18434 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
18435 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
18436 fixed.
18437
b5c0bfa2
AC
184382004-06-09 Andrew Cagney <cagney@gnu.org>
18439
18440 * gdb.base/structs.exp (test_struct_returns): Replace
18441 "return_value_unknown" and "finish_value_unknown" by
18442 "return_value_known" and "finish_value_known". Instead of
18443 "return_value_unknown" iff "finish_value_unknown", check
18444 "return_value_known" implies "finish_value_known".
18445
caeb605f
MH
184462004-06-08 Martin Hunt <hunt@redhat.com>
18447
18448 * gdb.base/float.exp: Add pattern for mips targets.
18449
c892bb64
RC
184502004-06-08 Randolph Chung <tausq@debian.org>
18451
18452 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
18453 message for unknown architectures more clear.
18454
48306d3e
JB
184552004-06-08 Joel Brobecker <brobecker@gnat.com>
18456
18457 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
18458 start the execution of the program.
18459
83ecb59f
JB
184602004-06-07 Jim Blandy <jimb@redhat.com>
18461
18462 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
18463 * gdb.arch/i386-cpuid.h: New helper file.
18464
55264cb4
RC
184652004-06-07 Randolph Chung <tausq@debian.org>
18466
18467 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
18468 has started.
18469
23cadb28
RM
184702004-06-04 Roland McGrath <roland@redhat.com>
18471
18472 Fix PR gdb/1647.
18473 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
18474 differently to be robust to output buffering differences.
18475
51d01eda
MC
184762004-06-04 Michael Chastain <mec.gnu@mindspring.com>
18477
18478 * gdb.threads/pthreads.exp: Update copyright years.
18479 (check_control_c): Change asynchronous 'after' to synchronous.
18480
f4fc3b93
RM
184812004-06-04 Roland McGrath <roland@redhat.com>
18482
18483 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
18484 next gdb prompt.
18485
4013522b
MC
184862004-06-02 Michael Chastain <mec.gnu@mindspring.com>
18487
18488 Fix PR gdb/1636.
18489 * gdb.threads/manythreads.exp: Change asynchronous 'after'
18490 calls to synchronous.
18491
7a8f1e6b
JB
184922004-05-26 Jim Blandy <jimb@redhat.com>
18493
18494 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
18495
81bb3443
RC
184962004-05-24 Randolph Chung <tausq@debian.org>
18497
18498 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
18499 * gdb.asm/pa.inc: New file.
18500
8f5a3103
MK
185012004-05-22 Mark Kettenis <kettenis@gnu.org>
18502
18503 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
18504
734b8fe8 185052004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 18506 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
18507
18508 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
18509 GDB prompt.
18510
725603e1
UW
185112004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18512
f4fc3b93 18513 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
18514 setjmp/longjmp. Use sigaction instead of signal.
18515
8b923272 185162004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 18517 Michael Snyder <msnyder@redhat.com>
8b923272
JB
18518
18519 * gdb.threads/pthread_cond_wait.c: New file.
18520 * gdb.threads/pthread_cond_wait.exp: New testcase.
18521
8bfabb04
AC
185222004-05-13 Andrew Cagney <cagney@redhat.com>
18523
18524 * gdb.base/signull.exp, gdb.base/signull.c: New files.
18525 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
18526
42edda50
AC
185272004-05-11 Andrew Cagney <cagney@redhat.com>
18528
18529 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
18530 fixed but revealed gdb/1639.
18531
d303a6c7
AC
185322004-05-10 Andrew Cagney <cagney@redhat.com>
18533
18534 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
18535 func1" and "next to 2nd alarm", kernel bug avoided.
18536
bf08c2a1
DJ
185372004-05-10 Daniel Jacobowitz <dan@debian.org>
18538
18539 PR external/1568
18540 * gdb.base/bigcore.exp: Check the size of the dumped core file.
18541 XFAIL if it is smaller than bytes_allocated.
18542 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
18543 (main): Make chunks_allocated unsigned. Correct comment.
18544
c0586a34
JB
185452004-05-07 Joel Brobecker <brobecker@gnat.com>
18546
18547 * gdb.arch/powerpc-aix-prologue.c: New file.
18548 * gdb.arch/powerpc-aix-prologue.exp: New file.
18549
f2785d12
JB
185502004-05-07 Jim Blandy <jimb@redhat.com>
18551
18552 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
18553 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
18554
bd7f6e30
JB
185552004-05-06 Joel Brobecker <brobecker@gnat.com>
18556
18557 * gdb.base/sep.exp: No longer setup_kfail when the program was
18558 built with dwarf2.
18559
0a5e7efe
JI
185602004-05-05 Jim Ingham <jingham@apple.com>
18561
18562 * gdb.base/pending.exp: Make sure pending breakpoints
18563 preserve the ignore count.
f4fc3b93 18564
a8958849
MK
185652004-04-27 Jerome Guitton <guitton@gnat.com>
18566
18567 * i386-prologue.exp: Add testcase for jump instruction as first
18568 instruction of the real code.
18569 * i386-prologue.c (jump_at_beginning): New function.
18570
7e103f5b
MK
185712004-04-28 Mark Kettenis <kettenis@gnu.org>
18572
18573 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
18574 x86_64-*-*.
18575
5d38b224
MK
185762004-04-28 Mark Kettenis <kettenis@gnu.org>
18577
18578 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
18579 i*86-*-*.
18580
0ef32fd9
MK
185812004-04-25 Mark Kettenis <kettenis@gnu.org>
18582
18583 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
18584 expression that checks the return type.
18585
71d7dd7c
AC
185862004-04-23 Andrew Cagney <cagney@redhat.com>
18587
18588 * gdb.base/call-sc.exp: New test of scalar call/return values.
18589 * gdb.base/call-sc.c: Ditto.
18590
1e9f977e
JJ
185912004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18592
18593 * gdb.threads/manythreads.c: Reduce thread stack size.
18594
899d9e3a
JJ
185952004-04-23 Jeff Johnston <jjohnstn@redhat.com>
18596
18597 * gdb.threads/manythreads.c: Add copyright notice.
18598
61bcae62
AC
185992004-04-23 Andrew Cagney <cagney@redhat.com>
18600
18601 * gdb.base/siginfo.exp: Better handle step out of signal.
18602 * gdb.base/sigstep.exp: Ditto.
18603
7339a42e 186042004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 18605 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
18606
18607 * gdb.threads/manythreads.c: New testcase.
18608 * gdb.threads/manythreads.exp: Ditto.
18609
5c98409b
JB
186102004-04-22 Jim Blandy <jimb@redhat.com>
18611
18612 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
18613 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
18614
3b611f1a
MC
186152004-04-21 Michael Chastain <mec.gnu@mindspring.com>
18616
18617 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
18618
f0fd9238
AC
186192004-04-21 Andrew Cagney <cagney@redhat.com>
18620
18621 * gdb.base/sigstep.c: New file.
18622 * gdb.base/sigstep.exp: New file.
18623
90990674
JB
186242004-04-16 Joel Brobecker <brobecker@gnat.com>
18625
18626 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
18627 call to observer_notify_normal_stop.
18628
78cef34b
AC
186292004-04-15 Andrew Cagney <cagney@redhat.com>
18630
18631 * gdb.base/siginfo.c: New file.
18632 * gdb.base/siginfo.exp: New file.
18633
d2343407
JB
186342004-04-12 J. Brobecker <brobecker@gnat.com>
18635
18636 * gdb.base/sep.exp: Fix typo in comment.
18637
a2dba3c8
JB
186382004-04-12 J. Brobecker <brobecker@gnat.com>
18639
18640 * gdb.base/sep.c: New file.
18641 * gdb.base/sep-proc.c: New file.
18642 * gdb.base/sep.exp: New testcase.
18643
15f7b60e
MK
186442004-04-09 Mark Kettenis <kettenis@gnu.org>
18645
18646 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
18647 support.
18648
44f4de1a
AC
186492004-04-05 Andrew Cagney <cagney@redhat.com>
18650
18651 * gdb.base/sigaltstack.c: New file.
18652 * gdb.base/sigaltstack.exp: New file.
18653
ef04f396
JB
186542004-04-04 Joel Brobecker <brobecker@gnat.com>
18655
18656 * gdb.base/foll-fork.exp: Update the expected output for
18657 "help set follow-fork-mode", to match a change that was made
18658 to the help of this variable on 2004-01-13.
18659
d40d2c92
JB
186602004-04-01 Joel Brobecker <brobecker@gnat.com>
18661
18662 * lib/ada.exp: Add copyright notice.
18663 * bar.ads: Likewise.
18664 * bar.adb: Likewise.
18665 * null_record.adb: Likewise.
18666 * null_record.exp: Likewise.
18667 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
18668
f86ef5a3
JB
186692004-04-01 Joel Brobecker <brobecker@gnat.com>
18670
18671 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
18672 * configure: Regenerate.
18673
414e70e3
JB
186742004-04-01 Joel Brobecker <brobecker@gnat.com>
18675
18676 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
18677 to build the application. Remove the message printed when in
18678 verbose mode, redundant with the UNSUPPORTED message above.
18679
f0aaee49
JB
186802004-03-31 Joel Brobecker <brobecker@gnat.com>
18681
18682 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
18683 * gdb.ada (null_record.exp): New testcase.
18684
ac81cb54
JB
186852004-03-31 Joel Brobecker <brobecker@gnat.com>
18686
18687 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
18688
854af2f7
JB
186892004-03-31 Joel Brobecker <brobecker@gnat.com>
18690
18691 * gdb.ada: New subdirectory.
18692 * gdb.ada/Makefile.in: New file.
18693 * gdb.ada/gnat_ada.gpr.in: New file.
18694
034cb681
JB
186952004-03-31 Joel Brobecker <brobecker@gnat.com>
18696
18697 * lib/ada.exp: New file.
18698
78a1a894
DJ
186992004-03-24 Daniel Jacobowitz <drow@mvista.com>
18700
18701 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
18702 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
18703
4b2b3b3e
AC
187042004-03-22 Andrew Cagney <cagney@redhat.com>
18705
18706 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
18707 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
18708 Problem identified by Ulrich Weigand.
18709
23c73aa3
DC
187102004-03-17 David Carlton <carlton@kealia.com>
18711
18712 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
18713 PR c++/826.
18714
d63a86f8
RM
187152004-03-16 Roland McGrath <roland@redhat.com>
18716
18717 * gdb.base/auxv.exp: New file.
18718 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
18719
0e02aa50
DC
187202004-03-12 David Carlton <carlton@kealia.com>
18721
18722 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
18723 * gdb.cp/pr-1553.cc: Ditto.
18724 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
18725 pass branch.
18726
c20b71be
MC
187272004-03-12 Michael Chastain <mec.gnu@mindspring.com>
18728
18729 * gdb.cp/templates.exp: Accept more template types.
18730
c7414a01
MC
187312004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18732
18733 From Corinna Vinschen with modifications.
18734 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
18735 local variable obj_with_enum.
18736 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
18737 results with obj_with_enum.
18738
ed69573c
MC
187392004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18740
18741 * gdb.cp/classes.cc: New file, copied from misc.cc.
18742 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
18743
28301461
MC
187442004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18745
18746 * gdb.cp/misc.cc: Add copyright notice.
18747
1198ecbe
DC
187482004-03-05 David Carlton <carlton@kealia.com>
18749
18750 * gdb.cp/rtti.exp: Add 'print *obj3' test.
18751 * gdb.cp/rtti.h: Update copyright.
18752 (namespace n2::n3): New.
18753 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
18754 (n2::n3::func3): New.
18755 (main): Call n2::n3::func3.
18756 * gdb.cp/rtti2.cc: Update copyright.
18757 (n2::create3): New.
18758
9e08c470
MK
187592004-03-04 Mark Kettenis <kettenis@gnu.org>
18760
18761 * gdb.asm/openbsd.inc: Fix typo.
18762
4bebc3aa
FF
187632004-03-03 Fred Fish <fnf@redhat.com>
18764
18765 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
18766 "val" instead of unused "size". Update copyright year.
18767
6ea9fb37
DJ
187682004-02-29 Daniel Jacobowitz <drow@mvista.com>
18769
18770 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
18771 to use unsigned char.
18772 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
18773 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
18774
23b23974
DJ
187752004-02-29 Daniel Jacobowitz <drow@mvista.com>
18776
18777 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
18778 line of output.
18779
7574fd53
DJ
187802004-02-28 Daniel Jacobowitz <drow@mvista.com>
18781
18782 * gdb.base/relocate.c (dummy): Initialize.
18783
a195357f
DJ
187842004-02-28 Daniel Jacobowitz <drow@mvista.com>
18785
18786 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
18787 a breakpoint at exit.
18788
72fd54a9
FF
187892004-02-27 Fred Fish <fnf@redhat.com>
18790
18791 * gdb.base/chng-syms.exp: Add expect condition to match failing
18792 case that isn't a timeout.
18793
b9d23137
AC
187942004-02-27 Andrew Cagney <cagney@redhat.com>
18795
18796 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
18797 support.
18798
15d208f6 187992004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 18800
15d208f6
FF
18801 * gdb.arch/gdb1431.c: Remove.
18802 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
18803 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
18804 of "until" incorrectly.
18805
98f9cd2d
JB
188062004-02-26 J. Brobecker <brobecker@gnat.com>
18807
18808 * gdb.cp/class2.cc (empty): New class.
18809 (refer): New function.
18810 (main): Declare an object of type empty and use it.
18811 * gdb.cp/class2.exp: Print the value of an object of type empty.
18812
9b50c11b
JJ
188132004-02-26 Jeff Johnston <jjohnstn@redhat.com>
18814
18815 * gdb.base/langs.exp: Update query string to match the
18816 new nquery format used for pending breakpoints.
18817
0dcd613f
AC
188182004-02-26 Andrew Cagney <cagney@redhat.com>
18819
18820 Fix PR i18n/1570.
18821 * gdb.base/charset.c: Update copyright notice.
18822 (main, init_string): Remove the escape character '\e' tests.
18823 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
18824 * gdb.base/charset.exp (valid_host_charset): Ditto.
18825 * gdb.base/setvar.exp: Ditto.
18826
b8a56647
AC
188272004-02-24 Andrew Cagney <cagney@redhat.com>
18828
90d59e34
AC
18829 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
18830 mmapped data in core file" PASS and FAIL messages consistent.
18831
b8a56647
AC
18832 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
18833 setting a breakpoint. Work around PR java/1565.
18834
9f27c604
JJ
188352004-02-23 Jeff Johnston <jjohnstn@redhat.com>
18836
18837 * lib/gdb.exp (gdb_breakpoint): Update query string to match
18838 new nquery format.
18839 * gdb.base/pending.exp: Ditto.
18840
3224a706
MK
188412004-02-22 Mark Kettenis <kettenis@gnu.org>
18842
18843 * configure.in: Run stabs tests on *BSD.
18844 * configure: Regenerated.
18845
41e0a9ca
MK
188462004-02-21 Mark Kettenis <kettenis@gnu.org>
18847
18848 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
18849
1e1b3428
FF
188502004-02-20 Fred Fish <fnf@redhat.com>
18851
18852 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
18853 blank in test for "returns short", for consistency with other
18854 "returns xxx" tests. Update copyright year.
18855
f9a7572a
FF
188562004-02-19 Fred Fish <fnf@redhat.com>
18857
18858 New testcase for PR breakpoint/1558.
18859 * gdb.arch/gdb1558.exp: New file.
18860 * gdb.arch/gdb1558.c: New file.
18861
b2ce2854
EZ
188622004-02-19 Elena Zannoni <ezannoni@redhat.com>
18863
18864 * gdb.base/nodebug.exp: Fix typo.
18865
e7c9ff01
JB
188662004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18867
18868 Committed by Jim Blandy <jimb@redhat.com>.
18869
62f4b920
JB
18870 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
18871
2db536a1
JB
18872 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
18873
e7c9ff01
JB
18874 * gdb.base/float.exp: Support s390*-*-* targets.
18875
f3205b34
AF
188762004-02-17 Adam Fedor <fedor@gnu.org>
18877
18878 * gdb.base/gdb1555.exp: New file.
18879 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
18880
9d62932d
EZ
188812004-02-17 Elena Zannoni <ezannoni@redhat.com>
18882
18883 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
18884
344c9711
FF
188852004-02-16 Fred Fish <fnf@redhat.com>
18886
18887 * gdb.arch/gdb1291.c: Remove
18888 * gdb.arch/gdb1291.s: New test input file.
18889 * gdb.arch/gdb1291.exp: Expand test to check case that should not
18890 fail. Test for correct result, known incorrect result, other
18891 failures and timeouts.
18892
2d822687
AC
188932004-02-16 Andrew Cagney <cagney@redhat.com>
18894
18895 * gdb.base/bigcore.exp: New file.
18896 * gdb.base/bigcore.c: New file.
18897
dac15b66
AC
188982004-02-13 Andrew Cagney <cagney@redhat.com>
18899
18900 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
18901 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
18902 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
18903 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
18904 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
18905 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
18906 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
18907 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
18908 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
18909 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
18910
6bdfc2c4
JJ
189112004-02-11 Jeff Johnston <jjohnstn@redhat.com>
18912
18913 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
18914 executed is an alloc instruction.
18915
87b3ede8
DC
189162004-02-11 David Carlton <carlton@kealia.com>
18917
18918 * gdb.cp/breakpoint.exp: New.
18919 * gdb.cp/breakpoint.cc: New.
18920
6e19e2bf
MC
189212004-02-11 Michael Chastain <mec.gnu@mindspring.com>
18922
18923 Partial fix for PR gdb/1543.
18924 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
18925 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
18926 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
18927 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
18928 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
18929 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
18930 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
18931 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
18932 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
18933 to bug-gdb@prep.ai.mit.edu .
18934 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
18935 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
18936 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
18937 Likewise.
18938
5c5455dc
AC
189392004-02-10 Andrew Cagney <cagney@redhat.com>
18940
18941 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
18942 using gdb_internal_error_resync.
18943
9cf689d7
DJ
189442004-02-09 Daniel Jacobowitz <drow@mvista.com>
18945
18946 * gdb.threads/thread-specific.exp: Stop early if no threads are
18947 found.
18948
d2dc51db
MC
189492004-02-09 Michael Chastain <mec.gnu@mindspring.com>
18950
18951 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
18952
14b1a056
DJ
189532004-02-08 Daniel Jacobowitz <drow@mvista.com>
18954
18955 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
18956 breakpoints.
18957
83f66e8f
DJ
189582004-02-07 Daniel Jacobowitz <drow@mvista.com>
18959
18960 * config/sim.exp (gdb_load): Handle $arg == "".
18961 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
18962 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
18963
30fc0091
EZ
189642004-02-07 Elena Zannoni <ezannoni@redhat.com>
18965
a9c64011
AS
18966 * gdb.base/maint.exp: Update test to reflect
18967 obstack changes.
30fc0091 18968
4d806929
JJ
189692004-02-04 Jeff Johnston <jjohnstn@redhat.com>
18970
18971 * gdb.base/pendshr.c (pendfunc): New function that calls
18972 pendfunc1.
18973 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
18974
7bfdd688
FF
189752004-02-04 Fred Fish <fnf@redhat.com>
18976
18977 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
18978 function symbols and update copyright years.
18979 * gdb.arch/gdb1291.c: Ditto.
18980
aaa08ee4
MC
189812004-02-03 Michael Chastain <mec.gnu@mindspring.com>
18982
18983 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
18984
dbad7755
MC
189852004-02-03 Michael Chastain <mec.gnu@mindspring.com>
18986
18987 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
18988
ec4646ef
MC
189892004-02-03 Michael Chastain <mec.gnu@mindspring.com>
18990
18991 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
18992
1b802196
FF
189932004-02-02 Fred Fish <fnf@redhat.com>
18994
18995 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
18996 remote targets. Update copyright years.
18997
18fe2033
JJ
189982004-02-02 Jeff Johnston <jjohnstn@redhat.com>
18999
19000 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
19001 support.
19002 * gdb.base/langs.exp: Fix test which attempts to create
19003 breakpoint on non-existent function to handle new pending
19004 support.
19005 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
19006 a breakpoint.
19007 * gdb.base/pending.exp: New test.
19008 * gdb.base/pending.c: New file.
19009 * gdb.base/pendshr.c: Ditto.
19010
8d577d32
DC
190112004-02-02 David Carlton <carlton@kealia.com>
19012
19013 * gdb.cp/overload.exp: Add overloadNamespace tests.
19014 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
19015 (overloadNamespace, XXX): New.
19016 (main): Call XXX::marker2.
19017
3ad13771
FF
190182004-02-01 Fred Fish <fnf@redhat.com>
19019
19020 * gdb.base/dump.exp: Use runto_main instead of "runto main".
19021 * gdb.base/finish.exp: Ditto.
19022 * gdb.base/gcore.exp: Ditto.
19023 * gdb.base/huge.exp: Ditto.
19024 * gdb.base/info-proc.exp: Ditto.
19025 * gdb.base/return2.exp: Ditto.
19026 * gdb.threads/gcore-thread.exp: Ditto.
19027
44c75849
DJ
190282004-02-01 Daniel Jacobowitz <drow@mvista.com>
19029
19030 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
19031
005bc093
MK
190322004-02-01 Mark Kettenis <kettenis@gnu.org>
19033
19034 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
19035 that opening the file succeeds on OpenBSD.
19036
c47cebdb
DJ
190372004-02-01 Daniel Jacobowitz <drow@mvista.com>
19038
19039 * gdb.threads/thread-specific.c: New file.
19040 * gdb.threads/threads-specific.exp: New test script.
19041 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
19042 to expect_out.
19043
5a01311c
MK
190442004-02-01 Mark Kettenis <kettenis@gnu.org>
19045
19046 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
19047 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
19048 only on the "print_small_structs from print_long_arg_list" test.
19049
ce22a4f1
DJ
190502004-02-01 Daniel Jacobowitz <drow@mvista.com>
19051
19052 * gdb.base/completion.exp: Kill a stray backslash.
19053
19054 From Jim Ingham <jingham@apple.com>:
19055 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
19056 agrees with the result from sending a tab.
19057
abbab9d3
DJ
190582004-01-31 Daniel Jacobowitz <drow@mvista.com>
19059
19060 * gdb.base/chng-syms.exp: Remove stray newline.
19061
53904d1e
MK
190622004-01-31 Mark Kettenis <kettenis@gnu.org>
19063
19064 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
19065 *-*-openbsd*.
19066 * gdb.asm/openbsd.inc: New file.
19067
3a4b3aac
MK
190682004-01-30 Mark Kettenis <kettenis@gnu.org>
19069
19070 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
19071 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
19072 *-*solaris2*. Remove commented out default settings for
19073 asm-flags. Replace gdb_compile with target_link.
19074
ebac27b4
MC
190752004-01-29 Michael Chastain <mec.gnu@mindspring.com>
19076
19077 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
19078 for all tests. Remove old hp-ux and cygnus xfail cases.
19079
d8679d84
PH
190802004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
19081
19082 * gdb.base/chng-syms.exp: New file.
19083 * gdb.base/chng-syms.c: New file.
19084
0a55bc22
MC
190852004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19086
19087 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
19088 Provide arms for current output in all my configurations.
19089
94b8e876
MC
190902004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19091
19092 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
19093 * lib/compiler.cc: Likewise.
19094 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
19095 get the right preprocessor. Eval the output directly. Remove
19096 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
19097 hp_f77_compiler and hp_f90_compiler completely.
19098 (gdb_preprocess): Delete.
19099 (get_compiler): Delete.
19100
7cf03d44
MK
191012004-01-24 Mark Kettenis <kettenis@gnu.org>
19102
19103 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
19104 <string.h>.
19105
68b6dce9
NR
191062004-01-24 Nick Roberts <nick@nick.uklinux.net>
19107
19108 * gdb.mi/mi-stack.exp: Update copyright.
19109
b368761e
DC
191102004-01-23 David Carlton <carlton@kealia.com>
19111
19112 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
19113 test for cp_lookup_transparent_type.
19114 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
19115 call them.
19116
f2061b53
DJ
191172004-01-23 Daniel Jacobowitz <drow@mvista.com>
19118
19119 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
19120 after -var-update.
19121
37fc574a
DC
191222004-01-23 David Carlton <carlton@kealia.com>
19123
19124 * gdb.cp/namespace.cc (C::ensureRefs): New.
19125 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
19126
8e94b928
NR
191272004-01-20 Nick Roberts <nick@nick.uklinux.net>
19128
19129 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
19130 case "-stack-list-locals 2".
19131 * gdb.mi/mi-var-child.exp: Test for case
19132 "-var-list-children --all-values NAME".
19133
997b0952
MC
191342004-01-18 Michael Chastain <mec.gnu@mindspring.com>
19135
19136 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
19137
52470da3
MK
191382004-01-18 Mark Kettenis <kettenis@gnu.org>
19139
7049b4b8
MK
19140 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
19141 used with gdb_test_multiple.
19142
52470da3
MK
19143 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
19144 read at address 0. This fixes PR testsuite/1504.
19145
da6012e5
DJ
191462004-01-18 Daniel Jacobowitz <drow@mvista.com>
19147
19148 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
19149 Remove downloading, guessing the host executable, the calls to
19150 gdb_file_cmd and gdb_target_cmd, and "load" support.
19151 (infer_host_exec): New function broken out from gdb_load.
19152 (gdb_load): New wrapper for gdbserver_gdb_load.
19153 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
19154 gdb_target_cmd. Use -target-select.
19155 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
19156 Download binaries to the host. Clear last_mi_remote_file when
19157 we load a new binary.
19158 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
19159 call gdbserver_gdb_load and mi_gdb_target_cmd.
19160
32c70722
MC
191612004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19162
19163 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
19164 type patterns.
19165
b0cecf36
MC
191662004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19167
19168 * gdb.cp/templates.exp: Fix typo in test name of
19169 "print Foo<volatile char*>::foo".
19170
4120d7e6
MC
191712004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19172
19173 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
19174
f679e530
BE
191752004-01-16 Ben Elliston <bje@wasabisystems.com>
19176
19177 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
19178 (clean mostlyclean): Remove empty rm.
19179
091c48f6
MC
191802004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19181
19182 * gdb.base/setvar.exp: Add copyright years.
19183
3e5fc8d2
DC
191842004-01-14 David Carlton <carlton@bactrian.org>
19185
19186 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
19187 PR c++/1511 and update coment.
19188 * gdb.cp/templates.exp: Update patterns to match current output.
19189 If changes involve something other than whitespace, KFAIL
19190 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
19191
63d06c5c
DC
191922004-01-14 David Carlton <carlton@kealia.com>
19193
19194 * gdb.cp/namespace.exp: Add tests involving classes defined within
19195 namespaces.
19196 * gdb.cp/namespace.cc (C::CClass): New.
19197 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
19198
a51dab88
EZ
191992004-01-14 Elena Zannoni <ezannoni@redhat.com>
19200
19201 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
19202 what debug info we have. Print a better message if something goes
19203 wrong while producing the separate debug info file.
19204
a476ccc9
MC
192052004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19206
19207 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
19208
f453692c
MC
192092004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19210
19211 * gdb.base/callfuncs.c: Add copyright notice.
19212
f40063a5
MC
192132004-01-13 Michael Chastain <mec.gnu@mindspring.com>
19214
19215 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
19216 inheritance. PR gdb/1498, PR gcc/13539.
19217
19ac3974
EZ
192182004-01-13 Elena Zannoni <ezannoni@redhat.com>
19219
a9c64011
AS
19220 * gdb.threads/gcore-thread.exp: Prefix name of binary with
19221 test specific name.
19222 * gdb.mi/gdb669.exp: Ditto.
19223 * gdb.mi/mi-pthreads.exp: Ditto.
19224 * gdb.mi/mi1-pthreads.exp: Ditto.
19225 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 19226
56c97c6e
MC
192272004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19228
19229 * gdb.cp/member-ptr.cc: Add copyright notice.
19230
a0644324
MC
192312004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19232
19233 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
19234 some patterns for recent versions of gcc and hpacc. Delete
19235 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
19236 Delete tests that access a NULL pointer-to-member-data. This
19237 script is still disabled for gcc.
19238
32fabe09
EZ
192392004-01-12 Elena Zannoni <ezannoni@redhat.com>
19240
19241 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 19242 escaped correctly.
32fabe09 19243
1f8a6abb
EZ
192442004-01-12 Elena Zannoni <ezannoni@redhat.com>
19245
19246 * gdb.base/sepdebug.exp: New file.
19247 * gdb.base/sepdebug.c: New file.
19248 * lib/gdb.exp (separate_debug_filename): New procedure.
19249 (gdb_gnu_strip_debug): New procedure.
19250
48efe704
AC
192512004-01-12 Andrew Cagney <cagney@redhat.com>
19252
19253 * gdb.mi/ChangeLog: Delete file. Renamed to ...
19254 * gdb.mi/ChangeLog-1999-2003: New file.
19255
a9415475
AC
192562004-01-12 Andrew Cagney <cagney@redhat.com>
19257
19258 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
19259 "Renaming a directory to a non-empty directory returns ENOTEMPTY
19260 or EEXIST", treat EBUSY as an XFAIL.
19261
83b8cf9d
MC
192622004-01-11 Michael Chastain <mec.gnu@mindspring.com>
19263
19264 * gdb.base/scope.exp: Remove obsolete setup_xfail for
19265 hp_cc_compiler.
19266
9939d2a8
MC
192672004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19268
19269 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
19270 decorations.
19271
1ff8cadf
MC
192722004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19273
19274 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
19275 and "(aCC)" decorations. Remove obsolete doco about old
19276 test results.
19277
6fa9022e
MC
192782004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19279
19280 * gdb.cp/exception.exp: Fix typo in doco.
19281
209721fe
MK
192822004-01-09 Mark Kettenis <kettenis@gnu.org>
19283
19284 * gdb.base/gdb1476.exp: Fix typo.
19285
ef11303e
MC
192862004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19287
19288 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
19289 file.
19290
041ab88c
MC
192912004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19292
19293 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
19294 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
19295 Use gdb_compile. Remove restriction on gcc. Add some patterns
19296 for recent version of gdb. Delete second half, which was a copy
19297 of the first half with different build flags. This test is
19298 still disabled because it is still not ready for production.
19299
e36d075a
MC
193002004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19301
19302 * gdb.cp/exception.cc: Add copyright notice.
19303 * gdb.cp/exception.exp: Add a notice that this file is broken
19304 because of line number changes caused by addition of copyright
19305 notice.
19306
42b190ad
MC
193072004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19308
19309 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
19310 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
19311
8f25f06b
MC
193122004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19313
19314 * gdb.cp/classes.exp: Accept gnu abi 2.
19315 * gdb.cp/derivation.exp: Likewise.
19316 * gdb.cp/overload.exp: Likewise.
19317 * gdb.cp/virtfunc.exp: Likewise.
19318
06ded8b8
MC
193192004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19320
19321 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
19322 semicolon after end of function.
19323
77c26ae3
MC
193242004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19325
19326 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
19327 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
19328 boilerplate code for compiling and running the program under
19329 test. Add some string method tests.
19330
20757486
MC
193312004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19332
19333 * gdb.cp/bs15503.cc: Add copyright notice.
19334 * gdb.cp/bs15503.exp: Adjust line number.
19335
0fd3b503
MC
193362004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19337
19338 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
19339 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
19340
10d1bea8
MC
193412004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19342
19343 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
19344 hp_cc_compiler.
19345
2789202a
MC
193462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19347
19348 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
19349 * gdb.cp/ctti.exp: Use the marker instead of "next".
19350 With gcc, run further before bailing.
19351
b862f14c
MC
193522004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19353
19354 * gdb.cp/cttiadd.cc: Add copyright notice.
19355 * gdb.cp/cttiadd1.cc: Likewise.
19356 * gdb.cp/cttiadd2.cc: Likewise.
19357 * gdb.cp/cttiadd3.cc: Likewise.
19358
96da2469
MC
193592004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19360
19361 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
19362 Use gdb_test, gdb_test_multiple. Use floating-point values that
19363 have exact representations in IEEE-ish formats.
19364
053248ff
MC
193652004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19366
19367 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
19368 compilers. Delete duplicate call to get_compiler_info.
19369 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
19370 * gdb.base/volatile.exp: Likewise.
19371
84acecdd
MK
193722004-01-07 Mark Kettenis <kettenis@gnu.org>
19373
19374 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
19375 memory at address 0.
19376
fe11a27f
MC
193772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19378
19379 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
19380 to test for hp-ux assembler. Fix copyright years.
19381
60ad077b
AC
193822004-01-07 Andrew Cagney <cagney@redhat.com>
19383
19384 * gdb.base/fileio.c (strerrno): Add "EBUSY".
19385
1c9b8f33
AC
193862004-01-07 Andrew Cagney <cagney@redhat.com>
19387
19388 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
19389 when creating the read-only file. From analysis by Roland McGrath
19390 and Elena Zannoni.
19391
753ccc7a
MC
193922004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19393
19394 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
19395
eca3e36b
MC
193962004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19397
19398 * gdb.base/cvexpr.c: Be type-safe with function pointers and
19399 data pointers.
19400
f8d4bac4
MC
194012004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19402
19403 * gdb.cp/m-static.exp: Compile one source file at a time.
19404 Delete unused call to get_compiler_info.
19405
9b4e0f94
MC
194062004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19407
19408 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
19409 * gdb.base/call-rt-st.exp: Likewise.
19410 * gdb.base/nodebug.exp: Likewise.
19411 * gdb.base/volatile.exp: Likewise.
19412 * gdb.cp/ref-types.exp: Likewise.
19413 * gdb.cp/templates.exp: Likewise.
19414
023c1024
MK
194152004-01-05 Mark Kettenis <kettenis@gnu.org>
19416
19417 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
19418
19703c4a
MC
194192004-01-05 Michael Chastain <mec.gnu@mindspring.com>
19420
19421 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
19422 hppa*-hp-hpux*.
19423
18b67037
MK
194242004-01-04 Mark Kettenis <kettenis@gnu.org>
19425
ba6219c8
MK
19426 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19427 x86_64-*-*.
19428
18b67037
MK
19429 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19430 sparc64-*-* and sparc*-solaris2*.
19431
1bfbbb9d
MK
194322004-01-04 Mark Kettenis <kettenis@gnu.org>
19433
19434 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
19435 return ${tests}" test. The ${tests} already mentions the
19436 filename.
19437
06846494
MC
194382004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19439
19440 * gdb.cp/local.exp: Accept gcc abi 2.
19441
3b0cb202
MC
194422004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19443
19444 * gdb.cp/templates.exp: Accept gcc abi 2.
19445
0643ec3f
MC
194462004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19447
19448 * lib/compiler.cc: Remove supports_template_debugging.
19449 * gdb.cp/templates.exp: Do not test supports_template_debugging.
19450
d231d0b1
MC
194512004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19452
19453 * gdb.cp/namespace.exp: Accept gcc abi 2.
19454
44ffb27c
MC
194552004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19456
19457 * gdb.cp/method.exp: Accept gcc abi 2.
19458
184ad485
MC
194592004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19460
19461 * gdb.cp/classes.exp: Generate identical results as old version.
19462 * gdb.cp/derivation.exp: Likewise.
19463 * gdb.cp/overload.exp: Likewise.
19464 * gdb.cp/virtfunc.exp: Likewise.
19465
116f09e7
MC
194662004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19467
19468 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
19469 mysterious bug with sourceware version of expect.
19470
b1379776
MC
194712004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19472
19473 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
19474 current versions of gcc, including gcc abi 2. Remove gratuitous
19475 restart of test program. Use gdb_test_multiple and gdb_test for
19476 all tests. Add patterns to xfail missing "const" in "const char *"
19477 and kfail PR gdb/1155.
19478
6b7a4c0e
MC
194792004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19480
19481 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
19482 current versions of gcc, including gcc abi 2. Remove gratuitous
19483 restart of test program. Use gdb_test_multiple and gdb_test for
19484 all tests. Add patterns to kfail PR gdb/1498.
19485
51615d72
MC
194862003-12-31 Michael Chastain <mec.gnu@mindspring.com>
19487
19488 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
19489 current versions of gcc, including gcc abi 2. Use "breakpoint"
19490 and "continue" instead of restarting the target program. Use
19491 gdb_test_multiple and gdb_test for all tests.
19492
7b79a9d7
MK
194932004-01-01 Mark Kettenis <kettenis@gnu.org>
19494
19495 * gdb.asm/asm-source.exp: Update copyright year. Link statically
19496 for *-*-solaris2*.
19497
1cd3489f
MC
194982003-12-31 Michael Chastain <mec.gnu@mindspring.com>
19499
19500 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
19501 current versions of gcc, including gcc abi 2. Use "breakpoint"
19502 and "continue" instead of restarting the target program several
19503 times. Use gdb_test_multiple and gdb_test for all tests.
19504
850742db
MC
195052003-12-18 Michael Chastain <mec.gnu@mindspring.com>
19506
19507 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
19508 source files.
19509
eb4bbda8
MC
195102003-12-16 Michael Chastain <mec.gnu@mindspring.com>
19511
19512 * gdb.base/environ.exp: Handle compiling test case from multiple
19513 source files.
19514
e42c7771
MC
195152003-12-16 Michael Chastain <mec.gnu@mindspring.com>
19516
19517 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
19518
80e4b428
JB
195192003-12-17 Jim Blandy <jimb@redhat.com>
19520
5f06973a
JB
19521 * gdb.base/freebpcmd.c: Add copyright notice.
19522
80e4b428
JB
19523 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
19524
0ab84fb7
MC
195252003-12-16 Michael Chastain <mec.gnu@mindspring.com>
19526
19527 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
19528
1b3bb3d0
JB
195292003-12-13 Jim Blandy <jimb@redhat.com>
19530
19531 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
19532
3a4c9371
KB
195332003-12-12 Kevin Buettner <kevinb@redhat.com>
19534
19535 * gdb.asm/frv.inc: New file.
19536 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
19537
a1dea79a
FF
195382003-12-09 Fred Fish <fnf@redhat.com>
19539
19540 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
19541 functions to break1.c and leave prototypes behind. Add more
19542 "set breakpoint NN here" comments.
19543 * gdb.base/break1.c: New file.
19544
19545 * gdb.base/break.exp: Handle compiling test case from multiple
19546 source files and change source file references as needed.
19547 * gdb.base/completion.exp: Ditto.
19548 * gdb.base/condbreak.exp: Ditto.
19549 * gdb.base/define.exp: Ditto.
19550 * gdb.base/ena-dis-br.exp: Ditto.
19551 * gdb.base/info-proc.exp: Ditto.
19552 * gdb.base/maint.exp: Ditto.
19553 * gdb.base/until.exp: Ditto.
19554
19555 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
19556 hardcoded line numbers.
19557 * gdb.base/define.exp: Ditto.
19558 * gdb.base/ena-dis-br.exp: Ditto.
19559 * gdb.base/maint.exp: Ditto.
19560 * gdb.base/until.exp: Ditto.
19561
19562 * gdb.base/completion.exp: Use "break1" for completion tests since
19563 "break" is no longer a unique prefix.
19564
5266b69c
AC
195652003-12-06 Andrew Cagney <cagney@redhat.com>
19566
19567 * gdb.base/structs.exp (test_struct_returns): When applicable, set
19568 "return_value_unimplemented". When an unimplemented struct return
19569 architecture, report incorrect values as a KFAIL
19570
374451f0
MC
195712003-12-05 Michael Chastain <mec.gnu@mindspring.com>
19572
19573 * gdb.cp/rtti.exp: Accept new wording of warning from
19574 cp_lookup_rtti_type.
19575
ba9b20a7
MC
195762003-12-05 Michael Chastain <mec.gnu@mindspring.com>
19577
19578 Partial fix for PR testsuite/1456.
19579 * gdb.base/scope.exp (test_at_main): Replace references to
19580 gcc_compiled with calls to test_compiler_info.
19581 (test_at_foo): Likewise.
19582 (test_at_bar): Likewise.
19583
b74b6d0b
MC
195842003-12-04 Michael Chastain <mec.gnu@mindspring.com>
19585
19586 Partial fix for PR testsuite/1456.
19587 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
19588 to test_compiler_info.
19589
ccfa3402
MC
195902003-12-03 Michael Chastain <mec.gnu@mindspring.com>
19591
19592 * gdb.base/so-impl-ld.exp: Update copyright notice.
19593
f6246aba
MC
195942003-12-02 Michael Chastain <mec.gnu@mindspring.com>
19595
19596 Partial fix for PR testsuite/1456.
19597 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
19598 to test_compiler_info.
19599
13ae734a
MC
196002003-11-28 Michael Chastain <mec.gnu@mindspring.com>
19601
19602 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
19603 from current versions of gdb. Clean up regular expressions.
19604 Delete redundant timeout case.
19605
d8e1cdee
MC
196062003-11-28 Michael Chastain <mec.gnu@mindspring.com>
19607
19608 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
19609 from current versions of gdb. Clean up regular expressions.
19610 Delete redundant timeout case.
19611
96457b64
MC
196122003-12-01 Michael Chastain <mec.gnu@mindspring.com>
19613
19614 Partial fix for PR testsuite/1456.
19615 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
19616 gcc_compiled with call to test_compiler_info.
19617
f35309fc
MC
196182003-11-30 Michael Chastain <mec.gnu@mindspring.com>
19619
19620 Partial fix for PR testsuite/1456.
19621 * gdb.base/list.exp (test_list_function): Delete unused declaration
19622 of gcc_compiled.
19623
d7afdf9b
MC
196242003-11-29 Michael Chastain <mec.gnu@mindspring.com>
19625
19626 Partial fix for PR testsuite/1456.
19627 * gdb.base/complex.exp: Replace reference to gcc_compiled with
19628 call to test_compiler_info.
19629
71507b56
MK
196302003-11-29 Mark Kettenis <kettenis@gnu.org>
19631
19632 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
19633 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
19634 it to create the appropriate note.inc.
19635 * gdb.asm/asmsrc1.s: Include "note.inc".
19636 * gdb.asm/netbsd.inc: New file.
19637 * gdb.asm/empty.inc: New file.
19638
f81f93f7
MC
196392003-11-28 Michael Chastain <mec.gnu@mindspring.com>
19640
19641 Partial fix for PR testsuite/1456.
19642 * gdb.base/constvars.exp: Replace references to gcc_compiled with
19643 calls to test_compiler_info.
19644
9a77938e
MC
196452003-11-27 Michael Chastain <mec.gnu@mindspring.com>
19646
19647 Partial fix for PR testsuite/1456.
19648 * gdb.base/volatile.exp: Replace references to gcc_compiled with
19649 calls to test_compiler_info.
19650
e8367dc7
MK
196512003-11-27 Mark Kettenis <kettenis@gnu.org>
19652
19653 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
19654 pattern for the KFAILs.
19655
526c61ee
AF
196562003-11-25 Adam Fedor <fedor@gnu.org>
19657
19658 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
19659 * gdb.objc/objcdecode.m: New file.
19660
28f2d600
AF
196612003-11-25 Adam Fedor <fedor@gnu.org>
19662
19663 * gdb.objc/nondebug.exp: Test for PR objc/1236.
19664 * gdb.objc/nondebug.m: New file.
19665
a3895cee
BE
196662003-11-26 Ben Elliston <bje@wasabisystems.com>
19667
19668 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
19669 NetBSD as it does on FreeBSD. Modelled on a similar change by
19670 Mark Kettenis on 2003-05-30.
19671 (link-flags): Set to "--entry _start" regardless of target.
19672 Special linker flags are to be appended to $link-flags.
19673 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
19674
c9f2c8a3
MC
196752003-11-25 Michael Chastain <mec.gnu@mindspring.com>
19676
19677 * gdb.cp/method.exp: Accept output of new demangler.
19678
15a0587a 196792003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
19680
19681 * gdb/class2.exp: New file.
19682 * gdb/class2.cc: New file.
19683
3c00b570
MC
196842003-11-25 Michael Chastain <mec.gnu@mindspring.com>
19685
19686 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
19687 of new demangler.
19688
7027acc7
MK
196892003-11-23 Mark Kettenis <kettenis@gnu.org>
19690
19691 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
19692 of gdb_test "run".
19693
b0e1598a
MK
196942003-11-23 Mark Kettenis <kettenis@gnu.org>
19695
19696 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
19697 "continue" into "run".
19698
4d9eda44
MC
196992003-11-23 Michael Chastain <mec.gnu@mindspring.com>
19700
19701 Partial fix for PR testsuite/1456.
19702 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
19703 call to test_compiler_info.
19704 * gdb.cp/ctti.exp: Likewise.
19705 * gdb.cp/derivation.exp: Likewise.
19706 * gdb.cp/member-ptr.exp: Likewise.
19707 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
19708 reference to gcc_compiled.
19709
197102003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
19711
19712 Fix PR testsuite/1463.
19713 * gdb.base/structs.exp (start_structs_test): Call
19714 get_debug_format before using the debug format.
19715
d422fe19
AC
197162003-11-22 Andrew Cagney <cagney@redhat.com>
19717
19718 * lib/gdb.exp (gdb_test_multiple): Add simple example.
19719 * gdb.base/structs.exp: Use gdb_test_multiple.
19720
039cf96d
AC
197212003-11-20 Andrew Cagney <cagney@redhat.com>
19722
6882279b
AC
19723 * gdb.base/structs.exp: Handle and recover from internal errors.
19724 Replace "foo${n}" with "foo<n>" in test messages.
19725
e53890ae
AC
19726 * gdb.base/structs.exp: Update copyright. Rewrite.
19727 * gdb.base/structs.c: Update copyright. Rewrite.
19728
2b211c59
AC
19729 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
19730 resync count exceeded.
d63a86f8 19731
039cf96d
AC
19732 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
19733 from the internal error.
19734 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
19735 Original from Jim Blandy.
19736 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 19737
eac98b22
AC
197382003-11-19 Andrew Cagney <cagney@redhat.com>
19739
19740 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
19741 KFAIL.
19742
67455b2a
MK
197432003-11-17 Mark Kettenis <kettenis@gnu.org>
19744
19745 New testcase for PR backtrace/1435.
19746 * gdb.arch/i386-unwind.exp: New file.
19747 * gdb.arch/i386-unwind.c: New file.
19748
853d6e5b
AC
197492003-11-17 Andrew Cagney <cagney@redhat.com>
19750
19751 * lib/gdb.exp (compiler_info): New global.
19752 (test_compiler_info): New function.
19753 (get_compiler_info): Set compiler_info.
19754 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
19755 "compiler_info" to gcc-<major>-<minor>.
19756
38cf6e11
MC
197572003-11-15 Michael Chastain <mec.gnu@mindspring.com>
19758
19759 * gdb.trace/configure: Remove.
19760
a50d3602
EZ
197612003-11-13 Elena Zannoni <ezannoni@redhat.com>
19762
19763 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 19764 breakpoints.
a50d3602
EZ
19765 * gdb.base/break.exp: Remove all references to explicit line
19766 numbers.
19767
d9407aaa
NC
197682003-11-11 Nick Clifton <nickc@redhat.com>
19769
19770 * gdb.base/shreloc.exp: Do not run for targets which do not
19771 support shared objects.
19772
db488fc1
CV
197732003-11-10 Corinna Vinschen <vinschen@redhat.com>
19774
19775 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
19776 Don't run tests if nofileio flag is given.
19777
6a90a18e
EZ
197782003-11-07 Elena Zannoni <ezannoni@redhat.com>
19779
19780 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 19781 as well as 'Watchpoint'.
6a90a18e 19782
0b915e9c
EZ
197832003-11-06 Elena Zannoni <ezannoni@redhat.com>
19784
19785 Reported by Jim Ingham <jingham@apple.com>:
19786 * gdb.base/annota1.exp: Match at least one occurrence of the
19787 signal handler annotation.
19788
d7e4b55f
EZ
197892003-11-06 Elena Zannoni <ezannoni@redhat.com>
19790
a9c64011
AS
19791 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
19792 as well as 'Watchpoint'.
d7e4b55f 19793
2fe4e8d0
MC
197942003-11-05 Michael Chastain <mec@shout.net>
19795
19796 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
19797
6ef88553
KW
197982003-11-03 Kris Warkentin <kewarken@qnx.com>
19799
19800 * gdb.arch/gdb1291.c: New test file.
19801 * gdb.arch/gdb1291.exp: New test script.
19802 * gdb.arch/gdb1431.c: New test file.
19803 * gdb.arch/gdb1431.exp: New test script.
19804
ae7dc4d8
MC
198052003-10-22 Michael Chastain <mec@shout.net>
19806
19807 * gdb.mi/pthreads.c: Add copyright notice.
19808
c39d7427
MC
198092003-10-22 Michael Chastain <mec@shout.net>
19810
19811 * gdb.threads/pthreads.c: Add copyright notice.
19812
8b7d96c1
MC
198132003-10-20 Michael Chastain <mec@shout.net>
19814
19815 * gdb.base/gdb1056.exp: New test script.
19816
d1d69fdd
DJ
198172003-10-13 Daniel Jacobowitz <drow@mvista.com>
19818
19819 * gdb.threads/killed.exp: Use gdb_run_cmd.
19820
7d605576
DJ
198212003-10-13 Daniel Jacobowitz <drow@mvista.com>
19822
19823 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
19824 create a core file.
19825 * gdb.threads/gcore-thread.exp: Likewise.
19826
618ec112
CV
198272003-10-13 Corinna Vinschen <vinschen@redhat.com>
19828
19829 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
19830 type, based on char type.
19831 (struct bit_flags_short_t): New bitfield type, based on short type.
19832 (init_bit_flags_char): New fuction.
19833 (init_bit_flags_short): Ditto.
19834 (print_bit_flags_char): Ditto.
19835 (print_bit_flags_short): Ditto.
19836 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
19837
9367a73c
MC
198382003-10-11 Michael Chastain <mec@shout.net>
19839
19840 * gdb.base/call-rt-st.exp: Update copyright year.
19841
1decf120
KI
198422003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
19843
19844 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
19845 * gdb.disasm/sh3.s: Ditto.
19846
5445b2ae
DJ
198472003-10-07 Daniel Jacobowitz <drow@mvista.com>
19848
19849 * gdb.threads/switch-threads.exp: New test.
19850 * gdb.threads/switch-threads.c: New source file.
19851
aec24853
CV
198522003-10-07 Corinna Vinschen <vinschen@redhat.com>
19853
19854 * gdb.base/ending-run.exp: Add sh specific case.
19855
adc7428d
AC
198562003-10-06 Andrew Cagney <cagney@redhat.com>
19857
19858 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
19859 * gdb.disasm/mn10200.exp: Delete obsolete file.
19860
c9d37158
DJ
198612003-09-29 Daniel Jacobowitz <drow@mvista.com>
19862
19863 * ChangeLog: Correct an entry command.exp -> commands.exp.
19864 * gdb.base/commands.exp (bp_deleted_in_command_test)
19865 (temporary_breakpoint_commands): Check noargs.
19866
79c2c32d
DC
198672003-09-25 David Carlton <carlton@kealia.com>
19868
19869 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
19870 of some print tests, where appropriate. Add tests for C::D::cd,
19871 E::ce, F::cXfX, G::XgX.
19872 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
19873
594e6d67
RE
198742003-09-25 Richard Earnshaw <rearnsha@arm.com>
19875
19876 * lib/java.exp (java_init): Import target_alias before using it.
19877
10f0d451
DC
198782003-09-25 David Carlton <carlton@kealia.com>
19879
19880 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
19881
274bcba0
EZ
198822003-09-23 Elena Zannoni <ezannoni@redhat.com>
19883
d63a86f8 19884 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 19885 weirdness.
274bcba0 19886
cdbf20f7
MC
198872003-09-17 Michael Chastain <mec@shout.net>
19888
19889 * gdb.cp/gdb1355.exp: New file.
19890 * gdb.cp/gdb1355.c: New file.
19891
71e06f80
CV
198922003-09-15 Corinna Vinschen <vinschen@redhat.com>
19893
19894 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
19895 * gdb.asm/sh.inc: New file.
19896
5c4e30ca
DC
198972003-09-11 David Carlton <carlton@kealia.com>
19898
bd45b7af
DC
19899 * gdb.cp/namespace.exp: Add tests for namespace types.
19900 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
19901 (test_namespace): New.
19902
1c199746
EZ
199032003-09-11 Elena Zannoni <ezannoni@redhat.com>
19904
a9c64011 19905 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 19906 * gdb.stabs/weird.exp: Ditto.
1c199746 19907
04ed252f
MC
199082003-09-08 Michael Chastain <mec@shout.net>
19909
19910 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
19911
d8a2d9e7
MC
199122003-09-07 Michael Chastain <mec@shout.net>
19913
19914 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
19915 'parse error'.
19916
161afb24
MK
199172003-09-07 Mark Kettenis <m.kettenis@osp.nl>
19918
19919 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
19920
49f2741a
MC
199212003-08-30 Michael Chastain <mec@shout.net>
19922
19923 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
19924 * gdb.gdb/observer.exp: Ditto.
19925 * gdb.gdb/xfullpath.exp: Ditto.
19926
8afa723e
MK
199272003-08-29 Mark Kettenis <kettenis@gnu.org>
19928
19929 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
19930 *-*-*bsd*.
19931
f31dfe3b
JJ
199322003-08-28 Jeff Johnston <jjohnstn@redhat.com>
19933
19934 * gdb.base/dump.exp: Skip for ia64.
19935
4630e498
JJ
199362003-08-25 Jeff Johnston <jjohnstn@redhat.com>
19937
19938 * gdb.asm/asm-source.exp: Add ia64 support.
19939 * gdb.asm/ia64.inc: New file.
19940
1105b7ef
MC
199412003-08-22 Michael Chastain <mec@shout.net>
19942
19943 * gdb.cp: New directory.
19944 * gdb.cp/*: Copy from gdb.c++/*.
19945 * gdb.c++/*: Remove.
19946 * Makefile.in: Change gdb.c++ to gdb.cp.
19947 * configure.in: Ditto.
19948 * configure: Regnerate.
19949
c945b932
MK
199502003-08-18 Mark Kettenis <kettenis@gnu.org>
19951
19952 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
19953 * gdb.arch/i386-prologue.c (gdb1338): Add function.
19954
2b66634b
DJ
199552003-08-17 Daniel Jacobowitz <drow@mvista.com>
19956
19957 * mi-var-display.exp (-var-list-children weird): Accept function
19958 pointers with argument types.
19959 * mi1-var-display.exp (-var-list-children weird): Likewise.
19960 * mi2-var-display.exp (-var-list-children weird): Likewise.
19961
a356f73b
DJ
199622003-08-17 Daniel Jacobowitz <drow@mvista.com>
19963
19964 * gdb.base/annota3.exp: Add missing newline.
19965
483417b8
MC
199662003-08-06 Michael Chastain <mec@shout.net>
19967
19968 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
19969
c99c59c3
MS
199702003-08-12 Michael Snyder <msnyder@redhat.com>
19971
19972 * gdb.base/float.exp: Add test for SH.
19973
55ed7501
MK
199742003-08-10 Mark Kettenis <kettenis@gnu.org>
19975
19976 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
19977
1a371f2e
EZ
199782003-08-07 Elena Zannoni <ezannoni@redhat.com>
19979
19980 * gdb.base/completion.exp: Remove reduntant completion test
19981 on filename.
19982
e0f353ce
EZ
199832003-08-07 Elena Zannoni <ezannoni@redhat.com>
19984
a9c64011
AS
19985 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
19986 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
19987 gdb.trace/save-trace.exp: Make sure that full pathnames are
19988 escaped correctly.
e0f353ce 19989
5710a1af 199902003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 19991
a9c64011
AS
19992 * configure.in: Don't generate config.h from config.hin.
19993 * configure: Regenerate.
19994 * config.hin: Remove file.
19995 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
19996 * gdb.threads/pthreads.c: Ditto.
5710a1af 19997
dcd81ce9
DJ
199982003-08-07 Daniel Jacobowitz <drow@mvista.com>
19999
20000 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20001 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
20002 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
20003 Replace ld24 with seth/add3.
20004
6009d884
AC
200052003-08-02 Andrew Cagney <cagney@redhat.com>
20006
20007 * gdb.base/annota3.exp: New file.
20008 * gdb.base/annota3.c: New file.
20009 * gdb.c++/annota3.exp: New file.
20010 * gdb.c++/annota3.cc: New file.
20011
51514e06
MC
200122003-07-29 Michael Chastain <mec@shout.net>
20013
20014 * gdb.threads/tls.c (spin): Check errno only if sem_wait
20015 actually failed.
20016 (do_pass): Likewise.
20017 * gdb.threads/tls.exp: Always initialize no_of_threads.
20018
4ee6625b
DJ
200192003-07-27 Daniel Jacobowitz <drow@mvista.com>
20020
20021 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
20022 pattern.
20023 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
20024 * gdb.threads/tls.exp: Recognize one case of the host library not
20025 supporting TLS.
20026
225f2bf6
AC
200272003-07-27 Andrew Cagney <cagney@redhat.com>
20028
20029 * gdb.base/fileio.exp: Use SH when running commands using
20030 remote_exec.
20031
bcb27c9f
DJ
200322003-07-24 Daniel Jacobowitz <drow@mvista.com>
20033
20034 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20035 * gdb.base/relocate.c (dummy): New padding array.
20036
3d67be83
MS
200372003-07-22 Michael Snyder <msnyder@redhat.com>
20038
d63a86f8 20039 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
20040
20041 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
20042 patterns to be more general, accepting old and new output.
20043 Some output chars (such as '+') also must be quoted.
d63a86f8 20044 Some addresses are displayed numerically instead of
3d67be83
MS
20045 symbolically.
20046
57ba3b85
MS
200472003-07-23 Michael Snyder <msnyder@redhat.com>
20048
686d097c
MS
20049 * gdb.base/return2.exp: Don't test long-long return.
20050
57ba3b85
MS
20051 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
20052 * gdb.disasm/t01_mov.exp: Ditto.
20053 * gdb.disasm/t02_mova.s: Ditto.
20054 * gdb.disasm/t02_mova.exp: Ditto.
20055 * gdb.disasm/t03_add.s: Ditto.
20056 * gdb.disasm/t03_add.exp: Ditto.
20057 * gdb.disasm/t04_sub.s: Ditto.
20058 * gdb.disasm/t04_sub.exp: Ditto.
20059 * gdb.disasm/t05_cmp.s: Ditto.
20060 * gdb.disasm/t05_cmp.exp: Ditto.
20061 * gdb.disasm/t06_ari2.s: Ditto.
20062 * gdb.disasm/t06_ari2.exp: Ditto.
20063 * gdb.disasm/t07_ari3.s: Ditto.
20064 * gdb.disasm/t07_ari3.exp: Ditto.
20065 * gdb.disasm/t08_or.s: Ditto.
20066 * gdb.disasm/t08_or.exp: Ditto.
20067 * gdb.disasm/t09_xor.s: Ditto.
20068 * gdb.disasm/t09_xor.exp: Ditto.
20069 * gdb.disasm/t10_and.s: Ditto.
20070 * gdb.disasm/t10_and.exp: Ditto.
20071 * gdb.disasm/t11_logs.s: Ditto.
20072 * gdb.disasm/t11_logs.exp: Ditto.
20073 * gdb.disasm/t12_bit.s: Ditto.
20074 * gdb.disasm/t12_bit.exp: Ditto.
20075 * gdb.disasm/t13_otr.s: Ditto.
20076 * gdb.disasm/t13_otr.exp: Ditto.
20077
e00759ef
EZ
200782003-07-22 Elena Zannoni <ezannoni@redhat.com>
20079
20080 * gdb.threads/tls.exp :Add kfail for 'info address' case.
20081
8bc2021f
EZ
200822003-07-22 Elena Zannoni <ezannoni@redhat.com>
20083
a9c64011
AS
20084 * gdb.threads/tls.c : New file.
20085 * gdb.threads/tls.exp : New file.
20086 * gdb.threads/tls-main.c : New file.
20087 * gdb.threads/tls-shared.c : New file.
20088 * gdb.threads/tls-shared.exp : New file.
8bc2021f 20089
89320c4c
AS
200902003-07-22 Andreas Schwab <schwab@suse.de>
20091
20092 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
20093
180dea7c
AS
200942003-07-20 Andreas Schwab <schwab@suse.de>
20095
20096 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
20097 due to insn reordering.
20098
0714963c
AC
200992003-07-15 Andrew Cagney <cagney@redhat.com>
20100
20101 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
20102
98a23b3f
MC
201032003-07-15 Michael Chastain <mec@shout.net>
20104
20105 * gdb.base/gdb1250.exp: New file.
20106 * gdb.base/gdb1250.c: New file.
20107
27e417a2
ML
201082003-07-09 Michal Ludvig <mludvig@suse.cz>
20109
20110 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
20111 expansion of size_t to 'unsigned long', not only to 'unsigned'.
20112
8bc2021f
EZ
201132003-07-09 Elena Zannoni <ezannoni@redhat.com>
20114
a9c64011
AS
20115 * gdb.threads/tls.c: New file.
20116 * gdb.threads/tls.exp: New file.
20117 * gdb.threads/tls-main.c: New file.
20118 * gdb.threads/tls-shared.c: New file.
20119 * gdb.threads/tls-shared.exp: New file.
8bc2021f 20120
d99968dc
EZ
201212003-07-09 Elena Zannoni <ezannoni@redhat.com>
20122
20123 * gdb.base/annota1.exp: Make sure that we properly escape the
20124 full path of the source file. Xfail more permissive patterns,
d63a86f8 20125 due to a compiler debug info problem.
d99968dc 20126
83876b3b
AS
201272003-07-07 Andreas Schwab <schwab@suse.de>
20128
2705e972
AS
20129 * gdb.asm/m68k.inc: New file.
20130 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
20131
83876b3b
AS
20132 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
20133 arguments"): Also match negative number.
20134
20135 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
20136
3a871b37
DJ
201372003-07-03 Daniel Jacobowitz <drow@mvista.com>
20138
20139 * gdb.base/store.c (charest): New typedef.
20140 (add_char): Rename to add_charest, update.
20141 (wack_char): Rename to wack_charest, update types. Return l + r
20142 to keep r live across the call.
20143 (wack_short, wack_int, wack_long, wack_longest, wack_float)
20144 (wack_double, wack_doublest): Return l + r to keep r live across
20145 the call.
20146 * gdb.base/store.exp: Accomodate store.c changes.
20147
b2a7f303
DC
201482003-06-30 David Carlton <carlton@kealia.com>
20149
20150 * gdb.c++/maint.exp (test_invalid_name): New.
20151 (test_first_component): Add tests for invalid names.
20152
3c6cb4a1
MC
201532003-06-29 Michael Chastain <mec@shout.net>
20154
20155 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
20156 output of '<VTT for class>' for virtual base classes.
20157
f1c2644b
DJ
201582003-06-29 Daniel Jacobowitz <drow@mvista.com>
20159
20160 * gdb.base/completion.exp: Tab-complete "complet" instead of
20161 "compl".
20162 * gdb.base/complex.exp, gdb.base/complex.c: New files.
20163
18080350
DJ
201642003-06-29 Daniel Jacobowitz <drow@mvista.com>
20165
20166 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
20167 * gdb.base/volatile.exp: Likewise.
20168
f56973f8
DJ
201692003-06-29 Daniel Jacobowitz <drow@mvista.com>
20170
20171 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
20172 gdb/1265.
20173
201742003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
20175 Daniel Jacobowitz <drow@mvista.com>
20176
20177 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
20178 initial line count of 'captured_main' from 26 to 32.
20179 (test_with_self): Allow xmalloc call to be interleaved with the
20180 preceding two lines.
20181
e766d4d6
JB
201822003-06-24 Joel Brobecker <brobecker@gnat.com>
20183
20184 * gdb.base/bang.exp: New testcase.
20185
f125c9a4
JB
201862003-06-23 Joel Brobecker <brobecker@gnat.com>
20187
20188 * gdb.base/langs.exp: Add some tests for the "minimal" language
20189 support.
20190
6e25beaf
EZ
201912003-06-23 Elena Zannoni <ezannoni@redhat.com>
20192
20193 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
20194 the testcase.
20195
2f816dda
DJ
201962003-06-22 Daniel Jacobowitz <drow@mvista.com>
20197
20198 * gdb.base/relocate.exp: Test add-symbol-file with a variable
20199 offset.
20200
db5a5748
DJ
202012003-06-22 Daniel Jacobowitz <drow@mvista.com>
20202
20203 * gdb.c++/pr-1210.cc: New file.
20204 * gdb.c++/pr-1210.exp: New file.
20205
1df0c130
DJ
202062003-06-21 Daniel Jacobowitz <drow@mvista.com>
20207
20208 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
20209 000-exec-continue.
20210
a92feac0
MK
202112003-06-15 Mark Kettenis <kettenis@gnu.org>
20212
20213 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
20214 on *-*-*bsd* instead of *-*-freebsd*.
20215
81a58f5b
AC
202162003-06-14 Andrew Cagney <cagney@redhat.com>
20217
20218 * gdb.base/store.exp: Test longest and doublest. Test all
20219 parameters. Weaken return statement match.
20220 * gdb.base/store.c: Add longest and doublest - aka long long and
20221 long double functions. Put all parameters into local register
20222 variables. Use negative values.
20223
b257a0d3
AC
202242003-06-14 Andrew Cagney <cagney@redhat.com>
20225
20226 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
20227 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
20228 exit status.
20229 * gdb.base/fileio.exp: Disable target when nointerrupts and
20230 noinferiorio, instead of limiting it to remote. Use remote_exec
20231 instead of system.
d63a86f8 20232
21c38304
JJ
202332003-06-12 Jeff Johnston <jjohnstn@redhat.com>
20234
20235 * gdb.base/float.exp: Add ia64 support.
20236
1bcdb424
CV
202372003-06-12 Corinna Vinschen <vinschen@redhat.com>
20238
20239 * gdb.base/fileio.exp: Run only on remote targets.
20240
6aeb981f
CV
202412003-06-10 Corinna Vinschen <vinschen@redhat.com>
20242
20243 * gdb.base/fileio.c: New file, testing File-I/O.
20244 * gdb.base/fileio.exp: Ditto.
20245
53df362e
RG
202462003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
20247
20248 * gdb.base/shreloc.exp: New file, check symbol values obtained from
20249 shared objects after relocation at load time (gdb PR/1132).
20250 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 20251 as above, part of the shared object relocation test.
53df362e 20252
ffee1b46
MK
202532003-06-08 Mark Kettenis <kettenis@gnu.org>
20254
b5ca3722
MK
20255 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
20256 fully filled history list.
20257 * gdb.base/gdb_history: New file.
20258
03ed860d
MK
20259 * gdb.base/signals.exp: XFAIL "continue to func1" on
20260 i*86-*-freebsd*.
20261
ffee1b46
MK
20262 * gdb.base/attach.exp: When trying to attach to a nonexistent
20263 process, make it possible to specify the PID based on the target,
20264 and do so for *-*-freebsd*.
20265
d80dbb52
RH
202662003-06-02 Richard Henderson <rth@redhat.com>
20267
20268 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
20269
6dd77b81
RH
202702003-06-02 Richard Henderson <rth@redhat.com>
20271
20272 * gdb.base/selftest.exp: Next over lim_at_start initialization.
20273
f6347e16
RH
202742003-06-02 Richard Henderson <rth@redhat.com>
20275
20276 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
20277
2c161407
DJ
202782003-06-01 Daniel Jacobowitz <drow@mvista.com>
20279
20280 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
20281 of globalvar.
20282
572eb746
MK
202832003-06-01 Mark Kettenis <kettenis@gnu.org>
20284
20285 * gdb.asm/asm-source.exp: Check for memory read errors in
20286 disassembler test on *BSD too.
20287
9e9617a5
RH
202882003-06-01 Richard Henderson <rth@redhat.com>
20289
20290 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
20291 for .frame.
20292 (gdbasm_call): Lose ldgp.
20293 (gdbasm_startup): Add frame information.
20294 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
20295
7b34ad4e
MK
202962003-05-31 Mark Kettenis <kettenis@gnu.org>
20297
20298 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
20299 i?86-*-*.
20300
10059fdf
MK
203012003-05-30 Mark Kettenis <kettenis@gnu.org>
20302
20303 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20304 FreeBSD.
20305
acf4b816
RH
203062003-05-29 Richard Henderson <rth@redhat.com>
20307
20308 * gdb.asm/alpha.inc: New file.
20309 * gdb.asm/asm-source.exp: Use it.
20310
e9ecd949
JB
203112003-05-29 Jim Blandy <jimb@redhat.com>
20312
20313 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
20314 'core.PID'.
20315
e3e5a4f3
JB
203162003-05-22 Jim Blandy <jimb@redhat.com>
20317
20318 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
20319 backtrace.
d63a86f8 20320
72fe3d25
DC
203212003-05-20 David Carlton <carlton@math.stanford.edu>
20322
20323 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
20324 this time.
20325
58da2eb2
DC
203262003-05-19 David Carlton <carlton@bactrian.org>
20327
20328 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
20329 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
20330
1fcb5155
DC
203312003-05-19 David Carlton <carlton@bactrian.org>
20332
20333 * gdb.c++/namespace.exp: Add namespace scope and anonymous
20334 namespace tests.
20335 Bump copyright date.
20336 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
20337 (main): Call C::D::marker2.
20338 * gdb.c++/namespace1.cc: New file.
20339
85e85163
JJ
203402003-05-14 Jeff Johnston <jjohnstn@redhat.com>
20341
20342 Roland McGrath <roland@redhat.com>
d63a86f8 20343 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
20344 there is no manager thread.
20345
a25fbfec
JJ
203462003-05-08 Jeff Johnston <jjohnstn@redhat.com>
20347
d63a86f8
RM
20348 * gdb.threads/schedlock.exp: Remove assumption that all threads
20349 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
20350 in one of the child threads rather than the main thread.
20351
be375bae
JB
203522003-05-07 Jim Blandy <jimb@redhat.com>
20353
09bf6082
JB
20354 Add support for assembly source testing on the s390x.
20355 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
20356 architecture.
20357 * gdb.asm/s390x.inc: New file.
20358
be375bae
JB
20359 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
20360 succession of 'if' statements.
20361
00905d52
AC
203622003-05-05 Andrew Cagney <cagney@redhat.com>
20363
20364 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
20365
b1e29e33
AC
203662003-05-05 Andrew Cagney <cagney@redhat.com>
20367
20368 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
20369 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
20370
e33d66ec
EZ
203712003-05-02 Elena Zannoni <ezannoni@redhat.com>
20372
20373 * gdb.base/charset.exp: Update based on new behavior of set/show
20374 charset commands.
20375
2b6fd0d8
AC
203762003-05-01 Andrew Cagney <cagney@redhat.com>
20377
20378 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
20379 variable do not give memory errors.
20380
130cacce
AF
203812003-04-30 Adam Fedor <fedor@gnu.org>
20382
20383 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
20384 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
20385 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
20386 gdb.objc/basicclass.m: : New files
20387
20388 * lib/gdb.exp (gdb_compile_objc): New procedure.
20389
bea71854
DJ
203902003-04-27 Daniel Jacobowitz <drow@mvista.com>
20391
20392 * gdb.base/signals.exp: Make backtrace tests more specific.
20393
0f20eeea
DC
203942003-04-23 David Carlton <carlton@bactrian.org>
20395
20396 * gdb.c++/maint.exp (test_first_component): Add tests for
20397 'operator' in more locations.
20398
c8c4d8dc
KB
203992003-04-16 Kevin Buettner <kevinb@redhat.com>
20400
20401 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
20402
3fe60e3c
EZ
204032003-04-16 Elena Zannoni <ezannoni@redhat.com>
20404
20405 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 20406 func marke' instead. Update test name.
3fe60e3c 20407
9219021c
DC
204082003-04-15 David Carlton <carlton@math.stanford.edu>
20409
20410 * gdb.c++/maint.exp: New file.
20411
5dd55bdd
EZ
204122003-04-14 Elena Zannoni <ezannoni@redhat.com>
20413
20414 * gdb.threads/schedlock.c: Change type of thread function argument
20415 to long, to avoid warnings on 64-bit platforms.
20416
00890572
EZ
204172003-04-14 Elena Zannoni <ezannoni@redhat.com>
20418
a9c64011
AS
20419 * gdb.base/attach.exp: Add new message from ptrace in case of
20420 attaching to nonexistent process.
d63a86f8 20421
93201743
JB
204222003-04-11 Jim Blandy <jimb@redhat.com>
20423
20424 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20425 gdb.c++/userdef.cc: Place comments on the lines to which the
20426 marker function might return.
20427 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20428 gdb.c++/userdef.exp: Look for those comments to check that we've
20429 returned to the right place, instead of checking line numbers.
20430
2a11c64d
EZ
204312003-04-11 Elena Zannoni <ezannoni@redhat.com>
20432
a9c64011
AS
20433 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
20434 match on sourcefile name, instead of directory name.
2a11c64d 20435
68ab8fc5
EZ
204362003-04-10 Elena Zannoni <ezannoni@redhat.com>
20437
d63a86f8 20438 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
20439 working directory name.
20440
5624293a
JB
204412003-04-09 Jim Blandy <jimb@redhat.com>
20442
20443 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20444 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
20445 after an inferior function call, report the failure, but allow the
20446 test to continue.
20447
f1f02ee4
SC
204482003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20449
20450 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20451 with -DPROTOTYPES.
20452
6eb79af0
SC
204532003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20454
20455 * gdb.base/break.exp: Revert last patch.
20456
8dfb4cf0
SC
204572003-04-04 Stephane Carrez <stcarrez@nerim.fr>
20458
20459 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20460 with -DPROTOTYPES.
20461
ed4c619a
AC
204622003-04-02 Andrew Cagney <cagney@redhat.com>
20463
20464 * gdb.base/callfuncs.exp: Make "print add" messages unique.
20465 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
20466 matching directories by the name breakpoint.
20467 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
20468 Make "continue to marker1" consistent.
20469 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
20470 message consistent.
20471 * lib/gdb.exp: Put "the program is no longer running", and "the
20472 program exited" in parenthesis.
20473 * lib/mi-support.exp: Ditto.
d63a86f8 20474
4e35d5f0 204752003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 20476
4e35d5f0
BR
20477 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
20478
71900fe8
AC
204792003-03-29 Andrew Cagney <cagney@redhat.com>
20480
20481 * gdb.base/sizeof.c (main): Print the value of '\377'.
20482 * gdb.base/sizeof.exp: Check the sign of '\377'.
20483
c0655a16
MC
204842003-03-27 Michael Chastain <mec@shout.net>
20485
20486 * gdb.base/gdb1090.exp: New file.
20487 * gdb.base/gdb1090.cc: New file.
20488
5b2a3989
JB
204892003-03-27 J. Brobecker <brobecker@gnat.com>
20490
20491 * gdb.gdb/observer.exp: New regression test.
20492
79876890
MC
204932003-03-27 Michael Chastain <mec@shout.net>
20494
20495 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
20496 * gdb.base/ptype.exp: Likewise.
20497
6eac95e3
CV
204982003-03-27 Corinna Vinschen <vinschen@redhat.com>
20499
20500 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
20501
e8c71839
MC
205022003-03-26 Michael Chastain <mec@shout.net>
20503
20504 * gdb.base/ptype.exp: Actually use some typedef'd types.
20505
71b10041
SC
205062003-03-21 Stephane Carrez <stcarrez@nerim.fr>
20507
20508 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
20509 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
20510
2512cf80
CV
205112003-03-20 Corinna Vinschen <vinschen@redhat.com>
20512
20513 * gdb.base/default.exp: Fix regular expression.
20514
0d195a4f
CV
205152003-03-20 Corinna Vinschen <vinschen@redhat.com>
20516
20517 * gdb.base/args.exp: Fix regular expression.
20518
8a2dbca8
CV
205192003-03-20 Corinna Vinschen <vinschen@redhat.com>
20520
20521 * gdb.base/help.exp: Allow Win32 child process.
20522
bf028682
CV
205232003-03-20 Corinna Vinschen <vinschen@redhat.com>
20524
20525 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
20526 when stepping out of main().
20527
182dbe85
CV
205282003-03-20 Corinna Vinschen <vinschen@redhat.com>
20529
20530 * gdb.base/default.exp: Check for win32 specific message when calling
20531 "run" without executable.
20532
d67a6ba5
CV
205332003-03-20 Corinna Vinschen <vinschen@redhat.com>
20534
20535 * gdb.base/args.exp: Expect .exe in output.
20536
a955b5bb
CV
205372003-03-20 Corinna Vinschen <vinschen@redhat.com>
20538
20539 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
20540 Cygwin native.
20541
bf6bad4b
AC
205422003-03-17 Andrew Cagney <cagney@redhat.com>
20543
20544 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
20545 vector registes.
20546 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
20547 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
20548
293e9a31
DC
205492003-03-17 David Carlton <carlton@math.stanford.edu>
20550
20551 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
20552 test, for PR breakpoints/38.
20553 Call test_watchpoint_and_breakpoint.
20554 * gdb.base/watchpoint.c (func3): New function.
20555 (main): Call func3.
20556
5330f2db
DC
205572003-03-04 David Carlton <carlton@math.stanford.edu>
20558
20559 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
20560 Garply<Garply<char> >:: garply".
20561 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
20562 with respect to PR c++/1111; note also PR c++/1113.
20563 (test_template_breakpoints): KFAIL "constructor breakpoint" with
20564 respect to PR c++/1062.
20565 KFAIL "destructor breakpoint" with respect to PR c++/1112.
20566
6ece72da
DC
205672003-03-03 David Carlton <carlton@math.stanford.edu>
20568
20569 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
20570 with respect to PR c++/57.
20571 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
20572 c++/826.
20573 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
20574 respect to PR c++/57.
20575
85ca1584
DC
205762003-03-03 David Carlton <carlton@math.stanford.edu>
20577
20578 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
20579 respect to PR c++/33 into FAILs.
20580
98e9c5b8
MC
205812003-03-03 Michael Chastain <mec@shout.net>
20582
7bedbf27
MC
20583 * configure.in: Update copyright years.
20584
205852003-03-03 Michael Chastain <mec@shout.net>
20586
20587 * Makefile.in: Update copyright years.
98e9c5b8 20588
f683e100
DC
205892003-02-28 David Carlton <carlton@math.stanford.edu>
20590
20591 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
20592 print class instead of struct and/or superfluous protection
20593 specifiers, as long as the resulting output is equivalent to the
20594 source code.
20595 Delete FIXME from end of messages on tests that don't need
20596 fixing.
20597
a9e0cf2c
DC
205982003-02-28 David Carlton <carlton@math.stanford.edu>
20599
20600 * gdb.c++/templates.exp (do_tests): Allow const in the two
20601 Foo<volatile char *>::foo tests.
20602
e8d359df
MS
206032003-02-27 Michael Snyder <msnyder@redhat.com>
20604
d63a86f8 20605 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
20606 will be consistant.
20607
0b71dc91
DC
206082003-02-26 David Carlton <carlton@math.stanford.edu>
20609
20610 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
20611 char *>::foo" test with respect to PR c++/33. Create a new test
20612 which is identical to that one except that it doesn't put the
20613 space between the "char" and the "*"; KFAIL it, too.
20614
dd14ab43
DC
206152003-02-26 David Carlton <carlton@math.stanford.edu>
20616
20617 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
20618 template types into either PASSes or KFAILs (corresponding to PR
20619 c++/57). Tweak indentation. Update copyright.
20620
1146c7f1
SC
206212003-02-23 Stephane Carrez <stcarrez@nerim.fr>
20622
20623 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
20624
74641dfb
MC
206252003-02-13 Michael Chastain <mec@shout.net>
20626
20627 * gdb.base/exprs.exp: Remove i960 remnants.
20628 * gdb.base/funcargs.exp: Likewise.
20629 * gdb.base/list.exp: Likewise.
20630 * gdb.base/ptype.exp: Likewise.
20631
559cd2d0
DC
206322003-02-14 David Carlton <carlton@math.stanford.edu>
20633
20634 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
20635 pEe->D::vg()" from XFAIL to KFAIL.
20636
c4f90d87
JM
206372003-02-13 Jason Molenda (jmolenda@apple.com)
20638
20639 * gdb.base/maint.exp: Update maint print statistics regexp to include
20640 new entries.
20641
cbc4d97c
MC
206422003-02-13 Michael Chastain <mec@shout.net>
20643
20644 * gdb.c++/inherit.exp: Remove call to get_debug_format.
20645
40f235b7
MC
206462003-02-12 Michael Chastain <mec@shout.net>
20647
20648 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
20649 * gdb.c++/inherit.exp: Likewise.
20650 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
20651 * gdb.c++/templates.exp: Likewise.
20652 * gdb.c++/virtfunc.exp: Likewise.
20653
c56716b0
JM
206542003-02-06 Jason Molenda (jason-cl@molenda.com)
20655
20656 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
20657 why the code is written that way.
20658
070afcf8
MC
206592003-02-05 Michael Chastain <mec@shout.net>
20660
20661 * gdb.base/dump.exp: Add missing copyright line.
20662
5d0331e5
JM
206632003-02-05 Jason Molenda (jason-cl@molenda.com)
20664
f7ae6d3e 20665 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
20666 at the beginning so the breakpoint doesn't get set on the loop.
20667
92851186
MC
206682003-02-05 Michael Chastain <mec@shout.net>
20669
20670 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
20671 output for configurations with gcc 2.95.3.
20672
cbf1e085
AC
206732003-02-05 Keith Seitz <keiths@redhat.com>
20674 Andrew Cagney <ac131313@redhat.com>
20675
20676 * gdb.mi/mi-cli.exp: New file.
d63a86f8 20677
29518e1e
MC
206782003-02-04 Michael Chastain <mec@shout.net>
20679
20680 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
20681 Call perror and then continue.
20682
5af1d5f3
MC
206832003-02-03 Michael Chastain <mec@shout.net>
20684
20685 * gdb.c++/pr-1023.cc: New file.
20686 * gdb.c++/pr-1023.exp: New file.
20687
6b549786
JB
206882003-02-05 Jim Blandy <jimb@redhat.com>
20689
20690 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
20691 it's local to foobar. Check for it there, and check that it's not
20692 present in main.
20693 * gdb.c++/local.cc (marker2): New function.
20694 (foobar): Call marker1.
20695 (main): Call marker2 instead of marker1.
20696
67f16606
AC
206972003-02-04 Andrew Cagney <ac131313@redhat.com>
20698
20699 * gdb.disasm/mn10200.exp: Obsolete file.
20700 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
20701 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
20702 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
20703
1c5cb38e
DC
207042003-02-04 David Carlton <carlton@math.stanford.edu>
20705
20706 * gdb.c++/overload.exp: Test intToChar(1).
20707 * gdb.c++/overload.cc (intToChar): New.
20708 (main): Call intToChar.
20709
d1fe6965
DC
207102003-02-03 David Carlton <carlton@math.stanford.edu>
20711
20712 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
20713 'might_kfail' arg.
20714 KFAIL some of the continue_to_bp_overloaded calls, according to
20715 PR c++/1025.
20716
9ba61c5d
MC
207172003-02-01 Michael Chastain <mec@shout.net>
20718
20719 * gdb.base/advance.c (marker1): New marker function.
20720 * gdb.base/advance.exp: When the 'advance' command lands on the
20721 return breakpoint, it can legitimately stop on either the
20722 current line or the next line. Accommodate both outcomes.
20723 * gdb.base/until.exp: Likewise.
20724
e7494ffb
AC
207252003-02-02 Andrew Cagney <ac131313@redhat.com>
20726
20727 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
20728 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
20729 now a list, not a tuple.
20730 * gdb.mi/mi-var-display.exp: Ditto.
20731 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 20732
075559bc
AC
207332003-02-01 Andrew Cagney <ac131313@redhat.com>
20734
20735 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
20736 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
20737 stack backtraces.
20738 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 20739
2bd4c7b1
MK
207402003-02-01 Mark Kettenis <kettenis@gnu.org>
20741
20742 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
20743 gdb.mi/mi1-pthreads.exp: Return instead of calling
20744 gdb_suppress_entire_file.
20745
eabd8992
MS
207462003-02-01 Mark Salter <msalter@redhat.com>
20747
20748 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
20749
71469e2f
MS
207502003-01-31 Mark Salter <msalter@redhat.com>
20751
20752 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
20753 Support empty arg.
20754
38a94d44
MC
207552003-01-30 Michael Chastain <mec@shout.net>
20756
20757 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
20758 This was a workaround for a UTF-8 bug in readline 4.3. The bug
20759 has been fixed in gdb/readline on 2003-01-09.
20760
19ea9e73
MS
207612003-01-29 Michael Snyder <msnyder@redhat.com>
20762
e8d359df
MS
20763 * gdb.base/maint.exp: Allow for leading underscore in symbol.
20764 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
20765 * gdb.base/args.exp: Skip if target does not support args passing.
20766
2307bd6a
DJ
207672003-01-22 Daniel Jacobowitz <drow@mvista.com>
20768
19ea9e73 20769 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
20770 gdb_test. Accept a list of expect arguments as the third
20771 parameter.
20772 (gdb_test): Use it.
20773
f2dd3617
EZ
207742003-01-20 Elena Zannoni <ezannoni@redhat.com>
20775
20776 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
20777 allow for different test tree configurations. Update some
20778 tescases accordingly.
20779 * gdb.arch/altivec-regs.exp: Ditto.
20780 * gdb.asm/asm-source.exp: Ditto.
20781 * gdb.base/advance.exp: Ditto.
20782 * gdb.base/display.exp: Ditto.
d63a86f8 20783 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
20784 * gdb.base/mips_pro.exp: Ditto.
20785 * gdb.base/overlays.exp: Ditto.
20786 * gdb.base/relocate.exp: Ditto.
20787 * gdb.base/setshow.exp: Ditto.
20788 * gdb.base/step-line.exp: Ditto.
20789 * gdb.base/step-test.exp: Ditto.
20790 * gdb.base/until.exp: Ditto.
20791 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
20792
c71cdefd
DC
207932003-01-17 David Carlton <carlton@math.stanford.edu>
20794
20795 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
20796 corresponding to PR c++/945.
20797 Update copyright.
20798
fdba05d7
DC
207992003-01-17 David Carlton <carlton@math.stanford.edu>
20800
20801 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
20802 corresponding to PR c++/68.
20803
208042003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
20805
20806 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
20807 (test_paddr_hairy_functions): Call print_addr_2_kfail for
20808 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
20809
c362c33a
EZ
208102003-01-15 Elena Zannoni <ezannoni@redhat.com>
20811
0fbc361c
EZ
20812 * gdb.base/break.exp: Fix change of default location, because of
20813 removal of until tests.
20814 * gdb.base/help.exp: Update test for new 'until' help message.
20815 Add test for help on 'advance'.
a9c64011 20816 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 20817
dabf8a35
MK
208182003-01-15 Mark Kettenis <kettenis@gnu.org>
20819
20820 * gdb.base/default.exp: Adapt "info float" test for recent changes
20821 to that command. Add test for "info vector".
20822 * gdb.base/float.exp: New file. Add test for "info float" that
20823 resembles the old test in gdb.base/default.exp.
20824
a1769aca
DC
208252003-01-15 David Carlton <carlton@math.stanford.edu>
20826
20827 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
20828
82025e13
EZ
208292003-01-15 Elena Zannoni <ezannoni@redhat.com>
20830
20831 * gdb.base/break.exp: Move the tests of until command from here...
20832 * gdb.base/until.exp: ... to here. New file. Add other tests.
20833 * gdb.base/advance.c: New file.
20834 * gdb.base/advance.exp: New file.
20835
8f9ab801
EZ
208362003-01-14 Elena Zannoni <ezannoni@redhat.com>
20837
a9c64011
AS
20838 * gdb.base/args.c: New file.
20839 * gdb.base/args.exp: New file.
8f9ab801 20840
9ae66589
DJ
208412003-01-14 Daniel Jacobowitz <drow@mvista.com>
20842
20843 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
20844
8d77e5c3
DJ
208452003-01-14 Daniel Jacobowitz <drow@mvista.com>
20846
20847 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
20848
12d2f0a1
DJ
208492003-01-14 Daniel Jacobowitz <drow@mvista.com>
20850
20851 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
20852 dates.
20853
6ca37014
DJ
208542003-01-13 Daniel Jacobowitz <drow@mvista.com>
20855
20856 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
20857
b0023472
DJ
208582003-01-13 Daniel Jacobowitz <drow@mvista.com>
20859
20860 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
20861 (ptype &*"foo").
20862 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
20863
607fbc54 208642003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
20865
20866 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
20867 * gdb.mi/mi1-console.exp: Likewise.
20868
607fbc54 208692003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
20870
20871 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
20872 * gdb.mi/mi1-console.exp: Likewise.
20873
a1fb14a2
DJ
208742003-01-13 Daniel Jacobowitz <drow@mvista.com>
20875
20876 * gdb.c++/overload.exp: Remove some fixed XFAILs.
20877
c4cf40b7
DJ
208782003-01-09 Daniel Jacobowitz <drow@mvista.com>
20879
20880 * gdb.base/detach.exp: New test.
20881
696d5a5b
DJ
208822003-01-09 Daniel Jacobowitz <drow@mvista.com>
20883
20884 * Makefile.in (ALL_SUBDIRS): New variable.
20885 (subdirs, clean, distclean): Use it.
20886 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
20887 regenerating Makefile, since it is generated from the top level.
20888 * gdb.asm/Makefile.in: Likewise.
20889 * gdb.base/Makefile.in: Likewise.
20890 * gdb.c++/Makefile.in: Likewise.
20891 * gdb.disasm/Makefile.in: Likewise.
20892 * gdb.java/Makefile.in: Likewise.
20893 * gdb.mi/Makefile.in: Likewise.
20894 * gdb.threads/Makefile.in: Likewise.
20895 * gdb.trace/Makefile.in: Likewise.
20896
754533e4
DC
208972003-01-09 David Carlton <carlton@math.stanford.edu>
20898
20899 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
20900 Add copyright year 2003.
20901
d8b3e9ee
MC
209022003-01-06 Michael Chastain <mec@shout.net>
20903
20904 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
20905 When selecting a thread, 'line' and 'file' are optional.
20906 * gdb.mi/mi1-pthreads.exp: Likewise.
20907
8e9e0fe6
AS
209082003-01-06 Andreas Schwab <schwab@suse.de>
20909
20910 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
20911 failures.
20912
b5ab8ff3
DJ
209132003-01-04 Daniel Jacobowitz <drow@mvista.com>
20914
20915 Fix PR gdb/844
20916 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
20917 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
20918
20919 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
20920 instead of calling gdb_suppress_entire_file.
20921 * gdb.threads/print-threads.exp: Likewise.
20922 * gdb.threads/schedlock.exp: Likewise.
20923
20924 * gdb.threads/killed.exp: Return instead of calling
20925 gdb_suppress_entire_file.
20926 * gdb.threads/linux-dp.exp: Likewise.
20927 * gdb.threads/pthreads.exp: Likewise.
20928
1e698235
DJ
209292003-01-04 Daniel Jacobowitz <drow@mvista.com>
20930
20931 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
20932 stabs.
20933 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
20934 * gdb.base/whatis.exp: Always allow (void) after function names.
20935
147ff08c
DJ
209362003-01-04 Daniel Jacobowitz <drow@mvista.com>
20937
20938 * gdb.c++/casts.exp: Correct regexp.
20939
dc62bfc2
MK
209402003-01-04 Mark Kettenis <kettenis@gnu.org>
20941
20942 * configure.in: Call AC_CONFIG_HEADER. Don't call
20943 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
20944 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
20945 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
20946 aforementioned directories in the AC_OUPUT call.
20947 * config.hin: New file.
20948 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
20949 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
20950 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
20951 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
20952 pass -I$objdir instead of -I$objdir/$subdir in compilation.
20953 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
20954 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
20955 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
20956 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
20957 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
20958 gdb.threads/configure.in, gdb.threads/configure,
20959 gdb.threads/config.in, gdb.trace/configure.in,
20960 gdb.trace/configure: Removed.
20961
77afa639
MC
209622003-01-03 Michael Chastain <mec@shout.net>
20963
20964 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
20965 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
20966
7634bb6e
DJ
209672003-01-03 Daniel Jacobowitz <drow@mvista.com>
20968
20969 * gdb.base/store.exp: Fix regular expressions.
20970
b39c905e
MK
209712002-12-28 Mark Kettenis <kettenis@gnu.org>
20972
20973 * configure.in: Rewrite.
20974 * configure: Regenerated.
20975
0a8551dd
DC
209762003-01-03 David Carlton <carlton@math.stanford.edu>
20977
20978 * gdb.base/psymtab.exp: New file.
20979 * gdb.base/psymtab1.c: Ditto.
20980 * gdb.base/psymtab2.c: Ditto.
20981
c60b7188
AF
209822002-12-23 Adam Fedor <fedor@gnu.org>
20983
20984 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
20985
ee73db83
DC
209862002-12-23 David Carlton <carlton@math.stanford.edu>
20987
20988 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
20989 and current_directory initialization.
20990
d6c1774e
JB
209912002-12-22 Jim Blandy <jimb@redhat.com>
20992
f0a847b8
JB
20993 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
20994 rather than as part of the output file name.
20995
d6c1774e
JB
20996 * gdb.base/attach.exp: There's no need to copy the test program to
20997 /tmp; that was only ever necessary on HP/UX, and this test is
20998 entirely disabled there anyway.
20999
f0708dbb
JB
210002002-12-21 Jim Blandy <jimb@redhat.com>
21001
4c2acfea
JB
21002 * gdb.c++/psmang.exp: Doc fix.
21003
f0708dbb
JB
21004 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
21005 test.
21006
9579e000
DC
210072002-12-20 David Carlton <carlton@math.stanford.edu>
21008
21009 * gdb.c++/annota2.exp: KFAIL annotate-quit.
21010
d1810171
MC
210112002-12-18 Michael Chastain <mec@shout.net>
21012
21013 * gdb.c++/annota2.exp: Add copyright year 2002.
21014
76565097
DC
210152002-12-17 David Carlton <carlton@math.stanford.edu>
21016
21017 * gdb.c++/try_catch.cc: Add marker comments.
21018 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
21019 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
21020 * gdb.c++/m-static.cc: Ditto.
21021 * gdb.c++/m-static1.cc: Ditto.
21022 * gdb.c++/try_catch.cc: Ditto.
21023
da81390b
JJ
210242002-12-16 Jeff Johnston <jjohnstn@redhat.com>
21025
21026 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
21027 to see whether we are using the new -environment-directory
21028 command which resets via -r or the old version of the command
21029 which may prompt the user. Part of fix for gdb/741.
21030
b304d130
AC
210312002-12-13 Andrew Cagney <ac131313@redhat.com>
21032
21033 * gdb.fortran/types.exp: Update obsolete comment.
21034 * gdb.fortran/exprs.exp: Ditto.
21035 * lib/gdb.exp: Delete obsolete code.
21036 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
21037 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
21038 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
21039 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
21040 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
21041 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
21042 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
21043 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
21044 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
21045 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
21046 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
21047 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
21048 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
21049 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
21050 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
21051 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
21052 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
21053 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
21054 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
21055 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
21056 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
21057 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
21058 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
21059 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
21060 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
21061 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
21062 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
21063 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
21064 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
21065 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
21066 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
21067 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
21068 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
21069 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
21070 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
21071 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
21072 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
21073
a23b6e6a
DC
210742002-12-11 David Carlton <carlton@math.stanford.edu>
21075
21076 * gdb.c++/m-data.exp: Add test for members that shadow global
21077 variables: see PR gdb/804.
21078 * gdb.c++/m-data.cc: Ditto.
21079
6604731b
DJ
210802002-12-10 Daniel Jacobowitz <drow@mvista.com>
21081
21082 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
21083
de46ecd7
DC
210842002-12-06 David Carlton <carlton@math.stanford.edu>
21085
21086 * gdb.base/store.c: Don't declare functions static.
21087
27e829d0
AC
210882002-12-04 Andrew Cagney <ac131313@redhat.com>
21089
21090 * gdb.base/store.exp, gdb.base/store.c: New files.
21091
92806416
DJ
210922002-12-03 Daniel Jacobowitz <drow@mvista.com>
21093
21094 * gdb.base/selftest.exp: Update for current gdb.
21095
3bcbaac5
DJ
210962002-12-03 Daniel Jacobowitz <drow@mvista.com>
21097
21098 * gdb.base/maint.exp: Only dump symbols from one source file
21099 or objfile.
21100
f4f00b1f
DJ
211012002-12-03 Daniel Jacobowitz <drow@mvista.com>
21102
21103 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
21104 function call.
21105
f1c8a949
JB
211062002-11-25 Jim Blandy <jimb@redhat.com>
21107
21108 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
21109 function appearing in error message.
21110
9e297a97
DJ
211112002-11-21 Daniel Jacobowitz <drow@mvista.com>
21112
21113 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
21114
1f312e79
JJ
211152002-11-08 Jeff Johnston <jjohnstn@redhat.com>
21116
d63a86f8
RM
21117 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
21118 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
21119 should be in mi console format. This is part of fix for PR gdb/604.
21120
83c31e7d
FN
211212002-09-18 Fernando Nasser <fnasser@redhat.com>
21122
21123 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
21124 which explicitly prints the zero offset as "+0".
21125
322b3f65
DJ
211262002-10-22 Daniel Jacobowitz <drow@mvista.com>
21127
21128 * gdb.threads/schedlock.c (args): Make unsigned.
21129
211302002-10-21 Daniel Jacobowitz <drow@mvista.com>
21131
21132 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
21133 numbers. Allow "foo2|selected stack frame".
21134 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
21135 * gdb.asm/asmsrc2.s: Likewise.
21136 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
21137 comments.
21138 * gdb.asm/mips.inc: New file.
21139
5e2fe5b8
AF
211402002-10-18 Adam Fedor <fedor@gnu.org>
21141
21142 * gdb.base/default.exp: Update expected output to include 'ObjC'.
21143 * gdb.base/help.exp: Likewise.
21144
abe1a5d0
KB
211452002-10-17 Kevin Buettner <kevinb@redhat.com>
21146
21147 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
21148 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
21149
10abb1d4
JB
211502002-10-02 Jim Blandy <jimb@redhat.com>
21151
21152 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
21153
1f609b42
AC
211542002-10-01 Andrew Cagney <ac131313@redhat.com>
21155
21156 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
21157 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
21158 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
21159 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
21160 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
21161 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
21162 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
21163
0aee02e4
AC
211642002-09-29 Andrew Cagney <ac131313@redhat.com>
21165
21166 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
21167 * mi0-disassemble.exp, mi0-eval.exp: Delete.
21168 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
21169 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
21170 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
21171 * mi0-var-block.exp, mi0-var-child.exp: Delete.
21172 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 21173
6fde09ad
KB
211742002-09-27 Kevin Buettner <kevinb@redhat.com>
21175
21176 * gdb.base/annota1.exp (info break): Make directory components of
21177 path optional since not all compilers emit this debug information.
21178
889bf7c5
PA
21179 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
21180 step ends up stepping out of the function instead of stopping on
21181 the epilogue.
6fde09ad 21182
9e8aab75
KS
211832002-09-26 Keith Seitz <keiths@redhat.com>
21184
21185 * lib/insight-support.exp (gdbtk_start): Figure out where
21186 the insight executable is based on where gdb is. Use this
21187 executable to start insight instead of gdb.
21188
e36180d7
AC
211892002-09-25 Andrew Cagney <cagney@redhat.com>
21190
21191 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
21192
9dd34b2b
AC
211932002-09-24 Andrew Cagney <ac131313@redhat.com>
21194
21195 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
21196 test_isolated_complaints.
21197 (test_empty_complaint): New function.
21198 (test_empty_complaints): New function. Check no output when no
21199 complaints.
d63a86f8 21200
dea97812
KB
212012002-09-19 Jim Blandy <jimb@redhat.com>
21202
a9c64011 21203 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 21204
54951bd7
AC
212052002-09-19 Andrew Cagney <ac131313@redhat.com>
21206
21207 * gdb.gdb/complaints.exp: New file.
21208
dec43320
AC
212092002-09-18 Andrew Cagney <ac131313@redhat.com>
21210
21211 * gdb.base/maint.exp: Check `help maint internal-warning'.
21212
e70d6e3f
DC
212132002-09-18 David Carlton <carlton@math.stanford.edu>
21214
21215 * gdb.c++/m-static.exp: Remove breakpoints depending on line
21216 numbers, and replace them by a single breakpoint after the
21217 constructors are all finished.
21218 Add test 4.
21219 * gdb.c++/m-static.cc: Add test 4.
21220 * gdb.c++/m-static.h: New file.
21221 * gdb.c++/m-static1.cc: New file.
21222
21223 * gdb.c++/printmethod.exp: New file.
21224 * gdb.c++/printmethod.cc: New file.
21225
21226 * gdb.c++/pr-574.exp: New file.
21227 * gdb.c++/pr-574.cc: New file.
21228
afb5c968
CV
212292002-09-18 Corinna Vinschen <vinschen@redhat.com>
21230
21231 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
21232 embedded targets which never actually exit.
21233
31e45dee
FN
212342002-09-18 Fernando Nasser <fnasser@redhat.com>
21235
21236 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
21237 "don't step after run" as unresolved or unsupported, instead of xfail.
21238
a283c5a1
CV
212392002-09-18 Corinna Vinschen <vinschen@redhat.com>
21240
21241 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
21242 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
21243 Add newline to expected string in "step out of main (status wrapper)"
21244 case.
21245
11350d2a
CV
212462002-09-18 Corinna Vinschen <vinschen@redhat.com>
21247
21248 * lib/gdb.exp (rerun_to_main): Allow restarting application.
21249 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
21250
0deec7d6
TT
212512002-09-17 Tom Tromey <tromey@redhat.com>
21252
21253 * gdb.base/printcmds.exp (test_print_string_constants): Expect
21254 \000, not \0, in double-quoted string.
21255
b2b4a1b5
CV
212562002-09-14 Corinna Vinschen <vinschen@redhat.com>
21257
c9d37158 21258 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
21259 string after running the commands execution on breakpoint tests.
21260
1c56143a
CV
212612002-09-13 Corinna Vinschen <vinschen@redhat.com>
21262
21263 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
21264
37f8da45
JB
212652002-09-12 Joel Brobecker <brobecker@gnat.com>
21266
21267 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
21268
08b468e0
KS
212692002-09-10 Keith Seitz <keiths@redhat.com>
21270
21271 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
21272 runto proc.
21273 (mi_run_to_main): Use mi_runto.
21274 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
21275
dc360f58
KS
212762002-09-10 Keith Seitz <keiths@redhat.com>
21277
21278 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
21279 regexp for stopping at main. Could have multiple event notifications.
21280 Don't assume that main was declared with no parameters.
21281 (mi_next): Use mi_step_to.
21282 (mi_step): Use mi_next_to.
21283
ce3abcfb
CV
212842002-09-09 Corinna Vinschen <vinschen@redhat.com>
21285
21286 * gdb.base/default.exp: Fix expected string in `info float' test.
21287
d1f5b980
BE
212882002-09-09 Ben Elliston <bje@redhat.com>
21289
21290 * config/mips.exp: Update comments.
21291 * config/mips-idt.exp: Likewise.
21292 * config/nind.exp: Likewise.
21293 * config/slite.exp: Likewise.
21294 * config/sparclet.exp: Likewise.
21295 * config/udi.exp: Likewise.
21296 * config/vx.exp: Likewise.
21297 * config/vxworks29k.exp: Likewise.
21298
2f71430b
JB
212992002-09-05 Jim Blandy <jimb@redhat.com>
21300
21301 * gdb.threads/killed.exp: Fix test failure message.
21302
7ddebc7e
KS
213032002-09-04 Keith Seitz <keiths@redhat.com>
21304
21305 * lib/mi-support.exp: Update copyright.
21306 (mi_gdb_test): Increase the priority of the expected pattern
21307 so that it matches gdb_test.
21308
0ae67eb3
KS
213092002-09-03 Keith Seitz <keiths@redhat.com>
21310
21311 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
21312 Use integer comparison instead of string comparison for testing
21313 whether binary was built.
21314
38fc42c8
JB
213152002-09-03 Jim Blandy <jimb@redhat.com>
21316
21317 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
21318
b6ff0e81
JB
213192002-08-29 Jim Blandy <jimb@redhat.com>
21320
21321 * gdb.threads/pthreads.exp: Move the portable thread compilation
21322 code into a function in lib/gdb.exp, and call that from here.
21323 * lib/gdb.exp (gdb_compile_pthreads): New function.
21324
07c98896
KS
213252002-08-29 Keith Seitz <keiths@redhat.com>
21326
21327 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
21328 expect_out so that callers can get at it.
21329
0312286c
DJ
213302002-08-23 Daniel Jacobowitz <drow@mvista.com>
21331
21332 * gdb.threads/print-threads.c: New file.
21333 * gdb.threads/print-threads.exp: New file.
21334 * gdb.threads/schedlock.c: New file.
21335 * gdb.threads/schedlock.exp: New file.
21336
dd039bc4
EZ
213372002-08-22 Elena Zannoni <ezannoni@redhat.com>
21338
a9c64011
AS
21339 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
21340 not altivec.c.
dd039bc4 21341
1f36144c
MK
213422002-08-17 Mark Kettenis <kettenis@gnu.org>
21343
21344 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
21345 targets. The problem should be fixed now.
21346
16057ec7 213472002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
21348
21349 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
21350 2002-07-24 change that removes final dots from error messages.
21351
3c1499ad
TT
213522002-08-13 Tom Tromey <tromey@redhat.com>
21353
21354 * gdb.base/readline.exp: New file.
21355
a20ce2c3
AC
213562002-08-01 Andrew Cagney <ac131313@redhat.com>
21357
21358 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
21359 supress message.
21360
db034ac5
AC
213612002-08-01 Andrew Cagney <cagney@redhat.com>
21362
21363 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
21364 CHILL_FOR_TARGET and CHILL_LIB.
21365 * configure.in (configdirs): Remove gdb.chill.
21366 * configure: Regenerate.
21367 * lib/gdb.exp: Obsolete references to chill.
21368 * gdb.fortran/types.exp: Ditto.
21369 * gdb.fortran/exprs.exp: Ditto.
21370
3e000b18
KB
213712002-07-30 Kevin Buettner <kevinb@redhat.com>
21372
21373 * gdb.base/shlib-call.exp (additional_flags): Conditionally
21374 set Irix-specific compile and link flags.
21375
28f4966b
KB
213762002-07-29 Kevin Buettner <kevinb@redhat.com>
21377
21378 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
21379 source files. The ``-o'' option doesn't work with the ``-E'' option
21380 when using the Irix compiler.
21381
46c0d5a6
DJ
213822002-07-19 Daniel Jacobowitz <drow@mvista.com>
21383
21384 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
21385 Improve support for reusing an exec file. Copy exec file
21386 to target, and run gdbserver on the target instead of on the host.
21387
eecf4bed
JB
213882002-07-18 Jim Blandy <jimb@redhat.com>
21389
0f815cdf
JB
21390 * gdb.base/ending-run.exp: Don't expect to see the program end in
21391 some orderly fashion when we're running on a real stand-alone
21392 board.
21393
eecf4bed
JB
21394 * gdb.base/interrupt.exp: Correct logic for skipping tests on
21395 targets that don't support interrupts.
21396
52d309e4
JB
213972002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
21398
21399 * gdb.base/attach.exp: Add patterns to match output from /proc-based
21400 systems.
21401 Move comments in expect statements to inside the actions, so that they
21402 don't get matched against.
21403
ff683d9e
MK
214042002-07-10 Mark Kettenis <kettenis@gnu.org>
21405
21406 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
21407 function when asleep" test.
21408
b5356753
AC
214092002-07-10 Andrew Cagney <ac131313@redhat.com>
21410
21411 * gdb.base/page.exp: Rewrite to handle problems with very long
21412 `info set' output. Update copyright.
21413
6aa4d13a
AC
214142002-06-26 Andrew Cagney <ac131313@redhat.com>
21415
21416 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
21417 gdb.threads-hp.
21418 * gdb.hp/configure: Regenerate.
21419 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
21420 * gdb.hp/gdb.threads-hp/configure: Delete file.
21421 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
21422
8cf8c2b8
AC
214232002-06-22 Andrew Cagney <ac131313@redhat.com>
21424
21425 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
21426 setlocale, bindtextdomain and textdomain.
21427
6827a8f8
JB
214282002-06-11 Jim Blandy <jimb@redhat.com>
21429
919d772c
JB
21430 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
21431 preprocessor macro information is present.
21432
6827a8f8
JB
21433 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
21434 tests.
21435
c15b0d21
MS
214362002-06-06 Michael Snyder <msnyder@redhat.com>
21437
c5984d70
MS
21438 * gdb.base/overlays.exp: Record addresses of overlay
21439 functions in TCL variables rather than in GDB variables,
21440 to avoid having GDB convert them to pointers (with loss
21441 of information).
21442
d63a86f8 21443 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 21444 default linker script changes.
c15b0d21
MS
21445 * gdb.base/long_long.exp: Add check for sizeof (long double).
21446
be26fe0d
ML
214472002-06-06 Michal Ludvig <mludvig@suse.cz>
21448
21449 * gdb.asm/asm-source.exp: Add x86-64 target.
21450 * gdb.asm/x86_64.inc: New.
d63a86f8 21451
258093ca 214522002-05-30 Michael Chastain <mec@shout.net>
258093ca 21453
4b3153f1 21454 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
21455 * gdb.c++/m-static.cc: New file.
21456 * gdb.c++/m-static.exp: New file.
21457
241264c6
MS
214582002-05-28 Michael Snyder <msnyder@redhat.com>
21459
21460 * gdb.base/call-ar-st.exp: Allow for reduced floating point
21461 precision.
21462
9bba8c8f 214632002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 21464
4b3153f1 21465 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
21466 * gdb.c++/m-data.cc: New file.
21467 * gdb.c++/m-data.exp: New file.
21468
214692002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 21470
4b3153f1 21471 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 21472 * gdb.c++/try_catch.cc: New file.
d63a86f8 21473 * gdb.c++/try_catch.exp: New file.
9bba8c8f 21474
def1b996
MC
214752002-05-27 Michael Chastain <mec@shout.net>
21476
21477 * gdb.c++/local.exp: Accept more nested types in output.
21478
522ba268
MC
214792002-05-26 Michael Chastain <mec@shout.net>
21480
21481 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
21482
277254ba
MS
214832002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
21484
21485 * lib/gdb.exp (gdb_wrapper_init): Just because
21486 gdb_wrapper_file exists, this does not mean that the file
21487 should not be rebuilt. That is what gdb_wrapper_initialized
21488 is for.
21489 (default_gdb_init): Reset gdb_wrapper_initialized.
21490
b61a8733
MS
214912002-05-23 Michael Snyder <msnyder@redhat.com>
21492
d63a86f8 21493 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
21494 the precision of the floating point test results.
21495 * gdb.base/call-rt-st.exp: Ditto.
21496
b61a8733
MS
21497 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
21498 * gdb.base/call-rt-st.exp: Ditto.
21499
56f6e910
MC
215002002-05-19 Michael Chastain <mec@shout.net>
21501
21502 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
21503
ad0b0016
EZ
215042002-05-19 Elena Zannoni <ezannoni@redhat.com>
21505
a9c64011
AS
21506 * configure.in (configdirs): Add gdb.arch.
21507 * configure: Regenerate.
ad0b0016 21508
f617d2b6
JB
215092002-05-17 Jim Blandy <jimb@redhat.com>
21510
21511 * gdb.base/completion.exp: Recognize the more detailed error
21512 messages produced by the macro expander's lexical analyzer.
21513
eac2a696
EZ
215142002-05-14 Elena Zannoni <ezannoni@redhat.com>
21515
a9c64011
AS
21516 * gdb.arch/altivec-abi.c: New file.
21517 * gdb.arch/altivec-abi.exp: New file.
21518 * gdb.arch/altivec-regs.c: New file.
21519 * gdb.arch/altivec-regs.exp: New file.
eac2a696 21520
2fdde8f8
DJ
215212002-05-14 Daniel Jacobowitz <drow@mvista.com>
21522
21523 * gdb.base/maint.exp (maint print type): Update for new type
21524 structure.
d63a86f8 21525
e31f1a7c
EZ
215262002-05-14 Elena Zannoni <ezannoni@redhat.com>
21527
21528 * gdb.arch: New directory.
21529 * gdb.arch/configure.in: New file.
21530 * gdb.arch/configure: New file.
21531 * gdb.arch/Makefile.in: New file.
21532
db589741
CV
215332002-05-13 Corinna Vinschen <vinschen@redhat.com>
21534
21535 * gdb.asm/asm-source.exp: Add v850 as supported target.
21536 * gdb.asm/v850.inc: New file.
21537
8ce2a7dc
DJ
215382002-05-13 Daniel Jacobowitz <drow@mvista.com>
21539
21540 * gdb.c++/annota2.exp (annotate-quit): Add comment.
21541
df763c7f
DJ
215422002-05-12 Daniel Jacobowitz <drow@mvista.com>
21543
21544 * gdb.base/break.exp: Check 'break "marker2"'.
21545
377daeed
MS
215462002-05-10 Michael Snyder <msnyder@redhat.com>
21547
21548 * gdb.base/long_long.exp: Fix typo.
21549
c4b7bc2b
JB
215502002-05-10 Jim Blandy <jimb@redhat.com>
21551
ecac9a4e
JB
21552 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
21553 a bug.
21554
c4b7bc2b
JB
21555 * gdb.base/printcmds.exp (test_integer_literals_rejected):
21556 Recognize more detailed error message produced by the macro
21557 expander's lexical analyzer.
21558 * lib/gdb.exp (test_print_reject): Same.
21559
e71019a1
MK
215602002-05-09 Mark Kettenis <kettenis@gnu.org>
21561
21562 * gdb.c++/method.exp: Fix typo.
21563
fedfc8e6
MS
215642002-05-08 Michael Snyder <msnyder@redhat.com>
21565
166a1957
MS
21566 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
21567 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 21568 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
21569 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
21570 Add iftarget clause for strongarm.
d63a86f8 21571
f1c47eb2
MS
215722002-05-06 Michael Snyder <msnyder@redhat.com>
21573
cb9a9d3e
MS
21574 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
21575 (gdb_continue_to_end): Accept output from status wrapper.
21576 * gdb.base/ending-run.exp: Add case for output from status wrapper.
21577 Clean up fail messages to match pass messages.
21578
f1c47eb2
MS
21579 Enable the "needs_status_wrapper" testsuite feature.
21580 * lib/gdb.exp (gdb_wrapper_init): New procedure.
21581 (gdb_compile): Conditionally call gdb_wrapper_init.
21582 * gdb.base/a2-run.exp: Recognize output from status wrapper.
21583 * gdb.c++/method.exp: Recognize output from status wrapper.
21584
6079c749
BE
215852002-05-06 Ben Elliston <bje@redhat.com>
21586From Graydon Hoare <graydon@redhat.com>
21587
21588 * config/sid.exp: Include support for "rawsid" protocol.
21589
188baff3
JB
215902002-05-03 Jim Blandy <jimb@redhat.com>
21591
21592 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
21593 * gdb.c++/hang3.C: New file.
21594
b9c07f0f
AC
215952002-05-04 Andrew Cagney <ac131313@redhat.com>
21596
21597 * gdb.base/default.exp: Remove obsolete code.
21598 * gdb.c++/misc.exp: Ditto. Update copyright.
21599 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
21600 * gdb.base/whatis.exp: Ditto. Update copyright.
21601 * gdb.base/scope.exp: Ditto. Update copyright.
21602 * gdb.base/ptype.exp: Ditto. Update copyright.
21603 * gdb.base/printcmds.exp: Ditto. Update copyright.
21604 * gdb.base/opaque.exp: Ditto. Update copyright.
21605 * gdb.base/list.exp: Ditto.
21606 * gdb.base/funcargs.exp: Ditto. Update copyright.
21607 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
21608 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
21609 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
21610 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
21611 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
21612 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
21613
5c7a0397
MS
216142002-05-02 Michael Snyder <msnyder@redhat.com>
21615
d6dcc264 21616 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
21617 * gdb.base/long_long.exp: Add xscale target.
21618 * gdb.base/default.exp: Add xscale target.
21619
eb7f1c48
JB
216202002-05-01 Jim Blandy <jimb@redhat.com>
21621
21622 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
21623 gdb.c++/hang.exp: New test.
21624
a6befae8
FF
216252002-05-01 Fred Fish <fnf@redhat.com>
21626
21627 * gdb.base/completion.exp: Handle completions of "./Make" for
21628 more than one completion possibility, as is the case when we
21629 build and test in the source tree.
21630
0a310277
AG
216312002-04-29 Anthony Green <green@redhat.com>
21632
21633 * gdb.java/jmisc1.exp: New file.
21634 * gdb.java/jmisc2.exp: New file.
21635
6ff9af88
DJ
216362002-04-24 Daniel Jacobowitz <drow@mvista.com>
21637
21638 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
21639
96b3d632
EZ
216402002-04-23 Elena Zannoni <ezannoni@redhat.com>
21641
21642 * gdb.base/help.exp: Change 'help status' to allow for target
21643 dependent output differences.
21644
5019bb54
MC
216452002-04-22 Michael Chastain <mec@shout.net>
21646
21647 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
21648
a805a116
MC
216492002-04-22 Michael Chastain <mec@shout.net>
21650
21651 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
21652
a1706bfd
DM
216532002-04-17 David S. Miller <davem@redhat.com>
21654
21655 * gdb.asm/sparc64.inc: New file.
21656 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
21657
a73a20a2
EZ
216582002-04-19 Elena Zannoni <ezannoni@redhat.com>
21659
21660 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
21661 instruction file directly into the build tree. Clean up at end of
21662 test.
21663
ba678339
DM
216642002-04-18 David S. Miller <davem@redhat.com>
21665
21666 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
21667 handle 64-bit platforms correctly.
21668 * gdb.base/maint.exp: Likewise.
21669
b03399da
KB
216702002-04-18 Kevin Buettner <kevinb@redhat.com>
21671
21672 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
21673 ``-fpic'' when compiling files comprising a shared library, but
21674 it does need additional linker flags in order to find shared
21675 libraries at run time.
21676
e2004992
KB
216772002-04-18 Kevin Buettner <kevinb@redhat.com>
21678
21679 * gdb.base/cvexpr.c (use): New function.
21680 (main): Invoke use() on all global variables to prevent
21681 some linkers from deleting these otherwise unused symbols.
21682
d8937120
MC
216832002-04-17 Michael Chastain <mec@shout.net>
21684From David S. Miller <davem@redhat.com>
21685
21686 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
21687 handle 64-bit platforms correctly.
21688
ffd61a58
MS
216892002-04-12 Michael Snyder <msnyder@redhat.com>
21690From Jim Blandy <jimb@redhat.com>
a9c64011 21691 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
21692 script can handle this instead.
21693 * gdb.base/bar.c (barx): Same.
21694 * gdb.base/baz.c (bazx): Same.
21695 * gdb.base/grbx.c (grbxx): Same.
21696
21697 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
21698 manager doesn't automatically unmap overlays unnecessarily.
21699
6b8426a6
MH
217002002-04-10 Martin M. Hunt <hunt@redhat.com>
21701
21702 * gdb.base/ending-run.exp: Fix pattern for Mips targets
21703 stepping out of main.
21704
34af4875
MC
217052002-04-09 Michael Chastain <mec@shout.net>
21706
21707 * gdb.c++/local.cc (main): Move call to marker1() inside nested
21708 scope so that the nested scope tests will make sense.
21709 * gdb.c++/local.exp: Write patterns that actually work with gcc
21710 (the HP patterns "were never known to work with gcc").
21711 Keep the old aCC patterns too.
21712
2d1676a0
DJ
217132002-04-09 Daniel Jacobowitz <drow@mvista.com>
21714
21715 * gdb.base/attach.exp: Correct target board test.
21716
3a63e3f9
MC
217172002-04-08 Michael Chastain <mec@shout.net>
21718
21719 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
21720 in a const method. Add some xfail and fail cases for configurations
21721 that do not emit the "const ...".
21722
f18dabd2
MC
217232002-04-07 Michael Chastain <mec@shout.net>
21724
21725 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
21726 Accept "A * const" and "const A * const" as type of "this".
21727 Fix spelling of getFunky throughout. Make messages uniform.
21728
0fcddd82
EZ
217292002-04-07 Elena Zannoni <ezannoni@redhat.com>
21730
a9c64011 21731 Work around for PR gdb/285:
0fcddd82
EZ
21732 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
21733
16a8534a
EZ
217342002-04-07 Elena Zannoni <ezannoni@redhat.com>
21735
21736 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
21737 instructions file at run time instead of configure time.
21738 Sometimes we run the test in a directory that is not the one we
21739 configured in.
21740 * gdb.asm/configure.in: Delete creation of symlink.
21741 * gdb.asm/configure: Regenerate.
21742
24181d81
JB
217432002-04-05 J. Brobecker <brobecker@gnat.com>
21744
21745 * gdb.gdb/xfullpath.exp: New test, to exercise the new
21746 xfullpath () function.
21747
7cdb7107
DJ
217482002-04-04 Daniel Jacobowitz <drow@mvista.com>
21749
21750 * gdb.asm/Makefile.in: Correct dependencies.
21751
21752 * gdb.asm/powerpc.inc: New file.
21753 * gdb.asm/asm-source.exp: Add PowerPC.
21754 * gdb.asm/configure.in: Likewise.
21755 * gdb.asm/configure: Regenerated.
21756
a7d17088
DJ
217572002-04-04 Daniel Jacobowitz <drow@mvista.com>
21758
21759 * gdb.base/relocate.exp: New file.
21760 * gdb.base/relocate.c: New file.
21761
cd721503
FF
217622002-04-04 Fred Fish <fnf@redhat.com>
21763
21764 * gdb.base/step-test.exp: Update comment regarding stopping in
21765 memcpy/bcopy calls inserted as part of the compiler runtime.
21766
b22ad7a7
MS
217672002-04-04 Michael Snyder <msnyder@redhat.com>
21768
21769 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
21770
5f279fa6
DJ
217712002-04-03 Daniel Jacobowitz <drow@mvista.com>
21772
21773 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
21774 (gdb_expect): Remove $notransfer hack.
21775
dd0fd3ce
DJ
217762002-04-02 Daniel Jacobowitz <drow@mvista.com>
21777
21778 * gdb.c++/classes.exp ("calling method for small class"): Match
21779 updated register output.
21780
1e50cda1
DJ
217812002-03-30 Daniel Jacobowitz <drow@mvista.com>
21782
21783 Fix PR gdb/452
21784 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
21785 when finished. Make gdb_file_cmd send "exec-file" when
21786 appropriate.
21787
24015922
DJ
217882002-03-30 Daniel Jacobowitz <drow@mvista.com>
21789
21790 * gdb.base/attach.exp: Remove extra setup_xfail.
21791
dd7dfd64
MS
217922002-03-26 Michael Snyder <msnyder@redhat.com>
21793
21794 * gdb.base/default.exp: Add tests for dump, append, and restore.
21795 * gdb.base/help.exp: Add tests for dump, append, and restore.
21796 * gdb.base/dump.exp: New file, test dump, append and restore.
21797 * gdb.base/dump.c: New file.
21798
48b2f8d7
MS
217992002-03-27 Michael Snyder <msnyder@redhat.com>
21800
d63a86f8 21801 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
21802 clean-ups in help messages.
21803
05b4d525
FF
218042002-03-26 Fred Fish <fnf@redhat.com>
21805
21806 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
21807 have debugging info for those functions and the compiler uses them
21808 internally to copy structs around.
21809
d7679631
FF
218102002-03-26 Fred Fish <fnf@redhat.com>
21811
21812 * gdb.base/list.exp: Revert the change made yesterday and add note
21813 about why we don't list the default lines for remote targets.
21814
523ac3f9
MS
218152002-03-25 Michael Snyder <msnyder@redhat.com>
21816
21817 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
21818
754b2b8d
FF
218192002-03-25 Fred Fish <fnf@redhat.com>
21820
21821 * gdb.base/list.exp: This test works on remote targets so remove
21822 the short circuit for remote targets. Update copyright.
21823
33c3e192
FF
218242002-03-25 Fred Fish <fnf@redhat.com>
21825
21826 * gdb.base/attach.exp: Fix logic error that was suppressing this
21827 test for all non hppa*-*-hpux* targets, instead of the hp target.
21828 Move comments closer to the suppression point. Also now need to
21829 check that we are running natively.
21830
d43e73ee
MS
218312002-03-22 Michael Snyder <msnyder@redhat.com>
21832
882c8f02
MS
21833 * gdb.base/default.exp: Add test for gcore. Update copyright.
21834 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 21835
04c12f60
FF
218362002-03-06 Fred Fish <fnf@redhat.com>
21837
21838 * gdb.base/funcargs.c: Remove extraneous ';' character.
21839 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
21840
b43df995
MC
218412002-03-04 Michael Chastain <mec@shout.net>
21842
21843 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
21844 accommodate gcc v3 function signature.
21845 * gdb.mi/mi0-var-cmd-exp: Ditto.
21846
92362027
AC
218472002-02-24 Andrew Cagney <ac131313@redhat.com>
21848
21849 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
21850 ``GNU/Linux'' or ``Linux kernel''
21851 * testsuite/gdb.threads/pthreads.c: Ditto.
21852
258ad32d
MC
218532002-02-24 Michael Chastain <mec@shout.net>
21854
21855 * gdb.threads/pthreads.c (thread1): Add a return statement.
21856 (thread2): Likewise.
21857 (foo): Likewise.
21858
04c3b3d4
MC
218592002-02-23 Michael Chastain <mec@shout.net>
21860
21861 * gdb.threads/linux-dp.c (philosopher): Add a return statement
21862 to placate gcc.
21863
5a2a0a20
MC
218642002-02-23 Michael Chastain <mec@shout.net>
21865
21866 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
21867 test "ptype bint". The test passes on all my stabs configurations.
21868
a640f7fc
JB
218692002-02-21 Jim Blandy <jimb@redhat.com>
21870
27924826
JB
21871 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
21872 filename at a time, and watch for the ones we want to see.
21873
a640f7fc
JB
21874 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
21875 types of pointers to prototyped functions.
21876
edcc8c75
AC
218772002-02-20 Andrew Cagney <ac131313@redhat.com>
21878
21879 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
21880 signed, unsigned and straight char.
21881 (padding_char, padding_short, padding_int, padding_long,
21882 padding_long_long, padding_float, padding_double,
21883 padding_long_double): New global variables.
21884 (fill, fill_structs): New functions.
21885
21886 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
21887 for correctly sized writes. Update copyright.
21888 (get_valueof): New procedure.
21889 (get_sizeof): Call get_valueof.
21890 (check_valueof): New procedure.
21891 (check_padding): New procedure.
21892
ac57ea44
MC
218932002-02-20 Michael Chastain <mec@shout.net>
21894
21895 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
21896 to setup_xfail. Document some of the remaining calls.
21897
7a10c941
MC
218982002-02-18 Michael Chastain <mec@shout.net>
21899
21900 * gdb.c++/userdef.exp: Update copyright year.
21901
fb8acdcc
DJ
219022002-02-18 Daniel Jacobowitz <drow@mvista.com>
21903
21904 * gdb.c++/userdef.exp: Test overloaded operators properly.
21905 Remove xfails.
21906
fda6ae12
MS
219072002-02-14 Michael Snyder <msnyder@redhat.com>
21908
21909 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
21910
676a0442
DJ
219112002-02-14 Daniel Jacobowitz <drow@mvista.com>
21912
21913 * gdb.base/a2-run.exp: Check for a remote target properly.
21914 * gdb.base/annota1.exp: Likewise.
21915 * gdb.base/list.exp: Likewise.
21916 * gdb.base/reread.exp: Likewise.
21917 * gdb.base/scope.exp: Likewise.
21918 * gdb.base/shlib-call.exp: Likewise.
21919 * gdb.base/term.exp: Likewise.
21920 * gdb.c++/annota2.exp: Likewise.
21921
78b4f468
RE
219222002-02-13 Richard Earnshaw <rearnsha@arm.com>
21923
21924 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
21925
9a81ba51
MC
219262002-02-10 Michael Chastain <mec@shout.net>
21927
21928 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
21929 (call_after_alloca): Ditto.
21930
004af6c7
DJ
219312002-02-10 Daniel Jacobowitz <drow@mvista.com>
21932
21933 * gdb.base/ending-run.exp: Guard "cont" test with
21934 gdb_skip_stdio_test.
21935
37225f62
JB
219362002-02-06 Jim Blandy <jimb@redhat.com>
21937
21938 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
21939 from here...
21940 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
21941 To here. Disable this test on non-HP platforms. Add big comment.
21942
fe6fdd96
MS
219432002-02-04 Michael Snyder <msnyder@redhat.com>
21944
21945 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
21946 other than d10v and m32r.
21947
036fad3f
RE
219482002-02-02 Richard Earnshaw <rearnsha@arm.com>
21949
21950 * gdb.base/default.exp: Rewrite test patterns to reduce time
21951 taken to match them.
21952
7148ab62
DJ
219532002-01-30 Daniel Jacobowitz <drow@mvista.com>
21954
21955 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
21956 Allow a start function above main.
21957 * gdb.threads/linux-dp.exp: Fix copyright date.
21958
396cc255
DJ
219592002-01-30 Daniel Jacobowitz <drow@mvista.com>
21960
a9c64011
AS
21961 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
21962 (check_philosopher_stack): Check for manager thread before checking
21963 for a just-starting thread.
396cc255 21964
f038d31b
DJ
219652002-01-30 Daniel Jacobowitz <drow@mvista.com>
21966
21967 From Neil Booth <neil@daikokuya.demon.co.uk>:
21968 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
21969 warnings.
21970
b3ff9d9a
FF
219712002-01-21 Fred Fish <fnf@redhat.com>
21972
21973 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
21974 not caller.
21975
39ad761d
JB
219762002-01-21 Jim Blandy <jimb@redhat.com>
21977
21978 * gdb.base/reread.exp: Check that GDB properly re-reads the
21979 executable file when it changes while no inferior is running.
21980
aaf320fa
FF
219812002-01-21 Fred Fish <fnf@redhat.com>
21982
a9c64011
AS
21983 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
21984 optionally accept the "shlib events" variation.
aaf320fa 21985
808a31f5
JB
219862002-01-21 Jim Blandy <jimb@redhat.com>
21987
21988 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
21989 call `fflush' after every `printf', so that the output is produced
21990 at predictable points, regardless of whatever buffering does (or
21991 doesn't) take place.
21992 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
21993 at different points.
21994
4420d5e2
DJ
219952002-01-20 Daniel Jacobowitz <drow@mvista.com>
21996
21997 * gdb.c++/inherit.exp: Update copyright years.
21998 * gdb.c++/method.exp: Likewise.
21999
3e36a0f4
DJ
220002002-01-20 Daniel Jacobowitz <drow@mvista.com>
22001
22002 * gdb.c++/classes.exp: Update for improved v3 support and skipping
22003 artificial methods/arguments.
22004 * gdb.c++/derivation.exp: Likewise.
22005 * gdb.c++/inherit.exp: Likewise.
22006 * gdb.c++/method.exp: Likewise.
22007 * gdb.c++/virtfunc.exp: Likewise.
22008
b4ceaee6
AC
220092002-01-18 Andrew Cagney <ac131313@redhat.com>
22010
22011 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
22012 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
22013 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
22014 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
22015 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
22016 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
22017
ecace851
JB
220182002-01-17 Jim Blandy <jimb@redhat.com>
22019
22020 * gdb.asm/asm-source.exp (info symbol): Take another shot at
22021 anchoring the pattern matching the entry point symbol's name.
22022
375fc983
AC
220232002-01-17 Andrew Cagney <ac131313@redhat.com>
22024
22025 * gdb.base/maint.exp: Update ``maint internal-error'' to match
22026 continue/quit query. Update copyright.
22027
fe6fdd96
MS
220282002-01-14 Michael Snyder <msnyder@redhat.com>
22029
22030 * gdb.base/gcore.exp: Remove extra debugging output.
22031
e017c81f
DJ
220322002-01-13 Daniel Jacobowitz <drow@mvista.com>
22033
22034 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
22035 for slightly dubious v2 mangled string.
22036
37ab3bf8
DJ
220372002-01-13 Daniel Jacobowitz <drow@mvista.com>
22038
22039 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
22040
1bc05c3a 220412002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 22042
1bc05c3a 22043 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 22044
1bc05c3a
JM
22045 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
22046 constructors.
22047 * gdb.c++/derivation.exp: Likewise.
22048 * gdb.c++/templates.exp: Likewise.
22049 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 22050
1bc05c3a
JM
220512002-01-10 Michael Snyder <msnyder@redhat.com>
22052
22053 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 22054
a911c360
MS
220552002-01-08 Michael Snyder <msnyder@redhat.com>
22056
22057 * gdb.base/gcore.exp: New test for generate-core-file command.
22058 * gdb.base/gcore.c: Testcase for above.
22059 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
22060
ea2119ec
JM
220612002-01-08 Jason Merrill <jason@redhat.com>
22062
22063 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
22064
68203136
FF
220652002-01-07 Fred Fish <fnf@redhat.com>
22066
22067 * gdb.c++/overload.exp: Remove unconditional xfails for:
22068 print foo_instance1.overloadargs(1)
22069 print foo_instance1.overloadargs(1, 2)
22070 print foo_instance1.overloadargs(1, 2, 3)
22071 print foo_instance1.overloadargs(1, 2, 3, 4)
22072 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
22073 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
22074 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
22075 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
22076 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
22077 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
22078 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
22079 print foo_instance1.overload1arg()
22080 print foo_instance1.overload1arg((char)arg2)
22081 print foo_instance1.overload1arg((signed char)arg3)
22082 print foo_instance1.overload1arg((unsigned char)arg4)
22083 print foo_instance1.overload1arg((int)arg7)
22084 print foo_instance1.overload1arg((unsigned int)arg8)
22085 print foo_instance1.overload1arg((float)arg11)
22086 print foo_instance1.overload1arg((double)arg12)
d63a86f8 22087
21b9b5b1
MS
220882002-01-07 Michael Snyder <msnyder@redhat.com>
22089
22090 * gdb.base/huge.exp: New test. Print a very large target data object.
22091 (skip_huge_test): New test variable. Define if you want to skip this
22092 test. The test reads an 8 megabyte data object from the target, so it
22093 might be very time consuming on remote targets with a slow connection.
22094 * gdb.base/huge.c: New file. Test case for above.
22095
725f922e
FF
220962002-01-07 Fred Fish <fnf@redhat.com>
22097
22098 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
22099 g_instance.bfoo, and g_instance.cfoo.
22100
889bf7c5 221012002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 22102
889bf7c5
PA
22103 * gdb.base/break.c (multi_line_if_conditional): New function.
22104 (multi_ilne_while_conditional): Likewise.
22105 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
22106 IF or WHILE condition puts the breakpoint at the start of
22107 the condition.
f286b2c3 22108
634d57ec
JL
22109 * gdb.base/selftest.exp (backtrace through signal handler): Remove
22110 hppa*-*-hpux* expected failure.
22111 * gdb.base/structs.exp (do_function_calls): Similarly.
22112
22113 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
22114 watchpoints.
22115
9fbfe2dc
AC
221162002-01-06 Andrew Cagney <ac131313@redhat.com>
22117
22118 Fix PR gdb/66.
22119 * gdb.base/structs.exp: Replace skip for a29k with skip for
22120 gdb,cannot_call_functions.
22121 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
22122 * gdb.base/callfuncs.exp: Ditto.
22123 * gdb.base/call-rt-st.exp: Ditto.
22124 * gdb.base/call-strs.exp: Ditto.
22125 * gdb.base/callfwmall.exp: Ditto.
22126 * gdb.base/scope.exp: Obsolete xfail a29k.
22127 * gdb.c++/misc.exp: Ditto.
22128 * gdb.c++/cplusfuncs.exp: Ditto.
22129 * gdb.base/ptype.exp: Ditto.
22130 * gdb.base/printcmds.exp: Ditto.
22131 * gdb.base/opaque.exp: Ditto.
22132 * gdb.base/list.exp: Ditto.
22133 * gdb.base/funcargs.exp: Ditto.
22134 * gdb.base/default.exp: Ditto.
22135
8ddad156
MS
221362002-01-04 Michael Snyder <msnyder@redhat.com>
22137
ca4976a6 22138 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
22139 * gdb.base/maint.exp: Add tests for maint info sections options.
22140
1b074332
JL
22141Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
22142
22143 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
22144
7d159115
CV
221452001-12-20 Corinna Vinschen <vinschen@redhat.com>
22146
22147 * gdb.asm/arm.inc: New file.
22148 * gdb.asm/asm-source.exp: Add arm targets.
22149 * gdb.asm/configure.in: Ditto.
22150 * gdb.asm/configure: Recreated from configure.in.
22151
8fb87725
JL
22152Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
22153
afabe08c
JL
22154 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
22155 with HP's compiler.
22156 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
22157 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
22158 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
22159 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
22160
22161 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
22162 either HP's compilers or GCC.
22163
db521deb
JL
22164 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
22165 a SIGBUS or SIGSEGV.
22166
22167 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
22168
22169 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
22170 can be compiled with either HP's compiler or GCC.
22171
cfa88ab7
JL
22172 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
22173 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
22174 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
22175
ca344dff
JL
22176 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
22177 to match current gdb output. Update due to using auto-solib-limit
22178 for limiting instead of overloading auto-solib-add.
22179 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
22180 test program.
22181
3f3c6e55 22182 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
22183 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
22184 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
22185 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
22186 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
22187 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
22188 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
22189 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
22190 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
22191 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
22192 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
22193 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
22194 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 22195
8fb87725
JL
22196 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
22197 a SIGTRAP to the inferior.
22198
cf599fa7
CV
221992001-12-19 Corinna Vinschen <vinschen@redhat.com>
22200
22201 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
22202 Substitute call to target_link by call to gdb_compile.
22203
2cd045cd
JL
22204Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
22205
a9c64011
AS
22206 * gdb.base/break.exp: Fix HP specific search string when testing
22207 backtracing in a called function.
2cd045cd 22208
a9c64011
AS
22209 * gdb.base/constvars.exp: Only set lang to C++ if we're
22210 compiling the test with HP's compilers.
22211 * gdb.base/volatile.exp: Similarly.
2cd045cd 22212
99ebe9ac
JB
222132001-12-19 Jim Blandy <jimb@redhat.com>
22214
22215 * gdb.base/printcmds.exp: Expect the null character to be printed
22216 as '\0', and the '\013' to be printed as '\v'.
22217 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
22218 * gdb.base/setvar.exp: Same.
22219
b9891b29
JB
222202001-12-17 Jim Blandy <jimb@redhat.com>
22221
0eba65ab
JB
22222 * gdb.base/completion.exp: Rather than completing very long
22223 filenames, which can make the readline library produce output we
22224 don't recognize, cd to the directory first, and then complete
22225 using nice, short relative paths.
22226
6970b5b1
JB
22227 * gdb.base/completion.exp: On some systems, there is, in fact, a
22228 variable named `b' in scope, since GDB treats all static
a9c64011
AS
22229 variables as being in scope. So use `no_var_named_this'
22230 instead of `b'.
6970b5b1 22231
b9891b29 22232 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 22233 can't find the core file's registers as a failure.
b9891b29 22234
e6ccd35f
JSC
222352001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
22236
a9c64011
AS
22237 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
22238 test expect string more specific.
e6ccd35f 22239
105ba819
CV
222402001-12-13 Corinna Vinschen <vinschen@redhat.com>
22241
22242 * gdb.asm/asm-source.exp: Add support for xstormy16.
22243 * gdb.asm/configure.in: Ditto.
22244 * gdb.asm/configure: Rebuild.
22245 * gdb.asm/xstormy16.inc: New file.
22246
e9e79dd9
FF
222472001-12-10 Fred Fish <fnf@redhat.com>
22248
22249 * gdb.base/maint.exp: Update to match changes in type dumping code.
22250
347dc97d
JB
222512001-12-10 Jim Blandy <jimb@redhat.com>
22252
22253 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
22254 matching the entry point symbol's name at the beginning of the
22255 line.
347dc97d 22256
5178b9d6
DJ
222572001-12-07 Daniel Jacobowitz <drow@mvista.com>
22258
22259 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
22260 gdb.c++/inherit.exp, gdb.c++/method.exp,
22261 gdb.c++/namespace.exp, gdb.c++/templates.exp,
22262 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
22263 and class layout support.
22264
af890c52
DJ
222652001-12-07 Daniel Jacobowitz <drow@mvista.com>
22266
22267 * gdb.c++/classes.exp: Add test for static member function.
22268 * gdb.c++/misc.cc: Add class with static member function.
22269
7a345fb3
JB
222702001-12-07 Jim Blandy <jimb@redhat.com>
22271
f2e54a80 22272 If GDB says it can't find the struct the function returned, report
8032bf31
JB
22273 those tests as `unsupported'.
22274 * gdb.base/call-rt-st.exp (print_struct_call): New function.
22275 Rewrite subsequent tests to use it.
22276
22277 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
22278 those tests as `unsupported'.
22279 * gdb.base/structs.exp (call_struct_func): New function.
22280 (do_function_calls): Use call_struct_func to call the functions
22281 returning structs.
22282
0bc69509
JB
22283 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
22284 whether functions are prototyped or not, so we can't possibly pass
22285 arguments to t_float_values2 properly.
22286
7a345fb3
JB
22287 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
22288 value of `timeout' for targets other than the mips*tx39-*.
22289
edb6ede1
MS
222902001-12-06 Michael Snyder <msnyder@redhat.com>
22291
d63a86f8 22292 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
22293 and detect whether the start symbol has a leading underscore.
22294
2d842f13
JB
222952001-12-04 Jim Blandy <jimb@redhat.com>
22296
22297 * gdb.base/completion.exp: Clarify indentation.
22298
68550daf
JB
222992001-12-03 Jim Blandy <jimb@redhat.com>
22300
22301 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
22302 variables on the S/390, not `.word'.
22303
cd5195a8
JB
223042001-11-30 Jim Blandy <jimb@redhat.com>
22305
22306 Add assembly-source tests for s390-ibm-linux.
22307 * gdb.asm/s390.inc: New file.
22308 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
22309 the S/390 architecture.
a9c64011 22310 * gdb.asm/configure: Regenerated.
cd5195a8 22311
ca9efc90
MS
223122001-11-30 Michael Snyder <msnyder@redhat.com>
22313
22314 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
22315 next, info source, info sources, info line, global and static
22316 variables, and static functions.
22317 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
22318 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
22319 * gdb.asm/asmsrc1.s: Add a static function and some variables.
22320 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
22321 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
22322 (gdbasm_leave): Restore frame pointer.
22323 (gdbasm_startup): Copy stack set-up from crt0.S.
22324
d0e66976
FN
223252001-11-26 Fernando Nasser <fnasser@redhat.com>
22326
22327 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
22328 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
22329 to a local (non-static) variable. Copy tstruct.a to a static buffer
22330 and return a pointer to that buffer.
22331 * gdb.base/callfwmall.c (t_structs_a): Ditto.
22332
e2334072
MK
223332001-11-24 Mark Kettenis <kettenis@gnu.org>
22334
22335 * gdb.asm/configure.in: Fix recognition of ix86 target.
22336 * gdb.asm/configure: Regenerate.
22337
756caa3d
MS
223382001-11-21 Michael Snyder <msnyder@redhat.com>
22339
22340 * gdb.asm/sparc.inc: New file.
22341 * gdb.asm/asm-source.exp: Recognize sparc target.
22342 * gdb.asm/configure.in: Recognize sparc target.
22343 * gdb.asm/configure: Regenerate.
d63a86f8 22344
9a4d72d5
MS
223452001-11-21 Michael Snyder <msnyder@redhat.com>
22346
22347 * gdb.asm/m32r.inc: New file.
22348 * gdb.asm/asm-source.exp: Recognize m32r target.
22349 * gdb.asm/configure.in: Recognize m32r target.
22350 * gdb.asm/configure: Regenerate.
22351
a773d1cd
MS
223522001-11-20 Michael Snyder <msnyder@redhat.com>
22353
017ac23d
MS
22354 * gdb.asm/i386.inc: New file.
22355 * gdb.asm/asm-source.exp: Recognize ix86 target.
22356 * gdb.asm/configure.in: Recognize ix86 target.
22357 * gdb.asm/configure: Regenerate.
22358
a773d1cd
MS
22359 * gdb.c++/namespace.exp: Fix quotes in output messages.
22360
bb632afb
MS
223612001-11-14 Michael Snyder <msnyder@redhat.com>
22362
25d559ca 22363 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
22364 qualifier in a type cast expression, to designate an address
22365 in the instruction space (Harvard architecture).
22366
4749e309
MS
223672001-11-13 Michael Snyder <msnyder@redhat.com>
22368
22369 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
22370 Tests for expressions using 'const' and 'volatile'.
22371
25050984
CV
223722001-11-13 Corinna Vinschen <vinschen@redhat.com>
22373
22374 * gdb.asm/asm-sources.exp: Allow defining linker flags.
22375
1902c51f
DJ
223762001-11-12 Daniel Jacobowitz <drow@mvista.com>
22377
22378 * lib/mi-support.exp (mi_run_to_helper): Move comments
22379 outside of gdb_expect.
22380
dcf95b47
DJ
223812001-11-11 Daniel Jacobowitz <drow@mvista.com>
22382
22383 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
22384 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
22385 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
22386 mi0_run_to): New functions.
22387 * gdb.mi/mi-simplerun.exp: Use them.
22388 * gdb.mi/mi0-simplerun.exp: Likewise.
22389 * gdb.mi/mi-var-cmd.exp: Likewise.
22390 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 22391
45b074e1
AC
223922001-11-10 Andrew Cagney <ac131313@redhat.com>
22393
22394 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
22395 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
22396
bf50d346
AC
223972001-11-09 Andrew Cagney <ac131313@redhat.com>
22398
22399 * gdb.base/restore.exp: Include $expected value in restored test
22400 message.
22401
9383332c
AC
224022001-11-09 Andrew Cagney <ac131313@redhat.com>
22403
22404 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
22405 implemented.
22406
db62520a
MS
224072001-11-08 Michael Snyder <msnyder@redhat.com>
22408
22409 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
22410 Add pass/fail message for stop at breakpoint in call dummy function.
22411
b5703437
MS
224122001-11-07 Michael Snyder <msnyder@redhat.com>
22413
d63a86f8
RM
22414 * gdb.c++/templates.exp (test_template_breakpoints):
22415 If we get an overload menu, but it does not match what
760f6330 22416 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
22417 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
22418 making the whitespace optional. Argument for "new" may be
22419 "unsigned" as well as "unsigned int/long".
d63a86f8 22420 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
22421 making the whitespace optional. Also replace "(void) with
22422 "((void|)), making the keyword "void" optional.
d63a86f8 22423 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
22424 making the whitespace optional. Also replace "(void) with
22425 "((void|)), making the keyword "void" optional.
3bf40917
MS
22426 * gdb.base/callfuncs.c (t_float_values): This function must
22427 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 22428 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
22429 can be tested against both cases. Usually one case involves
22430 promotion of float to double, while the other does not.
22431 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
22432 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
22433 includes a stack frame for "start".
22434
c8ab4e6d
JB
224352001-11-05 Jim Blandy <jimb@redhat.com>
22436
22437 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
22438 pointers are 32 bits long, and that offsets of relocs are always
22439 stored in the data (REL-style), and not in the reloc entry itself
22440 (RELA-style).
22441 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
22442 stabs.
22443
3f08ced9
MS
224442001-11-01 Michael Snyder <msnyder@redhat.com>
22445
22446 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
22447 and regular expression operators by using quoting.
22448
cbfa24cd
MS
224492001-10-31 Michael Snyder <msnyder@redhat.com>
22450
22451 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
22452 depending on what the symbol table contains.
22453 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
22454 the output of the ptype command. Similarly, accept both "const &"
22455 and "const&".
22456
aaa68313
CV
224572001-10-31 Corinna Vinschen <vinschen@redhat.com>
22458
22459 * gdb.base/miscexprs.c (main): Add usage of preprocessor
22460 symbol `STORAGE' to allow to choose the storage class of
22461 the local datastructures.
22462 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
22463 compiler directive.
22464
91740388
MS
224652001-10-30 Michael Snyder <msnyder@redhat.com>
22466
22467 * gdb.base/jump.exp: Allow it to run for all targets.
22468
1b7c05e7
CV
224692001-10-29 Corinna Vinschen <vinschen@redhat.com>
22470
22471 * gdb.base/call-ar-st.c (print_double_array): Match for loop
22472 with new double_array size.
22473 (main): Change storage class of all local variables to static.
22474 Reduce size of double_array to 9.
22475 * gdb.base/call-ar-st.exp: Increase timeout value.
22476 Change expected output for double array to match new size in
22477 call-ar-st.c.
22478
36a22261
CV
224792001-10-29 Corinna Vinschen <vinschen@redhat.com>
22480
22481 * gdb.base/ending-run.exp: Create identical output when passing
22482 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 22483 Stormy16 target.
36a22261 22484
92b8ae91
MK
224852001-10-28 Mark Kettenis <kettenis@gnu.org>
22486
22487 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
22488 that we catch the expected failure under Linux/x86.
22489
cb135b83
OF
224902001-10-29 Orjan Friberg <orjanf@axis.com>
22491
22492 * gdb.base/setvar.exp: Escape curly braces.
22493 * gdb.stabs/weird.exp: Ditto.
22494
6884aa54
DJ
224952001-10-27 Daniel Jacobowitz <drow@mvista.com>
22496
22497 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
22498 * gdm.mi/mi0-hack-cli.exp: Likewise.
22499
0398c9aa
AC
225002001-10-25 Andrew Cagney <ac131313@redhat.com>
22501
22502 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
22503 messages.
22504
d20bf2e8
AC
225052001-10-21 Andrew Cagney <ac131313@redhat.com>
22506
22507 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
22508 checking MI enabled.
22509
03dd63aa
CV
225102001-10-09 Corinna Vinschen <vinschen@redhat.com>
22511
22512 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
22513
1d9d99f3
FCE
225142001-10-04 Frank Ch. Eigler <fche@redhat.com>
22515
22516 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
22517 if gdb child process crashes, just signal an error.
22518
838ae6c4
JB
225192001-10-02 Jim Blandy <jimb@redhat.com>
22520
22521 * lib/gdb.exp (test_xfail_format): Simplify.
22522
22523 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
22524 front of the variable name `format'. Simplify `if'.
22525
8f0cbc1c
DJ
225262001-10-01 Daniel Jacobowitz <drow@mvista.com>
22527
22528 * gdb.threads/pthreads.exp: Wait for output and delay
22529 before sending ^C.
22530
1f08dafd
DJ
225312001-10-01 Daniel Jacobowitz <drow@mvista.com>
22532
22533 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
22534 some incorrect output instead of timing out.
22535 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
22536
674f90ff
CV
225372001-09-28 Corinna Vinschen <vinschen@redhat.com>
22538
22539 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
22540 check to allow additional `int'.
22541
9b284272
DJ
225422001-09-27 Daniel Jacobowitz <drow@mvista.com>
22543
22544 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
22545 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
22546
b55a4771
MS
225472001-09-27 Michael Snyder <msnyder@redhat.com>
22548
22549 * lib/gdb.exp (test_debug_format): New proc.
22550 (setup_xfail_format): Use new proc test_debug_format.
22551 * gdb.base/constvars.exp (local_compiler_xfail_check): New
22552 proc; use new service proc test_debug_format.
22553 Replace all other "gcc_compiled" tests with this test.
22554 * gdb.base/volatile.exp (local_compiler_xfail_check): New
22555 proc; use new service proc test_debug_format.
22556 Replace all other "gcc_compiled" tests with this test.
22557
225582001-09-27 Michael Snyder <msnyder@redhat.com>
22559
22560 * gdb.base/cvexpr.exp: New file.
22561 * gdb.base/cvexpr.c: New file
22562 Test for expressions using const and volatile keywords.
22563
4e6667ac
CV
225642001-09-26 Corinna Vinschen <vinschen@redhat.com>
22565
22566 * gdb.base/constvars.exp: Check for different orders of keywords
22567 and additional "int" strings in output.
22568
4f337972
AC
225692001-09-22 Andrew Cagney <ac131313@redhat.com>
22570
22571 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
22572 responses from "help maint".
22573
2015650d
FCE
225742001-09-19 Frank Ch. Eigler <fche@redhat.com>
22575
22576 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
22577 to localhost:NNN instead of :NNN, in case Xvfb is listening
22578 only on TCP.
22579
f3bcedc1
CV
225802001-09-19 Corinna Vinschen <vinschen@redhat.com>
22581
22582 * gdb.base/recurse.exp: When checking leaving the watchpoint
22583 scope, recognize when gdb is in function's epilogue and pass.
22584
6b819c92
KS
225852001-09-18 Keith Seitz <keiths@redhat.com>
22586
22587 * lib/insight-support.exp (_gdbtk_export_target_info): Add
22588 support for running tests against sid targets.
22589 (gdbtk_done): Ditto.
22590
a10c9419
CV
225912001-09-18 Corinna Vinschen <vinschen@redhat.com>
22592
22593 * gdb.base/ending-run.c (main): Set stdout buffersize
22594 to the same reasonable value for any target.
22595 * gdb.base/ending-run.exp: Add a regular expression
22596 to make testsuite happy on Sanyo Stormy16 target.
22597
739d0d99
CV
225982001-09-17 Corinna Vinschen <vinschen@redhat.com>
22599
22600 * gdb.base/display.c (do_loops): Add float variable `f'.
22601 Increment f in loop.
22602 * gdb.base/display.exp: Increment timeout by 60 seconds.
22603 Change float display test to use variable `f'.
22604
1b8947f0
JB
226052001-09-17 Jim Blandy <jimb@redhat.com>
22606
22607 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
22608 overflowing the limited breakpoint tables on some ROM monitors
22609 (like the ROM68K).
22610
9890ac81
FCE
226112001-09-15 Frank Ch. Eigler <fche@redhat.com>
22612
22613 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
22614 the "-ac" (disable access control) flag.
22615
6db765ea
JH
226162001-08-30 Jeff Holcomb <jeffh@redhat.com>
22617
22618 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
22619 ints.
22620
4c32cc04
KS
226212001-08-30 Keith Seitz <keiths@redhat.com>
22622
22623 * lib/gdb.exp: Move all insight-related functionality into
22624 separate file.
22625 * lib/insight-support.exp: New file.
22626
8d6e6f81
FCE
226272001-08-29 Frank Ch. Eigler <fche@redhat.com>
22628
22629 * config/sid.exp (sid_start): Never set sid verbosity; disable
22630 expect_background {} that consumed its stdout; tolerate </dev/null.
22631 Attempt to set endianness override in "sid" protocol mode. Cleanup.
22632
6a90e1d0
AC
226332001-08-18 Andrew Cagney <ac131313@redhat.com>
22634
22635 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
22636 CLI jump command to start it.
22637 (mi_run_to_main): Fail immediatly when unexpected output.
22638
1759b3c3
AC
226392001-08-18 Andrew Cagney <ac131313@redhat.com>
22640
22641 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
22642 beginning of function. Fix PR gdb/191.
22643
61d11d80
FCE
226442001-08-16 Frank Ch. Eigler <fche@redhat.com>
22645
22646 * config/sid.exp (sid_start): Don't warn if we cannot figure out
22647 what to force sid endianness to.
22648
942a4df2
KS
226492001-08-15 Keith Seitz <keiths@redhat.com>
22650
22651 * lib/gdb.exp (gdbtk_start): Don't set environment
22652 variables for TCL_LIBRARY and friends. Insight will
22653 now figure these out for itself.
22654
0521c418
MS
226552001-08-02 Michael Snyder <msnyder@redhat.com>
22656
22657 * gdb.base/completion.exp: Remove the symbol "a64l" from
22658 the expect string; this is target-specific, and not related
22659 to what is being tested.
22660
74a9a58a
DB
226612001-08-02 Dave Brolley <brolley@redhat.com>
22662
22663 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
22664
c70819fa
MS
226652001-07-25 Michael Snyder <msnyder@redhat.com>
22666
c2b8fa57
MS
22667 * gdb.base/consecutive.exp: New file. Test stepping over
22668 breakpoints on consecutive instructions.
22669 * gdb.base/consecutive.c: New file.
22670
c70819fa
MS
22671 * gdb.base/call-rt-st.exp: Use double-backslash to quote
22672 curly braces in regular expressions.
22673
2b1a1355
MS
226742001-07-25 Michael Snyder <msnyder@redhat.com>
22675
22676 * gdb.base/ending-run.exp: Accept "Program exited normally" as
22677 legitimate output from stepping out of main.
22678
413eca6f
KS
226792001-07-22 Keith Seitz <keiths@redhat.com>
22680
22681 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
22682 the empty string, do not run the tests.
22683
7e5a9322
SC
226842001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22685
22686 * gdb.base/long_long.exp: Detect size of pointer. Take into
22687 account 2-byte pointers when testing for p/a results.
22688
de58f10f
SC
226892001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22690
d63a86f8 22691 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
22692 and defined to 1K for m68hc11.
22693 (random_data): Reduce table to 1K for embedded platforms (68hc11).
22694 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
22695 (sizeof_random_data): New variable to tell the size of the data table;
22696 don't test past this size; always run to main.
22697
d6f5fea1
SC
226982001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22699
22700 * gdb.base/return2.exp: return of long long and double fails for
22701 68HC11; don't execute these tests on that platform.
22702 * gdb.base/return.exp: Return of a double fails for 68hc11.
22703
c477543d
SC
227042001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22705
22706 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
22707 tests that print a float.
22708 * call-rt-st.exp: Likewise.
22709
63cf1c79
MK
227102001-07-12 Mark Kettenis <kettenis@gnu.org>
22711
22712 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
22713 running this test on Linux.
22714
112f9ab5
MC
227152001-06-24 Michael Chastain <chastain@redhat.com>
22716
22717 * gdb.base/arithmet.exp: Remove some tests to make all test names
22718 unique.
22719
4970cb0f
MS
227202001-07-03 Michael Snyder <msnyder@redhat.com>
22721
22722 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
22723 the output of the ptype command.
22724
d85da69f
MS
227252001-07-02 Michael Snyder <msnyder@redhat.com>
22726
4c8a82de
MS
22727 * gdb.base/completion.exp: Don't assume that break.c is the only
22728 source file that may contain functions named "marker".
d85da69f
MS
22729 * gdb.base/corefile.exp: Quote the curly braces in regexp.
22730
8afc772b
AC
227312001-06-28 Andrew Cagney <ac131313@redhat.com>
22732
22733 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
22734 of files to delete.
22735
22736 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
22737 * gdb.disasm/h8300s.exp: New file.
22738 gdb.disasm/h8300s.s: Likewise.
22739
cff22675
AC
227402001-06-27 Andrew Cagney <ac131313@redhat.com>
22741
22742 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
22743 empty breakpoint tables.
22744
68c81b54
AC
227452001-06-25 Andrew Cagney <ac131313@redhat.com>
22746
22747 * lib/mi-support.exp: Update args=... part of stop-reason
22748 patterns. Accept either a list or a tuple.
22749
2dd62704
AC
227502001-06-23 Andrew Cagney <ac131313@redhat.com>
22751
22752 * lib/mi-support.exp: Remove local emacs variable defining
22753 change-log-default-name.
22754
b4127474
MC
227552001-06-22 Michael Chastain <chastain@redhat.com>
22756
22757 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
22758 This is operationally compatible with the previous version.
22759
8dbfb380
JB
227602001-06-13 Jim Blandy <jimb@redhat.com>
22761
22762 * lib/gdb.exp (gdb_test): Doc fix.
22763
f2d8c86d
MC
227642001-06-10 Michael Chastain <chastain@redhat.com>
22765
22766 * gdb.base/exprs.exp: Remove a duplicate test.
22767
81564d34
JB
227682001-06-06 Jim Blandy <jimb@redhat.com>
22769
22770 * gdb.base/return2.exp (main): Use values to test float and double
22771 returns that are not NaN's, to avoid being confused by IEEE
22772 comparison rules.
22773
da55addb
MS
227742001-06-04 Michael Snyder <msnyder@redhat.com>
22775
22776 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 22777 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
22778 rather than wait for 12 more tests to time out.
22779
42c65987
JB
227802001-06-06 Jim Blandy <jimb@redhat.com>
22781
b18bced9 22782 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 22783 Don't forget to match the GDB prompt.
b18bced9 22784
42c65987
JB
22785 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
22786
5b41e5f0
JB
227872001-06-04 Jim Blandy <jimb@redhat.com>
22788
22789 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
22790 command.
22791
015e046f
KB
227922001-05-31 Kevin Buettner <kevinb@redhat.com>
22793
22794 * gdb.base/annota1.exp (info break): Match four or more spaces
22795 after "Address".
22796
fb1ffbbe
MC
227972001-05-31 Michael Chastain <chastain@redhat.com>
22798
22799 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
22800 (dm_type_int_star): Likewise.
22801 (dm_type_long_star): Likewise.
22802 (dm_type_void_star): Likewise.
22803
5ea2a32c
KB
228042001-05-29 Kevin Buettner <kevinb@redhat.com>
22805
22806 * gdb.base/completion.exp (INPUTRC): Set this environment variable
22807 to a known value in order to get consistent results regardless
22808 of the setting of INPUTRC or the presence or contents of .inputrc.
22809
ae23c492
MS
228102001-05-24 Michael Snyder <msnyder@redhat.com>
22811
ac55707e
MS
22812 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
22813 Don't require that the main thread and the manager thread are the
22814 first in the list.
22815
ae23c492
MS
22816 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
22817 debugging. If test fails, issue an "unsupported" not a "fail".
22818
400071f1
JB
228192001-05-24 Jim Blandy <jimb@redhat.com>
22820
22821 Don't assume that short is shorter than int.
22822 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
22823 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 22824 this isn't true.
400071f1
JB
22825 ("print unsigned char == (~0)"): Add test that verifies that ~0,
22826 an int, is not equal to ~0 stored in an unsigned char. This tests
22827 the same thing that the previous test meant to, but works on
22828 16-bit machines, too.
22829 ("print unsigned char != (~0)"): Same test, complemented.
22830
0816a3e5
MS
228312001-05-24 Michael Snyder <msnyder@redhat.com>
22832
22833 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 22834 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
22835 and prevents dejagnu getting out of step.
22836
f6dc23a9
KB
228372001-05-23 Kevin Buettner <kevinb@redhat.com>
22838
22839 * gdb.base/finish.exp (finish_void): Revise pattern for
22840 stopping on the call statement to not permit stopping at
22841 the start of the instructions comprising the call sequence.
22842
7dbd117d
MC
228432001-05-19 Michael Chastain <chastain@redhat.com>
22844
22845 * gdb.base/callfuncs.exp: Make all test names unique.
22846 * gdb.base/commands.exp: Make all test names unique.
22847 * gdb.base/condbreak.exp: Make all test names unique.
22848 * gdb.base/dbx.exp: Make all test names unique.
22849 * gdb.base/default.exp: Make all test names unique.
22850 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
22851 and TIMEOUT messages to their corresponding PASS message.
22852 * gdb.base/ending-run.exp: Make all test names unique.
22853 * gdb.base/long_long.exp: Remove duplicate test.
22854
6b0b0a9e
KB
228552001-05-21 Kevin Buettner <kevinb@redhat.com>
22856
22857 * gdb.base/finish.exp (finish_void): Allow "finish" command to
22858 stop on the call statement as well as the statement after the
22859 call.
22860
2caa35cb
MS
228612001-05-21 Michael Snyder <msnyder@redhat.com>
22862
22863 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
22864
40713331
EZ
228652001-05-10 Elena Zannoni <ezannoni@redhat.com>
22866
a9c64011
AS
22867 * gdb.base/completion.exp: Revamp test. Make it execute on all
22868 platforms.
40713331 22869
c2c1be8d
EZ
228702001-05-10 Elena Zannoni <ezannoni@redhat.com>
22871
a9c64011
AS
22872 * config/gdbserver.exp (gdb_load): Handle the case
22873 in which the arguments to gdbserver are given in the
22874 baseboard configuration file.
22875 Also handle the case in which the server needs to do a
22876 load.
2c9cd303 22877
9671de48
KS
228782001-05-07 Keith Seitz <keiths@cygnus.com>
22879
a9c64011
AS
22880 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
22881 set up the display for testing.
22882 (gdbtk_start): Convert all paths to paths that tcl will like.
22883 Export target information to environment.
22884 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
22885 necessary.
22886 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
22887 (to_tcl_path): New proc to convert a given pathname into
22888 a path acceptible as an argument to a tcl command.
22889 (_gdbtk_export_target_info): New proc to export target info
22890 into the environment for gdbtk testing.
22891 (gdbtk_done): New proc to signal end-of-test.
9671de48 22892
5a360f47
JB
228932001-05-06 Jim Blandy <jimb@redhat.com>
22894
22895 * restore.c: Make the code of caller0 correspond to its comment.
22896
66c756c6
MS
228972001-05-03 Michael Snyder <msnyder@redhat.com>
22898
22899 * config/sid.exp (gdb_target_sid): Check for error messages.
22900 On error or timeout, don't make expect exit (which will terminate
22901 all subsequent tests); instead just make gdb exit.
d63a86f8 22902 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
22903 return a negative value.
22904
a966fde5
JB
229052001-04-24 Jim Blandy <jimb@redhat.com>
22906
851c18e0
JB
22907 * gdb.c++/templates.exp: If we see the prompt for the overload
22908 list, but we haven't recognized any of the longer patterns,
22909 arrange for this test to fail, not hang.
22910
a966fde5
JB
22911 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
22912 variations.
22913
db144853
MC
229142001-04-22 Michael Chastain <chastain@redhat.com>
22915
22916 * gdb.c++/local.exp: Use the 'runto' library function.
22917 * gdb.c++/namespace.exp: Likewise.
22918 * gdb.c++/overload.exp: Likewise.
22919
3207ec21
KB
229202001-03-26 Kevin Buettner <kevinb@redhat.com>
22921
22922 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
22923 * gdb.base/step-line.exp: New file. Test step/next in presence of
22924 #line directives.
22925 * gdb.base/step-line.c: New file. Test program for the above.
22926 * gdb.base/step-line.inp: New file. We pretend that this file has
22927 been transformed by some other tool into step-line.c.
22928
13b57657
JB
229292001-03-21 Jim Blandy <jimb@redhat.com>
22930
22931 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
22932 unmangled operator names.
22933
754cbe1c
JB
229342001-03-20 Jim Blandy <jimb@redhat.com>
22935
22936 * gdb.threads/linux-dp.exp: Recognize an additional message
22937 generated by GDB when it doesn't understand how to debug threads
22938 on the target system.
22939
177495c9
AC
229402001-03-19 Andrew Cagney <ac131313@redhat.com>
22941
22942 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
22943
f266096b
MC
229442001-03-12 Michael Chastain <chastain@redhat.com>
22945
22946 * gdb.c++/derivation.exp: Use the 'runto' library function.
22947
cac3c2ff
MC
229482001-03-12 Michael Chastain <chastain@redhat.com>
22949
22950 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
22951
b6c11a24
MC
229522001-02-24 Michael Chastain <chastain@redhat.com>
22953
22954 * gdb.c++/ref-types.exp: Change handwritten code to library
22955 function 'runto'.
22956
6bae5bce
OF
229572001-03-16 Orjan Friberg <orjanf@axis.com>
22958
22959 * gdb.base/signals.exp: Set count to 0 explicitly.
22960
0015fd9a
MS
229612001-03-15 Mark Salter <msalter@redhat.com>
22962
22963 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
22964 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
22965 (gdb_load): Add support for additional target_info: gdb_download_size
22966 and gdb_load_timeout.
0015fd9a 22967
fc33412a
DT
22968Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
22969
22970 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
22971 file -- to prevent failing when the compile fails but we have no
22972 intention of running the tests anyway.
fc33412a
DT
22973
22974 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
22975 tests if set.
22976
22977 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 22978 integers.
fc33412a
DT
22979
22980 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
22981 * gdb.c++/namespace.exp: Ditto.
22982
115f06de
OF
229832001-03-07 Orjan Friberg <orjanf@axis.com>
22984
22985 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
22986 * gdb.base/pointers.exp: Relax pattern match of decimals.
22987
b6ba6518
KB
229882001-03-06 Kevin Buettner <kevinb@redhat.com>
22989
22990 * Makefile.in, config/abug.exp, config/cfdbug.exp,
22991 config/cpu32bug.exp, config/dve.exp, config/est.exp,
22992 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
22993 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
22994 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
22995 config/sh.exp, config/sid.exp, config/slite.exp,
22996 config/sparclet.exp, config/udi.exp, config/unknown.exp,
22997 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
22998 config/vxworks.exp, config/vxworks29k.exp,
22999 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
23000 gdb.base/all-bin.exp, gdb.base/annota1.exp,
23001 gdb.base/arithmet.exp, gdb.base/assign.exp,
23002 gdb.base/async.exp, gdb.base/attach.exp,
23003 gdb.base/bitfields.exp, gdb.base/bitops.exp,
23004 gdb.base/break.exp, gdb.base/call-ar-st.exp,
23005 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
23006 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
23007 gdb.base/commands.exp, gdb.base/completion.exp,
23008 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
23009 gdb.base/constvars.exp, gdb.base/corefile.exp,
23010 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
23011 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
23012 gdb.base/ending-run.exp, gdb.base/environ.exp,
23013 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
23014 gdb.base/finish.exp, gdb.base/foll-exec.exp,
23015 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
23016 gdb.base/funcargs.exp, gdb.base/help.exp,
23017 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
23018 gdb.base/logical.exp, gdb.base/long_long.exp,
23019 gdb.base/maint.exp, gdb.base/mips_pro.exp,
23020 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
23021 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
23022 gdb.base/pointers.exp, gdb.base/printcmds.exp,
23023 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
23024 gdb.base/regs.exp, gdb.base/relational.exp,
23025 gdb.base/remote.exp, gdb.base/reread.exp,
23026 gdb.base/restore.exp, gdb.base/return2.exp,
23027 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
23028 gdb.base/selftest.exp, gdb.base/setshow.exp,
23029 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
23030 gdb.base/sigall.exp, gdb.base/signals.exp,
23031 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
23032 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
23033 gdb.base/step-test.exp, gdb.base/structs.c,
23034 gdb.base/structs.exp, gdb.base/structs2.exp,
23035 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
23036 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
23037 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
23038 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
23039 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
23040 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
23041 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
23042 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
23043 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
23044 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
23045 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
23046 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
23047 gdb.fortran/types.exp, gdb.java/jmisc.exp,
23048 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
23049 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
23050 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
23051 gdb.trace/circ.exp, gdb.trace/collection.exp,
23052 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
23053 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
23054 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
23055 gdb.trace/report.exp, gdb.trace/save-trace.exp,
23056 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
23057 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
23058 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
23059 notices.
23060
dc96c6c7 230612001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
23062
23063 * gdb.base/varargs.c (find_max_double): Fix printf format string:
23064 first arg is int not float.
23065
dc96c6c7 230662001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
23067
23068 * gdb.base/reread.exp: Unsupported for non-native targets;
23069 doesn't work for remote debugging.
23070
9b0c4aeb
FN
230712001-02-19 Fernando Nasser <fnasser@redhat.com>
23072
23073 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
23074 * gdb.base/ending-run.exp: Properly handle the BSP state when
23075 stepping past the end of main.
9b0c4aeb 23076
02aa71d5
MC
230772001-02-19 John Moore <jmoore@redhat.com>
23078
23079 * gdb.base/commands.exp (infrun_breakpoint_command_test):
23080 Converted HPUX fix for non-expected items following multiple
23081 step commands into general solution for all platforms.
23082
1fa449a4
MC
230832001-02-18 Michael Chastain <chastain@redhat.com>
23084
23085 * gdb.c++/classes.exp (do_tests): Change runto statements
23086 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23087 statements demangler agnostic.
23088 * gdb.c++/virtfunc.exp (do_tests): Likewise.
23089 (gdb_virtfunc_restart): Likewise.
23090
b2f9ec70
MC
230912001-02-14 Michael Chastain <chastain@redhat.com>
23092
23093 * gdb.c++/inherit.exp (do_tests): Change runto statements
23094 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23095 statements demangler agnostic.
23096
cf74b8ca
AC
23097Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
23098
23099 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
23100 ``continue to bkpt at common_routine in thread 2'' and ``stopped
23101 before calling common_routine 15 times'' tests.
cf74b8ca 23102
99f78f56
MC
231032001-02-11 Michael Chastain <chastain@redhat.com>
23104
23105 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
23106 Helps the test script figure out which demangler is in use.
23107 (dm_type_foo_ref): Ditto.
23108 (dm_type_int_star): Ditto.
23109 (dm_type_long_star): Ditto.
23110 (dm_type_unsigned_int): Ditto.
23111 (dm_type_void): Ditto.
23112 (dm_type_void_star): Ditto.
99707966 23113 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
23114 Probe the gdb demangler and set variables to accommodate
23115 formatting differences.
23116 (info_func_regexp): New function. Same as info_func, but
23117 matches against a regexp.
23118 (info_func): Match against a literal string.
23119 (print_addr_2): New function. Match against a literal string,
23120 which can be different from the input to gdb.
23121 (print_addr): Simply call print_addr_2 with the same argument twice.
23122 (test_lookup_operator_functions): Use demangler formatting variables.
23123 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
23124 the tests in the same order as the C++ class declaration.
23125 (test_paddr_operator_functions): Ditto.
23126 (test_paddr_overloaded_functions): Ditto.
23127 (test_paddr_hairy_functions): Use demangler formatting variables.
23128 Add reference to gdb/19 for related tests.
23129 (do_tests): Call probe_demangler.
23130
1de8f023
KB
231312001-01-30 Kevin Buettner <kevinb@redhat.com>
23132
23133 * gdb.c++/templates.cc (printf): Remove unused function definition.
23134
ca3f91ed
MS
231352001-01-26 Felix Lee <flee@redhat.com>
23136
23137 * sid.exp (sid_exit): Pass host, not target, to remote_close.
23138
231392001-01-25 matthew green <mrg@redhat.com>
23140
23141 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
23142 up sid.
23143 (sid_exit): Call `remote_pop_conn' after GDB is gone.
23144
231452001-01-25 matthew green <mrg@redhat.com>
23146
23147 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 23148 Deprecate $sid_spawn_id.
ca3f91ed
MS
23149 (sid_exit): Remove code necessary only for `spawn.'
23150
231512001-01-25 matthew green <mrg@redhat.com>
23152
23153 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
23154
fb18ec4a
MC
231552001-01-28 Michael Chastain <chastain@redhat.com>
23156
23157 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
23158 to call when tests fail. It takes gdb out of the overloaded
23159 function choice menu back to the main prompt, so that the test
23160 program stays synchronized.
23161 (set_bp_overloaded): New proc to collect all the common
23162 code for setting a breakpoint on an overloaded name. Calls
23163 take_gdb_out_of_choice_menu when needed.
23164 (menu_overload1arg): New variable to collect the repeated
23165 instances of the expected menu for an overloaded name. Change
23166 the regular expression to handle changes in g++ type encoding:
23167 "void" can be either "void" or "", and "unsigned int" can be
23168 either "unsigned int" or "unsigned".
23169 (continue_to_bp_overloaded): Change regular expressions to handle
23170 changes in g++ type encoding.
23171 (no proc): Call take_gdb_out_of_choice_menu when needed.
23172 Remove redundant calls to "info break". Accept either "canceled"
23173 or "cancelled". Change regular expressions in "info break"
23174 calls to handle changes in g++ type encoding. Give all tests
23175 unique strings.
23176
9c646a6e
BE
231772001-01-17 Ben Elliston <bje@redhat.com>
23178
23179 * config/sid.exp: New file.
23180
9549d9c1
AC
23181Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
23182
23183 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
23184
dc96c6c7 231852000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
23186
23187 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
23188 Add a RE to accept a non-ascii char if one is ever presented.
23189
b4df4f68
FN
231902000-12-20 Fernando Nasser <fnasser@redhat.com>
23191
297dd0fd 23192 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 23193
dc96c6c7 231942000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 23195
d63a86f8 23196 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
23197 in regexp. One '\' does not suffice on Linux.
23198
4a7bddb6
MC
231992000-12-09 Michael Chastain <chastain@redhat.com>
23200
23201 * gdb.base/break.exp (test_clear_command): Use a marker function
23202 rather than 'main' for the test function. Also move this
23203 test to an execution point where the marker function names are
23204 guaranteed to be bound to functions. (Executing tests after a
23205 'finish' from main runs into name conflicts with local names
23206 in __libc_start_main).
23207
dc96c6c7 232082000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
23209
23210 * gdb.base/finish.exp: New test for gdb's "finish" command.
23211 * gdb.base/return2.exp: New test for gdb's "return" command.
23212 * gdb.base/return2.c: New source file for above.
23213
dc96c6c7 232142000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
23215
23216 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
23217 * gdb.base/miscexprs.exp: Ditto.
23218 * gdb.base/pointers.exp: Ditto.
23219 * gdb.c++/derivation.exp: Ditto.
23220 * gdb.c++/local.exp: Ditto.
23221 * gdb.c++/namespace.exp: Ditto.
23222 * gdb.c++/overload.exp: Ditto.
23223 * gdb.c++/ref-types.exp: Ditto.
23224
dc96c6c7 232252000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
23226
23227 * gdb.base/constvars.exp: Test result of "up" command.
23228 * gdb.base/miscexprs.exp: Ditto.
23229 * gdb.base/pointers.exp: Ditto.
23230 * gdb.base/scope.exp: Ditto.
23231 * gdb.c++/derivation.exp: Ditto.
23232 * gdb.c++/local.exp: Ditto.
23233 * gdb.c++/namespace.exp: Ditto.
23234 * gdb.c++/overload.exp: Ditto.
23235 * gdb.c++/ref-types.exp: Ditto.
23236
44097287
FN
232372000-11-22 Michael Chastain <chastain@redhat.com>
23238
23239 * mips_pro.exp: Accept either "middle -> top -> main" or
23240 "middle -> main" in the backtrace, because gcc can optimize
23241 tail calls to jumps. Remove setup_xfail for the hppa case.
23242 Add a comment with the original warning messages from PR 3016,
23243 which was filed in 1993, to preserve them for posterity.
23244
9d2e1bab
ND
232452000-11-17 Nick Duffek <nsd@redhat.com>
23246
23247 * lib/gdb.exp (gdb_test): Override timeout with board info.
23248
1aca8eb7
ND
232492000-11-17 Nick Duffek <nsd@redhat.com>
23250
23251 * gdb.base/display.exp: Don't kill running stub. Add "again" to
23252 the second kill and detach messages.
23253
93076499
ND
232542000-11-17 Nick Duffek <nsd@redhat.com>
23255
23256 * configure.in: Add AC_EXEEXT.
23257 * configure: Regenerate.
23258 * Makefile.in (just-check): Export EXEEXT.
23259 * lib/gdb.exp ($EXEEXT): Import from environment.
23260 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
23261 expect "maint dump-me" on Cygwin.
23262 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
23263 $EXEEXT.
23264
30e87cd3
ND
232652000-11-17 Nick Duffek <nsd@redhat.com>
23266
23267 * gdb.base/break.exp: Test backtrace and finish from called
23268 function on all platforms, not just HP-UX.
23269
dc96c6c7 232702000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
23271
23272 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
23273 code from gdb_target_monitor, so it can be used independantly
23274 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 23275
dc96c6c7 232762000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
23277
23278 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
23279 * gdb.base/corefile.exp: Expect the message "Program is being
23280 debugged already" when we send the "corefile" command, since
23281 the preceeding gdb_load may have connected gdb to a remote target.
23282 * gdb.base/display.exp: Disable hardware watchpoints if new
23283 board info variable "no_hardware_watchpoints" is true.
23284 Replace single-letter commands with more readable ones.
23285 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
23286 if new board info variable "no_hardware_watchpoints" is true.
23287 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
23288 to see if stdio (printf) testing is possible.
23289 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
23290 board info variable "no_hardware_watchpoints" is true. Use new
23291 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
23292
39124dea
FN
232932000-11-13 Fernando Nasser <fnasser@redhat.com>
23294
23295 From Orjan Friberg <orjanf@axis.com>:
23296 * gdb.base/printcmds.exp: Escape curly braces followed by a number
23297 in array print pattern match.
23298
a9e2e984
FN
232992000-11-09 Fernando Nasser <fnasser@redhat.com>
23300
23301 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
23302 spelling "cancelled" to U.S. spelling "canceled" to match changes
23303 made to gdb.
23304 * gdb.c++/ovldbreak.exp: Ditto.
23305
c7db355b
PS
233062000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23307
23308 * gdb.base/callfuncs.c (main): Moved to end of file, call
23309 t_double_values to initialize the FPU before inferior calls are made.
23310 * gdb.base/callfuncs.exp: Test for register preservation after calling
23311 inferior functions. Add tests for continuining, finishing and
23312 returning from a stop in a call dummy.
23313
dc96c6c7 233142000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
23315
23316 * gdb.base/commands.exp: Break up long lines, and re-indent.
23317
dc96c6c7 233182000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
23319
23320 * config/gdbserver.exp: Rewritten from the ground up, to make it
23321 compatible with the current dejagnu tree, and to make it work with
23322 the new "gdbserver" in libremote.
23323
dc96c6c7 233242000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
23325
23326 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
23327 * gdb.base/varargs.exp: Skip entire test if no printf support.
23328 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
23329 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
23330
dc96c6c7 233312000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
23332
23333 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
23334 no floating point support.
23335 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
23336 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
23337 * gdb.base/call-rt-st.exp: Ditto.
23338 * gdb.base/call-strs.exp: Ditto.
23339
bac5fc66
JG
233402000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
23341
23342 * gdb.base/sizeof.c: include <stdio.h>.
23343
23344 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
23345 'finish', otherwise uncaptured gdb_prompt would potentially
23346 throw remaining test points out of sync.
bac5fc66 23347
b22a6027
SB
233482000-07-26 Scott Bambrough <scottb@netwinder.org>
23349
23350 * gdb.base/recurse.exp: Run tests for all targets.
23351 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
23352 gnu-oldld case on ARM.
23353 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
23354 for ARM targets.
d63a86f8 23355
d8231941
AG
23356Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
23357
23358 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
23359 * gdb.java/configure: Rebuild.
23360
8caabe69
AG
23361Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
23362
23363 * gdb.java/jv-exp.exp: New file.
23364
9d273ca3
AG
23365Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
23366
23367 * configure: Rebuilt.
23368 * configure.in (configdirs): Add gdb.java.
23369 * gdb.java/jmisc.java: New file.
23370 * gdb.java/jmisc.exp: New file.
23371 * gdb.java/Makefile.in: New file.
23372 * gdb.java/configure: Rebuilt.
23373 * gdb.java/configure.in: New file.
23374 * lib/java.exp: New file.
23375
4f823a66
AC
23376Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
23377
23378 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 23379 underflow.
4f823a66 23380
2391e11d
AC
23381Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
23382
23383 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 23384 and the compilers sizes.
2391e11d 23385
54602222
ND
233862000-07-09 Nick Duffek <nsd@redhat.com>
23387
23388 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
23389 (use_methods): New function.
23390 (main): Call use_methods().
23391 * gdb.c++/classes.exp (test_method_param_class): New procedure.
23392 (do_tests): Call test_method_param_class.
23393
2bec0572
ND
233942000-07-09 Nick Duffek <nsd@redhat.com>
23395
23396 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
23397 spelling.
23398 (test_enums): New procedure. Move enum tests from end of script
23399 to here. Set breakpoint on function name instead of line number.
23400 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
23401 (enums2): New marker function.
23402 (enums1): New function.
23403 (main): Call enums1(). Move enum tests to enums1().
23404
78492fde
AC
23405Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
23406
23407 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 23408 compile/link program. Update line numbers.
78492fde
AC
23409 * gdb.asm/d10v.inc: Define ``startup''.
23410 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 23411
49a2cef8
AC
23412Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
23413
23414 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
23415
3e6c8688
EZ
234162000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23417
23418 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 23419 of 'help maint print' command.
3e6c8688 23420
9ff5cbe9
AC
23421Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
23422
23423 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 23424 they use gdb_expect_list.
9ff5cbe9 23425
17c579bd
AC
23426Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
23427
23428 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
23429 memory-read-packet-size'' instead of ``set endian big'' to test
23430 long commands.
17c579bd 23431
e6d71bf3
DB
234322000-06-03 Daniel Berlin <dan@cgsoftware.com>
23433
23434 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 23435 g++, and stop skipping them.
e6d71bf3
DB
23436
23437 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
23438 work under g++.
23439
d63a86f8 23440 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
23441 initialization.
23442
dc96c6c7 234432000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
23444
23445 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
23446 the regular expression: accept an (almost) arbitrary sequence of
23447 "frames-invalid" and "breakpoints-invalid" messages both before
23448 and after the "starting" message.
23449
dc96c6c7 234502000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
23451
23452 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 23453
dc96c6c7 234542000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
23455
23456 * gdb.base/annota1.exp (annotate-signal-handler-caller):
23457 Relax the regular expression a little, make it pass on Solaris 8.
23458
8216cda9
KB
234592000-05-12 Kevin Buettner <kevinb@redhat.com>
23460
23461 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 23462 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
23463 Instead, it is permissible for gdb to stop on the line of the
23464 call itself.
23465
1a570b2f
MS
234662000-05-12 Michael Snyder <msnyder@.cygnus.com>
23467
23468 * gdb.base/break.exp (bp on small function, optimized file):
23469 Add a second pass pattern. The behavior differs here between stabs
23470 and dwarf for one-line functions. Stabs preserves two line symbols
23471 (one before the prologue and one after) with the same line number,
23472 but dwarf regards these as duplicates and discards one of them.
23473 Therefore the address after the prologue (where the breakpoint is)
23474 has no exactly matching line symbol, and GDB reports the breakpoint
23475 as if it were in the middle of a line rather than at the beginning.
23476
dc96c6c7 234772000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 23478
d63a86f8 23479 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
23480 rather than "send_gdb" (for consistancy).
23481
7d418785
AC
23482Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
23483
23484 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
23485 * gdb.c++/templates.cc: Properly check for GCC version number.
23486 * lib/compiler.cc: Likewise
23487
dc96c6c7 234882000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 23489
d63a86f8 23490 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
23491 gdb may not stop at the first line of main, due to code motion.
23492
dc96c6c7 234932000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
23494
23495 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
23496 This test depends on parsing the printf output from the target.
23497 Since the sparclet stub doesn't do stdio, this will never work.
23498 * gdb.base/call-rt-st.exp: ditto.
23499 * gdb.base/call-strs: ditto.
23500
dc96c6c7 235012000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
23502
23503 * gdb.base/miscexprs.exp: make sizeof long array test portable.
23504
23505 * gdb.base/ending-run.exp: After connecting to a remote target,
23506 but before running, the target will appear to be in a random
23507 location. Specify both a file and a line for breakpoints.
23508 Also, the function that calls main may be called 'init'
23509 rather than 'start'.
23510
a5a51225
EZ
235112000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23512
23513 * gdb.base/help.exp: Update output for add-symbol-file command.
23514
7930cc7c
FN
235152000-04-10 Fernando Nasser <fnasser@cygnus.com>
23516
23517 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23518 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
23519
23e37ab1
C
235202000-04-07 J.T. Conklin <jtc@redback.com>
23521
e93c542c
C
23522 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
23523
23e37ab1
C
23524 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
23525
591b8fa3
PDM
23526Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
23527
23528 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 23529 values that can be represented exactly.
591b8fa3
PDM
23530 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
23531 above change, and to not check against the directory part of the source
23532 file name.
23533 (step into print_long_arg_list): Likewise.
23534 (print print_small_structs from print_long_arg_list): Likewise.
23535 (print print_long_arg_list): Likewise.
23536
7a495180
EZ
235372000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23538
30b53638 23539 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 23540
beb998c6
AC
23541Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
23542
23543 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
23544
1c689132
DB
235452000-03-25 Daniel Berlin <dan@cgsoftware.com>
23546
23547 * gdb.base/commands.exp (deprecated_command_test): Add test for
23548 deprecate with no arguments.
23549
c1790a9d
JL
235502000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
23551
23552 * gdb.base/break.exp: Add new test for setting breakpoints on
23553 optimized code so we can test breakpoints work even when function
23554 prologues may be optimized away
23555
003ba290
FN
235562000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
23557
23558 From David Whedon <dwhedon@gordian.com>
a9c64011 23559 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 23560
6837a0a2
DB
235612000-03-22 Daniel Berlin <dan@cgsoftware.com>
23562
23563 * gdb.base/help.exp: Added test for new apropos command.
23564
b9593231
KB
235652000-03-21 Kevin Buettner <kevinb@redhat.com>
23566
23567 * gdb.base/pointers.c (usevar): New function.
23568 (main): Make sure that global variables v_int_pointer2, rptr,
23569 and y are all referenced someplace in the program by calling
23570 usevar() on them. [Some linkers delete symbols which are
23571 never referenced. The space remains, but there's no way to
23572 get a (symbolic) handle on the variable from the debugger.]
23573
751a959b
EZ
235742000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23575
23576 * gdb.base/printcmds.c: Add typedeffed arrays.
23577
23578 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 23579 procedure to test arrays that are typedef'd.
751a959b 23580
73a93a32
JI
235812000-03-13 James Ingham <jingham@leda.cygnus.com>
23582
23583 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 23584 the library directories.
73a93a32 23585
fb40c209
AC
23586Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
23587
23588 * configure.in (configdirs): Add sub directory gdb.mi.
23589 * configure: Re-generate.
23590
23591 * gdb.mi: New directory.
d63a86f8 23592
ee4dd2c9
AC
235932000-02-25 Scott Bambrough <scottb@netwinder.org>
23594
23595 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 23596 a long long value as a double on ARM platforms.
ee4dd2c9 23597
70f0cc22
JB
235982000-02-16 Jim Blandy <jimb@redhat.com>
23599
23600 * gdb.base/break.exp ("breakpoint line number"): Make sure the
23601 default source file is set properly before running this test.
23602
853819b8
EZ
236032000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23604
23605 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 23606 gdbtk/library directory, not in gdbtcl2.
853819b8 23607
dfcd3bfb
JM
236082000-02-04 Jim Blandy <jimb@redhat.com>
23609
23610 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
23611 backslash from regexp pattern.
23612
23613 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
23614 procedure. Use it to run all the "continue to bp overloaded"
23615 tests. Note that this changes the names of the tests slightly.
23616 If the breakpoint hit message includes a hex PC value, because
23617 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
23618 from the real source code, still consider that a pass.
23619
23620 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
23621 XFAIL here if the breakpoint message contains a hex address. Note
23622 similar change on 1999-11-02.
23623
23624 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
23625
23626 * gdb.base/ptype.exp: Establish a default source file before
23627 calling get_debug_format.
23628
236292000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
23630
23631 * gdb.base/watchpoint.exp: Remove duplication of test messages.
23632
8b93c638
JM
236332000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
23634
23635 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
23636 of successive stepi commands -- while in the prologue we should see
23637 the function entry bracket.
23638
236392000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
23640
23641 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
23642 reach __change_mode() when stepping through the end of main().
23643
c5394b80
JM
236442000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
23645
23646 * gdb.base/default.exp: Fix expected pattern.
23647 * gdb.base/help.exp: Same.
23648
0d06e24b
JM
236492000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23650
23651 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 23652 Don't use xfail's because that affects only the following test.
d63a86f8 23653
0d06e24b 23654 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 23655 solaris or linux.
0d06e24b
JM
23656
23657 * gdb.base/selftest.exp: Update to reflect changes to main.c.
23658
dc96c6c7 236592000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 23660
d63a86f8 23661 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
23662 "A syntax error" rather than "A parse error". Accept both.
23663
236642000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
23665
23666 * gdb.base/default.exp: Remove OS dependent string from "target
23667 remote" test.
23668 * gdb.base/help.exp: Same for "help target remote" test.
23669
c3f6f71d
JM
236702000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23671
23672 From Jim Kingdon <kingdon@redhat.com>:
23673
23674 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
23675 prompt (cleanup rather than necessity, but still might keep output
23676 from spilling to next test).
c3f6f71d
JM
23677
236782000-01-02 Fred Fish <fnf@cygnus.com>
23679
23680 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
23681 AIX, which defines them in <sys/types.h>.
23682
ed9a39eb 236831999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 23684
ed9a39eb 23685 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 23686 float" test.
ed9a39eb
JM
23687
236881999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 23689
ed9a39eb 23690 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
23691
23692 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
23693 outermost frame disallowed".
23694
236951999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
23696
23697 * gdb.base/setvar.exp: New tests for setting the value of a struct
23698 with a constant list.
23699
237001999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
23701
23702 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
23703 require the user to type a cast before setting the value of a struct.
23704
de57eccd
JM
237051999-12-06 Jim Blandy <jimb@cygnus.com>
23706
23707 * gdb.base/default.exp: Expect the new 'info float' command on
23708 all i386 platforms.
23709
23710 * gdb.threads/linux-dp.exp: Expand our ability to recognize
23711 LinuxThreads libraries that don't support debugging.
23712
c2d11a7d
JM
23713Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
23714
23715 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
23716 Change the buffer type to ``unsigned char'' to simplify size
23717 arithmetic.
c2d11a7d
JM
23718
23719 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
23720 stub only handles 400-1 byte packets. Verify that the download
23721 worked.
c2d11a7d
JM
23722
237231999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
23724
23725 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
23726 tests, using UNRESOLVED for the untested cases. Also, does not wait
23727 for a timeout if the prompt was received before a recognizable pattern.
23728
237291999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
23730
23731 * lib/gdb.exp (gdb_expect_list): Fix spelling.
23732
237331999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23734
23735 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 23736 watchpoints.
c2d11a7d
JM
23737
237381999-11-24 Jason Merrill <jason@casey.cygnus.com>
23739
23740 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
23741
23742 * gdb.c++/local.exp: Be more flexible in recognizing local class
23743 name mangling. Don't allow horribly truncated method names.
23744 * gdb.c++/derivation.exp: Expect protected inheritance.
23745 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
23746 * gdb.c++/virtfunc.exp: Likewise.
23747 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
23748 when printing a nested enum.
23749
237501999-11-22 Jim Blandy <jimb@cygnus.com>
23751
23752 * gdb.base/step-test.exp: Properly await GDB's response to setting
23753 a breakpoint on the call to large_struct_by_value.
23754
23755 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
23756 just because we have debug info for the `start' function.
23757
237581999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
23759
23760 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
23761 "Unknown signal" messages, which indicate (on LinuxThreads) that
23762 GDB doesn't know how to debug threads on this system. This is
23763 better than hanging while philosopher 0 dumps chatter into gdb.log.
23764
237651999-11-18 Tom Tromey <tromey@cygnus.com>
23766
23767 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
23768
237691999-11-18 Fred Fish <fnf@cygnus.com>
23770
23771 * gdb.base/coremaker2.c: Add sample program for generating
23772 cores that is more self contained than coremaker.c. Eventually
23773 I'll add more code to this and tie it into the testsuite.
23774
4ce44c66
JM
237751999-11-12 Stan Shebs <shebs@andros.cygnus.com>
23776
23777 * gdb.base/dollar.exp: Remove, now in gdb.hp.
23778
237791999-11-10 Jimmy Guo <guo@cup.hp.com>
23780
23781 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 23782 from $srcdir/lib/.
4ce44c66 23783 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 23784 and gdb.c++/.
4ce44c66
JM
23785
23786 * gdb.c++/derivation.exp: remove redundant get compiler info code.
23787
d63a86f8 23788 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
23789 'continue with watch' test point.
23790
237911999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
23792
23793 Merged from p2linux-990323-branch:
d63a86f8 23794
4ce44c66
JM
23795 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
23796
11cf8741
JM
23797Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
23798
23799 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 23800 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
23801
23802Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
23803
23804 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 23805 gdb_expect_list.
11cf8741
JM
23806
23807Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
23808
23809 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
23810
238111999-11-03 Mark Salter <msalter@cygnus.com>
23812
23813 * gdb.base/break.exp: Fix "stub continue" pattern.
23814
238151999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
23816
23817 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
23818
238191999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
23820
23821 * gdb.base/display.exp ("finish"): Add timeout clause.
23822
23823 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
23824 plain prompt clause, so this doesn't have to time out in order to
23825 fail.
23826
23827 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 23828 breakpoint hit messages include an address.
11cf8741
JM
23829
23830 * gdb.base/display.exp: Don't forget to escape parens in regular
23831 expressions. Unix regexp notatation sucks.
23832
238331999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23834
23835 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 23836 order for 'signalled' message.
11cf8741 23837
5c44784c
JM
238381999-11-01 Stan Shebs <shebs@andros.cygnus.com>
23839
23840 From Jimmy Guo <guo@cup.hp.com>:
23841 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
23842 * gdb.base/annota1.c: Add code for tests to work with.
23843
238441999-10-26 Frank Ch. Eigler <fche@cygnus.com>
23845
23846 * gdb.base/remote.exp: New test for remote downloading settings.
23847 * gdb.base/remote.c: New file with large .data.
23848
917317f4
JM
238491999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
23850
23851 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
23852 for LinuxThreads support, merged from the Code Fusion branch.
23853
23854Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
23855
23856 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
23857 containing exp_continue into a while within an expect. Don't
23858 attempt a start more than three times. Check return value from
23859 gdb_load.
d63a86f8 23860
2df3850c
JM
23861Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
23862
23863 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 23864 a pass case.
2df3850c 23865
2acceee2
JM
238661999-10-01 Kevin Buettner <kevinb@cygnus.com>
23867
23868 * gdb.base/break.c (main): Added a statement that we can step
23869 off of.
23870 * gdb.base/break.exp: Added tests for setting a breakpoint
23871 at an offset and stepping onto a breakpoint.
23872
238731999-10-01 Fred Fish <fnf@cygnus.com>
23874
d63a86f8 23875 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
23876 gdb output.
23877
c2c6d25f
JM
238781999-09-18 Jim Blandy <jimb@cris.red-bean.com>
23879
23880 * gdb.base/break.exp: Code locations are in hex, don't forget!
23881 (For HP-UX.)
23882
238831999-09-17 Stan Shebs <shebs@andros.cygnus.com>
23884
23885 * condbreak.exp: Use break.c as test program.
23886 * condbreak.c: Remove, redundant with break.c.
23887
238881999-09-15 Stan Shebs <shebs@andros.cygnus.com>
23889
23890 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 23891 Z-packets if the target needs it.
c2c6d25f
JM
23892
238931999-09-13 James Ingham <jingham@leda.cygnus.com>
23894
23895 * gdb.c++/overload.exp: Added tests for listing overloaded
23896 functions with function pointers in the arg, explicitly calling
23897 out the version you want.
23898
cff3e48b
JM
238991999-09-09 Stan Shebs <shebs@andros.cygnus.com>
23900
23901 * long_long.exp: Add variations of test cases that work for
23902 targets with 16-bit ints and 32-bit doubles.
23903
d4f3574e
SS
239041999-09-08 Stan Shebs <shebs@andros.cygnus.com>
23905
23906 * break.c (main): Compare a possibly-uninitialized argc with an
23907 unlikely value that fits in 16 bits.
23908
239091999-09-07 Stan Shebs <shebs@andros.cygnus.com>
23910
23911 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
23912 0xfeeb, don't want negative numbers if ints are 16 bits.
23913
23914 * lib/gdb.exp (skip_cplus_tests): New proc.
23915 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
23916 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
23917 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
23918 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
23919 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
23920 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
23921 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
23922 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
23923
23924 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
23925
23926Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
23927
23928 * gdb.base/corefile.exp (up): Allow a parameter to appear
23929 in the frame that we're going up to.
23930
23931 From Jim Blandy <jimb@cygnus.com>:
23932
23933 * gdb.base/default.exp (info float): Expect some output now.
23934
23935 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
23936 returning floating-point values to fail on the x86.
23937 * gdb.base/callfwmall.exp (do_function_calls): Same.
23938
23939 * gdb.base/list.exp (test_listsize): Correct expectations for
23940 listing line 1 with listsize 2. Also, listing a single line
23941 works now, as does listing three lines. [Kevin's note: There
23942 were a number of other cases fixed too where the expectations
23943 differed...]
23944
239451999-09-02 Stan Shebs <shebs@andros.cygnus.com>
23946
23947 * gdb.base/selftest.exp: Add case for when version prints as
23948 constant string instead of char pointer.
23949
104c1213
JM
239501999-08-25 Stan Shebs <shebs@andros.cygnus.com>
23951
23952 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 23953 stepping out of main.
104c1213
JM
23954
23955 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
23956 G++ used.
23957
23958 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 23959 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
23960
23961 * gdb.c++/ovldbreak.exp: Update match string in test that
23962 includes a warning of multiple breakpoints.
23963
239641999-08-24 Stan Shebs <shebs@andros.cygnus.com>
23965
23966 * gdb.base/display.exp: Improve precision of step-after-finish
23967 added yesterday.
23968
23969 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 23970 test.
104c1213
JM
23971
23972 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
23973 configs when using G++, not just hppa*.
23974
239751999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23976
23977 * gdb.base/async.c: New file.
23978 * gdb.base/async.exp: New file.
23979
23980Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
23981
23982 * gdb.base/break.exp: Tweak PA specific tests to properly handle
23983 PA64.
23984
53a5351d
JM
23985Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
23986
104c1213
JM
23987 * gdb.base/display.exp: "finish" can leave us mid-line on many
23988 targets, deal with it. Add a small constant to main, instead of
23989 1000 since main+1000 may not be a valid address in the target.
23990
53a5351d
JM
23991 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
23992 on hpux11.
23993
23994 * gdb.base/attach.exp: Handle another hpux11 error message variant
23995 when attaching to a process that does not exist.
23996
239971999-08-19 J.T. Conklin <jtc@redback.com>
23998
23999 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 24000 characters in 'continue to 1241' test.
53a5351d
JM
24001
240021999-08-17 Stan Shebs <shebs@andros.cygnus.com>
24003
24004 * gdb.base/call-ar-st.exp: Add a shorter match case for the
24005 stop in print_long_arg_list, define and use a whitespace
24006 variable in print_small_structs test, add an XFAIL for Solaris.
24007 * gdb.base/dbx.exp: XFAIL func commands until somebody is
24008 interested enough to fix.
24009
7be570e7
JM
240101999-08-13 Keith Seitz <keiths@cygnus.com>
24011
24012 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
24013 (dbx_gdb_load): Remove. Use gdb_load instead, since that
24014 proc knows about targets other than the natives.
24015 (test_assign): Use "gdb_run_cmd" to "run" the target.
24016 Check that we've actually hit the breakpoint at main.
24017 When we attempt to assign a value to a local variable, check
24018 that the variable is in the current scope, i.e., don't use
24019 a test with an empty result.
24020
24021Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
24022
24023 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 24024 command.
7be570e7
JM
24025
240261999-08-09 Stan Shebs <shebs@andros.cygnus.com>
24027
24028 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24029 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
24030 gdb.compat, gdb.threads-hp.
24031 gdb.hp/configure, gdb.hp/configure.in: New files.
24032 gdb.hp/Makefile.in: Recurse into new subdirs.
24033 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
24034 gdb.hp/gdb.objdbg: New directory, tests for debugging info
24035 in object files.
24036 gdb.hp/tools: New directory, aux tools for HP-specific tests.
24037
96baa820
JM
240381999-08-05 Stan Shebs <shebs@andros.cygnus.com>
24039
24040 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 24041 funky printf, remove a bogus p/a test.
96baa820
JM
24042
240431999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24044
24045 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
24046 connected to the target. This is necessary when running not
24047 natively.
96baa820
JM
24048
240491999-08-03 Stan Shebs <shebs@andros.cygnus.com>
24050
24051 * gdb.base/step-test.exp: Removed some extraneous messages.
24052
24053 * gdb.base/long_long.exp: Don't run memory examination tests
24054 on little-endian targets (they will need a different set of
24055 results to match).
24056
240571999-08-02 Stan Shebs <shebs@andros.cygnus.com>
24058
24059 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
24060 until somebody decides to fix GDB.
24061
24062 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 24063 constant as "ULL".
96baa820
JM
24064 * gdb.base/long_long.exp: Loosen x/c test, add partial result
24065 matches for a couple x/2 commands.
24066
a0b3c4fd
JM
240671999-07-30 Stan Shebs <shebs@andros.cygnus.com>
24068
24069 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
24070 by merging in ref-types2 tests.
24071 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
24072
24073 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24074 * gdb.c++/Makefile.in: Add standard actions.
24075 (EXECUTABLES): Rename from PROGS, update list.
24076 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
24077 from gdb.hp.
24078 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
24079 foo and bar locals.
24080 * gdb.c++/anon-union.exp: Fix tests to match.
24081 * gdb.c++/classes.exp: Run if HP compiler used, add extra
24082 expect matches to handle output variations.
24083 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
24084 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 24085 output, add HP alternatives for new and delete prints.
a0b3c4fd 24086 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 24087 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
24088 * gdb.c++/demangle.exp: Use $style when reporting failure.
24089 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
24090 * gdb.c++/inherit.exp: Run if HP compiler used, add some
24091 match alternatives.
24092 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 24093 compilers.
a0b3c4fd
JM
24094 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
24095 * gdb.c++/method.exp: Add match alternatives.
24096 * gdb.c++/misc.cc: Add bool types.
24097 * gdb.c++/misc.exp: Add tests for bool types.
24098 * gdb.c++/overload.exp: Add xfails.
24099 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
24100 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
24101 add some more template parameter tests (only for HP currently).
24102 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
24103 * gdb.c++/virtfunc.cc: Add return type and value for main.
24104 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
24105 match alternatives.
d63a86f8 24106
a0b3c4fd
JM
241071999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24108
24109 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
24110
241111999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
24112
24113 * gdb.base/signals.exp: Don't expect getting a backtrace from
24114 within a signal handler to fail on Linux.
24115
241161999-07-29 Stan Shebs <shebs@andros.cygnus.com>
24117
24118 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24119 * lib/gdb.exp: Remove some gratuitious semicolons.
24120 (delete_breakpoints): Increase timeout.
24121 (gdb_expect): Add -notransfer option.
24122 (gdb_test): Use -notransfer option.
24123 (get_compiler_info): Add f77 case.
24124 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 24125 case.
a0b3c4fd
JM
24126 (gdb_preprocess): Call get_compiler.
24127
24128 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
24129 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
24130 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
24131 gdb.base/long_long.exp, gdb.base/printcmds.exp,
24132 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
24133 third arg to gdb_test.
a0b3c4fd
JM
24134 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
24135 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 24136 HP-UX xfails, add others.
a0b3c4fd
JM
24137 * gdb.base/completion.exp: Reflect name change of self-test.
24138 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
24139 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
24140 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
24141 HP failure number.
a0b3c4fd
JM
24142 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
24143 useless HP-UX 10.30 references.
24144 * gdb.base/maint.exp: Loosen matches.
24145 * gdb.base/pointers.c (main): Declare more_code.
24146 * gdb.base/pointers.exp: Match on output of a `next'.
24147 * gdb.base/structs.c: Add prototypes.
24148 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
24149 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
24150
241511999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24152
24153 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 24154 command.
a0b3c4fd
JM
24155
241561999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24157
24158 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
24159 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
24160
24161 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
24162 debug info. Deal with lack of signal hanlder info in stack.
24163
a9c64011 24164 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
24165 * gdb.base/annota1.exp: If printf has debug info, deal with it.
24166
5a2468f5
JM
241671999-07-19 Stan Shebs <shebs@andros.cygnus.com>
24168
24169 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 24170 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 24171
adf40b2e
JM
24172Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24173
24174 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 24175 a1-selftest.exp.
adf40b2e
JM
24176 * gdb.base/configure: Re-generate.
24177
241781999-07-12 Stan Shebs <shebs@andros.cygnus.com>
24179
24180 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
24181 in trying to run first and name is too long.
24182
24183 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
24184 pointers2.c and pointers2.exp, respectively.
24185 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
24186 doschk happier.
24187
43e526b9
JM
241881999-07-08 Stan Shebs <shebs@andros.cygnus.com>
24189
24190 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
24191 callfuncs2.c and callfuncs2.exp.
24192
24193 * gdb.base/list.exp: Remove mistaken xfails.
24194 * gdb.base/list0.h: Add optional prototypes.
24195
9846de1b
JM
24196Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
24197
a9c64011 24198 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 24199 calling malloc.
a9c64011
AS
24200 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
24201 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 24202 use.
9846de1b
JM
24203
242041999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24205
24206 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
24207 * gdb.base/annota2.cc, annota2.exp: Move from here.
24208 * gdb.c++/annota2.cc, annota2.exp: To here.
24209 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
24210
43ff13b4
JM
24211Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
24212
24213 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 24214 a consistent format.
43ff13b4 24215
085dd6e6
JM
242161999-06-25 Stan Shebs <shebs@andros.cygnus.com>
24217
24218 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24219 * lib/gdb.exp (get_compiler_info): Add detection for assorted
24220 HP compilers, also set the globals $true and $false.
24221
24222 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
24223 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
24224 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
24225 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
24226 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
24227 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
24228 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
24229 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
24230 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
24231 whatis.c} Add C++ compatible function definitions and return
24232 types, add includes for library functions.
085dd6e6
JM
24233 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
24234 * gdb.base/step-test.c (myglob): Rename from glob.
24235 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
24236 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
24237 files, move here from gdb.hp.
085dd6e6 24238 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
24239 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
24240 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
24241 Adjust line numbers in regexps.
085dd6e6
JM
24242
24243 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
24244 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
24245 instead of 0/1.
24246
24247 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
24248 foll-vfork.exp: New files, move here from gdb.hp.
24249 * gdb.base/page.exp: New file, test of pagination command.
24250
24251 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
24252 recursion test.
24253 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
24254
24255 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 24256 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
24257
24258 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 24259 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 24260 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 24261 watchpoint test.
085dd6e6
JM
24262 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
24263 them work.
24264 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
24265 expressions properly.
24266 * gdb.base/corefile.exp: Loosen the match slightly.
24267 * gdb.base/default.exp: Allow "Error accessing memory" message
24268 also.
24269 * gdb.base/display.exp: Skip over x/0 j if PA64.
24270 * gdb.base/funcargs.exp: Add xfails for HP-UX.
24271 * gdb.base/interrupt.exp: Ditto.
24272 * gdb.base/langs.exp: Add symbolic matches governed by compiler
24273 in use.
24274 * gdb.base/list.exp: Add xfails for HP-UX.
24275 * gdb.base/long_long.exp: Refine some of the numeric matches.
24276 * gdb.base/mips_pro.exp: Xfail on HP-UX.
24277 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
24278 * gdb.base/nodebug.exp: Succeed on more varieties of output.
24279 * gdb.base/opaque.exp: Remove some HP-UX xfails.
24280 * gdb.base/ptype.exp: Succeed on more varieties of output.
24281 * gdb.base/scope.exp: Add xfails for HP-UX.
24282 * gdb.base/sect-cmd.exp: Add more cases.
24283 * gdb.base/setvar.exp: Add xfails for HP-UX.
24284 * gdb.base/shlib-call.exp: Loosen some matches slightly.
24285 * gdb.base/signals.exp: Match on void symbolically.
24286 * gdb.base/step-test.exp: Add case for PA64.
24287 * gdb.base/term.exp: Add exit and restart.
24288 * gdb.base/twice.exp: Clean up after self.
24289 * gdb.base/varargs.exp: Disable overload resolution explicitly.
24290 * gdb.base/whatis.exp: Allow more ways to pass tests.
24291
24292 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 24293 no longer useful.
085dd6e6
JM
24294
24295Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
24296
24297 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 24298 list of patterns.
085dd6e6 24299 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
24300 print_double_array(double_array)", "continuing to breakpoint
24301 1018", "print print_double_array(array_d)" and "continuing to
24302 1034" tests.
d63a86f8 24303
085dd6e6
JM
243041999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
24305
a9c64011 24306 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
24307
243081999-06-24 Stan Shebs <shebs@andros.cygnus.com>
24309
24310 * config/mt-*: Remove, these haven't been used since 1996.
24311
243121999-06-22 Stan Shebs <shebs@andros.cygnus.com>
24313
24314 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 24315 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
24316 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
24317
9e0b60a8
JM
243181999-06-18 Stan Shebs <shebs@andros.cygnus.com>
24319
24320 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
24321 simpler match case for the ptype of the big class.
24322
243231999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24324
24325 * gdb.exp: Fix test for gdb_prompt existence.
24326
243271999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24328
24329 * gdb.exp (gdb_test): Add fail after calls to perror.
24330
243311999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24332
24333 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
24334
243351999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24336
24337 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
24338
0f71a2f6
JM
24339Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
24340
24341 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 24342 malloc() is linked in.
0f71a2f6
JM
24343
243441999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24345
24346 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
24347 step at end.
24348
24349 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
24350
243511999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
24352
24353 * gdb.java/jv-print.exp: New file. (Our first Java test!)
24354
cce74817
JM
24355Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
24356
24357 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
24358 * gdb.base/mips_pro.exp: Likewise.
24359
243601999-06-02 Keith Seitz <keiths@cygnus.com>
24361
24362 * gdb.c++/templates.cc: Change all "new" operators to throw
24363 an exception.
24364 * gdb.c++/cplusfuncs.cc: Likewise.
24365
24366 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
24367
24368Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
24369
24370 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
24371 * gdb.base/ending-run.exp: When stepping out of main, accept a
24372 step into an arbitrary assembler file.
cce74817 24373
392a587b
JM
243741999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24375
d63a86f8 24376 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 24377 "breakpoint-invalid" to be printed.
6fdff2c5
PA
24378 * gdb.base/annota2.exp: Revise line number for main
24379 breakpoint. Allow any number of "frames-invalid" and
24380 "breakpoint-invalid" to be printed.
392a587b
JM
24381 * gdb.base/annota2.cc: Initialize a.x to 0.
24382
9e086581
JM
243831999-05-17 Keith Seitz <keiths@cygnus.com>
24384
6fdff2c5
PA
24385 * gdb.base/call-ar-st.exp: Skip
24386 "print print_double_array (double_array)" when "skip_float_tests" set.
24387 Ditto for "print print_double_array(array_d)",
24388 "print print_small_structs", "print print_ten_doubles", and
24389 "step into print_long_arg_list".
24390 Don't assume we can step into "print_long_arg_list": we could step
24391 into memcpy.
24392 * gdb.base/call-rt-st.exp: Don't run float-related tests when
24393 "skip_float_tests" is set: "print print_one_double(*d1)"
24394 and "print print_two_floats(*f3)".
9e086581
JM
24395 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
24396 "skip_float_tests" is set.
6fdff2c5
PA
24397 * gdb.base/varargs.exp: Skip
24398 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
24399 "skip_float_tests" set.
d63a86f8 24400
cd0fc7c3
SS
244011999-05-06 Keith Seitz <keiths@cygnus.com>
24402
24403 * gdb.base/annota2.cc: Include stdio.h.
24404
24405Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
24406
24407 * gdb.base/crossload.exp: Remove, this has been disabled ever
24408 since BFD stopped including all targets, and cross-GDB gets
24409 plenty of testing anyway.
24410 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
24411 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
24412 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
24413 * gdb.base/README: Remove, was doc for this.
24414 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 24415 needed.
cd0fc7c3 24416
b83266a0
SS
244171999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24418
24419 * gdb.base/call-ar-st.exp: Fix one regular expression in test
24420 output.
24421
24422 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
24423 * gdb.base/annota2.exp: New file. More annotation tests.
24424 * gdb.base/annota1.c: New file. Source file for annota1.exp.
24425 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
24426
244271999-04-23 Angela Marie Thomas <angela@cygnus.com>
24428
24429 * config/cfdbug.exp: New file.
24430
7a292a7a
SS
244311999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
24432
24433 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
24434 Marcus Daniel's and Dale Hawkins's demangler crashes.
24435
24436 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
24437 test_lucid_style_demangling, test_arm_style_demangling,
24438 test_hp_style_demangling): Try Tom Tromey's core-dumping
24439 identifier under each demangling style.
7a292a7a
SS
24440
244411999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
24442
24443 * gdb.c++/demangle.exp: Include the current demangling style
24444 in all test names.
24445 (current_demangling_style): New global variable.
24446 (set_demangling_style, test_demangling_core, test_demangling,
24447 test_demangling_exact): New functions.
24448 (test_gnu_style_demangling, test_lucid_style_demangling,
24449 test_arm_style_demangling, test_hp_style_demangling): Use those,
24450 instead of calling gdb_test and gdb_test_exact directly.
24451 (catch_demangling_errors): New function, which reports errors
24452 signalled by the demangling test functions in an orderly way.
24453 (do_tests): Use catch_demangling_errors.
24454
244551999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
24456
24457 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 24458 grouping in expressions, not {}.
7a292a7a
SS
24459
24460 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 24461 initialized yet.
7a292a7a
SS
24462
244631999-04-01 Stan Shebs <shebs@andros.cygnus.com>
24464
24465 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
24466 are listed.
24467
244681999-03-26 Stan Shebs <shebs@andros.cygnus.com>
24469
24470 * gdb.stabs/weird.exp: Test for CC being defined before
24471 looking at its value.
24472
244731999-03-25 Stan Shebs <shebs@andros.cygnus.com>
24474
24475 * gdb.base/call-ar-st.exp: Remove stray '#'.
24476 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
24477 "short int" and "long int".
24478 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 24479 change, to mollify finicky HP compiler.
7a292a7a
SS
24480 * gdb.hp/reg-test.exp (testfile): Fix file name.
24481 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 24482
7a292a7a
SS
24483 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
24484 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
24485 alternate form of enum ptype.
24486
c906108c
SS
244871999-03-23 Stan Shebs <shebs@andros.cygnus.com>
24488
7a292a7a
SS
24489 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
24490 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
24491 passing skip_hp_tests, so as not to waste time on guaranteed
24492 failure.
7a292a7a 24493
c906108c
SS
24494 * gdb.c++/overload.cc: Pass string instead of char addr, always
24495 init ccpfoo.
24496 * gdb.c++/templates.cc: Fix syntax error.
24497
7a292a7a
SS
24498Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24499
24500 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 24501 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
24502 command.
24503
245041999-03-18 James Ingham <jingham@cygnus.com>
24505
24506 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
24507
24508 * gdb.c++/method.exp: It was testing an uninitialized int on the
24509 stack and assuming it was positive.
24510
24511 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
24512
24513 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 24514 keep it from killing the rest of the tests.
7a292a7a
SS
24515 Use gdb_continue_to_end.
24516
24517 * gdb.base/sigall.exp: use gdb_continue_to_end.
24518
24519 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
24520
24521 * gdb.base/display.exp: use runto_main, not run.
24522
d63a86f8
RM
24523 * gdb.base/default.exp: Check for the current error message in the
24524 r abbreviation test.
7a292a7a
SS
24525 Add strongarm to the targets that know info float.
24526
d63a86f8 24527 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
24528 run which doesn't work with monitors.
24529
6fdff2c5
PA
24530 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
24531 1034 test.
7a292a7a
SS
24532
24533 * gdb.base/break.exp: use the gdb_continue_to_end proc.
24534
6fdff2c5
PA
24535 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
24536 end of a program. Traps the case (in Cygmon) when the program
24537 never really exits. Same as Mark's continue_to_exit, but I had
24538 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
24539
24540 * config/monitor.exp (gdb_target_monitor): added another
24541 target_info parameter: remotebinarydownload. This will set the
24542 remotebinarydownload flag if this is causing some boards trouble.
24543
245441999-03-18 Mark Salter <msalter@cygnus.com>
24545
24546 * lib/gdb.exp (continue_to_exit): New function.
24547
24548 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
24549 * gdb.base/ending-run.exp: Ditto.
24550 * gdb.base/step-test.exp: Ditto.
24551
245521999-03-16 Stan Shebs <shebs@andros.cygnus.com>
24553
24554 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
24555 (suggested by Art Haas <ahaas@neosoft.com>).
24556
245571999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
24558
889bf7c5 24559 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
24560
24561Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
24562
24563 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 24564 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
24565
245661999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
24567
24568 * gdb.base/call-strs.exp: Don't assume that `step' will step over
24569 a call to strlen; sometimes we do have sources.
24570
245711999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
24572
24573 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 24574 character, so GDB won't print garbage after its end.
d63a86f8 24575
c906108c
SS
24576 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
24577 breakpoint there instead. Sometimes GCC emits memcpy to handle
24578 the large structures being passed by value, so we step into that
24579 instead of sum_array_print, which obscures what we're really testing.
24580 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
24581 the bizarre steps into memcpy, so do that here. Add check for
24582 stepping into function calls that pass large structures by value.
24583 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
24584 Remove all references to specific line numbers.
24585 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
24586 New type and function.
24587 (main): Call large_struct_by_value, passing it a large struct by value.
24588 * lib/gdb.exp (gdb_get_line_number): New function.
24589
24590 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
24591 more portable.
24592
7a292a7a
SS
245931999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
24594
c906108c
SS
24595 * lib/gdb.exp: Doc fixes.
24596
7a292a7a
SS
245971999-03-05 Nick Clifton <nickc@cygnus.com>
24598
d63a86f8 24599 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
24600
246011999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
24602
c906108c 24603 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
24604 commands. They're not germane to this test, and they don't work
24605 that way on remote targets.
c906108c 24606
3fc11d3e
JM
246071999-03-01 James Ingham <jingham@cygnus.com>
24608
24609 * Changelog entries merged over from gdb development branch.
24610
3fc11d3e
JM
24611 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
24612
24613 * lib/gdb.exp (gdbtk_analyze_results): Generic function
24614 for outputting results of test run.
24615
2d4a1622 24616 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
24617
24618 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 24619
7a292a7a
SS
246201999-02-25 Felix Lee <flee@cygnus.com>
24621
24622 * lib/gdb.exp (debug_format): initialize
24623
c906108c
SS
246241999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
24625
24626 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
24627 * gdb.base/call-rt-st.c: Ditto.
24628
c906108c
SS
246291999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
24630
24631 * gdb.threads/pthreads.exp (horiz): New variable.
24632 (test_startup): Fix regexps that capture thread numbers.
24633
246341999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
24635
24636 * gdb.base/smoke.exp: Disambiguate two test case names (both
24637 called ``print'').
24638
24639Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
24640
24641 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 24642 compilation.
c906108c
SS
24643
246441999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
24645
24646 * gdb.base/miscexprs.exp: Change patterns to match GDB's
24647 actual output formatting.
24648 * gdb.base/smoke.exp: GDB removes leading 0's.
24649 * gdb.base/volatile.exp: Don't check type of remuneration;
24650 that variable is no longer defined in constvars.c.
24651 * gdb.base/step-test.c (main): Exit with explicit exit code.
24652 * gdb.base/step-test.exp: Remove two nexti checks--they are
24653 not portable.
24654
246551999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
24656
24657 * gdb.base/help.exp ("help delete display"): Fix test to match
24658 gdb's output.
24659
24660 * gdb.base/long_long.c (known_types): Initialize values to zero.
24661 * gdb.base/long_long.exp: Step one more line
24662 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
24663 leading zeros. Explicitly ask for hex formatting. Use
24664 unique test case names.
c906108c
SS
24665
24666Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24667
d63a86f8 24668 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
24669
24670 * gdb.c++/method.exp: Add missing close brace.
24671
246721999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
24673
24674 * gdb.base/maint.exp: Use 'set height 0' to disable page
24675 prompting, not 'set height 400'.
24676
24677 Fix a bunch of timeouts.
24678 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
24679 four separate tests, so expect doesn't take forever to match a ton
24680 of text against a regexp with lots of .* forms.
24681 ("maint print psymbols", "maint print symbols"): Make some of
24682 these greps more selective, so that expect doesn't try to wade
24683 through huge piles of output and time out.
24684
24685 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
24686
24687 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
24688 tests: one which doesn't expect shlib events to be reported, and
24689 another which does, but is XFAIL for all platforms other than
24690 HP/UX.
c906108c
SS
24691
24692 * gdb.base/break.exp: Teach the test suite that the `catch
24693 fork', `catch vfork', and `catch exec' commands produce error
24694 messages on platforms that don't provide these features.
24695
24696Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
24697
24698 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
24699 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
24700 (shortening names from solib_threshold.exp etc), won't run on
24701 anything but HP-UX for the foreseeable future.
c906108c 24702 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 24703 reflect move.
c906108c
SS
24704
24705Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
24706
24707 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 24708 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
24709
24710Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
24711
24712 * gdb.base/shlib-call.exp: add test cases to verify that gdb
24713 successfully re-sets breakpoints in shared libraries.
24714 * gdb.base/shmain.c (main): return 0, don't fall off the end.
24715
24716Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24717
d63a86f8
RM
24718 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
24719 and compiled w/o GCC.
c906108c
SS
24720
24721 * gdb.hp/watch-cmd.exp: ditto.
24722
24723 * gdb.hp/watch-hp.exp: ditto.
24724
24725 * gdb.hp/xdb1.exp: ditto.
24726
24727 * gdb.hp/xdb2.exp: ditto.
24728
24729 * gdb.hp/dbx.exp: ditto.
24730
24731Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
24732
24733 * constvars.c: Remove C++-isms.
24734 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 24735 with GCC.
c906108c
SS
24736
24737Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
24738
24739 The following changes are part of the HP merge.
24740
24741 * gdb.base/break.exp: new tests to verify that catchpoints for
24742 fork, vfork, and exec don't trigger inappropriately.
24743
24744 * gdb.base/opaque.exp: compile one file at a time, then link.
24745
24746 * gdb.base/signals.exp: be more restrictive about which hppa
24747 systems receive a setup_xfail. new tests.
24748
24749 * gdb.base/solib_threshold.build: new file.
24750 * gdb.base/solib_threshold.exp: new file.
24751 * gdb.base/solib_threshold.link_opts: new file.
24752 * gdb.base/solib_threshold.mk: new file.
24753 * gdb.base/gen_solib_threshold.c: new file.
24754
24755 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
24756 tests. New tests for enums inside classes.
24757
24758 * gdb.c++/compiler.cc: indicate support of template debugging.
24759
24760 * gdb.c++/demangle.exp: run hp style demangling tests.
24761
24762 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
24763 tests.
24764
24765 * gdb.c++/misc.cc: changes to support new tests.
24766
24767 * gdb.c++/templates.cc: changes to support HP's compiler; changes
24768 to support new tests.
24769
24770 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
24771 gcc, then skip these tests.
24772
24773Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
24774
24775 The following files are part of the HP merge; some had longer
24776 names at HP, but have been renamed to be no more than 14
24777 characters in length.
24778
24779 * gdb.hp/ambiguous.cc: new file.
24780 * gdb.hp/ambiguous.exp: new file.
24781 * gdb.hp/attach.exp: new file.
24782 * gdb.hp/attach2.exp: new file.
24783 * gdb.hp/classes-hp.exp: new file.
24784 * gdb.hp/ctti.exp: new file.
24785 * gdb.hp/ctti-add.cc: new file.
24786 * gdb.hp/ctti-add1.cc: new file.
24787 * gdb.hp/ctti-add2.cc: new file.
24788 * gdb.hp/ctti-add3.cc: new file.
24789 * gdb.hp/dbx.exp: new file.
24790 * gdb.hp/exception.cc: new file.
24791 * gdb.hp/exception.exp: new file.
24792 * gdb.hp/foll-exec.c: new file.
24793 * gdb.hp/foll-exec.exp: new file.
24794 * gdb.hp/foll-fork.c: new file.
24795 * gdb.hp/foll-fork.exp: new file.
24796 * gdb.hp/foll-vfork.c: new file.
24797 * gdb.hp/foll-vfork.exp: new file.
24798 * gdb.hp/inherit-hp.exp: new file.
24799 * gdb.hp/more-steps.exp: new file.
24800 * gdb.hp/namespace.cc: new file.
24801 * gdb.hp/namespace.exp: new file.
24802 * gdb.hp/optimize.exp: new file.
24803 * gdb.hp/pxdb.c: new file.
24804 * gdb.hp/pxdb.exp: new file.
24805 * gdb.hp/quicksort.exp: new file.
24806 * gdb.hp/reg-test.exp: new file.
24807 * gdb.hp/reg-test.s: new file.
24808 * gdb.hp/sized-enum.c: new file.
24809 * gdb.hp/sized-enum.exp: new file.
24810 * gdb.hp/start-stop.exp: new file.
24811 * gdb.hp/templ-hp.cc: new file.
24812 * gdb.hp/templ-hp.exp: new file.
24813 * gdb.hp/thr-lib.c: new file.
24814 * gdb.hp/thr-lib.exp: new file.
24815 * gdb.hp/thr-lib.h: new file.
24816 * gdb.hp/thr-liblib.c: new file.
24817 * gdb.hp/virtfun-hp.c: new file.
24818 * gdb.hp/virtfun-hp.exp: new file.
24819 * gdb.hp/watch-cmd.exp: new file.
24820 * gdb.hp/watch-hp.exp: new file.
24821 * gdb.hp/xdb1.exp: new file.
24822 * gdb.hp/xdb2.exp: new file.
24823 * gdb.hp/xdb3.exp: new file.
24824
24825Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
24826
24827 The following files are part of the HP merge; some had longer
24828 names at HP, but have been renamed to be no more than 14
24829 characters in length.
24830
24831 * gdb.base/ss.h: new file.
24832 * gdb.base/call-ar-st.c: new file.
24833 * gdb.base/call-ar-st.exp: new file.
24834 * gdb.base/call-rt-st.c: new file.
24835 * gdb.base/call-rt-st-exp: new file.
24836 * gdb.base/call-strs.exp: new file.
24837 * gdb.base/ena-dis-br.exp: new file.
24838 * gdb.base/environ.exp: new file.
24839 * gdb.base/long_long.exp: new file.
24840 * gdb.base/sect-cmd.exp: new file.
24841 * gdb.base/shlib-cl2.exp: new file.
24842 * gdb.base/smoke.exp: new file.
24843 * gdb.base/so-impl-ld.c: new file.
24844 * gdb.base/so-impl-ld.exp: new file.
24845 * gdb.base/so-indr-cl.c: new file.
24846 * gdb.base/so-indr-cl.exp: new file.
24847 * gdb.base/varargs.exp: new file.
24848 * gdb.base/volatile.exp: new file.
24849 * gdb.base/whatis-exp.exp: new file.
7a292a7a 24850 * gdb.base/display.exp: new file.
c906108c
SS
24851 * gdb.c++/derivation.exp: new file.
24852 * gdb.c++/local.exp: new file.
24853 * gdb.c++/member-ptr.exp: new file.
24854 * gdb.c++/overload.exp: new file.
24855 * gdb.c++/ovldbreak.exp: new file.
24856 * gdb.c++/ref-types.exp: new file.
24857 * gdb.c++/ref-types2.exp: new file.
24858 * gdb.c++/userdef.exp: new file.
d63a86f8 24859
c906108c
SS
24860Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
24861
24862 * gdb.base/default.exp: Reflect wording change in remote.c.
24863
dc96c6c7 24864Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24865
24866 * gdb.base/help.exp: Update to reflect current text.
24867
24868Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
24869
24870 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
24871 they're stack variables and contain garbage.
24872 * gdb.c++/anon-union.exp: new file.
24873
24874 The following changes were made by David Taylor
889bf7c5
PA
24875 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
24876 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
24877 in changes by HP.
c906108c
SS
24878
24879 * gdb.base/bitops.exp: new file.
24880 * gdb.base/default.exp: change expected messages for catch and
24881 info catch tests to reflect HP merge changes.
24882 * gdb.base/enable-disable-break.exp
24883 * gdb.base/ending-run.c: new file.
24884 * gdb.base/long_long.c: new file.
24885 * gdb.base/maint.exp: new file.
24886 * gdb.base/pointers2.exp: new file.
24887 * gdb.base/shlib-call2.exp: new file.
24888 * gdb.base/solib.exp: new file.
24889 * gdb.base/step-test.c: new file.
24890 * gdb.c++/anon-union.cc: new file.
24891 * gdb.c++/local.cc: new file.
24892 * gdb.c++/member-pointer.cc: new file.
24893 * gdb.c++/method.cc: new file.
24894 * gdb.c++/ref-types.cc: new file.
24895 * gdb.c++/ref-types2.cc: new file.
24896 * gdb.c++/userdef.cc: new file.
d63a86f8 24897
c906108c
SS
24898 * gdb.base/scope.exp: compile one file at a time, then link.
24899 * gdb.base/langs.exp: ditto.
24900 * gdb.base/list.exp: ditto.
d63a86f8 24901
c906108c
SS
24902Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
24903
24904 The following changes were made by David Taylor
889bf7c5
PA
24905 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
24906 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
24907 in changes by HP.
d63a86f8 24908
c906108c
SS
24909 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
24910 skip tests. When compiling pass c++ flag to gdb_compile.
24911 * gdb.c++/
d63a86f8 24912
c906108c
SS
24913 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
24914 test for on hppa*-*-hpux*; use args to see if c++ was specified.
24915 (skip_hp_tests): new function.
24916 (gdb_preprocess): new function.
24917
24918 * configure.in (hpdir): decide whether to configure gdb.hp.
24919 * configure: regenerated.
24920
24921 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
24922 to delete on clean.
24923 (EXECUTABLES): update to reflect new additions.
24924 * gdb.base/commands.exp: update message expected.
24925 * gdb.base/default.exp: add copyright notice.
24926 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
24927 * gdb.base/help.exp: update messages to reflect current text.
24928 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
24929 targets for recurse tests.
24930 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
24931 skip this file.
24932
24933 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
24934 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
24935 compilation.
24936 * gdb.c++/misc.exp: ditto.
24937 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
24938 run the tests. tell gdb_compile that it's a c++ compilation.
24939
24940 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 24941
c906108c
SS
24942 * gdb.base/all-bin.exp: new file.
24943 * gdb.base/arithmet.exp: new file.
24944 * gdb.base/assign.exp: new file.
24945 * gdb.base/completion.exp: new file.
24946 * gdb.base/cond-expr.exp: new file.
24947 * gdb.base/condbreak.exp: new file.
24948 * gdb.base/define.exp: new file.
24949 * gdb.base/dollar.exp: new file.
24950 * gdb.base/environment.exp: new file.
24951 * gdb.base/eval-skip.exp: new file.
24952 * gdb.base/jump.exp: new file.
24953 * gdb.base/logical.exp: new file.
24954 * gdb.base/pointers.exp: new file.
24955 * gdb.base/relational.exp: new file.
24956 * gdb.base/section_command.exp: new file.
24957 * gdb.base/whatis-expr.exp: new file.
24958
24959 * gdb.base/all-types.c: new file.
24960 * gdb.base/call-array-struct.c: new file.
24961 * gdb.base/call-return-struct.c: new file.
24962 * gdb.base/call-strings.c: new file.
24963 * gdb.base/callfuncs2.c: new file.
24964 * gdb.base/condbreak.c: new file.
24965 * gdb.base/constvars.c: new file.
24966 * gdb.base/display.c: new file.
24967 * gdb.base/int-type.c: new file.
24968 * gdb.base/jump.c: new file.
24969 * gdb.base/miscexprs.c: new file.
24970 * gdb.base/pointers.c: new file.
24971 * gdb.base/pointers2.c: new file.
24972 * gdb.base/shmain.c: new file.
24973 * gdb.base/shr1.c: new file.
24974 * gdb.base/shr2.c: new file.
24975 * gdb.base/solib.c: new file.
24976 * gdb.base/solib1.c: new file.
24977 * gdb.base/solib2.c: new file.
24978 * gdb.base/varargs.c: new file.
24979 * gdb.c++/derivation.cc: new file.
24980 * gdb.c++/overload.cc: new file.
24981 * gdb.c++/ovldbreak.cc: new file.
24982 * gdb.hp/attach.c: new file.
24983 * gdb.hp/attach2.c: new file.
24984 * gdb.hp/average.c: new file.
24985 * gdb.hp/compiler.c: new file.
24986 * gdb.hp/compiler.cc: new file.
24987 * gdb.hp/execd-program.c: new file.
24988 * gdb.hp/follow-exec.c: new file.
24989 * gdb.hp/follow-fork.c: new file.
24990 * gdb.hp/follow-vfork-and-exec.c: new file.
24991 * gdb.hp/misc-hp.cc: new file.
24992 * gdb.hp/more-steps.c: new file.
24993 * gdb.hp/optimize.c: new file.
24994 * gdb.hp/quicksort.c: new file.
24995 * gdb.hp/run-hp.c: new file.
24996 * gdb.hp/start-stop.c: new file.
24997 * gdb.hp/sum.c: new file.
24998 * gdb.hp/templates-hp.cc: new file.
24999 * gdb.hp/thread-local-in-lib.c: new file.
25000 * gdb.hp/thread-local-in-lib.h: new file.
25001 * gdb.hp/thread-local-in-lib.lib.c: new file.
25002 * gdb.hp/vforked-program.c: new file.
25003 * gdb.hp/virtfunc-hp.cc: new file.
25004 * gdb.hp/watchpoint-hp.c: new file.
25005 * gdb.hp/xdb.c: new file.
25006 * gdb.hp/xdb0.c: new file.
25007 * gdb.hp/xdb0.h: new file.
25008 * gdb.hp/xdb1.c: new file.
25009
25010Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
25011
25012 The following change was made by Edith Epstein
889bf7c5
PA
25013 <eepstein@cygnus.com> as part of a project to merge in changes
25014 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
25015
25016 * gdb.c++/demangle.exp: changed the expected output for some
25017 ARM-style mangling -- removed second reference to datatype.
889bf7c5 25018 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 25019 T1<char>::~T1<char>(void)
c906108c 25020 becomes,
a9c64011
AS
25021 maint demangle __dt__11T1__pt__2_cFv
25022 T1<char>::~T1(void)
c906108c 25023
889bf7c5 25024 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 25025
c906108c
SS
25026Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
25027
25028 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
25029 * gdb.trace/backtrace.exp: Likewise.
25030 * gdb.trace/circ.exp: Likewise.
25031 * gdb.trace/collection.exp: Likewise.
25032 * gdb.trace/deltrace.exp: Likewise.
25033 * gdb.trace/infotrace.exp: Likewise.
25034 * gdb.trace/limits.exp: Likewise.
25035 * gdb.trace/packetlen.exp: Likewise.
25036 * gdb.trace/passc-dyn.exp: Likewise.
25037 * gdb.trace/passcount.exp: Likewise.
25038 * gdb.trace/report.exp: Likewise.
25039 * gdb.trace/save-trace.exp: Likewise.
25040 * gdb.trace/tfind.exp: Likewise.
25041 * gdb.trace/tracecmd.exp: Likewise.
25042 * gdb.trace/while-dyn.exp: Likewise.
25043 * gdb.trace/while-stepping.exp: Likewise.
25044
250451998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
25046
25047 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
25048
25049Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
25050
25051 From Brendan Kehoe:
25052 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
25053 int return types.
25054
25055Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
25056
25057 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 25058 remote dos host testing right.
c906108c
SS
25059
25060Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
25061
25062 * gdb.base/corefile.exp: remove some xfails.
25063
25064Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
25065
25066 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 25067 have different timestamps.
c906108c
SS
25068
25069Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
25070
25071 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 25072 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
25073
25074Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
25075
25076 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 25077 delta.
c906108c
SS
25078
25079Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
25080
25081 * gdb.base/default.exp: Add brace missing from previous delta.
25082
25083Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
25084
25085 * gdb.base/default.exp: Support test for info float for all
25086 varieties of arm toolchain.
25087
dc96c6c7 25088Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25089
25090 * gdb.trace/*.exp: remove "remote_download" command.
25091
dc96c6c7 25092Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25093
25094 * gdb.trace/*.exp: remove -gdwarf from compile.
25095
25096Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
25097
25098 * gdb.trace/configure.in(AC_INIT): typo
25099 * gdb.trace/configure: regenerated
25100
dc96c6c7 25101Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25102
25103 * config/m68k-emc.exp: New file.
25104 * lib/<emc-support.exp trace-support.exp}: New files.
25105 * configure.in: add new test directory gdb.trace.
25106 * gdb.trace/{configure configure.in Makefile.in}: New files.
25107 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
25108 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
25109 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
25110 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
25111 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
25112 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
25113 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 25114
dc96c6c7 25115Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25116
25117 * gdb.c++/classes.exp: Change all regular expressions to match
25118 arbitrary combinations of newline/carriage-return, so that they
25119 will work equally well on Unix and Windows.
25120 * gdb.c++/inherit.exp: ditto.
25121 * gdb.c++/virtfunc.exp: ditto.
25122
251231998-08-11 Dawn Perchik <dawn@cygnus.com>
25124
25125 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
25126
c2d11a7d
JM
25127Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
25128
25129 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
25130 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
25131 to use a0-a3/d0-d3 as needed.
25132
25133Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
25134
25135 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
25136 * gdb.disasm/am33.exp: Corresponding changes.
25137
c906108c
SS
251381998-07-11 Felix Lee <flee@cygnus.com>
25139
25140 * gdb.base/callfuncs.exp: add cmp10 test.
25141 * gdb.base/callfuncs.c (cmp10): new function.
25142
25143Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
25144
d63a86f8 25145 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
25146 into two parts to get around a synchronization problem in expect.
25147
3fc11d3e
JM
25148Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
25149
25150 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
25151
25152 * configure.in: Add options for gdbtk testsuite.
25153
25154 * configure: Regenerate.
25155
25156 * gdb.gdbtk: New directory to hold gdbtk tests.
25157
c906108c
SS
25158Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25159
25160 * gdb.fortran/types.exp: Escape brackets in expect patterns
25161 for test_float_literal_types_accepted tests.
25162 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
25163 before run test.
25164
c2d11a7d
JM
25165Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
25166
25167 * am33.exp: Just compile, do not link the testcase.
25168 * am33.s: Add ".am33" pseudoop to force am33 mode.
25169
c906108c
SS
251701998-06-25 Felix Lee <flee@cygnus.com>
25171
25172 * gdb.base/setshow.exp: make sure $pc is sane.
25173
25174 * gdb.stabs/weird.exp: split expect patterns properly.
25175
c2d11a7d
JM
25176Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
25177
25178 * gdb.disasm/am33.s: New disassembler testfile for the am33.
25179 * gdb.disasm/am33.exp: Run it.
25180
dc96c6c7 25181Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25182
25183 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
25184 match processing (and eliminate spurious timeouts when running).
25185
dc96c6c7 25186Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25187
25188 * gdb.base/signals.exp (test_handle_all_print): put back Mach
25189 exception test, but conditionalize it on target [mach | gnu].
25190
dc96c6c7 25191Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25192
25193 * gdb.base/overlays.exp: fixup compile line for linker script.
25194
25195Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
25196
25197 * gdb.fortran/types.exp: don't guess at float size.
25198
25199Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
25200
25201 * gdb.base/exprs.exp: delete test that depends on int size.
25202
25203Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
25204
25205 * config/sim.exp: Removed checks for target triplets.
25206 (gdb_target_sim): Use gdb,target_sim_options.
25207
25208Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
25209
25210 * gdb.base/reread.exp: New file.
25211 * gdb.base/reread1.c: New file.
25212 * gdb.base/reread2.c: New file.
25213
25214Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
25215
25216 * config/sim.exp: Use 'target sim -sparclite' when running
25217 SPARClite programs.
25218
25219Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
25220
25221 * gdb.base/structs2.exp: New file.
25222 * gdb.base/structs2.c: New file.
25223
25224Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
25225
25226 * gdb.asm/common.inc: New file.
25227 * gdb.asm/d10v.inc: New file.
25228 * asm-source.exp: Pass -I's to gas to find .inc files.
25229 Update line numbers in expected output.
25230 * asmsrc1.s: Rewrite.
25231 * asmsrc2.s: Rewrite.
25232 * configure.in: Create arch.inc symlink.
25233 * configure: Regenerate.
25234 * Makefile.in (distclean): Delete arch.inc.
25235
25236Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
25237
25238 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
25239 (t_enum_value2): ditto
25240 (t_enum_value3): ditto
25241 (main): ditto
c906108c
SS
25242Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25243
25244 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
25245 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
25246 change.
25247 Use gdb_test instead of send_gdb/gdb_expect sequences.
25248
25249Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
25250
25251 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
25252 not void.
25253
25254Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
25255
25256 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
25257 subroutines. Used to test gdbs ability to single step through PC
25258 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
25259
25260Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
25261
25262 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
25263 more rigorous EGCS C++ error checking.
25264
25265Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25266
a9c64011
AS
25267 * gdb.base/help.exp: Clean up `help set args' and `help show args'
25268 tests.
25269 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
25270 function when asleep.
25271 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
25272 for i*86 Linux and SVR4 signal handling problems.
25273 Remove linux xfail for `next to handler in signals_tests_1', fixed
25274 by recent infrun.c change.
25275 Limit backtrace to 10 frames to avoid timeout problems with infinite
25276 stack backtraces.
25277 Adjust expect pattern in `handle all print' test to match Apr 28 1997
25278 target.[ch] change.
c906108c
SS
25279
25280Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
25281
25282 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
25283 for a newline from gdb before continuing.
25284 (default_gdb_exit): Just look for y or n.
25285 (gdb_test): Detect abnormal exit from GDB running on DOS; if
25286 it does, fail the rests of the tests in the file.
25287
25288Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
25289
25290 * config/cygmon.exp: New file.
25291
25292Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
25293
25294 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 25295 main" test on remote targets.
c906108c
SS
25296
25297 * gdb.base/scope.exp: Fix problem with filelocal_bss before
25298 run test on remote targets.
25299
25300Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
25301
25302 * gdb.asm: New directory.
25303 * configure.in: Configure it.
25304 * configure: Regenerate.
25305 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
25306 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
25307
25308Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
25309
25310 * config/mn10300-eval.exp: New file to support MN10300 eval board.
25311
dc96c6c7 25312Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 25313
a9c64011
AS
25314 * gdb.base/overlays (several files): Merge the two overlay
25315 managers into one. Change variables (foox, barx, bazx, grbxx)
25316 back into ints but force them to load in their proper sections.
c906108c
SS
25317
25318Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
25319
25320 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 25321 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
25322 (D10VCopy): Handle memory regions crossing 16k boundaries.
25323 (D10VCopy): Transfer data in 32 bit chunks.
25324
25325Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
25326
25327 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 25328 correct.
c906108c
SS
25329
25330 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 25331 map. Include space for printf in .text segment.
c906108c
SS
25332
25333 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 25334 updated d10v memory VMA/LMA map.
c906108c 25335 (D10VCopy): Call D10VTranslate.
d63a86f8 25336
c906108c
SS
25337Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
25338
25339 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
25340
25341 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
25342 that it won't be put into the .sdata - small data -
25343 section. Update reference.
c906108c
SS
25344 * gdb.base/baz.c (bazx, baz): Ditto.
25345 * gdb.base/foo.c (foox, foo): Ditto.
25346 * gdb.base/grbx.c (grbxx, grbx): Ditto.
25347
25348 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 25349 to be arrays.
d63a86f8 25350
dc96c6c7 25351Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 25352
a9c64011
AS
25353 * gdb.base/overlays.exp: fix up and get working again.
25354 Add tests for backtraces from an overlay function.
d63a86f8 25355
c906108c
SS
25356Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
25357
25358 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
25359 "calling function with watchpoint enabled".
25360
25361Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
25362
25363 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 25364 gdb_suppress_tests for d10v-*-*.
c906108c
SS
25365 * lib/gdb.exp (gdb_suppress_tests): Disable this function
25366 pending review of whether it is useful or not.
25367
25368Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
25369
25370 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
25371
25372Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
25373
25374 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
25375 * config/dve.exp: New file to support Densan boards.
25376
25377Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
25378
25379 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 25380 reads and BSD.
c906108c
SS
25381
25382Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
25383
25384 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
25385 response.
25386
25387 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
25388
25389Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
25390
25391 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 25392 test.
c906108c
SS
25393
25394 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 25395 target_sizeof_long and target_bigendian_p.
c906108c 25396 (structs_by_value, structs_by_reference): Check values according
889bf7c5 25397 to targets word size and endianess.
d63a86f8 25398
c906108c
SS
25399Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
25400
25401 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 25402 output.
c906108c
SS
25403
25404Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
25405
25406 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 25407 Update test of set args help to match source change.
c906108c
SS
25408
25409Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
25410
25411 * gdb.base/default.exp: Expect help system output to be in
25412 alphabetical order.
25413 * gdb.base/help.exp: Ditto.
25414
25415Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
25416
25417 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
25418 "i*86-pc-linux-gnu*".
25419 * gdb.base/interrupt.exp: Ditto.
25420 * gdb.base/corefile.exp: Ditto.
25421
25422 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 25423 define vxworks when building the testcase.
c906108c
SS
25424
25425 * gdb.base/ptype.exp: Fix testnames to be unique.
25426 * gdb.base/radix.exp: Ditto.
25427 * gdb.base/term.exp: Ditto.
25428 * gdb.base/whatis.exp: Ditto.
25429 * gdb.c++/classes.exp: Ditto.
25430
25431Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
25432
25433 * gdb.base/callfuncs.exp: Fix indentation.
25434
25435 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
25436 suppress_flag has been set.
25437 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
25438 target feature.
25439
25440Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
25441
25442 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
25443 the testcase.
25444
25445 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 25446 set_debug_traps() and breakpoint().
c906108c
SS
25447 * gdb.c++/misc.cc (main): Ditto.
25448 * gdb.c++/templates.cc (main): Ditto.
25449 * gdb.c++/virtfunc.cc (main): Ditto.
25450
25451Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
25452
25453 * lib/gdb.exp(gdb_step_for_stub): New function.
25454 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
25455 exists, reload the executable and do a "continue" instead of
25456 doing a jump.
25457 (runto_main): Use gdb_step_for_stub.
d63a86f8 25458
c906108c 25459 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 25460 tests to have unique names.
c906108c
SS
25461 * gdb.base/callfuncs.exp: Ditto.
25462 * gdb.base/commands.exp: Ditto.
25463 * gdb.base/default.exp: Ditto.
25464 * gdb.base/help.exp: Ditto.
25465 * gdb.base/list.exp: Ditto.
25466 * gdb.base/opaque.exp: Ditto.
25467 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
25468 similar tests.
d63a86f8 25469
c906108c
SS
25470 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
25471 * gdb.c++/cplusfuncs.cc: Ditto.
25472 * gdb.c++/virtfunc.cc: Ditto.
25473
25474 * config/monitor.exp: Keep track of the last file we saw, rather
25475 than trying to get the info from gdb.
25476
25477 * gdb.fortran/types.exp: Move comment to previous line.
25478
25479Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
25480
25481 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 25482 target mode.
c906108c
SS
25483
25484Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
25485
25486 From Bob Manson:
25487 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 25488 string from GDB when it connects.
c906108c
SS
25489
25490 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
25491
25492Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
25493
25494 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
25495 if we can't get a debug format from GDB (we may be testing an
25496 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
25497
25498 * gdb.stabs/weird.exp: Fix quoting.
25499
25500 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
25501
25502Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
25503
25504 * config/arm-ice.exp: New file.
25505
25506Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
25507
25508 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 25509 until it has been modified to work with the new testsuite.
c906108c 25510
99707966 25511 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
25512 testcase won't compile, cause all of the testcases in the file to
25513 fail instead.
c906108c
SS
25514
25515 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
25516 (gdb_clear_suppressed): New procedure.
25517 (gdb_stop_suppressing_tests): Only clear suppress_flag if
25518 it contains a positive value.
25519
25520Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
25521
25522 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
25523
25524 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
25525
25526Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
25527
25528 * lib/gdb.exp (setup_xfail_format): New function.
25529 (get_debug_format): New function to get debug format.
25530 (debug_format): New global variable to hold last value set
25531 by get_debug_format.
25532 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 25533 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
25534 * gdb.c++/ptype.exp: Ditto.
25535 * gdb.c++/classes.exp: Ditto.
25536 * gdb.c++/cplusfuncs.exp: Ditto.
25537 * gdb.c++/inherit.exp: Ditto.
25538 * gdb.c++/templates.exp: Ditto.
25539 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 25540
c906108c
SS
25541Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
25542
25543 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
25544 host doesn't have a currently-open connection.
25545
25546 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
25547 any gdb stub target. Handle cases where gdb doesn't respond when
25548 interrupted in a sane fashion.
c906108c
SS
25549
25550 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 25551 same thing in a totally different way.
c906108c
SS
25552
25553 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 25554 setting "timeout".
c906108c 25555 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 25556 default_gdb_init now.
c906108c
SS
25557
25558Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
25559
25560 * gdb.base/printcmds.exp: Fix "check for floating addition"
25561 regexp to accept results within approx +/- .01 of exact value.
25562 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
25563
25564Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
25565
25566 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 25567 properly.
c906108c
SS
25568 (gdb_expect): Add optional timeout parameter, and add timeout
25569 value to various calls.
25570 (gdb_suppress_tests): Only give one warning message per group.
25571
25572Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
25573
25574 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
25575 global variables. Handle getting a value for $timeout more
25576 gracefully.
c906108c
SS
25577
25578Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
25579
25580 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 25581 initialize.
c906108c 25582 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 25583 by a target configuration file.
c906108c
SS
25584 (gdb_expect): Pass the timeout to remote_expect.
25585
25586 * config/monitor.exp(gdb_load): Fix typo in regexp.
25587
25588Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
25589
25590 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
25591
25592Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
25593
25594 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
25595 here. Call gdb_target_exec before rebooting the target, to make
25596 sure the connection to the target is closed.
c906108c
SS
25597 (gdb_load): Pass the name of the executable to gdb_target_monitor.
25598 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
25599 Also detect "Timeout reading from remote" error.
25600
25601 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
25602 gdb_target_monitor. Don't call gdb_file_cmd here; let
25603 gdb_target_monitor do it.
c906108c
SS
25604
25605 * gdb.disasm/hppa.exp: Don't use exec_output.
25606
25607Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
25608
25609 * gdb.base/list.exp: If we're debugging a non-native target,
25610 try to set the pc register to point to the start of the
25611 program before doing the first list command.
25612
25613 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 25614 test_calls after restarting.
c906108c
SS
25615
25616 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 25617 reloading.
c906108c
SS
25618
25619 * gdb.base/watchpoint.exp: Fix typo.
25620
25621 * gdb.base/setshow.exp: Check for use_gdb_stub.
25622
25623 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 25624 stub case.
c906108c
SS
25625 * gdb.base/langs.exp: Ditto.
25626
25627 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
25628 gdb_load_offset. If we weren't given a file to load, figure out
25629 what the current file is and use it.
c906108c
SS
25630
25631 * config/i386-bozo.exp: New file.
25632
25633Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
25634
25635 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
25636 feature.
25637
25638 * config/proelf.exp: New entry.
25639
25640Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
25641
25642 * lib/gdb.exp: Remove spurious .* patterns at the beginning
25643 of regexps.
25644
25645 * gdb.base/watchpoint.exp: Don't run the test_stepping
25646 tests if gdb can't call functions on the target.
25647
25648 * gdb.base/setshow.exp: Don't run the set prompt tests if
25649 the board has gdb_prompt set.
25650
25651Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
25652
25653 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
25654 * gdb.base/commands.exp: Likewise.
25655 * gdb.base/setshow.exp: Likewise.
25656
25657Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
25658
25659 * config/monitor.exp(gdb_start): Look for gdb_prompt target
25660 feature.
25661
25662 * config/i960.exp: New file.
25663
25664Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
25665
25666 * gdb.base/funcargs.exp: Check for gdb,short_int target
25667 feature instead of looking for explicit target triplets.
25668
dc96c6c7 25669Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 25670
d63a86f8 25671 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
25672 "p 123DEADBEEF", to check parse_number.
25673 * top.c: change "to enable to enable" to "to enable" in a couple
25674 of help strings.
25675
25676Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
25677
25678 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
25679 on the mn10300.
d63a86f8 25680
c906108c
SS
25681Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
25682
25683 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
25684 where the test executable is run with explicit args.
25685 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
25686
25687Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
25688
25689 * gdb.base/run.c: Use FAKEARGV to build test executable that
25690 does not require a command line arg, since most simulators
25691 don't currently support passing such an arg into the simulated
25692 program.
25693 * gdb.base/commands.exp: Change tests to insert the proper
25694 value as the arg to the first recursive factorial call. Change
25695 compilation line to define FAKEARGV at compile time.
25696
25697Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
25698
25699 * gdb.base/recurse.exp: Enable these tests for the mn10300.
25700 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
25701 function with watchpoint enabled" test.
25702
25703Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
25704
25705 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 25706 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
25707
25708 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 25709 "Tests restarted" messages.
c906108c
SS
25710
25711Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
25712
25713 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
25714
dc96c6c7 25715Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25716
25717 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
25718 for INFO SYMBOL; add help tests for OVERLAY commands.
25719 * gdb.base/default.exp: add tests for INFO SYMBOL command;
25720 add tests for OVERLAY commands
25721 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
25722 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
25723 * gdb.base/sigall.c: add usestubs code frag
25724 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 25725
c906108c
SS
25726Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
25727
25728 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
25729 failures.
25730 (gdb_stop_suppressing_tests): Note that tests have restarted.
25731
25732Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
25733
25734 * config/h8300.exp: New file.
25735
25736Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
25737
25738 * gdb.base/setshow.exp: Check for the existence of a
25739 feature, not its value.
25740
25741Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
25742
25743 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
25744
25745 * gdb.base/scope.exp: It's now init0(), not init().
25746
25747 * gdb.base/scope0.c: For now, change init() to be init0().
25748
25749 * config/monitor.exp: Use gdb_serial in preference to serial
25750 or netport.
25751
25752 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 25753 and it's not already set.
c906108c
SS
25754
25755Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
25756
25757 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 25758 isn't using a stub and if it supports argument passing.
c906108c
SS
25759
25760Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
25761
25762 * config/udi.exp(gdb_start): Make sure UDICONF is set
25763 properly before starting gdb.
25764
25765Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
25766
25767 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
25768 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
25769 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
25770
25771Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
25772
25773 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 25774 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
25775
25776 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
25777
25778 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
25779
25780 * config/monitor.exp: Make sure we disconnect from the target.
25781 Also, try a reboot/reload cycle instead of failing if the
25782 load fails.
25783
25784Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
25785
25786 * gdb.base/default.exp: Don't set match_max.
25787 * gdb.base/help.exp: Ditto.
25788 * gdb.base/list.exp: Ditto.
25789 * gdb.base/signals.exp: Ditto.
25790
25791 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
25792 set, use remote_ld to download the testcase instead of
25793 the GDB loader.
25794
25795Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
25796
25797 * config/vr5000.exp: New file.
25798
25799 * config/monitor.exp(gdb_target_monitor): Add pattern for
25800 "Ending remote" to detect errors in connecting.
25801
25802 * gdb.base/setshow.exp: Add .* within auto language test.
25803
25804 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
25805 target feature.
25806
25807 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 25808 and reboot the board if necessary.
c906108c
SS
25809
25810 * gdb.base/setvar.exp(test_set): Handle multiple prints within
25811 a set of tests. Remove print.* from the patterns being checked.
25812
25813Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
25814
25815 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
25816 refer to gdb_spawn_id.
25817
25818 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
25819 longer used.
25820 * config/sparclet.exp: Ditto.
25821 * config/sparclet-old.exp: Ditto.
25822 * config/slite.exp: Ditto.
25823 * config/sim.exp: Ditto.
25824 * gdb.base/funcargs.exp: Ditto.
25825
25826 * lib/gdb.exp:Remove references to gdb_spawn_id.
25827 (gdb_expect): Move to remote.exp.
25828
25829Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
25830
25831 * config/monitor.exp: Detect the "Couldn't establish connection"
25832 message from GDB.
25833
25834Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
25835
25836 * gdb.base/bitfields.exp: Use runto instead of explicit
25837 gdb_run_cmd/gdb_expect sequences.
25838
25839 * gdb.base/break.exp(text_next_with_recursion): Add match for
25840 gdb_expect call.
25841
25842 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
25843 We also need to handle the "A program is being debugged already"
25844 prompt from gdb. Use gdb_test to set the baud rate.
25845
25846 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
25847 to 20000. Really. I mean it.
25848
25849Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
25850
25851 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
25852 fails. If suppress_flag is set, skip perror message about not
25853 being able to send to GDB.
c906108c 25854 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 25855 GDB.
c906108c
SS
25856 (gdb_expect): If suppress_flag is set, always fail immediately.
25857 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
25858 (gdb_init): Call gdb_stop_suppressing_tests.
25859 (default_gdb_exit): Ditto.
25860 (default_gdb_start): Ditto.
25861
25862 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 25863 gdb_stop_suppressing_tests as appropriate.
c906108c 25864 * gdb.base/break.exp: Ditto.
889bf7c5 25865 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
25866 * gdb.base/commands.exp: Ditto.
25867 * gdb.base/exprs.exp: Ditto.
889bf7c5 25868 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
25869 * gdb.base/list.exp: Ditto.
25870 * gdb.base/recurse.exp: Ditto.
889bf7c5 25871 * gdb.base/scope.exp: Ditto.
c906108c
SS
25872 * gdb.base/structs.exp: Ditto.
25873 * gdb.c++/inherit.exp: Ditto.
25874
25875Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
25876
25877 * config/vr4300.exp: New file.
25878
99707966 25879 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 25880
99707966 25881 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
25882
25883Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
25884
25885 * lib/gdb.exp(gdb_init): New function.
25886
25887 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 25888 for each individual variable set.
c906108c
SS
25889
25890 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
25891 name.
25892
25893 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
25894
25895 * gdb.base/scope.exp: Use gdb_test.
25896
25897 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
25898 aborting; the testsuite driver will do that for us (see
25899 gdb_finish). Also, use gdb_test in a few more places.
25900
25901Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
25902
25903 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
25904
25905Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
25906
25907 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
25908 and "add_tests" are not at the same address.
25909
25910Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
25911
25912 * gdb.base/ptype.exp: Use gdb_test.
25913
25914Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
25915
25916 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
25917 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
25918 left in. No longer expect them to fail.
25919
25920 * gdb.stabs/*.mt; Deleted, no longer used.
25921 * gdb.stabs/configure.in: Remove references to target makefile
25922 frags.
25923 * gdb.stabs/configure: Rebuilt.
25924
25925 * gdb.disasm/*.mt: Deleted, no longer used.
25926 * gdb.disasm/configure.in: Remove references to target makefile
25927 frags. Use "sh3.s" as the unique filename for this directory.
25928 * gdb.disasm/configure: Rebuilt.
25929
25930 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
25931 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
25932 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
25933
25934Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
25935
25936 * config/udi.exp: Use mondfe,name instead of remote_host.
25937
25938Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
25939
25940 * gdb.base/watchpoint.exp: Don't expect a failure when calling
25941 a function with a watchpoint enabled on the mn10200.
25942
25943 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
25944 before trying to create it!
25945
25946Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
25947
25948 * config/vx.exp: Use hostname instead of netport.
25949
25950 * config/vxworks.exp: New file.
25951
25952 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
25953
25954 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 25955 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
25956 occurs.
25957
25958 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
25959 $gdb_spawn_id directly.
25960 (gdb_run_cmd): Try _start as well as start. Use the target feature
25961 gdb,start_symbol as the symbol to start from when jumping.
25962
25963Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
25964
25965 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
25966 redundant) test.
25967
25968 * gdb.base/recurse.exp: Relax final value test for 'b' so that
25969 it doesn't lose for 16bit integer systems.
25970
25971Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
25972
25973 * gdb.fortran/types.exp: If the target doesn't support "double"
25974 data types, then expect "real" types to only be 4 bytes.
25975
25976 * gdb.c++/virtfunc.exp: Expect failure for virtual function
25977 call tests if the target doesn't support inferior function calls.
25978
25979 * gdb.base/printcmds.exp: Allow minor deviation in FP values
25980 in printf tests.
25981
25982Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
25983
25984 * gdb.base/help.exp: Disable "help set", "help show", and
25985 "help support". Simplify regexp for "help stack".
25986
25987 * gdb.base/default.exp: Set match_max to 5000 and the timeout
25988 to 60 seconds. Temporarily set match_max to 15000 around the
25989 "info copying" test.
25990
25991 * gdb.base/nodebug.exp: Don't try to do an inferior function
25992 call if the target doesn't support them.
25993 * gdb.base/printcmds.exp: Likewise.
25994 * gdb.base/setvar.exp: Likewise.
25995 * gdb.base/structs.exp: Likewise.
25996 * gdb.c++/templates.exp: Likewise.
25997 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
25998
25999 * gdb.base/recurse.exp: Enable for the mn10200.
26000
26001 * configure.in: Do configure gdb.stabs directory for *-*-elf
26002 targets.
26003 * configure: Rebuilt.
26004
26005 * gdb.base/break.exp: Check for gdb,noresults before testing
26006 exit status and/or results from the target.
26007 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
26008 * lib/gdb.exp: Remove old (now bogus) initialization of
26009 noinferior, noargs, noresults and nosignals.
26010
26011Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
26012
26013 * config/sh.exp: New file.
26014
26015 * config/slite.exp: Try to connect multiple times to the board
26016 before rebooting. Only send a "monitor run" if need_monitor_run
26017 is set.
26018
26019 * gdb.base/break.exp: Don't do the "stub continue" test if
26020 the target has gdb_stub set.
26021
26022 * gdb.base/callfuncs.exp: Increase the timeout.
26023
26024 * gdb.base/interrupt.exp: Don't even try to compile the testcase
26025 if the target has gdb,noinferiorio set.
26026
26027 * gdb.base/list.exp: Increase match_max to 10000 characters.
26028
26029 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
26030
26031 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
26032 target.
26033
26034 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
26035
26036Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
26037
26038 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
26039 trying to delete the copy of gdb. Catch the file delete so we
26040 don't die if the delete fails; also, the file should be copied to
26041 the host, not to the build.
c906108c
SS
26042
26043Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
26044
26045 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 26046 parenthesis in case it contains multiple regexps separated
c906108c
SS
26047 with |.
26048
26049 * gdb.base/watchpoint.exp: Use gdb_test.
26050 * gdb.base/default.exp: Ditto.
26051
26052Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
26053
99707966 26054 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 26055
c906108c
SS
26056 * gdb.base/scope.exp: Use gdb_test.
26057 * gdb.c++/classes.exp: Ditto.
26058 * gdb.c++/inherit.exp: Ditto.
26059
26060Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
26061
26062 * gdb.base/crossload.exp: Don't use execute_anywhere, use
26063 remote_exec instead.
26064 * gdb.base/corefile.exp: Don't be ridiculous.
26065 * gdb.base/*.c: Add missing stub invocations.
26066
26067Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
26068
26069 * config/slite.exp: Miscellaneous fixes.
26070
26071 * lib/gdb.exp: Fix runto.
26072
26073 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
26074 the target.
26075
26076 * gdb.base/watchpoint.exp: Fix regexp.
26077
26078 * lib/gdb.exp(default_gdb_exit): Add a catch to the
26079 close and wait commands, as the descriptor may now be
26080 invalid. Always call "remote_close host".
26081
26082Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
26083
26084 Major rewrite for testsuite revision.
d63a86f8 26085
c906108c
SS
26086 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
26087 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
26088 instead of relying on spawn_id to always contain a valid
26089 spawn id.
26090 (get_compiler_info): New procedure to build the ${binfile}.ci
26091 file, instead of replicating this in N different places.
26092 (gdb_compile): New procedure.
d63a86f8 26093
c906108c 26094 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
26095 appropriate arguments) instead of compile. Use gdb_test in a lot
26096 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
26097 at the start of a testcase, as this is no longer done magically.
26098
26099 config/*-gdb.exp: Rename without the -gdb suffix.
26100
26101 config/mips.exp: Use remote_close instead of exit_remote_shell.
26102 config/monitor.exp: Use target_info instead of looking at
26103 baud, timeout, etc.
26104 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
26105
26106Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26107
26108 * gdb.c++/templates.exp (test_ptype_of_templates),
26109 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
26110 Update expect patterns for destructors and assignment operators
26111 to match corresponding c-typeprint.c changes.
26112 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
26113 to destructor breakpoint test, GDB should be able to set the
26114 destructor breakpoint without specifying arguments.
26115
26116Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
26117
26118 * gdb.threads/pthreads.exp: Change result for failure to compile due
26119 to lack of pthreads runtime support from an error to simply an
26120 unsupported test, per dejagnu standards.
26121
26122Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26123
26124 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
26125 where GDB exits to reduce pattern match time.
26126 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
26127
26128 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
26129
dc96c6c7 26130Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26131
26132 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
26133 * gdb.base/default.exp: ditto.
26134 * gdb.base/nodebug.exp: ditto.
26135 * gdb.base/printcmds.exp: ditto.
26136 * gdb.base/ptype.exp: ditto.
26137 * gdb.base/setvar.exp: ditto.
26138 * gdb.base/structs.exp: ditto.
26139 * gdb.base/setshow.c: Guard against uninitialized values of argc.
26140
26141Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
26142
26143 * configure, */configure: Rebuild with autoconf 2.12.
26144
26145Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
26146
26147 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
26148 use new i*86-pc-linux*-gnu quads.
26149 * gdb.base/corefile.exp: Ditto.
26150 * gdb.base/signals.exp: Ditto.
26151 * gdb.base/sigall.exp: Ditto.
26152 * gdb.base/interrupt.exp: Ditto.
26153
26154 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
26155 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
26156 RedHat 4.0.
d63a86f8 26157
c906108c 26158 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
26159 linux. This allows the test case to at least compile on latest
26160 linux, but still not run due to missing the threads runtime library.
c906108c
SS
26161
26162Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26163
26164 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
26165 directory to search gdb directory. Accept and step over conditional
26166 stack alignment code. Consume $prompt in failure cases.
26167 Reset timeout to $oldtimeout instead of some arbitrary value.
26168 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
26169 timeout problems with infinite stack backtraces.
26170 * gdb.base/ptype.exp (ptype struct link, union tu_link):
26171 Accept function parameters for linkfunc member.
26172
26173Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
26174
26175 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
26176 (CXXFLAGS): Remove, unreferenced.
26177 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
26178 previous -B options and also add -B option to pick up cross compiled
26179 runtime.
c906108c
SS
26180 (TARGET_INCLUDES): Add for -I options and add code to initialize when
26181 doing cross compiles.
26182 (target_alias): Declare global.
26183 (xgcc): Set variable to full path of gcc in build tree. Use findfile
26184 to verify that gcc exists in build tree, and if so set CC to that
26185 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 26186
c906108c
SS
26187Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
26188
26189 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
26190 ptype test for anonymous union. Fixup testcase to match
26191 current gcc debug output.
26192
26193Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
26194
26195 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
26196 force argument to an unsigned long type.
26197
26198Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
26199
26200 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 26201 tests and anonymous union print/ptype tests.
c906108c
SS
26202 * gdb.base/list.exp (test_forward-search): Increase timeout by
26203 5 minutes for the "search extremely long line" case.
26204 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
26205 completely optional and that the pass/fail messages use the command as
26206 the message if that third arg is a null string.
26207 (gdb_test_exact): Arrange that a null string pattern means match a
26208 null string output rather than any output, which might include random
889bf7c5 26209 errors.
c906108c
SS
26210 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
26211 backtrace test.
26212 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
26213 always failing and failure is now exposed by gdb.exp changes.
26214
26215Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
26216
26217 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
26218 weren't being noted.
26219
26220Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26221
26222 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
26223 * gdb.stabs/weird.exp: Remove v_comb xfails.
26224
dc96c6c7 26225Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26226
26227 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 26228 list.exp scope.exp watchpoint.exp]
c906108c 26229 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 26230
dc96c6c7 26231Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26232
26233 * config/monitor.exp: Increase download timeout to 1000 seconds.
26234
dc96c6c7 26235Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26236
26237 * config/m32r.exp: Increase timeout to 120 seconds.
26238
26239Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
26240
26241 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
26242 and accept older ordering as obsolescent gcc or gdb.
26243 * gdb.c++/templates.exp: Ditto.
26244 * gdb.c++/virtfunc.exp: Ditto.
26245
26246Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
26247
26248 * gdb.base/coremaker.c: Add code to mmap some data so we
26249 can check that it ends up in the core file.
26250 * gdb.base/corefile.exp: Add test to read mmapped data
26251 from core file.
26252
dc96c6c7 26253Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26254
26255 * config/m32r.exp: New file.
26256
26257Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
26258
26259 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
26260 that cflags can contains -gstabs, and work correctly for other tests.
26261
dc96c6c7 26262Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26263
26264 * gdb.base/setshow.exp: New file, tests show and set.
26265 * gdb.base/setshow.c: New file, tests show and set.
26266 * gdb.base/help.exp: Add test for help set|show annotate.
26267 * gdb.base/default.exp: Add test for set|show annotate.
26268
26269Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
26270
26271 * testsuite/gdb.base/break.exp: Make backtrace from factorial
26272 errors unique.
26273 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
26274 explicitly.
26275
26276Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
26277
26278 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
26279 and width commands. This is done elsewhere.
26280 * (gdb_start): Don't call gdb_start_sim here. That's already
26281 done in gdb_load. This fixes lots of failures in default.exp.
26282
26283Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
26284
26285 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
26286 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
26287 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
26288 in the same we we treat other failures (since it may be an expected
889bf7c5 26289 condition), rather than as an error.
c906108c
SS
26290 * gdb.base/signals.exp (test_handle_all_print): Revert back to
26291 old test format.
26292
26293Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
26294
26295 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
26296 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 26297 twice. Nuke the duplicates.
c906108c 26298 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 26299 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
26300 Remove config.h along with other config files.
26301
26302Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
26303
26304 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
26305 "p func1 ()" and note that rests of tests are skipped.
26306 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 26307 setup_xfails for "print func2::coremaker_local".
c906108c
SS
26308 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
26309 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
26310 affected by the previous run test.
26311 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
26312 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
26313 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
26314 "pass int powerset tuple" and "pass modeless int powerset tuple".
26315 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
26316 "real write 4" and "real write 8".
26317 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 26318 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
26319 "print \$i after tuple assign 2", and
26320 "print vs2 after tuple assign 2".
26321 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
26322 meaningful error message and return -1 so the caller can
26323 suppress further tests and avoid a cascade of errors.
d63a86f8 26324
c906108c
SS
26325Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
26326
26327 * gdb.base/a1-selftest.exp: Tweak tests to account for new
26328 format for printing version.
26329 * gdb.base/default.exp: Ditto.
26330 * gdb.base/interrupt.exp: Fix problem with cascade of
26331 errors if child process dies while calling a function.
d63a86f8 26332
c906108c
SS
26333Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
26334
26335 * Makefile.in (VPATH): Add
26336 * Makefile.in (Makefile, config.status): Fix rules so things get
26337 remade when necessary.
26338
26339Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
26340
26341 * Makefile.in (just-check): Add path to sibling expect dir
26342 to environment variable specified by RPATH_ENVVAR.
26343
26344Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
26345
26346 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
26347 (just-check): Add shared library paths for libstdc++, tk,
26348 tcl, bfd, and opcodes to the environment variable specified
26349 in RPATH_ENVVAR.
26350 * configure.in: Add support to recognize --enable-shared flag
26351 and generate correct value for RPATH_ENVVAR.
26352 * configure: Regenerated with autoconf.
26353
26354Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
26355
26356 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 26357 include all osf versions.
c906108c
SS
26358 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
26359 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
26360 when target is linux. When failing to build pthreads test
26361 executable, give more meaningful message.
26362 * gdb.threads/pthreads.c: Hpux also uses old definition of second
26363 arg for pthread_create.
d63a86f8 26364
c906108c
SS
26365Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
26366
26367 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 26368 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 26369 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 26370 and -lpthreads (everybody else).
c906108c
SS
26371 (test_startup): Fail gracefully if threads are not supported.
26372 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
26373 "p/c array_index("abcdef",2)" when not gcc compiled.
26374 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
26375 "print func2::coremaker_local" when not gcc compiled.
26376 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
26377 "ptype on opaque struct tagname (statically)",
26378 "ptype on opaque struct tagname (dynamically) 1", and
26379 "ptype on opaque struct tagname (dynamically) 2"
26380 for not compiled with gcc.
26381 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
26382 backtrace when compiled with gcc.
d63a86f8 26383 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
26384 than always return success.
26385
26386Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
26387
26388 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
26389
26390Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
26391
26392 * gdb.base/structs.exp: Undo last change.
26393
26394Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
26395
26396 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
26397 encapsulate all the steps/nexts done during self test, starting
26398 at main, and makes them less sensitive to optimization issues.
26399 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
26400 signal handler" test.
26401 * gdb.threads/pthreads.exp: Only run this for native configs.
26402 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
26403 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
26404 tests.
26405 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
26406 for "runto test_calls(void)" test.
d63a86f8 26407
c906108c
SS
26408Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
26409
26410 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
26411 and don't expect address info in breakpoint confirmations.
26412
26413Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
26414
26415 * gdb.base/list.exp (test_forward_search): Increase timeout
26416 temporarily by 60 seconds for searching extremely long line,
889bf7c5 26417 and then reset to old value when done. Increase expect input
c906108c
SS
26418 buffer to 10000.
26419
26420Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
26421
26422 * gdb.base/list.exp (test_forward_search): Fix to handle very
26423 long source line without overflowing expect's input buffer.
26424
26425Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
26426
26427 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
26428 "buffer_full".
26429
26430 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
26431 "buffer_full".
26432
26433 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
26434 "buffer_full".
26435
26436 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
26437 "buffer_full".
26438
26439Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
26440
26441 * configure.in (configdirs): Add gdb.threads.
26442 * configure: Regenerated with autoconf.
26443 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
26444 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
26445 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 26446
c906108c
SS
26447Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
26448
26449 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
26450
26451Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
26452
26453 * gdb.base/signals.exp (test_handle_all_print): Test separately for
26454 each signal's status in the output of "handle all print".
26455 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
26456 the \r\n sequence that immediately precedes the gdb prompt.
26457 * gdb.base/a1-selftest.exp: Save original timeout and restore
26458 after test.
26459
26460Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
26461
26462 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
26463 symbol.
26464
26465Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
26466
26467 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
26468
26469Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
26470
26471 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
26472 timeout by 60 seconds.
26473
26474Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
26475
26476 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
26477 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
26478 error return.
26479
26480Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
26481
26482 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
26483 gdb initialization, also report how long dejagnu waited. Restore
26484 old timeout before doing error return. Temporarily increase timeout
889bf7c5 26485 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
26486
26487Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
26488
26489 * lib/gdb.exp: Report timeout value for verbosity level 2.
26490 * config/gdbserver.exp: Ditto.
26491 * config/hppro.exp: Ditto.
26492 * config/mips-gdb.exp: Ditto.
26493 * config/monitor.exp: Ditto.
26494 * config/netware.exp: Ditto.
26495 * config/sim-gdb.exp: Ditto.
26496 * config/slite-gdb.exp: Ditto.
26497 * config/udi-gdb.exp: Ditto.
26498 * config/unix-gdb.exp: Ditto.
26499 * config/vx-gdb.exp: Ditto.
26500 * gdb.base/a1-selftest.exp: Ditto.
26501 * gdb.base/a2-run.exp: Ditto.
26502 * gdb.base/break.exp: Ditto.
26503 * gdb.base/corefile.exp: Ditto.
26504 * gdb.base/list.exp: Ditto.
26505 * gdb.base/recurse.exp: Ditto.
26506 * gdb.base/scope.exp: Ditto.
26507 * gdb.base/signals.exp: Ditto.
26508
26509Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
26510
26511 * gdb.threads/Makefile.in (docdir): Removed.
26512
26513Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
26514
26515 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 26516 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 26517 @srcdir@.
d63a86f8 26518 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
26519 autoconf 2.5 or higher.
26520 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
26521
26522Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
26523
26524 * configure: Regenerated.
26525 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
26526 avoid name clashes with SunOS headers.
26527
26528Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
26529
26530 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
26531
26532Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
26533
26534 * gdb.base/callfuncs.exp: Finish last change -- make sure the
26535 prototype information ends up in the compiler info file.
26536
26537Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
26538
26539 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
26540 attempting to regenerate it. Eliminate use of a temporary file
26541 and just generate the info file directly. Source it immediately,
26542 for consistency of use.
26543 * gdb.base/corefile.exp: Ditto
26544 * gdb.base/exprs.exp: Ditto.
26545 * gdb.base/funcargs.exp: Ditto.
26546 * gdb.base/langs.exp: Ditto.
26547 * gdb.base/list.exp: Ditto.
26548 * gdb.base/mips_pro.exp: Ditto.
26549 * gdb.base/nodebug.exp: Ditto.
26550 * gdb.base/opaque.exp: Ditto.
26551 * gdb.base/ptype.exp: Ditto.
26552 * gdb.base/scope.exp: Ditto.
26553 * gdb.base/setvar.exp: Ditto.
26554 * gdb.base/signals.exp: Ditto.
26555 * gdb.base/whatis.exp: Ditto.
26556 * gdb.c++/templates.exp: Ditto.
26557 * gdb.c++/virtfunc.exp: Ditto.
26558 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 26559 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
26560
26561Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26562
26563 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
26564 it got fixed by the recent lookup_minimal_symbol_by_pc change.
26565 Increase timeout, a lot of single stepping might be needed if the
26566 target has no hardware watchpoints.
26567
26568Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
26569
26570 * gdb.base/break.exp: Ignore compiler warnings when compiling
26571 break.c.
26572 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
26573 * gdb.base/default.exp: Add h8300 xfails. Handle messages
26574 from remote-sim.
26575 * gdb.base/exprs.exp: Add h8300 xfails.
26576 * gdb.base/funcargs.exp: Likewise.
26577 * gdb.base/nodebug.exp: Likewise.
26578 * gdb.base/printcmds.exp: Likewise.
26579 * gdb.base/ptype.exp: Likewise.
26580 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
26581 h8300 xfails.
d63a86f8 26582 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
26583 on the h8300.
26584 * gdb.base/funcargs.c: Explicitly make last constant argument to
26585 call_after_alloca_subr an unsigned long type.
26586 * gdb.base/return.c: Include stdio.h.
26587
26588Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
26589
26590 * config/abug.exp: New file for the older Motorola Bug monitor
26591 that runs on the mvme13x series VME boards.
26592 * config/monitor.exp: Use the new config array for target settings
26593 if they exist.
26594
26595Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
26596
26597 * sim-gdb.exp: Make the SH simulator allocate less space when
26598 it is targeted.
26599
26600Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
26601
26602 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
26603 test.
26604
26605Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
26606
26607 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
26608 "rs6000-*-*" for "list function in include file" when gcc compiled.
26609 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
26610 for "p ctable1[120]".
26611 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
26612 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
26613 Remove setup_xfail for "rs6000-*-*" for
26614 "print 'scope0.c'::filelocal before run".
26615 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
26616 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
26617 since some compilers don't allow both options to be given
26618 on the same command line. Create object file and move it.
d63a86f8 26619
c906108c
SS
26620Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
26621
26622 * gdb.base/corefile.exp: Always regenerate the core file, since
26623 we always regenerate the coremaker program. Detect special case
26624 where registers cannot be read from core file.
d63a86f8 26625
c906108c
SS
26626Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
26627
26628 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
26629 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
26630 * gdb.c++/templates.exp: Only match on basename of file since
26631 some formats like xcoff don't encode directory information.
26632 * gdb.stabs/weird.exp: Use the right sed script for powerpc
26633 and rs6000 AIX xcoff targets.
26634 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
26635 * configure: Regenerate.
26636 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
26637 here, rather than in distclean.
d63a86f8 26638
c906108c
SS
26639Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
26640
26641 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
26642 defined, and use it to compile the test case with -O2. The
26643 native compilation still uses no optimization.
26644 * gdb.base/mips_pro.c: Remove inline assembly code since
26645 it is compiled PIC by default, which results in assembler
26646 warnings that make the testsuite think the compilation
26647 was unsuccessful.
26648
26649Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
26650
26651 * gdb.c++/misc.exp: Add note to message for
26652 "print s.a for foo struct" that this is a known gcc 2.7.2
26653 and earlier bug.
26654
26655Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
26656
26657 * gdb.base/break.exp: Fix pattern for matching "Delete all
26658 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
26659 setup_xfail for deleting all breakpoints test. Fix various
26660 timeout messages to include "(timeout)".
26661 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
26662 for "p t_float_values2(3.14159,float_val2)".
26663 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
26664 for "continue to call2g" when gcc compiled.
26665 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
26666 "up to foo in langs.exp", "show language at foo in langs.exp",
26667 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
26668 and "show language at fsub in langs.exp".
26669 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
26670 "list line 1 in include file", "list message for lines past EOF",
26671 "list function in include file", "list list0.h:foo", and
26672 "list filename:function; nonexistant function".
26673 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
26674 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
26675 and "ptype t_char_array" to be for native cc only.
d63a86f8 26676
c906108c
SS
26677Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
26678
d63a86f8 26679 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 26680 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 26681 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
26682
26683Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
26684
26685 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
26686 "bt in signals.exp". This problem only appears when running
26687 the testsuite, and then only intermittently.
26688
26689Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
26690
26691 * gdb.base/return.exp (return_tests): Differentiate between
26692 two tests of continuing.
26693
26694Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
26695
26696 * */Makefile.in (maintainer-clean): Remove config.log.
26697 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
26698 * gdb.c++/Makefile.in (PROGS): Add inherit.
26699 (clean): Remove *.ci.
26700
26701Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
26702
26703 * gdb.c++/misc.cc: Add test code from Mike Stump.
26704 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
26705
26706Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
26707
26708 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
26709 to "alpha-*-osf2*" and add comment.
26710 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
26711 setup_xfail for "step over execarg initialization" and
26712 "step over corearg initialization".
c906108c
SS
26713 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
26714 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
26715 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 26716 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
26717 "print func2::coremaker_local", and "backtrace in corefile.exp".
26718 * gdb.base/signals.exp: Build and source signals.ci.
26719 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
26720 to be for gcc only.
26721 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 26722
c906108c
SS
26723Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26724
26725 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
26726 Feb 3 procfs.c change.
26727
26728Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
26729
26730 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
26731
26732Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
26733
26734 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
26735 from dejagnu's apparent default of 10 seconds, which gives random
26736 results when running the tests over NFS on moderately loaded systems.
26737 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
26738
26739Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
26740
26741 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
26742 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 26743 result reports.
c906108c
SS
26744
26745Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
26746
26747 * configure.in (CY_AC_PATH_TCLH): Remove.
26748 * configure: Regenerate.
26749
26750Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
26751
26752 * gdb.c++/Makefile.in (clean): Add missing '{'.
26753
26754Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
26755
26756 * lib/gdb.exp: Provide a default value for noinferior.
26757
26758 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
26759 Load libgloss.exp.
26760
26761Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
26762
26763 * gdb.disasm/hppa.exp: Compile directly into an executable, use
26764 the executable, not the .o to run the tests from.
26765
26766Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
26767
26768 * gdb.base/break.exp: Don't test for program exit or exit status
26769 if $noresults if nonzero.
26770 * gdb.base/langs.exp: Likewise.
26771 * gdb.base/watchpoint.exp: Likewise.
26772
26773 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
26774 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
26775 trying to compile the testcase.
26776
26777Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
26778
26779 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
26780 * gdb.base/signals.exp (continue to handler): Likewise.
26781
26782Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
26783
26784 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
26785
26786 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
26787
26788Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
26789
26790 * gdb.base/corefile.exp: Recognize "not found" as failure
26791 when trying to determine if a core file was generated.
26792 If no core file was generate the first time, try again without
26793 the ulimit -c to work around braindamaged shells.
26794
26795Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
26796
26797 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
26798 [] tests with "test" and enclose string in quotes.
26799 * gdb.stabs/configure: Rebuild
d63a86f8 26800
c906108c
SS
26801Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
26802
26803 Changes in sync with expect:
26804 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
26805 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
26806 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
26807 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
26808 argument to AC_REQUIRE.
26809 * configure: Regenerated.
26810
26811Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
26812
26813 * gdb.base/corefile.exp: When generating a core, discard any
26814 error messages about ulimit not found and the "core dumped"
26815 message from the shell that runs the coredumper.
26816
26817Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
26818
26819 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
26820
26821 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
26822 which sed script to run. Expect failure for v_comb test
26823 on PA targets too.
d63a86f8 26824
c906108c
SS
26825Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
26826
26827 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 26828 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
26829
26830Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
26831
26832 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
26833 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 26834 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
26835 * lib/gdb.exp (default_gdb_start): Fix typo.
26836 * gdb.base/corefile.exp: Allow "Core was generated by ..."
26837 messages to not include the full program name that caused
26838 the core dump since some systems (such as solaris) apparently
26839 truncate this path to about 80 characters.
26840 When generating a core file first try increasing the core file
26841 size limit to unlimited since some systems may default it to
26842 zero, and it is harmless to try it. Move the test for failing
26843 to generate a core file to where it will actually get executed.
26844 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
26845 new gdb result from g++ debug info improvements and make old
26846 pattern obsolescent. Also account for size_t differences
26847 (may be int or long).
26848 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
26849 initialization before function call is placed in the delay slot
26850 and thus appears to be skipped over by commands such as "next".
26851
26852Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
26853
26854 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
26855
26856Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
26857
26858 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
26859 input source file; fix code to compile test to deal with this
26860 convention.
26861 * gdb.c++/*.exp: Likewise.
26862
26863Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
26864
26865 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
26866 "bt in signals.exp".
26867
26868Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
26869
26870 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
26871 "step over execarg initialization" and
889bf7c5 26872 "step over corearg initialization".
c906108c
SS
26873
26874Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
26875
26876 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
26877 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
26878
26879Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
26880
26881 From Rob Savoye (rob@poseidon.cygnus.com)
26882 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
26883 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
26884 configure.in}, gdb.disasm/{Makefile.in, configure.in},
26885 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
26886 configure.in}: Major reworking for autoconfig.
c906108c
SS
26887 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
26888 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 26889 New files.
c906108c
SS
26890 * config/unix-gdb.exp: Make GDB global.
26891 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
26892 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
26893 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
26894 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
26895 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
26896 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 26897 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
26898 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
26899 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
26900 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
26901 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 26902 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
26903 to returns as necessary, arrange for test to compile own testcase
26904 executable.
c906108c 26905 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 26906
c906108c
SS
26907Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
26908
26909 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 26910 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
26911 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
26912 "backtrace through signal handler".
26913
26914Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26915
26916 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
26917 continuing from a job control stop signal.
26918 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
26919
26920Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
26921
26922 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
26923 * gdb.base/corefile.exp: Likewise.
26924 * gdb.base/funcargs.exp: Likewise.
26925
26926Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
26927
26928 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
26929 * config/monitor.exp: Add support for setting baud rate.
26930
26931Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
26932
26933 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
26934 i*86-*-linux* xfails for "backtrace through signal handler".
26935 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
26936 "print func2::coremaker_local".
26937 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 26938 alpha-dec-osf2* xfail for
c906108c
SS
26939 "delete all breakpoints when none".
26940
26941Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
26942
26943 * gdb.base/break.exp: Change test that deletes all breakpoints
26944 when no user breakpoints are installed. A post 4.15 change
26945 causes gdb to no longer prompt in this case.
26946
26947Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
26948
26949 * gdb.base/return.exp (return_tests): Change xfail for test
26950 "correct value returned double test" to stop xfailing at
26951 Solaris 2.5. Apparently the bug has been fixed.
26952
26953Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
26954
26955 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
26956 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
26957
26958Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
26959
26960 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
26961 * gdb.disasm/hppa.s: Corresponding changes.
26962
26963Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
26964
26965 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
26966 makefile fragment.
26967 * config/mt-hpux: Deleted.
26968
26969Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
26970
d63a86f8 26971 * Many files: When warning about suppressed tests due to a
c906108c
SS
26972 nonexistant test binary, avoid incrementing the warning count.
26973
26974Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
26975
26976 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 26977
c906108c
SS
26978Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26979
26980 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
26981 "sparc-*-solaris2*".
26982
26983Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26984
26985 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
26986 Add global and local variables and initialize them.
26987 * gdb.base/corefile.exp: Test correct mapping of corefile sections
26988 by printing variables. Remove rs6000 and powerpc xfails, BFD now
26989 extracts the file name and terminating signal from the core file.
26990 * TODO: Remove note about tests for correct mapping of corefile.
26991 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
26992 from optimizing it away.
26993 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
26994 handles common blocks.
26995
26996Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
26997
26998 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
26999 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
27000
27001Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
27002
27003 * Makefile.in (maintainer-clean): New target, synonym for
27004 realclean.
27005 * gdb.base/Makefile.in (maintainer-clean): Likewise.
27006 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
27007 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
27008 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
27009 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
27010 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
27011
27012Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
27013
27014 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
27015 xfails when not gcc compiled for "print foo::funclocal".
27016 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
27017 "print foo::funclocal at foo",
27018 "print 'scope1.c'::foo::funclocal at foo",
27019 "print foo::funclocal_bss at foo",
27020 "print 'scope1.c'::foo::funclocal_bss at foo",
27021 "print foo::funclocal_ro at foo",
27022 "print 'scope1.c'::foo::funclocal_ro at foo",
27023 "print bar::funclocal at foo" and
27024 "print 'scope1.c'::bar::funclocal at foo".
27025 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
27026 gcc compiled for "print foo::funclocal at bar".
27027 Expand all messages to ensure that they identify that
27028 the test is at bar().
27029 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
27030 gcc compiled for:
27031 "ptype on opaque struct pointer (statically)",
27032 "ptype on opaque struct tagname (statically)",
27033 "ptype on opaque struct pointer (dynamically) 1",
27034 "ptype on opaque struct tagname (dynamically) 1",
27035 "ptype on opaque struct pointer (dynamically) 2" and
27036 "ptype on opaque struct tagname (dynamically) 2
27037 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
27038 gcc compiled for:
27039 "p datalocal"
27040 "whatis datalocal",
27041 "ptype datalocal",
27042 "p bsslocal",
27043 "whatis bsslocal", and
27044 "ptype bsslocal".
27045 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
27046 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
27047 when not gcc compiled.
27048 * gdb.base/funcargs.exp (float_and_integral_args): Add
27049 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
27050 compiled.
27051 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
27052 "backtrace from call6a" when not gcc compiled.
27053 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
27054 "backtrace from call7a" when not gcc compiled.
27055 * gdb.base/callfuncs.exp (do_function_calls):
27056 Add "hppa*-*-hpux*" xfail when not gcc compiled for
27057 "p t_char_array_values(char_array_val2,char_array_val1)",
27058 "p t_char_array_values(char_array_val1,char_array_val2)",
27059 "p t_char_array_values("carray 1","carray 2")",
27060 "p t_char_array_values("carray 1",char_array_val2)",
27061 "p t_char_array_values(char_array_val1,"carray 2")",
27062 "p sum_args(1,{2})",
27063 "p sum_args(2,{2,3})",
27064 "p sum_args(3,{2,3,4})",
27065 "p sum_args(4,{2,3,4,5})"
27066 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
27067 "backtrace in corefile.exp" when not gcc compiled.
27068
27069Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27070
27071 * gdb.base/signals.exp: Rewrite `handle all print' test as
27072 a procedure. Accept blanks or TABs as whitespace, increase
27073 timeout and expect input buffer size for the large output
27074 from the command. Remove "i*86-*-bsdi2.0" xfail.
27075
27076Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27077
27078 * gdb.base/setvar.exp: Add new testcases for truncation when
27079 assigning invalid values to bitfields.
27080
27081Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
27082
d63a86f8 27083 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
27084 mips-sgi-irix* xfail for
27085 "call inferior func with struct - returns char *"
27086 and fix test so that an optional (unsigned char *) cast is
889bf7c5 27087 accepted in the result.
c906108c
SS
27088
27089Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
27090
27091 * gdb.base/funcargs.exp (float_and_integral_args): Remove
27092 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27093 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
27094 * gdb.base/signals.exp: Remove duplicate "handle all print" test
27095 that accidentally got checked in.
27096
27097Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
27098
d63a86f8 27099 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
27100 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
27101 compiled test.
27102 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
27103 Add mips-sgi-irix5* xfail for not gcc compiled.
27104 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
27105 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
27106 compiled for "p top", "whatis top", "p middle", and "whatis
27107 middle".
c906108c
SS
27108 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
27109 "whatis signed char" for not gcc compiled.
27110 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
27111 "set variable signed char=-1 (-1)" and
27112 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
27113 * gdb.base/funcargs.exp (float_and_integral_args):
27114 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
27115 Add mips-sgi-irix* xfail when not gcc compiled for
27116 "continue to call2b".
27117 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
27118 "continue to call2g".
6fdff2c5
PA
27119 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
27120 compiled for "backtrace from call6a"
27121 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
27122 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
27123 when not gcc compiled for "backtrace from call7a".
c906108c
SS
27124 (localvars_after_alloca): Fix gdb_test cmds for
27125 "print * after runto ...".
27126 Remove rs6000-*-* xfails for
27127 "print i after runto localvars_after_alloca" and
27128 "print l after runto localvars_after_alloca"
27129 for all compilers.
27130 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 27131 when not compiled with gcc, for:
c906108c
SS
27132 "print signed char == (minus)",
27133 "print signed char != (minus)",
27134 "print signed char < (minus)",
27135 "print signed char > (minus)".
27136 * gdb.base/callfuncs.exp (do_function_calls):
27137 Add mips-sgi-irix* xfail, when compiled with native compiler, for
27138 "call inferior func with struct - returns char *".
d63a86f8 27139 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
27140 "correct value returned double test" to include Solaris 2.4.
27141 * gdb.base/funcargs.exp (float_and_integral_args):
27142 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 27143
c906108c
SS
27144Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27145
27146 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
27147 enumeration bitfields if compiling with GNU C.
27148 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
27149 to empty' prompt.
27150
27151Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
27152
27153 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
27154 test for PRO targets.
27155
27156 * gdb.base/funcargs.exp: Avoid ever setting more than 8
27157 breakpoints in the inferior at any given time by making
27158 two groups of breakpoints for call2*, call6* and call7*
27159 tests.
27160
27161Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27162
27163 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
27164 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
27165 from optimizing it away.
27166 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
27167 "call inferior func with struct".
27168
27169Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
27170
27171 * configure.in: Only configure gdb.chill for particular targets.
27172
27173Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
27174
27175 * gdb.base/Makefile.in: Add action to .c.o transformation
27176 rule that generates a .ci file for each .o file and remove
27177 explicit .c.o rules except for callfuncs.o.
27178 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
27179 generates a .ci file for each .o file and remove explicit
27180 .cc.o rules.
27181 (clean): Remove *.tmp *.ci files.
27182 (EXECUTABLES): Remove templ-info.exp.
27183 * gdb.base/compiler.c: New file.
27184 * gdb.c++/compiler.cc: New file
27185 * gdb.base/scope.exp: Source gdb.base/scope.ci.
27186 Change rs6000-*-* xfail for
27187 "print 'scope0.c'::filelocal_ro" and
27188 "print 'scope1.c'::filelocal" and
27189 "print 'scope1.c'::filelocal_bss" and
27190 "print 'scope1.c'::filelocal_ro" and
27191 "print 'scope1.c'::foo::funclocal" and
27192 "print 'scope1.c'::foo::funclocal_ro" and
27193 "print 'scope1.c'::bar::funclocal" and
27194 "print 'scope0.c'::filelocal_ro" and
27195 "print 'scope1.c'::filelocal at foo" and
27196 "print 'scope1.c'::filelocal_bss at foo" and
27197 "print 'scope1.c'::filelocal_ro at foo" and
27198 "print 'scope1.c'::foo::funclocal at foo" and
27199 "print 'scope1.c'::foo::funclocal_bss at foo" and
27200 "print 'scope1.c'::foo::funclocal_ro at foo" and
27201 "print 'scope1.c'::bar::funclocal at foo" and
27202 "print 'scope0.c'::filelocal_ro" and
27203 "print 'scope1.c'::filelocal" and
27204 "print 'scope1.c'::filelocal_bss" and
27205 "print 'scope1.c'::filelocal_ro" and
27206 "print 'scope1.c'::foo::funclocal" and
27207 "print 'scope1.c'::foo::funclocal_bss" and
27208 "print 'scope1.c'::foo::funclocal_ro" and
27209 "print 'scope1.c'::bar::funclocal" and
27210 "print 'scope1.c'::bar::funclocal_bss"
27211 to only be xfail'd when not compiled with gcc.
d63a86f8 27212 Add rs6000-*-* xfail for
c906108c
SS
27213 "print 'scope0.c'::filelocal_bss before run"
27214 when compiled with gcc.
27215 (test_at_main): Add rs6000-*-* xfail for
27216 "print filelocal_ro in test_at_main"
27217 when compiled with gcc.
27218 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 27219 Add rs6000-*-aix* xfail for
c906108c
SS
27220 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
27221 "ptype t_char_array", not compiled with gcc.
27222 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
27223 xfail for "list foo (in include file)" when gcc compiled.
27224 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 27225 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
27226 "run to call0a" if not compiled with gcc.
27227 (unsigned_integral_args): Add rs6000-*-* xfail for
27228 "run to call1a" if not compiled with gcc.
27229 (float_and_integral_args): Add rs6000-*-* xfail for
27230 "run to call2a" if not compiled with gcc and for
27231 "continue to call2b" for any compiler.
27232 Add rs6000-*-* xfail to
27233 "print f1 after run to call2a" for gcc compiled.
27234 (discard_and_shuffle): Add rs6000-*-* xfail for
27235 "run to call6a".
27236 (shuffle_round_robin): Add rs6000-*-* xfail for
27237 "backtrace from call7a" if not compiled with gcc.
27238 Add rs6000-*-* xfail for
27239 "backtrace from call7b" if compiled with gcc.
27240 (call_after_alloca): Add rs6000-*-* xfail for
27241 "print c in call_after_alloca" and
27242 "print s in call_after_alloca" and
27243 "backtrace from call_after_alloca_subr"
27244 if not compiled with gcc.
27245 (localvars_in_indirect_call): Add rs6000-*-* xfail for
27246 "print c in localvars_in_indirect_call" and
27247 "print c in localvars_in_indirect_call" and
27248 "backtrace in indirectly called function" and
27249 "stepping into indirectly called function"
27250 if not compiled with gcc.
27251 (localvars_after_alloca): Add rs6000-*-* xfail for
27252 "print c after runto localvars_after_alloca" and
27253 "print s after runto localvars_after_alloca" and
27254 "print i after runto localvars_after_alloca" and
27255 "print l after runto localvars_after_alloca"
27256 for all compilers.
27257 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
27258 than whatis-info.exp.
27259 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
27260 than opaque-info.exp.
27261 Setup rs6000-*-* xfail for
d63a86f8 27262 "ptype on opaque struct pointer (statically)" and
c906108c
SS
27263 "ptype on opaque struct pointer (dynamically)" when
27264 not compiled with gcc.
27265 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
27266 rather than callf-info.exp.
27267 (do_function_calls): Add clear_xfail for rs6000-*-* for
27268 "p t_float_values2(3.14159,float_val2)". Seems to work
27269 fine there, both with xlc and gcc. Need to find out what
27270 it is doing right and fix other platforms.
27271 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
27272 "call inferior func with struct - returns int",
27273 "call inferior func with struct - returns long",
27274 "call inferior func with struct - returns float",
27275 "call inferior func with struct - returns double",
27276 "call inferior func with struct - returns char *",
27277 but only if not gcc compiled (presumes xlc compiled).
27278 Change rs6000-*-* xfails for
27279 "call inferior func with struct - returns char" and
27280 " call inferior func with struct - returns short" to only
27281 xfail if not using gcc.
27282 (clean mostlyclean): Remove *.ci and *.tmp files.
27283 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
27284 than templ-info.exp.
27285 * gdb.base/langs.exp: Source gdb.base/langs.ci.
27286 Add rs6000-*-* xfail for "up to foo in langs.exp"
27287 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 27288 when not gcc compiled.
d63a86f8 27289
c906108c
SS
27290Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27291
27292 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
27293 * gdb.base/corefile.exp: Likewise.
27294 * gdb.base/list.exp: Likewise.
27295 * gdb.base/scope.exp: Likewise.
27296 * gdb.base/siganls.exp: Likewise.
27297
27298 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
27299 compiler output.
27300 * gdb.base/whatis.exp: Likewise.
27301
27302Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
27303
27304 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
27305 failure (opcode table has been fixed to match reality).
27306
27307Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
27308
27309 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
27310 "call inferior func with struct - returns char",
27311 "call inferior func with struct - returns short"
27312
27313 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
27314 "print 'scope0.c'::filelocal at main",
27315 "print 'scope0.c'::filelocal_bss in test_at_main",
27316 "print 'scope0.c'::filelocal at foo",
27317 "print 'scope0.c'::filelocal_bss in test_at_foo",
27318 "print 'scope0.c'::filelocal at bar",
27319 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 27320
c906108c
SS
27321 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
27322 in source file 1". This bug seems to have been fixed with both
27323 gcc and native cc (was native assembler bug?).
27324
27325Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
27326
27327 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
27328 "backtrace through signal handler" to "i*86-*-sysv4*".
27329 * gdb.base/signals.exp: Add xfail for "'next' behaved as
27330 continue" case. Add "known SVR4 bug" to fail message.
27331 Add "i*86-*-bsdi2.0" xfail for "handle all print".
27332 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
27333 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
27334 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
27335 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
27336 "up to foo in langs.exp", "show language at foo in
27337 langs.exp", "up to cppsub_ in langs.exp", "show
27338 language at cppsub_ in langs.exp", "up to fsub in
27339 langs.exp", and "show language at fsub in langs.exp".
27340 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
27341 "bactrace in corefile.exp".
27342 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
27343 "call inferior function with struct - returns float" and
27344 "call inferior function with struct - returns double".
d63a86f8 27345
c906108c
SS
27346Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
27347
27348 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
27349 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
27350 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
27351 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
27352
27353Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
27354
27355 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
27356 (or overriden) "CHILL" macro rather then bare "gcc".
27357 Also look for ../../gcc/xgcc since that is what we will
27358 actually need, not "Makefile". Remove following assignment
27359 of CHILL to CHILL_FOR_TARGET because that results in
27360 recursive definition.
27361
27362Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
27363
27364 * gdb.base/corefile.exp: Change xfail for backtrace in
27365 corefile.exp from linuxaout to all linux.
27366 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
27367 cases where we miss the breakpoint at the signal handler
27368 for some reason. Setup xfail for linuxoldld/linuxaout and
27369 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
27370 hitting SIGURG breakpoint.
27371 * gdb.base/signals.exp: Setup xfail for "next" acting like
27372 continue to add linuxoldld. Setup xfail for all linux for
27373 "next to handler in signals_tests_1", "backtrace in
27374 signals_tests_1", "continue to func1", "pass SIGUSR1",
27375 and continue to handler".
27376
27377Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
27378
27379 * Update all FSF addresses except those in COPYING* files.
27380
27381Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
27382
27383 * gdb.base/a2-run.exp: Change messages to be more explicit about
27384 the status of args, and quote binfile in results.
27385
27386Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
27387
27388 * gdb.base/callfuncs.exp: Add tests for passing structs to
27389 inferior functions and return various types.
27390 * gdb.base/callfuncs.c: Add functions to receive a struct
27391 and return a member of the struct, in various types.
27392
27393Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27394
27395 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
27396
27397Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
27398
27399 * config/vxworks29k.exp: New file, sources vxworks.exp.
27400
27401Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27402
27403 * config/gdbremote.exp: New file. Testing framework using
27404 gdbserver.
27405
27406Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
27407
27408 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
27409 "call function when asleep" and "send end of file".
27410 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
27411 for "backtrace in corefile.exp".
27412 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
27413 for "backtrace through signal handler".
27414 * gdb.base/corefile.exp: Make sure we actually generate a core file
27415 before trying the core tests. Some systems allow the user to suppress
27416 generation of core files and default to that (linux for example).
27417 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
27418 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
27419
27420Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27421
27422 * gdb.threads: New directory with some crude multi-threaded
27423 gdb tests (step.exp and step2.exp).
27424 * config/mt-lynx (STEP_EXECUTABLE): Define.
27425 (THREADFLAGS): Define.
27426
27427Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
27428
27429 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
27430
27431 * gdb.base/signals.exp: Disable whole file for lynx until
27432 further notice.
27433
27434 * gdb.base/signals.exp: xfail test where "next" acts like
27435 "continue" for lynx.
27436
27437 * gdb.base/interrupt.exp: xfail test for calling function while
27438 inferior is asleep for lynx.
27439
27440 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
27441 than one cr-lf after each command.
27442
27443Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27444
27445 * configure.in: Reinstate setting of stabsdirs variable, fix
27446 typo in setting up configdirs for native builds.
27447
27448 * gdb.base/return.exp: Fix typo in return double test.
27449 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
27450 compiler from optimizing them away.
27451
27452Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
27453
27454 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
27455 sequences to be echo'd by gdb when using gdb_test.
27456 * gdb.chill/chexp.exp: Likewise.
27457 * gdb.fortran/exprs.exp: Likewise
27458
27459Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27460
27461 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
27462 after the inferior gdb has started.
27463
27464 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
27465 after each command.
27466 * gdb.base/funcargs.exp: Likewise.
27467 * gdb.base/gdbvars.exp: Likewise.
27468 * gdb.base/interrupt.exp: Likewise.
27469 * gdb.base/list.exp: Likewise.
27470 * gdb.base/watchpoint.exp: Likewise.
27471 * gdb.c++/demangle.exp: Likewise.
27472 * gdb.c++/inherit.exp: Likewise.
27473 * gdb.chill/chexp.exp: Likewise.
27474 * gdb.fortran/exprs.exp: Likewise.
27475
27476 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
27477 test if we can't handle IO to/from the inferior.
27478
27479 * gdb.c++/misc.exp: Always check for a program already being
27480 started after sending a "run" command to gdb.
27481
27482 * gdb.base/twice.exp: Start with a fresh gdb.
27483
27484 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
27485 only depend on gdb's expression code, not the chill runtime.
27486
27487 * gdb.base/return.c: Put return values into variables so we
27488 can have gdb print them rather than depending on the program
27489 to print them.
27490 * gdb.base/return.exp: Corresponding changes.
27491
27492 * lib/gdb.exp: Provide default value for noinferiorio.
27493 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
27494 the inferior.
27495
27496 * gdb.base/break.exp: Always check for a program already being
27497 started after sending a "run" command to gdb.
27498 (text_next_with_recursion): Don't check the output from the
27499 program's printf statement. Instead just make sure the program
27500 exited.
27501
27502 * gdb.base/commands.exp: Protect tests which need arguments with
27503 $noargs conditionals.
27504
27505Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27506
27507 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
27508 of structure member arrays to match gdb/valops.c:value_addr change.
27509
27510Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
27511
27512 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
27513 cases.
27514
27515Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
27516
27517 * configure.in (configdirs): Remove gdb.chill from default list
27518 of subdirs and then add it back in only if doing a native build.
27519 The current chill compiler does not yet work in any cross build.
27520 * Revert all signal changes from Jul 6.
27521 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
27522 for sh-hms targets, allowing these tests to link, with no other
27523 changes. Testing is suppressed by setting "nosignals" in site.exp.
27524
27525Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
27526
27527 * configure.in (signaldirs): Define and add to configdirs for all
27528 targets except some specific ones that are known to not support signals.
27529 Also clean up formatting.
27530 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
27531 (signals, sigall): Remove rules to build.
27532 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
27533 Moved to new gdb.signals directory.
27534 * gdb.signals: New test directory.
27535 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
27536 signals.c signals.exp}: New or moved files.
27537
27538Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
27539
27540 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
27541
27542Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
27543
27544 * gdb.base/return.exp: Xfail `return double' test failure
27545 on at least Solaris 2.3 and handle future/past versions on
27546 a case by case basis as appropriate. Also update message
27547 to include i*86 failures.
27548
27549Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27550
27551 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
27552
27553 * lib/gdb.exp: Fix comment which erroneously identified
27554 gdb_file_cmd as gdb_load (the 19 May change was in fact to
27555 gdb_file_cmd not gdb_load).
27556 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
27557
27558 * gdb.base/setvar.exp: Make test names consistent between pass and
27559 fail cases. Use gdb_test more.
27560
27561Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27562
27563 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
27564
27565Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27566
27567 * gdb.base/help.exp: Fix expected help string for `show commands'.
27568
27569Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
27570
27571 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
27572
27573 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
27574 of a text section.
27575
27576Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
27577
27578 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
27579 that loop eventually terminates. Fix Connection refused logic so
27580 that testsuite will expire nicely.
27581
27582Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
27583
27584 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
27585 config/rom68k.exp: New tcl glue for the appropriate monitors.
27586 These all just end up calling monitor.exp.
27587 * config/monitor.exp (gdb_target_monitor): Handle `Connection
27588 refused' by retrying. Cleanup some timeout issues.
27589 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
27590 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
27591 callers don't have to set/restore global timeout variable.
27592
27593 * The following set of changes centralizes management of the global
27594 timeout variable. This way, it can be set in one target dependent
27595 place instead of dozens of places scattered throughout the test suite.
27596 If you need to lengthen a timeout, then you should either set timeout
27597 in one of the config/{target}.exp files, or multiply it by a factor.
27598 Setting it to an absolute value is always going to lose for some
27599 targets.
27600 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
27601 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
27602 * gdb.base/funcargs.exp: Don't set timeout.
27603 * gdb.base/list.exp (test_forward_search): Only use local timeout.
27604 * gdb.base/printcmds.exp (test_print_string_constants
27605 test_print_array_constants): Don't set timeout.
27606 * gdb.base/ptype.exp: Don't set timeout.
27607 * gdb.base/recurse.exp: Don't set timeout.
27608 * gdb.base/return.exp: Don't set timeout.
27609 * gdb.base/watchpoint.exp: Don't set timeout.
27610 * gdb.c++/classes.exp (do_tests): Don't set timeout.
27611 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
27612
27613Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
27614
27615 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
27616
27617Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27618
27619 * lib/gdb.exp: Disable chill tests for irix5.
27620
27621Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27622
27623 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
27624 each test pass or fail.
27625
27626Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27627
27628 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
27629 xlc not gcc.
27630
27631Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
27632
27633 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
27634
27635Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
27636
27637 * config/est.exp: Fix copyright and comments. Remove dead code.
27638 Use targetname, serialport and baud variables instead of fixed
27639 constants.
27640 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
27641 * config/cpu32bug.exp: New file to support cpu32bug monitors.
27642
27643Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27644
27645 * gdb.base/watchpoint.exp: Don't run
27646 test_watchpoint_triggered_in_syscall for sunos.
27647
27648Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27649
27650 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
27651 they don't seem to exist. Do include stdio.h.
27652
27653Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27654
27655 * gdb.base/a1-selftest.exp: Add alpha xfail.
27656
27657Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27658
27659 * gdb.base/watchpoint.c (main): Prompt before calling read().
27660 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
27661 Revise accordingly. Remove cruft about sending "123" several
27662 times, until it gets noticed. Clean up the "print buf[0]" stuff
27663 so that it passes or fails, and waits for prompts in the usual way.
27664
27665Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27666
27667 * gdb.base/recurse.exp: Fix comment.
27668
27669 * TODO: Remove item about printing variables in nodebug.exp. Add
27670 item about enabling tests which are only run on some targets.
27671
27672 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
27673 fail, make test names unique, use new gdb_test convention
27674 regarding pattern, use gdb_test more, etc.).
27675
27676 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
27677 fail, make test names unique, etc.).
27678
27679Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27680
27681 * gdb.base/nodebug.c: Change return type of top and middle to
27682 short.
27683 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
27684 are fixed by the recent mdebugread.c changes. Allow `short ()'
27685 as type for top and middle.
27686
27687Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27688
27689 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
27690 nearly as I can tell, the whole thing was an accident in Stu's
27691 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
27692 to replace a send/expect pair with gdb_test, but ended up only
27693 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
27694 of 30 Mar 1995 took care of it, but left this vestigial comment
27695 which I am now nuking.
27696
27697Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27698
27699 * gdb.base/break.exp: Look for different line number for
27700 breakpoint at main depending on usestubs.
27701
27702Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27703
27704 * gdb.base/list.exp: Adjust some alternate expect patterns to
27705 match recent list0.c change. Add alternate expect pattern for
27706 output from `list default lines around main' for optimizing
27707 compilers.
27708
27709Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27710
27711 * lib/gdb.exp: If nosignals is not set, set it to 0.
27712
27713Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
27714
27715 * config/slite-gdb.exp: Responds to load symbol table prompt.
27716 * gdb.base/break.exp: Adjust line number, fix rerun.
27717 * gdb.base/langs0.c: Add #ifdef usestubs.
27718
27719Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
27720
27721 * gdb.base/list.exp: Adjust line contents after adding new lines in
27722 list0.c. Also fix a syntax error.
27723
27724 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
27725 * gdb.base/break.exp: ditto.
27726 * gdb.base/list.exp: ditto.
27727 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
27728 * gdb.base/run.c: ditto.
27729 * gdb.base/list0.c: ditto.
27730 * gdb.base/funcargs.c: ditto.
27731
27732Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
27733
27734 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
27735 $targetname, $serialport and $baud instead of hardwired variables.
27736 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
27737 target doesn't support signals.
27738
27739Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
27740
27741 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
27742
27743Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27744
27745 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
27746 Don't rely on the value of an auto variable before it has been
27747 initialized. Use gdb_test more.
27748
27749Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27750
27751 * lib/gdb.exp (default_gdb_version): A version number must start
27752 with a digit, but other than that contains all characters up to
27753 the first whitespace character.
27754
27755Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27756
27757 * gdb.base/commands.exp (breakpoint_command_test): New tests.
27758
27759Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27760
27761 * gdb.c++/*.exp: Warn if executable does not exist. The original
27762 reason for skipping the warning was that configure.in sometimes
27763 intentionally skipped building the executables but the tcl code
27764 had no way of knowing. That (a) was always bogus with respect to
27765 error handling, (b) is no longer true (right now there is no way
27766 to skip C++ tests).
27767
27768 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
27769
27770Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27771
27772 * gdb.base/list.exp: Add expect patterns for output from
27773 SunPRO compiled executables.
27774 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
27775 types.
27776
27777Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27778
27779 * gdb.base/break.exp (test_next_with_recursion): Accept any line
27780 number (we are already testing that the correct source line text
27781 gets printed).
27782
27783 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
27784 that is what is intended, but something needed to be done to get
27785 sunos4 native working again.
27786
27787 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
27788
27789 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
27790 apparently went with a (very) old xfail.
27791
27792Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
27793
27794 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
27795 runto_main is a proc in gdb.exp that will do 'step' for target use
27796 stubs.
27797 * gdb.base/exprs.exp: ditto.
27798 * gdb.base/interrupt.exp: ditto.
27799 * gdb.base/opaque.exp: ditto.
27800 * gdb.base/printcmds.exp: ditto.
27801 * gdb.base/ptype.exp: ditto.
27802 * gdb.base/scope.exp: ditto.
27803 * gdb.base/setvar.exp: ditto.
27804 * gdb.base/signals.exp: ditto.
27805 * gdb.base/twice.exp: ditto.
27806 * gdb.c++/classes.exp: ditto.
27807 * gdb.c++/inherit.exp: ditto.
27808 * gdb.c++/templates.exp: ditto.
27809 * gdb.base/break.exp: no run and hit main for stubs. Change line
27810 numbers for breakpoints and info breakpoint.
27811 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
27812 breakpoint().
27813 * gdb.base/callfuncs.c: ditto.
27814 * gdb.base/exprs: ditto.
27815 * gdb.base/interrupt.c: ditto.
27816 * gdb.base/opaque0.c: ditto.
27817 * gdb.base/printcmds.c: ditto.
27818 * gdb.base/ptype.c: ditto.
27819 * gdb.base/scope0.c: ditto.
27820 * gdb.base/setvar.c: ditto.
27821 * gdb.base/signals.c: ditto.
27822 * gdb.base/twice.c: ditto.
27823 * gdb.c++/misc.cc: ditto.
27824 * gdb.c++/templates.cc: ditto.
27825
27826Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27827
27828 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
27829
27830 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
27831 somewhere between `read' and `main.c'. I'm pretty sure the
27832 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
27833 and it isn't particularly useful.
27834
27835 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
27836
27837Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27838
27839 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
27840
27841Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
27842
27843 * config/mt-slite: add LIBS and -nostdlib.
27844 * config/slite-gdb.exp: add this new file to support sparclite target.
27845
27846Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
27847
27848 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
27849
27850 * gdb.base/a2-run.exp: Change argument to istarget from
27851 "*-*-vxworks" to "*-*-vxworks*".
27852 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
27853
27854Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
27855
27856 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
27857 will not runto main but do a 'step' to step out of breakpoint().
27858 * config/mt-slite: add -Dusestubs.
27859
27860Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27861
27862 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
27863 instead of just @.
27864
27865 * gdb.base/signals.exp: Add test for "handle all print".
27866 * TODO: Remove "handle all print". Also remove item about
27867 checking copyright date (I don't like the idea of a spurious FAIL
27868 based on when we run the tests).
27869
27870 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
27871 for SunOS4 (reason for failure not investigated). Remove
27872 redundant test for $binfile.
27873
27874 * gdb.base/nodebug.c (array_index): Call malloc.
27875
27876 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
27877
27878Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
27879
27880 * gdb.base/recurse.exp: Update gdb_test invocation to use new
27881 conventions and slightly simplify the matching regexp.
27882
27883Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27884
27885 * gdb.base/break.exp: Update gdb_test invocation to use new
27886 convention.
27887
27888 * lib/gdb.exp: If noargs is not set, set it to 0.
27889
27890 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
27891 tests unique.
27892
27893 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
27894
27895Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27896
27897 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
27898 one argument of type "<non-float parameter>".
27899
27900Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
27901
27902 * config/rom68k.exp: New file to support Motorola IDP board.
27903 * gdb.base/a2-run.exp: Skip this file if noargs is set.
27904 * gdb.base/break.c: Change things around so that this program
27905 doesn't depend upon args. This is necessary to make remote
27906 targets work (in general, they can't take args).
27907 * gdb.base/break.exp: Don't try to send args to program. Don't
27908 expect output. Also, replace lots of code with gdb_test.
27909
27910Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27911
27912 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
27913 printing of '\'' (which is what the comment says we are testing,
27914 even though we were not), not '''.
27915 (test_integer_literals_rejected): Test that printing ''' is an error.
27916
27917 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
27918 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
27919 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
27920 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
27921 Use gdb_test not test_print_accept.
27922 * lib/gdb.exp: Remove test_print_accept.
27923
27924 * gdb.base/signals.exp (signal_tests_1): Make pass message
27925 consistent with fail message.
27926
27927 * gdb.base/whatis.exp: Remove xfails for printing char vs.
27928 unsigned char; the bug (PR 1821) is fixed.
27929
27930 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
27931
27932 * gdb.base/scope.exp (test_at_localscopes): Call pass for
27933 successful tests--makes xfailing them work right.
27934
27935Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27936
27937 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
27938 only \r\n, not .*. The test can pass .* as the last thing in
27939 $pattern if that is what it wants. In addition to providing this
27940 flexibility, this change should speed up pattern matching in cases
27941 where the pattern already ended with .* (there were a number of
27942 them). This change also helps catch bad patterns--in the old
27943 scheme the typo "char \*" instead of "char \\*" would pass. Now
27944 it is caught.
27945 * Many .exp files: Update callers.
27946
27947 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
27948 clearer and does not spuriously match multiple ('s. Likewise for
27949 ) and *.
27950
27951 * gdb.base/nodebug.exp: Test ability to call a function and pass
27952 it a string (even with no debugging info).
27953
27954 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
27955 "p '\'", which is the same as "p ''" once tcl gets done with
27956 quoting, to "p '\\'", which I suspect is what is intended (one
27957 backslash gets sent to GDB).
27958
27959 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
27960
27961Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27962
27963 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
27964 1817) was fixed literally years ago.
27965
27966Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27967
27968 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
27969 test, it causes stepping out of call_after_alloca_subr with
27970 optimizing compilers.
27971 (localvars_in_indirect_call): Consume GDB prompt if `finish'
27972 fails.
27973
27974 * gdb.c++/templates.exp: Source templ-info.exp only if
27975 the templates executable exists.
27976
27977 * gdb.c++/misc.cc (class Contains_static_instance,
27978 class Contains_nested_static_instance),
27979 gdb.c++/classes.exp (test_static_members): Test printing of
27980 a class that contains a static instance of the class.
27981
27982Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27983
27984 * gdb.base/langs2.c (cppsub_): Don't prototype.
27985 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
27986 only, I believe).
27987
27988Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27989
27990 * lib/gdb.exp (skip_chill_tests): New procedure.
27991
27992 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
27993
27994Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
27995
27996 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
27997 each expect pattern. Cuts runtime from 12 to about 4 seconds.
27998
27999Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28000
28001 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
28002
28003 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
28004 disassemble 8, not 16, instructions for part 4.
28005
28006 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
28007 support the latter anymore.
28008
28009 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
28010 -DNO_PROTOTYPES.
28011 * gdb.base/callfuncs.c: Control use of prototypes based on
28012 NO_PROTOTYPES, not __STDC__.
28013 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
28014 t_float_values2 tests if prototypes in use.
28015
28016 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
28017 t_double_values): When checking differences against DELTA, check
28018 that difference is within the range (-DELTA,DELTA), not just
28019 (-infinity,DELTA).
28020
28021Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
28022
28023 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
28024 'file' command firts, then 'target', then 'load', this is due to gdb
28025 target set up.
28026 * config/mips-gdb.exp: Fix a couple regular exp bugs.
28027
28028Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
28029
28030 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
28031 FP load/store variants.
28032 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
28033
28034Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28035
28036 * gdb.base/term.exp: Do not give a warning if not native, it is
28037 not an abnormal condition.
28038
28039Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
28040
28041 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
28042 t_char_array".
28043
28044Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28045
28046 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
28047 are getting the version number.
28048
28049 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
28050 if not native, it is not an abnormal condition.
28051
28052Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28053
28054 * lib/gdb.exp: Just use "file exists", rather than undocumented
28055 dejagnu procedure "findfile".
28056
28057Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28058
28059 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
28060 (LDFLAGS): Set to -Xlinker -Ur.
28061
28062 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
28063 Removed, these values are set by lib/gdb.exp.
28064
28065 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
28066
28067Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28068
28069 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
28070 of replicating gdb startup code.
28071
28072 * config/mt-vxworks (LDFLAGS): Set to -r.
28073 (CFLAGS_FOR_TARGET): Removed.
28074
28075 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
28076 (gdb) and gdb for vxworks uses (vxgdb).
28077
28078 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
28079 executable is not in the tree and host != target, use sed and
28080 program_transform_name to determine the gdb name used by the
28081 target.
28082
28083 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
28084 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
28085
28086Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28087
28088 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
28089 floats, chars, and shorts where there are ANSI-style function
28090 definitions.
28091
28092 * gdb.base/langs.exp, gdb.base/langs*: New test.
28093 * gdb.base/Makefile.in: Build it.
28094 * TODO: Remove item about checking that C names don't get C++
28095 demangling applied; this test tests it.
28096
28097Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28098
28099 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
28100 went with the const70 xfail. The xfail went away a year ago.
28101
28102 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
28103
28104 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
28105 for hp300.
28106
28107 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
28108
28109 * gdb.base/a1-selftest.exp: Don't run on hp300.
28110
28111Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28112
28113 * Makefile.in (site.exp): Set host_alias and target_alias as well
28114 as host_triplet and target_triplet.
28115
28116Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28117
28118 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
28119
28120 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
28121 places as other ecoff systems).
28122
28123 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
28124 ultrix.
28125
28126Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28127
28128 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
28129 remove them.
28130 * gdb.base/nodebug.exp: Accept "function" in addition to "text
28131 variable and "variable" in addition to "data variable".
28132 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
28133
28134 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
28135 2.
28136 * gdb.base/list1.c (long_line): Add additional statement at start
28137 of function.
28138 * gdb.base/list.exp (test_forward_search): Update line number to
28139 reflect new statement.
28140
28141Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28142
28143 * gdb.base/signals.exp: Reinitialize searched source directories
28144 after gdb_start call.
28145
28146Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
28147
28148 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
28149 * gdb.stabs/Makefile.in: Likewise.
28150
28151 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
28152 change. Instead split the tests into smaller pieces.
28153 * gdb.disasm/hppa.s: Corresponding changes.
28154
28155Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28156
28157 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28158 Quote ^C when passing it to stty. For some shells ^ is a pipe.
28159
28160 * gdb.base/funcargs.exp: Modify many tests so that every test
28161 either passes or fails. Make some test names unique.
28162
28163Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28164
28165 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28166 Call stty to set interrupt character.
28167
28168 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
28169 for HP assembler versus GNU assembler based on actual behavior of
28170 $(CC), rather than assuming that $(AS) is always the GNU assembler.
28171
28172 * TODO: Suggest a few more stepping tests.
28173
28174Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
28175
28176 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
28177 restart GDB for h8300 after a continue.
28178 (return): Add pattern to match a29k-udi behavior.
28179 * gdb.base/nodebug.exp: Remove obsolete comment.
28180 * gdb.base/regs.exp: New file, testing of register displays.
28181 * gdb.base/return.exp: Fix typo in reference to $objdir.
28182 * gdb.base/whatis.exp: Always start with a fresh GDB.
28183
28184Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28185
28186 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
28187 higher, these tests generate a lot of output.
28188
28189Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28190
28191 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
28192 code following the catch silently ignored some errors; without the
28193 catch they should be thrown like any other tcl error. Also, the
28194 catch used "" instead of {} which meant all the callers who wanted
28195 to include one of the characters "[]$ had to quote it an extra time.
28196 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
28197 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
28198 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
28199 Remove extra quoting.
28200
28201Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
28202
28203 * gdb.base/commands.exp: Make test names unique; every test either
28204 passes or fails. Update some comments.
28205
28206 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
28207
28208Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28209
28210 The following fixes a FAIL caused by the fact that the alpha stabs
28211 configuration didn't use the ".if alpha" code in weird.def.
28212 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
28213 bit pointer, so the 32 bit version works even on the alpha.
28214 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
28215 Remove the stuff which allowed us to have separate versions for
28216 alpha and everything else.
28217
28218 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
28219 regexp which "info func operator\[\](" is supposed to match. Fix
28220 string to send to GDB. Note that GDB still doesn't work right. Add a
28221 new test for "info func .perator\[\](" which GDB does handle correctly.
28222
28223 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
28224
28225Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28226
28227 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
28228 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
28229 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
28230 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
28231 it makes the tests harder to understand and confuses test-o-matic.
28232 The preferred style is that each test provides a PASS or a FAIL,
28233 and has a unique message (e.g. "continue #54" not just "continue")
28234 which is the same for the pass and the fail.
28235 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28236 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
28237 to lib/gdb.exp.
28238 * gdb.base/printcmds.exp: Use test_print_accept. Remove
28239 prt_accept which was basically the same thing. Likewise for
28240 test_print_reject and prt_reject.
28241 * lib/gdb.exp (test_print_reject): Add some more error message
28242 patterns to match from the former printcmds.exp (prt_reject).
28243 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
28244 One defect of the passcount stuff is that some of it failed to
28245 report XPASS where appropriate.
28246 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
28247 stuff before and after arg in expected pattern.
28248 (test_paddr_operator_functions): Re-do test without print_addr_of;
28249 this is the only test which seems to want extra stuff there.
28250
28251Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28252
28253 * gdb.base/nodebug.exp: Update new tests to reflect improved
28254 wording of gdb output.
28255
28256 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
28257 and "ptype" work on variables in files compiled without -g.
28258 Replaces commented out "maint print msymbol" tests.
28259
28260Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28261
28262 * gdb.base/setvar.c (dummy): Call malloc.
28263
28264 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
28265 losing with the irix4 sed.
28266
28267 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
28268 ALRM" on irix4.
28269
28270Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28271
28272 * TODO: Remove items about corefile.exp testing new exec-file and
28273 backtrace; both are now done. Add items about printing enums.
28274
28275Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28276
28277 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
28278 "get signal $thissig" test fails.
28279
28280 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
28281
28282Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28283
28284 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
28285 compiler warning with dec alpha compiler.
28286
28287 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
28288 extra \n from gdb_test call (this explains why the prompt test
28289 that I removed yesterday was there).
28290 (user_defined_command_test): Remove extra \n and prompt test.
28291
28292 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
28293 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
28294 doesn't exist.
28295 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
28296 Also remove alpha workaround, which turns out to be because
28297 SIGABRT == SIGLOST.
28298
28299 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
28300
28301 * gdb.base/help.exp: Don't test "help show".
28302
28303Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28304
28305 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
28306 "set print address" is on.
28307 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
28308 pass prompt to gdb_test; gdb_test already looks for the prompt.
28309
28310 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
28311
28312 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
28313 was a vestige of the manual TESTSTRATEGY, and the purpose of it
28314 was to make sure that gdb can read a core file. But (a) the "read
28315 the corefile" part didn't make it to a1-selftest.exp, we just
28316 delete the corefile after creating it, and (b) we test reading
28317 corefiles in corefile.exp anyway. Also, this test left around a
28318 xgdb process on Solaris.
28319
28320 * gdb.base/corefile.exp: Also test backtrace.
28321
28322Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
28323
28324 * gdb.base/commands.exp: Test a simple user defined command with
28325 arguments and if/while statements; verify the full user command is
28326 printed by "show user".
28327
28328 * gdb.base/commands.exp: Test if/while commands as part of a
28329 breakpoint command list; verify they appear in breakpoint
28330 information.
28331
28332Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28333
28334 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
28335 than by dividing by zero.
28336
28337Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
28338
28339 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
28340 performing an inferior call with watchpoints enabled.
28341 * gdb.base/watchpoint.c (main): Delete second unnecessary read
28342 call.
28343
28344Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28345
28346 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
28347 of "file" command.
28348
28349 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
28350 Add additional pattern for when "int operator int(void);" appears
28351 in a different order.
28352
28353Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28354
28355 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
28356
28357 * gdb.base/help.exp: Replace most of docstrings for "info signals"
28358 and "signal" with ".*".
28359
28360Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28361
28362 * TODO: Add note about "handle all nostop".
28363
28364 * gdb.base/{sigall.c, sigall.exp}: New test.
28365 * gdb.base/Makefile.in: Add it.
28366
28367Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
28368
28369 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
28370 when invoking GDB, suppresses any windowing interface.
28371
28372Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
28373
28374 * config/sim-gdb: New file, simulator testing support.
28375
28376Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
28377
28378 * gdb.base/interrupt.exp: Test calling func1 twice.
28379
28380Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
28381
28382 * gdb.base/list.exp (test_forward_search): Set timeout higher
28383 when we'll be getting lots of output from gdb.
28384
28385 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
28386 "init_malloc" to after the expect statement. Run it if that
28387 regexp is taken, but also for two others which happen if source
28388 cannot be found.
28389
28390Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28391
28392 * gdb.base/printcmds.exp: New test, for printing register before
28393 program is running.
28394
28395Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28396
28397 * gdb.base/list.exp: Correct some alternate expect patterns
28398 to reflect changes in list1.c.
28399
28400Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28401
28402 * TODO: Add item regarding large frames.
28403
28404 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
28405
28406 * TODO: Remove item about enabling return.exp; it
28407 is enabled. Suggest a few more "return" tests.
28408
28409Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28410
28411 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
28412 anonymous unions.
28413
28414Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28415
28416 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
28417 and pr-5646.o, so "make" is the same as "make all", not "make
28418 pr-4975.o".
28419
28420Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
28421
28422 * gdb.base/list.exp: Adjust expectations to reflect changes in
28423 list1.c.
28424 (test_forward_search): New test proc.
28425 * gdb.base/list1.c (long_line): New function, has long source line.
28426
28427Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
28428
28429 * gdb.base/a1-selftest.exp: Change initial stepping to know about
28430 additional line of code that was added.
28431
28432Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
28433
28434 * gdb.disasm/hppa.s: Break the large branching tests into smaller
28435 tests so as not to overflow expect's input buffers.
28436 * gdb.disasm/hppa.exp: Corresponding changes.
28437
28438Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28439
28440 Beginnings of template debugging tests.
28441 * gdb.c++/templ-info.cc: New file to test for template
28442 debugging capability of the compiler.
28443 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
28444 templ-info.cc.
28445 * gdb.c++/templates.cc: Add explicit template instantiations
28446 to enable compiling with -fno-implicit-templates. Add destructor
28447 and 'value' method to T5 class for template tests.
28448 * gdb.c++/templates.exp: Add testcases for printing of template
28449 types, setting breakpoints on template methods and calling a
d63a86f8 28450 template method.
c906108c
SS
28451
28452Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
28453
28454 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
28455 branch target since some assemblers (gas-2.5) may emit a
28456 relocation for the branch instead of resolving it in the
28457 assembler.
28458
28459Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28460
28461 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
28462 through signal handler.
28463
28464Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28465
28466 * configure.in (*-*-netware): Use config/mt-netware.
28467
28468 * config/mt-netware: New file.
28469 * config/mt-i386-netware: Removed, separate configs for different
28470 netware architectures are no longer needed now that we have
28471 --with-headers.
28472
28473Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28474
28475 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
28476 by the recent changes to use ANSI C arithmetic conversions.
28477
28478Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28479
28480 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
28481 bug involving using inferior_pid to figure out whether to select a
28482 frame.
28483
28484Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
28485
28486 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
28487 match the current disassembler output.
28488
28489Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
28490
28491 * gdb.fortran/exprs.exp: Expect VOID instead of void.
28492 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
28493 types, expect "int" as type of integer values (for now).
28494
28495Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
28496
28497 * gdb.base/commands.exp: New tests for if/while commands.
28498
28499Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
28500
28501 * lib/gdb.exp (runto): Replace sub-pattern for hex value
28502 by .*, since hex values have different syntax in Chill mode.
28503
28504Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28505
28506 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
28507 linefeed from expect pattern for repeated types with indices > 9.
28508
28509Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
28510
28511 First part of Fortran test suite.
28512 * gdb.fortran: New directory.
28513 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
28514
28515Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28516
28517 * gdb.base/default.exp: Update expect pattern for load command
28518 without arguments.
28519
28520Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
28521
28522 * configure.in: Change i386 to i[345]86.
28523 * gdb.base/configure.in: Likewise.
28524 * gdb.c++/configure.in: Likewise.
28525 * gdb.chill/configure.in: Likewise.
28526
28527Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
28528
28529 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
28530 patterns, since that is not a valid context for comments.
28531
28532Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
28533
28534 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
28535 repeated types and repeated types with indices > 9.
28536
28537Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
28538
28539 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
28540 2417; old bug has been fixed.
28541
28542Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
28543
28544 * gdb.base/interrupt.exp: When trying to wake up the inferior,
28545 send the newline ourselves instead of assuming gdb_test will do
28546 so when passed an empty input string.
28547
28548 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
28549 stabs testcode.
28550
28551Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28552
28553 * lib/gdb.exp (gdb_test): Don't send anything if the first
28554 argument is an empty string. This makes cases where we want to
28555 match output that is already in expect's buffers (for example,
28556 matching a breakpoint after gdb_run_cmd has been called) work
28557 reliably.
28558
28559Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28560
28561 * config/netware.exp: New file.
28562
28563Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28564
28565 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
28566 the -B and -L prefixes so we can find the debugging stub.
28567
28568 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
28569 there and we are using the gcc from the tree.
28570
28571 * gdb.base/types.c: Removed.
28572
28573 * gdb.base/configure.in: Look for makefile fragments in ../config.
28574 Recognize i386-*-netware.
28575 * gdb.c++/configure.in: Likewise.
28576
28577Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28578
28579 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
28580 the correct TCL syntax.
28581
28582Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28583
28584 * gdb.base/opaque.exp: use runto instead of messing around with
28585 breakpoints. Simplify by using gdb_test.
28586
28587 * gdb.base/bitfields.exp: restart between tests on netware targets
28588 because breakpoints aren't relocated after target death. Run
28589 processes to completion.
28590
28591 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
28592
28593Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
28594
28595 * Makefile.in: Remove extra tabs that confuse some versions
28596 of "make". Use the newly built gdb to test with by default,
28597 rather than the first one in the tester's search path.
28598
28599Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
28600
28601 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
28602
28603 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
28604 condition help.
28605
28606Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28607
28608 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
28609
28610 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
28611 running.
28612 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
28613 * gdb.base/funcargs.exp: Likewise.
28614
28615 * gdb.base/bitfields.exp: Simplify by using gdb_test.
28616 * gdb.base/funcargs.exp: Likewise.
28617
28618 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
28619 message is "".
28620
28621Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28622
28623 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
28624 return,signals,twice}.exp: Handle non-existant binaries
28625 consistantly.
28626
28627 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
28628 * gdb.base/Makefile.in: Don't try to generate a core dump, we
28629 might testing a cross development system.
28630
28631Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28632
28633 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
28634 runtest script is relative to ${srcdir}, not ${rootdir}.
28635
28636Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
28637
28638 * gdb.base/signals.exp: Allow for optionality of breakpoint
28639 address.
28640
28641Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28642
28643 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
28644
28645Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28646
28647 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
28648 for size_t definition.
28649 * gdb.c++/templates.cc: Likewise
28650
28651 * config/mt-i386-netware: New file.
28652
28653 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
28654 defined.
28655
28656 * gdb.base/Makefile.in: Added support for systems that name core
28657 files by appending "core" to the program name.
28658 * gdb.base/a1-selftest.exp: Likewise.
28659
28660Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28661
28662 * gdb.base/return.exp: Add comment and message for `return double'
28663 test failure on Sparc Solaris.
28664
28665Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
28666
28667 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
28668
28669Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28670
28671 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
28672 from optimizing them away.
28673 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
28674 patterns to include default constructors and assignment operators,
28675 to match gcc versions beyond 2.5.8. Accept any cplus demangling
28676 character in the output of the virtual base pointer.
28677
28678Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28679
28680 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
28681 expression match in print_addr_of to avoid unintented matches.
28682 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
28683 versions up to 2.5.8.
28684
28685Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28686
28687 * gdb.base/list.exp: Tweak alternate pattern for listing of an
28688 included file to run under newer versions of expect.
28689 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
28690 consecutive >'s in templates to accomodate recent cplus-dem.c change.
28691 Remove xfail for the virtual table of BDDHookV.
28692
28693Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
28694
28695 * lib/gdb.exp (string_to_regexp): Set a default result.
28696 (default_gdb_start): Fix misleading message.
28697
28698Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
28699
28700 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
28701 Remove all CC, etc definitions.
28702 * config/mt-hpux: New file.
28703 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
28704 (CFLAGS, LDFLAGS): Define.
28705 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
28706
28707 * Makefile.in (site.exp): Don't insert host_os, etc.
28708 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
28709 (distclean): Check existence of subdir.
28710 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
28711 * gdb.base/Makefile.in: General cleanup and simplification.
28712 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
28713 to build executables. Use default rule to build .o files.
28714 (EXPECT, RUNTEST, CC): Fix relative pathname.
28715 (site.exp): Don't insert host_os, etc.
28716 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
28717 and/or SIGUSR1 defined.
28718 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
28719 * gdb.c++/Makefile.in: General cleanup and simplification.
28720 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
28721 (CFLAGS): Remove.
28722 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
28723
28724Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
28725
28726 * gdb.base/recurse.exp: Misc changes to get tests running again
28727 after Kung's changes to the watchpoint code.
28728 * gdb.base/watchpoint.exp: Likewise.
28729
28730Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
28731
28732 * lib/gdb.exp (string_to_regexp): Convert {\} also.
28733
28734Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
28735
28736 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
28737 * lib/gdb.exp (default_gdb_start): Define.
28738 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
28739 gdb.base/funcargs.exp, gdb.base/opaque.exp,
28740 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
28741 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
28742 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
28743 Don't call gdb_target_udi in between tests.
28744
28745Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28746
28747 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
28748 (which was basically just a local version of the same thing). In
28749 addition to avoiding duplication, gdb_test_exact is faster.
28750 * lib/gdb.exp (gdb_test_exact): Fix typo.
28751
28752 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
28753 don't give an error.
28754
28755 * gdb.base/term.exp: Call delete_breakpoints before starting.
28756
28757 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
28758 (t10): Add comment.
28759
28760Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
28761
28762 Reorganization of the GDB Test Suite.
28763
28764 * gdb.base: New directory, contains all the basic tests.
28765 * gdb.c++: New directory, tests specific to C++.
28766 * gdb.chill: New directory, tests specific to Chill.
28767 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
28768 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
28769 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
28770 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
28771 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
28772 t30-31 to chill).
28773 * */gdbme.*: Rename to match appropriate expect scripts.
28774 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
28775 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
28776 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
28777 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
28778 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
28779 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
28780 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
28781 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
28782 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
28783 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
28784 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
28785 gdb.c++/virtfunc.cc: New names of C++ files.
28786 * gdb.chill/chillvars.ch: New name of Chill file.
28787 * gdb.base/configure.in, gdb.c++/configure.in,
28788 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
28789 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
28790 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
28791 * configure.in (configdirs): Update to reflect directory changes.
28792 (target_abbrev): No longer define for any configuration.
28793 * Makefile.in: Cosmetic improvements to header comments.
28794
28795Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
28796
28797 Various changes to gdb.t31:
28798
28799 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
28800 * gdbme.ch: Make all key-words and predefineds be upper-case.
28801 * chillvars.exp: Expect key-words and predefinds in upper-case.
28802
28803 * chillvars.exp: Use gdb_test_exact many places.
28804 Change expected output for arrays (which now includes index labels).
28805
28806 * pr-5020.exp, gdme.ch (module PR_5020):
28807 New test, for PR-5020.
28808
28809Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
28810
28811 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
28812 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
28813
28814Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
28815
28816 * Makefile.in: Fix bit-rot in definitions of CHILL,
28817 CHILL_FOR_TARGET and Chill_LIB.
28818 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
28819 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
28820 CHILL, and CHILL_LIB.
28821
28822Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
28823
28824 * Revert the previous changes. Please see Rob's directory
28825 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
28826
28827Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
28828
28829 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
28830 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
28831 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
28832 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
28833 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
28834 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
28835 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
28836 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
28837 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
28838 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
28839 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
28840 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
28841 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
28842 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
28843 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
28844 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
28845 changes from 94Q1.
28846
28847Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
28848
28849 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
28850 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
28851 Rob's new testing fragments.
28852
28853Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
28854
28855 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 28856 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
28857
28858Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
28859
28860 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
28861 version also, match on casted version strings, and match on
28862 gdb startup case where the line numbers might be messed up.
28863
28864Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
28865
28866 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 28867 (CFLAGS): Delete it from here.
c906108c
SS
28868
28869Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
28870
28871 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
28872
28873Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
28874
28875 * Makefile.in (RUNTEST): Default to just "runtest".
28876
28877Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28878
28879 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
28880 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
28881 the code has been restructured.
28882
28883Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28884
28885 * gdb.t00/default.exp (set write): Allow any number of \r and/or
28886 \n, not just one of each.
28887
28888 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
28889 /bin/cc gives a warning if you do.
28890
28891Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
28892
d63a86f8 28893 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
28894 __t10ListS_link1ZUiRCUiPT0
28895
28896Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28897
28898 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
28899 on local variables in recursive functions.
28900
28901 * gdb.t07/Makefile.in: Build the new test.
28902
28903Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28904
28905 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
28906 directly. Instead compare the return values from actual calls.
28907
28908Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
28909
28910 * Makefile.in (check): Set TCL_LIBRARY for runtest.
28911
28912Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28913
28914 * From Peter Schauer with minor modifications.
a9c64011
AS
28915 * gdb.t15/return.exp (return_tests): Handle targets where "return"
28916 stops in mid-line in the caller. Add xfail for returning a float
28917 value on X86 targets.
c906108c
SS
28918
28919Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28920
28921 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
28922 to avoid expect lossage.
28923 (fmem_LRbug_tests): Likewise.
28924 * gdb.disasm/hppa.s: Corresponding changes.
28925
28926 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
28927 conditions to work with latest dejagnu/expect.
28928
28929 * gdb.t15/funcargs.exp (finish from indirect call): No longer
28930 expected to fail on the PA.
28931 (backtrace in call with trampolines): Explicitly require main
28932 to be frame #1 (no trampolines should show up in backtrace).
28933
28934 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
28935 "continue -expect".
28936 * gdb.t06/break.exp: Likewise.
28937 * gdb.t07/watchpoint.exp: Likewise.
28938 * gdb.t13/bitfields.exp: Likewise.
28939 * gdb.t15/{funcargs,return}.exp: Likewise.
28940 * gdb.stabs/weird.exp: Likewise.
28941 * config/{mips,udi}-gdb.exp: Likewise.
28942
28943 * hppa.sed: Enclose comments within a sed command to avoid
28944 losing with the old OSF1 sed.
28945
28946Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28947
28948 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
28949 sequent dynix.
28950 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
28951 * gdb.t15/funcargs.exp: Conditionally step again to really
28952 finish from marker_call_with_trampolines. Handle the case where
28953 the first step from within call_with_trampolines already steps
28954 us back to main.
28955 * gdb.t15/gdbme.c: Add comment to closing brace of
28956 call_with_trampolines for funcargs.exp.
28957
28958Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28959
d63a86f8 28960 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
28961 Fix typo(s).
28962
28963Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28964
28965 * gdb.t07/gdbme.c: More code for watchpoint testing.
28966
28967 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
28968 "Hardware watchpoint" throughout file.
28969 (test_watchpoint_triggered_in_syscall): New test.
28970 (test_complex_watchpoint): New test.
28971
28972Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28973
28974 * gdbme.c (call_with_trampolines): New function to try and step
28975 into. Tests trampoline problems on the PA.
28976
28977 * funcargs.exp (localvars_in_indirect_call): No longer expect
28978 stepping into indirect call to fail on PAs.
28979 (test_stepping_over_trampolines): New test.
28980
28981Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28982
28983 * TODO: Add suggestions for static member function tests, and
28984 completion tests.
28985
28986Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28987
28988 * TODO: Add suggestions for "p/a" tests.
28989
28990 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
28991 (default_gdb_exit): Replace all the hair with sending "quit" to
28992 the process with a simple close.
28993
28994Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28995
28996 * TODO: Add suggestions for shared library tests.
28997
28998Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28999
29000 * TODO: Add suggestions for x/s tests.
29001
29002Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29003
29004 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
29005 "enable once", and "enable breakpoints once" with ".*".
29006
29007Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29008
29009 * TODO: Add suggestions about structure passing tests.
29010
29011Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29012
29013 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
29014 the primary1 test, use work around if __GNUC__ < 2.
29015 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
29016 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
29017 Test for bad output rather than waiting for timeout. Issue
29018 second continue only if first continue failed.
29019
29020Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29021
29022 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
29023 operator[] test with gdb_test because the old code didn't seem to
29024 be getting the quoting right with the new dejagnu.
29025
29026Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
29027
29028 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
29029 one from the path.
29030 * Makefile.in: Use a fresh expect if there is one, use runtest
29031 from the src tree if there is one.
d63a86f8 29032
c906108c
SS
29033Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29034
29035 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
29036 next over recursive call. Revise the tests from that point on
29037 (which had been skipped) to match GDB's actual (correct) output.
29038
29039 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
29040 with next over a breakpoint whose condition is false.
29041
29042 * gdb.t00/help.exp: Comment out "help set print" tests just like
29043 (and for same reason as) "help set" test.
29044
29045Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29046
29047 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
29048 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
29049
29050Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29051
29052 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
29053 necessary gdb_target_udi.
29054
29055 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
29056
29057 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
29058 1838 and 2417; they are fixed.
29059
29060 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
29061 gdb.t03/ptype.exp (ptype structure, ptype union):
29062 Remove xfails; the test is looser than when the xfails were added.
29063
29064 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
29065 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
29066
29067 * gdb.t01/run.exp: Only run shell test if isnative.
29068
29069 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
29070 since "run" automatically loads if necessary. Call gdb_target_udi
29071 after the "file" since "file" kills any execution target.
29072
29073 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
29074 GDB. GDB doesn't work that way (not anymore at least) on UDI.
29075 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
29076 argument for UDI.
29077
29078Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29079
29080 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
29081
29082 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
29083
29084Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29085
29086 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
29087 properly quoting regexps. This makes the second argument to
29088 demangle a fixed string, which matches the callers, instead of a
29089 shell-style pattern which is what the previous implementation
29090 used. Update some of the callers.
29091
29092Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29093
29094 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
29095 (comib_nullified_tests): Fix typo.
29096 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
29097 strings. No longer expected to fail.
29098
29099 * gdb.disasm/hppa.s (addib_tests): Fix typo.
29100 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
29101 strings. No longer expected to fail.
29102
29103 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
29104 string. No longer expected to fail.
29105
29106Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29107
29108 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
29109 No longer expected to fail.
29110
29111 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
29112 string. No longer expected to fail.
29113
29114Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29115
29116 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
29117 only in the names (I probably got most of them). I was even
29118 generous with some which differed in underscores in names, and
29119 probably missed a few, and I *still* was able to remove almost a
29120 third of the file with almost no impact on testsuite coverage.
29121
29122Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29123
29124 * gdb.t00/default.exp: Match udi_attach error message as well as
29125 the one from child_attach.
29126
29127 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
29128
29129 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
29130
29131 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
29132 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
29133
29134 * Move test with enums and partial symbols back to
29135 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
29136 Reverts the change of 26 May 93. Per today's change to
29137 stabs.texinfo, the behavior that weird.exp was expecting was
29138 unreasonable; what is important is that the compiler+gdb get
29139 things right, which happens with a recent gcc. Also fix the test
29140 to deal with native compilers which put out the stab gdb can't
29141 deal with.
29142
29143Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29144
29145 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
29146 in the names. The main thing these accomplish is to slow things down.
29147 Many more such duplicates surely remain.
29148
29149 * gdb.t00/help.exp: Comment out "help support" test just like
29150 (and for same reason as) "help set" test.
29151
29152Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
29153
29154 * gdb.t06/break.exp: Remove setup_xfails for
29155 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
29156 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
29157 about known bug in gcc to include up through 2.5.8.
29158 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
29159 well as "_vb$".
29160 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
29161 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
29162 with latest gcc and gdb.
29163 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
29164 well as "_vb$".
29165
29166Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29167
29168 * configure.in (hppa*-*-*): Also configure and build stabs-only
29169 tests.
29170
29171Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29172
29173 * gdb.t10/hppa.mt: A makefile fragment for the PA.
29174 * gdb.t10/configure.in (hppa*-*-*): Use it.
29175
29176Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29177
29178 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
29179
29180Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29181
29182 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
29183 versions prior to 1.13.5.
29184
29185Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29186
29187 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
29188 the prompt is at the start of a line.
29189
29190Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29191
29192 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
29193 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
29194 in the copr tests now.
29195 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
29196 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
29197 expected to fail.
29198
29199Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
29200
29201 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
29202 gdb.t31/chillvars.exp, lib/gdb.exp:
29203 Tweak to run under either version of expect.
29204 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
29205 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
29206 * gdb.t11/list.exp: Remove extraneous whitespace.
29207
29208Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29209
29210 * gdb.t16/printcmds.exp (test_print_strings): Accept
29211 "(unsigned char *) " before the string.
29212
29213 * TODO: Add notes about printing of fancy types and GDB expressions.
29214
29215Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
29216
29217 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
29218 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 29219 if doing mips-idt-ecoff.
c906108c
SS
29220
29221Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
29222
29223 * Most .exp files: Tweak to run under either version of expect.
29224
29225Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29226
29227 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
29228 xfails; I'm not sure why they are failing, but not because of PR 1806.
29229
29230Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
29231
29232 * config/unix-gdb.exp: Remove gdb_unload cause it's already
29233 defined in lib/gdb.exp.
29234
29235Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29236
29237 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
29238 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
29239 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
29240 have to be typeless.
29241
29242Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29243
29244 * TODO: Add suggestion for copyright year test.
29245
29246Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
29247
29248 * configure.in (*-*-lynxos*): Add stabs tests.
29249
29250Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29251
29252 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
29253 so insert a tab before any assembler directive in column zero.
29254
29255 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
29256 stores.
29257 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
29258 stores.
29259 (fpu_short_memory_tests): Likewise.
29260
29261Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29262
29263 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
29264 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
29265 .stabs directives in comments.
29266
29267Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29268
29269 * TODO: New file, describing tests we could write.
29270 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
29271
29272Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29273
29274 * gdb.t06/signals.exp: Add kludge to force re-sync.
29275
29276 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
29277 to xgdb instead of gdb, get out of gdb.
29278
29279Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
29280
29281 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
29282 for info.
29283
29284Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29285
29286 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
29287 * gdb.stabs/configure.in (hppa*-*-*): Use it.
29288 * gdb.stabs/hppa.sed: New sed script for the PA.
29289
29290Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29291
29292 * gdb.stabs: Re-write weird.def and configuration to use sed
29293 instead of cpp. sed is portable and POSIX; cpp is neither.
29294
29295Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29296
29297 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
29298
29299Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29300
29301 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
29302
29303Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29304
29305 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
29306 "_vb$".
29307 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
29308 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
29309
29310Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29311
29312 * lib/gdb.exp: Comment out code which depends on non-existent
29313 `transform' procedure.
29314
29315Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
29316
29317 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
29318 * lib/gdb.exp: Transform tool name.
29319 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
29320 1.1's new error handling system.
29321
29322Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29323
29324 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
29325
29326Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29327
29328 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
29329 They made pattern matching so slow that timeouts happened on
29330 heavily loaded systems. Now any output from "show print" which
29331 gets us back to the GDB prompt is a PASS.
29332
29333Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
29334
29335 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
29336
29337Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29338
29339 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
29340
29341 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
29342 It is not from PR 3220.
29343
29344Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29345
29346 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
29347 just started failing because they depended on the order the
29348 subcommands are presented, or exact docstring text. This kind of
29349 test is a pain and has minimal benefit.
29350
29351Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29352
29353 * gdb.t09/corefile.exp: At end of test, use "core" command with
29354 no arguments.
29355
29356Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
29357
29358 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
29359 17}/Makefile.in: Make it possible to run the testsuite with Sun
29360 make and CC = cross gcc by adding explicit build rules for .o
29361 files.
29362
29363Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29364
29365 * gdb.t15/funcargs.exp: Don't put comments on same line as
29366 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 29367
c906108c
SS
29368Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29369
29370 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
29371
29372Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
29373
29374 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
29375 * gdb.t20/inherit.exp: remove three dumplicate entries.
29376
29377Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29378
29379 * gdb.t06/break.exp: For "next over recursive call", fail on any
29380 incorrect output, not just on "factorial (value=2)".
29381
29382Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29383
29384 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
29385 working now. Add an xfail if accesing a bss variable causes
29386 a memory error if the target is not yet run.
29387
29388Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29389
29390 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
29391 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
29392 name of __st* demangling (2 strings). Did Kung really get the
29393 more than 95 others right without testing them?
29394
29395Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
29396
29397 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
29398
29399Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
29400
29401 * configure.in (configdirs): Add gdb.disasm
29402 * gdb.disasm: New directory for GDB disassembler tests.
29403 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
29404
29405Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29406
29407 * gdb.t00/help.exp: Don't test "help set".
29408
29409 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
29410 from within expect statements. None of these happen anymore and
29411 they cause regressions to be silently unnoticed.
29412
29413 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
29414 messages) about known failures with gcc cygnus-2.4.5-930417.
29415
29416 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
29417 comp-info.exp so it gets built if it doesn't exist.
29418
29419 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
29420 it is no longer used.
29421 * gdb.t13/comp-info.c: Removed.
29422
29423Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29424
29425 * gdb.t06/signals.exp: Add xfail for sun3.
29426
29427Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29428
29429 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
29430 relevant because ^C doesn't get sent but failure can be reproduced
29431 interactively).
29432
29433Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29434
29435 * gdb.stabs/alpha.mt: New configuration file for alpha.
29436 * gdb.stabs/configure.in: Use it.
29437 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
29438 sharing with alpha.mt, redefine long to word via preprocessor.
29439 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
29440 for alpha.
29441 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
29442 native cc.
29443 * gdb.t00/teststrategy.exp: Change expect string so that we
29444 consume the `(xgdb)' from the command echo and from the gdb prompt.
29445 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
29446 gdb currently compares all values as long, so this failure probably
29447 applies to any configuration where LONGEST is bigger than a target int.
29448 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
29449 with gcc.
29450 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
29451 to handle opaque pointers, gcc is.
29452 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
29453 as first argument. Include <sys/types.h> and change all operator
29454 new definitions to use size_t.
29455 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
29456 now that we use size_t.
29457
29458Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29459
a9c64011 29460 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 29461 a long or float array cast all array members to the same type.
a9c64011 29462 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 29463 with 64 bit longs.
a9c64011 29464 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 29465 on alpha.
a9c64011 29466 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
29467
29468Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29469
29470 * gdb.t24 (demangle.exp): Constructors of templates have names like
29471 vector<int>::vector(int) not vector<int>::vector<int>(int). See
29472 section 14.6 of the ARM.
29473
29474 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
29475 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
29476 accomplish little and slow down the testsuite.
29477
29478 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
29479 Accept spaces various places.
29480
29481Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29482
29483 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
29484 with watchpoint enabled.
29485
29486 * Makefile.in: Remove definition of CC and remove the second
29487 definition of CXX (the "CXX = gcc" one remains). These definitions
29488 were causing backquotes to be expanded within backquotes, which
29489 doesn't work.
29490
29491Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
29492
29493 * gdb.t17/callfuncs.exp: Add "return 0" to end.
29494
29495Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29496
a9c64011
AS
29497 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
29498 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
29499 by mips cc and contains no stabs entries.
29500
29501Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
29502
29503 * config/vx-gdb.exp: Use fake device to load files rather than
29504 NFS.
29505 * lib/gdb.exp: New proc to do "file" command.
29506 * config/unix-gdb.exp: Use new "file" proc.
29507
29508Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
29509
29510 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
29511 Rework board rebooting slightly.
29512 (gdb_exit): Don't exit from the remote shell; there isn't one.
29513 * gdb.stabs/weird.exp: If a program is being debugged already,
29514 kill it.
29515 * gdb.t04/setvar.exp: Stop and restart gdb.
29516 * gdb.t05/expr.exp: Likewise.
29517 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
29518 restart gdb and reload the program.
29519 * gdb.t08/opaque.exp: Likewise.
29520 * gdb.t12/scope.exp: Likewise.
29521 * gdb.t13/bitfields.exp: Likewise.
29522 * gdb.t15/funcargs.exp: Likewise.
29523 * gdb.t20/classes.exp: Likewise.
29524 * gdb.t03/ptype.exp: Increase timeout.
29525 * gdb.t16/printcmds.exp (test_print_string_constants,
29526 test_print_array_constants): Likewise.
29527 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
29528 * gdb.t20/classes.exp (do_tests): Likewise.
29529 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
29530
29531Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
29532
29533 * gdb.stabs: Renamed *wierd* to *weird*.
29534
29535Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
29536
29537 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
29538 for timeout. Add "known gcc 2.4.5 bug" to failure message.
29539
29540Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
29541
29542 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
29543 (do_tests): Remove xfail for whatis on one_var and two_var.
29544
29545Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
29546
29547 * Makefile.in: Made cross building work better by adding
29548 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
29549
29550Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29551
29552 * gdb.t15/{return.c,return.exp,Makefile.in}:
29553 New test, currently commented out.
29554
29555Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
29556
29557 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
29558 still running and removes the leftover named socket so GDb can do
29559 clean restarts.
29560
29561Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
29562
29563 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
29564 console, not GDB.
29565 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
29566 cross testing works better with "make check"
29567 * config/unix-gdb: Use default procedures for exit and version.
29568 * config/vx-gdb.exp: Cleaned up and massaged back to working order
29569 with the newest VxWorks.
29570
29571Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29572
29573 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
29574 old form.
29575
29576 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
29577 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
29578
29579 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
29580
29581 * config/unix-gdb.exp: Remove this version of gdb_exit
29582 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
29583 Rob says he'll look at it when he gets back to testing boards.
29584
29585Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
29586
29587 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
29588 an expected fail for certain ptype commands.
29589
29590 * gdb.t20/classes.exp: Update expected results of "ptype class
29591 Base1" to account for the constructor that now appears in the type.
29592
29593Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
29594
29595 * configure.in (configdirs): Restore gdb.t04, which mysteriously
29596 disappeared from list.
29597 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
29598 "alldone" proc with call to cleanup and exit.
29599 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
29600 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
29601 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
29602 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
29603 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
29604 "alldone" proc with simple returns that suppress remaining
29605 tests. The alldone proc went away many months ago.
29606
29607Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29608
29609 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
29610
29611 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
29612
29613Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29614
29615 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
29616 as vax gdb will display them.
29617
29618Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29619
29620 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
29621 optimizers.
29622
29623 * scope.exp: Change "bad value for localval" messages so each one
29624 is unique.
29625
29626 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
29627 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
29628
29629 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
29630
29631Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29632
29633 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
29634 doesn't exist (due to optimization).
29635
29636Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29637
29638 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
29639 contains \r because the filename is long.
29640
29641 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
29642 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
29643
29644Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29645
29646 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
29647 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
29648 Ultrix.
29649 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
29650 int tests.
29651 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
29652
29653Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
29654
29655 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
29656
29657 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 29658 to match does not match the passing case but still matches the
c906108c
SS
29659 failing case.
29660
29661Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29662
29663 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
29664
29665Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
29666
29667 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
29668 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
29669 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
29670 Remove various versions of gdb_exit.
29671 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
29672 gdb_exit.
29673 * config/unix-gdb.exp: gdb_exit remains here, and should override
29674 the generic version, since it's doing a lot of wierd stuff that
29675 the other versions aren't. FIXME, fold it in, or abandon this
29676 version.
29677
29678Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29679
29680 * gdb.t24/demangle.exp: Add tests for PR 3220.
29681
29682Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29683
29684 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
29685
29686Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
29687
29688 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
29689 "i386-*-*". Works for i486 as well.
29690
29691 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
29692 bug, and expand domain of xfail to all SVR4 systems, since the
29693 actual problem is likely to be in generic SVR4 /proc support.
29694
29695Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29696
29697 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
29698
29699Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
29700
29701 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
29702 xfails for other systems. Match a missing 'Continuing.' as an
29703 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
29704
29705 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
29706 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
29707 Only issue warning for missing executables if -all option is used.
29708
29709 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
29710 file if -all option is used. It's like an unpredictable XFAIL.
29711
29712Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29713
29714 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
29715 for dynamically linked binaries.
29716
29717 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
29718
29719Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29720
29721 * gdb.t20/inherit.exp: Change message for "print tagless struct"
29722 to state that this is a known bug in old versions of g++.
29723
29724Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29725
29726 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
29727 while waiting for `Continuing'.
29728
29729Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
29730
29731 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
29732 in text, data, and bss.
29733 * gdb.t10/nodebug.c: Add local and global test variables for
29734 initialized and uninitialized data.
29735
29736Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29737
29738 * config/unix-gdb.exp (gdb_exit): Add "wait".
29739
29740Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29741
29742 * gdb.t06/signals.exp: xfail the continue from the handler for all
29743 targets.
29744
29745 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
29746 function with watchpoints enabled, the i386 call dummy starts with
29747 a call.
29748
29749 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
29750 386 bsd names its corefiles.
29751
29752Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
29753
29754 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
29755 compilers don't grok it.
29756 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
29757 with small octal ints rather than character constants, which
29758 are signed and might not fit if first promoted to int.
29759
29760Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
29761
29762 * gdb.t09/Makefile.in (clean): Remove corefile.
29763
29764Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29765
29766 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
29767
29768Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29769 and Jim Kingdon (kingdon@cygnus.com)
29770
29771 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
29772 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
29773 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
29774
29775Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29776
29777 * gdb.t17/interrupt.exp: Add xfail for hppa.
29778
29779Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29780
29781 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
29782 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
29783 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
29784 to determine signed-ness of bitfields and use the result to setup
29785 the xfail.
29786 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
29787 * gdb.t15/funcargs.exp: Use them to step until the second indirect
29788 call line is reached if necessary.
29789
29790Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29791
29792 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
29793
29794Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29795
29796 * gdb.t06/break.exp: Also test `clear' command.
29797
29798Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29799
29800 * gdb.t00/teststrategy.exp: Remove extra quote.
29801
29802 * gdb.t07/watchpoint.exp: Change xfail for calling function with
29803 watchpoint enabled to be for all non-68k machines.
29804
29805 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
29806
29807Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29808
29809 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
29810 targets use aout.mt instead of ecoff.mt as gas understands
29811 standard aout format.
29812
29813Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29814
29815 * lib/gdb.exp (runto): Don't insist that function we are running to
29816 was compiled with -g.
29817
29818 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
29819
29820 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
29821 to get back into the read system call.
29822 Accept leading newline in case where we woke it up.
29823
29824Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29825
29826 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
29827 to make the stabs test work on ecoff systems using gcc and -with-stabs.
29828 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
29829 enable ecoff configuration.
29830
29831Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29832
29833 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
29834
29835Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29836
29837 * gdb.t16/printcmds.exp: Add another printf test.
29838
29839Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
29840
29841 * configure.in: If configured -with-stabs on any target, add
29842 stabsdirs to configdirs.
29843
29844Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29845
29846 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
29847 fun" so pattern does not match the command itself.
29848
29849Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29850
29851 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
29852
29853Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29854
29855 * gdb.t17/interrupt.exp: Test for more things.
29856
29857Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29858
29859 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
29860 compiler arranges the code and line numbers.
29861
29862 * gdb.t17/interrupt.exp: Don't send \n after ^C.
29863
29864Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29865
29866 * gdb.t00/help.exp: Increase expect input buffer size.
29867
29868Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29869
29870 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
29871
29872 * gdb.t07/watchpoint.exp: Add xfail for hppa.
29873
29874 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
29875
29876 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
29877 [0-9]*, not just [0-9].
29878
29879Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29880
29881 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
29882
29883 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
29884
29885Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29886
29887 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
29888
29889Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29890
29891 * gdb.t06/signals.c: Add xfails for sun3.
29892
29893 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
29894
29895 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
29896 test_stepping tests.
29897
29898Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29899
29900 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
29901
29902 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
29903
29904 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
29905 rather than actually putting it through cpp twice.
29906
29907 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
29908
29909Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
29910
29911 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
29912 no longer needed.
29913
29914Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29915
29916 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
29917
29918 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
29919 C++ features prints as "struct", make it a pass, not an xfail.
29920
29921Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29922
29923 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
29924 Don't require VA to print as "class" rather than "struct".
29925
29926Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
29927
29928 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
29929
29930Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29931
29932 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
29933
29934Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29935
29936 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
29937 order.
29938
29939Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29940
29941 * gdb.t16/printcmds.exp: Add printf tests.
29942
29943 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
29944
29945 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
29946
29947Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
29948
29949 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
29950 pass counts, to counteract any existing or future setup_xfails.
29951
29952Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29953
29954 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
29955 {BEGIN,END}_COMMON for common block instead of STAB.
29956 * gdb.stabs/wierd.exp: Add xfail for rs6000.
29957
29958 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
29959 intp_var should be N_GSYM not N_LSYM.
29960 wierd-aout.S: Use a label for the value of the N_SO.
29961 wierd.def: Remove all backslashes.
29962 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
29963
29964Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29965
29966 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
29967 get the expected next to inheritance3.
29968
29969Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29970
29971 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
29972 now that gcc-2.4 gets it right.
29973
29974Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29975
29976 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
29977
29978 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
29979 generating comp-info.exp which works for cross-compilation.
29980
29981Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
29982
29983 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
29984 "*-*-sysv4.*".
29985
29986Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
29987
29988 * gdb.t01/run.exp: Start with a fresh gdb.
29989 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
29990 SVR4.x.
29991
29992Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
29993
29994 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
29995 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
29996 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
29997 Makefile.in (distclean, realclean): Remove gdbme.c from list of
29998 things to remove.
29999
30000Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
30001
30002 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
30003 test cases from bug reports.
30004
30005Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
30006
30007 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
30008 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
30009 avoid spurious xfails.
30010 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
30011 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
30012 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
30013
30014Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
30015
30016 * gdb.t00/teststrategy.exp: Rework to provide more useful
30017 description of each test, fix problem with systems that define
30018 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
30019 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
30020 results for "next over recursive call" so timeouts aren't taken
30021 by error.
30022
30023Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
30024
30025 * gdb.t12/scope.exp: Test printing of variables before run.
30026
30027 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
30028 printed in wrong order due to sorting.
30029
30030Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
30031
30032 * gdb.t00/teststrategy.exp: Fix expected results for printing
30033 user entered string constant. Is array of char, prints with no
30034 address.
30035
30036 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
30037 commands.
30038 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
30039 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
30040 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
30041 of struct of char arrays.
30042 * gdb.t00/radix.exp: New tests for radix commands.
30043
30044Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
30045
30046 * gdb.t16/printcmd.exp: Print a variable before running program
30047 (with xfail for AIX).
30048
30049Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
30050
30051 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
30052
30053 * gdb.t16/printcmd.exp: Don't print variables before running program.
30054
30055 * gdb.t06/break.exp: Don't require envp argument to main.
30056
30057 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
30058
30059 * gdb.t02/whatis.exp, gdb.t11/list.exp:
30060 Add xfails for rs6000.
30061
30062 * gdb.t02/whatis.exp: Change other tests not to re-test something
30063 we already tested.
30064
30065 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
30066 each type used has a variable of that type.
30067
30068Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
30069
30070 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
30071
30072Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
30073
30074 * configure.in: change srctrigger to be a file, not a directory
30075
30076Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
30077
30078 * configure.in (mips-idt-ecoff*): Added trailing '*'.
30079
30080 * gdb.t11/list.exp: Fixed a couple of typos.
30081
30082Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
30083
30084 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
30085 is fixed and PR is closed.
30086 * gdb.t16 (gdbme.c): Add simple test string variable.
30087 * gdb.t16 (printcmds.exp): Add tests with simple test string
30088 variable, primarily for boundaries on "set print elements".
30089
30090Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
30091
30092 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
30093 Make leading 0's optional and don't expect a tab in the middle
30094 of the number.
30095
30096 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
30097
30098 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
30099 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
30100 don't end command passed to gdb_test with newline.
30101
30102 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
30103 signed keyword away, don't expect signed bitfields to be signed.
30104
30105 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
30106 printing with only as many 1's as are in the field as well as printing
30107 with 32 1's (see comment).
30108
30109Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
30110
30111 * gdb.t00/default.exp: Start with a fresh gdb.
30112 * configure.in (configdirs): Remove gdb.t31 until the chill
30113 compiler works again. It no longer is able to find chillrt0
30114 since it isn't in libchill.a anymore.
30115 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
30116 wierd.o, make more modular.
30117 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
30118 spurious newlines that caused problems.
30119
30120Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30121
30122 * Move test with enums and partial symbols from gdb.t03/ptype.exp
30123 to gdb.stabs/wierd.exp since GCC has worked around the bug.
30124 gdb.stabs/wierd.{exp,def}: Many new tests.
30125
30126 * gdb.t00/default.exp: update info line for new message.
30127
30128 * gdb.t02/{whatis.exp,gdbme.c}:
30129 Test that "char *" doesn't print as "caddr_t".
30130
30131Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30132
30133 * gdb.t00/help.exp: Use .* in place of some help messages which
30134 just changed.
30135 gdb.t00/default.exp: Update "info frame" test for new message.
30136 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
30137 Remove some xfails
30138
30139Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30140
30141 * gdb.t03/{gdbme.c,ptype.exp}:
30142 Add tests for typedef'd struct and union without tags.
30143 Also check "whatis" on a variable of a typedef'd enum without a tag.
30144
30145 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
30146 PRMS 1823; the bug still exists but isn't reproduced by this test
30147 anymore), and remove rs6000 XFAIL (the bug is fixed).
30148
30149 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
30150 duplicated from whatis.exp. For those that are left, accept
30151 "long", "long int", or "int" for long variables (whatis.exp already
30152 has an XFAIL for "int", so no need to fail it here).
30153
30154 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
30155 Deal with GCC's names for types now that GDB uses the compiler's names.
30156
30157 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
30158 setup_xfail's for sunos4. If we #defined the signed keyword away,
30159 don't expect GDB to know that char it is signed.
30160
30161 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
30162
30163Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
30164
30165 * configure.in (configdirs): Add gdb.t24 for C++ tests that
30166 should work on any system, regardless of debugging format.
30167 * gdb.t21/demangle.exp: Move to gdb.t24.
30168 * gdb.t24/demangle.exp: Move from gdb.t21.
30169 * gdb.t24/{Makefile.in, configure.in}: New files.
30170
30171Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30172
30173 * configure.in: Do gdb.stabs and C++ tests only for stabs.
30174 * gdb.stabs: New directory.
30175
30176Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30177
30178 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
30179 not just "Quit anyway?".
30180
30181Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
30182
30183 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
30184 that all setup_xfails are immediately followed by clear_xfails.
30185
30186Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
30187
30188 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
30189 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
30190 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
30191 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
30192 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
30193 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30194 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30195 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
30196 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
30197 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
30198 gdb.t31/chillvars.exp, lib/gdb.exp:
30199 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
30200 bug-gdb@prep.ai.mit.edu.
30201
30202Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
30203
30204 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
30205 with 0.0, not integer 0.
30206
30207Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
30208
30209 * gdb.t06/break.exp: Update for "Kill the program" message change.
30210
30211Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
30212
30213 * Makefile.in (GDBFLAGS): Set to -nx.
30214 * Makefile.in (site.exp): Use GDBFLAGS.
30215
30216Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30217
30218 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
30219 Makefiles.
30220 (check): depend on just-check.
30221 (just-check): added so that tests can be run without a noop
30222 build pass.
30223
30224Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30225
30226 Switch to using configure's configdirs.
30227 * Makefile.in (Makefile): add configure.in dependency.
30228 (SUBDIRS): removed redundant assignment.
30229 * configure.in: switch subdirs assignment to configdirs.
30230 * gdb.t*/configure.in: new files.
30231
30232Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
30233
30234 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
30235 works.
30236
30237Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
30238
30239 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
30240 in explicit rules. Apparently this is not supported by some makes.
30241
30242Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
30243
30244 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
30245
30246Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30247
30248 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
30249 disappeared.
30250
30251Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
30252
30253 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
30254
30255Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
30256
30257 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
30258 watchpoint problem that is now fixed.
30259 * gdb.t30/chexp.exp: Remove setup_xfail for printing
30260 uninitialized convenience variables.
30261 * gdb.t31/chillvars.exp: Fix expected patterns for printing
30262 structures.
30263
30264Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30265
30266 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
30267 which causes expect to get out of sync with gdb on long output
30268 from help set.
30269 * gdb.t09/corefile.exp: Make expected pattern for core file
30270 failing signal and frame output format less sun specific.
30271
30272Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
30273
30274 * gdb.t31/chillvars.exp: Add and remove initial dummy
30275 breakpoint, so that symbol table is forced in.
30276 (Needed at least on Sunos4, though it seems not SVR4.)
30277 * gdb.t31/chillvars.exp: Update for changed output format.
30278
30279Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
30280
a9c64011 30281 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
30282
30283Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
30284
30285 * Makefile.in: Added --srcdir when invoking runtest, removed the
30286 need for a local config file. (optional now)
30287
30288Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
30289
30290 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
30291 failure count used to force early termination. Add some more
30292 expected failures for gnu style demangling.
30293
30294Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30295
30296 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
30297 pmi variable from gdb.t20/gdbme to get optimized away.
30298 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
30299 Check for written corefile upon timeout _and_ eof.
30300
30301Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30302
30303 * config/unix-gdb.exp: Add missing return 0.
30304
30305Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30306
30307 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
30308 test termination.
30309
30310Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
30311
30312 * configure.in (subdirs): Put back gdb.t17 which mysteriously
30313 disappeared.
30314
30315Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
30316
30317 * gdb.t10/crossload.exp: Disable the i860-elf test until such
30318 time as i860 support works.
30319
d63a86f8 30320 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
30321 "backtrace 100\r" rather than just "backtrace\r", to match last
30322 change.
30323
30324Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
30325
30326 * config/udi-gdb.exp (gdb_exit): Remove close command.
30327 (gdb_target_udi): New procedure to set the UDI target.
30328 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
30329 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
30330 Added waits for prompts after several question responses. Added
30331 some more responses used by a29k-amd-udi-gdb.
30332 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
30333 pass different arguments, restart UDI connection after program
30334 completion.
30335 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
30336 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30337 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
30338 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
30339 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
30340 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
30341 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30342 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
30343 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
30344 after program completion.
30345 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
30346 compiled with a SELECT_VECS setting.
30347 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
30348 infinite recursion.
30349
30350 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
30351 Added checks for COFF results, and made them expected failures for
30352 all targets. It would be better to make them expected failures
30353 for COFF targets only.
30354
30355Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
30356
30357 * Makefile.in: add null dvi target, don't bother to recurse
30358 through test directories for info and install-info; rename
30359 $(datadir) to be dejagnu instead of deja-gnu
30360
30361Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
30362
30363 * gdb.t31/gdbme.ch: Re-enable code that previously caused
30364 compiler to coredump.
30365 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
30366 code.
30367
30368Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
30369
30370 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
30371 coredump.
30372 * gdb.t31/chillvars.exp: Comment out tests that depend on that
30373 code.
30374
30375Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
30376
30377 * gdb.t03/ptype.exp: tests for return code from gdb_test.
30378 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
30379 which in a shell. Deletes xgdb when done.
30380 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
30381 Tests the return from the "set height" or "set width" commands.
30382 Added a few return codes where needed.
30383
30384Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
30385
30386 * Makefile.in (SUBDIRS): Add gdb.t17.
30387 * configure.in (subdirs): Add gdb.t17.
30388 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
30389 files to test gdb's calling of functions in the inferior with
30390 the correct arguments and gdb's ability to retrieve any
30391 result returned.
30392
30393Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
30394
30395 * config/unix-gdb.exp (gdb_exit): Remove close commands that
30396 may be called after gdb goes away. Previous versions of expect
30397 needed these to avoid file descriptor leaks, but they cause
30398 errors with the current revision of expect.
30399 * gdb.t00/gdbvars.exp: Use -re on expected output after
30400 setting sevenbit-strings.
30401 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
30402 to set sevenbit-strings consistent across tests.
30403 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
30404 set sevenbit-strings consistent across tests.
30405
30406Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
30407
30408 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
30409 expected output to match current "expect" expectations.
30410
30411Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
30412
30413 * gdb.t00/default.exp: Change expected output for default "source"
30414 command, to match new gdb behavior which requires a filename to
30415 source.
30416
30417Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
30418
30419 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
30420 expected fail for i486-*-* that misses the marker2 function.
30421 * gdb.t10/crossload.exp (bfddefault): Allow successful
30422 recognition of a format to pass even if no symbols are found.
30423 Explicitly catch failures where the format is not recognized
30424 or is ambiguous, and add the reason to the fail message.
30425 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
30426 the cause is and invalid target and add reason to failure message.
30427 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
30428 elf32-i386, elf32-sparc, and elf32-i860.
30429 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
30430 Set up expected failure for 'filename'::variable scope resolution,
30431 which is now apparently broken on all targets.
30432 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
30433 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
30434 gdb.t23/templates.exp: Change failure for missing binfile into
30435 just a warning.
30436 gdb.t21/demangle.exp: Change all cfront references to 'arm'
30437 references.
30438
30439Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
30440
30441 * gdb.t00/default.exp: Add expected output for default "source"
30442 command, to match new gdb behavior.
30443 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
30444
30445Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
30446
30447 * config/*-gdb.exp: returns an error, rather than exiting on
30448 internal errors.
30449
30450Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
30451
30452 * gdb.t03/gdbme.c: Add pointer to struct variable.
30453 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
30454 referencing struct members.
30455
30456Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
30457
30458 * configure.in (mips-idt-ecoff): New target.
30459 * config/mips-gdb.exp: New file for remote board using MIPS remote
30460 debugging protocol.
30461
30462 * Redid configuration scheme. Removed gdb.t*/configure.in.
30463 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
30464 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
30465 distclean targets. Built executables via .o files. Adjusted
30466 tests to account for source files in $(srcdir) rather than
30467 $(objdir).
30468 * lib/gdb.exp (runto): Don't expect () after the function name,
30469 because it may have arguments.
30470
30471Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
30472
30473 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
30474 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
30475 expected failures for mips-idt-* and mips-sgi-*.
30476 * gdb.t00/default.exp (attach): Kill process if requested.
30477 * gdb.t00/help.exp (help target core, help target): Accept a gdb
30478 that does not read core files.
30479 * gdb.t01/run.exp: Removed checks for exit status code.
30480 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
30481 it is linked in.
30482 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
30483 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
30484 appropriate, rather than doing it by hand.
30485 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
30486 execution.
30487 * gdb.t10/crossload.exp: Kill existing program if needed.
30488 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
30489 appropriate, rather than doing it by hand. Always increase
30490 timeout for this test, not just for VxWorks.
30491
30492Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
30493
30494 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
30495 of Chill STRUCT types and STRUCT values.
30496 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
30497 than "char".
30498 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 30499 struct2): New struct definitions and initializations to test
c906108c
SS
30500 simple Chill STRUCT types.
30501
30502Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
30503
30504 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
30505 the null byte at the end of strings.
30506 * gdb.t00/default.exp: Make show version insensitive to copyright
30507 date.
30508 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
30509 to avoid dependencies on target char signedness.
30510 * gdb.t16/printcmds.exp: Update expected results for explicitly
30511 unsigned char.
30512 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
30513 now work.
30514 * gdb.t21/demangle.exp: Add many more patterns for template
30515 demangling, most of them being expected failures.
30516 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
30517 string we are matching for, to match on the whole string.
30518 * gdb.t21/demangle.exp: Add many new test strings to demangle,
30519 and fix a whole bunch that had incorrect expected output but were
30520 passing anyway because of the bug in "proc demangle".
30521 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
30522 type.
30523 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
30524
30525Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
30526
a9c64011
AS
30527 * gdb/testsuite: made modifications to testcases, etc., to allow
30528 them to work properly given the reorganization of deja-gnu and the
30529 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
30530
30531Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
30532
30533 * gdb/testsuite: Initial creation of gdb/testsuite.
30534 Migrated dejagnu testcases and support files for testing nm to
30535 gdb/testsuite from deja-gnu. These files were moved "as is"
30536 with no modifications. This migration is part of a major overhaul
30537 of dejagnu. The modifications to these testcases, etc., which
30538 will allow them to work with the new version of dejagnu will be
30539 made in a future update.
48efe704 30540
8d8cb839 30541 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 30542\f
8d8cb839
EZ
30543;; Local Variables:
30544;; mode: change-log
30545;; left-margin: 8
30546;; fill-column: 74
30547;; version-control: never
30548;; End:
902f2ccb 30549
28e7fd62 30550 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
30551 Copying and distribution of this file, with or without modification,
30552 are permitted provided the copyright notice and this notice are preserved.