Document changes to the record target resulting from the renaming into
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
05c56a9d
JK
12013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Fix entry-values if the callee called a noreturn function.
4 * gdb.arch/amd64-tailcall-noret.S: New file.
5 * gdb.arch/amd64-tailcall-noret.c: New file.
6 * gdb.arch/amd64-tailcall-noret.exp: New file.
7
9112db09
JK
82013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9
10 Fix entry-values in C++ across CUs.
11 * gdb.arch/amd64-tailcall-cxx.exp: New file.
12 * gdb.arch/amd64-tailcall-cxx1.S: New file.
13 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
14 * gdb.arch/amd64-tailcall-cxx2.S: New file.
15 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
16
be9a119c 172013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
18 Hafiz Abid Qadeer <abidh@codesourcery.com>
19
20 gdb/testsuite/
21 * gdb.trace/trace-buffer-size.exp: New file.
22 * gdb.trace/trace-buffer-size.c: New file.
23
049109b0
PA
242013-03-06 Pedro Alves <palves@redhat.com>
25
26 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
27 doesn't support the tested optional feature, call "unsupported"
28 with the same test message as the "pass" case, instead of calling
29 "pass" with a different message. Use the same text for the "fail"
30 cases too.
31
4aa54120
YQ
322013-03-06 Yao Qi <yao@codesourcery.com>
33
34 * gdb.trace/tstatus.exp: Remove the invocation of
35 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
36 (test_tracepoints): Don't set fast tracepoint.
37 (top level): Don't check agent library is loaded or not.
38
b8b71e63
YQ
392013-03-06 Yao Qi <yao@codesourcery.com>
40
41 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
42 parentheses by "\\".
43
33f448b1
JK
442013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
45
46 * gdb.linespec/base/one/thefile.cc (twodup): New.
47 (m): Call it.
48 * gdb.linespec/base/two/thefile.cc (dupname): New.
49 (n): Call it.
50 * gdb.linespec/break-ask.exp: New file.
51 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
52
1c942fb9
YQ
532013-02-28 Yao Qi <yao@codesourcery.com>
54
55 * gdb.trace/report.exp: Move some code to ...
56 (use_collected_data): New.
57 (top level): Call use_collected_data once on the live target.
58 Save at file of the current trace session, load it with target
59 tfile, and call use_collected_data again.
60
5b967901
JK
612013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
62
63 * gdb.threads/fork-thread-pending.c (main): Add alarm.
64
6447023f
JK
652013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
66
67 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
68 Add final kill of ${valgrind_pid}.
69
9f44fbc0
SCR
702013-02-20 Siva Chandra Reddy <sivachandra@google.com>
71
72 * gdb.python/py-arch.c: New test case
73 * gdb.python/py-arch.exp: New tests to test
74 gdb.Architecture.disassemble
75 * gdb.python/Makefile.in: Add py-arch to the list of
76 EXECUTABLES.
77
4c9ad8c2
TT
782013-02-18 Tom Tromey <tromey@redhat.com>
79
80 * gdb.dwarf2/subrange.exp: New file.
81
f5911ea1
HAQ
822013-02-15 Pedro Alves <pedro@codesourcery.com>
83 Hafiz Abid Qadeer <abidh@codesourcery.com>
84
85 * gdb.trace/tfile.exp: Add test for -trace-status command.
86
420f4384
JK
872013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
88
89 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
90 nanosleep by sleep.
91
4819b3f8
PA
922013-02-14 Pedro Alves <palves@redhat.com>
93
94 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
95
1773c82c
HAQ
962013-02-14 Pedro Alves <pedro@codesourcery.com>
97 Hafiz Abid Qadeer <abidh@codesourcery.com>
98
99 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
100
e234dfaf
TT
1012013-02-12 Tom Tromey <tromey@redhat.com>
102
103 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
104 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
105
6c01dd94
PA
1062013-02-12 Pedro Alves <palves@redhat.com>
107
108 * gdb.base/catch-signal.c: Update copyright years.
109 * gdb.base/catch-signal.exp: Update copyright years.
110 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
111 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
112 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
113 * gdb.dwarf2/dw2-error.S: Update copyright years.
114 * gdb.dwarf2/dw2-error.c: Update copyright years.
115 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
116 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
117 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
118
595fc67f
PA
1192013-02-12 Pedro Alves <palves@redhat.com>
120
121 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
122 message.
123 * gdb.base/sigaltstack.exp: Ditto.
124 * gdb.base/siginfo.exp: Ditto.
125 * gdb.base/sizeof.exp: Ditto.
126
17282693
PA
1272013-02-12 Pedro Alves <palves@redhat.com>
128
129 * gdb.mi/mi-basics.exp: Tweak intro comment.
130 * gdb.mi/mi-break.exp: Tweak intro comment.
131 * gdb.mi/mi-console.exp: Tweak intro comment.
132 * gdb.mi/mi-file.exp: Tweak intro comment.
133 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
134 * gdb.mi/mi-return.exp: Tweak intro comment.
135 * gdb.mi/mi-stepi.exp: Tweak intro comment.
136 * gdb.mi/mi-until.exp: Tweak intro comment.
137 * gdb.mi/mi-watch.exp: Tweak intro comment.
138
8a4ac37e
PA
1392013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
140
141 * gdb.server/no-thread-db.exp: New file.
142 * gdb.server/no-thread-db.c: New file.
143 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
144
c2792f5a
DE
1452013-02-11 Doug Evans <dje@google.com>
146
147 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
148 two decfloats.
149
d9e98382
SDJ
1502013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
151
152 * gdb.base/bitfields.c (struct internalvartest): New declaration.
153 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
154
a321661a
JK
1552013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
156
157 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
158
134a2066
YQ
1592013-02-06 Yao Qi <yao@codesourcery.com>
160
161 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
162 to ...
163 (test_create_delete_modify_tsv): ... here. New test on modifying
164 the initial value of a tsv.
165
5a2dc60a
JK
1662013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
167
168 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
169 (cd .../rdir): ... here.
170
233d95b5
JK
1712013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
172
173 * gdb.linespec/base/one/header.h: New file.
174 * gdb.linespec/base/two/header.h: New file.
175 * gdb.linespec/macro-relative.c: New file.
176 * gdb.linespec/macro-relative.exp: New file.
177
fbd9ab74
JK
1782013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
179
180 * gdb.base/fullpath-expand-func.c: New file.
181 * gdb.base/fullpath-expand.c: New file.
182 * gdb.base/fullpath-expand.exp: New file.
183 * gdb.base/realname-expand-real.c: New file.
184 * gdb.base/realname-expand.c: New file.
185 * gdb.base/realname-expand.exp: New file.
186
1b56eb55
JK
1872013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
188
189 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
190 * gdb.dwarf2/dw2-dir-file-name.c: New file.
191
af529f8f
JK
1922013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
193
194 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
195 (compare_filenames_for_search does not match)
196 (compare_filenames_for_search does match): New tests.
197
f5b95b50
JK
1982013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
199
200 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
201
d47921b9
JK
2022013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
203
204 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
205
8a92335b
JK
2062013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
207
208 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
209 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
210 ${binfile}.mini_debuginfo-debuglink and
211 ${binfile}.mini_debuginfo-debuglink.xz.
212
17f2157d
TT
2132013-02-01 Tom Tromey <tromey@redhat.com>
214
215 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
216 attributes.
217
d65f0a9c
TT
2182013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
219 Tom Tromey <tromey@redhat.com>
220
221 * gdb.dwarf2/method-ptr.exp: Link with c++.
222 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
223
f25c0135
TT
2242013-01-31 Tom Tromey <tromey@redhat.com>
225
226 * gdb.base/jit.exp (compile_jit_test): New proc.
227 Add PIE tests.
228
7078baeb
TT
2292013-01-31 Tom Tromey <tromey@redhat.com>
230
231 * gdb.dwarf2/method-ptr.cc: New file.
232 * gdb.dwarf2/method-ptr.exp: New file.
233
1d24041a
TT
2342013-01-31 Tom Tromey <tromey@redhat.com>
235
236 * lib/dwarf.exp (namespace Dwarf): New.
237
8d9878a4
TT
2382013-01-29 Tom Tromey <tromey@redhat.com>
239
240 * gdb.dwarf2/fission-reread.exp: Add unload test.
241
bed911e5
DE
2422013-01-28 Doug Evans <dje@google.com>
243
244 * gdb.dwarf2/fission-loclists.exp: New file.
245 * gdb.dwarf2/fission-loclists.S: New file.
246
e229648e
JK
2472013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
248
249 Code cleanup.
250 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
251 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
252 and prepare_for_testing.
253 * gdb.base/store.exp: Likewise.
254
86700f00
TT
2552013-01-25 Tom Tromey <tromey@redhat.com>
256
257 * gdb.python/py-explore.exp: Expect the gdb prompt.
258
8954db33
AB
2592013-01-25 Andrew Burgess <aburgess@broadcom.com>
260
261 * gdb.base/gnu_vector.c: New variable for use in tests.
262 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
263 changes in scalar to vector casting and widening.
264 * gdb.python/py-type.c: New variables for use in tests.
265 * gdb.python/py-type.exp: Update vector related tests to reflect
266 changes in scalar to vector casting and widening.
267
2077afdd
TD
2682013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
269
270 * gdb.base/prologue-include.c: New file.
271 * gdb.base/prologue-include.exp: New file.
272 * gdb.base/prologue-include.h: New file.
273
d7499464
HAQ
2742013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
275
276 PR gdb/13443
277 * gdb.mi/mi-var-block.exp: Make test messages unique.
278
e2a3e0f1
TT
2792013-01-23 Tom Tromey <tromey@redhat.com>
280
281 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
282
152fcc9c
TT
2832013-01-23 Tom Tromey <tromey@redhat.com>
284
285 * gdb.cp/converts.cc (main): Initialize 'a'.
286
bea883fd
SCR
2872013-01-23 Siva Chandra Reddy <sivachandra@google.com>
288
289 * testsuite/gdb.python/frame.exp: Add a test for
290 gdb.Frame.architecture() method.
291
0928e93d
PA
2922013-01-22 Pedro Alves <palves@redhat.com>
293
294 * gdb.base/annota1.exp (signal sent): No longer expect
295 breakpoints-invalid.
296 * gdb.cp/annota2.exp (continue until exit)
297 (watch triggered on a.x): Ditto.
298
9c97429f
PA
2992013-01-22 Pedro Alves <palves@redhat.com>
300
301 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
302 Adjust tests to breakpoints-invalid changes.
303 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
304 variables.
305 Adjust tests to breakpoints-invalid changes.
306
187d10dd
PA
3072013-01-22 Pedro Alves <palves@redhat.com>
308
309 * gdb.base/annota1.exp (annotate ignore count change): Add
310 expected output for failure case.
311
ea3aedcb
TT
3122013-01-22 Tom Tromey <tromey@redhat.com>
313
314 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
315 call.
316
998580f1
MK
3172013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
318
319 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 320 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
321 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
322 Also handle 'thread' field.
323 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
324 * gdb.mi/mi-watch.exp: Ditto.
325 * lib/mi-support.exp: Ditto.
326
8f1d5693
MK
3272013-01-21 Siva Chandra Reddy <sivachandra@google.com>
328
329 * gdb.python/py-explore.exp: Improve a test
330
2d8c5d7c
DB
3312013-01-18  David Blaikie  <dblaikie@gmail.com>
332
333 * gdb.base/label.c (main): Correct the type of the second
334 parameter.
335
46f35228
TT
3362013-01-18 Tom Tromey <tromey@redhat.com>
337
338 * gdb.dwarf2/trace-crash.s: New file.
339 * gdb.dwarf2/trace-crash.exp: New file.
340
5965d69d
HAQ
3412013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
342
43aaf8b6
PA
343 PR gdb/13443
344 * gdb.base/checkpoint.exp: Update test messages to make them
345 unique.
5965d69d 346
5ae4861a
YQ
3472013-01-18 Yao Qi <yao@codesourcery.com>
348
349 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
350 output of 'info tracepoints'.
351 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
352 Likewise.
353 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
354 * gdb.trace/disconnected-tracing.c (struct foo): New.
355
d84fca2c
JK
3562013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
357
358 * gdb.dwarf2/dw2-dos-drive.S: New file.
359 * gdb.dwarf2/dw2-dos-drive.exp: New file.
360
aebb1cc9
DE
3612013-01-17 Doug Evans <dje@google.com>
362
2782d512
DE
363 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
364 CXX_FOR_TARGET.
365
aebb1cc9
DE
366 * boards/cc-with-tweaks.exp: New file.
367
db2b2972
TT
3682013-01-17 Tom Tromey <tromey@redhat.com>
369
370 * gdb.base/completion.exp: Add "set cp-abi" completion test.
371
96343774
PA
3722013-01-17 Pedro Alves <palves@redhat.com>
373
374 Merge dg-extract-results.sh from upstream (svn 195224).
375
376 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 377 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
378
379 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 380 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
381
382 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 383 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
384
385 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
386 * dg-extract-results.sh: Redirect grep output to /dev/null instead
387 of grep -q.
388
675921c0
SD
3892012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
390
391 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
392 interface.
393 * gdb.base/jithost.c: New file.
394 * gdb.base/jithost.h: New file.
395 * gdb.base/jitreader.c : New file.
396 * gdb.base/jit-protocol.h: New file.
397
ab04a2af
TT
3982013-01-16 Tom Tromey <tromey@redhat.com>
399
400 * gdb.base/catch-signal.c: New file.
401 * gdb.base/catch-signal.exp: New file.
402
8ac3646f
TT
4032013-01-16 Tom Tromey <tromey@redhat.com>
404
405 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
406
22fc223e
JK
4072013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
408
409 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
410
44478ab3
TT
4112013-01-14 Tom Tromey <tromey@redhat.com>
412
413 * gdb.base/completion.exp: Add "set gnutarget" test.
414
06d66ee9
TT
4152013-01-14 Tom Tromey <tromey@redhat.com>
416
417 * gdb.dwarf2/dw2-restrict.S: New file.
418 * gdb.dwarf2/dw2-restrict.c: New file.
419 * gdb.dwarf2/dw2-restrict.exp: New file.
420
c9bf0622
TT
4212013-01-14 Tom Tromey <tromey@redhat.com>
422
423 * gdb.dwarf2/dw2-error.exp: New file.
424 * gdb.dwarf2/dw2-error.c: New file.
425 * gdb.dwarf2/dw2-error.S: New file.
426
5b12a61c
JK
4272013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
428
429 * gdb.cp/parse-lang.cc: New file.
430 * gdb.cp/parse-lang.exp: New file.
431
f0a4b570
JK
4322013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
433
434 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
435 (set substitute-path): New test.
436 (fullname present): Remove content.
437 (substituted fullname): New test.
438
f751cc97
JB
4392013-01-13 Joel Brobecker <brobecker@adacore.com>
440
441 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
442 check. Move $gdb_py_is_py24 value check right after.
443
04164e8e
JK
4442013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
445
446 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
447 targets.
448
5bf480a5
YQ
4492013-01-11 Yao Qi <yao@codesourcery.com>
450
451 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
452 for dprintf.
453 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
454 Check the fields in "=breakpoint-created" for dprintf.
455
f35a17b5
JK
4562012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
457
458 * gdb.mi/mi-fullname-deleted.exp: New file.
459
85817405
JK
4602012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
461
462 * gdb.base/skip-solib.exp (info skip with pending file): Update the
463 expected output.
464 (info skip with pending file): Remove.
465 (ignoring function in solib, info skip for function multiply): Update
466 the expected output.
467 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
468 (info skip (delete 1), info skip after disabling all)
469 (info skip after enabling all, info skip after disabling 4 2-3)
470 (info skip after enabling 2-3, info skip 2-3)
471 (info skip after deleting 2 3): Update the expected output.
472 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
473 statement to its initialization and return.
474 * gdb.linespec/skip-two.exp: New file.
475
27210e12
DE
4762012-12-19 Doug Evans <dje@google.com>
477
478 * gdb.base/maint.exp: Handle testing with .gdb_index.
479
bb627a12
JB
4802012-12-19 Joel Brobecker <brobecker@adacore.com>
481
482 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
483 Cavium to FSF.
484
7785b880
JB
4852012-12-19 Joel Brobecker <brobecker@adacore.com>
486
487 * dg-extract-results.sh: Update contact info in copyright notice.
488 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
489 GPL v3 or later. Update contact info.
490 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
491 gdb.threads/watchpoint-fork-mt.c,
492 gdb.threads/watchpoint-fork-parent.c,
493 gdb.threads/watchpoint-fork-st.c,
494 gdb.threads/watchpoint-fork.h: Likewise.
495
f2a8bc8a
YQ
4962012-12-15 Yao Qi <yao@codesourcery.com>
497
498 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
499 'installed' field in '=breakpoint-modified'.
500 (test_reconnect): Check 'installed' field in
501 '=breakpoint-modified' and '=breakpoint-created'.
502
503 * gdb.trace/actions.exp: Update test for 'installed' field.
504 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
505 (tracepoint_change_loc_2): Likewise.
506 Check 'info tracepoint' display nothing else.
507 * gdb.trace/deltrace.exp: Likewise.
508 * gdb.trace/infotrace.exp: Likewise.
509 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
510 Likewise.
511 * gdb.trace/passcount.exp: Likewise.
512 * gdb.trace/tracecmd.exp: Likewise.
513 * gdb.trace/while-stepping.exp: Likewise.
514
6592e36f
TT
5152012-12-14 Tom Tromey <tromey@redhat.com>
516
517 * gdb.cp/member-name.exp: New file.
518 * gdb.cp/member-name.cc: New file.
519
7d27a96d
TT
5202012-12-14 Tom Tromey <tromey@redhat.com>
521
522 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
523
f8c05d0d
DE
5242012-12-14 Doug Evans <dje@google.com>
525
526 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
527 DW_OP_GNU_implicit_pointer is section-relative.
528
451b7c33
TT
5292012-12-14 Tom Tromey <tromey@redhat.com>
530
43aaf8b6 531 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 532
10e339df
PA
5332012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
534
6fdff2c5 535 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 536
e780d813
DE
5372012-12-13 Doug Evans <dje@google.com>
538
539 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
540 * gdb.multi/multi-arch.exp: Ditto.
541
ca3dbcc8 5422012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 543
ca3dbcc8
MG
544 * gdb.mi/mi-catch-load-so.c: New. Clone of the
545 catch load test library source file.
546 * gdb.mi/mi-catch-load.c: New. Clone of the catch
547 load test source file.
548 * gdb.mi/mi-catch-load.exp: New. Test file for
549 basic MI -catch-load and -catch-unload tests.
550
2960a434
PK
5512012-12-11 Paul Koning <paul_koning@dell.com>
552
553 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
554 exception.
555 (_iterator_except): New function.
556 (ArrayPrinter): Use _iterator function instead of local _iterator
557 class for Python 3 compatibility.
558 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 559 _iterator.
2960a434
PK
560 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
561 execfile for Python 3 compatibility.
562 * gdb.python/python.exp: Handle Python 2.4 exception traceback
563 format in error_prompt test.
6fdff2c5 564
9325cb04
PK
5652012-12-10 Paul Koning <paul_koning@dell.com>
566
567 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 568 compatibility.
9325cb04
PK
569 * gdb.python/py-block.exp: Ditto.
570 * gdb.python/py-breakpoint.exp: Ditto.
571 * gdb.python/py-cmd.exp: Ditto.
572 * gdb.python/py-events.py: Ditto.
573 * gdb.python/py-finish-breakpoint.py: Ditto.
574 * gdb.python/py-finish-breakpoint2.exp: Ditto.
575 * gdb.python/py-finish-breakpoint2.py: Ditto.
576 * gdb.python/py-frame-inline.exp: Ditto.
577 * gdb.python/py-frame.exp: Ditto.
578 * gdb.python/py-infthread.exp: Ditto.
579 * gdb.python/py-objfile.exp: Ditto.
580 * gdb.python/py-parameter.exp: Ditto.
581 * gdb.python/py-progspace.exp: Ditto.
582 * gdb.python/py-prompt.exp: Ditto.
583 * gdb.python/py-symbol.exp: Ditto.
584 * gdb.python/py-symtab.exp: Ditto.
585 * gdb.python/py-template.exp: Ditto.
586 * gdb.python/py-value-cc.exp: Ditto.
587 * gdb.python/python.exp: Ditto.
588 * gdb.python/source2.py: Ditto.
589 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 590 compatibility.
9325cb04
PK
591 Use sorted() function rather than sort() method.
592 Accept either int or long values for enum values.
593 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
594 execfile for Python 3 compatibility.
595 * gdb.python/py-evsignal.exp: Ditto.
596 * gdb.python/py-evthreads.exp: Ditto.
597 * gdb.python/py-mi.exp: Ditto.
598 * gdb.python/py-pp-maint.exp: Ditto.
599 * gdb.python/py-prettyprint.exp: Ditto.
600 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 601 Python 3 compatibility.
9325cb04
PK
602 Skip tests for Python 2.4.
603 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 604 Python 3 compatibility.
9325cb04
PK
605 Use byte string rather than character string in memory write test
606 if Python 3.
607 * gdb.python/py-pp-maint.py: Change class declarations to "new
608 class" syntax.
609 * gdb.python/py-prettyprint.py: Change iterator class to generator
610 function for Python 3 compatibility.
611 Make all classes "new style".
612 Fix indentation issue and stray semicolon.
613 * gdb.python/py-shared.expChange print syntax for Python 3
614 compatibility.
615 Define "long" if Python 3.
616 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 617 compatibility.
9325cb04
PK
618 Accept either int or long values for enum values.
619 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 620 compatibility.
9325cb04
PK
621 Skip "long" and "unicode" tests if Python 3.
622 Accept either "type" or "class" in type checks.
623 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
624 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
625
8b9737bf
TT
6262012-12-10 Tom Tromey <tromey@redhat.com>
627
628 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
629 (test): Add "two_cu" argument.
630 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
631 for types; allow two CUs.
632
1b80a9fa
JK
6332012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
634
635 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
636 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
637
f0b6d50a
YQ
6382012-12-08 Yao Qi <yao@codesourcery.com>
639 Pedro Alves <palves@redhat.com>
640
641 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
642 '=breakpoint-created' when GDB merges the tracepoints of both
643 sides.
644
2f68a895
TT
6452012-12-07 Tom Tromey <tromey@redhat.com>
646
647 * gdb.base/break1.c (enum some_enum, union some_union): New.
648 (some_enum_global, some_union_global, some_value): New globals.
649 * gdb.base/completion.exp: Add tag completion tests.
650
4fc5d43e
TT
6512012-12-07 Tom Tromey <tromey@redhat.com>
652
653 * gdb.base/completion.exp: Add tests for ptype and whatis
654 completion.
655
6559e013
JB
6562012-12-07 Joel Brobecker <brobecker@adacore.com>
657
658 * gdb.base/stale-infcall.exp: Fix copyright line.
659
ae2b630d
JB
6602012-12-07 Joel Brobecker <brobecker@adacore.com>
661
662 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
663
0ba2eb0f
TT
6642012-12-06 Pedro Alves <palves@redhat.com>
665 Tom Tromey <tromey@redhat.com>
666
667 * gdb.base/exprs.exp: Add tests for cast to void.
668
731145cb
TT
6692012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
670
671 * gdb.python/py-mi.exp: Correct expected results for attribute
672 "dynamic" returned by -var-update.
673 Add test case for correct handling of "diplayhint" for children
674 of dynamic varobjs.
675 * gdb.python/py-prettyprint.c (set_itme): New function.
676 (bug_14741) New function.
677 (main) Add call to bug_14741().
678 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
679
e58fcc15
UW
6802012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
681
682 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
683 ${binfile}.funcsyms list.
684
e9eb0d14
YQ
6852012-12-04 Yao Qi <yao@codesourcery.com>
686
687 PR gdb/13443
688 * gdb.trace/actions.exp: Make test messages unique.
689
4983028c
TT
6902012-11-29 Tom Tromey <tromey@redhat.com>
691
692 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
693
ea5e6b0e
UW
6942012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
695
696 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
697 * gdb.opencl/datatypes.exp: Likewise.
698 * gdb.opencl/operators.exp: Likewise.
699 * gdb.opencl/vec_comps.exp: Likewise.
700
cdde3dfb
JG
7012012-11-29 Jerome Guitton <guitton@adacore.com>
702
703 * gdb.ada/iwide: New testcase.
704
b50d69b5
JG
7052012-11-29 Jerome Guitton <guitton@adacore.com>
706
707 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
708 ptype test.
709
c2d3fccf
JG
7102012-11-29 Jerome Guitton <guitton@adacore.com>
711
712 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
713 form {VARIANT_TYPE}ADDRESS.
714
5edf51fe
YQ
7152012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
716
717 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
718 (func): New function.
719 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
720 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
721 pointers to members with pointer-to-function type.
722
608e2dbb
TT
7232012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
724 Tom Tromey <tromey@redhat.com>
725
726 * gdb.base/gnu-debugdata.exp: New file.
727 * gdb.base/gnu-debugdata.c: New file.
728 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
729 (gdb_unload): Return 0 on success.
730
4648e588
JK
7312012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
732
733 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
734
17d6efc4
JB
7352012-11-26 Joel Brobecker <brobecker@adacore.com>
736
737 * gdb.base/empty_exe.exp: New testcase.
738
ace21957
MF
7392012-11-20 Mike Frysinger <vapier@gentoo.org>
740
741 * gdb.base/completion.exp: Add test for help aliases completion.
742
5c401a0a
YQ
7432012-11-20 Yao Qi <yao@codesourcery.com>
744
745 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
746 Don't test 'maint set show-debug-regs'.
747 Use command 'set remotecache' instead of
748 'set circular-trace-buffer'.
749
8dea366b
KS
7502012-11-16 Keith Seitz <keiths@redhat.com>
751
752 PR c++/13615
753 * gdb.cp/baseenum.cc: New file.
754 * gdb.cp/baseenum.exp: New file.
755 * gdb.cp/derivation.cc (A): Add copyright.
756 Add a typedef.
757 (B): Use A::value_type instead of int. Change all references.
758 (D): Use value_type instead of int. Change all references.
759 (E): Likewise.
760 (F); Likewise.
761 (Z): New class.
762 (ZZ): New class.
6fdff2c5 763 (N, Base, Derived): New namespace and classes.
8dea366b
KS
764 (main): Add instances of Z and ZZ.
765 Make sure all symbols from N are kept.
766 * gdb.cp/derivation.exp: Update typedef changes in tests.
767 Add tests for class typedefs both before and after starting
768 the inferior.
769 Add tests for searching for a typedef while stopped in a
770 method.
771
5e34c6c3
LM
7722012-11-14 Luis Machado <lgustavo@codesourcery.com>
773
774 * gdb.mi/mi-var-create-rtti.c: New file.
775 * gdb.mi/mi-var-create-rtti.exp: New file.
776
5e487a5f
LM
7772012-11-14 Luis Machado <lgustavo@codesourcery.com>
778
779 * gdb.base/structs3.exp: Run to main before doing any tests.
780
6d67b990
AB
7812012-11-14 Andrew Burgess <aburgess@broadcom.com>
782
783 * gdb.python/py-type.exp: Uniquify test names.
784
e5d98164
YQ
7852012-11-14 Yao Qi <yao@codesourcery.com>
786
787 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
788 (thread_function) [DEBUG]: Call 'printf'.
789 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
790 command line if 'DEBUG=1' is passed to test.
791 Remove a pattern to match inferior's output.
792
62747a60
TT
7932012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
794
795 * gdb.mi/mi-fill-memory.exp: New test.
796
18a9fc12
TT
7972012-11-12 Tom Tromey <tromey@redhat.com>
798
799 * gdb.base/completion.exp: Update for "info type-printers".
800 * gdb.python/py-typeprint.cc: New file.
801 * gdb.python/py-typeprint.exp: New file.
802 * gdb.python/py-typeprint.py: New file.
803
bd69fc68
TT
8042012-11-12 Tom Tromey <tromey@redhat.com>
805
806 * gdb.base/call-sc.exp: Use "ptype/r".
807 * gdb.base/volatile.exp: Don't expect "int".
808 * gdb.cp/ptype-flags.cc: New file.
809 * gdb.cp/ptype-flags.exp: New file.
810 * gdb.cp/templates.exp: Use ptype/r.
811 (test_ptype_of_templates, test_template_typedef): Likewise.
812 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
813 argument. Handle template names and template parameters.
814 * gdb.mi/mi-var-cmd.exp: Accept "long".
815 * gdb.mi/mi-var-child.exp: Accept "long".
816 * gdb.mi/mi-var-display.exp: Accept "long".
817 * gdb.mi/mi2-var-child.exp: Accept "long".
818
b3720c3a
TT
8192012-11-12 Tom Tromey <tromey@redhat.com>
820
821 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
822 "ptype" from calls to cp_test_ptype_class.
823 (test_enums): Likewise.
824 * gdb.cp/derivation.exp: Remove "ptype" from calls to
825 cp_test_ptype_class.
826 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
827 calls to cp_test_ptype_class.
828 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
829 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
830 from calls to cp_test_ptype_class.
831 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
832 command here. Change "in_command" argument to "in_exp".
833
0d63ecda
KS
8342012-11-10 Keith Seitz <keiths@redhat.com>
835
836 PR gdb/14288
837 * gdb.base/printcmds.c: Add invalid_XXX globals
838 for repeated byte tests.
839 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
840 * gdb.base/wchar.c (main): Add and construct a wchar_t
841 array with repeated characters.
842 * gdb.base/wchar.exp: Add repeated character tests.
843
ed8a1c2d
AB
8442012-11-09 Andrew Burgess <aburgess@broadcom.com>
845
846 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
847 disassembly output.
848
9107fc8d
PA
8492012-11-09 Pedro Alves <palves@redhat.com>
850
851 PR gdb/14306
852
853 * gdb.multi/multi-arch-exec.c: New file.
854 * gdb.multi/multi-arch-exec.exp: New file.
855
558a9d82
YQ
8562012-11-09 Yao Qi <yao@codesourcery.com>
857
858 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
859 (top level): Call it.
860
e714f336
YQ
8612012-11-09 Yao Qi <yao@codesourcery.com>
862
863 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
864 typo.
865
6ecd4729
PA
8662012-11-09 Pedro Alves <palves@redhat.com>
867
868 * gdb.multi/multi-arch.exp: New.
869
9015683b
TT
8702012-11-08 Tom Tromey <tromey@redhat.com>
871
872 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
873 core files, if possible.
874 * gdb.base/siginfo-thread.c: New file
875 * gdb.base/siginfo-thread.exp: New file
876
ea9f10bb
TT
8772012-11-08 Tom Tromey <tromey@redhat.com>
878
879 * gdb.base/comprdebug.exp: New file.
880
f6592439
PA
8812012-11-06 Pedro Alves <palves@redhat.com>
882
883 PR gdb/14810
884
885 * gdb.base/disabled-location.c: New file.
886 * gdb.base/disabled-location.exp: New file.
887
2d338fa9
TT
8882012-11-06 Tom Tromey <tromey@redhat.com>
889
890 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
891 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
892 gdb_gcore_cmd.
893 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
894 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
895 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
896 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
897 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
898 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
899 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
900 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
901 * lib/gdb.exp (gdb_gcore_cmd): New proc.
902
68c9da30
PA
9032012-11-05 Pedro Alves <palves@redhat.com>
904
905 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
906 procedure.
907 (do_vfork_and_follow_child_tests_exec)
908 (do_vfork_and_follow_child_tests_exit): Call it.
909
a7c8c931
PA
9102012-11-05 Pedro Alves <palves@redhat.com>
911
912 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
913 fails.
914
6f6484cd
YQ
9152012-11-03 Yao Qi <yao@codesourcery.com>
916
917 Fix PR gdb/14617.
918 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
919 Remove setup_kfail, and update test.
920
b45627a0
TT
9212012-11-02 Tom Tromey <tromey@redhat.com>
922
923 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
924 test.
925
f50f4e56
PA
9262012-11-02 Pedro Alves <palves@redhat.com>
927
928 PR gdb/14766
929
930 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
931 setup_kfail.
932 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
933 get registers".
934
71ce889d
PA
9352012-11-02 Pedro Alves <palves@redhat.com>
936
937 * gdb.base/foll-vfork-exit.c: New file.
938 * gdb.base/foll-vfork.exp (top level): New file-describing
939 comment.
940 (vfork_child_follow_to_exit): New procedure.
941 (tcatch_vfork_then_child_follow): Rename as ...
942 (tcatch_vfork_then_child_follow_exec): ... this.
943 (tcatch_vfork_then_child_follow_exit): New procedure.
944 (do_vfork_and_follow_parent_tests): New procedure, factored out
945 from do_vfork_and_exec_tests.
946 (do_vfork_and_follow_child_tests_exec): Ditto.
947 (do_vfork_and_exec_tests): Delete.
948 (do_vfork_and_follow_child_tests_exit): New procedure.
949 (top level): Run tests with both the program that has the vfork
950 child execing, and the program has the vfork child exiting.
951
1e35b1a9
PA
9522012-11-02 Pedro Alves <palves@redhat.com>
953
954 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
955 (check_vfork_catchpoints, vfork_parent_follow_through_step)
956 (vfork_parent_follow_to_bp): Call it.
957 (kill_child): Delete.
958 (vfork_and_exec_child_follow_to_main_bp)
959 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
960 longer call kill_child.
961 (tcatch_vfork_then_parent_follow): Call setup_gdb.
962 (do_vfork_and_exec_tests): Don't runto_main before calling each
963 test procedure.
964 (top level): Don't clean restart and set verbose before running
965 each test procedure.
966
9672012-11-02 Pedro Alves <palves@redhat.com>
968
969 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
970 (vfork_parent_follow_to_bp)
971 (vfork_and_exec_child_follow_to_main_bp)
972 (vfork_and_exec_child_follow_through_step)
973 (tcatch_vfork_then_parent_follow)
974 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
975 Use with_test_prefix.
976
9772012-11-02 Pedro Alves <palves@redhat.com>
978
979 * gdb.base/foll-vfork.c: Add copyright header.
980 * gdb.base/vforked-prog.c: Add copyright header.
981
9822012-11-02 Pedro Alves <palves@redhat.com>
983
984 * gdb.base/foll-vfork.exp
985 (vfork_and_exec_child_follow_through_step): Don't skip on
986 non-HP/UX targets. Expect the next to only step one line on
987 non-HP/UX targets, rather than stopping only after the exec.
988
9892012-11-02 Pedro Alves <palves@redhat.com>
990
991 Don't hard code line numbers.
992
993 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
994 Expect text from the sources instead of a line number.
995 (vfork_parent_follow_to_bp)
996 (vfork_and_exec_child_follow_to_main_bp)
997 (vfork_and_exec_child_follow_through_step)
998 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
999 Use gdb_get_line_number.
1000
10012012-11-02 Pedro Alves <palves@redhat.com>
1002
1003 Modernize.
1004
1005 * gdb.base/foll-vfork.exp: Use standard_testfile and
1006 build_executable. Pass descriptive string to untested.
1007 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
1008 (vfork_and_exec_child_follow_to_main_bp)
1009 (vfork_and_exec_child_follow_through_step)
1010 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
1011 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
1012 of send_gdb/gdb_expect.
1013
1014 (kill_child): New procedure.
1015 (vfork_and_exec_child_follow_to_main_bp)
1016 (vfork_and_exec_child_follow_through_step): Use it.
1017
f0559fff
YQ
10182012-11-02 Yao Qi <yao@codesourcery.com>
1019
1020 * gdb.base/setvar.exp: Test setting nested struct.
1021 * gdb.base/setvar.c (v_struct3): New.
1022
c207c6da
DE
10232012-11-01 Doug Evans <dje@google.com>
1024
1025 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
1026 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
1027 use them.
1028
2f27adfe
AB
10292012-10-31 Andrew Burgess <aburgess@broadcom.com>
1030
1031 PR cli/14772
1032 * gdb.base/gnu_vector.c (union_with_vector_1)
1033 (struct_with_vector_1): Add new struct and union for testing
1034 ptype.
1035 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
1036 structs / unions containing vectors.
1037
bb662ca6
YQ
10382012-10-25 Yao Qi <yao@codesourcery.com>
1039
1040 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
1041 'setup_kfail' instead of 'setup_kfail_for_target'.
1042 * gdb.base/varargs.exp: Likewise.
1043 * lib/gdb.exp (setup_kfail_for_target): Remove.
1044
635d23ff
MK
10452012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
1046
1047 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
1048
afdb064f
MK
10492012-10-25 Mark Kettenis <kettenis@gnu.org>
1050
1051 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
1052
d99dcf51
JB
10532012-10-24 Joel Brobecker <brobecker@adacore.com>
1054
1055 * gdb.ada/set_wstr: New testcase.
1056
32560274
JB
10572012-10-24 Joel Brobecker <brobecker@adacore.com>
1058
1059 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
1060
5ded5331
JB
10612012-10-24 Joel Brobecker <brobecker@adacore.com>
1062
1063 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
1064
d8d84291
MK
10652012-10-24 Mark Kettenis <kettenis@gnu.org>
1066
1067 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
1068
6e933c51
JK
10692012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1070
1071 * gdb.base/callfuncs.exp (do_function_calls): Fix
1072 setup_kfail_for_target for -m32 mode.
1073
274bd000
MK
10742012-10-23 Mark Kettenis <kettenis@gnu.org>
1075
1076 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
1077 are now fixed.
1078
545f743d
YQ
10792012-10-23 Yao Qi <yao@codesourcery.com>
1080
1081 * gdb.base/info-os.exp: Resume the inferior until it exits.
1082
48b56b6a 10832012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
1084
99c7d5a8 1085 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
1086 * gdb.base/print-file-var.exp: Likewise.
1087 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 1088
8de0566d
YQ
10892012-10-17 Yao Qi <yao@codesourcery.com>
1090
1091 * gdb.mi/mi-memory-changed.exp: New.
1092
44883546
YQ
10932012-10-16 Yao Qi <yao@codesourcery.com>
1094
1095 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
1096 returns true.
1097 Call gdb_load_shlibs.
1098 * gdb.reverse/solib-reverse.exp: Likewise.
1099
345f514a
KS
11002012-10-15 Keith Seitz <keiths@redhat.com>
1101
1102 * lib/cp-support.exp (cp_test_ptype_class): Add support
1103 for class typedefs.
1104
1105 * gdb.cp/derivation.exp: Add tests for g_instance.
1106
9e3a7d65
JK
11072012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1108
1109 Fix entry values resolving in inlined frames.
1110 * gdb.arch/amd64-entry-value-inline.S: New file.
1111 * gdb.arch/amd64-entry-value-inline.c: New file.
1112 * gdb.arch/amd64-entry-value-inline.exp: New file.
1113
21a7b089
JK
11142012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1115 Doug Evans <dje@google.com>
1116
1117 Fix recent gdb_breakpoint regression.
1118 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
1119 braces from the parameter.
1120 * gdb.java/jprint.exp: Likewise.
1121
2c47921e
DE
11222012-10-15 Doug Evans <dje@google.com>
1123
1124 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
1125
89398707
JB
11262012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
1127
1128 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
1129
801e4185
TT
11302012-10-15 Tom Tromey <tromey@redhat.com>
1131
1132 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
1133
74f910c8
TT
11342012-10-15 Tom Tromey <tromey@redhat.com>
1135
1136 * gdb.python/py-symbol.exp: Test symbol destructor.
1137
91567807
YQ
11382012-10-14 Yao Qi <yao@codesourcery.com>
1139
1140 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
1141 * gdb.mi/mi-cli.exp: New.
1142
1143 * gdb.mi/mi2-basics.exp: Remove.
1144 * gdb.mi/mi2-break.exp: Remove.
1145 * gdb.mi/mi2-console.exp: Remove.
1146 * gdb.mi/mi2-disassemble.exp: Remove.
1147 * gdb.mi/mi2-eval.exp: Remove.
1148 * gdb.mi/mi2-file.exp: Remove.
1149 * gdb.mi/mi2-hack-cli.exp: Remove.
1150 * gdb.mi/mi2-pthreads.exp: Remove.
1151 * gdb.mi/mi2-read-memory.exp: Remove.
1152 * gdb.mi/mi2-regs.exp: Remove.
1153 * gdb.mi/mi2-return.exp: Remove.
1154 * gdb.mi/mi2-simplerun.exp: Remove.
1155 * gdb.mi/mi2-stack.exp: Remove.
1156 * gdb.mi/mi2-stepi.exp: Remove.
1157 * gdb.mi/mi2-syn-frame.exp: Remove.
1158 * gdb.mi/mi2-until.exp: Remove.
1159 * gdb.mi/mi2-watch.exp: Remove.
1160 * gdb.mi/mi2-var-block.exp: Remove.
1161 * gdb.mi/mi2-var-cmd.exp: Remove.
1162 * gdb.mi/mi2-var-display.exp: Remove.
1163
87332029
YQ
11642012-10-12 Yao Qi <yao@codesourcery.com>
1165
1166 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
1167 trail '.*' on matching patterns.
1168
11fc9057
L
11692012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1170
1171 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
1172 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
1173 * gdb.arch/i386-disp-step.exp: Likewise.
1174 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1175 * gdb.arch/i386-prologue.exp: Likewise.
1176 * gdb.arch/i386-size-overlap.exp: Likewise.
1177 * gdb.arch/i386-size.exp: Likewise.
1178 * gdb.arch/i386-unwind.exp: Likewise.
1179
7d46bcdc
L
11802012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1181
1182 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
1183 * gdb.arch/i386-word.exp: Likewise.
1184
31224d9d
L
11852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1186
1187 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
1188 is_ilp32_target to set nr_regs.
1189 * gdb.arch/i386-sse.exp: Likewise.
1190
5b7d0050
DE
11912012-10-11 Doug Evans <dje@google.com>
1192
7c09e5a0
DE
1193 PR breakpoints/14643.
1194 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
1195 * gdb.linespec/thread.c: New file.
1196 * gdb.linespec/thread.exp: New file.
1197
5b7d0050
DE
1198 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
1199 Recognize "message" -> print pass and fail. Add eof case.
1200 (runto): Recognize message, no-message. Print pass/fail if requested,
1201 with same treatment as gdb_breakpoint.
1202 (runto_main): Pass no-message to runto.
1203 (gdb_internal_error_resync): Add log message.
1204 (gdb_file_cmd): Tweak internal error fail text for consistency.
1205
2e24f4aa
JK
12062012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1207
1208 Fix crash during stepping on ppc32.
1209 * gdb.base/step-symless.c: New file.
1210 * gdb.base/step-symless.exp: New file.
1211
aa14df25
DE
12122012-10-03 Doug Evans <dje@google.com>
1213
1214 PR symtab/14601
1215 * gdb.cp/using-crash.exp: New file.
1216 * gdb.cp/using-crash.cc: New file.
1217
975531db
DE
12182012-10-02 Doug Evans <dje@google.com>
1219
1220 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
1221 more consistent.
1222 (runto,gdb_debug_format): Ditto.
1223 (gdb_file_cmd): Watch for eof in nested gdb_expect.
1224 Clean up logging and error messages.
1225
b3dc46ff
AB
12262012-10-01 Andrew Burgess <aburgess@broadcom.com>
1227
1228 Test find command on unmapped memory.
1229 * gdb.base/find-unmapped.c: New file.
1230 * gdb.base/find-unmapped.exp: New file.
1231
45814d45
YQ
12322012-09-29 Yao Qi <yao@codesourcery.com>
1233
1234 * gdb.trace/mi-tracepoint-changed.exp: New.
1235 * gdb.mi/mi-breakpoint-changed.exp: New.
1236 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
1237 * gdb.mi/pendshr2.c: New.
1238
4c2786ba
YQ
12392012-09-28 Yao Qi <yao@codesourcery.com>
1240
1241 * gdb.mi/pr11022.exp: New.
1242 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
1243
7977e5d2
TT
12442012-09-27 Tom Tromey <tromey@redhat.com>
1245
1246 * gdb.cp/derivation.exp: Add regression test.
1247 * gdb.cp/derivation.cc (class V_base, class V_inter, class
1248 V_derived): New.
1249 (vderived): New global.
1250
0971de02
TT
12512012-09-26 Tom Tromey <tromey@redhat.com>
1252
1253 * gdb.dwarf2/dw2-common-block.S: New file.
1254 * gdb.dwarf2/dw2-common-block.exp: New file.
1255
4357ac6c
TT
12562012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1257
1258 * gdb.fortran/common-block.exp: New file.
1259 * gdb.fortran/common-block.f90: New file.
1260
6f380991
AB
12612012-09-26 Andrew Burgess <aburgess@broadcom.com>
1262
1263 * gdb.base/duplicate-bp.c: New file.
1264 * gdb.base/duplicate-bp.exp: New file.
1265
8ae551cf
YQ
12662012-09-26 Yao Qi <yao@codesourcery.com>
1267
1268 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
1269
1270 Revert:
1271 2012-09-21 Yao Qi <yao@codesourcery.com>
1272
1273 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1274
318102b9
SP
12752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1276
1277 * gdb.base/longest-types.c: New test case.
1278 * gdb.base/longest-types.exp: New test case.
1279
a1e5fd69
YQ
12802012-09-25 Yao Qi <yao@codesourcery.com>
1281
1282 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
1283
04e7407c
JK
12842012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1285
1286 Fix internal error on canonicalization of clang types.
1287 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
1288 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
1289 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
1290
9bf4bce9
JK
12912012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1292
1293 Fix disassemble without parameters in tailcall frame.
1294 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
1295
2603f7ee
AB
12962012-09-21 Andrew Burgess <aburgess@broadcom.com>
1297
1298 * gdb.dwarf2/dw2-op-out-param.S: New file.
1299 * gdb.dwarf2/dw2-op-out-param.exp: New file.
1300
a3569abd
YQ
13012012-09-21 Yao Qi <yao@codesourcery.com>
1302
1303 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1304
a065d7af
YQ
13052012-09-21 Yao Qi <yao@codesourcery.com>
1306
1307 * gdb.mi/mi-cli.exp: Remove.
1308 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
1309
15544bd9
YQ
13102012-09-21 Yao Qi <yao@codesourcery.com>
1311
1312 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
1313 "=record-started" notification.
1314
82a90ccf
YQ
13152012-09-21 Yao Qi <yao@codesourcery.com>
1316
1317 * gdb.mi/mi-record-changed.exp: New.
1318 * gdb.mi/mi-reverse.exp: Adjust expected output.
1319
d7de8e3c
TT
13202012-09-20 Tom Tromey <tromey@redhat.com>
1321
1322 * gdb.python/python.exp: Test atexit.register.
1323
1aa99537
DE
13242012-09-20 Doug Evans <dje@google.com>
1325
05eade73
DE
1326 * boards/dwarf4-gdb-index.exp: New file.
1327
1aa99537
DE
1328 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
1329 while running the tests.
1330
4ae24af0
JB
13312012-09-18 Joel Brobecker <brobecker@adacore.com>
1332
1333 * gdb.ada/bp_reset: New testcase.
1334
bb25a15c
YQ
13352012-09-18 Yao Qi <yao@codesourcery.com>
1336
1337 * gdb.trace/mi-tsv-changed.exp: New.
1338
201b4506
YQ
13392012-09-18 Yao Qi <yao@codesourcery.com>
1340
1341 * gdb.trace/mi-traceframe-changed.exp: New.
1342
6fc1c773
YQ
13432012-09-17 Yao Qi <yao@codesourcery.com>
1344
1345 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
1346 when it is less than 0.
1347
1ab3b62c
JK
13482012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1349
1350 PR 14119
1351 * gdb.arch/amd64-tailcall-ret.S: New file.
1352 * gdb.arch/amd64-tailcall-ret.c: New file.
1353 * gdb.arch/amd64-tailcall-ret.exp: New file.
1354 * gdb.reverse/amd64-tailcall-reverse.S: New file.
1355 * gdb.reverse/amd64-tailcall-reverse.c: New file.
1356 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
1357
acf9414f
JK
13582012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1359
1360 PR 14548
1361 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
1362 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
1363 * gdb.reverse/singlejmp-reverse.S: New file.
1364 * gdb.reverse/singlejmp-reverse.c: New file.
1365 * gdb.reverse/singlejmp-reverse.exp: New file.
1366
666b578b
JK
13672012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1368
1369 Fix compatibility with old GCC (~4.1).
1370 * gdb.cp/converts.cc (my_enum_var): New variable.
1371
42056501
AB
13722012-09-14 Andrew Burgess <aburgess@broadcom.com>
1373
1374 * gdb.xml/tdesc-regs.exp: Update expected output for new
1375 vector_size syntax of vector types.
1376
b9516fa1
YPK
13772012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
1378
1379 Refactor Python "gdb" module into a proper Python package, by
1380 introducing a new "_gdb" module for code implemented in C, and
1381 using reload/__import__ instead of exec.
1382 * gdb.python/python.exp (Test stderr location): Update module
1383 location of GDB-specific sys.stderr.
1384 (Test stdout location): Ditto for sys.stdout.
1385
18dc9ad8
JK
13862012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1387
1388 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
1389
ea3a9873
KS
13902012-09-12 Keith Seitz <keiths@redhat.com>
1391
1392 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
1393 conversion statement.
1394
5941debb
DE
13952012-09-12 Doug Evans <dje@google.com>
1396
1397 * gdb.base/help.exp: Remove testing of individual command help text,
1398 too much of a maintenance burden. Instead, test the functionality
1399 of "help" itself.
1400
cfc35e02
DE
14012012-09-11 Doug Evans <dje@google.com>
1402
3a0ed5d7
DE
1403 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
1404 breakpoint.
1405
cfc35e02
DE
1406 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
1407 * gdb.dwarf2/fission-reread.S: Ditto.
1408 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
1409 * gdb.dwarf2/fission-reread.exp: Ditto.
1410
350b1b26
AB
14112012-09-11 Andrew Burgess <aburgess@broadcom.com>
1412
1413 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
1414
2fa15f23
JB
14152012-09-10 Joel Brobecker <brobecker@adacore.com>
1416
1417 * gdb.ada/optim_drec: New testcase.
1418
09be558e
DE
14192012-09-10 Doug Evans <dje@google.com>
1420
1421 * boards/fission.exp: Explicitly mark "board" as not remote.
1422
5b4f6e25
KS
14232012-09-10 Keith Seitz <keiths@redhat.com>
1424
1425 PR gdb/13483
1426 * gdb.cp/converts.cc (A::A): Add ctor.
1427 (A::member_): Add member.
1428 (enum my_enum): New enumeration.
1429 (main): Add calls to foo1_7 with various
1430 permitted arguments.
1431 * gdb.cp/converts.exp: Add tests for boolean
1432 conversions permitted by the standard.
1433
b4ca5ed9
YPK
14342012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
1435
1436 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
1437 avoid spurious results due to ~/.gdbinit.
1438 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
1439 $INTERNAL_GDBFLAGS in run command.
1440 * gdb.gdb/observer.exp (setup_test): Ditto.
1441 * gdb.gdb/selftest.exp (test_with_self): Ditto.
1442 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
1443
d54b30bb
DE
14442012-09-06 Doug Evans <dje@google.com>
1445
14910956
DE
1446 * boards/fission.exp: New file.
1447
d54b30bb
DE
1448 * gdb.python/py-value.exp: Use clean_restart.
1449
91b253e1
DE
14502012-09-05 Doug Evans <dje@google.com>
1451
1452 * gdb.base/info-macros.c: Fix whitespace.
1453
1292279a
PA
14542012-08-28 Pedro Alves <palves@redhat.com>
1455
1456 PR gdb/14428
1457
1458 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
1459
1c8cdcb1
JK
14602012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1461
1462 * gdb.base/break-caller-line.c: New file.
1463 * gdb.base/break-caller-line.exp: New file.
1464
1e8e8b51
JK
14652012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1466
1467 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
1468 * gdb.arch/i386-cfi-notcurrent.S: New file.
1469 * gdb.arch/i386-cfi-notcurrent.exp: New file.
1470
1591a1e8
PA
14712012-08-27 Wei-cheng Wang <cole945@gmail.com>
1472 Yao Qi <yao@codesourcery.com>
1473 Pedro Alves <palves@redhat.com>
1474
1475 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
1476 New procedures.
1477 (top level): Add overlap checking tests.
1478
4442ada7
TT
14792012-08-24 Tom Tromey <tromey@redhat.com>
1480
1481 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
1482 gdb_test_multiple fails for other reasons.
1483
e7d50cc9
YQ
14842012-08-24 Yao Qi <yao@codesourcery.com>
1485
1486 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
1487
dfbd5e7b
PA
14882012-08-23 Pedro Alves <palves@redhat.com>
1489
1490 * gdb.base/help.exp: Adjust to "handle" help text change.
1491
8d735b87
YQ
14922012-08-23 Yao Qi <yao@codesourcery.com>
1493
1494 * gdb.trace/disconnected-tracing.c (start, end): New.
1495 (main): Call start and end.
1496 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
1497 existing tests into this proc.
1498 (disconnected_tfind): New.
1499
61b1d759
YQ
15002012-08-23 Yao Qi <yao@codesourcery.com>
1501
1502 * boards/native-gdbserver.exp (${board}_upload): New.
1503 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
1504 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
1505 Execute tfile on remote target.
1506 Copy trace file from target to host.
1507
6ca1b147
JM
15082012-08-22 Joseph Myers <joseph@codesourcery.com>
1509
1510 * gdb.arch/thumb-bx-pc.S: New file.
1511 * gdb.arch/thumb-bx-pc.exp: New file.
1512
706e3705
TT
15132012-08-22 Tom Tromey <tromey@redhat.com>
1514
1515 * gdb.base/maint.exp: Update.
1516
b4893d48
TT
15172012-08-22 Tom Tromey <tromey@redhat.com>
1518
1519 * lib/gdb.exp (skip_unwinder_tests): New proc.
1520 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
1521 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
1522
45b7da81
TT
15232012-08-21 Tom Tromey <tromey@redhat.com>
1524
1525 * gdb.hp/gdb.aCC/exception.exp: Remove.
1526
f94363d7
AP
1527012-08-19 Andrew Pinski <apinski@cavium.com>
1528
1529 * gdb.arch/mips-octeon-bbit.c: New file.
1530 * gdb.arch/mips-octeon-bbit.exp: New Test.
1531
e5afdbd7
KS
1532012-08-19 Keith Seitz <keiths@redhat.com>
1533
1534 PR c++/14365
1535 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
1536 * gdb.dwarf2/dw2-anon-mptr.S: New file.
1537
c29e8b64
JK
15382012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1539
1540 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
1541 verbose -log by more specific untested call.
1542
15a7e7bc
YQ
15432012-08-18 Yao Qi <yao@codesourcery.com>
1544
1545 * gdb.trace/tfind.exp: Move tests on various command help before
1546 checking target supports trace.
1547 Fix the expected output of 'help tfind end'.
1548
a451cb65
KS
15492012-08-17 Keith Seitz <keiths@redhat.com>
1550
1551 PR c++/13356
1552 * gdb.base/default.exp: Update all "check type" tests.
1553 * gdb.base/help.exp: Likewise.
1554 * gdb.base/setshow.exp: Likewise.
1555 * gdb.cp/converts.cc (foo1_type_check): New function.
1556 (foo2_type_check): New function.
1557 (foo3_type_check): New function.
1558 (main): Call new functions.
1559 * converts.exp: Add tests for integer-to-pointer conversions
1560 with/without strict type-checking.
1561
dbf6a605
MF
15622012-08-16 Mike Frysinger <vapier@gentoo.org>
1563
1564 * gdb.base/help.exp: Update expected output.
1565
0c92d8c1
JB
15662012-08-16 Joel Brobecker <brobecker@adacore.com>
1567
1568 * gdb.ada/rdv_wait: New testcase.
1569
e56f7f42
JK
15702012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1571
1572 * gdb.base/attach-twice.exp: Remove excessive ps exec.
1573
f47f77df
DE
15742012-08-13 Doug Evans <dje@google.com>
1575
e202d6e8 1576 * gdb.base/help.exp: Update expected output.
f47f77df
DE
1577 * gdb.base/default.exp: Update expected output of "show convenience".
1578
a72c3253
DE
15792012-08-10 Doug Evans <dje@google.com>
1580
1581 * gdb.python/py-strfns.c: New file.
1582 * gdb.python/py-strfns.exp: New file.
1583 * gdb.python/py-type.exp (test_fields): Add vector tests.
1584
de0bea00
MF
15852012-08-10 Mike Frysinger <vapier@gentoo.org>
1586
1587 PR cli/10436:
1588 * gdb.base/completion.exp: Add tests for handle completion.
1589
5b9afe8a
YQ
15902012-08-09 Yao Qi <yao@codesourcery.com>
1591
1592 * gdb.mi/mi-cmd-param-changed.exp: New.
1593 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
1594 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
1595 * gdb.mi/mi2-prompt.exp: Likewise.
1596
4f485ebc
DE
15972012-08-08 Doug Evans <dje@google.com>
1598
1599 * gdb.base/debug-expr.c: New file.
1600 * gdb.base/debug-expr.exp: New file.
1601 * gdb.base/exprs.exp: Test {type} casts.
1602 * gdb.cp/debug-expr.exp: New file.
1603
5888842d
JK
16042012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1605
1606 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
1607 global variable loop, not a 'break'. Add loop count limit to 100.
1608 Add new fail case for terminated vgdb.
1609
4f69f4c2
JK
16102012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1611 Jean-Marc Saffroy <saffroy@gmail.com>
1612
1613 PR 11804
1614 * gdb.base/gcore-relro.exp: New file.
1615 * gdb.base/gcore-relro-main.c: New file.
1616 * gdb.base/gcore-relro-lib.c: New file.
1617
e2de5390
JK
16182012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1619
1620 Do not false FAIL with old GCCs.
1621 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
1622 GCC < 4.5 in $no_hw mode.
1623
606603c5
JK
16242012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1625
1626 * gdb.base/default.exp (cd): Accept new directory with no arguments.
1627
777f26c2
JK
16282012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1629
1630 * gdb.base/list.exp (test_only_end): New function.
1631 Call it.
1632
2c12abee
TT
16332012-08-06 Tom Tromey <tromey@redhat.com>
1634
1635 * gdb.python/py-mi.exp: Add test for printer whose children
1636 are a list.
1637 * gdb.python/py-prettyprint.c (struct children_as_list): New.
1638 (main): New variable children_as_list.
1639 * gdb.python/py-prettyprint.py (class pp_children_as_list):
1640 New.
1641 (register_pretty_printers): Register new printer.
1642
0eae2cf4
EBM
16432012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1644
1645 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
1646 symbols. Abort if vgdb remote connection is closed.
1647
09e0881d
DE
16482012-08-02 Doug Evans <dje@google.com>
1649
1650 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
1651
b40f514f
SDJ
16522012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
1653
1654 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
1655 s390x, PowerPC 64 and m68k-linux.
1656
11315ae0
UW
16572012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1658
1659 * gdb.base/annota1.exp: Accept no frames-invalid notification
1660 when starting up the program.
1661 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
1662 show a symbolic value as well.
1663 * gdb.server/server-exec-info.exp: Skip test when skipping
1664 gdbserver test and/or when skipping shared library tests.
1665 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
1666 avoid name conflicts with other tests.
1667
0547eeed
UW
16682012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1669
1670 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
1671 Fix wrong output on big-endian systems.
1672 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
1673 4-byte pointer types on 64-bit s390x.
1674
bdddb4de
UW
16752012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1676
1677 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
1678 marker comment at the beginning (after intialization).
1679 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
1680 breakpoint on marker comment instead of function begin.
1681 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
1682 PowerPC.
1683 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
1684 or 64-bit PowerPC.
1685 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
1686 gdb,no_hardware_watchpoints flag is set.
1687 (initialize): Remove now redundant can-use-hw-watchpoints change.
1688
5d206025
YQ
16892012-08-02 Yao Qi <yao@codesourcery.com>
1690 Pedro Alves <palves@redhat.com>
1691
1692 * boards/local-remote-host.exp: New.
1693
4f665099
UW
16942012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1695
1696 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
1697 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
1698 * gdb.base/print-file-var.exp: Likewise.
1699 * gdb.server/solib-list.exp: Skip on remote targets.
1700
b62e2b27
UW
17012012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1702
1703 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
1704 watchpoints on ARM. When expecting software watchpoints, tolerate
1705 (remote) targets that report unsupported hardware watchpoint only
1706 at continue time.
1707 (test_wide_location_2): Likewise.
1708
a967a851
JK
17092012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1710
1711 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
1712 valgrind versions.
1713
75d9f9ff 17142012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
1715
1716 * gdb.base/valgrind-infcall.c: New file.
1717 * gdb.base/valgrind-infcall.exp: New file.
1718
75d9f9ff
JK
1719 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
1720
1c9f2ed2
KS
17212012-07-30 Keith Seitz <keiths@redhat.com>
1722
1723 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
1724 linespecs.
1725
7f9b2034
DE
17262012-07-30 Doug Evans <dje@google.com>
1727
85220e01
DE
1728 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
1729 * gdb.dwarf2/pr13961.S: Ditto.
1730
7f9b2034
DE
1731 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
1732
4e969b4f
AB
17332012-07-30 Andrew Burgess <aburgess@broadcom.com>
1734
1735 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
1736 change its format immediately after reloading the binary.
1737
e7de8362
JK
17382012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1739
1740 Fix testsuite regression after --use-deprecated-index-sections removal.
1741 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
1742 string.
1743 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
1744
7255706c
YQ
17452012-07-27 Yao Qi <yao@codesourcery.com>
1746
1747 KFAIL for PR remote/14161.
1748 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
1749 Cleanup socket files.
1750 (strace_info_marker): Detach inferior.
1751
f2e8016f
TT
17522012-07-26 Tom Tromey <tromey@redhat.com>
1753
6fdff2c5 1754 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 1755
f66713d2
JK
17562012-07-26 Markus Metzger <markus.t.metzger@intel.com>
1757
1758 * gdb.python/py-inferior.c (thread): New function.
1759 (check_threads): New function.
1760 (test_threads): New function.
1761 * gdb.python/py-inferior.exp: Added test.
1762 Replaced runto with continue to breakpoint.
1763
8223e12c
TT
17642012-07-26 Tom Tromey <tromey@redhat.com>
1765
1766 * lib/ada.exp (standard_ada_testfile): New proc.
1767 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
1768 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
1769 * gdb.ada/array_return.exp: Use standard_ada_testfile.
1770 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
1771 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
1772 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
1773 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
1774 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
1775 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
1776 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
1777 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
1778 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
1779 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
1780 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
1781 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
1782 * gdb.ada/char_param.exp: Use standard_ada_testfile.
1783 * gdb.ada/complete.exp: Use standard_ada_testfile.
1784 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
1785 standard_output_file.
1786 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
1787 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
1788 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
1789 standard_output_file.
1790 * gdb.ada/exprs.exp: Use standard_ada_testfile.
1791 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
1792 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
1793 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
1794 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
1795 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
1796 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
1797 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
1798 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
1799 * gdb.ada/homonym.exp: Use standard_ada_testfile.
1800 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
1801 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
1802 * gdb.ada/interface.exp: Use standard_ada_testfile.
1803 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
1804 standard_output_file
1805 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
1806 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
1807 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
1808 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
1809 * gdb.ada/nested.exp: Use standard_ada_testfile.
1810 * gdb.ada/null_array.exp: Use standard_ada_testfile.
1811 * gdb.ada/null_record.exp: Use standard_ada_testfile.
1812 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
1813 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
1814 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
1815 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
1816 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
1817 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
1818 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
1819 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
1820 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
1821 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
1822 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
1823 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
1824 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
1825 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
1826 * gdb.ada/start.exp: Use standard_ada_testfile.
1827 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
1828 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
1829 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
1830 * gdb.ada/tagged.exp: Use standard_ada_testfile.
1831 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
1832 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
1833 * gdb.ada/tasks.exp: Use standard_ada_testfile.
1834 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
1835 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
1836 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
1837 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
1838 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
1839 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
1840 * gdb.ada/widewide.exp: Use standard_ada_testfile.
1841
bbec57e4
JK
18422012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1843
1844 Fix testsuite regression after --use-deprecated-index-sections removal.
1845 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
1846
9cc8e32c
JK
18472012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1848
1849 Fix compatibility with Tcl before 7.5.
1850 * lib/future.exp (lreverse): New function if it does not exist.
1851
ea5ca7b5
MK
18522012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
1853
1854 * gdb.mi/mi-pending.c: New method to set a second pending
1855 breakpoint.
1856 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
1857 condition.
1858
64776a0b
PA
18592012-07-20 Pedro Alves <palves@redhat.com>
1860
1861 PR threads/11692
1862 PR gdb/12203
1863
1864 * gdb.threads/create-fail.c: New file.
1865 * gdb.threads/create-fail.exp: New file.
1866
13e4e967
PA
18672012-07-19 Pedro Alves <palves@redhat.com>
1868
1869 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
1870 * config/vx.exp (gdb_start): Likewise.
1871 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
1872 * gdb.base/setvar.exp (test_set): Likewise.
1873 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
1874 * gdb.reverse/sigall-precsave.exp: Likewise.
1875 * gdb.reverse/sigall-reverse.exp: Likewise.
1876
b7aefa4d
PA
18772012-07-19 Pedro Alves <palves@redhat.com>
1878
1879 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
1880 handler before recording.
1881
608b4967
TT
18822012-07-19 Tom Tromey <tromey@redhat.com>
1883
1884 * gdb.cp/casts.exp: Add tests for typeof and decltype.
1885 * gdb.cp/casts.cc (decltype): New function.
1886 (main): Use it.
1887
b1e0c0fa
PA
18882012-07-19 Pedro Alves <palves@redhat.com>
1889
1890 * gdb.base/sigall.exp (signals): New list.
1891 <top level>: Loop over signals in the $signals list instead of
1892 calling a test function once per signal.
1893 * gdb.reverse/sigall-precsave.exp (signals): New list.
1894 <top level>: Loop over signals in the $signals list instead of
1895 calling a test function once per signal.
1896 * gdb.reverse/sigall-reverse.exp (signals): New list.
1897 <top level>: Loop over signals in the $signals list instead of
1898 calling a test function once per signal.
1899
6ace3df1
YQ
19002012-07-19 Yao Qi <yao@codesourcery.com>
1901
1902 * gdb.base/setshow.exp: Test 'set args ~'.
1903
263a0f8c
JK
19042012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1905
1906 * gdb.base/store.exp (check_set): Import gdb_prompt.
1907 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
1908 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
1909
8f043999
JK
19102012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1911
1912 PR 11914
1913 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
1914 (main): Call eval_sub.
1915 * gdb.python/py-prettyprint.exp:
1916 (python execfile ('py-prettyprint.py')): Move it earlier.
1917 New breakpoint for eval-break.
1918 (continue to breakpoint: eval-break, info locals): New test.
1919 (python execfile ('py-prettyprint.py')): Move it from here.
1920 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
1921 (register_pretty_printers): Register pp_eval_type.
1922
725c7b66
JK
19232012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1924
1925 Fix a testcase regression by me.
1926 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
1927 DW_FORM_data4.
1928
4359dff1
JK
19292012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1930 Doug Evans <dje@google.com>
1931
1932 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
1933 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
1934
61e44cfa
JK
19352012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1936
1937 Fix gdbserver run regression.
1938 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
1939
93c0ef37
TT
19402012-07-12 Tom Tromey <tromey@redhat.com>
1941
1942 * lib/gdb.exp (standard_testfile): Don't declare objdir.
1943 (clean_restart): Likewise.
1944 (core_find): Use standard_output_file.
1945
76027ef5
TT
19462012-07-12 Tom Tromey <tromey@redhat.com>
1947
1948 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
1949 * gdb.dwarf2/dw2-anonymous-func.exp: Use
1950 prepare_for_testing_full.
1951 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
1952 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
1953 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
1954 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
1955 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
1956 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
1957 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
1958 prepare_for_testing_full.
1959 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
1960 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
1961 prepare_for_testing_full.
1962 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
1963 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
1964 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
1965
85b4440a
TT
19662012-07-12 Tom Tromey <tromey@redhat.com>
1967
1968 * lib/gdb.exp (build_executable_from_specs): New proc, from
1969 build_executable.
1970 (build_executable): Use it.
1971 (prepare_for_testing_full): New proc.
1972
55baab26
TT
19732012-07-11 Tom Tromey <tromey@redhat.com>
1974
1975 * gdb.reverse/break-precsave.exp: Use standard_output_file.
1976 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
1977 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
1978 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
1979 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
1980 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
1981 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
1982 * gdb.reverse/step-precsave.exp: Use standard_output_file.
1983 * gdb.reverse/until-precsave.exp: Use standard_output_file.
1984 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
1985
298a9cf0
TT
19862012-07-10 Tom Tromey <tromey@redhat.com>
1987
1988 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
1989 standard_output_file.
1990 * gdb.mi/gdb2549.exp: Use standard_testfile.
1991 * gdb.mi/gdb669.exp: Use standard_testfile.
1992 * gdb.mi/gdb701.exp: Use standard_testfile.
1993 * gdb.mi/gdb792.exp: Use standard_testfile.
1994 * gdb.mi/mi-async.exp: Use standard_testfile.
1995 * gdb.mi/mi-basics.exp: Use standard_testfile.
1996 * gdb.mi/mi-break.exp: Use standard_testfile.
1997 * gdb.mi/mi-cli.exp: Use standard_testfile.
1998 * gdb.mi/mi-console.exp: Use standard_testfile.
1999 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
2000 * gdb.mi/mi-eval.exp: Use standard_testfile.
2001 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
2002 * gdb.mi/mi-file.exp: Use standard_testfile.
2003 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
2004 * gdb.mi/mi-logging.exp: Use standard_testfile.
2005 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
2006 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
2007 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
2008 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
2009 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
2010 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
2011 * gdb.mi/mi-pending.exp: Use standard_testfile,
2012 standard_output_file.
2013 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
2014 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
2015 * gdb.mi/mi-regs.exp: Use standard_testfile.
2016 * gdb.mi/mi-return.exp: Use standard_testfile.
2017 * gdb.mi/mi-reverse.exp: Use standard_testfile.
2018 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
2019 * gdb.mi/mi-solib.exp: Use standard_testfile,
2020 standard_output_file.
2021 * gdb.mi/mi-stack.exp: Use standard_testfile.
2022 * gdb.mi/mi-stepi.exp: Use standard_testfile.
2023 * gdb.mi/mi-stepn.exp: Use standard_testfile.
2024 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
2025 * gdb.mi/mi-until.exp: Use standard_testfile.
2026 * gdb.mi/mi-var-block.exp: Use standard_testfile.
2027 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
2028 * gdb.mi/mi-var-child.exp: Use standard_testfile.
2029 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
2030 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
2031 * gdb.mi/mi-var-display.exp: Use standard_testfile.
2032 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
2033 standard_output_file.
2034 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
2035 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
2036 * gdb.mi/mi-watch.exp: Use standard_testfile.
2037 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
2038 * gdb.mi/mi2-basics.exp: Use standard_testfile.
2039 * gdb.mi/mi2-break.exp: Use standard_testfile.
2040 * gdb.mi/mi2-cli.exp: Use standard_testfile.
2041 * gdb.mi/mi2-console.exp: Use standard_testfile.
2042 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
2043 * gdb.mi/mi2-eval.exp: Use standard_testfile.
2044 * gdb.mi/mi2-file.exp: Use standard_testfile.
2045 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
2046 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
2047 * gdb.mi/mi2-regs.exp: Use standard_testfile.
2048 * gdb.mi/mi2-return.exp: Use standard_testfile.
2049 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
2050 * gdb.mi/mi2-stack.exp: Use standard_testfile.
2051 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
2052 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
2053 * gdb.mi/mi2-until.exp: Use standard_testfile.
2054 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
2055 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
2056 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
2057 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
2058 * gdb.mi/mi2-watch.exp: Use standard_testfile.
2059
f5f3a911
TT
20602012-07-10 Tom Tromey <tromey@redhat.com>
2061
2062 * gdb.cp/abstract-origin.exp: Use standard_testfile.
2063 * gdb.cp/ambiguous.exp: Use standard_testfile,
2064 prepare_for_testing.
2065 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
2066 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
2067 * gdb.cp/anon-ns.exp: Use standard_testfile.
2068 * gdb.cp/anon-struct.exp: Use standard_testfile.
2069 * gdb.cp/anon-union.exp: Use standard_testfile,
2070 prepare_for_testing.
2071 * gdb.cp/arg-reference.exp: Use standard_testfile,
2072 prepare_for_testing.
2073 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
2074 * gdb.cp/breakpoint.exp: Use standard_testfile,
2075 prepare_for_testing.
2076 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
2077 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
2078 standard_output_file.
2079 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
2080 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
2081 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
2082 (test_static_members): Update.
2083 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
2084 * gdb.cp/converts.exp: Use standard_testfile.
2085 * gdb.cp/cp-relocate.exp: Use standard_testfile.
2086 * gdb.cp/cpcompletion.exp: Use standard_testfile,
2087 prepare_for_testing.
2088 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
2089 * gdb.cp/cplabel.exp: Use standard_testfile.
2090 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
2091 prepare_for_testing.
2092 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
2093 * gdb.cp/derivation.exp: Use standard_testfile,
2094 prepare_for_testing.
2095 * gdb.cp/destrprint.exp: Use standard_testfile.
2096 * gdb.cp/dispcxx.exp: Use standard_testfile.
2097 * gdb.cp/exception.exp: Use standard_testfile,
2098 prepare_for_testing.
2099 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
2100 * gdb.cp/extern-c.exp: Use standard_testfile,
2101 prepare_for_testing.
2102 * gdb.cp/formatted-ref.exp: Use standard_testfile,
2103 prepare_for_testing.
2104 * gdb.cp/fpointer.exp: Use standard_testfile.
2105 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
2106 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
2107 standard_output_file.
2108 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
2109 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
2110 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
2111 standard_output_file.
2112 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
2113 (do_tests): Update.
2114 * gdb.cp/koenig.exp: Use standard_testfile.
2115 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
2116 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
2117 * gdb.cp/m-static.exp: Use standard_testfile,
2118 prepare_for_testing.
2119 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
2120 * gdb.cp/mb-inline.exp: Use standard_testfile,
2121 prepare_for_testing.
2122 * gdb.cp/mb-templates.exp: Use standard_testfile,
2123 prepare_for_testing.
2124 * gdb.cp/member-ptr.exp: Use standard_testfile,
2125 prepare_for_testing.
2126 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
2127 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
2128 * gdb.cp/method2.exp: Use standard_testfile.
2129 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
2130 standard_output_file.
2131 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
2132 (do_tests): Update.
2133 * gdb.cp/namespace-enum.exp: Use standard_testfile,
2134 prepare_for_testing.
2135 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
2136 prepare_for_testing.
2137 * gdb.cp/namespace.exp: Use standard_testfile,
2138 prepare_for_testing.
2139 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
2140 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
2141 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
2142 * gdb.cp/nsimport.exp: Use standard_testfile,
2143 prepare_for_testing.
2144 * gdb.cp/nsnested.exp: Use standard_testfile.
2145 * gdb.cp/nsnoimports.exp: Use standard_testfile.
2146 * gdb.cp/nsrecurs.exp: Use standard_testfile,
2147 prepare_for_testing.
2148 * gdb.cp/nsstress.exp: Use standard_testfile,
2149 prepare_for_testing.
2150 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
2151 * gdb.cp/operator.exp: Use standard_testfile.
2152 * gdb.cp/oranking.exp: Use standard_testfile.
2153 * gdb.cp/overload-const.exp: Use standard_testfile.
2154 * gdb.cp/overload.exp: Use standard_testfile,
2155 prepare_for_testing.
2156 * gdb.cp/ovldbreak.exp: Use standard_testfile.
2157 * gdb.cp/ovsrch.exp: Use standard_testfile.
2158 * gdb.cp/paren-type.exp: Use standard_testfile.
2159 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
2160 prepare_for_testing.
2161 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
2162 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
2163 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
2164 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
2165 * gdb.cp/pr10728.exp: Use standard_testfile,
2166 standard_output_file.
2167 * gdb.cp/pr12028.exp: Use standard_testfile.
2168 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
2169 * gdb.cp/pr9167.exp: Use standard_testfile.
2170 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
2171 * gdb.cp/printmethod.exp: Use standard_testfile,
2172 prepare_for_testing.
2173 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
2174 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
2175 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
2176 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
2177 standard_output_file.
2178 * gdb.cp/readnow-language.exp: Use standard_testfile.
2179 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
2180 (gdb_start_again): Use clean_restart.
2181 * gdb.cp/ref-types.exp: Use standard_testfile,
2182 prepare_for_testing.
2183 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
2184 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
2185 * gdb.cp/smartp.exp: Use standard_testfile.
2186 * gdb.cp/static-method.exp: Use standard_testfile.
2187 * gdb.cp/static-print-quit.exp: Use standard_testfile.
2188 * gdb.cp/temargs.exp: Use standard_testfile.
2189 * gdb.cp/templates.exp: Use standard_testfile,
2190 prepare_for_testing.
2191 (do_tests): Update.
2192 * gdb.cp/try_catch.exp: Use standard_testfile,
2193 prepare_for_testing.
2194 * gdb.cp/typedef-operator.exp: Use standard_testfile.
2195 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
2196 * gdb.cp/virtbase.exp: Use standard_testfile,
2197 prepare_for_testing.
2198 * gdb.cp/virtfunc.exp: Use standard_testfile,
2199 prepare_for_testing.
2200 (do_tests): Update.
2201 * gdb.cp/virtfunc2.exp: Use standard_testfile,
2202 prepare_for_testing.
2203
686f09d0
TT
22042012-07-10 Tom Tromey <tromey@redhat.com>
2205
2206 * lib/gdb.exp (standard_testfile): Unset output variables from
2207 earlier invocations.
2208
9357e021
YQ
22092012-07-10 Yao Qi <yao@codesourcery.com>
2210
2211 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
2212 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
2213 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
2214 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
2215 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
2216 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
2217 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
2218 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
2219 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
2220 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
2221 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
2222 * gdb.mi/mi-var-display.exp: Likewise.
2223 * gdb.mi/mi-var-invalidate.exp: Likewise.
2224 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
2225 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
2226 * gdb.mi/mi2-console.exp: Likewise.
2227 * gdb.mi/mi2-disassemble.exp: Likewise.
2228 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
2229 * gdb.mi/mi2-read-memory.exp: Likewise.
2230 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
2231 * gdb.mi/mi2-simplerun.exp: Likewise.
2232 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
2233 * gdb.mi/mi2-syn-frame.exp: Likewise.
2234 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
2235 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
2236 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
2237
e314d629
TT
22382012-07-09 Tom Tromey <tromey@redhat.com>
2239
2240 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
2241 * gdb.base/callfuncs.exp: Add cast-based test.
2242 * gdb.base/callfuncs.c (voidfunc): New function.
2243
06928b3f
DE
22442012-07-08 Doug Evans <dje@google.com>
2245
2246 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
2247
32f11bad
JK
22482012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2249
2250 Fix XFAIL compatibility with old i386 systems.
2251 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
2252 Check also 'Cannot insert breakpoint 0'.
2253
76b83c51
JK
22542012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2255
2256 PR 14321
2257 * gdb.base/find.exp
2258 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
2259
a6fb9c08
TT
22602012-07-06 Tom Tromey <tromey@redhat.com>
2261
2262 * gdb.base/whatis.exp: Add test.
2263
71918a86
TT
22642012-07-06 Tom Tromey <tromey@redhat.com>
2265
2266 * gdb.base/whatis.exp: Add regression test.
2267
fcde5961
TT
22682012-07-06 Tom Tromey <tromey@redhat.com>
2269
2270 * gdb.base/whatis.exp: Add tests.
2271
f9cf0f4a
JK
22722012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2273
2274 PR 12649
2275 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
2276 gdb_test_multiple $gdb_prompt terminator.
2277
979ade8b
PA
22782012-07-04 Pedro Alves <palves@redhat.com>
2279
2280 * gdb.mi/mi-reverse.exp: Use supports_reverse and
2281 supports_process_record.
2282
8a980b44
PA
22832012-07-04 Pedro Alves <palves@redhat.com>
2284
2285 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
2286 endings.
2287 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
2288
855ba978
SS
22892012-07-03 Stan Shebs <stan@codesourcery.com>
2290
2291 * gdb.base/info-os.c (main): Retry resource acquisition until an
2292 available one is found.
2293 * gdb.base/info-os.exp: Collect resource keys from the program
2294 and use them in matching.
2295
fcb44371
JK
22962012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2297
2298 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
2299 Wrap the test into loop for corefile and core0file.
2300
08a67be6
JK
23012012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2302
2303 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
2304 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
2305 .note.GNU-stack.
2306
0f3c2347
JK
2307 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
2308
ff4a4500
SDJ
23092012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
2310
2311 * gdb.base/help.exp (help b, help br, help bre, help brea, help
2312 break): Include help message for the new `-probe' and `-probe-stap'
2313 options.
2314
d3ce09f5
SS
23152012-07-02 Stan Shebs <stan@codesourcery.com>
2316
2317 * gdb.base/dprintf.exp: Add agent style tests.
2318
a1624241
JK
23192012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2320
2321 * gdb.base/stale-infcall.c (infcall): New label test-next.
2322 (main): New labels test-pass and test-fail.
2323 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
2324 $test_fail_bpnum to test-fail.
2325 (test system longjmp tracking support): New test.
2326 Delete $test_fail_bpnum.
2327 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
2328 breakpoint.
2329
42e7ad6c
DE
23302012-06-30 Doug Evans <dje@google.com>
2331
2332 * gdb.dwarf2/fission-reread.S: New file.
2333 * gdb.dwarf2/fission-reread.exp: New file.
2334
37ce89eb
SS
23352012-06-28 Stan Shebs <stan@codesourcery.com>
2336
2337 * gdb.mi/mi-logging.exp: New file.
2338
e5ef252a
PA
23392012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2340 Pedro Alves <palves@redhat.com>
2341
2342 * gdb.threads/siginfo-threads.exp: New file.
2343 * gdb.threads/siginfo-threads.c: New file.
2344 * gdb.threads/sigstep-threads.exp: New file.
2345 * gdb.threads/sigstep-threads.c: New file.
2346
22f1fbae
TT
23472012-06-28 Tom Tromey <tromey@redhat.com>
2348
2349 * gdb.go/package.exp: Partially revert earlier patch; use
2350 gdb_compile again. Use standard_output_file.
2351
2e3cf129
DE
23522012-06-27 Doug Evans <dje@google.com>
2353
2354 * gdb.dwarf2/fission-base.c: New file.
2355 * gdb.dwarf2/fission-base.S: New file.
2356 * gdb.dwarf2/fission-base.exp: New file.
2357
785fd303
JK
23582012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2359
2360 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
2361
1bb9788d
TT
23622012-06-27 Tom Tromey <tromey@redhat.com>
2363
2364 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
2365 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
2366
c83ee902
TT
23672012-06-27 Tom Tromey <tromey@redhat.com>
2368
2369 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
2370 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
2371 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
2372 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
2373 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
2374 prepare_for_testing.
2375 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
2376 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
2377 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
2378 standard_testfile.
2379 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
2380 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
2381 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
2382 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
2383 prepare_for_testing.
2384 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
2385 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
2386 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
2387 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
2388 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
2389 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
2390 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
2391 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
2392 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
2393 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
2394 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
2395 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
2396 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
2397 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
2398 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
2399 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
2400 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
2401 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
2402 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
2403 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
2404 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
2405 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
2406 standard_output_file.
2407 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
2408 standard_output_file.
2409 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
2410 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
2411 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
2412 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
2413 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
2414 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
2415 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
2416 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
2417 * gdb.dwarf2/implptr.exp: Use standard_testfile.
2418 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
2419 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
2420 * gdb.dwarf2/pieces.exp: Use standard_testfile.
2421 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
2422 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
2423 * gdb.dwarf2/valop.exp: Use standard_testfile,
2424 prepare_for_testing.
2425
5204774b
TT
24262012-06-27 Tom Tromey <tromey@redhat.com>
2427
2428 * gdb.python/python.exp: Fix regexps in pagination tests.
2429
ee0bf529
SCR
24302012-06-26 Siva Chandra Reddy <sivachandra@google.com>
2431
2432 * gdb.python/py-symtab.exp: Add tests to test the new attribute
2433 'last' of gdb.Symtab_and_line.
2434 * gdb.python/py-symbol.c: Move break point comment to enable
2435 testing of gdb.Symtab_and_line.last.
2436
14fcc022
TT
24372012-06-26 Tom Tromey <tromey@redhat.com>
2438
2439 * gdb.threads/step.c: Remove.
2440 * gdb.threads/step.exp: Remove.
2441 * gdb.threads/step2.exp: Remove.
2442
0efbbabc
TT
24432012-06-26 Tom Tromey <tromey@redhat.com>
2444
2445 * gdb.threads/watchpoint-fork.exp (test): Use
2446 standard_output_file. Don't declare objdir.
2447 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
2448 standard_output_file.
2449 * gdb.threads/attach-stopped.exp: Use standard_testfile.
2450 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
2451 clean_restart. Remove incdir.
2452 * gdb.threads/corethreads.exp: Use standard_testfile.
2453 * gdb.threads/execl.exp: Use standard_testfile,
2454 standard_output_file, clean_restart.
2455 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
2456 clean_restart.
2457 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
2458 clean_restart.
2459 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
2460 incdir.
2461 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
2462 clean_restart. Remove incdir.
2463 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
2464 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
2465 clean_restart. Remove incdir.
2466 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
2467 Remove incdir.
2468 * gdb.threads/leader-exit.exp: Use standard_testfile.
2469 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
2470 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
2471 clean_restart.
2472 * gdb.threads/manythreads.exp: Use standard_testfile,
2473 clean_restart. Remove incdir.
2474 * gdb.threads/multi-create.exp: Use standard_testfile,
2475 clean_restart.
2476 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
2477 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
2478 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
2479 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
2480 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
2481 * gdb.threads/pending-step.exp: Use standard_testfile,
2482 clean_restart. Remove incdir.
2483 * gdb.threads/print-threads.exp: Use standard_testfile,
2484 clean_restart. Remove incdir.
2485 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
2486 clean_restart. Remove incdir.
2487 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
2488 Remove incdir.
2489 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
2490 incdir.
2491 * gdb.threads/sigthread.exp: Use standard_testfile,
2492 clean_restart.
2493 * gdb.threads/staticthreads.exp: Use standard_testfile,
2494 clean_restart. Remove incdir.
2495 * gdb.threads/switch-threads.exp: Use standard_testfile,
2496 clean_restart. Remove incdir.
2497 * gdb.threads/thread-execl.exp: Use standard_testfile,
2498 clean_restart. Remove incdir.
2499 * gdb.threads/thread-find.exp: Use standard_testfile,
2500 clean_restart.
2501 * gdb.threads/thread-specific.exp: Use standard_testfile,
2502 clean_restart. Remove incdir.
2503 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
2504 clean_restart. Remove incdir.
2505 * gdb.threads/thread_check.exp: Use standard_testfile,
2506 clean_restart. Remove incdir.
2507 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
2508 incdir.
2509 * gdb.threads/threadapply.exp: Use standard_testfile,
2510 clean_restart. Remove incdir.
2511 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
2512 clean_restart. Remove incdir.
2513 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
2514 clean_restart.
2515 * gdb.threads/tls-shared.exp: Use standard_testfile,
2516 clean_restart, standard_output_file.
2517 * gdb.threads/tls-var.exp: Use standard_testfile,
2518 standard_output_file.
2519 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
2520 Remove incdir.
2521 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
2522 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
2523 incdir.
2524 * gdb.threads/watchthreads2.exp: Use standard_testfile,
2525 clean_restart. Remove incdir.
2526
497a5eb0
TT
25272012-06-26 Tom Tromey <tromey@redhat.com>
2528
2529 * gdb.trace/actions.exp: Use standard_testfile.
2530 * gdb.trace/ax.exp: Use standard_testfile.
2531 * gdb.trace/backtrace.exp: Use standard_testfile.
2532 * gdb.trace/change-loc.exp: Use standard_testfile.
2533 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
2534 * gdb.trace/collection.exp: Use standard_testfile,
2535 prepare_for_testing.
2536 * gdb.trace/deltrace.exp: Use standard_testfile.
2537 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
2538 * gdb.trace/ftrace.exp: Use standard_testfile.
2539 * gdb.trace/infotrace.exp: Use standard_testfile.
2540 * gdb.trace/packetlen.exp: Use standard_testfile.
2541 * gdb.trace/passc-dyn.exp: Use standard_testfile.
2542 * gdb.trace/passcount.exp: Use standard_testfile.
2543 * gdb.trace/pending.exp: Use standard_testfile.
2544 * gdb.trace/report.exp: Use standard_testfile.
2545 * gdb.trace/save-trace.exp: Use standard_testfile.
2546 * gdb.trace/stap-trace.exp: Use standard_testfile.
2547 * gdb.trace/status-stop.exp: Use standard_testfile.
2548 * gdb.trace/strace.exp: Use standard_testfile.
2549 * gdb.trace/tfile.exp: Use standard_testfile.
2550 * gdb.trace/tfind.exp: Use standard_testfile.
2551 * gdb.trace/trace-break.exp: Use standard_testfile.
2552 * gdb.trace/trace-mt.exp: Use standard_testfile.
2553 * gdb.trace/tracecmd.exp: Use standard_testfile.
2554 * gdb.trace/tspeed.exp: Use standard_testfile.
2555 * gdb.trace/tstatus.exp: Use standard_testfile.
2556 * gdb.trace/tsv.exp: Use standard_testfile.
2557 * gdb.trace/unavailable.exp: Use standard_testfile,
2558 prepare_for_testing.
2559 * gdb.trace/while-dyn.exp: Use standard_testfile.
2560 * gdb.trace/while-stepping.exp: Use standard_testfile.
2561
7686c074
TT
25622012-06-26 Tom Tromey <tromey@redhat.com>
2563
2564 * gdb.reverse/break-precsave.exp: Use standard_testfile.
2565 * gdb.reverse/break-reverse.exp: Use standard_testfile.
2566 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
2567 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
2568 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
2569 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
2570 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
2571 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
2572 prepare_for_testing.
2573 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
2574 prepare_for_testing.
2575 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
2576 prepare_for_testing.
2577 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
2578 prepare_for_testing.
2579 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
2580 prepare_for_testing
2581 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
2582 * gdb.reverse/machinestate.exp: Use standard_testfile.
2583 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
2584 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
2585 build_executable.
2586 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
2587 build_executable.
2588 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
2589 standard_output_file.
2590 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
2591 standard_output_file.
2592 * gdb.reverse/step-precsave.exp: Use standard_testfile.
2593 * gdb.reverse/step-reverse.exp: Use standard_testfile.
2594 * gdb.reverse/until-precsave.exp: Use standard_testfile.
2595 * gdb.reverse/until-reverse.exp: Use standard_testfile.
2596 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
2597 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
2598
481fc100
TT
25992012-06-26 Tom Tromey <tromey@redhat.com>
2600
2601 * gdb.stabs/weird.exp: Remove directory-checking code. Use
2602 standard_output_file.
2603 * gdb.stabs/exclfwd.exp: Use standard_testfile,
2604 prepare_for_testing. Remove directory-checking code.
2605
7bb18ae2
TT
26062012-06-25 Tom Tromey <tromey@redhat.com>
2607
2608 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
2609 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
2610 build_executable, not prepare_for_testing.
2611 * gdb.multi/base.exp: Use standard_output_file. Use
2612 build_executable, not prepare_for_testing.
2613
cf09b3e4
TT
26142012-06-25 Tom Tromey <tromey@redhat.com>
2615
2616 * gdb.fortran/subarray.exp: Use standard_testfile,
2617 prepare_for_testing.
2618 * gdb.fortran/multi-dim.exp: Use standard_testfile.
2619 * gdb.fortran/module.exp: Use standard_testfile.
2620 * gdb.fortran/logical.exp: Use standard_testfile.
2621 * gdb.fortran/library-module.exp: Use standard_testfile,
2622 standard_output_file.
2623 * gdb.fortran/derived-type.exp: Use standard_testfile,
2624 prepare_for_testing.
2625 * gdb.fortran/complex.exp: Use standard_testfile,
2626 prepare_for_testing.
2627 * gdb.fortran/charset.exp: Use standard_testfile.
2628 * gdb.fortran/array-element.exp: Use standard_testfile,
2629 prepare_for_testing.
2630
18b5ff1b
KS
26312012-06-25 Keith Seitz <keiths@redhat.com>
2632
2633 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
2634 Change rbreak-related tests to KFAIL and add bugzilla numbers.
2635
17b77626
TT
26362012-06-25 Tom Tromey <tromey@redhat.com>
2637
2638 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
2639 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
2640 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
2641 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
2642
f91e3dc1
TT
26432012-06-25 Tom Tromey <tromey@redhat.com>
2644
2645 * gdb.linespec/ls-errs.exp: Use standard_testfile.
2646 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
2647 * gdb.linespec/linespec.exp: Use standard_testfile.
2648
a884434d
TT
26492012-06-25 Tom Tromey <tromey@redhat.com>
2650
2651 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
2652 prepare_for_testing.
2653
efc9d70a
TT
26542012-06-25 Tom Tromey <tromey@redhat.com>
2655
2656 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
2657 prepare_for_testing.
2658 * gdb.opt/inline-break.exp: Use standard_testfile,
2659 prepare_for_testing.
2660 * gdb.opt/inline-bt.exp: Use standard_testfile,
2661 prepare_for_testing.
2662 * gdb.opt/inline-cmds.exp: Use standard_testfile,
2663 prepare_for_testing.
2664 * gdb.opt/inline-locals.exp: Use standard_testfile,
2665 prepare_for_testing.
2666
e2fc92c6
TT
26672012-06-25 Tom Tromey <tromey@redhat.com>
2668
2669 * gdb.asm/asm-source.exp: Use standard_output_file,
2670 standard_testfile. Construct .o files in proper subdir.
2671
b0963d73
TT
26722012-06-25 Tom Tromey <tromey@redhat.com>
2673
2674 * gdb.server/ext-attach.exp: Use standard_testfile,
2675 prepare_for_testing.
2676 * gdb.server/ext-run.exp: Use standard_testfile,
2677 build_executable.
2678 * gdb.server/file-transfer.exp: Use standard_testfile,
2679 prepare_for_testing.
2680 * gdb.server/server-exec-info.exp: Use standard_testfile.
2681 * gdb.server/server-mon.exp: Use standard_testfile,
2682 prepare_for_testing.
2683 * gdb.server/server-run.exp: Use standard_testfile,
2684 build_executable.
2685 * gdb.server/solib-list.exp: Use standard_testfile,
2686 standard_output_file.
2687
8a3e1f8d
TT
26882012-06-25 Tom Tromey <tromey@redhat.com>
2689
2690 * lib/gdb.exp (standard_output_file): Use "file join".
2691 * gdb.go/chan.exp: Use standard_testfile.
2692 * gdb.go/handcall.exp: Use standard_testfile.
2693 * gdb.go/hello.exp: Use standard_testfile.
2694 * gdb.integers/chan.exp: Use standard_testfile.
2695 * gdb.go/methods.exp: Use standard_testfile.
2696 * gdb.go/package.exp: Use standard_testfile.
2697 * gdb.go/strings.exp: Use standard_testfile.
2698 * gdb.go/types.exp: Use standard_testfile.
2699 * gdb.go/unsafe.exp: Use standard_testfile.
2700
944a9061
MGD
27012012-06-25 Greta Yorsh <greta.yorsh@arm.com>
2702
2703 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
2704
1c06bd58
JK
27052012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2706
2707 Fix regression by the previous commit.
2708 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
2709
b4a58790
TT
27102012-06-22 Tom Tromey <tromey@redhat.com>
2711
2712 * gdb.python/lib-types.exp: Use standard_testfile,
2713 prepare_for_testing.
2714 * gdb.python/py-block.exp: Use standard_testfile.
2715 * gdb.python/py-breakpoint.exp: Use standard_testfile.
2716 * gdb.python/py-events.exp: Use standard_testfile,
2717 standard_output_file.
2718 * gdb.python/py-evsignal.exp: Use standard_testfile.
2719 * gdb.python/py-evethreads.exp: Use standard_testfile.
2720 * gdb.python/py-explore-cc.exp: Use standard_testfile.
2721 * gdb.python/py-explore.exp: Use standard_testfile.
2722 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
2723 standard_output_file.
2724 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
2725 prepare_for_testing.
2726 * gdb.python/py-frame-inline.exp: Use standard_testfile.
2727 * gdb.python/py-frame.exp: Use standard_testfile.
2728 * gdb.python/py-inferior.exp: Use standard_testfile.
2729 * gdb.python/py-infthread.exp: Use standard_testfile.
2730 * gdb.python/py-mi.exp: Use standard_testfile.
2731 * gdb.python/py-objfile-script.exp: Use standard_testfile,
2732 build_executable.
2733 * gdb.python/py-objfile.exp: Use standard_testfile.
2734 * gdb.python/py-pp-maint.exp: Use standard_testfile,
2735 prepare_for_testing.
2736 * gdb.python/py-prettyprint.exp: Use standard_testfile.
2737 * gdb.python/py-progspace.exp: Use standard_testfile,
2738 build_executable.
2739 * gdb.python/py-prompt.exp: Use standard_testfile,
2740 build_executable.
2741 * gdb.python/py-section-script.exp: Use standard_testfile,
2742 build_executable.
2743 * gdb.python/py-shared.exp: Use standard_testfile,
2744 standard_output_file, clean_restart.
2745 * gdb.python/py-symbol.exp: Use standard_output_file,
2746 prepare_for_testing.
2747 * gdb.python/py-symtab.exp: Use standard_output_file,
2748 prepare_for_testing
2749 * gdb.python/py-template.exp: Use standard_testfile.
2750 * gdb.python/py-type.exp: Use standard_testfile.
2751 * gdb.python/py-value-cc.exp: Use standard_testfile.
2752 * gdb.python/py-value.exp: Use standard_testfile.
2753 * gdb.python/python.exp: Use standard_testfile, build_executable.
2754
2c44deac
TT
27552012-06-22 Tom Tromey <tromey@redhat.com>
2756
2757 * gdb.objc/basicclass.exp: Use standard_testfile.
2758 (do_objc_tests): Don't declare objdir.
2759 * gdb.objc/nondebug.exp: Use standard_testfile.
2760 (do_objc_tests): Don't declare objdir.
2761 * gdb.objc/objcdecode.exp: Use standard_testfile.
2762 (do_objc_tests): Don't declare objdir.
2763
c24ccbce
TT
27642012-06-22 Tom Tromey <tromey@redhat.com>
2765
2766 * gdb.java/jmain.exp: Use standard_testfile.
2767 * gdb.java/jmisc.exp: Use standard_testfile.
2768 * gdb.java/jnpe.exp: Use standard_testfile.
2769 * gdb.java/jprint.exp: Use standard_testfile.
2770
0a6d0306
TT
27712012-06-22 Tom Tromey <tromey@redhat.com>
2772
2773 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
2774 (standard_output_file, standard_testfile): New procs.
2775 (build_executable, clean_restart): Use standard_output_file.
2776
6ea815ef
YQ
27772012-06-22 Yao Qi <yao@codesourcery.com>
2778
2779 * boards/native-gdbserver.exp: New proc ${board}_exec.
2780 * boards/native-stdio-gdbserver.exp: Likewise.
2781
4c93b1db
TT
27822012-06-21 Tom Tromey <tromey@redhat.com>
2783
2784 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
2785 (build_executable): Update.
2786 (get_compiler_info): Remove 'binfile' argument.
2787 * gdb.ada/arrayidx.exp: Update.
2788 * gdb.ada/null_array.exp: Update.
2789 * gdb.arch/altivec-abi.exp: Update.
2790 * gdb.arch/altivec-regs.exp: Update.
2791 * gdb.arch/amd64-byte.exp: Update.
2792 * gdb.arch/amd64-dword.exp: Update.
2793 * gdb.arch/amd64-word.exp: Update.
2794 * gdb.arch/i386-avx.exp: Update.
2795 * gdb.arch/i386-byte.exp: Update.
2796 * gdb.arch/i386-sse.exp: Update.
2797 * gdb.arch/i386-word.exp: Update.
2798 * gdb.arch/ppc-dfp.exp: Update.
2799 * gdb.arch/ppc-fp.exp: Update.
2800 * gdb.arch/vsx-regs.exp: Update.
2801 * gdb.base/all-bin.exp: Update.
2802 * gdb.base/annota1.exp: Update.
2803 * gdb.base/async.exp: Update.
2804 * gdb.base/attach.exp: Update.
2805 * gdb.base/break-interp.exp: Update.
2806 * gdb.base/call-ar-st.exp: Update.
2807 * gdb.base/call-rt-st.exp: Update.
2808 * gdb.base/call-sc.exp: Update.
2809 * gdb.base/callfuncs.exp: Update.
2810 * gdb.base/catch-load.exp: Update.
2811 * gdb.base/completion.exp: Update.
2812 * gdb.base/complex.exp: Update.
2813 * gdb.base/condbreak.exp: Update.
2814 * gdb.base/consecutive.exp: Update.
2815 * gdb.base/constvars.exp: Update.
2816 * gdb.base/corefile.exp: Update.
2817 * gdb.base/eval-skip.exp: Update.
2818 * gdb.base/expand-psymtabs.exp: Update.
2819 * gdb.base/exprs.exp: Update.
2820 * gdb.base/fileio.exp: Update.
2821 * gdb.base/fixsection.exp: Update.
2822 * gdb.base/funcargs.exp: Update.
2823 * gdb.base/gdb11530.exp: Update.
2824 * gdb.base/gdb1555.exp: Update.
2825 * gdb.base/gnu-ifunc.exp: Update.
2826 * gdb.base/gnu_vector.exp: Update.
2827 * gdb.base/info-macros.exp: Update.
2828 * gdb.base/jit-simple.exp: Update.
2829 * gdb.base/jit-so.exp: Update.
2830 * gdb.base/jit.exp: Update.
2831 * gdb.base/langs.exp: Update.
2832 * gdb.base/list.exp: Update.
2833 * gdb.base/logical.exp: Update.
2834 * gdb.base/long_long.exp: Update.
2835 * gdb.base/longjmp.exp: Update.
2836 * gdb.base/macscp.exp: Update.
2837 * gdb.base/mips_pro.exp: Update.
2838 * gdb.base/miscexprs.exp: Update.
2839 * gdb.base/morestack.exp: Update.
2840 * gdb.base/nodebug.exp: Update.
2841 * gdb.base/opaque.exp: Update.
2842 * gdb.base/pc-fp.exp: Update.
2843 * gdb.base/pending.exp: Update.
2844 * gdb.base/permissions.exp: Update.
2845 * gdb.base/pointers.exp: Update.
2846 * gdb.base/prelink.exp: Update.
2847 * gdb.base/printcmds.exp: Update.
2848 * gdb.base/psymtab.exp: Update.
2849 * gdb.base/ptype.exp: Update.
2850 * gdb.base/relational.exp: Update.
2851 * gdb.base/scope.exp: Update.
2852 * gdb.base/setvar.exp: Update.
2853 * gdb.base/shlib-call.exp: Update.
2854 * gdb.base/shreloc.exp: Update.
2855 * gdb.base/signals.exp: Update.
2856 * gdb.base/sizeof.exp: Update.
2857 * gdb.base/so-impl-ld.exp: Update.
2858 * gdb.base/so-indr-cl.exp: Update.
2859 * gdb.base/solib-disc.exp: Update.
2860 * gdb.base/solib-display.exp: Update.
2861 * gdb.base/solib-nodir.exp: Update.
2862 * gdb.base/solib-overlap.exp: Update.
2863 * gdb.base/solib-symbol.exp: Update.
2864 * gdb.base/solib-weak.exp: Update.
2865 * gdb.base/solib.exp: Update.
2866 * gdb.base/store.exp: Update.
2867 * gdb.base/structs.exp: Update.
2868 * gdb.base/structs2.exp: Update.
2869 * gdb.base/type-opaque.exp: Update.
2870 * gdb.base/unload.exp: Update.
2871 * gdb.base/varargs.exp: Update.
2872 * gdb.base/volatile.exp: Update.
2873 * gdb.base/watch_thread_num.exp: Update.
2874 * gdb.base/watchpoint-solib.exp: Update.
2875 * gdb.base/watchpoint.exp: Update.
2876 * gdb.base/watchpoints.exp: Update.
2877 * gdb.base/whatis.exp: Update.
2878 * gdb.cell/arch.exp: Update.
2879 * gdb.cell/break.exp: Update.
2880 * gdb.cell/bt.exp: Update.
2881 * gdb.cell/core.exp: Update.
2882 * gdb.cell/data.exp: Update.
2883 * gdb.cell/ea-cache.exp: Update.
2884 * gdb.cell/f-regs.exp: Update.
2885 * gdb.cell/fork.exp: Update.
2886 * gdb.cell/gcore.exp: Update.
2887 * gdb.cell/mem-access.exp: Update.
2888 * gdb.cell/ptype.exp: Update.
2889 * gdb.cell/registers.exp: Update.
2890 * gdb.cell/sizeof.exp: Update.
2891 * gdb.cell/solib-symbol.exp: Update.
2892 * gdb.cell/solib.exp: Update.
2893 * gdb.cp/ambiguous.exp: Update.
2894 * gdb.cp/breakpoint.exp: Update.
2895 * gdb.cp/bs15503.exp: Update.
2896 * gdb.cp/casts.exp: Update.
2897 * gdb.cp/class2.exp: Update.
2898 * gdb.cp/cpexprs.exp: Update.
2899 * gdb.cp/cplusfuncs.exp: Update.
2900 * gdb.cp/ctti.exp: Update.
2901 * gdb.cp/dispcxx.exp: Update.
2902 * gdb.cp/gdb1355.exp: Update.
2903 * gdb.cp/gdb2384.exp: Update.
2904 * gdb.cp/gdb2495.exp: Update.
2905 * gdb.cp/infcall-dlopen.exp: Update.
2906 * gdb.cp/local.exp: Update.
2907 * gdb.cp/m-data.exp: Update.
2908 * gdb.cp/m-static.exp: Update.
2909 * gdb.cp/mb-ctor.exp: Update.
2910 * gdb.cp/mb-inline.exp: Update.
2911 * gdb.cp/mb-templates.exp: Update.
2912 * gdb.cp/member-ptr.exp: Update.
2913 * gdb.cp/method.exp: Update.
2914 * gdb.cp/namespace.exp: Update.
2915 * gdb.cp/nextoverthrow.exp: Update.
2916 * gdb.cp/nsdecl.exp: Update.
2917 * gdb.cp/nsrecurs.exp: Update.
2918 * gdb.cp/nsstress.exp: Update.
2919 * gdb.cp/nsusing.exp: Update.
2920 * gdb.cp/pr-1023.exp: Update.
2921 * gdb.cp/pr-1210.exp: Update.
2922 * gdb.cp/pr-574.exp: Update.
2923 * gdb.cp/pr9631.exp: Update.
2924 * gdb.cp/printmethod.exp: Update.
2925 * gdb.cp/psmang.exp: Update.
2926 * gdb.cp/re-set-overloaded.exp: Update.
2927 * gdb.cp/rtti.exp: Update.
2928 * gdb.cp/shadow.exp: Update.
2929 * gdb.cp/templates.exp: Update.
2930 * gdb.cp/try_catch.exp: Update.
2931 * gdb.dwarf2/dw2-ranges.exp: Update.
2932 * gdb.dwarf2/pr10770.exp: Update.
2933 * gdb.fortran/library-module.exp: Update.
2934 * gdb.hp/gdb.aCC/optimize.exp: Update.
2935 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
2936 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
2937 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
2938 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
2939 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
2940 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
2941 * gdb.hp/gdb.compat/xdb1.exp: Update.
2942 * gdb.hp/gdb.compat/xdb2.exp: Update.
2943 * gdb.hp/gdb.compat/xdb3.exp: Update.
2944 * gdb.hp/gdb.defects/bs14602.exp: Update.
2945 * gdb.hp/gdb.defects/solib-d.exp: Update.
2946 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
2947 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
2948 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
2949 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
2950 * gdb.mi/gdb792.exp: Update.
2951 * gdb.mi/mi-pending.exp: Update.
2952 * gdb.mi/mi-solib.exp: Update.
2953 * gdb.mi/mi-var-cp.exp: Update.
2954 * gdb.opt/clobbered-registers-O2.exp: Update.
2955 * gdb.opt/inline-bt.exp: Update.
2956 * gdb.opt/inline-cmds.exp: Update.
2957 * gdb.opt/inline-locals.exp: Update.
2958 * gdb.python/py-events.exp: Update.
2959 * gdb.python/py-finish-breakpoint.exp: Update.
2960 * gdb.python/py-type.exp: Update.
2961 * gdb.reverse/solib-precsave.exp: Update.
2962 * gdb.reverse/solib-reverse.exp: Update.
2963 * gdb.server/solib-list.exp: Update.
2964 * gdb.stabs/weird.exp: Update.
2965 * gdb.threads/attach-into-signal.exp: Update.
2966 * gdb.threads/attach-stopped.exp: Update.
2967 * gdb.threads/tls-shared.exp: Update.
2968 * gdb.trace/change-loc.exp: Update.
2969 * gdb.trace/strace.exp: Update.
2970
95c391b6
TT
29712012-06-19 Tom Tromey <tromey@redhat.com>
2972
2973 * gdb.base/whatis.exp: Add tests.
2974
e910f0b6
TT
29752012-06-19 Tom Tromey <tromey@redhat.com>
2976
2977 * gdb.cp/m-static.cc (keepalive): New function.
2978 (gnu_obj_1::method): Use it.
2979
422d65e7
DE
29802012-06-18 Doug Evans <dje@google.com>
2981
2982 * gdb.base/info-fun.exp: New file.
2983 * gdb.base/info-fun.c: New file.
2984 * gdb.base/info-fun-solib.c: New file.
2985
e2e4d78b
JK
29862012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2987
2988 Remove stale dummy frames.
2989 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
2990 (maintenance info breakpoints): New tests.
2991 * gdb.base/stale-infcall.c: New file.
2992 * gdb.base/stale-infcall.exp: New file.
2993
1788b2d3
JK
29942012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2995
2996 * gdb.arch/amd64-entry-value-param.S: New file.
2997 * gdb.arch/amd64-entry-value-param.c: New file.
2998 * gdb.arch/amd64-entry-value-param.exp: New file.
2999
663b969e
TT
30002012-06-15 Tom Tromey <tromey@redhat.com>
3001
3002 * gdb.cp/namespace.exp: Add "show lang" test.
3003
8e09ad05
IS
30042012-06-15 Iain Sandoe <iain@codesourcery.com>
3005
3006 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
3007 case. (top level): Use gdb_file_cmd instead of gdb_load.
3008
f85e18ee
JK
30092012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3010
3011 PR tdep/14222
3012 * gdb.arch/i386-sse-stack-align.S: New file.
3013 * gdb.arch/i386-sse-stack-align.c: New file.
3014 * gdb.arch/i386-sse-stack-align.exp: New file.
3015
f3b5e280
KS
30162012-06-13 Keith Seitz <keiths@redhat.com>
3017
3018 PR breakpoints/13798 and mi/11541
3019 * gdb.linespec/ls-errs.exp: Add a few more tests for
3020 filenames with spaces and colons.
3021
50af5481
JK
30222012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3023
3024 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
3025 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
3026 (test_function): Call CV_f.
3027 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
3028 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
3029 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
3030 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
3031 (p CV_f(CV::i)): New tests.
3032
d55637df
TT
30332012-06-13 Tom Tromey <tromey@redhat.com>
3034
3035 * gdb.base/condbreak.exp: Add tests for "condition" completion.
3036
cc80f267
JK
30372012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3038
3039 Fix regression by the "ambiguous linespec" series.
3040 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
3041 tests.
3042
bb2af9cc
JK
30432012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3044
3045 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
3046 missing.
3047
e81a37f7
TT
30482012-06-11 Tom Tromey <tromey@redhat.com>
3049
3050 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
3051 location...
3052 (main): ...here.
3053
8efd7788
YQ
30542012-06-07 Yao Qi <yao@codesourcery.com>
3055
3056 * gdb.trace/strace.exp: Shorten some too-long lines.
3057
359f5fe6
PA
30582012-06-06 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.threads/clone-new-thread-event.c: New file.
3061 * gdb.threads/clone-new-thread-event.exp: New file.
3062
7b2fe205
YQ
30632012-06-06 Yao Qi <yao@codesourcery.com>
3064
3065 * gdb.base/dprintf.c (main): Add extra parameter when calling
3066 printf and fprintf.
3067 (bar): New function. It is a dead function, but to ensure
3068 'malloc' is linked explicitly.
3069
3eca55e8
YQ
30702012-06-06 Yao Qi <yao@codesourcery.com>
3071
3072 * gdb.base/info-proc.exp: Return if target doesn't support
3073 'info proc'.
3074
91cc9324
JK
30752012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3076
3077 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
3078 (run program with breakpoint commands): XFAIl if it is not.
3079
c56e7c43
JB
30802012-06-05 Joel Brobecker <brobecker@adacore.com>
3081
3082 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
3083 and add comment.
3084 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
3085 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
3086 "STOP" marker. Adjust testing strategy to make it work on
3087 all targets.
3088
3089 * gdb.base/print-file-var-main.c (main): Rewrite using local
3090 variables and adjust get_version_2's return value check.
3091 Add small comment.
3092 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
3093 marker. Adjust testing strategy to make it work on all targets.
3094
ccab2054
JB
30952012-06-05 Joel Brobecker <brobecker@adacore.com>
3096
3097 * gdb.ada/bad-task-bp-keyword: New testcase.
3098
d0d86158
JK
30992012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3100
3101 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
3102 Simplify it to ...
3103 (symbol-file ${testfile1}): ... here.
3104 (test eliminated var my_global_symbol)
3105 (test eliminated var my_static_symbol)
3106 (test eliminated var my_global_func, get address of main): Wrap them to
3107 'single psymtabs' and 'single symtabs'
3108 (get address of my_global_symbol, get address of my_static_symbol)
3109 (get address of my_global_func, get address of main): Wrap them to
3110 'order1' and 'order2'.
3111
952cf74c
JK
3112 * gdb.base/code_elim.exp
3113 (add-symbol-file ${testfile1} 0x100000)
3114 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
3115 'order2'.
3116 (order1: add-symbol-file ${testfile1} 0x100000)
3117 (order1: add-symbol-file ${testfile2} 0x200000)
3118 (order2: add-symbol-file ${testfile2} 0x200000)
3119 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
3120 .bss as appropriate.
3121
0c5bf5a9
JK
31222012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3123
3124 * gdb.server/solib-list-lib.c: New file.
3125 * gdb.server/solib-list-main.c: New file.
3126 * gdb.server/solib-list.exp: New file.
3127
4196f325
MR
31282012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
3129
3130 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
3131 for 'set print symbol' change.
3132
bfb05775
JK
31332012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3134
3135 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
3136 .debug_abbrev_seg3.
3137
685b1105
JK
31382012-05-24 John Steele Scott <toojays@toojays.net>
3139
3140 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
3141 * gdb.dwarf2/dw2-icc-opaque.S: New file.
3142 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
3143
f3e0e960
SS
31442012-05-23 Stan Shebs <stan@codesourcery.com>
3145
3146 * gdb.mi/mi-info-os.exp: New file.
3147
11eb1b4d
KS
31482012-05-23 Keith Seitz <keiths@redhat.com>
3149
3150 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
3151 return -1 to suppress the rest of the tests.
3152 (compile_stap_bin): Return boolean success value.
3153
b1af9e97
TT
31542012-05-21 Tom Tromey <tromey@redhat.com>
3155
3156 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
3157 Remove kfails.
3158 (test_print_mi_member_types): Likewise.
3159
248537e3
TT
31602012-05-21 Tom Tromey <tromey@redhat.com>
3161
3162 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
3163 print symbol' change.
3164
d791e155
TJB
31652012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
3166
3167 * gdb.python/py-prompt.exp: Quit if the target is remote.
3168
e77afa2e
JK
31692012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3170
3171 Fix ERROR: internal buffer is full.
3172 * gdb.base/info-os.exp (expect_multiline): New function.
3173 (get process list, get process groups, get threads)
3174 (get file descriptors, get internet-domain sockets)
3175 (get shared-memory regions, get semaphores, get message queues): Use
3176 it for these tests.
3177
9cb709b6
TT
31782012-05-18 Tom Tromey <tromey@redhat.com>
3179
3180 * gdb.mi/mi-var-cmd.exp: Update.
3181 * gdb.objc/basicclass.exp (do_objc_tests): Update.
3182 * gdb.cp/virtbase.exp: Update.
3183 * gdb.cp/classes.exp (test_static_members): Update.
3184 * gdb.cp/casts.exp: Update.
3185 * gdb.base/pointers.exp: Update.
3186 * gdb.base/funcargs.exp (pointer_args): Update.
3187 (structs_by_reference): Update.
3188 * gdb.base/find.exp: Update.
3189 * gdb.base/call-strs.exp: Send "set print symbol off".
3190 * gdb.base/call-ar-st.exp: Update.
3191 * gdb.ada/fun_addr.exp: Update.
3192 * gdb.base/printcmds.exp (test_print_symbol): New proc.
3193 Call it.
3194 (test_print_repeats_10, test_print_strings)
3195 (test_print_char_arrays): Update.
3196
b012acdd
TT
31972012-05-18 Tom Tromey <tromey@redhat.com>
3198
3199 * gdb.base/charset.exp (string_display): Update.
3200
1d51a733
TT
32012012-05-18 Tom Tromey <tromey@redhat.com>
3202
3203 * gdb.mi/mi2-var-display.exp: Update.
3204 * gdb.mi/mi-var-display.exp: Update.
3205 * gdb.mi/mi-var-child.exp: Update.
3206 * gdb.cp/expand-psymtabs-cxx.exp: Update.
3207 * gdb.cp/cp-relocate.exp (get_func_address): Update.
3208
957df313
DE
32092012-05-17 Doug Evans <dje@google.com>
3210
682c7f7b
DE
3211 * info-macros.exp: Pass "debug" to prepare_for_testing.
3212
957df313
DE
3213 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
3214 * gdb.ada/Makefile.in (clean): Ditto.
3215 * gdb.arch/Makefile.in (clean): Ditto.
3216 * gdb.asm/Makefile.in (clean): Ditto.
3217 * gdb.base/Makefile.in (clean): Ditto.
3218 * gdb.cell/Makefile.in (clean): Ditto.
3219 * gdb.cp/Makefile.in (clean): Ditto.
3220 * gdb.disasm/Makefile.in (clean): Ditto.
3221 * gdb.dwarf2/Makefile.in (clean): Ditto.
3222 * gdb.fortran/Makefile.in (clean): Ditto.
3223 * gdb.go/Makefile.in (clean): Ditto.
3224 * gdb.hp/Makefile.in (clean): Ditto.
3225 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
3226 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
3227 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
3228 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
3229 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
3230 * gdb.java/Makefile.in (clean): Ditto.
3231 * gdb.linespec/Makefile.in (clean): Ditto.
3232 * gdb.mi/Makefile.in (clean): Ditto.
3233 * gdb.modula2/Makefile.in (clean): Ditto.
3234 * gdb.multi/Makefile.in (clean): Ditto.
3235 * gdb.objc/Makefile.in (clean): Ditto.
3236 * gdb.opencl/Makefile.in (clean): Ditto.
3237 * gdb.opt/Makefile.in (clean): Ditto.
3238 * gdb.pascal/Makefile.in (clean): Ditto.
3239 * gdb.python/Makefile.in (clean): Ditto.
3240 * gdb.reverse/Makefile.in (clean): Ditto.
3241 * gdb.server/Makefile.in (clean): Ditto.
3242 * gdb.stabs/Makefile.in (clean): Ditto.
3243 * gdb.threads/Makefile.in (clean): Ditto.
3244 * gdb.trace/Makefile.in (clean): Ditto.
3245 * gdb.xml/Makefile.in (clean): Ditto.
3246
abc9d0dc
TT
32472012-05-16 Tom Tromey <tromey@redhat.com>
3248
3249 * gdb.base/macscp1.c (macscp_expr): Add comment.
3250 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
3251
6a3a010b
MR
32522012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3253
3254 * gdb.base/return-nodebug.exp: Also test float and double types.
3255
01429c8e
JK
32562012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3257
3258 PR testsuite/12649
3259 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
3260
54115cd4
JK
3261 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
3262
0c5f383f
SDJ
32632012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
3264
3265 * gdb.base/stap-probe.exp (stap_test): Remove calls to
3266 `rerun_to_main'.
3267 (stap_test_no_debuginfo): Likewise.
3268
e7e0cddf
SS
32692012-05-14 Stan Shebs <stan@codesourcery.com>
3270
3271 * gdb.base/dprintf.c: New file.
3272 * gdb.base/dprintf.exp: New file.
3273
c772f8e7
HZ
32742012-05-14 Hui Zhu <hui_zhu@mentor.com>
3275
3276 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
3277 * gdb.trace/disconnected-tracing.c: New file.
3278 * gdb.trace/disconnected-tracing.exp: New file.
3279
7efc75aa
SCR
32802012-05-13 Siva Chandra Reddy <sivachandra@google.com>
3281
3282 * gdb.python/python.c: Add a new breakpoint comment.
3283 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
3284
85d4a676
SS
32852011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
3286
3287 * gdb.base/info-os.exp: New file.
3288 * gdb.base/info-os.c: New file.
3289
64ea88dc
JB
32902012-05-10 Joel Brobecker <brobecker@adacore.com>
3291
4647ab1b
JB
3292 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
3293 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
3294 New files.
64ea88dc 3295
afba63f1
JB
32962012-05-10 Joel Brobecker <brobecker@adacore.com>
3297
3298 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
3299 gdb.base/ctxobj.exp: New files.
3300
9d198b1e
TT
33012012-05-09 Tom Tromey <tromey@redhat.com>
3302
3303 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
3304
9bfee719
MR
33052012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
3306
3307 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
3308
3a7341d8
MR
33092012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
3310
3311 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
3312 before using it.
3313
52b3699b
TG
33142012-05-04 Tristan Gingold <gingold@adacore.com>
3315
3316 * gdb.base/set-noassign.exp: New test.
3317
a20ee7a4
SCR
33182012-05-03 Siva Chandra Reddy <sivachandra@google.com>
3319
3320 * gdb.python/py-symbol.exp: Add tests to test the new methods
3321 gdb.Symtab.global_block() and gdb.Symtab.static_block().
3322 * gdb.python/py-symbol.c: Add new struct to help test
3323 gdb.Symtab.static_block().
3324
bf2f0858
DE
33252012-05-03 Doug Evans <dje@google.com>
3326
3327 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
3328 commented out.
3329
2d4e0376
YQ
33302012-05-03 Yao Qi <yao@codesourcery.com>
3331
3332 * gdb.base/catch-syscall.exp: Skip it before compilation if target
3333 doesn't support.
3334 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
3335 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
3336
6d0bb9f3
YQ
33372012-05-03 Yao Qi <yao@codesourcery.com>
3338
3339 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
3340
fd820528
DE
33412012-04-30 Doug Evans <dje@google.com>
3342
3343 PR testsuite/13961
3344 * gdb.dwarf2/pr13961.S: New file.
3345 * gdb.dwarf2/pr13961.exp: New file.
3346
b9e219b9
YQ
33472012-04-29 Yao Qi <yao@codesourcery.com>
3348
3349 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
3350
3019eac3
DE
33512012-04-28 Doug Evans <dje@google.com>
3352
3353 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
3354 .Ltype_int_in_cu2. Use name "int2" instead of "int".
3355 All uses updated.
3356 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
3357 "ptype func_cu1" to expand cu2 before cu1.
3358
62e5f89c
SDJ
33592012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
3360 Tom Tromey <tromey@redhat.com>
3361
3362 * gdb.base/default.exp: Add `$_probe_arg*' convenience
3363 variables.
3364 * gdb.base/stap-probe.c: New file.
3365 * gdb.base/stap-probe.exp: New file.
3366 * gdb.trace/stap-trace.c: New file.
3367 * gdb.trace/stap-trace.exp: New file.
3368 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
3369 libgcc's unwinder.
3370
14132e89
MR
33712012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
3372
3373 * gdb.arch/mips16-thunks-inmain.c: New file.
3374 * gdb.arch/mips16-thunks-main.c: New file.
3375 * gdb.arch/mips16-thunks-sin.c: New file.
3376 * gdb.arch/mips16-thunks-sinfrob.c: New file.
3377 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
3378 * gdb.arch/mips16-thunks-sinmain.c: New file.
3379 * gdb.arch/mips16-thunks-sinmips16.c: New file.
3380 * gdb.arch/mips16-thunks.exp: New file.
3381
a766d390
DE
33822012-04-25 Doug Evans <dje@google.com>
3383
3384 * configure.ac: Create gdb.go/Makefile.
3385 * configure: Regenerate.
3386 * gdb.base/default.exp: Add "go" to "set language" testing.
3387 * gdb.go/Makefile.in: New file.
3388 * gdb.go/basic-types.exp: New file.
3389 * gdb.go/chan.exp: New file.
3390 * gdb.go/chan.go: New file.
3391 * gdb.go/handcall.exp: New file.
3392 * gdb.go/handcall.go: New file.
3393 * gdb.go/hello.exp: New file.
3394 * gdb.go/hello.go: New file.
3395 * gdb.go/integers.exp: New file.
3396 * gdb.go/integers.go: New file.
3397 * gdb.go/methods.exp: New file.
3398 * gdb.go/methods.go: New file.
3399 * gdb.go/package.exp: New file.
3400 * gdb.go/package1.go: New file.
3401 * gdb.go/package2.go: New file.
3402 * gdb.go/print.exp: New file.
3403 * gdb.go/strings.exp: New file.
3404 * gdb.go/strings.go: New file.
3405 * gdb.go/types.exp: New file.
3406 * gdb.go/types.go: New file.
3407 * gdb.go/unsafe.exp: New file.
3408 * gdb.go/unsafe.go: New file.
3409 * lib/future.exp: Add Go support.
3410 (gdb_find_go, gdb_find_go_linker): New procs.
3411 (gdb_default_target_compile): Add Go support.
3412 * lib/gdb.exp (skip_go_tests): New proc.
3413 * lib/go.exp: New file.
3414
e65f9ffb
TT
34152012-04-25 Tom Tromey <tromey@redhat.com>
3416
3417 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
3418
14e75d8e
JK
34192012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3420 Jan Kratochvil <jan.kratochvil@redhat.com>
3421
3422 PR symtab/7259:
3423 * gdb.base/enumval.c: New test case.
3424 * gdb.base/enumval.exp: New test case.
3425 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
3426 field.bitpos.
3427
f3525b70
PA
34282012-04-17 Pedro Alves <palves@redhat.com>
3429
3430 * Makefile.in (site.exp): Make site.exp source
3431 $srcdir/lib/append_gdb_boards_dir.exp.
3432 * lib/append_gdb_boards_dir.exp: New file.
3433
bccbefd2
JK
34342012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3435
3436 New option "set auto-load safe-path".
3437 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
3438 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
3439
bf88dd68
JK
34402012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3441
3442 auto-load: Implementation.
3443 * gdb.base/help.exp (test set height): Increase the height.
3444 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
3445 to ...
3446 (info auto-load python-scripts): ... here.
3447 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
3448 to ...
3449 (info auto-load python-scripts *): ... here.
3450
c0d4d1c0
YQ
34512012-04-16 Yao Qi <yao@codesourcery.com>
3452
3453 * lib/trace-support.exp (get_in_proc_agent): New.
3454 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
3455 of in process trace agent.
3456 * gdb.trace/ftrace.exp: Likewise.
3457 * gdb.trace/pending.exp: Likewise.
3458 * gdb.trace/trace-break.exp: Likewise.
3459 * gdb.trace/trace-mt.exp
3460 * gdb.trace/tspeed.exp: Likewise.
3461 * gdb.trace/tstatus.exp
3462 * gdb.trace/strace.exp: Likewise.
3463
cbf68a60
TS
34642012-04-16 Thomas Schwinge <thomas@codesourcery.com>
3465
dd6d3b70
TS
3466 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
3467 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
3468
cbf68a60
TS
3469 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
3470
8264ba82
AG
34712012-04-14 Anton Gorenkov <xgsa@yandex.ru>
3472
3473 PR mi/13393
3474 * gdb.mi/mi-var-rtti.cc: New file.
3475 * gdb.mi/mi-var-rtti.exp: New file.
3476 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
3477 function.
3478 (mi_varobj_update_with_type_change): updated to avoid code duplication.
3479
de0919f8 34802012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
3481
3482 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
3483 EXECUTABLES.
3484 * gdb.python/py-explore.c: C program used for testing the new
3485 'explore' command on C constructs.
3486 * gdb.python/py-explore.cc: C++ program used for testing the new
3487 'explore' command on C++ constructs.
3488 * gdb-python/py-explore.exp: Tests for the new 'explore'
3489 command on C constructs.
3490 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
3491 command on C++ constructs.
3492
a82da7dd
MK
34932012-04-07 Mark Kettenis <kettenis@gnu.org>
3494
3495 * gdb.base/funcargs.exp (complex_args): Fix typo.
3496
e127cba8
JK
34972012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3498
3499 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
3500 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
3501
40e084e1
KS
35022012-04-05 Keith Seitz <keiths@redhat.com>
3503
3504 * gdb.base/advance.exp: Update error message for
3505 "advance malformed" test.
3506 * gdb.base/break.exp: Likewise for "breakpoint with
3507 trailing garbage" test.
3508 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
3509 with trailing garbage" test.
3510 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
3511 trailng garbage" test.
3512 * gdb.base/until.exp: Likewise for "malformed until" test.
3513 * gdb.cp/ovldbreak.exp: Create the breakpoint table
3514 for "breakpoint info (after setting on all)".
3515 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
3516 tests.
3517 * gdb.cp/cplabel.cc: New file.
3518 * gdb.cp/cplabel.exp: New test.
3519 * gdb.linespec/ls-errs.c: New file.
3520 * gdb.linespec/ls-errs.exp: New test.
3521
a72c8f6a
JK
35222012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3523
3524 * gdb.trace/unavailable.exp
3525 (collect globals: print object on: print derived_partial)
3526 (collect globals: print object on: print derived_whole)
3527 (collect globals: print object off: print derived_partial)
3528 (collect globals: print object off: print derived_whole): Update
3529 expected output.
3530
f87a3023
KS
35312012-03-30 Keith Seitz <keiths@redhat.com>
3532
3533 * gdb.python: Add test for linespecs with commas.
3534
e2171b3c
KS
35352012-03-28 Keith Seitz <keiths@redhat.com>
3536
3537 * gdb.linespec/ls-dollar.cc: New file.
3538 * gdb.linespec/ls-dollar.exp: New test.
3539
35402012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
3541
3542 * gdb.cp/namespace.exp: Add breakpoint tests for functions
3543 starting with the global namespace.
3544
2f4e0a80
DE
35452012-03-23 Doug Evans <dje@google.com>
3546
3547 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
3548
7b282c5a
SCR
35492012-03-22 Siva Chandra Reddy <sivachandra@google.com>
3550
3551 * gdb.python/py-value.cc: Add test case for testing the
3552 methodology exposing C++ values to Python.
3553 * gdb.python/py-value-cc.exp: Add tests testing the methodology
3554 exposing C++ values to Python.
3555 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
3556
2e98ca53
JK
35572012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3558 Siddhesh Poyarekar <siddhesh@redhat.com>
3559
3560 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
3561 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
3562 (generate native core dump): Make the test unsupported if core cannot
3563 be generated.
3564
8320cc4f
JK
35652012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3566
3567 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
3568 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
3569 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
3570
3a69ffb2
JK
35712012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3572
3573 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
3574
8fabffee
DE
35752012-03-17 Doug Evans <dje@google.com>
3576
3577 * dg-extract-results.sh: Handle KFAILs.
3578
ab260dad
JK
35792012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3580
3581 PR symtab/13777
3582 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
3583
53ba8333
JB
35842012-03-16 Joel Brobecker <brobecker@adacore.com>
3585
3586 * gdb.ada/set_pckd_arr_elt: New testcase.
3587
481860b3
GB
35882012-03-16 Gary Benson <gbenson@redhat.com>
3589
3590 PR breakpoints/10738
3591 * gdb.opt/inline-break.exp: New file.
3592 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
3593 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
3594 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
3595 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
3596 * gdb.base/async-shell.exp: Likewise.
3597 * lib/mi-support.exp (library_loaded_re): Likewise.
3598
410528f0
TT
35992012-03-15 Tom Tromey <tromey@redhat.com>
3600
3601 * gdb.cp/virtfunc2.exp: Update expected output.
3602 * gdb.cp/pr9631.exp: Update expected output.
3603 * gdb.cp/member-ptr.exp: Update expected output.
3604 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
3605 output.
3606 * gdb.cp/casts.exp: Update expected output.
3607
c4aeac85
TT
36082012-03-15 Tom Tromey <tromey@redhat.com>
3609
3610 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
3611 (test_info_vtbl): Likewise.
3612 (do_tests): Call test_info_vtbl.
3613 * gdb.cp/virtfunc.cc (va): New global.
3614
856d06f9
TS
36152012-03-15 Thomas Schwinge <thomas@codesourcery.com>
3616
3617 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
3618 describing DWARF data structures.
3619 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
3620 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
3621 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
3622 * gdb.dwarf2/dw2-entry-value.S: Likewise.
3623 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3624 * gdb.dwarf2/dw2-param-error.S: Likewise.
3625 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
3626 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
3627 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
3628 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
3629 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
3630 * gdb.dwarf2/pr11465.S: Likewise.
3631
e837f12a
JK
36322012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3633
3634 * gdb.mi/mi2-prompt.exp: New file.
3635
ccbb4f28
JB
36362012-03-13 Joel Brobecker <brobecker@adacore.com>
3637
3638 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
3639
32039130
JB
36402012-03-13 Joel Brobecker <brobecker@adacore.com>
3641
3642 * gdb.ada/bp_range_type: New testcase.
3643
16899756
DE
36442012-03-13 Doug Evans <dje@google.com>
3645
3646 * gdb.base/default.exp: Delete tests for symbol-reloading.
3647 * gdb.base/help.exp: Ditto.
3648 * gdb.base/setshow.exp: Ditto.
3649 * gdb.base/gdb_history: Delete references to symbol-reloading.
3650
87b0bb13
JK
36512012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3652
3653 * gdb.base/attach-twice.c: New files.
3654 * gdb.base/attach-twice.exp: New files.
3655
0d7941a9
KS
36562012-03-08 Keith Seitz <keiths@redhat.com>
3657
3658 * lib/gdb.exp (gdb_get_line_number): Throw an
3659 error instead of returning -1.
3660 * gdb.base/break.exp: Remove unused variable
3661 bp_location5.
3662 * gdb.base/hbreak2.exp: Likewise.
3663 * gdb.base/sepdebug.exp: Likewise.
3664
f4647387
YQ
36652012-03-08 Yao Qi <yao@codesourcery.com>
3666 Pedro Alves <palves@redhat.com>
3667
3668 Fix PR server/13392.
3669 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
3670 (tracepoint_change_loc_2): Remove kfail. Return if failed to
3671 download tracepoints.
3672 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
3673 (pending_tracepoint_resolved_during_trace): Likewise.
3674 (pending_tracepoint_installed_during_trace): Likewise.
3675 (pending_tracepoint_with_action_resolved): Likewise.
3676
83c532cb
KS
36772012-03-08 Keith Seitz <keiths@redhat.com>
3678
3679 * gdb.ada/array_bounds.exp: Get breakpoint for line
3680 with "START", not "STOP".
3681 * gdb.python/py-infthread.exp: Do not continue to
3682 line marked "Break here.", which is undefined.
3683
d6b6bbb7
LM
36842012-03-08 Luis Machado <lgustavo@codesourcery.com>
3685
3686 Revert:
3687
3688 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3689
3690 Implement testsuite workaround for PR breakpoints/13781.
3691 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
3692 (set breakpoint condition-evaluation host): New conditional command.
3693
7fe25d9b
JK
36942012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3695
3696 Fix CU relative vs. absolute DIE offsets.
3697 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
3698 one.
3699
51898c15
JK
37002012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3701
3702 Fix false FAIL on distros with relro linkage as default.
3703 * gdb.reverse/solib-precsave.exp: Try to compile the test using
3704 -Wl,-z,norelro first.
3705
8131799e
JB
37062012-03-06 Joel Brobecker <brobecker@adacore.com>
3707
3708 * gdb.ada/bp_on_var: New testcase.
3709
ba241969
JB
37102012-03-06 Joel Brobecker <brobecker@adacore.com>
3711
3712 * gdb.ada/bp_enum_homonym: New testcase.
3713
abe49676
YQ
37142012-03-06 Yao Qi <yao@codesourcery.com>
3715
3716 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
3717 x86_64-*-* and i?86-*-*.
3718 Set up KFAIL for gdb/13808.
3719
d8df103b
TT
37202012-03-05 Tom Tromey <tromey@redhat.com>
3721
3722 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
3723 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
3724
b7b189f3
TT
37252012-03-05 Tom Tromey <tromey@redhat.com>
3726
3727 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
3728
69dc1c4d
YQ
37292012-03-04 Yao Qi <yao@codesourcery.com>
3730
3731 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
3732 messages for KFAIL.
3733
3f20c47f
JK
37342012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3735
3736 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
3737 (print one_two_three, indexes off, print few_reps, indexes off)
3738 (print many_reps, indexes off, print empty, indexes off)
3739 (print one_two_three, print few_reps, print many_reps, print empty):
3740 Call setup_xfail if $gcc_old.
3741
abf1152a
JK
37422012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3743
3744 Implement testsuite workaround for PR breakpoints/13781.
3745 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
3746 (set breakpoint condition-evaluation host): New conditional command.
3747
a06715f8
JK
37482012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3749
3750 Code cleanup.
3751 * gdb.cp/mb-templates.exp: New variables executable. Use it for
3752 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
3753 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
3754 number 1 by $bpnum. Four times.
3755
5808517f
YQ
37562012-03-03 Yao Qi <yao@codesourcery.com>
3757
3758 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
3759
dfe2ac14
JK
37602012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3761
3762 Setup KFAIL for PR server/13796.
3763 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
3764
8bbc467a
JB
37652012-03-02 Joel Brobecker <brobecker@adacore.com>
3766
3767 * gdb.ada/operator_bp: New testcase.
3768
c0eac87f
JB
37692012-03-02 Joel Brobecker <brobecker@adacore.com>
3770
3771 * gdb.ada/info_locals_renaming: New testcase.
3772
4f42c881
TT
37732012-03-02 Tom Tromey <tromey@redhat.com>
3774
3775 * gdb.base/nextoverexit.c: New file.
3776 * gdb.base/nextoverexit.exp: New file.
3777
7380c0c9
EBM
37782012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
3779
3780 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
3781 parameter.
3782
1faeff08
MR
37832012-03-01 Maciej W. Rozycki <macro@mips.com>
3784
3785 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
3786 core registers.
3787
320b6f49 37882012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
3789 Maciej W. Rozycki <macro@codesourcery.com>
3790 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
3791
3792 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
3793
ad5f7d6e
PA
37942012-03-01 Pedro Alves <palves@redhat.com>
3795
3796 PR gdb/13767
3797
3798 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
3799 (gdb_collect_globals_test): Call it.
3800
d3dc44a6
KS
38012012-03-01 Keith Seitz <keiths@redhat.com>
3802
3803 * gdb.cp/method2.exp: Output of overload menu is now
3804 alphabetized. Update tests for "break A::method".
3805 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
3806 of hard-coding them.
3807 Overload menu is alphabetized: rewrite to accommodate.
3808 Unset variables LINE and TYPES which are used in other tests.
3809 Compute the output of "info break".
3810 Update the breakpoint table after all breakpoints are deleted.
3811 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
3812 compute ACTUALS and the method body based on parameters.
3813 Update expected output accordingly.
3814 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
3815 unique comments to allow the use of gdb_get_line_number.
3816
38172012-03-01 Keith Seitz <keiths@redhat.com>
3818
3819 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
3820 some Tcl syntax.
3821 * gdb.cp/ovldbreak.exp: Likewise.
3822
7949c2a0
KS
38232012-03-01 Keith Seitz <keiths@redhat.com>
3824
3825 * gdb.base/help.exp (help show user): Update expected result
3826 for new doc string changes (add "non-python").
3827
7d74f244
DE
38282012-03-01 Scott J. Goldman <scottjg@vmware.com>
3829
3830 * gdb.python/py-cmd.exp: Add test to verify that python commands can
3831 be put in the user-defined category and that the commands appear in
3832 "help user-defined".
3833
1b611343
JB
38342012-02-29 Joel Brobecker <brobecker@adacore.com>
3835
3836 * gdb.ada/tagged_not_init: New testcase.
3837
99b1c762
JB
38382012-02-29 Joel Brobecker <brobecker@adacore.com>
3839
3840 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
3841 * gdb.ada/enum_idx_packed: New testcase.
3842
2d4a02ee
JB
38432012-02-29 Joel Brobecker <brobecker@adacore.com>
3844
3845 * gdb.ada/aliased_array: New testcase.
3846
2e6fda7d
JB
38472012-02-29 Joel Brobecker <brobecker@adacore.com>
3848
3849 * gdb.ada/whatis_array_val: New testcase.
3850
9a7f938f
JK
38512012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3852
3853 Fix disp-step-syscall.exp: fork: single step over fork.
3854 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
3855 whitespaces.
3856 (single step over $syscall): Remove its check.
3857 (single step over $syscall final pc): New check.
3858
8703a944
JK
38592012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3860
3861 Support processors without SSSE3.
3862 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
3863 pabsd into ...
3864 (ssse3_test): ... a new function.
3865 (main): Call ssse3_test.
3866 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
3867 Update expected values everywhere.
3868 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
3869 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
3870 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
3871 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
3872 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
3873 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
3874 Move these tests lower.
3875 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
3876 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
3877 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
3878 New tests.
3879
c03e6ccc
YQ
38802012-02-29 Yao Qi <yao@codesourcery.com>
3881 Pedro Alves <palves@redhat.com>
3882
3883 * gdb.trace/trace-mt.c: New.
3884 * gdb.trace/trace-mt.exp: New.
3885
7964b62a
TS
38862012-02-28 Thomas Schwinge <thomas@codesourcery.com>
3887
2c8910ba
TS
3888 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
3889 numbers instead of hardcoding them.
3890 * gdb.base/annota1.c: Provide suitable markers.
3891 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
3892 numbers instead of hardcoding them.
3893 * gdb.base/annota3.c: Provide suitable markers.
3894
3895 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
3896 * gdb.base/annota3.c: Likewise.
3897 * gdb.base/sigall.c: Likewise.
3898 * gdb.base/signals.c: Likewise.
3899 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 3900
5a41c0b7
MR
39012012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
3902
3903 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
3904 failure return path.
3905
ebbbe5c5
LM
39062012-02-27 Luis Machado <lgustavo@codesourcery.com>
3907
3908 * gdb.base/save-bp.exp: Account for new condition evaluator output.
3909
8d126d8a
LM
39102012-02-24 Luis Machado <lgustavo@codesourcery.com>
3911
3912 * gdb.base/cond-eval-mode.exp: New file.
3913
11337c2f
PA
39142012-02-24 Pedro Alves <palves@redhat.com>
3915
3916 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
3917 (top level): Use with_test_prefix.
3918
13fc3e3c
PA
39192012-02-24 Pedro Alves <palves@redhat.com>
3920
3921 * gdb.threads/attach-into-signal.exp (corefunc): Use
3922 with_test_prefix.
3923
07c1b626
JK
39242012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3925
3926 Fix false FAILs on old CPUs without SSE.
3927 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
3928 Return untested for Illegal instruction.
3929
596ba138
JK
39302012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3931
3932 Fix false FAILs with glibc debug infos installed.
3933 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
3934 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
3935
aeaa2474
SA
39362012-02-22 Sterling Augustine <saugustine@google.com>
3937
3938 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
3939 constant with cast.
3940
aed555c9
PA
39412012-02-21 Pedro Alves <palves@redhat.com>
3942
3943 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
3944
78afebb4
PA
39452012-02-21 Pedro Alves <palves@redhat.com>
3946
3947 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
3948
fdcfef12
PA
39492012-02-21 Pedro Alves <palves@redhat.com>
3950
3951 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
3952 with_test_prefix.
3953
0f4d39d5
PA
39542012-02-21 Pedro Alves <palves@redhat.com>
3955
3956 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
3957 with_test_prefix here.
3958 (top level): Do it here instead. Remove `:' from the
3959 with_test_prefix string.
3960 * gdb.base/attach-pie-misread.exp: Remove the leading space the
3961 the suffix `:' from the with_test_prefix prefix string.
3962 * gdb.base/break-interp.exp: Ditto.
3963 * gdb.base/catch-load.exp: Ditto.
3964 * gdb.base/disp-step-syscall.exp: Ditto.
3965 * gdb.base/jit-so.exp: Ditto.
3966 * gdb.base/jit.exp: Ditto.
3967 * gdb.base/sepdebug.exp: Ditto.
3968 * gdb.base/solib-display.exp: Ditto.
3969 * gdb.base/solib-overlap.exp: Ditto.
3970 * gdb.base/watch-cond-infcall.exp: Ditto.
3971 * gdb.base/watchpoint.exp: Ditto.
3972 * gdb.dwarf2/dw2-noloc.exp: Ditto.
3973 * gdb.mi/mi-watch.exp: Ditto.
3974 * gdb.mi/mi2-watch.exp: Ditto.
3975 * gdb.threads/non-ldr-exc-1.exp: Ditto.
3976 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3977 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3978 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3979 * gdb.threads/watchpoint-fork.exp: Ditto.
3980 * gdb.threads/watchthreads-reorder.exp: Ditto.
3981 * gdb.trace/change-loc.exp: Ditto.
3982 * gdb.trace/pending.exp: Ditto.
3983 * gdb.trace/status-stop.exp: Ditto.
3984 * gdb.trace/strace.exp: Ditto.
3985 * gdb.trace/trace-break.exp: Ditto.
3986 * gdb.trace/unavailable.exp: Ditto.
3987 * lib/gdb.exp (with_test_prefix): Always prefix with space and
3988 suffix with colon. Adjust leading comments.
3989
6a5870ce
PA
39902012-02-21 Pedro Alves <palves@redhat.com>
3991 Tom Tromey <tromey@redhat.com>
3992
3993 * lib/gdb.exp: Add description of test prefixes.
3994 (with_test_prefix): New procedure.
3995 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
3996 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
3997 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
3998 instead of lappend to append to pf_prefix.
3999 * gdb.base/catch-load.exp: Use with_test_prefix.
4000 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
4001 * gdb.base/jit-so.exp: Use with_test_prefix.
4002 * gdb.base/jit.exp: Use with_test_prefix.
4003 * gdb.base/return-nodebug.exp (do_test): Use append instead of
4004 lappend to append to pf_prefix.
4005 * gdb.base/sepdebug.exp: Use with_test_prefix.
4006 * gdb.base/solib-display.exp: Use with_test_prefix.
4007 * gdb.base/solib-overlap.exp: Use with_test_prefix.
4008 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
4009 * gdb.base/watchpoint.exp: Use with_test_prefix.
4010 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
4011 * gdb.mi/mi-watch.exp: Use with_test_prefix.
4012 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
4013 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
4014 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
4015 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
4016 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
4017 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
4018 append instead of lappend to append to pf_prefix.
4019 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
4020 * gdb.trace/change-loc.exp: Use with_test_prefix.
4021 * gdb.trace/pending.exp: Use with_test_prefix.
4022 * gdb.trace/status-stop.exp: Use with_test_prefix.
4023 * gdb.trace/strace.exp: Use with_test_prefix.
4024 * gdb.trace/trace-break.exp: Use with_test_prefix.
4025 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
4026 instead of lappend to append to pf_prefix.
4027
35dc4a6b
JK
40282012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4029
4030 Fix racy FAILs.
4031 * gdb.base/inferior-died.c (main): Add return of 0.
4032 * gdb.base/inferior-died.exp (continue): Fix expectation of
4033 asynchronous events.
4034 (p 1): New test.
4035
c5a006e6
PA
40362012-02-20 Pedro Alves <palves@redhat.com>
4037
4038 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
4039 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
4040 gdb's internal debug output. For the non-threaded case, look for
4041 "Program received signal SIGLARM", for the threaded case, peek at
4042 the thread's siginfo.
4043
cc51a170
PA
40442012-02-20 Pedro Alves <palves@redhat.com>
4045
4046 General cleanup, make output test messages unique, and build
4047 different executable files for the non-threaded and threaded
4048 cases.
4049
4050 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
4051 Delete.
4052 (executable_nothr, executable_thr): New globals.
4053 (top level): Adjust to delete both executables.
4054 (corefunc): New parameter $executable. Set $pf_prefix instead of
4055 hand writing a prefix in tests. Issue a clean_restart and enable
4056 lin-lwp debug output here.
4057 (top level): Adjust. Use build_executable. Don't start gdb here,
4058 and don't enable lin-lwp debug output here.
4059 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
4060
c755f03d
JK
40612012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4062
4063 Fix racy FAILs.
4064 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
4065 "continue" command.
4066
6bec5e0a
JK
40672012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4068
4069 Fix for gdbserver non-extended mode.
4070 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
4071 and gdb_run_cmd.
4072
2e8265fd
TT
40732012-02-17 Tom Tromey <tromey@redhat.com>
4074
4075 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
4076 * gdb.python/py-events.exp: Check 'dir' output.
4077 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
4078
9e507076
YQ
40792012-02-17 Yao Qi <yao@codesourcery.com>
4080
4081 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
4082
32d22ab1
TT
40832012-02-16 Tom Tromey <tromey@redhat.com>
4084
4085 * gdb.base/inferior-died.c: Don't include stdio.h.
4086
9addecb9
TT
40872012-02-16 Tom Tromey <tromey@redhat.com>
4088
4089 * gdb.base/inferior-died.c: New file.
4090 * gdb.base/inferior-died.exp: New file.
4091
4cb6da1c
AR
40922012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
4093
4094 * gdb.base/break-inline.exp: New file.
4095 * gdb.base/break-inline.c: New file.
4096
3af2590d
TT
40972012-02-15 Tom Tromey <tromey@redhat.com>
4098
4099 * gdb.base/pc-fp.exp: Add "info register" tests.
4100
29988831
TT
41012012-02-15 Tom Tromey <tromey@redhat.com>
4102
4103 * gdb.base/regs.exp: Remove.
4104
10010058
PA
41052012-02-15 Pedro Alves <palves@redhat.com>
4106
4107 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
4108 the target doesn't support tracepoints.
4109 * gdb.trace/circ.exp: Ditto.
4110 * gdb.trace/collection.exp: Ditto.
4111 * gdb.trace/packetlen.exp: Ditto.
4112 * gdb.trace/passc-dyn.exp: Ditto.
4113 * gdb.trace/report.exp: Ditto.
4114 * gdb.trace/tfind.exp: Ditto.
4115 * gdb.trace/tspeed.exp: Ditto.
4116 * gdb.trace/tsv.exp: Ditto.
4117 * gdb.trace/unavailable.exp: Ditto.
4118 * gdb.trace/while-dyn.exp: Ditto.
4119
a2e0062d
PA
41202012-02-15 Pedro Alves <palves@redhat.com>
4121
4122 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
4123 gdb_test_multiple, and call unsupported instead of fail, if the
4124 remote side does not support the request.
4125
a1999d40
PA
41262012-02-15 Pedro Alves <palves@redhat.com>
4127
4128 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
4129 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
4130 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
4131 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
4132 * gdb.server/server-run.exp: Make sure gdb is disconnected.
4133 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
4134 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
4135 doesn't start with "extended-" already.
4136
7cee1e54
PA
41372012-02-15 Pedro Alves <palves@redhat.com>
4138
4139 Support extended-remote. Avoid cascading timeouts.
4140
4141 * gdb.base/attach.exp (do_attach_tests): Add expected output for
4142 the extended-remote target. If attaching with no file fails, load
4143 the file manually.
4144 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
4145
816338b5
SS
41462012-02-14 Stan Shebs <stan@codesourcery.com>
4147
4148 * gdb.base/ena-dis-br.exp: Add enable count test.
4149
cc30c4bd
PA
41502012-02-13 Pedro Alves <palves@redhat.com>
4151
4152 * config/mips-idt.exp: Delete.
4153 * gdb.base/a2-run.exp: Remove mips-idt xfails.
4154 * gdb.base/bitfields.exp: Remove mips-idt restarts.
4155 * gdb.base/break.exp: Remove mips-idt references.
4156 * gdb.base/chng-syms.exp: Ditto.
4157 * gdb.base/default.exp: Ditto.
4158 * gdb.base/funcargs.exp (funcargs_reload): Delete.
4159 (top level): Don't call it.
4160 * gdb.base/opaque.exp: Remove mips-idt restarts.
4161 * gdb.base/ptype.exp: Remove mips-idt xfails.
4162 * gdb.base/scope.exp: Remove mips-idt restarts.
4163 * gdb.base/sepdebug.exp: Remove mips-idt references.
4164 * gdb.base/watchpoint.exp (maybe_clean_restart)
4165 (maybe_reinitialize): Delete.
4166 (test_disabling_watchpoints, test_disabling_watchpoints)
4167 (test_watchpoint_triggered_in_syscall)
4168 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4169 Don't call them.
4170
57008375
JK
41712012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4172
4173 * gdb.server/server-exec-info.exp: New file.
4174
4a2d9c08
PA
41752012-02-10 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
4178 always non-empty.
4179 (test_attach): Always pass $exec to test_attach_gdb.
4180
09fa21bd
TT
41812012-02-08 Tom Tromey <tromey@redhat.com>
4182
4183 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
4184 before inferior is started.
4185
f0823d2c
TT
41862012-02-07 Tom Tromey <tromey@redhat.com>
4187
4188 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
4189 Symbol.value.
4190 * gdb.python/py-symbol.c (qq): Set default value.
4191
41922012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
4193
4194 * gdb.python/py-symbol.c (qq): New global.
4195 * gdb.python/py-symbol.exp: Add test for frame-less
4196 lookup_symbol.
4197 * gdb.python/py-symtab.exp: Fix line number.
4198
f7e44f65
JB
41992012-02-03 Joel Brobecker <brobecker@adacore.com>
4200
4201 * gdb.ada/mi_task_arg: New testcase.
4202
4c9ed63c
PA
42032012-02-02 Pedro Alves <palves@redhat.com>
4204
4205 * gdb.reverse/until-precsave.exp: Also put "record save" under the
4206 extended timeout.
4207
c0b9f2c6
PA
42082012-02-02 Pedro Alves <palves@redhat.com>
4209
4210 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
4211 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
4212
5f8cefd7
PA
42132012-02-02 Pedro Alves <palves@redhat.com>
4214
4215 * gdb.base/term.exp: Rewrite.
4216 * gdb.base/term.c: New.
4217
2f3a2569
PA
42182012-02-02 Pedro Alves <palves@redhat.com>
4219
4220 * gdb.base/default.exp (run "r" abbreviation, run): Add
4221 extended-remote expected output.
4222
f149aabd
TT
42232012-02-02 Tom Tromey <tromey@redhat.com>
4224
4225 * gdb.cp/dispcxx.exp: New file.
4226 * gdb.cp/dispcxx.cc: New file.
4227
03bef283
TT
42282012-02-01 Tom Tromey <tromey@redhat.com>
4229
4230 * gdb.base/jit-simple.exp: New file.
4231 * gdb.base/jit-simple.c: New file.
4232
a79b18b5
YQ
42332012-01-30 Yao Qi <yao@codesourcery.com>
4234
4235 * gdb.base/skip.exp: Make test result unique.
4236
f0d1a53e
JK
42372012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4238
4239 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
4240 compatibility with valgrind-3.7.0.
4241
4b3c9f41
PA
42422012-01-27 Pedro Alves <palves@redhat.com>
4243
4244 * gdb.base/watchpoint.exp (no_hw): New global.
4245 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
4246 disable hw watchpoints.
4247 (test_wide_location_1, test_wide_location_2): If no_hw is set,
4248 don't expect hw watchpoints.
4249 (no_hw_watchpoints): Always clean restart.
4250 (do_tests): New procedure, factored out from the top level.
4251 (top level): Run tests twice. Once with hw watchpoints enabled,
4252 another time with hw watchpoints disabled.
4253
a13491c8
PA
42542012-01-27 Pedro Alves <palves@redhat.com>
4255
4256 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
4257 out from the top level.
4258 (top level): Call it instead.
4259
f2c8a051
PA
42602012-01-27 Pedro Alves <palves@redhat.com>
4261
4262 * gdb.base/watchpoint.exp (top level): Re-enable hardware
4263 watchpoints sooner.
4264
654d7a9e
PA
42652012-01-27 Pedro Alves <palves@redhat.com>
4266
4267 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
4268
274f47f3
PA
42692012-01-27 Pedro Alves <palves@redhat.com>
4270
4271 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
4272 "You may have requested too many hardware
4273 breakpoints/watchpoints".
4274
e4d63ba2
PA
42752012-01-27 Pedro Alves <palves@redhat.com>
4276
4277 * gdb.base/watchpoint.exp (maybe_clean_restart)
4278 (maybe_reinitialize): New.
4279 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
4280 expect "hit N times".
4281 (test_disabling_watchpoints, test_complex_watchpoint)
4282 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4283 Call maybe_clean_restart.
4284 (top level): Use clean_restart. Remove "mips-idt-*"
4285 reinitialization.
4286
dbd95daf
PA
42872012-01-27 Pedro Alves <palves@redhat.com>
4288
4289 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
4290
f3ad2025
PA
42912012-01-27 Pedro Alves <palves@redhat.com>
4292
4293 * gdb.base/watchpoint.exp: Clean restart after tests that don't
4294 require `initialize' anymore. Remove unnecessary `initialize'
4295 calls.
4296
100aa3ae
PA
42972012-01-27 Pedro Alves <palves@redhat.com>
4298
4299 * gdb.base/watchpoint.exp (wp_set): Delete.
4300 (initialize, test_simple_watchpoint, top level): Remove dead code.
4301
c79a8e11
PA
43022012-01-27 Pedro Alves <palves@redhat.com>
4303
4304 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
4305 typo.
4306
048fe15a
PA
43072012-01-27 Pedro Alves <palves@redhat.com>
4308
4309 * config/extended-gdbserver.exp: New file.
4310 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
4311 comment.
4312 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
4313 * boards/native-extended-gdbserver.exp: New file.
4314
4033a6bf
PA
43152012-01-26 Pedro Alves <palves@redhat.com>
4316
4317 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
4318 and gdb_test_multiple.
4319
3d7f4b81
PA
43202012-01-26 Pedro Alves <palves@redhat.com>
4321
4322 Make test messages unique, and more identifiable.
4323 * gdb.multi/watchpoint-multi.exp: Change test messages.
4324
484abf42
TT
43252012-01-25 Tom Tromey <tromey@redhat.com>
4326
4327 * gdb.base/solib-disc.exp: Fix regexps.
4328
edcc5120
TT
43292012-01-24 Tom Tromey <tromey@redhat.com>
4330
4331 * lib/mi-support.exp (mi_expect_stop): Add special case for
4332 solib-event.
4333 * gdb.base/catch-load-so.c: New file.
4334 * gdb.base/catch-load.exp: New file.
4335 * gdb.base/catch-load.c: New file.
4336 * gdb.base/break-interp.exp (reach_1): Update regexp.
4337
30b91c90
JK
43382012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4339
4340 Fix fuzzy results.
4341 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
4342 lpsimple and func.
4343
53fe1783
GB
43442012-01-24 Gary Benson <gbenson@redhat.com>
4345
4346 Delete #if 0'd out code.
4347 * gdb.base/default.exp (info catch): Remove.
4348 * gdb.base/gdb_history (info catch): Likewise.
4349 * gdb.base/help.exp (info catch): Likewise.
4350
d0d8b0c6
JK
43512012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4352
4353 Fix watchpoints to be specific for each inferior.
4354 * gdb.multi/watchpoint-multi.c: New file.
4355 * gdb.multi/watchpoint-multi.exp: New file.
4356
4403d8e9
JK
43572012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4358
4359 Fix watchpoints across inferior fork.
4360 * gdb.threads/watchpoint-fork-child.c: New file.
4361 * gdb.threads/watchpoint-fork-mt.c: New file.
4362 * gdb.threads/watchpoint-fork-parent.c: New file.
4363 * gdb.threads/watchpoint-fork-st.c: New file.
4364 * gdb.threads/watchpoint-fork.exp: New file.
4365 * gdb.threads/watchpoint-fork.h: New file.
4366
050a2e1d
PA
43672012-01-23 Pedro Alves <palves@redhat.com>
4368
4369 * gdb.base/call-signal-resume.exp: Allow output after "return".
4370
6a52fb62
PA
43712012-01-20 Pedro Alves <palves@redhat.com>
4372
4373 * gdb.python/py-finish-breakpoint.py: Fix typo.
4374
145b16a9
UW
43752012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
4376
4377 * gdb.base/info-proc.exp: Also run on remote targets. Main
4378 "info proc" command is now always present; whether target supports
4379 actual info proc operation is detected when attempting to issue
4380 the command.
4381
26f6125e
JK
43822012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4383
4384 * .gdbinit: Remove.
4385
eb5227ce
PA
43862012-01-19 Pedro Alves <palves@redhat.com>
4387
4388 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
4389 look at the funtions' returns.
4390 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
4391 (jprint.print(int, int)): Change return type to int. Adjust.
4392
1db33378
PP
43932012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4394
4395 PR gdb/9538
4396 * gdb.base/sepdebug.exp: New test.
4397
b9736cf8
PA
43982012-01-18 Pedro Alves <palves@redhat.com>
4399
4400 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
4401 Allow output before ^done.
4402
4aac40c8
TT
44032012-01-16 Tom Tromey <tromey@redhat.com>
4404
4405 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
4406 Add tests for relative directory.
4407
cafec441
TT
44082012-01-16 Tom Tromey <tromey@redhat.com>
4409
4410 * gdb.base/printcmds.c (enum flag_enum): New.
4411 (three): New global.
4412 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
4413 enum printing.
4414 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
4415 FlagEnumerationPrinter.
4416 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
4417 * gdb.python/py-pp-maint.c (enum flag_enum): New.
4418 (fval): New global.
4419
abcc4978
PA
44202012-01-16 Pedro Alves <palves@redhat.com>
4421
4422 * lib/gdb.exp (banned_procedures): New variable.
4423 (banned_variables_traced): Rename to ...
4424 (banned_traced): ... this.
4425 (gdb_init): Also trace banned procedures.
4426 (gdb_finish): Also untrace banned procedures.
4427
97ccebe8
PA
44282012-01-16 Pedro Alves <palves@redhat.com>
4429
4430 Remove all calls to strace.
4431
2af7517b
JK
44322012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4433
4434 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
4435 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
4436
9241a8bc
PP
44372012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4438
4439 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
4440 * gdb.base/pie-execl.exp: Likewise.
4441
3848a17f
KS
44422012-01-12 Keith Seitz <keiths@redhat.com>
4443
4444 PR mi/10586
4445 * gdb.mi/var-cmd.c (struct anonymous): New structure.
4446 (do_anonymous_type_tests): New function.
4447 (main): Call do_anonymous_type_tests.
4448 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
4449 (verify_everything): New procedure.
4450 * gdb.mi/mi-var-cp.cc (class A): New class.
4451 (anonymous_structs_and_unions): New function.
4452 (main): Call anonymous_structs_and_unions.
4453 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
4454 (verify_everything): New procedure.
4455
440e2fca
KS
44562012-01-12 Keith Seitz <keiths@redhat.com>
4457
4458 * lib/mi-support.exp: Expand comments about PATH_EXPR.
4459 (varobj_tree::get_path_expr): Assume that all varobjs are
4460 compound unless they are known simple types.
4461 Adjust path expressions based on parent type, path parent type,
4462 and tree language.
4463 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
4464 the root varobj.
4465 (mi_walk_varobj_tree): Add LANGUAGE parameter.
4466
675399c9
PA
44672012-01-11 Pedro Alves <palves@redhat.com>
4468
4469 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
4470 core files on this machine" anymore.
4471
97ddaa9b
PH
44722012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4473
4474 * gdb.base/watchpoint.c (recurser): Initialize local_x.
4475 (main): Repeat recurser call.
4476 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
4477 equivalent to 'local_x'.
4478
ea733575 44792012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 4480 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
4481
4482 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
4483
2ca0b532
PA
44842012-01-05 Pedro Alves <alves.ped@gmail.com>
4485
4486 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
4487 * gdb.python/py-events.c (first): Add bits for new "step N" test.
4488 * gdb.python/py-events.exp: Test that "step N" tripping on a
4489 breakpoint emits a breakpoint event.
4490
6e681866
JB
44912012-01-03 Joel Brobecker <brobecker@adacore.com>
4492
4493 * gdb.base/auxv.exp: Reformat the copyright notice.
4494
3c2d6aff
YQ
44952012-01-03 Yao Qi <yao@codesourcery.com>
4496
4497 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
4498 (strace_trace_on_diff_addr): New.
4499 * gdb.trace/strace.c: (main): Add two local variables.
4500
0852fee3
UW
45012011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
4502
4503 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
4504 * gdb.cell/gcore.exp: Likewise.
4505 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
4506 to verify the correct instance of main is selected.
4507
12c3e59c
JB
45082012-01-02 Joel Brobecker <brobecker@adacore.com>
4509
4510 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
4511 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
4512 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
4513 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
4514 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
4515 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
4516 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
4517 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
4518 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
4519 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
4520 gdb.threads/thread_check.c: Reformat copyright header.
4521
c0f378ec
EBM
45222011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
4523
e4a7ca93 4524 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
4525 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
4526 is not enabled.
4527
3bc96cfb
JK
45282011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4529
4530 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
4531 parameter to self_exec, adjust the function.
4532 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
4533 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
4534 (set var do_exit = 0): Remove test.
4535 (newline at end of file): Add one.
4536
095bcf5e
JB
45372011-12-27 Joel Brobecker <brobecker@adacore.com>
4538
4539 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
4540 New files.
4541
18d19bd1
JK
45422011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4543
4544 Fix racy FAILs.
4545 * gdb.threads/fork-thread-pending.c (barrier): New variable.
4546 (thread_function, thread_forker): Call pthread_barrier_wait for it.
4547 (main): Call pthread_barrier_init for it.
4548
e809353a
JK
45492011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4550
4551 Fix double send_gdb leading to racy FAILs.
4552 * gdb.base/break.exp (set silent break bp_location1): Replace
4553 3x send_gdb and gdb_expect by gdb_test.
4554 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
4555 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
4556 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
4557 instead of send_gdb. Twice.
4558 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
4559 3x send_gdb and gdb_expect by gdb_test.
4560 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
4561
da8cb7ec
JK
45622011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4563
4564 * gdb.linespec/linespec.exp: Compile using {c++}.
4565
ae1a303e
JK
45662011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4567
4568 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
4569 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
4570 (verify GCC PR debug/51668): New test.
4571
cc72b2a2
KP
45722011-12-23 Kevin Pouget <kevin.pouget@st.com>
4573
4574 Introduce gdb.FinishBreakpoint in Python.
4575 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
4576 py-finish-breakpoint2
4577 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
4578 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
4579 instead of line number.
4580 * gdb.python/py-finish-breakpoint.c: New file.
4581 * gdb.python/py-finish-breakpoint.exp: New file.
4582 * gdb.python/py-finish-breakpoint.py: New file.
4583 * gdb.python/py-finish-breakpoint2.cc: New file.
4584 * gdb.python/py-finish-breakpoint2.exp: New file.
4585 * gdb.python/py-finish-breakpoint2.py: New file.
4586
3b7962f9
JK
45872011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4588
4589 Partial fix of compatibility with gcc-4.7.
4590 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
4591 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
4592 Add comment to add a PASS case in the future.
4593
6538471c
JK
4594 Fix compatibility with gcc-4.7.
4595 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
4596
7052e42c
UW
45972011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
4598
4599 PR tdep/12797
4600 * gdb.base/callfuncs.exp: Remove KFAIL.
4601
9ac7f98e
JB
46022011-12-21 Joel Brobecker <brobecker@adacore.com>
4603
4604 * gdb.ada/task_bp: New testcase.
4605
f6eeced0
JK
46062011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4607
4608 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
4609 -DNO_SECTIONS.
4610 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
4611
72225e17
JK
46122011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4613
4614 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
4615 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
4616 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4617 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
4618 conditional for gcc <= 4.5.
4619
13ac8d2c
JK
46202011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4621
4622 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
4623 by XFAIL.
4624 * gdb.cp/static-method.exp (info addr A::func())
4625 (list static-method.cc:xxx::(anonymous namespace)::A::func)
4626 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
4627 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
4628 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
4629 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
4630 (test value of F in k3_m): Likewise.
4631 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4632 Likewise.
4633
049682ba
JK
46342011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4635
4636 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
4637 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
4638 Remove.
4639 * gdb.threads/attachstop-mt.c: Remove.
4640 * gdb.threads/attachstop-mt.exp: Remove.
4641
2c9d8796
MK
46422011-12-17 Mark Kettenis <kettenis@gnu.org>
4643
4644 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
4645
e0f9f062
DE
46462011-12-16 Doug Evans <dje@google.com>
4647
f4aa2101 4648 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
4649 * boards/native-gdbserver.exp: New file.
4650
e0f9f062
DE
4651 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
4652 gdbserver output.
4653 (gdbserver_default_get_remote_address): New function.
4654 (gdbserver_start): Call gdb,get_remote_address to compute argument
4655 to "target remote" command.
4656
80b6e756
PM
46572011-12-16 Phil Muldoon <pmuldoon@redhat.com>
4658
1c3ad6ab 4659 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
4660 python print-stack. Add set/show python print-stack
4661 off|full|message tests.
4662
1576bd00
YQ
46632011-12-15 Yao Qi <yao@codesourcery.com>
4664
4665 * gdb.trace/strace.c: New
4666 * gdb.trace/strace.exp: New.
4667
d6a0f6e0
TT
46682011-12-14 Tom Tromey <tromey@redhat.com>
4669
4670 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
4671
31015e1d
DE
46722011-12-14 Doug Evans <dje@google.com>
4673
4674 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
4675
7b50312a
PA
46762011-12-14 Pedro Alves <pedro@codesourcery.com>
4677
4678 PR threads/10729
4679
4680 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 4681 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 4682
924437bc
PA
46832011-12-13 Pedro Alves <pedro@codesourcery.com>
4684 Doug Evans <dje@google.com>
4685
4686 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
4687 (clean_restart): Remove references to the gdb_stub target board
4688 variable.
4689 (gdb_step_for_stub): Delete.
4690
4691 * gdb.base/annota1.exp: Remove all references to [target_info
4692 exists gdb_stub], gdb_step_for_stub and usestubs.
4693 * gdb.base/annota3.exp: Ditto.
4694 * gdb.base/async.exp: Ditto.
4695 * gdb.base/break.exp: Ditto.
4696 * gdb.base/code-expr.exp: Ditto.
4697 * gdb.base/commands.exp: Ditto.
4698 * gdb.base/completion.exp: Ditto.
4699 * gdb.base/condbreak.exp: Ditto.
4700 * gdb.base/consecutive.exp: Ditto.
4701 * gdb.base/cvexpr.exp: Ditto.
4702 * gdb.base/define.exp: Ditto.
4703 * gdb.base/display.exp: Ditto.
4704 * gdb.base/ena-dis-br.exp: Ditto.
4705 * gdb.base/environ.exp: Ditto.
4706 * gdb.base/gnu-ifunc.exp: Ditto.
4707 * gdb.base/maint.exp: Ditto.
4708 * gdb.base/pending.exp: Ditto.
4709 * gdb.base/sect-cmd.exp: Ditto.
4710 * gdb.base/sepdebug.exp: Ditto.
4711 * gdb.base/unload.exp: Ditto.
4712 * gdb.base/watchpoint-solib.exp: Ditto.
4713 * gdb.cp/annota2.exp: Ditto.
4714 * gdb.cp/annota3.exp: Ditto.
4715 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
4716 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
4717 * gdb.mi/mi-pending.exp: Ditto.
4718 * gdb.trace/circ.exp: Ditto.
4719 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
4720 * gdb.base/list.exp: Ditto.
4721
4722 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
4723 breakpoint function and all references to the usestubs macro.
4724 * gdb.base/exprs.c: Ditto.
4725 * gdb.base/freebpcmd.c: Ditto.
4726 * gdb.base/bitfields.c: Ditto.
4727 * gdb.base/bitfields2.c: Ditto.
4728 * gdb.base/break.c: Ditto.
4729 * gdb.base/call-sc.c: Ditto.
4730 * gdb.base/call-signals.c: Ditto.
4731 * gdb.base/callfuncs.c: Ditto.
4732 * gdb.base/charset.c: Ditto.
4733 * gdb.base/consecutive.c: Ditto.
4734 * gdb.base/constvars.c: Ditto.
4735 * gdb.base/funcargs.c: Ditto.
4736 * gdb.base/int-type.c: Ditto.
4737 * gdb.base/interrupt.c: Ditto.
4738 * gdb.base/langs0.c: Ditto.
4739 * gdb.base/list0.c: Ditto.
4740 * gdb.base/mips_pro.c: Ditto.
4741 * gdb.base/miscexprs.c: Ditto.
4742 * gdb.base/nodebug.c: Ditto.
4743 * gdb.base/opaque0.c: Ditto.
4744 * gdb.base/pointers.c: Ditto.
4745 * gdb.base/printcmds.c: Ditto.
4746 * gdb.base/ptype.c: Ditto.
4747 * gdb.base/recurse.c: Ditto.
4748 * gdb.base/reread1.c: Ditto.
4749 * gdb.base/reread2.c: Ditto.
4750 * gdb.base/restore.c: Ditto.
4751 * gdb.base/return.c: Ditto.
4752 * gdb.base/run.c: Ditto.
4753 * gdb.base/scope0.c: Ditto.
4754 * gdb.base/sepdebug.c: Ditto.
4755 * gdb.base/setshow.c: Ditto.
4756 * gdb.base/setvar.c: Ditto.
4757 * gdb.base/sigall.c: Ditto.
4758 * gdb.base/signals.c: Ditto.
4759 * gdb.base/structs.c: Ditto.
4760 * gdb.base/structs2.c: Ditto.
4761 * gdb.base/testenv.c: Ditto.
4762 * gdb.base/twice.c: Ditto.
4763 * gdb.base/unwindonsignal.c: Ditto.
4764 * gdb.base/watchpoint.c: Ditto.
4765 * gdb.base/watchpoints.c: Ditto.
4766 * gdb.base/whatis.c: Ditto.
4767 * gdb.cp/classes.cc: Ditto.
4768 * gdb.cp/cplusfuncs.cc: Ditto.
4769 * gdb.cp/derivation.cc: Ditto.
4770 * gdb.cp/formatted-ref.cc: Ditto.
4771 * gdb.cp/misc.cc: Ditto.
4772 * gdb.cp/overload.cc: Ditto.
4773 * gdb.cp/ovldbreak.cc: Ditto.
4774 * gdb.cp/ref-params.cc: Ditto.
4775 * gdb.cp/ref-types.cc: Ditto.
4776 * gdb.cp/templates.cc: Ditto.
4777 * gdb.cp/virtfunc.cc: Ditto.
4778 * gdb.hp/gdb.aCC/run.c: Ditto.
4779 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
4780 * gdb.hp/gdb.compat/xdb0.c: Ditto.
4781 * gdb.reverse/consecutive-reverse.c: Ditto.
4782 * gdb.reverse/sigall-reverse.c: Ditto.
4783 * gdb.reverse/until-reverse.c: Ditto.
4784 * gdb.reverse/watch-reverse.c: Ditto.
4785 * gdb.trace/actions.c: Ditto.
4786 * gdb.trace/circ.c: Ditto.
4787 * gdb.trace/collection.c: Ditto.
4788
fabde485
PA
47892011-12-13 Pedro Alves <pedro@codesourcery.com>
4790
4791 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
4792 (func6, func7): New.
4793 (main): Call func6 and func7.
4794 * gdb.base/watchpoint.exp (test_wide_location_1)
4795 (test_wide_location_2): New.
4796 (top level): Re-enable hardware watchpoints if necessary. Call
4797 test_wide_location_1 and test_wide_location_2.
4798
ff7d1690
YQ
47992011-12-11 Yao Qi <yao@codesourcery.com>
4800
4801 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
4802
a6af7abe
JB
48032011-12-11 Joel Brobecker <brobecker@adacore.com>
4804
4805 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
4806 expected output for unsupported case.
4807
61638e15
JK
48082011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4809
4810 PR testsuite/12649
4811 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
4812 Protect gdb_test_multiple by final $gdb_prompt match.
4813
0a00efc3
JK
48142011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4815
4816 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
4817 New variable, new test.
4818 (list static-method.cc:xxx::(anonymous namespace)::A::func)
4819 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
4820 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
4821 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
4822 them if HAVE_GCC_45682_FIXED is not set.
4823
4511b1ba
YQ
48242011-12-10 Yao Qi <yao@codesourcery.com>
4825
4826 * gdb.trace/status-stop.exp: New.
4827 * gdb.trace/status-stop.c: New.
4828
27949e73
JK
48292011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4830
4831 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
4832 timeout.
4833
d8ea7931
TT
48342011-12-08 Tom Tromey <tromey@redhat.com>
4835
4836 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
4837 condition.
4838
1cc310d2
SS
48392011-12-07 Stan Shebs <stan@codesourcery.com>
4840
4841 * gdb.trace/tfind.exp: Update for output changes.
4842
d482a875
PA
48432011-12-07 Pedro Alves <pedro@codesourcery.com>
4844
4845 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
4846 throws "Cannot insert catchpoints in this configuration".
4847 * gdb.ada/mi_catch_ex.exp: Likewise.
4848
f0ba3972
PA
48492011-12-06 Pedro Alves <pedro@codesourcery.com>
4850
4851 * gdb.base/break-always.exp: Test changing memory at addresses
4852 with breakpoints inserted.
4853
f8eba3c6
TT
48542011-12-06 Joel Brobecker <brobecker@acacore.com>
4855
6fdff2c5
PA
4856 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
4857 involving a fully qualified function name.
f8eba3c6
TT
4858
48592011-12-06 Tom Tromey <tromey@redhat.com>
4860
4861 * gdb.ada/homonym.exp: Add three breakpoint tests.
4862
48632011-12-06 Tom Tromey <tromey@redhat.com>
4864
4865 * gdb.base/solib-weak.exp (do_test): Remove kfail.
4866 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
4867 * gdb.objc/objcdecode.exp: Update for output changes.
4868 * gdb.linespec/linespec.exp: New file.
4869 * gdb.linespec/lspec.cc: New file.
4870 * gdb.linespec/lspec.h: New file.
4871 * gdb.linespec/body.h: New file.
4872 * gdb.linespec/base/two/thefile.cc: New file.
4873 * gdb.linespec/base/one/thefile.cc: New file.
4874 * gdb.linespec/Makefile.in: New file.
4875 * gdb.cp/templates.exp (test_template_breakpoints): Update for
4876 output changes.
4877 * gdb.cp/re-set-overloaded.exp: Remove kfail.
4878 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
4879 makes one breakpoint.
4880 * gdb.cp/method2.exp (test_break): Update for output changes.
4881 * gdb.cp/mb-templates.exp: Update for output changes.
4882 * gdb.cp/mb-inline.exp: Update for output changes.
4883 * gdb.cp/mb-ctor.exp: Update for output changes.
4884 * gdb.cp/ovsrch.exp: Use fully-qualified names.
4885 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
4886 has multiple matches.
4887 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
4888 error message change.
4889 * gdb.base/list.exp (test_list_filename_and_number): Update for
4890 error message change.
4891 * gdb.base/break.exp: Disable pending breakpoints. Update for
4892 output changes.
4893 * configure.ac: Add gdb.linespec.
4894 * configure: Rebuild.
4895 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
4896
c642a434
UW
48972011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
4898
4899 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
4900 last_break register on s390*-*-* targets.
4901
b18003d1
JB
49022011-12-06 Joel Brobecker <brobecker@adacore.com>
4903
4904 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
4905 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
4906 of parameter X in procedure Foo.
4907
fe96589c
SS
49082011-12-05 Stan Shebs <stan@codesourcery.com>
4909
4910 * gdb.trace/tfind.exp: Update help string matches.
4911
1820ab47
JK
49122011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4913
4914 * gdb.server/ext-run.exp (get process list): Accept also systemd
4915 as PID 1.
4916
e11ac3a3
JK
49172011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4918 Pedro Alves <pedro@codesourcery.com>
4919
4920 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
4921 starting GDB.
4922 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
4923 $use_gdb_stub.
4924 * gdb.base/display.exp: Likewise.
4925 * gdb.base/ending-run.exp: Likewise.
4926 * gdb.base/list.exp (test_listsize): Likewise.
4927 * gdb.base/setshow.exp: Likewise.
4928 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
4929 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
4930 check by global $use_gdb_stub.
4931 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
4932 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
4933 (default_gdb_init): Unset global $use_gdb_stub.
4934 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
4935 by global $use_gdb_stub.
4936 * lib/gdbserver-support.exp: Extend comments for set_board_info
4937 gdb_protocol and gdb,socketport.
4938 (gdbserver_start_extended): Set global gdbserver_protocol and
4939 gdbserver_gdbport. Clear global use_gdb_stub.
4940 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
4941 from target use_gdb_stub.
4942 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
4943
1d41d75c
DE
49442011-12-03 Doug Evans <dje@google.com>
4945
4946 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
4947 (gdb_step_for_stub): Add comments.
4948
d6d7a51a
MR
49492011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
4950
4951 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
4952 to the caller.
4953 (gdb_test_multiple): Likewise.
4954
05acf274
JK
49552011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4956
4957 Fix gdb.mi/mi-solib.exp without system debug info installed.
4958 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
4959 expect attribute, return 0 for it. Update comments.
4960
2268b414
JK
49612011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4962
4963 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
4964 (corrupted list): Adjust the expectation.
4965
585861ea
JK
49662011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4967
4968 PR threads/13448
4969 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
4970 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
4971 * gdb.threads/tls-var-main.c: New file.
4972 * gdb.threads/tls-var.c: New file.
4973 * gdb.threads/tls-var.exp: New file.
4974
968643aa
JK
49752011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4976
4977 PR testsuite/12649
4978 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
4979 Protect gdb_test_multiple by final $gdb_prompt match.
4980 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
4981 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
4982 (test_tracepoints): Likewise.
4983
9750bca9
JK
49842011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4985
4986 PR breakpoints/13346
4987 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
4988 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
4989 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
4990
ac1349b7
JB
49912011-12-01 Joel Brobecker <brobecker@adacore.com>
4992
4993 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
4994 * gdb.ada/homonym/homonym.adb: For use of all types defined
4995 locally inside both Get_Value subprograms.
4996
26d44faf
JK
49972011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4998
4999 Fix racy FAILs.
5000 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
5001 of send_gdb.
5002
514f6425
UW
50032011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5004
5005 * gdb.base/testenv.exp: Skip on remote targets. Unset global
5006 environment variable after test completed.
5007
4255c8d2
UW
50082011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5009
5010 * gdb.base/solib-nodir.exp: Skip if remote target.
5011 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
5012 application. Call gdb_load_shlibs.
5013 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
5014
a35ad96a
JB
50152011-11-29 Joel Brobecker <brobecker@adacore.com>
5016
5017 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
5018
1a1d5513
JB
50192011-11-28 Joel Brobecker <brobecker@adacore.com>
5020
5021 * gdb.ada/fullname_bp: New testcase.
5022
50b4ddf8
JK
50232011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5024
5025 PR testsuite/12649
5026 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
5027 Wrap send_gdb into a new gdb_test.
5028
fb0aec57
JK
5029 Code cleanup.
5030 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
5031 Convert send_gdb and gdb_expect to gdb_test_multiple.
5032
2376d946
JK
50332011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5034
5035 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
5036
1eec78bd
KS
50372011-11-23 Keith Seitz <keiths@redhat.com>
5038
5039 * lib/mi-support.exp (varobj_tree): New namespace and procs.
5040 (mi_varobj_tree_test_children_callback): New proc.
5041 (mi_walk_varobj_tree): New proc.
5042
36dfb11c
TT
50432011-11-22 Tom Tromey <tromey@redhat.com>
5044
5045 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
5046 Add "use_mi_command" argument.
5047 (mi_run_cmd, mi_run_with_cli): New procs.
5048 * gdb.mi/solib-lib.c: New file.
5049 * gdb.mi/solib-main.c: New file.
5050 * gdb.mi/mi-solib.exp: New file.
5051
0e965dd0
DE
50522011-11-21 Doug Evans <dje@google.com>
5053
5054 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
5055 _Unwind_DebugHook is missing.
5056
f196051f
SS
50572011-11-20 Stan Shebs <stan@codesourcery.com>
5058
5059 * gdb.trace/tstatus.exp: New.
5060 * gdb.trace/actions.c: Include string.h.
5061
bfccc43c
YQ
50622011-11-18 Yao Qi <yao@codesourcery.com>
5063
5064 * gdb.trace/pending.exp: New.
5065 * gdb.trace/pending.c: New.
5066 * gdb.trace/pendshr1.c: New.
5067 * gdb.trace/pendshr2.c: New.
5068 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
5069 tracepoint location becomes pending.
5070 (tracepoint_change_loc_2): New.
5071
73cd8ab1
DM
50722011-11-16 David S. Miller <davem@davemloft.net>
5073
5074 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
5075 target is sparc*-*-linux*
5076
77426730
PK
50772011-11-15 Paul Koning <paul_koning@dell.com>
5078
5079 * gdb.python/py-type.exp: New testcases for exceptions on scalar
5080 types.
5081
ed59ded5
DE
50822011-11-14 Doug Evans <dje@google.com>
5083
5084 * gdb.base/shell.exp: New file.
5085
405f8e94
SS
50862011-11-14 Stan Shebs <stan@codesourcery.com>
5087
5088 * gdb.trace/ftrace.c: New.
5089 * gdb.trace/ftrace.exp: New.
5090
1e4d1764
YQ
50912011-11-14 Yao Qi <yao@codesourcery.com>
5092
5093 * gdb.trace/change-loc-1.c: New.
5094 * gdb.trace/change-loc-2.c: New.
5095 * gdb.trace/change-loc.c: New.
5096 * gdb.trace/change-loc.exp: New.
5097 * gdb.trace/change-loc.h: New.
5098 * gdb.trace/trace-break.c (marker): Define new symbol.
5099 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 5100 New.
1e4d1764
YQ
5101 (break_trace_same_addr_6): New.
5102
71eba9c2 51032011-11-12 Matt Rice <ratmice@gmail.com>
5104
5105 * gdb.base/info-macros.exp: Make tests for info definitions
5106 test info macro. Add tests for info macro argument processing.
5107 Rename a few tests.
5108
1d93e29a
KS
51092011-11-11 Keith Seitz <keiths@redhat.com>
5110
5111 PR gdb/12843
5112 * gdb.base/linespecs.exp: New file.
5113
a4b5b48a
DE
51142011-11-11 Doug Evans <dje@google.com>
5115
5116 * gdb.threads/print-threads.exp: Extend timeout for slower
5117 tests.
5118
f6b47be4
DE
51192011-11-10 Doug Evans <dje@google.com>
5120
792a0230
DE
5121 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
5122 "record to end of main" test.
5123
f6b47be4
DE
5124 * gdb.python/py-type.c (TS): New typedef.
5125 (ts): New global.
5126 * gdb.python/py-type.exp: Test field list of typedef.
5127
22355c90
JB
51282011-11-10 Joel Brobecker <brobecker@adacore.com>
5129
5130 * gdb.ada/small_reg_param: New testcase.
5131
a7860e76
TT
51322011-11-09 Tom Tromey <tromey@redhat.com>
5133
5134 * gdb.cp/destrprint.exp: New file.
5135 * gdb.cp/destrprint.cc: New file.
5136
72a2e3dc
MI
51372011-11-08 Meador Inge <meadori@codesourcery.com>
5138
5139 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
5140 (switch_stack_to_other): New test function.
5141 * gdb.arch/thumb-prologue.exp: New test cases.
5142
c7195df2 51432011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
5144
5145 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
5146
d3895d7d
YQ
51472011-11-08 Yao Qi <yao@codesourcery.com>
5148
5149 * gdb.exp (supports_process_record): New.
5150 (supports_reverse): New.
5151 * gdb.reverse/break-precsave.exp: Call support_process_record
5152 to run test conditionally.
5153 * gdb.reverse/consecutive-precsave.exp: Likewise.
5154 * gdb.reverse/i386-precsave.exp: Likewise.
5155 * gdb.reverse/machinestate-precsave.exp: Likewise.
5156 * gdb.reverse/solib-precsave.exp: Likewise.
5157 * gdb.reverse/step-precsave.exp: Likewise.
5158 * gdb.reverse/until-precsave.exp: Likewise.
5159 * gdb.reverse/watch-precsave.exp: Likewise.
5160 * gdb.reverse/break-reverse.exp: Call support_reverse to run
5161 test conditionally.
5162 * gdb.reverse/consecutive-reverse.exp: Likewise.
5163 * gdb.reverse/finish-precsave.exp: Likewise.
5164 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5165 * gdb.reverse/finish-reverse.exp: Likewise.
5166 * gdb.reverse/i386-reverse.exp: Likewise.
5167 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5168 * gdb.reverse/machinestate.exp: Likewise.
5169 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
5170 * gdb.reverse/sigall-precsave.exp: Likewise.
5171 * gdb.reverse/sigall-reverse.exp: Likewise.
5172 * gdb.reverse/solib-reverse.exp: Likewise.
5173 * gdb.reverse/step-reverse.exp: Likewise.
5174 * gdb.reverse/until-reverse.exp: Likewise.
5175 * gdb.reverse/watch-reverse.exp: Likewise.
5176
a59306a3
YQ
51772011-11-05 Yao Qi <yao@codesourcery.com>
5178
5179 * gdb.trace/trace-break.exp: Add test on setting two
5180 fast tracepoints at the same address.
5181
87769f59
JK
51822011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5183
5184 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
5185
3065dfb6
SS
51862011-11-02 Stan Shebs <stan@codesourcery.com>
5187
5188 * gdb.trace/collection.c: Add code using strings.
5189 * gdb.trace/collection.exp: Add tests of string collection.
5190
89e208db
JK
51912011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5192
5193 * gdb.base/skip-solib.exp (executable_main): New variable.
5194 (binfile_main): Base it on that.
5195 Use $executable_main in clean_restart calls. Drop gdb_exit and
5196 gdb_start calls.
5197
405e54e9
JK
51982011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5199
5200 Fix racy FAILs.
5201 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
5202 breakpoint_re globals import by async. Set string_regex to .* for
5203 async. Remove the optional thread_selected_re and breakpoint_re
5204 globals expectations.
5205
58e8570a
JM
52062011-11-01 Joseph Myers <joseph@codesourcery.com>
5207
5208 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
5209 well as Cygwin.
5210
7b35ec7f 52112011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
5212
5213 Add tests for skip command.
89e208db
JK
5214 * gdb.base/skip-solib-lib.c: New
5215 * gdb.base/skip-solib-main.c: New
5216 * gdb.base/skip-solib.exp: New
5217 * gdb.base/skip.c: New
5218 * gdb.base/skip.exp: New
5219 * gdb.base/skip1.c: New
5220 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 5221
b9fd1791
PA
52222011-10-31 Yao Qi <yao@codesourcery.com>
5223 Pedro Alves <pedro@codesourcery.com>
5224
6fdff2c5
PA
5225 * gdb.trace/trace-break.c: New.
5226 * gdb.trace/trace-break.exp: New.
b9fd1791 5227
4323fecc
JK
52282011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5229
5230 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
5231 break-here-2.
5232
0e5bf2a8
PA
52332011-10-28 Pedro Alves <pedro@codesourcery.com>
5234
5235 * gdb.threads/no-unwaited-for-left.c: New.
5236 * gdb.threads/no-unwaited-for-left.exp: New.
5237 * gdb.threads/non-ldr-exc-1.c: New.
5238 * gdb.threads/non-ldr-exc-1.exp: New.
5239 * gdb.threads/non-ldr-exc-2.c: New.
5240 * gdb.threads/non-ldr-exc-2.exp: New.
5241 * gdb.threads/non-ldr-exc-3.c: New.
5242 * gdb.threads/non-ldr-exc-3.exp: New.
5243 * gdb.threads/non-ldr-exc-4.c: New.
5244 * gdb.threads/non-ldr-exc-4.exp: New.
5245
3a3dad98
JK
52462011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5247
5248 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
5249 * gdb.base/attach-pie-misread.exp: Likewise.
5250 * gdb.base/break-interp.exp: Likewise.
5251 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
5252 testcases for use_gdb_stub.
5253 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
5254 (continue): New testcase.
5255 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
5256 * gdb.threads/attach-into-signal.exp: Likewise.
5257 * gdb.threads/attach-stopped.exp: Likewise.
5258 * gdb.threads/attachstop-mt.exp: Likewise.
5259
d6a5d40c
PK
52602011-10-28 Paul Koning <paul_koning@dell.com>
5261
5262 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
5263
ca539be8
JK
52642011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5265
5266 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
5267 (mi_gdb_test): Import globals thread_selected_re
5268 and breakpoint_re. Expect them optionally at the regex start.
5269
d234ef5c
DE
52702011-10-27 Doug Evans <dje@google.com>
5271
5272 * gdb.python/python.exp: Test source -s.
5273
ab964825
PK
52742011-10-26 Paul Koning <paul_koning@dell.com>
5275
5276 * gdb.python/lib-types.cc (struct A): New structure.
5277 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 5278
54d8a644
PK
52792011-10-25 Paul Koning <paul_koning@dell.com>
5280
5281 PR python/13327
d234ef5c 5282
54d8a644
PK
5283 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
5284 fetch_lazy method.
5285
b0221781
YQ
52862011-10-24 Yao Qi <yao@codesourcery.com>
5287
5288 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
5289 target is tic6x-*-*.
5290
6cda5a20
JB
52912011-10-21 Joel Brobecker <brobecker@adacore.com>
5292
5293 * gdb.ada/mi_task_info/task_switch.adb: New file.
5294 * gdb.ada/mi_task_info.exp: New file.
5295
5ed9db04
JK
52962011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5297
5298 * gdb.cp/expand-psymtabs-cxx.exp: New file.
5299 * gdb.cp/expand-psymtabs-cxx.cc: New file.
5300
9df2fbc4
PM
53012011-10-20 Phil Muldoon <pmuldoon@redhat.com>
5302
5303 PR python/12656
5304
5305 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
5306 global_block tests.
5307
736086ba
TT
53082011-10-18 Tom Tromey <tromey@redhat.com>
5309
5310 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
5311
4af31552
TT
53122011-10-18 Tom Tromey <tromey@redhat.com>
5313
5314 * gdb.base/source.exp: Don't include full file name in test name.
5315 * gdb.python/python.exp: Don't include full file name in test
5316 name.
5317
43136979
AR
53182011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5319
5320 * gdb.base/attach-pie-noexec.c: New files.
5321 * gdb.base/attach-pie-noexec.exp: New files.
5322
543a9323
JM
53232011-10-17 Joseph Myers <joseph@codesourcery.com>
5324
5325 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
5326 prompt for each extra line in command.
5327
21ae7a4d
JK
53282011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5329
5330 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
5331 Revert the part of:
5332 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5333 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5334 Change the expected string.
5335
20ec36d9
JK
53362011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5337
5338 Fix results with system glibc debug info installed.
5339 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
5340 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
5341 Accept also __libc_ symbol prefix and no prefix.
5342
6501c2fc
KS
53432011-10-14 Keith Seitz <keiths@redhat.com>
5344
5345 PR c++/13225
5346 * gdb.cp/converts.cc (foo3_1): New function.
5347 (foo3_2): New functions.
5348 * gdb.cp/converts.exp: Add tests for int to pointer conversion
5349 and null pointer conversions of integer constant zero.
5350 Add test to check if all arguments are checked for incompatible
5351 conversion BADNESS.
5352
55b1fd0c
TT
53532011-10-14 Tom Tromey <tromey@redhat.com>
5354
5355 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
5356 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
5357 linespec.
5358
22c05d8a
JK
53592011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5360
5361 Fix internal error regression.
5362 * gdb.dwarf2/implptr-optimized-out.S: New file.
5363 * gdb.dwarf2/implptr-optimized-out.exp: New file.
5364
1d6edc3c
JK
53652011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5366
5367 Fix empty DWARF expressions DATA vs. SIZE conditionals.
5368 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
5369 (loclist): New.
5370 (4): New abbrev.
5371 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
5372 Use prepare_for_testing, remove clean_restart.
5373 (p arraynoloc, p arraycallnoloc): New tests.
5374
9ec72168
JK
53752011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5376
5377 * gdb.cp/namespace-enum.exp (executable): New variable.
5378 (binfile): Use ${objdir}/${subdir}/ prefix.
5379 Use ${executable} for clean_restart.
5380
9c6c53f7
SA
53812011-10-11 Sterling Augustine <saugustine@google.com>
5382
5383 * gdb.cp/Makefile.in: Add namespace-enum test.
5384 * gdb.cp/namespace-enum.exp: New file.
5385 * gdb.cp/namespace-enum.c: New file.
5386 * gdb.cp/namespace-enum-main.c: New file.
5387
fac7ceb3
UW
53882011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
5389
5390 * gdb.python/py-shared.exp: Relax filename check to handle remote:
5391 sysroot.
5392
941b2081
JK
53932011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5394
5395 Reimplement @entry in input expressions.
5396 * gdb.base/exprs.c (v_int_array_init): New variable.
5397 * gdb.base/exprs.exp (print v_int_array_init)
5398 (print *v_int_array_init@1, print *v_int_array_init@2)
5399 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
5400 (print v_int_array_init[1]@1): New tests.
5401
0344e878
JM
54022011-10-10 Joseph Myers <joseph@codesourcery.com>
5403
5404 * gdb.cp/gdb2495.exp: Do not include directories in filename in
5405 expected message.
5406
5a56e9c5
DE
54072011-10-09 Doug Evans <dje@google.com>
5408
5409 * gdb.base/alias.exp: Add tests for alias command.
5410
2bda9cc5
JK
54112011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5412
5413 * gdb.arch/amd64-entry-value.s: New file.
5414 * gdb.mi/mi2-amd64-entry-value.s: New file.
5415
a471c594
JK
54162011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5417
5418 Display @entry parameter values even for references.
5419 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
5420 functions.
5421 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
5422 reference and datap_input.
5423 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
5424 breakpoints.
5425 (continue to breakpoint: entry_reference: reference)
5426 (entry_reference: bt at entry)
5427 (continue to breakpoint: entry_reference: breakhere_reference)
5428 (entry_reference: bt, entry_reference: ptype regparam)
5429 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
5430 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
5431 (entry_reference: p regcopy, entry_reference: p nodataparam)
5432 (entry_reference: p nodataparam@entry): New tests.
5433
36b11add
JK
54342011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5435
5436 Support @entry in input expressions.
5437 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
5438 (entry_stack: p s1@entry, entry_stack: p s2@entry)
5439 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
5440 (tailcall: p j@entry): New tests.
5441 * gdb.cp/koenig.cc (A::entry): New function.
5442 (main): Call it.
5443 * gdb.cp/koenig.exp (p entry (c)): New test.
5444
e18b2753
JK
54452011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5446
5447 Display @entry parameter values (without references).
5448 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
5449 (different, validity, invalid): New functions.
5450 (main): Call them.
5451 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
5452 stacktest, breakhere_stacktest, different, breakhere_different,
5453 breakhere_validity and breakhere_invalid.
5454 (entry: bt): Update for @entry.
5455 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
5456 (entry_validity: *, entry_invalid: *): Many new tests.
5457 * gdb.base/break.exp
5458 (run until breakpoint set at small function, optimized file): Accept
5459 also the @entry suffix.
5460 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
5461 * gdb.mi/mi2-amd64-entry-value.c: New files.
5462 * gdb.mi/mi2-amd64-entry-value.exp: New files.
5463
2d6c5dc2
JK
54642011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5465
5466 Protect entry values against self tail calls.
5467 * gdb.arch/amd64-entry-value.cc (self2, self): New.
5468 (main): Call self.
5469 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
5470 (set debug entry-values 1, self: bt debug entry-values): New tests.
5471
111c6489
JK
54722011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5473
5474 Recognize virtual tail call frames.
5475 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
5476 (amb_b, amb_a): New.
5477 (main): Call a and b.
5478 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
5479 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
5480 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
5481 New tests.
5482
8e3b41a9
JK
54832011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5484
5485 Implement basic support for DW_TAG_GNU_call_site.
5486 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
5487 * gdb.arch/amd64-entry-value.cc: New file.
5488 * gdb.arch/amd64-entry-value.exp: New file.
5489
181cebd4
JK
54902011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5491
5492 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
5493 * gdb.dwarf2/implptr-64bit.S: New file.
5494 * gdb.dwarf2/implptr-64bit.exp: New file.
5495
741f5e3c
JK
54962011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5497
5498 Fix initial language detection with -readnow.
5499 * gdb.cp/readnow-language.cc: New file.
5500 * gdb.cp/readnow-language.exp: New file.
5501
a73d2258
JK
55022011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5503
5504 Fix printed anonymous struct name.
5505 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
5506
af369495
JM
55072011-10-09 Joseph Myers <joseph@codesourcery.com>
5508
5509 * gdb.base/solib-symbol.exp: Do not include directories in
5510 filenames in expected messages.
5511
1fa57852
DE
55122011-10-07 Doug Evans <dje@google.com>
5513
5514 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
5515
bd054e06
KP
55162011-10-07 Kevin Pouget <kevin.pouget@st.com>
5517
5518 Allow Python notification of new object-file loadings.
5519 * gdb.python/py-events.exp: Test newobjfile event.
5520 * gdb.python/py-events.py: Register newobjfile callback.
5521 * gdb.python/py-events.c: Add call to shared library
5522 * gdb.python/py-events-shlib.c: New file.
5523
8031b6f8
JM
55242011-10-06 Joseph Myers <joseph@codesourcery.com>
5525
5526 * gdb.base/fixsection.exp: Do not include directories in filename
5527 in expected message.
5528
7fea6923
PM
55292011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5530
5531 Add tests for passing of environment variables to inferior.
5532 * gdb.base/testenv.c: New test source.
5533 * gdb.base/testenv.exp: New expect test.
5534
687f2a88
PK
55352011-10-04 Paul Koning <paul_koning@dell.com>
5536
5537 * gdb.python/py-value.c (main): Break before return.
5538
cb6be26b
KP
55392011-10-04 Kevin Pouget <kevin.pouget@st.com>
5540
5541 PR python/12691: Add the inferior to Python exited event
5542 * gdb.python/py-events.exp: Test the inferior attribute of exited
5543 event with a fork.
5544 * gdb.python/py-events.py: Print inferior number on exit.
5545 * gdb.python/py-events.c: Fork the inferior.
5546
fb213700
EBM
55472011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
5548
5549 * gdb.base/jit.exp: Add testcase name to log message
5550
aa2071bd
PK
55512011-10-03 Paul Koning <paul_koning@dell.com>
5552 Jan Kratochvil <jan.kratochvil@redhat.com>
5553
5554 * gdb.python/py-value.exp
5555 (python inval = gdb.parse_and_eval('*(int*)0'))
5556 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
5557 (set argc=2, python print argc_lazy): New tests.
5558
dd11a36c
JB
55592011-10-02 Joel Brobecker <brobecker@adacore.com>
5560
5561 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
5562
46f886f1
JK
55632011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5564 Pedro Alves <pedro@codesourcery.com>
5565
5566 * gdb.python/py-value.exp (test_value_in_inferior): New variable
5567 can_read_0, test for it.
5568 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
5569 (parse_and_eval with memory error): ... here, make it untested if
5570 can_read_0.
5571
c5cb204f
MP
55722011-09-30 Marek Polacek <mpolacek@redhat.com>
5573
5574 * gdb.python/python.exp (verify pagination beforehand)
5575 (verify pagination afterwards): Fix race by splitting the line.
5576
68fb0ec0
JM
55772011-09-29 Joseph Myers <joseph@codesourcery.com>
5578
5579 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
5580 for 64-bit multilibs from i?86-* targets.
5581
6aee0d90
MP
55822011-09-29 Marek Polacek <mpolacek@redhat.com>
5583
5584 * lib/gdb.exp: Fix a typo in one of the comments.
5585
e9101ff5
MP
55862011-09-29 Marek Polacek <mpolacek@redhat.com>
5587
5588 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
5589 matching pattern.
5590
7a81bdbf
PK
55912011-09-28 Paul Koning <paul_koning@dell.com>
5592
5593 * gdb.python/py-type.c (enum E): New.
5594 * gdb.python/py-type.exp (test_fields): Add tests for Python
5595 mapping access to fields.
5596 (test_enums): New test for field access on enums.
5597
6710bf39
SS
55982011-09-27 Stan Shebs <stan@codesourcery.com>
5599
5600 * gdb.trace/collection.exp: Test collection of $_ret.
5601
b2a6bdeb
AT
56022011-09-22 Andreas Tobler <andreast@fgznet.ch>
5603
5604 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
5605 list of compilation switches for <*-*-freebsd*>.
5606
3c9057f3
SS
56072011-09-19 Stan Shebs <stan@codesourcery.com>
5608
5609 * gdb.trace/tspeed.exp: New file.
5610 * gdb.trace/tspeed.c: New file.
5611
34518530
YQ
56122011-09-18 Yao Qi <yao@codesourcery.com>
5613
5614 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
5615 instructions.
5616 (test_adr_32bit, test_pop_pc): Likewise.
5617 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
5618 Thumb instructions.
5619 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
5620 in gdb_test_multiple.
5621 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
5622
ab254057
YQ
56232011-09-17 Yao Qi <yao@codesourcery.com>
5624
5625 * lib/gdb.exp (can_single_step_to_signal_handler): New.
5626 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
5627 support single step to signal handler.
5628
9c317b71
YQ
56292011-09-17 Yao Qi <yao@codesourcery.com>
5630
5631 * gdb.base/disp-step-fork.c: New.
5632 * gdb.base/disp-step-syscall.exp: New.
5633 * gdb.base/disp-step-vfork.c: New.
5634
a8123151
JB
56352011-09-16 Joel Brobecker <brobecker@adacore.com>
5636
5637 * gdb.ada/tasks.exp: Make the expected output for
5638 the `info tasks' tests more resilient to spacing
5639 changes.
5640
63a9aad8
JK
56412011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5642
5643 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
5644 (reached breakpoint 2, reached breakpoint 3): Update expected output.
5645
2aa48337
KP
56462011-09-15 Kevin Pouget <kevin.pouget@st.com>
5647
5648 PR Python/12692 Add gdb.selected_inferior() to Python interface.
5649 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
5650
6839b47f
KP
56512011-04-30 Kevin Pouget <kevin.pouget@st.com>
5652
5653 Handle multiple breakpoint hits in Python interface:
5654 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
5655 presence.
5656 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
5657 breakpoint hits.
5658
0935723e
JK
56592011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
5660 Jan Kratochvil <jan.kratochvil@redhat.com>
5661
5662 * gdb.python/py-events.exp: Remove pretty printing comment.
5663 * gdb.python/py-evsignal.exp: New file.
5664 * gdb.python/py-evthreads.c: Include signal.h.
5665 (thread3): Remove variable count3. Remove variable bad and use raise
5666 instead.
5667 (thread2): Remove variable count2. Move thread3 pthread_create here,
5668 merge pthread_join to a single line.
5669 (main): Remove variable count1. Merge pthread_join with pthread_create
5670 to a single line.
5671 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
5672 KFAIL python/12966 for gdbserver. Test return value of
5673 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
5674 gdb_expect by gdb_test and gdb_test_multiple.
5675 (thread 2, thread 3): New tests.
5676
4801a9a3
PA
56772011-09-12 Matt Rice <ratmice@gmail.com>
5678 Pedro Alves <pedro@codesourcery.com>
5679
5680 PR gdb/13175
5681
5682 * gdb.base/interp.exp: New tests.
5683 * gdb.base/interp.c: New file.
5684
24ece742
DE
56852011-09-12 Doug Evans <dje@google.com>
5686
5687 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
5688 * gdb.dwarf2/typeddwarf.exp: Ditto.
5689
7f062217
JK
56902011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5691
5692 Fix compatibility with x32 arch.
5693 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
5694 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
5695 is_x86_like_target.
5696 * testsuite/gdb.trace/collection.exp: Likewise.
5697 * testsuite/gdb.trace/report.exp: Likewise.
5698 * testsuite/gdb.trace/unavailable.exp: Likewise.
5699 * testsuite/gdb.trace/while-dyn.exp: Likewise.
5700 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
5701 (is_x86_like_target): Check also is_amd64_regs_target.
5702
08711b9a
JK
57032011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5704
5705 PR breakpoints/12435
5706 * gdb.arch/amd64-prologue-xmm.c: New file.
5707 * gdb.arch/amd64-prologue-xmm.exp: New file.
5708 * gdb.arch/amd64-prologue-xmm.s: New file.
5709
b99b5f66
JK
57102011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5711
5712 * gdb.dwarf2/dw2-param-error-main.c: New file.
5713 * gdb.dwarf2/dw2-param-error.S: New file.
5714 * gdb.dwarf2/dw2-param-error.exp: New file.
5715
a391a2f6
PA
57162011-09-08 Pedro Alves <pedro@codesourcery.com>
5717
5718 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
5719 inferior's pid and look for a core dump named core.$pid. Use
5720 `remote_file' commands on the host instead of hand coding shell
5721 commands on the build.
5722 * gdb.base/valgrind-db-attach.exp: Kill the program before
5723 finishing the test.
5724
7d8e6458 57252011-09-02 Matt Rice <ratmice@gmail.com>
5726
5727 * lib/prompt.exp: New file for testing the first prompt.
5728 * gdb.python/py-prompt.exp: Ditto.
5729 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
5730
68e77c9e
PA
57312011-09-02 Pedro Alves <pedro@codesourcery.com>
5732
5733 * gdb.threads/gcore-thread.exp: Set the global core_supported to
5734 0, before testing gcore.
5735
9655e943
JK
57362011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5737
df6dc84d
JK
5738 * dw2-ifort-parameter-debug.S: Update copyright year.
5739 * dw2-ifort-parameter.c: Update copyright year.
5740 * dw2-ifort-parameter.exp: Update copyright year.
5741
9655e943
JK
5742 * dw2-ifort-parameter-debug.S: New file.
5743 * dw2-ifort-parameter.c: New file.
5744 * dw2-ifort-parameter.exp: New file.
5745
353d1d73
JK
57462011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5747
5748 * gdb.base/commands.exp (error_clears_commands_left): New function.
5749 (): Call it.
5750
5c07461a
JK
57512011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5752
5753 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
5754 (C): Initialize `a'.
5755 * gdb.mi/mi-inheritance-syntax-error.exp
5756 (-data-evaluate-expression $path): Expect `a' as 5.
5757
0d932b2f
MK
57582011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
5759
5760 PR mi/11912
5761 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
5762 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
5763 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
5764 keyword in output of -var-info-path-expression.
5765
bdb54049
JK
57662011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5767
5768 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
5769 * gdb.trace/collection.exp: Likewise.
5770 * gdb.trace/report.exp: Likewise.
5771 * gdb.trace/unavailable.exp: Likewise.
5772 * gdb.trace/while-dyn.exp: Likewise.
5773
59cde39c
KS
57742011-08-18 Keith Seitz <keiths@redhat.com>
5775
5776 PR c++/12266
5777 * gdb.cp/meth-typedefs.cc: New file.
5778 * gdb.cp/meth-typedefs.exp: New file.
5779
fa3a4f15
PM
57802011-08-17 Phil Muldoon <pmuldoon@redhat.com>
5781
6fdff2c5 5782 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 5783
c1049fca
JK
57842011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5785
5786 * gdb.arch/i386-dr3-watch.exp
5787 (watchpoint on gap1 does not fit debug registers)
5788 (delete all watchpoints): Fix racy expect strings.
5789
d93f7b5c
YQ
57902011-08-14 Yao Qi <yao@codesourcery.com>
5791
5792 * gdb.base/maint.exp: set data_section to ".neardata".
5793 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
5794 * gdb.base/savedregs.exp: Handle SIGILL.
5795 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
5796 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
5797
457e09f0
DE
57982011-08-12 Doug Evans <dje@google.com>
5799
5800 * gdb.python/py-symbol.exp: Add test for symbol.type.
5801
5d0bb2fb
UW
58022011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
5803
5804 * gdb.threads/pthreads.exp: Enable on non-native configurations.
5805 * gdb.mi/mi-pthreads.exp: Likewise.
5806 * gdb.mi/mi2-pthreads.exp: Likewise.
5807 * gdb.mi/gdb669.exp.exp: Likewise.
5808
fcdfa280
PA
58092011-08-09 Pedro Alves <pedro@codesourcery.com>
5810
5811 * lib/mi-support.exp (detect_async): Rename to...
5812 (mi_detect_async): ... this.
5813 * gdb.mi/mi-nonstop-exit.exp: Adjust.
5814 * gdb.mi/mi-nonstop.exp: Adjust.
5815 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
5816 * gdb.mi/mi-nsintrall.exp: Adjust.
5817 * gdb.mi/mi-nsmoribund.exp: Adjust.
5818 * gdb.mi/mi-nsthrexec.exp: Adjust.
5819
9d8fa392
PA
58202011-08-09 Pedro Alves <pedro@codesourcery.com>
5821
5822 * gdb.base/display.c (do_loops): New `p_i' local.
5823 * gdb.base/display.exp: Test displaying a variable that is
5824 temporarily at a bad address.
5825
b6cede78
JK
58262011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5827
5828 * gdb.dwarf2/dw2-op-stack-value.S: New file.
5829 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
5830
67bedb8c
JK
58312011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5832
5833 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
5834 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
5835 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 5836
af6e93b2
PA
58372011-08-05 Pedro Alves <pedro@codesourcery.com>
5838
5839 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
5840 procedure.
5841 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
5842
1cf0e11f
YQ
58432011-08-05 Yao Qi <yao@codesourcery.com>
5844
5845 * gdb.base/callfuncs.exp: Set language after main.
5846 * gdb.cp/cplusfuncs.exp: Likewise.
5847 * gdb.cp/inherit.exp: Likewise.
5848
a1e28cb2
UW
58492011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
5850
5851 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
5852 * gdb.base/watch-vfork.exp: Skip on remote targets.
5853
d4f5bbb9
UW
58542011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
5855
5856 * gdb.threads/thread-find.exp: Support remote targets.
5857
724f4f80
UW
58582011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
5859
5860 * gdb.base/jit.exp: Download solib_binfile to target.
5861 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
5862 and call dlopen without full path name.
5863 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
5864 dlopen without full path name.
5865
934709f0
PW
58662011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5867
5868 * gdb.base/break-always.exp: Complete the test
5869 with duplicated breakpoints and enabling/disabling them.
5870
c26106c4
TT
58712011-08-02 Tom Tromey <tromey@redhat.com>
5872
5873 PR gdb/11289:
5874 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
5875
9300444e 58762011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
5877
5878 PR gdb/13045
5879 * gdb.base/float.exp: Add new test case for PR gdb/13045
5880 * gdb.base/float.c: New file.
5881
00bd41d6
PM
58822011-07-28 Phil Muldoon <pmuldoon@redhat.com>
5883
5884 * gdb.python/py-mi.exp: Test printers returning string hint, and
5885 also not returning a value.
5886 * gdb.python/py-prettyprint.c: Add testcase for above.
5887 * gdb.python/py-prettyprint.py: Add test printer for above.
5888
d24f74ce
JK
58892011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5890
5891 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
5892 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
5893 (.Ldie30) Add as field "data4".
5894 (.Ldie32) Rename field "b" to "shl".
5895 (abbrev4) Change for the "data4" field.
5896 (abbrev5, abbrev6) Remove.
5897 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
5898 (p &s.shl): ... here. Add comment.
5899 (p &s.data4): New.
5900
bb7da2bf
JK
59012011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5902
5903 Fix crash on lval_computed values.
5904 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
5905
11081198
JK
59062011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5907
5908 * gdb.base/help.exp (help whatis): Update the expected string.
5909
3c6e0cb3
JK
59102011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5911
5912 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
5913 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
5914 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5915 Change the expected string.
5916
efa80663
PA
59172011-07-26 Pedro Alves <pedro@codesourcery.com>
5918
5919 * gdb.base/watchpoint.exp
5920 (test_disable_enable_software_watchpoint): New procedure.
5921 (top level): Run it.
5922
db8e4570
UW
59232011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
5924
5925 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
5926 executable file "${binfile}", C++ version "${binfile}-cxx".
5927 * gdb.python/py-prettyprint.exp: Likewise.
5928 * gdb.python/py-symbol.exp: Likewise.
5929 * gdb.python/py-type.exp: Likewise.
5930 * gdb.python/py-value.exp: Likewise.
5931 * gdb.python/py-template.exp (test_template_arg): Pass full executable
5932 file name instead of just suffix.
5933
543305c9
JK
59342011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5935
5936 Fix implicit pointer offsets.
5937 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
5938 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
5939 (continue to breakpoint: continue to baz breakpoint for implptr)
5940 (sanity check element 0, sanity check element 1)
5941 (enter the inlined function, check element 0 for the offset)
5942 (check element 1 for the offset)
5943 (continue to breakpoint: ignore the second baz breakpoint): New tests.
5944 (set foo breakpoint for implptr): Update the breakpoint number.
5945
b3215adc
UW
59462011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5947
5948 * gdb.python/py-mi.exp: Use different file names for different
5949 versions of the executable under test.
5950 * gdb.python/py-prettyprint.exp: Likewise.
5951 * gdb.python/py-symbol.exp: Likewise.
5952 * gdb.python/py-template.exp: Likewise.
5953 * gdb.python/py-type.exp: Likewise.
5954 * gdb.python/py-value.exp: Likewise.
5955
182b9acc
UW
59562011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5957
5958 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
5959 flag after restarting GDB if necessary.
5960
e6052b5d
UW
59612011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5962
5963 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
5964
1ced966e
PA
59652011-07-22 Pedro Alves <pedro@codesourcery.com>
5966
5967 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
5968 backend doesn't leave used debug registers behind.
5969
3543a589
TT
59702011-07-22 Tom Tromey <tromey@redhat.com>
5971
5972 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
5973 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
5974 argument.
5975 * gdb.dwarf2/typeddwarf-amd64.S: New file.
5976
14d15303 59772011-07-21 Matt Rice <ratmice@gmail.com>
5978
5979 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
5980 in mostlyclean rule. Add files ending in .core.
5981
9b158ba0 59822011-07-21 Matt Rice <ratmice@gmail.com>
5983
5984 PR macros/12999
5985 * gdb.base/info-macros.c: New test sources.
5986 * gdb.base/info-macros.exp: New tests.
5987
d17b6f81
PM
59882011-07-21 Phil Muldoon <pmuldoon@redhat.com>
5989
5990 * gdb.python/python.exp: Add prompt substitution tests.
5991
918dd910
JK
59922011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5993
5994 Fix crash if referenced CU is aged out.
5995 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
5996 New.
5997 * gdb.dwarf2/implptr.exp: Likewise.
5998
0e37a63c
JK
59992011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6000
6001 * gdb.dwarf2/implptr.S: Rebuilt.
6002 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
6003 (bar): Use them for j, k, l.
6004 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
6005 COMPILE.
6006 (print j in implptr:bar): Update for the intp typedef.
6007 (print p[0].x in implptr:foo): Use more exact regex.
6008
f65cf84c
TT
60092011-07-18 Tom Tromey <tromey@redhat.com>
6010
6011 * gdb.cp/static-method.exp: Add missing single quote.
6012
d5b4a7be
YQ
60132011-07-18 Yao Qi <yao@codesourcery.com>
6014
6015 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
6016 supported.
6017 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6018 * gdb.mi/mi-nonstop.exp: Likewise.
6019 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6020 * gdb.mi/mi-nsintrall.exp: Likewise.
6021 * gdb.mi/mi-nsmoribund.exp: Likewise.
6022 * gdb.mi/mi-nsthrexec.exp: Likewise.
6023 * gdb.python/py-evthreads.exp: Likewise.
6024
e9ea2662
JK
60252011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6026
6027 Code cleanup.
6028 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
6029 it. Substitute it instead of test_compiler_info everywhere.
6030
ce451573
UW
60312011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6032
6033 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
6034 remote targets as well.
6035
756d88a7
UW
60362011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6037
6038 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
6039 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
6040
31f83dc5
UW
60412011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6042
6043 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
6044 a remote machine, not the host.
6045 (gdb_compile_shlib): Set soname if target is remote.
6046
059241a0
PP
60472011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6048
6049 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
6050
28a0b48c 60512011-07-13 Matt Rice <ratmice@gmail.com>
6052
6053 * gdb.python/py-objfile-script-gdb.py: Renamed to
6054 py-objfile-script-gdb.py.in.
6055 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
6056 py-objfile-script-gdb.py.
6057 * gdb.python/py-objfile-script.exp: Update reference to
6058 py-objfile-script-gdb.py.
6059
9a771b67
JK
60602011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6061
6062 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
6063 reference undefined label.
6064
04ad99e6
JK
60652011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6066
6067 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
6068 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
6069 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6070 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
6071
713389e0
PM
60722011-07-11 Phil Muldoon <pmuldoon@redhat.com>
6073
6fdff2c5 6074 PR python/12438
713389e0 6075 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 6076 deprecated tests. Add set/show python print-backtrace tests.
713389e0 6077
97d146f8
JK
60782011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6079
6080 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
6081 debug info.
6082
facde0e5 60832011-07-06 Matt Rice <ratmice@gmail.com>
6084
6085 * gdb.python/python.exp: Update filename paths.
6086 * gdb.python/py-symtab.exp: Ditto.
6087
438640d1
MP
60882011-07-06 Marek Polacek <mpolacek@redhat.com>
6089
6090 * gdb.python/py-evthreads.exp: Add missing `$'.
6091
33a365df
MF
60922011-07-06 Jie Zhang <jie.zhang@analog.com>
6093
6094 * config/bfin.exp: New file.
6095 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
6096 * gdb.asm/bfin.inc: New file.
6097
8f7ae686
MP
60982011-07-06 Marek Polacek <mpolacek@redhat.com>
6099
df46027d 6100 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
6101 the whole output.
6102
eb2a6f42
TT
61032011-07-05 Tom Tromey <tromey@redhat.com>
6104
6105 * gdb.java/jprint.java (jprint.hi): New field.
6106 * gdb.java/jprint.exp: Print string.
6107
177b42fe
TJB
61082011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
6109
6110 * gdb.base/call-sc.c: Fix typos.
6111 * gdb.base/ifelse.exp: Likewise.
6112 * gdb.base/structs.c: Likewise.
6113
3b2a0cf2
JB
61142011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6115
6116 * gdb.base/jit-so.exp: New test.
6117 * gdb.base/jit-dlmain.c: New file.
6118 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
6119
46fc714c
JK
61202011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6121
6122 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
6123 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
6124 * gdb.cp/pr9167.exp (p b): Likewise.
6125 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
6126 (test value of P in inner_m, test type of Z in inner_m): Call
6127 setup_xfail for gcc <= 4.5.
46fc714c 6128
418c7cf7
JK
61292011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6130
6131 * gdb.cp/paren-type.cc: New files.
6132 * gdb.cp/paren-type.exp: New files.
6133
3d50dd94
JK
61342011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6135
6136 Stop on first linespec terminator instead of eating what we can.
6137 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
6138 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
6139 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
6140 (break C::f()): ... this one.
6141 (break C::operator()()): New test.
6142 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
6143 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
6144 test.
6145
dcf9f4ab
JK
61462011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6147
6148 Fall back linespec to minimal symbols.
6149 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
6150 error message.
6151 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
6152 * gdb.cp/minsym-fallback-main.cc: New file.
6153 * gdb.cp/minsym-fallback.cc: New file.
6154 * gdb.cp/minsym-fallback.exp: New file.
6155 * gdb.cp/minsym-fallback.h: New file.
6156
3f542ed1
JK
61572011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6158
6159 * gdb.cp/no-dmgl-verbose.cc: New file.
6160 * gdb.cp/no-dmgl-verbose.exp: New file.
6161
61622011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
6163
6164 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
6165 __GI_.
6166 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
6167 (f): New function.
6168 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
6169 (complete p 'func<short>(): ... here.
6170 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
6171 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
6172 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
6173 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
6174 Make them KFAIL gcc/49546.
6175
00eb2c4a
JB
61762011-07-01 Joel Brobecker <brobecker@adacore.com>
6177
6178 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
6179
85a20c42
JK
61802011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6181
6182 Test GCC PR debug/49546.
6183 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
6184 (test type of F in k3_m, test value of F in k3_m): New.
6185 * gdb.cp/temargs.cc (struct S3, struct K3): New.
6186 (main): New variable k3. Call k3.k3_m.
6187
d2d43431
JB
61882011-07-01 Jean-Charles Delay <delay@adacore.com>
6189
6190 * gdb.ada/packed_array.exp: Fix expected outout.
6191
54ae186f
JB
61922011-07-01 Jean-Charles Delay <delay@adacore.com>
6193
6194 * gdb.ada/packed_array.exp: fixed expected output.
6195
8f17729f
JB
61962011-07-01 Joel Brobecker <brobecker@adacore.com>
6197
6198 * gdb.ada/same_enum: New testcase.
6199
f5aa6869
JB
62002011-07-01 Joel Brobecker <brobecker@adacore.com>
6201
6202 * gdb.ada/ptr_typedef: New testcase.
6203
828292f2
JB
62042011-07-01 Joel Brobecker <brobecker@adacore.com>
6205
6206 * gdb.ada/arrayptr.exp: Add ptype test.
6207
18920c42
JB
62082011-07-01 Joel Brobecker <brobecker@adacore.com>
6209
6210 * gdb.ada/char_enum: New testcase.
6211
3536d9e3 62122011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
6213
6214 * gdb.base/dump.exp (capture_pointer_with_type): New.
6215 Get value from address instead of name.
6216 Start GDB once, and do `dump' and `restore'
6217 tests together.
6218
db863c42
MF
62192011-06-30 Jie Zhang <jie.zhang@analog.com>
6220 Mike Frysinger <vapier@gentoo.org>
6221
6222 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
6223 helper functions for getting/setting remotetimeout variable.
6224 * lib/gdb.exp (gdb_load): If the target is remote, set
6225 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
6226 with $loadtimeout. Set $load_ok to 0 before doing the load.
6227 Instead of returning, immediately, set $load_ok to 0. Call
6228 set_remotetimeout with $oldremotetimeout, and then return if
6229 $load_ok is 1.
6230
e9e642a8
AB
62312011-06-30 Andrew Burgess <aburgess@broadcom.com>
6232
6233 * gdb.python/py-template.exp: Don't run this test if the target
6234 does not support c++ tests.
6235
32019081
JK
62362011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6237
6238 Fix non-only rename list for Fortran modules import.
6239 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
6240 tests.
6241 * gdb.fortran/module.f90 (module moduse): New.
6242 (program module): use moduse, test var_x, var_y and var_z.
6243
0ecee54c
TT
62442011-06-29 Tom Tromey <tromey@redhat.com>
6245
6246 PR testsuite/12040:
6247 * gdb.fortran/array-element.exp: Use f90, not f77.
6248 * gdb.fortran/complex.exp: Use f90, not f77.
6249 * gdb.fortran/derived-type.exp: Use f90, not f77.
6250 * gdb.fortran/library-module.exp: Use f90, not f77.
6251 * gdb.fortran/logical.exp: Use f90, not f77.
6252 * gdb.fortran/module.exp: Use f90, not f77.
6253 * gdb.fortran/multi-dim.exp: Use f90, not f77.
6254 * gdb.fortran/subarray.exp: Use f90, not f77.
6255
3b2b8fea
TT
62562011-06-29 Tom Tromey <tromey@redhat.com>
6257
6258 * gdb.fortran/charset.exp: New file.
6259 * gdb.fortran/charset.f90: New file.
6260
42159ca5
TT
62612011-06-29 Tom Tromey <tromey@redhat.com>
6262
6263 PR testsuite/12040:
6264 * lib/future.exp: New file, mostly extracted from ada.exp.
6265 Rewrote compatibility code to use rename.
6266 (gdb_find_gfortran): New proc.
6267 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
6268 gfortran patch.
6269 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
6270 Move to future.exp.
6271 * lib/gdb.exp: Always load future.exp.
6272
af69a5ce
YQ
62732011-06-28 Yao Qi <yao@codesourcery.com>
6274
6275 * gdb.cp/exception.cc: Don't include iostream.
6276 (bar): Remove print statement.
6277 (catcher): New.
6278 (main): Remove print statements. Call function catcher.
6279 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
6280 Set breakpoint on catcher, and check the value of parameter.
6281
ab5c6a72
YQ
62822011-06-23 Yao Qi <yao@codesourcery.com>
6283
6fdff2c5
PA
6284 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
6285 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 6286
9497469f
MP
62872011-06-23 Marek Polacek <mpolacek@redhat.com>
6288
6289 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
6290 mi_gdb_test.
6291
b9132588
MP
62922011-06-23 Marek Polacek <mpolacek@redhat.com>
6293
5d197ed0 6294 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 6295
e55595ca
MP
62962011-06-23 Marek Polacek <mpolacek@redhat.com>
6297
5d197ed0
MP
6298 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
6299
63002011-06-23 Marek Polacek <mpolacek@redhat.com>
6301
6302 * gdb.mi/mi2-basics.exp: Fix races. Honour the
6303 `test_exec_and_symbol_mi_operatons' return value.
6304 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6305 gdb_test_multiple.
6306 (test_exec_and_symbol_mi_operatons): Likewise.
6307 (test_path_specification): Likewise.
e55595ca 6308
be777e08
YQ
63092011-06-23 Yao Qi <yao@codesourcery.com>
6310
6311 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
6312 supported.
6313 * lib/gdb.exp (support_displaced_stepping): New.
6314
615556d6
YQ
63152011-06-23 Yao Qi <yao@codesourcery.com>
6316
6317 * gdb.threads/execl.exp: Skip on remote target.
6318
833b0ca7
MP
63192011-06-21 Marek Polacek <mpolacek@redhat.com>
6320
5d197ed0 6321 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
6322 mi_gdb_test.
6323
1ee4023a
MP
63242011-06-20 Marek Polacek <mpolacek@redhat.com>
6325
5d197ed0 6326 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 6327
d0b1d624
MP
63282011-06-20 Marek Polacek <mpolacek@redhat.com>
6329
5d197ed0 6330 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
6331 mi_gdb_test.
6332
79aa92c1
MP
63332011-06-20 Marek Polacek <mpolacek@redhat.com>
6334
5d197ed0 6335 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 6336
5ce5db06
YQ
63372011-06-14 Yao Qi <yao@codesourcery.com>
6338
6339 gdb/testsuite/
6340 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
6341
533a737e
JK
63422011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6343
6344 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
6345
d0e53741
TT
63462011-06-10 Tom Tromey <tromey@redhat.com>
6347
6348 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
6349 Add tests for pointer-to-member-function.
6350 * gdb.cp/temargs.cc (S::somefunc): New function.
6351 (K2): New class.
6352 (main): Instantiate K2; call method.
6353
b5916bbd
JB
63542011-06-08 Joel Brobecker <brobecker@adacore.com>
6355
6356 * gdb.python/py-inferior.c (f2): Make str an array rather
6357 than a pointer.
6358 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
6359
5be4dfca
JK
63602011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6361
6362 * gdb.base/async-shell.c: New file.
6363 * gdb.base/async-shell.exp: New file.
6364
9f47e254
PA
63652011-06-06 Pedro Alves <pedro@codesourcery.com>
6366
6367 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
6368
64b9b334
JB
63692011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
6370
6371 From Stephen Kitt <steve@sk2.org>
6372 * gdb.base/help.exp: Adjust following some spelling corrections
6373 in GDB.
6374
dbc0f131
YQ
63752011-06-01 Yao Qi <yao@codesourcery.com>
6376
6377 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
6378
fd336a18
KS
63792010-05-31 Keith Seitz <keiths@redhat.com>
6380
6381 PR c++/12750
6382 * gdb.cp/static-method.cc: New file.
6383 * gdb.cp/static-method.exp: New file.
6384
fa8b9902
KS
63852010-05-31 Keith Seitz <keiths@redhat.com>
6386
6387 PR symtab/12704
6388 * gdb.cp/anon-ns.cc: New file.
6389 * gdb.cp/anon-ns.exp: New file.
6390
0a5b1e09
PA
63912011-05-31 Pedro Alves <pedro@codesourcery.com>
6392
6393 * gdb.arch/i386-dr3-watch.c: New file.
6394 * gdb.arch/i386-dr3-watch.exp: New file.
6395
0578b8d1
YQ
63962011-05-30 Yao Qi <yao@codesourcery.com>
6397
6398 * gdb.base/callfuncs.c (t_structs_fc): New.
6399 (t_structs_dc, t_structs_ldc): New.
6400 (t_double_many_args):
6401 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
6402 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
6403 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
6404 * gdb.base/callfuncs.exp: Call new functions.
6405
6680506e
YQ
64062011-05-30 Yao Qi <yao@codesourcery.com>
6407
ff4d2c60
YQ
6408 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
6409 Call rerun_and_prepare for each test to isolate effects.
6410
64112011-05-30 Yao Qi <yao@codesourcery.com>
6412
6413 * gdb.base/varargs.c (find_max_float_real): New.
6414 (find_max_double_real, find_max_long_double_real): New.
6415 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
6416 * lib/gdb.exp (setup_kfail_for_target): New.
6417
e43ec454
YQ
64182011-05-30 Yao Qi <yao@codesourcery.com>
6419
6420 * gdb.base/funcargs.c (callca, callcb, callcc): New.
6421 (callcd, callce, callcf, callc1a, callc1b): New.
6422 (callc2a, callc2b): New.
6423 * gdb.base/funcargs.exp (complex_args): New.
6424 (complex_integral_args, complex_float_integral_args): New.
6425 * lib/gdb.exp (support_complex_tests): New. Determine
6426 whether to run test cases on _Complex types.
6427
432b4d03
JK
64282011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6429
6430 * gdb.threads/leader-exit.c: New file.
6431 * gdb.threads/leader-exit.exp: New file.
6432
6caf069d
MP
64332011-05-27 Marek Polacek <mpolacek@redhat.com>
6434
9497469f 6435 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 6436
97fce28b
MP
64372011-05-27 Marek Polacek <mpolacek@redhat.com>
6438
6439 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
6440 remove the `supported' variable.
6441 * gdb.mi/mi-nonstop.exp: Likewise.
6442 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6443 * gdb.mi/mi-nsintrall.exp: Likewise.
6444 * gdb.mi/mi-nsmoribund.exp: Likewise.
6445 * gdb.mi/mi-nsthrexec.exp: Likewise.
6446
9da8c2a0
PA
64472011-05-26 Pedro Alves <pedro@codesourcery.com>
6448
6449 * gdb.reverse/finish-reverse-bkpt.exp: New test.
6450
2c03e5be
PA
64512011-05-26 Pedro Alves <pedro@codesourcery.com>
6452
6453 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
6454
2e21250d
KS
64552011-05-24 Keith Seitz <keiths@redhat.com>
6456
6457 PR breakpoint/12803
6458 * gdb.cp/cmpd-minsyms.cc (a): New method.
6459 (b): New method.
6460 (c): New method.
6461 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
6462
cdac0397
PA
64632011-05-24 Pedro Alves <pedro@codesourcery.com>
6464
6465 * gdb.base/commands.exp (watchpoint_command_test): Check that the
6466 watchpoint's command list didn't execute when the watchpoint went
6467 out of scope.
6468
ee5683ab
PM
64692011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
6470
6471 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
6472 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
6473 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
6474 * gdb.arch/i386-gnu-cfi.exp: Likewise.
6475 * gdb.arch/i386-permbkpt.exp: Likewise.
6476 * gdb.arch/i386-prologue.exp: Likewise.
6477 * gdb.arch/i386-size-overlap.exp: Likewise.
6478 * gdb.arch/i386-size.exp: Likewise.
6479 * gdb.arch/i386-unwind.exp: Likewise.
6480 * gdb.reverse/i386-precsave.exp: Likewise.
6481 * gdb.reverse/i386-reverse.exp: Likewise.
6482 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6483 * gdb.reverse/i387-env-reverse.exp: Likewise.
6484 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6485
c91c8c16
PA
64862011-05-24 Pedro Alves <pedro@codesourcery.com>
6487
6488 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
6489 file doesn't error, using MI.
6490
c50491a7
TT
64912011-05-23 Tom Tromey <tromey@redhat.com>
6492
6493 * gdb.base/charset.exp (string_display): Add tests to assign to
6494 arrays.
6495 * gdb.base/charset.c (short_array, int_array, long_array): New.
6496
4a07b7da
PA
64972011-05-20 Pedro Alves <pedro@codesourcery.com>
6498
6499 Cope with async mode.
6500
4a07b7da
PA
6501 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
6502 into gdb_test + mi_expect_stop.
6503
b275f2d2
PA
65042011-05-20 Pedro Alves <pedro@codesourcery.com>
6505
6506 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
6507 (callme): Remove printf call.
6508
eec52c44
PM
65092011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
6510
6511 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
6512 quote pattern to avoid problems with Cygwin/mingw expect versions.
6513 * gdb.base/default.exp (show convenience): Use double
6514 quote pattern for regular expressions.
6515
b3c8eb43
JK
65162011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6517
6518 Fix -readnow for -gdwarf-4 unused type units.
6519 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
6520 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
6521
ed731959
JK
65222011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6523
6524 * gdb.base/kill-after-signal.c: New file.
6525 * gdb.base/kill-after-signal.exp: New file.
6526
3b48433d
PA
65272011-05-16 Pedro Alves <pedro@codesourcery.com>
6528
6529 * gdb.ada/start.exp: Call untested with the correct test filename.
6530 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
6531 test filename. Make the test's binary unique.
6532 * gdb.arch/i386-signal.exp: Call untested with the correct test
6533 filename.
6534 * gdb.arch/i386-size-overlap.exp: Ditto.
6535 * gdb.arch/Makefile.in (EXECUTABLES): Update.
6536 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6537 * gdb.cp/call-c.exp: Ditto.
6538 * gdb.mi/mi-reverse.exp: Call untested with the correct test
6539 filename. Make the test's binary unique.
6540 * gdb.mi/Makefile.in (EXECUTABLES): Update.
6541 * gdb.python/py-mi.exp: Ditto.
6542 * gdb.python/Makefile.in (EXECUTABLES): Update.
6543 * gdb.reverse/i386-precsave.exp: Ditto.
6544 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
6545 test filename.
6546 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6547 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
6548 unique.
6549 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
6550 test filename.
6551 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
6552 * gdb.trace/tfile.exp: Ditto.
6553
ba4a8bdd
YQ
65542011-05-14 Yao Qi <yao@codesourcery.com>
6555
6556 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
6557 type.
6558
dbaefcf7
DE
65592011-05-13 Doug Evans <dje@google.com>
6560
6561 * gdb.python/py-objfile-script.exp: New file.
6562 * gdb.python/py-objfile-script.c: New file.
6563 * gdb.python/py-objfile-script-gdb.py: New file.
6564 * testsuite/gdb.python/py-section-script.exp: Test
6565 "info auto-load-scripts".
6566
9930639c
TT
65672011-05-13 Tom Tromey <tromey@redhat.com>
6568
6569 * gdb.dwarf2/clztest.exp: New file.
6570 * gdb.dwarf2/clztest.c: New file.
6571 * gdb.dwarf2/clztest.S: New file.
6572
05272e11
DE
65732011-05-13 Doug Evans <dje@google.com>
6574
cc63ef9b
DE
6575 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
6576 String16 tests.
05272e11 6577
6edba76f
TT
65782011-05-13 Tom Tromey <tromey@redhat.com>
6579
6580 * lib/gdb.exp (is_x86_like_target): New proc.
6581 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
6582 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
6583 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
6584 -nostdlib to compiler.
6585 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
6586 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
6587 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
6588 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
6589 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
6590
028d0ed5
TJB
65912011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
6592
6593 * gdb.python/py-function.exp: Test setting a value from a function
6594 which executes a command.
6595
8a9b8146
TT
65962011-05-12 Tom Tromey <tromey@redhat.com>
6597
6598 * gdb.dwarf2/typeddwarf.S: New file.
6599 * gdb.dwarf2/typeddwarf.c: New file.
6600 * gdb.dwarf2/typeddwarf.exp: New file.
6601
10483e8e
MP
66022011-05-12 Marek Polacek <mpolacek@redhat.com>
6603
6604 * gdb.mi/mi-basics.exp: Fix races. Honour the
6605 `test_exec_and_symbol_mi_operatons' return value.
6606 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6607 gdb_test_multiple.
6608 (test_exec_and_symbol_mi_operatons): Likewise.
6609 (test_path_specification): Likewise.
6610
faf067f1
JK
66112011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6612
6613 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
6614 (gdb_touch_execfile): Remove catch wrappers. New variable time.
6615 Replace `file copy' and `file rename' by `file mtime'. Twice.
6616
7ff911a3
JK
66172011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6618
6619 * gdb.base/readline-ask.c: New file.
6620 * gdb.base/readline-ask.exp: New file.
6621 * gdb.base/readline-ask.inputrc: New file.
6622
a536c6d7
UW
66232011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
6624
6625 * gdb.cell/bt.exp: Delete breakpoints before running to signal
6626 to avoid race condition.
6627 * gdb.cell/coremaker.c: Use small stack size.
6628 * gdb.cell/ea-standalone.exp: Use file name without path as
6629 argument to c_to.
6630 * gdb.cell/fork.exp: Allow other output when continuing to end.
6631
d472a426
JK
66322011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6633
6634 * gdb.threads/corethreads.c: New file.
6635 * gdb.threads/corethreads.exp: New file.
6636
66372011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
6638
6639 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
6640 Try to compile the test using -Wl,-z,norelro first.
6641 (load_core): New variable libthread_db_seen, initialize it.
6642 (zeroed-threads cannot be listed): Protect it by XFAIL on
6643 !$libthread_db_seen.
6644
8be455d7
JK
66452011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6646
6647 PR 12573
6648 * gdb.dwarf2/dw2-skip-prologue.S: New file.
6649 * gdb.dwarf2/dw2-skip-prologue.c: New file.
6650 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
6651
1976171a
JK
66522011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6653
6654 * gdb.cp/psymtab-parameter.cc: New file.
6655 * gdb.cp/psymtab-parameter.exp: New file.
6656
7db6f30f
JK
66572011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6658
6659 Fix a race.
6660 * gdb.cp/static-print-quit.exp (print c): Split to ...
6661 (print c - <return>, print c - q <return>, print c - to quit):
6662 ... these. Make the testfile untested on gdb-7.1.
6663
85161e9e 66642011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
6665
6666 * lib/gdb.exp (exec_target_file, exec_symbol_file,
6667 gdb_rename_execfile, gdb_touch_execfile): New.
6668 * gdb.base/reread.exp: Use new procs to handle multiple
6669 exec files.
6670
0c51be18
YQ
66712011-05-05 Yao Qi <yao@codesourcery.com>
6672
6673 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
6674 (test_adr_32bit, test_pop_pc): New.
6675 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
6676 (test_adr_32bit, test_pop_pc): New.
6677
4d393d60
JM
66782011-05-04 Joseph Myers <joseph@codesourcery.com>
6679
6680 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
6681 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
6682 targets.
6683 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
6684 handle targets.
6685
8ffd0459
JK
66862011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6687
6688 * gdb.base/completion.exp (complete help info wat): Rename to ...
6689 (complete 'help info wat'): ... here.
6690 Remove all `-re ".*' and `-re "^.*' redundant regexes.
6691 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
6692
8e28d804
PA
66932011-05-04 Pedro Alves <pedro@codesourcery.com>
6694
6695 * gdb.base/completion.exp: Use gdb_test_multiple instead of
6696 gdb_test and explicit $gdb_prompt/timeout matches.
6697
3eb2ef34
YQ
66982011-05-04 Yao Qi <yao@codesourcery.com>
6699
6700 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
6701 and __thumb2__.
6702
aaaf81a3
MP
67032011-05-03 Marek Polacek <mpolacek@redhat.com>
6704
6705 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
6706 in place of `gdb_test "delete breakpoints"'. This eliminates two
6707 testcases.
6708
c4cbc0df
PA
67092011-05-02 Pedro Alves <pedro@codesourcery.com>
6710
6711 PR testsuite/12649
6712 Fix races.
6713
6714 * gdb.base/completion.exp: Remove all sleep calls. Remove
6715 unnecessary regexs. Don't explicitly expect anything after the
6716 prompt. Eat the prompt if necessary.
6717
b4cbb4a3
EBM
67182011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6719
6720 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
6721 accept to show the caller line again as well as the line after.
6722
d65aec65
PM
67232011-04-29 Phil Muldoon <pmuldoon@redhat.com>
6724
6725 PR mi/12531
6726
6727 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
6728 compile target.
6729 * gdb.python/py-prettyprint.exp: Add C++ object for
6730 CPLUS_FAKE_CHILD test.
6731
30852783
UW
67322011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
6733
6734 * gdb.base/signest.exp: New file.
6735 * gdb.base/signest.c: Likewise.
6736
c7b1f0d9
JK
67372011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6738
6739 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
6740 thread and breakpoint notifications.
6741
559a7a62
JK
67422011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6743
6744 * gdb.base/fortran-sym-case.c: New file.
6745 * gdb.base/fortran-sym-case.exp: New file.
6746 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
6747 * gdb.dwarf2/dw2-case-insensitive.c: New file.
6748 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
6749
8344e389
JK
67502011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6751
6752 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
6753 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
6754 false #1', `if true else false #2' and `if true else false #3'.
6755
2484c66b
UW
67562011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
6757
6758 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
6759 while delivering signal.
6760
8d3788bd
VP
67612011-04-27 Vladimir Prus <vladimir@codesourcery.com>
6762
6763 MI breakpoint notifications.
6764
6765 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
6766 * testsuite/gdb.mi/mi2-cli.exp: Adust.
6767 * testsuite/gdb.mi/mi-watch.exp: Adust.
6768 * testsuite/gdb.mi/mi2-watch.exp: Adust.
6769 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
6770 notifications.
8d3788bd 6771
3e03848b
JK
67722011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6773
6774 * gdb.base/gdbindex-stabs-dwarf.c: New file.
6775 * gdb.base/gdbindex-stabs.c: New file.
6776 * gdb.base/gdbindex-stabs.exp: New file.
6777
918c9108
YQ
67782011-04-25 Yao Qi <yao@codesourcery.com>
6779
6780 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
6781 with /*...*/.
6782 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
6783
90556b8c
JK
67842011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6785
6786 * gdb.python/py-value.exp (test_objfiles): Name the first test
6787 `py-value in file.filename'.
6788
03f2bd59
JK
67892011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6790
6791 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
6792 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
6793 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
6794 !gdbserver_reconnect_p..
6795 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
6796
7b08b9eb
JK
67972011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6798
6799 * gdb.cp/cpcompletion.exp (complete class methods)
6800 (complete class methods beginning with F): Move them above runto. New
6801 comment about the runto delimiter.
6802
b78974c3
PA
68032011-04-20 Pedro Alves <pedro@codesourcery.com>
6804
6805 * gdb.base/maint.exp: Test that "maint print registers" works
6806 without a running program.
6807
20429c40 68082011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 6809
20429c40
MP
6810 * gdb.base/setshow.exp: Fix racy tests.
6811 ($old_gdb_prompt): New variable.
6812
7a9dd1b2
TT
68132011-04-19 Tom Tromey <tromey@redhat.com>
6814
6815 * gdb.mi/mi-nsmoribund.exp:
6816 * gdb.hp/gdb.objdbg/objdbg01.exp:
6817 * gdb.base/structs.exp (test_struct_returns):
6818 * gdb.base/call-sc.exp (test_scalar_returns):
6819 * gdb.base/bigcore.exp: Remove duplicate words.
6820
02835898
JK
68212011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6822
6823 * gdb.base/break-interp-lib.c (v, vptr): New variables.
6824 * gdb.base/break-interp.exp (test_attach): New comment.
6825
254f582e
JK
68262011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6827
6828 * gdb.threads/gcore-thread.exp ($core0file): New variable.
6829 (clear __stack_user.next, clear stack_used.next)
6830 (save a zeroed-threads corefile): New test.
6831 Call core_load for $core0file.
6832 (zeroed-threads cannot be listed): New test.
6833
4fe85f5c
JK
68342011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6835
6836 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
6837 filename.
6838 ($srcfile): Preserve the original value.
6839 ($testfile): Match it the .exp filename.
6840 ($corefile): New variable. Substitute it around.
6841 Use clean_restart.
6842 ($prev_timeout): Remove.
6843 (load_core): Move core loading into this proc.
6844 Fix restore of $timeout if load_core fails.
6845
63524580
JK
68462011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6847
6848 * gdb.base/eu-strip-infcall.c: New file.
6849 * gdb.base/eu-strip-infcall.exp: New file.
6850
90359a16
JK
68512011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6852
6853 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
6854 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
6855
626e7282
JK
68562011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6857
6858 Fix Python access to inlined frames.
6859 * gdb.python/py-frame-inline.c: New file.
6860 * gdb.python/py-frame-inline.exp: New file.
6861
3363d018
EBM
68622011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
6863
6864 * gdb.base/gdb1090.exp: Change breakpoint location to read the
6865 content of 's24' correctly (avoiding "optimized out").
6866 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
6867
28781456
JK
68682011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6869
6870 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
6871
4a4106ca
TJB
68722011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
6873
6874 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
6875 expect a colon in watch -location output.
6876
d26ccb4f
JK
68772011-04-13 Marek Polacek <mpolacek@redhat.com>
6878
df46027d 6879 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
6880 New testcase `expect response to define backtrace'. Also remove
6881 redundant `default' block.
6882
e1ab1f9c
JK
68832011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6884
6885 * gdb.python/py-prettyprint.c (struct hint_error): New.
6886 (main): New variable hint_error.
6887 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
6888 "print hint_error".
6889 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
6890 (register_pretty_printers): Register it.
6891
0c2e6019
TT
68922011-04-04 Tom Tromey <tromey@redhat.com>
6893
6894 * gdb.cp/maint.exp (test_help): Update.
6895 (test_namespace): Likewise.
6896
af57139d
JB
68972011-04-01 Joel Brobecker <brobecker@adacore.com>
6898
6899 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
6900 * gdb.ada/arrayptr.exp: Add new tests.
6901
956a9fb9
JB
69022011-04-01 Joel Brobecker <brobecker@adacore.com>
6903
6904 * gdb.ada/mi_catch_ex: New testcase.
6905
d0c4d642
PA
69062011-04-01 Pedro Alves <pedro@codesourcery.com>
6907
6908 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
6909 base::overload(void) method without specifying "const".
6910
18819fa6
UW
69112011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
6912
6913 * gdb.arch/thumb-singlestep.S: New file.
6914 * gdb.arch/thumb-singlestep.exp: Likewise.
6915
a4c8e806
TT
69162011-03-31 Tom Tromey <tromey@redhat.com>
6917
6918 * gdb.python/py-prettyprint.py (exception_flag): New global.
6919 (NoStringContainerPrinter._iterator.next): Check it.
6920 * gdb.python/py-prettyprint.c (main): New variable nstype2.
6921 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
6922
53832f31
TT
69232011-03-29 Tom Tromey <tromey@redhat.com>
6924
6925 * gdb.cp/anon-struct.cc: New file.
6926 * gdb.cp/anon-struct.exp: New file.
6927
e4620230
JK
69282011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6929
6930 Test STT_GNU_IFUNC support.
6931 * gdb.base/gnu-ifunc-lib.c: New file.
6932 * gdb.base/gnu-ifunc.c: New file.
6933 * gdb.base/gnu-ifunc.exp: New file.
6934
d0fb5eae
JK
69352011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6936
6937 Support a ring of related breakpoints.
6938 * gdb.base/watchpoint-delete.c: New file.
6939 * gdb.base/watchpoint-delete.exp: New file.
6940
20106cfb
JK
69412011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6942
6943 * gdb.ada/arrayparam.exp (print first after function call): Use
6944 explicit package name. Add a comment
6945 (print lasta after function call): Rename ...
6946 (print last after function call): ... it and use explicit package
6947 name.
6948 (print length after function call): Use explicit package name.
6949 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
6950 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
6951 (multiple matches for symbol i): Rename ...
6952 (multiple matches for symbol integervar): ... it.
6953 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
6954 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
6955
e7ab5e63
AB
69562011-03-25 Andrew Burgess <aburgess@broadcom.com>
6957
6958 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
6959 environment variable to make grep output more predictable. Move
6960 all the environment setup into gdb_init so it's done once per test
6961 case rather than each time we start gdb.
6962
9ef07c8c
TT
69632011-03-24 Tom Tromey <tromey@redhat.com>
6964
6965 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
6966 test.
6967
dd90784c
JK
69682011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6969
6970 * gdb.dwarf2/dw2-entry-value-main.c: New file.
6971 * gdb.dwarf2/dw2-entry-value.S: New file.
6972 * gdb.dwarf2/dw2-entry-value.exp: New file.
6973
05775840
PM
69742011-03-22 Phil Muldoon <pmuldoon@redhat.com>
6975
6fdff2c5 6976 PR python/12183
05775840
PM
6977
6978 * gdb.python/py-function.exp: Add GdbError tests.
6979
8661b11b
PA
69802011-03-18 Pedro Alves <pedro@codesourcery.com>
6981
6982 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
6983 (reglocal_test_func, statlocal_test_func): New functions.
6984 (globals_test_func): Call new functions.
6985 * gdb.trace/unavailable.exp (gdb_collect_args_test)
6986 (gdb_collect_locals_test): New procedure.
6987 (gdb_trace_collection_test): Call new procedures.
6988
0fdb4f18
PA
69892011-03-18 Pedro Alves <pedro@codesourcery.com>
6990
6991 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
6992 (test_register, test_register_unavailable): New procedures.
6993 (gdb_unavailable_registers_test): New procedure.
6994 (gdb_trace_collection_test): Call it.
6995
99c3dc11
PM
69962011-03-18 Phil Muldoon <pmuldoon@redhat.com>
6997
6fdff2c5 6998 PR python/12149
99c3dc11
PM
6999
7000 * gdb.python/python.exp: Add gdb.write tests.
7001
29703da4
PM
70022010-03-17 Phil Muldoon <pmuldoon@redhat.com>
7003
7004 * gdb.python/Makefile.in: Add py-objfile.
7005 * gdb.python/py-objfile.exp: New file.
7006 * gdb.python/py-objfile.c: New file.
7007 * gdb.python/py-block.exp: Add is_valid tests.
7008 * gdb.python/py-inferior.exp: Ditto.
7009 * gdb.python/py-infthread.exp: Ditto.
7010 * gdb.python/py-symbol.exp: Ditto.
7011 * gdb.python/py-symtab.exp: Ditto.
7012
598997c8
KS
70132011-03-16 Keith Seitz <keiths@redhat.com>
7014
7015 PR c++/12273
7016 * gdb.cp/cmpd-minsyms.exp: New test.
7017 * gdb.cp/cmpd-minsyms.cc: New file.
7018
7019 PR c++/11734
7020 * gdb.cp/ovsrch.exp: New test.
7021 * gdb.cp/ovsrch.h: New file.
7022 * gdb.cp/ovsrch1.cc: New file.
7023 * gdb.cp/ovsrch2.cc: New file.
7024 * gdb.cp/ovsrch3.cc: New file.
7025 * gdb.cp/ovsrch4.cc: New file.
7026
c91513d8
PP
70272011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7028
7029 PR gdb/12528
7030 * gdb.base/Makefile.in: Adjust EXECUTABLES.
7031 * gdb.base/break-on-linker-gcd-function.exp: New test.
7032 * gdb.base/break-on-linker-gcd-function.cc: New file.
7033
7470fc63
AT
70342011-03-15 Andreas Tobler <andreast@fgznet.ch>
7035
7036 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
7037
959e7469
PM
70382011-03-15 Phil Muldoon <pmuldoon@redhat.com>
7039
7040 * lib/gdb.exp (gdb_unload): Add another termination case.
7041
9373cf26
JK
70422011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7043
7044 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
7045 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
7046 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
7047 Provide a stub byte there.
7048 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
7049 DW_AT_entry_pc.
7050 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
7051
24e9cda0
UW
70522011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
7053
7054 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
7055 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
7056 "generic ABI, auto".
7057 (altivec_abi_tests): Accept vectors returned by reference.
7058
7371cf6d
PM
70592010-03-14 Phil Muldoon <pmuldoon@redhat.com>
7060
7061 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
7062
ce77046a
UW
70632011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7064
7065 * gdb.python/py-section-script.exp: Skip test if no Python support.
7066
176400c3
UW
70672011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7068
7069 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
7070
ecec24e6
PM
70712011-03-10 Phil Muldoon <pmuldoon@redhat.com>
7072
7073 * gdb.python/py-parameter.exp: Update tests to the new Python
7074 parameter API. Add "no documentation" test. Add deprecated API
7075 backward compatibility test.
7076
5dbdd470
TT
70772011-03-09 Tom Tromey <tromey@redhat.com>
7078
7079 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
7080 gdb_continue_to_end.
7081
b66e66ee
MK
70822011-03-09 Mark Kettenis <kettenis@gnu.org>
7083
7084 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
7085 tabs.
7086
eceb0c5f
TT
70872011-03-09 Tom Tromey <tromey@redhat.com>
7088
7089 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
7090 parentheses.
7091 (gdb_continue_to_end): Add "allow_extra" parameter. Use
7092 $command.
7093 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
7094 argument to gdb_continue_to_end.
7095 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
7096 argument to gdb_continue_to_end.
7097 * gdb.cp/annota3.exp: Fix regex.
7098 * gdb.cp/annota2.exp: Fix regex.
7099 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
7100 gdb_continue_to_end.
7101 * gdb.base/call-signal-resume.exp: Revert earlier patch.
7102 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
7103 gdb_continue_to_end.
7104
63154eca
PA
71052011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7106
7107 * gdb.server/ext-run.exp
7108 (load new file without any gdbserver inferior): New test.
7109
967d1f9b
TT
71102011-03-07 Tom Tromey <tromey@redhat.com>
7111
7112 * Makefile.in (TAGS): Rewrite.
7113
d68dcbb9
JK
71142011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7115
7116 * gdb.trace/report.exp (12.1: trace report #1): New match for the
7117 initial commands echo. New match for `Found trace'. Anchor all the
7118 other matches. Anchor and match for `No trace frame found' the final
7119 match.
7120
6bf58e63
TT
71212011-03-07 Tom Tromey <tromey@redhat.com>
7122
7123 * Makefile.in (TAGS): New target.
7124
fda326dd
TT
71252011-03-07 Tom Tromey <tromey@redhat.com>
7126
7127 * lib/opencl.exp (skip_opencl_tests): Update for exit message
7128 change.
7129 * lib/mi-support.exp (mi_gdb_test): Update for exit message
7130 change.
7131 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
7132 exit message change.
7133 (skip_altivec_tests): Update for exit message change.
7134 (skip_vsx_tests): Likewise.
7135 (gdb_continue_to_end): Likewise. Add 'command' argument.
7136 * lib/cell.exp (skip_cell_tests): Update for exit message change.
7137 * gdb.threads/tls.exp: Update for exit message change.
7138 * gdb.threads/thread-unwindonsignal.exp: Use
7139 gdb_continue_to_end.
7140 * gdb.threads/step.exp (step_it): Update for exit message change.
7141 (continue_all): Likewise.
7142 * gdb.threads/print-threads.exp (test_all_threads): Update for
7143 exit message change.
7144 * gdb.threads/interrupted-hand-call.exp: Use
7145 gdb_continue_to_end.
7146 * gdb.threads/execl.exp: Use gdb_continue_to_end.
7147 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
7148 gdb_continue_to_end.
7149 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
7150 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
7151 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
7152 * gdb.cp/method.exp: Update for exit message change.
7153 * gdb.cp/mb-templates.exp: Update for exit message change.
7154 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
7155 * gdb.cp/annota3.exp: Update for exit message change.
7156 * gdb.cp/annota2.exp: Update for exit message change.
7157 * gdb.cell/fork.exp: Use gdb_continue_to_end.
7158 * gdb.base/term.exp: Update for exit message change.
7159 * gdb.base/step-test.exp (test_i): Update for exit message change.
7160 * gdb.base/sigstep.exp (advance): Update for exit message change.
7161 (advancei): Likewise.
7162 * gdb.base/siginfo.exp: Update for exit message change.
7163 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
7164 * gdb.base/reread.exp: Use gdb_continue_to_end.
7165 * gdb.base/langs.exp: Use gdb_continue_to_end.
7166 * gdb.base/interrupt.exp: Update for exit message change.
7167 * gdb.base/gdb1555.exp: Update for exit message change.
7168 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
7169 * gdb.base/ending-run.exp: Update for exit message change.
7170 * gdb.base/chng-syms.exp: Update for exit message change.
7171 * gdb.base/checkpoint.exp: Update for exit message change.
7172 * gdb.base/catch-syscall.exp (check_for_program_end): Use
7173 gdb_continue_to_end.
7174 (test_catch_syscall_with_wrong_args): Likewise.
7175 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
7176 * gdb.base/break-interp.exp (test_ld): Update for exit message
7177 change.
7178 * gdb.base/bang.exp: Update for exit message change.
7179 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
7180 (do_call_attach_tests): Likewise.
7181 * gdb.base/a2-run.exp: Update for exit message change.
7182 * gdb.arch/ppc-dfp.exp: Update for exit message change.
7183 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
7184 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
7185
dd19bd70
JK
71862011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7187
7188 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
7189
30e62689
TT
71902011-03-03 Tom Tromey <tromey@redhat.com>
7191
7192 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
7193 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
7194 * gdb.hp/gdb.aCC/configure.ac: Remove.
7195 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
7196 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
7197 * gdb.hp/gdb.base-hp/configure.ac: Remove.
7198 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
7199 * gdb.hp/gdb.compat/configure (Makefile): Remove.
7200 * gdb.hp/gdb.compat/configure.ac: Remove.
7201 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
7202 * gdb.hp/gdb.defects/configure (Makefile): Remove.
7203 * gdb.hp/gdb.defects/configure.ac: Remove.
7204 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
7205 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
7206 * gdb.hp/gdb.objdbg/configure.ac: Remove.
7207 * gdb.hp/configure.ac: Remove.
7208 * gdb.hp/configure: Remove.
7209 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
7210 substitution.
7211 (Makefile): Remove rule.
7212 * gdb.cell/configure.ac: Remove.
7213 * gdb.cell/configure: Remove.
7214 * gdb.stabs/Makefile.in (Makefile): Remove.
7215 (distclean): Don't remove config.status or config.log.
7216 * gdb.stabs/configure (Makefile): Remove.
7217 * gdb.stabs/configure.ac: Remove.
7218 * configure: Rebuild.
7219 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
7220 Remove stabs- and cell-specific logic. Test for existence of
7221 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
7222 subdirectories, gdb.cell, and and gdb.stabs.
7223 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
7224
c171f854
JB
72252011-03-03 Joel Brobecker <brobecker@adacore.com>
7226
7227 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
7228 end of buffer.
7229
9a5193cb
JB
72302011-03-02 Joel Brobecker <brobecker@adacore.com>
7231
7232 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
7233 gdb_test when running a test where we expected no output back.
7234
9bb4c1bb
MS
72352011-02-28 Michael Snyder <msnyder@vmware.com>
7236
7237 * gdb.cp/overload.cc: Change initializer value to integer.
7238
3bd0f5ef
MS
72392011-02-27 Michael Snyder <msnyder@vmware.com>
7240
7241 * gdb.multi/base.exp: Add test for remove-inferiors.
7242
2279eaad
JB
72432011-02-26 Joel Brobecker <brobecker@adacore.com>
7244
7245 * gdb.python/py-frame.exp: Simplify the initialization phase
7246 using prepare_for_testing.
7247
c82c0b55
MS
72482011-02-25 Michael Snyder <msnyder@vmware.com>
7249
7250 * gdb.multi/base.exp: Add tests for info inferiors with args.
7251
1d94651b
JK
72522011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7253
7254 * gdb.dwarf2/dw2-ranges.S: Rename to ...
7255 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
7256 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
7257 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
7258 asmfile3. Comment the STABS (#3) file compilation. Compile
7259 everything through assembler. Provide KFAIL for symtab/12497.
7260 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
7261 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
7262 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
7263 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
7264
3bd0f5ef
MS
72652011-02-24 Michael Snyder <msnyder@vmware.com>
7266
7267 * gdb.base/break.exp: Add tests for delete breakpoints using
7268 convenience variables and value history references.
7269
12c1418e
MS
72702011-02-24 Michael Snyder <msnyder@vmware.com>
7271
7272 * gdb.base/break.exp: Remove debugging 'printf' accidentally
7273 left behind in previous check-in.
7274
e5a67952
MS
72752011-02-23 Michael Snyder <msnyder@vmware.com>
7276
7277 * gdb.base/break.exp: Add tests for "info break" with arguments.
7278 * gdb.trace/infotrace.exp: Update patterns for error and help.
7279 * gdb.base/completion.exp: Update pattern.
7280 * gdb.base/ena-dis-br.exp: Update pattern.
7281 * gdb.base/help.exp: Update patterns.
7282
72832011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
7284
7285 * gdb.base/memattr.exp: New test.
7286 * gdb.base/memattr.c: Test load for memattr.exp.
7287
6e6fbe60
DE
72882011-02-22 Doug Evans <dje@google.com>
7289
7290 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
7291
1d41d745
MS
72922011-02-22 Michael Snyder <msnyder@vmware.com>
7293
7294 * Makefile.in: Make more clean.
7295 * gdb.ada/Makefile.in: Ditto.
7296 * gdb.arch/Makefile.in: Ditto.
7297 * gdb.asm/Makefile.in: Ditto.
7298 * gdb.base/Makefile.in: Ditto.
7299 * gdb.cp/Makefile.in: Ditto.
7300 * gdb.dwarf2/Makefile.in: Ditto.
7301 * gdb.java/Makefile.in: Ditto.
7302 * gdb.mi/Makefile.in: Ditto.
7303 * gdb.modula2/Makefile.in: Ditto.
7304 * gdb.python/Makefile.in: Ditto.
7305 * gdb.server/Makefile.in: Ditto.
7306 * gdb.stabs/Makefile.in: Ditto.
7307 * gdb.threads/Makefile.in: Ditto.
7308 * gdb.trace/Makefile.in: Ditto.
7309
79ba84ca
MS
73102011-02-22 Michael Snyder <msnyder@vmware.com>
7311
df46027d 7312 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
7313 info threads.
7314
b9b35694
JB
73152011-02-22 Joel Brobecker <brobecker@adacore.com>
7316
7317 * gdb.python/py-breakpoint.exp: Fix the expected output of
7318 one of the "maint info breakpoints" tests to accept the output
7319 generated on platforms that do not have hardware watchpoints.
7320
8bfb830f
JB
73212011-02-22 Joel Brobecker <brobecker@adacore.com>
7322
7323 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
7324 clean_restart. Be a little stricter in the expected output
7325 for one of the tests. Fix a typo in one of the comments.
7326
c45f3c54
JB
73272011-02-22 Joel Brobecker <brobecker@adacore.com>
7328
7329 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
7330 Delete variable binfile, no longer use. Add or modify test
7331 comments to make them unique.
7332
b97c863c
MS
73332011-02-21 Michael Snyder <msnyder@vmware.com>
7334
7335 * Makefile.in: Update for make clean.
7336 * gdb.ada/Makefile.in: Ditto.
7337 * gdb.arch/Makefile.in: Ditto.
7338 * gdb.asm/Makefile.in: Ditto.
7339 * gdb.base/Makefile.in: Ditto.
7340 * gdb.cp/Makefile.in: Ditto.
7341 * gdb.dwarf2/Makefile.in: Ditto.
7342 * gdb.java/Makefile.in: Ditto.
7343 * gdb.mi/Makefile.in: Ditto.
7344 * gdb.modula2/Makefile.in: Ditto.
7345 * gdb.python/Makefile.in: Ditto.
7346 * gdb.server/Makefile.in: Ditto.
7347 * gdb.stabs/Makefile.in: Ditto.
7348 * gdb.threads/Makefile.in: Ditto.
7349 * gdb.trace/Makefile.in: Ditto.
7350
aea5b279
MS
73512011-02-21 Michael Snyder <msnyder@vmware.com>
7352
7353 * gdb.threads/thread-find.exp: Update patterns for changes in
7354 output of "info threads" command.
7355
e3039479
UW
73562011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7357 Ulrich Weigand <uweigand@de.ibm.com>
7358
7359 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
7360 (skip_hw_watchpoint_tests): Likewise.
7361 (skip_hw_watchpoint_multi_tests): Likewise.
7362
b800ec70
UW
73632011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
7364
7365 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
7366 (skip_hw_watchpoint_tests): Likewise.
7367 (skip_hw_watchpoint_multi_tests): Likewise.
7368 (skip_hw_watchpoint_access_tests): Likewise.
7369
7370 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
7371 * gdb.base/pr11022.exp: Likewise.
7372 * gdb.base/watch-read.exp: Likewise.
7373 * gdb.base/watch_thread_num.exp: Likewise.
7374 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7375 * gdb.base/watchpoint-hw.exp: Likewise.
7376 * gdb.base/watchpoint.exp: Likewise.
7377 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
7378 * gdb.threads/watchthreads-reorder.exp: Likewise.
7379 * gdb.threads/watchthreads.exp: Likewise.
7380 * gdb.threads/watchthreads2.exp: Likewise.
7381
91033e37
JB
73822011-02-21 Joel Brobecker <brobecker@adacore.com>
7383
7384 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
7385 the debugger is unable to find the array bounds.
7386
eeaafae2
JK
73872011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7388
7389 * gdb.cp/typedef-operator.exp: New file.
7390 * gdb.cp/typedef-operator.cc: New file.
7391
e338d953
MS
73922011-02-17 Michael Snyder <msnyder@vmware.com>
7393
7394 * gdb.threads/thread-find.exp: Fix regular expressions.
7395
e67ad678
JB
73962011-02-17 Joel Brobecker <brobecker@adacore.com>
7397
7398 * gdb.ada/packed_array: Expand testcase to test printing of
7399 unconstrained packed array.
7400
93084bca
JB
74012011-02-17 Joel Brobecker <brobecker@adacore.com>
7402
7403 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
7404
a0c78a73
PA
74052011-02-16 Pedro Alves <pedro@codesourcery.com>
7406
f65d5553 7407 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
7408 (main): Initialize it before collecting, and and clear it
7409 afterwards.
f65d5553
PA
7410 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7411 collecting with '{type} addr', where the addr expression is not an
7412 rvalue.
a0c78a73 7413
3dfcbbd2
KW
74142011-02-16 Ken Werner <ken.werner@de.ibm.com>
7415
7416 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
7417 a bool variable. Expect correct OpenCL names for vector types. Use the
7418 uc3 variable name instead of referring to the uchar3 built-in type.
7419 Escape the asterisk at the half pointer test.
7420
08807d5a
PA
74212011-02-16 Pedro Alves <pedro@codesourcery.com>
7422
f65d5553 7423 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
7424 (main): Initialize it before collecting, and and clear it
7425 afterwards.
f65d5553
PA
7426 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7427 collecting overlapping memory ranges.
08807d5a 7428
60f98dde
MS
74292011-02-15 Michael Snyder <msnyder@vmware.com>
7430
7431 * gdb.base/default.exp: Add tests for thread commands.
7432 * gdb.base/help.exp: Add tests for thread commands.
7433 * gdb.threads/thread-find.exp: New test for thread find command.
7434
648cd113
KW
74352011-02-15 Ken Werner <ken.werner@de.ibm.com>
7436
7437 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
7438
494e194e
YQ
74392011-02-15 Yao Qi <yao@codesourcery.com>
7440
7441 PR tdep/12352
7442 * gdb.arch/arm-disp-step.S : New test for str instruction.
7443 * gdb.arch/arm-disp-step.exp : Likewise.
7444
d9492458
TJB
74452011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
7446
7447 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
7448 "vector_register2_vr" test strings. Test the extended floating
7449 point registers (F32~F63).
7450 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
7451 IBM XL C compiler. Make the test program use a register provided
7452 by the compiler for the lxvd2x instruction.
7453
8af8e3bc
PA
74542011-02-14 Pedro Alves <pedro@codesourcery.com>
7455
7456 * gdb.trace/unavailable.cc (class Base, class Middle, class
7457 Derived): New types.
7458 (derived_unavail, derived_partial, derived_whole): New globals.
7459 (virtual_partial): New global.
7460 (virtualp): Point at virtual_partial.
7461 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
7462 related to unavailable vptr.
7463
1b28d0b3
PA
74642011-02-14 Pedro Alves <pedro@codesourcery.com>
7465
7466 * gdb.trace/unavailable.cc (a, b, c): New globals.
7467 (main): Set and clear them.
7468 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
7469 `a' and `c', and check that `b' isn't collected, although `a' and
7470 `c' are.
7471
ec0a52e1
PA
74722011-02-14 Pedro Alves <pedro@codesourcery.com>
7473
7474 * gdb.trace/unavailable.cc (struct Virtual): New.
7475 (virtualp): New global pointer.
7476 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
7477 printing a pointer to an object whose type has a vtable, with
7478 print object on.
7479
24e6bcee
PA
74802011-02-14 Pedro Alves <pedro@codesourcery.com>
7481
7482 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
7483 value repeat handles unavailableness.
7484
39d37385
PA
74852011-02-14 Pedro Alves <pedro@codesourcery.com>
7486
7487 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
7488 tests for building arrays from unavailable values, subscripting
7489 non-memory rvalue unvailable arrays, and accessing fields or
7490 baseclasses of non-lazy unavailable values,
7491 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
7492 struct types.
7493 (g_smallstruct, g_smallstruct_b): New globals.
7494
06d72e16
PA
74952011-02-14 Pedro Alves <pedro@codesourcery.com>
7496
7497 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
7498
bc9a5551
JK
74992011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7500
7501 Fix const/volatile qualifiers of C++ types, PR c++/12328.
7502 * gdb.cp/overload-const.exp: New file.
7503 * gdb.cp/overload-const.cc: New file.
7504
54fcddd0
UW
75052011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7506
7507 * gdb.opencl/callfuncs.cl: New file.
7508 * gdb.opencl/callfuncs.exp: New test.
7509 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
7510
d6dafb7c
UW
75112011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7512
7513 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
7514 when computing result.
7515 * gdb.arch/altivec-abi.exp: Update expected results.
7516
a449c2d8
TJB
75172011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7518
7519 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
7520 * gdb.base/jit.exp: Likewise.
7521 * gdb.base/pie-execl.exp: Likewise.
7522 * gdb.base/solib-nodir.exp: Likewise.
7523 * gdb.base/solib-overlap.exp: Likewise.
7524
764880b7
PA
75252011-02-07 Pedro Alves <pedro@codesourcery.com>
7526
7527 * gdb.trace/collection.c (global_pieces): New.
7528 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
7529 New procedure.
7530 (gdb_trace_collection_test): Call it.
7531
505500db
SW
75322011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
7533
7534 * gdb.python/py-evthreads.c: New file.
7535 * gdb.python/py-evthreads.exp: New file.
7536 * gdb.python/py-events.py: New file.
7537 * gdb.python/py-events.exp: New file.
7538 * gdb.python/py-events.c: New file.
7539
385203ed
DD
75402011-02-04 David Daney <ddaney@caviumnetworks.com>
7541
7542 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
7543
9011945e
AB
75442011-02-03 Andrew Burgess <aburgess@broadcom.com>
7545
7546 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
7547 gdb.base/disasm-end-cu.exp: New test for disassembling over the
7548 boundary between two compilation units.
7549
580688f3
PA
75502011-02-02 Pedro Alves <pedro@codesourcery.com>
7551
7552 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
7553 (Virtual): New structs.
7554 (virtual_o, virtual_middle_b): New globals.
7555 * gdb.cp/virtbase.exp: New tests.
7556
d3f0f853
PP
75572011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7558
7559 * gdb.base/jit.exp: New file.
7560 * gdb.base/jit-main.c: New file.
7561 * gdb.base/jit-solib.c: New file.
7562
b2030fb5
UW
75632011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
7564
7565 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
7566 proceed to initial kernel entry point.
7567 * gdb.opencl/datatypes.exp: Likewise.
7568 * gdb.opencl/operators.exp: Likewise.
7569 * gdb.opencl/vec_comps.exp: Likewise.
7570
2db19d1e
SW
75712011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
7572
7573 * gdb.cp/nsnested.cc: New.
7574 * gdb.cp/nsnested.exp: New.
7575 * gdb.cp/nsnoimports.exp: New.
7576 * gdb.cp/nsnoimports.cc: New.
7577
6b0c4c1f
JB
75782011-01-31 Joel Brobecker <brobecker@adacore.com>
7579
7580 * gdb.base/interact.exp: Add extra tests that verify that
7581 the value of the interactive-mode setting does not change
7582 after the script is sourced.
7583
80b23b6a
JK
75842011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7585
7586 * gdb.cp/noparam.exp: New file.
7587 * gdb.cp/noparam.cc: New file.
7588
ffd5ec24
PA
75892011-01-28 Pedro Alves <pedro@codesourcery.com>
7590
7591 * gdb.trace/tfile.exp: Test that with no traceframe selected,
7592 there's no stack or registers.
7593
a81766d8
TT
75942011-01-26 Tom Tromey <tromey@redhat.com>
7595
7596 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
7597 space before string output. Add test for "set print pretty off"
7598 case.
7599
585fdaa1
PA
76002011-01-25 Pedro Alves <pedro@codesourcery.com>
7601
7602 * gdb.base/frame-args.exp: Adjust.
7603 * gdb.dwarf2/dw2-noloc.exp: Adjust.
7604 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
7605 * gdb.dwarf2/pieces.exp: Adjust.
7606 * gdb.opt/clobbered-registers-O2.exp: Adjust.
7607 * gdb.opt/inline-locals.exp: Adjust.
7608 * gdb.threads/fork-child-threads.exp: Adjust.
7609
d468832a
KW
76102011-01-25 Ken Werner <ken.werner@de.ibm.com>
7611
7612 * gdb.opencl/convs_casts.cl: Move program scope variables into the
7613 OpenCL kernel function. Add a comment as marker. Add address space
7614 qualifiers for the remaining program scope variables.
7615 * gdb.opencl/datatypes.cl: Likewise.
7616 * gdb.opencl/operators.cl: Likewise.
7617 * gdb.opencl/vec_comps.cl: Likewise.
7618 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
7619 Add breakpoint at the marker comment.
7620 * gdb.opencl/datatypes.exp: Likewise.
7621 * gdb.opencl/operators.exp: Likewise.
7622 * gdb.opencl/vec_comps.exp: Likewise.
7623
490f124f
PA
76242011-01-24 Pedro Alves <pedro@codesourcery.com>
7625
7626 * gdb.base/printcmds.c (some_struct): New struct and instance.
7627 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
7628 procedure.
7629 <global scope>: Call it.
7630
6da78614
KW
76312011-01-21 Ken Werner <ken.werner@de.ibm.com>
7632
7633 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
7634 argument to the gdb_compile_opencl_hostapp call.
7635
ec64c9aa
YQ
76362011-01-19 Yao Qi <yao@codesourcery.com>
7637
7638 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
7639 positve list.
7640
810cfdbb
YQ
76412011-01-19 Yao Qi <yao@codesourcery.com>
7642
7643 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
7644 canonical form.
7645 Remove "xscale-*-*"
7646 * gdb.xml/tdesc-regs.exp: Likewise.
7647 * gdb.python/py-section-script.exp: Replace ARM target triplet
7648 with canonical form.
7649 Match arm*-*-symbianelf*.
7650 * gdb.base/dup-sect.exp: Likewise.
7651 * lib/dwarf.exp: New.
7652 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
7653 dwarf2_support.
7654 * gdb.dwarf2/dup-psym.exp: Likewise.
7655 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
7656 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7657 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
7658 * gdb.dwarf2/dw2-basic.exp: Likewise.
7659 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7660 * gdb.dwarf2/dw2-const.exp: Likewise.
7661 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
7662 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
7663 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7664 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
7665 * gdb.dwarf2/dw2-filename.exp: Likewise.
7666 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7667 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
7668 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7669 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7670 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
7671 * gdb.dwarf2/dw2-noloc.exp: Likewise.
7672 * gdb.dwarf2/dw2-op-call.exp: Likewise.
7673 * gdb.dwarf2/dw2-producer.exp: Likewise.
7674 * gdb.dwarf2/dw2-ranges.exp: Likewise.
7675 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
7676 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
7677 * gdb.dwarf2/dw2-strp.exp: Likewise.
7678 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
7679 * gdb.dwarf2/implptr.exp: Likewise.
7680 * gdb.dwarf2/mac-fileno.exp: Likewise.
7681 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
7682 * gdb.dwarf2/pieces.exp: Likewise.
7683 * gdb.dwarf2/pr11465.exp: Likewise.
7684 * gdb.dwarf2/valop.exp: Likewise.
7685 * gdb.dwarf2/watch-notconst.exp: Likewise.
7686 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
7687
4694da01
TT
76882011-01-19 Tom Tromey <tromey@redhat.com>
7689
7690 * gdb.python/py-infthread.exp: Add thread tests.
7691
b075872c
JB
76922011-01-14 Joel Brobecker <brobecker@adacore.com>
7693
7694 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
7695
2c3e6e24
JB
76962011-01-14 Joel Brobecker <brobecker@adacore.com>
7697
7698 * gdb.ada/widewide: New testcase.
7699
de8fa76c
JB
77002011-01-13 Joel Brobecker <brobecker@adacore.com>
7701
7702 * gdb.base/interact.exp: New testcase.
7703
1b05df00
TT
77042011-01-12 Tom Tromey <tromey@redhat.com>
7705
7706 * gdb.mi/gdb2549.exp: Update for error message changes.
7707 * gdb.mi/mi-cli.exp: Likewise.
7708 * gdb.mi/mi-disassemble.exp: Likewise.
7709 * gdb.mi/mi-pthreads.exp: Likewise.
7710 * gdb.mi/mi-regs.exp: Likewise.
7711 * gdb.mi/mi-stack.exp: Likewise.
7712 * gdb.mi/mi-var-block.exp: Likewise.
7713 * gdb.mi/mi-var-cmd.exp: Likewise.
7714 * gdb.mi/mi2-cli.exp: Likewise.
7715 * gdb.mi/mi2-disassemble.exp: Likewise.
7716 * gdb.mi/mi2-pthreads.exp: Likewise.
7717 * gdb.mi/mi2-regs.exp: Likewise.
7718 * gdb.mi/mi2-stack.exp: Likewise.
7719 * gdb.mi/mi2-var-block.exp: Likewise.
7720 * gdb.mi/mi2-var-cmd.exp: Likewise.
7721
c2ff108b
JK
77222011-01-12 Andrew Burgess <aburgess@broadcom.com>
7723 Jan Kratochvil <jan.kratochvil@redhat.com>
7724
7725 PR fortran/11104 and DWARF unbound arrays detection.
7726 * gdb.fortran/multi-dim.exp: New file.
7727 * gdb.fortran/multi-dim.f90: New file.
7728
b716877b
AB
77292011-01-12 Andrew Burgess <aburgess@broadcom.com>
7730
7731 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
7732 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
7733 add new tests for opcode dumping.
7734
6c162d5e
TT
77352011-01-11 Tom Tromey <tromey@redhat.com>
7736
7737 * gdb.python/py-infthread.exp: Load gdb-python.exp.
7738
77b06cd7
TJB
77392010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
7740
7741 Convert hardware watchpoints to use breakpoint_ops.
7742 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
7743 type is not supported.
7744 * gdb.base/foll-fork.exp: Likewise.
7745 * gdb.base/foll-vfork.exp: Likewise.
7746
f39a75d0
PM
77472011-01-10 Phil Muldoon <pmuldoon@redhat.com>
7748
7749 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
7750 Use load_lib gdb-python.exp.
7751 * gdb.python/python.exp: Ditto.
7752 * gdb.python/py-function.exp: Ditto.
7753
fc529d80
AS
77542011-01-09 Andreas Schwab <schwab@linux-m68k.org>
7755
7756 * gdb.threads/tls.exp ("info address me"): Fix expected output.
7757
fb03cb59
JK
77582011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7759
7760 * configure: Regenerate.
7761
d8e22779
TT
77622011-01-06 Tom Tromey <tromey@redhat.com>
7763
7764 * gdb.python/py-frame.exp: Test gdb.newest_frame.
7765
09050809
JB
77662011-01-06 Joel Brobecker <brobecker@adacore.com>
7767
fc529d80
AS
7768 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
7769 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
7770 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7771 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
7772 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
7773 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7774 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
7775 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
7776 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
7777 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
7778 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
7779 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
7780 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
7781 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7782 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7783 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
7784 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
7785 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
7786 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7787 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
7788 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
7789 gdb.ada/uninitialized_vars.exp,
7790 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
7791 Simplify by using clean_restart.
09050809 7792
8ed5dd9e
JB
77932011-01-06 Joel Brobecker <brobecker@adacore.com>
7794
7795 Add marker to be used as anchor for inserting breakpoints.
7796 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
7797 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
7798 Likewise.
7799
7800 Remove uses of gdb_start_cmd.
7801 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
7802 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
7803
7804 Do not run testcase if testing with GDBserver.
7805 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
7806 if testing with GDBserver.
7807
368a124f
JB
78082011-01-06 Joel Brobecker <brobecker@adacore.com>
7809
7810 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
7811 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
7812 copyright header.
7813
44944448
JB
78142011-01-05 Joel Brobecker <brobecker@adacore.com>
7815
7816 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
7817 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
7818 testsuite/gdb.fortran/complex.f,
7819 testsuite/gdb.fortran/derived-type.f90,
7820 testsuite/gdb.fortran/library-module-lib.f90,
7821 testsuite/gdb.fortran/library-module-main.f90,
7822 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
7823 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
7824 Copyright year update.
7825
31886ea6
JB
78262011-01-05 Joel Brobecker <brobecker@adacore.com>
7827
7828 * gdb.base/langs1.f: Add copyright header.
7829
ebedcab5
JK
78302011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7831
7832 * gdb.base/morestack.exp: New file.
7833 * gdb.base/morestack.c: New file.
7834
de1eb2f9
JK
78352011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7836
7837 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
7838
9e87a409
JB
78392010-12-29 Joel Brobecker <brobecker@adacore.com>
7840
7841 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
7842 * gdb.ada/arrayptr.exp: Add test printing that new variable.
7843
720d1a40
JB
78442010-12-29 Joel Brobecker <brobecker@adacore.com>
7845
7846 * gdb.ada/lang_switch.exp: Correct expected parameter value.
7847
a283af87
AS
78482010-12-25 Andreas Schwab <schwab@linux-m68k.org>
7849
5d3d9cba
AS
7850 * gdb.threads/tls.exp: Fix typo.
7851
a283af87
AS
7852 * gdb.threads/thread-specific.exp (get_thread_list): Update.
7853 * gdb.threads/execl.exp: Update.
7854
2a20745c
YQ
78552010-12-23 Yao Qi <yao@codesourcery.com>
7856
7857 * gdb.arch/arm-disp-step.exp: New.
7858 * gdb.arch/arm-disp-step.S: New.
7859
a7658b96
TT
78602010-12-21 Tom Tromey <tromey@redhat.com>
7861
7862 * gdb.threads/execl.exp: Update.
7863 * gdb.threads/linux-dp.exp: Update.
7864 * gdb.threads/manythreads.exp: Update.
7865 * gdb.threads/tls.exp: Update.
7866
5b79abe7
TT
78672010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7868
7869 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
7870 (NextOverThrowDerivates) <resumebpt>: New.
7871 (resumebpt_test): New.
7872 (main): Call resumebpt_test.
7873 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
7874
0914bcdb
SS
78752010-12-12 Stan Shebs <stan@codesourcery.com>
7876
7877 * gdb.trace/tsv.exp: Test print command on trace state variables.
7878
305aeedc
TT
78792010-12-09 Tom Tromey <tromey@redhat.com>
7880
7881 * gdb.base/interp.exp: Add regression test.
7882
186c406b
TT
78832010-12-09 Tom Tromey <tromey@redhat.com>
7884
7885 * gdb.java/jnpe.java: New file.
7886 * gdb.java/jnpe.exp: New file.
7887 * gdb.cp/nextoverthrow.exp: New file.
7888 * gdb.cp/nextoverthrow.cc: New file.
7889
aae1c79a
DE
78902010-12-07 Doug Evans <dje@google.com>
7891
7892 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
7893 of data-directory.
7894 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
7895 updated.
7896 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
7897
60f98dde 78982010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
7899
7900 * gdb.base/callfuncs.exp: Test for skip_float_tests.
7901 * gdb.base/call-sc.exp: Ditto.
7902 * gdb.base/finish.exp: Ditto.
7903 * gdb.base/return.exp: Ditto.
7904 * gdb.base/return2.exp: Ditto.
7905
5fa290c1
DE
79062010-11-30 Doug Evans <dje@google.com>
7907
7908 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
7909 (gdb_expect_list): Fix spelling errors in comments.
7910 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
7911 send_gdb/gdb_expect_list where applicable.
7912 * gdb.base/call-ar-st.exp: Ditto.
7913 * gdb.base/funcargs.exp: Ditto.
7914 * gdb.base/gcore.exp: Ditto.
7915 * gdb.base/page.exp: Ditto.
7916 * gdb.base/sigaltstack.exp: Ditto.
7917 * gdb.base/siginfo.exp: Ditto.
7918 * gdb.base/sigstep.exp: Ditto.
7919 * gdb.base/trace-commands.exp: Ditto.
7920
4e04c971
DE
79212010-11-29 Doug Evans <dje@google.com>
7922
7923 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
7924 printer-name;subprinter-name.
7925
8cf6f0b1
TT
79262010-11-29 Tom Tromey <tromey@redhat.com>
7927
7928 * gdb.dwarf2/implptr.exp: New file.
7929 * gdb.dwarf2/implptr.c: New file.
7930 * gdb.dwarf2/implptr.S: New file.
7931
94b6973e
PM
79322010-11-29 Phil Muldoon <pmuldoon@redhat.com>
7933
fc529d80 7934 PR python/12199
94b6973e
PM
7935
7936 * gdb.python/py-breakpoint.exp: Test the delete method.
7937
8358c15c
JK
79382010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7939
7940 Fix step_resume_breakpoint unsaved during an infcall.
7941 * gdb.base/step-resume-infcall.exp: New file.
7942 * gdb.base/step-resume-infcall.c: New file.
7943
f6df29bc
TJB
79442010-11-24 Edjunior Machado <emachado@br.ibm.com>
7945
7946 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
7947
f2b5a5cf
TJB
79482010-11-24 Edjunior Machado <emachado@br.ibm.com>
7949
7950 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
7951 on ppc64's symbols; "finish" and "return" commands must accept to
7952 show the caller line again as well as the line after.
7953 * gdb.asm/powerpc64.inc: New file.
7954
6b0ecdc2
DE
79552010-11-23 Doug Evans <dje@google.com>
7956
7957 * lib/gdb.exp (gdb_test_sequence): New function.
7958 (gdb_expect_list): Add verbose -log call for each pattern.
7959 * gdb.base/signals.exp (test_handle_all_print): Call it.
7960 Reduce timeout increment from 6 minutes to 1 minute.
7961 * gdb.server/ext-run.exp: Call it.
7962
ea976c60
PM
79632010-11-23 Phil Muldoon <pmuldoon@redhat.com>
7964
f2b5a5cf 7965 PR python/12212
ea976c60
PM
7966
7967 * gdb.python/python.exp: Check that selected_thread raises an
7968 error when no inferior is loaded.
7969
c0efa795
JK
79702010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7971
7972 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
7973 * gdb.dwarf2/dw2-stack-boundary.S: New file.
7974
ec3aa567
JK
79752010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7976
7977 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
7978 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
7979
d8249011
DE
79802010-11-18 Doug Evans <dje@google.com>
7981
7982 * gdb.server/ext-run.exp: Fix intermittent failures.
7983
d4eba7d1
NF
79842010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7985
7986 * gdb.stabs/gdb11479.exp: Use runto_main.
7987
b04c2f88
NF
79882010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7989
7990 * gdb.base/break-entry.exp: Skip if using a stub.
7991
ae9d7ce4
NF
79922010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7993
7994 * gdb.python/py-inferior.exp: Pack values in target endianness.
7995
621c8364
TT
79962010-11-12 Tom Tromey <tromey@redhat.com>
7997
7998 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
7999 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
8000 MemoryError.
8001 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
8002 type.
8003 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
8004 MemoryError.
8005 (test_subscript_regression): Update exception type.
8006
84f4c1fe
PM
80072010-11-11 Phil Muldoon <pmuldoon@redhat.com>
8008
8009 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
8010 breakpoint tests.
8011
a1442452
PA
80122010-11-09 Pedro Alves <pedro@codesourcery.com>
8013
8014 * gdb.base/watchpoint.exp: Test "watch -location" with an
8015 innacessible location.
8016
efd11a33
JK
80172010-11-09 Edjunior Machado <emachado@br.ibm.com>
8018 Luis Machado <luisgpm@br.ibm.com>
8019
8020 * gdb.base/maint.exp: Expect "." prefix.
8021 * gdb.base/nodebug.exp: Expect "." Likewise.
8022 * gdb.base/sepsymtab.exp: Expect "." Likewise.
8023 * gdb.base/watchpoint-cond-gone.exp: Likewise.
8024 * gdb.base/watchpoint.exp: Expect a software watch to be created for
8025 POWER server processors.
8026
aa00efb5
JK
80272010-11-08 Edjunior Machado <emachado@br.ibm.com>
8028 Luis Machado <luisgpm@br.ibm.com>
8029
8030 * gdb.base/break-entry.exp: convert entry point for
8031 ppc64 and expect leading `.' on ppc64's symbols
8032
99e7ae30
DE
80332010-11-05 Doug Evans <dje@google.com>
8034
8035 * gdb.base/help.exp: Update expected output.
b521dba8
DE
8036 * gdb.python/py-param.exp: Delete, contents moved to ...
8037 * gdb.python/py-parameter.exp: ... here. New file.
8038 Add test for gdb.parameter ("directories").
99e7ae30 8039
f4b8a18d
KW
80402010-11-05 Ken Werner <ken.werner@de.ibm.com>
8041
8042 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
8043 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
8044 * configure: Regenerate.
8045 * gdb.opencl/Makefile.in: New File.
8046 * gdb.opencl/datatypes.exp: Likewise.
8047 * gdb.opencl/datatypes.cl: Likewise.
8048 * gdb.opencl/operators.exp: Likewise.
8049 * gdb.opencl/operators.cl: Likewise.
8050 * gdb.opencl/vec_comps.exp: Likewise.
8051 * gdb.opencl/vec_comps.cl: Likewise.
8052 * gdb.opencl/convs_casts.exp: Likewise.
8053 * gdb.opencl/convs_casts.cl: Likewise.
8054 * lib/opencl.exp: Likewise.
8055 * lib/opencl_hostapp.c: Likewise.
8056 * lib/opencl_kernel.cl: Likewise.
8057 * lib/cl_util.c: Likewise.
8058 * lib/cl_util.c: Likewise.
8059 * gdb.base/default.exp (set language): Add "opencl" to the list of
8060 languages.
8061
a9d5ef47
SW
80622010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
8063
8064 * gdb.cp/overload.exp: Added test for inheritance overload.
8065 * gdb.cp/overload.cc: Ditto.
8066 * gdb.cp/oranking.exp: Removed releveant kfails.
8067
03eb1c79
JK
80682010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8069 Joel Brobecker <brobecker@adacore.com>
8070
8071 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
8072 check test_compiler_info.
8073
dbc98a8b
KW
80742010-11-03 Ken Werner <ken.werner@de.ibm.com>
8075
8076 * gdb.base/gnu_vector.exp: Adjust expect messages.
8077
120bd360
KW
80782010-11-03 Ken Werner <ken.werner@de.ibm.com>
8079
8080 * gdb.base/gnu_vector.exp: Add unary operator tests.
8081
c37f7098
KW
80822010-11-03 Ken Werner <ken.werner@de.ibm.com>
8083
8084 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
8085
7b51bc51
DE
80862010-11-02 Doug Evans <dje@google.com>
8087
8088 * gdb.python/py-pp-maint.c: New file.
8089 * gdb.python/py-pp-maint.exp: New file.
8090 * gdb.python/py-pp-maint.py: New file.
8091
50c97f38
TT
80922010-11-02 Tom Tromey <tromey@redhat.com>
8093
8094 * gdb.base/default.exp: Remove "scheme" from language list.
8095
a289b8f6
JK
80962010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8097
8098 Revert:
8099 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8100 * gdb.threads/sigstep-threads.exp: New file.
8101 * gdb.threads/sigstep-threads.c: New file.
8102
cd017491
MS
81032010-10-20 Michael Snyder <msnyder@vmware.com>
8104
8105 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
8106
8e6a5956
UW
81072010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8108
8109 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
8110 Skip test completely if gdb,no_hardware_watchpoints.
8111
2c04da0d
UW
81122010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8113
8114 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
8115 strict, but do not check for any particular function name within libc.
8116
79afc5ef
SW
81172010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8118
8119 * gdb.cp/smartp.exp: New test.
8120 * gdb.cp/smartp.cc : New test.
8121
026ffab7
SW
81222010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8123
8124 * gdb.cp/converts.exp: Test pointer to bool conversion.
8125 Test pointer to long conversion.
8126 * gdb.cp/oranking.exp: Removed relevant kfail.
8127
3a772aa4
TT
81282010-10-18 Tom Tromey <tromey@redhat.com>
8129
8130 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
8131 argument to lazy_string.
8132 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
8133 (pp_ls.to_string): Use it.
8134 * gdb.python/py-prettyprint.c (main): Move declarations to top.
8135 Add "estring2" local.
8136
5fc3827b
JK
81372010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8138
8139 Fix s390x compatibility.
8140 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
8141 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
8142
8aeb23f3
JK
81432010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8144
8145 * gdb.threads/sigstep-threads.exp: New file.
8146 * gdb.threads/sigstep-threads.c: New file.
8147
c1e56572
JK
81482010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8149
8150 * gdb.base/pie-execl.exp: New file.
8151 * gdb.base/pie-execl.c: New file.
8152
92163a10
JK
81532010-10-13 Doug Evans <dje@google.com>
8154 Jan Kratochvil <jan.kratochvil@redhat.com>
8155
8156 PR exp/12117
8157 * gdb.cp/ptype-cv-cp.cc: New file.
8158 * gdb.cp/ptype-cv-cp.exp: New file.
8159
7062b0a0
SW
81602010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
8161
8162 * gdb.cp/converts.cc: New test program.
8163 * gdb.cp/converts.exp: New test.
8164 * gdb.cp/overload.exp: Added test for void* vs int*.
8165 * gdb.cp/overload.exp: Ditto.
8166 * gdb.cp/oranking.exp: Removed related kfail.
8167
0e3509db
DE
81682010-10-13 Doug Evans <dje@google.com>
8169
8170 * lib/gdb-python.exp (gdb_check_python_config): New function.
8171 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
8172 * gdb.python/lib-types.cc: New file.
8173 * gdb.python/lib-types.exp: New file.
8174
8dc78533
JK
81752010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8176
8177 * gdb.python/py-error.exp: New file.
8178 * gdb.python/py-error.py: New file.
8179
93c17e06
JK
81802010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8181
8182 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
8183 gdb_test_multiple.
8184
d8b34041
JK
81852010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8186
8187 * gdb.base/break-interp.exp: Use ldlags for linking flags.
8188 * gdb.base/prelink.exp: Likewise.
8189 * gdb.base/solib-nodir.exp: Likewise.
8190 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
8191 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
8192 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
8193
e0cc584e
UW
81942010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
8195
8196 * break-interp.exp (test_ld): Use two separate gdb_expect statements
8197 for the "info files" test to avoid timeouts on slow machines.
8198
cfc353b1
JK
81992010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8200
8201 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
8202 (main): Make openlib dummy call.
8203
d3d7896d
JK
82042010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8205
8206 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
8207 * break-interp.exp (reach): Move the core body ...
8208 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
8209 (test_ld): Provide always real argument, even to the linker. Replace
8210 dl_main by _dl_debug_state.
8211
5e533c94
JK
82122010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8213
8214 Fix results of prelinked PIEs on ppc*.
8215 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
8216 Accept also DISPLACEMENT "PRESENT".
8217 (main): Replace "ZERO" displacements by "PRESENT".
8218
33540610
SW
82192010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
8220
8221 * gdb.cp/oranking.exp: New test.
8222 * gdb.cp/oranking.cc: New test program.
8223
3bdf2bbd
KW
82242010-10-08 Ken Werner <ken.werner@de.ibm.com>
8225
8226 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
8227 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
8228
2f608a3a
KW
82292010-10-06 Ken Werner <ken.werner@de.ibm.com>
8230
8231 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
8232 lush, lynx) New constant.
8233 * gdb.base/constvars.exp: Test const array types.
8234 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
8235
aa2e2d8d
DE
82362010-10-06 Doug Evans <dje@google.com>
8237
8238 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
8239 of syscall staging area.
8240
2844d6b5
KW
82412010-10-06 Ken Werner <ken.werner@de.ibm.com>
8242
8243 * gdb.base/gnu_vector.c: Add variable c4.
8244 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
8245 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8246
7d8ac8bb
MR
82472010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
8248
8249 * gdb.arch/altivec-abi.exp: Fix a typo.
8250
84a02e58
MR
82512010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
8252
8253 * lib/mi-support.exp (thread_selected_re): Correct pattern used
8254 to match a thread ID.
8255
b18e6318
JK
82562010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8257
8258 Fix s390x testcase compatibility.
8259 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
8260
a2c09bd0
DE
82612010-10-01 Doug Evans <dje@google.com>
8262
8263 * lib/gdb-python.exp: New file.
8264 * gdb.python/py-block.exp: Use it.
8265 * gdb.python/py-breakpoint.exp: Ditto.
8266 * gdb.python/py-frame.exp: Ditto.
8267 * gdb.python/py-inferior.exp: Ditto.
8268 * gdb.python/py-param.exp: Ditto.
8269 * gdb.python/py-prettyprint.exp: Ditto.
8270 * gdb.python/py-shared.exp: Ditto.
8271 * gdb.python/py-symbol.exp: Ditto.
8272 * gdb.python/py-symtab.exp: Ditto.
8273 * gdb.python/py-type.exp: Ditto.
8274 * gdb.python/py-value.exp: Ditto.
8275 * gdb.python/python.exp: Ditto.
8276
38f12cfc
TT
82772010-09-30 Tom Tromey <tromey@redhat.com>
8278
8279 * gdb.base/anon.exp: New file.
8280 * gdb.base/anon.c: New file.
8281
9ae8282d
TT
82822010-09-30 Tom Tromey <tromey@redhat.com>
8283
8284 * gdb.base/completion.exp: Test completion through anonymous
8285 union.
8286 * gdb.base/break1.c (struct some_struct): Add anonymous union.
8287
e9e07ba6
JK
82882010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8289
8290 Fix printing parameters of inlined functions.
8291 * gdb.dwarf2/dw2-inline-param.exp: New file.
8292 * gdb.dwarf2/dw2-inline-param-main.c: New file.
8293 * gdb.dwarf2/dw2-inline-param.S: New file.
8294
cd2effb2
JK
82952010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8296
8297 PR corefiles/12071.
8298 * gdb.base/corefile.exp (quit with a process, no question: load core)
8299 (quit with a core file): New tests.
8300
bceffbf3
JK
83012010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8302
8303 Fix GDB crash on inferior calls with self-referencing classes.
8304 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
8305 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
8306 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
8307
1736ad11
JK
83082010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8309
8310 Fix lost siginfo_t for inferior calls.
8311 * gdb.base/siginfo-infcall.exp: New file.
8312 * gdb.base/siginfo-infcall.c: New file.
8313
a176ad92
JB
83142010-09-22 Joel Brobecker <brobecker@adacore.com>
8315
8316 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
8317
c2b0a229
JK
83182010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8319
8320 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
8321 New test.
8322 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
8323
e8ae22d1
JB
83242010-09-22 Joel Brobecker <brobecker@adacore.com>
8325
8326 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
8327 type of our const type.
8328
ec322823
SW
83292010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
8330
8331 * gdb.cp/pr12028.cc: New.
8332 * gdb.cp/pr12028.exp: New.
8333
72929c62
JB
83342010-09-22 Joel Brobecker <brobecker@adacore.com>
8335
8336 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
8337
875b4ff5 83382010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 8339 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
8340
8341 PR mi/11407
8342 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
8343 * gdb.mi/dw2-ref-missing-frame-main.c New File.
8344 * gdb.mi/dw2-ref-missing-frame.S New File.
8345 * gdb.mi/dw2-ref-missing-frame.exp New File.
8346
7155d578
TT
83472010-09-14 Tom Tromey <tromey@redhat.com>
8348
8349 PR symtab/8399:
8350 * gdb.threads/tls.exp: Remove kfail. Update expected output.
8351
515ed532
TT
83522010-09-14 Tom Tromey <tromey@redhat.com>
8353
8354 PR exp/11803:
8355 * gdb.threads/tls.exp: Use C++.
8356 (check_thread_local): Use K::another_thread_local.
8357 * gdb.threads/tls.c (class K): New.
8358 (another_thread_local): Now a member of K.
8359 (spin): Update. No longer K&R C.
8360
450ca57c
SW
83612010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8362
8363 * gdb.cp/koenig.cc: created class for testing member lookup.
8364 * gdb.cp/koenig.exp: Added test for member lookup.
8365
dbd492a3
JK
83662010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8367
8368 Fix false FAILs on sourcetree topdir directory containing "kill".
8369 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
8370 source line matching regexp.
8371
8d4d924b
JK
83722010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8373
8374 * gdb.python/python.exp (set height 0, collect help from uiout)
8375 (verify help to uiout): New tests.
8376
8e64f2a0
JK
83772010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8378
8379 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
8380 is_lp64_target to check 64bit target.
8381
4569eed2
JK
83822010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8383
8384 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
8385 (test_ld) <powerpc64-*>: New.
8386
5e1617b1
DJ
83872010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8388
8389 * gdb.cp/templates.exp (test_template_args): Allow "struct".
8390
c767944b
DJ
83912010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8392
8393 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
8394 (FunctionArg::method): New function.
8395 (empty, arg): New variables.
8396 (main): Call arg.method.
8397 * gdb.cp/templates.exp (test_template_args): New function.
8398 (do_tests): Call it.
8399
27d3a3fc
UW
84002010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8401
8402 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
8403 of "next" to proceed over pthread_exit call.
8404
55b7ce7f
UW
84052010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8406
8407 * gdb.base/maint.exp: Avoid wildcards against potentially very long
8408 "maint print statistics" output to prevent expect timeouts.
8409
809df446
JK
84102010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8411
8412 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
8413 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8414 (test_float_rejected): ... here.
8415 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
8416 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8417 (test_float_rejected): ... here.
8418 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
8419 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8420 (test_float_rejected): ... here.
8421 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
8422 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8423 (test_float_rejected): ... here.
8424
8464be76
DJ
84252010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8426
8427 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
8428 before disabling hardware watchpoints.
8429 (test_inaccessible_watchpoint): Check that hardware watchpoints
8430 are used. Test for watchpoints on a constant address.
8431
14dba4b4
JK
84322010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8433
8434 * gdb.base/ui-redirect.exp: New file.
8435
3f3540e1 84362010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 8437 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
8438
8439 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
8440
0f254bb7
DE
84412010-08-31 Doug Evans <dje@google.com>
8442
8443 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
8444
03f17ccf
TT
84452010-08-30 Tom Tromey <tromey@redhat.com>
8446
8447 PR python/11792:
8448 * gdb.python/py-value.exp (test_subscript_regression): Add
8449 dynamic_type test.
8450
640617ad
DJ
84512010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
8452
8453 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
8454 instead of running to main. Do not test the main function.
8455 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
8456 Add new main.
8457
2ed91d1b
PA
84582010-08-26 Pedro Alves <pedro@codesourcery.com>
8459
8460 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
8461 one test.
8462
673bfd45
DE
84632010-08-24 Doug Evans <dje@google.com>
8464
8465 PR symtab/11942
8466 * gdb.dwarf2/dw4-sig-types.cc: New file.
8467 * gdb.dwarf2/dw4-sig-types.h: New file.
8468 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
8469 * gdb.dwarf2/dw4-sig-types.exp: New file.
8470
f9ffd4bb
TT
84712010-08-23 Tom Tromey <tromey@redhat.com>
8472
8473 PR python/11145:
8474 * gdb.python/py-value.c (Base, Derived): New types.
8475 (base): New global.
8476 * gdb.python/py-value.exp (test_subscript_regression): Add
8477 dynamic_cast test.
8478
d839c8a4
TT
84792010-08-23 Tom Tromey <tromey@redhat.com>
8480
8481 PR python/10676:
8482 * gdb.python/py-type.exp (test_fields): Add tests for type
8483 equality.
8484
702c2711
TT
84852010-08-23 Tom Tromey <tromey@redhat.com>
8486
8487 PR python/11915:
8488 * gdb.python/py-type.exp (test_fields): Add tests for array.
8489
832bafd3
KS
84902010-08-23 Keith Seitz <keiths@redhat.com>
8491
8492 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
8493 have any children. Create a new abbrev for it.
8494 Add missing terminal sequence to .debug_abbrev.
8495
c37bf528
KS
84962010-08-20 Keith Seitz <keiths@redhat.com>
8497
8498 PR symtab/11465:
8499 * gdb.dwarf2/pr11465.exp: New test.
8500 * gdb.dwarf2/pr11465.S: New file.
8501 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
8502 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
8503
4572cbac
TJB
85042010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
8505
8506 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
8507 registers. Update data sets with the new v2_double element in the
8508 VSX register union. Add vector_register3_vr data set for the AltiVec
8509 registers. Use gdb_test_no_output instead of send_gdb.
8510
e7fbb131
PA
85112010-08-19 Pedro Alves <pedro@codesourcery.com>
8512
8513 * gdb.python/py-shared.exp: New file, factored out from
8514 python.exp.
8515 * gdb.python/py-shared.c: New file.
8516 * gdb.python/py-shared-sl.c: New file.
8517 * gdb.python/python-1.c: New file.
8518 * gdb.python/python-sl.c: Delete.
8519 * gdb.python/python.c: Mention python-1.c.
8520 * gdb.python/python.exp: Move shared library tests to
8521 py-shared.exp.
8522 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
8523 (MISCELLANEOUS): New.
8524 (clean mostlyclean): Also remove $MISCELLANEOUS.
8525
d30f5e1f
DE
85262010-08-19 Doug Evans <dje@google.com>
8527
8528 PR exp/11926
8529 * gdb.base/printcmds.exp (test_float_accepted): New function.
8530 Move existing float tests there. Add tests for floats with suffixes.
8531 (test_float_rejected): New function.
8532 * gdb.java/jv-print.exp (test_float_accepted): New function.
8533 (test_float_rejected): New function.
8534 * gdb.objc/print.exp: New file.
8535 * gdb.pascal/print.exp: New file.
8536 * lib/objc.exp: New file.
8537
7b3fd859
PM
85382010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
8539
8540 * gdb.base/default.exp (info set): Avoid full buffer error and force
8541 reading up to final gdb prompt.
8542 (show): Likewise.
8543
c92817ce
TT
85442010-08-18 Tom Tromey <tromey@redhat.com>
8545
8546 PR symtab/11919:
8547 * gdb.base/completion.exp: Add test.
8548
f1208f9e
DE
85492010-08-18 Doug Evans <dje@google.com>
8550
8551 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
8552 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
8553 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
8554 Simplify, early exit if runto_main fails.
8555 * gdb.fortran/exprs.exp: load_lib fortran.exp.
8556 (set_lang_fortran): Moved to lib/fortran.exp.
8557 * gdb.fortran/types.exp: load_lib fortran.exp.
8558 (set_lang_fortran): Moved to lib/fortran.exp.
8559 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
8560 * gdb.java/jprint.exp (set_lang_java): Ditto.
8561 * gdb.java/jv-exp.exp: load_lib java.exp.
8562 If set_lang_java fails, issue a warning instead of failure to be
8563 consistent with other set_lang_foo uses.
8564 (set_lang_java): Moved to lib/java.exp.
8565 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
8566 If set_lang_java fails, issue a warning instead of failure to be
8567 consistent with other set_lang_foo uses.
8568 * gdb.pascal/types.exp: load_lib pascal.exp.
8569 (set_lang_pascal): Moved to lib/pascal.exp.
8570 * lib/fortran.exp: New file.
8571 * lib/java.exp (set_lang_java): New function.
8572 * lib/pascal.exp (set_lang_pascal): New function.
8573
2f06b485
YQ
85742010-08-18 Yao Qi <yao@codesourcery.com
8575
8576 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
8577 func_nofb_start and func_loopfb_start, so that address of functions
8578 is equal to these labels on Thumb.
8579
96e25403
YQ
85802010-08-18 Yao Qi <yao@codesourcery.com>
8581
8582 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
8583 to reflect latest c source file.
8584
36e6adc4
JK
85852010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8586
8587 * gdb.cp/infcall-dlopen.exp: New file.
8588 * gdb.cp/infcall-dlopen.cc: New file.
8589 * gdb.cp/infcall-dlopen-lib.cc: New file.
8590
f431efe5
PA
85912010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8592 Pedro Alves <pedro@codesourcery.com>
8593
8594 PR breakpoints/11371
8595
8596 * gdb.base/watch-cond-infcall.exp: New file.
8597 * gdb.base/watch-cond-infcall.c: New file.
8598
06a64a0b
TT
85992010-08-16 Tom Tromey <tromey@redhat.com>
8600
8601 * gdb.base/help.exp: Update.
8602 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
8603 watchpoint.
8604 (test_watch_location): New proc.
8605 (test_watchpoint_in_big_blob): Delete watchpoint.
8606 * gdb.base/watchpoint.c (func5): New function.
8607 (main): Call it.
8608
70ebf4ed
DE
86092010-08-16 Doug Evans <dje@google.com>
8610
8611 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
8612
ca5c20b6
PM
86132010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8614
8615 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
8616 tests.
8617
7346b668
KW
86182010-08-11 Ken Werner <ken.werner@de.ibm.com>
8619
8620 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
8621 * gdb.base/gnu_vector.c: New File.
8622 * gdb.base/gnu_vector.exp: Likewise.
8623
cb2e07a6
PM
86242010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8625
8626 * gdb.python/python.c: New File.
8627 * gdb.python/python-sl.c: New File.
8628 * gdb.python/python.exp: Test solib_address and decode_line
8629 * functions.
8630
5da1313b
JK
86312010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8632
8633 * gdb.python/python.exp (show height, set height 10)
8634 (verify pagination beforehand, verify pagination beforehand: q)
8635 (gdb.execute does not page, verify pagination afterwards)
8636 (verify pagination afterwards: q): New.
8637
49c3ccf7
DE
86382010-08-02 Doug Evans <dje@google.com>
8639
8640 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
8641 because of an older gcc, change test2
8642 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
8643 to unsupported.
8644
42c0c4f1
KH
86452010-07-30 Kazu Hirata <kazu@codesourcery.com>
8646
8647 * gdb.base/break-always.exp: Do not expect full paths to file
8648 names.
8649 * gdb.base/commands.exp: Likewise.
8650
d3765805
DE
86512010-07-30 Doug Evans <dje@google.com>
8652
c98ee71b
DE
8653 * gdb.cp/temargs.exp: For new tests that require newer gccs,
8654 xfail them when run with older gccs.
8655
fd961404
DE
8656 * lib/gdb.exp (build_executable): Forward "c++" option to
8657 get_compiler_info.
8658
999adef4
DE
8659 * gdb.python/py-type.exp (test_template): Mark as xfail tests
8660 "python print ttype.template_argument(1)" and
8661 "python print isinstance(ttype.template_argument(1), gdb.Value)"
8662 if using gcc 4.4 or earlier.
8663
d3765805
DE
8664 * gdb.base/valgrind-db-attach.exp: Use unique test name for
8665 attach-to-debugger handling.
8666
1276c759
JK
86672010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8668
8669 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
8670 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
8671 (main): Use copyreloc.
8672 * gdb.base/prelink.exp (split debug of executable)
8673 (.dynbss vs. .bss address shift): New tests.
8674
88caa9b9
PA
86752010-07-29 Pedro Alves <pedro@codesourcery.com>
8676
8677 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
8678 in gdb_test_multiple.
8679
c6f2ac43
PA
86802010-07-29 Pedro Alves <pedro@codesourcery.com>
8681
8682 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
8683 environment.
8684
326fd672
TT
86852010-07-28 Tom Tromey <tromey@redhat.com>
8686
8687 PR python/11060:
8688 * gdb.python/py-type.c (Temargs): New template.
8689 (temvar): New variable.
8690 * gdb.python/py-type.exp (test_template): New proc.
8691
3ce3b1ba
PA
86922010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8693
8694 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
8695 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
8696
34eaf542
TT
86972010-07-28 Tom Tromey <tromey@redhat.com>
8698
8699 PR c++/9946:
8700 * gdb.cp/temargs.exp: New file.
8701 * gdb.cp/temargs.cc: New file.
8702
d41b819e
JK
87032010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8704
8705 * gdb.base/help.exp (help disassemble): Update the content.
8706
26ab7092
JK
87072010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8708
8709 * gdb.threads/ia64-sigill.exp: New file.
8710 * gdb.threads/ia64-sigill.c: New file.
8711
5283e9e1
TT
87122010-07-27 Tom Tromey <tromey@redhat.com>
8713
8714 * gdb.opt/inline-cmds.c (ATTR): New define.
8715 (func1): Use it.
8716 (func2): Likewise.
8717 (func3): Likewise.
8718 (outer_inline1): Likewise.
8719 (outer_inline2): Likewise.
8720 * gdb.opt/inline-bt.c (ATTR): New define.
8721 (func1): Use it.
8722 (func2): Likewise.
8723 * gdb.opt/inline-locals.c (ATTR): New define.
8724 (func1): Use it.
8725 (func2): Likewise.
8726
e992ef73
TT
87272010-07-27 Tom Tromey <tromey@redhat.com>
8728
8729 * gdb.stabs/gdb11479.c (hack): New function.
8730 (test): Use it.
8731 (test2): Use it.
8732 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
8733 (int32_search_buf, int64_search_buf): No longer static.
8734 (x): Remove.
8735 * gdb.base/relocate.c (hack): New function.
8736
5374244e
PM
87372010-07-27 Phil Muldoon <pmuldoon@redhat.com>
8738
8739 * gdb.python/py-value.exp (test_inferior_function_call): New function.
8740 * gdb.python/py-value.c (func1): New function.
8741 (func2): Likewise.
8742
a99aee83
CV
87432010-07-26 Corinna Vinschen <vinschen@redhat.com>
8744
8745 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
8746 as not to clash with .data section.
8747
a04ba985
JG
87482010-07-26 Jerome Guitton <guitton@adacore.com>
8749
8750 * gdb.base/code_elim.exp: New file.
8751 * gdb.base/code_elim1.c: New file.
8752 * gdb.base/code_elim2.c: New file.
8753
23bd0f7c
PA
87542010-07-21 Pedro Alves <pedro@codesourcery.com>
8755
8756 PR symtab/11827
8757
8758 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
8759 (some_volatile_enum): New variable.
8760 * gdb.base/printcmds.exp (test_print_enums): New.
8761 <top level>: Call it.
8762
883df6dd
SW
87632010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
8764
8765 * gdb.cp/fpointer.cc: New test.
8766 * gdb.cp/fpointer.exp: New test.
8767
569b05a5
JK
87682010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8769
8770 * gdb.base/solib-nodir.exp: New file.
8771 * lib/gdb.exp (runto): New case for a GDB internal error.
8772
51d7d803
JK
87732010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8774 Ulrich Weigand <uweigand@de.ibm.com>
8775 Tom Tromey <tromey@redhat.com>
8776
8777 * gdb.base/charset-malloc.c: New file.
8778 * gdb.base/charset.c (malloc_stub): New prototype.
8779 (main): Call it instead of malloc itself.
8780 * gdb.base/charset.exp: Use only prepare_for_testing.
8781 (binfile): Remove the variable.
8782
c0edd9ed
JK
87832010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8784
8785 Make core files the process_stratum.
8786 * gdb.base/corefile.exp (run: load core again)
8787 (run: sanity check we see the core file, run: with core)
8788 (run: core file is cleared, attach: load core again)
8789 (attach: sanity check we see the core file, attach: with core)
8790 (attach: core file is cleared): New tests.
8791 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
8792
3cbaedff
KW
87932010-07-14 Ken Werner <ken.werner@de.ibm.com>
8794
8795 * gdb.arch/altivec-abi.exp: New tests.
8796
91158a56
TT
87972010-07-13 Tom Tromey <tromey@redhat.com>
8798
8799 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
8800 (main): Use it.
8801 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
8802
0f5238ed
TT
88032010-07-13 Tom Tromey <tromey@redhat.com>
8804
8805 * gdb.base/label.exp: New file.
8806 * gdb.base/label.c: New file.
8807
add265ae
L
88082010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
8809 H.J. Lu <hongjiu.lu@intel.com>
8810
8811 * lib/gdb.exp (is_ilp32_target): New.
8812 (is_lp64_target): Likewise.
8813
8814 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
8815 target.
8816 * gdb.arch/amd64-disp-step.exp: Likewise.
8817 * gdb.arch/amd64-dword.exp: Likewise.
8818 * gdb.arch/amd64-i386-address.exp: Likewise.
8819 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 8820
add265ae
L
8821 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
8822 target.
8823 * gdb.arch/i386-bp_permanent.exp: Likewise.
8824 * gdb.arch/i386-byte.exp: Likewise.
8825 * gdb.arch/i386-disp-step.exp: Likewise.
8826 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8827 * gdb.arch/i386-prologue.exp: Likewise.
8828 * gdb.arch/i386-size-overlap.exp: Likewise.
8829 * gdb.arch/i386-size.exp: Likewise.
8830 * gdb.arch/i386-sse.exp: Likewise.
8831 * gdb.arch/i386-unwind.exp: Likewise.
8832 * gdb.arch/i386-word.exp: Likewise.
8833
8834 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
8835 test only when building 64-bit executables. Do not hard-code
8836 -m64 option.
8837
2dfb8c17
DE
88382010-07-07 Doug Evans <dje@google.com>
8839
8840 * lib/gdb.exp (gdb_test_list_exact): New function.
8841 * gdb.base/default.exp (show convenience): Call it, add tests for
8842 $_sdata = void, $_thread = 0.
8843
4e5799b6
JK
88442010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8845 Joel Brobecker <brobecker@adacore.com>
8846
8847 Fix re-run of PIE executable, PR shlibs/11776.
8848 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
8849 Remove $displacement_main to match the solib-svr4.c change. New "kill"
8850 and re-"run" of the inferior.
8851
1a219cc7
JK
88522010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8853 Joel Brobecker <brobecker@adacore.com>
8854
8855 Cope with missing /usr/sbin/prelink.
8856 * lib/prelink-support.exp (prelink_no):
8857 <result == 1 && $output is "no such file or directory">: New.
8858 (prelink_yes): Likewise. Return on failed prelink_no.
8859
5e3b36f8
JK
88602010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8861 Joel Brobecker <brobecker@adacore.com>
8862
8863 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
8864 build_executable by build_executable_own_libs. Replace "prelink -R"
8865 execution by a call of prelink_yes. Comment why "prelink -r" needs no
8866 change.
8867 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
8868 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
8869 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
8870 Replace build_executable by build_executable_own_libs's function
8871 build_executable_own_libs.
8872 (prelinkNO): Create new stub to call prelink_no.
8873 (prelinkYES): Create new stub to call prelink_yes.
8874 (test_attach): Rename calls of copy to file_copy.
8875 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
8876 (copy): Move to ...
8877 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
8878 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
8879 * gdb.base/prelink.exp: Disable testcase also for is_remote and
8880 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
8881 special flags by gdb_compile_shlib. Replace second gdb_compile by
8882 build_executable_own_libs. Replace "prelink -R" execution by a call of
8883 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
8884 a second call of prelink_yes. Replace restart commands by
8885 clean_restart.
8886 (prelink): Rename to ...
8887 (seen displacement message): ... this test. Extend its expectation
8888 strictness.
8889
86e4bafc
JK
88902010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8891
8892 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
8893 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
8894 displacement message exactly once.
8895
3cd07d20
JK
88962010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8897 Joel Brobecker <brobecker@adacore.com>
8898
8899 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
8900 its restore after the <$relink_args != ""> loop. new comment.
8901
0a1e94c7
JK
89022010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8903 Joel Brobecker <brobecker@adacore.com>
8904
8905 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
8906 code for it. New variable relink_args.
8907 (prelinkYES): Call prelinkNO.
8908 (test_attach): Accept new parameter relink_args. Re-prelink the binary
8909 in such case. Move the core code to ...
8910 (test_attach_gdb): ... a new function. Send GDB command "file".
8911 Extend expected "Attaching to " string.
8912
2f70bcfb
TT
89132010-07-02 Tom Tromey <tromey@redhat.com>
8914
8915 * gdb.base/bitops.exp: Remove extraneous "pass".
8916
a17ac5b0
TT
89172010-07-02 Ken Werner <ken.werner@de.ibm.com>
8918
8919 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8920
dc10affe
PA
89212010-07-01 Pedro Alves <pedro@codesourcery.com>
8922
d41c0fc8
PA
8923 * gdb.base/help.exp: Adjust expected output.
8924
89252010-07-01 Pedro Alves <pedro@codesourcery.com>
8926
8927 * gdb.base/help.exp: Adjust expected output.
dc10affe 8928
0a600c36
JK
89292010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8930
8931 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
8932 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
8933 c++/11702.
8934
37cc8bfe
JK
89352010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8936 Doug Evans <dje@google.com>
8937
8938 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
8939 add .dynamic entry'.
8940
254e6b9e
DE
89412010-06-29 Doug Evans <dje@google.com>
8942
8943 Test PR c++/11702.
8944 * gdb.cp/m-static.exp: Add testcase.
8945 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
8946
595939de 89472010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
8948 Tom Tromey <tromey@redhat.com>
8949 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
8950
8951 * gdb.python/py-inferior.c: New File.
8952 * gdb.python/py-infthread.c: New File.
8953 * gdb.python/py-inferior.exp: New File.
8954 * gdb.python/py-infthread.exp: New File.
8955
98751a41
JK
89562010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8957
8958 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
8959 (ptype ::C::OtherFileClass typedefs): New.
8960 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
8961 (C::OtherFileClass::cOtherFileClassVar2): New.
8962 (C::OtherFileClass::cOtherFileClassVar_use): Use also
8963 cOtherFileClassVar2.
8964 (C::cOtherFileType2, C::cOtherFileVar2): New.
8965 (C::cOtherFileVar_use): use also cOtherFileVar2.
8966 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
8967
41f62f39
JK
89682010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8969
8970 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
8971 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
8972 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
8973 (print ::C::cOtherFileVar)
8974 (whatis C::OtherFileClass::cOtherFileClassType)
8975 (whatis ::C::OtherFileClass::cOtherFileClassType)
8976 (print C::OtherFileClass::cOtherFileClassVar)
8977 (print ::cOtherFileClassVar)
8978 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
8979 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
8980 trailing content.
8981 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
8982 (C::OtherFileClass::cOtherFileClassVar)
8983 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
8984 (C::cOtherFileVar, C::cOtherFileVar_use): New.
8985
af53d231
JK
89862010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8987
8988 Test PR c++/11703 and PR gdb/1448.
8989 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
8990 gdb/1448.
8991
9655fd1a
JK
89922010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8993
8994 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
8995 (main) <rtti_data>: New.
8996 * gdb.cp/virtbase.exp (print rtti_data): New.
8997
824cc8dd
JK
89982010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8999 Joel Brobecker <brobecker@adacore.com>
9000
9001 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
9002
6036c742
JK
90032010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9004
9005 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
9006
de6a0421
DE
90072010-06-28 Doug Evans <dje@google.com>
9008
9009 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
9010
b2dae948
DE
90112010-06-27 Doug Evans <dje@google.com>
9012
9013 * gdb.cp/m-static.exp: Update expected test output.
9014
0f3bb72e
PH
90152010-06-25 Paul Hilfinger <hilfinger@adacore.com>
9016
889bf7c5
PA
9017 * gdb.gdb/selftest.exp: Adjust expected message for
9018 capturing start-up runtime.
0f3bb72e 9019
bc9f0842
TT
90202010-06-25 Tom Tromey <tromey@redhat.com>
9021
9022 PR python/10808:
9023 * gdb.python/python.exp: Add new tests.
9024
099ef718
SW
90252010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
9026
9027 * gdb.cp/operator.cc: Created an import loop.
9028 * gdb.cp/operator.exp: Added testcase for import loop.
9029
5868a632
JK
90302010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9031
9032 Test PR python/11407.
9033 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
9034 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
9035 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
9036 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
9037 executable_nofb and executable_fb. New variables srcsfile, objsfile,
9038 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
9039 binfile. Call gdb_compile with clean_restart twice.
9040 (func_nofb print, func_nofb backtrace, func_loopfb print)
9041 (func_loopfb backtrace): New.
9042
af76db58
JK
90432010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9044
9045 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
9046 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
9047 by a hand made one.
9048 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
9049 i?86 requirement. Remove variables srcfile and binfile. New variable
9050 sources, executable_nofb and executable_fb. Call prepare_for_testing.
9051
f2c7657e
UW
90522010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9053
9054 * gdb.cell/dwarfaddr.exp: New file.
9055 * gdb.cell/dwarfaddr.S: New file.
9056
628fe4e4
JK
90572010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9058
9059 Test PR 9436.
9060 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
9061
f1421989
HZ
90622010-06-24 Hui Zhu <teawater@gmail.com>
9063
9064 * gdb.base/eval.exp: New file.
9065
d03285ec
UW
90662010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9067
9068 * gdb.cell/fork.exp: New file.
9069 * gdb.cell/fork.c: Likewise.
9070 * gdb.cell/fork-spu.c: Likewise.
9071
41b2c92d
PM
90722010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
9073
9074 * lib/gdb.exp (banned_variables_traced): New global variable.
9075 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
9076 (gdb_init): Use `trace add variable' instead of obsolete
9077 `trace variable'.
9078
d5bc977f
DE
90792010-06-21 Doug Evans <dje@google.com>
9080
9081 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
9082
d2ed6730
UW
90832010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9084
9085 * gdb.arch/spu-ls.exp: New file.
9086 * gdb.arch/spu-ls.c: Likewise.
9087
6aed2dbc
SS
90882010-06-18 Stan Shebs <stan@codesourcery.com>
9089
9090 * gdb.threads/thread-specific.exp: Add tests of $_thread.
9091
e0756905
UW
90922010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9093
9094 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
9095 * gdb.base/watch-cond.exp: Likewise.
9096 * gdb.python/py-breakpoint.exp: Likewise.
9097
d8053d4d
PA
90982010-06-18 Pedro Alves <pedro@codesourcery.com>
9099
9100 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
9101 clean_restart, make sure every test has a distinct message, and
9102 that messages don't include the executable' full path.
9103
81ce510c
DE
91042010-06-17 Doug Evans <dje@google.com>
9105
9106 * gdb.arch/i386-size.exp: Updated expected output for
9107 DISASSEMBLY_OMIT_FNAME.
9108
65d79d4b
SDJ
91092010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9110 Sergio Durigan Junior <sergiodj@redhat.com>
9111
9112 * gdb.base/watch-notconst.c: New file.
9113 * gdb.base/watch-notconst.S: New file.
9114 * gdb.base/watch-notconst2.c: New file.
9115 * gdb.base/watch-notconst2.S: New file.
9116 * gdb.base/watch-notconst.exp: New file.
9117 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
9118 (func4): Add operations on `global_ptr_ptr'.
9119 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
9120 routine to test watchpoints created with a constant expression.
9121 (test_inaccessible_watchpoint): Include tests for watchpoints
9122 created with a constant expression.
9123
df0f4836
KB
91242010-06-14 Kevin Buettner <kevinb@redhat.com>
9125
9126 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9127 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
9128 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
9129 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
9130 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9131 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9132 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
9133 of `_start'.
9134
b769def5
UW
91352010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9136
9137 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
9138 not supported on the target.
9139 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9140 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9141 * gdb.mi/mi-nsintrall.exp: Likewise.
9142 * gdb.mi/mi-nsmoribund.exp: Likewise.
9143 * gdb.mi/mi-nsthrexec.exp: Likewise.
9144
d914c394
SS
91452010-06-11 Stan Shebs <stan@codesourcery.com>
9146
9147 * gdb.base/permissions.exp: New file.
9148
91492010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
9150
9151 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
9152 does not support ELF executable class.
9153
f3ce5b9c
UW
91542010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9155
9156 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
9157
8e46892c
JK
91582010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9159
9160 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
9161 (runto): Catch "The target does not support running in non-stop mode.".
9162
6cc55c64
MS
91632010-06-11 Michael Snyder <msnyder@vmware.com>
9164
9165 * gdb.base/setshow.exp (set language asm): Don't use
9166 gdb_test_no_output, fails on some targets.
9167
caddefa4
UW
91682010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9169
9170 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
9171 * gdb.cp/pr9167.exp: Likewise.
9172
468b1aa7
UW
91732010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9174
9175 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
9176
5c3552dc
UW
91772010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9178
9179 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
9180
02e6fe6a
UW
91812010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9182
9183 * gdb.base/charset.c (main): Make sure malloc gets linked in.
9184
0e03807e
TT
91852010-06-11 Tom Tromey <tromey@redhat.com>
9186
9187 PR gdb/9977, PR exp/11636::
9188 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
9189 (pieces_test_f6): Update expected output.
9190
2bdf28a0
JK
91912010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9192
9193 * gdb.base/moribund-step.exp: New.
9194
f6978de9
MS
91952010-06-08 Michael Snyder <msnyder@vmware.com>
9196
9197 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 9198 * gdb.ada/boolean_expr.exp:
f6978de9
MS
9199 * gdb.ada/frame_args.exp: Ditto.
9200 * gdb.ada/lang_switch.exp: Ditto.
9201 * gdb.ada/ptype_arith_binop.exp: Ditto.
9202 * gdb.ada/ref_param.exp: Ditto.
9203 * gdb.ada/type_coercion.exp:Ditto.
9204
9205 * gdb.asm/asm-source.exp: Ditto.
9206
9207 * gdb.base/attach.exp: Ditto.
9208 * gdb.base/bitfields2.exp: Ditto.
9209 * gdb.base/call-signal-resume.exp: Ditto.
9210 * gdb.base/callfuncs.exp: Ditto.
9211 * gdb.base/commands.exp: Ditto.
9212 * gdb.base/dbx.exp: Ditto.
9213 * gdb.base/default.exp: Ditto.
9214 * gdb.base/dump.exp: Ditto.
9215 * gdb.base/exprs.exp: Ditto.
9216 * gdb.base/freebpcmd.exp: Ditto.
9217 * gdb.base/interrupt.exp: Ditto.
9218 * gdb.base/list.exp: Ditto.
9219 * gdb.base/long_long.exp: Ditto.
9220 * gdb.base/maint.exp: Ditto.
9221 * gdb.base/ptype.exp: Ditto.
9222 * gdb.base/return.exp: Ditto.
9223 * gdb.base/setshow.exp: Ditto.
9224 * gdb.base/sigbpt.exp: Ditto.
9225 * gdb.base/sigrepeat.exp: Ditto.
9226
9227 * gdb.cp/classes.exp: Ditto.
9228
9229 * gdb.dwarf2/dw2-restore.exp: Ditto.
9230
9231 * gdb.gdb/selftest.exp: Ditto.
9232
9233 * gdb.multi/base.exp: Ditto.
9234 * gdb.multi/bkpt-multi-exec.exp: Ditto.
9235
9236 * gdb.python/py-block.exp: Ditto.
9237 * gdb.python/py-prettyprint.exp: Ditto.
9238 * gdb.python/py-template.exp: Ditto.
9239
9240 * gdb.server/ext-attach.exp: Ditto.
9241 * gdb.server/ext-run.exp: Ditto.
9242 * gdb.server/server-mon.exp: Ditto.
9243
9244 * gdb.threads/fork-thread-pending.exp: Ditto.
9245 * gdb.threads/hand-call-in-threads.exp: Ditto.
9246 * gdb.threads/interrupted-hand-call.exp: Ditto.
9247 * gdb.threads/linux-dp.exp: Ditto.
9248 * gdb.threads/manythreads.exp: Ditto.
9249 * gdb.threads/print-threads.exp: Ditto.
9250 * gdb.threads/pthreads.exp: Ditto.
9251 * gdb.threads/schedlock.exp: Ditto.
9252 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9253 * gdb.threads/threadapply.exp: Ditto.
9254
de7ff789
MS
92552010-06-08 Michael Snyder <msnyder@vmware.com>
9256
889bf7c5 9257 * gdb.ada/exec_changed.exp:
de7ff789
MS
9258 Use ".*" instead of "" as wildcard regexp.
9259
9260 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
9261 * gdb.base/call-ar-st.exp: Ditto.
9262 * gdb.base/checkpoint.exp: Ditto.
9263 * gdb.base/default.exp: Ditto.
9264 * gdb.base/dump.exp: Ditto.
9265 * gdb.base/ending-run.exp: Ditto.
9266 * gdb.base/fileio.exp: Ditto.
9267 * gdb.base/miscexprs.exp: Ditto.
9268 * gdb.base/pointers.exp: Ditto.
9269 * gdb.base/readline.exp: Ditto.
9270 * gdb.base/reread.exp: Ditto.
9271 * gdb.base/restore.exp: Ditto.
9272 * gdb.base/shlib-call.exp: Ditto.
9273 * gdb.base/valgrind-db-attach.exp: Ditto.
9274 * gdb.base/volatile.exp: Ditto.
9275 * gdb.base/watchpoints.exp: Ditto.
9276
9277 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
9278
9279 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
9280 * gdb.python/py-value.exp: Ditto.
9281
9282 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
9283 * gdb.trace/circ.exp: Ditto.
9284 * gdb.trace/collection.exp: Ditto.
9285 * gdb.trace/packetlen.exp: Ditto.
9286 * gdb.trace/passc-dyn.exp: Ditto.
9287 * gdb.trace/report.exp: Ditto.
9288 * gdb.trace/tfile.exp: Ditto.
9289 * gdb.trace/tfind.exp: Ditto.
9290 * gdb.trace/while-dyn.exp: Ditto.
9291
3bebe2f2
JK
92922010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9293
9294 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
9295
5c631832
JK
92962010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9297
9298 Test PR 10640.
9299 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
9300
4c3376c8
SW
93012010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
9302
9303 * gdb.cp/koenig.exp: Test for ADL operators.
9304 * gdb.cp/koenig.cc: Added ADL operators.
9305 * gdb.cp/operator.exp: New test.
9306 * gdb.cp/operator.cc: New test.
9307
dc226d5a
MS
93082010-06-04 Michael Snyder <msnyder@vmware.com>
9309
dfb88a23
MS
9310 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
9311 * gdb.base/pending.exp: Ditto.
f7ae76b3 9312
dc226d5a
MS
9313 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
9314
967cf477
DE
93152010-06-04 Doug Evans <dje@google.com>
9316
9317 * gdb.python/py-prettyprint.exp: Add new test for enabled and
9318 disabled printers.
9319 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
9320 (enable_lookup_function): New function.
9321
eb801841
TT
93222010-06-04 Tom Tromey <tromey@redhat.com>
9323
9324 * gdb.python/py-value.exp (test_value_hash): Don't test equality
9325 of hash and id.
9326
38979823
JK
93272010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9328
9329 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
9330 newline.
9331 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
9332 (empty verbose non-noisy clear, empty verbose noisy clear)
9333 (empty non-verbose noisy clear): Likewise.
9334
35ec993f
MS
93352010-06-03 Michael Snyder <msnyder@vmware.com>
9336
9337 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
9338 * gdb.base/display.exp: Ditto.
9339 * gdb.base/find.exp: Ditto.
9340 * gdb.base/ifelse.exp: Ditto.
9341 * gdb.base/multi-forks.exp: Ditto.
9342 * gdb.base/recurse.exp: Ditto.
9343 * gdb.base/setshow.exp: Ditto.
9344 * gdb.base/value-double-free.exp: Ditto.
9345 * gdb.base/watch-vfork.exp: Ditto.
9346 * gdb.base/watch_thread_num.exp: Ditto.
9347 * gdb.base/watchpoint-solib.exp: Ditto.
9348 * gdb.base/watchpoint.exp: Ditto.
9349 * gdb.base/watchpoints.exp: Ditto.
9350
9351 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
9352 * gdb.cp/overload.exp: Ditto.
9353 * gdb.cp/virtfunc.exp: Ditto.
9354
9355 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
9356
889bf7c5 9357 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
9358 Replace gdb_test with gdb_test_no_output.
9359
889bf7c5 9360 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
9361 Replace gdb_test with gdb_test_no_output.
9362 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9363 * gdb.threads/watchthreads.exp: Ditto.
9364 * gdb.threads/watchthreads2.exp: Ditto.
9365
9366 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
9367 * gdb.trace/tfind.exp: Ditto.
9368
c22decce
JB
93692010-06-03 Joel Brobecker <brobecker@adacore.com>
9370
9371 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
9372 successful test if message is the empty string.
9373
fd5700c7
JK
93742010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9375
9376 * gdb.fortran/module.exp (stopped language detection): New test.
9377
f55ee35c
JK
93782010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9379
9380 Support DW_TAG_module as separate namespaces.
9381 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
9382 gdb.fortran/library-module-lib.f90: New.
9383 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
9384 (print i): Remove.
9385 (continue to breakpoint: i-is-1, print var_i value 1)
9386 (continue to breakpoint: i-is-2, print var_i value 2)
9387 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
9388 (print var_d, print var_i value 14, ptype modmany, complete `modm)
9389 (complete `modmany, complete `modmany`, complete `modmany`var)
9390 (show language, setting breakpoint at module): New tests.
9391 * gdb.fortran/module.f90 (module mod): Remove.
9392 (module mod1, module mod2, module modmany, subroutine sub1)
9393 (subroutine sub2, program module): New.
9394
b8e8282f
JK
93952010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9396
9397 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
9398 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
9399 * gdb.cp/anon-union.exp (pass): Rename to ...
9400 (print z 2): ... here.
b8e8282f 9401
019ebafc
MS
94022010-06-02 Michael Snyder <msnyder@vmware.com>
9403
e68d8fd4
MS
9404 * gdb.trace/actions.exp: Use gdb_test_no_output.
9405 * gdb.trace/circ.exp: Ditto.
9406 * gdb.trace/packetlen.exp: Ditto.
9407 * gdb.trace/save-trace.exp: Ditto.
9408 * gdb.trace/tracecmd.exp: Ditto.
9409 * gdb.trace/tsv.exp: Ditto.
9410
12b5d08a
MS
9411 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
9412 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
9413 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9414 * gdb.threads/manythreads.exp: Ditto.
9415 * gdb.threads/print-threads.exp: Ditto.
9416 * gdb.threads/pthreads.exp: Ditto.
9417 * gdb.threads/schedlock.exp: Ditto.
9418 * gdb.threads/staticthreads.exp: Ditto.
9419 * gdb.threads/thread-specific.exp: Ditto.
9420 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9421 * gdb.threads/threadapply.exp: Ditto.
9422 * gdb.threads/watchthreads.exp: Ditto.
9423 * gdb.threads/watchthreads2.exp: Ditto.
9424
89493308
MS
9425 * gdb.python/py-block.exp: Use gdb_test_no_output.
9426 * gdb.python/py-prettyprint.exp: Ditto.
9427 * gdb.python/py-template.exp: Ditto.
9428 * gdb.python/py-value.exp: Ditto.
9429
9430 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
9431 * gdb.reverse/watch-reverse.exp: Ditto.
9432
9433 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
9434 * gdb.server/ext-run.exp: Ditto.
9435
019ebafc
MS
9436 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
9437 * gdb.dwarf2/dw2-compressed.exp: Ditto.
9438 * gdb.dwarf2/dw2-intercu.exp: Ditto.
9439 * gdb.dwarf2/dw2-intermix.exp: Ditto.
9440 * gdb.dwarf2/dw2-producer.exp: Ditto.
9441 * gdb.dwarf2/mac-fileno.exp: Ditto.
9442
9443 * gdb.gdb/observer.exp: Use gdb_test_no_output.
9444 * gdb.gdb/selftest.exp: Ditto.
9445
9446 * gdb.multi/base.exp: Use gdb_test_no_output.
9447
9448 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
9449
3e0ca3a5
JK
94502010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9451
9452 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
9453
9db70545
MS
94542010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
9455
a8d52276
MS
9456 * gdb.cp/class2.exp: Use gdb_test_no_output.
9457 * gdb.cp/classes.exp: Ditto.
9458 * gdb.cp/extern-c.exp: Ditto.
9459 * gdb.cp/inherit.exp: Ditto.
9460 * gdb.cp/maint.exp: Ditto.
9461 * gdb.cp/mb-inline.exp: Ditto.
9462 * gdb.cp/mb-templates.exp: Ditto.
9463 * gdb.cp/method2.exp: Ditto.
9464 * gdb.cp/misc.exp: Ditto.
9465 * gdb.cp/ovldbreak.exp: Ditto.
9466 * gdb.cp/punctuator.exp: Ditto.
9467 * gdb.cp/templates.exp: Ditto.
9468 * gdb.cp/virtbase.exp: Ditto.
9469
889bf7c5 9470 * gdb.threads/attach-stopped.exp:
9db70545 9471 Replace uses of send_gdb / gdb_expect.
889bf7c5 9472 * gdb.threads/attachstop-mt.exp:
9db70545 9473 Replace uses of send_gdb / gdb_expect.
889bf7c5 9474 * gdb.threads/gcore-thread.exp:
9db70545 9475 Replace uses of send_gdb / gdb_expect.
889bf7c5 9476 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
9477 Replace uses of send_gdb / gdb_expect.
9478 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 9479 * gdb.threads/print-threads.exp:
9db70545
MS
9480 Replace uses of send_gdb / gdb_expect.
9481 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
9482 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
9483 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
9484
9485 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
9486 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
9487 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
9488 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
9489 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
9490 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
9491 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
9492 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
9493 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
9494 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
9495 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
9496
359cc68c
JK
94972010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9498
9499 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
9500
7d3fe98e
SW
95012010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
9502
9503 * gdb.cp/koenig.exp: Added new test case.
9504 * gdb.cp/koenig.cc: Ditto.
9505
27d3a1a2
MS
95062010-06-01 Michael Snyder <msnyder@vmware.com>
9507
9508 * gdb.base/arithmet.exp: Use gdb_test_no_output.
9509 * gdb.base/arrayidx.exp: Ditto.
9510 * gdb.base/attach.exp: Ditto.
9511 * gdb.base/auxv.exp: Ditto.
9512 * gdb.base/bigcre.exp: Ditto.
9513 * gdb.base/break-always.exp: Ditto.
9514 * gdb.base/break-interp.exp: Ditto.
9515 * gdb.base/break.exp: Ditto.
9516 * gdb.base/breakpoint-shadow.exp: Ditto.
9517 * gdb.base/call-ar-st.exp: Ditto.
9518 * gdb.base/call-sc.exp: Ditto.
9519 * gdb.base/call-signal-resume.exp: Ditto.
9520 * gdb.base/callfuncs.exp: Ditto.
9521 * gdb.base/catch-syscall.exp: Ditto.
9522 * gdb.base/charset.exp: Ditto.
9523 * gdb.base/code-expr.exp: Ditto.
9524 * gdb.base/commands.exp: Ditto.
9525 * gdb.base/cond-expr.exp: Ditto.
9526 * gdb.base/condbreak.exp: Ditto.
9527 * gdb.base/cursal.exp: Ditto.
9528 * gdb.base/cvexpr.exp: Ditto.
9529 * gdb.base/default.exp: Ditto.
9530 * gdb.base/del.exp: Ditto.
9531 * gdb.base/detach.exp: Ditto.
9532 * gdb.base/display.exp: Ditto.
9533 * gdb.base/ena-dis-br.exp: Ditto.
9534 * gdb.base/eval-skip.exp: Ditto.
9535 * gdb.base/foll-fork.exp: Ditto.
9536 * gdb.base/foll-vfork.exp: Ditto.
9537 * gdb.base/frame-args.exp: Ditto.
9538 * gdb.base/funcargs.exp: Ditto.
9539 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9540 * gdb.base/gdbvars.exp: Ditto.
9541 * gdb.base/help.exp: Ditto.
9542 * gdb.base/ifelse.exp: Ditto.
9543 * gdb.base/included.exp: Ditto.
9544 * gdb.base/list.exp: Ditto.
9545 * gdb.base/macscp.exp: Ditto.
9546 * gdb.base/maint.exp: Ditto.
9547 * gdb.base/multi-fork.exp: Ditto.
9548 * gdb.base/overlays.exp: Ditto.
9549 * gdb.base/page.exp: Ditto.
9550 * gdb.base/pending.exp: Ditto.
9551 * gdb.base/pointers.exp: Ditto.
9552 * gdb.base/pr11022.exp: Ditto.
9553 * gdb.base/prelink.exp: Ditto.
9554 * gdb.base/printcmds.exp: Ditto.
9555 * gdb.base/psymtab.exp: Ditto.
9556 * gdb.base/randomize.exp: Ditto.
9557 * gdb.base/relational.exp: Ditto.
9558 * gdb.base/relocate.exp: Ditto.
9559 * gdb.base/remote.exp: Ditto.
9560 * gdb.base/sepdebug.exp: Ditto.
9561 * gdb.base/set-lang-auto.exp: Ditto.
9562 * gdb.base/setshow.exp: Ditto.
9563 * gdb.base/setvar.exp: Ditto.
9564 * gdb.base/signals.exp: Ditto.
9565 * gdb.base/signull.exp: Ditto.
9566 * gdb.base/sigstep.exp: Ditto.
9567 * gdb.base/sizeof.exp: Ditto.
9568 * gdb.base/solib-disc.exp: Ditto.
9569 * gdb.base/store.exp: Ditto.
9570 * gdb.base/structs.exp: Ditto.
9571 * gdb.base/structs2.exp: Ditto.
9572 * gdb.base/subst.exp: Ditto.
9573 * gdb.base/term.exp: Ditto.
9574 * gdb.base/trace-commands.exp: Ditto.
9575 * gdb.base/unwindonsignal.exp: Ditto.
9576 * gdb.base/valgrind-db-attach.exp: Ditto.
9577 * gdb.base/varargs.exp: Ditto.
9578 * gdb.base/watch-cond.exp: Ditto.
9579 * gdb.base/watch_thread_num.exp: Ditto.
9580 * gdb.base/watchpoint-cond-gone.exp: Ditto.
9581 * gdb.base/watchpoint.exp: Ditto.
9582 * gdb.base/whatis-exp.exp: Ditto.
9583
f8d3bf8f
MS
95842010-06-01 Michael Snyder <msnyder@vmware.com>
9585
9586 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
9587 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
9588 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
9589 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
9590 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
9591 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
9592 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
9593 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
9594 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
9595 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
9596 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
9597 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
9598 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
9599 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
9600 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
9601
3f9e0d32
JK
96022010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9603
9604 * gdb.base/commands.exp (begin commands on watch): Remove excessive
9605 trailing newline.
9606 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
9607 * gdb.java/jmisc.exp (p *args\n): Rename to ...
9608 (p *args): ... here and remove excessive trailing newline.
9609
f629457d
JB
96102010-05-31 Joel Brobecker <brobecker@adacore.com>
9611
9612 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
9613
09eef106
JK
96142010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
9615
9616 Accept the new Linux kernel "t (tracing stop)" string.
9617 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
9618 Update comment.
9619 (state_wait) <T (tracing stop)>: New.
9620 (main): Update the state_wait expect string.
9621
94f31136
PA
96222010-05-28 Pedro Alves <pedro@codesourcery.com>
9623
9624 * limits.c, limits.exp: Delete files.
9625 * Makefile.in (clean mostlyclean): Adjust.
9626 * tracecmd.exp: Adjust.
9627
096554ab
JK
96282010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9629
9630 * gdb.base/tui-layout.exp: New.
9631
27d3a1a2 96322010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 9633
889bf7c5 9634 * gdb.reverse/break-precsave.exp:
bcd2dc50 9635 Replace uses of send_gdb / gdb_expect.
889bf7c5 9636 * gdb.reverse/break-reverse.exp:
bcd2dc50 9637 Replace uses of send_gdb / gdb_expect.
889bf7c5 9638 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 9639 Replace uses of send_gdb / gdb_expect.
889bf7c5 9640 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 9641 Replace uses of send_gdb / gdb_expect.
889bf7c5 9642 * gdb.reverse/finish-precsave.exp:
bcd2dc50 9643 Replace uses of send_gdb / gdb_expect.
889bf7c5 9644 * gdb.reverse/finish-reverse.exp:
bcd2dc50 9645 Replace uses of send_gdb / gdb_expect.
889bf7c5 9646 * gdb.reverse/i386-precsave.exp:
bcd2dc50 9647 Replace uses of send_gdb / gdb_expect.
889bf7c5 9648 * gdb.reverse/i386-reverse.exp:
bcd2dc50 9649 Replace uses of send_gdb / gdb_expect.
889bf7c5 9650 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 9651 Replace uses of send_gdb / gdb_expect.
889bf7c5 9652 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 9653 Replace uses of send_gdb / gdb_expect.
889bf7c5 9654 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 9655 Replace uses of send_gdb / gdb_expect.
889bf7c5 9656 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 9657 Replace uses of send_gdb / gdb_expect.
889bf7c5 9658 * gdb.reverse/machinestate.exp:
bcd2dc50 9659 Replace uses of send_gdb / gdb_expect.
889bf7c5 9660 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 9661 Replace uses of send_gdb / gdb_expect.
889bf7c5 9662 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 9663 Replace uses of send_gdb / gdb_expect.
889bf7c5 9664 * gdb.reverse/solib-precsave.exp:
bcd2dc50 9665 Replace uses of send_gdb / gdb_expect.
889bf7c5 9666 * gdb.reverse/solib-reverse.exp:
bcd2dc50 9667 Replace uses of send_gdb / gdb_expect.
889bf7c5 9668 * gdb.reverse/step-precsave.exp:
bcd2dc50 9669 Replace uses of send_gdb / gdb_expect.
889bf7c5 9670 * gdb.reverse/step-reverse.exp:
bcd2dc50 9671 Replace uses of send_gdb / gdb_expect.
889bf7c5 9672 * gdb.reverse/until-precsave.exp:
bcd2dc50 9673 Replace uses of send_gdb / gdb_expect.
889bf7c5 9674 * gdb.reverse/until-reverse.exp:
bcd2dc50 9675 Replace uses of send_gdb / gdb_expect.
889bf7c5 9676 * gdb.reverse/watch-precsave.exp:
bcd2dc50 9677 Replace uses of send_gdb / gdb_expect.
889bf7c5 9678 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
9679 Replace uses of send_gdb / gdb_expect.
9680
3def43e0
JK
96812010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9682
9683 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
9684 excessive newline.
9685
27d3a1a2 96862010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
9687
9688 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
9689 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
9690 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
9691 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
9692 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
9693 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
9694 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
9695 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
9696 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
9697 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
9698 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
9699 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
9700 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
9701 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
9702 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
9703 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
9704 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
9705 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
9706 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 9707
27d3a1a2 97082010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 9709
22454424
MS
9710 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
9711 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
9712
9713 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
9714 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
9715 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
9716
889bf7c5 9717 * gdb.reverse/consecutive-reverse.exp:
22454424 9718 Replace uses of send_gdb / gdb_expect.
889bf7c5 9719 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
9720 Replace uses of send_gdb / gdb_expect.
9721
9722 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
9723 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
9724 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 9725 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
9726 Replace uses of send_gdb / gdb_expect.
9727 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
9728 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
9729 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
9730 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
9731 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
9732 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
9733 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
9734 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
9735 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
9736
97372010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 9738
22454424 9739 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 9740
22454424 9741 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 9742
22454424
MS
9743 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
9744 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
9745 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
9746 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
9747 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
9748 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
9749 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
9750 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
9751 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 9752
6e5f2c59
TT
97532010-05-25 Tom Tromey <tromey@redhat.com>
9754
9755 * gdb.base/macscp.exp: Add missing space after setup_kfail.
9756
bbc8b958
TT
97572010-05-25 Tom Tromey <tromey@redhat.com>
9758
9759 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
9760 argument order.
9761 * gdb.base/macscp.exp: Fix setup_kfail argument order.
9762 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
9763 order.
9764 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
9765 order.
9766 * gdb.base/call-sc.exp (setup_kfails): Remove.
9767 (setup_compiler_kfails): Remove.
9768 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
9769 argument order.
9770 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
9771 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
9772 (advancei): Fix setup_kfail argument order.
9773 * gdb.base/radix.exp: Fix setup_kfail argument order.
9774 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
9775 order.
9776 * gdb.base/structs.exp (setup_kfails): Remove.
9777 (setup_compiler_kfails): Fix setup_kfail argument order.
9778 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
9779 order.
9780 * gdb.java/jmain.exp: Fix setup_kfail argument order.
9781 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
9782 setup_kfail argument order.
9783 * gdb.cp/overload.exp: Fix setup_kfail argument order.
9784
83d1babf
TT
97852010-05-25 Tom Tromey <tromey@redhat.com>
9786
9787 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
9788
6acb16a2
MS
97892010-05-25 Michael Snyder <msnyder@vmware.com>
9790
9791 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
9792 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
9793 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
9794 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
9795 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
9796 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
9797 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
9798 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
9799 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
9800 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
9801 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
9802 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
9803 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
9804 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
9805 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
9806 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
9807 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
9808 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
9809 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
9810 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
9811 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
9812 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
9813 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
9814 * gdb.base/default.exp: Replace send_gdb with gdb_test.
9815 * gdb.base/define.exp: Replace send_gdb with gdb_test.
9816 * gdb.base/display.exp: Replace send_gdb with gdb_test.
9817 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
9818 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
9819 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
9820 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
9821 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
9822 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
9823 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
9824 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
9825 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
9826 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
9827 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
9828 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
9829 * gdb.base/help.exp: Replace send_gdb with gdb_test.
9830 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
9831 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
9832 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
9833 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
9834 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
9835 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
9836 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
9837 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 9838 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
9839
98402010-05-25 Doug Evans <dje@google.com>
9841
9842 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
9843 gdb.string_to_argv.
ad3986f0 9844
d3b1e874
TT
98452010-05-21 Tom Tromey <tromey@redhat.com>
9846
9847 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
9848 Call it.
9849 * gdb.dwarf2/pieces.S: Update.
9850 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
9851
cb826367
TT
98522010-05-21 Tom Tromey <tromey@redhat.com>
9853
9854 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
9855 Call it.
9856 * gdb.dwarf2/pieces.c (struct C): New.
9857 (f6): New function.
9858 * gdb.dwarf2/pieces.S: Replace.
9859
74de6778
TT
98602010-05-21 Tom Tromey <tromey@redhat.com>
9861
9862 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
9863 Call it.
9864
afd74c5f
TT
98652010-05-21 Tom Tromey <tromey@redhat.com>
9866
9867 * gdb.dwarf2.pieces.exp: New file.
9868 * gdb.dwarf2.pieces.S: New file.
9869 * gdb.dwarf2.pieces.c: New file.
9870
a7b75dfd 98712010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 9872 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
9873
9874 * lib/gdb.exp (gdb_test_no_output): New function.
9875 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
9876 when testing commands that should produce no output.
9877
c81c812a
JB
98782010-05-17 Joel Brobecker <brobecker@adacore.com>
9879
9880 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
9881 parameter that we want to watch being a constant.
9882
0cce5bd9
JB
98832010-05-17 Joel Brobecker <brobecker@adacore.com>
9884
9885 * gdb.ada/cond_lang: New testcase.
9886
47050449
JB
98872010-05-17 Joel Brobecker <brobecker@adacore.com>
9888
9889 * lib/gdb.exp (banned_variables): New variable/constant.
9890 (gdb_init): Add write trace on variables listed in banned_variables.
9891 (gdb_finish): Remove write traces on variables listed in
9892 banned_variables.
9893
77c01586
JB
98942010-05-17 Joel Brobecker <brobecker@adacore.com>
9895
9896 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
9897 * gdb.cp/koenig.exp: Likewise.
9898
88d4aea7
PM
98992010-05-14 Phil Muldoon <pmuldoon@redhat.com>
9900
889bf7c5 9901 PR python/11482
88d4aea7
PM
9902
9903 * gdb.python/py-value.exp (test_value_hash): New function.
9904
f5a010c0
PM
99052010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
9906
9907 PR exp/11530.
9908 * gdb.base/gdb11530.c: New file.
9909 * gdb.base/gdb11530.exp: New file.
9910
8ef4892f
JK
99112010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9912
9913 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
9914 * gdb.dwarf2/dw2-modula2-self-type.S: New.
9915
7322dca9
SW
99162010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
9917
9918 * gdb.cp/koenig.exp: New test.
9919 * gdb.cp/koenig.cc: New test program.
9920
02e7ea18
JB
99212010-05-05 Joel Brobecker <brobecker@adacore.com>
9922
9923 Remove the use of prms_id and bug_id throughout the testsuite.
9924
e1c34c5d
PM
99252010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
9926
9927 PR exp/11349.
9928 * testsuite/gdb.cp/ref-types.exp: Add test to examine
9929 use a reference local variable.
9930
8e1d0c49
JK
99312010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9932
9933 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
9934 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
9935 variable different_dir. Move debugfile into a full directory pathname
9936 under DIFFERENT_DIR.
9937 * lib/gdb.exp (separate_debug_filename): Remove.
9938 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
9939 variable debug_dir and mkdir of it. Update function comments.
9940
e66408ed
PA
99412010-04-29 Pedro Alves <pedro@codesourcery.com>
9942
9943 PR gdb/11557
9944
9945 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
9946 files.
9947
d7b32ed3
PM
99482010-04-29 Phil Muldoon <pmuldoon@redhat.com>
9949
889bf7c5 9950 * gdb.python/py-param.exp: New File.
d7b32ed3 9951
6aecb9c2
JB
99522010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
9953
9954 * gdb.base/default.exp: Fix "set language" test.
9955
bdf92a1c
PM
99562010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
9957
9958 PR breakpoints/11531.
9959 * gdb.base/gdb11531.c: New file.
9960 * gdb.base/gdb11531.exp: New file.
9961
3f172e24
TT
99622010-04-26 Tom Tromey <tromey@redhat.com>
9963
9964 * gdb.base/completion.exp: Add tests for completion and deprecated
9965 commands.
9966
64af4c92
JK
99672010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9968
9969 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
9970 (print /x char_array): Escape curly brackets.
9971
492928e4
JK
99722010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9973
9974 Fix deadlock on looped list of loaded shared objects.
9975 * gdb.base/solib-corrupted.exp: New.
9976
66d09542
DE
99772010-04-23 Doug Evans <dje@google.com>
9978
9979 * gdb.python/py-section-script.c: New file.
9980 * gdb.python/py-section-script.exp: New file.
9981 * gdb.python/py-section-script.py: New file.
9982
8bd10a10
CM
99832010-04-20 Chris Moller <cmoller@redhat.com>
9984
9985 PR 10179
9986
9987 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
9988 * gdb.base/pr10179-a.c:
9989 * gdb.base/pr10179-b.c:
9990 * gdb.base/pr10179.exp: New files.
9991
c0201579
JK
99922010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9993
9994 Fix crashes on dangling display expressions.
9995 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
9996 is SEP.
9997 (lib_flags): Remove the "debug" keyword.
9998 (libsepdebug): New variable for iterating new loop.
9999 (save_pf_prefix): New variable wrapping the loop.
10000 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
10001 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
10002
793b0ff8
PM
100032010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10004
10005 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
10006
097f51f7
PM
100072010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10008
10009 PR stabs/11479.
10010 * gdb.stabs/gdb11479.exp: New file.
10011 * gdb.stabs/gdb11479.c: New file.
10012
9a22f0d0
PM
100132010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10014
10015 * gdb.base/charset.c (Strin16, String32): New variables.
10016 * gdb.base/charset.exp (gdb_test): Test correct display
10017 of 16 or 32 bit strings.
10018
100192010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
10020
10021 PR 9167
10022 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
10023 * gdb.cp/pr9167.cc: New file.
10024 * gdb.cp/pr9167.exp: New file.
10025
10026
6e354e5e
PM
100272010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
10028
10029 PR pascal/11492.
10030 * gdb.pascal/gdb11492.pas: New file.
10031 * gdb.pascal/gdb11492.exp: New file.
10032
be942545
JB
100332010-04-20 Joel Brobecker <brobecker@adacore.com>
10034
1667e6e3 10035 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 10036
0c3acc09
JB
100372010-04-20 Joel Brobecker <brobecker@adacore.com>
10038
10039 * gdb.ada/dyn_loc: New testcase.
10040
ec31cde5
CM
100412010-04-20 Chris Moller <cmoller@redhat.com>
10042
10043 PR 10867
889bf7c5 10044
ec31cde5
CM
10045 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
10046 * gdb.cp/pr10687.cc: New file.
10047 * gdb.cp/pr10687.exp: New file.
10048
10049
ce4b0682
SDJ
100502010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10051 Sergio Durigan Junior <sergiodj@redhat.com>
10052
10053 * gdb.fortran/logical.exp: New testcase.
10054 * gdb.fortran/logical.f90: New file.
10055
3436961f
DE
100562010-04-19 Doug Evans <dje@google.com>
10057
10058 * gdb.base/help.exp (help source): Update expected output.
10059
4d836c09
JK
100602010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10061
10062 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
10063 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
10064 gdb_exit and return.
10065 (executable): New variable.
10066 (binfile): Use it.
10067
6149aea9
PA
100682010-04-19 Pedro Alves <pedro@codesourcery.com>
10069
10070 PR breakpoints/8554.
10071
10072 * gdb.trace/save-trace.exp: Adjust.
10073
ed41462c
L
100742010-04-17 H.J. Lu <hongjiu.lu@intel.com>
10075
10076 PR corefiles/11511
10077 * gdb.arch/system-gcore.exp: New.
10078 * gdb.arch/gcore.c: Likewise.
10079
3f7b2faa
DE
100802010-04-15 Doug Evans <dje@google.com>
10081
fa33c3cd
DE
10082 * gdb.python/py-progspace.c: New file.
10083 * gdb.python/py-progspace.exp: New file.
10084
3f7b2faa
DE
10085 * gdb.base/source.exp: Add tests for "source -s".
10086
79f283fe
PM
100872010-04-14 Phil Muldoon <pmuldoon@redhat.com>
10088
10089 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
10090 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
10091 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
10092 * gdb.python/py-mi.exp: New test for to_string returning None.
10093
fc8eb08a
PM
100942010-04-12 Phil Muldoon <pmuldoon@redhat.com>
10095
10096 * gdb.python/py-breakpoint.c: Make result global.
10097
26e197f6
JK
100982010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10099
10100 Fix non-GNU make compatibility.
10101 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
10102
adc36818
PM
101032010-04-09 Phil Muldoon <pmuldoon@redhat.com>
10104
10105 * gdb.python/py-breakpoint.exp: New File.
10106 * gdb.python/py-breakpoint.C: Ditto.
10107
64e17368
SS
101082010-04-08 Stan Shebs <stan@codesourcery.com>
10109
10110 * gdb.trace/actions.exp: Clear default-collect.
10111 * gdb.trace/save-trace.exp: Clear default-collect.
10112
fff5cc64
PM
101132010-04-08 Phil Muldoon <pmuldoon@redhat.com>
10114
10115 * gdb.python/py-value: Add null string variable.
10116 (test_lazy_string): Test zero length, NULL address lazy
10117 strings.
10118
a055a187
L
101192010-04-07 H.J. Lu <hongjiu.lu@intel.com>
10120
10121 * gdb.arch/i386-avx.c: New.
10122 * gdb.arch/i386-avx.exp: Likewise.
10123
10124 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
10125
96e39866
DE
101262010-04-06 Doug Evans <dje@google.com>
10127
10128 * gdb.base/source-test.gdb: New file.
10129 * gdb.base/source.exp: Test source -v.
10130
5984a431
UW
101312010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10132
10133 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
10134
ec8a089a
PM
101352010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
10136
10137 * gdb.stabs/aout.sed: Convert all backslash to double backslash
10138 within one line, unless it is followed by a double quote.
10139 * gdb.stabs/hppa.sed: Idem.
10140 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
10141 * gdb.stabs/weird.exp: Check for correct parsing of
10142 char and string constants.
ec8a089a
PM
10143 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
10144 in .stabs to .stabx substitution.
10145
fce3c1f0
SS
101462010-04-05 Stan Shebs <stan@codesourcery.com>
10147
10148 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
10149 constant global.
10150 * gdb.trace/tfile.exp: Try to print them.
10151
d77f58be
SS
101522010-04-04 Stan Shebs <stan@codesourcery.com>
10153
10154 * gdb.base/completion.exp: Update for new "info watchpoints".
10155 * gdb.base/default.exp: Ditto.
10156 * gdb.base/help.exp: Ditto.
10157 * gdb.base/watchpoint.exp: Ditto.
10158 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 10159
af54718e
SS
101602010-04-04 Stan Shebs <stan@codesourcery.com>
10161
10162 * gdb.trace/tfile.exp: Sharpen tfind test.
10163
74d1f91e
JK
101642010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10165
10166 * gdb.base/break-entry.exp: New.
10167
eb8e76db 101682010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 10169 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
10170
10171 * gdb.reverse/i386-sse-reverse.exp: New file.
10172 * gdb.reverse/i386-sse-reverse.c: New file.
10173
bf65cad8
PA
101742010-04-02 Pedro Alves <pedro@codesourcery.com>
10175
10176 * gdb.trace/tfind.exp: Adjust expected disassembly output.
10177
fff87407
SS
101782010-04-01 Stan Shebs <stan@codesourcery.com>
10179
10180 * gdb.trace/actions.exp: Tweak expected output.
10181 * gdb.trace/while-stepping.exp: Tweak expected output.
10182
fe01d668
L
101832010-04-01 H.J. Lu <hongjiu.lu@intel.com>
10184
10185 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
10186
86b17b60
PA
101872010-04-01 Pedro Alves <pedro@codesourcery.com>
10188
10189 * gdb.base/commands.exp: Adjust.
10190 * gdb.cp/extern-c.exp: Adjust.
10191
2c58c0a9
PA
101922010-04-01 Pedro Alves <pedro@codesourcery.com>
10193
10194 * gdb.trace/collection.c (local_test_func): Define a local struct,
10195 and instanciate it.
10196
0db9b91c
PA
101972010-04-01 Pedro Alves <pedro@codesourcery.com>
10198
10199 * gdb.trace/collection.exp (gdb_collect_args_test)
10200 (gdb_collect_argarray_test): XFAIL the tests that assume the
10201 argarray argument's elements are collected.
10202
8072405b
JK
102032010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10204
10205 * gdb.dwarf2/dw2-bad-parameter-type.exp,
10206 gdb.dwarf2/dw2-bad-parameter-type.S: New.
10207
8bf6485c
SS
102082010-03-31 Stan Shebs <stan@codesourcery.com>
10209
10210 * gdb.trace/save-trace.exp: Test save/restore of default-collect
10211 and tracepoint conditionals.
10212 (gdb_verify_tracepoints): Delete unused return.
10213
fd7f724a
KS
102142010-03-26 Keith Seitz <keiths@redhat.com>
10215
10216 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
10217 appear in the output before main.
10218 Remove KFAIL for gdb/2215 aka bz 9320.
10219
8d9e7719
DE
102202010-03-30 Doug Evans <dje@google.com>
10221
0906dd0b
DE
10222 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
10223 by dejagnu.
10224 * gdb.arch/amd64-dword.exp: Ditto.
10225
8d9e7719
DE
10226 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
10227 match.
10228 (break printf): Ditto.
10229
1da644f0
SW
102302010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
10231
10232 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
10233 gcc < 4.4.
10234 * gdb.cp/shadow.exp: Ditto.
10235
a8121990
PA
102362010-03-29 Pedro Alves <pedro@codesourcery.com>
10237
10238 * gdb.trace/collection.exp (run_trace_experiment): Make sure
10239 "tstart" is silent.
10240
6e79d367
PA
102412010-03-29 Pedro Alves <pedro@codesourcery.com>
10242
10243 * gdb.trace/collection.exp (executable): New.
10244 (binfile): Use it.
10245 (fpreg, spreg, pcreg): New.
10246 (test_register): Use gdb_test_multiple. Pass /x to print.
10247 (prepare_for_trace_test): New.
10248 (run_trace_experiment): Use "continue", not gdb_run_cmd.
10249 (gdb_collect_args_test, gdb_collect_argstruct_test)
10250 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
10251 prepare_for_trace_test.
10252 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
10253 fpreg, spreg and pcreg.
10254 (gdb_collect_expression_test, gdb_collect_globals_test): Use
10255 prepare_for_trace_test.
10256 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
10257 try to detect tracing support here. Don't set breakpoints at
10258 `begin' or `end' here.
10259 <global scope>: Use clean_restart. Run to main before checking
10260 for tracing support. Check for for tracing support here.
10261
09248348
JK
102622010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10263
10264 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
10265 " as $displacement" to "seen displacement message".
10266
d350db38
PA
102672010-03-28 Pedro Alves <pedro@codesourcery.com>
10268
10269 * gdb.trace/while-dyn.exp (executable): New variable.
10270 (binfile): Use it.
10271 (test_while_stepping): New function. Move most tests here. Call
10272 it once for each of the while-stepping, stepping and ws aliases.
10273
907af001
UW
102742010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10275
10276 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
10277 that do not provide the tagless_struct type name at all.
10278 (test_print_anon_union): Do not check value of uninitialized
10279 union member. Do not use cp_test_ptype_class, so we can accept
10280 "long" as well as "long int".
10281
610197fd
PA
102822010-03-26 Pedro Alves <pedro@codesourcery.com>
10283
10284 * gdb.trace/tfile.c (tohex, bin2hex): New.
10285 (write_error_trace_file): Hexify error description.
10286
6c28cbf2
SS
102872010-03-25 Stan Shebs <stan@codesourcery.com>
10288
10289 * gdb.trace/tfile.c: Generate an additional trace file, improve
10290 portability.
10291 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
10292 files in a better way.
10293
e62b8c7e
KS
102942010-03-25 Keith Seitz <keiths@redhat.com>
10295
10296 * gdb.java/jprint.exp: XFAIL printing of static class members
10297 because of GCC debuginfo problem.
10298
82ccf5a5
JK
102992010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10300
10301 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
10302
293e2f9e
DJ
103032010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10304
10305 * gdb.base/completion.exp: Allow long instead of long int.
10306 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
10307 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
10308 variable p.
10309 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
10310 * gdb.base/pointers.exp: Allow long instead of long int.
10311 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
10312 * gdb.base/step-line.exp: Allow a directory before the source file name.
10313
95a42b64
TT
103142010-03-24 Tom Tromey <tromey@redhat.com>
10315
10316 PR breakpoints/9352:
10317 * gdb.base/default.exp: Update.
10318 * gdb.base/commands.exp: Update.
10319 * gdb.cp/extern-c.exp: Test setting commands on multiple
10320 breakpoints at once.
10321
2390201f
DJ
103222010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10323
10324 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
10325 if gdb,nosignals.
10326 * gdb.base/watchpoints.c: Do not include unnecessary headers.
10327 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
10328 exited".
10329
8c9a6790
SS
103302010-03-24 Stan Shebs <stan@codesourcery.com>
10331
10332 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
10333
a6c727b2
DJ
103342010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10335
10336 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
10337 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
10338 argument. Handle "short" and "long".
10339 (Top level): Pass overprototyped output for old_fptr and xptr.
10340
4dfd5423
PA
103412010-03-23 Pedro Alves <pedro@codesourcery.com>
10342
10343 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
10344 format strings and add casts to avoid compiler warnings.
10345
103462010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
10347
10348 * lib/trace-support.exp (gdb_trace_setactions):
10349 Don't expect whitespace after ">" prompt.
10350 * gdb.trace/actions.exp: Adjust for output changes.
10351 * gdb.trace/while-stepping.exp: Likewise.
10352
c847d045
JK
103532010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10354
10355 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
10356 and r157645).
10357
5f717f1d
JK
103582010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10359
10360 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
10361 New.
10362
7d6d51d5
DJ
103632010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
10364
10365 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
10366 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
10367
3b11a015
SS
103682010-03-19 Stan Shebs <stan@codesourcery.com>
10369
10370 * gdb.trace/ax.exp: New file.
10371
d7d158ed
DE
103722010-03-19 Doug Evans <dje@google.com>
10373
6bb85cd1
DE
10374 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
10375 output from gcc.
10376
d7d158ed
DE
10377 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
10378 named /usr/sbin/prelink<foo>.
10379
4daf5ac0
SS
103802010-03-18 Stan Shebs <stan@codesourcery.com>
10381
10382 * gdb.trace/circ.exp: Test circular-trace-buffer.
10383 * gdb.trace/tfile.exp: Update tstatus test.
10384
e8d05480
JB
103852010-03-18 Joel Brobecker <brobecker@adacore.com>
10386
10387 * gdb.dwarf2/dw2-anonymous-func.S: New file.
10388 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
10389
441b986a
UW
103902010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10391
10392 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
10393
4247603b
PA
103942010-03-18 Pedro Alves <pedro@codesourcery.com>
10395
10396 * gdb.base/default.exp: Adjust the expected output of the finish
10397 and until commands when the inferior is not being run.
10398
13387711
SW
103992010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
10400
10401 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
10402 * gdb.cp/nsusing.exp: Ditto.
10403
6e31430b
TT
104042010-03-15 Tom Tromey <tromey@redhat.com>
10405
10406 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
10407 * gdb.cp/userdef.cc (operator==): New function.
10408 (main): New locals mem1, mem2.
10409
e2d69cb5
JZ
104102010-03-15 Jie Zhang <jie@codesourcery.com>
10411
10412 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
10413 Declare and use new loadtimeout variable.
10414
f572f0a9
DJ
104152010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
10416
10417 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
10418 Use gdb_load later.
10419
51f4c0b0
PA
104202010-03-14 Pedro Alves <pedro@codesourcery.com>
10421
10422 * gdb.base/solib-disc.c (main): Make format of fprintf a string
10423 literal. Add missing endlines to prints to stderr.
10424
1c809c68
TT
104252010-03-12 Tom Tromey <tromey@redhat.com>
10426
10427 PR c++/9708:
10428 * gdb.cp/m-static.exp: Add regression test.
10429 * gdb.cp/m-static.cc (method): New method.
10430 (main): Call it.
10431
00ae8fef
SW
104322010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
10433
10434 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
10435 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
10436
759f0f0b
PA
104372010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10438
21e24d21
PA
10439 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
10440
104412010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10442
759f0f0b
PA
10443 * lib/gdb.exp (skip_stl_tests): New.
10444 (gdb_compile): Symbian needs -ldl.
10445 (shlib_target_file): New.
10446 (shlib_symbol_file): New.
10447 (gdb_load_shlibs): Use shlib_target_file.
10448 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
10449 * gdb.cp/exception.exp: Use skip_stl_tests.
10450 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
10451 * gdb.cp/try_catch.exp: Use skip_stl_tests.
10452 * gdb.cp/mb-templates.exp: Ditto.
10453 * gdb.base/commands.exp: Relax regexes.
10454 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
10455 shlib_target_file and shlib_symbol_file.
10456 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
10457 sections.
10458 * gdb.base/ending-run.exp: Accept E32Main for symbian.
10459 * gdb.base/solib-disc.exp: Use
10460 shlib_target_file and shlib_symbol_file.
10461 * gdb.base/unload.exp: Don't skip on symbian. Use
10462 shlib_target_file and shlib_symbol_file.
10463 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
10464
6a8f2671 104652010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10466
6a8f2671
PA
10467 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
10468 * gdb.trace/report.exp: Adjust for x86 and x86_64.
10469 Issue a tfind end before looking for a tracepoint frame.
10470 * gdb.trace/tfind.exp: Adjust tstatus output.
10471 Adjust disassembly output.
10472 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
10473
ccf26247
JK
104742010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10475
10476 * gdb.base/break-interp.exp: Create new displacement parameter value
10477 for the test_ld calls.
10478 (reach): New parameter displacement, verify its content. New push of
10479 pf_prefix "reach-$func:". Import global expect_out.
10480 (test_core): New parameter displacement, verify its content. New push
10481 of pf_prefix "core:". New command "set verbose on". Import global
10482 expect_out.
10483 (test_attach): New parameter displacement, verify its content. New
10484 push of pf_prefix "attach:". New command "set verbose on". Import
10485 global expect_out.
10486 (test_ld): New parameter displacement, pass it to the reach, test_core
10487 and test_attach calls and verify its content in the "ld.so exit" test.
10488 * gdb.base/prelink.exp: Remove gdb_exit and final return.
10489 (prelink): Update expected text, use gdb_test.
10490
e469c7fb
DE
104912010-03-10 Doug Evans <dje@google.com>
10492
10493 * gdb.base/checkpoint.exp: Fix comment.
10494 Lengthen timeout while doing >600 checkpoints test.
10495 Rename duplicate "kill all one" test to keep test names unique.
10496
60e1c644
PA
104972010-03-10 Pedro Alves <pedro@codesourcery.com>
10498
10499 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
10500
cec808ec
KS
105012010-03-08 Keith Seitz <keiths@redhat.com>
10502
889bf7c5
PA
10503 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
10504 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
10505 (dm_type_long): New function.
10506 (dm_type_unsigned_short): New function.
10507 (dm_type_unsigned_long): New function.
10508 (myint): New typedef.
10509 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
10510 long, unsigned shor and long, operator char*, and typedef.
10511 (test_lookup_operator_functions): Add operator char* test.
10512 (test_paddr_operator_functions): Likewise.
10513 (test_paddr_overloaded_functions): Use probe values for
10514 short, long, and unsigned short and long.
10515 (test_paddr_hairy_functions): If the demangler probe detected
10516 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
10517 demangler.
10518 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
10519 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
10520 and "print null_pmf".
10521 Add test "ptype a.*pmf".
10522 * gdb.cp/overload.exp: Allow optional "int" to appear with
10523 "short" and "long".
10524 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
10525 long expect value for men_overload1arg.
10526 Allow "int" to appear with "short" and "long".
10527 When testing "info break", add argument for main (void).
10528 Also allow "int" to appear with "short" and "long".
10529 Ditto with "unsigned" and "long long".
cec808ec
KS
10530 * gdb.java/jmain.exp: Do not enclose methods names in single
10531 quotes.
10532 * gdb.java/jmisc.exp: Likewise.
10533 * gdb.java/jprint.exp: Likewise.
10534 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
10535
10536 From Jan Kratochvil <jan.kratochvil@redhat.com>:
10537 * gdb.cp/exception.exp (backtrace after first throw)
10538 (backtrace after second throw): Allow a namespace before __cxa_throw.
10539 (backtrace after first catch, backtrace after second catch): Allow
10540 a namespace before __cxa_begin_catch.
10541
10542 * gdb.cp/cpexprs.exp: New file.
10543 * gdb.cp/cpexprs.cc: New file.
10544
10545 From Daniel Jacobowitz <dan@codesourcery.com>
10546 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
10547 to use string_to_regexp.
10548 (ctor, dtor): New functions. Use them to match constructor
10549 and destructor function types.
10550 (Top level): Use runto_main.
10551
f870a310
TT
105522010-03-05 Tom Tromey <tromey@redhat.com>
10553
10554 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
10555 gdb.target_charset.
10556 (pp_ns.to_string): Likewise.
10557
0c199f28
KS
105582010-03-04 Keith Seitz <keiths@redhat.com>
10559
10560 * gdb.cp/overload.exp: Test that the filename portion of a linespec
10561 can be quoted. Test that both the filename and function/line
10562 portions can be quoted at the same time.
10563
c7437ca6
PA
105642010-03-04 Pedro Alves <pedro@codesourcery.com>
10565
10566 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
10567
b111b805
DE
105682010-03-03 Doug Evans <dje@google.com>
10569
24486cb7
DE
10570 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
10571 libc contains libpthread.
10572
b111b805
DE
10573 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
10574 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
10575 of gdb_compile. Add another pattern to match android backtrace.
10576
a0e0ef55
TT
105772010-03-03 Tom Tromey <tromey@redhat.com>
10578
10579 PR gdb/11345:
10580 * gdb.base/printcmds.exp (test_printf): Add test.
10581
1ba53b71
L
105822010-03-02 H.J. Lu <hongjiu.lu@intel.com>
10583
10584 * gdb.arch/amd64-byte.exp: New.
10585 * gdb.arch/amd64-dword.exp: Likewise.
10586 * gdb.arch/amd64-pseudo.c: Likewise.
10587 * gdb.arch/amd64-word.exp: Likewise.
10588 * gdb.arch/i386-byte.exp: Likewise.
10589 * gdb.arch/i386-pseudo.c: Likewise.
10590 * gdb.arch/i386-word.exp: Likewise.
10591
f5dff777
DJ
105922010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10593
10594 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
10595 types. Add structreg, bitfields, and flags registers.
10596 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
10597 registers.
10598
90884b2b
L
105992010-03-01 H.J. Lu <hongjiu.lu@intel.com>
10600
10601 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
10602 (load_description): Set architecture if defined.
10603
dc00d89f
PM
106042010-02-28 Phil Muldoon <pmuldoon@redhat.com>
10605
10606 * gdb.python/py-frame.exp: Add read_var block tests.
10607 * gdb.python/py-frame.c (block): New function.
10608
0e095b7e
JK
106092010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10610 Daniel Jacobowitz <dan@codesourcery.com>
10611
10612 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
10613
624f1a65
DM
106142010-02-25 David S. Miller <davem@davemloft.net>
10615
10616 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
10617 fix logic for setting all_syscalls_numbers.
10618
f3e9a817
PM
106192010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10620
10621 * Makefile.in: Add py-block and py-symbol.
10622 * gdb.python/py-symbol.exp: New File.
10623 * gdb.python/py-symtab.exp: New File.
10624 * gdb.python/py-block.exp: New File.
10625 * gdb.python/py-symbol.c: New File.
10626 * gdb.python/py-block.c: New File.
10627
f6bbabf0
PM
106282010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10629
10630 PR python/11314
10631 * lib/gdb.exp (skip_python_tests): New function.
10632 * gdb.python/py-cmd.exp: Use skip_python_tests.
10633 * gdb.python/py-frame.exp: Likewise.
10634 * gdb.python/py-function.exp: Likewise.
10635 * gdb.python/py-prettyprint.exp: Likewise.
10636 * gdb.python/py-template.exp: Likewise.
10637 * gdb.python/py-type.exp: Likewise.
10638 * gdb.python/py-value.exp: Likewise.
10639
85d721b8
PA
106402010-02-22 Pedro Alves <pedro@codesourcery.com>
10641
10642 PR9605
10643
10644 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
10645
48e32051
TT
106462010-02-19 Tom Tromey <tromey@redhat.com>
10647
10648 PR c++/8693, PR c++/9496:
10649 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
10650 regression tests.
10651
ac9c0048
JK
106522010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10653
10654 Fix compatibility with m68k as.
10655 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
10656 Use only /* comments */.
10657
57bb97a4
UW
106582010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10659
10660 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
10661 * configure: Regenerate.
10662
7d1bf85c
DJ
106632010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
10664
10665 * gdb.python/py-type.exp: Check for Python support.
10666
061b5285
PA
106672010-02-17 Pedro Alves <pedro@codesourcery.com>
10668
10669 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
10670 `regsub' syntax available.
10671
f8a8bc2c
PA
106722010-02-17 Pedro Alves <pedro@codesourcery.com>
10673
10674 * gdb.base/shmain.c (main): Remove printf call.
10675 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
10676 * gdb.base/unload.c (main): Make format of fprintf a string
10677 literal. Add missing endlines to prints to stderr.
10678 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
10679
6f451e5e
TT
106802010-02-17 Tom Tromey <tromey@redhat.com>
10681
10682 * gdb.java/jprint.java (jprint.props): New field.
10683 * gdb.java/jprint.exp (set_lang_java): Add regression test.
10684
12d79008
PA
106852010-02-17 Pedro Alves <pedro@codesourcery.com>
10686
ef801a0e 10687 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
10688 available.
10689
d252f7e5
DJ
106902010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10691
10692 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
10693 creation to support remote host testing.
10694
67bdab6c
DJ
106952010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10696
10697 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
10698 Recognize "command not found".
10699
bb391223
DJ
107002010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10701
10702 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
10703 single-stepping.
10704
70362913
DJ
107052010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10706
10707 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
10708 if arguments are not supported.
10709
493f3c00
DJ
107102010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10711
10712 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
10713 be const or non-const.
10714
8034c749
DJ
107152010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10716
10717 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
10718 mi_send_resuming_command to send -exec-continue.
10719
791dfb64
DJ
107202010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10721
10722 * gdb.base/list.exp (test_list_filename_and_function): Add test
10723 with single quotes.
10724 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
10725 matching.
10726 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
10727 Add KFAIL'd tests for PR gdb/11289.
10728
7c5fe868
DJ
107292010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10730
10731 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
10732
fdc498b8
DJ
107332010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10734
10735 * gdb.base/comp-dir/subdir/dummy.txt: New file.
10736 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
10737 a temporary directory.
10738
b519e2a6
DJ
107392010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10740
10741 * gdb.base/charset.exp: Use a single regular expression to match
10742 show host-charset and show target-charset output.
10743
74164c56
JK
107442010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10745
10746 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
10747 "Illegal process-id" expect string more exact.
10748 (attach to digits-starting nonsense is prohibited): New.
10749
701ed6dc
JK
107502010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10751
10752 * gdb.base/prelink.exp (set verbose on): New.
10753
889bf7c5 107542010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
10755
10756 * mi-reverse.exp: New file. Test for reverse option to the
10757 following MI commands: exec-continue, exec-finish, exec-next,
10758 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 10759
dadf0e9c
JB
107602010-02-09 Joel Brobecker <brobecker@adacore.com>
10761
10762 * gdb.ada/ptype_tagged_param: New testcase.
10763
714f19d5
TT
107642010-02-08 Tom Tromey <tromey@redhat.com>
10765
10766 PR c++/8017:
10767 * gdb.cp/overload.exp: Add tests.
10768 * gdb.cp/overload.cc (struct K): New.
10769 (namespace N): New.
10770 (main): Call new functions.
10771 (K::staticoverload): Define.
10772
889bf7c5 107732010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
10774
10775 PR gdb/10728
10776 * gdb.cp/pr10728-x.h: New file.
10777 * gdb.cp/pr10728-x.cc: New file.
10778 * gdb.cp/pr10728-y.cc: New file.
10779 * gdb.cp/pr10728.exp: New file.
10780 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
10781
889bf7c5 107822010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
10783
10784 PR gdb/9067
10785 * gdb.cp/pr9067.exp: New
10786 * gdb.cp/pr9067.cc: New
10787 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
10788
7b356089
JB
107892010-02-08 Joel Brobecker <brobecker@adacore.com>
10790
10791 * lib/gdb.exp (gdb_test_timeout): New global variable.
10792 Set it to timeout if not already set.
10793 (gdb_init): Reset the value of timeout to gdb_test_timeout.
10794
1be00882
DE
107952010-02-05 Doug Evans <dje@google.com>
10796
10797 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
10798 user.
10799
82856980
SW
108002010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
10801
10802 PR c++/7935:
10803 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
10804
1a334831
TT
108052010-02-04 Tom Tromey <tromey@redhat.com>
10806
10807 * gdb.cp/virtbase.exp: Make test case names unique.
10808
9c3c02fd
TT
108092010-02-02 Tom Tromey <tromey@redhat.com>
10810
10811 * gdb.cp/virtbase.exp: Add regression tests.
10812 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
10813 (main): Instantiate RHC.
10814
0cc2414c
TT
108152010-02-02 Tom Tromey <tromey@redhat.com>
10816
10817 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
10818 type-printing change.
10819
edf3d5f3
TT
108202010-02-02 Tom Tromey <tromey@redhat.com>
10821
10822 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
10823 * gdb.cp/virtbase.cc: New file.
10824 * gdb.cp/virtbase.exp: New file.
10825 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
10826
e4b7f41c
JK
108272010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10828
10829 PR libc/11214:
10830 * gdb.threads/current-lwp-dead.c: Include features.h.
10831 (HAS_NOMMU): New.
10832 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
10833
b381ea14
JK
108342010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10835
10836 * gdb.base/symbol-without-target_section.exp,
10837 gdb.base/symbol-without-target_section.c: New.
10838
c593ac0e
DJ
108392010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10840
10841 * gdb.base/bigcore.exp: Reset increased timeout.
10842 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
10843
db25f29d
DJ
108442010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10845
10846 * gdb.base/gcore.exp (capture_command_output): Use
10847 gdb_test_multiple.
10848
f9d67f43
DJ
108492010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10850
10851 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
10852 * gdb.arch/thumb2-it.exp (test_it_break): New function.
10853 (Top level): Call it.
10854
177321bd
DJ
108552010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10856
10857 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
10858
97f2ed50
DJ
108592010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10860
10861 * gdb.base/call-strs.exp, gdb.base/default.exp,
10862 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
10863 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
10864 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
10865 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
10866 gdb.base/watchpoint-solib.exp: Save and restore timeout.
10867 * gdb.base/ending-run.exp: Correct restore of timeout.
10868 * gdb.base/page.exp: Remove unnecessary timeout setting.
10869
e4e2711a
JB
108702010-01-29 Joel Brobecker <brobecker@adacore.com>
10871
10872 * gdb.ada/rec_return: New testcase.
10873
ba581dc1
JB
108742010-01-29 Joel Brobecker <brobecker@adacore.com>
10875
10876 * gdb.ada/call_pn: New testcase.
10877
4ea95be9
DJ
108782010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10879
10880 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
10881 (Top level): Use it to resume.
10882 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
10883 the Thumb mode displaced stepping error as unsupported.
10884
df83a9bf
SW
108852010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
10886
889bf7c5
PA
10887 * gdb.cp/nsusing.exp: Added more tests.
10888 * gdb.cp/nsrecurs.exp: Ditto.
10889 * gdb.cp/nsusing.cc: Added test functions.
10890 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 10891
40b27cdc
JK
108922010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10893
10894 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
10895 absolute directory pathnames in gdb.sum file.
10896
de958931
SW
108972010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
10898
10899 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
10900 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
10901
708ead4e
TT
109022010-01-26 Tom Tromey <tromey@redhat.com>
10903
10904 PR exp/7643:
10905 * gdb.base/printcmds.exp (test_print_string_constants): Remove
10906 setup_kfail.
10907
b14e635e
SW
109082010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
10909
10910 * gdb.cp/nsrecurs.exp: New test.
10911 * gdb.cp/nsrecurs.cc: New test program.
10912 * gdb.cp/nsstress.exp: New test.
10913 * gdb.cp/nsstress.cc: New test program.
10914 * gdb.cp/nsdecl.exp: New test.
10915 * gdb.cp/nsdecl.cc: New test program.
10916
8540c487
SW
109172010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
10918
10919 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
10920 imported into file scope.
10921 Marked test as xfail.
10922 * gdb.cp/namespace-using.cc (marker5): New function.
10923 * gdb.cp/shadow.exp: New test.
10924 * gdb.cp/shadow.cc: New test program.
10925 * gdb.cp/nsimport.exp: New test.
10926 * gdb.cp/nsimport.cc: New test program.
10927
421d5d99
TT
109282010-01-25 Tom Tromey <tromey@redhat.com>
10929
10930 PR gdb/11049:
10931 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
10932 with "set print null-stop on".
10933
691f8dc1
JK
109342010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10935
10936 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
10937 Adjust it for DISASSEMBLY_OMIT_FNAME.
10938
0b92b5bb
TT
109392010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10940
10941 PR symtab/11199:
10942 * gdb.dwarf2/member-ptr-forwardref.exp,
10943 gdb.dwarf2/member-ptr-forwardref.S: New.
10944
23787403
JK
109452010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10946
10947 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
10948 (thread1_func): Protect thread1_tid with thread1_tid_cond by
10949 thread1_tid_mutex. Remove gdbstop_mutex handling.
10950 (thread2_func): Protect thread2_tid with thread2_tid_cond by
10951 thread2_tid_mutex. Remove gdbstop_mutex handling.
10952 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
10953 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
10954 pthread_cond_wait conditionalizations by while loops.
10955
b966cb8a
TT
109562010-01-20 Tom Tromey <tromey@redhat.com>
10957
10958 PR backtrace/10770:
10959 * gdb.dwarf2/pr10770.exp: New file.
10960 * gdb.dwarf2/pr10770.c: New file.
10961 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
10962
fcae584b
VP
109632010-01-20 Vladimir Prus <vladimir@codesourcery.com>
10964
10965 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
10966 that target was removed, and the test always runs native anyway.
10967
a0f49112
JK
109682010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10969
10970 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
10971 gdb.base/watchpoint-cond-gone-stripped.c: New.
10972
ceeb3d5a
TT
109732010-01-19 Tom Tromey <tromey@redhat.com>
10974
10975 PR c++/8000:
10976 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
10977 existing tests.
10978 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
10979 (main): Use AAA::SomeEnum.
10980
dd322c54
JK
109812010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10982
10983 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
10984 (test_ignore_count): Declare line_callme_body global.
10985 (run to breakpoint with ignore count): Use line_callme_body.
10986 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
10987 (set line_main_hello, set line_main_return): Reindent.
10988 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
10989 New.
10990 (continue to callee4): Use line_callee4_body.
10991 (check *stopped from CLI command): Use line_callee4_next.
10992 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
10993 (set line_main_hello, set line_main_return): Reindent.
10994 (set line_callee4_head, set line_callee4_body): New.
10995 (continue to callee4): Use line_callee4_body.
10996
4e8f195d
TT
109972010-01-18 Tom Tromey <tromey@redhat.com>
10998
10999 PR c++/9680:
11000 * gdb.cp/casts.cc: Add new classes and variables.
11001 * gdb.cp/casts.exp: Test new operators.
11002
9e14a9ba
JB
110032010-01-18 Tom Tromey <tromey@redhat.com>
11004 Thiago Jung Bauermann <bauerman@br.ibm.com>
11005
11006 * gdb.python/source2.py: New file.
11007 * gdb.python/source1: New file.
11008 * gdb.python/python.exp: Test "source" command.
11009
00bf0b85
SS
110102010-01-15 Stan Shebs <stan@codesourcery.com>
11011
11012 * gdb.trace/tfile.c: New file.
11013 * gdb.trace/tfile.exp: New file.
889bf7c5 11014
55235ad7
JK
110152010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11016
11017 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
11018
9f2982ff
JK
110192010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11020
11021 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
11022
bbfba9ed
JK
110232010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11024
11025 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
11026 (libfunc): New parameter action. Implement also selectable "sleep".
11027 * gdb.base/break-interp-main.c: Include assert.h.
11028 (libfunc): New parameter action.
11029 (main): New parameters argc and argv. Assert argc. Pass argv.
11030 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
11031 (test_attach): New proc.
11032 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
11033 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
11034
61f0d762
JK
110352010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11036
11037 * gdb.base/break-interp.exp (test_core): New proc.
11038 (test_ld): Call it.
11039
06a6f270
JK
110402010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11041
11042 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
11043 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
11044 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
11045 and gdb_compile_shlib. Use new -Wl compiler options.
11046 (dl bt, main bt): New tests.
11047
51bee8e9
JK
110482010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11049
11050 Support PIEs with no symfile_objfile.
11051 * gdb.base/break-interp.exp: New argument at the test_ld calls.
11052 (test_ld): New parameter trynosym.
11053 (test_ld <$trynosym>): New block.
11054
b8040f19
JK
110552010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11056
11057 * gdb.base/break-interp.exp: New file.
11058
be759fcf
PM
110592010-01-13 Phil Muldoon <pmuldoon@redhat.com>
11060
11061 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
11062 * gdb.python/py-prettyprint.py (pp_ls): New printer.
11063 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
11064 test.
11065 * gdb.python/py-prettyprint.c: Define lazystring test structure.
11066 * gdb.python/py-mi.exp: Add lazy string test.
11067
dc146f7c
VP
110682010-01-13 Vladimir Prus <vladimir@codesourcery.com>
11069
11070 * lib/mi-support.exp (mi_check_thread_states): Handle
11071 core number in thread listing.
11072
b4ba55a1
JB
110732010-01-12 Joel Brobecker <brobecker@adacore.com>
11074
11075 * gdb.base/maint.exp: Adjust the expected output for the
11076 "maint print type" test. Use gdb_test_multiple instead of
11077 gdb_sent/gdb_expect.
11078
08e24bd4
DE
110792010-01-11 Doug Evans <dje@google.com>
11080
6496a609
DE
11081 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
11082 from gdbserver_download. All callers updated.
11083
08e24bd4
DE
11084 * gdb.server/ext-run.exp: "info os processes" requires xml support.
11085
b5cfddf5
JK
110862010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11087
11088 Implement binary numbers parsing.
11089 * gdb.base/printcmds.exp (test_integer_literals_accepted)
11090 (test_integer_literals_rejected): New binary tests.
11091
3725885a
RW
110922010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11093
11094 * gdb.cell/configure: Regenerate.
11095
37aeb5df
JK
110962010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11097
11098 * gdb.base/corefile.exp: Move the core finding block out and call it as
11099 core_find, new variable $corefile, replace corefile by $corefile and
11100 [file tail $corefile] for usage vs. test names resp.
11101 * lib/gdb.exp (core_find): Move it as a new function here. New
11102 parameter binfile and deletefiles. New variable $destcore. Pre-delete
11103 $destcore. Return "" on error.
11104
d521f563
JK
111052010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11106
11107 Workaround PR binutils/10802.
11108 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
11109 (twice).
11110
28f24826
DJ
111112010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11112
11113 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
11114
2de75e71
JB
111152010-01-08 Joel Brobecker <brobecker@adacore.com>
11116
11117 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
11118 call, to avoid interruption.
11119
fe00719b 111202010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
11121
11122 * gdb.stabs/weird.def (args93): New.
11123
d0ef5df8
DE
111242010-01-07 Doug Evans <dje@google.com>
11125
11126 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
11127
3a08d52f
TT
111282010-01-07 Tom Tromey <tromey@redhat.com>
11129
11130 * gdb.base/source.exp: Use correct line number.
11131
7a697b8d
SS
111322010-01-05 Stan Shebs <stan@codesourcery.com>
11133
11134 * gdb.trace/tracecmd.exp: Test ftrace.
11135
7803799a
UW
111362010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11137
11138 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
11139
c54eabfa
JK
111402010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11141
11142 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
11143 "uint_for_mi_testing".
11144
02e7ef19
JB
111452010-01-01 Joel Brobecker <brobecker@adacore.com>
11146
11147 Test indented comment in file being sourced.
11148 * gdb.base/commands.exp: Test indented comment in file being sourced.
11149
abd775ce
JB
111502010-01-01 Joel Brobecker <brobecker@adacore.com>
11151
11152 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
11153 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
11154 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
11155 notice.
11156
79b55b82
JB
111572010-01-01 Joel Brobecker <brobecker@adacore.com>
11158
11159 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
11160 notice.
11161
8997583e
JK
111622010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11163
11164 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
11165 missing $after_stopped and comma (,) expectation.
11166
6da95a67
SS
111672009-12-31 Stan Shebs <stan@codesourcery.com>
11168
11169 * gdb.trace/actions.exp: Test teval action.
889bf7c5 11170
218d2fc6
TJB
111712009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11172
11173 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
11174 (top level): Call test_watchpoint_in_big_blob.
11175 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
11176 watchpoints.
11177 (func3): Write to buf.
11178
236f1d4d
SS
111792009-12-29 Stan Shebs <stan@codesourcery.com>
11180
11181 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 11182
f61e138d
SS
111832009-12-28 Stan Shebs <stan@codesourcery.com>
11184
11185 * gdb.trace/tsv.exp: New file.
11186 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 11187
0219b378
DJ
111882009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
11189
11190 * gdb.base/find.c (main): Reference search buffers.
11191 * gdb.base/included.c (main): Reference integer.
11192 * gdb.base/ptype.c (charfoo): Declare.
11193 (intfoo): Call charfoo.
11194 * gdb.base/scope0.c (useitp): New function.
11195 (usestatics): Use useitp.
11196 (useit): Add a type for val.
11197 * gdb.base/scope1.c (useit1): Take a pointer argument.
11198 (usestatics1): Update calls to useit1.
11199 * gdb.cp/call-c.cc: Declare foo.
11200 (main): Call foo.
11201 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
11202 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
11203 (main): Call C::ensureRefs and ensureOtherRefs.
11204 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
11205 variables.
11206 (ensureOtherRefs): New function.
11207 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
11208 * gdb.cp/templates.cc (main): Call t5i.value.
11209
3f78692f
JK
112102009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11211
11212 Fix compatibility with G++-4.5.
11213 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
11214 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
11215 (uncaught return): Remove.
11216
429374b8
JK
112172009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11218 Phil Muldoon <pmuldoon@redhat.com>
11219
11220 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
11221 (bp_location13, bp_location14, bp_location17, bp_location18)
11222 (marker3_proto, marker4_proto): New variables.
11223 (breakpoint info): Update output.
11224 (run until breakpoint at marker3, run until breakpoint at marker4): New
11225 tests.
11226
859825b8
JK
112272009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11228
11229 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
11230 Replace the printf call of Y by provided "y-set-1" label. New block
11231 for the second shared library.
11232 * gdb.base/unload.exp: Compile also the second library, call
11233 gdb_load_shlibs also for it. Use now gdb_breakpoint.
11234 (single pending breakpoint info): Rename to ...
11235 (pending breakpoint info before run): ... this extended test.
11236 (libfile2, libname2, libsrcfile2, libsrc2)
11237 (lib_sl2): New variables.
11238 (exec_opts): Set also SHLIB_NAME2.
11239 (pending breakpoint info on first run at shrfunc1)
11240 (pending breakpoint info on second run at shrfunc1)
11241 (pending breakpoint info on second run at shrfunc2)
11242 (print y from libfile, print y from libfile2): New tests.
11243 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
11244 * gdb.base/unloadshr2.c: New.
11245
e6a386cd
HZ
112462009-12-22 Hui Zhu <teawater@gmail.com>
11247
11248 * gdb.reverse/sigall-reverse.exp: Adjust.
11249
9e19b45e
VP
112502009-12-21 Vladimir Prus <vladimir@codesourcery.com>
11251
11252 PR gdb/10884
11253
11254 * gdb.mi/var-cmd.c (do_bitfield_tests): New
11255 (main): Call do_bitfield_tests.
aacf5b1e 11256 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 11257
d53a7b30
JB
112582009-12-20 Joel Brobecker <brobecker@adacore.com>
11259
11260 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
11261 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
11262 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
11263 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
11264 gdb.modula2/unbounded1.c: Update copyright header.
11265
191ca0a1
CM
112662009-12-10 Chris Moller <moller@mollerware.com>
11267
11268 PR gdb/9399
11269 * gdb.cp/virtfunc2.exp: New tests
11270 * gdb.cp/virtfunc2.cc: New tests
11271 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
11272
0fa6cf1b
MS
112732009-12-10 Oza Pawandeep (paawan1982@yahoo.com
11274
11275 * gdb.reverse/i387-env-reverse.c: New file.
11276 * gdb.reverse/i387-env-reverse.exp: New file.
11277 * gdb.reverse/i387-stack-reverse.c: New file.
11278 * gdb.reverse/i387-stack-reverse.exp: New file.
11279
361ae042
PM
112802009-12-08 Phil Muldoon <pmuldoon@redhat.com>
11281
11282 * gdb.python/py-type.exp (test_range): New test.
11283
bfd31e71
PM
112842009-12-03 Phil Muldoon <pmuldoon@redhat.com>
11285
11286 PR python/10805
11287
11288 * gdb.python/py-type.exp: New file.
11289 * gdb.python/py-type.c: New file.
11290 * Makefile.in: Add py-type.
11291
57a1d736
TT
112922009-12-03 Tom Tromey <tromey@redhat.com>
11293
11294 * gdb.python/py-value.exp (test_parse_and_eval): New
11295 function.
11296
1f3b5d1b
PP
112972009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11298
11299 PR gdb/11022
11300
11301 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
11302 * gdb.base/pr11022.c: New test.
11303
8b7dbdc9
JK
113042009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11305
11306 Fix spurious false FAILs.
11307 * gdb.base/structs.c (chartest): New.
11308 (main): Fill-in chartest.
11309 * gdb.base/structs.exp (anychar_re, first): New.
11310 (start_structs_test): Import global anychar_re and first.
11311 New gdb_test call "set print elements 300; ${testfile}"
11312 (start_structs_test <$first>): New block.
11313 (any): Import global anychar_re. New variable ac. Use ${ac}.
11314
6a53b2ec
JK
113152009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11316
11317 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
11318
d7167b4c
JK
113192009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11320
11321 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
11322 Force $srcfile file.
11323 * gdb.base/foll-fork.c (callee): Comment out the printf call.
11324
b1798462
UW
113252009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11326
11327 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
11328 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11329 * gdb.threads/watchthreads-reorder.exp: Likewise.
11330
b6199126
DJ
113312009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
11332
11333 PR gdb/8704
11334
11335 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
11336 "if", and "thread". Correct matching in the previous test.
11337
b22a0510
DJ
113382009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
11339
11340 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
11341
930636d2
MS
113422009-11-23 Michael Snyder <msnyder@vmware.com>
11343
11344 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
11345 * gdb.reverse-watch-precsave.exp: Ditto.
11346
21a0512e
PP
113472009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
11348
11349 * gdb.asm/asm-source.exp: Adjust.
11350 * gdb.base/help.exp: Adjust.
889bf7c5 11351
fc30d5e0
PA
113522009-11-22 Pedro Alves <pedro@codesourcery.com>
11353
11354 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
11355 (do_syscall_tests_without_xml): Set data-directory to
11356 /the/path/to/nowhere.
11357
f6bc2008
PA
113582009-11-21 Pedro Alves <pedro@codesourcery.com>
11359
11360 * gdb.threads/local-watch-wrong-thread.c,
11361 gdb.threads/local-watch-wrong-thread.exp: New files.
11362
8c2fb5de
PA
113632009-11-21 Pedro Alves <pedro@codesourcery.com>
11364
11365 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
11366 assume new `regsub' syntax available.
11367
ebec9a0f
PA
113682009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11369
a79d3c27
JK
11370 * gdb.base/watchpoint-hw-hit-once.exp,
11371 gdb.base/watchpoint-hw-hit-once.c: New.
11372
113732009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11374
11375 * gdb.threads/watchthreads-reorder.exp,
11376 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 11377
276a961b
MK
113782009-11-17 Nathan Sidwell <nathan@codesourcery.com>
11379
11380 * gdb.xml/tdesc-regs.exp: Use for m68k.
11381
4867c1fb
PA
113822009-11-15 Pedro Alves <pedro@codesourcery.com>
11383
11384 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
11385
f6838f81
DJ
113862009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11387
11388 * lib/gdb.exp (current_target_name): New procedure.
11389 (gdb_wrapper_target): New variable.
11390 (gdb_wrapper_init): Set gdb_wrapper_target.
11391 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
11392 wrapper.
11393
4ac4dd3f
DJ
113942009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11395
11396 * gdb.base/remote.exp: Delete the slowest load test.
11397 Do not load with fixed packet sizes.
11398
a7881759
DJ
113992009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11400
11401 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
11402
97a5b505
DJ
114032009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11404
11405 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
11406 srcfile when setting a breakpoint.
11407
d3e1fc54
DJ
114082009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
11409
11410 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
11411 macros.
11412
7cbcbded
DJ
114132009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11414
11415 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
11416 to be in memory.
11417 * gdb.base/display.c (force_mem): New.
11418 (do_loops): Use it. Add breakpoint comments.
11419 (do_vars): Add a breakpoint comment.
11420 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
11421 line numbers.
11422
bdea3a92
NF
114232009-11-13 Nathan Froyd <froydnj@codesourcery.com>
11424
11425 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
11426 instead of a bare "run".
11427
269f82e5
PP
114282009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11429
11430 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 11431
a69b7d9d
DJ
114322009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11433
11434 * lib/cell.exp (skip_cell_tests): Clean up test files before
11435 returning.
11436
b598bfda
DJ
114372009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11438
11439 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
11440 and the breakpoint menu. Do not call perror if a prompt is seen.
11441 Consume the following GDB prompt.
11442 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
11443 * gdb.cp/namespace.exp: Use gdb_test.
11444 * gdb.cp/templates.exp: Use gdb_test.
11445 (test_template_breakpoints): Use gdb_test_multiple.
11446
87728fa0
DJ
114472009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11448
11449 * gdb.base/break1.c (struct some_struct, values): Move earlier.
11450 (marker4): Reference values.
11451
b67c692f
DJ
114522009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11453
11454 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
11455 is missing.
11456
f0df251a
DJ
114572009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11458
11459 * gdb.base/break.c (need_malloc): New.
11460 * gdb.base/constvars.c (main): Reference crass and crisp.
11461 * gdb.base/gdb1821.c (main): Reference bar.
11462 * gdb.cp/gdb1355.cc (main): Reference s1.
11463 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
11464 (main): Call them.
11465 * gdb.cp/hang2.cc (dummy2): Define.
11466 * gdb.cp/hang3.cc (dummy3): Define.
11467 * gdb.cp/m-data.cc (main): Reference shadow.
11468
bdf7534a
NF
114692009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11470 Nathan Froyd <froydnj@codesourcery.com>
11471
11472 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
11473 remote host.
11474
f24fce77
NF
114752009-11-12 Nathan Froyd <froydnj@codesourcery.com>
11476
11477 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
11478 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
11479 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11480 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11481 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11482 * gdb.dwarf2/dw2-producer.exp: Likewise.
11483 * gdb.dwarf2/mac-fileno.exp: Likewise.
11484 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
11485 py-prettyprint.py to the remote host.
11486 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
11487
40f0318e
KS
114882009-11-11 Keith Seitz <keiths@redhat.com>
11489
11490 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
11491 use it instead of "Foo".
11492 * gdb.cp/classes.exp (do_tests): Add a test to access
11493 a method through a typedef'd class name.
11494
f3d9f7fb
NF
114952009-11-11 Nathan Froyd <froydnj@codesourcery.com>
11496
11497 * gdb.base/long_long.exp: Permit leading zeros on floating-point
11498 exponents.
11499 * gdb.base/pointers.exp: Likewise.
11500 * gdb.cp/ref-types.exp: Likewise.
11501
a4216f37
KS
115022009-11-11 Keith Seitz <keiths@redhat.com>
11503
11504 * gdb.cp/cplusfuncs.cc (class foo): Add operators
11505 new[] and delete[].
11506 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
11507 "void".
11508 (probe_demangler): Remove all single-quoting of
11509 method and variable names.
11510 (info_func_regexp): Remove the word "void" from any
11511 occurrence of "(void)".
11512 (print_addr_2): Remove all single-quoting of
11513 method names.
11514 (print_addr_2_kfail): Likewise.
11515 (print_addr): Single-quote C function names before
11516 passing to print_addr_2.
11517 (test_paddr_operator_functions): Remove single-quoting
11518 for method names.
11519 Add tests for operator new[] and operator delete[].
11520
9b14d7aa
JK
115212009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11522
11523 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
11524
85feb311
KS
115252009-11-09 Keith Seitz <keiths@redhat.com>
11526
11527 * gdb.cp/overload.exp: Add tests for resolving overloaded
11528 methods in expression parsing/evaluation.
11529
fa335448
DJ
115302009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
11531
11532 * lib/gdb.exp (default_gdb_version): Use --version instead of
11533 --command.
11534
ec3c07fc
NS
115352009-11-10 Nathan Sidwell <nathan@codesourcery.com>
11536
11537 * lib/gdb.exp (gdb_compile_test): New.
11538 (skip_ada_tests, skip_java_tests): New.
11539 (gdb_compile): Use gdb_compile_test for f77.
11540 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
11541 * lib/java.exp (compile_java_from_source): Remove runtests check,
11542 use gdb_compile_test to record result.
11543 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
11544 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
11545 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
11546 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
11547 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
11548 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
11549 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
11550 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
11551 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
11552 adjust gdb_compile invocations.
11553
b8b4e42b
JK
115542009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11555
11556 * Makefile.in (abs_builddir): New.
11557 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
11558 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
11559 `$(abs_builddir)/site.exp'.
11560
f8b7eaf3
DJ
115612009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
11562
11563 * config/m68k-emc.exp, lib/emc-support.exp,
11564 gdb.trace/gdb_c_test.c: Delete.
11565 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
11566 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
11567 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
11568 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
11569 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
11570 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
11571 casing for m68k-*-elf.
11572
c4187697
NS
115732009-11-03 Pedro Alves <pedro@codesourcery.com>
11574
11575 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
11576 * gdb.arch/i386-prologue.exp: Likewise.
11577 * gdb.arch/i386-unwind.exp: Likewise.
11578
db16b772
DJ
115792009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11580
11581 * lib/gdb.exp (gdb_expect): Fix timeout typo.
11582
bcf71277
DJ
115832009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11584
11585 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
11586
0105cee2
DJ
115872009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11588
11589 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
11590
24ddea62
JK
115912009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11592
11593 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
11594
287ccc17
JK
115952009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11596
11597 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
11598 * gdb.base/sepdebug2.c: New file.
11599
08bca259 116002009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
11601
11602 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
11603 the modified warnings for catch syscall. Verify if GDB was compiled
11604 with support for lib expat, and choose which tests to run depending
11605 on this.
11606
5d4e2b76
VP
116072009-10-30 Vladimir Prus <vladimir@codesourcery.com>
11608
11609 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
11610 that composite commands are parsed OK. And also test
11611 that breakpoint commands do work.
11612
240e538a
MS
116132009-10-23 Michael Snyder <msnyder@vmware.com>
11614
11615 gdb.reverse/consecutive-precsave.exp: Change expect pattern
11616 to allow for new disassembly style.
11617
9c419145
PP
116182009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11619
11620 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 11621
02506ff1
MS
116222009-10-22 Michael Snyder <msnyder@vmware.com>
11623
11624 * gdb.reverse/break-precsave.exp: New test.
11625 * gdb.reverse/consecutive-precsave.exp: Ditto.
11626 * gdb.reverse/finish-precsave.exp: Ditto.
11627 * gdb.reverse/i386-precsave.exp: Ditto.
11628 * gdb.reverse/machinestate-precsave.exp: Ditto.
11629 * gdb.reverse/sigall-precsave.exp: Ditto.
11630 * gdb.reverse/solilb-precsave.exp: Ditto.
11631 * gdb.reverse/step-precsave.exp: Ditto.
11632 * gdb.reverse/until-precsave.exp: Ditto.
11633 * gdb.reverse/watch-precsave.exp: Ditto.
11634
4cf866a3
MS
116352009-10-22 Michael Snyder <msnyder@vmware.com>
11636
11637 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
11638 for gdb_expect. Adjust one test's expect strings for the new
11639 format of disassemble.
11640 * gdb.reverse/finish-reverse.exp: Delete 'return'.
11641 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
11642 gdb_test_multiple.
11643 * gdb.reverse/step-reverse.exp: Delete 'return'.
11644 * gdb.reverse/until-reverse.exp: Delete blank lines.
11645 * gdb.reverse/watch-reverse.exp: Delete blank lines.
11646
2b28d209
PP
116472009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
11648
11649 * gdb.base/consecutive.exp: Adjust.
11650 * gdb.base/display.exp: Likewise.
11651 * gdb.base/pc-fp.exp: Likewise.
11652 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 11653
33b9c32b
MS
116542009-10-19 Michael Snyder <msnyder@vmware.com>
11655
11656 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
11657 * gdb.reverse/finish-reverse.c: Ditto.
11658 * gdb.reverse/sigall-reverse.c: Ditto.
11659 * gdb.reverse/solib-reverse.c: Ditto.
11660 * gdb.reverse/step-reverse.c: Ditto.
11661 * gdb.reverse/watch-reverse.c: Ditto.
11662
6c95b8df
PA
116632009-10-19 Pedro Alves <pedro@codesourcery.com>
11664 Stan Shebs <stan@codesourcery.com>
11665
11666 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
11667 * gdb.base/foll-exec.exp: Adjust to expect a process id before
11668 "Executing new program".
11669 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
11670 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
11671 left listed after having been killed.
11672 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
11673 * gdb.base/maint.exp: Adjust test.
11674
11675 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
11676 * gdb.multi/Makefile.in: New.
11677 * gdb.multi/base.exp: New.
11678 * gdb.multi/goodbye.c: New.
11679 * gdb.multi/hangout.c: New.
11680 * gdb.multi/hello.c: New.
11681 * gdb.multi/bkpt-multi-exec.c: New.
11682 * gdb.multi/bkpt-multi-exec.exp: New.
11683 * gdb.multi/crashme.c: New.
11684
279017b7
TG
116852009-10-13 Tristan Gingold <gingold@adacore.com>
11686
11687 * gdb.base/sepdebug.exp: Check debug info are found.
11688
0413d738
PA
116892009-10-08 Pedro Alves <pedro@codesourcery.com>
11690
11691 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
11692 bits.
11693
c628eecc
JK
116942009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11695
11696 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
11697
38af1bfe
JB
116982009-10-07 Joel Brobecker <brobecker@adacore.com>
11699
11700 * gdb.base/watchpoints.c: Add copyright header. Reformat one
11701 of the comments.
11702
2b0adecd
PM
117032009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
11704
11705 * gdb.base/annota1.exp: Remove obsolete match_max increase.
11706 * gdb.base/annota3.exp: Idem.
11707 * gdb.base/maint.exp: Idem.
11708
8d417781
PM
117092009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
11710
889bf7c5 11711 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
11712 to default.
11713
bb61102d
PM
117142009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
11715
889bf7c5 11716 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
11717 mingw and cygwin targets.
11718
ace5c364
PM
117192009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
11720 Pedro Alves <pedro@codesourcery.com>
11721
889bf7c5 11722 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
11723 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
11724
c2d494a0
PM
117252009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
11726
e1b52ce2
PM
11727 * gdb.base/shr1.c: Use %p in format string.
11728 * gdb.base/unload.c: Avoid warning in fprintf.
11729 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 11730
209f53f5
PM
117312009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
11732
11733 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
11734 long type.
11735 (test_unlink): Correct printf string.
11736 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
11737 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
11738
8172766a
JK
117392009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11740
11741 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
11742 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
11743 * gdb.arch/ia64-breakpoint-shadow.S: New file.
11744
0f73703c
UW
117452009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11746
11747 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
11748 * gdb.objc/nondebug.exp: Likewise.
11749
b32306ca
UW
117502009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11751
11752 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
11753 target_info setting.
11754
11755 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
11756 that detect new threads during "info threads".
11757
0057022f
UW
117582009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11759
11760 * gdb.threads/manythreads.c (main): Increase thread stack size
11761 to 2*PTHREAD_STACK_MIN.
11762 * gdb.threads/multi-create.c (main): Likewise.
11763 (create_function): Likewise.
11764
f29c0325
UW
117652009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11766
11767 * gdb.base/dump.exp: Pass difference of pointer types instead
11768 of integer types as offset to restore in intarr3.srec case.
11769
fcb34849
UW
117702009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11771
11772 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
11773
d5142e3b
UW
117742009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11775
11776 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
11777
087b74b2 117782009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 11779
087b74b2
PM
11780 New test for two watchpoints, with disabling of
11781 the first inserted.
11782 * testsuite/gdb.base/watchpoints.c: New file.
11783 * testsuite/gdb.base/watchpoints.exp: New file.
11784
96c07c5b
TT
117852009-09-25 Tom Tromey <tromey@redhat.com>
11786
11787 * gdb.base/charset.exp: Test utf-16 strings with Python.
11788
b8899f2b
TT
117892009-09-25 Tom Tromey <tromey@redhat.com>
11790
11791 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
11792 UCS-4.
11793 * gdb.base/charset.c (utf_32_string): Rename.
11794 (init_utf32): Rename.
11795 (main): Update.
11796
329719ec
TT
117972009-09-22 Tom Tromey <tromey@redhat.com>
11798
11799 * gdb.python/py-function.exp: Add regression tests.
11800
11ef0d76
KS
118012009-09-21 Keith Seitz <keiths@redhat.com>
11802
11803 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
11804 with invalid operator.
11805
3fe8f3b3
KS
118062009-09-21 Keith Seitz <keiths@redhat.com>
11807
11808 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
11809 and destructor using typedef name of class.
11810 * gdb.cp/classes.cc (class Base1): Add a destructor.
11811 (base1): New typedef.
11812 (use_methods): Instanitate an object of type base1.
11813 * gdb.cp/templates.exp (test_template_typedef): New procedure.
11814 (do_tests): Call test_template_typedef.
11815 * gdb.cp/templates.cc (Baz::~Baz): New method.
11816 (intBazOne): New typedef.
11817 (main): Instantiate intBazOne.
11818
7a9fe101
PM
118192009-09-21 Phil Muldoon <pmuldoon@redhat.com>
11820
11821 PR python/10633
11822
11823 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
11824 Function.
11825 (run_lang_tests): Add print elements test.
11826
2e4d963f
PM
118272009-09-21 Phil Muldoon <pmuldoon@redhat.com>
11828
11829 * gdb.python/py-value.exp (test_subscript_regression): New
11830 function. Test for invalid subscripts.
11831 * gdb.python/py-value.c (main): Add test array, and pointer to it.
11832 (ptr_ref): New function.
11833
ec7e75e7
PP
118342009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11835
11836 * gdb.base/default.exp: Fix "show convenience".
11837
0cc7d26f
TT
118382009-09-15 Tom Tromey <tromey@redhat.com>
11839
11840 * lib/mi-support.exp (mi_create_varobj): Update.
11841 (mi_create_floating_varobj): Likewise.
11842 (mi_create_dynamic_varobj): New proc.
11843 (mi_varobj_update): Update.
11844 (mi_varobj_update_with_type_change): Likewise.
11845 (mi_varobj_update_kv_helper): New proc.
11846 (mi_varobj_update_dynamic_helper): Rewrite.
11847 (mi_varobj_update_dynamic): New proc.
11848 (mi_list_varobj_children): Update.
11849 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
11850 * gdb.python/python-prettyprint.py (pp_outer): New class.
11851 (pp_nullstr): Likewise.
11852 (lookup_function): Register new printers.
11853 * gdb.python/python-prettyprint.c (struct substruct): New type.
11854 (struct outerstruct): Likewise.
11855 (substruct_test): New function.
11856 (struct nullstr): New type.
11857 (string_1, string_2): New globals.
11858 (main): Add new tests.
11859 * gdb.python/python-mi.exp: Added regression tests.
11860 * gdb.mi/mi2-var-display.exp: Update.
11861 * gdb.mi/mi2-var-cmd.exp: Update.
11862 * gdb.mi/mi2-var-child.exp: Update.
11863 * gdb.mi/mi2-var-block.exp: Update.
11864 * gdb.mi/mi-var-invalidate.exp: Update.
11865 * gdb.mi/mi-var-display.exp: Update.
11866 * gdb.mi/mi-var-cmd.exp: Update.
11867 * gdb.mi/mi-var-child.exp: Update.
11868 * gdb.mi/mi-var-block.exp: Update.
11869 * gdb.mi/mi-break.exp: Update.
11870 * gdb.mi/gdb701.exp: Update.
11871
a96d9b2e
SDJ
118722009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
11873
11874 * Makefile.in: Inclusion of catch-syscall object.
11875 * gdb.base/catch-syscall.c: New file.
11876 * gdb.base/catch-syscall.exp: New file.
11877
b43b923a
MS
118782009-09-12 Michael Snyder <msnyder@vmware.com>
11879
11880 * gdb.reverse/step-reverse.exp: Explicitly check for targets
11881 that can support reverse debuggnig.
11882
cec03d70
TT
118832009-09-11 Tom Tromey <tromey@redhat.com>
11884
11885 * gdb.dwarf2/valop.S: New file.
11886 * gdb.dwarf2/valop.exp: New file.
11887
e23bb3fc
MK
118882009-09-11 Mark Kettenis <kettenis@gnu.org>
11889
11890 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
11891
37c3696d
DE
118922009-09-10 Doug Evans <dje@google.com>
11893
11894 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
11895 Add $gdb_prompt to second breakpoint regexp.
11896
5172aecb
JB
118972009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
11898
11899 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
11900 names, add missing ones.
11901 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
11902 * gdb.python/py-frame.c: Rename from python-frame.c.
11903 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
11904 testfile name.
11905 * gdb.python/py-function.exp: Rename from python-function.exp.
11906 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
11907 testfile name.
11908 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
11909 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
11910 Adjust testfile name.
11911 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
11912 * gdb.python/py-template.cc: Rename from python-template.cc.
11913 * gdb.python/py-template.exp: Rename from python-template.exp.
11914 Adjust testfile name.
11915 * gdb.python/py-value.c: Rename from python-value.c.
11916 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
11917 testfile name.
11918
b554e4bd
JK
119192009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11920
11921 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
11922 $bpt2address.
11923 (Second breakpoint address is valid on ia64)
11924 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
11925
9a68ae16
JM
119262009-09-03 Joseph Myers <joseph@codesourcery.com>
11927
11928 * gdb.base/ending-run.exp: Restrict regular expression matching
11929 line number to require closing brace following.
11930
146b9145
DE
119312009-09-03 Doug Evans <dje@google.com>
11932
11933 * gdb.base/store.exp (check_set): Fix typo in expected value message.
11934
787d21e1
TT
119352009-09-02 Tom Tromey <tromey@redhat.com>
11936
11937 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
11938
e7802207
TT
119392009-09-02 Tom Tromey <tromey@redhat.com>
11940
11941 * gdb.dwarf2/callframecfa.exp: New file.
11942 * gdb.dwarf2/callframecfa.S: New file.
11943
817aadd2
JK
119442009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11945
11946 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
11947 gdb.base/solib-overlap-main.c: New.
11948
4a76eae5
DJ
119492009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
11950
11951 PR gdb/10565
11952
11953 * gdb.base/bitfields.c (struct container, container): New.
11954 (main): Initialize it and call break5.
11955 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
11956
d4b96c9a
JK
119572009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11958
11959 Support constant DW_AT_data_member_location by GCC PR debug/40659.
11960 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
11961
4e22772d
JK
119622009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11963
11964 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
11965
2efab443
MS
119662009-08-26 Michael Snyder <msnyder@vmware.com>
11967
11968 * gdb.base/i386-reverse.c: New file.
11969 * gdb.base/i386-reverse.exp: New file.
11970 * gdb.base/Makefile.in: Add new files to be removed.
11971
07ab73a0
JM
119722009-08-26 Joseph Myers <joseph@codesourcery.com>
11973
11974 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
11975 environment-pwd for remote host.
11976 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
11977
676accff
KS
119782009-08-24 Keith Seitz <keiths@redhat.com>
11979
11980 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
11981 Add two new C++ completer tests which limit the output to a
889bf7c5 11982 given class.
676accff 11983
f9f7ad22
MS
119842009-08-24 Michael Snyder <msnyder@vmware.com>
11985
11986 * gdb.base/del.exp: Fix typo in comment.
11987 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
11988
81ecdfbb
RW
119892009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11990
11991 * configure: Regenerate.
11992 * gdb.hp/configure: Likewise.
11993 * gdb.hp/gdb.aCC/configure: Likewise.
11994 * gdb.hp/gdb.base-hp/configure: Likewise.
11995 * gdb.hp/gdb.compat/configure: Likewise.
11996 * gdb.hp/gdb.defects/configure: Likewise.
11997 * gdb.hp/gdb.objdbg/configure: Likewise.
11998 * gdb.stabs/configure: Likewise.
11999
cab0c772
UW
120002009-08-19 Doug Evans <dje@google.com>
12001
12002 * gdb.base/gdbvars.c: New file.
12003 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
12004
b8fa0bfa
PA
120052009-08-14 Pedro Alves <pedro@codesourcery.com>
12006
12007 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12008 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
12009
b84aa90a
PA
120102009-08-13 Pedro Alves <pedro@codesourcery.com>
12011
12012 * gdb.base/default.exp: Adjust "set language test": it's now an
12013 enum command. Larger help string moved to "help set language".
12014 * gdb.base/help.exp: Adjust "help set language" expected output,
12015 now lists all known languages.
12016
0d8f9b2c
NF
120172009-08-11 Nathan Froyd <froydnj@codesourcery.com>
12018
12019 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
12020 all frame arguments.
12021 * gdb.arch/altivec-regs.exp: Likewise.
12022
bda180e0
TT
120232009-08-07 Tom Tromey <tromey@redhat.com>
12024
12025 * gdb.base/setshow.exp: Add tests for changes to set language, set
12026 check range, and set check type.
12027
48cb2d85
VP
120282009-08-03 Vladimir Prus <vladimir@codesourcery.com>
12029
12030 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
12031 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 12032 Call it.
48cb2d85 12033
1ea34204
UW
120342009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12035
12036 * configure.ac: Run gdb.cell tests when appropriate.
12037 * configure: Regenerate.
12038 * lib/cell.exp: New file.
12039 * gdb.cell: New directory.
12040 * gdb.cell/configure.ac: New file.
12041 * gdb.cell/configure: New file.
12042 * gdb.cell/Makefile.in: New file.
12043 * gdb.cell/arch.exp: New file.
12044 * gdb.cell/break.c: New file.
12045 * gdb.cell/break.exp: New file.
12046 * gdb.cell/break-spu.c: New file.
12047 * gdb.cell/bt.c: New file.
12048 * gdb.cell/bt2-spu.c: New file.
12049 * gdb.cell/bt-spu.c: New file.
12050 * gdb.cell/bt.exp: New file.
12051 * gdb.cell/coremaker.c: New file.
12052 * gdb.cell/coremaker-spu.c: New file.
12053 * gdb.cell/core.exp: New file.
12054 * gdb.cell/gcore.exp: New file.
12055 * gdb.cell/data.c: New file.
12056 * gdb.cell/data.exp: New file.
12057 * gdb.cell/data-spu.c: New file.
12058 * gdb.cell/ea-cache.exp: New file.
12059 * gdb.cell/ea-cache.c: New file.
12060 * gdb.cell/ea-cache-spu.c: New file.
12061 * gdb.cell/ea-standalone.c: New file.
12062 * gdb.cell/ea-standalone.exp: New file.
12063 * gdb.cell/ea-test.c: New file.
12064 * gdb.cell/ea-test.exp: New file.
12065 * gdb.cell/f-regs.exp: New file.
12066 * gdb.cell/mem-access.c: New file.
12067 * gdb.cell/mem-access.exp: New file.
12068 * gdb.cell/mem-access-spu.c: New file.
12069 * gdb.cell/ptype.exp: New file.
12070 * gdb.cell/registers.exp: New file.
12071 * gdb.cell/size.c: New file.
12072 * gdb.cell/sizeof.exp: New file.
12073 * gdb.cell/size-spu.c: New file.
12074 * gdb.cell/solib.exp: New file.
12075 * gdb.cell/solib-symbol.exp: New file.
12076
85e747d2
UW
120772009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12078
12079 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
12080
58d6951d
DJ
120812009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12082
12083 * gdb.base/float.exp: Handle VFP registers.
12084
6e0a4f15
MS
120852009-07-14 Michael Snyder <msnyder@vmware.com>
12086
dcd5da87
MS
12087 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
12088 to bring gdb to the beginning of the calling line.
12089
6e0a4f15
MS
12090 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
12091 confusing the i386 epilogue unwinder.
12092
782b2b07
SS
120932009-07-14 Stan Shebs <stan@codesourcery.com>
12094
12095 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
12096
f662c3bc
MS
120972009-07-14 Michael Snyder <msnyder@vmware.com>
12098
12099 * gdb.reverse/step-reverse.exp (stepi into function call):
12100 Call instruction may not be first instruction in the line.
12101 (reverse stepi from a function call): Used wrong line number.
12102
8f313923
JK
121032009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12104
12105 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
12106
4662c76e
JK
121072009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12108
12109 Fix gdb.base/macscp.exp when using custom inputrc.
12110 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
12111 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
12112 env(TERM) set.
12113 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
12114 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
12115
aa81e255
JK
121162009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12117
12118 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
12119 * gdb.base/annota1.exp (thread_test): Import global $testfile.
12120 Change the compilation target to match the testcase name.
12121 * gdb.base/sect-cmd.exp: Change the compilation target to match the
12122 testcase name.
12123 * a2-run.exp: Use for setup prepare_for_testing. Change the
12124 compilation target to match the testcase name.
12125 * gdb.base/commands.exp: Likewise.
12126 * gdb.base/finish.exp: Likewise.
12127 * gdb.base/float.exp: Likewise.
12128 * gdb.base/info-target.exp: Likewise.
12129 * gdb.base/relational.exp: Likewise.
12130 * gdb.base/term.exp: Likewise.
12131 * gdb.base/until.exp: Likewise.
12132 * gdb.base/volatile.exp: Likewise.
12133 * gdb.base/whatis-exp.exp: Likewise.
12134
4c93b1d7
HZ
121352009-07-11 Hui Zhu <teawater@gmail.com>
12136
12137 * gdb.base/help.exp (disassemble): Update expected help text.
12138
812f7342
TT
121392009-07-09 Tom Tromey <tromey@redhat.com>
12140
12141 * lib/gdb.exp: Handle TRANSCRIPT.
12142 (remote_spawn, remote_close, send_gdb): New procs.
12143
fbb8f299
PM
121442009-07-10 Phil Muldoon <pmuldoon@redhat.com>
12145
12146 * gdb.python/python-prettyprint.c: Add counted null string
12147 structure.
12148 * gdb.python/python-prettyprint.exp: Print null string. Test for
12149 embedded nulls.
12150 * gdb.python/python-prettyprint.py (pp_ns): New Function.
12151 * gdb.python/python-value.exp (test_value_in_inferior): Add
12152 variable length string fetch tests.
12153 * gdb.python/python-value.c (main): Add strings for string fetch tests.
12154
c0ac0ec7
JK
121552009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12156
12157 * gdb.base/dump.exp (inaccessible memory is reported): New test.
12158
30b66ecc
TT
121592009-07-07 Tom Tromey <tromey@redhat.com>
12160
12161 * gdb.base/call-rt-st.exp: Update for change to escape output.
12162 * gdb.base/callfuncs.exp: Likewise.
12163 * gdb.base/charset.exp: Likewise.
12164 * gdb.base/constvars.exp: Likewise.
12165 * gdb.base/long_long.exp: Likewise.
12166 * gdb.base/pointers.exp: Likewise.
12167 * gdb.base/printcmds.exp: Likewise.
12168 * gdb.base/setvar.exp: Likewise.
12169 * gdb.base/store.exp: Likewise.
12170 * gdb.cp/ref-types.exp: Likewise.
12171 * gdb.mi/mi-var-child.exp: Likewise.
12172 * gdb.mi/mi-var-display.exp: Likewise.
12173 * gdb.mi/mi2-var-display.exp: Likewise.
12174 * gdb.base/charset.exp: Test octal escape sequence length.
12175 Update for change to escape output.
12176
187c4a2b
JK
121772009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12178
12179 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
12180
d80a43f9
DJ
121812009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
12182
12183 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
12184
047427a8
JK
121852009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12186
12187 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
12188 gdbserver increasing $portnum if "Can't bind address" has been seen.
12189
8b5a0f4f
PA
121902009-07-05 Pedro Alves <pedro@codesourcery.com>
12191
12192 * gdb.base/ending-run.exp: Add "step out of main" pattern for
12193 mingw32ce.
12194
7d93ba58
PA
121952009-07-05 Pedro Alves <pedro@codesourcery.com>
12196
12197 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
12198 VFP format.
12199
2277426b
PA
122002009-07-02 Pedro Alves <pedro@codesourcery.com>
12201
12202 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
12203 linux. Adjust to use "inferior", "info inferiors", "detach
12204 inferior" and "kill inferior" instead of "restart", "info fork",
12205 "detach fork" and "delete fork".
12206 * gdb.base/ending-run.exp: Spell out "info".
12207 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
12208 the "kill" command.
12209
5af949e3
UW
122102009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12211
12212 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
12213 change to prefix TLS offset in hex with 0x.
12214
5d3729b5
UW
122152009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12216
12217 * gdb.base/default.exp: Update test case for "x" changes.
12218
af589bd0
TG
122192009-07-01 Tristan Gingold <gingold@adacore.com>
12220
12221 * gdb.base/bigcore.exp: Make darwin untested.
12222
40974f91
JK
122232009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12224
12225 * gdb.base/completion.exp (directory completion): Create the directory.
12226 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
12227 escapeuniquesub.
12228 (directory completion 2): Expect now ${escapeuniquesub}.
12229 (Glob remaining of directory test): Remove one excessive newline.
12230 Expect the real output.
12231
59dd3af6
JK
122322009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12233
12234 Fix `make check//%' target after `make check' has been ran.
12235 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
12236 a mkdir call.
12237 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
12238 (%/.dir): Remove.
12239
f4e164aa
JK
122402009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12241
12242 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
12243 the expected result record.
12244
69af2122
JK
122452009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12246
12247 Remove racy FAILs relying just on the timeouts.
12248 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
12249 (annotation_level 2): Remove racy FAILs.
12250
2fd481e1
PP
122512009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12252
12253 gdb/10275
889bf7c5
PA
12254 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
12255
c38f313d
DJ
122562009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
12257
12258 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
12259
8b777f02
VP
122602009-06-30 Vladimir Prus <vladimir@codesourcery.com>
12261
12262 * gdb.mi/mi-stack.exp: Testing symbolic options
12263 to -stack-list-locals and -stack-list-arguments.
12264
00c7eacf
JK
122652009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12266
12267 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
12268
6bc80edc
TT
122692009-06-29 Tom Tromey <tromey@redhat.com>
12270
12271 * dg-extract-results.sh: New file.
12272 * Makefile.in (FORCE_PARALLEL): New variable.
12273 (CHECK_TARGET): New conditional variable.
12274 (check): Use CHECK_TARGET.
12275 (DO_RUNTEST): New variable.
12276 (check-single): New target.
12277 (TEST_DIRS): New variable.
12278 (TEST_TARGETS): Likewise.
12279 (check-parallel): New target.
12280 (check-gdb.%): New pattern.
12281 (BASE1_FILES): New variable.
12282 (BASE2_FILES): Likewise.
12283 (check-gdb.base%): New pattern.
12284 (%/.dir): New pattern.
12285 * configure: Rebuild.
12286 * aclocal.m4 (AM_CONDITIONAL): New defun.
12287 * configure.ac: Check whether user is using GNU make.
12288 (GMAKE): New conditional.
12289
794684b6
SW
122902009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
12291
12292 * gdb.cp/namespace-nested-import.cc: New test.
12293 * gdb.cp/namespace-nested-import.exp: New test.
12294
edb3359d
DJ
122952009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
12296
12297 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
12298 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
12299 * gdb.opt/Makefile.in (EXECUTABLES): Update.
12300 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
12301 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
12302 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
12303 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
12304 gdb.opt/inline-markers.c: New files.
12305 * lib/gdb.exp (skip_inline_frame_tests): New function.
12306 (skip_inline_var_tests): New function.
12307
cf657a0c
AS
123082009-06-27 Andreas Schwab <schwab@linux-m68k.org>
12309
12310 * gdb.cp/exception.exp: Don't require $hex before inner frame in
12311 backtrace.
12312
28d41a99
MS
123132009-06-27 Michael Snyder <msnyder@vmware.com>
12314
12315 * gdb.reverse: New directory.
12316 * gdb.reverse/break-reverse.c: New test.
12317 * gdb.reverse/break-reverse.exp: New test.
12318 * gdb.reverse/consecutive-reverse.c: New test.
12319 * gdb.reverse/consecutive-reverse.exp: New test.
12320 * gdb.reverse/finish-reverse.c: New test.
12321 * gdb.reverse/finish-reverse.exp: New test.
12322 * gdb.reverse/machinestate.c: New test.
12323 * gdb.reverse/ms1.c: New test.
12324 * gdb.reverse/machinestate.exp: New test.
12325 * gdb.reverse/Makefile.in: New file.
12326 * gdb.reverse/shr2.c: New test.
12327 * gdb.reverse/solib-reverse.c: New test.
12328 * gdb.reverse/solib-reverse.exp: New test.
12329 * gdb.reverse/step-reverse.c: New test.
12330 * gdb.reverse/step-reverse.exp: New test.
12331 * gdb.reverse/until-reverse.c: New test.
12332 * gdb.reverse/ur1.c: New test.
12333 * gdb.reverse/until-reverse.exp: New test.
12334 * gdb.reverse/watch-reverse.c: New test.
12335 * gdb.reverse/watch-reverse.exp: New test.
12336 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
12337 * configure: Regenerate.
12338
fe3c8b0d
DE
123392009-06-26 Doug Evans <dje@google.com>
12340
12341 * gdb.base/psymtab.exp: Turn off pending breakpoints.
12342
3a72a602
PM
123432009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
12344
12345 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
12346 windows problem for 'file delete $binfile'.
12347
27aa8d6a
SW
123482009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
12349
12350 * gdb.cp/namespace-using.exp: New test.
12351 * gdb.cp/namespace-using.cc: New test.
12352
8ac055f8
JB
123532009-05-20 Joel Brobecker <brobecker@adacore.com>
12354
12355 * gdb.ada/variant_record_packed_array: New testcase.
12356
85e306ed
TT
123572009-06-23 Tom Tromey <tromey@redhat.com>
12358
12359 * gdb.base/charset.exp (test_combination): Regression test.
12360 * gdb.base/charset.c (my_wchar_t): New typedef.
12361 (myvar): New global.
12362 (main): Set myvar.
12363
56643c5e
PM
123642009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
12365
12366 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
12367 target.
12368
1fac167a
UW
123692009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12370
12371 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
12372
7ccb0be9
UW
123732009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12374
12375 * gdb.mi/gdb680.exp: Update test for error message.
12376
568d6575
UW
123772009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12378
12379 * gdb.base/annota1.exp: Allow multiple occurrences of the
12380 frames-invalid annotation.
12381 * gdb.cp/annota2.exp: Likewise.
12382
7cd1089b
PM
123832009-06-15 Phil Muldoon <pmuldoon@redhat.com>
12384
12385 * gdb.cp/gdb2495.cc: New file.
12386 * gdb.cp/gdb2495.exp: New file.
12387
72c63395
JK
123882009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12389
12390 Report error on GDB crash during runto.
12391 * lib/gdb.exp (runto <eof>): New.
12392
3788363d
DJ
123932009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
12394
12395 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
12396 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
12397 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
12398 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
12399 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
12400 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
12401 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
12402 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
12403 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
12404 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
12405 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
12406 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
12407 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12408 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
12409 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
12410 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
12411 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
12412 gdb.server/server-mon.exp, gdb.server/server-run.exp,
12413 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12414 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
12415 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
12416 gdb.trace/passcount.exp, gdb.trace/report.exp,
12417 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
12418 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
12419 gdb.trace/while-stepping.exp: Use a unique name for the compiled
12420 executable.
12421
17592de3
PA
124222009-06-07 Pedro Alves <pedro@codesourcery.com>
12423
12424 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
12425 defined before referencing it.
12426
701e355d
DE
124272009-06-03 Doug Evans <dje@google.com>
12428
12429 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
12430 * gdb.arch/i386-see.c: Ditto.
12431
f2292c65
PM
124322009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
12433
12434 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
12435 (check_macro): Return 1 if undefined.
12436 If first test fails, check if macro debug information is available,
12437 and report unsupported test if no macro information is found.
12438
5a437975
DE
124392009-05-29 Doug Evans <dje@google.com>
12440
12441 * gdb.threads/hand-call-in-threads.exp: New.
12442 * gdb.threads/hand-call-in-threads.c: New.
12443
c141c696
MS
124442009-05-29 Michael Snyder <msnyder@vmware.com>
12445
12446 * gdb.base/break-always.exp: Change "1" to "on".
12447 Add confirmation check.
12448
b3444185
PA
124492009-05-28 Pedro Alves <pedro@codesourcery.com>
12450
12451 * gdb.threads/threxit-hop-specific.c: New.
12452 * gdb.threads/threxit-hop-specific.exp: New.
12453 * gdb.threads/thread-execl.c: New.
12454 * gdb.threads/thread-execl.exp: New.
12455
b6313243
TT
124562009-05-27 Tom Tromey <tromey@redhat.com>
12457 Thiago Jung Bauermann <bauerman@br.ibm.com>
12458
12459 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
12460 (mi_child_regexp): Likewise.
12461 (mi_list_varobj_children_range): Likewise.
12462 (mi_get_features): Likewise.
12463 (mi_list_varobj_children): Rewrite.
12464 * gdb.python/python-mi.exp: New file.
12465
a6bac58e
TT
124662009-05-27 Tom Tromey <tromey@redhat.com>
12467 Thiago Jung Bauermann <bauerman@br.ibm.com>
12468 Phil Muldoon <pmuldoon@redhat.com>
12469 Paul Pluzhnikov <ppluzhnikov@google.com>
12470
12471 * gdb.python/python-prettyprint.exp: New file.
12472 * gdb.python/python-prettyprint.c: New file.
12473 * gdb.python/python-prettyprint.py: New file.
12474 * gdb.base/display.exp: print/r is now valid.
12475
2c74e833
TT
124762009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
12477 Tom Tromey <tromey@redhat.com>
12478 Pedro Alves <pedro@codesourcery.com>
12479 Paul Pluzhnikov <ppluzhnikov@google.com>
12480
12481 * gdb.python/python-template.exp: New file.
12482 * gdb.python/python-template.cc: New file.
12483 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12484 tests.
12485 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12486 Call it.
12487 (test_value_after_death): New proc.
12488 * gdb.python/python-value.c (PTR): New typedef.
12489 (main): New variable 'x'.
12490
89c73ade
TT
124912009-05-27 Tom Tromey <tromey@redhat.com>
12492
12493 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12494 tests.
12495 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12496 Call it.
12497
a75724bc
PA
124982009-05-27 Pedro Alves <pedro@codesourcery.com>
12499
12500 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
12501
e58b0e63
PA
125022009-05-24 Pedro Alves <pedro@codesourcery.com>
12503
12504 * gdb.threads/fork-thread-pending.c: New.
12505 * gdb.threads/fork-thread-pending.exp: New.
12506
4ac36638
JK
125072009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12508
12509 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
12510 * gdb.dwarf2/dw2-strp.S (a_string2): New.
12511
889bf7c5 125122009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 12513
889bf7c5 12514 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 12515
b242c3c2
PA
125162009-05-17 Pedro Alves <pedro@codesourcery.com>
12517
12518 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
12519 `gdb_get_line_number'. Call `callee' in both parent and child.
12520 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
12521 `gdb_get_line_number' instead of hardcoding line numbers.
12522 (catch_fork_unpatch_child): New procedure to test detaching
12523 breakpoints from child fork.
12524 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
12525 hardcoding line numbers.
12526 (do_fork_tests): Run `catch_fork_unpatch_child'.
12527
ee342b23
VP
125282009-05-17 Vladimir Prus <vladimir@codesourcery.com>
12529
12530 * gdb.mi/mi-cmd-var.exp: Check that when varobj
12531 of structure type enters or leaves the scope, it
12532 is reported by -var-update.
12533
e2009e98
DE
125342009-05-11 Doug Evans <dje@sebabeach.org>
12535
12536 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 12537 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
12538 * gdb.threads/schedlock.c (main): Fix off-by-one error.
12539
00903456
JK
125402009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12541
12542 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
12543
dc621c35
DE
125442009-04-30 Doug Evans <dje@google.com>
12545
12546 * gdb.threads/watchthreads2.exp: New testcase.
12547 * gdb.threads/watchthreads2.c: New testcase.
12548
9ab4e744
DE
125492009-04-29 Doug Evans <dje@google.com>
12550
12551 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
12552 * gdb.cp/mb-ctor.cc: Ditto.
12553 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
12554 * gdb.cp/mb-inline.h (multi_line_foo): New function.
12555 * gdb.cp/mb-inline1.cc: Call it.
12556 * gdb.cp/mb-inline2.cc: Ditto.
12557 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
12558 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
12559
484086b7
JK
125602009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12561
12562 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
12563 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
12564 Replace all uses of `decimal' by `nonzero'.
12565 (info macro FROM_COMMANDLINE): New test.
12566
379a77b5
TT
125672009-04-27 Tom Tromey <tromey@redhat.com>
12568
12569 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
12570
b92b73c2
DE
125712009-04-27 Doug Evans <dje@google.com>
12572
12573 * gdb.threads/watchthreads.c (main): Initialize args before starting
12574 the threads. Plus formatting cleanup.
12575 * gdb.threads/watchthreads.exp: Avoid errant failures due to
12576 biased scheduling of one thread.
12577
945a118d
JG
125782009-04-27 Jerome Guitton <guitton@adacore.com>
12579
12580 * gdb.cp/templates.cc (GetMax): New template.
12581 (main): Declare two instances of GetMax.
12582 * gdb.cp/templates.exp: Add new test.
12583
d389af10
JK
125842009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12585
12586 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
12587
e7f86de9
JM
125882009-04-22 Joseph Myers <joseph@codesourcery.com>
12589
12590 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
12591
334cc82d
TT
125922009-04-15 Tom Tromey <tromey@redhat.com>
12593
12594 * gdb.base/charset.exp: Add regression test.
12595
d12672cc
JB
125962009-04-14 Joel Brobecker <brobecker@adacore.com>
12597
12598 * gdb.base/exe-lock.exp: New testcase.
12599
18e8c3bc
TT
126002009-04-13 Tom Tromey <tromey@redhat.com>
12601
12602 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
12603 operator on Frame.
12604
5ecd5cbe
UW
126052009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12606
12607 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
12608 * gdb.server/ext-attach.exp: Likewise.
12609
7309f756
VP
126102009-04-03 Vladimir Prus <vladimir@codesourcery.com>
12611
12612 Eliminate some sleep usage.
12613
889bf7c5
PA
12614 * gdb.mi/basics.c (do_nothing): New.
12615 (main): Use do_nothing instead of printf, so that
12616 not to introduce race condition between output of
12617 inferiour and output of gdb. Do not use sleep as it
12618 is not generally available on embedded targets.
7309f756 12619
f4b95f6f
PA
126202009-04-02 Pedro Alves <pedro@codesourcery.com>
12621
12622 * gdb.server/ext-attach.exp: Expect an optional process id after
12623 "Detached from remote process".
12624
de40b933
JK
126252009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12626
12627 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
12628 gdb.dwarf2/dw2-unresolved.exp: New.
12629
2ae101a4
PA
126302009-04-02 Pedro Alves <pedro@codesourcery.com>
12631
12632 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
12633 mi_run_to_main.
12634
56a8e183
PA
126352009-04-02 Pedro Alves <pedro@codesourcery.com>
12636
12637 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
12638 mi_run_to_main. Skip thread exit test on remote targets.
12639 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
12640 mi_run_to_main.
12641 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
12642 mi_run_to_main.
12643 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
12644 when expecting ^connected. Detect when the target doesn't support
12645 non-stop mode.
12646 (mi_run_cmd): Detect if non-stop mode was requested by isn't
12647 supported. Return -1 on error, 0 on success.
12648 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
12649 (mi_runto): Return mi_runto_helper's result explicitly.
12650
c35fafde
PA
126512009-04-01 Pedro Alves <pedro@codesourcery.com>
12652
12653 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
12654
f8a8dce6
JB
126552009-04-01 Tom Tromey <tromey@redhat.com>
12656
12657 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
12658 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
12659 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
12660 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
12661
71c25dea
TT
126622009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
12663 Jan Kratochvil <jan.kratochvil@redhat.com>
12664
12665 PR gdb/931
12666 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
12667 output.
12668 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
12669 for gdb/931.
12670 * dw2-strp.S (DW_AT_language): Change to C++.
12671 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
12672
02d9a9ce
JB
126732009-03-31 Joel Brobecker <brobecker@adacore.com>
12674
12675 * gdb.ada/tasks: New testcase.
12676
1042e4c0
SS
126772009-03-30 Stan Shebs <stan@codesourcery.com>
12678
12679 * gdb.trace/actions.exp: Update to match new info trace format.
12680 * gdb.trace/deltrace.exp: Ditto.
12681 * gdb.trace/infotrace.exp: Ditto.
12682 * gdb.trace/passcount.exp: Ditto.
12683 * gdb.trace/save-trace.exp: Ditto.
12684 * gdb.trace/while-stepping.exp: Ditto.
12685 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
12686
f8f6f20b
TJB
126872009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12688
12689 * gdb.python/python-frame.c: New file.
12690 * gdb.python/python-frame.exp: New file.
12691
c0c6f777
TJB
126922009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
12693
12694 * gdb.python/python-value.exp: Add tests for the address
12695 attribute.
12696
3cb51905
AS
126972009-03-29 Andreas Schwab <schwab@linux-m68k.org>
12698
12699 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
12700
88fc996f
DE
127012009-03-26 Doug Evans <dje@google.com>
12702
12703 * gdb.mi/mi-nonstop-exit.exp: New file.
12704 * gdb.mi/non-stop-exit.c: New file.
12705
56ef84b1
TT
127062009-03-26 Tom Tromey <tromey@redhat.com>
12707
12708 Update for change to prologue skipping:
12709 * gdb.mi/mi2-simplerun.exp: Update.
12710 * gdb.mi/mi2-break.exp: Update.
12711 * gdb.mi/mi-simplerun.exp: Update.
12712 * gdb.mi/mi-break.exp: Update.
12713 * gdb.base/ending-run.exp: Update.
12714
def2b000
TJB
127152009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
12716
12717 * gdb.python/python-value.exp (test_value_in_inferior): Test
12718 gdb.Value.is_optimized_out attribute.
12719
442ddf59
JK
127202009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12721
12722 * gdb.dwarf2/dw2-noloc-main.c: New file.
12723 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
12724 (.text): Remove.
12725 (.data): New.
12726 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
12727 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
12728 (DW_TAG_subprogram func_cu1, noloc): Remove.
12729 (main): New.
12730 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
12731 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
12732 (file_symbols): New procedure.
12733
a8df5de4
TT
127342009-03-25 Tom Tromey <tromey@redhat.com>
12735
12736 * gdb.base/charset.exp (valid_target_charset): New proc.
12737 Use it to skip tests on invalid charsets.
12738
cc1d7add
PM
127392009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
12740
12741 * gdb.base/completion.exp: Add a test for directory completion.
12742
bcd5727b
JK
127432009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12744
12745 Fix a racy FAIL.
12746 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
12747 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
12748
cc924cad
TJB
127492009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
12750
12751 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
12752 * gdb.python/python-function.exp: Add test for function returning
12753 a GDB value.
12754
bc3b79fd
TJB
127552009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
12756
12757 * gdb.python/python-function.exp: New file.
12758
6c7a06a3
TT
127592009-03-20 Tom Tromey <tromey@redhat.com>
12760
12761 * gdb.base/store.exp: Update for change to escape output.
12762 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
12763 to escape output.
12764 * gdb.base/pointers.exp: Update for change to escape output.
12765 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
12766 to escape output.
12767 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
12768 escape output.
12769 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
12770 to escape output.
12771 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
12772 escape output.
12773 * gdb.base/setvar.exp: Update for change to escape output.
12774 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
12775 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
12776 to escape output.
12777 (test_print_string_constants): Likewise.
12778 * gdb.base/charset.exp (valid_host_charset): Check size of
12779 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
12780 cases. Handle "auto"-related output.
12781 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
12782 (uvar, Uvar): New globals.
12783
c31af87b
JG
127842009-03-19 Jerome Guitton <guitton@adacore.com>
12785
12786 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
12787 deltas.
12788 * gdb.ada/fixed_points.exp: Ditto.
12789
51272cf2
PA
127902009-03-18 Pedro Alves <pedro@codesourcery.com>
12791
12792 * return-nodebug.c: Don't include stdio.h.
12793 (init): Delete.
12794 (func): Delete definition and provide extern declaration.
12795 (t): New.
12796 (main): Don't call printf. Call func and store its result in t.
12797 * return-nodebug1.c: New.
12798 * return-nodebug.exp: Don't expect stdio output. Instead, print
12799 the global variable t. Drop printf formatters and cast types from
12800 foreach loop. Don't use prepare_for_testing. Compile
12801 return-nodebug.c and return-nodebug1.c in separate steps. Don't
12802 define FORMAT or CAST.
12803
d24948ac
PP
128042009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12805
12806 * gdb.base/solib-display.exp: Disable test for remote targers.
12807
61ff14c6
JK
128082009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12809
12810 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
12811
cb4dce93
JK
128122009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12813
12814 Fix a racy FAIL.
12815 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
12816 code from `follow parent, print pids'.
12817 (`follow child, print pids', `follow parent, print pids'): Call it.
12818 Replace `gdb_test "break..."' by gdb_breakpoint.
12819
f7c60c5e
VP
128202009-03-13 Vladimir Prus <vladimir@codesourcery.com>
12821
12822 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 12823 sync and async modes.
f7c60c5e 12824
383ace49
JB
128252009-03-12 Joel Brobecker <brobecker@adacore.com>
12826
12827 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
12828 that was checked in by mistake. Remove loading of ada.exp, since
12829 this is not necessary in this case.
12830
4ce102af
JB
128312009-03-12 Joel Brobecker <brobecker@adacore.com>
12832
12833 * gdb.ada/ptype_arith_binop.exp: New testcase.
12834
529a2aef
JB
128352009-03-12 Joel Brobecker <brobecker@adacore.com>
12836
12837 * gdb.ada/mod_from_name: New testcase.
12838
8a38181c
JB
128392009-03-12 Joel Brobecker <brobecker@adacore.com>
12840
12841 * gdb.ada/tick_last_segv: New testcase.
12842
11436dee
VP
128432009-03-12 Vladimir Prus <vladimir@codesourcery.com>
12844
61ff14c6 12845 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 12846
1f31650a
VP
128472009-03-12 Vladimir Prus <vladimir@codesourcery.com>
12848
61ff14c6
JK
12849 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
12850 include the token in ^running and frame info in *stopped.
1f31650a 12851
a3247a22
PP
128522009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12853
12854 * solib-display.exp: New file.
12855 * solib-display-main.c: New file.
12856 * solib-display-lib.c: New file.
61ff14c6 12857
aae64587
PA
128582009-03-05 Pedro Alves <pedro@codesourcery.com>
12859
12860 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
12861
44aabfbc
JK
128622009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12863
12864 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
12865 (list_and_check_macro): Use more specific test name.
12866 (next to definition): Make the test names unique.
12867
c087fcd3
PM
128682009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
12869
12870 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 12871
c86cf029
VP
128722009-02-17 Vladimir Prus <vladimir@codesourcery.com>
12873
12874 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
12875 notifications.
12876 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
12877 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
12878 * lib/mi-support.exp (library_loaded_re): New.
12879 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
12880
3ea85240
VP
128812009-02-17 Vladimir Prus <vladimir@codesourcery.com>
12882
12883 * gdb.gdb/observer.exp: Use test_notification observer, not
12884 normal_stop, everywhere.
12885 (test_normal_stop_notifications): Rename to...
12886 (test_notifications): ...this.
12887 (test_observer_normal_stop): Rename to...
12888 (test_observer): ...this.
12889
1903f0e6
DE
128902009-02-16 Doug Evans <dje@google.com>
12891
12892 * gdb.arch/amd64-disp-step.S (test_int3): New test.
12893 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
12894 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
12895 (test_prefixed_syscall,test_int3): New tests.
12896 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
12897 (test_prefixed_syscall,test_int3): New tests.
12898
1d33d6ba
VP
128992009-02-14 Vladimir Prus <vladimir@codesourcery.com>
12900
3cb51905
AS
12901 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
12902 (mi_expect_interrupt): Likewise.
12903 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
12904 response.
1d33d6ba 12905
faafb047
PM
129062009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
12907
12908 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
12909 * gdb.base/pc-fp.exp (get_valueofx): Remove.
12910 Replace calls to get_valueofx by get_hexadecimal_valueof.
12911
417e16e2
PM
129122009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
12913
12914 * lib/gdb.exp (get_valueof): Accept anything as a return value.
12915 (get_integer_valueof): New procedure.
12916 (get_sizeof): Use new get_integer_value_of.
12917 * gdb.base/sizeof.exp: Replace all uses of get_valueof
12918 by get_integer_valueof.
12919
7065b901
TT
129202009-02-13 Tom Tromey <tromey@redhat.com>
12921
12922 * gdb.base/remote.exp (get_sizeof): Remove.
12923 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
12924 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
12925 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
12926 * lib/gdb.exp (get_valueof): Move from long_long.exp.
12927 (get_sizeof): Likewise.
12928
5d7cb8df
JK
129292009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12930
12931 PR fortran/9806
12932 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
12933
b2febfff
PP
129342009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12935
12936 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
12937
4aa995e1
PA
129382009-02-06 Pedro Alves <pedro@codesourcery.com>
12939
12940 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
12941
d8906c6f
TJB
129422009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
12943
12944 * gdb.python/python-cmd.exp: New file.
12945
ff4ab08d
TG
129462009-02-06 Tristan Gingold <gingold@adacore.com>
12947
12948 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
12949
aacd552b
TG
129502009-02-05 Tristan Gingold <gingold@adacore.com>
12951
12952 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
12953 pointer is dereferenced and use this signal name in regexp.
12954 * gdb.base/signull.exp: Ditto.
12955 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
12956 * gdb.base/signull.c (main): Ditto.
12957
08c637de
TJB
129582009-02-04 Tom Tromey <tromey@redhat.com>
12959 Thiago Jung Bauermann <bauerman@br.ibm.com>
12960
12961 * gdb.python/python-value.exp: Use `gdb.history' instead of
12962 `gdb.value_from_history'.
12963 (test_value_numeric_ops): Add test for conversion of enum constant.
12964 * gdb.python/python-value.c (enum e): New type.
12965 (evalue): New global.
12966 (main): Use argv.
12967
20261af8
JG
129682009-02-04 Jerome Guitton <guitton@adacore.com>
12969
12970 * gdb.ada/uninitialized_vars: New test program.
12971 * gdb.ada/uninitialized_vars.exp: New testcase.
12972
52e44b43
TT
129732009-02-02 Tom Tromey <tromey@redhat.com>
12974
12975 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
12976 * gdb.cp/pr2489.cc: Rename...
12977 * gdb.cp/pr9594.cc: ... to this.
12978
1c71341a
TT
129792009-02-02 Tom Tromey <tromey@redhat.com>
12980
12981 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
12982 * gdb.cp/pr2489.cc: New file.
12983 * gdb.cp/cpcompletion.exp: New file.
12984
a4295225
TT
129852009-02-02 Tom Tromey <tromey@redhat.com>
12986
12987 PR exp/9059:
12988 * gdb.cp/call-c.exp: Add regression test.
12989 * gdb.cp/call-c.cc (FooHandle): New typedef.
12990 (main): New variable 'handle'.
12991
592375cd
VP
129922009-01-30 Vladimir Prus <vladimir@codesourcery.com>
12993
12994 * lib/mi-support.exp (et_mi_thread_list)
12995 (check_mi_and_console_threads): Adjust for current thread in
12996 -thread-list-ids output.
12997
41447f92
VP
129982009-01-30 Vladimir Prus <vladimir@codesourcery.com>
12999
889bf7c5
PA
13000 * gdb.mi/mi-break.exp (test_disabled_creation): New.
13001 Call it.
41447f92 13002
35669430
DE
130032009-01-28 Doug Evans <dje@google.com>
13004
13005 * gdb.arch/amd64-disp-step.S: New file.
13006 * gdb.arch/amd64-disp-step.exp: New file.
13007 * gdb.arch/i386-disp-step.S: New file.
13008 * gdb.arch/i386-disp-step.exp: New file.
13009
09f00d9a
PM
130102009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
13011
13012 * gdb.base/find.exp: Set newline variable
13013 using quotes instead of braces to fix cygwin failures.
13014
1e8fb976
PA
130152009-01-23 Pedro Alves <pedro@codesourcery.com>
13016
13017 * gdb.base/radix.exp: Add tests to ensure that that set
13018 input-radix 0 and set output-radix 0 are really rejected.
13019
da061712
PA
130202009-01-23 Pedro Alves <pedro@codesourcery.com>
13021
13022 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
13023 copyright years.
13024
dd7e2d2b
PA
130252009-01-23 Pedro Alves <pedro@codesourcery.com>
13026
13027 PR gdb/9664:
13028 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
13029
392452f6
PA
130302009-01-22 Pedro Alves <pedro@codesourcery.com>
13031
13032 PR c++/9631:
13033 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
13034
8653e71c
PM
130352009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
13036
13037 * gdb.server/file-transfer.exp: Use EXEEXT variable for
13038 binfile definition to fix Windows OS failure.
13039
a12cc160
DJ
130402009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13041
13042 PR gdb/9346
13043 * gdb.base/interrupt.c (sigint_handler): New.
13044 (main): Install a SIGINT handler if SIGNALS is defined. Exit
13045 on error.
13046 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
13047 Test "signal SIGINT".
13048
b89667eb
DE
130492009-01-19 Doug Evans <dje@google.com>
13050
13051 * gdb.base/break.exp: Update expected gdb output.
13052 * gdb.base/sepdebug.exp: Ditto.
13053 * gdb.mi/mi-syn-frame.exp: Ditto.
13054 * gdb.mi/mi2-syn-frame.exp: Ditto.
13055 * gdb.base/call-signal-resume.exp: New file.
13056 * gdb.base/call-signals.c: New file.
13057 * gdb.base/unwindonsignal.exp: New file.
13058 * gdb.base/unwindonsignal.c: New file.
13059 * gdb.threads/interrupted-hand-call.exp: New file.
13060 * gdb.threads/interrupted-hand-call.c: New file.
13061 * gdb.threads/thread-unwindonsignal.exp: New file.
13062
adb483fe
DJ
130632009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
13064
13065 * gdb.base/define.exp: Test defining and hooking prefix commands.
13066 * gdb.python/python.exp: Update test for "show user" output.
13067
60023297
JK
130682009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13069
13070 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
13071 now the output exactly, using less wildcards. Expect also the output
13072 of gfortran-4.3. Update for the f-valprint.c modification from
13073 2008-04-22.
13074 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
13075 Remove gdb_test test names where matching the command.
13076
ccc57cf9
PA
130772009-01-01 Pedro Alves <pedro@codesourcery.com>
13078
13079 PR breakpoints/9681:
13080 * gdb.base/watchpoint.exp: Add regression test.
13081
c7a6ca08
PA
130822008-12-31 Pedro Alves <pedro@codesourcery.com>
13083
13084 * gdb.threads/attach-into-signal.exp: Don't use
13085 gdb_suppress_entire_file.
13086 * gdb.threads/attach-stopped.exp: Ditto.
13087 * gdb.threads/attachstop-mt.exp: Ditto.
13088
3a031f65
PA
130892008-12-31 Pedro Alves <pedro@codesourcery.com>
13090
13091 PR gdb/8812:
13092 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
13093
09e6485f
PA
130942008-12-29 Pedro Alves <pedro@codesourcery.com>
13095
13096 PR gdb/7536:
13097 * gdb.base/radix.exp: Add tests to ensure invalid input radices
13098 and unsupported output radices are really rejected.
13099
0cd53049
JK
131002008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13101
13102 * gdb.cp/punctuator.exp: Backslash the '$' signs.
13103
ba163c7e
TT
131042008-12-22 Tom Tromey <tromey@redhat.com>
13105
13106 * gdb.cp/punctuator.exp: New file.
13107
6f4de6c9
JK
131082008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13109
13110 * gdb.base/completion.exp (Completing non-existing component): New test.
13111
0f34d0b4
JK
131122008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13113
13114 Fix for PR gdb/8648.
13115 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
13116 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
13117 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
13118 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
13119
db2ad4c3
JK
131202008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13121
13122 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
13123
bb5ef15e
DP
131242008-12-16 Christophe Lyon <christophe.lyon@st.com>
13125
13126 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
13127 compiler actually generate code at the expected line number.
13128
90142adc
JZ
131292008-12-15 Jie Zhang <jie.zhang@analog.com>
13130
13131 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
13132
fad6eecd
TT
131332008-12-12 Tom Tromey <tromey@redhat.com>
13134
13135 * gdb.base/commands.exp (redefine_hook_test): New proc.
13136 Call it.
13137
17c8aaf5
TT
131382008-12-11 Tom Tromey <tromey@redhat.com>
13139
13140 * gdb.base/macscp.exp: New regression test.
13141
7c8adf68
TT
131422008-12-11 Tom Tromey <tromey@redhat.com>
13143
13144 * gdb.base/macscp.exp: Print "address.addr".
13145 * gdb.base/macscp1.c (struct outer): New struct.
13146 (address): New global.
13147
b05dcbb7
TT
131482008-12-09 Tom Tromey <tromey@redhat.com>
13149
13150 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
13151 Call it.
13152
2d476de1
DE
131532008-12-04 Doug Evans <dje@google.com>
13154
13155 * gdb.server/ext-run.exp: Relax regexp for init program.
13156
87bdc959
TG
131572008-12-03 Tristan Gingold <gingold@adacore.com>
13158
13159 * gdb.base/macscp.exp: Generate an object file during compilation
13160 to work around Darwin dsymutil limitations.
13161
e0740f77
JK
131622008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13163
13164 Test resolving external references to TLS variables.
13165 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
13166 FILE2_THREAD_LOCAL.
13167 (testfile2, srcfile2): New variables.
13168 * gdb.threads/tls.c (file2_thread_local)
13169 (function_referencing_file2_thread_local): New.
13170 * gdb.threads/tls2.c: New file.
13171
67f0aac5
JB
131722008-11-28 Joel Brobecker <brobecker@adacore.com>
13173
13174 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
13175 rather than integer, as integer might not be big enough when
13176 on 64bit targets.
67f0aac5 13177
c332165e
JG
131782008-11-27 Jerome Guitton <guitton@adacore.com>
13179
13180 * gdb.cp/formatted-ref.exp: Add equality test.
13181 * gdb.ada/formatted_ref.exp: Ditto.
13182
fc9b693c
JK
131832008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13184
13185 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
13186 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
13187
a9c64011
AS
131882008-11-20 Andreas Schwab <schwab@suse.de>
13189
13190 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
13191 matching syscall entry point.
13192 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13193 (tcatch_vfork_then_child_follow): Likewise. Finish through
13194 vfork even if we stopped at the syscall trampoline.
13195
e2fd701e
DE
131962008-11-20 Doug Evans <dje@google.com>
13197
13198 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
13199
69abc51c
TJB
132002008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
13201
13202 * gdb.arch/ppc-dfp.exp: New file.
13203 * gdb.arch/ppc-dfp.c: New file.
13204
c14c28ba
PP
132052008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13206
13207 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 13208
2e74121d
DE
132092008-11-17 Doug Evans <dje@google.com>
13210
13211 * gdb.mi/mi-syn-frame.exp: Update expected output.
13212 * gdb.mi/mi2-syn-frame.exp: Update expected output.
13213
66bb093b
VP
132142008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13215
13216 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
13217 "thread N" results in =thread-selected.
13218 * lib/mi-support (mi_run_cmd, mi_expect_stop)
13219 (mi_send_resuming_command_raw): Be prepared for
13220 =thread-selected.
13221
3d043ef6
VP
132222008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13223
a9c64011
AS
13224 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
13225 * lib/mi-support.exp: Likewise.
3d043ef6 13226
808104c8
JB
132272008-11-16 Joel Brobecker <brobecker@adacore.com>
13228
13229 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
13230 commands from the expected output for "help catch".
13231
00b22944
JB
132322008-11-15 Joel Brobecker <brobecker@adacore.com>
13233
13234 * gdb.ada/int_deref.exp: New testcase.
13235
59669435
TT
132362008-11-14 Nick Roberts <nickrob@snap.net.nz>
13237
13238 * gdb.mi/gdb2549.exp: New file.
13239
de04a248
DE
132402008-11-11 Doug Evans <dje@google.com>
13241
13242 * gdb.base/callexit.exp: New file.
13243 * gdb.base/callexit.c: New file.
13244
6b8ce727
DE
132452008-11-10 Doug Evans <dje@google.com>
13246
13247 * lib/gdb.exp (GDBFLAGS): Move -nx ...
13248 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
13249 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
13250 (default_gdb_start,default_gdb_exit): Ditto.
13251 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
13252 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
13253 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
13254 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
13255 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
13256 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
13257
1b14b8aa
AS
132582008-11-03 Andreas Schwab <schwab@suse.de>
13259
13260 * gdb.base/hashline2.exp: Fix typo.
13261 * gdb.base/hashline3.exp: Likewise.
13262
f3134b88
TT
132632008-10-30 Tom Tromey <tromey@redhat.com>
13264
13265 * gdb.base/pointers.exp: Add test.
13266 * gdb.base/pointers.c (k, S): New typedefs.
13267 (instance): New global.
13268
c2226152
AS
132692008-10-30 Andreas Schwab <schwab@suse.de>
13270
13271 * gdb.base/args.exp: Add tests for newlines.
13272
462f405c
JB
132732008-10-30 Joel Brobecker <brobecker@adacore.com>
13274
13275 gdb.base/foll-exec.exp: Update the expected output of a couple
13276 of "info breakpoints" tests.
13277
79a45b7d
TT
132782008-10-28 Tom Tromey <tromey@redhat.com>
13279
13280 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
13281
adc13a14
PA
132822008-10-24 Pedro Alves <pedro@codesourcery.com>
13283
13284 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
13285 gdb_start_cmd.
13286 Use runto_main before any test that requires execution.
13287
252fbfc8
PA
132882008-10-23 Pedro Alves <pedro@codesourcery.com>
13289
13290 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
13291 instead of SIGINT.
13292
28148e3d
JB
132932008-10-22 Joel Brobecker <brobecker@adacore.com>
13294
13295 * gdb.base/completion.exp: Update expected output following
13296 the addition of the "info tasks" command.
13297
c209f847
TT
132982008-10-22 Tom Tromey <tromey@redhat.com>
13299
13300 * gdb.base/exprs.exp (test_expr): Add test for string
13301 concatenation.
13302
f177e350
PA
133032008-10-19 Pedro Alves <pedro@codesourcery.com>
13304
13305 * configure.ac: Output gdb.python/Makefile.
13306 * configure: Regenerate.
13307 * gdb.python/Makefile.in: New.
13308
cce89356
JB
133092008-10-16 Joel Brobecker <brobecker@adacore.com>
13310
13311 * gdb.base/foll-fork.exp: Adjust the expected output to match
13312 the new description for fork/vfork catchpoints in the "info
13313 breakpoints" output.
13314
176d289d
TJB
133152008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13316
13317 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
13318
a08702d6
TJB
133192008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13320
13321 * gdb.python/python-value.c: New file.
13322 * gdb.python/python-value.exp: New file.
13323
1c5cfe86
PA
133242008-10-15 Pedro Alves <pedro@codesourcery.com>
13325
13326 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
13327
5a98ad69
DP
133282008-10-15 Denis Pilat <denis.pilat@st.com>
13329
41702f1b 13330 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 13331
dcb1a1e2
TT
133322008-10-09 Tom Tromey <tromey@redhat.com>
13333
13334 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
13335 'fprintf' and 'stderr'.
13336
9124fe48
JB
133372008-10-07 Joel Brobecker <brobecker@adacore.com>
13338
13339 * gdb.ada/ref_tick_size.exp: New testcase.
13340
45452591
DE
133412008-10-06 Doug Evans <dje@google.com>
13342
13343 * gdb.dwarf2/dw2-cu-size.exp: New file.
13344 * gdb.dwarf2/dw2-cu-size.S: New file.
13345
13346 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
13347 .Ltype_int for clarity.
13348
4fc5b208
PP
133492008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13350
13351 PR gdb/2384:
13352 * gdb.cp/gdb2384.exp: Extended to test more cases.
13353 * gdb.cp/gdb2384.cc: Likewise.
13354 * gdb.cp/gdb2384-base.h: Likewise.
13355 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 13356
d78df370
JK
133572008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13358
13359 * gdb.base/maint.exp (maint print type): Remove printing
13360 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
13361
9a044a89
TT
133622008-09-30 Tom Tromey <tromey@redhat.com>
13363
13364 * gdb.base/macscp.exp: Add completion tests.
13365 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
13366 (TWENTY_THREE): Likewise.
13367 (FORTY_EIGHT): Likewise.
13368
506800a9
TT
133692008-09-30 Tom Tromey <tromey@redhat.com>
13370
13371 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
13372 everywhere.
13373 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
13374
1a6f01b5
JK
133752008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13376
13377 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
13378 testcase is derived from. Fix racy dependency on an expected PID
13379 number. No longer support the testcase on Linux kernel 2.4.x.
13380
2fae03e8
TT
133812008-09-27 Tom Tromey <tromey@redhat.com>
13382
13383 * gdb.base/macscp.exp: Add tests for stringification, splicing,
13384 and varargs.
13385
1ad15515
PA
133862008-09-22 Pedro Alves <pedro@codesourcery.com>
13387
13388 * lib/mi-support.exp (mi_expect_interrupt): New.
13389 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
13390 from gdb.mi/mi-nonstop.exp.
13391 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
13392 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
13393 lib/mi-support.exp.
13394 Use mi_check_thread_states throughout. Avoid ".*" and do not
13395 require an anchor after -exec-run.
13396
d0b76dc6
DJ
133972008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
13398
13399 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
13400 stop is pending. Avoid ".*" when two stops are pending.
13401 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
13402 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
13403 newlines in fullnames.
13404 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
13405 (mi_expect_stop): Update comments. Only anchor in sync mode.
13406 Do not match newlines.
13407 (mi_send_resuming_command_raw): Always return status.
13408 (mi_get_stop_line): Do not match more than one line by accident.
13409 Only anchor in sync mode.
13410 (mi_run_inline_test): If -exec-next fails, give up.
13411
9990c830
UW
134122008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13413
13414 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
13415 on SPU.
13416
ebcf6f00
JB
134172008-09-10 Joel Brobecker <brobecker@adacore.com>
13418
13419 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
13420
b6db24e5
JB
134212008-09-10 Joel Brobecker <brobecker@adacore.com>
13422
13423 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
13424 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
13425 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
13426 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
13427 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
13428 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
13429 gdb.ada/interface.exp, gdb.ada/null_array.exp,
13430 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
13431 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
13432 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
13433 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
13434 Include the "= " sequence in the expected output of print tests.
13435
2bf448e0
JB
134362008-09-10 Joel Brobecker <brobecker@adacore.com>
13437
13438 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
13439 description for boolean types.
13440
d51fd4c8
PA
134412008-09-09 Pedro Alves <pedro@codesourcery.com>
13442
13443 * gdb.base/hook-stop-continue.c: New.
13444 * gdb.base/hook-stop-continue.exp: New.
13445
694182d2
DJ
134462008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
13447
13448 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
13449
3b8a7fc0
JG
134502008-09-08 Jerome Guitton <guitton@adacore.com>
13451
13452 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
13453 (stack_check_probe_2, stack_check_probe_loop_1)
13454 (stack_check_probe_loop_2): New functions.
13455 (main): Add call to these new functions.
13456 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
13457 functions, check that the breakpoint is inserted at the appropriate
13458 location.
13459 (insert_breakpoint): Slightly refine this procedure so that it can
13460 be called several times in the test.
13461
96cc0ae8
JG
134622008-09-08 Jerome Guitton <guitton@adacore.com>
13463
13464 * gdb.base/stack-checking.c: New file.
13465 * gdb.base/stack-checking.exp: New file.
13466
1f08b409
TJB
134672008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13468
13469 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
13470 * gdb.arch/altivec-regs.exp: Likewise.
13471 * gdb.arch/vsx-regs.exp: Likewise.
13472
3099e1c4
TJB
134732008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13474
13475 * gdb.arch/ppc-fp.exp: New file.
13476 * gdb.arch/ppc-fp.c: New file.
13477
cc69bfc1
PP
134782008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13479
13480 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
13481 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 13482
b02a33db
MS
134832008-09-04 Michael Snyder <msnyder@vmware.com>
13484
13485 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
13486 as "at" (for non-debug functions such as _start).
13487
2992cbe0
UW
134882008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13489
13490 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
13491 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
13492 software watchpoints.
13493 * gdb.base/watch_thread_num.exp: Likewise.
13494
514f746b
AR
134952008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
13496
13497 * gdb.arch/i386-bp_permanent.exp: New test.
13498
876cecd0
TT
134992008-08-24 Tom Tromey <tromey@redhat.com>
13500
13501 * gdb.base/maint.exp: Update "maint print type".
13502
80f73d71
VP
135032008-08-21 Vladimir Prus <vladimir@codesourcery.com>
13504
13505 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
13506 support. Adjust the order of "*running" notifications.
13507 * gdb.mi/non-stop.c: Don't cast from int to void* and
13508 back.
13509
d9c78d7d
MK
135102008-08-20 Mark Kettenis <kettenis@gnu.org>
13511
13512 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
13513 expect to find it in the "info frame" output.
13514
97a2d1d3
DJ
135152008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
13516
13517 * gdb.base/interp.exp: Always consume both prompts.
13518
b96e2927
PA
135192008-08-20 Pedro Alves <pedro@codesourcery.com>
13520
13521 * gdb.base/pending.exp: Test pending breakpoints without symbols
13522 loaded.
13523
8cf6e61a
VP
135242008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13525
13526 * lib/mi-support.exp (mi_expect_stop): Produce
13527 more details on failures.
13528 * gdb.mi/mi-nonstop.exp: New.
13529 * gdb.mi/non-stop.c: New.
13530
c6ebd6cf
VP
135312008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13532
a9c64011
AS
13533 * gdb.mi/mi-async.exp: Use 'set target-async'.
13534 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 13535
46a9b8ed
DJ
135362008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
13537
13538 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
13539
44feb3ce
TT
135402008-08-17 Tom Tromey <tromey@redhat.com>
13541
13542 * gdb.base/help.exp (help catch): Rewrite.
13543
311a4e6b
TJB
135442008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13545
13546 * gdb.base/define.exp: Test indented command documentation.
13547 * gdb.python/python.exp: Test indented multi-line command.
13548
604c2f83
LM
135492008-08-15 Luis Machado <luisgpm@br.ibm.com>
13550
13551 * testsuite/gdb.arch/vsx-regs.c: New source file.
13552 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
13553 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
13554
886a217c
TT
135552008-08-14 Tom Tromey <tromey@redhat.com>
13556
13557 * gdb.base/macscp.exp: Add regression test for "macro define" or
13558 "macro undef" with no arguments.
13559
c814a4f3
PP
135602008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13561
13562 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 13563
12ab8a60
UW
135642008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13565
13566 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
13567
d57a3c85
TJB
135682008-08-06 Tom Tromey <tromey@redhat.com>
13569
13570 * gdb.python/python.exp: New file.
13571
c7b778ff
JK
135722008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13573
13574 Fix for PR gdb/1543.
13575 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
13576 $LOCATION.
13577 (location): New variable.
13578 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
13579 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
13580 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
13581 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
13582 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
13583 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
13584 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
13585 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
13586 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
13587 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
13588 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
13589 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
13590 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
13591 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
13592 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
13593 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
13594 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
13595 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
13596 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
13597 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
13598 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
13599 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
13600 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
13601 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
13602 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
13603 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
13604 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
13605 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
13606 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
13607 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
13608 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
13609 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
13610 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
13611 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
13612 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
13613 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
13614 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
13615 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
13616 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
13617 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
13618 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
13619 gdb.base/type-opaque.exp, gdb.base/until.exp,
13620 gdb.base/value-double-free.c, gdb.base/varargs.exp,
13621 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
13622 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
13623 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
13624 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
13625 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
13626 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
13627 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
13628 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
13629 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
13630 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
13631 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
13632 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
13633 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
13634 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
13635 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
13636 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
13637 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
13638 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
13639 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
13640 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13641 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
13642 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
13643 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
13644 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13645 gdb.pascal/types.exp, gdb.stabs/weird.exp,
13646 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
13647 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
13648 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
13649 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
13650 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
13651 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
13652 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13653 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13654 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13655 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13656 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13657 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
13658 lib/mi-support.exp, lib/trace-support.exp: Remove reference
13659 to bug-gdb@prep.ai.mit.edu .
13660
5e06a3d1
VP
136612008-07-31 Vladimir Prus <vladimir@codesourcery.com>
13662
13663 * lib/mi-support.exp (mi_load_shlibs): New.
13664 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
13665
9d81d21b
VP
136662008-07-30 Vladimir Prus <vladimir@codesourcery.com>
13667
13668 * lib/mi-support.exp (get_mi_thread_list)
13669 (check_mi_and_console_threads): New, moved from ...
13670 * gdb.mi/mi-pthread.exp: ...here.
13671 * gdb.mi/gdb669.exp (get_mi_thread_list)
13672 (check_mi_and_console_threads): Delete.
13673 * gdb.mi/mi2-pthread.exp: Likewise.
13674
bae98fe0
TT
136752008-07-28 Tom Tromey <tromey@redhat.com>
13676
13677 * Makefile.in (just-check): Remove. Move body to...
13678 (check): ... here.
13679
57380f4e
DJ
136802008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13681
13682 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
13683 Add a test for duplicated SIGINTs.
13684
e09490f1
DJ
136852008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13686
13687 * gdb.threads/schedlock.exp (get_args): Update to work for any
13688 value of NUM.
13689 (Top level): Report the number of threads that did not resume.
13690
6387b45f
DJ
136912008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13692
13693 * gdb.dwarf2/dw2-compressed.S: Also define __start.
13694
62f64ff2
DJ
136952008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13696
13697 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
13698 non-MI prompt.
13699
fa8de41e
TT
137002008-07-26 Tom Tromey <tromey@redhat.com>
13701
13702 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
13703 (function_struct, function_struct_ptr): New globals.
13704 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
13705 function pointer in a struct.
13706
ccb3ac8a
TT
137072008-07-26 Tom Tromey <tromey@redhat.com>
13708
13709 * gdb.base/macscp.exp: Add test for macro lexing bug.
13710
d7d9f01e
TT
137112008-07-18 Tom Tromey <tromey@redhat.com>
13712
13713 * gdb.base/macscp.exp: Add macro tests.
13714
9bf07184
PP
137152008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13716
13717 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
13718
becf6477
PP
137192008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13720
13721 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
13722
0709f7d3
PP
137232008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
13724
13725 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 13726
7093c834
PP
137272008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
13728
13729 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 13730
b432ffe3
JK
137312008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13732
13733 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
13734
b1a268e5
VP
137352008-07-12 Vladimir Prus <vladimir@codesourcery.com>
13736
13737 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
13738
e2995f8e
KB
137392008-07-11 Kevin Buettner <kevinb@redhat.com>
13740
13741 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
13742 of regexp to account for changes made to GDB in the printing of
13743 byte vectors.
13744
14032a66
TT
137452008-07-11 Tom Tromey <tromey@redhat.com>
13746
13747 * gdb.base/completion.exp: Add 'help' completion test.
13748
981505ef
JK
137492008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13750
13751 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
13752
10568435
JK
137532008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13754
13755 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
13756
4487aabf
PA
137572008-07-09 Pedro Alves <pedro@codesourcery.com>
13758
13759 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
13760
a4a9b1c4
PA
137612008-07-09 Pedro Alves <pedro@codesourcery.com>
13762
13763 * gdb.base/fullname.exp: Restore pwd if compiling failed.
13764
3c3185ac
JK
137652008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13766
13767 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
13768
7ebd49dc
VP
137692008-06-28 Vladimir Prus <vladimir@codesourcery.com>
13770
13771 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
13772 previous commit. Add a comment.
13773
84e46146
PA
137742008-06-28 Pedro Alves <pedro@codesourcery.com>
13775
13776 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
13777
0f8d4a2f
VP
137782008-06-28 Vladimir Prus <vladimir@codesourcery.com>
13779
13780 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
13781
f747e0ce
PA
137822008-06-27 Pedro Alves <pedro@codesourcery.com>
13783
13784 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
13785 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
13786 compiling an executable, link in an object that forces unbuffered
13787 output.
13788 * lib/set_unbuffered_mode.c: New file.
13789
734a5c36
JK
137902008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13791
13792 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
13793
a2840c35
VP
137942008-06-25 Vladimir Prus <vladimir@codesourcery.com>
13795
a9c64011
AS
13796 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
13797 mi_expect_stop.
13798 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
13799 Demand that *running is output.
13800 (detect_async): Perform checking every time.
13801 (mi_send_resuming_command): Extract everything into...
13802 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
13803 (mi_expect_stop): Don't accept any output before *stopped.
13804
6ae37fef
VP
138052008-06-13 Vladimir Prus <vladimir@codesourcery.com>
13806
13807 Robustify mi-simplerun.
a9c64011
AS
13808 * gdb.mi/basics.c (main): Add a call to sleep.
13809 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
13810 * gdb.mi/mi2-cli.exp: Likewise.
13811 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 13812
b4aa76f0 138132008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
13814
13815 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
13816
e1ac3328
VP
138172008-06-10 Vladimir Prus <vladimir@codesourcery.com>
13818
a9c64011
AS
13819 * gdb.mi/mi-console.exp: Adjust.
13820 * gdb.mi/mi-syn-frame.exp: Adjust.
13821 * gdb.mi/mi2-console.exp: Adjust.
13822 * gdb.mi/mi2-syn-frame.exp: Adjust.
13823 * lib/mi-support.exp (mi_run_cmd): Adjust.
13824 (mi_send_resuming_command): Adjust.
e1ac3328 13825
f7f9a841
VP
138262008-06-10 Vladimir Prus <vladimir@codesourcery.com>
13827
13828 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
13829 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
13830 testing of stopped.
13831 * gdb.mi/mi2-syn-frame.exp: Likewise.
13832 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
13833 (async, detect_async): New.
13834 (mi_expect_stop, mi_continue_to_line): Adjust expectation
13835 depending on if we're running in sync or async mode.
f7f9a841 13836
37cd5d19
TT
138372008-06-09 Tom Tromey <tromey@redhat.com>
13838
13839 * gdb.base/completion.exp: New tests for field name completion
13840 with spaces, and field name completion with '->'.
13841
65d12d83
TT
138422008-06-06 Tom Tromey <tromey@redhat.com>
13843
13844 * gdb.base/break1.c (struct some_struct): New struct.
13845 (values): New global.
13846 * gdb.base/completion.exp: Add field name completion test.
13847
ebfe2e3f
PP
138482008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13849
13850 * gdb.cp/call-c.exp: Test for incorrect handling of reference
13851 to pointer.
13852 * gdb.cp/call-c.cc: Likewise.
13853
bcf6fc3a
NR
138542008-06-06 Nick Roberts <nickrob@snap.net.nz>
13855
13856 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
13857 annotation.
13858
49fd4a42 138592008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 13860 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
13861
13862 * gdb.threads/execl.c, gdb.threads/execl1.c,
13863 gdb.threads/execl.exp: New tests.
a9c64011 13864
8a34ac3f
AR
138652008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
13866 Daniel Jacobowitz <dan@codesourcery.com>
13867
13868 * gdb.cp/exception.exp: Activate test, make it work with pending
13869 catchpoints.
13870
86ae69ef
JK
138712008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13872
13873 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
13874
f7f9ae2c
VP
138752008-05-28 Vladimir Prus <vladimir@codesourcery.com>
13876
a9c64011
AS
13877 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
13878 now printed.
13879 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 13880
2a2d4dc3
AS
138812008-05-27 Andreas Schwab <schwab@suse.de>
13882
13883 * gdb.base/frame-args.exp: Handle arguments that are optimized
13884 out.
13885
5099e4d9
LM
138862008-05-26 Luis Machado <luisgpm@br.ibm.com>
13887
13888 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
13889 quiet for ppc32 and group options into a single variable.
13890
d9c36a91
JB
138912008-05-23 Joel Brobecker <brobecker@adacore.com>
13892
13893 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
13894 of zero-size elements.
13895 * gdb.ada/null_array.exp: Test printing this new array.
13896
103a8671
JK
138972008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13898
13899 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
13900
07a4cc1a 139012008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
13902
13903 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
13904 of the "finish" command.
13905
55f996a7
NR
139062008-05-21 Nick Roberts <nickrob@snap.net.nz>
13907
13908 * gdb.base/annota1.exp: Test for new annotation.
13909
907fc202
UW
139102008-05-16 Pedro Alves <pedro@codesourcery.com>
13911
13912 * gdb.base/fixsection.exp: New file.
13913 * gdb.base/fixsection0.c: New file.
13914 * gdb.base/fixsection1.c: New file.
13915
e8f97270
UW
139162008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13917
13918 * gdb.base/annota1.exp: Accept printf@... in place of printf.
13919 * gdb.base/annota3.exp: Likewise.
13920
ac0bb574
NF
139212008-05-13 Nathan Froyd <froydnj@codesourcery.com>
13922
13923 * gdb.base/watch_thread_num.exp: Don't run tests that require
13924 watchpoints if the target doesn't support them.
13925
6fadd07a
DE
139262008-05-12 Doug Evans <dje@google.com>
13927
13928 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
13929
6e9a4a30
JB
139302008-05-09 Joel Brobecker <brobecker@adacore.com>
13931
13932 * gdb.ada/assign_1.exp: New testcase.
13933
08388c79
DE
139342008-05-09 Doug Evans <dje@google.com>
13935
a3c83fae
DE
13936 * gdb.base/find.exp: New file.
13937 * gdb.base/find.c: New file.
08388c79 13938
bd5ddfe8
DJ
139392008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
13940
13941 * gdb.base/commands.exp (watchpoint_command_test): Handle
13942 gdb,no_hardware_watchpoints.
13943 * gdb.base/float.exp: Allow ARM targets without floating point.
13944 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
13945
b5dd68e2 139462008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 13947 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
13948
13949 * gdb.ada/lang_switch: New test program.
13950 * gdb.ada/lang_switch.exp: New testcase.
13951
382d13d1
DE
139522008-05-05 Doug Evans <dje@google.com>
13953
13954 * gdb.base/help.exp (disassemble): Update expected help text.
13955
9dd789d0
PA
139562008-05-04 Pedro Alves <pedro@codesourcery.com>
13957
13958 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
13959
611c83ae
PA
139602008-05-04 Pedro Alves <pedro@codesourcery.com>
13961
13962 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
13963 different times.
13964
ff013f42
JK
139652008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13966
13967 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
13968 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
13969 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
13970 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
13971
96dff6a2
VP
139722008-05-04 Vladimir Prus <vladimir@codesourcery.com>
13973
13974 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
13975 notification to appear.
13976
55cd6f92
DJ
139772008-05-04 Daniel Jacobowitz <dan@debian.org>
13978
13979 * gdb.base/fullname.c: New file.
13980 * gdb.base/fullname.exp: New file.
13981 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
13982
d705c43c
PA
139832008-05-03 Pedro Alves <pedro@codesourcery.com>
13984
13985 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
13986 expressions with macros.
13987
333222e1
JK
139882008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13989
13990 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
13991
5ac01682
DJ
139922008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
13993
13994 * gdb.base/completion.exp: Handle lack of other symbols beginning
13995 with "a".
13996
13997 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
13998
237fc4c9
PA
139992008-05-02 Jim Blandy <jimb@codesourcery.com>
14000
14001 * gdb.asm/asmsrc1.s: Add scratch space.
14002
ed5e9466
DJ
140032008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14004 Daniel Jacobowitz <dan@codesourcery.com>
14005
14006 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
14007 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
14008 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
14009
b39cc962
DJ
140102007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
14011
14012 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
14013
36d520f5
JB
140142008-05-01 Joel Brobecker <brobecker@adacore.com>
14015
14016 * gdb.base/info-target.exp: New testcase.
14017
8d4e3071
DJ
140182008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14019
14020 * gdb.cp/hang.exp: Use .cc instead of .C.
14021 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
14022 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
14023
6f3f3097
DJ
140242008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14025
14026 * gdb.base/gdb1250.exp: Remove perror.
14027 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
14028
5550a914
PA
140292008-04-30 Pedro Alves <pedro@codesourcery.com>
14030
14031 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
14032 .2byte.
14033
d848e687
DJ
140342008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
14035
14036 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
14037 (maybe_kfail): New.
14038
93b5768b
PA
140392008-04-25 Pedro Alves <pedro@codesourcery.com>
14040
14041 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
14042
721c02de
VP
140432008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14044
a9c64011
AS
14045 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
14046 * gdb.mi/mi2-syn-frame.exp: Likewise.
14047 * lib/mi-support.exp: Likewise.
721c02de 14048
74960c60
VP
140492008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14050
14051 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
14052 to specify regexp for the location to stop at.
14053 * gdb.base/break-always.c: New.
14054 * gdb.base/break-always.exp: New.
14055
d24317b4
VP
140562008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14057
14058 * lib/mi-support.exp (mi_runto_helper): Adjust
14059 for the original-location field.
14060 (mi_create_breakpoint, mi_list_breakpoints): New.
14061 * gdb.mi/mi-break.exp: Adjust.
14062 * gdb.mi/mi2-break.exp: Adjust.
14063 * gdb.mi/mi-pending.exp: Adjust.
14064 * gdb.mi/mi-simplerun.exp: Adjust.
14065 * gdb.mi/mi2-simplerun.exp: Adjust.
14066 * gdb.mi/mi-syn-frame.exp: Adjust.
14067 * gdb.mi/mi2-syn-frame.exp: Adjust.
14068 * gdb.mi/mi-until.exp: Adjust.
14069 * gdb.mi/mi2-until.exp: Adjust.
14070 * gdb.mi/mi-var-display.exp: Adjust.
14071 * gdb.mi/mi2-var-display.exp: Adjust.
14072 * gdb.mi/mi-watch.exp: Adjust.
14073 * gdb.mi/mi2-watch.exp: Adjust.
14074
fdc59709 140752008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 14076
a9c64011
AS
14077 * aclocal.m4: Add override.m4.
14078 * configure: Regenerate.
fdc59709 14079
8e91f023
VP
140802008-04-19 Vladimir Prus <vladimir@codesourcery.com>
14081
14082 * gdb.mi/var-cmd.c (do_at_tests): Verify that
14083 '-var-update --all-values' reports new value even the type
14084 of a variable object has changed.
14085
233a11ab
CS
140862008-04-18 Craig Silverstein <csilvers@google.com>
14087
14088 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
14089 files.
d24317b4 14090
9c1137ad
JB
140912008-04-18 Joel Brobecker <brobecker@adacore.com>
14092
14093 * gdb.ada/atomic_enum: New test program.
14094 * gdb.ada/atomic_enum.exp: New testcase.
14095
66d0bbc7
DE
140962008-04-17 Doug Evans <dje@google.com>
14097
14098 * gdb.opt/Makefile.in: Fix whitespace.
14099
100906b0
UW
141002008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
14101
14102 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
14103
4584e32e
DE
141042008-04-17 Doug Evans <dje@google.com>
14105
14106 * gdb.base/hashline1.exp: New testcase.
14107 * gdb.base/hashline2.exp: New testcase.
14108 * gdb.base/hashline2.exp: New testcase.
14109
0a320680
PA
141102008-04-17 Pedro Alves <pedro@codesourcery.com>
14111
14112 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
14113
18ac113b
AR
141142008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
14115
14116 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
14117 temporary breakpoint to match "Temporary breakpoint".
14118 * gdb.base/break.exp (delete_breakpoints): Likewise.
14119 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
14120 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
14121 * gdb.base/display.exp: Likewise.
14122 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
14123 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
14124 * gdb.base/restore.exp (restore_tests): Likewise.
14125 * gdb.base/sepdebug.exp: Likewise.
14126 * gdb.base/watchpoint.exp: Likewise.
14127 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
14128 * gdb.mi/mi-pending.exp: Likewise.
14129 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
14130 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
14131 * gdb.mi/mi-var-cmd.exp: Likewise.
14132 * gdb.mi/mi-var-display.exp: Likewise.
14133 * gdb.mi/mi2-cli.exp: Likewise.
14134 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
14135 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
14136 * gdb.mi/mi2-var-display.exp: Likewise.
14137 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
14138 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
14139 new "disp" field.
a9c64011 14140 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
14141 reason. This is to support fix for PR2424.
14142
add38693
JK
141432008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14144
14145 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
14146
fcacd99f
VP
141472008-04-13 Vladimir Prus <vladimir@codesourcery.com>
14148
14149 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 14150 field. Add more floating varobj tests.
fcacd99f 14151 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
14152 field.
14153 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
14154 (main): Call do_at_tests.
14155 * lib/mi-support.exp (mi_create_floating_varobj)
14156 (mi_varobj_update_with_type_change): New.
fcacd99f 14157
de051565
MK
141582008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
14159
14160 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
14161 option of -var-evaluate-expression.
14162 * gdb.mi/mi2-var-display.exp: Likewise.
14163
dbc52822
VP
141642008-04-07 Vladimir Prus <vladimir@codesourcery.com>
14165
14166 Introduce test setup helpers.
a9c64011
AS
14167 * lib/gdb.exp (build_executable, clean_restart)
14168 (prepare_for_testing): New.
14169 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
14170 * gdb.base/return.exp: Likewise.
14171 * gdb.base/ending-run.exp: Likewise.
dbc52822 14172
473591da
NR
141732008-04-07 Nick Roberts <nickrob@snap.net.nz>
14174
14175 * gdb.mi/mi-async.exp: New test for asynchronous Machine
14176 Interface (MI) responses.
14177
2b2d9e11
VP
141782008-04-06 Vladimir Prus <vladimir@codesourcery.com>
14179
a9c64011
AS
14180 * gdb.cp/breakpoint.cc: New code to test conditions involving
14181 member variables.
14182 * gdb.cp/breakpoint.exp: Test condition involving member
14183 variables.
2b2d9e11 14184
bb378428
VP
141852008-04-05 Vladimir Prus <vladimir@codesourcery.com>
14186
14187 * lib/mi-support.exp (mi_expect_stop): New.
14188 (mi_run_cmd): Change the
14189 token. Use mi_send_resuming_command, use
14190 mi_expect_stop.
14191 (mi_execute_to_helper): Rename to mi_execute_to.
14192 (mi_send_resuming_command): Add more error patterns.
14193 (mi_wait_for_stop): Renamed to...
14194 (mi_get_stop_line): ...this.
14195 (mi_run_inline_test): Adjust.
14196
14197 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
14198 * gdb.mi/mi-console.exp: Likewise.
14199 * gdb.mi/mi-pending.exp: Likewise.
14200 * gdb.mi/mi-simplerun.exp: Likewise.
14201 * gdb.mi/mi-stack.exp: Likewise.
14202 * gdb.mi/mi-stepi.exp: Likewise.
14203 * gdb.mi/mi-syn-frame.exp: Add comment.
14204 * gdb.mi/mi-until.exp: Likewise.
14205 * gdb.mi/mi-var-display.exp: Likewise.
14206 * gdb.mi/mi-watch.exp: Likewise.
14207 * gdb.mi/mi2-cli.exp: Likewise.
14208 * gdb.mi/mi2-console.exp: Likewise.
14209 * gdb.mi/mi2-simplerun.exp: Likewise.
14210 * gdb.mi/mi2-stack.exp: Likewise.
14211 * gdb.mi/mi2-stepi.exp: Likewise.
14212 * gdb.mi/mi2-until.exp: Likewise.
14213 * gdb.mi/mi2-var-display.exp: Likewise.
14214 * gdb.mi/mi2-watch.exp: Likewise.
14215
62172bb9
UW
142162008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14217
14218 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
14219
14220 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
14221
a13e061a
PA
142222008-04-04 Pedro Alves <pedro@codesourcery.com>
14223
14224 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
14225 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
14226 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14227 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
14228 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
14229 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
14230 expect an mi error duplicated in stderr.
14231
eae06beb
JB
142322008-04-03 Joel Brobecker <brobecker@adacore.com>
14233
14234 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
14235 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
14236 Add a couple of tests that verify the behavior when the new setting
14237 is set to "cancel" and "all".
14238 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
14239 "ask" before we start the testing.
14240
79c6ced6
AR
142412008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
14242
14243 * gdb.cp/casts.cc: Add class reference variables.
14244 * gdb.cp/casts.exp: New test cases for up/down casting references.
14245
6c2d1a6b
MK
142462008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
14247
14248 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
14249 instead of beginning to make an extra test pass.
14250 * gdb.mi/mi2-var-display.exp: Likewise.
14251
55b411d9
MR
142522008-03-31 Maciej W. Rozycki <macro@mips.com>
14253
14254 * gdb.base/break.exp: Mark failures as such. Fix formatting.
14255
c6140da2
MD
142562008-03-31 Markus Deuling <deuling@de.ibm.com>
14257 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14258
14259 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
14260 value. Add xfail for older kernels.
14261
79732189
AR
142622008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
14263
14264 Bring mi-support in line with gdb.exp.
14265 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
14266 (mi_gdb_start): New function.
14267
33c3676e
MR
142682008-03-28 Maciej W. Rozycki <macro@mips.com>
14269
14270 * gdb.mi/mi-var-cmd.exp: Fix a typo.
14271
92e28119
VP
142722008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14273
14274 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
14275 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 14276
9e8e3afe
VP
142772008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14278
14279 * lib/mi-support.exp (mi_create_varobj_checked): New.
14280 (mi_list_varobj_children): Allow to check for a
14281 value.
14282 (mi_list_array_varobj_children): New.
14283
14284 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
14285 and mi_list_varobj_children, as opposed to hardcoding
14286 expected strings.
14287 * gdb.mi/gdb701.exp: Likewise.
14288 * gdb.mi/gdb792.exp: Likewise.
14289 * gdb.mi/mi-var-block.exp: Likewise.
14290 * gdb.mi/mi-var-cmd.exp: Likewise.
14291 * gdb.mi/mi-var-invalidate.exp: Likewise.
14292 * gdb.mi/mi2-var-block.exp: Likewise.
14293 * gdb.mi/mi2-var-child.exp: Likewise.
14294 * gdb.mi/mi2-var-cmd.exp: Likewise.
14295 * gdb.mi/mi2-var-display.exp: Likewise.
14296
9df50351
JK
142972008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14298
14299 Fix random false FAILs on i386.
14300 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
14301
31e5d73a
DJ
143022008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14303
14304 PR gdb/544
14305 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
14306
12f4afab
DJ
143072008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14308
14309 PR gdb/544
14310 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
14311
b562a0cb
DJ
143122008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14313
14314 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
14315 fixed PR gdb/544.
14316
17faa917
DJ
143172008-03-21 Pedro Alves <pedro@codesourcery.com>
14318
14319 * gdb.threads/fork-child-threads.exp: Test next over fork.
14320
6214f497
DJ
143212008-03-21 Chris Demetriou <cgd@google.com>
14322
14323 * gdb.base/break.exp (rbreak junk): New test for rbreak
14324 "Junk at end of arguments" issue.
14325
63092375
DJ
143262008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14327
14328 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
14329 *& to work on created array elements.
14330 (Top level): Test print $pc with a file. Test string operations
14331 without a target.
14332 * gdb.base/ptype.exp: Do not expect *& to work on created array
14333 elements.
14334
b21991b0
DJ
143352008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14336
14337 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14338 gdb.threads/staticthreads.exp: Update exit query.
14339
c4b347c7
SL
143402008-03-07 Sandra Loosemore <sandra@codesourcery.com>
14341
14342 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
14343
fa4727a6
DJ
143442008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
14345
14346 * gdb.base/watchpoint.c (global_ptr, func4): New.
14347 (main): Call func4.
14348 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
14349 (test_inaccessible_watchpoint): New.
14350
2f34202f
MR
143512008-02-29 Maciej W. Rozycki <macro@mips.com>
14352
14353 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
14354 select the largest.
14355
0d6ba1b1
DJ
143562008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14357
14358 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
14359 frames-invalid annotations.
14360
e691325a
PM
143612008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
14362
a9c64011 14363 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 14364
f85b5ecc
DE
143652008-02-27 Doug Evans <dje@google.com>
14366
14367 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
14368 for bug 1738.
14369 (breakpoint_to_handler_entry): Ditto.
14370
b40e7bf3
JB
143712008-02-27 Joel Brobecker <brobecker@adacore.com>
14372
14373 * gdb.base/ending-run.exp: Use the first line of code inside
14374 function body to test breakpoints.
14375 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
14376 location where the breakpoint is inserted when using the line
14377 where a function is declared. Fix typo in the description of
14378 one of the tests.
14379 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
14380
2faca73a
PM
143812008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14382
14383 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 14384 tests.
2faca73a 14385
6f439c36
PM
143862008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14387
14388 * gdb.base/args.exp: avoid same output for tests
14389 with single quotes.
14390
54e52265
VP
143912008-02-26 Vladimir Prus <vladimir@codesourcery.com>
14392
a9c64011
AS
14393 * gdb.base/annota1.exp: Adjust for 'info break'
14394 format changes.
14395 * gdb.base/annota3.exp: Likewise.
14396 * gdb.base/break.exp: Likewise.
14397 * gdb.base/condbreak.exp: Likewise.
14398 * gdb.base/pending.exp: Likewise.
14399 * gdb.base/sepdebug.exp: Likewise.
14400 * gdb.base/unload.exp: Likewise.
14401 * gdb.cp/ovldbreak.exp: Likewise.
14402 * gdb.mi/mi-pending.exp: Likewise.
54e52265 14403
897b09ca
DE
144042008-02-07 Doug Evans <dje@google.com>
14405
14406 * gdb.cp/mb-inline.exp: New.
14407 * gdb.cp/mb-inline.h: New.
14408 * gdb.cp/mb-inline1.cc: New.
14409 * gdb.cp/mb-inline2.cc: New.
14410
b1c32d35
PM
144112008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
14412
14413 * gdb.pascal/floats.pas: New test program.
14414 * gdb.pascal/floats.exp: New testcase.
14415
1a4ca44a
TJB
144162008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14417
14418 * gdb.base/callfuncs.c (t_float_many_args): New function.
14419 (t_double_many_args): New function.
14420 * gdb.base/callfuncs.exp: Add tests for exceeding float
14421 and double parameters passed through the stack.
14422
439048e8
JB
144232008-02-05 Joel Brobecker <brobecker@adacore.com>
14424
14425 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
14426 gdb.ada/complete/foo.adb: New files.
14427 * gdb.ada/complete.exp: New testcase.
14428
81fe8080
DE
144292008-02-03 Doug Evans <dje@google.com>
14430
301f0ecf
DE
14431 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
14432
81fe8080
DE
14433 * gdb.cp/gdb2384.exp: New file.
14434 * gdb.cp/gdb2384.cc: New file.
14435 * gdb.cp/gdb2384-base.h: New file.
14436 * gdb.cp/gdb2384-base.cc: New file.
14437
4b071aec
DE
144382008-02-02 Doug Evans <dje@google.com>
14439
14440 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
14441
61137ba6
JB
144422007-02-01 Joel Brobecker <brobecker@adacore.com>
14443
14444 * gdb.ada/sym_print_name: New test program.
14445 * gdb.ada/sym_print_name.exp: New testcase.
14446
144472007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
14448
14449 * gdb.ada/nested/hello.adb: New file.
14450 * gdb.ada/nested.exp: New testcase.
14451 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14452
98deb0da
VP
144532008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14454
14455 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
14456 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
14457 don't cause future evaluations of function to report
14458 creation of internal breakpoints.
98deb0da 14459
723a2275
VP
144602008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14461
14462 * gdb.mi/mi-break.exp (test_error): New.
14463 Call it.
14464
fb546a2f
LM
144652008-01-31 Luis Machado <luisgpm@br.ibm.com>
14466
14467 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
14468 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
14469
2d8fd90a
PM
144702008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14471
14472 * gdb.pascal/integers.pas: New test program.
14473 * gdb.pascal/integers.exp: New testcase.
14474
a7fa0ded
PM
144752008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14476
14477 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
14478
5e1a1926
TJB
144792008-01-30 Luis Machado <luisgpm@br.ibm.com>
14480
14481 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
14482 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
14483
8d04f9f0
JB
144842008-01-30 Paul Hilfinger <hilfinger@adacore.com>
14485
14486 * gdb.ada/formatted_ref: New test program.
14487 * gdb.ada/formatted_ref.exp: New testcase.
14488
14489 * gdb.cp/formatted-ref.cc: New file.
14490 * gdb.cp/formatted-ref.exp: New testcase.
14491
ce75a98f
JB
144922008-01-30 Joel Brobecker <brobecker@adacore.com>
14493
14494 * gdb.base/ptype.exp: Add testing of "ptype $pc".
14495
e835f6bf
NR
144962008-01-30 Nick Roberts <nickrob@snap.net.nz>
14497
14498 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
14499 (test_file_list_exec_source_file): Update to new macro-info field.
14500
d118ef87
PH
145012008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
14502
14503 * gdb.ada/exprs: New test program.
14504 * gdb.ada/exprs.exp: New testcase.
14505
7d35ab09
TJB
145062008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14507
14508 * dfp-test.c (DELTA, DELTA_B): New definitions.
14509 (double_val1, double_val2, double_val3, double_val4, double_val5,
14510 double_val6, double_val7, double_val8, double_val9, double_val10,
14511 double_val11, double_val12, double_val13, double_val14, dec32_val1,
14512 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
14513 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
14514 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
14515 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
14516 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
14517 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
14518 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
14519 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
14520 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
14521 dec128_val16): New global variables.
14522 (decimal_dec128_align): New function.
14523 (decimal_mixed): Likewise.
14524 (decimal_many_args_dec32): Likewise.
14525 (decimal_many_args_dec64): Likewise.
14526 (decimal_many_args_dec128): Likewise.
14527 (decimal_many_args_mixed): Likewise.
14528 * dfp-test.exp: Add tests calling new inferior functions.
14529
2d717e4f
DJ
145302008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14531
14532 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
14533 gdb.server/ext-run.exp: New files.
14534 * lib/gdbserver-support.exp (gdbserver_download): New.
14535 (gdbserver_start): New. Update gdbserver expected
14536 output.
14537 (gdbserver_spawn): Use them.
14538 (gdbserver_start_extended): New.
14539
e85a822c
DJ
145402008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14541
14542 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
14543 Run on GNU/Linux.
14544 (do_exec_tests): Check for systems which do not support catchpoints.
14545 Do not match START.
14546 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
14547 Run on GNU/Linux. Enable verbose output.
14548 (check_fork_catchpoints): New.
14549 (explicit_fork_child_follow, catch_fork_child_follow)
14550 (tcatch_fork_parent_follow): Update expected messages.
14551 (do_fork_tests): Use check_fork_catchpoints.
14552 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
14553 Run on GNU/Linux. Enable verbose output.
14554 (check_vfork_catchpoints): New.
14555 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
14556 expected messages.
14557 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
14558
401ea829
JB
145592008-01-29 Jim Blandy <jimb@red-bean.com>
14560
14561 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
14562 host' errors.
14563 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
14564
aceaf3ad
JB
145652008-01-29 Jim Blandy <jimb@red-bean.com>
14566
14567 * gdb.threads/sigthread.c: Use barriers to ensure that
14568 child_thread and child_thread_two are always initialized before we
14569 start to use them.
14570
a5606eee
VP
145712008-01-29 Vladimir Prus <vladimir@codesourcery.com>
14572
14573 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
14574 * gdb.base/watchpoint-solib.c: New.
14575 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 14576
c55a82bb
PM
145772008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
14578
14579 * gdb.base/gdb1056.exp: Add unsigned integer test.
14580
0993fe05
DE
145812008-01-28 Doug Evans <dje@google.com>
14582
14583 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
14584
4fe42e7f
JB
145852008-01-27 Jim Blandy <jimb@codesourcery.com>
14586
c7a69933
JB
14587 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
14588
4fe42e7f
JB
14589 * gdb.base/expand-psymtabs.exp: Doc fix.
14590
5def8285
MK
145912008-01-26 Mark Kettenis <kettenis@gnu.org>
14592
14593 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14594
5313c911
NR
145952008-01-24 Nick Roberts <nickrob@snap.net.nz>
14596
a9c64011 14597 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
14598 -var-set-format.
14599
93815fbf
VP
146002008-01-23 Chris Demetriou <cgd@google.com>
14601
14602 * gdb.threads/thread_events.c: New testcase source file.
14603 * gdb.threads/thread_events.exp: New testcase expect file.
14604
467a88ee
NR
146052008-01-23 Nick Roberts <nickrob@snap.net.nz>
14606
14607 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
14608
14609 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
14610 -var-set-format.
14611
d8f82aba
DJ
146122008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
14613 Vladimir Prus <vladimir@codesourcery.com>
14614
14615 * gdb.base/float.exp: Allow missing floating point for m68k and
14616 PowerPC.
14617
60c46647
VP
146182008-01-22 Vladimir Prus <vladimir@codesourcery.com>
14619
14620 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
14621 ignore count.
14622 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
14623 * gdb.mi/mi-cli.exp: Adjust.
14624 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 14625
c7dd36a1
PA
146262008-01-17 Pedro Alves <pedro@codesourcery.com>
14627
14628 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
14629 and 'dummy_ptr' integer pointer. Initialize struct_declarations
14630 with dummy_ptr's address.
14631 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
14632 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
14633 all targets.
14634 * gdb.mi/mi2-var-child.exp: Likewise.
14635
39d5313e
JB
146362008-01-09 Joel Brobecker <brobecker@adacore.com>
14637
14638 * gdb.ada/null_array: New test program.
14639 * gdb.ada/null_array.exp: New testcase.
14640
0aea4bf3
LM
146412008-01-09 Luis Machado <luisgpm@br.ibm.com>
14642
14643 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
14644 with required float modifiers.
14645
0b354900
JB
146462008-01-08 Joel Brobecker <brobecker@adacore.com>
14647
14648 * gdb.ada/funcall_param: New test program.
14649 * gdb.ada/funcall_param.exp: New testcase.
14650
cdb7f5d4
JB
146512008-01-08 Joel Brobecker <brobecker@adacore.com>
14652
14653 * gdb.ada/arrayparam: New test program.
14654 * gdb.ada/arrayparam.exp: New testcase.
14655
88e2547f
JB
146562008-01-08 Joel Brobecker <brobecker@adacore.com>
14657
14658 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
14659 landed. Should also fix random failures in the test following it.
14660
f6867ce0
TJB
146612008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
14662
14663 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
14664 for expressions with decimal float values.
14665 (test_dfp_conversions): New function to test casts to and from
14666 decimal float types.
14667 Call test_dfp_conversions.
14668 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
14669 elements.
14670 (main): Initialize ds.float4 and ds.double8 elements.
14671 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
14672 string to new error message.
14673 (d64_set_tests): Likewise.
14674 (d128_set_tests): Likewise.
14675 Add tests for expressions with decimal float variables. Add tests for
14676 conversions to and from decimal float types.
14677
f9c11282
JB
146782008-01-05 Joel Brobecker <brobecker@adacore.com>
14679
14680 * gdb.ada/packed_tagged/comp_bug.adb: New file.
14681 * gdb.ada/packed_tagged.exp: New testcase.
14682
0ecbca72
JB
146832008-01-04 Joel Brobecker <brobecker@adacore.com>
14684
14685 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
14686 gdb.ada/homonym/homonym_main.adb: New files.
14687 * gdb.ada/homonym.exp: New testcase.
14688
c18d3d89
JB
146892008-01-04 Joel Brobecker <brobecker@adacore.com>
14690
14691 * gdb.ada/packed_array.exp: Add testing of references to
14692 a packed array.
14693
ecc7085b
JB
146942008-01-04 Joel Brobecker <brobecker@adacore.com>
14695
14696 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
14697 New files.
14698 * gdb.ada/type_coercion.exp: New testcase.
14699
c474c922
JB
147002008-01-04 Joel Brobecker <brobecker@adacore.com>
14701
14702 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
14703 gdb.ada/tagged/foo.adb: New file.
14704 * gdb.ada/tagged.exp: New testcase.
14705
9005b927
JB
147062008-01-04 Joel Brobecker <brobecker@adacore.com>
14707
14708 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
14709 gdb.ada/ptype_field/foo.adb: New files.
14710 * gdb.ada/ptype_field.exp: New testcase.
14711
1a6aaad8
JB
147122008-01-03 Joel Brobecker <brobecker@adacore.com>
14713
14714 * gdb.ada/print_pc.exp: New testcase.
14715
0ef22f53
JB
147162008-01-03 Joel Brobecker <brobecker@adacore.com>
14717
14718 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
14719 gdb.ada/taft_type/p.adb: New files.
14720 * gdb.ada/taft_type.exp: New testcase.
14721
1689ecf8
JB
147222008-01-03 Joel Brobecker <brobecker@adacore.com>
14723
14724 * gdb.ada/array_bounds/bar.adb: New file.
14725 * gdb.ada/array_bounds.exp: New testcase.
14726
a4d0b9c3
JB
147272008-01-03 Joel Brobecker <brobecker@adacore.com>
14728
14729 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
14730 gdb.ada/arrayptr/foo.adb: New files.
14731 * gdb.ada/arrayptr.exp: New testcase.
14732
a31ace00
JB
147332008-01-03 Joel Brobecker <brobecker@adacore.com>
14734
14735 * gdb.base/set-lang-auto.exp: New testcase.
14736
a97fced3
JB
147372008-01-03 Joel Brobecker <brobecker@adacore.com>
14738
14739 * gdb.ada/fun_addr/foo.adb: New file.
14740 * gdb.ada/fun_addr.exp: New testcase.
14741
ef29ce1a
JK
147422008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14743
14744 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
14745 New files
14746
0fafefe3
JB
147472008-01-02 Joel Brobecker <brobecker@adacore.com>
14748
14749 * array_subscript_addr/p.adb: New file.
a9c64011 14750 * array_subscript_addr.exp: New testcase.
0fafefe3 14751
c4359f8d
JB
147522008-01-02 Joel Brobecker <brobecker@adacore.com>
14753
a9c64011 14754 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
14755 New files.
14756 * gdb.ada/str_cmp_ref.exp: New testcase.
14757
1aa1b15b
JB
147582008-01-01 Joel Brobecker <brobecker@adacore.com>
14759
14760 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
14761 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 14762 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 14763
81c9b2cf
JB
147642008-01-01 Joel Brobecker <brobecker@adacore.com>
14765
14766 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
14767 gdb.ada/ref_param/pck.ads: New files.
14768 * gdb.ada/ref_param.exp: New testcase.
14769
319e4674
JB
147702008-01-01 Joel Brobecker <brobecker@adacore.com>
14771
14772 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
14773 gdb.ada/interface/foo.adb: New files.
14774 * gdb.ada/interface.exp: New testcase.
14775
ef682c56
JB
147762007-12-31 Jim Blandy <jimb@codesourcery.com>
14777
14778 * gdb.base/multi-forks.exp: Consume all output from child
14779 processes before proceeding to next test.
14780
f6f3eb6c
JB
147812007-12-29 Jim Blandy <jimb@codesourcery.com>
14782
14783 * configure: Regenerated.
14784
f652e42f
JB
147852007-12-27 Joel Brobecker <brobecker@adacore.com>
14786
14787 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
14788 gdb.ada/fixed_cmp/fixed.adb: New files.
14789 * gdb.ada/fixed_cmp.exp: New testcase.
14790
6943e596
JB
147912007-12-27 Joel Brobecker <brobecker@adacore.com>
14792
14793 * gdb.ada/boolean_expr.exp: New testcase.
14794
aad9a193
JB
147952007-12-26 Jim Blandy <jimb@codesourcery.com>
14796
14797 * gdb.base/multi-forks.exp: Doc fix.
14798
fb5f3683
JB
147992007-12-26 Joel Brobecker <brobecker@adacore.com>
14800
14801 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14802 * gdb.ada/char_param.exp: Do not compile our test program with
14803 -gnata, this is unnecessary.
14804 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
14805
384e4a9c
JB
148062007-12-24 Joel Brobecker <brobecker@adacore.com>
14807
14808 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
14809 gdb.ada/print_chars/foo.adb: New files.
14810 * gdb.ada/print_chars.exp: New testcase.
14811
01e044f7
JB
148122007-12-24 Joel Brobecker <brobecker@adacore.com>
14813
14814 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
14815 gdb.ada/char_param/foo.adb: New files.
14816 * gdb.ada/char_param.exp: New testcase.
14817
0ce17860
JB
148182007-12-22 Jim Blandy <jimb@codesourcery.com>
14819
14820 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
14821 hard-coding source line numbers into the test.
14822 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
14823 gdb_get_line_number to find.
14824
919809b9
JB
148252007-12-22 Joel Brobecker <brobecker@adacore.com>
14826
14827 * gdb.base/ptype.c (highest): New struct type.
14828 (the_highest): New variable of that type.
14829 (main): Add dummy assignment to a field of variable the_highest.
14830 * gdb.base/ptype.exp: Test type printing of our new variable.
14831
abc8a88d
PM
148322007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
14833
14834 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 14835 and record first explicitly generated thread number.
abc8a88d
PM
14836 Use that thread number for thread specific watchpoint test.
14837 Add iteration number to repetitive tests.
14838
5158f3e3
CES
148392007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14840 Jim Blandy <jimb@codesourcery.com>
14841
14842 * gdb.base/expand-psymtabs.c: New testcase
14843 source file.
14844 * gdb.base/expand-psymtabs.exp: New testcase
14845 expect file.
14846
37e4754d
LM
148472007-12-17 Luis Machado <luisgpm@br.ibm.com>
14848
14849 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
14850 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
14851
551e5d04
JB
148522007-12-17 Joel Brobecker <brobecker@adacore.com>
14853
14854 * gdb.ada/frame_args/foo.adb: New file.
14855 * gdb.ada/frame_args/pck.ads: New file.
14856 * gdb.ada/frame_args/pck.adb: New file.
14857 * gdb.ada/frame_args.exp: New testcase.
14858
a05ee097
JB
148592007-12-17 Joel Brobecker <brobecker@adacore.com>
14860
14861 * gdb.base/frame-args.c: New file.
14862 * gdb.base/frame-args.exp: New testcase.
14863
c162e8c9 148642007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 14865 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
14866
14867 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
14868
afe8ab22 148692007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 14870
afe8ab22
VP
14871 * gdb.mi/mi-pending.exp: New.
14872 * gdb.mi/mi-pending.c: New.
14873 * gdb.mi/mi-pendshr.c: New.
14874
dfdfb3ca
JB
148752007-12-06 Jim Blandy <jimb@codesourcery.com>
14876
14877 * gdb.base/default.exp: Update expected output for 'info catch'.
14878
b7fca990
JK
148792007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14880
14881 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
14882 must be set to binary.
14883
6a1afc1e
PA
148842007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
14885
14886 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
14887
a6b151f1
DJ
148882007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
14889
14890 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
14891 gdb.mi/mi-file-transfer.exp: New.
14892
43039443
JK
148932007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14894
14895 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
14896
0ef2251b
MR
148972007-11-22 Maciej W. Rozycki <macro@mips.com>
14898
14899 * gdb.trace/backtrace.exp: Fix a typo.
14900 * gdb.trace/circ.exp: Likewise.
14901 * gdb.trace/collection.exp: Likewise.
14902 * gdb.trace/limits.exp: Likewise.
14903 * gdb.trace/report.exp: Likewise.
14904 * gdb.trace/tfind.exp: Likewise.
14905 * gdb.trace/while-dyn.exp: Likewise.
14906
5443631e
NR
149072007-11-21 Nick Roberts <nickrob@snap.net.nz>
14908
14909 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
14910 objects of pointers that can't be dereferenced are now
14911 "noneditable".
14912
a4ce5b0d
UW
149132007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14914
14915 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
14916 (target_cpu): Remove.
14917
d6e956e5
VP
149182007-10-15 Vladimir Prus <vladimir@codesourcery.com>
14919
14920 * gdb.base/ending-run.exp: Expect the list of cleared
14921 breakpoint to come in natural order, not the reversed one.
a9c64011 14922
214270ab
VP
149232007-11-07 Vladimir Prus <vladimir@codesourcery.com>
14924
14925 * gdb.mi/mi-var-child.c (do_child_deletion): New.
14926 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 14927
1a619819
LM
149282007-11-05 Luis Machado <luisgpm@br.ibm.com>
14929
14930 * gdb.base/printcmds.exp: New function
14931 test_printf_with_dfp.
14932
5b01a6fa
DE
149332007-11-02 Doug Evans <dje@google.com>
14934
14935 * gdb.disasm/t01_mov.s: Remove carriage returns.
14936 * gdb.disasm/t02_mova.s: Ditto.
14937 * gdb.disasm/t03_add.s: Ditto.
14938 * gdb.disasm/t04_sub.s: Ditto.
14939 * gdb.disasm/t05_cmp.s: Ditto.
14940 * gdb.disasm/t06_ari2.s: Ditto.
14941 * gdb.disasm/t07_ari3.s: Ditto.
14942 * gdb.disasm/t08_or.s: Ditto.
14943 * gdb.disasm/t09_xor.s: Ditto.
14944 * gdb.disasm/t10_and.s: Ditto.
14945 * gdb.disasm/t11_logs.s: Ditto.
14946 * gdb.disasm/t12_bit.s: Ditto.
14947 * gdb.disasm/t13_otr.s: Ditto.
14948
ec33ab7f
JK
149492007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14950
14951 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
14952
ae0d01ff
UW
149532007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14954
14955 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
14956 provide DFP support.
14957
55eddb0f
DJ
149582007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
14959
14960 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
14961 Test "set powerpc vector-abi". Skip auto-detection tests for old
14962 toolchains.
14963
7020f05c
PA
149642007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
14965
14966 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
14967 with [string compare].
14968
84bc3db9
PA
149692007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
14970
14971 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
14972 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
14973
5876dc88
LM
149742007-10-25 Luis Machado <luisgpm@br.ibm.com>
14975
14976 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
14977 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
14978 * gdb.opt/Makefile.in: New makefile.
14979 * Makefile.in: Create new directory "gdb.opt".
14980 * configure.ac: Add "gdb.opt" directory.
14981 * configure: Regenerated.
a9c64011 14982
c3ea9a14
DE
149832007-10-25 Doug Evans <dje@google.com>
14984
14985 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
14986 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
14987
a9c64011 149882007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
14989 Thiago Jung Bauermann <bauerman@br.ibm.com>
14990
14991 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
14992 Floating Point expressions.
14993 * gdb.base/dfp-test.exp: new file adding tests for Decimal
14994 Floating Point variables.
14995 * gdb.base/dfp-test.c: new file containing program with Decimal
14996 Floating variables, used by gdb.base/dfp-test.exp.
14997
62a24a2b
DJ
149982007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
14999
15000 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
15001
e7b1eae6
UW
150022007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15003
15004 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
15005 compiling test case with GCC.
15006 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
15007
c641edcc
UW
150082007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15009
15010 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15011 format changes.
15012
5e5ebfe6
MS
150132007-10-18 Michael Snyder <msnyder@specifix.com>
15014
15015 * gdb.base/dbx.exp: Add missing "-re " operator.
15016
e831e7b6
GM
150172007-10-16 Gaius Mulley <gaius@glam.ac.uk>
15018
15019 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
15020 * configure.ac: Removed trailing spaces after backslash.
15021 * gdb.modula2: New directory.
15022 * gdb.modula2/Makefile.in: New file.
15023 * gdb.modula2/unbounded-array.exp: New file.
15024 * gdb.modula2/unbounded1.c: New file.
15025
7cc46491
DJ
150262007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
15027
15028 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
15029
150302007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
15031
15032 * gdb.base/sigstep.c (main): Add checks for
15033 return values for setitimer call.
15034 Call setitimer again with itimer = ITIMER_REAL
15035 if first call to setitimer fails.
15036
e91528f0
KH
150372007-10-11 Kazu Hirata <kazu@codesourcery.com>
15038
15039 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
15040 of $timeout.
15041
2ec9a4f8
DJ
150422007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15043
15044 * gdb.server/server-run.exp: Test for dynamic linker symbols.
15045
150462007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
15047
15048 * lib/gdb.exp (gdb_run_cmd): Move comment outside
15049 of gdb_expect call, to avoid interruption.
15050
64b2fa04
PA
150512007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
15052
15053 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
15054 (v_unsigned_long_long, v_long_long_array)
15055 (v_signed_long_long_array, v_unsigned_long_long_array)
15056 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
15057 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
15058 [!NO_LONG_LONG]: New.
15059 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
15060 v_long_long_member.
15061
15062 (v_long_long_func, v_signed_long_long_func)
15063 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
15064 (main) [!NO_LONG_LONG]: Initialize long long variants.
15065
15066 * gdb.base/whatis.exp: If board file requests no_long_long, build
15067 test with NO_LONG_LONG defined. Test long long, signed long long,
15068 and unsigned long long variants but only if board file doesn't
15069 disable it.
15070
a912286e 150712007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 15072 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
15073
15074 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
15075 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
15076 * configure: Regenerated.
15077 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
15078 gdb.pascal/types.exp, lib/pascal.exp: New files.
15079
471ba8c9
DJ
150802007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
15081
15082 * gdb.cp/classes.exp (do_tests): Always step to the line after the
15083 call.
15084 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
15085 to return to the call.
15086 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
15087 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
15088 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
15089 * gdb.mi/mi-until.exp (test_until): Likewise.
15090 * gdb.mi/mi2-until.exp (test_until): Likewise.
15091
fef8a650
DJ
150922007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
15093
15094 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
15095 two-char array.
15096 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
15097
d983da9c
DJ
150982007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
15099
15100 * gdb.threads/watchthreads.c (thread_function): Sleep between
15101 iterations.
15102 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
15103 at once for S/390. Generate matching fails and passes.
15104
17f62551
VP
151052007-09-27 Vladimir Prus <vladimir@codesourcery.com>
15106
15107 * gdb.mi/var-cmd.c (do_children_tests): Initialize
15108 the 'struct_declarations' variable to zeros.
a9c64011 15109
ed0616c6
VP
151102007-09-24 Vladimir Prus <vladimir@codesourcery.com>
15111
15112 * gdb.cp/mb-ctor.cc: New.
15113 * gdb.cp/mb-ctor.exp: New.
15114 * gdb.cp/mb-templates.cc: New.
15115 * gdb.cp/mb-templates.exp: New.
15116
41f1b697
DJ
151172007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
15118
15119 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
15120
3f213f78
PA
151212007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
15122
15123 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
15124 targets.
15125 * configure: Regenerate.
15126
0d381245 151272007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15128
0d381245
VP
15129 * gdb.base/annota1.exp: Adjust for 'info break'
15130 format changes.
15131 * gdb.base/annota3.exp: Likewise.
15132 * gdb.base/break.exp: Likewise.
15133 * gdb.base/condbreak.exp: Likewise.
15134 * gdb.base/pending.exp: Likewise.
15135 * gdb.base/sepdebug.exp: Likewise.
15136 * gdb.base/unload.exp: Likewise.
15137 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 15138
fe3f5fa8
VP
151392007-09-22 Vladimir Prus <vladimir@codesourcery.com>
15140
15141 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
15142 messages.
15143 * gdb.base/chng-syms.exp: Likewise.
15144 * gdb.base/unload.exp: Likewise.
a9c64011 15145
a75cf6c0
DJ
151462007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
15147
15148 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
15149
18ecae38
DJ
151502007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
15151
15152 * schedlock.c (NUM): Change to 1.
15153 (main): Use args[0] for the main thread.
15154 * schedlock.exp: Only expect two threads. Only issue one pass or fail
15155 regardless of the number of threads.
15156
5509918f
MR
151572007-09-14 Maciej W. Rozycki <macro@mips.com>
15158
4a543daf
MR
15159 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
15160 type down.
15161 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15162 test.
15163 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
15164 watchpoint type down.
15165 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15166 test.
15167
151682007-09-14 Maciej W. Rozycki <macro@mips.com>
15169
5509918f
MR
15170 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
15171 Move all the tests here and run them twice, once using software
15172 watchpoints and once using hardware watchpoints.
15173 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
15174
40b53987
DJ
151752007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
15176
15177 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
15178 test.
15179
695e2681
MK
151802007-09-10 Mark Kettenis <kettenis@gnu.org>
15181
8b3fc8d8
MK
15182 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
15183 build-id.
15184
695e2681
MK
15185 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
15186 know about $ORIGIN. Calculate output dir from $dest instead of
15187 using ${objdir}/{$subdir}.
15188
58d69f29
MK
151892007-09-09 Mark Kettenis <kettenis@gnu.org>
15190
15191 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
15192 gcore, before continuing with the test.
15193
3e347599
DJ
151942007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
15195
15196 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
15197 * gdb.mi/mi-watch.exp: Likewise.
15198
ea37ba09
DJ
151992007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15200 Jim Blandy <jimb@codesourcery.com>
15201
15202 * gdb.arch/i386-sse.exp: Do not expect character constants.
15203 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
15204 * gdb.base/display.exp: Allow print/s.
15205 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
15206 and unsigned char array changes.
15207
2025a643
DJ
152082007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15209
15210 * gdb.base/display.exp: Add tests for printf %p.
15211
26669a27
PA
152122007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
15213
15214 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
15215 the dll name to unicode.
15216
c8f021f8
JK
152172007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15218
15219 * gdb.base/default.exp (show version): Update the version text.
15220 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
15221
4cf31eea
JK
152222007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15223
15224 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
15225 New files.
15226
4935890f
JK
152272007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15228
15229 * lib/gdb.exp (build_id_debug_filename_get): New function.
15230 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
15231 Remove the generate DEBUG file for the future testcase runs.
15232 New testcase for the NT_GNU_BUILD_ID retrieval.
15233 Move the final testing step to ...
15234 (test_different_dir): ... a new function.
15235 New parameter XFAIL to XFAIL all the tests performed.
15236 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
15237 New parameter TYPE to PF_PREFIX all the tests performed.
15238
02142340
VP
152392007-08-31 Vladimir Prus <vladimir@codesourcery.com>
15240
15241 * gdb.mi/mi-var-cp.cc (path_expression): New
15242 function.
15243 * gdb.mi/mi-var-cp.exp: Run path exression tests.
15244
36acd84e
UW
152452007-08-27 Markus Deuling <deuling@de.ibm.com>
15246
15247 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
15248 to fit into SPU Local Store memory.
15249
a896d121
JB
152502007-08-23 Joel Brobecker <brobecker@adacore.com>
15251
15252 * gdb.base/default.exp: Adjust the expected output of "info
15253 warranty" after the switch to GPLv3.
15254
7b433602
JB
152552007-08-23 Joel Brobecker <brobecker@adacore.com>
15256
15257 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
15258 to 30000 (from 20000).
15259
e22f8b7c
JB
152602007-08-23 Joel Brobecker <brobecker@adacore.com>
15261
15262 Switch the license of all .exp files to GPLv3.
15263 Switch the license of all .f and .f90 files to GPLv3.
15264 Switch the license of all .s and .S files to GPLv3.
15265
5a0e3bd0
JB
152662007-08-23 Joel Brobecker <brobecker@adacore.com>
15267
15268 * configure.ac: Switch license to GPLv3.
15269
cc00619d
JB
152702007-08-23 Joel Brobecker <brobecker@adacore.com>
15271
15272 Switch the licensing to GPLv3 for all .ads and .adb files.
15273
8d26208a
DJ
152742007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
15275
15276 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
15277 and t_int_double.
15278 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
15279
4fcb9948
JB
152802007-08-17 Joel Brobecker <brobecker@adacore.com>
15281
15282 * gdb.base/step-line.c: Switch license to GPL version 3, and
15283 update copyright year.
15284 * gdb.base/step-line.inp: Likewise.
15285
b9c34f67
JB
152862007-08-17 Joel Brobecker <brobecker@adacore.com>
15287
15288 * gdb.base/gdb1555.exp: Make expected output immune to formatting
15289 changes inside gdb1555.c.
15290 * gdb.base/pending.exp: Likewise.
15291
2cc17678
DJ
152922007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
15293
15294 * config/default.exp: New file.
15295
e48883f7
DJ
152962007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15297
15298 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
15299 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
15300
1ab80e5b
MR
153012007-07-30 Maciej W. Rozycki <macro@mips.com>
15302
15303 * gdb.base/dump.exp: Force the correct endianness for binary
15304 formats not carrying this information.
15305
aba471f5
DJ
153062007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15307
15308 * gdb.threads/staticthreads.exp: Match .*sem_post.
15309
d4e07204
DJ
153102007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15311
15312 * gdb.base/readline.exp (operate_and_get_next): Match the final
15313 prompt.
15314
2b97317d
KB
153152007-07-23 Kevin Buettner <kevinb@redhat.com>
15316
15317 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
15318 to restarting SID.
15319
44efa07a
KB
153202007-07-18 Kevin Buettner <kevinb@redhat.com>
15321
15322 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
15323 prior to `gdb_start'.
15324
7b5ebade
KB
153252007-07-18 Kevin Buettner <kevinb@redhat.com>
15326
15327 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
15328 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
15329 Remove call to gdb_unload.
15330
255e7678
DJ
153312007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
15332 Daniel Jacobowitz <dan@codesourcery.com>
15333
15334 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
15335 for __WIN32__.
15336 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
15337 * gdb.base/unload.exp: Use shared library test routines.
15338
3a40aaa0
UW
153392007-07-03 Markus Deuling <deuling@de.ibm.com>
15340
15341 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
15342 * gdb.base/solib-symbol-lib.c: Likewise.
15343 * gdb.base/solib-symbol-main.c: Likewise.
15344
b0f4b84b
DJ
153452007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
15346
15347 * config/gdbserver.exp (gdb_reconnect): New.
15348 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
15349 gdb.base/solib-disc.exp: New files.
15350 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
15351 remote debugging".
15352 (gdb_compile): Add shlib_load flag.
15353 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
15354 port.
15355 (gdbserver_reconnect): New.
15356
1b05479a
DJ
153572007-07-01 Nick Roberts <nickrob@snap.net.nz>
15358 Daniel Jacobowitz <dan@codesourcery.com>
15359
15360 * gdb.base/annota3.exp: Test for if construct.
15361
86f78eb2
DJ
153622007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
15363
15364 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
15365
6a2eb474 153662007-06-21 Chris Dearman <chris@mips.com>
a9c64011 15367 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
15368
15369 * gdb.base/display.exp: Allow a newline after display/i.
15370 * gdb.base/pc-fp.exp: Likewise.
15371 * gdb.base/sigbpt.exp: Likewise.
15372
f8b73d13
DJ
153732007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15374
15375 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
15376 required features to be included.
15377
4339e69e
DJ
153782007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15379
15380 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
15381 in info threads output.
15382
23d964e7
UW
153832007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15384 Markus Deuling <deuling@de.ibm.com>
15385
15386 * gdb.arch/spu-info.exp: New testcase.
15387 * gdb.arch/spu-info.c: New file.
15388
fd20f75b
DJ
153892007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
15390
15391 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
15392 tpcs_offset. Restore lr after the call.
15393 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
15394
2226f861
DJ
153952007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
15396
15397 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
15398 (gdbserver_run): Kill any running gdbserver.
15399 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
15400
d12371a9
MR
154012007-05-17 Maciej W. Rozycki <macro@mips.com>
15402
15403 * gdb.base/sigbpt.exp: Preset segv_addr.
15404
93f02886
DJ
154052007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
15406
15407 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
15408 (gdb_compile_shlib): Likewise.
15409 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
15410 (default_gdb_init): Clear cleanfiles.
15411 (gdb_finish): Delete recorded cleanfiles.
15412 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
15413
15414 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
15415 Do not use isnative.
15416 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
15417 gdb.base/so-impl-ld.exp: Likewise.
15418 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
15419 * gdb.base/unload.exp: Likewise. Do not pass empty option to
15420 gdb_compile.
15421
b04e06d7
VP
154222007-05-15 Vladimir Prus <vladimir@codesourcery.com>
15423
15424 * config/unknown.exp: Remove.
15425
069ed931
UW
154262007-05-15 Markus Deuling <deuling@de.ibm.com>
15427
15428 * gdb.base/info-proc.exp: Check is_remote.
15429
09db0d03
UW
154302007-05-14 Markus Deuling <deuling@de.ibm.com>
15431
15432 * gdb.base/gcore.exp: Initialize variable core_supported.
15433
af2cbe8c
DJ
154342007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15435
15436 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
15437
027c0295
DJ
154382007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15439
15440 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
15441 * gdb.threads/print-threads.exp (test_all_threads): Allow
15442 negative and hexadecimal thread IDs.
15443
dc5000e7
DJ
154442007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15445
15446 * gdb.java/jprint.java (public): Avoid invalid call to static
15447 method.
15448
2e74ed18
DP
154492007-05-14 Denis Pilat <denis.pilat@st.com>
15450
15451 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
15452 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
15453 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
15454 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
15455 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
15456
83547f02
UW
154572007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15458
15459 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 15460 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
15461 this mode.
15462 * gdb.base/ovlymgr.c: Provide stubs for spu target.
15463 * gdb.base/spu.ld: New file.
15464
b18be20d
DJ
154652007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
15466
15467 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
15468
be444858
DJ
154692007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
15470
15471 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
15472
b1d53152
DJ
154732007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15474
15475 * gdb.java/jmain.exp: Handle demangled names with and without method
15476 signatures.
15477
d084b331
DJ
154782007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15479
15480 * gdb.mi/mi-syn-frame.c (main, foo, bar)
15481 (have_a_very_merry_interrupt): Remove calls to puts.
15482 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
15483 inferior output.
15484 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
15485 test names.
15486
db9d7fc5
DJ
154872007-04-29 Markus Deuling <deuling@de.ibm.com>
15488 Daniel Jacobowitz <dan@codesourcery.com>
15489
15490 * gdb.base/auxv.exp (core_works): Also check is_remote.
15491 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
15492
ef783a7d 154932007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15494
ef783a7d
VP
15495 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
15496 message, not the undefined 'module' variable.
15497 * gdb.base/siginfo.exp: Likewise.
15498 * gdb.base/sigstep.exp: Likewise.
15499 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
15500 serialport.
15501 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
15502
b7b73cae
CV
155032007-04-25 Corinna Vinschen <vinschen@redhat.com>
15504
15505 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
15506 target sim fails. Return 0 otherwise.
15507 (gdb_load): Return prematurely if gdb_target_sim fails.
15508
7d90fdfa
DP
155092007-04-16 Denis Pilat <denis.pilat@st.com>
15510
15511 * gdb.base/setshow.exp: Reset height after having set it to 100.
15512
5d3e9c85
DP
155132007-04-16 Denis Pilat <denis.pilat@st.com>
15514
15515 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
15516
18e75969
DP
155172007-04-16 Denis Pilat <denis.pilat@st.com>
15518
15519 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
15520
25d5ea92
VP
155212007-04-14 Vladimir Prus <vladimir@codesourcery.com>
15522
15523 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
15524 tests. Run the frozen varobjs test.
15525 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 15526 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 15527
0b49cb80
JK
155282007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15529
15530 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
15531 gdb.base/type-opaque.exp: New files.
15532
a73bafbc 155332007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
15534
15535 * gdb.mi/mi-var-child.c
a73bafbc
VP
15536 (do_children_tests): User char[2] instead of
15537 char so that automatic printing of pointers to char
15538 don't give unpredicable result.
15539 * gdb.mi/var-cmd.c (do_locals_test): Initialize
15540 local variables.
15541 * gdb.mi/mi-var-child.exp: Step to right line
15542 of do_children_tests.
15543 * gdb.mi/mi2-var-child.exp: Likewise.
15544 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 15545 do_locals_tests.
a73bafbc
VP
15546 (do_children_tests): User char[2] instead of
15547 char so that automatic printing of pointers to char
a9c64011 15548 don't give unpredicable result.
a73bafbc 15549 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 15550 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
15551 Pass test name to mi_wait_for_stop.
15552
7ce59000
DJ
155532007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15554
15555 * gdb.asm/asm-source.exp: Remove d10v case.
15556 * lib/gdb.exp (skip_cplus_tests): Likewise.
15557 * gdb.asm/d10v.inc: Deleted.
15558
20389057
DJ
155592007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15560
15561 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
15562
8807d78b
DJ
155632007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15564
15565 * config/netware.exp: Delete file.
15566
aa3edb8e
JB
155672007-03-29 Joel Brobecker <brobecker@adacore.com>
15568
15569 * gdb.dwarf2/dw2-noloc.S: New file.
15570 * gdb.dwarf2/dw2-noloc.exp: New file.
15571
297561ac
PA
155722007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
15573
15574 * gdb.cp/method2.cc: New test.
15575 * gdb.cp/method2.exp: New test.
15576 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
15577
1f81bd39
DJ
155782007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15579
15580 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
15581
9453113a
DJ
155822007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
15583
15584 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
15585
b741e217
DJ
155862007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15587
15588 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
15589 (gdb_load): Delete, replace with...
15590 (gdb_reload): ...this.
15591 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
15592 * gdb.server/server-mon.exp: Likewise.
15593 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
15594 (gdb_start_cmd): New.
15595 (gdb_file_cmd): Save the last loaded file.
15596 (gdb_reload): New.
15597 (gdb_gnu_strip_debug): Use transform.
15598 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
15599 support here. Use new $last_loaded_file. Check mtime.
15600 (gdb_target_cmd): Handle ObjC failure case.
15601 (infer_host_exec): Delete.
15602 (gdbserver_load): Rename to...
15603 (gdbserver_run): ...this. Simplify.
15604 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
15605 (mi_gdb_load): Move most contents to a new function...
15606 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
15607 (mi_run_cmd): Use mi_gdb_target_load.
15608 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
15609 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
15610 Use gdb_run_cmd.
15611 * gdb.base/charsign.exp: Remove incorrect comment.
15612 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
15613 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
15614 gdb.base/start.exp: Use gdb_start_cmd.
15615
446ab585 156162007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 15617 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
15618
15619 * gdb.base/sigbpt.exp: Fix the message when skipping test.
15620 * gdb.base/signull.exp: Similarly.
15621
bbb88ebf
UW
156222007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15623
15624 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
15625 messages available to test cases (like chng-sym.exp).
15626
cb8c4a99
AS
156272007-03-14 Andreas Schwab <schwab@suse.de>
15628
15629 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15630 format changes.
15631
4e463ff5
DJ
156322007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
15633
15634 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
15635 (optimized_1): New.
15636 (main): Call optimized_1.
15637 (gdb2029): Correct typos. Call gdb2029_marker.
15638 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
15639 for gdb2029.
15640
b6db2c47
MK
156412007-03-12 Mark Kettenis <kettenis@gnu.org>
15642
15643 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
15644 as tabs. Remove redundant test pattern.
15645
70ed3737
UW
156462007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15647
15648 * gdb.base/long_long.exp: Accept optional symbol name in <...>
15649 for /a format output.
15650
47b67b60
DJ
156512007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
15652
15653 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
15654 collect output incrementally.
15655
b8953b0e
UW
156562007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15657
15658 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
15659 for -var-create lpcharacter test.
15660 * gdb.mi/mi2-var-cmd.exp: Likewise.
15661
7acd5c40
UW
156622007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15663
15664 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
15665 pass on targets where address zero is readable.
15666
9c6759c1
UW
156672007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15668
15669 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
15670 just a single architecture.
15671
a2f1aeb4
UW
156722007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15673
15674 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
15675 (fetch_all_registers): New function, uses gdb_test_multiple and
15676 exp_continue to fetch inferior output line-by-line.
15677 Replace all uses of do_get_all_registers by fetch_all_registers.
15678
46579ac2
UW
156792007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15680
15681 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
15682 in target_info.
15683
fc133f24
MS
156842007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15685
a9c64011 15686 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
15687 consistancy; add a default (timeout) case.
15688
7646a51d
MS
156892007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15690
15691 * gdb.base/watchpoint.exp: Fix truncated comment.
15692
dcfff61f
MS
156932007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15694
15695 * Makefile.in: Remove spurious single-quotes from sed command.
15696
664e3ee9
DJ
156972007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15698
15699 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
15700 func.
15701 * gdb.mi/mi2-var-cmd.exp: Likewise.
15702
d7cc6f2f
JB
157032007-02-27 Joel Brobecker <brobecker@adacore.com>
15704
a9c64011
AS
15705 * gdb.dwarf2/dw2-producer.S: New file.
15706 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
15707
157082007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
15709
15710 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
15711 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
15712 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
15713 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
15714 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
15715 Revert tests to use mi_gdb_test and include value field in output
15716 of -var-create.
15717
93d42b30
DJ
157182007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
15719
15720 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
15721
c499ed39
DJ
157222007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
15723
15724 * gdb.base/maint.exp: Remove full paths from test names.
15725 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
15726 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
15727
9836f81b
JB
157282007-02-27 Joel Brobecker <brobecker@adacore.com>
15729
15730 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
15731
c74d0ad8
DJ
157322007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
15733
15734 * gdb.server/server-mon.exp: New test.
15735
2711e456
DJ
157362007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
15737
15738 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
15739
ff6f572f
DJ
157402007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
15741
15742 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
15743 register capitalization.
15744
fada3feb
DP
157452007-02-13 Denis Pilat <denis.pilat@st.com>
15746
15747 * gdb.mi/mi-var-invalidate.exp: New file.
15748
fb1e4ffc
DJ
157492007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
15750
15751 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
15752
3da939d7
DJ
157532007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
15754
15755 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
15756
123dc839
DJ
157572007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
15758
15759 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
15760 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
15761
877e3645 157622007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
15763
15764 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
15765 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
15766 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
15767 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
15768 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 15769 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 15770 Update tests to include value field in output of -var-create.
a9c64011 15771
3c0a2960
AS
157722007-02-08 Andreas Schwab <schwab@suse.de>
15773
15774 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
15775
108546a0
DJ
157762007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
15777
15778 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
15779 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
15780
d701dcab
DP
157812007-02-02 Denis Pilat <denis.pilat@st.com>
15782
15783 * gdb.threads/threadapply.exp: check that frame is not changed by
15784 the thread apply all command.
15785
783e3e2f
AS
157862007-01-31 Andreas Schwab <schwab@suse.de>
15787
6d9c3a87
AS
15788 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
15789
3c50d7b9
AS
15790 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
15791 in the dwarf sections.
15792 * gdb.dwarf2/mac-fileno.S: Likewise.
15793
783e3e2f
AS
15794 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
15795 bspstore register on ia64.
15796
78ff580e
AS
157972007-01-29 Andreas Schwab <schwab@suse.de>
15798
cc8e9b12
AS
15799 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
15800 "frame-begin" annotation.
15801
78ff580e
AS
15802 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
15803 number of "frames-invalid" annotations.
15804
704a4f78
DJ
158052007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15806
15807 * gdb.base/commands.exp: Call if_commands_test.
15808 (gdb_test_no_prompt, if_commands_test): New.
15809
e741bf94
MK
158102007-01-28 Mark Kettenis <kettenis@gnu.org>
15811
15812 * gdb.threads/sigthread.c (NSIGS): Make bigger.
15813
474d0ad3
AS
158142007-01-27 Andreas Schwab <schwab@suse.de>
15815
15816 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
15817 .short/.int/.quad in the dwarf sections.
15818 * gdb.dwarf2/dw2-intercu.S: Likewise.
15819 * gdb.dwarf2/dw2-intermix.S: Likewise.
15820
e784b426
JK
158212007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15822
15823 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
15824 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
15825 array.
e784b426
JK
15826 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
15827 * gdb.base/setvar.exp: Likewise.
15828
37f08e04
AS
158292007-01-26 Andreas Schwab <schwab@suse.de>
15830
9a01813a
AS
15831 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
15832 test.
15833
37f08e04
AS
15834 * gdb.base/multi-forks.exp ("restart $i"): Also match
15835 __kernel_syscall_via_break.
15836
6e2a9270
VP
158372007-01-24 Vladimir Prus <vladimir@codesourcery.com>
15838
15839 * lib/mi-support.exp (mi_delete_varobj): New.
15840 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
15841 testcase.
15842 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
15843 (main): Call the above.
15844 (reference_update_test, base_in_reference_test)
15845 (reference_to_pointer): Delete the created varobjs.
a9c64011 15846
e515b470
DJ
158472007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
15848
15849 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
15850 * configure: Regenerated.
15851 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
15852 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
15853 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
15854 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
15855 * lib/gdb.exp (gdb_skip_xml_test): New function.
15856
08d8bcd7
DJ
158572007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
15858
15859 * gdb.base/sigrepeat.exp: Correct error message.
15860
158612007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
15862 Daniel Jacobowitz <dan@codesourcery.com>
15863
15864 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
15865 gdb.arch/i386-gnu-cfi-asm.S: New files.
15866
97c3f1f3
JK
158672007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15868
15869 * lib/gdb.exp: Abort on missing `site.exp'.
15870
cb1df416
DJ
158712007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15872 Daniel Jacobowitz <dan@codesourcery.com>
15873
15874 * gdb.base/included.c, gdb.base/included.exp,
15875 gdb.base/included.h: New files.
15876
35990120
DJ
158772007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15878
15879 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
15880 (maximize_rlimit): Reduce limits on 64-bit systems.
15881
6e81a116 158822007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
15883
15884 From Marcus Deuling <deuling@de.ibm.com>:
15885 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
15886 every case.
15887
6c3c41f3
NR
158882007-01-13 Nick Roberts <nickrob@snap.net.nz>
15889
15890 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
15891 (test_path_specification): Use objdir instead of srcdir to always
15892 get an absolute filename.
15893
2f12c312
DJ
158942007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
15895
15896 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
15897
81121995
VP
158982007-01-11 Vladimir Prus <vladimir@codesourcery.com>
15899
15900 * gdb.mi/mi-var-cp.cc (reference_update_tests):
15901 Make sure the variable we're using is in scope.
15902 (reference_to_pointer): Likewise.
15903
4741b737
DJ
159042007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
15905
15906 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
15907 has no debug information.
15908
054410c3
DJ
159092007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
15910
15911 * gdb.base/annota1.exp: Remove extra send_gdb.
15912
818f79f6
DJ
159132007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15914
15915 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
15916
f7a6bb70
DJ
159172007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15918
15919 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
15920
57e66780
DJ
159212007-01-08 Nick Roberts <nickrob@snap.net.nz>
15922 Daniel Jacobowitz <dan@codesourcery.com>
15923
15924 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
15925 lcharacter or linteger change. Correct duplicated test name.
15926 * gdb.mi/mi2-var-cmd.exp: Likewise.
15927
3d799a95
DJ
159282007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
15929
15930 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
15931
159322007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 15933
a9c64011
AS
15934 * gdb.base/nofield.c: New file.
15935 * gdb.base/nofield.exp: New testcase.
51679ba9 15936
eafb94e8
NR
159372007-01-05 Nick Roberts <nickrob@snap.net.nz>
15938
15939 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
15940
15941 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
15942 test.
15943
5e572bb4
DJ
159442007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
15945
15946 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
15947
74a44383
DJ
159482007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
15949
15950 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
15951 when continuing.
15952
1b572db9
DJ
159532007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15954
15955 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
15956 Expect ".exe" extension.
15957
381bc39b
DJ
159582007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15959
15960 * gdb.base/charset.exp: Add explicit filename to break.
15961 * gdb.base/dbx.exp: Add explicit filename to breaks.
15962
2b70e4c6
DJ
159632007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15964
15965 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
15966 * gdb.mi/mi2-file.exp: Likewise.
15967
303b6f5d
DJ
159682007-01-04 Vladimir Prus <vladimir@codesourcery.com>
15969
15970 Implement specification of MI tests as comments
15971 in C and C++ sources.
15972 * lib/mi-support.exp (mi_autotest_data): New variable.
15973 (mi_autotest_source): New variable.
15974 (count_newlines, mi_prepare_inline_tests)
15975 (mi_get_inline_test, mi_continue_to_line)
15976 (mi_run_inline_test, mi_tbreak)
15977 (mi_send_resuming_command, mi_wait_for_stop): New functions.
15978 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
15979 Run inline tests.
15980 * gdb.mi/mi-var-cp.cc: Define tests here.
15981
23da0d94
VP
159822007-01-04 Vladimir Prus <vladimir@codesourcery.com>
15983
15984 Simplify usage of mi_continue_to.
15985 * lib/mi-support.exp (mi_runto_helper): Renamed
15986 from mi_runto, added new parameter 'run_or_continue'.
15987 (mi_runto): Use mi_runto_helper.
15988 (mi_continue_to): Accept just function name as parameter.
15989 Use mi_runto_helper.
15990 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
15991 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 15992
f9e18282
JB
159932006-01-04 Joel Brobecker <brobecker@adacore.com>
15994
15995 Make this testcase a bit more realistic. The current code
15996 is too simplistic, and allows the compiler to optimize out
15997 some of the entities we need for this testcase.
15998 * gdb.ada/null_record/bar.ads (Void_Star): New type.
15999 (Do_Nothing): Add extra parameter.
16000 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
16001 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
16002 by using a variable of type Void_Star.
16003
fd678c65
JB
160042006-01-04 Joel Brobecker <brobecker@adacore.com>
16005
16006 * gdb.ada/catch_ex/foo.adb: New file.
16007 * gdb.ada/catch_ex.exp: New testcase.
16008
05cfdb42
DJ
160092007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
16010
16011 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
16012 pass --image-base to linker.
16013
2e03ee74
DJ
160142007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16015 Daniel Jacobowitz <dan@codesourcery.com>
16016
16017 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
16018 secondary prompts.
16019
0d5de010
DJ
160202007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16021
16022 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
16023 output. Test the types of members and member pointers.
16024 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
16025 gdb/2092.
16026 * gdb.cp/member-ptr.exp: Search for a comment instead of a
16027 statement. Enable for GCC. Update expected output for some tests
16028 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
16029 layout.
16030 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
16031 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
16032 (Diamond::vget_base): New.
16033 (main): Add new tests.
16034 * gdb.cp/printmethod.exp: Update expected output for member functions.
16035 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
16036 print pEe->D::vg().
16037
61a771aa
DJ
160382007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16039
16040 * gdb.threads/tls.exp: Allow stops in sem_post.
16041
2fa63963
DJ
160422006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
16043
16044 * gdb.base/annota1.exp: Allow .*printf in backtraces.
16045 * gdb.base/annota3.exp: Likewise.
16046 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
16047 again (instead of timing out).
16048 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
16049 GCC bug 26475.
16050 * gdb.java/jmisc.exp: Adjust to work with method signatures including
16051 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
16052 test from jmisc1.exp.
16053 * gdb.java/jmisc1.exp: Delete.
16054 * gdb.java/jprint.exp: Adjust to work with method signatures including
16055 return types.
16056 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
16057 * gdb.threads/linux-dp.exp: Don't be confused by program output.
16058 * lib/java.exp (compile_java_from_source): Pass the correct type
16059 to target_compile.
16060
5eefc2b7
JB
160612006-12-31 Joel Brobecker <brobecker@adacore.com>
16062
16063 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
16064 (stack_align_edx): New function.
16065 (stack_align_eax): New function.
16066 (main): Add calls to stack_align_edx and stack_align_eax.
16067 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
16068 Add testing for the cases where the register used during a stack
16069 realignment is edx. Same for eax.
16070
227c54da
DJ
160712006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
16072
16073 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
16074 and generic PE targets.
16075
cab8ac94
JB
160762006-12-29 Joel Brobecker <brobecker@adacore.com>
16077
16078 * gdb.ada/array_return.exp: Update copyright date list.
16079
ba54f318
JB
160802006-12-27 Joel Brobecker <brobecker@adacore.com>
16081
16082 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
16083 (Create_Small_Float_Vector): New function.
16084 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
16085 function body.
16086 * gdb.ada/array_return/p.adb: Use new type and function from
16087 package Pck.
16088 * gdb.ada/array_return.exp: Add a test verifying that GDB is
16089 able to print the value returned by a function returning an
16090 array of float.
16091
6b7a35dd
JB
160922006-12-20 Joel Brobecker <brobecker@adacore.com>
16093
16094 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
16095 The associated tests should be PASSing.
16096
038224f6
VP
160972006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16098
16099 Test for base in references.
16100 * gdb.mi/mi-var-cp.cc: Add test code.
16101 * gdb.mi/mi-var-cp.exp: Test for bases in references.
16102 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
16103 * gdb.mi/mi2-watch.exp: Likewise.
16104 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
16105 (mi_list_varobj_children): New function.
16106
b26ed50d
VP
161072006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16108
16109 * lib/mi-support.exp
16110 (mi_runto): Accept "()" after function name.
16111 (mi_create_varobj): New function.
16112 (mi_varobj_update): New function.
16113 (mi_Check_varobj_value): New function.
16114 * gdb.mi/mi-var-cp.exp: New file.
16115 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 16116
08232497
DJ
161172006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
16118
16119 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
16120 gdb.base/weaklib2.c: New files.
16121
d394c993 161222006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 16123
ac6c2fba
NS
16124 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
16125 info. Adjust test names.
16126
8ec659a0 16127 * gdb.base/break.c (main): Move position of malloc.
d394c993 16128 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 16129
acd65feb
VP
161302006-11-28 Vladimir Prus <vladimir@codesourcery.com>
16131
16132 * gdb.mi/mi-var-cmd.exp: Check -var-update after
16133 assignement of arrays and function pointers.
16134 * gdb.mi/var-cmd.c: Add declaration necessary for above
16135 tests.
16136
f556d5e5
NS
161372006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16138
16139 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
16140
16141 * gdb.threads/linux-dp.exp: Read thread table before and after
16142 creating each philosopher and verify it.
16143
697bc68d
NS
161442006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16145 Paul Brook <paul@codesourcery.com>
16146 Daniel Jacobowitz <dan@codesourcery.com>
16147
16148 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 16149 main to remove duplication. Add start function of the form
697bc68d
NS
16150 '_*start[1-9]*'. Add RVDS start function.
16151
29d73ae4
DJ
161522006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16153
16154 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
16155
c1d88655
UW
161562006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16157
16158 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
16159 * gdb.asm/spu.inc: New file.
16160 * gdb.base/term.exp: Disable if [target_info exists noargs].
16161 * gdb.gdb/complaints.exp: Disable if ![isnative].
16162 * gdb.gdb/selftest.exp: Likewise.
16163 * gdb.gdb/observer.exp: Likewise.
16164 * gdb.gdb/xfullpath.exp: Likewise.
16165 * gdb.base/attach.exp: Disable on SPU target.
16166 * gdb.cp/bs145503.exp: Likewise.
16167 * gdb.cp/exception.exp: Likewise.
16168 * gdb.cp/userdef.exp: Likewise.
16169
32a13b1a
DJ
161702006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16171
16172 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
16173
d8295fe9
VP
161742006-11-10 Vladimir Prus <vladimir@codesourcery.com>
16175
16176 * gdb.base/completion.exp: Fix completion tests for
16177 'info' and 'info '.
16178 * gdb.base/help.exp (help_test_raw, test_class_help)
16179 (test_prefix_command_help): Move...
16180 * lib/gdb.exp: Here.
16181 * gdb.base/main.exp: Adjust.
16182 * gdb.cp/maint.exp: Adjust.
16183 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 16184
8c394015
VP
161852006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16186
16187 * gdb.stabs/weird.exp (print_weird_var): Use
16188 gdb_test_multiple instead of gdb_expect.
16189
027fc1bc
VP
161902006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16191
16192 * gdb.base/help.exp (help_test_raw): New.
16193 (test_class_help): New.
16194 (test_prefix_command_help): New.
16195 Adjust testcases.
16196
67609209
FR
161972006-11-09 Christophe Lyon <christophe.lyon@st.com>
16198
16199 * gdb.base/constvars.c (main): Write to crass and crips, so that
16200 they are allocated by the compiler.
16201
f73adfeb
AS
162022006-10-27 Andreas Schwab <schwab@suse.de>
16203
16204 * gdb.base/multi-forks.exp: Use "detach fork" instead of
16205 "detach-fork".
16206
2f83a18e
DJ
162072006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
16208
16209 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
16210 of patterns.
16211
94277a38
DJ
162122006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16213
16214 * gdb.base/sepdebug.exp: Remove debug format test.
16215 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
16216 Handle no-symtab.
16217 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
16218
5bd2f6e2
DJ
162192006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16220
16221 * gdb.threads/manythreads.c (thread_function, main): Don't cast
16222 int to pointer or pointer to int.
16223 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
16224
8c008720
DJ
162252006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
16226
16227 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
16228
9e35dae4
DJ
162292006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16230
16231 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
16232
d9639e13
DJ
162332006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16234
16235 PR c++/2116
16236 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
16237
390a1bd0
JB
162382006-10-06 Joel Brobecker <brobecker@adacore.com>
16239
16240 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
16241 the corresponding bug has been fixed in GDB (PR/2018).
16242
dd920c33
JB
162432006-10-06 Joel Brobecker <brobecker@adacore.com>
16244
16245 * gdb.base/subst.exp: New testcase.
16246
53bbefe9
JB
162472006-10-06 Joel Brobecker <brobecker@adacore.com>
16248
16249 * gdb.ada/array_return/pck.ads: Add copyright notice.
16250 * gdb.ada/array_return/pck.adb: Likewise.
16251 * gdb.ada/array_return/p.adb: Likewise.
16252 * gdb.ada/exec_changed/first.adb: Likewise.
16253 * gdb.ada/exec_changed/second.adb: Likewise.
16254
09851417
JB
162552006-10-06 Joel Brobecker <brobecker@adacore.com>
16256
16257 * gdb.ada/watch_arg/watch.adb: New file.
16258 * gdb.ada/watch_arg.exp: New testcase.
16259
041bf30d
VP
162602006-10-02 Vladimir Prus <vladimir@codesourcery.com>
16261
16262 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 16263 via string_to_regexp.
041bf30d 16264 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 16265
f286fbdd 162662006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
16267
16268 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
16269 Remove unused / obsolete files.
16270
7c07f349
NR
162712006-09-19 Nick Roberts <nickrob@snap.net.nz>
16272
16273 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
16274
cd5ff84a
VP
162752006-09-17 Vladimir Prus <vladimir@codesourcery.com>
16276
16277 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
16278 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 16279 the number of frames.
cd5ff84a 16280
ae018d1a
DJ
162812006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
16282
16283 * gdb.base/args.c (main): Add breakpoint marker.
16284 * gdb.base/args.exp: Use args_test for tests. Add new tests which
16285 really test empty arguments.
16286 (args_load): Delete.
16287 (args_test): New.
16288
b399c549
NR
162892006-09-13 Nick Roberts <nickrob@snap.net.nz>
16290
16291 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 16292 check for one file.
b399c549 16293
2ab1eb7a
VP
162942006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
16295
16296 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
16297 HIGH_FRAME argument to -stack-list-locals can be larger than
16298 the number of frames.
a9c64011 16299
476308bf
FF
163002006-08-18 Fred Fish <fnf@specifix.com>
16301
16302 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
16303 '$' in front of skip_vmx_tests_saved when setting that.
16304
8625200f
AS
163052006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
16306
16307 * gdb.base/trace-commands.exp: New file.
16308
089ec8f1
DJ
163092006-08-10 Joel Brobecker <brobecker@adacore.com>
16310 Daniel Jacobowitz <dan@codesourcery.com>
16311
16312 * gdb.base/step-bt.exp: Make hexadecimal address optional in
16313 expected output of the backtrace commands.
16314
b60f0898
JB
163152006-08-09 Joel Brobecker <brobecker@adacore.com>
16316
16317 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
16318 untested followed by return combination.
16319 * gdb.arch/altivec-regs.exp: Likewise.
16320 * gdb.arch/e500-abi.exp: Likewise.
16321 * gdb.arch/e500-regs.exp: Likewise.
16322 * gdb.arch/gdb1291.exp: Likewise.
16323 * gdb.arch/gdb1431.exp: Likewise.
16324 * gdb.arch/gdb1558.exp: Likewise.
16325 * gdb.arch/i386-prologue.exp: Likewise.
16326 * gdb.arch/i386-unwind.exp: Likewise.
16327 * gdb.asm/asm-source.exp: Likewise.
16328 * gdb.base/a2-run.exp: Likewise.
16329 * gdb.base/advance.exp: Likewise.
16330 * gdb.base/all-bin.exp: Likewise.
16331 * gdb.base/annota1.exp: Likewise.
16332 * gdb.base/annota3.exp: Likewise.
16333 * gdb.base/args.exp: Likewise.
16334 * gdb.base/arithmet.exp: Likewise.
16335 * gdb.base/assign.exp: Likewise.
16336 * gdb.base/async.exp: Likewise.
16337 * gdb.base/attach.exp: Likewise.
16338 * gdb.base/bang.exp: Likewise.
16339 * gdb.base/bigcore.exp: Likewise.
16340 * gdb.base/bitfields.exp: Likewise.
16341 * gdb.base/bitfields2.exp: Likewise.
16342 * gdb.base/break.exp: Likewise.
16343 * gdb.base/call-sc.exp: Likewise.
16344 * gdb.base/call-strs.exp: Likewise.
16345 * gdb.base/callfuncs.exp: Likewise.
16346 * gdb.base/checkpoint.exp: Likewise.
16347 * gdb.base/chng-syms.exp: Likewise.
16348 * gdb.base/code-expr.exp: Likewise.
16349 * gdb.base/commands.exp: Likewise.
16350 * gdb.base/completion.exp: Likewise.
16351 * gdb.base/cond-expr.exp: Likewise.
16352 * gdb.base/condbreak.exp: Likewise.
16353 * gdb.base/consecutive.exp: Likewise.
16354 * gdb.base/constvars.exp: Likewise.
16355 * gdb.base/corefile.exp: Likewise.
16356 * gdb.base/cvexpr.exp: Likewise.
16357 * gdb.base/dbx.exp: Likewise.
16358 * gdb.base/define.exp: Likewise.
16359 * gdb.base/detach.exp: Likewise.
16360 * gdb.base/display.exp: Likewise.
16361 * gdb.base/dump.exp: Likewise.
16362 * gdb.base/ena-dis-br.exp: Likewise.
16363 * gdb.base/ending-run.exp: Likewise.
16364 * gdb.base/environ.exp: Likewise.
16365 * gdb.base/eval-skip.exp: Likewise.
16366 * gdb.base/exprs.exp: Likewise.
16367 * gdb.base/fileio.exp: Likewise.
16368 * gdb.base/finish.exp: Likewise.
16369 * gdb.base/float.exp: Likewise.
16370 * gdb.base/foll-exec.exp: Likewise.
16371 * gdb.base/foll-fork.exp: Likewise.
16372 * gdb.base/foll-vfork.exp: Likewise.
16373 * gdb.base/freebpcmd.exp: Likewise.
16374 * gdb.base/funcargs.exp: Likewise.
16375 * gdb.base/gcore.exp: Likewise.
16376 * gdb.base/gdb1090.exp: Likewise.
16377 * gdb.base/gdb1250.exp: Likewise.
16378 * gdb.base/huge.exp: Likewise.
16379 * gdb.base/info-proc.exp: Likewise.
16380 * gdb.base/interrupt.exp: Likewise.
16381 * gdb.base/jump.exp: Likewise.
16382 * gdb.base/langs.exp: Likewise.
16383 * gdb.base/lineinc.exp: Likewise.
16384 * gdb.base/list.exp: Likewise.
16385 * gdb.base/logical.exp: Likewise.
16386 * gdb.base/long_long.exp: Likewise.
16387 * gdb.base/macscp.exp: Likewise.
16388 * gdb.base/maint.exp: Likewise.
16389 * gdb.base/mips_pro.exp: Likewise.
16390 * gdb.base/miscexprs.exp: Likewise.
16391 * gdb.base/multi-forks.exp: Likewise.
16392 * gdb.base/opaque.exp: Likewise.
16393 * gdb.base/overlays.exp: Likewise.
16394 * gdb.base/pc-fp.exp: Likewise.
16395 * gdb.base/pointers.exp: Likewise.
16396 * gdb.base/printcmds.exp: Likewise.
16397 * gdb.base/psymtab.exp: Likewise.
16398 * gdb.base/ptype.exp: Likewise.
16399 * gdb.base/recurse.exp: Likewise.
16400 * gdb.base/relational.exp: Likewise.
16401 * gdb.base/relocate.exp: Likewise.
16402 * gdb.base/remote.exp: Likewise.
16403 * gdb.base/reread.exp: Likewise.
16404 * gdb.base/restore.exp: Likewise.
16405 * gdb.base/return.exp: Likewise.
16406 * gdb.base/return2.exp: Likewise.
16407 * gdb.base/scope.exp: Likewise.
16408 * gdb.base/sect-cmd.exp: Likewise.
16409 * gdb.base/sep.exp: Likewise.
16410 * gdb.base/sepdebug.exp: Likewise.
16411 * gdb.base/setshow.exp: Likewise.
16412 * gdb.base/setvar.exp: Likewise.
16413 * gdb.base/sigall.exp: Likewise.
16414 * gdb.base/sigbpt.exp: Likewise.
16415 * gdb.base/signals.exp: Likewise.
16416 * gdb.base/signull.exp: Likewise.
16417 * gdb.base/sizeof.exp: Likewise.
16418 * gdb.base/solib.exp: Likewise.
16419 * gdb.base/step-line.exp: Likewise.
16420 * gdb.base/step-test.exp: Likewise.
16421 * gdb.base/structs.exp: Likewise.
16422 * gdb.base/structs2.exp: Likewise.
16423 * gdb.base/term.exp: Likewise.
16424 * gdb.base/twice.exp: Likewise.
16425 * gdb.base/until.exp: Likewise.
16426 * gdb.base/varargs.exp: Likewise.
16427 * gdb.base/volatile.exp: Likewise.
16428 * gdb.base/watchpoint.exp: Likewise.
16429 * gdb.base/whatis-exp.exp: Likewise.
16430 * gdb.base/whatis.exp: Likewise.
16431 * gdb.cp/ambiguous.exp: Likewise.
16432 * gdb.cp/annota2.exp: Likewise.
16433 * gdb.cp/annota3.exp: Likewise.
16434 * gdb.cp/bool.exp: Likewise.
16435 * gdb.cp/breakpoint.exp: Likewise.
16436 * gdb.cp/casts.exp: Likewise.
16437 * gdb.cp/class2.exp: Likewise.
16438 * gdb.cp/classes.exp: Likewise.
16439 * gdb.cp/cplusfuncs.exp: Likewise.
16440 * gdb.cp/ctti.exp: Likewise.
16441 * gdb.cp/derivation.exp: Likewise.
16442 * gdb.cp/exception.exp: Likewise.
16443 * gdb.cp/gdb1355.exp: Likewise.
16444 * gdb.cp/hang.exp: Likewise.
16445 * gdb.cp/inherit.exp: Likewise.
16446 * gdb.cp/local.exp: Likewise.
16447 * gdb.cp/m-data.exp: Likewise.
16448 * gdb.cp/m-static.exp: Likewise.
16449 * gdb.cp/member-ptr.exp: Likewise.
16450 * gdb.cp/method.exp: Likewise.
16451 * gdb.cp/misc.exp: Likewise.
16452 * gdb.cp/namespace.exp: Likewise.
16453 * gdb.cp/overload.exp: Likewise.
16454 * gdb.cp/ovldbreak.exp: Likewise.
16455 * gdb.cp/pr-1023.exp: Likewise.
16456 * gdb.cp/pr-1210.exp: Likewise.
16457 * gdb.cp/pr-574.exp: Likewise.
16458 * gdb.cp/printmethod.exp: Likewise.
16459 * gdb.cp/psmang.exp: Likewise.
16460 * gdb.cp/ref-params.exp: Likewise.
16461 * gdb.cp/ref-types.exp: Likewise.
16462 * gdb.cp/rtti.exp: Likewise.
16463 * gdb.cp/templates.exp: Likewise.
16464 * gdb.cp/try_catch.exp: Likewise.
16465 * gdb.cp/userdef.exp: Likewise.
16466 * gdb.cp/virtfunc.exp: Likewise.
16467 * gdb.disasm/am33.exp: Likewise.
16468 * gdb.disasm/h8300s.exp: Likewise.
16469 * gdb.disasm/mn10300.exp: Likewise.
16470 * gdb.disasm/sh3.exp: Likewise.
16471 * gdb.disasm/t01_mov.exp: Likewise.
16472 * gdb.disasm/t02_mova.exp: Likewise.
16473 * gdb.disasm/t03_add.exp: Likewise.
16474 * gdb.disasm/t04_sub.exp: Likewise.
16475 * gdb.disasm/t05_cmp.exp: Likewise.
16476 * gdb.disasm/t06_ari2.exp: Likewise.
16477 * gdb.disasm/t07_ari3.exp: Likewise.
16478 * gdb.disasm/t08_or.exp: Likewise.
16479 * gdb.disasm/t09_xor.exp: Likewise.
16480 * gdb.disasm/t10_and.exp: Likewise.
16481 * gdb.disasm/t11_logs.exp: Likewise.
16482 * gdb.disasm/t12_bit.exp: Likewise.
16483 * gdb.disasm/t13_otr.exp: Likewise.
16484 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
16485 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
16486 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16487 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
16488 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
16489 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16490 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16491 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16492 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
16493 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
16494 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16495 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16496 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16497 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16498 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16499 * gdb.mi/gdb701.exp: Likewise.
16500 * gdb.mi/gdb792.exp: Likewise.
16501 * gdb.mi/mi-basics.exp: Likewise.
16502 * gdb.mi/mi-break.exp: Likewise.
16503 * gdb.mi/mi-cli.exp: Likewise.
16504 * gdb.mi/mi-console.exp: Likewise.
16505 * gdb.mi/mi-disassemble.exp: Likewise.
16506 * gdb.mi/mi-eval.exp: Likewise.
16507 * gdb.mi/mi-file.exp: Likewise.
16508 * gdb.mi/mi-read-memory.exp: Likewise.
16509 * gdb.mi/mi-regs.exp: Likewise.
16510 * gdb.mi/mi-return.exp: Likewise.
16511 * gdb.mi/mi-simplerun.exp: Likewise.
16512 * gdb.mi/mi-stack.exp: Likewise.
16513 * gdb.mi/mi-stepi.exp: Likewise.
16514 * gdb.mi/mi-syn-frame.exp: Likewise.
16515 * gdb.mi/mi-until.exp: Likewise.
16516 * gdb.mi/mi-var-block.exp: Likewise.
16517 * gdb.mi/mi-var-child.exp: Likewise.
16518 * gdb.mi/mi-var-cmd.exp: Likewise.
16519 * gdb.mi/mi-var-display.exp: Likewise.
16520 * gdb.mi/mi-watch.exp: Likewise.
16521 * gdb.mi/mi2-basics.exp: Likewise.
16522 * gdb.mi/mi2-break.exp: Likewise.
16523 * gdb.mi/mi2-cli.exp: Likewise.
16524 * gdb.mi/mi2-console.exp: Likewise.
16525 * gdb.mi/mi2-disassemble.exp: Likewise.
16526 * gdb.mi/mi2-eval.exp: Likewise.
16527 * gdb.mi/mi2-file.exp: Likewise.
16528 * gdb.mi/mi2-read-memory.exp: Likewise.
16529 * gdb.mi/mi2-regs.exp: Likewise.
16530 * gdb.mi/mi2-return.exp: Likewise.
16531 * gdb.mi/mi2-simplerun.exp: Likewise.
16532 * gdb.mi/mi2-stack.exp: Likewise.
16533 * gdb.mi/mi2-stepi.exp: Likewise.
16534 * gdb.mi/mi2-syn-frame.exp: Likewise.
16535 * gdb.mi/mi2-until.exp: Likewise.
16536 * gdb.mi/mi2-var-block.exp: Likewise.
16537 * gdb.mi/mi2-var-child.exp: Likewise.
16538 * gdb.mi/mi2-var-cmd.exp: Likewise.
16539 * gdb.mi/mi2-var-display.exp: Likewise.
16540 * gdb.mi/mi2-watch.exp: Likewise.
16541 * gdb.stabs/exclfwd.exp: Likewise.
16542 * gdb.stabs/weird.exp: Likewise.
16543 * gdb.threads/gcore-thread.exp: Likewise.
16544 * gdb.trace/actions.exp: Likewise.
16545 * gdb.trace/backtrace.exp: Likewise.
16546 * gdb.trace/circ.exp: Likewise.
16547 * gdb.trace/collection.exp: Likewise.
16548 * gdb.trace/deltrace.exp: Likewise.
16549 * gdb.trace/infotrace.exp: Likewise.
16550 * gdb.trace/limits.exp: Likewise.
16551 * gdb.trace/packetlen.exp: Likewise.
16552 * gdb.trace/passc-dyn.exp: Likewise.
16553 * gdb.trace/passcount.exp: Likewise.
16554 * gdb.trace/report.exp: Likewise.
16555 * gdb.trace/save-trace.exp: Likewise.
16556 * gdb.trace/tfind.exp: Likewise.
16557 * gdb.trace/tracecmd.exp: Likewise.
16558 * gdb.trace/while-dyn.exp: Likewise.
16559 * gdb.trace/while-stepping.exp: Likewise.
16560
f4b618d1
JB
165612006-08-08 Joel Brobecker <brobecker@adacore.com>
16562
16563 * gdb.base/step-bt.c: New file.
16564 * gdb.base/step-bt.exp: New testcase.
16565
3d00d119
DJ
165662006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
16567
16568 * config/monitor.exp (gdb_load): Remove support for obsolete
16569 download-write-size.
16570 * gdb.base/remote.exp: Likewise. Update all callers of
16571 gdb_timed_load.
16572
017b5bd4
DJ
165732006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
16574
16575 * cursal.exp: Pass binfile to gdb_load.
16576
837c599d
DJ
165772006-08-01 Nathan Sidwell <nathan@codesourcery.com>
16578
16579 * gdb.base/cursal.exp: Add "" to gdb_load call.
16580
8dd4540b
MK
165812006-07-29 Mark Kettenis <kettenis@gnu.org>
16582
16583 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
16584 NetBSD/ELF targets.
16585
ab5c9f60
DJ
165862006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
16587
16588 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
16589 operator*.
16590
4c42eaff
DJ
165912006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
16592
16593 * gdb.base/completion.exp: Update for change in "file" behavior.
16594 * gdb.stabs/weird.exp: Likewise.
16595 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
16596 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
16597
0155cc76
NS
165982006-07-24 Nathan Sidwell <nathan@codesourcery.com>
16599
16600 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
16601 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
16602
16026cd7
AS
166032006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
16604
16605 * gdb.base/default.exp: Update source command error message.
16606 * gdb.base/help.exp: Update 'help source' message.
16607
16963cb6
DJ
166082006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
16609
16610 * gdb.cp/bs15503.exp: Update comment for no longer crashing
16611 test.
16612
6d7fd486
AS
166132006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
16614
16615 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
16616
29e8a844
DJ
166172006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16618
16619 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
16620
6afcfa39
DJ
166212006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16622
16623 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
16624
267a692b
MK
166252006-07-17 Mark Kettenis <kettenis@gnu.org>
16626
16627 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
16628 *-*-openbsd* from targets for wich we expect ARM FPA floating
16629 point format.
16630
85d2fec4
NR
166312006-07-17 Nick Roberts <nickrob@snap.net.nz>
16632
16633 * gdb.cp/annota3.exp: Expect frame-begin annotation.
16634
166352006-07-17 Mark Kettenis <kettenis@gnu.org>
16636
16637 * gdb.base/annota3.exp: Expect frame-begin annotation.
16638
85b4c6e8
JB
166392006-07-14 Joel Brobecker <brobecker@adacore.com>
16640
16641 * gdb.base/help.exp: Adjust "help unset" test to accept
16642 any list of unset commands.
16643
fb933624
DJ
166442006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
16645 Daniel Jacobowitz <dan@codesourcery.com>
16646
16647 * gdb.cp/ref-params.exp: New test.
16648 * gdb.cp/ref-params.cc: New source file.
16649 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
16650
1dff4b64
MK
166512006-07-08 Mark Kettenis <kettenis@gnu.org>
16652
16653 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
16654 spaces/tabs in regular expressions since they might not be there.
16655
40d2e0e3
AS
166562006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
16657
16658 * gdb.base/ifelse.exp: New file.
16659
f6c957d2
NS
166602006-07-04 Nathan Sidwell <nathan@codesourcery.com>
16661
16662 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
16663 line.
16664 * gdb.base/huge.exp: Loop over compilation to find a size that
16665 is acceptable.
16666 * gdb.base/remote.exp: Correct expected strings.
16667 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
16668
b9c5a23d
DJ
166692006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16670
16671 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
16672
9af2e58d
DJ
166732006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16674
16675 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
16676 native.
16677
30930ca5
DJ
166782006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16679
16680 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
16681 enable stabs testing.
16682
aa32fa1d
DJ
166832006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16684
bd4a4c80 16685 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
16686 gdb_test_multiple does.
16687
321fef15
DJ
166882006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16689
16690 * Makefile.in (host_alias): Remove.
16691 (target_alias): Use @target_noncanonical@.
16692 (site.exp): Don't set host_alias.
16693 * aclocal.m4: Remove contents. Include acx.m4.
16694 * configure: Regenerated.
16695 * configure.ac: Use ACX_NONCANONICAL_TARGET.
16696
e1c2defa
NS
166972006-06-13 Nathan Sidwell <nathan@codesourcery.com>
16698
e63b55d1
NS
16699 * lib/gdb.exp (gdb_load_cmd): New.
16700
5600ea19
NS
16701 * gdb.base/fileio.c: Add system(NULL) test.
16702 * gdb.base/fileio.exp: Check it.
16703
e1c2defa
NS
16704 * gdb.base/break.c: Add 10a breakpoint at }
16705 * gdb.base/break.exp: Add test for breakpoint at }
16706 * gdb.cp/anon-union.cc: Add code at end of function.
16707 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
16708 * gdb.mi/var-cmd.c: Add code at end of function.
16709 * gdb.mi/mi-var-display.exp: Adjust end of next.
16710 * gdb.mi/mi2-var-display.exp: Likewise.
16711 * gdb.base/fileio.c: Add stop function and insert calls at
16712 stopping places.
16713 * gdb.base/fileio.exp: Breakpoint stop function and remove
16714 explicit line number references.
16715
6c0112ec
JB
167162006-05-19 Joel Brobecker <brobecker@adacore.com>
16717
a9c64011
AS
16718 * gdb.base/del.exp (test_delete_alias): New function.
16719 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 16720
154189a4
FF
167212006-05-18 Fred Fish <fnf@specifix.com>
16722
16723 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
16724 required. Check for spurious output after program exits normally.
16725
582e64c2
FF
167262006-05-17 Fred Fish <fnf@specifix.com>
16727
16728 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
16729 gdb_load, so it works in the simulator.
16730
8ef6493a
FF
167312006-05-11 Fred Fish <fnf@specifix.com>
16732
16733 * gdb.base/bang.exp: Ignore unexpected output between the
16734 "program exited normally" and the gdb prompt, as many other
16735 tests do.
16736
692b141c
MK
167372006-05-07 Mark Kettenis <kettenis@gnu.org>
16738
16739 * gdb.base/help.exp: Make "delete checkpoint" part option for
16740 "help d" and "help delete" tests.
16741
540b8a30
UW
167422006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16743
a9c64011 16744 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
16745 expected output in some mi_gdb_test statements.
16746 * gdb.mi/mi2-basics.exp: Likewise.
16747
9b6462d9
JB
167482006-05-05 Joel Brobecker <brobecker@adacore.com>
16749
16750 * gdb.base/del.c: New file.
16751 * gdb.base/del.exp: New testcase.
16752
954de43b
DM
167532006-05-05 David S. Miller <davem@sunset.davemloft.net>
16754
16755 * gdb.base/break.exp: Do not assume a breakpoint on
16756 main will actually be in $srcfile when optimizing.
1303f75e
DM
16757 * gdb.base/savedregs.exp: Do not require that the dummy
16758 frame location match up to a symbol and source file location.
c3242428
DM
16759 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
16760 will get printed without a mi_cmd_data_list_register_values prefix.
16761 (*-data-list-register-*): Correct regular expressions to expect the new
16762 pseudo d? floating point registers.
16763 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 16764
c7e64c9a
DJ
167652006-05-05 Christophe Lyon <christophe.lyon@st.com>
16766
16767 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
16768 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
16769 is allocated by the compiler.
16770 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
16771 anons, e, anone to force their allocation by the compiler.
16772
167732006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
16774
16775 * gdb.base/help.exp: Update expected text for help d and
16776 help delete.
16777
27ce9a6d
MK
167782006-05-02 Mark Kettenis <kettenis@gnu.org>
16779
16780 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
16781 NetBSD/ELF targets.
16782
8608915f
MK
167832006-04-30 Mark Kettenis <kettenis@gnu.org>
16784
16785 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
16786 single-step breakpoint fails; make this a KFAIL on
16787 sparc*-*-openbsd*.
16788 * gdb.base/siginfo.exp: Likewise.
16789 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16790
b8db102d
MS
167912006-04-26 Michael Snyder <msnyder@redhat.com>
16792
16793 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
16794 which may have to consume output from other forks.
16795 Add tests to make sure that "delete fork" succeeded.
16796
c702009a
MS
167972006-04-20 Michael Snyder <msnyder@redhat.com>
16798
16799 * 2006-03-22 Jim Blandy <jimb@redhat.com>
16800 Add support for the Renesas M32C and M16C.
16801
16802 * gdb.asm/asm-source.exp: Add m32c target.
16803 * gdb.asm/m32c.inc: Support for m32c target.
16804
e28493f2
AS
168052006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
16806
16807 * gdb.base/commands.exp (recursive_source_test): New test.
16808
880da185
DM
168092006-04-04 David S. Miller <davem@sunset.davemloft.net>
16810
16811 * gdb.base/float.exp: Add pattern for sparc targets.
16812
61d9b92f
DJ
168132006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16814
16815 * gdb.base/commands.exp (stray_arg0_test): New test.
16816
bd717df8
PB
168172006-03-30 Paul Brook <paul@codesourcery.com>
16818
16819 * gdb.mi/mi-until.exp: kfail broken until command.
16820 * gdb.mi/mi2-until.exp: Ditto.
16821
ec793d3c
NR
168222006-03-27 Nick Roberts <nickrob@snap.net.nz>
16823
16824 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
16825
831004b7
AO
168262006-03-08 Alexandre Oliva <aoliva@redhat.com>
16827
16828 * gdb.base/prelink.exp: Anchor tested-for regular expression
16829 on gdb prompt.
16830
effe49a0
PB
168312006-03-07 Paul Brook <paul@codesourcery.com>
16832
16833 * gdb.base/assign.exp: Correct fail message.
16834
e5461016
PB
168352006-03-07 Paul Brook <paul@codesourcery.com>
16836
16837 * lib/compiler.c: Extract armcc version number.
16838 * lib/compiler.cc: Ditto.
16839
fc91c6c2
PB
168402006-03-07 Paul Brook <paul@codesourcery.com>
16841
16842 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
16843 additional_flags=-w.
16844 * gdb.arch/altivec-regs.exp: Ditto.
16845 * gdb.arch/e500-abi.exp: Ditto.
16846 * gdb.arch/e500-regs.exp: Ditto.
16847 * gdb.base/all-bin.exp: Ditto.
16848 * gdb.base/annota1.exp: Ditto.
16849 * gdb.base/annota3.exp: Ditto.
16850 * gdb.base/args.exp: Ditto.
16851 * gdb.base/arithmet.exp: Ditto.
16852 * gdb.base/assign.exp: Ditto.
16853 * gdb.base/async.exp: Ditto.
16854 * gdb.base/bang.exp: Ditto.
16855 * gdb.base/break.exp: Ditto.
16856 * gdb.base/call-rt-st.exp: Ditto.
16857 * gdb.base/completion.exp: Ditto.
16858 * gdb.base/cond-expr.exp: Ditto.
16859 * gdb.base/condbreak.exp: Ditto.
16860 * gdb.base/consecutive.exp: Ditto.
16861 * gdb.base/define.exp: Ditto.
16862 * gdb.base/display.exp: Ditto.
16863 * gdb.base/ena-dis-br.exp: Ditto.
16864 * gdb.base/environ.exp: Ditto.
16865 * gdb.base/eval-skip.exp: Ditto.
16866 * gdb.base/info-proc.exp: Ditto.
16867 * gdb.base/jump.exp: Ditto.
16868 * gdb.base/logical.exp: Ditto.
16869 * gdb.base/long_long.exp: Ditto.
16870 * gdb.base/maint.exp: Ditto.
16871 * gdb.base/miscexprs.exp: Ditto.
16872 * gdb.base/pc-fp.exp: Ditto.
16873 * gdb.base/pointers.exp: Ditto.
16874 * gdb.base/relational.exp: Ditto.
16875 * gdb.base/reread.exp: Ditto.
16876 * gdb.base/sect-cmd.exp: Ditto.
16877 * gdb.base/sep.exp: Ditto.
16878 * gdb.base/sepdebug.exp: Ditto.
16879 * gdb.base/until.exp: Ditto.
16880 * gdb.base/whatis-exp.exp: Ditto.
16881 * gdb.cp/annota2.exp: Ditto.
16882 * gdb.cp/annota3.exp: Ditto.
16883 * gdb.trace/actions.exp: Ditto.
16884 * gdb.trace/backtrace.exp: Ditto.
16885 * gdb.trace/circ.exp: Ditto.
16886 * gdb.trace/collection.exp: Ditto.
16887 * gdb.trace/deltrace.exp: Ditto.
16888 * gdb.trace/infotrace.exp: Ditto.
16889 * gdb.trace/limits.exp: Ditto.
16890 * gdb.trace/packetlen.exp: Ditto.
16891 * gdb.trace/passc-dyn.exp: Ditto.
16892 * gdb.trace/passcount.exp: Ditto.
16893 * gdb.trace/report.exp: Ditto.
16894 * gdb.trace/save-trace.exp: Ditto.
16895 * gdb.trace/tfind.exp: Ditto.
16896 * gdb.trace/tracecmd.exp: Ditto.
16897 * gdb.trace/while-dyn.exp: Ditto.
16898 * gdb.trace/while-stepping.exp: Ditto.
16899 * lib/gdb.exp: Ditto.
16900 (gdb_compile): Handle nowarning option.
16901
5f4a23d9
AO
169022006-03-07 Alexandre Oliva <aoliva@redhat.com>
16903
16904 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
16905 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
16906 Rename executable to prelinkt. Don't re-prelink if we didn't
16907 get a core file. Test prelink -u exit status to tell whether
16908 prelinking failed. Use gdb_test_multiple.
16909
9733fc94
DJ
169102006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
16911
16912 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
16913 (do_tests): Call it.
16914
cc10cae3
AO
169152006-02-28 Alexandre Oliva <aoliva@redhat.com>
16916
16917 * gdb.base/prelink.exp: New test.
16918 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
16919
15c46491
WZ
169202006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
16921
16922 * gdb.fortran/derived-type.f90: New file.
16923 * gdb.fortran/derived-type.exp: New testcase.
16924
5c9f7ded
DJ
169252006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
16926
16927 * gdb.base/default.exp: Allow ';' as a directory separator.
16928
5b96932b
AS
169292006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
16930
16931 * gdb.base/help.exp (help add-symbol-file): Update.
16932
1986bccd
AS
169332006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
16934
16935 * gdb.base/help.exp (help load): Update expected results.
16936
a8b7528f
FF
169372006-02-19 Fred Fish <fnf@specifix.com>
16938
16939 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
16940 specifix hex value as part of results.
16941 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 16942
f8261448
FF
169432006-02-16 Fred Fish <fnf@specifix.com>
16944
16945 * gdb.base/whatis.c: Define variables using typedefs char_addr,
16946 ushort_addr, and slong_addr, so the typedefs are not optimized
16947 away.
16948 * gdb.base/whatis.exp: Add tests using type name for struct type,
16949 union type, enum type, and typedef.
a9c64011 16950
31d8bdd2
MK
169512006-02-13 Mark Kettenis <kettenis@gnu.org>
16952
16953 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
16954
34e41e63
JB
169552006-02-13 Jim Blandy <jimb@redhat.com>
16956
16957 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
16958 case where it takes two "next" commands to skip past the init
16959 call.
16960
ac6e4f31
FF
169612006-02-12 Fred Fish <fnf@specifix.com>
16962
16963 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
16964 to handle cases where it takes two "next" commands to skip
16965 past the init call.
16966
2db2d571
JB
169672006-02-07 Joel Brobecker <brobecker@adacore.com>
16968
16969 * gdb.ada/array_return.exp: Mark the last test as expected to fail
16970 on hppa32 targets.
16971
38fcd64c
DJ
169722006-02-06 Vladimir Prus <ghost@cs.msu.su>
16973
16974 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
16975 field.
16976
1315ad46
MK
169772006-01-29 Mark Kettenis <kettenis@gnu.org>
16978
16979 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
16980
5625b943
DJ
169812006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16982
16983 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
16984 files.
16985
80df1bbe
DJ
169862006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16987
16988 * gdb.cp/maint.exp: Set complaints to a positive value.
16989
9078e690
DJ
169902006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
16991
16992 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
16993 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
16994 function name.
16995
9c903399
DJ
169962006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
16997
16998 * gdb.base/checkpoint.c: Update copyright notice. Include
16999 <stdlib.h>.
17000
761ae4d6
JB
170012006-01-04 Jim Blandy <jimb@redhat.com>
17002
17003 * gdb.asm/asm-source.exp: Independently provide default values for
17004 asm-flags and debug-flags. Use 'string equal' to do the
17005 comparison, not the implicit expr's '==' operator. Remove
17006 now-unneeded assignments to asm-flags. In h8300 case, place
17007 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
17008
099ac3dd
MS
170092006-01-04 Michael Snyder <msnyder@redhat.com>
17010
17011 * gdb.base/checkpoint.c: New file.
17012 * gdb.base/checkpoint.exp: New file.
17013 * gdb.base/multi-fork.c: New file.
17014 * gdb.base/multi-fork.exp: New file.
17015 * gdb.base/pi.txt: New file (data for checkpoint.c test).
17016
f4d85314
FF
170172006-01-04 Fred Fish <fnf@specifix.com>
17018
17019 * gdb.base/ptype.c (foo): Add typedef.
17020 (intfoo): Add function.
17021 * gdb.base/ptype1.c: New file.
17022 * gdb.base/ptype.exp: Handle compilation and linking with two
17023 source files. Test that proper type for "foo" is found based
17024 on source context rather than first match found in symtabs.
17025
a1b06f35
MK
170262005-12-28 Mark Kettenis <kettenis@gnu.org>
17027
17028 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
17029 * gdb.asm/openbsd.inc: Indent commands.
17030
d082a1e2
MK
170312005-12-26 Mark Kettenis <kettenis@gnu.org>
17032
c65016bd
MK
17033 * gdb.base/freebpcmd.exp: Increase timeout.
17034
d082a1e2
MK
17035 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
17036
d3c32a0e
DJ
170372005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
17038
17039 * gdb.base/default.exp: Update check for "show version".
17040
9fdb1f50
RC
170412005-12-09 Randolph Chung <tausq@debian.org>
17042
17043 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
17044 * gdb.asm/pa64.inc: New file.
17045
5f2c56f7
RC
170462005-12-09 Randolph Chung <tausq@debian.org>
17047
17048 * gdb.asm/common.inc: Indent commands.
17049 * gdb.asm/asmsrc1.s: Likewise.
17050 * gdb.asm/asmsrc2.s: Likewise.
17051
8117349c
RC
170522005-12-09 Randolph Chung <tausq@debian.org>
17053
17054 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
17055 (get_addr_of_sym): Remove duplicate print.
17056 (gen_core): xfail hppa*-*-hpux*, update expected output.
17057 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
17058 * gdb.arch/pa64-nullify.s: New file.
17059
8f07f25a
RC
170602005-12-09 Randolph Chung <tausq@debian.org>
17061
17062 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
17063
55b39184
DJ
170642005-12-07 Christophe Lyon <christophe.lyon@st.com>
17065
17066 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
17067 code generation for these functions.
17068 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
17069 error message.
17070
31e2b00f
AS
170712005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
17072
17073 * gdb.base/help.exp (help b, help br, help bre, help brea)
17074 (help break): Update the expected message.
17075
c3d0b56e
SC
170762005-11-11 Stephane Carrez <stcarrez@nerim.fr>
17077
17078 * gdb.asm/m68hc11.inc: Setup the data section.
17079 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
17080 script for this test.
17081 (m6812-*-*): Likewise.
17082
36ae0ea9
RC
170832005-11-09 Randolph Chung <tausq@debian.org>
17084
17085 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
17086
9d6f42e9
WZ
170872005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
17088
17089 * gdb.base/break.exp: Fix a comment typo.
17090
e2126a14
EZ
170912005-11-03 Jim Blandy <jimb@redhat.com>
17092
a9c64011
AS
17093 Checked in by Elena Zannoni <ezannoni@redhat.com>
17094
889bf7c5 17095 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 17096
e0ac7199
CV
170972005-11-02 Corinna Vinschen <vinschen@redhat.com>
17098
17099 * gdb.arch/gdb1558.c: Include stdio.h.
17100
31d3fb18
MK
171012005-10-31 Mark Kettenis <kettenis@gnu.org>
17102
17103 * gdb.asm/asm-source.exp: Use -e instead of --entry.
17104
e52b687c
MK
171052005-10-31 Mark Kettenis <kettenis@gnu.org>
17106
17107 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
17108
f4711d79
PG
171092005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
17110
a9c64011
AS
17111 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17112 vscr" tests to better match output.
f4711d79 17113
987a9106
JB
171142005-10-12 Jim Blandy <jimb@redhat.com>
17115
17116 * gdb.base/structs.exp (any): New function.
17117 (test_struct_returns): Don't make any assumptions at all about
17118 what value the function returns when GDB can't set the return
17119 value.
17120
2336bb58
JB
171212005-10-09 Joel Brobecker <brobecker@adacore.com>
17122
17123 * gdb.ada/arrayidx/p.adb: New file.
17124 * gdb.ada/arrayidx.exp: New testcase
17125
171262005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
17127
17128 * gdb.ada/array_return/pck.ads: New file.
17129 * gdb.ada/array_return/pck.adb: New file.
17130 * gdb.ada/array_return/p.adb: New file.
17131 * gdb.ada/array_return.exp: New testcase.
17132
705335ea
JB
171332005-10-03 Joel Brobecker <brobecker@adacore.com>
17134
a9c64011
AS
17135 * gdb.base/arrayidx.c: New file.
17136 * gdb.base/arrayidx.exp: New testcase.
705335ea 17137
11ee9940
NR
171382005-09-29 Nick Roberts <nickrob@snap.net.nz>
17139
17140 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
17141 frames-invalid and breakpoints-invalid are no longer generated
17142 with level 3 so don't expect them in the output.
17143
39fb8e9e
BR
171442005-09-27 Bob Rossi <bob@brasko.net>
17145
a9c64011 17146 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
17147 from test. Escape the | in mi_gdb_test call.
17148 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
17149 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
17150 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
17151 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
17152 expected regex's in mi_gdb_test calls.
17153 * lib/mi-support.exp: Remove arbitrary .* from tests.
17154 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
17155 Fully anchor GDB/MI expected results in mi_gdb_test.
17156 * lib/gdb.exp (string_to_regexp): Escape the ] character.
17157 * gdb.base/sizeof.exp: Remove escape character. Correct test.
17158
2af48f68
PB
171592005-09-26 Paul Brook <paul@codesourcery.com>
17160
17161 * long_long.exp: Exclude eabi targets from arm FPA float format test.
17162
f34502bc
WZ
171632005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17164
17165 * bfp-test.c: New file.
17166 * bfp-test.exp: New testcase.
17167
ca929517
WZ
171682005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17169
17170 * gdb.fortran/subarray.exp: New testcase to test the evaluation
17171 of subarray and substring variable.
17172 * gdb.fortran/subarray.f: New source file for the test of subarray
17173 and substring variable evaluation.
17174 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
17175 of string constant.
17176
c761af65
DJ
171772005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
17178
17179 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
17180 copyright dates.
17181
561d7a1d
PG
171822005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
17183
17184 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
17185 powerpc altivec' test with an almost identical 'info vector' test.
17186
b2b64cc9
PG
171872005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17188
a9c64011
AS
17189 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17190 vscr" tests to match output.
b2b64cc9 17191
6ac4d15a
PG
171922005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17193
a9c64011
AS
17194 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
17195 output.
6ac4d15a 17196
40e55bef
BR
171972005-09-11 Bob Rossi <bob@brasko.net>
17198
889bf7c5
PA
17199 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
17200 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
17201 commands that return an MI output command and an asyncronous MI output
17202 command.
40e55bef
BR
17203 * gdb.mi/mi-console.exp: Ditto.
17204
3c7385ec
BR
172052005-09-11 Bob Rossi <bob@brasko.net>
17206
17207 * gdb.mi/mi-var-child.c: Include <string.h>.
17208
a6cd0eb3
DJ
172092005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
17210
17211 * killed.exp: Correct gdb_expect syntax.
17212
2f168eed
CV
172132005-08-09 Corinna Vinschen <vinschen@redhat.com>
17214
17215 * lib/mi-support.exp (mi_gdb_load): Fix typo.
17216
ecd3fd0f
BR
172172005-08-02 Bob Rossi <bob@brasko.net>
17218
17219 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
17220 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
17221 Change tests to inferior-tty-set/show.
17222 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
17223 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
17224 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
17225 inferior. Use mi_gdb_test to get GDB and Inferior output.
17226 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
17227 descriptor.
17228 (mi_inferior_tty_name): Add inferior PTY file name.
17229 (mi_gdb_start): Add INFERIOR_PTY parameter.
17230 (mi_gdb_test): Add IPATTERN parameter.
17231
f1ea48cb 172322005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 17233
f1ea48cb
BR
17234 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
17235 parameter to mi_gdb_test.
17236 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
17237
6e650a67
DJ
172382005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17239
17240 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
17241 struct_declarations.
17242 * gdb.mi/mi-var-child.exp: Step over the initialization of
17243 struct_declarations.
17244
8be260b6
DJ
172452005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17246
17247 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
17248 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
17249 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
17250 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
17251 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
17252 file.
17253
4e660f07
NR
172542005-07-27 Nick Roberts <nickrob@snap.net.nz>
17255
17256 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
17257 (do_children_tests): Assign values to the extra elements.
17258
17259 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
17260 them for tests for "-var-update --no-values" and
a9c64011 17261 "-var-update --all-values".
4e660f07
NR
17262 Add test for "-var-list-children --simple-values".
17263
17264 * gdb.mi/basics.c (callee4): Add integer array D[3]...
17265
17266 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
17267 "-stack-list-locals --simple-values" Improve doc strings and
17268 comments.
17269
6bdae935
MK
172702005-07-18 Mark Kettenis <kettenis@gnu.org>
17271
598b7a6f
MK
17272 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
17273 *-*-openbsd*.
17274 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
17275
6bdae935
MK
17276 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
17277 sigaltsatck'.
17278
1323e929 172792005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 17280
1323e929
BR
17281 * gdb.base/default.exp (tty): Changed output of command.
17282 * gdb.base/help.exp (help tty): Ditto.
17283
b1a9c082
MK
172842005-07-12 Mark Kettenis <kettenis@gnu.org>
17285
17286 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
17287
10a844a2
MK
172882005-07-10 Mark Kettenis <kettenis@gnu.org>
17289
17290 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
17291 -stack-select-frame without arguments.
17292 (test_stack_frame_listing): Add test for newly implemented command
17293 -stack-info-frame.
17294
3cb3b8df
BR
172952005-07-06 Bob Rossi <bob@brasko.net>
17296
17297 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
17298 command.
17299 (Copyright): Update copyright.
17300
a0c5fbcf
WZ
173012005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
17302
17303 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
17304 tests to evaluate exponentiation expression.
17305
984971d0
AS
173062005-06-29 Andreas Schwab <schwab@suse.de>
17307
17308 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
17309 main to avoid warnings.
17310
17311 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
17312
fe03833f
NR
173132005-06-20 Nick Roberts <nickrob@snap.net.nz>
17314
17315 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
17316 -stack-select-frame without arguments.
17317 (test_stack_frame_listing): Add test for newly implemented command
17318 -stack-info-frame.
a9c64011 17319
7a55f279
WZ
173202005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
17321
0ffa0ea5
DJ
17322 * gdb.fortran/array-element.f: New file.
17323 * gdb.fortran/array-element.exp: New testcase.
7a55f279 17324
26585198
DJ
173252005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17326
17327 * gdb.base/bigcore.exp: Correct checks for systems which can
17328 not dump a large core file.
17329
c1bd25fd
DJ
173302005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17331
17332 * gdb.base/relocate.c: Add a copyright notice.
17333 (dummy): Remove.
17334 * gdb.base/relocate.exp: Test printing the values of variables
17335 from a relocatable file.
17336
589e074d
DJ
173372005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17338
17339 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
17340 excess MI output after an error.
17341
0915f927
JB
173422005-05-29 Joel Brobecker <brobecker@adacore.com>
17343
17344 * gdb.arch/alpha-step.c: New file.
17345 * gdb.arch/alpha-step.exp: New testcase.
17346
76ff342d
DJ
173472005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
17348 Dennis Brueni <dennis@slickedit.com>
17349
17350 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
17351 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
17352 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
17353 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
17354 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17355 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
17356 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
17357
96b0c7ac
DJ
173582005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
17359 Wu Zhou <woodzltc@cn.ibm.com>
17360
17361 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
17362 IBM's xlc compiler.
17363 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
17364 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
17365
f21565d2
JB
173662005-05-13 Jim Blandy <jimb@redhat.com>
17367
17368 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
17369 calling gdb_suppress_entire_file.
17370 * gdb.base/charset.exp: Same.
17371 * gdb.base/call-rt-st.exp: Same.
17372
6006a3a1
BR
173732005-05-05 Bob Rossi <bob_rossi@cox.net>
17374
17375 * lib/gdb.exp (fullname_syntax): Added global regex.
17376 (fullname_syntax_POSIX): Ditto.
17377 (fullname_syntax_UNC): Ditto.
17378 (fullname_syntax_DOS_CASE): Ditto.
17379 (fullname_syntax_DOS): Ditto.
17380 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
17381 fullname_syntax variable to scope and use it.
17382 (test_file_list_exec_source_files): Ditto.
17383 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
17384
c3b69c04
DJ
173852005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
17386
17387 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
17388
3c95e6af
PG
173892004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
17390
a9c64011
AS
17391 * lib/gdb.exp (skip_altivec_tests): New function, based on
17392 check_vmx_hw_available from the GCC testsuite.
17393 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
17394 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 17395
78df6c56
JB
173962005-05-02 Jim Blandy <jimb@redhat.com>
17397
17398 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
17399 calling gdb_suppress_entire_file.
17400
1690f9cf
DJ
174012005-04-30 Randolph Chung <tausq@debian.org>
17402
17403 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
17404 Slightly relax "sem_post" name checking.
17405
5ea106f7
PG
174062005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17407
17408 * gdb.base/unload.exp: Use new shared library infrastructure.
17409
bf7234cf
PG
174102005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17411
17412 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 17413 infrastructure.
bf7234cf 17414
547b869a
CV
174152005-04-29 Corinna Vinschen <vinschen@redhat.com>
17416
17417 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
17418 * gdb.asm/h8300.inc: New file.
17419
f07e55f0
PG
174202005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17421
17422 * gdb.base/shlib-call.exp: Change to use new shared library
17423 infrastructure.
17424
3cbba3d1
PG
174252005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17426
a9c64011
AS
17427 * gdb.base/pending.exp: Change to use new shared library
17428 infrastructure.
3cbba3d1 17429
ed6df200
PG
174302005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17431
a9c64011
AS
17432 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
17433 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 17434
8c8f4ebe
PG
174352005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
17436
a9c64011
AS
17437 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
17438 shared objects being adjusted and update copyright years.
8c8f4ebe 17439
607fbc54
DJ
174402005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
17441
17442 * ChangeLog: Correct some 2003-01-13 dates.
17443 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
17444 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
17445 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
17446 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
17447 gdb.trace/tfind.exp: Update copyright years.
17448
57bf0e56
DJ
174492005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
17450 Daniel Jacobowitz <dan@codesourcery.com>
17451
17452 * lib/gdb.exp (gdb_compile): Handle shlib=.
17453 (gdb_compile_shlib): New function.
17454
9b593790
PG
174552005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
17456
a9c64011 17457 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 17458
9494c6a5
DJ
174592005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17460
17461 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
17462 gdb.server.
17463 * configure.ac: Likewise.
17464 * configure: Regenerated.
17465 * gdb.gdbserver/Makefile.in: Moved to...
17466 * gdb.server/Makefile.in: ... here.
17467 * gdb.gdbserver/server.c: Moved to...
17468 * gdb.server/server.c: ... here.
17469 * gdb.gdbserver/server-run.exp: Moved to...
17470 * gdb.server/server-run.exp: ... here.
17471
6f8eac0e
DJ
174722005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17473
17474 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
17475 * configure.ac: Create gdb.gdbserver/Makefile.
17476 * configure: Regenerated.
17477 * lib/gdbserver-support.exp: New file, derived from
17478 config/gdbserver.exp.
17479 * config/gdbserver.exp: Use gdbserver-support.exp.
17480 * gdb.gdbserver/Makefile.in: New file.
17481 * gdb.gdbserver/server.c: New file.
17482 * gdb.gdbserver/server-run.exp: New file.
17483
6e87504d
PG
174842005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
17485
a9c64011
AS
17486 * lib/gdb.exp (test_compiler_info): Return compiler_info
17487 if no arguments are given.
6e87504d 17488
d1779be4
PG
174892005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
17490
17491 * gdb.arch/altivec-abi.exp: Check for compiler and set
17492 use altivec' flag accordingly.
17493 * gdb.arch/altivec-regs.exp: Likewise.
17494
88750304
DJ
174952005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
17496
17497 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
17498
f3fb768d
AS
174992005-03-27 Andreas Schwab <schwab@suse.de>
17500
17501 * gdb.base/bigcore.c (main): Add missing mode argument in open
17502 call.
17503
7e813ac5
DJ
175042005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
17505
17506 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
17507 downloads.
17508 * config/gdbserver.exp (gdb_load): Likewise.
17509
8e3049aa
PB
175102005-03-14 Paul Brook <paul@codesourcery.com>
17511
17512 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
17513 targets.
17514
a9df7c44
JB
175152005-03-09 Joel Brobecker <brobecker@adacore.com>
17516
17517 * gdb.dwarf2/dup-psym.S: New file.
17518 * gdb.dwarf2/dup-psym.exp: New testcase.
17519
9f0d94e8
JB
175202005-03-09 Joel Brobecker <brobecker@adacore.com>
17521
17522 * gdb.ada/exec_changed/first.adb: New file.
17523 * gdb.ada/exec_changed/second.adb: New file.
17524 * gdb.ada/exec_changed.exp: New testcase.
17525
5f579bc5
NS
175262005-03-08 Nathan Sidwell <nathan@codesourcery.com>
17527
36e9969c
NS
17528 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
17529 (A2): New class.
17530 (main): Test operator+.
17531 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
17532 breakpoint test.
17533
5f579bc5
NS
17534 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
17535 * gdb.base/signull.exp: Disable if gdb,nosignals.
17536 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
17537 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
17538 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
17539 * gdb.mi/mi2-console.exp: Likewise.
17540 * gdb.trace/collection.exp (run_trace_experiment): Consume the
17541 continue output at start.
17542 (gdb_collect_locals_test): Robustify regexp.
17543 * gdb.trace/passc-dyn.exp: Fix comment typo.
17544 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
17545
be46087e
CV
175462005-03-08 Corinna Vinschen <vinschen@redhat.com>
17547
17548 * gdb.asm/asm-source.exp: Add iq2000 case.
17549 * gdb.asm/iq2000.inc: New file.
17550
384e1a61 175512005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 17552
384e1a61
MI
17553 * gdb.base/command.exp: Change hardcoded value to regular expression.
17554 * gdb.base/float.exp: Add powerpc to the list of targets checked.
17555
584b6e9e
DJ
175562005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
17557
17558 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
17559 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
17560 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
17561 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
17562 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
17563
ab5b5d61
MK
175642005-03-05 Mark Kettenis <kettenis@gnu.org>
17565
17566 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
17567 changes.
17568
ae051c1b
PG
175692004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
17570
a9c64011
AS
17571 * lib/compiler.c: Add test for IBM's xlc compiler.
17572 * lib/compiler.cc: Likewise.
ae051c1b 17573
3f0f6ed2
JB
175742004-02-24 Joel Brobecker <brobecker@adacore.com>
17575
17576 * gdb.ada/fixed_points.exp: Create compilation object directory
17577 before running the test.
17578 * gdb.ada/null_record.exp: Likewise.
17579 * gdb.ada/packed_array.exp: Likewise.
17580 * gdb.ada/start.exp: Likewise.
17581
724f452b
JB
175822005-02-15 Joel Brobecker <brobecker@adacore.com>
17583
17584 * gdb.ada/packed_array/pa.adb: New file.
17585 * gdb.ada/packed_array.exp: New testcase.
17586
57f5cdfb 175872005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 17588
1f393151
MK
17589 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
17590 files.
17591
ebdda337
MK
17592 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
17593 on *-*-openbsd*. Correctly match whitespace in regukar
17594 expressions.
17595
cf309262
DJ
175962005-02-10 Daniel Jacobowitz <dan@debian.org>
17597
17598 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
17599 PR exp/1821
17600 * gdb.base/gdb1821.c: New test file.
17601 * gdb.base/gdb1821.exp: New test file.
17602
3be49e7a
JB
176032005-02-09 Joel Brobecker <brobecker@adacore.com>
17604
17605 * gdb.base/start.c: New file.
17606 * gdb.base/start.exp: New testcase.
17607
e292e67d
JB
176082005-02-09 Joel Brobecker <brobecker@adacore.com>
17609
17610 * gdb.ada/start/dummy.adb: New file.
17611 * gdb.ada/start.exp: New testcase.
17612
dbdfa66c
CV
176132005-02-09 Corinna Vinschen <vinschen@redhat.com>
17614
17615 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
17616 for printing symbols and statistics.
17617 Add test for using relative pathnames in "maint print msymbols" test.
17618 Mark "maint info sections DATA" XFAIL on Cygwin.
17619 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
17620 tests.
17621
d7941671
AC
176222005-02-09 Andreas Schwab <schwab@suse.de>
17623
17624 Committed by Andrew Cagney <cagney@gnu.org>
17625 * gdb.base/remotetimeout.exp: New file.
17626
74e5ef44
MK
176272005-02-07 Mark Kettenis <kettenis@gnu.org>
17628
17629 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
17630
464dd14d
JB
176312005-02-03 Joel Brobecker <brobecker@adacore.com>
17632
17633 * gdb.ada/gnat_ada.gpr: New file.
17634 * gdb.ada/gnat_ada.gin: Delete, no longer used.
17635 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
17636 * configure.ac: No longer generate gnat_ada.gpr.
17637 * configure: Regenerate.
17638 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
17639 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
17640 * gdb.ada/null_record/bar.ads: Likewise.
17641 * gdb.ada/null_record/bar.adb: Likewise.
17642 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
17643 * gdb.ada/null_record.exp (testdir): New variable.
17644 (testfile): executable is now in testdir subdirectory.
17645 (srcfile): Use full path to the main compilation unit.
17646 * gdb.ada/fixed_points.exp: Same changes as above.
17647
30d756ae
NR
176482005-02-03 Nick Roberts <nickrob@snap.net.nz>
17649
17650 * gdb.base/interp.exp: New test.
17651
9d799f85
AC
176522005-01-24 Andrew Cagney <cagney@gnu.org>
17653
17654 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
17655
15656118
AC
176562005-01-19 Andrew Cagney <cagney@gnu.org>
17657
a892c31b
AC
17658 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
17659 configure.ac not configure.in.
17660
15656118
AC
17661 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
17662 of powerpc*-*-*.
17663 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 17664 * gdb.base/list.exp (test_list_function)
15656118
AC
17665 (test_list_filename_and_function): Ditto.
17666 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
17667
a7b01baf
AC
176682005-01-16 Andrew Cagney <cagney@gnu.org>
17669
17d92a02
AC
17670 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
17671
a7b01baf
AC
17672 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
17673
bc8332bb
AC
176742005-01-14 Andrew Cagney <cagney@gnu.org>
17675
17676 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
17677 * gdb.mi/mi2-var-cmd.exp: Ditto.
17678
4d074752
CV
176792005-01-10 Corinna Vinschen <vinschen@redhat.com>
17680
17681 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
17682
bec39cab
AC
176832005-01-07 Andrew Cagney <cagney@gnu.org>
17684
17685 * configure.ac: Rename configure.in, require autoconf 2.59.
17686 * configure: Re-generate.
17687 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
17688 * gdb.stabs/configure: Re-generate.
17689 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
17690 * gdb.hp/configure: Re-generate.
17691 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
17692 autoconf 2.59.
17693 * gdb.hp/gdb.objdbg/configure: Re-generate.
17694 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
17695 autoconf 2.59.
17696 * gdb.hp/gdb.defects/configure: Re-generate.
17697 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
17698 autoconf 2.59.
17699 * gdb.hp/gdb.compat/configure: Re-generate.
17700 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
17701 autoconf 2.59.
17702 * gdb.hp/gdb.base-hp/configure: Re-generate.
17703 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
17704 autoconf 2.59.
17705 * gdb.hp/gdb.aCC/configure: Re-generate.
17706
f10b16d4
JB
177072004-12-15 Jim Blandy <jimb@redhat.com>
17708
17709 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
17710 under NPTL when there is debugging info available for libpthread.
17711
fb6e1814
JG
177122004-12-13 Jerome Guitton <guitton@gnat.com>
17713
17714 * gdb.ada/fixed_points.c: New file.
17715 * gdb.ada/fixed_points.exp: New file.
17716
fe46cd3a
RC
177172004-12-03 Randolph Chung <tausq@debian.org>
17718
17719 * gdb.arch/pa-nullify.exp: New file.
17720 * gdb.arch/pa-nullify.s: New file.
17721
8de0841b
RC
177222004-11-30 Randolph Chung <tausq@debian.org>
17723
17724 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
17725 instead of "tbug". Fix regexp to work properly with gdb_test.
17726
c8170782
PH
177272004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
17728
17729 * gdb.base/bitfields2.exp: New test.
17730 * gdb.base/bitfields2.c: New file.
17731
954269c2
RE
177322004-11-28 Richard Earnshaw <rearnsha@arm.com>
17733
17734 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
17735
0107feed
RC
177362004-11-16 Randolph Chung <tausq@debian.org>
17737
17738 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
17739
f073ae8c
DJ
177402004-11-14 Daniel Jacobowitz <dan@debian.org>
17741
17742 * gdb.threads/threadapply.exp: Correct "macro details" test.
17743
19ad59e7
JJ
177442004-11-11 Jeff Johnston <jjohnstn@redhat.com>
17745
17746 * gdb.threads/threadapply.exp: New test.
17747 * gdb.threads/threadapply.c: New file.
17748
9cf0961b
MK
177492004-11-07 Mark Kettenis <kettenis@gnu.org>
17750
17751 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
17752 frames.
17753
c789492a
FL
177542004-11-05 Felix Lee <felix+log1@specifixinc.com>
17755
17756 * gdb.base/cursal.exp: New file.
17757 * gdb.base/cursal.c: New file.
17758
a1e167bb
AC
177592004-11-03 Andrew Cagney <cagney@gnu.org>
17760
17761 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
17762
b7cbf173
MK
177632004-10-30 Mark Kettenis <kettenis@gnu.org>
17764
17765 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
17766 NetBSD/ELF targets.
17767
88f9d34f
JB
177682004-10-29 Joel Brobecker <brobecker@gnat.com>
17769
17770 * gdb.threads/bp_in_thread.c: New file, copied from
17771 pthread_cond_wait.c.
17772 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
17773 file, rather than reusing the .c file from another testcase.
17774
ca7d6a0c
JB
177752004-10-20 Joel Brobecker <brobecker@gnat.com>
17776
17777 * gdb.ada/null_record.exp: Check where we stopped after
17778 sending the start command, instead of where the associated
17779 temporary breakpoint was inserted.
17780
0d863d03
AC
177812004-10-14 Andrew Cagney <cagney@gnu.org>
17782
17783 * gdb.mi/gdb701.c (main): Return 0.
17784
d11e72cb
DJ
177852004-10-13 Daniel Jacobowitz <dan@debian.org>
17786
d40539a4 17787 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 17788
e1923096
JJ
177892004-10-12 Jeff Johnston <jjohnstn@redhat.com>
17790
17791 * gdb.threads/schedlock.c: Add comment markers to use to find
17792 line numbers.
17793 * gdb.threads/schedlock.exp: Adjust regex to handle the new
17794 comments.
17795 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
17796 breakpoint lines.
17797
ec8ba2c9
DJ
177982004-10-12 Daniel Jacobowitz <dan@debian.org>
17799
17800 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
17801
0eb3658b
DJ
178022004-10-12 Daniel Jacobowitz <dan@debian.org>
17803
17804 * configure.in: Add gdb.dwarf2.
17805 * configure: Regenerated.
17806 * Makefile.in: Add gdb.dwarf2.
17807 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
17808 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
17809 gdb.dwarf2/file1.txt: New files.
17810
a271cc33
OF
178112004-10-11 Orjan Friberg <orjanf@axis.com>
17812
a9c64011 17813 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
17814 of "run", since the latter doesn't work with remote targets. Adjust
17815 the breakpoint numbering accordingly.
17816 * gdb.threads/pthread_cond_wait.exp: Ditto.
17817
895ce074
MC
178182004-10-08 Michael Chastain <mec.gnu@mindspring.com>
17819
17820 * gdb.base/overlays.exp: Update copyright years.
17821
6be3092d
KI
178222004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
17823
17824 * gdb.base/overlays.exp: Disable if target is Linux.
17825
e05389b8
FL
178262004-10-06 Felix Lee <felix+log1@specifixinc.com>
17827
17828 * config/gdbserver.exp (gdb_load): Use right filename on remote.
17829
73cb587d
KI
178302004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
17831
17832 * gdb.asm/asm-source.exp: Add m32r-linux target.
17833 * gdb.asm/m32r-linux.inc: New file.
17834
3c0edcdc
AC
178352004-09-24 Andrew Cagney <cagney@redhat.com>
17836 David Anderson <anderson@redhat.com>
17837
17838 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
17839 command fails, assume things will work.
17840 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
17841 (_GNU_SOURCE): Define.
17842 (print_unsigned, print_hex): Change parameter to "long long".
17843 (print_byte_count): New function, use to print byte counts.
17844 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
17845 O_LARGEFILE.
17846 (main): Compute an upper bound on a corefile in max_core_size.
17847 Limit memory chunk size to max_core_size. Limit total memory
17848 allocated to max_core_size.
17849
4bb3667f
AC
178502004-09-23 Andrew Cagney <cagney@gnu.org>
17851
17852 * gdb.base/bigcore.exp: Replace the code that creates a corefile
17853 from a separate process with code that creates a corefile by
17854 making the inferior dump core.
17855
60fe1a51
MK
178562004-09-23 Mark Kettenis <kettenis@gnu.org>
17857
17858 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
17859 block.
17860
8e937346
MC
178612004-09-23 Michael Chastain <mec.gnu@mindspring.com>
17862
17863 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
17864 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
17865 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
17866 Likewise.
17867
7213f6d6
JJ
178682004-09-20 Jeff Johnston <jjohnstn@redhat.com>
17869
17870 * gdb.java/jprint.exp: New test case for java inferior call.
17871 * gdb.java/jprint.java: Ditto.
17872
eac69dca
JB
178732004-09-15 Joel Brobecker <brobecker@gnat.com>
17874
17875 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
17876
22227696
MC
178772004-09-14 Michael Chastain <mec.gnu@mindspring.com>
17878
17879 * gdb.threads/killed.c: Include <stdlib.h>.
17880 * gdb.threads/pthreads.c: Likewise.
17881
7dd403a4
MC
178822004-09-14 Michael Chastain <mec.gnu@mindspring.com>
17883
17884 * gdb.threads/killed.c: Add copyright notice.
17885
33f2d567
JM
178862004-09-10 Jason Molenda (jmolenda@apple.com)
17887
a9c64011
AS
17888 * gdb.base/define.exp: Two new tests to verify zero space chars
17889 after 'if' and 'while' commands in a user-defined command is correctly
17890 parsed.
33f2d567 17891
e05b62ac
AC
178922004-09-08 Andrew Cagney <cagney@gnu.org>
17893
17894 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
17895 delivery test with duplicate at end of file.
17896
9cbe82da
MK
178972004-09-06 Mark Kettenis <kettenis@jive.nl>
17898
17899 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
17900
564803d9
MC
179012004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17902
17903 * config/hppro.exp: Removed.
17904
7c6807ce
MC
179052004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17906
17907 * config/sparclet.exp: Removed.
17908
bf7e26dd
MC
179092004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17910
17911 * config/udi.exp: Removed.
17912
714e341b
MC
179132004-09-02 Michael Chastain <mec.gnu@mindspring.com>
17914
17915 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
17916 of "exp_continue".
17917 (advancei): Likewise.
17918
1236e623
JJ
179192004-09-01 Jeff Johnston <jjohnstn@redhat.com>
17920
17921 * gdb.base/unload.exp: Fix so messages aren't duplicated.
17922
3bdcad15
MI
179232004-09-01 Manoj Iyer <manjo@austin.ibm.com>
17924
228af206 17925 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
17926 to check for nodebug in executable.
17927 * gdb.gdb/observer.exp (setup_test): Likewise.
17928 * gdb.gdb/selftest.exp (test_with_self): Likewise.
17929 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
17930
c72b934c
AC
179312004-09-01 Andrew Cagney <cagney@gnu.org>
17932
17933 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
17934 files.
17935
edd9b715
JJ
179362004-09-01 Jeff Johnston <jjohnstn@redhat.com>
17937
17938 * gdb.base/unload.exp: Fix expected warning message to match
17939 latest format.
17940
fb4ce06b
CV
179412004-09-01 Corinna Vinschen <vinschen@redhat.com>
17942
17943 * gdb.base/call-rt-st.exp: Fix typos.
17944
ce78e7c3
MI
179452004-08-31 Manoj Iyer <manjo@austin.ibm.com>
17946
17947 * gdb.threads/thread_check.exp: New testcase.
17948 * gdb.threads/thread_check.c: New testcase.
17949
2dedb159
AC
179502004-08-31 Andrew Cagney <cagney@gnu.org>
17951
17952 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
17953 (skip_to_handler_entry): New procedures. Test stepping into a
17954 handler when the breakpoint is at the handler's entry point.
17955
68f53502
AC
179562004-08-30 Andrew Cagney <cagney@gnu.org>
17957
17958 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
17959 gdb/1757.
17960
3e3ffd2b
MC
179612004-08-27 Michael Chastain <mec.gnu@mindspring.com>
17962
17963 With code from Manoj Iyer <manjo@austin.ibm.com>:
17964 * lib/gdb.exp (gdb_file_cmd): Return more information in the
17965 return value. Add an arm for "no debugging symbols found".
17966 Change a stray "error" to "perror".
17967 (gdb_run_cmd): Adapt to new return value.
17968 * gdb.base/remote.exp: Adapt to new return value.
17969 * gdb.gdb/complaints.exp: Likewise.
17970 * gdb.gdb/observer.exp: Likewise.
17971 * gdb.gdb/selftest.exp: Likewise.
17972 * gdb.gdb/xfullpath.exp: Likewise.
17973
4b6f5fd2
JB
179742004-08-27 Joel Brobecker <brobecker@gnat.com>
17975
17976 * gdb.threads/bp_in_thread.exp: New testcase.
17977
e5b25496
MC
179782004-08-27 Michael Chastain <mec.gnu@mindspring.com>
17979
17980 Fix PR testsuite/1735.
17981 * gdb.threads/schedlock.c (thread_function): Add a cast
17982 to suppress a gcc warning.
17983 * gdb.threads/thread-specific.c (thread_function): Likewise.
17984
934353d6
MC
179852004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17986
17987 * gdb.base/unload.c: Include <stdlib.h>.
17988
f98a0aef 179892004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 17990
f98a0aef 17991 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
17992 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
17993 synchronized after the "return".
17994
5a2e8882
MC
179952004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17996
17997 * gdb.mi/basics.c: Include <stdio.h>.
17998 * gdb.mi/pthreads.c: Include <stdlib.h>.
17999 * gdb.mi/var-cmd.c: Include <stdlib.h>.
18000
a9640423
MC
180012004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18002
18003 * gdb.threads/schedlock.c: Add copyright notice.
18004
b04e311d
AC
180052004-08-25 Andrew Cagney <cagney@gnu.org>
18006
18007 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
18008 (skip_over_handler, breakpoint_over_hander): New test procedures.
18009 (advance, advancei): Add a proper prefix, do not use
18010 rerun_to_main.
18011 * gdb.base/sigstep.c (main): Change to use an infinite loop.
18012
7c27f15b
MC
180132004-08-24 Michael Chastain <mec.gnu@mindspring.com>
18014
18015 * gdb.mi/basics.c: Add copyright notice.
18016 * gdb.mi/var-cmd.c: Add copyright notice.
18017
fffc87ae
MC
180182004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18019
18020 * lib/gdb.exp: Remove signed_keyword_not_used.
18021 * lib/compiler.c: Likewise.
18022 * lib/compiler.cc: Likewise.
18023
d782e0bf
MC
180242004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18025
18026 * gdb.base/whatis.c: Remove conditional disabling of "signed".
18027 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
18028
96033e83
MC
180292004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18030
18031 * gdb.base/whatis.c: Add copyright notice.
18032
cf38c229
MK
180332004-08-20 Mark Kettenis <kettenis@gnu.org>
18034
18035 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
18036 it to skip the breakpoints encoded in the inline assembly.
18037
f4b49756
MC
180382004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18039
18040 * Makefile.in: Add gdb.fortran.
18041
2f193b69
MC
180422004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18043
18044 * gdb.base/call-sc.exp (test_scalar_returns):
18045 Fix cut-and-paste glitch in "Make fun return now".
18046
89a237cb
MC
180472004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18048
18049 * configure.in: Add gdb.fortran.
18050 * configure: Regenerate.
18051 * gdb.fortran/Makefile.in: New file.
18052 * lib/gdb.exp (skip_fortran_tests): New procedure.
18053
469aff8e
MC
180542004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18055
18056 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
18057 reference to bug-gnu@prep.ai.mit.edu.
18058 * gdb.mi/mi-var-child.exp: Likewise.
18059 * gdb.mi/mi-var-cmd.exp: Likewise.
18060 * gdb.mi/mi-var-display.exp: Likewise.
18061 * gdb.mi/mi2-var-block.exp: Likewise.
18062 * gdb.mi/mi2-var-child.exp: Likewise.
18063 * gdb.mi/mi2-var-cmd.exp: Likewise.
18064 * gdb.mi/mi2-var-display.exp: Likewise.
18065
00b51b9f
MK
180662004-08-15 Mark Kettenis <kettenis@gnu.org>
18067
18068 * gdb.base/unload.c (main): Make local variable msg const.
18069
45f07fef
MC
180702004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18071
18072 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
18073 to bug-gnu@prep.ai.mit.edu.
18074 * gdb.mi/mi-disassemble.exp: Likewise.
18075 * gdb.mi/mi-eval.exp: Likewise.
18076 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
18077 default line number.
18078 * gdb.mi/mi-return.exp: Likewise.
18079 * gdb.mi/mi-simplerun.exp: Likewise.
18080 * gdb.mi/mi-stack.exp: Likewise.
18081 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
18082 number with explicit range test.
18083 * gdb.mi/mi-watch.exp: Likewise.
18084 * gdb.mi/mi2-break.exp: Likewise.
18085 * gdb.mi/mi2-cli.exp: Likewise.
18086 * gdb.mi/mi2-disassemble.exp: Likewise.
18087 * gdb.mi/mi2-eval.exp: Likewise.
18088 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
18089 default line number.
18090 * gdb.mi/mi2-return.exp: Likewise.
18091 * gdb.mi/mi2-simplerun.exp: Likewise.
18092 * gdb.mi/mi2-stack.exp: Likewise.
18093 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
18094 number with explicit range test.
18095 * gdb.mi/mi2-watch.exp: Likewise.
18096
dd8c8ee7
MC
180972004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18098
18099 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
18100 * gdb.cp/m-static.exp: Likewise.
18101 * gdb.cp/rtti.exp: Likewise.
18102
4e838464
MK
181032004-08-14 Mark Kettenis <kettenis@gnu.org>
18104
18105 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
18106
8d8cb839
EZ
181072004-08-14 Eli Zaretskii <eliz@gnu.org>
18108
18109 * ChangeLog: Prefix Local Variables with semi-colons and indent
18110 the reference to older ChangeLog files, to fix fontification in
18111 Emacs.
18112
deea8bb0
MC
181132004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18114
18115 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
18116 * gdb.mi/mi2-break.exp: Likewise.
18117
c3297504
MC
181182004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18119
18120 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
18121
25808999
MC
181222004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18123
18124 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
18125
226a8d71
MC
181262004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18127
18128 * gdb.cp/classes.exp: Remove unused declarations. Just let
18129 test names default instead of providing special names. Remove
18130 extraneous demangler test.
18131
37fdf854
JJ
181322004-08-12 Jeff Johnston <jjohnstn@redhat.com>
18133
18134 * gdb.base/unload.exp: New test for breakpoints in dynamically
18135 loaded libraries.
18136 * gdb.base/unload.c: Ditto.
18137 * gdb.base/unloadshr.c: Ditto.
18138
2d3a7986
MC
181392004-08-12 Michael Chastain <mec.gnu@mindspring.com>
18140
18141 * gdb.cp/classes.exp (test_ptype_class_objects): Call
18142 cp_test_ptype_class.
18143 (test_enums): Likewise.
18144
c72b934c
AC
181452004-08-10 Andrew Cagney <cagney@gnu.org>
18146
18147 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18148 files.
18149
cc503c8a
AC
181502004-08-10 Andrew Cagney <cagney@gnu.org>
18151
18152 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
18153 init_malloc call.
18154
902f2ccb
MC
181552004-08-10 Michael Chastain <mec.gnu@mindspring.com>
18156
18157 * ChangeLog: Add copyright notice. The notice is copied
18158 from emacs 21.3 top level ChangeLog.
18159
78c90502
MC
181602004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18161
18162 * lib/cp-support.exp: New file.
18163 * lib/cp-support.exp (cp_test_type_class): New function.
18164 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
18165 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
18166 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
18167 cp_test_ptype_class.
18168
88e5ea78
MC
181692004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18170
18171 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
18172 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18173 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
18174 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
18175 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
18176 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
18177 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
18178 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
18179 gdb.mi/mi2-watch.exp: Update copyright years.
18180
6a89fc9c
MK
181812004-08-09 Mark Kettenis <kettenis@gnu.org>
18182
18183 * gdb.base/sigaltstack.exp: Provide proper anchoring.
18184
1482e0de
MC
181852004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18186
18187 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
18188 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
18189 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
18190 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
18191 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
18192 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
18193 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
18194 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
18195 gdb.mi/mi-watch.exp: Update copyright years.
18196
1a5ce3f3
DJ
181972004-08-08 Daniel Jacobowitz <dan@debian.org>
18198
18199 PR gdb/1738
18200 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
18201 from a breakpoint with a pending signal.
18202
04f6ecf2
DJ
182032004-08-08 Daniel Jacobowitz <dan@debian.org>
18204
18205 PR gdb/1736
18206 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
18207 * gdb.base/sigaltstack.exp (finish_test): Consume output until
18208 the prompt.
18209 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
18210
54d90d35
DJ
182112004-08-08 Daniel Jacobowitz <dan@debian.org>
18212
18213 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
18214
d2f6abb0
DJ
182152004-08-08 Daniel Jacobowitz <dan@debian.org>
18216
18217 PR gdb/1736
18218 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
18219 for i?86-*-linux*.
18220
5598c03d
DJ
182212004-08-08 Daniel Jacobowitz <dan@debian.org>
18222
18223 * gdb.arch/i386-prologue.exp: Compile without debug information.
18224
c6fee705
MC
182252004-08-08 Michael Chastain <mec.gnu@mindspring.com>
18226
18227 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
18228 rather than asking gdb to search.
18229
dd90efdb
MC
182302004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18231
18232 * gdb.base/gcore.c: Include <string.h>.
18233
1e84bec1
MC
182342004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18235
18236 * gdb.base/gcore.c: Add copyright notice.
18237
e425eb2b
MC
182382004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18239
18240 * gdb.base/freebpcmd.c: Include <stdio.h>.
18241 * gdb.base/long_long.c: Include <string.h>.
18242 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
18243 * gdb.base/siginfo.c: Include <string.h>.
18244 * gdb.base/sigstep.c: Include <string.h>.
18245
cb9aaed5
MC
182462004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18247
18248 * gdb.base/complex.c: Include <stdlib.h>.
18249
55944f3d
MC
182502004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18251
18252 * gdb.base/complex.c: Add copyright notice.
18253
7b2953d9
MC
182542004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18255
18256 * gdb.base/charset.c: Include <stdlib.h>.
18257
c9133d23
MC
182582004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18259
18260 * gdb.base/auxv.c: Include <stdlib.h>.
18261
0a8490ad
MC
182622004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18263
18264 * gdb.base/auxv.c: Add copyright notice.
18265
3426d5ec
MC
182662004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18267
18268 * gdb.base/coremaker.c: Add copyright notice.
18269 * gdb.base/coremaker2.c: Add copyright notice.
18270
8da195dd
AC
182712004-08-04 Andrew Cagney <cagney@gnu.org>
18272
18273 * gdb.base/store.exp: Update copyright.
18274 (check_set, up_set, check_struct, up_struct): Add a prefix to test
18275 names, do not import gdb_prompt.
18276
8d394f98
AC
182772004-08-01 Andrew Cagney <cagney@gnu.org>
18278
18279 Fix PR testsuite/1729.
18280 * gdb.base/dump.exp: Add test name to callers of capture_value, do
18281 not use capture_value with value 4.
18282 (capture_value): Add optional test name parameter.
18283 (test_reload_saved_value, test_restore_saved_value): Use $msg as
18284 the prefix, pass to capture_value.
18285
b6702b23
MK
182862004-08-01 Mark Kettenis <kettenis@gnu.org>
18287
18288 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
18289 * gdb.arch/i386-prologue.c (standard): New prototype and function.
18290 (main): Call new function.
18291
c203e0ca
MC
182922004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18293
18294 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
18295
a7995a30
MC
182962004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18297
18298 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
18299
9366563b
MC
183002004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18301
b6eeaf26 18302 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
18303 Accept more values of vtbl pointer. Remove some messages
18304 about "obsolete gcc or gdb".
18305
2fc1f950
MC
183062004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18307
18308 * gdb.cp/classes.exp: Accept more varieties of ptype output.
18309
c724d49b
MC
183102004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18311
18312 * gdb.base/asm-source.exp: Properly convert target board
18313 debug flags from gcc format to binutils format.
18314
736b0fce
MK
183152004-07-28 Mark Kettenis <kettenis@gnu.org>
18316
18317 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
18318 gdb1718". PR backtrace/1718 partially fixed.
18319
5633ea5c
JJ
183202004-07-27 Jeff Johnston <jjohnstn@redhat.com>
18321
18322 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
18323
575eebb1
NC
183242004-07-26 Nick Clifton <nickc@redhat.com>
18325
18326 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
18327 good default value for a specific architecture is available then
18328 set it to that value. Otherwise default to the -gstabs switch.
18329 Remove the -g... switches from the asm-flags variable. Allow the
18330 target board info to override the value if it wants to. Pass the
18331 switch on the assembler command line.
18332
62104619
MK
183332004-07-23 Mark Kettenis <kettenis@gnu.org>
18334
18335 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
18336 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
18337 (main): Call new function.
18338
4a1135b8
MC
183392004-07-22 Michael Chastain <mec.gnu@mindspring.com>
18340
18341 Test for PR exp/1715.
18342 * gdb.base/radix.exp: Refactor common procedures. Make all
18343 test names unique. Change XFAIL to KFAIL.
18344
8a12c1f0
MC
183452004-07-20 Michael Chastain <mec.gnu@mindspring.com>
18346
18347 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
18348 * gdb.ada/gnat_ada.gin: ... to here.
18349 * configure.in: Use gnat_ada.gin.
18350 * configure: Regenerate.
18351
23b451cf
AC
183522004-07-20 Andrew Cagney <cagney@gnu.org>
18353
18354 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
18355 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
18356 XFAILs. Clean up test messages and comments. Check backtraces.
18357 Delete re-sync code.
18358
ab618a02
MC
183592004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18360
18361 Fix PR cli/740.
18362 * gdb.base/annota1.exp: Honor gdb,nosignals.
18363 * gdb.base/annota3.exp: Likewise.
18364
46dad340
MC
183652004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18366
18367 * lib/java.exp: Update copyright notice.
18368
756d8c70
AC
183692004-07-19 Andrew Cagney <cagney@gnu.org>
18370
18371 * gdb.base/selftest.exp: Copy file from here ...
18372 * gdb.gdb/selftest.exp: ... to here.
18373
586027e6
AC
183742004-07-16 Andrew Cagney <cagney@redhat.com>
18375
18376 * lib/insight-support.exp: Delete file.
18377 * lib/java.exp (java_init): Fix copyright.
18378
029d2200
AC
183792004-07-16 Andrew Cagney <cagney@gnu.org>
18380
18381 * gdb.base/restore.c: Append "prologue" to comments marking the a
18382 function's prologue.
18383 * gdb.base/restore.exp: Update copyright, re-indent.
18384 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
18385 callerN" prefix where needed. Update patterns that match a
18386 function's prologue.
18387
653b62c5
MC
183882004-07-16 Michael Chastain <mec.gnu@mindspring.com>
18389
18390 * gdb.base/restore.c: Add copyright notice.
18391
f7d690e5
AC
183922004-07-16 Andrew Cagney <cagney@gnu.org>
18393
18394 * gdb.base/logical.exp: Update copyright.
18395 (evaluate): New procedure. Use to re-implement tests using
18396 several tables.
18397
d629a7cb
MH
183982004-07-14 Martin Hunt <hunt@redhat.com>
18399
18400 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
18401 which fixes some problems where init.tcl was not found.
18402
9c7bb332
AC
184032004-07-13 Andrew Cagney <cagney@gnu.org>
18404
6bf46641
AC
18405 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
18406 (check_sizeof, check_valueof): Do not include the output in the
18407 test name. Use gdb_test.
18408 (get_valueof): Use gdb_test_multiple.
18409
c4ffd4c0
AC
18410 * gdb.base/step-test.exp: Update copyright. Use
18411 gdb_test_multiple. Ensure that test names do not include
18412 architecture dependent output.
18413
ab89363a
AC
18414 * gdb.gdb/observer.exp: Update copyright.
18415 (setup_test): Use gdb_test_multiple.
18416 (attach_first_observer, attach_second_observer)
18417 (attach_third_observer, detach_first_observer)
18418 (detach_second_observer, detach_third_observer)
18419 (reset_counters, check_counters): Make $message a prefix.
18420 (test_normal_stop_notifications): Add "args" parameter - a list of
18421 init functions to be called. Make $message a prefix,
18422 (test_observer_normal_stop): Change the message prefixes so that
18423 they are unique, pass the attach / detach procedures to
18424 test_normal_stop_notifications.
18425
ec58997a
AC
18426 * gdb.base/signull.exp (test_segv): Prefix all tests with
18427 "${name}". Clean up test messages.
18428
b475183b
AC
18429 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
18430
9c7bb332
AC
18431 * gdb.base/ena-dis-br.exp: Update copyright.
18432 (break_at): New function. Replace send_gdb with gdb_test,
18433 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
18434 ignore count, not stopped at bpt", with KFAIL.
18435
2dd95497
CV
184362004-07-13 Corinna Vinschen <vinschen@redhat.com>
18437
18438 * gdb.base/attach.exp: Remove cleanupfile handling.
18439
419e626b
AC
184402004-07-12 Andrew Cagney <cagney@gnu.org>
18441
18442 * gdb.base/annota1.exp: Cleanup corefile test name.
18443 * gdb.base/annota3.exp: Ditto.
18444
8b1b3228
AC
184452004-07-12 Andrew Cagney <cagney@gnu.org>
18446
78650829
AC
18447 * gdb.base/signals.exp: Clean up copyright, re-indent.
18448
8b1b3228
AC
18449 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
18450 gdb_test and gdb_test_multiple.
18451
935c2760
JJ
184522004-07-08 Jeff Johnston <jjohnstn@redhat.com>
18453
18454 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 18455 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
18456 provide line number info for first statement in main.
18457
1544280f
AC
184582004-07-08 Andrew Cagney <cagney@gnu.org>
18459
1279f4ff
AC
18460 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
18461
1544280f
AC
18462 * gdb.base/sigbpt.exp: Make the common part of each test name a
18463 prefix instead of suffix.
18464
bcc82369
BR
184652004-07-07 Bob Rossi <bob_rossi@cox.net>
18466
18467 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
18468 test from test_tbreak_creation_and_listing to
18469 test_file_list_exec_source_file
18470 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
18471 Changed name of test from test_tbreak_creation_and_listing to
18472 test_file_list_exec_source_file
18473
23f4b0aa
JJ
184742004-07-07 Jeff Johnston <jjohnstn@redhat.com>
18475
18476 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
18477 the jmisc() constructor instead of <init>.
18478 * gdb.java/jmisc1.exp: Ditto.
18479
56401cd5
AC
184802004-07-07 Andrew Cagney <cagney@gnu.org>
18481
18482 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
18483 corrupting the PC.
18484
44ae2f6a
MC
184852004-07-06 Michael Chastain <mec.gnu@mindspring.com>
18486
18487 * gdb.cp/templates.exp: Accept whitespace change in demangler
18488 output.
18489
45a83408
AC
184902004-07-06 Andrew Cagney <cagney@gnu.org>
18491
18492 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
18493
d205ad70
MC
184942004-07-02 Michael Chastain <mec.gnu@mindspring.com>
18495
18496 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
18497 * lib/compiler.cc: Likewise.
18498
06ea1a61
MC
184992004-06-30 Michael Chastain <mec.gnu@mindspring.com>
18500
18501 * lib/compiler.cc: Work around string preprocessing problem
18502 with old hp c++ compiler.
18503 * lib/compiler.c: Likewise.
18504
daab1251
CV
185052004-06-29 Corinna Vinschen <vinschen@redhat.com>
18506
18507 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
18508 directives to conditionalize symbol prefixing.
18509 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
18510 additional_flags handling. Add underscore prefix for Cygwin.
18511 * gdb.arch/i386-unwind.c: Use preprocessor directives to
18512 conditionalize symbol prefixing.
18513 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
18514 additional_flags handling. Add underscore prefix for Cygwin.
18515
cc984116
CV
185162004-06-29 Corinna Vinschen <vinschen@redhat.com>
18517
18518 * gdb.base/bigcore.exp: Skip test on Cygwin.
18519
c279b077
MC
185202004-06-28 Michael Chastain <mec.gnu@mindspring.com>
18521
18522 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
18523 formats for "info register". Use gdb_test_multiple. Fix
18524 the "invalid register" test.
18525
0e915747
CV
185262004-06-28 Corinna Vinschen <vinschen@redhat.com>
18527
18528 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
18529 PID for Cygwin. Add Cygwin specific strings to check for in some
18530 tests.
18531 (do_attach_tests): Add a test for user interaction when attaching
18532 to a process with no matching symbol table already loaded.
18533
11422c86
AC
185342004-06-26 Andrew Cagney <cagney@gnu.org>
18535
18536 Test PR java/1567 and PR java/1565.
18537 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
18538 * gdb.java/jmisc2.exp: Delete file.
18539
cefbce26
MC
185402004-06-26 Michael Chastain <mec.gnu@mindspring.com>
18541
18542 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
18543
e19f872c
CV
185442004-06-25 Corinna Vinschen <vinschen@redhat.com>
18545
18546 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
18547 attach process.
18548
d931ba3b
MC
185492004-06-23 Michael Chastain <mec.gnu@mindspring.com>
18550
18551 * gdb.cp/pr-1553.exp: Remove.
18552
aef68c48
MC
185532004-06-22 Michael Chastain <mec.gnu@mindspring.com>
18554
18555 * gdb.cp/pr-1553.cc: Remove.
18556 * gdb.cp/pr-1553.exp: Disable this test.
18557
8d5df71a
JB
185582004-06-20 Jim Blandy <jimb@redhat.com>
18559
a9c64011 18560 Fix PR testsuite/1680.
8d5df71a
JB
18561 * gdb.arch/i386-sse.exp: Properly quote curly braces in
18562 regular expressions.
18563
4ac6f39d
MC
185642004-06-19 Michael Chastain <mec.gnu@mindspring.com>
18565
18566 Fix PR testsuite/1679.
18567 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
18568 Issue an UNSUPPORTED result instead.
18569
1b413552
JB
185702004-06-18 Jim Blandy <jimb@redhat.com>
18571
18572 * gdb.base/charset.exp: Only send a control-C if we see a new
18573 prompt and incomplete command.
18574
6daa6ebd
MC
185752004-06-18 Michael Chastain <mec.gnu@mindspring.com>
18576
18577 * gdb.cp/pr-574.cc: Add copyright notice.
18578
51fa4ae0
JB
185792004-06-17 Jim Blandy <jimb@redhat.com>
18580
18581 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
18582 cases where the regexp has no groups; this grabs random text from
18583 the previous test suite, whatever that was.
18584
8fea26c5
MC
185852004-06-17 Michael Chastain <mec.gnu@mindspring.com>
18586
18587 * gdb.cp/printmethod.cc: Add copyright notice.
18588
1e3aeb41
MC
185892004-06-16 Michael Chastain <mec.gnu@mindspring.com>
18590
18591 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
18592
9d9030bc
AC
185932004-06-16 Andrew Cagney <cagney@gnu.org>
18594
18595 * gdb.base/signull.c: Update copyright. Include <string.h>.
18596 (bowler): Replace data_pointer with data_read
18597 and data_write cases. Add code_descriptor case.
18598 (zero, desc): New array and pointer.
18599 (data, code): Change to simple pointers.
18600 * gdb.base/signull.exp: Fix probe pattern matching a function
18601 descriptor SIGSEGV. Replace data_pointer with data_read and
18602 data_write tests.
18603
acd4ad44
AC
186042004-06-16 Andrew Cagney <cagney@gnu.org>
18605
18606 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
18607
08fd625c
MC
186082004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18609
18610 * gdb.base/long_long.c: Add copyright notice.
18611
1903502c
MC
186122004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18613
18614 * gdb.base/long_long.exp: Remove reference to
18615 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
18616 to gdb_breakpoint and gdb_continue_to_breakpoint.
18617
83313cb1
JB
186182004-06-14 Jim Blandy <jimb@redhat.com>
18619
18620 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
18621 endian case.
18622
1bf404ef
AC
186232004-06-14 Andrew Cagney <cagney@gnu.org>
18624
18625 * gdb.base/gcore.exp (capture_command_output): Delete the always
18626 passing tests containing inferior values.
18627 * gdb.base/ending-run.exp: Do not include the breakpoint address
18628 in the test message. Update copyright.
18629 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
18630 size in the test name, use gdb_test_multiple. Update copyright.
18631
ef220b33
MC
186322004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18633
18634 * gdb.cp/ref-types.cc: Add copyright notice.
18635
4f70a4c9
MC
186362004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18637
18638 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
18639 hp_aCC_compiler.
18640 * lib/compiler.cc: Likewise.
18641 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
18642 'set' commands. Log diagnostics for other lines. Set
18643 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
18644
335928ac
MC
186452004-06-13 Michael Chastain <mec.gnu@mindspring.com>
18646
18647 * gdb.cp/try_catch.cc: Add copyright notice.
18648
2efb12e8
MC
186492004-06-12 Michael Chastain <mec.gnu@mindspring.com>
18650
18651 * gdb.cp/userdef.cc: Add copyright notice.
18652
0bbed51a
MC
186532004-06-11 Michael Chastain <mec.gnu@mindspring.com>
18654
18655 * gdb.cp/virtfunc.cc: Add copyright notice.
18656
e12a46c9
RC
186572004-06-11 Randolph Chung <tausq@debian.org>
18658
18659 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
18660 problem.
18661
338e05af
AC
186622004-06-10 Andrew Cagney <cagney@gnu.org>
18663
18664 * lib/compiler.cc, lib/compiler.c: Append either
18665 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
18666 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
18667 instead of gcc-3-3.
18668
dc3f10cb
AC
186692004-06-09 Andrew Cagney <cagney@gnu.org>
18670
b4d946af
AC
18671 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
18672 gdb/1455, bug is specific to "long long" and "double".
a9c64011 18673
dc3f10cb
AC
18674 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
18675 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
18676 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
18677 fixed.
18678
b5c0bfa2
AC
186792004-06-09 Andrew Cagney <cagney@gnu.org>
18680
18681 * gdb.base/structs.exp (test_struct_returns): Replace
18682 "return_value_unknown" and "finish_value_unknown" by
18683 "return_value_known" and "finish_value_known". Instead of
18684 "return_value_unknown" iff "finish_value_unknown", check
18685 "return_value_known" implies "finish_value_known".
18686
caeb605f
MH
186872004-06-08 Martin Hunt <hunt@redhat.com>
18688
18689 * gdb.base/float.exp: Add pattern for mips targets.
18690
c892bb64
RC
186912004-06-08 Randolph Chung <tausq@debian.org>
18692
18693 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
18694 message for unknown architectures more clear.
18695
48306d3e
JB
186962004-06-08 Joel Brobecker <brobecker@gnat.com>
18697
18698 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
18699 start the execution of the program.
18700
83ecb59f
JB
187012004-06-07 Jim Blandy <jimb@redhat.com>
18702
18703 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
18704 * gdb.arch/i386-cpuid.h: New helper file.
18705
55264cb4
RC
187062004-06-07 Randolph Chung <tausq@debian.org>
18707
18708 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
18709 has started.
18710
23cadb28
RM
187112004-06-04 Roland McGrath <roland@redhat.com>
18712
18713 Fix PR gdb/1647.
18714 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
18715 differently to be robust to output buffering differences.
18716
51d01eda
MC
187172004-06-04 Michael Chastain <mec.gnu@mindspring.com>
18718
18719 * gdb.threads/pthreads.exp: Update copyright years.
18720 (check_control_c): Change asynchronous 'after' to synchronous.
18721
f4fc3b93
RM
187222004-06-04 Roland McGrath <roland@redhat.com>
18723
18724 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
18725 next gdb prompt.
18726
4013522b
MC
187272004-06-02 Michael Chastain <mec.gnu@mindspring.com>
18728
18729 Fix PR gdb/1636.
18730 * gdb.threads/manythreads.exp: Change asynchronous 'after'
18731 calls to synchronous.
18732
7a8f1e6b
JB
187332004-05-26 Jim Blandy <jimb@redhat.com>
18734
18735 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
18736
81bb3443
RC
187372004-05-24 Randolph Chung <tausq@debian.org>
18738
18739 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
18740 * gdb.asm/pa.inc: New file.
18741
8f5a3103
MK
187422004-05-22 Mark Kettenis <kettenis@gnu.org>
18743
18744 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
18745
734b8fe8 187462004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 18747 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
18748
18749 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
18750 GDB prompt.
18751
725603e1
UW
187522004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18753
f4fc3b93 18754 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
18755 setjmp/longjmp. Use sigaction instead of signal.
18756
8b923272 187572004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 18758 Michael Snyder <msnyder@redhat.com>
8b923272
JB
18759
18760 * gdb.threads/pthread_cond_wait.c: New file.
18761 * gdb.threads/pthread_cond_wait.exp: New testcase.
18762
8bfabb04
AC
187632004-05-13 Andrew Cagney <cagney@redhat.com>
18764
18765 * gdb.base/signull.exp, gdb.base/signull.c: New files.
18766 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
18767
42edda50
AC
187682004-05-11 Andrew Cagney <cagney@redhat.com>
18769
18770 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
18771 fixed but revealed gdb/1639.
18772
d303a6c7
AC
187732004-05-10 Andrew Cagney <cagney@redhat.com>
18774
18775 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
18776 func1" and "next to 2nd alarm", kernel bug avoided.
18777
bf08c2a1
DJ
187782004-05-10 Daniel Jacobowitz <dan@debian.org>
18779
18780 PR external/1568
18781 * gdb.base/bigcore.exp: Check the size of the dumped core file.
18782 XFAIL if it is smaller than bytes_allocated.
18783 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
18784 (main): Make chunks_allocated unsigned. Correct comment.
18785
c0586a34
JB
187862004-05-07 Joel Brobecker <brobecker@gnat.com>
18787
18788 * gdb.arch/powerpc-aix-prologue.c: New file.
18789 * gdb.arch/powerpc-aix-prologue.exp: New file.
18790
f2785d12
JB
187912004-05-07 Jim Blandy <jimb@redhat.com>
18792
18793 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
18794 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
18795
bd7f6e30
JB
187962004-05-06 Joel Brobecker <brobecker@gnat.com>
18797
18798 * gdb.base/sep.exp: No longer setup_kfail when the program was
18799 built with dwarf2.
18800
0a5e7efe
JI
188012004-05-05 Jim Ingham <jingham@apple.com>
18802
18803 * gdb.base/pending.exp: Make sure pending breakpoints
18804 preserve the ignore count.
f4fc3b93 18805
a8958849
MK
188062004-04-27 Jerome Guitton <guitton@gnat.com>
18807
18808 * i386-prologue.exp: Add testcase for jump instruction as first
18809 instruction of the real code.
18810 * i386-prologue.c (jump_at_beginning): New function.
18811
7e103f5b
MK
188122004-04-28 Mark Kettenis <kettenis@gnu.org>
18813
18814 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
18815 x86_64-*-*.
18816
5d38b224
MK
188172004-04-28 Mark Kettenis <kettenis@gnu.org>
18818
18819 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
18820 i*86-*-*.
18821
0ef32fd9
MK
188222004-04-25 Mark Kettenis <kettenis@gnu.org>
18823
18824 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
18825 expression that checks the return type.
18826
71d7dd7c
AC
188272004-04-23 Andrew Cagney <cagney@redhat.com>
18828
18829 * gdb.base/call-sc.exp: New test of scalar call/return values.
18830 * gdb.base/call-sc.c: Ditto.
18831
1e9f977e
JJ
188322004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18833
18834 * gdb.threads/manythreads.c: Reduce thread stack size.
18835
899d9e3a
JJ
188362004-04-23 Jeff Johnston <jjohnstn@redhat.com>
18837
18838 * gdb.threads/manythreads.c: Add copyright notice.
18839
61bcae62
AC
188402004-04-23 Andrew Cagney <cagney@redhat.com>
18841
18842 * gdb.base/siginfo.exp: Better handle step out of signal.
18843 * gdb.base/sigstep.exp: Ditto.
18844
7339a42e 188452004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 18846 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
18847
18848 * gdb.threads/manythreads.c: New testcase.
18849 * gdb.threads/manythreads.exp: Ditto.
18850
5c98409b
JB
188512004-04-22 Jim Blandy <jimb@redhat.com>
18852
18853 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
18854 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
18855
3b611f1a
MC
188562004-04-21 Michael Chastain <mec.gnu@mindspring.com>
18857
18858 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
18859
f0fd9238
AC
188602004-04-21 Andrew Cagney <cagney@redhat.com>
18861
18862 * gdb.base/sigstep.c: New file.
18863 * gdb.base/sigstep.exp: New file.
18864
90990674
JB
188652004-04-16 Joel Brobecker <brobecker@gnat.com>
18866
18867 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
18868 call to observer_notify_normal_stop.
18869
78cef34b
AC
188702004-04-15 Andrew Cagney <cagney@redhat.com>
18871
18872 * gdb.base/siginfo.c: New file.
18873 * gdb.base/siginfo.exp: New file.
18874
d2343407
JB
188752004-04-12 J. Brobecker <brobecker@gnat.com>
18876
18877 * gdb.base/sep.exp: Fix typo in comment.
18878
a2dba3c8
JB
188792004-04-12 J. Brobecker <brobecker@gnat.com>
18880
18881 * gdb.base/sep.c: New file.
18882 * gdb.base/sep-proc.c: New file.
18883 * gdb.base/sep.exp: New testcase.
18884
15f7b60e
MK
188852004-04-09 Mark Kettenis <kettenis@gnu.org>
18886
18887 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
18888 support.
18889
44f4de1a
AC
188902004-04-05 Andrew Cagney <cagney@redhat.com>
18891
18892 * gdb.base/sigaltstack.c: New file.
18893 * gdb.base/sigaltstack.exp: New file.
18894
ef04f396
JB
188952004-04-04 Joel Brobecker <brobecker@gnat.com>
18896
18897 * gdb.base/foll-fork.exp: Update the expected output for
18898 "help set follow-fork-mode", to match a change that was made
18899 to the help of this variable on 2004-01-13.
18900
d40d2c92
JB
189012004-04-01 Joel Brobecker <brobecker@gnat.com>
18902
18903 * lib/ada.exp: Add copyright notice.
18904 * bar.ads: Likewise.
18905 * bar.adb: Likewise.
18906 * null_record.adb: Likewise.
18907 * null_record.exp: Likewise.
18908 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
18909
f86ef5a3
JB
189102004-04-01 Joel Brobecker <brobecker@gnat.com>
18911
18912 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
18913 * configure: Regenerate.
18914
414e70e3
JB
189152004-04-01 Joel Brobecker <brobecker@gnat.com>
18916
18917 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
18918 to build the application. Remove the message printed when in
18919 verbose mode, redundant with the UNSUPPORTED message above.
18920
f0aaee49
JB
189212004-03-31 Joel Brobecker <brobecker@gnat.com>
18922
18923 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
18924 * gdb.ada (null_record.exp): New testcase.
18925
ac81cb54
JB
189262004-03-31 Joel Brobecker <brobecker@gnat.com>
18927
18928 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
18929
854af2f7
JB
189302004-03-31 Joel Brobecker <brobecker@gnat.com>
18931
18932 * gdb.ada: New subdirectory.
18933 * gdb.ada/Makefile.in: New file.
18934 * gdb.ada/gnat_ada.gpr.in: New file.
18935
034cb681
JB
189362004-03-31 Joel Brobecker <brobecker@gnat.com>
18937
18938 * lib/ada.exp: New file.
18939
78a1a894
DJ
189402004-03-24 Daniel Jacobowitz <drow@mvista.com>
18941
18942 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
18943 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
18944
4b2b3b3e
AC
189452004-03-22 Andrew Cagney <cagney@redhat.com>
18946
18947 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
18948 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
18949 Problem identified by Ulrich Weigand.
18950
23c73aa3
DC
189512004-03-17 David Carlton <carlton@kealia.com>
18952
18953 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
18954 PR c++/826.
18955
d63a86f8
RM
189562004-03-16 Roland McGrath <roland@redhat.com>
18957
18958 * gdb.base/auxv.exp: New file.
18959 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
18960
0e02aa50
DC
189612004-03-12 David Carlton <carlton@kealia.com>
18962
18963 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
18964 * gdb.cp/pr-1553.cc: Ditto.
18965 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
18966 pass branch.
18967
c20b71be
MC
189682004-03-12 Michael Chastain <mec.gnu@mindspring.com>
18969
18970 * gdb.cp/templates.exp: Accept more template types.
18971
c7414a01
MC
189722004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18973
18974 From Corinna Vinschen with modifications.
18975 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
18976 local variable obj_with_enum.
18977 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
18978 results with obj_with_enum.
18979
ed69573c
MC
189802004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18981
18982 * gdb.cp/classes.cc: New file, copied from misc.cc.
18983 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
18984
28301461
MC
189852004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18986
18987 * gdb.cp/misc.cc: Add copyright notice.
18988
1198ecbe
DC
189892004-03-05 David Carlton <carlton@kealia.com>
18990
18991 * gdb.cp/rtti.exp: Add 'print *obj3' test.
18992 * gdb.cp/rtti.h: Update copyright.
18993 (namespace n2::n3): New.
18994 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
18995 (n2::n3::func3): New.
18996 (main): Call n2::n3::func3.
18997 * gdb.cp/rtti2.cc: Update copyright.
18998 (n2::create3): New.
18999
9e08c470
MK
190002004-03-04 Mark Kettenis <kettenis@gnu.org>
19001
19002 * gdb.asm/openbsd.inc: Fix typo.
19003
4bebc3aa
FF
190042004-03-03 Fred Fish <fnf@redhat.com>
19005
19006 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
19007 "val" instead of unused "size". Update copyright year.
19008
6ea9fb37
DJ
190092004-02-29 Daniel Jacobowitz <drow@mvista.com>
19010
19011 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
19012 to use unsigned char.
19013 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
19014 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
19015
23b23974
DJ
190162004-02-29 Daniel Jacobowitz <drow@mvista.com>
19017
19018 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
19019 line of output.
19020
7574fd53
DJ
190212004-02-28 Daniel Jacobowitz <drow@mvista.com>
19022
19023 * gdb.base/relocate.c (dummy): Initialize.
19024
a195357f
DJ
190252004-02-28 Daniel Jacobowitz <drow@mvista.com>
19026
19027 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
19028 a breakpoint at exit.
19029
72fd54a9
FF
190302004-02-27 Fred Fish <fnf@redhat.com>
19031
19032 * gdb.base/chng-syms.exp: Add expect condition to match failing
19033 case that isn't a timeout.
19034
b9d23137
AC
190352004-02-27 Andrew Cagney <cagney@redhat.com>
19036
19037 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
19038 support.
19039
15d208f6 190402004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 19041
15d208f6
FF
19042 * gdb.arch/gdb1431.c: Remove.
19043 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
19044 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
19045 of "until" incorrectly.
19046
98f9cd2d
JB
190472004-02-26 J. Brobecker <brobecker@gnat.com>
19048
19049 * gdb.cp/class2.cc (empty): New class.
19050 (refer): New function.
19051 (main): Declare an object of type empty and use it.
19052 * gdb.cp/class2.exp: Print the value of an object of type empty.
19053
9b50c11b
JJ
190542004-02-26 Jeff Johnston <jjohnstn@redhat.com>
19055
19056 * gdb.base/langs.exp: Update query string to match the
19057 new nquery format used for pending breakpoints.
19058
0dcd613f
AC
190592004-02-26 Andrew Cagney <cagney@redhat.com>
19060
19061 Fix PR i18n/1570.
19062 * gdb.base/charset.c: Update copyright notice.
19063 (main, init_string): Remove the escape character '\e' tests.
19064 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
19065 * gdb.base/charset.exp (valid_host_charset): Ditto.
19066 * gdb.base/setvar.exp: Ditto.
19067
b8a56647
AC
190682004-02-24 Andrew Cagney <cagney@redhat.com>
19069
90d59e34
AC
19070 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
19071 mmapped data in core file" PASS and FAIL messages consistent.
19072
b8a56647
AC
19073 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
19074 setting a breakpoint. Work around PR java/1565.
19075
9f27c604
JJ
190762004-02-23 Jeff Johnston <jjohnstn@redhat.com>
19077
19078 * lib/gdb.exp (gdb_breakpoint): Update query string to match
19079 new nquery format.
19080 * gdb.base/pending.exp: Ditto.
19081
3224a706
MK
190822004-02-22 Mark Kettenis <kettenis@gnu.org>
19083
19084 * configure.in: Run stabs tests on *BSD.
19085 * configure: Regenerated.
19086
41e0a9ca
MK
190872004-02-21 Mark Kettenis <kettenis@gnu.org>
19088
19089 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
19090
1e1b3428
FF
190912004-02-20 Fred Fish <fnf@redhat.com>
19092
19093 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19094 blank in test for "returns short", for consistency with other
19095 "returns xxx" tests. Update copyright year.
19096
f9a7572a
FF
190972004-02-19 Fred Fish <fnf@redhat.com>
19098
19099 New testcase for PR breakpoint/1558.
19100 * gdb.arch/gdb1558.exp: New file.
19101 * gdb.arch/gdb1558.c: New file.
19102
b2ce2854
EZ
191032004-02-19 Elena Zannoni <ezannoni@redhat.com>
19104
19105 * gdb.base/nodebug.exp: Fix typo.
19106
e7c9ff01
JB
191072004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19108
19109 Committed by Jim Blandy <jimb@redhat.com>.
19110
62f4b920
JB
19111 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
19112
2db536a1
JB
19113 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
19114
e7c9ff01
JB
19115 * gdb.base/float.exp: Support s390*-*-* targets.
19116
f3205b34
AF
191172004-02-17 Adam Fedor <fedor@gnu.org>
19118
19119 * gdb.base/gdb1555.exp: New file.
19120 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
19121
9d62932d
EZ
191222004-02-17 Elena Zannoni <ezannoni@redhat.com>
19123
19124 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
19125
344c9711
FF
191262004-02-16 Fred Fish <fnf@redhat.com>
19127
19128 * gdb.arch/gdb1291.c: Remove
19129 * gdb.arch/gdb1291.s: New test input file.
19130 * gdb.arch/gdb1291.exp: Expand test to check case that should not
19131 fail. Test for correct result, known incorrect result, other
19132 failures and timeouts.
19133
2d822687
AC
191342004-02-16 Andrew Cagney <cagney@redhat.com>
19135
19136 * gdb.base/bigcore.exp: New file.
19137 * gdb.base/bigcore.c: New file.
19138
dac15b66
AC
191392004-02-13 Andrew Cagney <cagney@redhat.com>
19140
19141 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
19142 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
19143 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
19144 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
19145 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
19146 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
19147 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
19148 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
19149 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
19150 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
19151
6bdfc2c4
JJ
191522004-02-11 Jeff Johnston <jjohnstn@redhat.com>
19153
19154 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
19155 executed is an alloc instruction.
19156
87b3ede8
DC
191572004-02-11 David Carlton <carlton@kealia.com>
19158
19159 * gdb.cp/breakpoint.exp: New.
19160 * gdb.cp/breakpoint.cc: New.
19161
6e19e2bf
MC
191622004-02-11 Michael Chastain <mec.gnu@mindspring.com>
19163
19164 Partial fix for PR gdb/1543.
19165 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
19166 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
19167 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
19168 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
19169 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
19170 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
19171 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
19172 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
19173 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
19174 to bug-gdb@prep.ai.mit.edu .
19175 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
19176 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
19177 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
19178 Likewise.
19179
5c5455dc
AC
191802004-02-10 Andrew Cagney <cagney@redhat.com>
19181
19182 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
19183 using gdb_internal_error_resync.
19184
9cf689d7
DJ
191852004-02-09 Daniel Jacobowitz <drow@mvista.com>
19186
19187 * gdb.threads/thread-specific.exp: Stop early if no threads are
19188 found.
19189
d2dc51db
MC
191902004-02-09 Michael Chastain <mec.gnu@mindspring.com>
19191
19192 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
19193
14b1a056
DJ
191942004-02-08 Daniel Jacobowitz <drow@mvista.com>
19195
19196 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
19197 breakpoints.
19198
83f66e8f
DJ
191992004-02-07 Daniel Jacobowitz <drow@mvista.com>
19200
19201 * config/sim.exp (gdb_load): Handle $arg == "".
19202 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
19203 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
19204
30fc0091
EZ
192052004-02-07 Elena Zannoni <ezannoni@redhat.com>
19206
a9c64011
AS
19207 * gdb.base/maint.exp: Update test to reflect
19208 obstack changes.
30fc0091 19209
4d806929
JJ
192102004-02-04 Jeff Johnston <jjohnstn@redhat.com>
19211
19212 * gdb.base/pendshr.c (pendfunc): New function that calls
19213 pendfunc1.
19214 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
19215
7bfdd688
FF
192162004-02-04 Fred Fish <fnf@redhat.com>
19217
19218 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
19219 function symbols and update copyright years.
19220 * gdb.arch/gdb1291.c: Ditto.
19221
aaa08ee4
MC
192222004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19223
19224 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
19225
dbad7755
MC
192262004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19227
19228 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
19229
ec4646ef
MC
192302004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19231
19232 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
19233
1b802196
FF
192342004-02-02 Fred Fish <fnf@redhat.com>
19235
19236 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
19237 remote targets. Update copyright years.
19238
18fe2033
JJ
192392004-02-02 Jeff Johnston <jjohnstn@redhat.com>
19240
19241 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
19242 support.
19243 * gdb.base/langs.exp: Fix test which attempts to create
19244 breakpoint on non-existent function to handle new pending
19245 support.
19246 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
19247 a breakpoint.
19248 * gdb.base/pending.exp: New test.
19249 * gdb.base/pending.c: New file.
19250 * gdb.base/pendshr.c: Ditto.
19251
8d577d32
DC
192522004-02-02 David Carlton <carlton@kealia.com>
19253
19254 * gdb.cp/overload.exp: Add overloadNamespace tests.
19255 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
19256 (overloadNamespace, XXX): New.
19257 (main): Call XXX::marker2.
19258
3ad13771
FF
192592004-02-01 Fred Fish <fnf@redhat.com>
19260
19261 * gdb.base/dump.exp: Use runto_main instead of "runto main".
19262 * gdb.base/finish.exp: Ditto.
19263 * gdb.base/gcore.exp: Ditto.
19264 * gdb.base/huge.exp: Ditto.
19265 * gdb.base/info-proc.exp: Ditto.
19266 * gdb.base/return2.exp: Ditto.
19267 * gdb.threads/gcore-thread.exp: Ditto.
19268
44c75849
DJ
192692004-02-01 Daniel Jacobowitz <drow@mvista.com>
19270
19271 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
19272
005bc093
MK
192732004-02-01 Mark Kettenis <kettenis@gnu.org>
19274
19275 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
19276 that opening the file succeeds on OpenBSD.
19277
c47cebdb
DJ
192782004-02-01 Daniel Jacobowitz <drow@mvista.com>
19279
19280 * gdb.threads/thread-specific.c: New file.
19281 * gdb.threads/threads-specific.exp: New test script.
19282 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
19283 to expect_out.
19284
5a01311c
MK
192852004-02-01 Mark Kettenis <kettenis@gnu.org>
19286
19287 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
19288 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
19289 only on the "print_small_structs from print_long_arg_list" test.
19290
ce22a4f1
DJ
192912004-02-01 Daniel Jacobowitz <drow@mvista.com>
19292
19293 * gdb.base/completion.exp: Kill a stray backslash.
19294
19295 From Jim Ingham <jingham@apple.com>:
19296 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
19297 agrees with the result from sending a tab.
19298
abbab9d3
DJ
192992004-01-31 Daniel Jacobowitz <drow@mvista.com>
19300
19301 * gdb.base/chng-syms.exp: Remove stray newline.
19302
53904d1e
MK
193032004-01-31 Mark Kettenis <kettenis@gnu.org>
19304
19305 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
19306 *-*-openbsd*.
19307 * gdb.asm/openbsd.inc: New file.
19308
3a4b3aac
MK
193092004-01-30 Mark Kettenis <kettenis@gnu.org>
19310
19311 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
19312 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
19313 *-*solaris2*. Remove commented out default settings for
19314 asm-flags. Replace gdb_compile with target_link.
19315
ebac27b4
MC
193162004-01-29 Michael Chastain <mec.gnu@mindspring.com>
19317
19318 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
19319 for all tests. Remove old hp-ux and cygnus xfail cases.
19320
d8679d84
PH
193212004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
19322
19323 * gdb.base/chng-syms.exp: New file.
19324 * gdb.base/chng-syms.c: New file.
19325
0a55bc22
MC
193262004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19327
19328 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
19329 Provide arms for current output in all my configurations.
19330
94b8e876
MC
193312004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19332
19333 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
19334 * lib/compiler.cc: Likewise.
19335 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
19336 get the right preprocessor. Eval the output directly. Remove
19337 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
19338 hp_f77_compiler and hp_f90_compiler completely.
19339 (gdb_preprocess): Delete.
19340 (get_compiler): Delete.
19341
7cf03d44
MK
193422004-01-24 Mark Kettenis <kettenis@gnu.org>
19343
19344 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
19345 <string.h>.
19346
68b6dce9
NR
193472004-01-24 Nick Roberts <nick@nick.uklinux.net>
19348
19349 * gdb.mi/mi-stack.exp: Update copyright.
19350
b368761e
DC
193512004-01-23 David Carlton <carlton@kealia.com>
19352
19353 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
19354 test for cp_lookup_transparent_type.
19355 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
19356 call them.
19357
f2061b53
DJ
193582004-01-23 Daniel Jacobowitz <drow@mvista.com>
19359
19360 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
19361 after -var-update.
19362
37fc574a
DC
193632004-01-23 David Carlton <carlton@kealia.com>
19364
19365 * gdb.cp/namespace.cc (C::ensureRefs): New.
19366 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
19367
8e94b928
NR
193682004-01-20 Nick Roberts <nick@nick.uklinux.net>
19369
19370 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
19371 case "-stack-list-locals 2".
19372 * gdb.mi/mi-var-child.exp: Test for case
19373 "-var-list-children --all-values NAME".
19374
997b0952
MC
193752004-01-18 Michael Chastain <mec.gnu@mindspring.com>
19376
19377 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
19378
52470da3
MK
193792004-01-18 Mark Kettenis <kettenis@gnu.org>
19380
7049b4b8
MK
19381 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
19382 used with gdb_test_multiple.
19383
52470da3
MK
19384 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
19385 read at address 0. This fixes PR testsuite/1504.
19386
da6012e5
DJ
193872004-01-18 Daniel Jacobowitz <drow@mvista.com>
19388
19389 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
19390 Remove downloading, guessing the host executable, the calls to
19391 gdb_file_cmd and gdb_target_cmd, and "load" support.
19392 (infer_host_exec): New function broken out from gdb_load.
19393 (gdb_load): New wrapper for gdbserver_gdb_load.
19394 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
19395 gdb_target_cmd. Use -target-select.
19396 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
19397 Download binaries to the host. Clear last_mi_remote_file when
19398 we load a new binary.
19399 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
19400 call gdbserver_gdb_load and mi_gdb_target_cmd.
19401
32c70722
MC
194022004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19403
19404 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
19405 type patterns.
19406
b0cecf36
MC
194072004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19408
19409 * gdb.cp/templates.exp: Fix typo in test name of
19410 "print Foo<volatile char*>::foo".
19411
4120d7e6
MC
194122004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19413
19414 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
19415
f679e530
BE
194162004-01-16 Ben Elliston <bje@wasabisystems.com>
19417
19418 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
19419 (clean mostlyclean): Remove empty rm.
19420
091c48f6
MC
194212004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19422
19423 * gdb.base/setvar.exp: Add copyright years.
19424
3e5fc8d2
DC
194252004-01-14 David Carlton <carlton@bactrian.org>
19426
19427 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
19428 PR c++/1511 and update coment.
19429 * gdb.cp/templates.exp: Update patterns to match current output.
19430 If changes involve something other than whitespace, KFAIL
19431 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
19432
63d06c5c
DC
194332004-01-14 David Carlton <carlton@kealia.com>
19434
19435 * gdb.cp/namespace.exp: Add tests involving classes defined within
19436 namespaces.
19437 * gdb.cp/namespace.cc (C::CClass): New.
19438 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
19439
a51dab88
EZ
194402004-01-14 Elena Zannoni <ezannoni@redhat.com>
19441
19442 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
19443 what debug info we have. Print a better message if something goes
19444 wrong while producing the separate debug info file.
19445
a476ccc9
MC
194462004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19447
19448 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
19449
f453692c
MC
194502004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19451
19452 * gdb.base/callfuncs.c: Add copyright notice.
19453
f40063a5
MC
194542004-01-13 Michael Chastain <mec.gnu@mindspring.com>
19455
19456 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
19457 inheritance. PR gdb/1498, PR gcc/13539.
19458
19ac3974
EZ
194592004-01-13 Elena Zannoni <ezannoni@redhat.com>
19460
a9c64011
AS
19461 * gdb.threads/gcore-thread.exp: Prefix name of binary with
19462 test specific name.
19463 * gdb.mi/gdb669.exp: Ditto.
19464 * gdb.mi/mi-pthreads.exp: Ditto.
19465 * gdb.mi/mi1-pthreads.exp: Ditto.
19466 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 19467
56c97c6e
MC
194682004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19469
19470 * gdb.cp/member-ptr.cc: Add copyright notice.
19471
a0644324
MC
194722004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19473
19474 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
19475 some patterns for recent versions of gcc and hpacc. Delete
19476 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
19477 Delete tests that access a NULL pointer-to-member-data. This
19478 script is still disabled for gcc.
19479
32fabe09
EZ
194802004-01-12 Elena Zannoni <ezannoni@redhat.com>
19481
19482 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 19483 escaped correctly.
32fabe09 19484
1f8a6abb
EZ
194852004-01-12 Elena Zannoni <ezannoni@redhat.com>
19486
19487 * gdb.base/sepdebug.exp: New file.
19488 * gdb.base/sepdebug.c: New file.
19489 * lib/gdb.exp (separate_debug_filename): New procedure.
19490 (gdb_gnu_strip_debug): New procedure.
19491
48efe704
AC
194922004-01-12 Andrew Cagney <cagney@redhat.com>
19493
19494 * gdb.mi/ChangeLog: Delete file. Renamed to ...
19495 * gdb.mi/ChangeLog-1999-2003: New file.
19496
a9415475
AC
194972004-01-12 Andrew Cagney <cagney@redhat.com>
19498
19499 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
19500 "Renaming a directory to a non-empty directory returns ENOTEMPTY
19501 or EEXIST", treat EBUSY as an XFAIL.
19502
83b8cf9d
MC
195032004-01-11 Michael Chastain <mec.gnu@mindspring.com>
19504
19505 * gdb.base/scope.exp: Remove obsolete setup_xfail for
19506 hp_cc_compiler.
19507
9939d2a8
MC
195082004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19509
19510 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
19511 decorations.
19512
1ff8cadf
MC
195132004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19514
19515 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
19516 and "(aCC)" decorations. Remove obsolete doco about old
19517 test results.
19518
6fa9022e
MC
195192004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19520
19521 * gdb.cp/exception.exp: Fix typo in doco.
19522
209721fe
MK
195232004-01-09 Mark Kettenis <kettenis@gnu.org>
19524
19525 * gdb.base/gdb1476.exp: Fix typo.
19526
ef11303e
MC
195272004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19528
19529 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
19530 file.
19531
041ab88c
MC
195322004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19533
19534 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
19535 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
19536 Use gdb_compile. Remove restriction on gcc. Add some patterns
19537 for recent version of gdb. Delete second half, which was a copy
19538 of the first half with different build flags. This test is
19539 still disabled because it is still not ready for production.
19540
e36d075a
MC
195412004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19542
19543 * gdb.cp/exception.cc: Add copyright notice.
19544 * gdb.cp/exception.exp: Add a notice that this file is broken
19545 because of line number changes caused by addition of copyright
19546 notice.
19547
42b190ad
MC
195482004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19549
19550 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
19551 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
19552
8f25f06b
MC
195532004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19554
19555 * gdb.cp/classes.exp: Accept gnu abi 2.
19556 * gdb.cp/derivation.exp: Likewise.
19557 * gdb.cp/overload.exp: Likewise.
19558 * gdb.cp/virtfunc.exp: Likewise.
19559
06ded8b8
MC
195602004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19561
19562 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
19563 semicolon after end of function.
19564
77c26ae3
MC
195652004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19566
19567 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
19568 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
19569 boilerplate code for compiling and running the program under
19570 test. Add some string method tests.
19571
20757486
MC
195722004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19573
19574 * gdb.cp/bs15503.cc: Add copyright notice.
19575 * gdb.cp/bs15503.exp: Adjust line number.
19576
0fd3b503
MC
195772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19578
19579 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
19580 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
19581
10d1bea8
MC
195822004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19583
19584 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
19585 hp_cc_compiler.
19586
2789202a
MC
195872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19588
19589 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
19590 * gdb.cp/ctti.exp: Use the marker instead of "next".
19591 With gcc, run further before bailing.
19592
b862f14c
MC
195932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19594
19595 * gdb.cp/cttiadd.cc: Add copyright notice.
19596 * gdb.cp/cttiadd1.cc: Likewise.
19597 * gdb.cp/cttiadd2.cc: Likewise.
19598 * gdb.cp/cttiadd3.cc: Likewise.
19599
96da2469
MC
196002004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19601
19602 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
19603 Use gdb_test, gdb_test_multiple. Use floating-point values that
19604 have exact representations in IEEE-ish formats.
19605
053248ff
MC
196062004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19607
19608 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
19609 compilers. Delete duplicate call to get_compiler_info.
19610 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
19611 * gdb.base/volatile.exp: Likewise.
19612
84acecdd
MK
196132004-01-07 Mark Kettenis <kettenis@gnu.org>
19614
19615 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
19616 memory at address 0.
19617
fe11a27f
MC
196182004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19619
19620 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
19621 to test for hp-ux assembler. Fix copyright years.
19622
60ad077b
AC
196232004-01-07 Andrew Cagney <cagney@redhat.com>
19624
19625 * gdb.base/fileio.c (strerrno): Add "EBUSY".
19626
1c9b8f33
AC
196272004-01-07 Andrew Cagney <cagney@redhat.com>
19628
19629 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
19630 when creating the read-only file. From analysis by Roland McGrath
19631 and Elena Zannoni.
19632
753ccc7a
MC
196332004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19634
19635 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
19636
eca3e36b
MC
196372004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19638
19639 * gdb.base/cvexpr.c: Be type-safe with function pointers and
19640 data pointers.
19641
f8d4bac4
MC
196422004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19643
19644 * gdb.cp/m-static.exp: Compile one source file at a time.
19645 Delete unused call to get_compiler_info.
19646
9b4e0f94
MC
196472004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19648
19649 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
19650 * gdb.base/call-rt-st.exp: Likewise.
19651 * gdb.base/nodebug.exp: Likewise.
19652 * gdb.base/volatile.exp: Likewise.
19653 * gdb.cp/ref-types.exp: Likewise.
19654 * gdb.cp/templates.exp: Likewise.
19655
023c1024
MK
196562004-01-05 Mark Kettenis <kettenis@gnu.org>
19657
19658 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
19659
19703c4a
MC
196602004-01-05 Michael Chastain <mec.gnu@mindspring.com>
19661
19662 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
19663 hppa*-hp-hpux*.
19664
18b67037
MK
196652004-01-04 Mark Kettenis <kettenis@gnu.org>
19666
ba6219c8
MK
19667 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19668 x86_64-*-*.
19669
18b67037
MK
19670 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19671 sparc64-*-* and sparc*-solaris2*.
19672
1bfbbb9d
MK
196732004-01-04 Mark Kettenis <kettenis@gnu.org>
19674
19675 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
19676 return ${tests}" test. The ${tests} already mentions the
19677 filename.
19678
06846494
MC
196792004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19680
19681 * gdb.cp/local.exp: Accept gcc abi 2.
19682
3b0cb202
MC
196832004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19684
19685 * gdb.cp/templates.exp: Accept gcc abi 2.
19686
0643ec3f
MC
196872004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19688
19689 * lib/compiler.cc: Remove supports_template_debugging.
19690 * gdb.cp/templates.exp: Do not test supports_template_debugging.
19691
d231d0b1
MC
196922004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19693
19694 * gdb.cp/namespace.exp: Accept gcc abi 2.
19695
44ffb27c
MC
196962004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19697
19698 * gdb.cp/method.exp: Accept gcc abi 2.
19699
184ad485
MC
197002004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19701
19702 * gdb.cp/classes.exp: Generate identical results as old version.
19703 * gdb.cp/derivation.exp: Likewise.
19704 * gdb.cp/overload.exp: Likewise.
19705 * gdb.cp/virtfunc.exp: Likewise.
19706
116f09e7
MC
197072004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19708
19709 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
19710 mysterious bug with sourceware version of expect.
19711
b1379776
MC
197122004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19713
19714 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
19715 current versions of gcc, including gcc abi 2. Remove gratuitous
19716 restart of test program. Use gdb_test_multiple and gdb_test for
19717 all tests. Add patterns to xfail missing "const" in "const char *"
19718 and kfail PR gdb/1155.
19719
6b7a4c0e
MC
197202004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19721
19722 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
19723 current versions of gcc, including gcc abi 2. Remove gratuitous
19724 restart of test program. Use gdb_test_multiple and gdb_test for
19725 all tests. Add patterns to kfail PR gdb/1498.
19726
51615d72
MC
197272003-12-31 Michael Chastain <mec.gnu@mindspring.com>
19728
19729 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
19730 current versions of gcc, including gcc abi 2. Use "breakpoint"
19731 and "continue" instead of restarting the target program. Use
19732 gdb_test_multiple and gdb_test for all tests.
19733
7b79a9d7
MK
197342004-01-01 Mark Kettenis <kettenis@gnu.org>
19735
19736 * gdb.asm/asm-source.exp: Update copyright year. Link statically
19737 for *-*-solaris2*.
19738
1cd3489f
MC
197392003-12-31 Michael Chastain <mec.gnu@mindspring.com>
19740
19741 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
19742 current versions of gcc, including gcc abi 2. Use "breakpoint"
19743 and "continue" instead of restarting the target program several
19744 times. Use gdb_test_multiple and gdb_test for all tests.
19745
850742db
MC
197462003-12-18 Michael Chastain <mec.gnu@mindspring.com>
19747
19748 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
19749 source files.
19750
eb4bbda8
MC
197512003-12-16 Michael Chastain <mec.gnu@mindspring.com>
19752
19753 * gdb.base/environ.exp: Handle compiling test case from multiple
19754 source files.
19755
e42c7771
MC
197562003-12-16 Michael Chastain <mec.gnu@mindspring.com>
19757
19758 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
19759
80e4b428
JB
197602003-12-17 Jim Blandy <jimb@redhat.com>
19761
5f06973a
JB
19762 * gdb.base/freebpcmd.c: Add copyright notice.
19763
80e4b428
JB
19764 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
19765
0ab84fb7
MC
197662003-12-16 Michael Chastain <mec.gnu@mindspring.com>
19767
19768 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
19769
1b3bb3d0
JB
197702003-12-13 Jim Blandy <jimb@redhat.com>
19771
19772 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
19773
3a4c9371
KB
197742003-12-12 Kevin Buettner <kevinb@redhat.com>
19775
19776 * gdb.asm/frv.inc: New file.
19777 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
19778
a1dea79a
FF
197792003-12-09 Fred Fish <fnf@redhat.com>
19780
19781 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
19782 functions to break1.c and leave prototypes behind. Add more
19783 "set breakpoint NN here" comments.
19784 * gdb.base/break1.c: New file.
19785
19786 * gdb.base/break.exp: Handle compiling test case from multiple
19787 source files and change source file references as needed.
19788 * gdb.base/completion.exp: Ditto.
19789 * gdb.base/condbreak.exp: Ditto.
19790 * gdb.base/define.exp: Ditto.
19791 * gdb.base/ena-dis-br.exp: Ditto.
19792 * gdb.base/info-proc.exp: Ditto.
19793 * gdb.base/maint.exp: Ditto.
19794 * gdb.base/until.exp: Ditto.
19795
19796 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
19797 hardcoded line numbers.
19798 * gdb.base/define.exp: Ditto.
19799 * gdb.base/ena-dis-br.exp: Ditto.
19800 * gdb.base/maint.exp: Ditto.
19801 * gdb.base/until.exp: Ditto.
19802
19803 * gdb.base/completion.exp: Use "break1" for completion tests since
19804 "break" is no longer a unique prefix.
19805
5266b69c
AC
198062003-12-06 Andrew Cagney <cagney@redhat.com>
19807
19808 * gdb.base/structs.exp (test_struct_returns): When applicable, set
19809 "return_value_unimplemented". When an unimplemented struct return
19810 architecture, report incorrect values as a KFAIL
19811
374451f0
MC
198122003-12-05 Michael Chastain <mec.gnu@mindspring.com>
19813
19814 * gdb.cp/rtti.exp: Accept new wording of warning from
19815 cp_lookup_rtti_type.
19816
ba9b20a7
MC
198172003-12-05 Michael Chastain <mec.gnu@mindspring.com>
19818
19819 Partial fix for PR testsuite/1456.
19820 * gdb.base/scope.exp (test_at_main): Replace references to
19821 gcc_compiled with calls to test_compiler_info.
19822 (test_at_foo): Likewise.
19823 (test_at_bar): Likewise.
19824
b74b6d0b
MC
198252003-12-04 Michael Chastain <mec.gnu@mindspring.com>
19826
19827 Partial fix for PR testsuite/1456.
19828 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
19829 to test_compiler_info.
19830
ccfa3402
MC
198312003-12-03 Michael Chastain <mec.gnu@mindspring.com>
19832
19833 * gdb.base/so-impl-ld.exp: Update copyright notice.
19834
f6246aba
MC
198352003-12-02 Michael Chastain <mec.gnu@mindspring.com>
19836
19837 Partial fix for PR testsuite/1456.
19838 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
19839 to test_compiler_info.
19840
13ae734a
MC
198412003-11-28 Michael Chastain <mec.gnu@mindspring.com>
19842
19843 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
19844 from current versions of gdb. Clean up regular expressions.
19845 Delete redundant timeout case.
19846
d8e1cdee
MC
198472003-11-28 Michael Chastain <mec.gnu@mindspring.com>
19848
19849 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
19850 from current versions of gdb. Clean up regular expressions.
19851 Delete redundant timeout case.
19852
96457b64
MC
198532003-12-01 Michael Chastain <mec.gnu@mindspring.com>
19854
19855 Partial fix for PR testsuite/1456.
19856 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
19857 gcc_compiled with call to test_compiler_info.
19858
f35309fc
MC
198592003-11-30 Michael Chastain <mec.gnu@mindspring.com>
19860
19861 Partial fix for PR testsuite/1456.
19862 * gdb.base/list.exp (test_list_function): Delete unused declaration
19863 of gcc_compiled.
19864
d7afdf9b
MC
198652003-11-29 Michael Chastain <mec.gnu@mindspring.com>
19866
19867 Partial fix for PR testsuite/1456.
19868 * gdb.base/complex.exp: Replace reference to gcc_compiled with
19869 call to test_compiler_info.
19870
71507b56
MK
198712003-11-29 Mark Kettenis <kettenis@gnu.org>
19872
19873 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
19874 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
19875 it to create the appropriate note.inc.
19876 * gdb.asm/asmsrc1.s: Include "note.inc".
19877 * gdb.asm/netbsd.inc: New file.
19878 * gdb.asm/empty.inc: New file.
19879
f81f93f7
MC
198802003-11-28 Michael Chastain <mec.gnu@mindspring.com>
19881
19882 Partial fix for PR testsuite/1456.
19883 * gdb.base/constvars.exp: Replace references to gcc_compiled with
19884 calls to test_compiler_info.
19885
9a77938e
MC
198862003-11-27 Michael Chastain <mec.gnu@mindspring.com>
19887
19888 Partial fix for PR testsuite/1456.
19889 * gdb.base/volatile.exp: Replace references to gcc_compiled with
19890 calls to test_compiler_info.
19891
e8367dc7
MK
198922003-11-27 Mark Kettenis <kettenis@gnu.org>
19893
19894 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
19895 pattern for the KFAILs.
19896
526c61ee
AF
198972003-11-25 Adam Fedor <fedor@gnu.org>
19898
19899 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
19900 * gdb.objc/objcdecode.m: New file.
19901
28f2d600
AF
199022003-11-25 Adam Fedor <fedor@gnu.org>
19903
19904 * gdb.objc/nondebug.exp: Test for PR objc/1236.
19905 * gdb.objc/nondebug.m: New file.
19906
a3895cee
BE
199072003-11-26 Ben Elliston <bje@wasabisystems.com>
19908
19909 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
19910 NetBSD as it does on FreeBSD. Modelled on a similar change by
19911 Mark Kettenis on 2003-05-30.
19912 (link-flags): Set to "--entry _start" regardless of target.
19913 Special linker flags are to be appended to $link-flags.
19914 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
19915
c9f2c8a3
MC
199162003-11-25 Michael Chastain <mec.gnu@mindspring.com>
19917
19918 * gdb.cp/method.exp: Accept output of new demangler.
19919
15a0587a 199202003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
19921
19922 * gdb/class2.exp: New file.
19923 * gdb/class2.cc: New file.
19924
3c00b570
MC
199252003-11-25 Michael Chastain <mec.gnu@mindspring.com>
19926
19927 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
19928 of new demangler.
19929
7027acc7
MK
199302003-11-23 Mark Kettenis <kettenis@gnu.org>
19931
19932 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
19933 of gdb_test "run".
19934
b0e1598a
MK
199352003-11-23 Mark Kettenis <kettenis@gnu.org>
19936
19937 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
19938 "continue" into "run".
19939
4d9eda44
MC
199402003-11-23 Michael Chastain <mec.gnu@mindspring.com>
19941
19942 Partial fix for PR testsuite/1456.
19943 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
19944 call to test_compiler_info.
19945 * gdb.cp/ctti.exp: Likewise.
19946 * gdb.cp/derivation.exp: Likewise.
19947 * gdb.cp/member-ptr.exp: Likewise.
19948 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
19949 reference to gcc_compiled.
19950
199512003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
19952
19953 Fix PR testsuite/1463.
19954 * gdb.base/structs.exp (start_structs_test): Call
19955 get_debug_format before using the debug format.
19956
d422fe19
AC
199572003-11-22 Andrew Cagney <cagney@redhat.com>
19958
19959 * lib/gdb.exp (gdb_test_multiple): Add simple example.
19960 * gdb.base/structs.exp: Use gdb_test_multiple.
19961
039cf96d
AC
199622003-11-20 Andrew Cagney <cagney@redhat.com>
19963
6882279b
AC
19964 * gdb.base/structs.exp: Handle and recover from internal errors.
19965 Replace "foo${n}" with "foo<n>" in test messages.
19966
e53890ae
AC
19967 * gdb.base/structs.exp: Update copyright. Rewrite.
19968 * gdb.base/structs.c: Update copyright. Rewrite.
19969
2b211c59
AC
19970 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
19971 resync count exceeded.
d63a86f8 19972
039cf96d
AC
19973 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
19974 from the internal error.
19975 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
19976 Original from Jim Blandy.
19977 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 19978
eac98b22
AC
199792003-11-19 Andrew Cagney <cagney@redhat.com>
19980
19981 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
19982 KFAIL.
19983
67455b2a
MK
199842003-11-17 Mark Kettenis <kettenis@gnu.org>
19985
19986 New testcase for PR backtrace/1435.
19987 * gdb.arch/i386-unwind.exp: New file.
19988 * gdb.arch/i386-unwind.c: New file.
19989
853d6e5b
AC
199902003-11-17 Andrew Cagney <cagney@redhat.com>
19991
19992 * lib/gdb.exp (compiler_info): New global.
19993 (test_compiler_info): New function.
19994 (get_compiler_info): Set compiler_info.
19995 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
19996 "compiler_info" to gcc-<major>-<minor>.
19997
38cf6e11
MC
199982003-11-15 Michael Chastain <mec.gnu@mindspring.com>
19999
20000 * gdb.trace/configure: Remove.
20001
a50d3602
EZ
200022003-11-13 Elena Zannoni <ezannoni@redhat.com>
20003
20004 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 20005 breakpoints.
a50d3602
EZ
20006 * gdb.base/break.exp: Remove all references to explicit line
20007 numbers.
20008
d9407aaa
NC
200092003-11-11 Nick Clifton <nickc@redhat.com>
20010
20011 * gdb.base/shreloc.exp: Do not run for targets which do not
20012 support shared objects.
20013
db488fc1
CV
200142003-11-10 Corinna Vinschen <vinschen@redhat.com>
20015
20016 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
20017 Don't run tests if nofileio flag is given.
20018
6a90a18e
EZ
200192003-11-07 Elena Zannoni <ezannoni@redhat.com>
20020
20021 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 20022 as well as 'Watchpoint'.
6a90a18e 20023
0b915e9c
EZ
200242003-11-06 Elena Zannoni <ezannoni@redhat.com>
20025
20026 Reported by Jim Ingham <jingham@apple.com>:
20027 * gdb.base/annota1.exp: Match at least one occurrence of the
20028 signal handler annotation.
20029
d7e4b55f
EZ
200302003-11-06 Elena Zannoni <ezannoni@redhat.com>
20031
a9c64011
AS
20032 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
20033 as well as 'Watchpoint'.
d7e4b55f 20034
2fe4e8d0
MC
200352003-11-05 Michael Chastain <mec@shout.net>
20036
20037 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
20038
6ef88553
KW
200392003-11-03 Kris Warkentin <kewarken@qnx.com>
20040
20041 * gdb.arch/gdb1291.c: New test file.
20042 * gdb.arch/gdb1291.exp: New test script.
20043 * gdb.arch/gdb1431.c: New test file.
20044 * gdb.arch/gdb1431.exp: New test script.
20045
ae7dc4d8
MC
200462003-10-22 Michael Chastain <mec@shout.net>
20047
20048 * gdb.mi/pthreads.c: Add copyright notice.
20049
c39d7427
MC
200502003-10-22 Michael Chastain <mec@shout.net>
20051
20052 * gdb.threads/pthreads.c: Add copyright notice.
20053
8b7d96c1
MC
200542003-10-20 Michael Chastain <mec@shout.net>
20055
20056 * gdb.base/gdb1056.exp: New test script.
20057
d1d69fdd
DJ
200582003-10-13 Daniel Jacobowitz <drow@mvista.com>
20059
20060 * gdb.threads/killed.exp: Use gdb_run_cmd.
20061
7d605576
DJ
200622003-10-13 Daniel Jacobowitz <drow@mvista.com>
20063
20064 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
20065 create a core file.
20066 * gdb.threads/gcore-thread.exp: Likewise.
20067
618ec112
CV
200682003-10-13 Corinna Vinschen <vinschen@redhat.com>
20069
20070 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
20071 type, based on char type.
20072 (struct bit_flags_short_t): New bitfield type, based on short type.
20073 (init_bit_flags_char): New fuction.
20074 (init_bit_flags_short): Ditto.
20075 (print_bit_flags_char): Ditto.
20076 (print_bit_flags_short): Ditto.
20077 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
20078
9367a73c
MC
200792003-10-11 Michael Chastain <mec@shout.net>
20080
20081 * gdb.base/call-rt-st.exp: Update copyright year.
20082
1decf120
KI
200832003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
20084
20085 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
20086 * gdb.disasm/sh3.s: Ditto.
20087
5445b2ae
DJ
200882003-10-07 Daniel Jacobowitz <drow@mvista.com>
20089
20090 * gdb.threads/switch-threads.exp: New test.
20091 * gdb.threads/switch-threads.c: New source file.
20092
aec24853
CV
200932003-10-07 Corinna Vinschen <vinschen@redhat.com>
20094
20095 * gdb.base/ending-run.exp: Add sh specific case.
20096
adc7428d
AC
200972003-10-06 Andrew Cagney <cagney@redhat.com>
20098
20099 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
20100 * gdb.disasm/mn10200.exp: Delete obsolete file.
20101
c9d37158
DJ
201022003-09-29 Daniel Jacobowitz <drow@mvista.com>
20103
20104 * ChangeLog: Correct an entry command.exp -> commands.exp.
20105 * gdb.base/commands.exp (bp_deleted_in_command_test)
20106 (temporary_breakpoint_commands): Check noargs.
20107
79c2c32d
DC
201082003-09-25 David Carlton <carlton@kealia.com>
20109
20110 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
20111 of some print tests, where appropriate. Add tests for C::D::cd,
20112 E::ce, F::cXfX, G::XgX.
20113 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
20114
594e6d67
RE
201152003-09-25 Richard Earnshaw <rearnsha@arm.com>
20116
20117 * lib/java.exp (java_init): Import target_alias before using it.
20118
10f0d451
DC
201192003-09-25 David Carlton <carlton@kealia.com>
20120
20121 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
20122
274bcba0
EZ
201232003-09-23 Elena Zannoni <ezannoni@redhat.com>
20124
d63a86f8 20125 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 20126 weirdness.
274bcba0 20127
cdbf20f7
MC
201282003-09-17 Michael Chastain <mec@shout.net>
20129
20130 * gdb.cp/gdb1355.exp: New file.
20131 * gdb.cp/gdb1355.c: New file.
20132
71e06f80
CV
201332003-09-15 Corinna Vinschen <vinschen@redhat.com>
20134
20135 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
20136 * gdb.asm/sh.inc: New file.
20137
5c4e30ca
DC
201382003-09-11 David Carlton <carlton@kealia.com>
20139
bd45b7af
DC
20140 * gdb.cp/namespace.exp: Add tests for namespace types.
20141 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
20142 (test_namespace): New.
20143
1c199746
EZ
201442003-09-11 Elena Zannoni <ezannoni@redhat.com>
20145
a9c64011 20146 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 20147 * gdb.stabs/weird.exp: Ditto.
1c199746 20148
04ed252f
MC
201492003-09-08 Michael Chastain <mec@shout.net>
20150
20151 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
20152
d8a2d9e7
MC
201532003-09-07 Michael Chastain <mec@shout.net>
20154
20155 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
20156 'parse error'.
20157
161afb24
MK
201582003-09-07 Mark Kettenis <m.kettenis@osp.nl>
20159
20160 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
20161
49f2741a
MC
201622003-08-30 Michael Chastain <mec@shout.net>
20163
20164 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
20165 * gdb.gdb/observer.exp: Ditto.
20166 * gdb.gdb/xfullpath.exp: Ditto.
20167
8afa723e
MK
201682003-08-29 Mark Kettenis <kettenis@gnu.org>
20169
20170 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
20171 *-*-*bsd*.
20172
f31dfe3b
JJ
201732003-08-28 Jeff Johnston <jjohnstn@redhat.com>
20174
20175 * gdb.base/dump.exp: Skip for ia64.
20176
4630e498
JJ
201772003-08-25 Jeff Johnston <jjohnstn@redhat.com>
20178
20179 * gdb.asm/asm-source.exp: Add ia64 support.
20180 * gdb.asm/ia64.inc: New file.
20181
1105b7ef
MC
201822003-08-22 Michael Chastain <mec@shout.net>
20183
20184 * gdb.cp: New directory.
20185 * gdb.cp/*: Copy from gdb.c++/*.
20186 * gdb.c++/*: Remove.
20187 * Makefile.in: Change gdb.c++ to gdb.cp.
20188 * configure.in: Ditto.
20189 * configure: Regnerate.
20190
c945b932
MK
201912003-08-18 Mark Kettenis <kettenis@gnu.org>
20192
20193 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
20194 * gdb.arch/i386-prologue.c (gdb1338): Add function.
20195
2b66634b
DJ
201962003-08-17 Daniel Jacobowitz <drow@mvista.com>
20197
20198 * mi-var-display.exp (-var-list-children weird): Accept function
20199 pointers with argument types.
20200 * mi1-var-display.exp (-var-list-children weird): Likewise.
20201 * mi2-var-display.exp (-var-list-children weird): Likewise.
20202
a356f73b
DJ
202032003-08-17 Daniel Jacobowitz <drow@mvista.com>
20204
20205 * gdb.base/annota3.exp: Add missing newline.
20206
483417b8
MC
202072003-08-06 Michael Chastain <mec@shout.net>
20208
20209 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
20210
c99c59c3
MS
202112003-08-12 Michael Snyder <msnyder@redhat.com>
20212
20213 * gdb.base/float.exp: Add test for SH.
20214
55ed7501
MK
202152003-08-10 Mark Kettenis <kettenis@gnu.org>
20216
20217 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
20218
1a371f2e
EZ
202192003-08-07 Elena Zannoni <ezannoni@redhat.com>
20220
20221 * gdb.base/completion.exp: Remove reduntant completion test
20222 on filename.
20223
e0f353ce
EZ
202242003-08-07 Elena Zannoni <ezannoni@redhat.com>
20225
a9c64011
AS
20226 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
20227 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
20228 gdb.trace/save-trace.exp: Make sure that full pathnames are
20229 escaped correctly.
e0f353ce 20230
5710a1af 202312003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 20232
a9c64011
AS
20233 * configure.in: Don't generate config.h from config.hin.
20234 * configure: Regenerate.
20235 * config.hin: Remove file.
20236 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
20237 * gdb.threads/pthreads.c: Ditto.
5710a1af 20238
dcd81ce9
DJ
202392003-08-07 Daniel Jacobowitz <drow@mvista.com>
20240
20241 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20242 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
20243 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
20244 Replace ld24 with seth/add3.
20245
6009d884
AC
202462003-08-02 Andrew Cagney <cagney@redhat.com>
20247
20248 * gdb.base/annota3.exp: New file.
20249 * gdb.base/annota3.c: New file.
20250 * gdb.c++/annota3.exp: New file.
20251 * gdb.c++/annota3.cc: New file.
20252
51514e06
MC
202532003-07-29 Michael Chastain <mec@shout.net>
20254
20255 * gdb.threads/tls.c (spin): Check errno only if sem_wait
20256 actually failed.
20257 (do_pass): Likewise.
20258 * gdb.threads/tls.exp: Always initialize no_of_threads.
20259
4ee6625b
DJ
202602003-07-27 Daniel Jacobowitz <drow@mvista.com>
20261
20262 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
20263 pattern.
20264 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
20265 * gdb.threads/tls.exp: Recognize one case of the host library not
20266 supporting TLS.
20267
225f2bf6
AC
202682003-07-27 Andrew Cagney <cagney@redhat.com>
20269
20270 * gdb.base/fileio.exp: Use SH when running commands using
20271 remote_exec.
20272
bcb27c9f
DJ
202732003-07-24 Daniel Jacobowitz <drow@mvista.com>
20274
20275 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20276 * gdb.base/relocate.c (dummy): New padding array.
20277
3d67be83
MS
202782003-07-22 Michael Snyder <msnyder@redhat.com>
20279
d63a86f8 20280 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
20281
20282 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
20283 patterns to be more general, accepting old and new output.
20284 Some output chars (such as '+') also must be quoted.
d63a86f8 20285 Some addresses are displayed numerically instead of
3d67be83
MS
20286 symbolically.
20287
57ba3b85
MS
202882003-07-23 Michael Snyder <msnyder@redhat.com>
20289
686d097c
MS
20290 * gdb.base/return2.exp: Don't test long-long return.
20291
57ba3b85
MS
20292 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
20293 * gdb.disasm/t01_mov.exp: Ditto.
20294 * gdb.disasm/t02_mova.s: Ditto.
20295 * gdb.disasm/t02_mova.exp: Ditto.
20296 * gdb.disasm/t03_add.s: Ditto.
20297 * gdb.disasm/t03_add.exp: Ditto.
20298 * gdb.disasm/t04_sub.s: Ditto.
20299 * gdb.disasm/t04_sub.exp: Ditto.
20300 * gdb.disasm/t05_cmp.s: Ditto.
20301 * gdb.disasm/t05_cmp.exp: Ditto.
20302 * gdb.disasm/t06_ari2.s: Ditto.
20303 * gdb.disasm/t06_ari2.exp: Ditto.
20304 * gdb.disasm/t07_ari3.s: Ditto.
20305 * gdb.disasm/t07_ari3.exp: Ditto.
20306 * gdb.disasm/t08_or.s: Ditto.
20307 * gdb.disasm/t08_or.exp: Ditto.
20308 * gdb.disasm/t09_xor.s: Ditto.
20309 * gdb.disasm/t09_xor.exp: Ditto.
20310 * gdb.disasm/t10_and.s: Ditto.
20311 * gdb.disasm/t10_and.exp: Ditto.
20312 * gdb.disasm/t11_logs.s: Ditto.
20313 * gdb.disasm/t11_logs.exp: Ditto.
20314 * gdb.disasm/t12_bit.s: Ditto.
20315 * gdb.disasm/t12_bit.exp: Ditto.
20316 * gdb.disasm/t13_otr.s: Ditto.
20317 * gdb.disasm/t13_otr.exp: Ditto.
20318
e00759ef
EZ
203192003-07-22 Elena Zannoni <ezannoni@redhat.com>
20320
20321 * gdb.threads/tls.exp :Add kfail for 'info address' case.
20322
8bc2021f
EZ
203232003-07-22 Elena Zannoni <ezannoni@redhat.com>
20324
a9c64011
AS
20325 * gdb.threads/tls.c : New file.
20326 * gdb.threads/tls.exp : New file.
20327 * gdb.threads/tls-main.c : New file.
20328 * gdb.threads/tls-shared.c : New file.
20329 * gdb.threads/tls-shared.exp : New file.
8bc2021f 20330
89320c4c
AS
203312003-07-22 Andreas Schwab <schwab@suse.de>
20332
20333 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
20334
180dea7c
AS
203352003-07-20 Andreas Schwab <schwab@suse.de>
20336
20337 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
20338 due to insn reordering.
20339
0714963c
AC
203402003-07-15 Andrew Cagney <cagney@redhat.com>
20341
20342 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
20343
98a23b3f
MC
203442003-07-15 Michael Chastain <mec@shout.net>
20345
20346 * gdb.base/gdb1250.exp: New file.
20347 * gdb.base/gdb1250.c: New file.
20348
27e417a2
ML
203492003-07-09 Michal Ludvig <mludvig@suse.cz>
20350
20351 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
20352 expansion of size_t to 'unsigned long', not only to 'unsigned'.
20353
8bc2021f
EZ
203542003-07-09 Elena Zannoni <ezannoni@redhat.com>
20355
a9c64011
AS
20356 * gdb.threads/tls.c: New file.
20357 * gdb.threads/tls.exp: New file.
20358 * gdb.threads/tls-main.c: New file.
20359 * gdb.threads/tls-shared.c: New file.
20360 * gdb.threads/tls-shared.exp: New file.
8bc2021f 20361
d99968dc
EZ
203622003-07-09 Elena Zannoni <ezannoni@redhat.com>
20363
20364 * gdb.base/annota1.exp: Make sure that we properly escape the
20365 full path of the source file. Xfail more permissive patterns,
d63a86f8 20366 due to a compiler debug info problem.
d99968dc 20367
83876b3b
AS
203682003-07-07 Andreas Schwab <schwab@suse.de>
20369
2705e972
AS
20370 * gdb.asm/m68k.inc: New file.
20371 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
20372
83876b3b
AS
20373 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
20374 arguments"): Also match negative number.
20375
20376 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
20377
3a871b37
DJ
203782003-07-03 Daniel Jacobowitz <drow@mvista.com>
20379
20380 * gdb.base/store.c (charest): New typedef.
20381 (add_char): Rename to add_charest, update.
20382 (wack_char): Rename to wack_charest, update types. Return l + r
20383 to keep r live across the call.
20384 (wack_short, wack_int, wack_long, wack_longest, wack_float)
20385 (wack_double, wack_doublest): Return l + r to keep r live across
20386 the call.
20387 * gdb.base/store.exp: Accomodate store.c changes.
20388
b2a7f303
DC
203892003-06-30 David Carlton <carlton@kealia.com>
20390
20391 * gdb.c++/maint.exp (test_invalid_name): New.
20392 (test_first_component): Add tests for invalid names.
20393
3c6cb4a1
MC
203942003-06-29 Michael Chastain <mec@shout.net>
20395
20396 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
20397 output of '<VTT for class>' for virtual base classes.
20398
f1c2644b
DJ
203992003-06-29 Daniel Jacobowitz <drow@mvista.com>
20400
20401 * gdb.base/completion.exp: Tab-complete "complet" instead of
20402 "compl".
20403 * gdb.base/complex.exp, gdb.base/complex.c: New files.
20404
18080350
DJ
204052003-06-29 Daniel Jacobowitz <drow@mvista.com>
20406
20407 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
20408 * gdb.base/volatile.exp: Likewise.
20409
f56973f8
DJ
204102003-06-29 Daniel Jacobowitz <drow@mvista.com>
20411
20412 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
20413 gdb/1265.
20414
204152003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
20416 Daniel Jacobowitz <drow@mvista.com>
20417
20418 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
20419 initial line count of 'captured_main' from 26 to 32.
20420 (test_with_self): Allow xmalloc call to be interleaved with the
20421 preceding two lines.
20422
e766d4d6
JB
204232003-06-24 Joel Brobecker <brobecker@gnat.com>
20424
20425 * gdb.base/bang.exp: New testcase.
20426
f125c9a4
JB
204272003-06-23 Joel Brobecker <brobecker@gnat.com>
20428
20429 * gdb.base/langs.exp: Add some tests for the "minimal" language
20430 support.
20431
6e25beaf
EZ
204322003-06-23 Elena Zannoni <ezannoni@redhat.com>
20433
20434 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
20435 the testcase.
20436
2f816dda
DJ
204372003-06-22 Daniel Jacobowitz <drow@mvista.com>
20438
20439 * gdb.base/relocate.exp: Test add-symbol-file with a variable
20440 offset.
20441
db5a5748
DJ
204422003-06-22 Daniel Jacobowitz <drow@mvista.com>
20443
20444 * gdb.c++/pr-1210.cc: New file.
20445 * gdb.c++/pr-1210.exp: New file.
20446
1df0c130
DJ
204472003-06-21 Daniel Jacobowitz <drow@mvista.com>
20448
20449 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
20450 000-exec-continue.
20451
a92feac0
MK
204522003-06-15 Mark Kettenis <kettenis@gnu.org>
20453
20454 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
20455 on *-*-*bsd* instead of *-*-freebsd*.
20456
81a58f5b
AC
204572003-06-14 Andrew Cagney <cagney@redhat.com>
20458
20459 * gdb.base/store.exp: Test longest and doublest. Test all
20460 parameters. Weaken return statement match.
20461 * gdb.base/store.c: Add longest and doublest - aka long long and
20462 long double functions. Put all parameters into local register
20463 variables. Use negative values.
20464
b257a0d3
AC
204652003-06-14 Andrew Cagney <cagney@redhat.com>
20466
20467 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
20468 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
20469 exit status.
20470 * gdb.base/fileio.exp: Disable target when nointerrupts and
20471 noinferiorio, instead of limiting it to remote. Use remote_exec
20472 instead of system.
d63a86f8 20473
21c38304
JJ
204742003-06-12 Jeff Johnston <jjohnstn@redhat.com>
20475
20476 * gdb.base/float.exp: Add ia64 support.
20477
1bcdb424
CV
204782003-06-12 Corinna Vinschen <vinschen@redhat.com>
20479
20480 * gdb.base/fileio.exp: Run only on remote targets.
20481
6aeb981f
CV
204822003-06-10 Corinna Vinschen <vinschen@redhat.com>
20483
20484 * gdb.base/fileio.c: New file, testing File-I/O.
20485 * gdb.base/fileio.exp: Ditto.
20486
53df362e
RG
204872003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
20488
20489 * gdb.base/shreloc.exp: New file, check symbol values obtained from
20490 shared objects after relocation at load time (gdb PR/1132).
20491 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 20492 as above, part of the shared object relocation test.
53df362e 20493
ffee1b46
MK
204942003-06-08 Mark Kettenis <kettenis@gnu.org>
20495
b5ca3722
MK
20496 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
20497 fully filled history list.
20498 * gdb.base/gdb_history: New file.
20499
03ed860d
MK
20500 * gdb.base/signals.exp: XFAIL "continue to func1" on
20501 i*86-*-freebsd*.
20502
ffee1b46
MK
20503 * gdb.base/attach.exp: When trying to attach to a nonexistent
20504 process, make it possible to specify the PID based on the target,
20505 and do so for *-*-freebsd*.
20506
d80dbb52
RH
205072003-06-02 Richard Henderson <rth@redhat.com>
20508
20509 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
20510
6dd77b81
RH
205112003-06-02 Richard Henderson <rth@redhat.com>
20512
20513 * gdb.base/selftest.exp: Next over lim_at_start initialization.
20514
f6347e16
RH
205152003-06-02 Richard Henderson <rth@redhat.com>
20516
20517 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
20518
2c161407
DJ
205192003-06-01 Daniel Jacobowitz <drow@mvista.com>
20520
20521 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
20522 of globalvar.
20523
572eb746
MK
205242003-06-01 Mark Kettenis <kettenis@gnu.org>
20525
20526 * gdb.asm/asm-source.exp: Check for memory read errors in
20527 disassembler test on *BSD too.
20528
9e9617a5
RH
205292003-06-01 Richard Henderson <rth@redhat.com>
20530
20531 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
20532 for .frame.
20533 (gdbasm_call): Lose ldgp.
20534 (gdbasm_startup): Add frame information.
20535 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
20536
7b34ad4e
MK
205372003-05-31 Mark Kettenis <kettenis@gnu.org>
20538
20539 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
20540 i?86-*-*.
20541
10059fdf
MK
205422003-05-30 Mark Kettenis <kettenis@gnu.org>
20543
20544 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20545 FreeBSD.
20546
acf4b816
RH
205472003-05-29 Richard Henderson <rth@redhat.com>
20548
20549 * gdb.asm/alpha.inc: New file.
20550 * gdb.asm/asm-source.exp: Use it.
20551
e9ecd949
JB
205522003-05-29 Jim Blandy <jimb@redhat.com>
20553
20554 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
20555 'core.PID'.
20556
e3e5a4f3
JB
205572003-05-22 Jim Blandy <jimb@redhat.com>
20558
20559 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
20560 backtrace.
d63a86f8 20561
72fe3d25
DC
205622003-05-20 David Carlton <carlton@math.stanford.edu>
20563
20564 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
20565 this time.
20566
58da2eb2
DC
205672003-05-19 David Carlton <carlton@bactrian.org>
20568
20569 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
20570 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
20571
1fcb5155
DC
205722003-05-19 David Carlton <carlton@bactrian.org>
20573
20574 * gdb.c++/namespace.exp: Add namespace scope and anonymous
20575 namespace tests.
20576 Bump copyright date.
20577 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
20578 (main): Call C::D::marker2.
20579 * gdb.c++/namespace1.cc: New file.
20580
85e85163
JJ
205812003-05-14 Jeff Johnston <jjohnstn@redhat.com>
20582
20583 Roland McGrath <roland@redhat.com>
d63a86f8 20584 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
20585 there is no manager thread.
20586
a25fbfec
JJ
205872003-05-08 Jeff Johnston <jjohnstn@redhat.com>
20588
d63a86f8
RM
20589 * gdb.threads/schedlock.exp: Remove assumption that all threads
20590 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
20591 in one of the child threads rather than the main thread.
20592
be375bae
JB
205932003-05-07 Jim Blandy <jimb@redhat.com>
20594
09bf6082
JB
20595 Add support for assembly source testing on the s390x.
20596 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
20597 architecture.
20598 * gdb.asm/s390x.inc: New file.
20599
be375bae
JB
20600 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
20601 succession of 'if' statements.
20602
00905d52
AC
206032003-05-05 Andrew Cagney <cagney@redhat.com>
20604
20605 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
20606
b1e29e33
AC
206072003-05-05 Andrew Cagney <cagney@redhat.com>
20608
20609 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
20610 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
20611
e33d66ec
EZ
206122003-05-02 Elena Zannoni <ezannoni@redhat.com>
20613
20614 * gdb.base/charset.exp: Update based on new behavior of set/show
20615 charset commands.
20616
2b6fd0d8
AC
206172003-05-01 Andrew Cagney <cagney@redhat.com>
20618
20619 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
20620 variable do not give memory errors.
20621
130cacce
AF
206222003-04-30 Adam Fedor <fedor@gnu.org>
20623
20624 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
20625 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
20626 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
20627 gdb.objc/basicclass.m: : New files
20628
20629 * lib/gdb.exp (gdb_compile_objc): New procedure.
20630
bea71854
DJ
206312003-04-27 Daniel Jacobowitz <drow@mvista.com>
20632
20633 * gdb.base/signals.exp: Make backtrace tests more specific.
20634
0f20eeea
DC
206352003-04-23 David Carlton <carlton@bactrian.org>
20636
20637 * gdb.c++/maint.exp (test_first_component): Add tests for
20638 'operator' in more locations.
20639
c8c4d8dc
KB
206402003-04-16 Kevin Buettner <kevinb@redhat.com>
20641
20642 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
20643
3fe60e3c
EZ
206442003-04-16 Elena Zannoni <ezannoni@redhat.com>
20645
20646 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 20647 func marke' instead. Update test name.
3fe60e3c 20648
9219021c
DC
206492003-04-15 David Carlton <carlton@math.stanford.edu>
20650
20651 * gdb.c++/maint.exp: New file.
20652
5dd55bdd
EZ
206532003-04-14 Elena Zannoni <ezannoni@redhat.com>
20654
20655 * gdb.threads/schedlock.c: Change type of thread function argument
20656 to long, to avoid warnings on 64-bit platforms.
20657
00890572
EZ
206582003-04-14 Elena Zannoni <ezannoni@redhat.com>
20659
a9c64011
AS
20660 * gdb.base/attach.exp: Add new message from ptrace in case of
20661 attaching to nonexistent process.
d63a86f8 20662
93201743
JB
206632003-04-11 Jim Blandy <jimb@redhat.com>
20664
20665 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20666 gdb.c++/userdef.cc: Place comments on the lines to which the
20667 marker function might return.
20668 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20669 gdb.c++/userdef.exp: Look for those comments to check that we've
20670 returned to the right place, instead of checking line numbers.
20671
2a11c64d
EZ
206722003-04-11 Elena Zannoni <ezannoni@redhat.com>
20673
a9c64011
AS
20674 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
20675 match on sourcefile name, instead of directory name.
2a11c64d 20676
68ab8fc5
EZ
206772003-04-10 Elena Zannoni <ezannoni@redhat.com>
20678
d63a86f8 20679 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
20680 working directory name.
20681
5624293a
JB
206822003-04-09 Jim Blandy <jimb@redhat.com>
20683
20684 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20685 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
20686 after an inferior function call, report the failure, but allow the
20687 test to continue.
20688
f1f02ee4
SC
206892003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20690
20691 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20692 with -DPROTOTYPES.
20693
6eb79af0
SC
206942003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20695
20696 * gdb.base/break.exp: Revert last patch.
20697
8dfb4cf0
SC
206982003-04-04 Stephane Carrez <stcarrez@nerim.fr>
20699
20700 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20701 with -DPROTOTYPES.
20702
ed4c619a
AC
207032003-04-02 Andrew Cagney <cagney@redhat.com>
20704
20705 * gdb.base/callfuncs.exp: Make "print add" messages unique.
20706 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
20707 matching directories by the name breakpoint.
20708 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
20709 Make "continue to marker1" consistent.
20710 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
20711 message consistent.
20712 * lib/gdb.exp: Put "the program is no longer running", and "the
20713 program exited" in parenthesis.
20714 * lib/mi-support.exp: Ditto.
d63a86f8 20715
4e35d5f0 207162003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 20717
4e35d5f0
BR
20718 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
20719
71900fe8
AC
207202003-03-29 Andrew Cagney <cagney@redhat.com>
20721
20722 * gdb.base/sizeof.c (main): Print the value of '\377'.
20723 * gdb.base/sizeof.exp: Check the sign of '\377'.
20724
c0655a16
MC
207252003-03-27 Michael Chastain <mec@shout.net>
20726
20727 * gdb.base/gdb1090.exp: New file.
20728 * gdb.base/gdb1090.cc: New file.
20729
5b2a3989
JB
207302003-03-27 J. Brobecker <brobecker@gnat.com>
20731
20732 * gdb.gdb/observer.exp: New regression test.
20733
79876890
MC
207342003-03-27 Michael Chastain <mec@shout.net>
20735
20736 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
20737 * gdb.base/ptype.exp: Likewise.
20738
6eac95e3
CV
207392003-03-27 Corinna Vinschen <vinschen@redhat.com>
20740
20741 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
20742
e8c71839
MC
207432003-03-26 Michael Chastain <mec@shout.net>
20744
20745 * gdb.base/ptype.exp: Actually use some typedef'd types.
20746
71b10041
SC
207472003-03-21 Stephane Carrez <stcarrez@nerim.fr>
20748
20749 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
20750 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
20751
2512cf80
CV
207522003-03-20 Corinna Vinschen <vinschen@redhat.com>
20753
20754 * gdb.base/default.exp: Fix regular expression.
20755
0d195a4f
CV
207562003-03-20 Corinna Vinschen <vinschen@redhat.com>
20757
20758 * gdb.base/args.exp: Fix regular expression.
20759
8a2dbca8
CV
207602003-03-20 Corinna Vinschen <vinschen@redhat.com>
20761
20762 * gdb.base/help.exp: Allow Win32 child process.
20763
bf028682
CV
207642003-03-20 Corinna Vinschen <vinschen@redhat.com>
20765
20766 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
20767 when stepping out of main().
20768
182dbe85
CV
207692003-03-20 Corinna Vinschen <vinschen@redhat.com>
20770
20771 * gdb.base/default.exp: Check for win32 specific message when calling
20772 "run" without executable.
20773
d67a6ba5
CV
207742003-03-20 Corinna Vinschen <vinschen@redhat.com>
20775
20776 * gdb.base/args.exp: Expect .exe in output.
20777
a955b5bb
CV
207782003-03-20 Corinna Vinschen <vinschen@redhat.com>
20779
20780 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
20781 Cygwin native.
20782
bf6bad4b
AC
207832003-03-17 Andrew Cagney <cagney@redhat.com>
20784
20785 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
20786 vector registes.
20787 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
20788 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
20789
293e9a31
DC
207902003-03-17 David Carlton <carlton@math.stanford.edu>
20791
20792 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
20793 test, for PR breakpoints/38.
20794 Call test_watchpoint_and_breakpoint.
20795 * gdb.base/watchpoint.c (func3): New function.
20796 (main): Call func3.
20797
5330f2db
DC
207982003-03-04 David Carlton <carlton@math.stanford.edu>
20799
20800 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
20801 Garply<Garply<char> >:: garply".
20802 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
20803 with respect to PR c++/1111; note also PR c++/1113.
20804 (test_template_breakpoints): KFAIL "constructor breakpoint" with
20805 respect to PR c++/1062.
20806 KFAIL "destructor breakpoint" with respect to PR c++/1112.
20807
6ece72da
DC
208082003-03-03 David Carlton <carlton@math.stanford.edu>
20809
20810 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
20811 with respect to PR c++/57.
20812 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
20813 c++/826.
20814 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
20815 respect to PR c++/57.
20816
85ca1584
DC
208172003-03-03 David Carlton <carlton@math.stanford.edu>
20818
20819 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
20820 respect to PR c++/33 into FAILs.
20821
98e9c5b8
MC
208222003-03-03 Michael Chastain <mec@shout.net>
20823
7bedbf27
MC
20824 * configure.in: Update copyright years.
20825
208262003-03-03 Michael Chastain <mec@shout.net>
20827
20828 * Makefile.in: Update copyright years.
98e9c5b8 20829
f683e100
DC
208302003-02-28 David Carlton <carlton@math.stanford.edu>
20831
20832 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
20833 print class instead of struct and/or superfluous protection
20834 specifiers, as long as the resulting output is equivalent to the
20835 source code.
20836 Delete FIXME from end of messages on tests that don't need
20837 fixing.
20838
a9e0cf2c
DC
208392003-02-28 David Carlton <carlton@math.stanford.edu>
20840
20841 * gdb.c++/templates.exp (do_tests): Allow const in the two
20842 Foo<volatile char *>::foo tests.
20843
e8d359df
MS
208442003-02-27 Michael Snyder <msnyder@redhat.com>
20845
d63a86f8 20846 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
20847 will be consistant.
20848
0b71dc91
DC
208492003-02-26 David Carlton <carlton@math.stanford.edu>
20850
20851 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
20852 char *>::foo" test with respect to PR c++/33. Create a new test
20853 which is identical to that one except that it doesn't put the
20854 space between the "char" and the "*"; KFAIL it, too.
20855
dd14ab43
DC
208562003-02-26 David Carlton <carlton@math.stanford.edu>
20857
20858 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
20859 template types into either PASSes or KFAILs (corresponding to PR
20860 c++/57). Tweak indentation. Update copyright.
20861
1146c7f1
SC
208622003-02-23 Stephane Carrez <stcarrez@nerim.fr>
20863
20864 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
20865
74641dfb
MC
208662003-02-13 Michael Chastain <mec@shout.net>
20867
20868 * gdb.base/exprs.exp: Remove i960 remnants.
20869 * gdb.base/funcargs.exp: Likewise.
20870 * gdb.base/list.exp: Likewise.
20871 * gdb.base/ptype.exp: Likewise.
20872
559cd2d0
DC
208732003-02-14 David Carlton <carlton@math.stanford.edu>
20874
20875 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
20876 pEe->D::vg()" from XFAIL to KFAIL.
20877
c4f90d87
JM
208782003-02-13 Jason Molenda (jmolenda@apple.com)
20879
20880 * gdb.base/maint.exp: Update maint print statistics regexp to include
20881 new entries.
20882
cbc4d97c
MC
208832003-02-13 Michael Chastain <mec@shout.net>
20884
20885 * gdb.c++/inherit.exp: Remove call to get_debug_format.
20886
40f235b7
MC
208872003-02-12 Michael Chastain <mec@shout.net>
20888
20889 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
20890 * gdb.c++/inherit.exp: Likewise.
20891 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
20892 * gdb.c++/templates.exp: Likewise.
20893 * gdb.c++/virtfunc.exp: Likewise.
20894
c56716b0
JM
208952003-02-06 Jason Molenda (jason-cl@molenda.com)
20896
20897 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
20898 why the code is written that way.
20899
070afcf8
MC
209002003-02-05 Michael Chastain <mec@shout.net>
20901
20902 * gdb.base/dump.exp: Add missing copyright line.
20903
5d0331e5
JM
209042003-02-05 Jason Molenda (jason-cl@molenda.com)
20905
f7ae6d3e 20906 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
20907 at the beginning so the breakpoint doesn't get set on the loop.
20908
92851186
MC
209092003-02-05 Michael Chastain <mec@shout.net>
20910
20911 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
20912 output for configurations with gcc 2.95.3.
20913
cbf1e085
AC
209142003-02-05 Keith Seitz <keiths@redhat.com>
20915 Andrew Cagney <ac131313@redhat.com>
20916
20917 * gdb.mi/mi-cli.exp: New file.
d63a86f8 20918
29518e1e
MC
209192003-02-04 Michael Chastain <mec@shout.net>
20920
20921 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
20922 Call perror and then continue.
20923
5af1d5f3
MC
209242003-02-03 Michael Chastain <mec@shout.net>
20925
20926 * gdb.c++/pr-1023.cc: New file.
20927 * gdb.c++/pr-1023.exp: New file.
20928
6b549786
JB
209292003-02-05 Jim Blandy <jimb@redhat.com>
20930
20931 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
20932 it's local to foobar. Check for it there, and check that it's not
20933 present in main.
20934 * gdb.c++/local.cc (marker2): New function.
20935 (foobar): Call marker1.
20936 (main): Call marker2 instead of marker1.
20937
67f16606
AC
209382003-02-04 Andrew Cagney <ac131313@redhat.com>
20939
20940 * gdb.disasm/mn10200.exp: Obsolete file.
20941 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
20942 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
20943 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
20944
1c5cb38e
DC
209452003-02-04 David Carlton <carlton@math.stanford.edu>
20946
20947 * gdb.c++/overload.exp: Test intToChar(1).
20948 * gdb.c++/overload.cc (intToChar): New.
20949 (main): Call intToChar.
20950
d1fe6965
DC
209512003-02-03 David Carlton <carlton@math.stanford.edu>
20952
20953 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
20954 'might_kfail' arg.
20955 KFAIL some of the continue_to_bp_overloaded calls, according to
20956 PR c++/1025.
20957
9ba61c5d
MC
209582003-02-01 Michael Chastain <mec@shout.net>
20959
20960 * gdb.base/advance.c (marker1): New marker function.
20961 * gdb.base/advance.exp: When the 'advance' command lands on the
20962 return breakpoint, it can legitimately stop on either the
20963 current line or the next line. Accommodate both outcomes.
20964 * gdb.base/until.exp: Likewise.
20965
e7494ffb
AC
209662003-02-02 Andrew Cagney <ac131313@redhat.com>
20967
20968 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
20969 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
20970 now a list, not a tuple.
20971 * gdb.mi/mi-var-display.exp: Ditto.
20972 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 20973
075559bc
AC
209742003-02-01 Andrew Cagney <ac131313@redhat.com>
20975
20976 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
20977 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
20978 stack backtraces.
20979 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 20980
2bd4c7b1
MK
209812003-02-01 Mark Kettenis <kettenis@gnu.org>
20982
20983 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
20984 gdb.mi/mi1-pthreads.exp: Return instead of calling
20985 gdb_suppress_entire_file.
20986
eabd8992
MS
209872003-02-01 Mark Salter <msalter@redhat.com>
20988
20989 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
20990
71469e2f
MS
209912003-01-31 Mark Salter <msalter@redhat.com>
20992
20993 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
20994 Support empty arg.
20995
38a94d44
MC
209962003-01-30 Michael Chastain <mec@shout.net>
20997
20998 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
20999 This was a workaround for a UTF-8 bug in readline 4.3. The bug
21000 has been fixed in gdb/readline on 2003-01-09.
21001
19ea9e73
MS
210022003-01-29 Michael Snyder <msnyder@redhat.com>
21003
e8d359df
MS
21004 * gdb.base/maint.exp: Allow for leading underscore in symbol.
21005 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
21006 * gdb.base/args.exp: Skip if target does not support args passing.
21007
2307bd6a
DJ
210082003-01-22 Daniel Jacobowitz <drow@mvista.com>
21009
19ea9e73 21010 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
21011 gdb_test. Accept a list of expect arguments as the third
21012 parameter.
21013 (gdb_test): Use it.
21014
f2dd3617
EZ
210152003-01-20 Elena Zannoni <ezannoni@redhat.com>
21016
21017 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
21018 allow for different test tree configurations. Update some
21019 tescases accordingly.
21020 * gdb.arch/altivec-regs.exp: Ditto.
21021 * gdb.asm/asm-source.exp: Ditto.
21022 * gdb.base/advance.exp: Ditto.
21023 * gdb.base/display.exp: Ditto.
d63a86f8 21024 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
21025 * gdb.base/mips_pro.exp: Ditto.
21026 * gdb.base/overlays.exp: Ditto.
21027 * gdb.base/relocate.exp: Ditto.
21028 * gdb.base/setshow.exp: Ditto.
21029 * gdb.base/step-line.exp: Ditto.
21030 * gdb.base/step-test.exp: Ditto.
21031 * gdb.base/until.exp: Ditto.
21032 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
21033
c71cdefd
DC
210342003-01-17 David Carlton <carlton@math.stanford.edu>
21035
21036 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
21037 corresponding to PR c++/945.
21038 Update copyright.
21039
fdba05d7
DC
210402003-01-17 David Carlton <carlton@math.stanford.edu>
21041
21042 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
21043 corresponding to PR c++/68.
21044
210452003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
21046
21047 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
21048 (test_paddr_hairy_functions): Call print_addr_2_kfail for
21049 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
21050
c362c33a
EZ
210512003-01-15 Elena Zannoni <ezannoni@redhat.com>
21052
0fbc361c
EZ
21053 * gdb.base/break.exp: Fix change of default location, because of
21054 removal of until tests.
21055 * gdb.base/help.exp: Update test for new 'until' help message.
21056 Add test for help on 'advance'.
a9c64011 21057 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 21058
dabf8a35
MK
210592003-01-15 Mark Kettenis <kettenis@gnu.org>
21060
21061 * gdb.base/default.exp: Adapt "info float" test for recent changes
21062 to that command. Add test for "info vector".
21063 * gdb.base/float.exp: New file. Add test for "info float" that
21064 resembles the old test in gdb.base/default.exp.
21065
a1769aca
DC
210662003-01-15 David Carlton <carlton@math.stanford.edu>
21067
21068 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
21069
82025e13
EZ
210702003-01-15 Elena Zannoni <ezannoni@redhat.com>
21071
21072 * gdb.base/break.exp: Move the tests of until command from here...
21073 * gdb.base/until.exp: ... to here. New file. Add other tests.
21074 * gdb.base/advance.c: New file.
21075 * gdb.base/advance.exp: New file.
21076
8f9ab801
EZ
210772003-01-14 Elena Zannoni <ezannoni@redhat.com>
21078
a9c64011
AS
21079 * gdb.base/args.c: New file.
21080 * gdb.base/args.exp: New file.
8f9ab801 21081
9ae66589
DJ
210822003-01-14 Daniel Jacobowitz <drow@mvista.com>
21083
21084 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
21085
8d77e5c3
DJ
210862003-01-14 Daniel Jacobowitz <drow@mvista.com>
21087
21088 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
21089
12d2f0a1
DJ
210902003-01-14 Daniel Jacobowitz <drow@mvista.com>
21091
21092 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
21093 dates.
21094
6ca37014
DJ
210952003-01-13 Daniel Jacobowitz <drow@mvista.com>
21096
21097 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
21098
b0023472
DJ
210992003-01-13 Daniel Jacobowitz <drow@mvista.com>
21100
21101 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
21102 (ptype &*"foo").
21103 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
21104
607fbc54 211052003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
21106
21107 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
21108 * gdb.mi/mi1-console.exp: Likewise.
21109
607fbc54 211102003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
21111
21112 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
21113 * gdb.mi/mi1-console.exp: Likewise.
21114
a1fb14a2
DJ
211152003-01-13 Daniel Jacobowitz <drow@mvista.com>
21116
21117 * gdb.c++/overload.exp: Remove some fixed XFAILs.
21118
c4cf40b7
DJ
211192003-01-09 Daniel Jacobowitz <drow@mvista.com>
21120
21121 * gdb.base/detach.exp: New test.
21122
696d5a5b
DJ
211232003-01-09 Daniel Jacobowitz <drow@mvista.com>
21124
21125 * Makefile.in (ALL_SUBDIRS): New variable.
21126 (subdirs, clean, distclean): Use it.
21127 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
21128 regenerating Makefile, since it is generated from the top level.
21129 * gdb.asm/Makefile.in: Likewise.
21130 * gdb.base/Makefile.in: Likewise.
21131 * gdb.c++/Makefile.in: Likewise.
21132 * gdb.disasm/Makefile.in: Likewise.
21133 * gdb.java/Makefile.in: Likewise.
21134 * gdb.mi/Makefile.in: Likewise.
21135 * gdb.threads/Makefile.in: Likewise.
21136 * gdb.trace/Makefile.in: Likewise.
21137
754533e4
DC
211382003-01-09 David Carlton <carlton@math.stanford.edu>
21139
21140 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
21141 Add copyright year 2003.
21142
d8b3e9ee
MC
211432003-01-06 Michael Chastain <mec@shout.net>
21144
21145 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
21146 When selecting a thread, 'line' and 'file' are optional.
21147 * gdb.mi/mi1-pthreads.exp: Likewise.
21148
8e9e0fe6
AS
211492003-01-06 Andreas Schwab <schwab@suse.de>
21150
21151 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
21152 failures.
21153
b5ab8ff3
DJ
211542003-01-04 Daniel Jacobowitz <drow@mvista.com>
21155
21156 Fix PR gdb/844
21157 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
21158 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
21159
21160 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
21161 instead of calling gdb_suppress_entire_file.
21162 * gdb.threads/print-threads.exp: Likewise.
21163 * gdb.threads/schedlock.exp: Likewise.
21164
21165 * gdb.threads/killed.exp: Return instead of calling
21166 gdb_suppress_entire_file.
21167 * gdb.threads/linux-dp.exp: Likewise.
21168 * gdb.threads/pthreads.exp: Likewise.
21169
1e698235
DJ
211702003-01-04 Daniel Jacobowitz <drow@mvista.com>
21171
21172 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
21173 stabs.
21174 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
21175 * gdb.base/whatis.exp: Always allow (void) after function names.
21176
147ff08c
DJ
211772003-01-04 Daniel Jacobowitz <drow@mvista.com>
21178
21179 * gdb.c++/casts.exp: Correct regexp.
21180
dc62bfc2
MK
211812003-01-04 Mark Kettenis <kettenis@gnu.org>
21182
21183 * configure.in: Call AC_CONFIG_HEADER. Don't call
21184 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
21185 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
21186 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
21187 aforementioned directories in the AC_OUPUT call.
21188 * config.hin: New file.
21189 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21190 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
21191 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
21192 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
21193 pass -I$objdir instead of -I$objdir/$subdir in compilation.
21194 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
21195 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
21196 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
21197 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
21198 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
21199 gdb.threads/configure.in, gdb.threads/configure,
21200 gdb.threads/config.in, gdb.trace/configure.in,
21201 gdb.trace/configure: Removed.
21202
77afa639
MC
212032003-01-03 Michael Chastain <mec@shout.net>
21204
21205 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
21206 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
21207
7634bb6e
DJ
212082003-01-03 Daniel Jacobowitz <drow@mvista.com>
21209
21210 * gdb.base/store.exp: Fix regular expressions.
21211
b39c905e
MK
212122002-12-28 Mark Kettenis <kettenis@gnu.org>
21213
21214 * configure.in: Rewrite.
21215 * configure: Regenerated.
21216
0a8551dd
DC
212172003-01-03 David Carlton <carlton@math.stanford.edu>
21218
21219 * gdb.base/psymtab.exp: New file.
21220 * gdb.base/psymtab1.c: Ditto.
21221 * gdb.base/psymtab2.c: Ditto.
21222
c60b7188
AF
212232002-12-23 Adam Fedor <fedor@gnu.org>
21224
21225 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
21226
ee73db83
DC
212272002-12-23 David Carlton <carlton@math.stanford.edu>
21228
21229 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
21230 and current_directory initialization.
21231
d6c1774e
JB
212322002-12-22 Jim Blandy <jimb@redhat.com>
21233
f0a847b8
JB
21234 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
21235 rather than as part of the output file name.
21236
d6c1774e
JB
21237 * gdb.base/attach.exp: There's no need to copy the test program to
21238 /tmp; that was only ever necessary on HP/UX, and this test is
21239 entirely disabled there anyway.
21240
f0708dbb
JB
212412002-12-21 Jim Blandy <jimb@redhat.com>
21242
4c2acfea
JB
21243 * gdb.c++/psmang.exp: Doc fix.
21244
f0708dbb
JB
21245 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
21246 test.
21247
9579e000
DC
212482002-12-20 David Carlton <carlton@math.stanford.edu>
21249
21250 * gdb.c++/annota2.exp: KFAIL annotate-quit.
21251
d1810171
MC
212522002-12-18 Michael Chastain <mec@shout.net>
21253
21254 * gdb.c++/annota2.exp: Add copyright year 2002.
21255
76565097
DC
212562002-12-17 David Carlton <carlton@math.stanford.edu>
21257
21258 * gdb.c++/try_catch.cc: Add marker comments.
21259 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
21260 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
21261 * gdb.c++/m-static.cc: Ditto.
21262 * gdb.c++/m-static1.cc: Ditto.
21263 * gdb.c++/try_catch.cc: Ditto.
21264
da81390b
JJ
212652002-12-16 Jeff Johnston <jjohnstn@redhat.com>
21266
21267 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
21268 to see whether we are using the new -environment-directory
21269 command which resets via -r or the old version of the command
21270 which may prompt the user. Part of fix for gdb/741.
21271
b304d130
AC
212722002-12-13 Andrew Cagney <ac131313@redhat.com>
21273
21274 * gdb.fortran/types.exp: Update obsolete comment.
21275 * gdb.fortran/exprs.exp: Ditto.
21276 * lib/gdb.exp: Delete obsolete code.
21277 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
21278 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
21279 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
21280 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
21281 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
21282 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
21283 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
21284 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
21285 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
21286 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
21287 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
21288 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
21289 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
21290 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
21291 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
21292 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
21293 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
21294 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
21295 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
21296 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
21297 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
21298 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
21299 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
21300 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
21301 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
21302 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
21303 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
21304 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
21305 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
21306 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
21307 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
21308 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
21309 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
21310 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
21311 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
21312 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
21313 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
21314
a23b6e6a
DC
213152002-12-11 David Carlton <carlton@math.stanford.edu>
21316
21317 * gdb.c++/m-data.exp: Add test for members that shadow global
21318 variables: see PR gdb/804.
21319 * gdb.c++/m-data.cc: Ditto.
21320
6604731b
DJ
213212002-12-10 Daniel Jacobowitz <drow@mvista.com>
21322
21323 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
21324
de46ecd7
DC
213252002-12-06 David Carlton <carlton@math.stanford.edu>
21326
21327 * gdb.base/store.c: Don't declare functions static.
21328
27e829d0
AC
213292002-12-04 Andrew Cagney <ac131313@redhat.com>
21330
21331 * gdb.base/store.exp, gdb.base/store.c: New files.
21332
92806416
DJ
213332002-12-03 Daniel Jacobowitz <drow@mvista.com>
21334
21335 * gdb.base/selftest.exp: Update for current gdb.
21336
3bcbaac5
DJ
213372002-12-03 Daniel Jacobowitz <drow@mvista.com>
21338
21339 * gdb.base/maint.exp: Only dump symbols from one source file
21340 or objfile.
21341
f4f00b1f
DJ
213422002-12-03 Daniel Jacobowitz <drow@mvista.com>
21343
21344 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
21345 function call.
21346
f1c8a949
JB
213472002-11-25 Jim Blandy <jimb@redhat.com>
21348
21349 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
21350 function appearing in error message.
21351
9e297a97
DJ
213522002-11-21 Daniel Jacobowitz <drow@mvista.com>
21353
21354 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
21355
1f312e79
JJ
213562002-11-08 Jeff Johnston <jjohnstn@redhat.com>
21357
d63a86f8
RM
21358 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
21359 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
21360 should be in mi console format. This is part of fix for PR gdb/604.
21361
83c31e7d
FN
213622002-09-18 Fernando Nasser <fnasser@redhat.com>
21363
21364 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
21365 which explicitly prints the zero offset as "+0".
21366
322b3f65
DJ
213672002-10-22 Daniel Jacobowitz <drow@mvista.com>
21368
21369 * gdb.threads/schedlock.c (args): Make unsigned.
21370
213712002-10-21 Daniel Jacobowitz <drow@mvista.com>
21372
21373 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
21374 numbers. Allow "foo2|selected stack frame".
21375 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
21376 * gdb.asm/asmsrc2.s: Likewise.
21377 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
21378 comments.
21379 * gdb.asm/mips.inc: New file.
21380
5e2fe5b8
AF
213812002-10-18 Adam Fedor <fedor@gnu.org>
21382
21383 * gdb.base/default.exp: Update expected output to include 'ObjC'.
21384 * gdb.base/help.exp: Likewise.
21385
abe1a5d0
KB
213862002-10-17 Kevin Buettner <kevinb@redhat.com>
21387
21388 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
21389 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
21390
10abb1d4
JB
213912002-10-02 Jim Blandy <jimb@redhat.com>
21392
21393 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
21394
1f609b42
AC
213952002-10-01 Andrew Cagney <ac131313@redhat.com>
21396
21397 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
21398 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
21399 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
21400 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
21401 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
21402 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
21403 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
21404
0aee02e4
AC
214052002-09-29 Andrew Cagney <ac131313@redhat.com>
21406
21407 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
21408 * mi0-disassemble.exp, mi0-eval.exp: Delete.
21409 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
21410 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
21411 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
21412 * mi0-var-block.exp, mi0-var-child.exp: Delete.
21413 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 21414
6fde09ad
KB
214152002-09-27 Kevin Buettner <kevinb@redhat.com>
21416
21417 * gdb.base/annota1.exp (info break): Make directory components of
21418 path optional since not all compilers emit this debug information.
21419
889bf7c5
PA
21420 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
21421 step ends up stepping out of the function instead of stopping on
21422 the epilogue.
6fde09ad 21423
9e8aab75
KS
214242002-09-26 Keith Seitz <keiths@redhat.com>
21425
21426 * lib/insight-support.exp (gdbtk_start): Figure out where
21427 the insight executable is based on where gdb is. Use this
21428 executable to start insight instead of gdb.
21429
e36180d7
AC
214302002-09-25 Andrew Cagney <cagney@redhat.com>
21431
21432 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
21433
9dd34b2b
AC
214342002-09-24 Andrew Cagney <ac131313@redhat.com>
21435
21436 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
21437 test_isolated_complaints.
21438 (test_empty_complaint): New function.
21439 (test_empty_complaints): New function. Check no output when no
21440 complaints.
d63a86f8 21441
dea97812
KB
214422002-09-19 Jim Blandy <jimb@redhat.com>
21443
a9c64011 21444 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 21445
54951bd7
AC
214462002-09-19 Andrew Cagney <ac131313@redhat.com>
21447
21448 * gdb.gdb/complaints.exp: New file.
21449
dec43320
AC
214502002-09-18 Andrew Cagney <ac131313@redhat.com>
21451
21452 * gdb.base/maint.exp: Check `help maint internal-warning'.
21453
e70d6e3f
DC
214542002-09-18 David Carlton <carlton@math.stanford.edu>
21455
21456 * gdb.c++/m-static.exp: Remove breakpoints depending on line
21457 numbers, and replace them by a single breakpoint after the
21458 constructors are all finished.
21459 Add test 4.
21460 * gdb.c++/m-static.cc: Add test 4.
21461 * gdb.c++/m-static.h: New file.
21462 * gdb.c++/m-static1.cc: New file.
21463
21464 * gdb.c++/printmethod.exp: New file.
21465 * gdb.c++/printmethod.cc: New file.
21466
21467 * gdb.c++/pr-574.exp: New file.
21468 * gdb.c++/pr-574.cc: New file.
21469
afb5c968
CV
214702002-09-18 Corinna Vinschen <vinschen@redhat.com>
21471
21472 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
21473 embedded targets which never actually exit.
21474
31e45dee
FN
214752002-09-18 Fernando Nasser <fnasser@redhat.com>
21476
21477 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
21478 "don't step after run" as unresolved or unsupported, instead of xfail.
21479
a283c5a1
CV
214802002-09-18 Corinna Vinschen <vinschen@redhat.com>
21481
21482 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
21483 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
21484 Add newline to expected string in "step out of main (status wrapper)"
21485 case.
21486
11350d2a
CV
214872002-09-18 Corinna Vinschen <vinschen@redhat.com>
21488
21489 * lib/gdb.exp (rerun_to_main): Allow restarting application.
21490 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
21491
0deec7d6
TT
214922002-09-17 Tom Tromey <tromey@redhat.com>
21493
21494 * gdb.base/printcmds.exp (test_print_string_constants): Expect
21495 \000, not \0, in double-quoted string.
21496
b2b4a1b5
CV
214972002-09-14 Corinna Vinschen <vinschen@redhat.com>
21498
c9d37158 21499 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
21500 string after running the commands execution on breakpoint tests.
21501
1c56143a
CV
215022002-09-13 Corinna Vinschen <vinschen@redhat.com>
21503
21504 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
21505
37f8da45
JB
215062002-09-12 Joel Brobecker <brobecker@gnat.com>
21507
21508 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
21509
08b468e0
KS
215102002-09-10 Keith Seitz <keiths@redhat.com>
21511
21512 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
21513 runto proc.
21514 (mi_run_to_main): Use mi_runto.
21515 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
21516
dc360f58
KS
215172002-09-10 Keith Seitz <keiths@redhat.com>
21518
21519 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
21520 regexp for stopping at main. Could have multiple event notifications.
21521 Don't assume that main was declared with no parameters.
21522 (mi_next): Use mi_step_to.
21523 (mi_step): Use mi_next_to.
21524
ce3abcfb
CV
215252002-09-09 Corinna Vinschen <vinschen@redhat.com>
21526
21527 * gdb.base/default.exp: Fix expected string in `info float' test.
21528
d1f5b980
BE
215292002-09-09 Ben Elliston <bje@redhat.com>
21530
21531 * config/mips.exp: Update comments.
21532 * config/mips-idt.exp: Likewise.
21533 * config/nind.exp: Likewise.
21534 * config/slite.exp: Likewise.
21535 * config/sparclet.exp: Likewise.
21536 * config/udi.exp: Likewise.
21537 * config/vx.exp: Likewise.
21538 * config/vxworks29k.exp: Likewise.
21539
2f71430b
JB
215402002-09-05 Jim Blandy <jimb@redhat.com>
21541
21542 * gdb.threads/killed.exp: Fix test failure message.
21543
7ddebc7e
KS
215442002-09-04 Keith Seitz <keiths@redhat.com>
21545
21546 * lib/mi-support.exp: Update copyright.
21547 (mi_gdb_test): Increase the priority of the expected pattern
21548 so that it matches gdb_test.
21549
0ae67eb3
KS
215502002-09-03 Keith Seitz <keiths@redhat.com>
21551
21552 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
21553 Use integer comparison instead of string comparison for testing
21554 whether binary was built.
21555
38fc42c8
JB
215562002-09-03 Jim Blandy <jimb@redhat.com>
21557
21558 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
21559
b6ff0e81
JB
215602002-08-29 Jim Blandy <jimb@redhat.com>
21561
21562 * gdb.threads/pthreads.exp: Move the portable thread compilation
21563 code into a function in lib/gdb.exp, and call that from here.
21564 * lib/gdb.exp (gdb_compile_pthreads): New function.
21565
07c98896
KS
215662002-08-29 Keith Seitz <keiths@redhat.com>
21567
21568 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
21569 expect_out so that callers can get at it.
21570
0312286c
DJ
215712002-08-23 Daniel Jacobowitz <drow@mvista.com>
21572
21573 * gdb.threads/print-threads.c: New file.
21574 * gdb.threads/print-threads.exp: New file.
21575 * gdb.threads/schedlock.c: New file.
21576 * gdb.threads/schedlock.exp: New file.
21577
dd039bc4
EZ
215782002-08-22 Elena Zannoni <ezannoni@redhat.com>
21579
a9c64011
AS
21580 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
21581 not altivec.c.
dd039bc4 21582
1f36144c
MK
215832002-08-17 Mark Kettenis <kettenis@gnu.org>
21584
21585 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
21586 targets. The problem should be fixed now.
21587
16057ec7 215882002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
21589
21590 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
21591 2002-07-24 change that removes final dots from error messages.
21592
3c1499ad
TT
215932002-08-13 Tom Tromey <tromey@redhat.com>
21594
21595 * gdb.base/readline.exp: New file.
21596
a20ce2c3
AC
215972002-08-01 Andrew Cagney <ac131313@redhat.com>
21598
21599 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
21600 supress message.
21601
db034ac5
AC
216022002-08-01 Andrew Cagney <cagney@redhat.com>
21603
21604 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
21605 CHILL_FOR_TARGET and CHILL_LIB.
21606 * configure.in (configdirs): Remove gdb.chill.
21607 * configure: Regenerate.
21608 * lib/gdb.exp: Obsolete references to chill.
21609 * gdb.fortran/types.exp: Ditto.
21610 * gdb.fortran/exprs.exp: Ditto.
21611
3e000b18
KB
216122002-07-30 Kevin Buettner <kevinb@redhat.com>
21613
21614 * gdb.base/shlib-call.exp (additional_flags): Conditionally
21615 set Irix-specific compile and link flags.
21616
28f4966b
KB
216172002-07-29 Kevin Buettner <kevinb@redhat.com>
21618
21619 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
21620 source files. The ``-o'' option doesn't work with the ``-E'' option
21621 when using the Irix compiler.
21622
46c0d5a6
DJ
216232002-07-19 Daniel Jacobowitz <drow@mvista.com>
21624
21625 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
21626 Improve support for reusing an exec file. Copy exec file
21627 to target, and run gdbserver on the target instead of on the host.
21628
eecf4bed
JB
216292002-07-18 Jim Blandy <jimb@redhat.com>
21630
0f815cdf
JB
21631 * gdb.base/ending-run.exp: Don't expect to see the program end in
21632 some orderly fashion when we're running on a real stand-alone
21633 board.
21634
eecf4bed
JB
21635 * gdb.base/interrupt.exp: Correct logic for skipping tests on
21636 targets that don't support interrupts.
21637
52d309e4
JB
216382002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
21639
21640 * gdb.base/attach.exp: Add patterns to match output from /proc-based
21641 systems.
21642 Move comments in expect statements to inside the actions, so that they
21643 don't get matched against.
21644
ff683d9e
MK
216452002-07-10 Mark Kettenis <kettenis@gnu.org>
21646
21647 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
21648 function when asleep" test.
21649
b5356753
AC
216502002-07-10 Andrew Cagney <ac131313@redhat.com>
21651
21652 * gdb.base/page.exp: Rewrite to handle problems with very long
21653 `info set' output. Update copyright.
21654
6aa4d13a
AC
216552002-06-26 Andrew Cagney <ac131313@redhat.com>
21656
21657 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
21658 gdb.threads-hp.
21659 * gdb.hp/configure: Regenerate.
21660 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
21661 * gdb.hp/gdb.threads-hp/configure: Delete file.
21662 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
21663
8cf8c2b8
AC
216642002-06-22 Andrew Cagney <ac131313@redhat.com>
21665
21666 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
21667 setlocale, bindtextdomain and textdomain.
21668
6827a8f8
JB
216692002-06-11 Jim Blandy <jimb@redhat.com>
21670
919d772c
JB
21671 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
21672 preprocessor macro information is present.
21673
6827a8f8
JB
21674 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
21675 tests.
21676
c15b0d21
MS
216772002-06-06 Michael Snyder <msnyder@redhat.com>
21678
c5984d70
MS
21679 * gdb.base/overlays.exp: Record addresses of overlay
21680 functions in TCL variables rather than in GDB variables,
21681 to avoid having GDB convert them to pointers (with loss
21682 of information).
21683
d63a86f8 21684 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 21685 default linker script changes.
c15b0d21
MS
21686 * gdb.base/long_long.exp: Add check for sizeof (long double).
21687
be26fe0d
ML
216882002-06-06 Michal Ludvig <mludvig@suse.cz>
21689
21690 * gdb.asm/asm-source.exp: Add x86-64 target.
21691 * gdb.asm/x86_64.inc: New.
d63a86f8 21692
258093ca 216932002-05-30 Michael Chastain <mec@shout.net>
258093ca 21694
4b3153f1 21695 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
21696 * gdb.c++/m-static.cc: New file.
21697 * gdb.c++/m-static.exp: New file.
21698
241264c6
MS
216992002-05-28 Michael Snyder <msnyder@redhat.com>
21700
21701 * gdb.base/call-ar-st.exp: Allow for reduced floating point
21702 precision.
21703
9bba8c8f 217042002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 21705
4b3153f1 21706 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
21707 * gdb.c++/m-data.cc: New file.
21708 * gdb.c++/m-data.exp: New file.
21709
217102002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 21711
4b3153f1 21712 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 21713 * gdb.c++/try_catch.cc: New file.
d63a86f8 21714 * gdb.c++/try_catch.exp: New file.
9bba8c8f 21715
def1b996
MC
217162002-05-27 Michael Chastain <mec@shout.net>
21717
21718 * gdb.c++/local.exp: Accept more nested types in output.
21719
522ba268
MC
217202002-05-26 Michael Chastain <mec@shout.net>
21721
21722 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
21723
277254ba
MS
217242002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
21725
21726 * lib/gdb.exp (gdb_wrapper_init): Just because
21727 gdb_wrapper_file exists, this does not mean that the file
21728 should not be rebuilt. That is what gdb_wrapper_initialized
21729 is for.
21730 (default_gdb_init): Reset gdb_wrapper_initialized.
21731
b61a8733
MS
217322002-05-23 Michael Snyder <msnyder@redhat.com>
21733
d63a86f8 21734 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
21735 the precision of the floating point test results.
21736 * gdb.base/call-rt-st.exp: Ditto.
21737
b61a8733
MS
21738 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
21739 * gdb.base/call-rt-st.exp: Ditto.
21740
56f6e910
MC
217412002-05-19 Michael Chastain <mec@shout.net>
21742
21743 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
21744
ad0b0016
EZ
217452002-05-19 Elena Zannoni <ezannoni@redhat.com>
21746
a9c64011
AS
21747 * configure.in (configdirs): Add gdb.arch.
21748 * configure: Regenerate.
ad0b0016 21749
f617d2b6
JB
217502002-05-17 Jim Blandy <jimb@redhat.com>
21751
21752 * gdb.base/completion.exp: Recognize the more detailed error
21753 messages produced by the macro expander's lexical analyzer.
21754
eac2a696
EZ
217552002-05-14 Elena Zannoni <ezannoni@redhat.com>
21756
a9c64011
AS
21757 * gdb.arch/altivec-abi.c: New file.
21758 * gdb.arch/altivec-abi.exp: New file.
21759 * gdb.arch/altivec-regs.c: New file.
21760 * gdb.arch/altivec-regs.exp: New file.
eac2a696 21761
2fdde8f8
DJ
217622002-05-14 Daniel Jacobowitz <drow@mvista.com>
21763
21764 * gdb.base/maint.exp (maint print type): Update for new type
21765 structure.
d63a86f8 21766
e31f1a7c
EZ
217672002-05-14 Elena Zannoni <ezannoni@redhat.com>
21768
21769 * gdb.arch: New directory.
21770 * gdb.arch/configure.in: New file.
21771 * gdb.arch/configure: New file.
21772 * gdb.arch/Makefile.in: New file.
21773
db589741
CV
217742002-05-13 Corinna Vinschen <vinschen@redhat.com>
21775
21776 * gdb.asm/asm-source.exp: Add v850 as supported target.
21777 * gdb.asm/v850.inc: New file.
21778
8ce2a7dc
DJ
217792002-05-13 Daniel Jacobowitz <drow@mvista.com>
21780
21781 * gdb.c++/annota2.exp (annotate-quit): Add comment.
21782
df763c7f
DJ
217832002-05-12 Daniel Jacobowitz <drow@mvista.com>
21784
21785 * gdb.base/break.exp: Check 'break "marker2"'.
21786
377daeed
MS
217872002-05-10 Michael Snyder <msnyder@redhat.com>
21788
21789 * gdb.base/long_long.exp: Fix typo.
21790
c4b7bc2b
JB
217912002-05-10 Jim Blandy <jimb@redhat.com>
21792
ecac9a4e
JB
21793 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
21794 a bug.
21795
c4b7bc2b
JB
21796 * gdb.base/printcmds.exp (test_integer_literals_rejected):
21797 Recognize more detailed error message produced by the macro
21798 expander's lexical analyzer.
21799 * lib/gdb.exp (test_print_reject): Same.
21800
e71019a1
MK
218012002-05-09 Mark Kettenis <kettenis@gnu.org>
21802
21803 * gdb.c++/method.exp: Fix typo.
21804
fedfc8e6
MS
218052002-05-08 Michael Snyder <msnyder@redhat.com>
21806
166a1957
MS
21807 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
21808 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 21809 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
21810 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
21811 Add iftarget clause for strongarm.
d63a86f8 21812
f1c47eb2
MS
218132002-05-06 Michael Snyder <msnyder@redhat.com>
21814
cb9a9d3e
MS
21815 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
21816 (gdb_continue_to_end): Accept output from status wrapper.
21817 * gdb.base/ending-run.exp: Add case for output from status wrapper.
21818 Clean up fail messages to match pass messages.
21819
f1c47eb2
MS
21820 Enable the "needs_status_wrapper" testsuite feature.
21821 * lib/gdb.exp (gdb_wrapper_init): New procedure.
21822 (gdb_compile): Conditionally call gdb_wrapper_init.
21823 * gdb.base/a2-run.exp: Recognize output from status wrapper.
21824 * gdb.c++/method.exp: Recognize output from status wrapper.
21825
6079c749
BE
218262002-05-06 Ben Elliston <bje@redhat.com>
21827From Graydon Hoare <graydon@redhat.com>
21828
21829 * config/sid.exp: Include support for "rawsid" protocol.
21830
188baff3
JB
218312002-05-03 Jim Blandy <jimb@redhat.com>
21832
21833 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
21834 * gdb.c++/hang3.C: New file.
21835
b9c07f0f
AC
218362002-05-04 Andrew Cagney <ac131313@redhat.com>
21837
21838 * gdb.base/default.exp: Remove obsolete code.
21839 * gdb.c++/misc.exp: Ditto. Update copyright.
21840 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
21841 * gdb.base/whatis.exp: Ditto. Update copyright.
21842 * gdb.base/scope.exp: Ditto. Update copyright.
21843 * gdb.base/ptype.exp: Ditto. Update copyright.
21844 * gdb.base/printcmds.exp: Ditto. Update copyright.
21845 * gdb.base/opaque.exp: Ditto. Update copyright.
21846 * gdb.base/list.exp: Ditto.
21847 * gdb.base/funcargs.exp: Ditto. Update copyright.
21848 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
21849 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
21850 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
21851 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
21852 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
21853 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
21854
5c7a0397
MS
218552002-05-02 Michael Snyder <msnyder@redhat.com>
21856
d6dcc264 21857 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
21858 * gdb.base/long_long.exp: Add xscale target.
21859 * gdb.base/default.exp: Add xscale target.
21860
eb7f1c48
JB
218612002-05-01 Jim Blandy <jimb@redhat.com>
21862
21863 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
21864 gdb.c++/hang.exp: New test.
21865
a6befae8
FF
218662002-05-01 Fred Fish <fnf@redhat.com>
21867
21868 * gdb.base/completion.exp: Handle completions of "./Make" for
21869 more than one completion possibility, as is the case when we
21870 build and test in the source tree.
21871
0a310277
AG
218722002-04-29 Anthony Green <green@redhat.com>
21873
21874 * gdb.java/jmisc1.exp: New file.
21875 * gdb.java/jmisc2.exp: New file.
21876
6ff9af88
DJ
218772002-04-24 Daniel Jacobowitz <drow@mvista.com>
21878
21879 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
21880
96b3d632
EZ
218812002-04-23 Elena Zannoni <ezannoni@redhat.com>
21882
21883 * gdb.base/help.exp: Change 'help status' to allow for target
21884 dependent output differences.
21885
5019bb54
MC
218862002-04-22 Michael Chastain <mec@shout.net>
21887
21888 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
21889
a805a116
MC
218902002-04-22 Michael Chastain <mec@shout.net>
21891
21892 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
21893
a1706bfd
DM
218942002-04-17 David S. Miller <davem@redhat.com>
21895
21896 * gdb.asm/sparc64.inc: New file.
21897 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
21898
a73a20a2
EZ
218992002-04-19 Elena Zannoni <ezannoni@redhat.com>
21900
21901 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
21902 instruction file directly into the build tree. Clean up at end of
21903 test.
21904
ba678339
DM
219052002-04-18 David S. Miller <davem@redhat.com>
21906
21907 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
21908 handle 64-bit platforms correctly.
21909 * gdb.base/maint.exp: Likewise.
21910
b03399da
KB
219112002-04-18 Kevin Buettner <kevinb@redhat.com>
21912
21913 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
21914 ``-fpic'' when compiling files comprising a shared library, but
21915 it does need additional linker flags in order to find shared
21916 libraries at run time.
21917
e2004992
KB
219182002-04-18 Kevin Buettner <kevinb@redhat.com>
21919
21920 * gdb.base/cvexpr.c (use): New function.
21921 (main): Invoke use() on all global variables to prevent
21922 some linkers from deleting these otherwise unused symbols.
21923
d8937120
MC
219242002-04-17 Michael Chastain <mec@shout.net>
21925From David S. Miller <davem@redhat.com>
21926
21927 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
21928 handle 64-bit platforms correctly.
21929
ffd61a58
MS
219302002-04-12 Michael Snyder <msnyder@redhat.com>
21931From Jim Blandy <jimb@redhat.com>
a9c64011 21932 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
21933 script can handle this instead.
21934 * gdb.base/bar.c (barx): Same.
21935 * gdb.base/baz.c (bazx): Same.
21936 * gdb.base/grbx.c (grbxx): Same.
21937
21938 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
21939 manager doesn't automatically unmap overlays unnecessarily.
21940
6b8426a6
MH
219412002-04-10 Martin M. Hunt <hunt@redhat.com>
21942
21943 * gdb.base/ending-run.exp: Fix pattern for Mips targets
21944 stepping out of main.
21945
34af4875
MC
219462002-04-09 Michael Chastain <mec@shout.net>
21947
21948 * gdb.c++/local.cc (main): Move call to marker1() inside nested
21949 scope so that the nested scope tests will make sense.
21950 * gdb.c++/local.exp: Write patterns that actually work with gcc
21951 (the HP patterns "were never known to work with gcc").
21952 Keep the old aCC patterns too.
21953
2d1676a0
DJ
219542002-04-09 Daniel Jacobowitz <drow@mvista.com>
21955
21956 * gdb.base/attach.exp: Correct target board test.
21957
3a63e3f9
MC
219582002-04-08 Michael Chastain <mec@shout.net>
21959
21960 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
21961 in a const method. Add some xfail and fail cases for configurations
21962 that do not emit the "const ...".
21963
f18dabd2
MC
219642002-04-07 Michael Chastain <mec@shout.net>
21965
21966 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
21967 Accept "A * const" and "const A * const" as type of "this".
21968 Fix spelling of getFunky throughout. Make messages uniform.
21969
0fcddd82
EZ
219702002-04-07 Elena Zannoni <ezannoni@redhat.com>
21971
a9c64011 21972 Work around for PR gdb/285:
0fcddd82
EZ
21973 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
21974
16a8534a
EZ
219752002-04-07 Elena Zannoni <ezannoni@redhat.com>
21976
21977 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
21978 instructions file at run time instead of configure time.
21979 Sometimes we run the test in a directory that is not the one we
21980 configured in.
21981 * gdb.asm/configure.in: Delete creation of symlink.
21982 * gdb.asm/configure: Regenerate.
21983
24181d81
JB
219842002-04-05 J. Brobecker <brobecker@gnat.com>
21985
21986 * gdb.gdb/xfullpath.exp: New test, to exercise the new
21987 xfullpath () function.
21988
7cdb7107
DJ
219892002-04-04 Daniel Jacobowitz <drow@mvista.com>
21990
21991 * gdb.asm/Makefile.in: Correct dependencies.
21992
21993 * gdb.asm/powerpc.inc: New file.
21994 * gdb.asm/asm-source.exp: Add PowerPC.
21995 * gdb.asm/configure.in: Likewise.
21996 * gdb.asm/configure: Regenerated.
21997
a7d17088
DJ
219982002-04-04 Daniel Jacobowitz <drow@mvista.com>
21999
22000 * gdb.base/relocate.exp: New file.
22001 * gdb.base/relocate.c: New file.
22002
cd721503
FF
220032002-04-04 Fred Fish <fnf@redhat.com>
22004
22005 * gdb.base/step-test.exp: Update comment regarding stopping in
22006 memcpy/bcopy calls inserted as part of the compiler runtime.
22007
b22ad7a7
MS
220082002-04-04 Michael Snyder <msnyder@redhat.com>
22009
22010 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
22011
5f279fa6
DJ
220122002-04-03 Daniel Jacobowitz <drow@mvista.com>
22013
22014 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
22015 (gdb_expect): Remove $notransfer hack.
22016
dd0fd3ce
DJ
220172002-04-02 Daniel Jacobowitz <drow@mvista.com>
22018
22019 * gdb.c++/classes.exp ("calling method for small class"): Match
22020 updated register output.
22021
1e50cda1
DJ
220222002-03-30 Daniel Jacobowitz <drow@mvista.com>
22023
22024 Fix PR gdb/452
22025 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
22026 when finished. Make gdb_file_cmd send "exec-file" when
22027 appropriate.
22028
24015922
DJ
220292002-03-30 Daniel Jacobowitz <drow@mvista.com>
22030
22031 * gdb.base/attach.exp: Remove extra setup_xfail.
22032
dd7dfd64
MS
220332002-03-26 Michael Snyder <msnyder@redhat.com>
22034
22035 * gdb.base/default.exp: Add tests for dump, append, and restore.
22036 * gdb.base/help.exp: Add tests for dump, append, and restore.
22037 * gdb.base/dump.exp: New file, test dump, append and restore.
22038 * gdb.base/dump.c: New file.
22039
48b2f8d7
MS
220402002-03-27 Michael Snyder <msnyder@redhat.com>
22041
d63a86f8 22042 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
22043 clean-ups in help messages.
22044
05b4d525
FF
220452002-03-26 Fred Fish <fnf@redhat.com>
22046
22047 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
22048 have debugging info for those functions and the compiler uses them
22049 internally to copy structs around.
22050
d7679631
FF
220512002-03-26 Fred Fish <fnf@redhat.com>
22052
22053 * gdb.base/list.exp: Revert the change made yesterday and add note
22054 about why we don't list the default lines for remote targets.
22055
523ac3f9
MS
220562002-03-25 Michael Snyder <msnyder@redhat.com>
22057
22058 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
22059
754b2b8d
FF
220602002-03-25 Fred Fish <fnf@redhat.com>
22061
22062 * gdb.base/list.exp: This test works on remote targets so remove
22063 the short circuit for remote targets. Update copyright.
22064
33c3e192
FF
220652002-03-25 Fred Fish <fnf@redhat.com>
22066
22067 * gdb.base/attach.exp: Fix logic error that was suppressing this
22068 test for all non hppa*-*-hpux* targets, instead of the hp target.
22069 Move comments closer to the suppression point. Also now need to
22070 check that we are running natively.
22071
d43e73ee
MS
220722002-03-22 Michael Snyder <msnyder@redhat.com>
22073
882c8f02
MS
22074 * gdb.base/default.exp: Add test for gcore. Update copyright.
22075 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 22076
04c12f60
FF
220772002-03-06 Fred Fish <fnf@redhat.com>
22078
22079 * gdb.base/funcargs.c: Remove extraneous ';' character.
22080 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
22081
b43df995
MC
220822002-03-04 Michael Chastain <mec@shout.net>
22083
22084 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
22085 accommodate gcc v3 function signature.
22086 * gdb.mi/mi0-var-cmd-exp: Ditto.
22087
92362027
AC
220882002-02-24 Andrew Cagney <ac131313@redhat.com>
22089
22090 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
22091 ``GNU/Linux'' or ``Linux kernel''
22092 * testsuite/gdb.threads/pthreads.c: Ditto.
22093
258ad32d
MC
220942002-02-24 Michael Chastain <mec@shout.net>
22095
22096 * gdb.threads/pthreads.c (thread1): Add a return statement.
22097 (thread2): Likewise.
22098 (foo): Likewise.
22099
04c3b3d4
MC
221002002-02-23 Michael Chastain <mec@shout.net>
22101
22102 * gdb.threads/linux-dp.c (philosopher): Add a return statement
22103 to placate gcc.
22104
5a2a0a20
MC
221052002-02-23 Michael Chastain <mec@shout.net>
22106
22107 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
22108 test "ptype bint". The test passes on all my stabs configurations.
22109
a640f7fc
JB
221102002-02-21 Jim Blandy <jimb@redhat.com>
22111
27924826
JB
22112 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
22113 filename at a time, and watch for the ones we want to see.
22114
a640f7fc
JB
22115 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
22116 types of pointers to prototyped functions.
22117
edcc8c75
AC
221182002-02-20 Andrew Cagney <ac131313@redhat.com>
22119
22120 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
22121 signed, unsigned and straight char.
22122 (padding_char, padding_short, padding_int, padding_long,
22123 padding_long_long, padding_float, padding_double,
22124 padding_long_double): New global variables.
22125 (fill, fill_structs): New functions.
22126
22127 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
22128 for correctly sized writes. Update copyright.
22129 (get_valueof): New procedure.
22130 (get_sizeof): Call get_valueof.
22131 (check_valueof): New procedure.
22132 (check_padding): New procedure.
22133
ac57ea44
MC
221342002-02-20 Michael Chastain <mec@shout.net>
22135
22136 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
22137 to setup_xfail. Document some of the remaining calls.
22138
7a10c941
MC
221392002-02-18 Michael Chastain <mec@shout.net>
22140
22141 * gdb.c++/userdef.exp: Update copyright year.
22142
fb8acdcc
DJ
221432002-02-18 Daniel Jacobowitz <drow@mvista.com>
22144
22145 * gdb.c++/userdef.exp: Test overloaded operators properly.
22146 Remove xfails.
22147
fda6ae12
MS
221482002-02-14 Michael Snyder <msnyder@redhat.com>
22149
22150 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
22151
676a0442
DJ
221522002-02-14 Daniel Jacobowitz <drow@mvista.com>
22153
22154 * gdb.base/a2-run.exp: Check for a remote target properly.
22155 * gdb.base/annota1.exp: Likewise.
22156 * gdb.base/list.exp: Likewise.
22157 * gdb.base/reread.exp: Likewise.
22158 * gdb.base/scope.exp: Likewise.
22159 * gdb.base/shlib-call.exp: Likewise.
22160 * gdb.base/term.exp: Likewise.
22161 * gdb.c++/annota2.exp: Likewise.
22162
78b4f468
RE
221632002-02-13 Richard Earnshaw <rearnsha@arm.com>
22164
22165 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
22166
9a81ba51
MC
221672002-02-10 Michael Chastain <mec@shout.net>
22168
22169 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
22170 (call_after_alloca): Ditto.
22171
004af6c7
DJ
221722002-02-10 Daniel Jacobowitz <drow@mvista.com>
22173
22174 * gdb.base/ending-run.exp: Guard "cont" test with
22175 gdb_skip_stdio_test.
22176
37225f62
JB
221772002-02-06 Jim Blandy <jimb@redhat.com>
22178
22179 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
22180 from here...
22181 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
22182 To here. Disable this test on non-HP platforms. Add big comment.
22183
fe6fdd96
MS
221842002-02-04 Michael Snyder <msnyder@redhat.com>
22185
22186 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
22187 other than d10v and m32r.
22188
036fad3f
RE
221892002-02-02 Richard Earnshaw <rearnsha@arm.com>
22190
22191 * gdb.base/default.exp: Rewrite test patterns to reduce time
22192 taken to match them.
22193
7148ab62
DJ
221942002-01-30 Daniel Jacobowitz <drow@mvista.com>
22195
22196 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
22197 Allow a start function above main.
22198 * gdb.threads/linux-dp.exp: Fix copyright date.
22199
396cc255
DJ
222002002-01-30 Daniel Jacobowitz <drow@mvista.com>
22201
a9c64011
AS
22202 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
22203 (check_philosopher_stack): Check for manager thread before checking
22204 for a just-starting thread.
396cc255 22205
f038d31b
DJ
222062002-01-30 Daniel Jacobowitz <drow@mvista.com>
22207
22208 From Neil Booth <neil@daikokuya.demon.co.uk>:
22209 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
22210 warnings.
22211
b3ff9d9a
FF
222122002-01-21 Fred Fish <fnf@redhat.com>
22213
22214 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
22215 not caller.
22216
39ad761d
JB
222172002-01-21 Jim Blandy <jimb@redhat.com>
22218
22219 * gdb.base/reread.exp: Check that GDB properly re-reads the
22220 executable file when it changes while no inferior is running.
22221
aaf320fa
FF
222222002-01-21 Fred Fish <fnf@redhat.com>
22223
a9c64011
AS
22224 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
22225 optionally accept the "shlib events" variation.
aaf320fa 22226
808a31f5
JB
222272002-01-21 Jim Blandy <jimb@redhat.com>
22228
22229 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
22230 call `fflush' after every `printf', so that the output is produced
22231 at predictable points, regardless of whatever buffering does (or
22232 doesn't) take place.
22233 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
22234 at different points.
22235
4420d5e2
DJ
222362002-01-20 Daniel Jacobowitz <drow@mvista.com>
22237
22238 * gdb.c++/inherit.exp: Update copyright years.
22239 * gdb.c++/method.exp: Likewise.
22240
3e36a0f4
DJ
222412002-01-20 Daniel Jacobowitz <drow@mvista.com>
22242
22243 * gdb.c++/classes.exp: Update for improved v3 support and skipping
22244 artificial methods/arguments.
22245 * gdb.c++/derivation.exp: Likewise.
22246 * gdb.c++/inherit.exp: Likewise.
22247 * gdb.c++/method.exp: Likewise.
22248 * gdb.c++/virtfunc.exp: Likewise.
22249
b4ceaee6
AC
222502002-01-18 Andrew Cagney <ac131313@redhat.com>
22251
22252 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
22253 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
22254 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
22255 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
22256 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
22257 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
22258
ecace851
JB
222592002-01-17 Jim Blandy <jimb@redhat.com>
22260
22261 * gdb.asm/asm-source.exp (info symbol): Take another shot at
22262 anchoring the pattern matching the entry point symbol's name.
22263
375fc983
AC
222642002-01-17 Andrew Cagney <ac131313@redhat.com>
22265
22266 * gdb.base/maint.exp: Update ``maint internal-error'' to match
22267 continue/quit query. Update copyright.
22268
fe6fdd96
MS
222692002-01-14 Michael Snyder <msnyder@redhat.com>
22270
22271 * gdb.base/gcore.exp: Remove extra debugging output.
22272
e017c81f
DJ
222732002-01-13 Daniel Jacobowitz <drow@mvista.com>
22274
22275 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
22276 for slightly dubious v2 mangled string.
22277
37ab3bf8
DJ
222782002-01-13 Daniel Jacobowitz <drow@mvista.com>
22279
22280 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
22281
1bc05c3a 222822002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 22283
1bc05c3a 22284 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 22285
1bc05c3a
JM
22286 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
22287 constructors.
22288 * gdb.c++/derivation.exp: Likewise.
22289 * gdb.c++/templates.exp: Likewise.
22290 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 22291
1bc05c3a
JM
222922002-01-10 Michael Snyder <msnyder@redhat.com>
22293
22294 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 22295
a911c360
MS
222962002-01-08 Michael Snyder <msnyder@redhat.com>
22297
22298 * gdb.base/gcore.exp: New test for generate-core-file command.
22299 * gdb.base/gcore.c: Testcase for above.
22300 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
22301
ea2119ec
JM
223022002-01-08 Jason Merrill <jason@redhat.com>
22303
22304 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
22305
68203136
FF
223062002-01-07 Fred Fish <fnf@redhat.com>
22307
22308 * gdb.c++/overload.exp: Remove unconditional xfails for:
22309 print foo_instance1.overloadargs(1)
22310 print foo_instance1.overloadargs(1, 2)
22311 print foo_instance1.overloadargs(1, 2, 3)
22312 print foo_instance1.overloadargs(1, 2, 3, 4)
22313 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
22314 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
22315 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
22316 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
22317 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
22318 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
22319 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
22320 print foo_instance1.overload1arg()
22321 print foo_instance1.overload1arg((char)arg2)
22322 print foo_instance1.overload1arg((signed char)arg3)
22323 print foo_instance1.overload1arg((unsigned char)arg4)
22324 print foo_instance1.overload1arg((int)arg7)
22325 print foo_instance1.overload1arg((unsigned int)arg8)
22326 print foo_instance1.overload1arg((float)arg11)
22327 print foo_instance1.overload1arg((double)arg12)
d63a86f8 22328
21b9b5b1
MS
223292002-01-07 Michael Snyder <msnyder@redhat.com>
22330
22331 * gdb.base/huge.exp: New test. Print a very large target data object.
22332 (skip_huge_test): New test variable. Define if you want to skip this
22333 test. The test reads an 8 megabyte data object from the target, so it
22334 might be very time consuming on remote targets with a slow connection.
22335 * gdb.base/huge.c: New file. Test case for above.
22336
725f922e
FF
223372002-01-07 Fred Fish <fnf@redhat.com>
22338
22339 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
22340 g_instance.bfoo, and g_instance.cfoo.
22341
889bf7c5 223422002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 22343
889bf7c5
PA
22344 * gdb.base/break.c (multi_line_if_conditional): New function.
22345 (multi_ilne_while_conditional): Likewise.
22346 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
22347 IF or WHILE condition puts the breakpoint at the start of
22348 the condition.
f286b2c3 22349
634d57ec
JL
22350 * gdb.base/selftest.exp (backtrace through signal handler): Remove
22351 hppa*-*-hpux* expected failure.
22352 * gdb.base/structs.exp (do_function_calls): Similarly.
22353
22354 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
22355 watchpoints.
22356
9fbfe2dc
AC
223572002-01-06 Andrew Cagney <ac131313@redhat.com>
22358
22359 Fix PR gdb/66.
22360 * gdb.base/structs.exp: Replace skip for a29k with skip for
22361 gdb,cannot_call_functions.
22362 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
22363 * gdb.base/callfuncs.exp: Ditto.
22364 * gdb.base/call-rt-st.exp: Ditto.
22365 * gdb.base/call-strs.exp: Ditto.
22366 * gdb.base/callfwmall.exp: Ditto.
22367 * gdb.base/scope.exp: Obsolete xfail a29k.
22368 * gdb.c++/misc.exp: Ditto.
22369 * gdb.c++/cplusfuncs.exp: Ditto.
22370 * gdb.base/ptype.exp: Ditto.
22371 * gdb.base/printcmds.exp: Ditto.
22372 * gdb.base/opaque.exp: Ditto.
22373 * gdb.base/list.exp: Ditto.
22374 * gdb.base/funcargs.exp: Ditto.
22375 * gdb.base/default.exp: Ditto.
22376
8ddad156
MS
223772002-01-04 Michael Snyder <msnyder@redhat.com>
22378
ca4976a6 22379 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
22380 * gdb.base/maint.exp: Add tests for maint info sections options.
22381
1b074332
JL
22382Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
22383
22384 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
22385
7d159115
CV
223862001-12-20 Corinna Vinschen <vinschen@redhat.com>
22387
22388 * gdb.asm/arm.inc: New file.
22389 * gdb.asm/asm-source.exp: Add arm targets.
22390 * gdb.asm/configure.in: Ditto.
22391 * gdb.asm/configure: Recreated from configure.in.
22392
8fb87725
JL
22393Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
22394
afabe08c
JL
22395 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
22396 with HP's compiler.
22397 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
22398 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
22399 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
22400 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
22401
22402 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
22403 either HP's compilers or GCC.
22404
db521deb
JL
22405 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
22406 a SIGBUS or SIGSEGV.
22407
22408 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
22409
22410 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
22411 can be compiled with either HP's compiler or GCC.
22412
cfa88ab7
JL
22413 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
22414 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
22415 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
22416
ca344dff
JL
22417 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
22418 to match current gdb output. Update due to using auto-solib-limit
22419 for limiting instead of overloading auto-solib-add.
22420 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
22421 test program.
22422
3f3c6e55 22423 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
22424 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
22425 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
22426 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
22427 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
22428 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
22429 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
22430 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
22431 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
22432 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
22433 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
22434 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
22435 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 22436
8fb87725
JL
22437 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
22438 a SIGTRAP to the inferior.
22439
cf599fa7
CV
224402001-12-19 Corinna Vinschen <vinschen@redhat.com>
22441
22442 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
22443 Substitute call to target_link by call to gdb_compile.
22444
2cd045cd
JL
22445Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
22446
a9c64011
AS
22447 * gdb.base/break.exp: Fix HP specific search string when testing
22448 backtracing in a called function.
2cd045cd 22449
a9c64011
AS
22450 * gdb.base/constvars.exp: Only set lang to C++ if we're
22451 compiling the test with HP's compilers.
22452 * gdb.base/volatile.exp: Similarly.
2cd045cd 22453
99ebe9ac
JB
224542001-12-19 Jim Blandy <jimb@redhat.com>
22455
22456 * gdb.base/printcmds.exp: Expect the null character to be printed
22457 as '\0', and the '\013' to be printed as '\v'.
22458 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
22459 * gdb.base/setvar.exp: Same.
22460
b9891b29
JB
224612001-12-17 Jim Blandy <jimb@redhat.com>
22462
0eba65ab
JB
22463 * gdb.base/completion.exp: Rather than completing very long
22464 filenames, which can make the readline library produce output we
22465 don't recognize, cd to the directory first, and then complete
22466 using nice, short relative paths.
22467
6970b5b1
JB
22468 * gdb.base/completion.exp: On some systems, there is, in fact, a
22469 variable named `b' in scope, since GDB treats all static
a9c64011
AS
22470 variables as being in scope. So use `no_var_named_this'
22471 instead of `b'.
6970b5b1 22472
b9891b29 22473 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 22474 can't find the core file's registers as a failure.
b9891b29 22475
e6ccd35f
JSC
224762001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
22477
a9c64011
AS
22478 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
22479 test expect string more specific.
e6ccd35f 22480
105ba819
CV
224812001-12-13 Corinna Vinschen <vinschen@redhat.com>
22482
22483 * gdb.asm/asm-source.exp: Add support for xstormy16.
22484 * gdb.asm/configure.in: Ditto.
22485 * gdb.asm/configure: Rebuild.
22486 * gdb.asm/xstormy16.inc: New file.
22487
e9e79dd9
FF
224882001-12-10 Fred Fish <fnf@redhat.com>
22489
22490 * gdb.base/maint.exp: Update to match changes in type dumping code.
22491
347dc97d
JB
224922001-12-10 Jim Blandy <jimb@redhat.com>
22493
22494 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
22495 matching the entry point symbol's name at the beginning of the
22496 line.
347dc97d 22497
5178b9d6
DJ
224982001-12-07 Daniel Jacobowitz <drow@mvista.com>
22499
22500 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
22501 gdb.c++/inherit.exp, gdb.c++/method.exp,
22502 gdb.c++/namespace.exp, gdb.c++/templates.exp,
22503 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
22504 and class layout support.
22505
af890c52
DJ
225062001-12-07 Daniel Jacobowitz <drow@mvista.com>
22507
22508 * gdb.c++/classes.exp: Add test for static member function.
22509 * gdb.c++/misc.cc: Add class with static member function.
22510
7a345fb3
JB
225112001-12-07 Jim Blandy <jimb@redhat.com>
22512
f2e54a80 22513 If GDB says it can't find the struct the function returned, report
8032bf31
JB
22514 those tests as `unsupported'.
22515 * gdb.base/call-rt-st.exp (print_struct_call): New function.
22516 Rewrite subsequent tests to use it.
22517
22518 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
22519 those tests as `unsupported'.
22520 * gdb.base/structs.exp (call_struct_func): New function.
22521 (do_function_calls): Use call_struct_func to call the functions
22522 returning structs.
22523
0bc69509
JB
22524 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
22525 whether functions are prototyped or not, so we can't possibly pass
22526 arguments to t_float_values2 properly.
22527
7a345fb3
JB
22528 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
22529 value of `timeout' for targets other than the mips*tx39-*.
22530
edb6ede1
MS
225312001-12-06 Michael Snyder <msnyder@redhat.com>
22532
d63a86f8 22533 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
22534 and detect whether the start symbol has a leading underscore.
22535
2d842f13
JB
225362001-12-04 Jim Blandy <jimb@redhat.com>
22537
22538 * gdb.base/completion.exp: Clarify indentation.
22539
68550daf
JB
225402001-12-03 Jim Blandy <jimb@redhat.com>
22541
22542 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
22543 variables on the S/390, not `.word'.
22544
cd5195a8
JB
225452001-11-30 Jim Blandy <jimb@redhat.com>
22546
22547 Add assembly-source tests for s390-ibm-linux.
22548 * gdb.asm/s390.inc: New file.
22549 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
22550 the S/390 architecture.
a9c64011 22551 * gdb.asm/configure: Regenerated.
cd5195a8 22552
ca9efc90
MS
225532001-11-30 Michael Snyder <msnyder@redhat.com>
22554
22555 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
22556 next, info source, info sources, info line, global and static
22557 variables, and static functions.
22558 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
22559 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
22560 * gdb.asm/asmsrc1.s: Add a static function and some variables.
22561 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
22562 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
22563 (gdbasm_leave): Restore frame pointer.
22564 (gdbasm_startup): Copy stack set-up from crt0.S.
22565
d0e66976
FN
225662001-11-26 Fernando Nasser <fnasser@redhat.com>
22567
22568 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
22569 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
22570 to a local (non-static) variable. Copy tstruct.a to a static buffer
22571 and return a pointer to that buffer.
22572 * gdb.base/callfwmall.c (t_structs_a): Ditto.
22573
e2334072
MK
225742001-11-24 Mark Kettenis <kettenis@gnu.org>
22575
22576 * gdb.asm/configure.in: Fix recognition of ix86 target.
22577 * gdb.asm/configure: Regenerate.
22578
756caa3d
MS
225792001-11-21 Michael Snyder <msnyder@redhat.com>
22580
22581 * gdb.asm/sparc.inc: New file.
22582 * gdb.asm/asm-source.exp: Recognize sparc target.
22583 * gdb.asm/configure.in: Recognize sparc target.
22584 * gdb.asm/configure: Regenerate.
d63a86f8 22585
9a4d72d5
MS
225862001-11-21 Michael Snyder <msnyder@redhat.com>
22587
22588 * gdb.asm/m32r.inc: New file.
22589 * gdb.asm/asm-source.exp: Recognize m32r target.
22590 * gdb.asm/configure.in: Recognize m32r target.
22591 * gdb.asm/configure: Regenerate.
22592
a773d1cd
MS
225932001-11-20 Michael Snyder <msnyder@redhat.com>
22594
017ac23d
MS
22595 * gdb.asm/i386.inc: New file.
22596 * gdb.asm/asm-source.exp: Recognize ix86 target.
22597 * gdb.asm/configure.in: Recognize ix86 target.
22598 * gdb.asm/configure: Regenerate.
22599
a773d1cd
MS
22600 * gdb.c++/namespace.exp: Fix quotes in output messages.
22601
bb632afb
MS
226022001-11-14 Michael Snyder <msnyder@redhat.com>
22603
25d559ca 22604 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
22605 qualifier in a type cast expression, to designate an address
22606 in the instruction space (Harvard architecture).
22607
4749e309
MS
226082001-11-13 Michael Snyder <msnyder@redhat.com>
22609
22610 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
22611 Tests for expressions using 'const' and 'volatile'.
22612
25050984
CV
226132001-11-13 Corinna Vinschen <vinschen@redhat.com>
22614
22615 * gdb.asm/asm-sources.exp: Allow defining linker flags.
22616
1902c51f
DJ
226172001-11-12 Daniel Jacobowitz <drow@mvista.com>
22618
22619 * lib/mi-support.exp (mi_run_to_helper): Move comments
22620 outside of gdb_expect.
22621
dcf95b47
DJ
226222001-11-11 Daniel Jacobowitz <drow@mvista.com>
22623
22624 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
22625 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
22626 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
22627 mi0_run_to): New functions.
22628 * gdb.mi/mi-simplerun.exp: Use them.
22629 * gdb.mi/mi0-simplerun.exp: Likewise.
22630 * gdb.mi/mi-var-cmd.exp: Likewise.
22631 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 22632
45b074e1
AC
226332001-11-10 Andrew Cagney <ac131313@redhat.com>
22634
22635 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
22636 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
22637
bf50d346
AC
226382001-11-09 Andrew Cagney <ac131313@redhat.com>
22639
22640 * gdb.base/restore.exp: Include $expected value in restored test
22641 message.
22642
9383332c
AC
226432001-11-09 Andrew Cagney <ac131313@redhat.com>
22644
22645 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
22646 implemented.
22647
db62520a
MS
226482001-11-08 Michael Snyder <msnyder@redhat.com>
22649
22650 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
22651 Add pass/fail message for stop at breakpoint in call dummy function.
22652
b5703437
MS
226532001-11-07 Michael Snyder <msnyder@redhat.com>
22654
d63a86f8
RM
22655 * gdb.c++/templates.exp (test_template_breakpoints):
22656 If we get an overload menu, but it does not match what
760f6330 22657 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
22658 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
22659 making the whitespace optional. Argument for "new" may be
22660 "unsigned" as well as "unsigned int/long".
d63a86f8 22661 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
22662 making the whitespace optional. Also replace "(void) with
22663 "((void|)), making the keyword "void" optional.
d63a86f8 22664 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
22665 making the whitespace optional. Also replace "(void) with
22666 "((void|)), making the keyword "void" optional.
3bf40917
MS
22667 * gdb.base/callfuncs.c (t_float_values): This function must
22668 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 22669 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
22670 can be tested against both cases. Usually one case involves
22671 promotion of float to double, while the other does not.
22672 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
22673 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
22674 includes a stack frame for "start".
22675
c8ab4e6d
JB
226762001-11-05 Jim Blandy <jimb@redhat.com>
22677
22678 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
22679 pointers are 32 bits long, and that offsets of relocs are always
22680 stored in the data (REL-style), and not in the reloc entry itself
22681 (RELA-style).
22682 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
22683 stabs.
22684
3f08ced9
MS
226852001-11-01 Michael Snyder <msnyder@redhat.com>
22686
22687 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
22688 and regular expression operators by using quoting.
22689
cbfa24cd
MS
226902001-10-31 Michael Snyder <msnyder@redhat.com>
22691
22692 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
22693 depending on what the symbol table contains.
22694 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
22695 the output of the ptype command. Similarly, accept both "const &"
22696 and "const&".
22697
aaa68313
CV
226982001-10-31 Corinna Vinschen <vinschen@redhat.com>
22699
22700 * gdb.base/miscexprs.c (main): Add usage of preprocessor
22701 symbol `STORAGE' to allow to choose the storage class of
22702 the local datastructures.
22703 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
22704 compiler directive.
22705
91740388
MS
227062001-10-30 Michael Snyder <msnyder@redhat.com>
22707
22708 * gdb.base/jump.exp: Allow it to run for all targets.
22709
1b7c05e7
CV
227102001-10-29 Corinna Vinschen <vinschen@redhat.com>
22711
22712 * gdb.base/call-ar-st.c (print_double_array): Match for loop
22713 with new double_array size.
22714 (main): Change storage class of all local variables to static.
22715 Reduce size of double_array to 9.
22716 * gdb.base/call-ar-st.exp: Increase timeout value.
22717 Change expected output for double array to match new size in
22718 call-ar-st.c.
22719
36a22261
CV
227202001-10-29 Corinna Vinschen <vinschen@redhat.com>
22721
22722 * gdb.base/ending-run.exp: Create identical output when passing
22723 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 22724 Stormy16 target.
36a22261 22725
92b8ae91
MK
227262001-10-28 Mark Kettenis <kettenis@gnu.org>
22727
22728 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
22729 that we catch the expected failure under Linux/x86.
22730
cb135b83
OF
227312001-10-29 Orjan Friberg <orjanf@axis.com>
22732
22733 * gdb.base/setvar.exp: Escape curly braces.
22734 * gdb.stabs/weird.exp: Ditto.
22735
6884aa54
DJ
227362001-10-27 Daniel Jacobowitz <drow@mvista.com>
22737
22738 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
22739 * gdm.mi/mi0-hack-cli.exp: Likewise.
22740
0398c9aa
AC
227412001-10-25 Andrew Cagney <ac131313@redhat.com>
22742
22743 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
22744 messages.
22745
d20bf2e8
AC
227462001-10-21 Andrew Cagney <ac131313@redhat.com>
22747
22748 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
22749 checking MI enabled.
22750
03dd63aa
CV
227512001-10-09 Corinna Vinschen <vinschen@redhat.com>
22752
22753 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
22754
1d9d99f3
FCE
227552001-10-04 Frank Ch. Eigler <fche@redhat.com>
22756
22757 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
22758 if gdb child process crashes, just signal an error.
22759
838ae6c4
JB
227602001-10-02 Jim Blandy <jimb@redhat.com>
22761
22762 * lib/gdb.exp (test_xfail_format): Simplify.
22763
22764 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
22765 front of the variable name `format'. Simplify `if'.
22766
8f0cbc1c
DJ
227672001-10-01 Daniel Jacobowitz <drow@mvista.com>
22768
22769 * gdb.threads/pthreads.exp: Wait for output and delay
22770 before sending ^C.
22771
1f08dafd
DJ
227722001-10-01 Daniel Jacobowitz <drow@mvista.com>
22773
22774 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
22775 some incorrect output instead of timing out.
22776 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
22777
674f90ff
CV
227782001-09-28 Corinna Vinschen <vinschen@redhat.com>
22779
22780 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
22781 check to allow additional `int'.
22782
9b284272
DJ
227832001-09-27 Daniel Jacobowitz <drow@mvista.com>
22784
22785 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
22786 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
22787
b55a4771
MS
227882001-09-27 Michael Snyder <msnyder@redhat.com>
22789
22790 * lib/gdb.exp (test_debug_format): New proc.
22791 (setup_xfail_format): Use new proc test_debug_format.
22792 * gdb.base/constvars.exp (local_compiler_xfail_check): New
22793 proc; use new service proc test_debug_format.
22794 Replace all other "gcc_compiled" tests with this test.
22795 * gdb.base/volatile.exp (local_compiler_xfail_check): New
22796 proc; use new service proc test_debug_format.
22797 Replace all other "gcc_compiled" tests with this test.
22798
227992001-09-27 Michael Snyder <msnyder@redhat.com>
22800
22801 * gdb.base/cvexpr.exp: New file.
22802 * gdb.base/cvexpr.c: New file
22803 Test for expressions using const and volatile keywords.
22804
4e6667ac
CV
228052001-09-26 Corinna Vinschen <vinschen@redhat.com>
22806
22807 * gdb.base/constvars.exp: Check for different orders of keywords
22808 and additional "int" strings in output.
22809
4f337972
AC
228102001-09-22 Andrew Cagney <ac131313@redhat.com>
22811
22812 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
22813 responses from "help maint".
22814
2015650d
FCE
228152001-09-19 Frank Ch. Eigler <fche@redhat.com>
22816
22817 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
22818 to localhost:NNN instead of :NNN, in case Xvfb is listening
22819 only on TCP.
22820
f3bcedc1
CV
228212001-09-19 Corinna Vinschen <vinschen@redhat.com>
22822
22823 * gdb.base/recurse.exp: When checking leaving the watchpoint
22824 scope, recognize when gdb is in function's epilogue and pass.
22825
6b819c92
KS
228262001-09-18 Keith Seitz <keiths@redhat.com>
22827
22828 * lib/insight-support.exp (_gdbtk_export_target_info): Add
22829 support for running tests against sid targets.
22830 (gdbtk_done): Ditto.
22831
a10c9419
CV
228322001-09-18 Corinna Vinschen <vinschen@redhat.com>
22833
22834 * gdb.base/ending-run.c (main): Set stdout buffersize
22835 to the same reasonable value for any target.
22836 * gdb.base/ending-run.exp: Add a regular expression
22837 to make testsuite happy on Sanyo Stormy16 target.
22838
739d0d99
CV
228392001-09-17 Corinna Vinschen <vinschen@redhat.com>
22840
22841 * gdb.base/display.c (do_loops): Add float variable `f'.
22842 Increment f in loop.
22843 * gdb.base/display.exp: Increment timeout by 60 seconds.
22844 Change float display test to use variable `f'.
22845
1b8947f0
JB
228462001-09-17 Jim Blandy <jimb@redhat.com>
22847
22848 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
22849 overflowing the limited breakpoint tables on some ROM monitors
22850 (like the ROM68K).
22851
9890ac81
FCE
228522001-09-15 Frank Ch. Eigler <fche@redhat.com>
22853
22854 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
22855 the "-ac" (disable access control) flag.
22856
6db765ea
JH
228572001-08-30 Jeff Holcomb <jeffh@redhat.com>
22858
22859 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
22860 ints.
22861
4c32cc04
KS
228622001-08-30 Keith Seitz <keiths@redhat.com>
22863
22864 * lib/gdb.exp: Move all insight-related functionality into
22865 separate file.
22866 * lib/insight-support.exp: New file.
22867
8d6e6f81
FCE
228682001-08-29 Frank Ch. Eigler <fche@redhat.com>
22869
22870 * config/sid.exp (sid_start): Never set sid verbosity; disable
22871 expect_background {} that consumed its stdout; tolerate </dev/null.
22872 Attempt to set endianness override in "sid" protocol mode. Cleanup.
22873
6a90e1d0
AC
228742001-08-18 Andrew Cagney <ac131313@redhat.com>
22875
22876 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
22877 CLI jump command to start it.
22878 (mi_run_to_main): Fail immediatly when unexpected output.
22879
1759b3c3
AC
228802001-08-18 Andrew Cagney <ac131313@redhat.com>
22881
22882 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
22883 beginning of function. Fix PR gdb/191.
22884
61d11d80
FCE
228852001-08-16 Frank Ch. Eigler <fche@redhat.com>
22886
22887 * config/sid.exp (sid_start): Don't warn if we cannot figure out
22888 what to force sid endianness to.
22889
942a4df2
KS
228902001-08-15 Keith Seitz <keiths@redhat.com>
22891
22892 * lib/gdb.exp (gdbtk_start): Don't set environment
22893 variables for TCL_LIBRARY and friends. Insight will
22894 now figure these out for itself.
22895
0521c418
MS
228962001-08-02 Michael Snyder <msnyder@redhat.com>
22897
22898 * gdb.base/completion.exp: Remove the symbol "a64l" from
22899 the expect string; this is target-specific, and not related
22900 to what is being tested.
22901
74a9a58a
DB
229022001-08-02 Dave Brolley <brolley@redhat.com>
22903
22904 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
22905
c70819fa
MS
229062001-07-25 Michael Snyder <msnyder@redhat.com>
22907
c2b8fa57
MS
22908 * gdb.base/consecutive.exp: New file. Test stepping over
22909 breakpoints on consecutive instructions.
22910 * gdb.base/consecutive.c: New file.
22911
c70819fa
MS
22912 * gdb.base/call-rt-st.exp: Use double-backslash to quote
22913 curly braces in regular expressions.
22914
2b1a1355
MS
229152001-07-25 Michael Snyder <msnyder@redhat.com>
22916
22917 * gdb.base/ending-run.exp: Accept "Program exited normally" as
22918 legitimate output from stepping out of main.
22919
413eca6f
KS
229202001-07-22 Keith Seitz <keiths@redhat.com>
22921
22922 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
22923 the empty string, do not run the tests.
22924
7e5a9322
SC
229252001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22926
22927 * gdb.base/long_long.exp: Detect size of pointer. Take into
22928 account 2-byte pointers when testing for p/a results.
22929
de58f10f
SC
229302001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22931
d63a86f8 22932 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
22933 and defined to 1K for m68hc11.
22934 (random_data): Reduce table to 1K for embedded platforms (68hc11).
22935 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
22936 (sizeof_random_data): New variable to tell the size of the data table;
22937 don't test past this size; always run to main.
22938
d6f5fea1
SC
229392001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22940
22941 * gdb.base/return2.exp: return of long long and double fails for
22942 68HC11; don't execute these tests on that platform.
22943 * gdb.base/return.exp: Return of a double fails for 68hc11.
22944
c477543d
SC
229452001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22946
22947 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
22948 tests that print a float.
22949 * call-rt-st.exp: Likewise.
22950
63cf1c79
MK
229512001-07-12 Mark Kettenis <kettenis@gnu.org>
22952
22953 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
22954 running this test on Linux.
22955
112f9ab5
MC
229562001-06-24 Michael Chastain <chastain@redhat.com>
22957
22958 * gdb.base/arithmet.exp: Remove some tests to make all test names
22959 unique.
22960
4970cb0f
MS
229612001-07-03 Michael Snyder <msnyder@redhat.com>
22962
22963 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
22964 the output of the ptype command.
22965
d85da69f
MS
229662001-07-02 Michael Snyder <msnyder@redhat.com>
22967
4c8a82de
MS
22968 * gdb.base/completion.exp: Don't assume that break.c is the only
22969 source file that may contain functions named "marker".
d85da69f
MS
22970 * gdb.base/corefile.exp: Quote the curly braces in regexp.
22971
8afc772b
AC
229722001-06-28 Andrew Cagney <ac131313@redhat.com>
22973
22974 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
22975 of files to delete.
22976
22977 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
22978 * gdb.disasm/h8300s.exp: New file.
22979 gdb.disasm/h8300s.s: Likewise.
22980
cff22675
AC
229812001-06-27 Andrew Cagney <ac131313@redhat.com>
22982
22983 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
22984 empty breakpoint tables.
22985
68c81b54
AC
229862001-06-25 Andrew Cagney <ac131313@redhat.com>
22987
22988 * lib/mi-support.exp: Update args=... part of stop-reason
22989 patterns. Accept either a list or a tuple.
22990
2dd62704
AC
229912001-06-23 Andrew Cagney <ac131313@redhat.com>
22992
22993 * lib/mi-support.exp: Remove local emacs variable defining
22994 change-log-default-name.
22995
b4127474
MC
229962001-06-22 Michael Chastain <chastain@redhat.com>
22997
22998 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
22999 This is operationally compatible with the previous version.
23000
8dbfb380
JB
230012001-06-13 Jim Blandy <jimb@redhat.com>
23002
23003 * lib/gdb.exp (gdb_test): Doc fix.
23004
f2d8c86d
MC
230052001-06-10 Michael Chastain <chastain@redhat.com>
23006
23007 * gdb.base/exprs.exp: Remove a duplicate test.
23008
81564d34
JB
230092001-06-06 Jim Blandy <jimb@redhat.com>
23010
23011 * gdb.base/return2.exp (main): Use values to test float and double
23012 returns that are not NaN's, to avoid being confused by IEEE
23013 comparison rules.
23014
da55addb
MS
230152001-06-04 Michael Snyder <msnyder@redhat.com>
23016
23017 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 23018 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
23019 rather than wait for 12 more tests to time out.
23020
42c65987
JB
230212001-06-06 Jim Blandy <jimb@redhat.com>
23022
b18bced9 23023 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 23024 Don't forget to match the GDB prompt.
b18bced9 23025
42c65987
JB
23026 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
23027
5b41e5f0
JB
230282001-06-04 Jim Blandy <jimb@redhat.com>
23029
23030 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
23031 command.
23032
015e046f
KB
230332001-05-31 Kevin Buettner <kevinb@redhat.com>
23034
23035 * gdb.base/annota1.exp (info break): Match four or more spaces
23036 after "Address".
23037
fb1ffbbe
MC
230382001-05-31 Michael Chastain <chastain@redhat.com>
23039
23040 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
23041 (dm_type_int_star): Likewise.
23042 (dm_type_long_star): Likewise.
23043 (dm_type_void_star): Likewise.
23044
5ea2a32c
KB
230452001-05-29 Kevin Buettner <kevinb@redhat.com>
23046
23047 * gdb.base/completion.exp (INPUTRC): Set this environment variable
23048 to a known value in order to get consistent results regardless
23049 of the setting of INPUTRC or the presence or contents of .inputrc.
23050
ae23c492
MS
230512001-05-24 Michael Snyder <msnyder@redhat.com>
23052
ac55707e
MS
23053 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
23054 Don't require that the main thread and the manager thread are the
23055 first in the list.
23056
ae23c492
MS
23057 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
23058 debugging. If test fails, issue an "unsupported" not a "fail".
23059
400071f1
JB
230602001-05-24 Jim Blandy <jimb@redhat.com>
23061
23062 Don't assume that short is shorter than int.
23063 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
23064 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 23065 this isn't true.
400071f1
JB
23066 ("print unsigned char == (~0)"): Add test that verifies that ~0,
23067 an int, is not equal to ~0 stored in an unsigned char. This tests
23068 the same thing that the previous test meant to, but works on
23069 16-bit machines, too.
23070 ("print unsigned char != (~0)"): Same test, complemented.
23071
0816a3e5
MS
230722001-05-24 Michael Snyder <msnyder@redhat.com>
23073
23074 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 23075 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
23076 and prevents dejagnu getting out of step.
23077
f6dc23a9
KB
230782001-05-23 Kevin Buettner <kevinb@redhat.com>
23079
23080 * gdb.base/finish.exp (finish_void): Revise pattern for
23081 stopping on the call statement to not permit stopping at
23082 the start of the instructions comprising the call sequence.
23083
7dbd117d
MC
230842001-05-19 Michael Chastain <chastain@redhat.com>
23085
23086 * gdb.base/callfuncs.exp: Make all test names unique.
23087 * gdb.base/commands.exp: Make all test names unique.
23088 * gdb.base/condbreak.exp: Make all test names unique.
23089 * gdb.base/dbx.exp: Make all test names unique.
23090 * gdb.base/default.exp: Make all test names unique.
23091 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
23092 and TIMEOUT messages to their corresponding PASS message.
23093 * gdb.base/ending-run.exp: Make all test names unique.
23094 * gdb.base/long_long.exp: Remove duplicate test.
23095
6b0b0a9e
KB
230962001-05-21 Kevin Buettner <kevinb@redhat.com>
23097
23098 * gdb.base/finish.exp (finish_void): Allow "finish" command to
23099 stop on the call statement as well as the statement after the
23100 call.
23101
2caa35cb
MS
231022001-05-21 Michael Snyder <msnyder@redhat.com>
23103
23104 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
23105
40713331
EZ
231062001-05-10 Elena Zannoni <ezannoni@redhat.com>
23107
a9c64011
AS
23108 * gdb.base/completion.exp: Revamp test. Make it execute on all
23109 platforms.
40713331 23110
c2c1be8d
EZ
231112001-05-10 Elena Zannoni <ezannoni@redhat.com>
23112
a9c64011
AS
23113 * config/gdbserver.exp (gdb_load): Handle the case
23114 in which the arguments to gdbserver are given in the
23115 baseboard configuration file.
23116 Also handle the case in which the server needs to do a
23117 load.
2c9cd303 23118
9671de48
KS
231192001-05-07 Keith Seitz <keiths@cygnus.com>
23120
a9c64011
AS
23121 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
23122 set up the display for testing.
23123 (gdbtk_start): Convert all paths to paths that tcl will like.
23124 Export target information to environment.
23125 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
23126 necessary.
23127 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
23128 (to_tcl_path): New proc to convert a given pathname into
23129 a path acceptible as an argument to a tcl command.
23130 (_gdbtk_export_target_info): New proc to export target info
23131 into the environment for gdbtk testing.
23132 (gdbtk_done): New proc to signal end-of-test.
9671de48 23133
5a360f47
JB
231342001-05-06 Jim Blandy <jimb@redhat.com>
23135
23136 * restore.c: Make the code of caller0 correspond to its comment.
23137
66c756c6
MS
231382001-05-03 Michael Snyder <msnyder@redhat.com>
23139
23140 * config/sid.exp (gdb_target_sid): Check for error messages.
23141 On error or timeout, don't make expect exit (which will terminate
23142 all subsequent tests); instead just make gdb exit.
d63a86f8 23143 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
23144 return a negative value.
23145
a966fde5
JB
231462001-04-24 Jim Blandy <jimb@redhat.com>
23147
851c18e0
JB
23148 * gdb.c++/templates.exp: If we see the prompt for the overload
23149 list, but we haven't recognized any of the longer patterns,
23150 arrange for this test to fail, not hang.
23151
a966fde5
JB
23152 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
23153 variations.
23154
db144853
MC
231552001-04-22 Michael Chastain <chastain@redhat.com>
23156
23157 * gdb.c++/local.exp: Use the 'runto' library function.
23158 * gdb.c++/namespace.exp: Likewise.
23159 * gdb.c++/overload.exp: Likewise.
23160
3207ec21
KB
231612001-03-26 Kevin Buettner <kevinb@redhat.com>
23162
23163 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
23164 * gdb.base/step-line.exp: New file. Test step/next in presence of
23165 #line directives.
23166 * gdb.base/step-line.c: New file. Test program for the above.
23167 * gdb.base/step-line.inp: New file. We pretend that this file has
23168 been transformed by some other tool into step-line.c.
23169
13b57657
JB
231702001-03-21 Jim Blandy <jimb@redhat.com>
23171
23172 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
23173 unmangled operator names.
23174
754cbe1c
JB
231752001-03-20 Jim Blandy <jimb@redhat.com>
23176
23177 * gdb.threads/linux-dp.exp: Recognize an additional message
23178 generated by GDB when it doesn't understand how to debug threads
23179 on the target system.
23180
177495c9
AC
231812001-03-19 Andrew Cagney <ac131313@redhat.com>
23182
23183 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
23184
f266096b
MC
231852001-03-12 Michael Chastain <chastain@redhat.com>
23186
23187 * gdb.c++/derivation.exp: Use the 'runto' library function.
23188
cac3c2ff
MC
231892001-03-12 Michael Chastain <chastain@redhat.com>
23190
23191 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
23192
b6c11a24
MC
231932001-02-24 Michael Chastain <chastain@redhat.com>
23194
23195 * gdb.c++/ref-types.exp: Change handwritten code to library
23196 function 'runto'.
23197
6bae5bce
OF
231982001-03-16 Orjan Friberg <orjanf@axis.com>
23199
23200 * gdb.base/signals.exp: Set count to 0 explicitly.
23201
0015fd9a
MS
232022001-03-15 Mark Salter <msalter@redhat.com>
23203
23204 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
23205 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
23206 (gdb_load): Add support for additional target_info: gdb_download_size
23207 and gdb_load_timeout.
0015fd9a 23208
fc33412a
DT
23209Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
23210
23211 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
23212 file -- to prevent failing when the compile fails but we have no
23213 intention of running the tests anyway.
fc33412a
DT
23214
23215 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
23216 tests if set.
23217
23218 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 23219 integers.
fc33412a
DT
23220
23221 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
23222 * gdb.c++/namespace.exp: Ditto.
23223
115f06de
OF
232242001-03-07 Orjan Friberg <orjanf@axis.com>
23225
23226 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
23227 * gdb.base/pointers.exp: Relax pattern match of decimals.
23228
b6ba6518
KB
232292001-03-06 Kevin Buettner <kevinb@redhat.com>
23230
23231 * Makefile.in, config/abug.exp, config/cfdbug.exp,
23232 config/cpu32bug.exp, config/dve.exp, config/est.exp,
23233 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
23234 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
23235 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
23236 config/sh.exp, config/sid.exp, config/slite.exp,
23237 config/sparclet.exp, config/udi.exp, config/unknown.exp,
23238 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
23239 config/vxworks.exp, config/vxworks29k.exp,
23240 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
23241 gdb.base/all-bin.exp, gdb.base/annota1.exp,
23242 gdb.base/arithmet.exp, gdb.base/assign.exp,
23243 gdb.base/async.exp, gdb.base/attach.exp,
23244 gdb.base/bitfields.exp, gdb.base/bitops.exp,
23245 gdb.base/break.exp, gdb.base/call-ar-st.exp,
23246 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
23247 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
23248 gdb.base/commands.exp, gdb.base/completion.exp,
23249 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
23250 gdb.base/constvars.exp, gdb.base/corefile.exp,
23251 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
23252 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
23253 gdb.base/ending-run.exp, gdb.base/environ.exp,
23254 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
23255 gdb.base/finish.exp, gdb.base/foll-exec.exp,
23256 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
23257 gdb.base/funcargs.exp, gdb.base/help.exp,
23258 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
23259 gdb.base/logical.exp, gdb.base/long_long.exp,
23260 gdb.base/maint.exp, gdb.base/mips_pro.exp,
23261 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
23262 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
23263 gdb.base/pointers.exp, gdb.base/printcmds.exp,
23264 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
23265 gdb.base/regs.exp, gdb.base/relational.exp,
23266 gdb.base/remote.exp, gdb.base/reread.exp,
23267 gdb.base/restore.exp, gdb.base/return2.exp,
23268 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
23269 gdb.base/selftest.exp, gdb.base/setshow.exp,
23270 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
23271 gdb.base/sigall.exp, gdb.base/signals.exp,
23272 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
23273 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
23274 gdb.base/step-test.exp, gdb.base/structs.c,
23275 gdb.base/structs.exp, gdb.base/structs2.exp,
23276 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
23277 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
23278 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
23279 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
23280 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
23281 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
23282 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
23283 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
23284 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
23285 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
23286 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
23287 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
23288 gdb.fortran/types.exp, gdb.java/jmisc.exp,
23289 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
23290 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
23291 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
23292 gdb.trace/circ.exp, gdb.trace/collection.exp,
23293 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
23294 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
23295 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
23296 gdb.trace/report.exp, gdb.trace/save-trace.exp,
23297 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
23298 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
23299 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
23300 notices.
23301
dc96c6c7 233022001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
23303
23304 * gdb.base/varargs.c (find_max_double): Fix printf format string:
23305 first arg is int not float.
23306
dc96c6c7 233072001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
23308
23309 * gdb.base/reread.exp: Unsupported for non-native targets;
23310 doesn't work for remote debugging.
23311
9b0c4aeb
FN
233122001-02-19 Fernando Nasser <fnasser@redhat.com>
23313
23314 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
23315 * gdb.base/ending-run.exp: Properly handle the BSP state when
23316 stepping past the end of main.
9b0c4aeb 23317
02aa71d5
MC
233182001-02-19 John Moore <jmoore@redhat.com>
23319
23320 * gdb.base/commands.exp (infrun_breakpoint_command_test):
23321 Converted HPUX fix for non-expected items following multiple
23322 step commands into general solution for all platforms.
23323
1fa449a4
MC
233242001-02-18 Michael Chastain <chastain@redhat.com>
23325
23326 * gdb.c++/classes.exp (do_tests): Change runto statements
23327 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23328 statements demangler agnostic.
23329 * gdb.c++/virtfunc.exp (do_tests): Likewise.
23330 (gdb_virtfunc_restart): Likewise.
23331
b2f9ec70
MC
233322001-02-14 Michael Chastain <chastain@redhat.com>
23333
23334 * gdb.c++/inherit.exp (do_tests): Change runto statements
23335 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23336 statements demangler agnostic.
23337
cf74b8ca
AC
23338Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
23339
23340 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
23341 ``continue to bkpt at common_routine in thread 2'' and ``stopped
23342 before calling common_routine 15 times'' tests.
cf74b8ca 23343
99f78f56
MC
233442001-02-11 Michael Chastain <chastain@redhat.com>
23345
23346 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
23347 Helps the test script figure out which demangler is in use.
23348 (dm_type_foo_ref): Ditto.
23349 (dm_type_int_star): Ditto.
23350 (dm_type_long_star): Ditto.
23351 (dm_type_unsigned_int): Ditto.
23352 (dm_type_void): Ditto.
23353 (dm_type_void_star): Ditto.
99707966 23354 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
23355 Probe the gdb demangler and set variables to accommodate
23356 formatting differences.
23357 (info_func_regexp): New function. Same as info_func, but
23358 matches against a regexp.
23359 (info_func): Match against a literal string.
23360 (print_addr_2): New function. Match against a literal string,
23361 which can be different from the input to gdb.
23362 (print_addr): Simply call print_addr_2 with the same argument twice.
23363 (test_lookup_operator_functions): Use demangler formatting variables.
23364 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
23365 the tests in the same order as the C++ class declaration.
23366 (test_paddr_operator_functions): Ditto.
23367 (test_paddr_overloaded_functions): Ditto.
23368 (test_paddr_hairy_functions): Use demangler formatting variables.
23369 Add reference to gdb/19 for related tests.
23370 (do_tests): Call probe_demangler.
23371
1de8f023
KB
233722001-01-30 Kevin Buettner <kevinb@redhat.com>
23373
23374 * gdb.c++/templates.cc (printf): Remove unused function definition.
23375
ca3f91ed
MS
233762001-01-26 Felix Lee <flee@redhat.com>
23377
23378 * sid.exp (sid_exit): Pass host, not target, to remote_close.
23379
233802001-01-25 matthew green <mrg@redhat.com>
23381
23382 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
23383 up sid.
23384 (sid_exit): Call `remote_pop_conn' after GDB is gone.
23385
233862001-01-25 matthew green <mrg@redhat.com>
23387
23388 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 23389 Deprecate $sid_spawn_id.
ca3f91ed
MS
23390 (sid_exit): Remove code necessary only for `spawn.'
23391
233922001-01-25 matthew green <mrg@redhat.com>
23393
23394 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
23395
fb18ec4a
MC
233962001-01-28 Michael Chastain <chastain@redhat.com>
23397
23398 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
23399 to call when tests fail. It takes gdb out of the overloaded
23400 function choice menu back to the main prompt, so that the test
23401 program stays synchronized.
23402 (set_bp_overloaded): New proc to collect all the common
23403 code for setting a breakpoint on an overloaded name. Calls
23404 take_gdb_out_of_choice_menu when needed.
23405 (menu_overload1arg): New variable to collect the repeated
23406 instances of the expected menu for an overloaded name. Change
23407 the regular expression to handle changes in g++ type encoding:
23408 "void" can be either "void" or "", and "unsigned int" can be
23409 either "unsigned int" or "unsigned".
23410 (continue_to_bp_overloaded): Change regular expressions to handle
23411 changes in g++ type encoding.
23412 (no proc): Call take_gdb_out_of_choice_menu when needed.
23413 Remove redundant calls to "info break". Accept either "canceled"
23414 or "cancelled". Change regular expressions in "info break"
23415 calls to handle changes in g++ type encoding. Give all tests
23416 unique strings.
23417
9c646a6e
BE
234182001-01-17 Ben Elliston <bje@redhat.com>
23419
23420 * config/sid.exp: New file.
23421
9549d9c1
AC
23422Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
23423
23424 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
23425
dc96c6c7 234262000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
23427
23428 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
23429 Add a RE to accept a non-ascii char if one is ever presented.
23430
b4df4f68
FN
234312000-12-20 Fernando Nasser <fnasser@redhat.com>
23432
297dd0fd 23433 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 23434
dc96c6c7 234352000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 23436
d63a86f8 23437 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
23438 in regexp. One '\' does not suffice on Linux.
23439
4a7bddb6
MC
234402000-12-09 Michael Chastain <chastain@redhat.com>
23441
23442 * gdb.base/break.exp (test_clear_command): Use a marker function
23443 rather than 'main' for the test function. Also move this
23444 test to an execution point where the marker function names are
23445 guaranteed to be bound to functions. (Executing tests after a
23446 'finish' from main runs into name conflicts with local names
23447 in __libc_start_main).
23448
dc96c6c7 234492000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
23450
23451 * gdb.base/finish.exp: New test for gdb's "finish" command.
23452 * gdb.base/return2.exp: New test for gdb's "return" command.
23453 * gdb.base/return2.c: New source file for above.
23454
dc96c6c7 234552000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
23456
23457 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
23458 * gdb.base/miscexprs.exp: Ditto.
23459 * gdb.base/pointers.exp: Ditto.
23460 * gdb.c++/derivation.exp: Ditto.
23461 * gdb.c++/local.exp: Ditto.
23462 * gdb.c++/namespace.exp: Ditto.
23463 * gdb.c++/overload.exp: Ditto.
23464 * gdb.c++/ref-types.exp: Ditto.
23465
dc96c6c7 234662000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
23467
23468 * gdb.base/constvars.exp: Test result of "up" command.
23469 * gdb.base/miscexprs.exp: Ditto.
23470 * gdb.base/pointers.exp: Ditto.
23471 * gdb.base/scope.exp: Ditto.
23472 * gdb.c++/derivation.exp: Ditto.
23473 * gdb.c++/local.exp: Ditto.
23474 * gdb.c++/namespace.exp: Ditto.
23475 * gdb.c++/overload.exp: Ditto.
23476 * gdb.c++/ref-types.exp: Ditto.
23477
44097287
FN
234782000-11-22 Michael Chastain <chastain@redhat.com>
23479
23480 * mips_pro.exp: Accept either "middle -> top -> main" or
23481 "middle -> main" in the backtrace, because gcc can optimize
23482 tail calls to jumps. Remove setup_xfail for the hppa case.
23483 Add a comment with the original warning messages from PR 3016,
23484 which was filed in 1993, to preserve them for posterity.
23485
9d2e1bab
ND
234862000-11-17 Nick Duffek <nsd@redhat.com>
23487
23488 * lib/gdb.exp (gdb_test): Override timeout with board info.
23489
1aca8eb7
ND
234902000-11-17 Nick Duffek <nsd@redhat.com>
23491
23492 * gdb.base/display.exp: Don't kill running stub. Add "again" to
23493 the second kill and detach messages.
23494
93076499
ND
234952000-11-17 Nick Duffek <nsd@redhat.com>
23496
23497 * configure.in: Add AC_EXEEXT.
23498 * configure: Regenerate.
23499 * Makefile.in (just-check): Export EXEEXT.
23500 * lib/gdb.exp ($EXEEXT): Import from environment.
23501 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
23502 expect "maint dump-me" on Cygwin.
23503 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
23504 $EXEEXT.
23505
30e87cd3
ND
235062000-11-17 Nick Duffek <nsd@redhat.com>
23507
23508 * gdb.base/break.exp: Test backtrace and finish from called
23509 function on all platforms, not just HP-UX.
23510
dc96c6c7 235112000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
23512
23513 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
23514 code from gdb_target_monitor, so it can be used independantly
23515 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 23516
dc96c6c7 235172000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
23518
23519 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
23520 * gdb.base/corefile.exp: Expect the message "Program is being
23521 debugged already" when we send the "corefile" command, since
23522 the preceeding gdb_load may have connected gdb to a remote target.
23523 * gdb.base/display.exp: Disable hardware watchpoints if new
23524 board info variable "no_hardware_watchpoints" is true.
23525 Replace single-letter commands with more readable ones.
23526 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
23527 if new board info variable "no_hardware_watchpoints" is true.
23528 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
23529 to see if stdio (printf) testing is possible.
23530 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
23531 board info variable "no_hardware_watchpoints" is true. Use new
23532 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
23533
39124dea
FN
235342000-11-13 Fernando Nasser <fnasser@redhat.com>
23535
23536 From Orjan Friberg <orjanf@axis.com>:
23537 * gdb.base/printcmds.exp: Escape curly braces followed by a number
23538 in array print pattern match.
23539
a9e2e984
FN
235402000-11-09 Fernando Nasser <fnasser@redhat.com>
23541
23542 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
23543 spelling "cancelled" to U.S. spelling "canceled" to match changes
23544 made to gdb.
23545 * gdb.c++/ovldbreak.exp: Ditto.
23546
c7db355b
PS
235472000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23548
23549 * gdb.base/callfuncs.c (main): Moved to end of file, call
23550 t_double_values to initialize the FPU before inferior calls are made.
23551 * gdb.base/callfuncs.exp: Test for register preservation after calling
23552 inferior functions. Add tests for continuining, finishing and
23553 returning from a stop in a call dummy.
23554
dc96c6c7 235552000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
23556
23557 * gdb.base/commands.exp: Break up long lines, and re-indent.
23558
dc96c6c7 235592000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
23560
23561 * config/gdbserver.exp: Rewritten from the ground up, to make it
23562 compatible with the current dejagnu tree, and to make it work with
23563 the new "gdbserver" in libremote.
23564
dc96c6c7 235652000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
23566
23567 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
23568 * gdb.base/varargs.exp: Skip entire test if no printf support.
23569 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
23570 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
23571
dc96c6c7 235722000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
23573
23574 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
23575 no floating point support.
23576 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
23577 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
23578 * gdb.base/call-rt-st.exp: Ditto.
23579 * gdb.base/call-strs.exp: Ditto.
23580
bac5fc66
JG
235812000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
23582
23583 * gdb.base/sizeof.c: include <stdio.h>.
23584
23585 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
23586 'finish', otherwise uncaptured gdb_prompt would potentially
23587 throw remaining test points out of sync.
bac5fc66 23588
b22a6027
SB
235892000-07-26 Scott Bambrough <scottb@netwinder.org>
23590
23591 * gdb.base/recurse.exp: Run tests for all targets.
23592 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
23593 gnu-oldld case on ARM.
23594 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
23595 for ARM targets.
d63a86f8 23596
d8231941
AG
23597Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
23598
23599 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
23600 * gdb.java/configure: Rebuild.
23601
8caabe69
AG
23602Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
23603
23604 * gdb.java/jv-exp.exp: New file.
23605
9d273ca3
AG
23606Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
23607
23608 * configure: Rebuilt.
23609 * configure.in (configdirs): Add gdb.java.
23610 * gdb.java/jmisc.java: New file.
23611 * gdb.java/jmisc.exp: New file.
23612 * gdb.java/Makefile.in: New file.
23613 * gdb.java/configure: Rebuilt.
23614 * gdb.java/configure.in: New file.
23615 * lib/java.exp: New file.
23616
4f823a66
AC
23617Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
23618
23619 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 23620 underflow.
4f823a66 23621
2391e11d
AC
23622Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
23623
23624 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 23625 and the compilers sizes.
2391e11d 23626
54602222
ND
236272000-07-09 Nick Duffek <nsd@redhat.com>
23628
23629 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
23630 (use_methods): New function.
23631 (main): Call use_methods().
23632 * gdb.c++/classes.exp (test_method_param_class): New procedure.
23633 (do_tests): Call test_method_param_class.
23634
2bec0572
ND
236352000-07-09 Nick Duffek <nsd@redhat.com>
23636
23637 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
23638 spelling.
23639 (test_enums): New procedure. Move enum tests from end of script
23640 to here. Set breakpoint on function name instead of line number.
23641 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
23642 (enums2): New marker function.
23643 (enums1): New function.
23644 (main): Call enums1(). Move enum tests to enums1().
23645
78492fde
AC
23646Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
23647
23648 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 23649 compile/link program. Update line numbers.
78492fde
AC
23650 * gdb.asm/d10v.inc: Define ``startup''.
23651 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 23652
49a2cef8
AC
23653Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
23654
23655 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
23656
3e6c8688
EZ
236572000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23658
23659 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 23660 of 'help maint print' command.
3e6c8688 23661
9ff5cbe9
AC
23662Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
23663
23664 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 23665 they use gdb_expect_list.
9ff5cbe9 23666
17c579bd
AC
23667Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
23668
23669 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
23670 memory-read-packet-size'' instead of ``set endian big'' to test
23671 long commands.
17c579bd 23672
e6d71bf3
DB
236732000-06-03 Daniel Berlin <dan@cgsoftware.com>
23674
23675 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 23676 g++, and stop skipping them.
e6d71bf3
DB
23677
23678 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
23679 work under g++.
23680
d63a86f8 23681 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
23682 initialization.
23683
dc96c6c7 236842000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
23685
23686 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
23687 the regular expression: accept an (almost) arbitrary sequence of
23688 "frames-invalid" and "breakpoints-invalid" messages both before
23689 and after the "starting" message.
23690
dc96c6c7 236912000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
23692
23693 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 23694
dc96c6c7 236952000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
23696
23697 * gdb.base/annota1.exp (annotate-signal-handler-caller):
23698 Relax the regular expression a little, make it pass on Solaris 8.
23699
8216cda9
KB
237002000-05-12 Kevin Buettner <kevinb@redhat.com>
23701
23702 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 23703 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
23704 Instead, it is permissible for gdb to stop on the line of the
23705 call itself.
23706
1a570b2f
MS
237072000-05-12 Michael Snyder <msnyder@.cygnus.com>
23708
23709 * gdb.base/break.exp (bp on small function, optimized file):
23710 Add a second pass pattern. The behavior differs here between stabs
23711 and dwarf for one-line functions. Stabs preserves two line symbols
23712 (one before the prologue and one after) with the same line number,
23713 but dwarf regards these as duplicates and discards one of them.
23714 Therefore the address after the prologue (where the breakpoint is)
23715 has no exactly matching line symbol, and GDB reports the breakpoint
23716 as if it were in the middle of a line rather than at the beginning.
23717
dc96c6c7 237182000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 23719
d63a86f8 23720 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
23721 rather than "send_gdb" (for consistancy).
23722
7d418785
AC
23723Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
23724
23725 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
23726 * gdb.c++/templates.cc: Properly check for GCC version number.
23727 * lib/compiler.cc: Likewise
23728
dc96c6c7 237292000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 23730
d63a86f8 23731 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
23732 gdb may not stop at the first line of main, due to code motion.
23733
dc96c6c7 237342000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
23735
23736 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
23737 This test depends on parsing the printf output from the target.
23738 Since the sparclet stub doesn't do stdio, this will never work.
23739 * gdb.base/call-rt-st.exp: ditto.
23740 * gdb.base/call-strs: ditto.
23741
dc96c6c7 237422000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
23743
23744 * gdb.base/miscexprs.exp: make sizeof long array test portable.
23745
23746 * gdb.base/ending-run.exp: After connecting to a remote target,
23747 but before running, the target will appear to be in a random
23748 location. Specify both a file and a line for breakpoints.
23749 Also, the function that calls main may be called 'init'
23750 rather than 'start'.
23751
a5a51225
EZ
237522000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23753
23754 * gdb.base/help.exp: Update output for add-symbol-file command.
23755
7930cc7c
FN
237562000-04-10 Fernando Nasser <fnasser@cygnus.com>
23757
23758 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23759 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
23760
23e37ab1
C
237612000-04-07 J.T. Conklin <jtc@redback.com>
23762
e93c542c
C
23763 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
23764
23e37ab1
C
23765 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
23766
591b8fa3
PDM
23767Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
23768
23769 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 23770 values that can be represented exactly.
591b8fa3
PDM
23771 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
23772 above change, and to not check against the directory part of the source
23773 file name.
23774 (step into print_long_arg_list): Likewise.
23775 (print print_small_structs from print_long_arg_list): Likewise.
23776 (print print_long_arg_list): Likewise.
23777
7a495180
EZ
237782000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23779
30b53638 23780 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 23781
beb998c6
AC
23782Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
23783
23784 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
23785
1c689132
DB
237862000-03-25 Daniel Berlin <dan@cgsoftware.com>
23787
23788 * gdb.base/commands.exp (deprecated_command_test): Add test for
23789 deprecate with no arguments.
23790
c1790a9d
JL
237912000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
23792
23793 * gdb.base/break.exp: Add new test for setting breakpoints on
23794 optimized code so we can test breakpoints work even when function
23795 prologues may be optimized away
23796
003ba290
FN
237972000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
23798
23799 From David Whedon <dwhedon@gordian.com>
a9c64011 23800 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 23801
6837a0a2
DB
238022000-03-22 Daniel Berlin <dan@cgsoftware.com>
23803
23804 * gdb.base/help.exp: Added test for new apropos command.
23805
b9593231
KB
238062000-03-21 Kevin Buettner <kevinb@redhat.com>
23807
23808 * gdb.base/pointers.c (usevar): New function.
23809 (main): Make sure that global variables v_int_pointer2, rptr,
23810 and y are all referenced someplace in the program by calling
23811 usevar() on them. [Some linkers delete symbols which are
23812 never referenced. The space remains, but there's no way to
23813 get a (symbolic) handle on the variable from the debugger.]
23814
751a959b
EZ
238152000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23816
23817 * gdb.base/printcmds.c: Add typedeffed arrays.
23818
23819 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 23820 procedure to test arrays that are typedef'd.
751a959b 23821
73a93a32
JI
238222000-03-13 James Ingham <jingham@leda.cygnus.com>
23823
23824 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 23825 the library directories.
73a93a32 23826
fb40c209
AC
23827Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
23828
23829 * configure.in (configdirs): Add sub directory gdb.mi.
23830 * configure: Re-generate.
23831
23832 * gdb.mi: New directory.
d63a86f8 23833
ee4dd2c9
AC
238342000-02-25 Scott Bambrough <scottb@netwinder.org>
23835
23836 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 23837 a long long value as a double on ARM platforms.
ee4dd2c9 23838
70f0cc22
JB
238392000-02-16 Jim Blandy <jimb@redhat.com>
23840
23841 * gdb.base/break.exp ("breakpoint line number"): Make sure the
23842 default source file is set properly before running this test.
23843
853819b8
EZ
238442000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23845
23846 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 23847 gdbtk/library directory, not in gdbtcl2.
853819b8 23848
dfcd3bfb
JM
238492000-02-04 Jim Blandy <jimb@redhat.com>
23850
23851 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
23852 backslash from regexp pattern.
23853
23854 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
23855 procedure. Use it to run all the "continue to bp overloaded"
23856 tests. Note that this changes the names of the tests slightly.
23857 If the breakpoint hit message includes a hex PC value, because
23858 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
23859 from the real source code, still consider that a pass.
23860
23861 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
23862 XFAIL here if the breakpoint message contains a hex address. Note
23863 similar change on 1999-11-02.
23864
23865 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
23866
23867 * gdb.base/ptype.exp: Establish a default source file before
23868 calling get_debug_format.
23869
238702000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
23871
23872 * gdb.base/watchpoint.exp: Remove duplication of test messages.
23873
8b93c638
JM
238742000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
23875
23876 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
23877 of successive stepi commands -- while in the prologue we should see
23878 the function entry bracket.
23879
238802000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
23881
23882 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
23883 reach __change_mode() when stepping through the end of main().
23884
c5394b80
JM
238852000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
23886
23887 * gdb.base/default.exp: Fix expected pattern.
23888 * gdb.base/help.exp: Same.
23889
0d06e24b
JM
238902000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23891
23892 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 23893 Don't use xfail's because that affects only the following test.
d63a86f8 23894
0d06e24b 23895 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 23896 solaris or linux.
0d06e24b
JM
23897
23898 * gdb.base/selftest.exp: Update to reflect changes to main.c.
23899
dc96c6c7 239002000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 23901
d63a86f8 23902 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
23903 "A syntax error" rather than "A parse error". Accept both.
23904
239052000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
23906
23907 * gdb.base/default.exp: Remove OS dependent string from "target
23908 remote" test.
23909 * gdb.base/help.exp: Same for "help target remote" test.
23910
c3f6f71d
JM
239112000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23912
23913 From Jim Kingdon <kingdon@redhat.com>:
23914
23915 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
23916 prompt (cleanup rather than necessity, but still might keep output
23917 from spilling to next test).
c3f6f71d
JM
23918
239192000-01-02 Fred Fish <fnf@cygnus.com>
23920
23921 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
23922 AIX, which defines them in <sys/types.h>.
23923
ed9a39eb 239241999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 23925
ed9a39eb 23926 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 23927 float" test.
ed9a39eb
JM
23928
239291999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 23930
ed9a39eb 23931 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
23932
23933 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
23934 outermost frame disallowed".
23935
239361999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
23937
23938 * gdb.base/setvar.exp: New tests for setting the value of a struct
23939 with a constant list.
23940
239411999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
23942
23943 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
23944 require the user to type a cast before setting the value of a struct.
23945
de57eccd
JM
239461999-12-06 Jim Blandy <jimb@cygnus.com>
23947
23948 * gdb.base/default.exp: Expect the new 'info float' command on
23949 all i386 platforms.
23950
23951 * gdb.threads/linux-dp.exp: Expand our ability to recognize
23952 LinuxThreads libraries that don't support debugging.
23953
c2d11a7d
JM
23954Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
23955
23956 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
23957 Change the buffer type to ``unsigned char'' to simplify size
23958 arithmetic.
c2d11a7d
JM
23959
23960 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
23961 stub only handles 400-1 byte packets. Verify that the download
23962 worked.
c2d11a7d
JM
23963
239641999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
23965
23966 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
23967 tests, using UNRESOLVED for the untested cases. Also, does not wait
23968 for a timeout if the prompt was received before a recognizable pattern.
23969
239701999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
23971
23972 * lib/gdb.exp (gdb_expect_list): Fix spelling.
23973
239741999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23975
23976 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 23977 watchpoints.
c2d11a7d
JM
23978
239791999-11-24 Jason Merrill <jason@casey.cygnus.com>
23980
23981 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
23982
23983 * gdb.c++/local.exp: Be more flexible in recognizing local class
23984 name mangling. Don't allow horribly truncated method names.
23985 * gdb.c++/derivation.exp: Expect protected inheritance.
23986 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
23987 * gdb.c++/virtfunc.exp: Likewise.
23988 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
23989 when printing a nested enum.
23990
239911999-11-22 Jim Blandy <jimb@cygnus.com>
23992
23993 * gdb.base/step-test.exp: Properly await GDB's response to setting
23994 a breakpoint on the call to large_struct_by_value.
23995
23996 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
23997 just because we have debug info for the `start' function.
23998
239991999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
24000
24001 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
24002 "Unknown signal" messages, which indicate (on LinuxThreads) that
24003 GDB doesn't know how to debug threads on this system. This is
24004 better than hanging while philosopher 0 dumps chatter into gdb.log.
24005
240061999-11-18 Tom Tromey <tromey@cygnus.com>
24007
24008 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
24009
240101999-11-18 Fred Fish <fnf@cygnus.com>
24011
24012 * gdb.base/coremaker2.c: Add sample program for generating
24013 cores that is more self contained than coremaker.c. Eventually
24014 I'll add more code to this and tie it into the testsuite.
24015
4ce44c66
JM
240161999-11-12 Stan Shebs <shebs@andros.cygnus.com>
24017
24018 * gdb.base/dollar.exp: Remove, now in gdb.hp.
24019
240201999-11-10 Jimmy Guo <guo@cup.hp.com>
24021
24022 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 24023 from $srcdir/lib/.
4ce44c66 24024 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 24025 and gdb.c++/.
4ce44c66
JM
24026
24027 * gdb.c++/derivation.exp: remove redundant get compiler info code.
24028
d63a86f8 24029 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
24030 'continue with watch' test point.
24031
240321999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
24033
24034 Merged from p2linux-990323-branch:
d63a86f8 24035
4ce44c66
JM
24036 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
24037
11cf8741
JM
24038Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
24039
24040 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 24041 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
24042
24043Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
24044
24045 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 24046 gdb_expect_list.
11cf8741
JM
24047
24048Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
24049
24050 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
24051
240521999-11-03 Mark Salter <msalter@cygnus.com>
24053
24054 * gdb.base/break.exp: Fix "stub continue" pattern.
24055
240561999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
24057
24058 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
24059
240601999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
24061
24062 * gdb.base/display.exp ("finish"): Add timeout clause.
24063
24064 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
24065 plain prompt clause, so this doesn't have to time out in order to
24066 fail.
24067
24068 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 24069 breakpoint hit messages include an address.
11cf8741
JM
24070
24071 * gdb.base/display.exp: Don't forget to escape parens in regular
24072 expressions. Unix regexp notatation sucks.
24073
240741999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24075
24076 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 24077 order for 'signalled' message.
11cf8741 24078
5c44784c
JM
240791999-11-01 Stan Shebs <shebs@andros.cygnus.com>
24080
24081 From Jimmy Guo <guo@cup.hp.com>:
24082 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
24083 * gdb.base/annota1.c: Add code for tests to work with.
24084
240851999-10-26 Frank Ch. Eigler <fche@cygnus.com>
24086
24087 * gdb.base/remote.exp: New test for remote downloading settings.
24088 * gdb.base/remote.c: New file with large .data.
24089
917317f4
JM
240901999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
24091
24092 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
24093 for LinuxThreads support, merged from the Code Fusion branch.
24094
24095Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
24096
24097 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
24098 containing exp_continue into a while within an expect. Don't
24099 attempt a start more than three times. Check return value from
24100 gdb_load.
d63a86f8 24101
2df3850c
JM
24102Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
24103
24104 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 24105 a pass case.
2df3850c 24106
2acceee2
JM
241071999-10-01 Kevin Buettner <kevinb@cygnus.com>
24108
24109 * gdb.base/break.c (main): Added a statement that we can step
24110 off of.
24111 * gdb.base/break.exp: Added tests for setting a breakpoint
24112 at an offset and stepping onto a breakpoint.
24113
241141999-10-01 Fred Fish <fnf@cygnus.com>
24115
d63a86f8 24116 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
24117 gdb output.
24118
c2c6d25f
JM
241191999-09-18 Jim Blandy <jimb@cris.red-bean.com>
24120
24121 * gdb.base/break.exp: Code locations are in hex, don't forget!
24122 (For HP-UX.)
24123
241241999-09-17 Stan Shebs <shebs@andros.cygnus.com>
24125
24126 * condbreak.exp: Use break.c as test program.
24127 * condbreak.c: Remove, redundant with break.c.
24128
241291999-09-15 Stan Shebs <shebs@andros.cygnus.com>
24130
24131 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 24132 Z-packets if the target needs it.
c2c6d25f
JM
24133
241341999-09-13 James Ingham <jingham@leda.cygnus.com>
24135
24136 * gdb.c++/overload.exp: Added tests for listing overloaded
24137 functions with function pointers in the arg, explicitly calling
24138 out the version you want.
24139
cff3e48b
JM
241401999-09-09 Stan Shebs <shebs@andros.cygnus.com>
24141
24142 * long_long.exp: Add variations of test cases that work for
24143 targets with 16-bit ints and 32-bit doubles.
24144
d4f3574e
SS
241451999-09-08 Stan Shebs <shebs@andros.cygnus.com>
24146
24147 * break.c (main): Compare a possibly-uninitialized argc with an
24148 unlikely value that fits in 16 bits.
24149
241501999-09-07 Stan Shebs <shebs@andros.cygnus.com>
24151
24152 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
24153 0xfeeb, don't want negative numbers if ints are 16 bits.
24154
24155 * lib/gdb.exp (skip_cplus_tests): New proc.
24156 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
24157 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
24158 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
24159 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
24160 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
24161 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
24162 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
24163 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
24164
24165 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
24166
24167Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
24168
24169 * gdb.base/corefile.exp (up): Allow a parameter to appear
24170 in the frame that we're going up to.
24171
24172 From Jim Blandy <jimb@cygnus.com>:
24173
24174 * gdb.base/default.exp (info float): Expect some output now.
24175
24176 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
24177 returning floating-point values to fail on the x86.
24178 * gdb.base/callfwmall.exp (do_function_calls): Same.
24179
24180 * gdb.base/list.exp (test_listsize): Correct expectations for
24181 listing line 1 with listsize 2. Also, listing a single line
24182 works now, as does listing three lines. [Kevin's note: There
24183 were a number of other cases fixed too where the expectations
24184 differed...]
24185
241861999-09-02 Stan Shebs <shebs@andros.cygnus.com>
24187
24188 * gdb.base/selftest.exp: Add case for when version prints as
24189 constant string instead of char pointer.
24190
104c1213
JM
241911999-08-25 Stan Shebs <shebs@andros.cygnus.com>
24192
24193 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 24194 stepping out of main.
104c1213
JM
24195
24196 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
24197 G++ used.
24198
24199 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 24200 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
24201
24202 * gdb.c++/ovldbreak.exp: Update match string in test that
24203 includes a warning of multiple breakpoints.
24204
242051999-08-24 Stan Shebs <shebs@andros.cygnus.com>
24206
24207 * gdb.base/display.exp: Improve precision of step-after-finish
24208 added yesterday.
24209
24210 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 24211 test.
104c1213
JM
24212
24213 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
24214 configs when using G++, not just hppa*.
24215
242161999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24217
24218 * gdb.base/async.c: New file.
24219 * gdb.base/async.exp: New file.
24220
24221Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
24222
24223 * gdb.base/break.exp: Tweak PA specific tests to properly handle
24224 PA64.
24225
53a5351d
JM
24226Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
24227
104c1213
JM
24228 * gdb.base/display.exp: "finish" can leave us mid-line on many
24229 targets, deal with it. Add a small constant to main, instead of
24230 1000 since main+1000 may not be a valid address in the target.
24231
53a5351d
JM
24232 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
24233 on hpux11.
24234
24235 * gdb.base/attach.exp: Handle another hpux11 error message variant
24236 when attaching to a process that does not exist.
24237
242381999-08-19 J.T. Conklin <jtc@redback.com>
24239
24240 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 24241 characters in 'continue to 1241' test.
53a5351d
JM
24242
242431999-08-17 Stan Shebs <shebs@andros.cygnus.com>
24244
24245 * gdb.base/call-ar-st.exp: Add a shorter match case for the
24246 stop in print_long_arg_list, define and use a whitespace
24247 variable in print_small_structs test, add an XFAIL for Solaris.
24248 * gdb.base/dbx.exp: XFAIL func commands until somebody is
24249 interested enough to fix.
24250
7be570e7
JM
242511999-08-13 Keith Seitz <keiths@cygnus.com>
24252
24253 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
24254 (dbx_gdb_load): Remove. Use gdb_load instead, since that
24255 proc knows about targets other than the natives.
24256 (test_assign): Use "gdb_run_cmd" to "run" the target.
24257 Check that we've actually hit the breakpoint at main.
24258 When we attempt to assign a value to a local variable, check
24259 that the variable is in the current scope, i.e., don't use
24260 a test with an empty result.
24261
24262Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
24263
24264 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 24265 command.
7be570e7
JM
24266
242671999-08-09 Stan Shebs <shebs@andros.cygnus.com>
24268
24269 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24270 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
24271 gdb.compat, gdb.threads-hp.
24272 gdb.hp/configure, gdb.hp/configure.in: New files.
24273 gdb.hp/Makefile.in: Recurse into new subdirs.
24274 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
24275 gdb.hp/gdb.objdbg: New directory, tests for debugging info
24276 in object files.
24277 gdb.hp/tools: New directory, aux tools for HP-specific tests.
24278
96baa820
JM
242791999-08-05 Stan Shebs <shebs@andros.cygnus.com>
24280
24281 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 24282 funky printf, remove a bogus p/a test.
96baa820
JM
24283
242841999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24285
24286 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
24287 connected to the target. This is necessary when running not
24288 natively.
96baa820
JM
24289
242901999-08-03 Stan Shebs <shebs@andros.cygnus.com>
24291
24292 * gdb.base/step-test.exp: Removed some extraneous messages.
24293
24294 * gdb.base/long_long.exp: Don't run memory examination tests
24295 on little-endian targets (they will need a different set of
24296 results to match).
24297
242981999-08-02 Stan Shebs <shebs@andros.cygnus.com>
24299
24300 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
24301 until somebody decides to fix GDB.
24302
24303 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 24304 constant as "ULL".
96baa820
JM
24305 * gdb.base/long_long.exp: Loosen x/c test, add partial result
24306 matches for a couple x/2 commands.
24307
a0b3c4fd
JM
243081999-07-30 Stan Shebs <shebs@andros.cygnus.com>
24309
24310 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
24311 by merging in ref-types2 tests.
24312 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
24313
24314 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24315 * gdb.c++/Makefile.in: Add standard actions.
24316 (EXECUTABLES): Rename from PROGS, update list.
24317 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
24318 from gdb.hp.
24319 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
24320 foo and bar locals.
24321 * gdb.c++/anon-union.exp: Fix tests to match.
24322 * gdb.c++/classes.exp: Run if HP compiler used, add extra
24323 expect matches to handle output variations.
24324 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
24325 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 24326 output, add HP alternatives for new and delete prints.
a0b3c4fd 24327 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 24328 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
24329 * gdb.c++/demangle.exp: Use $style when reporting failure.
24330 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
24331 * gdb.c++/inherit.exp: Run if HP compiler used, add some
24332 match alternatives.
24333 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 24334 compilers.
a0b3c4fd
JM
24335 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
24336 * gdb.c++/method.exp: Add match alternatives.
24337 * gdb.c++/misc.cc: Add bool types.
24338 * gdb.c++/misc.exp: Add tests for bool types.
24339 * gdb.c++/overload.exp: Add xfails.
24340 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
24341 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
24342 add some more template parameter tests (only for HP currently).
24343 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
24344 * gdb.c++/virtfunc.cc: Add return type and value for main.
24345 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
24346 match alternatives.
d63a86f8 24347
a0b3c4fd
JM
243481999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24349
24350 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
24351
243521999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
24353
24354 * gdb.base/signals.exp: Don't expect getting a backtrace from
24355 within a signal handler to fail on Linux.
24356
243571999-07-29 Stan Shebs <shebs@andros.cygnus.com>
24358
24359 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24360 * lib/gdb.exp: Remove some gratuitious semicolons.
24361 (delete_breakpoints): Increase timeout.
24362 (gdb_expect): Add -notransfer option.
24363 (gdb_test): Use -notransfer option.
24364 (get_compiler_info): Add f77 case.
24365 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 24366 case.
a0b3c4fd
JM
24367 (gdb_preprocess): Call get_compiler.
24368
24369 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
24370 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
24371 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
24372 gdb.base/long_long.exp, gdb.base/printcmds.exp,
24373 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
24374 third arg to gdb_test.
a0b3c4fd
JM
24375 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
24376 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 24377 HP-UX xfails, add others.
a0b3c4fd
JM
24378 * gdb.base/completion.exp: Reflect name change of self-test.
24379 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
24380 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
24381 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
24382 HP failure number.
a0b3c4fd
JM
24383 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
24384 useless HP-UX 10.30 references.
24385 * gdb.base/maint.exp: Loosen matches.
24386 * gdb.base/pointers.c (main): Declare more_code.
24387 * gdb.base/pointers.exp: Match on output of a `next'.
24388 * gdb.base/structs.c: Add prototypes.
24389 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
24390 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
24391
243921999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24393
24394 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 24395 command.
a0b3c4fd
JM
24396
243971999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24398
24399 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
24400 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
24401
24402 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
24403 debug info. Deal with lack of signal hanlder info in stack.
24404
a9c64011 24405 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
24406 * gdb.base/annota1.exp: If printf has debug info, deal with it.
24407
5a2468f5
JM
244081999-07-19 Stan Shebs <shebs@andros.cygnus.com>
24409
24410 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 24411 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 24412
adf40b2e
JM
24413Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24414
24415 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 24416 a1-selftest.exp.
adf40b2e
JM
24417 * gdb.base/configure: Re-generate.
24418
244191999-07-12 Stan Shebs <shebs@andros.cygnus.com>
24420
24421 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
24422 in trying to run first and name is too long.
24423
24424 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
24425 pointers2.c and pointers2.exp, respectively.
24426 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
24427 doschk happier.
24428
43e526b9
JM
244291999-07-08 Stan Shebs <shebs@andros.cygnus.com>
24430
24431 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
24432 callfuncs2.c and callfuncs2.exp.
24433
24434 * gdb.base/list.exp: Remove mistaken xfails.
24435 * gdb.base/list0.h: Add optional prototypes.
24436
9846de1b
JM
24437Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
24438
a9c64011 24439 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 24440 calling malloc.
a9c64011
AS
24441 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
24442 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 24443 use.
9846de1b
JM
24444
244451999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24446
24447 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
24448 * gdb.base/annota2.cc, annota2.exp: Move from here.
24449 * gdb.c++/annota2.cc, annota2.exp: To here.
24450 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
24451
43ff13b4
JM
24452Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
24453
24454 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 24455 a consistent format.
43ff13b4 24456
085dd6e6
JM
244571999-06-25 Stan Shebs <shebs@andros.cygnus.com>
24458
24459 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24460 * lib/gdb.exp (get_compiler_info): Add detection for assorted
24461 HP compilers, also set the globals $true and $false.
24462
24463 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
24464 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
24465 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
24466 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
24467 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
24468 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
24469 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
24470 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
24471 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
24472 whatis.c} Add C++ compatible function definitions and return
24473 types, add includes for library functions.
085dd6e6
JM
24474 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
24475 * gdb.base/step-test.c (myglob): Rename from glob.
24476 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
24477 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
24478 files, move here from gdb.hp.
085dd6e6 24479 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
24480 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
24481 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
24482 Adjust line numbers in regexps.
085dd6e6
JM
24483
24484 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
24485 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
24486 instead of 0/1.
24487
24488 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
24489 foll-vfork.exp: New files, move here from gdb.hp.
24490 * gdb.base/page.exp: New file, test of pagination command.
24491
24492 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
24493 recursion test.
24494 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
24495
24496 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 24497 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
24498
24499 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 24500 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 24501 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 24502 watchpoint test.
085dd6e6
JM
24503 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
24504 them work.
24505 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
24506 expressions properly.
24507 * gdb.base/corefile.exp: Loosen the match slightly.
24508 * gdb.base/default.exp: Allow "Error accessing memory" message
24509 also.
24510 * gdb.base/display.exp: Skip over x/0 j if PA64.
24511 * gdb.base/funcargs.exp: Add xfails for HP-UX.
24512 * gdb.base/interrupt.exp: Ditto.
24513 * gdb.base/langs.exp: Add symbolic matches governed by compiler
24514 in use.
24515 * gdb.base/list.exp: Add xfails for HP-UX.
24516 * gdb.base/long_long.exp: Refine some of the numeric matches.
24517 * gdb.base/mips_pro.exp: Xfail on HP-UX.
24518 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
24519 * gdb.base/nodebug.exp: Succeed on more varieties of output.
24520 * gdb.base/opaque.exp: Remove some HP-UX xfails.
24521 * gdb.base/ptype.exp: Succeed on more varieties of output.
24522 * gdb.base/scope.exp: Add xfails for HP-UX.
24523 * gdb.base/sect-cmd.exp: Add more cases.
24524 * gdb.base/setvar.exp: Add xfails for HP-UX.
24525 * gdb.base/shlib-call.exp: Loosen some matches slightly.
24526 * gdb.base/signals.exp: Match on void symbolically.
24527 * gdb.base/step-test.exp: Add case for PA64.
24528 * gdb.base/term.exp: Add exit and restart.
24529 * gdb.base/twice.exp: Clean up after self.
24530 * gdb.base/varargs.exp: Disable overload resolution explicitly.
24531 * gdb.base/whatis.exp: Allow more ways to pass tests.
24532
24533 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 24534 no longer useful.
085dd6e6
JM
24535
24536Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
24537
24538 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 24539 list of patterns.
085dd6e6 24540 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
24541 print_double_array(double_array)", "continuing to breakpoint
24542 1018", "print print_double_array(array_d)" and "continuing to
24543 1034" tests.
d63a86f8 24544
085dd6e6
JM
245451999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
24546
a9c64011 24547 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
24548
245491999-06-24 Stan Shebs <shebs@andros.cygnus.com>
24550
24551 * config/mt-*: Remove, these haven't been used since 1996.
24552
245531999-06-22 Stan Shebs <shebs@andros.cygnus.com>
24554
24555 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 24556 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
24557 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
24558
9e0b60a8
JM
245591999-06-18 Stan Shebs <shebs@andros.cygnus.com>
24560
24561 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
24562 simpler match case for the ptype of the big class.
24563
245641999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24565
24566 * gdb.exp: Fix test for gdb_prompt existence.
24567
245681999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24569
24570 * gdb.exp (gdb_test): Add fail after calls to perror.
24571
245721999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24573
24574 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
24575
245761999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24577
24578 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
24579
0f71a2f6
JM
24580Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
24581
24582 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 24583 malloc() is linked in.
0f71a2f6
JM
24584
245851999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24586
24587 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
24588 step at end.
24589
24590 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
24591
245921999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
24593
24594 * gdb.java/jv-print.exp: New file. (Our first Java test!)
24595
cce74817
JM
24596Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
24597
24598 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
24599 * gdb.base/mips_pro.exp: Likewise.
24600
246011999-06-02 Keith Seitz <keiths@cygnus.com>
24602
24603 * gdb.c++/templates.cc: Change all "new" operators to throw
24604 an exception.
24605 * gdb.c++/cplusfuncs.cc: Likewise.
24606
24607 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
24608
24609Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
24610
24611 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
24612 * gdb.base/ending-run.exp: When stepping out of main, accept a
24613 step into an arbitrary assembler file.
cce74817 24614
392a587b
JM
246151999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24616
d63a86f8 24617 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 24618 "breakpoint-invalid" to be printed.
6fdff2c5
PA
24619 * gdb.base/annota2.exp: Revise line number for main
24620 breakpoint. Allow any number of "frames-invalid" and
24621 "breakpoint-invalid" to be printed.
392a587b
JM
24622 * gdb.base/annota2.cc: Initialize a.x to 0.
24623
9e086581
JM
246241999-05-17 Keith Seitz <keiths@cygnus.com>
24625
6fdff2c5
PA
24626 * gdb.base/call-ar-st.exp: Skip
24627 "print print_double_array (double_array)" when "skip_float_tests" set.
24628 Ditto for "print print_double_array(array_d)",
24629 "print print_small_structs", "print print_ten_doubles", and
24630 "step into print_long_arg_list".
24631 Don't assume we can step into "print_long_arg_list": we could step
24632 into memcpy.
24633 * gdb.base/call-rt-st.exp: Don't run float-related tests when
24634 "skip_float_tests" is set: "print print_one_double(*d1)"
24635 and "print print_two_floats(*f3)".
9e086581
JM
24636 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
24637 "skip_float_tests" is set.
6fdff2c5
PA
24638 * gdb.base/varargs.exp: Skip
24639 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
24640 "skip_float_tests" set.
d63a86f8 24641
cd0fc7c3
SS
246421999-05-06 Keith Seitz <keiths@cygnus.com>
24643
24644 * gdb.base/annota2.cc: Include stdio.h.
24645
24646Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
24647
24648 * gdb.base/crossload.exp: Remove, this has been disabled ever
24649 since BFD stopped including all targets, and cross-GDB gets
24650 plenty of testing anyway.
24651 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
24652 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
24653 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
24654 * gdb.base/README: Remove, was doc for this.
24655 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 24656 needed.
cd0fc7c3 24657
b83266a0
SS
246581999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24659
24660 * gdb.base/call-ar-st.exp: Fix one regular expression in test
24661 output.
24662
24663 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
24664 * gdb.base/annota2.exp: New file. More annotation tests.
24665 * gdb.base/annota1.c: New file. Source file for annota1.exp.
24666 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
24667
246681999-04-23 Angela Marie Thomas <angela@cygnus.com>
24669
24670 * config/cfdbug.exp: New file.
24671
7a292a7a
SS
246721999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
24673
24674 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
24675 Marcus Daniel's and Dale Hawkins's demangler crashes.
24676
24677 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
24678 test_lucid_style_demangling, test_arm_style_demangling,
24679 test_hp_style_demangling): Try Tom Tromey's core-dumping
24680 identifier under each demangling style.
7a292a7a
SS
24681
246821999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
24683
24684 * gdb.c++/demangle.exp: Include the current demangling style
24685 in all test names.
24686 (current_demangling_style): New global variable.
24687 (set_demangling_style, test_demangling_core, test_demangling,
24688 test_demangling_exact): New functions.
24689 (test_gnu_style_demangling, test_lucid_style_demangling,
24690 test_arm_style_demangling, test_hp_style_demangling): Use those,
24691 instead of calling gdb_test and gdb_test_exact directly.
24692 (catch_demangling_errors): New function, which reports errors
24693 signalled by the demangling test functions in an orderly way.
24694 (do_tests): Use catch_demangling_errors.
24695
246961999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
24697
24698 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 24699 grouping in expressions, not {}.
7a292a7a
SS
24700
24701 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 24702 initialized yet.
7a292a7a
SS
24703
247041999-04-01 Stan Shebs <shebs@andros.cygnus.com>
24705
24706 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
24707 are listed.
24708
247091999-03-26 Stan Shebs <shebs@andros.cygnus.com>
24710
24711 * gdb.stabs/weird.exp: Test for CC being defined before
24712 looking at its value.
24713
247141999-03-25 Stan Shebs <shebs@andros.cygnus.com>
24715
24716 * gdb.base/call-ar-st.exp: Remove stray '#'.
24717 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
24718 "short int" and "long int".
24719 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 24720 change, to mollify finicky HP compiler.
7a292a7a
SS
24721 * gdb.hp/reg-test.exp (testfile): Fix file name.
24722 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 24723
7a292a7a
SS
24724 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
24725 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
24726 alternate form of enum ptype.
24727
c906108c
SS
247281999-03-23 Stan Shebs <shebs@andros.cygnus.com>
24729
7a292a7a
SS
24730 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
24731 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
24732 passing skip_hp_tests, so as not to waste time on guaranteed
24733 failure.
7a292a7a 24734
c906108c
SS
24735 * gdb.c++/overload.cc: Pass string instead of char addr, always
24736 init ccpfoo.
24737 * gdb.c++/templates.cc: Fix syntax error.
24738
7a292a7a
SS
24739Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24740
24741 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 24742 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
24743 command.
24744
247451999-03-18 James Ingham <jingham@cygnus.com>
24746
24747 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
24748
24749 * gdb.c++/method.exp: It was testing an uninitialized int on the
24750 stack and assuming it was positive.
24751
24752 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
24753
24754 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 24755 keep it from killing the rest of the tests.
7a292a7a
SS
24756 Use gdb_continue_to_end.
24757
24758 * gdb.base/sigall.exp: use gdb_continue_to_end.
24759
24760 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
24761
24762 * gdb.base/display.exp: use runto_main, not run.
24763
d63a86f8
RM
24764 * gdb.base/default.exp: Check for the current error message in the
24765 r abbreviation test.
7a292a7a
SS
24766 Add strongarm to the targets that know info float.
24767
d63a86f8 24768 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
24769 run which doesn't work with monitors.
24770
6fdff2c5
PA
24771 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
24772 1034 test.
7a292a7a
SS
24773
24774 * gdb.base/break.exp: use the gdb_continue_to_end proc.
24775
6fdff2c5
PA
24776 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
24777 end of a program. Traps the case (in Cygmon) when the program
24778 never really exits. Same as Mark's continue_to_exit, but I had
24779 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
24780
24781 * config/monitor.exp (gdb_target_monitor): added another
24782 target_info parameter: remotebinarydownload. This will set the
24783 remotebinarydownload flag if this is causing some boards trouble.
24784
247851999-03-18 Mark Salter <msalter@cygnus.com>
24786
24787 * lib/gdb.exp (continue_to_exit): New function.
24788
24789 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
24790 * gdb.base/ending-run.exp: Ditto.
24791 * gdb.base/step-test.exp: Ditto.
24792
247931999-03-16 Stan Shebs <shebs@andros.cygnus.com>
24794
24795 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
24796 (suggested by Art Haas <ahaas@neosoft.com>).
24797
247981999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
24799
889bf7c5 24800 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
24801
24802Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
24803
24804 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 24805 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
24806
248071999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
24808
24809 * gdb.base/call-strs.exp: Don't assume that `step' will step over
24810 a call to strlen; sometimes we do have sources.
24811
248121999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
24813
24814 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 24815 character, so GDB won't print garbage after its end.
d63a86f8 24816
c906108c
SS
24817 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
24818 breakpoint there instead. Sometimes GCC emits memcpy to handle
24819 the large structures being passed by value, so we step into that
24820 instead of sum_array_print, which obscures what we're really testing.
24821 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
24822 the bizarre steps into memcpy, so do that here. Add check for
24823 stepping into function calls that pass large structures by value.
24824 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
24825 Remove all references to specific line numbers.
24826 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
24827 New type and function.
24828 (main): Call large_struct_by_value, passing it a large struct by value.
24829 * lib/gdb.exp (gdb_get_line_number): New function.
24830
24831 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
24832 more portable.
24833
7a292a7a
SS
248341999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
24835
c906108c
SS
24836 * lib/gdb.exp: Doc fixes.
24837
7a292a7a
SS
248381999-03-05 Nick Clifton <nickc@cygnus.com>
24839
d63a86f8 24840 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
24841
248421999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
24843
c906108c 24844 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
24845 commands. They're not germane to this test, and they don't work
24846 that way on remote targets.
c906108c 24847
3fc11d3e
JM
248481999-03-01 James Ingham <jingham@cygnus.com>
24849
24850 * Changelog entries merged over from gdb development branch.
24851
3fc11d3e
JM
24852 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
24853
24854 * lib/gdb.exp (gdbtk_analyze_results): Generic function
24855 for outputting results of test run.
24856
2d4a1622 24857 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
24858
24859 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 24860
7a292a7a
SS
248611999-02-25 Felix Lee <flee@cygnus.com>
24862
24863 * lib/gdb.exp (debug_format): initialize
24864
c906108c
SS
248651999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
24866
24867 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
24868 * gdb.base/call-rt-st.c: Ditto.
24869
c906108c
SS
248701999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
24871
24872 * gdb.threads/pthreads.exp (horiz): New variable.
24873 (test_startup): Fix regexps that capture thread numbers.
24874
248751999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
24876
24877 * gdb.base/smoke.exp: Disambiguate two test case names (both
24878 called ``print'').
24879
24880Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
24881
24882 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 24883 compilation.
c906108c
SS
24884
248851999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
24886
24887 * gdb.base/miscexprs.exp: Change patterns to match GDB's
24888 actual output formatting.
24889 * gdb.base/smoke.exp: GDB removes leading 0's.
24890 * gdb.base/volatile.exp: Don't check type of remuneration;
24891 that variable is no longer defined in constvars.c.
24892 * gdb.base/step-test.c (main): Exit with explicit exit code.
24893 * gdb.base/step-test.exp: Remove two nexti checks--they are
24894 not portable.
24895
248961999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
24897
24898 * gdb.base/help.exp ("help delete display"): Fix test to match
24899 gdb's output.
24900
24901 * gdb.base/long_long.c (known_types): Initialize values to zero.
24902 * gdb.base/long_long.exp: Step one more line
24903 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
24904 leading zeros. Explicitly ask for hex formatting. Use
24905 unique test case names.
c906108c
SS
24906
24907Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24908
d63a86f8 24909 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
24910
24911 * gdb.c++/method.exp: Add missing close brace.
24912
249131999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
24914
24915 * gdb.base/maint.exp: Use 'set height 0' to disable page
24916 prompting, not 'set height 400'.
24917
24918 Fix a bunch of timeouts.
24919 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
24920 four separate tests, so expect doesn't take forever to match a ton
24921 of text against a regexp with lots of .* forms.
24922 ("maint print psymbols", "maint print symbols"): Make some of
24923 these greps more selective, so that expect doesn't try to wade
24924 through huge piles of output and time out.
24925
24926 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
24927
24928 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
24929 tests: one which doesn't expect shlib events to be reported, and
24930 another which does, but is XFAIL for all platforms other than
24931 HP/UX.
c906108c
SS
24932
24933 * gdb.base/break.exp: Teach the test suite that the `catch
24934 fork', `catch vfork', and `catch exec' commands produce error
24935 messages on platforms that don't provide these features.
24936
24937Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
24938
24939 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
24940 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
24941 (shortening names from solib_threshold.exp etc), won't run on
24942 anything but HP-UX for the foreseeable future.
c906108c 24943 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 24944 reflect move.
c906108c
SS
24945
24946Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
24947
24948 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 24949 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
24950
24951Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
24952
24953 * gdb.base/shlib-call.exp: add test cases to verify that gdb
24954 successfully re-sets breakpoints in shared libraries.
24955 * gdb.base/shmain.c (main): return 0, don't fall off the end.
24956
24957Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24958
d63a86f8
RM
24959 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
24960 and compiled w/o GCC.
c906108c
SS
24961
24962 * gdb.hp/watch-cmd.exp: ditto.
24963
24964 * gdb.hp/watch-hp.exp: ditto.
24965
24966 * gdb.hp/xdb1.exp: ditto.
24967
24968 * gdb.hp/xdb2.exp: ditto.
24969
24970 * gdb.hp/dbx.exp: ditto.
24971
24972Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
24973
24974 * constvars.c: Remove C++-isms.
24975 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 24976 with GCC.
c906108c
SS
24977
24978Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
24979
24980 The following changes are part of the HP merge.
24981
24982 * gdb.base/break.exp: new tests to verify that catchpoints for
24983 fork, vfork, and exec don't trigger inappropriately.
24984
24985 * gdb.base/opaque.exp: compile one file at a time, then link.
24986
24987 * gdb.base/signals.exp: be more restrictive about which hppa
24988 systems receive a setup_xfail. new tests.
24989
24990 * gdb.base/solib_threshold.build: new file.
24991 * gdb.base/solib_threshold.exp: new file.
24992 * gdb.base/solib_threshold.link_opts: new file.
24993 * gdb.base/solib_threshold.mk: new file.
24994 * gdb.base/gen_solib_threshold.c: new file.
24995
24996 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
24997 tests. New tests for enums inside classes.
24998
24999 * gdb.c++/compiler.cc: indicate support of template debugging.
25000
25001 * gdb.c++/demangle.exp: run hp style demangling tests.
25002
25003 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
25004 tests.
25005
25006 * gdb.c++/misc.cc: changes to support new tests.
25007
25008 * gdb.c++/templates.cc: changes to support HP's compiler; changes
25009 to support new tests.
25010
25011 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
25012 gcc, then skip these tests.
25013
25014Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
25015
25016 The following files are part of the HP merge; some had longer
25017 names at HP, but have been renamed to be no more than 14
25018 characters in length.
25019
25020 * gdb.hp/ambiguous.cc: new file.
25021 * gdb.hp/ambiguous.exp: new file.
25022 * gdb.hp/attach.exp: new file.
25023 * gdb.hp/attach2.exp: new file.
25024 * gdb.hp/classes-hp.exp: new file.
25025 * gdb.hp/ctti.exp: new file.
25026 * gdb.hp/ctti-add.cc: new file.
25027 * gdb.hp/ctti-add1.cc: new file.
25028 * gdb.hp/ctti-add2.cc: new file.
25029 * gdb.hp/ctti-add3.cc: new file.
25030 * gdb.hp/dbx.exp: new file.
25031 * gdb.hp/exception.cc: new file.
25032 * gdb.hp/exception.exp: new file.
25033 * gdb.hp/foll-exec.c: new file.
25034 * gdb.hp/foll-exec.exp: new file.
25035 * gdb.hp/foll-fork.c: new file.
25036 * gdb.hp/foll-fork.exp: new file.
25037 * gdb.hp/foll-vfork.c: new file.
25038 * gdb.hp/foll-vfork.exp: new file.
25039 * gdb.hp/inherit-hp.exp: new file.
25040 * gdb.hp/more-steps.exp: new file.
25041 * gdb.hp/namespace.cc: new file.
25042 * gdb.hp/namespace.exp: new file.
25043 * gdb.hp/optimize.exp: new file.
25044 * gdb.hp/pxdb.c: new file.
25045 * gdb.hp/pxdb.exp: new file.
25046 * gdb.hp/quicksort.exp: new file.
25047 * gdb.hp/reg-test.exp: new file.
25048 * gdb.hp/reg-test.s: new file.
25049 * gdb.hp/sized-enum.c: new file.
25050 * gdb.hp/sized-enum.exp: new file.
25051 * gdb.hp/start-stop.exp: new file.
25052 * gdb.hp/templ-hp.cc: new file.
25053 * gdb.hp/templ-hp.exp: new file.
25054 * gdb.hp/thr-lib.c: new file.
25055 * gdb.hp/thr-lib.exp: new file.
25056 * gdb.hp/thr-lib.h: new file.
25057 * gdb.hp/thr-liblib.c: new file.
25058 * gdb.hp/virtfun-hp.c: new file.
25059 * gdb.hp/virtfun-hp.exp: new file.
25060 * gdb.hp/watch-cmd.exp: new file.
25061 * gdb.hp/watch-hp.exp: new file.
25062 * gdb.hp/xdb1.exp: new file.
25063 * gdb.hp/xdb2.exp: new file.
25064 * gdb.hp/xdb3.exp: new file.
25065
25066Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
25067
25068 The following files are part of the HP merge; some had longer
25069 names at HP, but have been renamed to be no more than 14
25070 characters in length.
25071
25072 * gdb.base/ss.h: new file.
25073 * gdb.base/call-ar-st.c: new file.
25074 * gdb.base/call-ar-st.exp: new file.
25075 * gdb.base/call-rt-st.c: new file.
25076 * gdb.base/call-rt-st-exp: new file.
25077 * gdb.base/call-strs.exp: new file.
25078 * gdb.base/ena-dis-br.exp: new file.
25079 * gdb.base/environ.exp: new file.
25080 * gdb.base/long_long.exp: new file.
25081 * gdb.base/sect-cmd.exp: new file.
25082 * gdb.base/shlib-cl2.exp: new file.
25083 * gdb.base/smoke.exp: new file.
25084 * gdb.base/so-impl-ld.c: new file.
25085 * gdb.base/so-impl-ld.exp: new file.
25086 * gdb.base/so-indr-cl.c: new file.
25087 * gdb.base/so-indr-cl.exp: new file.
25088 * gdb.base/varargs.exp: new file.
25089 * gdb.base/volatile.exp: new file.
25090 * gdb.base/whatis-exp.exp: new file.
7a292a7a 25091 * gdb.base/display.exp: new file.
c906108c
SS
25092 * gdb.c++/derivation.exp: new file.
25093 * gdb.c++/local.exp: new file.
25094 * gdb.c++/member-ptr.exp: new file.
25095 * gdb.c++/overload.exp: new file.
25096 * gdb.c++/ovldbreak.exp: new file.
25097 * gdb.c++/ref-types.exp: new file.
25098 * gdb.c++/ref-types2.exp: new file.
25099 * gdb.c++/userdef.exp: new file.
d63a86f8 25100
c906108c
SS
25101Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
25102
25103 * gdb.base/default.exp: Reflect wording change in remote.c.
25104
dc96c6c7 25105Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25106
25107 * gdb.base/help.exp: Update to reflect current text.
25108
25109Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
25110
25111 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
25112 they're stack variables and contain garbage.
25113 * gdb.c++/anon-union.exp: new file.
25114
25115 The following changes were made by David Taylor
889bf7c5
PA
25116 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25117 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25118 in changes by HP.
c906108c
SS
25119
25120 * gdb.base/bitops.exp: new file.
25121 * gdb.base/default.exp: change expected messages for catch and
25122 info catch tests to reflect HP merge changes.
25123 * gdb.base/enable-disable-break.exp
25124 * gdb.base/ending-run.c: new file.
25125 * gdb.base/long_long.c: new file.
25126 * gdb.base/maint.exp: new file.
25127 * gdb.base/pointers2.exp: new file.
25128 * gdb.base/shlib-call2.exp: new file.
25129 * gdb.base/solib.exp: new file.
25130 * gdb.base/step-test.c: new file.
25131 * gdb.c++/anon-union.cc: new file.
25132 * gdb.c++/local.cc: new file.
25133 * gdb.c++/member-pointer.cc: new file.
25134 * gdb.c++/method.cc: new file.
25135 * gdb.c++/ref-types.cc: new file.
25136 * gdb.c++/ref-types2.cc: new file.
25137 * gdb.c++/userdef.cc: new file.
d63a86f8 25138
c906108c
SS
25139 * gdb.base/scope.exp: compile one file at a time, then link.
25140 * gdb.base/langs.exp: ditto.
25141 * gdb.base/list.exp: ditto.
d63a86f8 25142
c906108c
SS
25143Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
25144
25145 The following changes were made by David Taylor
889bf7c5
PA
25146 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25147 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25148 in changes by HP.
d63a86f8 25149
c906108c
SS
25150 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
25151 skip tests. When compiling pass c++ flag to gdb_compile.
25152 * gdb.c++/
d63a86f8 25153
c906108c
SS
25154 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
25155 test for on hppa*-*-hpux*; use args to see if c++ was specified.
25156 (skip_hp_tests): new function.
25157 (gdb_preprocess): new function.
25158
25159 * configure.in (hpdir): decide whether to configure gdb.hp.
25160 * configure: regenerated.
25161
25162 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
25163 to delete on clean.
25164 (EXECUTABLES): update to reflect new additions.
25165 * gdb.base/commands.exp: update message expected.
25166 * gdb.base/default.exp: add copyright notice.
25167 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
25168 * gdb.base/help.exp: update messages to reflect current text.
25169 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
25170 targets for recurse tests.
25171 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
25172 skip this file.
25173
25174 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
25175 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
25176 compilation.
25177 * gdb.c++/misc.exp: ditto.
25178 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
25179 run the tests. tell gdb_compile that it's a c++ compilation.
25180
25181 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 25182
c906108c
SS
25183 * gdb.base/all-bin.exp: new file.
25184 * gdb.base/arithmet.exp: new file.
25185 * gdb.base/assign.exp: new file.
25186 * gdb.base/completion.exp: new file.
25187 * gdb.base/cond-expr.exp: new file.
25188 * gdb.base/condbreak.exp: new file.
25189 * gdb.base/define.exp: new file.
25190 * gdb.base/dollar.exp: new file.
25191 * gdb.base/environment.exp: new file.
25192 * gdb.base/eval-skip.exp: new file.
25193 * gdb.base/jump.exp: new file.
25194 * gdb.base/logical.exp: new file.
25195 * gdb.base/pointers.exp: new file.
25196 * gdb.base/relational.exp: new file.
25197 * gdb.base/section_command.exp: new file.
25198 * gdb.base/whatis-expr.exp: new file.
25199
25200 * gdb.base/all-types.c: new file.
25201 * gdb.base/call-array-struct.c: new file.
25202 * gdb.base/call-return-struct.c: new file.
25203 * gdb.base/call-strings.c: new file.
25204 * gdb.base/callfuncs2.c: new file.
25205 * gdb.base/condbreak.c: new file.
25206 * gdb.base/constvars.c: new file.
25207 * gdb.base/display.c: new file.
25208 * gdb.base/int-type.c: new file.
25209 * gdb.base/jump.c: new file.
25210 * gdb.base/miscexprs.c: new file.
25211 * gdb.base/pointers.c: new file.
25212 * gdb.base/pointers2.c: new file.
25213 * gdb.base/shmain.c: new file.
25214 * gdb.base/shr1.c: new file.
25215 * gdb.base/shr2.c: new file.
25216 * gdb.base/solib.c: new file.
25217 * gdb.base/solib1.c: new file.
25218 * gdb.base/solib2.c: new file.
25219 * gdb.base/varargs.c: new file.
25220 * gdb.c++/derivation.cc: new file.
25221 * gdb.c++/overload.cc: new file.
25222 * gdb.c++/ovldbreak.cc: new file.
25223 * gdb.hp/attach.c: new file.
25224 * gdb.hp/attach2.c: new file.
25225 * gdb.hp/average.c: new file.
25226 * gdb.hp/compiler.c: new file.
25227 * gdb.hp/compiler.cc: new file.
25228 * gdb.hp/execd-program.c: new file.
25229 * gdb.hp/follow-exec.c: new file.
25230 * gdb.hp/follow-fork.c: new file.
25231 * gdb.hp/follow-vfork-and-exec.c: new file.
25232 * gdb.hp/misc-hp.cc: new file.
25233 * gdb.hp/more-steps.c: new file.
25234 * gdb.hp/optimize.c: new file.
25235 * gdb.hp/quicksort.c: new file.
25236 * gdb.hp/run-hp.c: new file.
25237 * gdb.hp/start-stop.c: new file.
25238 * gdb.hp/sum.c: new file.
25239 * gdb.hp/templates-hp.cc: new file.
25240 * gdb.hp/thread-local-in-lib.c: new file.
25241 * gdb.hp/thread-local-in-lib.h: new file.
25242 * gdb.hp/thread-local-in-lib.lib.c: new file.
25243 * gdb.hp/vforked-program.c: new file.
25244 * gdb.hp/virtfunc-hp.cc: new file.
25245 * gdb.hp/watchpoint-hp.c: new file.
25246 * gdb.hp/xdb.c: new file.
25247 * gdb.hp/xdb0.c: new file.
25248 * gdb.hp/xdb0.h: new file.
25249 * gdb.hp/xdb1.c: new file.
25250
25251Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
25252
25253 The following change was made by Edith Epstein
889bf7c5
PA
25254 <eepstein@cygnus.com> as part of a project to merge in changes
25255 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
25256
25257 * gdb.c++/demangle.exp: changed the expected output for some
25258 ARM-style mangling -- removed second reference to datatype.
889bf7c5 25259 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 25260 T1<char>::~T1<char>(void)
c906108c 25261 becomes,
a9c64011
AS
25262 maint demangle __dt__11T1__pt__2_cFv
25263 T1<char>::~T1(void)
c906108c 25264
889bf7c5 25265 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 25266
c906108c
SS
25267Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
25268
25269 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
25270 * gdb.trace/backtrace.exp: Likewise.
25271 * gdb.trace/circ.exp: Likewise.
25272 * gdb.trace/collection.exp: Likewise.
25273 * gdb.trace/deltrace.exp: Likewise.
25274 * gdb.trace/infotrace.exp: Likewise.
25275 * gdb.trace/limits.exp: Likewise.
25276 * gdb.trace/packetlen.exp: Likewise.
25277 * gdb.trace/passc-dyn.exp: Likewise.
25278 * gdb.trace/passcount.exp: Likewise.
25279 * gdb.trace/report.exp: Likewise.
25280 * gdb.trace/save-trace.exp: Likewise.
25281 * gdb.trace/tfind.exp: Likewise.
25282 * gdb.trace/tracecmd.exp: Likewise.
25283 * gdb.trace/while-dyn.exp: Likewise.
25284 * gdb.trace/while-stepping.exp: Likewise.
25285
252861998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
25287
25288 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
25289
25290Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
25291
25292 From Brendan Kehoe:
25293 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
25294 int return types.
25295
25296Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
25297
25298 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 25299 remote dos host testing right.
c906108c
SS
25300
25301Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
25302
25303 * gdb.base/corefile.exp: remove some xfails.
25304
25305Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
25306
25307 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 25308 have different timestamps.
c906108c
SS
25309
25310Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
25311
25312 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 25313 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
25314
25315Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
25316
25317 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 25318 delta.
c906108c
SS
25319
25320Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
25321
25322 * gdb.base/default.exp: Add brace missing from previous delta.
25323
25324Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
25325
25326 * gdb.base/default.exp: Support test for info float for all
25327 varieties of arm toolchain.
25328
dc96c6c7 25329Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25330
25331 * gdb.trace/*.exp: remove "remote_download" command.
25332
dc96c6c7 25333Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25334
25335 * gdb.trace/*.exp: remove -gdwarf from compile.
25336
25337Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
25338
25339 * gdb.trace/configure.in(AC_INIT): typo
25340 * gdb.trace/configure: regenerated
25341
dc96c6c7 25342Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25343
25344 * config/m68k-emc.exp: New file.
25345 * lib/<emc-support.exp trace-support.exp}: New files.
25346 * configure.in: add new test directory gdb.trace.
25347 * gdb.trace/{configure configure.in Makefile.in}: New files.
25348 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
25349 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
25350 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
25351 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
25352 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
25353 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
25354 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 25355
dc96c6c7 25356Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25357
25358 * gdb.c++/classes.exp: Change all regular expressions to match
25359 arbitrary combinations of newline/carriage-return, so that they
25360 will work equally well on Unix and Windows.
25361 * gdb.c++/inherit.exp: ditto.
25362 * gdb.c++/virtfunc.exp: ditto.
25363
253641998-08-11 Dawn Perchik <dawn@cygnus.com>
25365
25366 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
25367
c2d11a7d
JM
25368Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
25369
25370 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
25371 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
25372 to use a0-a3/d0-d3 as needed.
25373
25374Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
25375
25376 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
25377 * gdb.disasm/am33.exp: Corresponding changes.
25378
c906108c
SS
253791998-07-11 Felix Lee <flee@cygnus.com>
25380
25381 * gdb.base/callfuncs.exp: add cmp10 test.
25382 * gdb.base/callfuncs.c (cmp10): new function.
25383
25384Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
25385
d63a86f8 25386 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
25387 into two parts to get around a synchronization problem in expect.
25388
3fc11d3e
JM
25389Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
25390
25391 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
25392
25393 * configure.in: Add options for gdbtk testsuite.
25394
25395 * configure: Regenerate.
25396
25397 * gdb.gdbtk: New directory to hold gdbtk tests.
25398
c906108c
SS
25399Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25400
25401 * gdb.fortran/types.exp: Escape brackets in expect patterns
25402 for test_float_literal_types_accepted tests.
25403 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
25404 before run test.
25405
c2d11a7d
JM
25406Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
25407
25408 * am33.exp: Just compile, do not link the testcase.
25409 * am33.s: Add ".am33" pseudoop to force am33 mode.
25410
c906108c
SS
254111998-06-25 Felix Lee <flee@cygnus.com>
25412
25413 * gdb.base/setshow.exp: make sure $pc is sane.
25414
25415 * gdb.stabs/weird.exp: split expect patterns properly.
25416
c2d11a7d
JM
25417Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
25418
25419 * gdb.disasm/am33.s: New disassembler testfile for the am33.
25420 * gdb.disasm/am33.exp: Run it.
25421
dc96c6c7 25422Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25423
25424 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
25425 match processing (and eliminate spurious timeouts when running).
25426
dc96c6c7 25427Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25428
25429 * gdb.base/signals.exp (test_handle_all_print): put back Mach
25430 exception test, but conditionalize it on target [mach | gnu].
25431
dc96c6c7 25432Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25433
25434 * gdb.base/overlays.exp: fixup compile line for linker script.
25435
25436Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
25437
25438 * gdb.fortran/types.exp: don't guess at float size.
25439
25440Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
25441
25442 * gdb.base/exprs.exp: delete test that depends on int size.
25443
25444Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
25445
25446 * config/sim.exp: Removed checks for target triplets.
25447 (gdb_target_sim): Use gdb,target_sim_options.
25448
25449Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
25450
25451 * gdb.base/reread.exp: New file.
25452 * gdb.base/reread1.c: New file.
25453 * gdb.base/reread2.c: New file.
25454
25455Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
25456
25457 * config/sim.exp: Use 'target sim -sparclite' when running
25458 SPARClite programs.
25459
25460Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
25461
25462 * gdb.base/structs2.exp: New file.
25463 * gdb.base/structs2.c: New file.
25464
25465Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
25466
25467 * gdb.asm/common.inc: New file.
25468 * gdb.asm/d10v.inc: New file.
25469 * asm-source.exp: Pass -I's to gas to find .inc files.
25470 Update line numbers in expected output.
25471 * asmsrc1.s: Rewrite.
25472 * asmsrc2.s: Rewrite.
25473 * configure.in: Create arch.inc symlink.
25474 * configure: Regenerate.
25475 * Makefile.in (distclean): Delete arch.inc.
25476
25477Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
25478
25479 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
25480 (t_enum_value2): ditto
25481 (t_enum_value3): ditto
25482 (main): ditto
c906108c
SS
25483Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25484
25485 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
25486 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
25487 change.
25488 Use gdb_test instead of send_gdb/gdb_expect sequences.
25489
25490Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
25491
25492 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
25493 not void.
25494
25495Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
25496
25497 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
25498 subroutines. Used to test gdbs ability to single step through PC
25499 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
25500
25501Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
25502
25503 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
25504 more rigorous EGCS C++ error checking.
25505
25506Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25507
a9c64011
AS
25508 * gdb.base/help.exp: Clean up `help set args' and `help show args'
25509 tests.
25510 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
25511 function when asleep.
25512 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
25513 for i*86 Linux and SVR4 signal handling problems.
25514 Remove linux xfail for `next to handler in signals_tests_1', fixed
25515 by recent infrun.c change.
25516 Limit backtrace to 10 frames to avoid timeout problems with infinite
25517 stack backtraces.
25518 Adjust expect pattern in `handle all print' test to match Apr 28 1997
25519 target.[ch] change.
c906108c
SS
25520
25521Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
25522
25523 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
25524 for a newline from gdb before continuing.
25525 (default_gdb_exit): Just look for y or n.
25526 (gdb_test): Detect abnormal exit from GDB running on DOS; if
25527 it does, fail the rests of the tests in the file.
25528
25529Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
25530
25531 * config/cygmon.exp: New file.
25532
25533Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
25534
25535 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 25536 main" test on remote targets.
c906108c
SS
25537
25538 * gdb.base/scope.exp: Fix problem with filelocal_bss before
25539 run test on remote targets.
25540
25541Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
25542
25543 * gdb.asm: New directory.
25544 * configure.in: Configure it.
25545 * configure: Regenerate.
25546 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
25547 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
25548
25549Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
25550
25551 * config/mn10300-eval.exp: New file to support MN10300 eval board.
25552
dc96c6c7 25553Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 25554
a9c64011
AS
25555 * gdb.base/overlays (several files): Merge the two overlay
25556 managers into one. Change variables (foox, barx, bazx, grbxx)
25557 back into ints but force them to load in their proper sections.
c906108c
SS
25558
25559Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
25560
25561 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 25562 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
25563 (D10VCopy): Handle memory regions crossing 16k boundaries.
25564 (D10VCopy): Transfer data in 32 bit chunks.
25565
25566Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
25567
25568 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 25569 correct.
c906108c
SS
25570
25571 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 25572 map. Include space for printf in .text segment.
c906108c
SS
25573
25574 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 25575 updated d10v memory VMA/LMA map.
c906108c 25576 (D10VCopy): Call D10VTranslate.
d63a86f8 25577
c906108c
SS
25578Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
25579
25580 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
25581
25582 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
25583 that it won't be put into the .sdata - small data -
25584 section. Update reference.
c906108c
SS
25585 * gdb.base/baz.c (bazx, baz): Ditto.
25586 * gdb.base/foo.c (foox, foo): Ditto.
25587 * gdb.base/grbx.c (grbxx, grbx): Ditto.
25588
25589 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 25590 to be arrays.
d63a86f8 25591
dc96c6c7 25592Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 25593
a9c64011
AS
25594 * gdb.base/overlays.exp: fix up and get working again.
25595 Add tests for backtraces from an overlay function.
d63a86f8 25596
c906108c
SS
25597Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
25598
25599 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
25600 "calling function with watchpoint enabled".
25601
25602Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
25603
25604 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 25605 gdb_suppress_tests for d10v-*-*.
c906108c
SS
25606 * lib/gdb.exp (gdb_suppress_tests): Disable this function
25607 pending review of whether it is useful or not.
25608
25609Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
25610
25611 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
25612
25613Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
25614
25615 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
25616 * config/dve.exp: New file to support Densan boards.
25617
25618Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
25619
25620 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 25621 reads and BSD.
c906108c
SS
25622
25623Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
25624
25625 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
25626 response.
25627
25628 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
25629
25630Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
25631
25632 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 25633 test.
c906108c
SS
25634
25635 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 25636 target_sizeof_long and target_bigendian_p.
c906108c 25637 (structs_by_value, structs_by_reference): Check values according
889bf7c5 25638 to targets word size and endianess.
d63a86f8 25639
c906108c
SS
25640Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
25641
25642 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 25643 output.
c906108c
SS
25644
25645Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
25646
25647 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 25648 Update test of set args help to match source change.
c906108c
SS
25649
25650Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
25651
25652 * gdb.base/default.exp: Expect help system output to be in
25653 alphabetical order.
25654 * gdb.base/help.exp: Ditto.
25655
25656Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
25657
25658 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
25659 "i*86-pc-linux-gnu*".
25660 * gdb.base/interrupt.exp: Ditto.
25661 * gdb.base/corefile.exp: Ditto.
25662
25663 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 25664 define vxworks when building the testcase.
c906108c
SS
25665
25666 * gdb.base/ptype.exp: Fix testnames to be unique.
25667 * gdb.base/radix.exp: Ditto.
25668 * gdb.base/term.exp: Ditto.
25669 * gdb.base/whatis.exp: Ditto.
25670 * gdb.c++/classes.exp: Ditto.
25671
25672Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
25673
25674 * gdb.base/callfuncs.exp: Fix indentation.
25675
25676 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
25677 suppress_flag has been set.
25678 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
25679 target feature.
25680
25681Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
25682
25683 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
25684 the testcase.
25685
25686 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 25687 set_debug_traps() and breakpoint().
c906108c
SS
25688 * gdb.c++/misc.cc (main): Ditto.
25689 * gdb.c++/templates.cc (main): Ditto.
25690 * gdb.c++/virtfunc.cc (main): Ditto.
25691
25692Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
25693
25694 * lib/gdb.exp(gdb_step_for_stub): New function.
25695 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
25696 exists, reload the executable and do a "continue" instead of
25697 doing a jump.
25698 (runto_main): Use gdb_step_for_stub.
d63a86f8 25699
c906108c 25700 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 25701 tests to have unique names.
c906108c
SS
25702 * gdb.base/callfuncs.exp: Ditto.
25703 * gdb.base/commands.exp: Ditto.
25704 * gdb.base/default.exp: Ditto.
25705 * gdb.base/help.exp: Ditto.
25706 * gdb.base/list.exp: Ditto.
25707 * gdb.base/opaque.exp: Ditto.
25708 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
25709 similar tests.
d63a86f8 25710
c906108c
SS
25711 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
25712 * gdb.c++/cplusfuncs.cc: Ditto.
25713 * gdb.c++/virtfunc.cc: Ditto.
25714
25715 * config/monitor.exp: Keep track of the last file we saw, rather
25716 than trying to get the info from gdb.
25717
25718 * gdb.fortran/types.exp: Move comment to previous line.
25719
25720Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
25721
25722 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 25723 target mode.
c906108c
SS
25724
25725Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
25726
25727 From Bob Manson:
25728 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 25729 string from GDB when it connects.
c906108c
SS
25730
25731 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
25732
25733Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
25734
25735 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
25736 if we can't get a debug format from GDB (we may be testing an
25737 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
25738
25739 * gdb.stabs/weird.exp: Fix quoting.
25740
25741 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
25742
25743Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
25744
25745 * config/arm-ice.exp: New file.
25746
25747Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
25748
25749 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 25750 until it has been modified to work with the new testsuite.
c906108c 25751
99707966 25752 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
25753 testcase won't compile, cause all of the testcases in the file to
25754 fail instead.
c906108c
SS
25755
25756 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
25757 (gdb_clear_suppressed): New procedure.
25758 (gdb_stop_suppressing_tests): Only clear suppress_flag if
25759 it contains a positive value.
25760
25761Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
25762
25763 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
25764
25765 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
25766
25767Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
25768
25769 * lib/gdb.exp (setup_xfail_format): New function.
25770 (get_debug_format): New function to get debug format.
25771 (debug_format): New global variable to hold last value set
25772 by get_debug_format.
25773 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 25774 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
25775 * gdb.c++/ptype.exp: Ditto.
25776 * gdb.c++/classes.exp: Ditto.
25777 * gdb.c++/cplusfuncs.exp: Ditto.
25778 * gdb.c++/inherit.exp: Ditto.
25779 * gdb.c++/templates.exp: Ditto.
25780 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 25781
c906108c
SS
25782Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
25783
25784 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
25785 host doesn't have a currently-open connection.
25786
25787 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
25788 any gdb stub target. Handle cases where gdb doesn't respond when
25789 interrupted in a sane fashion.
c906108c
SS
25790
25791 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 25792 same thing in a totally different way.
c906108c
SS
25793
25794 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 25795 setting "timeout".
c906108c 25796 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 25797 default_gdb_init now.
c906108c
SS
25798
25799Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
25800
25801 * gdb.base/printcmds.exp: Fix "check for floating addition"
25802 regexp to accept results within approx +/- .01 of exact value.
25803 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
25804
25805Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
25806
25807 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 25808 properly.
c906108c
SS
25809 (gdb_expect): Add optional timeout parameter, and add timeout
25810 value to various calls.
25811 (gdb_suppress_tests): Only give one warning message per group.
25812
25813Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
25814
25815 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
25816 global variables. Handle getting a value for $timeout more
25817 gracefully.
c906108c
SS
25818
25819Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
25820
25821 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 25822 initialize.
c906108c 25823 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 25824 by a target configuration file.
c906108c
SS
25825 (gdb_expect): Pass the timeout to remote_expect.
25826
25827 * config/monitor.exp(gdb_load): Fix typo in regexp.
25828
25829Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
25830
25831 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
25832
25833Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
25834
25835 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
25836 here. Call gdb_target_exec before rebooting the target, to make
25837 sure the connection to the target is closed.
c906108c
SS
25838 (gdb_load): Pass the name of the executable to gdb_target_monitor.
25839 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
25840 Also detect "Timeout reading from remote" error.
25841
25842 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
25843 gdb_target_monitor. Don't call gdb_file_cmd here; let
25844 gdb_target_monitor do it.
c906108c
SS
25845
25846 * gdb.disasm/hppa.exp: Don't use exec_output.
25847
25848Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
25849
25850 * gdb.base/list.exp: If we're debugging a non-native target,
25851 try to set the pc register to point to the start of the
25852 program before doing the first list command.
25853
25854 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 25855 test_calls after restarting.
c906108c
SS
25856
25857 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 25858 reloading.
c906108c
SS
25859
25860 * gdb.base/watchpoint.exp: Fix typo.
25861
25862 * gdb.base/setshow.exp: Check for use_gdb_stub.
25863
25864 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 25865 stub case.
c906108c
SS
25866 * gdb.base/langs.exp: Ditto.
25867
25868 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
25869 gdb_load_offset. If we weren't given a file to load, figure out
25870 what the current file is and use it.
c906108c
SS
25871
25872 * config/i386-bozo.exp: New file.
25873
25874Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
25875
25876 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
25877 feature.
25878
25879 * config/proelf.exp: New entry.
25880
25881Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
25882
25883 * lib/gdb.exp: Remove spurious .* patterns at the beginning
25884 of regexps.
25885
25886 * gdb.base/watchpoint.exp: Don't run the test_stepping
25887 tests if gdb can't call functions on the target.
25888
25889 * gdb.base/setshow.exp: Don't run the set prompt tests if
25890 the board has gdb_prompt set.
25891
25892Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
25893
25894 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
25895 * gdb.base/commands.exp: Likewise.
25896 * gdb.base/setshow.exp: Likewise.
25897
25898Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
25899
25900 * config/monitor.exp(gdb_start): Look for gdb_prompt target
25901 feature.
25902
25903 * config/i960.exp: New file.
25904
25905Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
25906
25907 * gdb.base/funcargs.exp: Check for gdb,short_int target
25908 feature instead of looking for explicit target triplets.
25909
dc96c6c7 25910Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 25911
d63a86f8 25912 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
25913 "p 123DEADBEEF", to check parse_number.
25914 * top.c: change "to enable to enable" to "to enable" in a couple
25915 of help strings.
25916
25917Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
25918
25919 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
25920 on the mn10300.
d63a86f8 25921
c906108c
SS
25922Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
25923
25924 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
25925 where the test executable is run with explicit args.
25926 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
25927
25928Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
25929
25930 * gdb.base/run.c: Use FAKEARGV to build test executable that
25931 does not require a command line arg, since most simulators
25932 don't currently support passing such an arg into the simulated
25933 program.
25934 * gdb.base/commands.exp: Change tests to insert the proper
25935 value as the arg to the first recursive factorial call. Change
25936 compilation line to define FAKEARGV at compile time.
25937
25938Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
25939
25940 * gdb.base/recurse.exp: Enable these tests for the mn10300.
25941 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
25942 function with watchpoint enabled" test.
25943
25944Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
25945
25946 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 25947 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
25948
25949 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 25950 "Tests restarted" messages.
c906108c
SS
25951
25952Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
25953
25954 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
25955
dc96c6c7 25956Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25957
25958 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
25959 for INFO SYMBOL; add help tests for OVERLAY commands.
25960 * gdb.base/default.exp: add tests for INFO SYMBOL command;
25961 add tests for OVERLAY commands
25962 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
25963 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
25964 * gdb.base/sigall.c: add usestubs code frag
25965 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 25966
c906108c
SS
25967Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
25968
25969 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
25970 failures.
25971 (gdb_stop_suppressing_tests): Note that tests have restarted.
25972
25973Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
25974
25975 * config/h8300.exp: New file.
25976
25977Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
25978
25979 * gdb.base/setshow.exp: Check for the existence of a
25980 feature, not its value.
25981
25982Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
25983
25984 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
25985
25986 * gdb.base/scope.exp: It's now init0(), not init().
25987
25988 * gdb.base/scope0.c: For now, change init() to be init0().
25989
25990 * config/monitor.exp: Use gdb_serial in preference to serial
25991 or netport.
25992
25993 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 25994 and it's not already set.
c906108c
SS
25995
25996Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
25997
25998 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 25999 isn't using a stub and if it supports argument passing.
c906108c
SS
26000
26001Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
26002
26003 * config/udi.exp(gdb_start): Make sure UDICONF is set
26004 properly before starting gdb.
26005
26006Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
26007
26008 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
26009 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
26010 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
26011
26012Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
26013
26014 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 26015 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
26016
26017 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
26018
26019 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
26020
26021 * config/monitor.exp: Make sure we disconnect from the target.
26022 Also, try a reboot/reload cycle instead of failing if the
26023 load fails.
26024
26025Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
26026
26027 * gdb.base/default.exp: Don't set match_max.
26028 * gdb.base/help.exp: Ditto.
26029 * gdb.base/list.exp: Ditto.
26030 * gdb.base/signals.exp: Ditto.
26031
26032 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
26033 set, use remote_ld to download the testcase instead of
26034 the GDB loader.
26035
26036Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
26037
26038 * config/vr5000.exp: New file.
26039
26040 * config/monitor.exp(gdb_target_monitor): Add pattern for
26041 "Ending remote" to detect errors in connecting.
26042
26043 * gdb.base/setshow.exp: Add .* within auto language test.
26044
26045 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
26046 target feature.
26047
26048 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 26049 and reboot the board if necessary.
c906108c
SS
26050
26051 * gdb.base/setvar.exp(test_set): Handle multiple prints within
26052 a set of tests. Remove print.* from the patterns being checked.
26053
26054Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
26055
26056 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
26057 refer to gdb_spawn_id.
26058
26059 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
26060 longer used.
26061 * config/sparclet.exp: Ditto.
26062 * config/sparclet-old.exp: Ditto.
26063 * config/slite.exp: Ditto.
26064 * config/sim.exp: Ditto.
26065 * gdb.base/funcargs.exp: Ditto.
26066
26067 * lib/gdb.exp:Remove references to gdb_spawn_id.
26068 (gdb_expect): Move to remote.exp.
26069
26070Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
26071
26072 * config/monitor.exp: Detect the "Couldn't establish connection"
26073 message from GDB.
26074
26075Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
26076
26077 * gdb.base/bitfields.exp: Use runto instead of explicit
26078 gdb_run_cmd/gdb_expect sequences.
26079
26080 * gdb.base/break.exp(text_next_with_recursion): Add match for
26081 gdb_expect call.
26082
26083 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
26084 We also need to handle the "A program is being debugged already"
26085 prompt from gdb. Use gdb_test to set the baud rate.
26086
26087 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
26088 to 20000. Really. I mean it.
26089
26090Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26091
26092 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
26093 fails. If suppress_flag is set, skip perror message about not
26094 being able to send to GDB.
c906108c 26095 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 26096 GDB.
c906108c
SS
26097 (gdb_expect): If suppress_flag is set, always fail immediately.
26098 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
26099 (gdb_init): Call gdb_stop_suppressing_tests.
26100 (default_gdb_exit): Ditto.
26101 (default_gdb_start): Ditto.
26102
26103 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 26104 gdb_stop_suppressing_tests as appropriate.
c906108c 26105 * gdb.base/break.exp: Ditto.
889bf7c5 26106 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
26107 * gdb.base/commands.exp: Ditto.
26108 * gdb.base/exprs.exp: Ditto.
889bf7c5 26109 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
26110 * gdb.base/list.exp: Ditto.
26111 * gdb.base/recurse.exp: Ditto.
889bf7c5 26112 * gdb.base/scope.exp: Ditto.
c906108c
SS
26113 * gdb.base/structs.exp: Ditto.
26114 * gdb.c++/inherit.exp: Ditto.
26115
26116Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
26117
26118 * config/vr4300.exp: New file.
26119
99707966 26120 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 26121
99707966 26122 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
26123
26124Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
26125
26126 * lib/gdb.exp(gdb_init): New function.
26127
26128 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 26129 for each individual variable set.
c906108c
SS
26130
26131 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
26132 name.
26133
26134 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
26135
26136 * gdb.base/scope.exp: Use gdb_test.
26137
26138 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
26139 aborting; the testsuite driver will do that for us (see
26140 gdb_finish). Also, use gdb_test in a few more places.
26141
26142Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
26143
26144 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
26145
26146Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
26147
26148 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
26149 and "add_tests" are not at the same address.
26150
26151Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
26152
26153 * gdb.base/ptype.exp: Use gdb_test.
26154
26155Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
26156
26157 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
26158 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
26159 left in. No longer expect them to fail.
26160
26161 * gdb.stabs/*.mt; Deleted, no longer used.
26162 * gdb.stabs/configure.in: Remove references to target makefile
26163 frags.
26164 * gdb.stabs/configure: Rebuilt.
26165
26166 * gdb.disasm/*.mt: Deleted, no longer used.
26167 * gdb.disasm/configure.in: Remove references to target makefile
26168 frags. Use "sh3.s" as the unique filename for this directory.
26169 * gdb.disasm/configure: Rebuilt.
26170
26171 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
26172 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
26173 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
26174
26175Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
26176
26177 * config/udi.exp: Use mondfe,name instead of remote_host.
26178
26179Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
26180
26181 * gdb.base/watchpoint.exp: Don't expect a failure when calling
26182 a function with a watchpoint enabled on the mn10200.
26183
26184 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
26185 before trying to create it!
26186
26187Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
26188
26189 * config/vx.exp: Use hostname instead of netport.
26190
26191 * config/vxworks.exp: New file.
26192
26193 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
26194
26195 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 26196 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
26197 occurs.
26198
26199 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
26200 $gdb_spawn_id directly.
26201 (gdb_run_cmd): Try _start as well as start. Use the target feature
26202 gdb,start_symbol as the symbol to start from when jumping.
26203
26204Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
26205
26206 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
26207 redundant) test.
26208
26209 * gdb.base/recurse.exp: Relax final value test for 'b' so that
26210 it doesn't lose for 16bit integer systems.
26211
26212Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
26213
26214 * gdb.fortran/types.exp: If the target doesn't support "double"
26215 data types, then expect "real" types to only be 4 bytes.
26216
26217 * gdb.c++/virtfunc.exp: Expect failure for virtual function
26218 call tests if the target doesn't support inferior function calls.
26219
26220 * gdb.base/printcmds.exp: Allow minor deviation in FP values
26221 in printf tests.
26222
26223Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
26224
26225 * gdb.base/help.exp: Disable "help set", "help show", and
26226 "help support". Simplify regexp for "help stack".
26227
26228 * gdb.base/default.exp: Set match_max to 5000 and the timeout
26229 to 60 seconds. Temporarily set match_max to 15000 around the
26230 "info copying" test.
26231
26232 * gdb.base/nodebug.exp: Don't try to do an inferior function
26233 call if the target doesn't support them.
26234 * gdb.base/printcmds.exp: Likewise.
26235 * gdb.base/setvar.exp: Likewise.
26236 * gdb.base/structs.exp: Likewise.
26237 * gdb.c++/templates.exp: Likewise.
26238 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
26239
26240 * gdb.base/recurse.exp: Enable for the mn10200.
26241
26242 * configure.in: Do configure gdb.stabs directory for *-*-elf
26243 targets.
26244 * configure: Rebuilt.
26245
26246 * gdb.base/break.exp: Check for gdb,noresults before testing
26247 exit status and/or results from the target.
26248 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
26249 * lib/gdb.exp: Remove old (now bogus) initialization of
26250 noinferior, noargs, noresults and nosignals.
26251
26252Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
26253
26254 * config/sh.exp: New file.
26255
26256 * config/slite.exp: Try to connect multiple times to the board
26257 before rebooting. Only send a "monitor run" if need_monitor_run
26258 is set.
26259
26260 * gdb.base/break.exp: Don't do the "stub continue" test if
26261 the target has gdb_stub set.
26262
26263 * gdb.base/callfuncs.exp: Increase the timeout.
26264
26265 * gdb.base/interrupt.exp: Don't even try to compile the testcase
26266 if the target has gdb,noinferiorio set.
26267
26268 * gdb.base/list.exp: Increase match_max to 10000 characters.
26269
26270 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
26271
26272 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
26273 target.
26274
26275 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
26276
26277Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
26278
26279 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
26280 trying to delete the copy of gdb. Catch the file delete so we
26281 don't die if the delete fails; also, the file should be copied to
26282 the host, not to the build.
c906108c
SS
26283
26284Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
26285
26286 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 26287 parenthesis in case it contains multiple regexps separated
c906108c
SS
26288 with |.
26289
26290 * gdb.base/watchpoint.exp: Use gdb_test.
26291 * gdb.base/default.exp: Ditto.
26292
26293Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
26294
99707966 26295 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 26296
c906108c
SS
26297 * gdb.base/scope.exp: Use gdb_test.
26298 * gdb.c++/classes.exp: Ditto.
26299 * gdb.c++/inherit.exp: Ditto.
26300
26301Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
26302
26303 * gdb.base/crossload.exp: Don't use execute_anywhere, use
26304 remote_exec instead.
26305 * gdb.base/corefile.exp: Don't be ridiculous.
26306 * gdb.base/*.c: Add missing stub invocations.
26307
26308Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
26309
26310 * config/slite.exp: Miscellaneous fixes.
26311
26312 * lib/gdb.exp: Fix runto.
26313
26314 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
26315 the target.
26316
26317 * gdb.base/watchpoint.exp: Fix regexp.
26318
26319 * lib/gdb.exp(default_gdb_exit): Add a catch to the
26320 close and wait commands, as the descriptor may now be
26321 invalid. Always call "remote_close host".
26322
26323Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
26324
26325 Major rewrite for testsuite revision.
d63a86f8 26326
c906108c
SS
26327 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
26328 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
26329 instead of relying on spawn_id to always contain a valid
26330 spawn id.
26331 (get_compiler_info): New procedure to build the ${binfile}.ci
26332 file, instead of replicating this in N different places.
26333 (gdb_compile): New procedure.
d63a86f8 26334
c906108c 26335 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
26336 appropriate arguments) instead of compile. Use gdb_test in a lot
26337 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
26338 at the start of a testcase, as this is no longer done magically.
26339
26340 config/*-gdb.exp: Rename without the -gdb suffix.
26341
26342 config/mips.exp: Use remote_close instead of exit_remote_shell.
26343 config/monitor.exp: Use target_info instead of looking at
26344 baud, timeout, etc.
26345 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
26346
26347Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26348
26349 * gdb.c++/templates.exp (test_ptype_of_templates),
26350 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
26351 Update expect patterns for destructors and assignment operators
26352 to match corresponding c-typeprint.c changes.
26353 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
26354 to destructor breakpoint test, GDB should be able to set the
26355 destructor breakpoint without specifying arguments.
26356
26357Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
26358
26359 * gdb.threads/pthreads.exp: Change result for failure to compile due
26360 to lack of pthreads runtime support from an error to simply an
26361 unsupported test, per dejagnu standards.
26362
26363Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26364
26365 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
26366 where GDB exits to reduce pattern match time.
26367 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
26368
26369 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
26370
dc96c6c7 26371Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26372
26373 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
26374 * gdb.base/default.exp: ditto.
26375 * gdb.base/nodebug.exp: ditto.
26376 * gdb.base/printcmds.exp: ditto.
26377 * gdb.base/ptype.exp: ditto.
26378 * gdb.base/setvar.exp: ditto.
26379 * gdb.base/structs.exp: ditto.
26380 * gdb.base/setshow.c: Guard against uninitialized values of argc.
26381
26382Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
26383
26384 * configure, */configure: Rebuild with autoconf 2.12.
26385
26386Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
26387
26388 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
26389 use new i*86-pc-linux*-gnu quads.
26390 * gdb.base/corefile.exp: Ditto.
26391 * gdb.base/signals.exp: Ditto.
26392 * gdb.base/sigall.exp: Ditto.
26393 * gdb.base/interrupt.exp: Ditto.
26394
26395 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
26396 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
26397 RedHat 4.0.
d63a86f8 26398
c906108c 26399 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
26400 linux. This allows the test case to at least compile on latest
26401 linux, but still not run due to missing the threads runtime library.
c906108c
SS
26402
26403Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26404
26405 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
26406 directory to search gdb directory. Accept and step over conditional
26407 stack alignment code. Consume $prompt in failure cases.
26408 Reset timeout to $oldtimeout instead of some arbitrary value.
26409 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
26410 timeout problems with infinite stack backtraces.
26411 * gdb.base/ptype.exp (ptype struct link, union tu_link):
26412 Accept function parameters for linkfunc member.
26413
26414Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
26415
26416 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
26417 (CXXFLAGS): Remove, unreferenced.
26418 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
26419 previous -B options and also add -B option to pick up cross compiled
26420 runtime.
c906108c
SS
26421 (TARGET_INCLUDES): Add for -I options and add code to initialize when
26422 doing cross compiles.
26423 (target_alias): Declare global.
26424 (xgcc): Set variable to full path of gcc in build tree. Use findfile
26425 to verify that gcc exists in build tree, and if so set CC to that
26426 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 26427
c906108c
SS
26428Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
26429
26430 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
26431 ptype test for anonymous union. Fixup testcase to match
26432 current gcc debug output.
26433
26434Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
26435
26436 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
26437 force argument to an unsigned long type.
26438
26439Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
26440
26441 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 26442 tests and anonymous union print/ptype tests.
c906108c
SS
26443 * gdb.base/list.exp (test_forward-search): Increase timeout by
26444 5 minutes for the "search extremely long line" case.
26445 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
26446 completely optional and that the pass/fail messages use the command as
26447 the message if that third arg is a null string.
26448 (gdb_test_exact): Arrange that a null string pattern means match a
26449 null string output rather than any output, which might include random
889bf7c5 26450 errors.
c906108c
SS
26451 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
26452 backtrace test.
26453 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
26454 always failing and failure is now exposed by gdb.exp changes.
26455
26456Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
26457
26458 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
26459 weren't being noted.
26460
26461Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26462
26463 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
26464 * gdb.stabs/weird.exp: Remove v_comb xfails.
26465
dc96c6c7 26466Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26467
26468 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 26469 list.exp scope.exp watchpoint.exp]
c906108c 26470 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 26471
dc96c6c7 26472Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26473
26474 * config/monitor.exp: Increase download timeout to 1000 seconds.
26475
dc96c6c7 26476Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26477
26478 * config/m32r.exp: Increase timeout to 120 seconds.
26479
26480Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
26481
26482 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
26483 and accept older ordering as obsolescent gcc or gdb.
26484 * gdb.c++/templates.exp: Ditto.
26485 * gdb.c++/virtfunc.exp: Ditto.
26486
26487Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
26488
26489 * gdb.base/coremaker.c: Add code to mmap some data so we
26490 can check that it ends up in the core file.
26491 * gdb.base/corefile.exp: Add test to read mmapped data
26492 from core file.
26493
dc96c6c7 26494Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26495
26496 * config/m32r.exp: New file.
26497
26498Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
26499
26500 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
26501 that cflags can contains -gstabs, and work correctly for other tests.
26502
dc96c6c7 26503Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26504
26505 * gdb.base/setshow.exp: New file, tests show and set.
26506 * gdb.base/setshow.c: New file, tests show and set.
26507 * gdb.base/help.exp: Add test for help set|show annotate.
26508 * gdb.base/default.exp: Add test for set|show annotate.
26509
26510Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
26511
26512 * testsuite/gdb.base/break.exp: Make backtrace from factorial
26513 errors unique.
26514 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
26515 explicitly.
26516
26517Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
26518
26519 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
26520 and width commands. This is done elsewhere.
26521 * (gdb_start): Don't call gdb_start_sim here. That's already
26522 done in gdb_load. This fixes lots of failures in default.exp.
26523
26524Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
26525
26526 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
26527 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
26528 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
26529 in the same we we treat other failures (since it may be an expected
889bf7c5 26530 condition), rather than as an error.
c906108c
SS
26531 * gdb.base/signals.exp (test_handle_all_print): Revert back to
26532 old test format.
26533
26534Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
26535
26536 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
26537 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 26538 twice. Nuke the duplicates.
c906108c 26539 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 26540 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
26541 Remove config.h along with other config files.
26542
26543Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
26544
26545 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
26546 "p func1 ()" and note that rests of tests are skipped.
26547 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 26548 setup_xfails for "print func2::coremaker_local".
c906108c
SS
26549 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
26550 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
26551 affected by the previous run test.
26552 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
26553 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
26554 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
26555 "pass int powerset tuple" and "pass modeless int powerset tuple".
26556 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
26557 "real write 4" and "real write 8".
26558 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 26559 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
26560 "print \$i after tuple assign 2", and
26561 "print vs2 after tuple assign 2".
26562 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
26563 meaningful error message and return -1 so the caller can
26564 suppress further tests and avoid a cascade of errors.
d63a86f8 26565
c906108c
SS
26566Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
26567
26568 * gdb.base/a1-selftest.exp: Tweak tests to account for new
26569 format for printing version.
26570 * gdb.base/default.exp: Ditto.
26571 * gdb.base/interrupt.exp: Fix problem with cascade of
26572 errors if child process dies while calling a function.
d63a86f8 26573
c906108c
SS
26574Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
26575
26576 * Makefile.in (VPATH): Add
26577 * Makefile.in (Makefile, config.status): Fix rules so things get
26578 remade when necessary.
26579
26580Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
26581
26582 * Makefile.in (just-check): Add path to sibling expect dir
26583 to environment variable specified by RPATH_ENVVAR.
26584
26585Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
26586
26587 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
26588 (just-check): Add shared library paths for libstdc++, tk,
26589 tcl, bfd, and opcodes to the environment variable specified
26590 in RPATH_ENVVAR.
26591 * configure.in: Add support to recognize --enable-shared flag
26592 and generate correct value for RPATH_ENVVAR.
26593 * configure: Regenerated with autoconf.
26594
26595Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
26596
26597 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 26598 include all osf versions.
c906108c
SS
26599 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
26600 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
26601 when target is linux. When failing to build pthreads test
26602 executable, give more meaningful message.
26603 * gdb.threads/pthreads.c: Hpux also uses old definition of second
26604 arg for pthread_create.
d63a86f8 26605
c906108c
SS
26606Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
26607
26608 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 26609 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 26610 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 26611 and -lpthreads (everybody else).
c906108c
SS
26612 (test_startup): Fail gracefully if threads are not supported.
26613 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
26614 "p/c array_index("abcdef",2)" when not gcc compiled.
26615 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
26616 "print func2::coremaker_local" when not gcc compiled.
26617 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
26618 "ptype on opaque struct tagname (statically)",
26619 "ptype on opaque struct tagname (dynamically) 1", and
26620 "ptype on opaque struct tagname (dynamically) 2"
26621 for not compiled with gcc.
26622 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
26623 backtrace when compiled with gcc.
d63a86f8 26624 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
26625 than always return success.
26626
26627Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
26628
26629 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
26630
26631Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
26632
26633 * gdb.base/structs.exp: Undo last change.
26634
26635Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
26636
26637 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
26638 encapsulate all the steps/nexts done during self test, starting
26639 at main, and makes them less sensitive to optimization issues.
26640 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
26641 signal handler" test.
26642 * gdb.threads/pthreads.exp: Only run this for native configs.
26643 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
26644 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
26645 tests.
26646 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
26647 for "runto test_calls(void)" test.
d63a86f8 26648
c906108c
SS
26649Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
26650
26651 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
26652 and don't expect address info in breakpoint confirmations.
26653
26654Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
26655
26656 * gdb.base/list.exp (test_forward_search): Increase timeout
26657 temporarily by 60 seconds for searching extremely long line,
889bf7c5 26658 and then reset to old value when done. Increase expect input
c906108c
SS
26659 buffer to 10000.
26660
26661Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
26662
26663 * gdb.base/list.exp (test_forward_search): Fix to handle very
26664 long source line without overflowing expect's input buffer.
26665
26666Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
26667
26668 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
26669 "buffer_full".
26670
26671 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
26672 "buffer_full".
26673
26674 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
26675 "buffer_full".
26676
26677 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
26678 "buffer_full".
26679
26680Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
26681
26682 * configure.in (configdirs): Add gdb.threads.
26683 * configure: Regenerated with autoconf.
26684 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
26685 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
26686 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 26687
c906108c
SS
26688Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
26689
26690 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
26691
26692Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
26693
26694 * gdb.base/signals.exp (test_handle_all_print): Test separately for
26695 each signal's status in the output of "handle all print".
26696 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
26697 the \r\n sequence that immediately precedes the gdb prompt.
26698 * gdb.base/a1-selftest.exp: Save original timeout and restore
26699 after test.
26700
26701Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
26702
26703 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
26704 symbol.
26705
26706Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
26707
26708 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
26709
26710Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
26711
26712 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
26713 timeout by 60 seconds.
26714
26715Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
26716
26717 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
26718 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
26719 error return.
26720
26721Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
26722
26723 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
26724 gdb initialization, also report how long dejagnu waited. Restore
26725 old timeout before doing error return. Temporarily increase timeout
889bf7c5 26726 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
26727
26728Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
26729
26730 * lib/gdb.exp: Report timeout value for verbosity level 2.
26731 * config/gdbserver.exp: Ditto.
26732 * config/hppro.exp: Ditto.
26733 * config/mips-gdb.exp: Ditto.
26734 * config/monitor.exp: Ditto.
26735 * config/netware.exp: Ditto.
26736 * config/sim-gdb.exp: Ditto.
26737 * config/slite-gdb.exp: Ditto.
26738 * config/udi-gdb.exp: Ditto.
26739 * config/unix-gdb.exp: Ditto.
26740 * config/vx-gdb.exp: Ditto.
26741 * gdb.base/a1-selftest.exp: Ditto.
26742 * gdb.base/a2-run.exp: Ditto.
26743 * gdb.base/break.exp: Ditto.
26744 * gdb.base/corefile.exp: Ditto.
26745 * gdb.base/list.exp: Ditto.
26746 * gdb.base/recurse.exp: Ditto.
26747 * gdb.base/scope.exp: Ditto.
26748 * gdb.base/signals.exp: Ditto.
26749
26750Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
26751
26752 * gdb.threads/Makefile.in (docdir): Removed.
26753
26754Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
26755
26756 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 26757 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 26758 @srcdir@.
d63a86f8 26759 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
26760 autoconf 2.5 or higher.
26761 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
26762
26763Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
26764
26765 * configure: Regenerated.
26766 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
26767 avoid name clashes with SunOS headers.
26768
26769Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
26770
26771 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
26772
26773Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
26774
26775 * gdb.base/callfuncs.exp: Finish last change -- make sure the
26776 prototype information ends up in the compiler info file.
26777
26778Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
26779
26780 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
26781 attempting to regenerate it. Eliminate use of a temporary file
26782 and just generate the info file directly. Source it immediately,
26783 for consistency of use.
26784 * gdb.base/corefile.exp: Ditto
26785 * gdb.base/exprs.exp: Ditto.
26786 * gdb.base/funcargs.exp: Ditto.
26787 * gdb.base/langs.exp: Ditto.
26788 * gdb.base/list.exp: Ditto.
26789 * gdb.base/mips_pro.exp: Ditto.
26790 * gdb.base/nodebug.exp: Ditto.
26791 * gdb.base/opaque.exp: Ditto.
26792 * gdb.base/ptype.exp: Ditto.
26793 * gdb.base/scope.exp: Ditto.
26794 * gdb.base/setvar.exp: Ditto.
26795 * gdb.base/signals.exp: Ditto.
26796 * gdb.base/whatis.exp: Ditto.
26797 * gdb.c++/templates.exp: Ditto.
26798 * gdb.c++/virtfunc.exp: Ditto.
26799 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 26800 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
26801
26802Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26803
26804 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
26805 it got fixed by the recent lookup_minimal_symbol_by_pc change.
26806 Increase timeout, a lot of single stepping might be needed if the
26807 target has no hardware watchpoints.
26808
26809Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
26810
26811 * gdb.base/break.exp: Ignore compiler warnings when compiling
26812 break.c.
26813 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
26814 * gdb.base/default.exp: Add h8300 xfails. Handle messages
26815 from remote-sim.
26816 * gdb.base/exprs.exp: Add h8300 xfails.
26817 * gdb.base/funcargs.exp: Likewise.
26818 * gdb.base/nodebug.exp: Likewise.
26819 * gdb.base/printcmds.exp: Likewise.
26820 * gdb.base/ptype.exp: Likewise.
26821 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
26822 h8300 xfails.
d63a86f8 26823 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
26824 on the h8300.
26825 * gdb.base/funcargs.c: Explicitly make last constant argument to
26826 call_after_alloca_subr an unsigned long type.
26827 * gdb.base/return.c: Include stdio.h.
26828
26829Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
26830
26831 * config/abug.exp: New file for the older Motorola Bug monitor
26832 that runs on the mvme13x series VME boards.
26833 * config/monitor.exp: Use the new config array for target settings
26834 if they exist.
26835
26836Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
26837
26838 * sim-gdb.exp: Make the SH simulator allocate less space when
26839 it is targeted.
26840
26841Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
26842
26843 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
26844 test.
26845
26846Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
26847
26848 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
26849 "rs6000-*-*" for "list function in include file" when gcc compiled.
26850 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
26851 for "p ctable1[120]".
26852 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
26853 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
26854 Remove setup_xfail for "rs6000-*-*" for
26855 "print 'scope0.c'::filelocal before run".
26856 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
26857 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
26858 since some compilers don't allow both options to be given
26859 on the same command line. Create object file and move it.
d63a86f8 26860
c906108c
SS
26861Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
26862
26863 * gdb.base/corefile.exp: Always regenerate the core file, since
26864 we always regenerate the coremaker program. Detect special case
26865 where registers cannot be read from core file.
d63a86f8 26866
c906108c
SS
26867Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
26868
26869 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
26870 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
26871 * gdb.c++/templates.exp: Only match on basename of file since
26872 some formats like xcoff don't encode directory information.
26873 * gdb.stabs/weird.exp: Use the right sed script for powerpc
26874 and rs6000 AIX xcoff targets.
26875 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
26876 * configure: Regenerate.
26877 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
26878 here, rather than in distclean.
d63a86f8 26879
c906108c
SS
26880Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
26881
26882 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
26883 defined, and use it to compile the test case with -O2. The
26884 native compilation still uses no optimization.
26885 * gdb.base/mips_pro.c: Remove inline assembly code since
26886 it is compiled PIC by default, which results in assembler
26887 warnings that make the testsuite think the compilation
26888 was unsuccessful.
26889
26890Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
26891
26892 * gdb.c++/misc.exp: Add note to message for
26893 "print s.a for foo struct" that this is a known gcc 2.7.2
26894 and earlier bug.
26895
26896Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
26897
26898 * gdb.base/break.exp: Fix pattern for matching "Delete all
26899 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
26900 setup_xfail for deleting all breakpoints test. Fix various
26901 timeout messages to include "(timeout)".
26902 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
26903 for "p t_float_values2(3.14159,float_val2)".
26904 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
26905 for "continue to call2g" when gcc compiled.
26906 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
26907 "up to foo in langs.exp", "show language at foo in langs.exp",
26908 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
26909 and "show language at fsub in langs.exp".
26910 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
26911 "list line 1 in include file", "list message for lines past EOF",
26912 "list function in include file", "list list0.h:foo", and
26913 "list filename:function; nonexistant function".
26914 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
26915 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
26916 and "ptype t_char_array" to be for native cc only.
d63a86f8 26917
c906108c
SS
26918Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
26919
d63a86f8 26920 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 26921 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 26922 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
26923
26924Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
26925
26926 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
26927 "bt in signals.exp". This problem only appears when running
26928 the testsuite, and then only intermittently.
26929
26930Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
26931
26932 * gdb.base/return.exp (return_tests): Differentiate between
26933 two tests of continuing.
26934
26935Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
26936
26937 * */Makefile.in (maintainer-clean): Remove config.log.
26938 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
26939 * gdb.c++/Makefile.in (PROGS): Add inherit.
26940 (clean): Remove *.ci.
26941
26942Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
26943
26944 * gdb.c++/misc.cc: Add test code from Mike Stump.
26945 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
26946
26947Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
26948
26949 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
26950 to "alpha-*-osf2*" and add comment.
26951 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
26952 setup_xfail for "step over execarg initialization" and
26953 "step over corearg initialization".
c906108c
SS
26954 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
26955 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
26956 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 26957 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
26958 "print func2::coremaker_local", and "backtrace in corefile.exp".
26959 * gdb.base/signals.exp: Build and source signals.ci.
26960 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
26961 to be for gcc only.
26962 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 26963
c906108c
SS
26964Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26965
26966 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
26967 Feb 3 procfs.c change.
26968
26969Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
26970
26971 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
26972
26973Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
26974
26975 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
26976 from dejagnu's apparent default of 10 seconds, which gives random
26977 results when running the tests over NFS on moderately loaded systems.
26978 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
26979
26980Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
26981
26982 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
26983 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 26984 result reports.
c906108c
SS
26985
26986Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
26987
26988 * configure.in (CY_AC_PATH_TCLH): Remove.
26989 * configure: Regenerate.
26990
26991Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
26992
26993 * gdb.c++/Makefile.in (clean): Add missing '{'.
26994
26995Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
26996
26997 * lib/gdb.exp: Provide a default value for noinferior.
26998
26999 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
27000 Load libgloss.exp.
27001
27002Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
27003
27004 * gdb.disasm/hppa.exp: Compile directly into an executable, use
27005 the executable, not the .o to run the tests from.
27006
27007Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
27008
27009 * gdb.base/break.exp: Don't test for program exit or exit status
27010 if $noresults if nonzero.
27011 * gdb.base/langs.exp: Likewise.
27012 * gdb.base/watchpoint.exp: Likewise.
27013
27014 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
27015 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
27016 trying to compile the testcase.
27017
27018Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
27019
27020 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
27021 * gdb.base/signals.exp (continue to handler): Likewise.
27022
27023Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
27024
27025 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
27026
27027 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
27028
27029Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
27030
27031 * gdb.base/corefile.exp: Recognize "not found" as failure
27032 when trying to determine if a core file was generated.
27033 If no core file was generate the first time, try again without
27034 the ulimit -c to work around braindamaged shells.
27035
27036Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
27037
27038 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
27039 [] tests with "test" and enclose string in quotes.
27040 * gdb.stabs/configure: Rebuild
d63a86f8 27041
c906108c
SS
27042Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
27043
27044 Changes in sync with expect:
27045 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
27046 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
27047 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
27048 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
27049 argument to AC_REQUIRE.
27050 * configure: Regenerated.
27051
27052Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
27053
27054 * gdb.base/corefile.exp: When generating a core, discard any
27055 error messages about ulimit not found and the "core dumped"
27056 message from the shell that runs the coredumper.
27057
27058Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
27059
27060 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
27061
27062 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
27063 which sed script to run. Expect failure for v_comb test
27064 on PA targets too.
d63a86f8 27065
c906108c
SS
27066Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
27067
27068 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 27069 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
27070
27071Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
27072
27073 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
27074 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 27075 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
27076 * lib/gdb.exp (default_gdb_start): Fix typo.
27077 * gdb.base/corefile.exp: Allow "Core was generated by ..."
27078 messages to not include the full program name that caused
27079 the core dump since some systems (such as solaris) apparently
27080 truncate this path to about 80 characters.
27081 When generating a core file first try increasing the core file
27082 size limit to unlimited since some systems may default it to
27083 zero, and it is harmless to try it. Move the test for failing
27084 to generate a core file to where it will actually get executed.
27085 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
27086 new gdb result from g++ debug info improvements and make old
27087 pattern obsolescent. Also account for size_t differences
27088 (may be int or long).
27089 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
27090 initialization before function call is placed in the delay slot
27091 and thus appears to be skipped over by commands such as "next".
27092
27093Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
27094
27095 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
27096
27097Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
27098
27099 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27100 input source file; fix code to compile test to deal with this
27101 convention.
27102 * gdb.c++/*.exp: Likewise.
27103
27104Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
27105
27106 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
27107 "bt in signals.exp".
27108
27109Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
27110
27111 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
27112 "step over execarg initialization" and
889bf7c5 27113 "step over corearg initialization".
c906108c
SS
27114
27115Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
27116
27117 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
27118 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
27119
27120Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
27121
27122 From Rob Savoye (rob@poseidon.cygnus.com)
27123 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
27124 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
27125 configure.in}, gdb.disasm/{Makefile.in, configure.in},
27126 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
27127 configure.in}: Major reworking for autoconfig.
c906108c
SS
27128 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
27129 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 27130 New files.
c906108c
SS
27131 * config/unix-gdb.exp: Make GDB global.
27132 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
27133 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
27134 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
27135 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
27136 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
27137 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 27138 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
27139 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
27140 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
27141 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
27142 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 27143 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
27144 to returns as necessary, arrange for test to compile own testcase
27145 executable.
c906108c 27146 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 27147
c906108c
SS
27148Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
27149
27150 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 27151 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
27152 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
27153 "backtrace through signal handler".
27154
27155Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27156
27157 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
27158 continuing from a job control stop signal.
27159 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
27160
27161Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
27162
27163 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
27164 * gdb.base/corefile.exp: Likewise.
27165 * gdb.base/funcargs.exp: Likewise.
27166
27167Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
27168
27169 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
27170 * config/monitor.exp: Add support for setting baud rate.
27171
27172Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
27173
27174 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
27175 i*86-*-linux* xfails for "backtrace through signal handler".
27176 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
27177 "print func2::coremaker_local".
27178 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 27179 alpha-dec-osf2* xfail for
c906108c
SS
27180 "delete all breakpoints when none".
27181
27182Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
27183
27184 * gdb.base/break.exp: Change test that deletes all breakpoints
27185 when no user breakpoints are installed. A post 4.15 change
27186 causes gdb to no longer prompt in this case.
27187
27188Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
27189
27190 * gdb.base/return.exp (return_tests): Change xfail for test
27191 "correct value returned double test" to stop xfailing at
27192 Solaris 2.5. Apparently the bug has been fixed.
27193
27194Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
27195
27196 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
27197 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
27198
27199Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
27200
27201 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
27202 * gdb.disasm/hppa.s: Corresponding changes.
27203
27204Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
27205
27206 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
27207 makefile fragment.
27208 * config/mt-hpux: Deleted.
27209
27210Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
27211
d63a86f8 27212 * Many files: When warning about suppressed tests due to a
c906108c
SS
27213 nonexistant test binary, avoid incrementing the warning count.
27214
27215Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
27216
27217 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 27218
c906108c
SS
27219Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27220
27221 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
27222 "sparc-*-solaris2*".
27223
27224Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27225
27226 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
27227 Add global and local variables and initialize them.
27228 * gdb.base/corefile.exp: Test correct mapping of corefile sections
27229 by printing variables. Remove rs6000 and powerpc xfails, BFD now
27230 extracts the file name and terminating signal from the core file.
27231 * TODO: Remove note about tests for correct mapping of corefile.
27232 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
27233 from optimizing it away.
27234 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
27235 handles common blocks.
27236
27237Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
27238
27239 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
27240 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
27241
27242Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
27243
27244 * Makefile.in (maintainer-clean): New target, synonym for
27245 realclean.
27246 * gdb.base/Makefile.in (maintainer-clean): Likewise.
27247 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
27248 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
27249 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
27250 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
27251 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
27252
27253Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
27254
27255 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
27256 xfails when not gcc compiled for "print foo::funclocal".
27257 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
27258 "print foo::funclocal at foo",
27259 "print 'scope1.c'::foo::funclocal at foo",
27260 "print foo::funclocal_bss at foo",
27261 "print 'scope1.c'::foo::funclocal_bss at foo",
27262 "print foo::funclocal_ro at foo",
27263 "print 'scope1.c'::foo::funclocal_ro at foo",
27264 "print bar::funclocal at foo" and
27265 "print 'scope1.c'::bar::funclocal at foo".
27266 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
27267 gcc compiled for "print foo::funclocal at bar".
27268 Expand all messages to ensure that they identify that
27269 the test is at bar().
27270 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
27271 gcc compiled for:
27272 "ptype on opaque struct pointer (statically)",
27273 "ptype on opaque struct tagname (statically)",
27274 "ptype on opaque struct pointer (dynamically) 1",
27275 "ptype on opaque struct tagname (dynamically) 1",
27276 "ptype on opaque struct pointer (dynamically) 2" and
27277 "ptype on opaque struct tagname (dynamically) 2
27278 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
27279 gcc compiled for:
27280 "p datalocal"
27281 "whatis datalocal",
27282 "ptype datalocal",
27283 "p bsslocal",
27284 "whatis bsslocal", and
27285 "ptype bsslocal".
27286 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
27287 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
27288 when not gcc compiled.
27289 * gdb.base/funcargs.exp (float_and_integral_args): Add
27290 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
27291 compiled.
27292 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
27293 "backtrace from call6a" when not gcc compiled.
27294 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
27295 "backtrace from call7a" when not gcc compiled.
27296 * gdb.base/callfuncs.exp (do_function_calls):
27297 Add "hppa*-*-hpux*" xfail when not gcc compiled for
27298 "p t_char_array_values(char_array_val2,char_array_val1)",
27299 "p t_char_array_values(char_array_val1,char_array_val2)",
27300 "p t_char_array_values("carray 1","carray 2")",
27301 "p t_char_array_values("carray 1",char_array_val2)",
27302 "p t_char_array_values(char_array_val1,"carray 2")",
27303 "p sum_args(1,{2})",
27304 "p sum_args(2,{2,3})",
27305 "p sum_args(3,{2,3,4})",
27306 "p sum_args(4,{2,3,4,5})"
27307 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
27308 "backtrace in corefile.exp" when not gcc compiled.
27309
27310Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27311
27312 * gdb.base/signals.exp: Rewrite `handle all print' test as
27313 a procedure. Accept blanks or TABs as whitespace, increase
27314 timeout and expect input buffer size for the large output
27315 from the command. Remove "i*86-*-bsdi2.0" xfail.
27316
27317Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27318
27319 * gdb.base/setvar.exp: Add new testcases for truncation when
27320 assigning invalid values to bitfields.
27321
27322Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
27323
d63a86f8 27324 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
27325 mips-sgi-irix* xfail for
27326 "call inferior func with struct - returns char *"
27327 and fix test so that an optional (unsigned char *) cast is
889bf7c5 27328 accepted in the result.
c906108c
SS
27329
27330Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
27331
27332 * gdb.base/funcargs.exp (float_and_integral_args): Remove
27333 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27334 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
27335 * gdb.base/signals.exp: Remove duplicate "handle all print" test
27336 that accidentally got checked in.
27337
27338Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
27339
d63a86f8 27340 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
27341 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
27342 compiled test.
27343 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
27344 Add mips-sgi-irix5* xfail for not gcc compiled.
27345 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
27346 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
27347 compiled for "p top", "whatis top", "p middle", and "whatis
27348 middle".
c906108c
SS
27349 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
27350 "whatis signed char" for not gcc compiled.
27351 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
27352 "set variable signed char=-1 (-1)" and
27353 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
27354 * gdb.base/funcargs.exp (float_and_integral_args):
27355 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
27356 Add mips-sgi-irix* xfail when not gcc compiled for
27357 "continue to call2b".
27358 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
27359 "continue to call2g".
6fdff2c5
PA
27360 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
27361 compiled for "backtrace from call6a"
27362 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
27363 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
27364 when not gcc compiled for "backtrace from call7a".
c906108c
SS
27365 (localvars_after_alloca): Fix gdb_test cmds for
27366 "print * after runto ...".
27367 Remove rs6000-*-* xfails for
27368 "print i after runto localvars_after_alloca" and
27369 "print l after runto localvars_after_alloca"
27370 for all compilers.
27371 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 27372 when not compiled with gcc, for:
c906108c
SS
27373 "print signed char == (minus)",
27374 "print signed char != (minus)",
27375 "print signed char < (minus)",
27376 "print signed char > (minus)".
27377 * gdb.base/callfuncs.exp (do_function_calls):
27378 Add mips-sgi-irix* xfail, when compiled with native compiler, for
27379 "call inferior func with struct - returns char *".
d63a86f8 27380 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
27381 "correct value returned double test" to include Solaris 2.4.
27382 * gdb.base/funcargs.exp (float_and_integral_args):
27383 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 27384
c906108c
SS
27385Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27386
27387 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
27388 enumeration bitfields if compiling with GNU C.
27389 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
27390 to empty' prompt.
27391
27392Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
27393
27394 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
27395 test for PRO targets.
27396
27397 * gdb.base/funcargs.exp: Avoid ever setting more than 8
27398 breakpoints in the inferior at any given time by making
27399 two groups of breakpoints for call2*, call6* and call7*
27400 tests.
27401
27402Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27403
27404 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
27405 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
27406 from optimizing it away.
27407 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
27408 "call inferior func with struct".
27409
27410Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
27411
27412 * configure.in: Only configure gdb.chill for particular targets.
27413
27414Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
27415
27416 * gdb.base/Makefile.in: Add action to .c.o transformation
27417 rule that generates a .ci file for each .o file and remove
27418 explicit .c.o rules except for callfuncs.o.
27419 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
27420 generates a .ci file for each .o file and remove explicit
27421 .cc.o rules.
27422 (clean): Remove *.tmp *.ci files.
27423 (EXECUTABLES): Remove templ-info.exp.
27424 * gdb.base/compiler.c: New file.
27425 * gdb.c++/compiler.cc: New file
27426 * gdb.base/scope.exp: Source gdb.base/scope.ci.
27427 Change rs6000-*-* xfail for
27428 "print 'scope0.c'::filelocal_ro" and
27429 "print 'scope1.c'::filelocal" and
27430 "print 'scope1.c'::filelocal_bss" and
27431 "print 'scope1.c'::filelocal_ro" and
27432 "print 'scope1.c'::foo::funclocal" and
27433 "print 'scope1.c'::foo::funclocal_ro" and
27434 "print 'scope1.c'::bar::funclocal" and
27435 "print 'scope0.c'::filelocal_ro" and
27436 "print 'scope1.c'::filelocal at foo" and
27437 "print 'scope1.c'::filelocal_bss at foo" and
27438 "print 'scope1.c'::filelocal_ro at foo" and
27439 "print 'scope1.c'::foo::funclocal at foo" and
27440 "print 'scope1.c'::foo::funclocal_bss at foo" and
27441 "print 'scope1.c'::foo::funclocal_ro at foo" and
27442 "print 'scope1.c'::bar::funclocal at foo" and
27443 "print 'scope0.c'::filelocal_ro" and
27444 "print 'scope1.c'::filelocal" and
27445 "print 'scope1.c'::filelocal_bss" and
27446 "print 'scope1.c'::filelocal_ro" and
27447 "print 'scope1.c'::foo::funclocal" and
27448 "print 'scope1.c'::foo::funclocal_bss" and
27449 "print 'scope1.c'::foo::funclocal_ro" and
27450 "print 'scope1.c'::bar::funclocal" and
27451 "print 'scope1.c'::bar::funclocal_bss"
27452 to only be xfail'd when not compiled with gcc.
d63a86f8 27453 Add rs6000-*-* xfail for
c906108c
SS
27454 "print 'scope0.c'::filelocal_bss before run"
27455 when compiled with gcc.
27456 (test_at_main): Add rs6000-*-* xfail for
27457 "print filelocal_ro in test_at_main"
27458 when compiled with gcc.
27459 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 27460 Add rs6000-*-aix* xfail for
c906108c
SS
27461 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
27462 "ptype t_char_array", not compiled with gcc.
27463 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
27464 xfail for "list foo (in include file)" when gcc compiled.
27465 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 27466 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
27467 "run to call0a" if not compiled with gcc.
27468 (unsigned_integral_args): Add rs6000-*-* xfail for
27469 "run to call1a" if not compiled with gcc.
27470 (float_and_integral_args): Add rs6000-*-* xfail for
27471 "run to call2a" if not compiled with gcc and for
27472 "continue to call2b" for any compiler.
27473 Add rs6000-*-* xfail to
27474 "print f1 after run to call2a" for gcc compiled.
27475 (discard_and_shuffle): Add rs6000-*-* xfail for
27476 "run to call6a".
27477 (shuffle_round_robin): Add rs6000-*-* xfail for
27478 "backtrace from call7a" if not compiled with gcc.
27479 Add rs6000-*-* xfail for
27480 "backtrace from call7b" if compiled with gcc.
27481 (call_after_alloca): Add rs6000-*-* xfail for
27482 "print c in call_after_alloca" and
27483 "print s in call_after_alloca" and
27484 "backtrace from call_after_alloca_subr"
27485 if not compiled with gcc.
27486 (localvars_in_indirect_call): Add rs6000-*-* xfail for
27487 "print c in localvars_in_indirect_call" and
27488 "print c in localvars_in_indirect_call" and
27489 "backtrace in indirectly called function" and
27490 "stepping into indirectly called function"
27491 if not compiled with gcc.
27492 (localvars_after_alloca): Add rs6000-*-* xfail for
27493 "print c after runto localvars_after_alloca" and
27494 "print s after runto localvars_after_alloca" and
27495 "print i after runto localvars_after_alloca" and
27496 "print l after runto localvars_after_alloca"
27497 for all compilers.
27498 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
27499 than whatis-info.exp.
27500 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
27501 than opaque-info.exp.
27502 Setup rs6000-*-* xfail for
d63a86f8 27503 "ptype on opaque struct pointer (statically)" and
c906108c
SS
27504 "ptype on opaque struct pointer (dynamically)" when
27505 not compiled with gcc.
27506 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
27507 rather than callf-info.exp.
27508 (do_function_calls): Add clear_xfail for rs6000-*-* for
27509 "p t_float_values2(3.14159,float_val2)". Seems to work
27510 fine there, both with xlc and gcc. Need to find out what
27511 it is doing right and fix other platforms.
27512 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
27513 "call inferior func with struct - returns int",
27514 "call inferior func with struct - returns long",
27515 "call inferior func with struct - returns float",
27516 "call inferior func with struct - returns double",
27517 "call inferior func with struct - returns char *",
27518 but only if not gcc compiled (presumes xlc compiled).
27519 Change rs6000-*-* xfails for
27520 "call inferior func with struct - returns char" and
27521 " call inferior func with struct - returns short" to only
27522 xfail if not using gcc.
27523 (clean mostlyclean): Remove *.ci and *.tmp files.
27524 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
27525 than templ-info.exp.
27526 * gdb.base/langs.exp: Source gdb.base/langs.ci.
27527 Add rs6000-*-* xfail for "up to foo in langs.exp"
27528 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 27529 when not gcc compiled.
d63a86f8 27530
c906108c
SS
27531Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27532
27533 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
27534 * gdb.base/corefile.exp: Likewise.
27535 * gdb.base/list.exp: Likewise.
27536 * gdb.base/scope.exp: Likewise.
27537 * gdb.base/siganls.exp: Likewise.
27538
27539 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
27540 compiler output.
27541 * gdb.base/whatis.exp: Likewise.
27542
27543Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
27544
27545 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
27546 failure (opcode table has been fixed to match reality).
27547
27548Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
27549
27550 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
27551 "call inferior func with struct - returns char",
27552 "call inferior func with struct - returns short"
27553
27554 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
27555 "print 'scope0.c'::filelocal at main",
27556 "print 'scope0.c'::filelocal_bss in test_at_main",
27557 "print 'scope0.c'::filelocal at foo",
27558 "print 'scope0.c'::filelocal_bss in test_at_foo",
27559 "print 'scope0.c'::filelocal at bar",
27560 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 27561
c906108c
SS
27562 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
27563 in source file 1". This bug seems to have been fixed with both
27564 gcc and native cc (was native assembler bug?).
27565
27566Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
27567
27568 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
27569 "backtrace through signal handler" to "i*86-*-sysv4*".
27570 * gdb.base/signals.exp: Add xfail for "'next' behaved as
27571 continue" case. Add "known SVR4 bug" to fail message.
27572 Add "i*86-*-bsdi2.0" xfail for "handle all print".
27573 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
27574 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
27575 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
27576 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
27577 "up to foo in langs.exp", "show language at foo in
27578 langs.exp", "up to cppsub_ in langs.exp", "show
27579 language at cppsub_ in langs.exp", "up to fsub in
27580 langs.exp", and "show language at fsub in langs.exp".
27581 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
27582 "bactrace in corefile.exp".
27583 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
27584 "call inferior function with struct - returns float" and
27585 "call inferior function with struct - returns double".
d63a86f8 27586
c906108c
SS
27587Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
27588
27589 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
27590 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
27591 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
27592 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
27593
27594Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
27595
27596 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
27597 (or overriden) "CHILL" macro rather then bare "gcc".
27598 Also look for ../../gcc/xgcc since that is what we will
27599 actually need, not "Makefile". Remove following assignment
27600 of CHILL to CHILL_FOR_TARGET because that results in
27601 recursive definition.
27602
27603Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
27604
27605 * gdb.base/corefile.exp: Change xfail for backtrace in
27606 corefile.exp from linuxaout to all linux.
27607 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
27608 cases where we miss the breakpoint at the signal handler
27609 for some reason. Setup xfail for linuxoldld/linuxaout and
27610 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
27611 hitting SIGURG breakpoint.
27612 * gdb.base/signals.exp: Setup xfail for "next" acting like
27613 continue to add linuxoldld. Setup xfail for all linux for
27614 "next to handler in signals_tests_1", "backtrace in
27615 signals_tests_1", "continue to func1", "pass SIGUSR1",
27616 and continue to handler".
27617
27618Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
27619
27620 * Update all FSF addresses except those in COPYING* files.
27621
27622Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
27623
27624 * gdb.base/a2-run.exp: Change messages to be more explicit about
27625 the status of args, and quote binfile in results.
27626
27627Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
27628
27629 * gdb.base/callfuncs.exp: Add tests for passing structs to
27630 inferior functions and return various types.
27631 * gdb.base/callfuncs.c: Add functions to receive a struct
27632 and return a member of the struct, in various types.
27633
27634Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27635
27636 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
27637
27638Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
27639
27640 * config/vxworks29k.exp: New file, sources vxworks.exp.
27641
27642Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27643
27644 * config/gdbremote.exp: New file. Testing framework using
27645 gdbserver.
27646
27647Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
27648
27649 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
27650 "call function when asleep" and "send end of file".
27651 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
27652 for "backtrace in corefile.exp".
27653 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
27654 for "backtrace through signal handler".
27655 * gdb.base/corefile.exp: Make sure we actually generate a core file
27656 before trying the core tests. Some systems allow the user to suppress
27657 generation of core files and default to that (linux for example).
27658 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
27659 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
27660
27661Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27662
27663 * gdb.threads: New directory with some crude multi-threaded
27664 gdb tests (step.exp and step2.exp).
27665 * config/mt-lynx (STEP_EXECUTABLE): Define.
27666 (THREADFLAGS): Define.
27667
27668Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
27669
27670 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
27671
27672 * gdb.base/signals.exp: Disable whole file for lynx until
27673 further notice.
27674
27675 * gdb.base/signals.exp: xfail test where "next" acts like
27676 "continue" for lynx.
27677
27678 * gdb.base/interrupt.exp: xfail test for calling function while
27679 inferior is asleep for lynx.
27680
27681 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
27682 than one cr-lf after each command.
27683
27684Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27685
27686 * configure.in: Reinstate setting of stabsdirs variable, fix
27687 typo in setting up configdirs for native builds.
27688
27689 * gdb.base/return.exp: Fix typo in return double test.
27690 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
27691 compiler from optimizing them away.
27692
27693Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
27694
27695 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
27696 sequences to be echo'd by gdb when using gdb_test.
27697 * gdb.chill/chexp.exp: Likewise.
27698 * gdb.fortran/exprs.exp: Likewise
27699
27700Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27701
27702 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
27703 after the inferior gdb has started.
27704
27705 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
27706 after each command.
27707 * gdb.base/funcargs.exp: Likewise.
27708 * gdb.base/gdbvars.exp: Likewise.
27709 * gdb.base/interrupt.exp: Likewise.
27710 * gdb.base/list.exp: Likewise.
27711 * gdb.base/watchpoint.exp: Likewise.
27712 * gdb.c++/demangle.exp: Likewise.
27713 * gdb.c++/inherit.exp: Likewise.
27714 * gdb.chill/chexp.exp: Likewise.
27715 * gdb.fortran/exprs.exp: Likewise.
27716
27717 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
27718 test if we can't handle IO to/from the inferior.
27719
27720 * gdb.c++/misc.exp: Always check for a program already being
27721 started after sending a "run" command to gdb.
27722
27723 * gdb.base/twice.exp: Start with a fresh gdb.
27724
27725 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
27726 only depend on gdb's expression code, not the chill runtime.
27727
27728 * gdb.base/return.c: Put return values into variables so we
27729 can have gdb print them rather than depending on the program
27730 to print them.
27731 * gdb.base/return.exp: Corresponding changes.
27732
27733 * lib/gdb.exp: Provide default value for noinferiorio.
27734 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
27735 the inferior.
27736
27737 * gdb.base/break.exp: Always check for a program already being
27738 started after sending a "run" command to gdb.
27739 (text_next_with_recursion): Don't check the output from the
27740 program's printf statement. Instead just make sure the program
27741 exited.
27742
27743 * gdb.base/commands.exp: Protect tests which need arguments with
27744 $noargs conditionals.
27745
27746Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27747
27748 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
27749 of structure member arrays to match gdb/valops.c:value_addr change.
27750
27751Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
27752
27753 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
27754 cases.
27755
27756Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
27757
27758 * configure.in (configdirs): Remove gdb.chill from default list
27759 of subdirs and then add it back in only if doing a native build.
27760 The current chill compiler does not yet work in any cross build.
27761 * Revert all signal changes from Jul 6.
27762 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
27763 for sh-hms targets, allowing these tests to link, with no other
27764 changes. Testing is suppressed by setting "nosignals" in site.exp.
27765
27766Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
27767
27768 * configure.in (signaldirs): Define and add to configdirs for all
27769 targets except some specific ones that are known to not support signals.
27770 Also clean up formatting.
27771 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
27772 (signals, sigall): Remove rules to build.
27773 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
27774 Moved to new gdb.signals directory.
27775 * gdb.signals: New test directory.
27776 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
27777 signals.c signals.exp}: New or moved files.
27778
27779Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
27780
27781 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
27782
27783Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
27784
27785 * gdb.base/return.exp: Xfail `return double' test failure
27786 on at least Solaris 2.3 and handle future/past versions on
27787 a case by case basis as appropriate. Also update message
27788 to include i*86 failures.
27789
27790Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27791
27792 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
27793
27794 * lib/gdb.exp: Fix comment which erroneously identified
27795 gdb_file_cmd as gdb_load (the 19 May change was in fact to
27796 gdb_file_cmd not gdb_load).
27797 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
27798
27799 * gdb.base/setvar.exp: Make test names consistent between pass and
27800 fail cases. Use gdb_test more.
27801
27802Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27803
27804 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
27805
27806Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27807
27808 * gdb.base/help.exp: Fix expected help string for `show commands'.
27809
27810Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
27811
27812 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
27813
27814 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
27815 of a text section.
27816
27817Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
27818
27819 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
27820 that loop eventually terminates. Fix Connection refused logic so
27821 that testsuite will expire nicely.
27822
27823Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
27824
27825 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
27826 config/rom68k.exp: New tcl glue for the appropriate monitors.
27827 These all just end up calling monitor.exp.
27828 * config/monitor.exp (gdb_target_monitor): Handle `Connection
27829 refused' by retrying. Cleanup some timeout issues.
27830 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
27831 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
27832 callers don't have to set/restore global timeout variable.
27833
27834 * The following set of changes centralizes management of the global
27835 timeout variable. This way, it can be set in one target dependent
27836 place instead of dozens of places scattered throughout the test suite.
27837 If you need to lengthen a timeout, then you should either set timeout
27838 in one of the config/{target}.exp files, or multiply it by a factor.
27839 Setting it to an absolute value is always going to lose for some
27840 targets.
27841 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
27842 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
27843 * gdb.base/funcargs.exp: Don't set timeout.
27844 * gdb.base/list.exp (test_forward_search): Only use local timeout.
27845 * gdb.base/printcmds.exp (test_print_string_constants
27846 test_print_array_constants): Don't set timeout.
27847 * gdb.base/ptype.exp: Don't set timeout.
27848 * gdb.base/recurse.exp: Don't set timeout.
27849 * gdb.base/return.exp: Don't set timeout.
27850 * gdb.base/watchpoint.exp: Don't set timeout.
27851 * gdb.c++/classes.exp (do_tests): Don't set timeout.
27852 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
27853
27854Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
27855
27856 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
27857
27858Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27859
27860 * lib/gdb.exp: Disable chill tests for irix5.
27861
27862Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27863
27864 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
27865 each test pass or fail.
27866
27867Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27868
27869 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
27870 xlc not gcc.
27871
27872Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
27873
27874 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
27875
27876Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
27877
27878 * config/est.exp: Fix copyright and comments. Remove dead code.
27879 Use targetname, serialport and baud variables instead of fixed
27880 constants.
27881 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
27882 * config/cpu32bug.exp: New file to support cpu32bug monitors.
27883
27884Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27885
27886 * gdb.base/watchpoint.exp: Don't run
27887 test_watchpoint_triggered_in_syscall for sunos.
27888
27889Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27890
27891 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
27892 they don't seem to exist. Do include stdio.h.
27893
27894Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27895
27896 * gdb.base/a1-selftest.exp: Add alpha xfail.
27897
27898Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27899
27900 * gdb.base/watchpoint.c (main): Prompt before calling read().
27901 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
27902 Revise accordingly. Remove cruft about sending "123" several
27903 times, until it gets noticed. Clean up the "print buf[0]" stuff
27904 so that it passes or fails, and waits for prompts in the usual way.
27905
27906Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27907
27908 * gdb.base/recurse.exp: Fix comment.
27909
27910 * TODO: Remove item about printing variables in nodebug.exp. Add
27911 item about enabling tests which are only run on some targets.
27912
27913 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
27914 fail, make test names unique, use new gdb_test convention
27915 regarding pattern, use gdb_test more, etc.).
27916
27917 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
27918 fail, make test names unique, etc.).
27919
27920Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27921
27922 * gdb.base/nodebug.c: Change return type of top and middle to
27923 short.
27924 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
27925 are fixed by the recent mdebugread.c changes. Allow `short ()'
27926 as type for top and middle.
27927
27928Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27929
27930 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
27931 nearly as I can tell, the whole thing was an accident in Stu's
27932 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
27933 to replace a send/expect pair with gdb_test, but ended up only
27934 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
27935 of 30 Mar 1995 took care of it, but left this vestigial comment
27936 which I am now nuking.
27937
27938Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27939
27940 * gdb.base/break.exp: Look for different line number for
27941 breakpoint at main depending on usestubs.
27942
27943Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27944
27945 * gdb.base/list.exp: Adjust some alternate expect patterns to
27946 match recent list0.c change. Add alternate expect pattern for
27947 output from `list default lines around main' for optimizing
27948 compilers.
27949
27950Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27951
27952 * lib/gdb.exp: If nosignals is not set, set it to 0.
27953
27954Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
27955
27956 * config/slite-gdb.exp: Responds to load symbol table prompt.
27957 * gdb.base/break.exp: Adjust line number, fix rerun.
27958 * gdb.base/langs0.c: Add #ifdef usestubs.
27959
27960Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
27961
27962 * gdb.base/list.exp: Adjust line contents after adding new lines in
27963 list0.c. Also fix a syntax error.
27964
27965 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
27966 * gdb.base/break.exp: ditto.
27967 * gdb.base/list.exp: ditto.
27968 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
27969 * gdb.base/run.c: ditto.
27970 * gdb.base/list0.c: ditto.
27971 * gdb.base/funcargs.c: ditto.
27972
27973Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
27974
27975 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
27976 $targetname, $serialport and $baud instead of hardwired variables.
27977 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
27978 target doesn't support signals.
27979
27980Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
27981
27982 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
27983
27984Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27985
27986 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
27987 Don't rely on the value of an auto variable before it has been
27988 initialized. Use gdb_test more.
27989
27990Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27991
27992 * lib/gdb.exp (default_gdb_version): A version number must start
27993 with a digit, but other than that contains all characters up to
27994 the first whitespace character.
27995
27996Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27997
27998 * gdb.base/commands.exp (breakpoint_command_test): New tests.
27999
28000Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28001
28002 * gdb.c++/*.exp: Warn if executable does not exist. The original
28003 reason for skipping the warning was that configure.in sometimes
28004 intentionally skipped building the executables but the tcl code
28005 had no way of knowing. That (a) was always bogus with respect to
28006 error handling, (b) is no longer true (right now there is no way
28007 to skip C++ tests).
28008
28009 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
28010
28011Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28012
28013 * gdb.base/list.exp: Add expect patterns for output from
28014 SunPRO compiled executables.
28015 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
28016 types.
28017
28018Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28019
28020 * gdb.base/break.exp (test_next_with_recursion): Accept any line
28021 number (we are already testing that the correct source line text
28022 gets printed).
28023
28024 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
28025 that is what is intended, but something needed to be done to get
28026 sunos4 native working again.
28027
28028 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
28029
28030 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
28031 apparently went with a (very) old xfail.
28032
28033Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
28034
28035 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
28036 runto_main is a proc in gdb.exp that will do 'step' for target use
28037 stubs.
28038 * gdb.base/exprs.exp: ditto.
28039 * gdb.base/interrupt.exp: ditto.
28040 * gdb.base/opaque.exp: ditto.
28041 * gdb.base/printcmds.exp: ditto.
28042 * gdb.base/ptype.exp: ditto.
28043 * gdb.base/scope.exp: ditto.
28044 * gdb.base/setvar.exp: ditto.
28045 * gdb.base/signals.exp: ditto.
28046 * gdb.base/twice.exp: ditto.
28047 * gdb.c++/classes.exp: ditto.
28048 * gdb.c++/inherit.exp: ditto.
28049 * gdb.c++/templates.exp: ditto.
28050 * gdb.base/break.exp: no run and hit main for stubs. Change line
28051 numbers for breakpoints and info breakpoint.
28052 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
28053 breakpoint().
28054 * gdb.base/callfuncs.c: ditto.
28055 * gdb.base/exprs: ditto.
28056 * gdb.base/interrupt.c: ditto.
28057 * gdb.base/opaque0.c: ditto.
28058 * gdb.base/printcmds.c: ditto.
28059 * gdb.base/ptype.c: ditto.
28060 * gdb.base/scope0.c: ditto.
28061 * gdb.base/setvar.c: ditto.
28062 * gdb.base/signals.c: ditto.
28063 * gdb.base/twice.c: ditto.
28064 * gdb.c++/misc.cc: ditto.
28065 * gdb.c++/templates.cc: ditto.
28066
28067Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28068
28069 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
28070
28071 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
28072 somewhere between `read' and `main.c'. I'm pretty sure the
28073 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
28074 and it isn't particularly useful.
28075
28076 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
28077
28078Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28079
28080 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
28081
28082Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
28083
28084 * config/mt-slite: add LIBS and -nostdlib.
28085 * config/slite-gdb.exp: add this new file to support sparclite target.
28086
28087Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
28088
28089 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
28090
28091 * gdb.base/a2-run.exp: Change argument to istarget from
28092 "*-*-vxworks" to "*-*-vxworks*".
28093 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
28094
28095Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
28096
28097 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
28098 will not runto main but do a 'step' to step out of breakpoint().
28099 * config/mt-slite: add -Dusestubs.
28100
28101Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28102
28103 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
28104 instead of just @.
28105
28106 * gdb.base/signals.exp: Add test for "handle all print".
28107 * TODO: Remove "handle all print". Also remove item about
28108 checking copyright date (I don't like the idea of a spurious FAIL
28109 based on when we run the tests).
28110
28111 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
28112 for SunOS4 (reason for failure not investigated). Remove
28113 redundant test for $binfile.
28114
28115 * gdb.base/nodebug.c (array_index): Call malloc.
28116
28117 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
28118
28119Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
28120
28121 * gdb.base/recurse.exp: Update gdb_test invocation to use new
28122 conventions and slightly simplify the matching regexp.
28123
28124Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28125
28126 * gdb.base/break.exp: Update gdb_test invocation to use new
28127 convention.
28128
28129 * lib/gdb.exp: If noargs is not set, set it to 0.
28130
28131 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
28132 tests unique.
28133
28134 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
28135
28136Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28137
28138 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
28139 one argument of type "<non-float parameter>".
28140
28141Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
28142
28143 * config/rom68k.exp: New file to support Motorola IDP board.
28144 * gdb.base/a2-run.exp: Skip this file if noargs is set.
28145 * gdb.base/break.c: Change things around so that this program
28146 doesn't depend upon args. This is necessary to make remote
28147 targets work (in general, they can't take args).
28148 * gdb.base/break.exp: Don't try to send args to program. Don't
28149 expect output. Also, replace lots of code with gdb_test.
28150
28151Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28152
28153 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
28154 printing of '\'' (which is what the comment says we are testing,
28155 even though we were not), not '''.
28156 (test_integer_literals_rejected): Test that printing ''' is an error.
28157
28158 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28159 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
28160 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
28161 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
28162 Use gdb_test not test_print_accept.
28163 * lib/gdb.exp: Remove test_print_accept.
28164
28165 * gdb.base/signals.exp (signal_tests_1): Make pass message
28166 consistent with fail message.
28167
28168 * gdb.base/whatis.exp: Remove xfails for printing char vs.
28169 unsigned char; the bug (PR 1821) is fixed.
28170
28171 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
28172
28173 * gdb.base/scope.exp (test_at_localscopes): Call pass for
28174 successful tests--makes xfailing them work right.
28175
28176Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28177
28178 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
28179 only \r\n, not .*. The test can pass .* as the last thing in
28180 $pattern if that is what it wants. In addition to providing this
28181 flexibility, this change should speed up pattern matching in cases
28182 where the pattern already ended with .* (there were a number of
28183 them). This change also helps catch bad patterns--in the old
28184 scheme the typo "char \*" instead of "char \\*" would pass. Now
28185 it is caught.
28186 * Many .exp files: Update callers.
28187
28188 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
28189 clearer and does not spuriously match multiple ('s. Likewise for
28190 ) and *.
28191
28192 * gdb.base/nodebug.exp: Test ability to call a function and pass
28193 it a string (even with no debugging info).
28194
28195 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
28196 "p '\'", which is the same as "p ''" once tcl gets done with
28197 quoting, to "p '\\'", which I suspect is what is intended (one
28198 backslash gets sent to GDB).
28199
28200 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
28201
28202Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28203
28204 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
28205 1817) was fixed literally years ago.
28206
28207Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28208
28209 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
28210 test, it causes stepping out of call_after_alloca_subr with
28211 optimizing compilers.
28212 (localvars_in_indirect_call): Consume GDB prompt if `finish'
28213 fails.
28214
28215 * gdb.c++/templates.exp: Source templ-info.exp only if
28216 the templates executable exists.
28217
28218 * gdb.c++/misc.cc (class Contains_static_instance,
28219 class Contains_nested_static_instance),
28220 gdb.c++/classes.exp (test_static_members): Test printing of
28221 a class that contains a static instance of the class.
28222
28223Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28224
28225 * gdb.base/langs2.c (cppsub_): Don't prototype.
28226 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
28227 only, I believe).
28228
28229Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28230
28231 * lib/gdb.exp (skip_chill_tests): New procedure.
28232
28233 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
28234
28235Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
28236
28237 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
28238 each expect pattern. Cuts runtime from 12 to about 4 seconds.
28239
28240Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28241
28242 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
28243
28244 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
28245 disassemble 8, not 16, instructions for part 4.
28246
28247 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
28248 support the latter anymore.
28249
28250 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
28251 -DNO_PROTOTYPES.
28252 * gdb.base/callfuncs.c: Control use of prototypes based on
28253 NO_PROTOTYPES, not __STDC__.
28254 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
28255 t_float_values2 tests if prototypes in use.
28256
28257 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
28258 t_double_values): When checking differences against DELTA, check
28259 that difference is within the range (-DELTA,DELTA), not just
28260 (-infinity,DELTA).
28261
28262Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
28263
28264 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
28265 'file' command firts, then 'target', then 'load', this is due to gdb
28266 target set up.
28267 * config/mips-gdb.exp: Fix a couple regular exp bugs.
28268
28269Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
28270
28271 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
28272 FP load/store variants.
28273 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
28274
28275Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28276
28277 * gdb.base/term.exp: Do not give a warning if not native, it is
28278 not an abnormal condition.
28279
28280Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
28281
28282 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
28283 t_char_array".
28284
28285Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28286
28287 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
28288 are getting the version number.
28289
28290 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
28291 if not native, it is not an abnormal condition.
28292
28293Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28294
28295 * lib/gdb.exp: Just use "file exists", rather than undocumented
28296 dejagnu procedure "findfile".
28297
28298Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28299
28300 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
28301 (LDFLAGS): Set to -Xlinker -Ur.
28302
28303 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
28304 Removed, these values are set by lib/gdb.exp.
28305
28306 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
28307
28308Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28309
28310 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
28311 of replicating gdb startup code.
28312
28313 * config/mt-vxworks (LDFLAGS): Set to -r.
28314 (CFLAGS_FOR_TARGET): Removed.
28315
28316 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
28317 (gdb) and gdb for vxworks uses (vxgdb).
28318
28319 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
28320 executable is not in the tree and host != target, use sed and
28321 program_transform_name to determine the gdb name used by the
28322 target.
28323
28324 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
28325 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
28326
28327Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28328
28329 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
28330 floats, chars, and shorts where there are ANSI-style function
28331 definitions.
28332
28333 * gdb.base/langs.exp, gdb.base/langs*: New test.
28334 * gdb.base/Makefile.in: Build it.
28335 * TODO: Remove item about checking that C names don't get C++
28336 demangling applied; this test tests it.
28337
28338Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28339
28340 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
28341 went with the const70 xfail. The xfail went away a year ago.
28342
28343 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
28344
28345 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
28346 for hp300.
28347
28348 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
28349
28350 * gdb.base/a1-selftest.exp: Don't run on hp300.
28351
28352Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28353
28354 * Makefile.in (site.exp): Set host_alias and target_alias as well
28355 as host_triplet and target_triplet.
28356
28357Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28358
28359 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
28360
28361 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
28362 places as other ecoff systems).
28363
28364 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
28365 ultrix.
28366
28367Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28368
28369 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
28370 remove them.
28371 * gdb.base/nodebug.exp: Accept "function" in addition to "text
28372 variable and "variable" in addition to "data variable".
28373 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
28374
28375 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
28376 2.
28377 * gdb.base/list1.c (long_line): Add additional statement at start
28378 of function.
28379 * gdb.base/list.exp (test_forward_search): Update line number to
28380 reflect new statement.
28381
28382Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28383
28384 * gdb.base/signals.exp: Reinitialize searched source directories
28385 after gdb_start call.
28386
28387Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
28388
28389 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
28390 * gdb.stabs/Makefile.in: Likewise.
28391
28392 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
28393 change. Instead split the tests into smaller pieces.
28394 * gdb.disasm/hppa.s: Corresponding changes.
28395
28396Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28397
28398 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28399 Quote ^C when passing it to stty. For some shells ^ is a pipe.
28400
28401 * gdb.base/funcargs.exp: Modify many tests so that every test
28402 either passes or fails. Make some test names unique.
28403
28404Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28405
28406 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28407 Call stty to set interrupt character.
28408
28409 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
28410 for HP assembler versus GNU assembler based on actual behavior of
28411 $(CC), rather than assuming that $(AS) is always the GNU assembler.
28412
28413 * TODO: Suggest a few more stepping tests.
28414
28415Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
28416
28417 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
28418 restart GDB for h8300 after a continue.
28419 (return): Add pattern to match a29k-udi behavior.
28420 * gdb.base/nodebug.exp: Remove obsolete comment.
28421 * gdb.base/regs.exp: New file, testing of register displays.
28422 * gdb.base/return.exp: Fix typo in reference to $objdir.
28423 * gdb.base/whatis.exp: Always start with a fresh GDB.
28424
28425Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28426
28427 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
28428 higher, these tests generate a lot of output.
28429
28430Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28431
28432 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
28433 code following the catch silently ignored some errors; without the
28434 catch they should be thrown like any other tcl error. Also, the
28435 catch used "" instead of {} which meant all the callers who wanted
28436 to include one of the characters "[]$ had to quote it an extra time.
28437 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
28438 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
28439 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
28440 Remove extra quoting.
28441
28442Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
28443
28444 * gdb.base/commands.exp: Make test names unique; every test either
28445 passes or fails. Update some comments.
28446
28447 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
28448
28449Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28450
28451 The following fixes a FAIL caused by the fact that the alpha stabs
28452 configuration didn't use the ".if alpha" code in weird.def.
28453 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
28454 bit pointer, so the 32 bit version works even on the alpha.
28455 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
28456 Remove the stuff which allowed us to have separate versions for
28457 alpha and everything else.
28458
28459 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
28460 regexp which "info func operator\[\](" is supposed to match. Fix
28461 string to send to GDB. Note that GDB still doesn't work right. Add a
28462 new test for "info func .perator\[\](" which GDB does handle correctly.
28463
28464 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
28465
28466Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28467
28468 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
28469 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
28470 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
28471 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
28472 it makes the tests harder to understand and confuses test-o-matic.
28473 The preferred style is that each test provides a PASS or a FAIL,
28474 and has a unique message (e.g. "continue #54" not just "continue")
28475 which is the same for the pass and the fail.
28476 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28477 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
28478 to lib/gdb.exp.
28479 * gdb.base/printcmds.exp: Use test_print_accept. Remove
28480 prt_accept which was basically the same thing. Likewise for
28481 test_print_reject and prt_reject.
28482 * lib/gdb.exp (test_print_reject): Add some more error message
28483 patterns to match from the former printcmds.exp (prt_reject).
28484 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
28485 One defect of the passcount stuff is that some of it failed to
28486 report XPASS where appropriate.
28487 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
28488 stuff before and after arg in expected pattern.
28489 (test_paddr_operator_functions): Re-do test without print_addr_of;
28490 this is the only test which seems to want extra stuff there.
28491
28492Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28493
28494 * gdb.base/nodebug.exp: Update new tests to reflect improved
28495 wording of gdb output.
28496
28497 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
28498 and "ptype" work on variables in files compiled without -g.
28499 Replaces commented out "maint print msymbol" tests.
28500
28501Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28502
28503 * gdb.base/setvar.c (dummy): Call malloc.
28504
28505 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
28506 losing with the irix4 sed.
28507
28508 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
28509 ALRM" on irix4.
28510
28511Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28512
28513 * TODO: Remove items about corefile.exp testing new exec-file and
28514 backtrace; both are now done. Add items about printing enums.
28515
28516Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28517
28518 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
28519 "get signal $thissig" test fails.
28520
28521 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
28522
28523Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28524
28525 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
28526 compiler warning with dec alpha compiler.
28527
28528 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
28529 extra \n from gdb_test call (this explains why the prompt test
28530 that I removed yesterday was there).
28531 (user_defined_command_test): Remove extra \n and prompt test.
28532
28533 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
28534 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
28535 doesn't exist.
28536 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
28537 Also remove alpha workaround, which turns out to be because
28538 SIGABRT == SIGLOST.
28539
28540 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
28541
28542 * gdb.base/help.exp: Don't test "help show".
28543
28544Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28545
28546 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
28547 "set print address" is on.
28548 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
28549 pass prompt to gdb_test; gdb_test already looks for the prompt.
28550
28551 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
28552
28553 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
28554 was a vestige of the manual TESTSTRATEGY, and the purpose of it
28555 was to make sure that gdb can read a core file. But (a) the "read
28556 the corefile" part didn't make it to a1-selftest.exp, we just
28557 delete the corefile after creating it, and (b) we test reading
28558 corefiles in corefile.exp anyway. Also, this test left around a
28559 xgdb process on Solaris.
28560
28561 * gdb.base/corefile.exp: Also test backtrace.
28562
28563Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
28564
28565 * gdb.base/commands.exp: Test a simple user defined command with
28566 arguments and if/while statements; verify the full user command is
28567 printed by "show user".
28568
28569 * gdb.base/commands.exp: Test if/while commands as part of a
28570 breakpoint command list; verify they appear in breakpoint
28571 information.
28572
28573Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28574
28575 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
28576 than by dividing by zero.
28577
28578Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
28579
28580 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
28581 performing an inferior call with watchpoints enabled.
28582 * gdb.base/watchpoint.c (main): Delete second unnecessary read
28583 call.
28584
28585Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28586
28587 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
28588 of "file" command.
28589
28590 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
28591 Add additional pattern for when "int operator int(void);" appears
28592 in a different order.
28593
28594Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28595
28596 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
28597
28598 * gdb.base/help.exp: Replace most of docstrings for "info signals"
28599 and "signal" with ".*".
28600
28601Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28602
28603 * TODO: Add note about "handle all nostop".
28604
28605 * gdb.base/{sigall.c, sigall.exp}: New test.
28606 * gdb.base/Makefile.in: Add it.
28607
28608Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
28609
28610 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
28611 when invoking GDB, suppresses any windowing interface.
28612
28613Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
28614
28615 * config/sim-gdb: New file, simulator testing support.
28616
28617Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
28618
28619 * gdb.base/interrupt.exp: Test calling func1 twice.
28620
28621Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
28622
28623 * gdb.base/list.exp (test_forward_search): Set timeout higher
28624 when we'll be getting lots of output from gdb.
28625
28626 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
28627 "init_malloc" to after the expect statement. Run it if that
28628 regexp is taken, but also for two others which happen if source
28629 cannot be found.
28630
28631Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28632
28633 * gdb.base/printcmds.exp: New test, for printing register before
28634 program is running.
28635
28636Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28637
28638 * gdb.base/list.exp: Correct some alternate expect patterns
28639 to reflect changes in list1.c.
28640
28641Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28642
28643 * TODO: Add item regarding large frames.
28644
28645 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
28646
28647 * TODO: Remove item about enabling return.exp; it
28648 is enabled. Suggest a few more "return" tests.
28649
28650Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28651
28652 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
28653 anonymous unions.
28654
28655Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28656
28657 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
28658 and pr-5646.o, so "make" is the same as "make all", not "make
28659 pr-4975.o".
28660
28661Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
28662
28663 * gdb.base/list.exp: Adjust expectations to reflect changes in
28664 list1.c.
28665 (test_forward_search): New test proc.
28666 * gdb.base/list1.c (long_line): New function, has long source line.
28667
28668Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
28669
28670 * gdb.base/a1-selftest.exp: Change initial stepping to know about
28671 additional line of code that was added.
28672
28673Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
28674
28675 * gdb.disasm/hppa.s: Break the large branching tests into smaller
28676 tests so as not to overflow expect's input buffers.
28677 * gdb.disasm/hppa.exp: Corresponding changes.
28678
28679Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28680
28681 Beginnings of template debugging tests.
28682 * gdb.c++/templ-info.cc: New file to test for template
28683 debugging capability of the compiler.
28684 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
28685 templ-info.cc.
28686 * gdb.c++/templates.cc: Add explicit template instantiations
28687 to enable compiling with -fno-implicit-templates. Add destructor
28688 and 'value' method to T5 class for template tests.
28689 * gdb.c++/templates.exp: Add testcases for printing of template
28690 types, setting breakpoints on template methods and calling a
d63a86f8 28691 template method.
c906108c
SS
28692
28693Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
28694
28695 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
28696 branch target since some assemblers (gas-2.5) may emit a
28697 relocation for the branch instead of resolving it in the
28698 assembler.
28699
28700Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28701
28702 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
28703 through signal handler.
28704
28705Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28706
28707 * configure.in (*-*-netware): Use config/mt-netware.
28708
28709 * config/mt-netware: New file.
28710 * config/mt-i386-netware: Removed, separate configs for different
28711 netware architectures are no longer needed now that we have
28712 --with-headers.
28713
28714Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28715
28716 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
28717 by the recent changes to use ANSI C arithmetic conversions.
28718
28719Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28720
28721 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
28722 bug involving using inferior_pid to figure out whether to select a
28723 frame.
28724
28725Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
28726
28727 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
28728 match the current disassembler output.
28729
28730Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
28731
28732 * gdb.fortran/exprs.exp: Expect VOID instead of void.
28733 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
28734 types, expect "int" as type of integer values (for now).
28735
28736Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
28737
28738 * gdb.base/commands.exp: New tests for if/while commands.
28739
28740Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
28741
28742 * lib/gdb.exp (runto): Replace sub-pattern for hex value
28743 by .*, since hex values have different syntax in Chill mode.
28744
28745Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28746
28747 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
28748 linefeed from expect pattern for repeated types with indices > 9.
28749
28750Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
28751
28752 First part of Fortran test suite.
28753 * gdb.fortran: New directory.
28754 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
28755
28756Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28757
28758 * gdb.base/default.exp: Update expect pattern for load command
28759 without arguments.
28760
28761Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
28762
28763 * configure.in: Change i386 to i[345]86.
28764 * gdb.base/configure.in: Likewise.
28765 * gdb.c++/configure.in: Likewise.
28766 * gdb.chill/configure.in: Likewise.
28767
28768Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
28769
28770 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
28771 patterns, since that is not a valid context for comments.
28772
28773Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
28774
28775 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
28776 repeated types and repeated types with indices > 9.
28777
28778Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
28779
28780 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
28781 2417; old bug has been fixed.
28782
28783Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
28784
28785 * gdb.base/interrupt.exp: When trying to wake up the inferior,
28786 send the newline ourselves instead of assuming gdb_test will do
28787 so when passed an empty input string.
28788
28789 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
28790 stabs testcode.
28791
28792Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28793
28794 * lib/gdb.exp (gdb_test): Don't send anything if the first
28795 argument is an empty string. This makes cases where we want to
28796 match output that is already in expect's buffers (for example,
28797 matching a breakpoint after gdb_run_cmd has been called) work
28798 reliably.
28799
28800Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28801
28802 * config/netware.exp: New file.
28803
28804Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28805
28806 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
28807 the -B and -L prefixes so we can find the debugging stub.
28808
28809 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
28810 there and we are using the gcc from the tree.
28811
28812 * gdb.base/types.c: Removed.
28813
28814 * gdb.base/configure.in: Look for makefile fragments in ../config.
28815 Recognize i386-*-netware.
28816 * gdb.c++/configure.in: Likewise.
28817
28818Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28819
28820 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
28821 the correct TCL syntax.
28822
28823Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28824
28825 * gdb.base/opaque.exp: use runto instead of messing around with
28826 breakpoints. Simplify by using gdb_test.
28827
28828 * gdb.base/bitfields.exp: restart between tests on netware targets
28829 because breakpoints aren't relocated after target death. Run
28830 processes to completion.
28831
28832 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
28833
28834Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
28835
28836 * Makefile.in: Remove extra tabs that confuse some versions
28837 of "make". Use the newly built gdb to test with by default,
28838 rather than the first one in the tester's search path.
28839
28840Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
28841
28842 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
28843
28844 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
28845 condition help.
28846
28847Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28848
28849 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
28850
28851 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
28852 running.
28853 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
28854 * gdb.base/funcargs.exp: Likewise.
28855
28856 * gdb.base/bitfields.exp: Simplify by using gdb_test.
28857 * gdb.base/funcargs.exp: Likewise.
28858
28859 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
28860 message is "".
28861
28862Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28863
28864 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
28865 return,signals,twice}.exp: Handle non-existant binaries
28866 consistantly.
28867
28868 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
28869 * gdb.base/Makefile.in: Don't try to generate a core dump, we
28870 might testing a cross development system.
28871
28872Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28873
28874 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
28875 runtest script is relative to ${srcdir}, not ${rootdir}.
28876
28877Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
28878
28879 * gdb.base/signals.exp: Allow for optionality of breakpoint
28880 address.
28881
28882Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28883
28884 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
28885
28886Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28887
28888 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
28889 for size_t definition.
28890 * gdb.c++/templates.cc: Likewise
28891
28892 * config/mt-i386-netware: New file.
28893
28894 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
28895 defined.
28896
28897 * gdb.base/Makefile.in: Added support for systems that name core
28898 files by appending "core" to the program name.
28899 * gdb.base/a1-selftest.exp: Likewise.
28900
28901Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28902
28903 * gdb.base/return.exp: Add comment and message for `return double'
28904 test failure on Sparc Solaris.
28905
28906Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
28907
28908 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
28909
28910Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28911
28912 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
28913 from optimizing them away.
28914 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
28915 patterns to include default constructors and assignment operators,
28916 to match gcc versions beyond 2.5.8. Accept any cplus demangling
28917 character in the output of the virtual base pointer.
28918
28919Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28920
28921 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
28922 expression match in print_addr_of to avoid unintented matches.
28923 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
28924 versions up to 2.5.8.
28925
28926Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28927
28928 * gdb.base/list.exp: Tweak alternate pattern for listing of an
28929 included file to run under newer versions of expect.
28930 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
28931 consecutive >'s in templates to accomodate recent cplus-dem.c change.
28932 Remove xfail for the virtual table of BDDHookV.
28933
28934Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
28935
28936 * lib/gdb.exp (string_to_regexp): Set a default result.
28937 (default_gdb_start): Fix misleading message.
28938
28939Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
28940
28941 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
28942 Remove all CC, etc definitions.
28943 * config/mt-hpux: New file.
28944 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
28945 (CFLAGS, LDFLAGS): Define.
28946 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
28947
28948 * Makefile.in (site.exp): Don't insert host_os, etc.
28949 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
28950 (distclean): Check existence of subdir.
28951 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
28952 * gdb.base/Makefile.in: General cleanup and simplification.
28953 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
28954 to build executables. Use default rule to build .o files.
28955 (EXPECT, RUNTEST, CC): Fix relative pathname.
28956 (site.exp): Don't insert host_os, etc.
28957 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
28958 and/or SIGUSR1 defined.
28959 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
28960 * gdb.c++/Makefile.in: General cleanup and simplification.
28961 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
28962 (CFLAGS): Remove.
28963 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
28964
28965Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
28966
28967 * gdb.base/recurse.exp: Misc changes to get tests running again
28968 after Kung's changes to the watchpoint code.
28969 * gdb.base/watchpoint.exp: Likewise.
28970
28971Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
28972
28973 * lib/gdb.exp (string_to_regexp): Convert {\} also.
28974
28975Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
28976
28977 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
28978 * lib/gdb.exp (default_gdb_start): Define.
28979 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
28980 gdb.base/funcargs.exp, gdb.base/opaque.exp,
28981 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
28982 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
28983 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
28984 Don't call gdb_target_udi in between tests.
28985
28986Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28987
28988 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
28989 (which was basically just a local version of the same thing). In
28990 addition to avoiding duplication, gdb_test_exact is faster.
28991 * lib/gdb.exp (gdb_test_exact): Fix typo.
28992
28993 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
28994 don't give an error.
28995
28996 * gdb.base/term.exp: Call delete_breakpoints before starting.
28997
28998 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
28999 (t10): Add comment.
29000
29001Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29002
29003 Reorganization of the GDB Test Suite.
29004
29005 * gdb.base: New directory, contains all the basic tests.
29006 * gdb.c++: New directory, tests specific to C++.
29007 * gdb.chill: New directory, tests specific to Chill.
29008 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
29009 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
29010 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
29011 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
29012 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
29013 t30-31 to chill).
29014 * */gdbme.*: Rename to match appropriate expect scripts.
29015 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
29016 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
29017 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
29018 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
29019 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
29020 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
29021 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
29022 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
29023 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
29024 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
29025 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
29026 gdb.c++/virtfunc.cc: New names of C++ files.
29027 * gdb.chill/chillvars.ch: New name of Chill file.
29028 * gdb.base/configure.in, gdb.c++/configure.in,
29029 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
29030 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
29031 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
29032 * configure.in (configdirs): Update to reflect directory changes.
29033 (target_abbrev): No longer define for any configuration.
29034 * Makefile.in: Cosmetic improvements to header comments.
29035
29036Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
29037
29038 Various changes to gdb.t31:
29039
29040 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
29041 * gdbme.ch: Make all key-words and predefineds be upper-case.
29042 * chillvars.exp: Expect key-words and predefinds in upper-case.
29043
29044 * chillvars.exp: Use gdb_test_exact many places.
29045 Change expected output for arrays (which now includes index labels).
29046
29047 * pr-5020.exp, gdme.ch (module PR_5020):
29048 New test, for PR-5020.
29049
29050Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
29051
29052 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
29053 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
29054
29055Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
29056
29057 * Makefile.in: Fix bit-rot in definitions of CHILL,
29058 CHILL_FOR_TARGET and Chill_LIB.
29059 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
29060 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
29061 CHILL, and CHILL_LIB.
29062
29063Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
29064
29065 * Revert the previous changes. Please see Rob's directory
29066 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
29067
29068Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
29069
29070 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
29071 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
29072 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
29073 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
29074 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
29075 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
29076 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
29077 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
29078 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
29079 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
29080 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
29081 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
29082 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
29083 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
29084 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
29085 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
29086 changes from 94Q1.
29087
29088Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
29089
29090 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
29091 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
29092 Rob's new testing fragments.
29093
29094Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
29095
29096 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 29097 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
29098
29099Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29100
29101 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
29102 version also, match on casted version strings, and match on
29103 gdb startup case where the line numbers might be messed up.
29104
29105Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
29106
29107 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 29108 (CFLAGS): Delete it from here.
c906108c
SS
29109
29110Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
29111
29112 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
29113
29114Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
29115
29116 * Makefile.in (RUNTEST): Default to just "runtest".
29117
29118Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29119
29120 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
29121 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
29122 the code has been restructured.
29123
29124Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29125
29126 * gdb.t00/default.exp (set write): Allow any number of \r and/or
29127 \n, not just one of each.
29128
29129 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
29130 /bin/cc gives a warning if you do.
29131
29132Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
29133
d63a86f8 29134 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
29135 __t10ListS_link1ZUiRCUiPT0
29136
29137Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29138
29139 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
29140 on local variables in recursive functions.
29141
29142 * gdb.t07/Makefile.in: Build the new test.
29143
29144Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29145
29146 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
29147 directly. Instead compare the return values from actual calls.
29148
29149Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
29150
29151 * Makefile.in (check): Set TCL_LIBRARY for runtest.
29152
29153Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29154
29155 * From Peter Schauer with minor modifications.
a9c64011
AS
29156 * gdb.t15/return.exp (return_tests): Handle targets where "return"
29157 stops in mid-line in the caller. Add xfail for returning a float
29158 value on X86 targets.
c906108c
SS
29159
29160Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29161
29162 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
29163 to avoid expect lossage.
29164 (fmem_LRbug_tests): Likewise.
29165 * gdb.disasm/hppa.s: Corresponding changes.
29166
29167 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
29168 conditions to work with latest dejagnu/expect.
29169
29170 * gdb.t15/funcargs.exp (finish from indirect call): No longer
29171 expected to fail on the PA.
29172 (backtrace in call with trampolines): Explicitly require main
29173 to be frame #1 (no trampolines should show up in backtrace).
29174
29175 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
29176 "continue -expect".
29177 * gdb.t06/break.exp: Likewise.
29178 * gdb.t07/watchpoint.exp: Likewise.
29179 * gdb.t13/bitfields.exp: Likewise.
29180 * gdb.t15/{funcargs,return}.exp: Likewise.
29181 * gdb.stabs/weird.exp: Likewise.
29182 * config/{mips,udi}-gdb.exp: Likewise.
29183
29184 * hppa.sed: Enclose comments within a sed command to avoid
29185 losing with the old OSF1 sed.
29186
29187Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29188
29189 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
29190 sequent dynix.
29191 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
29192 * gdb.t15/funcargs.exp: Conditionally step again to really
29193 finish from marker_call_with_trampolines. Handle the case where
29194 the first step from within call_with_trampolines already steps
29195 us back to main.
29196 * gdb.t15/gdbme.c: Add comment to closing brace of
29197 call_with_trampolines for funcargs.exp.
29198
29199Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29200
d63a86f8 29201 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
29202 Fix typo(s).
29203
29204Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29205
29206 * gdb.t07/gdbme.c: More code for watchpoint testing.
29207
29208 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
29209 "Hardware watchpoint" throughout file.
29210 (test_watchpoint_triggered_in_syscall): New test.
29211 (test_complex_watchpoint): New test.
29212
29213Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29214
29215 * gdbme.c (call_with_trampolines): New function to try and step
29216 into. Tests trampoline problems on the PA.
29217
29218 * funcargs.exp (localvars_in_indirect_call): No longer expect
29219 stepping into indirect call to fail on PAs.
29220 (test_stepping_over_trampolines): New test.
29221
29222Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29223
29224 * TODO: Add suggestions for static member function tests, and
29225 completion tests.
29226
29227Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29228
29229 * TODO: Add suggestions for "p/a" tests.
29230
29231 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
29232 (default_gdb_exit): Replace all the hair with sending "quit" to
29233 the process with a simple close.
29234
29235Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29236
29237 * TODO: Add suggestions for shared library tests.
29238
29239Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29240
29241 * TODO: Add suggestions for x/s tests.
29242
29243Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29244
29245 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
29246 "enable once", and "enable breakpoints once" with ".*".
29247
29248Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29249
29250 * TODO: Add suggestions about structure passing tests.
29251
29252Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29253
29254 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
29255 the primary1 test, use work around if __GNUC__ < 2.
29256 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
29257 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
29258 Test for bad output rather than waiting for timeout. Issue
29259 second continue only if first continue failed.
29260
29261Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29262
29263 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
29264 operator[] test with gdb_test because the old code didn't seem to
29265 be getting the quoting right with the new dejagnu.
29266
29267Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
29268
29269 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
29270 one from the path.
29271 * Makefile.in: Use a fresh expect if there is one, use runtest
29272 from the src tree if there is one.
d63a86f8 29273
c906108c
SS
29274Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29275
29276 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
29277 next over recursive call. Revise the tests from that point on
29278 (which had been skipped) to match GDB's actual (correct) output.
29279
29280 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
29281 with next over a breakpoint whose condition is false.
29282
29283 * gdb.t00/help.exp: Comment out "help set print" tests just like
29284 (and for same reason as) "help set" test.
29285
29286Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29287
29288 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
29289 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
29290
29291Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29292
29293 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
29294 necessary gdb_target_udi.
29295
29296 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
29297
29298 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
29299 1838 and 2417; they are fixed.
29300
29301 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
29302 gdb.t03/ptype.exp (ptype structure, ptype union):
29303 Remove xfails; the test is looser than when the xfails were added.
29304
29305 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
29306 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
29307
29308 * gdb.t01/run.exp: Only run shell test if isnative.
29309
29310 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
29311 since "run" automatically loads if necessary. Call gdb_target_udi
29312 after the "file" since "file" kills any execution target.
29313
29314 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
29315 GDB. GDB doesn't work that way (not anymore at least) on UDI.
29316 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
29317 argument for UDI.
29318
29319Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29320
29321 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
29322
29323 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
29324
29325Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29326
29327 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
29328 properly quoting regexps. This makes the second argument to
29329 demangle a fixed string, which matches the callers, instead of a
29330 shell-style pattern which is what the previous implementation
29331 used. Update some of the callers.
29332
29333Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29334
29335 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
29336 (comib_nullified_tests): Fix typo.
29337 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
29338 strings. No longer expected to fail.
29339
29340 * gdb.disasm/hppa.s (addib_tests): Fix typo.
29341 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
29342 strings. No longer expected to fail.
29343
29344 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
29345 string. No longer expected to fail.
29346
29347Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29348
29349 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
29350 No longer expected to fail.
29351
29352 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
29353 string. No longer expected to fail.
29354
29355Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29356
29357 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
29358 only in the names (I probably got most of them). I was even
29359 generous with some which differed in underscores in names, and
29360 probably missed a few, and I *still* was able to remove almost a
29361 third of the file with almost no impact on testsuite coverage.
29362
29363Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29364
29365 * gdb.t00/default.exp: Match udi_attach error message as well as
29366 the one from child_attach.
29367
29368 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
29369
29370 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
29371
29372 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
29373 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
29374
29375 * Move test with enums and partial symbols back to
29376 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
29377 Reverts the change of 26 May 93. Per today's change to
29378 stabs.texinfo, the behavior that weird.exp was expecting was
29379 unreasonable; what is important is that the compiler+gdb get
29380 things right, which happens with a recent gcc. Also fix the test
29381 to deal with native compilers which put out the stab gdb can't
29382 deal with.
29383
29384Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29385
29386 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
29387 in the names. The main thing these accomplish is to slow things down.
29388 Many more such duplicates surely remain.
29389
29390 * gdb.t00/help.exp: Comment out "help support" test just like
29391 (and for same reason as) "help set" test.
29392
29393Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
29394
29395 * gdb.t06/break.exp: Remove setup_xfails for
29396 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
29397 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
29398 about known bug in gcc to include up through 2.5.8.
29399 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
29400 well as "_vb$".
29401 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
29402 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
29403 with latest gcc and gdb.
29404 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
29405 well as "_vb$".
29406
29407Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29408
29409 * configure.in (hppa*-*-*): Also configure and build stabs-only
29410 tests.
29411
29412Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29413
29414 * gdb.t10/hppa.mt: A makefile fragment for the PA.
29415 * gdb.t10/configure.in (hppa*-*-*): Use it.
29416
29417Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29418
29419 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
29420
29421Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29422
29423 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
29424 versions prior to 1.13.5.
29425
29426Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29427
29428 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
29429 the prompt is at the start of a line.
29430
29431Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29432
29433 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
29434 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
29435 in the copr tests now.
29436 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
29437 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
29438 expected to fail.
29439
29440Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
29441
29442 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
29443 gdb.t31/chillvars.exp, lib/gdb.exp:
29444 Tweak to run under either version of expect.
29445 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
29446 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
29447 * gdb.t11/list.exp: Remove extraneous whitespace.
29448
29449Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29450
29451 * gdb.t16/printcmds.exp (test_print_strings): Accept
29452 "(unsigned char *) " before the string.
29453
29454 * TODO: Add notes about printing of fancy types and GDB expressions.
29455
29456Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
29457
29458 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
29459 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 29460 if doing mips-idt-ecoff.
c906108c
SS
29461
29462Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
29463
29464 * Most .exp files: Tweak to run under either version of expect.
29465
29466Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29467
29468 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
29469 xfails; I'm not sure why they are failing, but not because of PR 1806.
29470
29471Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
29472
29473 * config/unix-gdb.exp: Remove gdb_unload cause it's already
29474 defined in lib/gdb.exp.
29475
29476Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29477
29478 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
29479 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
29480 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
29481 have to be typeless.
29482
29483Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29484
29485 * TODO: Add suggestion for copyright year test.
29486
29487Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
29488
29489 * configure.in (*-*-lynxos*): Add stabs tests.
29490
29491Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29492
29493 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
29494 so insert a tab before any assembler directive in column zero.
29495
29496 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
29497 stores.
29498 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
29499 stores.
29500 (fpu_short_memory_tests): Likewise.
29501
29502Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29503
29504 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
29505 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
29506 .stabs directives in comments.
29507
29508Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29509
29510 * TODO: New file, describing tests we could write.
29511 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
29512
29513Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29514
29515 * gdb.t06/signals.exp: Add kludge to force re-sync.
29516
29517 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
29518 to xgdb instead of gdb, get out of gdb.
29519
29520Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
29521
29522 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
29523 for info.
29524
29525Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29526
29527 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
29528 * gdb.stabs/configure.in (hppa*-*-*): Use it.
29529 * gdb.stabs/hppa.sed: New sed script for the PA.
29530
29531Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29532
29533 * gdb.stabs: Re-write weird.def and configuration to use sed
29534 instead of cpp. sed is portable and POSIX; cpp is neither.
29535
29536Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29537
29538 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
29539
29540Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29541
29542 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
29543
29544Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29545
29546 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
29547 "_vb$".
29548 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
29549 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
29550
29551Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29552
29553 * lib/gdb.exp: Comment out code which depends on non-existent
29554 `transform' procedure.
29555
29556Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
29557
29558 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
29559 * lib/gdb.exp: Transform tool name.
29560 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
29561 1.1's new error handling system.
29562
29563Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29564
29565 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
29566
29567Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29568
29569 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
29570 They made pattern matching so slow that timeouts happened on
29571 heavily loaded systems. Now any output from "show print" which
29572 gets us back to the GDB prompt is a PASS.
29573
29574Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
29575
29576 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
29577
29578Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29579
29580 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
29581
29582 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
29583 It is not from PR 3220.
29584
29585Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29586
29587 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
29588 just started failing because they depended on the order the
29589 subcommands are presented, or exact docstring text. This kind of
29590 test is a pain and has minimal benefit.
29591
29592Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29593
29594 * gdb.t09/corefile.exp: At end of test, use "core" command with
29595 no arguments.
29596
29597Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
29598
29599 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
29600 17}/Makefile.in: Make it possible to run the testsuite with Sun
29601 make and CC = cross gcc by adding explicit build rules for .o
29602 files.
29603
29604Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29605
29606 * gdb.t15/funcargs.exp: Don't put comments on same line as
29607 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 29608
c906108c
SS
29609Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29610
29611 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
29612
29613Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
29614
29615 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
29616 * gdb.t20/inherit.exp: remove three dumplicate entries.
29617
29618Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29619
29620 * gdb.t06/break.exp: For "next over recursive call", fail on any
29621 incorrect output, not just on "factorial (value=2)".
29622
29623Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29624
29625 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
29626 working now. Add an xfail if accesing a bss variable causes
29627 a memory error if the target is not yet run.
29628
29629Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29630
29631 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
29632 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
29633 name of __st* demangling (2 strings). Did Kung really get the
29634 more than 95 others right without testing them?
29635
29636Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
29637
29638 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
29639
29640Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
29641
29642 * configure.in (configdirs): Add gdb.disasm
29643 * gdb.disasm: New directory for GDB disassembler tests.
29644 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
29645
29646Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29647
29648 * gdb.t00/help.exp: Don't test "help set".
29649
29650 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
29651 from within expect statements. None of these happen anymore and
29652 they cause regressions to be silently unnoticed.
29653
29654 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
29655 messages) about known failures with gcc cygnus-2.4.5-930417.
29656
29657 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
29658 comp-info.exp so it gets built if it doesn't exist.
29659
29660 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
29661 it is no longer used.
29662 * gdb.t13/comp-info.c: Removed.
29663
29664Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29665
29666 * gdb.t06/signals.exp: Add xfail for sun3.
29667
29668Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29669
29670 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
29671 relevant because ^C doesn't get sent but failure can be reproduced
29672 interactively).
29673
29674Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29675
29676 * gdb.stabs/alpha.mt: New configuration file for alpha.
29677 * gdb.stabs/configure.in: Use it.
29678 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
29679 sharing with alpha.mt, redefine long to word via preprocessor.
29680 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
29681 for alpha.
29682 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
29683 native cc.
29684 * gdb.t00/teststrategy.exp: Change expect string so that we
29685 consume the `(xgdb)' from the command echo and from the gdb prompt.
29686 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
29687 gdb currently compares all values as long, so this failure probably
29688 applies to any configuration where LONGEST is bigger than a target int.
29689 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
29690 with gcc.
29691 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
29692 to handle opaque pointers, gcc is.
29693 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
29694 as first argument. Include <sys/types.h> and change all operator
29695 new definitions to use size_t.
29696 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
29697 now that we use size_t.
29698
29699Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29700
a9c64011 29701 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 29702 a long or float array cast all array members to the same type.
a9c64011 29703 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 29704 with 64 bit longs.
a9c64011 29705 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 29706 on alpha.
a9c64011 29707 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
29708
29709Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29710
29711 * gdb.t24 (demangle.exp): Constructors of templates have names like
29712 vector<int>::vector(int) not vector<int>::vector<int>(int). See
29713 section 14.6 of the ARM.
29714
29715 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
29716 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
29717 accomplish little and slow down the testsuite.
29718
29719 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
29720 Accept spaces various places.
29721
29722Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29723
29724 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
29725 with watchpoint enabled.
29726
29727 * Makefile.in: Remove definition of CC and remove the second
29728 definition of CXX (the "CXX = gcc" one remains). These definitions
29729 were causing backquotes to be expanded within backquotes, which
29730 doesn't work.
29731
29732Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
29733
29734 * gdb.t17/callfuncs.exp: Add "return 0" to end.
29735
29736Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29737
a9c64011
AS
29738 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
29739 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
29740 by mips cc and contains no stabs entries.
29741
29742Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
29743
29744 * config/vx-gdb.exp: Use fake device to load files rather than
29745 NFS.
29746 * lib/gdb.exp: New proc to do "file" command.
29747 * config/unix-gdb.exp: Use new "file" proc.
29748
29749Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
29750
29751 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
29752 Rework board rebooting slightly.
29753 (gdb_exit): Don't exit from the remote shell; there isn't one.
29754 * gdb.stabs/weird.exp: If a program is being debugged already,
29755 kill it.
29756 * gdb.t04/setvar.exp: Stop and restart gdb.
29757 * gdb.t05/expr.exp: Likewise.
29758 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
29759 restart gdb and reload the program.
29760 * gdb.t08/opaque.exp: Likewise.
29761 * gdb.t12/scope.exp: Likewise.
29762 * gdb.t13/bitfields.exp: Likewise.
29763 * gdb.t15/funcargs.exp: Likewise.
29764 * gdb.t20/classes.exp: Likewise.
29765 * gdb.t03/ptype.exp: Increase timeout.
29766 * gdb.t16/printcmds.exp (test_print_string_constants,
29767 test_print_array_constants): Likewise.
29768 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
29769 * gdb.t20/classes.exp (do_tests): Likewise.
29770 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
29771
29772Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
29773
29774 * gdb.stabs: Renamed *wierd* to *weird*.
29775
29776Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
29777
29778 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
29779 for timeout. Add "known gcc 2.4.5 bug" to failure message.
29780
29781Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
29782
29783 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
29784 (do_tests): Remove xfail for whatis on one_var and two_var.
29785
29786Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
29787
29788 * Makefile.in: Made cross building work better by adding
29789 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
29790
29791Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29792
29793 * gdb.t15/{return.c,return.exp,Makefile.in}:
29794 New test, currently commented out.
29795
29796Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
29797
29798 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
29799 still running and removes the leftover named socket so GDb can do
29800 clean restarts.
29801
29802Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
29803
29804 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
29805 console, not GDB.
29806 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
29807 cross testing works better with "make check"
29808 * config/unix-gdb: Use default procedures for exit and version.
29809 * config/vx-gdb.exp: Cleaned up and massaged back to working order
29810 with the newest VxWorks.
29811
29812Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29813
29814 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
29815 old form.
29816
29817 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
29818 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
29819
29820 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
29821
29822 * config/unix-gdb.exp: Remove this version of gdb_exit
29823 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
29824 Rob says he'll look at it when he gets back to testing boards.
29825
29826Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
29827
29828 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
29829 an expected fail for certain ptype commands.
29830
29831 * gdb.t20/classes.exp: Update expected results of "ptype class
29832 Base1" to account for the constructor that now appears in the type.
29833
29834Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
29835
29836 * configure.in (configdirs): Restore gdb.t04, which mysteriously
29837 disappeared from list.
29838 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
29839 "alldone" proc with call to cleanup and exit.
29840 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
29841 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
29842 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
29843 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
29844 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
29845 "alldone" proc with simple returns that suppress remaining
29846 tests. The alldone proc went away many months ago.
29847
29848Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29849
29850 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
29851
29852 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
29853
29854Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29855
29856 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
29857 as vax gdb will display them.
29858
29859Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29860
29861 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
29862 optimizers.
29863
29864 * scope.exp: Change "bad value for localval" messages so each one
29865 is unique.
29866
29867 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
29868 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
29869
29870 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
29871
29872Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29873
29874 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
29875 doesn't exist (due to optimization).
29876
29877Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29878
29879 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
29880 contains \r because the filename is long.
29881
29882 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
29883 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
29884
29885Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29886
29887 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
29888 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
29889 Ultrix.
29890 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
29891 int tests.
29892 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
29893
29894Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
29895
29896 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
29897
29898 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 29899 to match does not match the passing case but still matches the
c906108c
SS
29900 failing case.
29901
29902Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29903
29904 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
29905
29906Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
29907
29908 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
29909 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
29910 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
29911 Remove various versions of gdb_exit.
29912 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
29913 gdb_exit.
29914 * config/unix-gdb.exp: gdb_exit remains here, and should override
29915 the generic version, since it's doing a lot of wierd stuff that
29916 the other versions aren't. FIXME, fold it in, or abandon this
29917 version.
29918
29919Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29920
29921 * gdb.t24/demangle.exp: Add tests for PR 3220.
29922
29923Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29924
29925 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
29926
29927Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
29928
29929 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
29930 "i386-*-*". Works for i486 as well.
29931
29932 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
29933 bug, and expand domain of xfail to all SVR4 systems, since the
29934 actual problem is likely to be in generic SVR4 /proc support.
29935
29936Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29937
29938 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
29939
29940Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
29941
29942 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
29943 xfails for other systems. Match a missing 'Continuing.' as an
29944 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
29945
29946 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
29947 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
29948 Only issue warning for missing executables if -all option is used.
29949
29950 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
29951 file if -all option is used. It's like an unpredictable XFAIL.
29952
29953Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29954
29955 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
29956 for dynamically linked binaries.
29957
29958 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
29959
29960Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29961
29962 * gdb.t20/inherit.exp: Change message for "print tagless struct"
29963 to state that this is a known bug in old versions of g++.
29964
29965Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29966
29967 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
29968 while waiting for `Continuing'.
29969
29970Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
29971
29972 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
29973 in text, data, and bss.
29974 * gdb.t10/nodebug.c: Add local and global test variables for
29975 initialized and uninitialized data.
29976
29977Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29978
29979 * config/unix-gdb.exp (gdb_exit): Add "wait".
29980
29981Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29982
29983 * gdb.t06/signals.exp: xfail the continue from the handler for all
29984 targets.
29985
29986 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
29987 function with watchpoints enabled, the i386 call dummy starts with
29988 a call.
29989
29990 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
29991 386 bsd names its corefiles.
29992
29993Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
29994
29995 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
29996 compilers don't grok it.
29997 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
29998 with small octal ints rather than character constants, which
29999 are signed and might not fit if first promoted to int.
30000
30001Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
30002
30003 * gdb.t09/Makefile.in (clean): Remove corefile.
30004
30005Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30006
30007 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
30008
30009Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30010 and Jim Kingdon (kingdon@cygnus.com)
30011
30012 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
30013 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
30014 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
30015
30016Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30017
30018 * gdb.t17/interrupt.exp: Add xfail for hppa.
30019
30020Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30021
30022 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
30023 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
30024 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
30025 to determine signed-ness of bitfields and use the result to setup
30026 the xfail.
30027 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
30028 * gdb.t15/funcargs.exp: Use them to step until the second indirect
30029 call line is reached if necessary.
30030
30031Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30032
30033 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
30034
30035Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30036
30037 * gdb.t06/break.exp: Also test `clear' command.
30038
30039Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30040
30041 * gdb.t00/teststrategy.exp: Remove extra quote.
30042
30043 * gdb.t07/watchpoint.exp: Change xfail for calling function with
30044 watchpoint enabled to be for all non-68k machines.
30045
30046 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
30047
30048Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30049
30050 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
30051 targets use aout.mt instead of ecoff.mt as gas understands
30052 standard aout format.
30053
30054Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30055
30056 * lib/gdb.exp (runto): Don't insist that function we are running to
30057 was compiled with -g.
30058
30059 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
30060
30061 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
30062 to get back into the read system call.
30063 Accept leading newline in case where we woke it up.
30064
30065Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30066
30067 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
30068 to make the stabs test work on ecoff systems using gcc and -with-stabs.
30069 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
30070 enable ecoff configuration.
30071
30072Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30073
30074 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
30075
30076Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30077
30078 * gdb.t16/printcmds.exp: Add another printf test.
30079
30080Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
30081
30082 * configure.in: If configured -with-stabs on any target, add
30083 stabsdirs to configdirs.
30084
30085Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30086
30087 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
30088 fun" so pattern does not match the command itself.
30089
30090Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30091
30092 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
30093
30094Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30095
30096 * gdb.t17/interrupt.exp: Test for more things.
30097
30098Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30099
30100 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
30101 compiler arranges the code and line numbers.
30102
30103 * gdb.t17/interrupt.exp: Don't send \n after ^C.
30104
30105Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30106
30107 * gdb.t00/help.exp: Increase expect input buffer size.
30108
30109Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30110
30111 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
30112
30113 * gdb.t07/watchpoint.exp: Add xfail for hppa.
30114
30115 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
30116
30117 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
30118 [0-9]*, not just [0-9].
30119
30120Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30121
30122 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
30123
30124 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
30125
30126Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30127
30128 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
30129
30130Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30131
30132 * gdb.t06/signals.c: Add xfails for sun3.
30133
30134 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
30135
30136 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
30137 test_stepping tests.
30138
30139Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30140
30141 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
30142
30143 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
30144
30145 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
30146 rather than actually putting it through cpp twice.
30147
30148 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
30149
30150Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
30151
30152 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
30153 no longer needed.
30154
30155Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30156
30157 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
30158
30159 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
30160 C++ features prints as "struct", make it a pass, not an xfail.
30161
30162Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30163
30164 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
30165 Don't require VA to print as "class" rather than "struct".
30166
30167Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
30168
30169 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
30170
30171Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30172
30173 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
30174
30175Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30176
30177 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
30178 order.
30179
30180Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30181
30182 * gdb.t16/printcmds.exp: Add printf tests.
30183
30184 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
30185
30186 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
30187
30188Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
30189
30190 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
30191 pass counts, to counteract any existing or future setup_xfails.
30192
30193Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30194
30195 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
30196 {BEGIN,END}_COMMON for common block instead of STAB.
30197 * gdb.stabs/wierd.exp: Add xfail for rs6000.
30198
30199 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
30200 intp_var should be N_GSYM not N_LSYM.
30201 wierd-aout.S: Use a label for the value of the N_SO.
30202 wierd.def: Remove all backslashes.
30203 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
30204
30205Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30206
30207 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
30208 get the expected next to inheritance3.
30209
30210Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30211
30212 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
30213 now that gcc-2.4 gets it right.
30214
30215Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30216
30217 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
30218
30219 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
30220 generating comp-info.exp which works for cross-compilation.
30221
30222Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
30223
30224 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
30225 "*-*-sysv4.*".
30226
30227Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
30228
30229 * gdb.t01/run.exp: Start with a fresh gdb.
30230 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
30231 SVR4.x.
30232
30233Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
30234
30235 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
30236 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
30237 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
30238 Makefile.in (distclean, realclean): Remove gdbme.c from list of
30239 things to remove.
30240
30241Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
30242
30243 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
30244 test cases from bug reports.
30245
30246Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
30247
30248 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
30249 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
30250 avoid spurious xfails.
30251 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
30252 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
30253 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
30254
30255Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
30256
30257 * gdb.t00/teststrategy.exp: Rework to provide more useful
30258 description of each test, fix problem with systems that define
30259 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
30260 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
30261 results for "next over recursive call" so timeouts aren't taken
30262 by error.
30263
30264Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
30265
30266 * gdb.t12/scope.exp: Test printing of variables before run.
30267
30268 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
30269 printed in wrong order due to sorting.
30270
30271Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
30272
30273 * gdb.t00/teststrategy.exp: Fix expected results for printing
30274 user entered string constant. Is array of char, prints with no
30275 address.
30276
30277 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
30278 commands.
30279 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
30280 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
30281 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
30282 of struct of char arrays.
30283 * gdb.t00/radix.exp: New tests for radix commands.
30284
30285Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
30286
30287 * gdb.t16/printcmd.exp: Print a variable before running program
30288 (with xfail for AIX).
30289
30290Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
30291
30292 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
30293
30294 * gdb.t16/printcmd.exp: Don't print variables before running program.
30295
30296 * gdb.t06/break.exp: Don't require envp argument to main.
30297
30298 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
30299
30300 * gdb.t02/whatis.exp, gdb.t11/list.exp:
30301 Add xfails for rs6000.
30302
30303 * gdb.t02/whatis.exp: Change other tests not to re-test something
30304 we already tested.
30305
30306 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
30307 each type used has a variable of that type.
30308
30309Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
30310
30311 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
30312
30313Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
30314
30315 * configure.in: change srctrigger to be a file, not a directory
30316
30317Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
30318
30319 * configure.in (mips-idt-ecoff*): Added trailing '*'.
30320
30321 * gdb.t11/list.exp: Fixed a couple of typos.
30322
30323Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
30324
30325 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
30326 is fixed and PR is closed.
30327 * gdb.t16 (gdbme.c): Add simple test string variable.
30328 * gdb.t16 (printcmds.exp): Add tests with simple test string
30329 variable, primarily for boundaries on "set print elements".
30330
30331Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
30332
30333 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
30334 Make leading 0's optional and don't expect a tab in the middle
30335 of the number.
30336
30337 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
30338
30339 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
30340 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
30341 don't end command passed to gdb_test with newline.
30342
30343 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
30344 signed keyword away, don't expect signed bitfields to be signed.
30345
30346 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
30347 printing with only as many 1's as are in the field as well as printing
30348 with 32 1's (see comment).
30349
30350Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
30351
30352 * gdb.t00/default.exp: Start with a fresh gdb.
30353 * configure.in (configdirs): Remove gdb.t31 until the chill
30354 compiler works again. It no longer is able to find chillrt0
30355 since it isn't in libchill.a anymore.
30356 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
30357 wierd.o, make more modular.
30358 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
30359 spurious newlines that caused problems.
30360
30361Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30362
30363 * Move test with enums and partial symbols from gdb.t03/ptype.exp
30364 to gdb.stabs/wierd.exp since GCC has worked around the bug.
30365 gdb.stabs/wierd.{exp,def}: Many new tests.
30366
30367 * gdb.t00/default.exp: update info line for new message.
30368
30369 * gdb.t02/{whatis.exp,gdbme.c}:
30370 Test that "char *" doesn't print as "caddr_t".
30371
30372Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30373
30374 * gdb.t00/help.exp: Use .* in place of some help messages which
30375 just changed.
30376 gdb.t00/default.exp: Update "info frame" test for new message.
30377 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
30378 Remove some xfails
30379
30380Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30381
30382 * gdb.t03/{gdbme.c,ptype.exp}:
30383 Add tests for typedef'd struct and union without tags.
30384 Also check "whatis" on a variable of a typedef'd enum without a tag.
30385
30386 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
30387 PRMS 1823; the bug still exists but isn't reproduced by this test
30388 anymore), and remove rs6000 XFAIL (the bug is fixed).
30389
30390 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
30391 duplicated from whatis.exp. For those that are left, accept
30392 "long", "long int", or "int" for long variables (whatis.exp already
30393 has an XFAIL for "int", so no need to fail it here).
30394
30395 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
30396 Deal with GCC's names for types now that GDB uses the compiler's names.
30397
30398 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
30399 setup_xfail's for sunos4. If we #defined the signed keyword away,
30400 don't expect GDB to know that char it is signed.
30401
30402 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
30403
30404Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
30405
30406 * configure.in (configdirs): Add gdb.t24 for C++ tests that
30407 should work on any system, regardless of debugging format.
30408 * gdb.t21/demangle.exp: Move to gdb.t24.
30409 * gdb.t24/demangle.exp: Move from gdb.t21.
30410 * gdb.t24/{Makefile.in, configure.in}: New files.
30411
30412Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30413
30414 * configure.in: Do gdb.stabs and C++ tests only for stabs.
30415 * gdb.stabs: New directory.
30416
30417Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30418
30419 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
30420 not just "Quit anyway?".
30421
30422Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
30423
30424 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
30425 that all setup_xfails are immediately followed by clear_xfails.
30426
30427Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
30428
30429 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
30430 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
30431 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
30432 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
30433 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
30434 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30435 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30436 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
30437 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
30438 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
30439 gdb.t31/chillvars.exp, lib/gdb.exp:
30440 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
30441 bug-gdb@prep.ai.mit.edu.
30442
30443Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
30444
30445 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
30446 with 0.0, not integer 0.
30447
30448Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
30449
30450 * gdb.t06/break.exp: Update for "Kill the program" message change.
30451
30452Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
30453
30454 * Makefile.in (GDBFLAGS): Set to -nx.
30455 * Makefile.in (site.exp): Use GDBFLAGS.
30456
30457Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30458
30459 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
30460 Makefiles.
30461 (check): depend on just-check.
30462 (just-check): added so that tests can be run without a noop
30463 build pass.
30464
30465Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30466
30467 Switch to using configure's configdirs.
30468 * Makefile.in (Makefile): add configure.in dependency.
30469 (SUBDIRS): removed redundant assignment.
30470 * configure.in: switch subdirs assignment to configdirs.
30471 * gdb.t*/configure.in: new files.
30472
30473Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
30474
30475 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
30476 works.
30477
30478Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
30479
30480 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
30481 in explicit rules. Apparently this is not supported by some makes.
30482
30483Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
30484
30485 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
30486
30487Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30488
30489 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
30490 disappeared.
30491
30492Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
30493
30494 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
30495
30496Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
30497
30498 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
30499 watchpoint problem that is now fixed.
30500 * gdb.t30/chexp.exp: Remove setup_xfail for printing
30501 uninitialized convenience variables.
30502 * gdb.t31/chillvars.exp: Fix expected patterns for printing
30503 structures.
30504
30505Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30506
30507 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
30508 which causes expect to get out of sync with gdb on long output
30509 from help set.
30510 * gdb.t09/corefile.exp: Make expected pattern for core file
30511 failing signal and frame output format less sun specific.
30512
30513Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
30514
30515 * gdb.t31/chillvars.exp: Add and remove initial dummy
30516 breakpoint, so that symbol table is forced in.
30517 (Needed at least on Sunos4, though it seems not SVR4.)
30518 * gdb.t31/chillvars.exp: Update for changed output format.
30519
30520Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
30521
a9c64011 30522 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
30523
30524Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
30525
30526 * Makefile.in: Added --srcdir when invoking runtest, removed the
30527 need for a local config file. (optional now)
30528
30529Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
30530
30531 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
30532 failure count used to force early termination. Add some more
30533 expected failures for gnu style demangling.
30534
30535Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30536
30537 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
30538 pmi variable from gdb.t20/gdbme to get optimized away.
30539 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
30540 Check for written corefile upon timeout _and_ eof.
30541
30542Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30543
30544 * config/unix-gdb.exp: Add missing return 0.
30545
30546Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30547
30548 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
30549 test termination.
30550
30551Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
30552
30553 * configure.in (subdirs): Put back gdb.t17 which mysteriously
30554 disappeared.
30555
30556Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
30557
30558 * gdb.t10/crossload.exp: Disable the i860-elf test until such
30559 time as i860 support works.
30560
d63a86f8 30561 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
30562 "backtrace 100\r" rather than just "backtrace\r", to match last
30563 change.
30564
30565Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
30566
30567 * config/udi-gdb.exp (gdb_exit): Remove close command.
30568 (gdb_target_udi): New procedure to set the UDI target.
30569 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
30570 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
30571 Added waits for prompts after several question responses. Added
30572 some more responses used by a29k-amd-udi-gdb.
30573 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
30574 pass different arguments, restart UDI connection after program
30575 completion.
30576 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
30577 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30578 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
30579 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
30580 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
30581 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
30582 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30583 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
30584 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
30585 after program completion.
30586 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
30587 compiled with a SELECT_VECS setting.
30588 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
30589 infinite recursion.
30590
30591 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
30592 Added checks for COFF results, and made them expected failures for
30593 all targets. It would be better to make them expected failures
30594 for COFF targets only.
30595
30596Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
30597
30598 * Makefile.in: add null dvi target, don't bother to recurse
30599 through test directories for info and install-info; rename
30600 $(datadir) to be dejagnu instead of deja-gnu
30601
30602Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
30603
30604 * gdb.t31/gdbme.ch: Re-enable code that previously caused
30605 compiler to coredump.
30606 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
30607 code.
30608
30609Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
30610
30611 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
30612 coredump.
30613 * gdb.t31/chillvars.exp: Comment out tests that depend on that
30614 code.
30615
30616Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
30617
30618 * gdb.t03/ptype.exp: tests for return code from gdb_test.
30619 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
30620 which in a shell. Deletes xgdb when done.
30621 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
30622 Tests the return from the "set height" or "set width" commands.
30623 Added a few return codes where needed.
30624
30625Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
30626
30627 * Makefile.in (SUBDIRS): Add gdb.t17.
30628 * configure.in (subdirs): Add gdb.t17.
30629 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
30630 files to test gdb's calling of functions in the inferior with
30631 the correct arguments and gdb's ability to retrieve any
30632 result returned.
30633
30634Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
30635
30636 * config/unix-gdb.exp (gdb_exit): Remove close commands that
30637 may be called after gdb goes away. Previous versions of expect
30638 needed these to avoid file descriptor leaks, but they cause
30639 errors with the current revision of expect.
30640 * gdb.t00/gdbvars.exp: Use -re on expected output after
30641 setting sevenbit-strings.
30642 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
30643 to set sevenbit-strings consistent across tests.
30644 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
30645 set sevenbit-strings consistent across tests.
30646
30647Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
30648
30649 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
30650 expected output to match current "expect" expectations.
30651
30652Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
30653
30654 * gdb.t00/default.exp: Change expected output for default "source"
30655 command, to match new gdb behavior which requires a filename to
30656 source.
30657
30658Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
30659
30660 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
30661 expected fail for i486-*-* that misses the marker2 function.
30662 * gdb.t10/crossload.exp (bfddefault): Allow successful
30663 recognition of a format to pass even if no symbols are found.
30664 Explicitly catch failures where the format is not recognized
30665 or is ambiguous, and add the reason to the fail message.
30666 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
30667 the cause is and invalid target and add reason to failure message.
30668 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
30669 elf32-i386, elf32-sparc, and elf32-i860.
30670 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
30671 Set up expected failure for 'filename'::variable scope resolution,
30672 which is now apparently broken on all targets.
30673 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
30674 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
30675 gdb.t23/templates.exp: Change failure for missing binfile into
30676 just a warning.
30677 gdb.t21/demangle.exp: Change all cfront references to 'arm'
30678 references.
30679
30680Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
30681
30682 * gdb.t00/default.exp: Add expected output for default "source"
30683 command, to match new gdb behavior.
30684 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
30685
30686Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
30687
30688 * config/*-gdb.exp: returns an error, rather than exiting on
30689 internal errors.
30690
30691Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
30692
30693 * gdb.t03/gdbme.c: Add pointer to struct variable.
30694 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
30695 referencing struct members.
30696
30697Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
30698
30699 * configure.in (mips-idt-ecoff): New target.
30700 * config/mips-gdb.exp: New file for remote board using MIPS remote
30701 debugging protocol.
30702
30703 * Redid configuration scheme. Removed gdb.t*/configure.in.
30704 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
30705 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
30706 distclean targets. Built executables via .o files. Adjusted
30707 tests to account for source files in $(srcdir) rather than
30708 $(objdir).
30709 * lib/gdb.exp (runto): Don't expect () after the function name,
30710 because it may have arguments.
30711
30712Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
30713
30714 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
30715 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
30716 expected failures for mips-idt-* and mips-sgi-*.
30717 * gdb.t00/default.exp (attach): Kill process if requested.
30718 * gdb.t00/help.exp (help target core, help target): Accept a gdb
30719 that does not read core files.
30720 * gdb.t01/run.exp: Removed checks for exit status code.
30721 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
30722 it is linked in.
30723 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
30724 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
30725 appropriate, rather than doing it by hand.
30726 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
30727 execution.
30728 * gdb.t10/crossload.exp: Kill existing program if needed.
30729 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
30730 appropriate, rather than doing it by hand. Always increase
30731 timeout for this test, not just for VxWorks.
30732
30733Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
30734
30735 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
30736 of Chill STRUCT types and STRUCT values.
30737 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
30738 than "char".
30739 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 30740 struct2): New struct definitions and initializations to test
c906108c
SS
30741 simple Chill STRUCT types.
30742
30743Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
30744
30745 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
30746 the null byte at the end of strings.
30747 * gdb.t00/default.exp: Make show version insensitive to copyright
30748 date.
30749 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
30750 to avoid dependencies on target char signedness.
30751 * gdb.t16/printcmds.exp: Update expected results for explicitly
30752 unsigned char.
30753 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
30754 now work.
30755 * gdb.t21/demangle.exp: Add many more patterns for template
30756 demangling, most of them being expected failures.
30757 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
30758 string we are matching for, to match on the whole string.
30759 * gdb.t21/demangle.exp: Add many new test strings to demangle,
30760 and fix a whole bunch that had incorrect expected output but were
30761 passing anyway because of the bug in "proc demangle".
30762 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
30763 type.
30764 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
30765
30766Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
30767
a9c64011
AS
30768 * gdb/testsuite: made modifications to testcases, etc., to allow
30769 them to work properly given the reorganization of deja-gnu and the
30770 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
30771
30772Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
30773
30774 * gdb/testsuite: Initial creation of gdb/testsuite.
30775 Migrated dejagnu testcases and support files for testing nm to
30776 gdb/testsuite from deja-gnu. These files were moved "as is"
30777 with no modifications. This migration is part of a major overhaul
30778 of dejagnu. The modifications to these testcases, etc., which
30779 will allow them to work with the new version of dejagnu will be
30780 made in a future update.
48efe704 30781
8d8cb839 30782 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 30783\f
8d8cb839
EZ
30784;; Local Variables:
30785;; mode: change-log
30786;; left-margin: 8
30787;; fill-column: 74
30788;; version-control: never
30789;; End:
902f2ccb 30790
28e7fd62 30791 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
30792 Copying and distribution of this file, with or without modification,
30793 are permitted provided the copyright notice and this notice are preserved.
This page took 3.293837 seconds and 4 git commands to generate.