]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gcc PR libstdc++/36101, gcc PR libstdc++/42813
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
23787403
JK
12010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4 (thread1_func): Protect thread1_tid with thread1_tid_cond by
5 thread1_tid_mutex. Remove gdbstop_mutex handling.
6 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7 thread2_tid_mutex. Remove gdbstop_mutex handling.
8 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
9 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
10 pthread_cond_wait conditionalizations by while loops.
11
b966cb8a
TT
122010-01-20 Tom Tromey <tromey@redhat.com>
13
14 PR backtrace/10770:
15 * gdb.dwarf2/pr10770.exp: New file.
16 * gdb.dwarf2/pr10770.c: New file.
17 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
18
fcae584b
VP
192010-01-20 Vladimir Prus <vladimir@codesourcery.com>
20
21 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
22 that target was removed, and the test always runs native anyway.
23
a0f49112
JK
242010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
25
26 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
27 gdb.base/watchpoint-cond-gone-stripped.c: New.
28
ceeb3d5a
TT
292010-01-19 Tom Tromey <tromey@redhat.com>
30
31 PR c++/8000:
32 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
33 existing tests.
34 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
35 (main): Use AAA::SomeEnum.
36
dd322c54
JK
372010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
38
39 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
40 (test_ignore_count): Declare line_callme_body global.
41 (run to breakpoint with ignore count): Use line_callme_body.
42 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
43 (set line_main_hello, set line_main_return): Reindent.
44 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
45 New.
46 (continue to callee4): Use line_callee4_body.
47 (check *stopped from CLI command): Use line_callee4_next.
48 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
49 (set line_main_hello, set line_main_return): Reindent.
50 (set line_callee4_head, set line_callee4_body): New.
51 (continue to callee4): Use line_callee4_body.
52
4e8f195d
TT
532010-01-18 Tom Tromey <tromey@redhat.com>
54
55 PR c++/9680:
56 * gdb.cp/casts.cc: Add new classes and variables.
57 * gdb.cp/casts.exp: Test new operators.
58
9e14a9ba
JB
592010-01-18 Tom Tromey <tromey@redhat.com>
60 Thiago Jung Bauermann <bauerman@br.ibm.com>
61
62 * gdb.python/source2.py: New file.
63 * gdb.python/source1: New file.
64 * gdb.python/python.exp: Test "source" command.
65
00bf0b85
SS
662010-01-15 Stan Shebs <stan@codesourcery.com>
67
68 * gdb.trace/tfile.c: New file.
69 * gdb.trace/tfile.exp: New file.
70
55235ad7
JK
712010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
72
73 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
74
9f2982ff
JK
752010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
76
77 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
78
bbfba9ed
JK
792010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
80
81 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
82 (libfunc): New parameter action. Implement also selectable "sleep".
83 * gdb.base/break-interp-main.c: Include assert.h.
84 (libfunc): New parameter action.
85 (main): New parameters argc and argv. Assert argc. Pass argv.
86 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
87 (test_attach): New proc.
88 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
89 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
90
61f0d762
JK
912010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
92
93 * gdb.base/break-interp.exp (test_core): New proc.
94 (test_ld): Call it.
95
06a6f270
JK
962010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
97
98 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
99 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
100 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
101 and gdb_compile_shlib. Use new -Wl compiler options.
102 (dl bt, main bt): New tests.
103
51bee8e9
JK
1042010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
105
106 Support PIEs with no symfile_objfile.
107 * gdb.base/break-interp.exp: New argument at the test_ld calls.
108 (test_ld): New parameter trynosym.
109 (test_ld <$trynosym>): New block.
110
b8040f19
JK
1112010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
112
113 * gdb.base/break-interp.exp: New file.
114
be759fcf
PM
1152010-01-13 Phil Muldoon <pmuldoon@redhat.com>
116
117 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
118 * gdb.python/py-prettyprint.py (pp_ls): New printer.
119 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
120 test.
121 * gdb.python/py-prettyprint.c: Define lazystring test structure.
122 * gdb.python/py-mi.exp: Add lazy string test.
123
dc146f7c
VP
1242010-01-13 Vladimir Prus <vladimir@codesourcery.com>
125
126 * lib/mi-support.exp (mi_check_thread_states): Handle
127 core number in thread listing.
128
b4ba55a1
JB
1292010-01-12 Joel Brobecker <brobecker@adacore.com>
130
131 * gdb.base/maint.exp: Adjust the expected output for the
132 "maint print type" test. Use gdb_test_multiple instead of
133 gdb_sent/gdb_expect.
134
08e24bd4
DE
1352010-01-11 Doug Evans <dje@google.com>
136
6496a609
DE
137 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
138 from gdbserver_download. All callers updated.
139
08e24bd4
DE
140 * gdb.server/ext-run.exp: "info os processes" requires xml support.
141
b5cfddf5
JK
1422010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
143
144 Implement binary numbers parsing.
145 * gdb.base/printcmds.exp (test_integer_literals_accepted)
146 (test_integer_literals_rejected): New binary tests.
147
3725885a
RW
1482010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
149
150 * gdb.cell/configure: Regenerate.
151
37aeb5df
JK
1522010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
153
154 * gdb.base/corefile.exp: Move the core finding block out and call it as
155 core_find, new variable $corefile, replace corefile by $corefile and
156 [file tail $corefile] for usage vs. test names resp.
157 * lib/gdb.exp (core_find): Move it as a new function here. New
158 parameter binfile and deletefiles. New variable $destcore. Pre-delete
159 $destcore. Return "" on error.
160
d521f563
JK
1612010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
162
163 Workaround PR binutils/10802.
164 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
165 (twice).
166
28f24826
DJ
1672010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
168
169 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
170
2de75e71
JB
1712010-01-08 Joel Brobecker <brobecker@adacore.com>
172
173 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
174 call, to avoid interruption.
175
fe00719b 1762010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
177
178 * gdb.stabs/weird.def (args93): New.
179
d0ef5df8
DE
1802010-01-07 Doug Evans <dje@google.com>
181
182 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
183
3a08d52f
TT
1842010-01-07 Tom Tromey <tromey@redhat.com>
185
186 * gdb.base/source.exp: Use correct line number.
187
7a697b8d
SS
1882010-01-05 Stan Shebs <stan@codesourcery.com>
189
190 * gdb.trace/tracecmd.exp: Test ftrace.
191
7803799a
UW
1922010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
193
194 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
195
c54eabfa
JK
1962010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
197
198 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
199 "uint_for_mi_testing".
200
02e7ef19
JB
2012010-01-01 Joel Brobecker <brobecker@adacore.com>
202
203 Test indented comment in file being sourced.
204 * gdb.base/commands.exp: Test indented comment in file being sourced.
205
abd775ce
JB
2062010-01-01 Joel Brobecker <brobecker@adacore.com>
207
208 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
209 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
210 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
211 notice.
212
79b55b82
JB
2132010-01-01 Joel Brobecker <brobecker@adacore.com>
214
215 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
216 notice.
217
8997583e
JK
2182010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
219
220 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
221 missing $after_stopped and comma (,) expectation.
222
6da95a67
SS
2232009-12-31 Stan Shebs <stan@codesourcery.com>
224
225 * gdb.trace/actions.exp: Test teval action.
226
218d2fc6
TJB
2272009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
228
229 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
230 (top level): Call test_watchpoint_in_big_blob.
231 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
232 watchpoints.
233 (func3): Write to buf.
234
236f1d4d
SS
2352009-12-29 Stan Shebs <stan@codesourcery.com>
236
237 * gdb.trace/actions.exp: Test default-collect.
238
f61e138d
SS
2392009-12-28 Stan Shebs <stan@codesourcery.com>
240
241 * gdb.trace/tsv.exp: New file.
242 * gdb.base/completion.exp: Update ambiguous info output.
243
0219b378
DJ
2442009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
245
246 * gdb.base/find.c (main): Reference search buffers.
247 * gdb.base/included.c (main): Reference integer.
248 * gdb.base/ptype.c (charfoo): Declare.
249 (intfoo): Call charfoo.
250 * gdb.base/scope0.c (useitp): New function.
251 (usestatics): Use useitp.
252 (useit): Add a type for val.
253 * gdb.base/scope1.c (useit1): Take a pointer argument.
254 (usestatics1): Update calls to useit1.
255 * gdb.cp/call-c.cc: Declare foo.
256 (main): Call foo.
257 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
258 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
259 (main): Call C::ensureRefs and ensureOtherRefs.
260 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
261 variables.
262 (ensureOtherRefs): New function.
263 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
264 * gdb.cp/templates.cc (main): Call t5i.value.
265
3f78692f
JK
2662009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
267
268 Fix compatibility with G++-4.5.
269 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
270 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
271 (uncaught return): Remove.
272
429374b8
JK
2732009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
274 Phil Muldoon <pmuldoon@redhat.com>
275
276 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
277 (bp_location13, bp_location14, bp_location17, bp_location18)
278 (marker3_proto, marker4_proto): New variables.
279 (breakpoint info): Update output.
280 (run until breakpoint at marker3, run until breakpoint at marker4): New
281 tests.
282
859825b8
JK
2832009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
284
285 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
286 Replace the printf call of Y by provided "y-set-1" label. New block
287 for the second shared library.
288 * gdb.base/unload.exp: Compile also the second library, call
289 gdb_load_shlibs also for it. Use now gdb_breakpoint.
290 (single pending breakpoint info): Rename to ...
291 (pending breakpoint info before run): ... this extended test.
292 (libfile2, libname2, libsrcfile2, libsrc2)
293 (lib_sl2): New variables.
294 (exec_opts): Set also SHLIB_NAME2.
295 (pending breakpoint info on first run at shrfunc1)
296 (pending breakpoint info on second run at shrfunc1)
297 (pending breakpoint info on second run at shrfunc2)
298 (print y from libfile, print y from libfile2): New tests.
299 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
300 * gdb.base/unloadshr2.c: New.
301
e6a386cd
HZ
3022009-12-22 Hui Zhu <teawater@gmail.com>
303
304 * gdb.reverse/sigall-reverse.exp: Adjust.
305
9e19b45e
VP
3062009-12-21 Vladimir Prus <vladimir@codesourcery.com>
307
308 PR gdb/10884
309
310 * gdb.mi/var-cmd.c (do_bitfield_tests): New
311 (main): Call do_bitfield_tests.
aacf5b1e 312 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 313
d53a7b30
JB
3142009-12-20 Joel Brobecker <brobecker@adacore.com>
315
316 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
317 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
318 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
319 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
320 gdb.modula2/unbounded1.c: Update copyright header.
321
191ca0a1
CM
3222009-12-10 Chris Moller <moller@mollerware.com>
323
324 PR gdb/9399
325 * gdb.cp/virtfunc2.exp: New tests
326 * gdb.cp/virtfunc2.cc: New tests
327 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
328
0fa6cf1b
MS
3292009-12-10 Oza Pawandeep (paawan1982@yahoo.com
330
331 * gdb.reverse/i387-env-reverse.c: New file.
332 * gdb.reverse/i387-env-reverse.exp: New file.
333 * gdb.reverse/i387-stack-reverse.c: New file.
334 * gdb.reverse/i387-stack-reverse.exp: New file.
335
361ae042
PM
3362009-12-08 Phil Muldoon <pmuldoon@redhat.com>
337
338 * gdb.python/py-type.exp (test_range): New test.
339
bfd31e71
PM
3402009-12-03 Phil Muldoon <pmuldoon@redhat.com>
341
342 PR python/10805
343
344 * gdb.python/py-type.exp: New file.
345 * gdb.python/py-type.c: New file.
346 * Makefile.in: Add py-type.
347
57a1d736
TT
3482009-12-03 Tom Tromey <tromey@redhat.com>
349
350 * gdb.python/py-value.exp (test_parse_and_eval): New
351 function.
352
1f3b5d1b
PP
3532009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
354
355 PR gdb/11022
356
357 * gdb.base/pr11022.exp: New test.
358 * gdb.base/pr11022.c: New test.
359
8b7dbdc9
JK
3602009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
361
362 Fix spurious false FAILs.
363 * gdb.base/structs.c (chartest): New.
364 (main): Fill-in chartest.
365 * gdb.base/structs.exp (anychar_re, first): New.
366 (start_structs_test): Import global anychar_re and first.
367 New gdb_test call "set print elements 300; ${testfile}"
368 (start_structs_test <$first>): New block.
369 (any): Import global anychar_re. New variable ac. Use ${ac}.
370
6a53b2ec
JK
3712009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
372
373 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
374
d7167b4c
JK
3752009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
376
377 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
378 Force $srcfile file.
379 * gdb.base/foll-fork.c (callee): Comment out the printf call.
380
b1798462
UW
3812009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
382
383 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
384 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
385 * gdb.threads/watchthreads-reorder.exp: Likewise.
386
b6199126
DJ
3872009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
388
389 PR gdb/8704
390
391 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
392 "if", and "thread". Correct matching in the previous test.
393
b22a0510
DJ
3942009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
395
396 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
397
930636d2
MS
3982009-11-23 Michael Snyder <msnyder@vmware.com>
399
400 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
401 * gdb.reverse-watch-precsave.exp: Ditto.
402
21a0512e
PP
4032009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
404
405 * gdb.asm/asm-source.exp: Adjust.
406 * gdb.base/help.exp: Adjust.
407
fc30d5e0
PA
4082009-11-22 Pedro Alves <pedro@codesourcery.com>
409
410 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
411 (do_syscall_tests_without_xml): Set data-directory to
412 /the/path/to/nowhere.
413
f6bc2008
PA
4142009-11-21 Pedro Alves <pedro@codesourcery.com>
415
416 * gdb.threads/local-watch-wrong-thread.c,
417 gdb.threads/local-watch-wrong-thread.exp: New files.
418
8c2fb5de
PA
4192009-11-21 Pedro Alves <pedro@codesourcery.com>
420
421 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
422 assume new `regsub' syntax available.
423
ebec9a0f
PA
4242009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
425
a79d3c27
JK
426 * gdb.base/watchpoint-hw-hit-once.exp,
427 gdb.base/watchpoint-hw-hit-once.c: New.
428
4292009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
430
431 * gdb.threads/watchthreads-reorder.exp,
432 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 433
276a961b
MK
4342009-11-17 Nathan Sidwell <nathan@codesourcery.com>
435
436 * gdb.xml/tdesc-regs.exp: Use for m68k.
437
4867c1fb
PA
4382009-11-15 Pedro Alves <pedro@codesourcery.com>
439
440 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
441
f6838f81
DJ
4422009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
443
444 * lib/gdb.exp (current_target_name): New procedure.
445 (gdb_wrapper_target): New variable.
446 (gdb_wrapper_init): Set gdb_wrapper_target.
447 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
448 wrapper.
449
4ac4dd3f
DJ
4502009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
451
452 * gdb.base/remote.exp: Delete the slowest load test.
453 Do not load with fixed packet sizes.
454
a7881759
DJ
4552009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
456
457 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
458
97a5b505
DJ
4592009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
460
461 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
462 srcfile when setting a breakpoint.
463
d3e1fc54
DJ
4642009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
465
466 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
467 macros.
468
7cbcbded
DJ
4692009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
470
471 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
472 to be in memory.
473 * gdb.base/display.c (force_mem): New.
474 (do_loops): Use it. Add breakpoint comments.
475 (do_vars): Add a breakpoint comment.
476 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
477 line numbers.
478
bdea3a92
NF
4792009-11-13 Nathan Froyd <froydnj@codesourcery.com>
480
481 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
482 instead of a bare "run".
483
269f82e5
PP
4842009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
485
486 * gdb.python/py-prettyprint.exp: Adjust.
487
a69b7d9d
DJ
4882009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
489
490 * lib/cell.exp (skip_cell_tests): Clean up test files before
491 returning.
492
b598bfda
DJ
4932009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
494
495 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
496 and the breakpoint menu. Do not call perror if a prompt is seen.
497 Consume the following GDB prompt.
498 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
499 * gdb.cp/namespace.exp: Use gdb_test.
500 * gdb.cp/templates.exp: Use gdb_test.
501 (test_template_breakpoints): Use gdb_test_multiple.
502
87728fa0
DJ
5032009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
504
505 * gdb.base/break1.c (struct some_struct, values): Move earlier.
506 (marker4): Reference values.
507
b67c692f
DJ
5082009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
509
510 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
511 is missing.
512
f0df251a
DJ
5132009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
514
515 * gdb.base/break.c (need_malloc): New.
516 * gdb.base/constvars.c (main): Reference crass and crisp.
517 * gdb.base/gdb1821.c (main): Reference bar.
518 * gdb.cp/gdb1355.cc (main): Reference s1.
519 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
520 (main): Call them.
521 * gdb.cp/hang2.cc (dummy2): Define.
522 * gdb.cp/hang3.cc (dummy3): Define.
523 * gdb.cp/m-data.cc (main): Reference shadow.
524
bdf7534a
NF
5252009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
526 Nathan Froyd <froydnj@codesourcery.com>
527
528 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
529 remote host.
530
f24fce77
NF
5312009-11-12 Nathan Froyd <froydnj@codesourcery.com>
532
533 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
534 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
535 * gdb.dwarf2/dw2-compressed.exp: Likewise.
536 * gdb.dwarf2/dw2-intercu.exp: Likewise.
537 * gdb.dwarf2/dw2-intermix.exp: Likewise.
538 * gdb.dwarf2/dw2-producer.exp: Likewise.
539 * gdb.dwarf2/mac-fileno.exp: Likewise.
540 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
541 py-prettyprint.py to the remote host.
542 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
543
40f0318e
KS
5442009-11-11 Keith Seitz <keiths@redhat.com>
545
546 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
547 use it instead of "Foo".
548 * gdb.cp/classes.exp (do_tests): Add a test to access
549 a method through a typedef'd class name.
550
f3d9f7fb
NF
5512009-11-11 Nathan Froyd <froydnj@codesourcery.com>
552
553 * gdb.base/long_long.exp: Permit leading zeros on floating-point
554 exponents.
555 * gdb.base/pointers.exp: Likewise.
556 * gdb.cp/ref-types.exp: Likewise.
557
a4216f37
KS
5582009-11-11 Keith Seitz <keiths@redhat.com>
559
560 * gdb.cp/cplusfuncs.cc (class foo): Add operators
561 new[] and delete[].
562 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
563 "void".
564 (probe_demangler): Remove all single-quoting of
565 method and variable names.
566 (info_func_regexp): Remove the word "void" from any
567 occurrence of "(void)".
568 (print_addr_2): Remove all single-quoting of
569 method names.
570 (print_addr_2_kfail): Likewise.
571 (print_addr): Single-quote C function names before
572 passing to print_addr_2.
573 (test_paddr_operator_functions): Remove single-quoting
574 for method names.
575 Add tests for operator new[] and operator delete[].
576
9b14d7aa
JK
5772009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
578
579 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
580
85feb311
KS
5812009-11-09 Keith Seitz <keiths@redhat.com>
582
583 * gdb.cp/overload.exp: Add tests for resolving overloaded
584 methods in expression parsing/evaluation.
585
fa335448
DJ
5862009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
587
588 * lib/gdb.exp (default_gdb_version): Use --version instead of
589 --command.
590
ec3c07fc
NS
5912009-11-10 Nathan Sidwell <nathan@codesourcery.com>
592
593 * lib/gdb.exp (gdb_compile_test): New.
594 (skip_ada_tests, skip_java_tests): New.
595 (gdb_compile): Use gdb_compile_test for f77.
596 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
597 * lib/java.exp (compile_java_from_source): Remove runtests check,
598 use gdb_compile_test to record result.
599 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
600 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
601 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
602 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
603 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
604 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
605 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
606 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
607 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
608 adjust gdb_compile invocations.
609
b8b4e42b
JK
6102009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
611
612 * Makefile.in (abs_builddir): New.
613 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
614 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
615 `$(abs_builddir)/site.exp'.
616
f8b7eaf3
DJ
6172009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
618
619 * config/m68k-emc.exp, lib/emc-support.exp,
620 gdb.trace/gdb_c_test.c: Delete.
621 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
622 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
623 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
624 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
625 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
626 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
627 casing for m68k-*-elf.
628
c4187697
NS
6292009-11-03 Pedro Alves <pedro@codesourcery.com>
630
631 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
632 * gdb.arch/i386-prologue.exp: Likewise.
633 * gdb.arch/i386-unwind.exp: Likewise.
634
db16b772
DJ
6352009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
636
637 * lib/gdb.exp (gdb_expect): Fix timeout typo.
638
bcf71277
DJ
6392009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
640
641 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
642
0105cee2
DJ
6432009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
644
645 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
646
24ddea62
JK
6472009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
648
649 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
650
287ccc17
JK
6512009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
652
653 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
654 * gdb.base/sepdebug2.c: New file.
655
08bca259 6562009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
657
658 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
659 the modified warnings for catch syscall. Verify if GDB was compiled
660 with support for lib expat, and choose which tests to run depending
661 on this.
662
5d4e2b76
VP
6632009-10-30 Vladimir Prus <vladimir@codesourcery.com>
664
665 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
666 that composite commands are parsed OK. And also test
667 that breakpoint commands do work.
668
240e538a
MS
6692009-10-23 Michael Snyder <msnyder@vmware.com>
670
671 gdb.reverse/consecutive-precsave.exp: Change expect pattern
672 to allow for new disassembly style.
673
9c419145
PP
6742009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
675
676 * gdb.asm/asm-source.exp: Adjust.
677
02506ff1
MS
6782009-10-22 Michael Snyder <msnyder@vmware.com>
679
680 * gdb.reverse/break-precsave.exp: New test.
681 * gdb.reverse/consecutive-precsave.exp: Ditto.
682 * gdb.reverse/finish-precsave.exp: Ditto.
683 * gdb.reverse/i386-precsave.exp: Ditto.
684 * gdb.reverse/machinestate-precsave.exp: Ditto.
685 * gdb.reverse/sigall-precsave.exp: Ditto.
686 * gdb.reverse/solilb-precsave.exp: Ditto.
687 * gdb.reverse/step-precsave.exp: Ditto.
688 * gdb.reverse/until-precsave.exp: Ditto.
689 * gdb.reverse/watch-precsave.exp: Ditto.
690
4cf866a3
MS
6912009-10-22 Michael Snyder <msnyder@vmware.com>
692
693 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
694 for gdb_expect. Adjust one test's expect strings for the new
695 format of disassemble.
696 * gdb.reverse/finish-reverse.exp: Delete 'return'.
697 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
698 gdb_test_multiple.
699 * gdb.reverse/step-reverse.exp: Delete 'return'.
700 * gdb.reverse/until-reverse.exp: Delete blank lines.
701 * gdb.reverse/watch-reverse.exp: Delete blank lines.
702
2b28d209
PP
7032009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
704
705 * gdb.base/consecutive.exp: Adjust.
706 * gdb.base/display.exp: Likewise.
707 * gdb.base/pc-fp.exp: Likewise.
708 * gdb.base/sigbpt.exp: Likewise.
709
33b9c32b
MS
7102009-10-19 Michael Snyder <msnyder@vmware.com>
711
712 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
713 * gdb.reverse/finish-reverse.c: Ditto.
714 * gdb.reverse/sigall-reverse.c: Ditto.
715 * gdb.reverse/solib-reverse.c: Ditto.
716 * gdb.reverse/step-reverse.c: Ditto.
717 * gdb.reverse/watch-reverse.c: Ditto.
718
6c95b8df
PA
7192009-10-19 Pedro Alves <pedro@codesourcery.com>
720 Stan Shebs <stan@codesourcery.com>
721
722 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
723 * gdb.base/foll-exec.exp: Adjust to expect a process id before
724 "Executing new program".
725 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
726 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
727 left listed after having been killed.
728 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
729 * gdb.base/maint.exp: Adjust test.
730
731 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
732 * gdb.multi/Makefile.in: New.
733 * gdb.multi/base.exp: New.
734 * gdb.multi/goodbye.c: New.
735 * gdb.multi/hangout.c: New.
736 * gdb.multi/hello.c: New.
737 * gdb.multi/bkpt-multi-exec.c: New.
738 * gdb.multi/bkpt-multi-exec.exp: New.
739 * gdb.multi/crashme.c: New.
740
279017b7
TG
7412009-10-13 Tristan Gingold <gingold@adacore.com>
742
743 * gdb.base/sepdebug.exp: Check debug info are found.
744
0413d738
PA
7452009-10-08 Pedro Alves <pedro@codesourcery.com>
746
747 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
748 bits.
749
c628eecc
JK
7502009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
751
752 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
753
38af1bfe
JB
7542009-10-07 Joel Brobecker <brobecker@adacore.com>
755
756 * gdb.base/watchpoints.c: Add copyright header. Reformat one
757 of the comments.
758
2b0adecd
PM
7592009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
760
761 * gdb.base/annota1.exp: Remove obsolete match_max increase.
762 * gdb.base/annota3.exp: Idem.
763 * gdb.base/maint.exp: Idem.
764
8d417781
PM
7652009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
766
767 * lib/gdb.exp (default_gdb_init): Set current value of match_max
768 to default.
769
bb61102d
PM
7702009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
771
772 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
773 mingw and cygwin targets.
774
ace5c364
PM
7752009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
776 Pedro Alves <pedro@codesourcery.com>
777
778 * lib/gdb.exp (gdb_compile): Avoid adding
779 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
780
c2d494a0
PM
7812009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
782
e1b52ce2
PM
783 * gdb.base/shr1.c: Use %p in format string.
784 * gdb.base/unload.c: Avoid warning in fprintf.
785 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 786
209f53f5
PM
7872009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
788
789 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
790 long type.
791 (test_unlink): Correct printf string.
792 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
793 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
794
8172766a
JK
7952009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
796
797 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
798 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
799 * gdb.arch/ia64-breakpoint-shadow.S: New file.
800
0f73703c
UW
8012009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
802
803 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
804 * gdb.objc/nondebug.exp: Likewise.
805
b32306ca
UW
8062009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
807
808 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
809 target_info setting.
810
811 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
812 that detect new threads during "info threads".
813
0057022f
UW
8142009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
815
816 * gdb.threads/manythreads.c (main): Increase thread stack size
817 to 2*PTHREAD_STACK_MIN.
818 * gdb.threads/multi-create.c (main): Likewise.
819 (create_function): Likewise.
820
f29c0325
UW
8212009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
822
823 * gdb.base/dump.exp: Pass difference of pointer types instead
824 of integer types as offset to restore in intarr3.srec case.
825
fcb34849
UW
8262009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
827
828 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
829
d5142e3b
UW
8302009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
831
832 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
833
087b74b2
PM
8342009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
835
836 New test for two watchpoints, with disabling of
837 the first inserted.
838 * testsuite/gdb.base/watchpoints.c: New file.
839 * testsuite/gdb.base/watchpoints.exp: New file.
840
96c07c5b
TT
8412009-09-25 Tom Tromey <tromey@redhat.com>
842
843 * gdb.base/charset.exp: Test utf-16 strings with Python.
844
b8899f2b
TT
8452009-09-25 Tom Tromey <tromey@redhat.com>
846
847 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
848 UCS-4.
849 * gdb.base/charset.c (utf_32_string): Rename.
850 (init_utf32): Rename.
851 (main): Update.
852
329719ec
TT
8532009-09-22 Tom Tromey <tromey@redhat.com>
854
855 * gdb.python/py-function.exp: Add regression tests.
856
11ef0d76
KS
8572009-09-21 Keith Seitz <keiths@redhat.com>
858
859 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
860 with invalid operator.
861
3fe8f3b3
KS
8622009-09-21 Keith Seitz <keiths@redhat.com>
863
864 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
865 and destructor using typedef name of class.
866 * gdb.cp/classes.cc (class Base1): Add a destructor.
867 (base1): New typedef.
868 (use_methods): Instanitate an object of type base1.
869 * gdb.cp/templates.exp (test_template_typedef): New procedure.
870 (do_tests): Call test_template_typedef.
871 * gdb.cp/templates.cc (Baz::~Baz): New method.
872 (intBazOne): New typedef.
873 (main): Instantiate intBazOne.
874
7a9fe101
PM
8752009-09-21 Phil Muldoon <pmuldoon@redhat.com>
876
877 PR python/10633
878
879 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
880 Function.
881 (run_lang_tests): Add print elements test.
882
2e4d963f
PM
8832009-09-21 Phil Muldoon <pmuldoon@redhat.com>
884
885 * gdb.python/py-value.exp (test_subscript_regression): New
886 function. Test for invalid subscripts.
887 * gdb.python/py-value.c (main): Add test array, and pointer to it.
888 (ptr_ref): New function.
889
ec7e75e7
PP
8902009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
891
892 * gdb.base/default.exp: Fix "show convenience".
893
0cc7d26f
TT
8942009-09-15 Tom Tromey <tromey@redhat.com>
895
896 * lib/mi-support.exp (mi_create_varobj): Update.
897 (mi_create_floating_varobj): Likewise.
898 (mi_create_dynamic_varobj): New proc.
899 (mi_varobj_update): Update.
900 (mi_varobj_update_with_type_change): Likewise.
901 (mi_varobj_update_kv_helper): New proc.
902 (mi_varobj_update_dynamic_helper): Rewrite.
903 (mi_varobj_update_dynamic): New proc.
904 (mi_list_varobj_children): Update.
905 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
906 * gdb.python/python-prettyprint.py (pp_outer): New class.
907 (pp_nullstr): Likewise.
908 (lookup_function): Register new printers.
909 * gdb.python/python-prettyprint.c (struct substruct): New type.
910 (struct outerstruct): Likewise.
911 (substruct_test): New function.
912 (struct nullstr): New type.
913 (string_1, string_2): New globals.
914 (main): Add new tests.
915 * gdb.python/python-mi.exp: Added regression tests.
916 * gdb.mi/mi2-var-display.exp: Update.
917 * gdb.mi/mi2-var-cmd.exp: Update.
918 * gdb.mi/mi2-var-child.exp: Update.
919 * gdb.mi/mi2-var-block.exp: Update.
920 * gdb.mi/mi-var-invalidate.exp: Update.
921 * gdb.mi/mi-var-display.exp: Update.
922 * gdb.mi/mi-var-cmd.exp: Update.
923 * gdb.mi/mi-var-child.exp: Update.
924 * gdb.mi/mi-var-block.exp: Update.
925 * gdb.mi/mi-break.exp: Update.
926 * gdb.mi/gdb701.exp: Update.
927
a96d9b2e
SDJ
9282009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
929
930 * Makefile.in: Inclusion of catch-syscall object.
931 * gdb.base/catch-syscall.c: New file.
932 * gdb.base/catch-syscall.exp: New file.
933
b43b923a
MS
9342009-09-12 Michael Snyder <msnyder@vmware.com>
935
936 * gdb.reverse/step-reverse.exp: Explicitly check for targets
937 that can support reverse debuggnig.
938
cec03d70
TT
9392009-09-11 Tom Tromey <tromey@redhat.com>
940
941 * gdb.dwarf2/valop.S: New file.
942 * gdb.dwarf2/valop.exp: New file.
943
e23bb3fc
MK
9442009-09-11 Mark Kettenis <kettenis@gnu.org>
945
946 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
947
37c3696d
DE
9482009-09-10 Doug Evans <dje@google.com>
949
950 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
951 Add $gdb_prompt to second breakpoint regexp.
952
5172aecb
JB
9532009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
954
955 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
956 names, add missing ones.
957 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
958 * gdb.python/py-frame.c: Rename from python-frame.c.
959 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
960 testfile name.
961 * gdb.python/py-function.exp: Rename from python-function.exp.
962 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
963 testfile name.
964 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
965 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
966 Adjust testfile name.
967 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
968 * gdb.python/py-template.cc: Rename from python-template.cc.
969 * gdb.python/py-template.exp: Rename from python-template.exp.
970 Adjust testfile name.
971 * gdb.python/py-value.c: Rename from python-value.c.
972 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
973 testfile name.
974
b554e4bd
JK
9752009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
976
977 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
978 $bpt2address.
979 (Second breakpoint address is valid on ia64)
980 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
981
9a68ae16
JM
9822009-09-03 Joseph Myers <joseph@codesourcery.com>
983
984 * gdb.base/ending-run.exp: Restrict regular expression matching
985 line number to require closing brace following.
986
146b9145
DE
9872009-09-03 Doug Evans <dje@google.com>
988
989 * gdb.base/store.exp (check_set): Fix typo in expected value message.
990
787d21e1
TT
9912009-09-02 Tom Tromey <tromey@redhat.com>
992
993 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
994
e7802207
TT
9952009-09-02 Tom Tromey <tromey@redhat.com>
996
997 * gdb.dwarf2/callframecfa.exp: New file.
998 * gdb.dwarf2/callframecfa.S: New file.
999
817aadd2
JK
10002009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1001
1002 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
1003 gdb.base/solib-overlap-main.c: New.
1004
4a76eae5
DJ
10052009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
1006
1007 PR gdb/10565
1008
1009 * gdb.base/bitfields.c (struct container, container): New.
1010 (main): Initialize it and call break5.
1011 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
1012
d4b96c9a
JK
10132009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1014
1015 Support constant DW_AT_data_member_location by GCC PR debug/40659.
1016 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
1017
4e22772d
JK
10182009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1019
1020 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
1021
2efab443
MS
10222009-08-26 Michael Snyder <msnyder@vmware.com>
1023
1024 * gdb.base/i386-reverse.c: New file.
1025 * gdb.base/i386-reverse.exp: New file.
1026 * gdb.base/Makefile.in: Add new files to be removed.
1027
07ab73a0
JM
10282009-08-26 Joseph Myers <joseph@codesourcery.com>
1029
1030 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
1031 environment-pwd for remote host.
1032 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
1033
676accff
KS
10342009-08-24 Keith Seitz <keiths@redhat.com>
1035
1036 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
1037 Add two new C++ completer tests which limit the output to a
1038 given class.
1039
f9f7ad22
MS
10402009-08-24 Michael Snyder <msnyder@vmware.com>
1041
1042 * gdb.base/del.exp: Fix typo in comment.
1043 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
1044
81ecdfbb
RW
10452009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1046
1047 * configure: Regenerate.
1048 * gdb.hp/configure: Likewise.
1049 * gdb.hp/gdb.aCC/configure: Likewise.
1050 * gdb.hp/gdb.base-hp/configure: Likewise.
1051 * gdb.hp/gdb.compat/configure: Likewise.
1052 * gdb.hp/gdb.defects/configure: Likewise.
1053 * gdb.hp/gdb.objdbg/configure: Likewise.
1054 * gdb.stabs/configure: Likewise.
1055
cab0c772
UW
10562009-08-19 Doug Evans <dje@google.com>
1057
1058 * gdb.base/gdbvars.c: New file.
1059 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
1060
b8fa0bfa
PA
10612009-08-14 Pedro Alves <pedro@codesourcery.com>
1062
1063 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
1064 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
1065
b84aa90a
PA
10662009-08-13 Pedro Alves <pedro@codesourcery.com>
1067
1068 * gdb.base/default.exp: Adjust "set language test": it's now an
1069 enum command. Larger help string moved to "help set language".
1070 * gdb.base/help.exp: Adjust "help set language" expected output,
1071 now lists all known languages.
1072
0d8f9b2c
NF
10732009-08-11 Nathan Froyd <froydnj@codesourcery.com>
1074
1075 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
1076 all frame arguments.
1077 * gdb.arch/altivec-regs.exp: Likewise.
1078
bda180e0
TT
10792009-08-07 Tom Tromey <tromey@redhat.com>
1080
1081 * gdb.base/setshow.exp: Add tests for changes to set language, set
1082 check range, and set check type.
1083
48cb2d85
VP
10842009-08-03 Vladimir Prus <vladimir@codesourcery.com>
1085
1086 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
1087 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
1088 Call it.
1089
1ea34204
UW
10902009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1091
1092 * configure.ac: Run gdb.cell tests when appropriate.
1093 * configure: Regenerate.
1094 * lib/cell.exp: New file.
1095 * gdb.cell: New directory.
1096 * gdb.cell/configure.ac: New file.
1097 * gdb.cell/configure: New file.
1098 * gdb.cell/Makefile.in: New file.
1099 * gdb.cell/arch.exp: New file.
1100 * gdb.cell/break.c: New file.
1101 * gdb.cell/break.exp: New file.
1102 * gdb.cell/break-spu.c: New file.
1103 * gdb.cell/bt.c: New file.
1104 * gdb.cell/bt2-spu.c: New file.
1105 * gdb.cell/bt-spu.c: New file.
1106 * gdb.cell/bt.exp: New file.
1107 * gdb.cell/coremaker.c: New file.
1108 * gdb.cell/coremaker-spu.c: New file.
1109 * gdb.cell/core.exp: New file.
1110 * gdb.cell/gcore.exp: New file.
1111 * gdb.cell/data.c: New file.
1112 * gdb.cell/data.exp: New file.
1113 * gdb.cell/data-spu.c: New file.
1114 * gdb.cell/ea-cache.exp: New file.
1115 * gdb.cell/ea-cache.c: New file.
1116 * gdb.cell/ea-cache-spu.c: New file.
1117 * gdb.cell/ea-standalone.c: New file.
1118 * gdb.cell/ea-standalone.exp: New file.
1119 * gdb.cell/ea-test.c: New file.
1120 * gdb.cell/ea-test.exp: New file.
1121 * gdb.cell/f-regs.exp: New file.
1122 * gdb.cell/mem-access.c: New file.
1123 * gdb.cell/mem-access.exp: New file.
1124 * gdb.cell/mem-access-spu.c: New file.
1125 * gdb.cell/ptype.exp: New file.
1126 * gdb.cell/registers.exp: New file.
1127 * gdb.cell/size.c: New file.
1128 * gdb.cell/sizeof.exp: New file.
1129 * gdb.cell/size-spu.c: New file.
1130 * gdb.cell/solib.exp: New file.
1131 * gdb.cell/solib-symbol.exp: New file.
1132
85e747d2
UW
11332009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1134
1135 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
1136
58d6951d
DJ
11372009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1138
1139 * gdb.base/float.exp: Handle VFP registers.
1140
6e0a4f15
MS
11412009-07-14 Michael Snyder <msnyder@vmware.com>
1142
dcd5da87
MS
1143 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
1144 to bring gdb to the beginning of the calling line.
1145
6e0a4f15
MS
1146 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
1147 confusing the i386 epilogue unwinder.
1148
782b2b07
SS
11492009-07-14 Stan Shebs <stan@codesourcery.com>
1150
1151 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
1152
f662c3bc
MS
11532009-07-14 Michael Snyder <msnyder@vmware.com>
1154
1155 * gdb.reverse/step-reverse.exp (stepi into function call):
1156 Call instruction may not be first instruction in the line.
1157 (reverse stepi from a function call): Used wrong line number.
1158
8f313923
JK
11592009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1160
1161 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
1162
4662c76e
JK
11632009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1164
1165 Fix gdb.base/macscp.exp when using custom inputrc.
1166 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
1167 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
1168 env(TERM) set.
1169 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
1170 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
1171
aa81e255
JK
11722009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1173
1174 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
1175 * gdb.base/annota1.exp (thread_test): Import global $testfile.
1176 Change the compilation target to match the testcase name.
1177 * gdb.base/sect-cmd.exp: Change the compilation target to match the
1178 testcase name.
1179 * a2-run.exp: Use for setup prepare_for_testing. Change the
1180 compilation target to match the testcase name.
1181 * gdb.base/commands.exp: Likewise.
1182 * gdb.base/finish.exp: Likewise.
1183 * gdb.base/float.exp: Likewise.
1184 * gdb.base/info-target.exp: Likewise.
1185 * gdb.base/relational.exp: Likewise.
1186 * gdb.base/term.exp: Likewise.
1187 * gdb.base/until.exp: Likewise.
1188 * gdb.base/volatile.exp: Likewise.
1189 * gdb.base/whatis-exp.exp: Likewise.
1190
4c93b1d7
HZ
11912009-07-11 Hui Zhu <teawater@gmail.com>
1192
1193 * gdb.base/help.exp (disassemble): Update expected help text.
1194
812f7342
TT
11952009-07-09 Tom Tromey <tromey@redhat.com>
1196
1197 * lib/gdb.exp: Handle TRANSCRIPT.
1198 (remote_spawn, remote_close, send_gdb): New procs.
1199
fbb8f299
PM
12002009-07-10 Phil Muldoon <pmuldoon@redhat.com>
1201
1202 * gdb.python/python-prettyprint.c: Add counted null string
1203 structure.
1204 * gdb.python/python-prettyprint.exp: Print null string. Test for
1205 embedded nulls.
1206 * gdb.python/python-prettyprint.py (pp_ns): New Function.
1207 * gdb.python/python-value.exp (test_value_in_inferior): Add
1208 variable length string fetch tests.
1209 * gdb.python/python-value.c (main): Add strings for string fetch tests.
1210
c0ac0ec7
JK
12112009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1212
1213 * gdb.base/dump.exp (inaccessible memory is reported): New test.
1214
30b66ecc
TT
12152009-07-07 Tom Tromey <tromey@redhat.com>
1216
1217 * gdb.base/call-rt-st.exp: Update for change to escape output.
1218 * gdb.base/callfuncs.exp: Likewise.
1219 * gdb.base/charset.exp: Likewise.
1220 * gdb.base/constvars.exp: Likewise.
1221 * gdb.base/long_long.exp: Likewise.
1222 * gdb.base/pointers.exp: Likewise.
1223 * gdb.base/printcmds.exp: Likewise.
1224 * gdb.base/setvar.exp: Likewise.
1225 * gdb.base/store.exp: Likewise.
1226 * gdb.cp/ref-types.exp: Likewise.
1227 * gdb.mi/mi-var-child.exp: Likewise.
1228 * gdb.mi/mi-var-display.exp: Likewise.
1229 * gdb.mi/mi2-var-display.exp: Likewise.
1230 * gdb.base/charset.exp: Test octal escape sequence length.
1231 Update for change to escape output.
1232
187c4a2b
JK
12332009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1234
1235 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
1236
d80a43f9
DJ
12372009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
1238
1239 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
1240
047427a8
JK
12412009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1242
1243 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
1244 gdbserver increasing $portnum if "Can't bind address" has been seen.
1245
8b5a0f4f
PA
12462009-07-05 Pedro Alves <pedro@codesourcery.com>
1247
1248 * gdb.base/ending-run.exp: Add "step out of main" pattern for
1249 mingw32ce.
1250
7d93ba58
PA
12512009-07-05 Pedro Alves <pedro@codesourcery.com>
1252
1253 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
1254 VFP format.
1255
2277426b
PA
12562009-07-02 Pedro Alves <pedro@codesourcery.com>
1257
1258 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
1259 linux. Adjust to use "inferior", "info inferiors", "detach
1260 inferior" and "kill inferior" instead of "restart", "info fork",
1261 "detach fork" and "delete fork".
1262 * gdb.base/ending-run.exp: Spell out "info".
1263 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
1264 the "kill" command.
1265
5af949e3
UW
12662009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1267
1268 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
1269 change to prefix TLS offset in hex with 0x.
1270
5d3729b5
UW
12712009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1272
1273 * gdb.base/default.exp: Update test case for "x" changes.
1274
af589bd0
TG
12752009-07-01 Tristan Gingold <gingold@adacore.com>
1276
1277 * gdb.base/bigcore.exp: Make darwin untested.
1278
40974f91
JK
12792009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1280
1281 * gdb.base/completion.exp (directory completion): Create the directory.
1282 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
1283 escapeuniquesub.
1284 (directory completion 2): Expect now ${escapeuniquesub}.
1285 (Glob remaining of directory test): Remove one excessive newline.
1286 Expect the real output.
1287
59dd3af6
JK
12882009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1289
1290 Fix `make check//%' target after `make check' has been ran.
1291 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
1292 a mkdir call.
1293 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
1294 (%/.dir): Remove.
1295
f4e164aa
JK
12962009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1297
1298 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
1299 the expected result record.
1300
69af2122
JK
13012009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1302
1303 Remove racy FAILs relying just on the timeouts.
1304 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
1305 (annotation_level 2): Remove racy FAILs.
1306
2fd481e1
PP
13072009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
1308
1309 gdb/10275
1310 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
1311
c38f313d
DJ
13122009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
1313
1314 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
1315
8b777f02
VP
13162009-06-30 Vladimir Prus <vladimir@codesourcery.com>
1317
1318 * gdb.mi/mi-stack.exp: Testing symbolic options
1319 to -stack-list-locals and -stack-list-arguments.
1320
00c7eacf
JK
13212009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1322
1323 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
1324
6bc80edc
TT
13252009-06-29 Tom Tromey <tromey@redhat.com>
1326
1327 * dg-extract-results.sh: New file.
1328 * Makefile.in (FORCE_PARALLEL): New variable.
1329 (CHECK_TARGET): New conditional variable.
1330 (check): Use CHECK_TARGET.
1331 (DO_RUNTEST): New variable.
1332 (check-single): New target.
1333 (TEST_DIRS): New variable.
1334 (TEST_TARGETS): Likewise.
1335 (check-parallel): New target.
1336 (check-gdb.%): New pattern.
1337 (BASE1_FILES): New variable.
1338 (BASE2_FILES): Likewise.
1339 (check-gdb.base%): New pattern.
1340 (%/.dir): New pattern.
1341 * configure: Rebuild.
1342 * aclocal.m4 (AM_CONDITIONAL): New defun.
1343 * configure.ac: Check whether user is using GNU make.
1344 (GMAKE): New conditional.
1345
794684b6
SW
13462009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
1347
1348 * gdb.cp/namespace-nested-import.cc: New test.
1349 * gdb.cp/namespace-nested-import.exp: New test.
1350
edb3359d
DJ
13512009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
1352
1353 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
1354 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
1355 * gdb.opt/Makefile.in (EXECUTABLES): Update.
1356 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
1357 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
1358 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
1359 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
1360 gdb.opt/inline-markers.c: New files.
1361 * lib/gdb.exp (skip_inline_frame_tests): New function.
1362 (skip_inline_var_tests): New function.
1363
cf657a0c
AS
13642009-06-27 Andreas Schwab <schwab@linux-m68k.org>
1365
1366 * gdb.cp/exception.exp: Don't require $hex before inner frame in
1367 backtrace.
1368
28d41a99
MS
13692009-06-27 Michael Snyder <msnyder@vmware.com>
1370
1371 * gdb.reverse: New directory.
1372 * gdb.reverse/break-reverse.c: New test.
1373 * gdb.reverse/break-reverse.exp: New test.
1374 * gdb.reverse/consecutive-reverse.c: New test.
1375 * gdb.reverse/consecutive-reverse.exp: New test.
1376 * gdb.reverse/finish-reverse.c: New test.
1377 * gdb.reverse/finish-reverse.exp: New test.
1378 * gdb.reverse/machinestate.c: New test.
1379 * gdb.reverse/ms1.c: New test.
1380 * gdb.reverse/machinestate.exp: New test.
1381 * gdb.reverse/Makefile.in: New file.
1382 * gdb.reverse/shr2.c: New test.
1383 * gdb.reverse/solib-reverse.c: New test.
1384 * gdb.reverse/solib-reverse.exp: New test.
1385 * gdb.reverse/step-reverse.c: New test.
1386 * gdb.reverse/step-reverse.exp: New test.
1387 * gdb.reverse/until-reverse.c: New test.
1388 * gdb.reverse/ur1.c: New test.
1389 * gdb.reverse/until-reverse.exp: New test.
1390 * gdb.reverse/watch-reverse.c: New test.
1391 * gdb.reverse/watch-reverse.exp: New test.
1392 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
1393 * configure: Regenerate.
1394
fe3c8b0d
DE
13952009-06-26 Doug Evans <dje@google.com>
1396
1397 * gdb.base/psymtab.exp: Turn off pending breakpoints.
1398
3a72a602
PM
13992009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
1400
1401 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
1402 windows problem for 'file delete $binfile'.
1403
27aa8d6a
SW
14042009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
1405
1406 * gdb.cp/namespace-using.exp: New test.
1407 * gdb.cp/namespace-using.cc: New test.
1408
8ac055f8
JB
14092009-05-20 Joel Brobecker <brobecker@adacore.com>
1410
1411 * gdb.ada/variant_record_packed_array: New testcase.
1412
85e306ed
TT
14132009-06-23 Tom Tromey <tromey@redhat.com>
1414
1415 * gdb.base/charset.exp (test_combination): Regression test.
1416 * gdb.base/charset.c (my_wchar_t): New typedef.
1417 (myvar): New global.
1418 (main): Set myvar.
1419
56643c5e
PM
14202009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
1421
1422 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
1423 target.
1424
1fac167a
UW
14252009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1426
1427 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
1428
7ccb0be9
UW
14292009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1430
1431 * gdb.mi/gdb680.exp: Update test for error message.
1432
568d6575
UW
14332009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1434
1435 * gdb.base/annota1.exp: Allow multiple occurrences of the
1436 frames-invalid annotation.
1437 * gdb.cp/annota2.exp: Likewise.
1438
7cd1089b
PM
14392009-06-15 Phil Muldoon <pmuldoon@redhat.com>
1440
1441 * gdb.cp/gdb2495.cc: New file.
1442 * gdb.cp/gdb2495.exp: New file.
1443
72c63395
JK
14442009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1445
1446 Report error on GDB crash during runto.
1447 * lib/gdb.exp (runto <eof>): New.
1448
3788363d
DJ
14492009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
1450
1451 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
1452 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
1453 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
1454 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
1455 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
1456 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
1457 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
1458 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
1459 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
1460 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
1461 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
1462 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
1463 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
1464 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
1465 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
1466 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
1467 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
1468 gdb.server/server-mon.exp, gdb.server/server-run.exp,
1469 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1470 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1471 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
1472 gdb.trace/passcount.exp, gdb.trace/report.exp,
1473 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
1474 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
1475 gdb.trace/while-stepping.exp: Use a unique name for the compiled
1476 executable.
1477
17592de3
PA
14782009-06-07 Pedro Alves <pedro@codesourcery.com>
1479
1480 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
1481 defined before referencing it.
1482
701e355d
DE
14832009-06-03 Doug Evans <dje@google.com>
1484
1485 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
1486 * gdb.arch/i386-see.c: Ditto.
1487
f2292c65
PM
14882009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
1489
1490 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
1491 (check_macro): Return 1 if undefined.
1492 If first test fails, check if macro debug information is available,
1493 and report unsupported test if no macro information is found.
1494
5a437975
DE
14952009-05-29 Doug Evans <dje@google.com>
1496
1497 * gdb.threads/hand-call-in-threads.exp: New.
1498 * gdb.threads/hand-call-in-threads.c: New.
1499
c141c696
MS
15002009-05-29 Michael Snyder <msnyder@vmware.com>
1501
1502 * gdb.base/break-always.exp: Change "1" to "on".
1503 Add confirmation check.
1504
b3444185
PA
15052009-05-28 Pedro Alves <pedro@codesourcery.com>
1506
1507 * gdb.threads/threxit-hop-specific.c: New.
1508 * gdb.threads/threxit-hop-specific.exp: New.
1509 * gdb.threads/thread-execl.c: New.
1510 * gdb.threads/thread-execl.exp: New.
1511
b6313243
TT
15122009-05-27 Tom Tromey <tromey@redhat.com>
1513 Thiago Jung Bauermann <bauerman@br.ibm.com>
1514
1515 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
1516 (mi_child_regexp): Likewise.
1517 (mi_list_varobj_children_range): Likewise.
1518 (mi_get_features): Likewise.
1519 (mi_list_varobj_children): Rewrite.
1520 * gdb.python/python-mi.exp: New file.
1521
a6bac58e
TT
15222009-05-27 Tom Tromey <tromey@redhat.com>
1523 Thiago Jung Bauermann <bauerman@br.ibm.com>
1524 Phil Muldoon <pmuldoon@redhat.com>
1525 Paul Pluzhnikov <ppluzhnikov@google.com>
1526
1527 * gdb.python/python-prettyprint.exp: New file.
1528 * gdb.python/python-prettyprint.c: New file.
1529 * gdb.python/python-prettyprint.py: New file.
1530 * gdb.base/display.exp: print/r is now valid.
1531
2c74e833
TT
15322009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
1533 Tom Tromey <tromey@redhat.com>
1534 Pedro Alves <pedro@codesourcery.com>
1535 Paul Pluzhnikov <ppluzhnikov@google.com>
1536
1537 * gdb.python/python-template.exp: New file.
1538 * gdb.python/python-template.cc: New file.
1539 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
1540 tests.
1541 * gdb.python/python-value.exp (py_objfile_tests): New proc.
1542 Call it.
1543 (test_value_after_death): New proc.
1544 * gdb.python/python-value.c (PTR): New typedef.
1545 (main): New variable 'x'.
1546
89c73ade
TT
15472009-05-27 Tom Tromey <tromey@redhat.com>
1548
1549 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
1550 tests.
1551 * gdb.python/python-value.exp (py_objfile_tests): New proc.
1552 Call it.
1553
a75724bc
PA
15542009-05-27 Pedro Alves <pedro@codesourcery.com>
1555
1556 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
1557
e58b0e63
PA
15582009-05-24 Pedro Alves <pedro@codesourcery.com>
1559
1560 * gdb.threads/fork-thread-pending.c: New.
1561 * gdb.threads/fork-thread-pending.exp: New.
1562
4ac36638
JK
15632009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1564
1565 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
1566 * gdb.dwarf2/dw2-strp.S (a_string2): New.
1567
c28c63d8
JB
15682009-05-18 Jon Beniston <jon@beniston.com>
1569
1570 * gdb.asm/asm-source.exp: Add lm32 target.
1571
b242c3c2
PA
15722009-05-17 Pedro Alves <pedro@codesourcery.com>
1573
1574 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
1575 `gdb_get_line_number'. Call `callee' in both parent and child.
1576 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
1577 `gdb_get_line_number' instead of hardcoding line numbers.
1578 (catch_fork_unpatch_child): New procedure to test detaching
1579 breakpoints from child fork.
1580 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
1581 hardcoding line numbers.
1582 (do_fork_tests): Run `catch_fork_unpatch_child'.
1583
ee342b23
VP
15842009-05-17 Vladimir Prus <vladimir@codesourcery.com>
1585
1586 * gdb.mi/mi-cmd-var.exp: Check that when varobj
1587 of structure type enters or leaves the scope, it
1588 is reported by -var-update.
1589
e2009e98
DE
15902009-05-11 Doug Evans <dje@sebabeach.org>
1591
1592 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
1593 * gdb.threads/pending-step.c (main): Fix off-by-one error.
1594 * gdb.threads/schedlock.c (main): Fix off-by-one error.
1595
00903456
JK
15962009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1597
1598 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
1599
dc621c35
DE
16002009-04-30 Doug Evans <dje@google.com>
1601
1602 * gdb.threads/watchthreads2.exp: New testcase.
1603 * gdb.threads/watchthreads2.c: New testcase.
1604
9ab4e744
DE
16052009-04-29 Doug Evans <dje@google.com>
1606
1607 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
1608 * gdb.cp/mb-ctor.cc: Ditto.
1609 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
1610 * gdb.cp/mb-inline.h (multi_line_foo): New function.
1611 * gdb.cp/mb-inline1.cc: Call it.
1612 * gdb.cp/mb-inline2.cc: Ditto.
1613 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
1614 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
1615
484086b7
JK
16162009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1617
1618 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
1619 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
1620 Replace all uses of `decimal' by `nonzero'.
1621 (info macro FROM_COMMANDLINE): New test.
1622
379a77b5
TT
16232009-04-27 Tom Tromey <tromey@redhat.com>
1624
1625 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
1626
b92b73c2
DE
16272009-04-27 Doug Evans <dje@google.com>
1628
1629 * gdb.threads/watchthreads.c (main): Initialize args before starting
1630 the threads. Plus formatting cleanup.
1631 * gdb.threads/watchthreads.exp: Avoid errant failures due to
1632 biased scheduling of one thread.
1633
945a118d
JG
16342009-04-27 Jerome Guitton <guitton@adacore.com>
1635
1636 * gdb.cp/templates.cc (GetMax): New template.
1637 (main): Declare two instances of GetMax.
1638 * gdb.cp/templates.exp: Add new test.
1639
d389af10
JK
16402009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1641
1642 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
1643
e7f86de9
JM
16442009-04-22 Joseph Myers <joseph@codesourcery.com>
1645
1646 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
1647
334cc82d
TT
16482009-04-15 Tom Tromey <tromey@redhat.com>
1649
1650 * gdb.base/charset.exp: Add regression test.
1651
d12672cc
JB
16522009-04-14 Joel Brobecker <brobecker@adacore.com>
1653
1654 * gdb.base/exe-lock.exp: New testcase.
1655
18e8c3bc
TT
16562009-04-13 Tom Tromey <tromey@redhat.com>
1657
1658 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
1659 operator on Frame.
1660
5ecd5cbe
UW
16612009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1662
1663 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
1664 * gdb.server/ext-attach.exp: Likewise.
1665
7309f756
VP
16662009-04-03 Vladimir Prus <vladimir@codesourcery.com>
1667
1668 Eliminate some sleep usage.
1669
1670 * gdb.mi/basics.c (do_nothing): New.
1671 (main): Use do_nothing instead of printf, so that
1672 not to introduce race condition between output of
1673 inferiour and output of gdb. Do not use sleep as it
1674 is not generally available on embedded targets.
1675
f4b95f6f
PA
16762009-04-02 Pedro Alves <pedro@codesourcery.com>
1677
1678 * gdb.server/ext-attach.exp: Expect an optional process id after
1679 "Detached from remote process".
1680
de40b933
JK
16812009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1682
1683 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
1684 gdb.dwarf2/dw2-unresolved.exp: New.
1685
2ae101a4
PA
16862009-04-02 Pedro Alves <pedro@codesourcery.com>
1687
1688 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
1689 mi_run_to_main.
1690
56a8e183
PA
16912009-04-02 Pedro Alves <pedro@codesourcery.com>
1692
1693 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
1694 mi_run_to_main. Skip thread exit test on remote targets.
1695 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
1696 mi_run_to_main.
1697 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
1698 mi_run_to_main.
1699 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
1700 when expecting ^connected. Detect when the target doesn't support
1701 non-stop mode.
1702 (mi_run_cmd): Detect if non-stop mode was requested by isn't
1703 supported. Return -1 on error, 0 on success.
1704 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
1705 (mi_runto): Return mi_runto_helper's result explicitly.
1706
c35fafde
PA
17072009-04-01 Pedro Alves <pedro@codesourcery.com>
1708
1709 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
1710
f8a8dce6
JB
17112009-04-01 Tom Tromey <tromey@redhat.com>
1712
1713 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
1714 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
1715 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
1716 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
1717
71c25dea
TT
17182009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
1719 Jan Kratochvil <jan.kratochvil@redhat.com>
1720
1721 PR gdb/931
1722 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
1723 output.
1724 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
1725 for gdb/931.
1726 * dw2-strp.S (DW_AT_language): Change to C++.
1727 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
1728
02d9a9ce
JB
17292009-03-31 Joel Brobecker <brobecker@adacore.com>
1730
1731 * gdb.ada/tasks: New testcase.
1732
1042e4c0
SS
17332009-03-30 Stan Shebs <stan@codesourcery.com>
1734
1735 * gdb.trace/actions.exp: Update to match new info trace format.
1736 * gdb.trace/deltrace.exp: Ditto.
1737 * gdb.trace/infotrace.exp: Ditto.
1738 * gdb.trace/passcount.exp: Ditto.
1739 * gdb.trace/save-trace.exp: Ditto.
1740 * gdb.trace/while-stepping.exp: Ditto.
1741 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
1742
f8f6f20b
TJB
17432009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
1744
1745 * gdb.python/python-frame.c: New file.
1746 * gdb.python/python-frame.exp: New file.
1747
c0c6f777
TJB
17482009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
1749
1750 * gdb.python/python-value.exp: Add tests for the address
1751 attribute.
1752
3cb51905
AS
17532009-03-29 Andreas Schwab <schwab@linux-m68k.org>
1754
1755 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
1756
88fc996f
DE
17572009-03-26 Doug Evans <dje@google.com>
1758
1759 * gdb.mi/mi-nonstop-exit.exp: New file.
1760 * gdb.mi/non-stop-exit.c: New file.
1761
56ef84b1
TT
17622009-03-26 Tom Tromey <tromey@redhat.com>
1763
1764 Update for change to prologue skipping:
1765 * gdb.mi/mi2-simplerun.exp: Update.
1766 * gdb.mi/mi2-break.exp: Update.
1767 * gdb.mi/mi-simplerun.exp: Update.
1768 * gdb.mi/mi-break.exp: Update.
1769 * gdb.base/ending-run.exp: Update.
1770
def2b000
TJB
17712009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
1772
1773 * gdb.python/python-value.exp (test_value_in_inferior): Test
1774 gdb.Value.is_optimized_out attribute.
1775
442ddf59
JK
17762009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1777
1778 * gdb.dwarf2/dw2-noloc-main.c: New file.
1779 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
1780 (.text): Remove.
1781 (.data): New.
1782 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
1783 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
1784 (DW_TAG_subprogram func_cu1, noloc): Remove.
1785 (main): New.
1786 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
1787 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
1788 (file_symbols): New procedure.
1789
a8df5de4
TT
17902009-03-25 Tom Tromey <tromey@redhat.com>
1791
1792 * gdb.base/charset.exp (valid_target_charset): New proc.
1793 Use it to skip tests on invalid charsets.
1794
cc1d7add
PM
17952009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
1796
1797 * gdb.base/completion.exp: Add a test for directory completion.
1798
bcd5727b
JK
17992009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1800
1801 Fix a racy FAIL.
1802 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
1803 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
1804
cc924cad
TJB
18052009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
1806
1807 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
1808 * gdb.python/python-function.exp: Add test for function returning
1809 a GDB value.
1810
bc3b79fd
TJB
18112009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
1812
1813 * gdb.python/python-function.exp: New file.
1814
6c7a06a3
TT
18152009-03-20 Tom Tromey <tromey@redhat.com>
1816
1817 * gdb.base/store.exp: Update for change to escape output.
1818 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
1819 to escape output.
1820 * gdb.base/pointers.exp: Update for change to escape output.
1821 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
1822 to escape output.
1823 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
1824 escape output.
1825 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
1826 to escape output.
1827 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
1828 escape output.
1829 * gdb.base/setvar.exp: Update for change to escape output.
1830 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
1831 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
1832 to escape output.
1833 (test_print_string_constants): Likewise.
1834 * gdb.base/charset.exp (valid_host_charset): Check size of
1835 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
1836 cases. Handle "auto"-related output.
1837 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
1838 (uvar, Uvar): New globals.
1839
c31af87b
JG
18402009-03-19 Jerome Guitton <guitton@adacore.com>
1841
1842 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
1843 deltas.
1844 * gdb.ada/fixed_points.exp: Ditto.
1845
51272cf2
PA
18462009-03-18 Pedro Alves <pedro@codesourcery.com>
1847
1848 * return-nodebug.c: Don't include stdio.h.
1849 (init): Delete.
1850 (func): Delete definition and provide extern declaration.
1851 (t): New.
1852 (main): Don't call printf. Call func and store its result in t.
1853 * return-nodebug1.c: New.
1854 * return-nodebug.exp: Don't expect stdio output. Instead, print
1855 the global variable t. Drop printf formatters and cast types from
1856 foreach loop. Don't use prepare_for_testing. Compile
1857 return-nodebug.c and return-nodebug1.c in separate steps. Don't
1858 define FORMAT or CAST.
1859
d24948ac
PP
18602009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1861
1862 * gdb.base/solib-display.exp: Disable test for remote targers.
1863
61ff14c6
JK
18642009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1865
1866 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
1867
cb4dce93
JK
18682009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1869
1870 Fix a racy FAIL.
1871 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
1872 code from `follow parent, print pids'.
1873 (`follow child, print pids', `follow parent, print pids'): Call it.
1874 Replace `gdb_test "break..."' by gdb_breakpoint.
1875
f7c60c5e
VP
18762009-03-13 Vladimir Prus <vladimir@codesourcery.com>
1877
1878 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 1879 sync and async modes.
f7c60c5e 1880
383ace49
JB
18812009-03-12 Joel Brobecker <brobecker@adacore.com>
1882
1883 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
1884 that was checked in by mistake. Remove loading of ada.exp, since
1885 this is not necessary in this case.
1886
4ce102af
JB
18872009-03-12 Joel Brobecker <brobecker@adacore.com>
1888
1889 * gdb.ada/ptype_arith_binop.exp: New testcase.
1890
529a2aef
JB
18912009-03-12 Joel Brobecker <brobecker@adacore.com>
1892
1893 * gdb.ada/mod_from_name: New testcase.
1894
8a38181c
JB
18952009-03-12 Joel Brobecker <brobecker@adacore.com>
1896
1897 * gdb.ada/tick_last_segv: New testcase.
1898
11436dee
VP
18992009-03-12 Vladimir Prus <vladimir@codesourcery.com>
1900
61ff14c6 1901 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 1902
1f31650a
VP
19032009-03-12 Vladimir Prus <vladimir@codesourcery.com>
1904
61ff14c6
JK
1905 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
1906 include the token in ^running and frame info in *stopped.
1f31650a 1907
a3247a22
PP
19082009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1909
1910 * solib-display.exp: New file.
1911 * solib-display-main.c: New file.
1912 * solib-display-lib.c: New file.
61ff14c6 1913
aae64587
PA
19142009-03-05 Pedro Alves <pedro@codesourcery.com>
1915
1916 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
1917
44aabfbc
JK
19182009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1919
1920 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
1921 (list_and_check_macro): Use more specific test name.
1922 (next to definition): Make the test names unique.
1923
c087fcd3
PM
19242009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1925
1926 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 1927
c86cf029
VP
19282009-02-17 Vladimir Prus <vladimir@codesourcery.com>
1929
1930 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
1931 notifications.
1932 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
1933 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
1934 * lib/mi-support.exp (library_loaded_re): New.
1935 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
1936
3ea85240
VP
19372009-02-17 Vladimir Prus <vladimir@codesourcery.com>
1938
1939 * gdb.gdb/observer.exp: Use test_notification observer, not
1940 normal_stop, everywhere.
1941 (test_normal_stop_notifications): Rename to...
1942 (test_notifications): ...this.
1943 (test_observer_normal_stop): Rename to...
1944 (test_observer): ...this.
1945
1903f0e6
DE
19462009-02-16 Doug Evans <dje@google.com>
1947
1948 * gdb.arch/amd64-disp-step.S (test_int3): New test.
1949 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
1950 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
1951 (test_prefixed_syscall,test_int3): New tests.
1952 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
1953 (test_prefixed_syscall,test_int3): New tests.
1954
1d33d6ba
VP
19552009-02-14 Vladimir Prus <vladimir@codesourcery.com>
1956
3cb51905
AS
1957 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
1958 (mi_expect_interrupt): Likewise.
1959 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
1960 response.
1d33d6ba 1961
faafb047
PM
19622009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
1963
1964 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
1965 * gdb.base/pc-fp.exp (get_valueofx): Remove.
1966 Replace calls to get_valueofx by get_hexadecimal_valueof.
1967
417e16e2
PM
19682009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
1969
1970 * lib/gdb.exp (get_valueof): Accept anything as a return value.
1971 (get_integer_valueof): New procedure.
1972 (get_sizeof): Use new get_integer_value_of.
1973 * gdb.base/sizeof.exp: Replace all uses of get_valueof
1974 by get_integer_valueof.
1975
7065b901
TT
19762009-02-13 Tom Tromey <tromey@redhat.com>
1977
1978 * gdb.base/remote.exp (get_sizeof): Remove.
1979 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
1980 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
1981 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
1982 * lib/gdb.exp (get_valueof): Move from long_long.exp.
1983 (get_sizeof): Likewise.
1984
5d7cb8df
JK
19852009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1986
1987 PR fortran/9806
1988 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
1989
b2febfff
PP
19902009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1991
1992 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
1993
4aa995e1
PA
19942009-02-06 Pedro Alves <pedro@codesourcery.com>
1995
1996 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
1997
d8906c6f
TJB
19982009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
1999
2000 * gdb.python/python-cmd.exp: New file.
2001
ff4ab08d
TG
20022009-02-06 Tristan Gingold <gingold@adacore.com>
2003
2004 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
2005
aacd552b
TG
20062009-02-05 Tristan Gingold <gingold@adacore.com>
2007
2008 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
2009 pointer is dereferenced and use this signal name in regexp.
2010 * gdb.base/signull.exp: Ditto.
2011 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
2012 * gdb.base/signull.c (main): Ditto.
2013
08c637de
TJB
20142009-02-04 Tom Tromey <tromey@redhat.com>
2015 Thiago Jung Bauermann <bauerman@br.ibm.com>
2016
2017 * gdb.python/python-value.exp: Use `gdb.history' instead of
2018 `gdb.value_from_history'.
2019 (test_value_numeric_ops): Add test for conversion of enum constant.
2020 * gdb.python/python-value.c (enum e): New type.
2021 (evalue): New global.
2022 (main): Use argv.
2023
20261af8
JG
20242009-02-04 Jerome Guitton <guitton@adacore.com>
2025
2026 * gdb.ada/uninitialized_vars: New test program.
2027 * gdb.ada/uninitialized_vars.exp: New testcase.
2028
52e44b43
TT
20292009-02-02 Tom Tromey <tromey@redhat.com>
2030
2031 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
2032 * gdb.cp/pr2489.cc: Rename...
2033 * gdb.cp/pr9594.cc: ... to this.
2034
1c71341a
TT
20352009-02-02 Tom Tromey <tromey@redhat.com>
2036
2037 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
2038 * gdb.cp/pr2489.cc: New file.
2039 * gdb.cp/cpcompletion.exp: New file.
2040
a4295225
TT
20412009-02-02 Tom Tromey <tromey@redhat.com>
2042
2043 PR exp/9059:
2044 * gdb.cp/call-c.exp: Add regression test.
2045 * gdb.cp/call-c.cc (FooHandle): New typedef.
2046 (main): New variable 'handle'.
2047
592375cd
VP
20482009-01-30 Vladimir Prus <vladimir@codesourcery.com>
2049
2050 * lib/mi-support.exp (et_mi_thread_list)
2051 (check_mi_and_console_threads): Adjust for current thread in
2052 -thread-list-ids output.
2053
41447f92
VP
20542009-01-30 Vladimir Prus <vladimir@codesourcery.com>
2055
2056 * gdb.mi/mi-break.exp (test_disabled_creation): New.
2057 Call it.
2058
35669430
DE
20592009-01-28 Doug Evans <dje@google.com>
2060
2061 * gdb.arch/amd64-disp-step.S: New file.
2062 * gdb.arch/amd64-disp-step.exp: New file.
2063 * gdb.arch/i386-disp-step.S: New file.
2064 * gdb.arch/i386-disp-step.exp: New file.
2065
09f00d9a
PM
20662009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
2067
2068 * gdb.base/find.exp: Set newline variable
2069 using quotes instead of braces to fix cygwin failures.
2070
1e8fb976
PA
20712009-01-23 Pedro Alves <pedro@codesourcery.com>
2072
2073 * gdb.base/radix.exp: Add tests to ensure that that set
2074 input-radix 0 and set output-radix 0 are really rejected.
2075
da061712
PA
20762009-01-23 Pedro Alves <pedro@codesourcery.com>
2077
2078 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
2079 copyright years.
2080
dd7e2d2b
PA
20812009-01-23 Pedro Alves <pedro@codesourcery.com>
2082
2083 PR gdb/9664:
2084 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
2085
392452f6
PA
20862009-01-22 Pedro Alves <pedro@codesourcery.com>
2087
2088 PR c++/9631:
2089 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
2090
8653e71c
PM
20912009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
2092
2093 * gdb.server/file-transfer.exp: Use EXEEXT variable for
2094 binfile definition to fix Windows OS failure.
2095
a12cc160
DJ
20962009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
2097
2098 PR gdb/9346
2099 * gdb.base/interrupt.c (sigint_handler): New.
2100 (main): Install a SIGINT handler if SIGNALS is defined. Exit
2101 on error.
2102 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
2103 Test "signal SIGINT".
2104
b89667eb
DE
21052009-01-19 Doug Evans <dje@google.com>
2106
2107 * gdb.base/break.exp: Update expected gdb output.
2108 * gdb.base/sepdebug.exp: Ditto.
2109 * gdb.mi/mi-syn-frame.exp: Ditto.
2110 * gdb.mi/mi2-syn-frame.exp: Ditto.
2111 * gdb.base/call-signal-resume.exp: New file.
2112 * gdb.base/call-signals.c: New file.
2113 * gdb.base/unwindonsignal.exp: New file.
2114 * gdb.base/unwindonsignal.c: New file.
2115 * gdb.threads/interrupted-hand-call.exp: New file.
2116 * gdb.threads/interrupted-hand-call.c: New file.
2117 * gdb.threads/thread-unwindonsignal.exp: New file.
2118
adb483fe
DJ
21192009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
2120
2121 * gdb.base/define.exp: Test defining and hooking prefix commands.
2122 * gdb.python/python.exp: Update test for "show user" output.
2123
60023297
JK
21242009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2125
2126 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
2127 now the output exactly, using less wildcards. Expect also the output
2128 of gfortran-4.3. Update for the f-valprint.c modification from
2129 2008-04-22.
2130 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
2131 Remove gdb_test test names where matching the command.
2132
ccc57cf9
PA
21332009-01-01 Pedro Alves <pedro@codesourcery.com>
2134
2135 PR breakpoints/9681:
2136 * gdb.base/watchpoint.exp: Add regression test.
2137
c7a6ca08
PA
21382008-12-31 Pedro Alves <pedro@codesourcery.com>
2139
2140 * gdb.threads/attach-into-signal.exp: Don't use
2141 gdb_suppress_entire_file.
2142 * gdb.threads/attach-stopped.exp: Ditto.
2143 * gdb.threads/attachstop-mt.exp: Ditto.
2144
3a031f65
PA
21452008-12-31 Pedro Alves <pedro@codesourcery.com>
2146
2147 PR gdb/8812:
2148 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
2149
09e6485f
PA
21502008-12-29 Pedro Alves <pedro@codesourcery.com>
2151
2152 PR gdb/7536:
2153 * gdb.base/radix.exp: Add tests to ensure invalid input radices
2154 and unsupported output radices are really rejected.
2155
0cd53049
JK
21562008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2157
2158 * gdb.cp/punctuator.exp: Backslash the '$' signs.
2159
ba163c7e
TT
21602008-12-22 Tom Tromey <tromey@redhat.com>
2161
2162 * gdb.cp/punctuator.exp: New file.
2163
6f4de6c9
JK
21642008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2165
2166 * gdb.base/completion.exp (Completing non-existing component): New test.
2167
0f34d0b4
JK
21682008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2169
2170 Fix for PR gdb/8648.
2171 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
2172 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
2173 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
2174 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
2175
db2ad4c3
JK
21762008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2177
2178 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
2179
bb5ef15e
DP
21802008-12-16 Christophe Lyon <christophe.lyon@st.com>
2181
2182 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
2183 compiler actually generate code at the expected line number.
2184
90142adc
JZ
21852008-12-15 Jie Zhang <jie.zhang@analog.com>
2186
2187 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
2188
fad6eecd
TT
21892008-12-12 Tom Tromey <tromey@redhat.com>
2190
2191 * gdb.base/commands.exp (redefine_hook_test): New proc.
2192 Call it.
2193
17c8aaf5
TT
21942008-12-11 Tom Tromey <tromey@redhat.com>
2195
2196 * gdb.base/macscp.exp: New regression test.
2197
7c8adf68
TT
21982008-12-11 Tom Tromey <tromey@redhat.com>
2199
2200 * gdb.base/macscp.exp: Print "address.addr".
2201 * gdb.base/macscp1.c (struct outer): New struct.
2202 (address): New global.
2203
b05dcbb7
TT
22042008-12-09 Tom Tromey <tromey@redhat.com>
2205
2206 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
2207 Call it.
2208
2d476de1
DE
22092008-12-04 Doug Evans <dje@google.com>
2210
2211 * gdb.server/ext-run.exp: Relax regexp for init program.
2212
87bdc959
TG
22132008-12-03 Tristan Gingold <gingold@adacore.com>
2214
2215 * gdb.base/macscp.exp: Generate an object file during compilation
2216 to work around Darwin dsymutil limitations.
2217
e0740f77
JK
22182008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2219
2220 Test resolving external references to TLS variables.
2221 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
2222 FILE2_THREAD_LOCAL.
2223 (testfile2, srcfile2): New variables.
2224 * gdb.threads/tls.c (file2_thread_local)
2225 (function_referencing_file2_thread_local): New.
2226 * gdb.threads/tls2.c: New file.
2227
67f0aac5
JB
22282008-11-28 Joel Brobecker <brobecker@adacore.com>
2229
2230 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
2231 rather than integer, as integer might not be big enough when
2232 on 64bit targets.
67f0aac5 2233
c332165e
JG
22342008-11-27 Jerome Guitton <guitton@adacore.com>
2235
2236 * gdb.cp/formatted-ref.exp: Add equality test.
2237 * gdb.ada/formatted_ref.exp: Ditto.
2238
fc9b693c
JK
22392008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2240
2241 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
2242 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
2243
a9c64011
AS
22442008-11-20 Andreas Schwab <schwab@suse.de>
2245
2246 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
2247 matching syscall entry point.
2248 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2249 (tcatch_vfork_then_child_follow): Likewise. Finish through
2250 vfork even if we stopped at the syscall trampoline.
2251
e2fd701e
DE
22522008-11-20 Doug Evans <dje@google.com>
2253
2254 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
2255
69abc51c
TJB
22562008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
2257
2258 * gdb.arch/ppc-dfp.exp: New file.
2259 * gdb.arch/ppc-dfp.c: New file.
2260
c14c28ba
PP
22612008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2262
2263 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 2264
2e74121d
DE
22652008-11-17 Doug Evans <dje@google.com>
2266
2267 * gdb.mi/mi-syn-frame.exp: Update expected output.
2268 * gdb.mi/mi2-syn-frame.exp: Update expected output.
2269
66bb093b
VP
22702008-11-17 Vladimir Prus <vladimir@codesourcery.com>
2271
2272 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
2273 "thread N" results in =thread-selected.
2274 * lib/mi-support (mi_run_cmd, mi_expect_stop)
2275 (mi_send_resuming_command_raw): Be prepared for
2276 =thread-selected.
2277
3d043ef6
VP
22782008-11-17 Vladimir Prus <vladimir@codesourcery.com>
2279
a9c64011
AS
2280 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
2281 * lib/mi-support.exp: Likewise.
3d043ef6 2282
808104c8
JB
22832008-11-16 Joel Brobecker <brobecker@adacore.com>
2284
2285 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
2286 commands from the expected output for "help catch".
2287
00b22944
JB
22882008-11-15 Joel Brobecker <brobecker@adacore.com>
2289
2290 * gdb.ada/int_deref.exp: New testcase.
2291
59669435
TT
22922008-11-14 Nick Roberts <nickrob@snap.net.nz>
2293
2294 * gdb.mi/gdb2549.exp: New file.
2295
de04a248
DE
22962008-11-11 Doug Evans <dje@google.com>
2297
2298 * gdb.base/callexit.exp: New file.
2299 * gdb.base/callexit.c: New file.
2300
6b8ce727
DE
23012008-11-10 Doug Evans <dje@google.com>
2302
2303 * lib/gdb.exp (GDBFLAGS): Move -nx ...
2304 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
2305 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
2306 (default_gdb_start,default_gdb_exit): Ditto.
2307 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
2308 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
2309 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
2310 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
2311 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
2312 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
2313
1b14b8aa
AS
23142008-11-03 Andreas Schwab <schwab@suse.de>
2315
2316 * gdb.base/hashline2.exp: Fix typo.
2317 * gdb.base/hashline3.exp: Likewise.
2318
f3134b88
TT
23192008-10-30 Tom Tromey <tromey@redhat.com>
2320
2321 * gdb.base/pointers.exp: Add test.
2322 * gdb.base/pointers.c (k, S): New typedefs.
2323 (instance): New global.
2324
c2226152
AS
23252008-10-30 Andreas Schwab <schwab@suse.de>
2326
2327 * gdb.base/args.exp: Add tests for newlines.
2328
462f405c
JB
23292008-10-30 Joel Brobecker <brobecker@adacore.com>
2330
2331 gdb.base/foll-exec.exp: Update the expected output of a couple
2332 of "info breakpoints" tests.
2333
79a45b7d
TT
23342008-10-28 Tom Tromey <tromey@redhat.com>
2335
2336 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
2337
adc13a14
PA
23382008-10-24 Pedro Alves <pedro@codesourcery.com>
2339
2340 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
2341 gdb_start_cmd.
2342 Use runto_main before any test that requires execution.
2343
252fbfc8
PA
23442008-10-23 Pedro Alves <pedro@codesourcery.com>
2345
2346 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
2347 instead of SIGINT.
2348
28148e3d
JB
23492008-10-22 Joel Brobecker <brobecker@adacore.com>
2350
2351 * gdb.base/completion.exp: Update expected output following
2352 the addition of the "info tasks" command.
2353
c209f847
TT
23542008-10-22 Tom Tromey <tromey@redhat.com>
2355
2356 * gdb.base/exprs.exp (test_expr): Add test for string
2357 concatenation.
2358
f177e350
PA
23592008-10-19 Pedro Alves <pedro@codesourcery.com>
2360
2361 * configure.ac: Output gdb.python/Makefile.
2362 * configure: Regenerate.
2363 * gdb.python/Makefile.in: New.
2364
cce89356
JB
23652008-10-16 Joel Brobecker <brobecker@adacore.com>
2366
2367 * gdb.base/foll-fork.exp: Adjust the expected output to match
2368 the new description for fork/vfork catchpoints in the "info
2369 breakpoints" output.
2370
176d289d
TJB
23712008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2372
2373 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
2374
a08702d6
TJB
23752008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
2376
2377 * gdb.python/python-value.c: New file.
2378 * gdb.python/python-value.exp: New file.
2379
1c5cfe86
PA
23802008-10-15 Pedro Alves <pedro@codesourcery.com>
2381
2382 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
2383
5a98ad69
DP
23842008-10-15 Denis Pilat <denis.pilat@st.com>
2385
41702f1b 2386 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 2387
dcb1a1e2
TT
23882008-10-09 Tom Tromey <tromey@redhat.com>
2389
2390 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
2391 'fprintf' and 'stderr'.
2392
9124fe48
JB
23932008-10-07 Joel Brobecker <brobecker@adacore.com>
2394
2395 * gdb.ada/ref_tick_size.exp: New testcase.
2396
45452591
DE
23972008-10-06 Doug Evans <dje@google.com>
2398
2399 * gdb.dwarf2/dw2-cu-size.exp: New file.
2400 * gdb.dwarf2/dw2-cu-size.S: New file.
2401
2402 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
2403 .Ltype_int for clarity.
2404
4fc5b208
PP
24052008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
2406
2407 PR gdb/2384:
2408 * gdb.cp/gdb2384.exp: Extended to test more cases.
2409 * gdb.cp/gdb2384.cc: Likewise.
2410 * gdb.cp/gdb2384-base.h: Likewise.
2411 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 2412
d78df370
JK
24132008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2414
2415 * gdb.base/maint.exp (maint print type): Remove printing
2416 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
2417
9a044a89
TT
24182008-09-30 Tom Tromey <tromey@redhat.com>
2419
2420 * gdb.base/macscp.exp: Add completion tests.
2421 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
2422 (TWENTY_THREE): Likewise.
2423 (FORTY_EIGHT): Likewise.
2424
506800a9
TT
24252008-09-30 Tom Tromey <tromey@redhat.com>
2426
2427 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
2428 everywhere.
2429 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
2430
1a6f01b5
JK
24312008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2432
2433 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
2434 testcase is derived from. Fix racy dependency on an expected PID
2435 number. No longer support the testcase on Linux kernel 2.4.x.
2436
2fae03e8
TT
24372008-09-27 Tom Tromey <tromey@redhat.com>
2438
2439 * gdb.base/macscp.exp: Add tests for stringification, splicing,
2440 and varargs.
2441
1ad15515
PA
24422008-09-22 Pedro Alves <pedro@codesourcery.com>
2443
2444 * lib/mi-support.exp (mi_expect_interrupt): New.
2445 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
2446 from gdb.mi/mi-nonstop.exp.
2447 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
2448 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
2449 lib/mi-support.exp.
2450 Use mi_check_thread_states throughout. Avoid ".*" and do not
2451 require an anchor after -exec-run.
2452
d0b76dc6
DJ
24532008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
2454
2455 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
2456 stop is pending. Avoid ".*" when two stops are pending.
2457 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
2458 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
2459 newlines in fullnames.
2460 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
2461 (mi_expect_stop): Update comments. Only anchor in sync mode.
2462 Do not match newlines.
2463 (mi_send_resuming_command_raw): Always return status.
2464 (mi_get_stop_line): Do not match more than one line by accident.
2465 Only anchor in sync mode.
2466 (mi_run_inline_test): If -exec-next fails, give up.
2467
9990c830
UW
24682008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2469
2470 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
2471 on SPU.
2472
ebcf6f00
JB
24732008-09-10 Joel Brobecker <brobecker@adacore.com>
2474
2475 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
2476
b6db24e5
JB
24772008-09-10 Joel Brobecker <brobecker@adacore.com>
2478
2479 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
2480 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
2481 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
2482 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
2483 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
2484 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
2485 gdb.ada/interface.exp, gdb.ada/null_array.exp,
2486 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
2487 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
2488 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
2489 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
2490 Include the "= " sequence in the expected output of print tests.
2491
2bf448e0
JB
24922008-09-10 Joel Brobecker <brobecker@adacore.com>
2493
2494 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
2495 description for boolean types.
2496
d51fd4c8
PA
24972008-09-09 Pedro Alves <pedro@codesourcery.com>
2498
2499 * gdb.base/hook-stop-continue.c: New.
2500 * gdb.base/hook-stop-continue.exp: New.
2501
694182d2
DJ
25022008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2503
2504 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
2505
3b8a7fc0
JG
25062008-09-08 Jerome Guitton <guitton@adacore.com>
2507
2508 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
2509 (stack_check_probe_2, stack_check_probe_loop_1)
2510 (stack_check_probe_loop_2): New functions.
2511 (main): Add call to these new functions.
2512 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
2513 functions, check that the breakpoint is inserted at the appropriate
2514 location.
2515 (insert_breakpoint): Slightly refine this procedure so that it can
2516 be called several times in the test.
2517
96cc0ae8
JG
25182008-09-08 Jerome Guitton <guitton@adacore.com>
2519
2520 * gdb.base/stack-checking.c: New file.
2521 * gdb.base/stack-checking.exp: New file.
2522
1f08b409
TJB
25232008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
2524
2525 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
2526 * gdb.arch/altivec-regs.exp: Likewise.
2527 * gdb.arch/vsx-regs.exp: Likewise.
2528
3099e1c4
TJB
25292008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
2530
2531 * gdb.arch/ppc-fp.exp: New file.
2532 * gdb.arch/ppc-fp.c: New file.
2533
cc69bfc1
PP
25342008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2535
2536 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
2537 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 2538
b02a33db
MS
25392008-09-04 Michael Snyder <msnyder@vmware.com>
2540
2541 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
2542 as "at" (for non-debug functions such as _start).
2543
2992cbe0
UW
25442008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2545
2546 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
2547 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
2548 software watchpoints.
2549 * gdb.base/watch_thread_num.exp: Likewise.
2550
514f746b
AR
25512008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
2552
2553 * gdb.arch/i386-bp_permanent.exp: New test.
2554
876cecd0
TT
25552008-08-24 Tom Tromey <tromey@redhat.com>
2556
2557 * gdb.base/maint.exp: Update "maint print type".
2558
80f73d71
VP
25592008-08-21 Vladimir Prus <vladimir@codesourcery.com>
2560
2561 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
2562 support. Adjust the order of "*running" notifications.
2563 * gdb.mi/non-stop.c: Don't cast from int to void* and
2564 back.
2565
d9c78d7d
MK
25662008-08-20 Mark Kettenis <kettenis@gnu.org>
2567
2568 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
2569 expect to find it in the "info frame" output.
2570
97a2d1d3
DJ
25712008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
2572
2573 * gdb.base/interp.exp: Always consume both prompts.
2574
b96e2927
PA
25752008-08-20 Pedro Alves <pedro@codesourcery.com>
2576
2577 * gdb.base/pending.exp: Test pending breakpoints without symbols
2578 loaded.
2579
8cf6e61a
VP
25802008-08-19 Vladimir Prus <vladimir@codesourcery.com>
2581
2582 * lib/mi-support.exp (mi_expect_stop): Produce
2583 more details on failures.
2584 * gdb.mi/mi-nonstop.exp: New.
2585 * gdb.mi/non-stop.c: New.
2586
c6ebd6cf
VP
25872008-08-19 Vladimir Prus <vladimir@codesourcery.com>
2588
a9c64011
AS
2589 * gdb.mi/mi-async.exp: Use 'set target-async'.
2590 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 2591
46a9b8ed
DJ
25922008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
2593
2594 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
2595
44feb3ce
TT
25962008-08-17 Tom Tromey <tromey@redhat.com>
2597
2598 * gdb.base/help.exp (help catch): Rewrite.
2599
311a4e6b
TJB
26002008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
2601
2602 * gdb.base/define.exp: Test indented command documentation.
2603 * gdb.python/python.exp: Test indented multi-line command.
2604
604c2f83
LM
26052008-08-15 Luis Machado <luisgpm@br.ibm.com>
2606
2607 * testsuite/gdb.arch/vsx-regs.c: New source file.
2608 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
2609 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
2610
886a217c
TT
26112008-08-14 Tom Tromey <tromey@redhat.com>
2612
2613 * gdb.base/macscp.exp: Add regression test for "macro define" or
2614 "macro undef" with no arguments.
2615
c814a4f3
PP
26162008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2617
2618 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 2619
12ab8a60
UW
26202008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2621
2622 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
2623
d57a3c85
TJB
26242008-08-06 Tom Tromey <tromey@redhat.com>
2625
2626 * gdb.python/python.exp: New file.
2627
c7b778ff
JK
26282008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2629
2630 Fix for PR gdb/1543.
2631 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
2632 $LOCATION.
2633 (location): New variable.
2634 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
2635 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
2636 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
2637 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
2638 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
2639 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
2640 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
2641 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
2642 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
2643 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
2644 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
2645 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
2646 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
2647 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
2648 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2649 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
2650 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
2651 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
2652 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
2653 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2654 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
2655 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
2656 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
2657 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
2658 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
2659 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
2660 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
2661 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
2662 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
2663 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
2664 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
2665 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
2666 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
2667 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
2668 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
2669 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
2670 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
2671 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2672 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
2673 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
2674 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
2675 gdb.base/type-opaque.exp, gdb.base/until.exp,
2676 gdb.base/value-double-free.c, gdb.base/varargs.exp,
2677 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
2678 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
2679 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2680 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
2681 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
2682 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2683 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2684 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2685 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
2686 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
2687 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
2688 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
2689 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
2690 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
2691 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
2692 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2693 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
2694 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
2695 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
2696 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
2697 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
2698 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
2699 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
2700 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
2701 gdb.pascal/types.exp, gdb.stabs/weird.exp,
2702 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
2703 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
2704 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
2705 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
2706 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
2707 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
2708 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2709 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
2710 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2711 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
2712 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2713 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2714 lib/mi-support.exp, lib/trace-support.exp: Remove reference
2715 to bug-gdb@prep.ai.mit.edu .
2716
5e06a3d1
VP
27172008-07-31 Vladimir Prus <vladimir@codesourcery.com>
2718
2719 * lib/mi-support.exp (mi_load_shlibs): New.
2720 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
2721
9d81d21b
VP
27222008-07-30 Vladimir Prus <vladimir@codesourcery.com>
2723
2724 * lib/mi-support.exp (get_mi_thread_list)
2725 (check_mi_and_console_threads): New, moved from ...
2726 * gdb.mi/mi-pthread.exp: ...here.
2727 * gdb.mi/gdb669.exp (get_mi_thread_list)
2728 (check_mi_and_console_threads): Delete.
2729 * gdb.mi/mi2-pthread.exp: Likewise.
2730
bae98fe0
TT
27312008-07-28 Tom Tromey <tromey@redhat.com>
2732
2733 * Makefile.in (just-check): Remove. Move body to...
2734 (check): ... here.
2735
57380f4e
DJ
27362008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
2737
2738 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
2739 Add a test for duplicated SIGINTs.
2740
e09490f1
DJ
27412008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
2742
2743 * gdb.threads/schedlock.exp (get_args): Update to work for any
2744 value of NUM.
2745 (Top level): Report the number of threads that did not resume.
2746
6387b45f
DJ
27472008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
2748
2749 * gdb.dwarf2/dw2-compressed.S: Also define __start.
2750
62f64ff2
DJ
27512008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
2752
2753 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
2754 non-MI prompt.
2755
fa8de41e
TT
27562008-07-26 Tom Tromey <tromey@redhat.com>
2757
2758 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
2759 (function_struct, function_struct_ptr): New globals.
2760 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
2761 function pointer in a struct.
2762
ccb3ac8a
TT
27632008-07-26 Tom Tromey <tromey@redhat.com>
2764
2765 * gdb.base/macscp.exp: Add test for macro lexing bug.
2766
d7d9f01e
TT
27672008-07-18 Tom Tromey <tromey@redhat.com>
2768
2769 * gdb.base/macscp.exp: Add macro tests.
2770
9bf07184
PP
27712008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2772
2773 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
2774
becf6477
PP
27752008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2776
2777 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
2778
0709f7d3
PP
27792008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2780
2781 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 2782
7093c834
PP
27832008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2784
2785 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 2786
b432ffe3
JK
27872008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2788
2789 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
2790
b1a268e5
VP
27912008-07-12 Vladimir Prus <vladimir@codesourcery.com>
2792
2793 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
2794
e2995f8e
KB
27952008-07-11 Kevin Buettner <kevinb@redhat.com>
2796
2797 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
2798 of regexp to account for changes made to GDB in the printing of
2799 byte vectors.
2800
14032a66
TT
28012008-07-11 Tom Tromey <tromey@redhat.com>
2802
2803 * gdb.base/completion.exp: Add 'help' completion test.
2804
981505ef
JK
28052008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2806
2807 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
2808
10568435
JK
28092008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2810
2811 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
2812
4487aabf
PA
28132008-07-09 Pedro Alves <pedro@codesourcery.com>
2814
2815 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
2816
a4a9b1c4
PA
28172008-07-09 Pedro Alves <pedro@codesourcery.com>
2818
2819 * gdb.base/fullname.exp: Restore pwd if compiling failed.
2820
3c3185ac
JK
28212008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2822
2823 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
2824
7ebd49dc
VP
28252008-06-28 Vladimir Prus <vladimir@codesourcery.com>
2826
2827 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
2828 previous commit. Add a comment.
2829
84e46146
PA
28302008-06-28 Pedro Alves <pedro@codesourcery.com>
2831
2832 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
2833
0f8d4a2f
VP
28342008-06-28 Vladimir Prus <vladimir@codesourcery.com>
2835
2836 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
2837
f747e0ce
PA
28382008-06-27 Pedro Alves <pedro@codesourcery.com>
2839
2840 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
2841 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
2842 compiling an executable, link in an object that forces unbuffered
2843 output.
2844 * lib/set_unbuffered_mode.c: New file.
2845
734a5c36
JK
28462008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2847
2848 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
2849
a2840c35
VP
28502008-06-25 Vladimir Prus <vladimir@codesourcery.com>
2851
a9c64011
AS
2852 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
2853 mi_expect_stop.
2854 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
2855 Demand that *running is output.
2856 (detect_async): Perform checking every time.
2857 (mi_send_resuming_command): Extract everything into...
2858 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
2859 (mi_expect_stop): Don't accept any output before *stopped.
2860
6ae37fef
VP
28612008-06-13 Vladimir Prus <vladimir@codesourcery.com>
2862
2863 Robustify mi-simplerun.
a9c64011
AS
2864 * gdb.mi/basics.c (main): Add a call to sleep.
2865 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
2866 * gdb.mi/mi2-cli.exp: Likewise.
2867 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 2868
b4aa76f0 28692008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
2870
2871 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
2872
e1ac3328
VP
28732008-06-10 Vladimir Prus <vladimir@codesourcery.com>
2874
a9c64011
AS
2875 * gdb.mi/mi-console.exp: Adjust.
2876 * gdb.mi/mi-syn-frame.exp: Adjust.
2877 * gdb.mi/mi2-console.exp: Adjust.
2878 * gdb.mi/mi2-syn-frame.exp: Adjust.
2879 * lib/mi-support.exp (mi_run_cmd): Adjust.
2880 (mi_send_resuming_command): Adjust.
e1ac3328 2881
f7f9a841
VP
28822008-06-10 Vladimir Prus <vladimir@codesourcery.com>
2883
2884 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
2885 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
2886 testing of stopped.
2887 * gdb.mi/mi2-syn-frame.exp: Likewise.
2888 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
2889 (async, detect_async): New.
2890 (mi_expect_stop, mi_continue_to_line): Adjust expectation
2891 depending on if we're running in sync or async mode.
f7f9a841 2892
37cd5d19
TT
28932008-06-09 Tom Tromey <tromey@redhat.com>
2894
2895 * gdb.base/completion.exp: New tests for field name completion
2896 with spaces, and field name completion with '->'.
2897
65d12d83
TT
28982008-06-06 Tom Tromey <tromey@redhat.com>
2899
2900 * gdb.base/break1.c (struct some_struct): New struct.
2901 (values): New global.
2902 * gdb.base/completion.exp: Add field name completion test.
2903
ebfe2e3f
PP
29042008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2905
2906 * gdb.cp/call-c.exp: Test for incorrect handling of reference
2907 to pointer.
2908 * gdb.cp/call-c.cc: Likewise.
2909
bcf6fc3a
NR
29102008-06-06 Nick Roberts <nickrob@snap.net.nz>
2911
2912 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
2913 annotation.
2914
49fd4a42 29152008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 2916 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
2917
2918 * gdb.threads/execl.c, gdb.threads/execl1.c,
2919 gdb.threads/execl.exp: New tests.
a9c64011 2920
8a34ac3f
AR
29212008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
2922 Daniel Jacobowitz <dan@codesourcery.com>
2923
2924 * gdb.cp/exception.exp: Activate test, make it work with pending
2925 catchpoints.
2926
86ae69ef
JK
29272008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2928
2929 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
2930
f7f9ae2c
VP
29312008-05-28 Vladimir Prus <vladimir@codesourcery.com>
2932
a9c64011
AS
2933 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
2934 now printed.
2935 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 2936
2a2d4dc3
AS
29372008-05-27 Andreas Schwab <schwab@suse.de>
2938
2939 * gdb.base/frame-args.exp: Handle arguments that are optimized
2940 out.
2941
5099e4d9
LM
29422008-05-26 Luis Machado <luisgpm@br.ibm.com>
2943
2944 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
2945 quiet for ppc32 and group options into a single variable.
2946
d9c36a91
JB
29472008-05-23 Joel Brobecker <brobecker@adacore.com>
2948
2949 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
2950 of zero-size elements.
2951 * gdb.ada/null_array.exp: Test printing this new array.
2952
103a8671
JK
29532008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2954
2955 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
2956
07a4cc1a 29572008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
2958
2959 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
2960 of the "finish" command.
2961
55f996a7
NR
29622008-05-21 Nick Roberts <nickrob@snap.net.nz>
2963
2964 * gdb.base/annota1.exp: Test for new annotation.
2965
907fc202
UW
29662008-05-16 Pedro Alves <pedro@codesourcery.com>
2967
2968 * gdb.base/fixsection.exp: New file.
2969 * gdb.base/fixsection0.c: New file.
2970 * gdb.base/fixsection1.c: New file.
2971
e8f97270
UW
29722008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2973
2974 * gdb.base/annota1.exp: Accept printf@... in place of printf.
2975 * gdb.base/annota3.exp: Likewise.
2976
ac0bb574
NF
29772008-05-13 Nathan Froyd <froydnj@codesourcery.com>
2978
2979 * gdb.base/watch_thread_num.exp: Don't run tests that require
2980 watchpoints if the target doesn't support them.
2981
6fadd07a
DE
29822008-05-12 Doug Evans <dje@google.com>
2983
2984 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
2985
6e9a4a30
JB
29862008-05-09 Joel Brobecker <brobecker@adacore.com>
2987
2988 * gdb.ada/assign_1.exp: New testcase.
2989
08388c79
DE
29902008-05-09 Doug Evans <dje@google.com>
2991
a3c83fae
DE
2992 * gdb.base/find.exp: New file.
2993 * gdb.base/find.c: New file.
08388c79 2994
bd5ddfe8
DJ
29952008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
2996
2997 * gdb.base/commands.exp (watchpoint_command_test): Handle
2998 gdb,no_hardware_watchpoints.
2999 * gdb.base/float.exp: Allow ARM targets without floating point.
3000 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
3001
b5dd68e2 30022008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 3003 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
3004
3005 * gdb.ada/lang_switch: New test program.
3006 * gdb.ada/lang_switch.exp: New testcase.
3007
382d13d1
DE
30082008-05-05 Doug Evans <dje@google.com>
3009
3010 * gdb.base/help.exp (disassemble): Update expected help text.
3011
9dd789d0
PA
30122008-05-04 Pedro Alves <pedro@codesourcery.com>
3013
3014 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
3015
611c83ae
PA
30162008-05-04 Pedro Alves <pedro@codesourcery.com>
3017
3018 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
3019 different times.
3020
ff013f42
JK
30212008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3022
3023 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
3024 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
3025 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
3026 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
3027
96dff6a2
VP
30282008-05-04 Vladimir Prus <vladimir@codesourcery.com>
3029
3030 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
3031 notification to appear.
3032
55cd6f92
DJ
30332008-05-04 Daniel Jacobowitz <dan@debian.org>
3034
3035 * gdb.base/fullname.c: New file.
3036 * gdb.base/fullname.exp: New file.
3037 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
3038
d705c43c
PA
30392008-05-03 Pedro Alves <pedro@codesourcery.com>
3040
3041 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
3042 expressions with macros.
3043
333222e1
JK
30442008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3045
3046 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
3047
5ac01682
DJ
30482008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
3049
3050 * gdb.base/completion.exp: Handle lack of other symbols beginning
3051 with "a".
3052
3053 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
3054
237fc4c9
PA
30552008-05-02 Jim Blandy <jimb@codesourcery.com>
3056
3057 * gdb.asm/asmsrc1.s: Add scratch space.
3058
ed5e9466
DJ
30592008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3060 Daniel Jacobowitz <dan@codesourcery.com>
3061
3062 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
3063 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
3064 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
3065
b39cc962
DJ
30662007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
3067
3068 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
3069
36d520f5
JB
30702008-05-01 Joel Brobecker <brobecker@adacore.com>
3071
3072 * gdb.base/info-target.exp: New testcase.
3073
8d4e3071
DJ
30742008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
3075
3076 * gdb.cp/hang.exp: Use .cc instead of .C.
3077 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
3078 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
3079
6f3f3097
DJ
30802008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
3081
3082 * gdb.base/gdb1250.exp: Remove perror.
3083 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
3084
5550a914
PA
30852008-04-30 Pedro Alves <pedro@codesourcery.com>
3086
3087 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
3088 .2byte.
3089
d848e687
DJ
30902008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
3091
3092 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
3093 (maybe_kfail): New.
3094
93b5768b
PA
30952008-04-25 Pedro Alves <pedro@codesourcery.com>
3096
3097 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
3098
721c02de
VP
30992008-04-24 Vladimir Prus <vladimir@codesourcery.com>
3100
a9c64011
AS
3101 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
3102 * gdb.mi/mi2-syn-frame.exp: Likewise.
3103 * lib/mi-support.exp: Likewise.
721c02de 3104
74960c60
VP
31052008-04-24 Vladimir Prus <vladimir@codesourcery.com>
3106
3107 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
3108 to specify regexp for the location to stop at.
3109 * gdb.base/break-always.c: New.
3110 * gdb.base/break-always.exp: New.
3111
d24317b4
VP
31122008-04-24 Vladimir Prus <vladimir@codesourcery.com>
3113
3114 * lib/mi-support.exp (mi_runto_helper): Adjust
3115 for the original-location field.
3116 (mi_create_breakpoint, mi_list_breakpoints): New.
3117 * gdb.mi/mi-break.exp: Adjust.
3118 * gdb.mi/mi2-break.exp: Adjust.
3119 * gdb.mi/mi-pending.exp: Adjust.
3120 * gdb.mi/mi-simplerun.exp: Adjust.
3121 * gdb.mi/mi2-simplerun.exp: Adjust.
3122 * gdb.mi/mi-syn-frame.exp: Adjust.
3123 * gdb.mi/mi2-syn-frame.exp: Adjust.
3124 * gdb.mi/mi-until.exp: Adjust.
3125 * gdb.mi/mi2-until.exp: Adjust.
3126 * gdb.mi/mi-var-display.exp: Adjust.
3127 * gdb.mi/mi2-var-display.exp: Adjust.
3128 * gdb.mi/mi-watch.exp: Adjust.
3129 * gdb.mi/mi2-watch.exp: Adjust.
3130
fdc59709 31312008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 3132
a9c64011
AS
3133 * aclocal.m4: Add override.m4.
3134 * configure: Regenerate.
fdc59709 3135
8e91f023
VP
31362008-04-19 Vladimir Prus <vladimir@codesourcery.com>
3137
3138 * gdb.mi/var-cmd.c (do_at_tests): Verify that
3139 '-var-update --all-values' reports new value even the type
3140 of a variable object has changed.
3141
233a11ab
CS
31422008-04-18 Craig Silverstein <csilvers@google.com>
3143
3144 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
3145 files.
d24317b4 3146
9c1137ad
JB
31472008-04-18 Joel Brobecker <brobecker@adacore.com>
3148
3149 * gdb.ada/atomic_enum: New test program.
3150 * gdb.ada/atomic_enum.exp: New testcase.
3151
66d0bbc7
DE
31522008-04-17 Doug Evans <dje@google.com>
3153
3154 * gdb.opt/Makefile.in: Fix whitespace.
3155
100906b0
UW
31562008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
3157
3158 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
3159
4584e32e
DE
31602008-04-17 Doug Evans <dje@google.com>
3161
3162 * gdb.base/hashline1.exp: New testcase.
3163 * gdb.base/hashline2.exp: New testcase.
3164 * gdb.base/hashline2.exp: New testcase.
3165
0a320680
PA
31662008-04-17 Pedro Alves <pedro@codesourcery.com>
3167
3168 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
3169
18ac113b
AR
31702008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
3171
3172 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
3173 temporary breakpoint to match "Temporary breakpoint".
3174 * gdb.base/break.exp (delete_breakpoints): Likewise.
3175 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
3176 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
3177 * gdb.base/display.exp: Likewise.
3178 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
3179 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
3180 * gdb.base/restore.exp (restore_tests): Likewise.
3181 * gdb.base/sepdebug.exp: Likewise.
3182 * gdb.base/watchpoint.exp: Likewise.
3183 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
3184 * gdb.mi/mi-pending.exp: Likewise.
3185 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
3186 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
3187 * gdb.mi/mi-var-cmd.exp: Likewise.
3188 * gdb.mi/mi-var-display.exp: Likewise.
3189 * gdb.mi/mi2-cli.exp: Likewise.
3190 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
3191 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
3192 * gdb.mi/mi2-var-display.exp: Likewise.
3193 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
3194 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
3195 new "disp" field.
a9c64011 3196 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
3197 reason. This is to support fix for PR2424.
3198
add38693
JK
31992008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3200
3201 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
3202
fcacd99f
VP
32032008-04-13 Vladimir Prus <vladimir@codesourcery.com>
3204
3205 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 3206 field. Add more floating varobj tests.
fcacd99f 3207 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
3208 field.
3209 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
3210 (main): Call do_at_tests.
3211 * lib/mi-support.exp (mi_create_floating_varobj)
3212 (mi_varobj_update_with_type_change): New.
fcacd99f 3213
de051565
MK
32142008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
3215
3216 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
3217 option of -var-evaluate-expression.
3218 * gdb.mi/mi2-var-display.exp: Likewise.
3219
dbc52822
VP
32202008-04-07 Vladimir Prus <vladimir@codesourcery.com>
3221
3222 Introduce test setup helpers.
a9c64011
AS
3223 * lib/gdb.exp (build_executable, clean_restart)
3224 (prepare_for_testing): New.
3225 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
3226 * gdb.base/return.exp: Likewise.
3227 * gdb.base/ending-run.exp: Likewise.
dbc52822 3228
473591da
NR
32292008-04-07 Nick Roberts <nickrob@snap.net.nz>
3230
3231 * gdb.mi/mi-async.exp: New test for asynchronous Machine
3232 Interface (MI) responses.
3233
2b2d9e11
VP
32342008-04-06 Vladimir Prus <vladimir@codesourcery.com>
3235
a9c64011
AS
3236 * gdb.cp/breakpoint.cc: New code to test conditions involving
3237 member variables.
3238 * gdb.cp/breakpoint.exp: Test condition involving member
3239 variables.
2b2d9e11 3240
bb378428
VP
32412008-04-05 Vladimir Prus <vladimir@codesourcery.com>
3242
3243 * lib/mi-support.exp (mi_expect_stop): New.
3244 (mi_run_cmd): Change the
3245 token. Use mi_send_resuming_command, use
3246 mi_expect_stop.
3247 (mi_execute_to_helper): Rename to mi_execute_to.
3248 (mi_send_resuming_command): Add more error patterns.
3249 (mi_wait_for_stop): Renamed to...
3250 (mi_get_stop_line): ...this.
3251 (mi_run_inline_test): Adjust.
3252
3253 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
3254 * gdb.mi/mi-console.exp: Likewise.
3255 * gdb.mi/mi-pending.exp: Likewise.
3256 * gdb.mi/mi-simplerun.exp: Likewise.
3257 * gdb.mi/mi-stack.exp: Likewise.
3258 * gdb.mi/mi-stepi.exp: Likewise.
3259 * gdb.mi/mi-syn-frame.exp: Add comment.
3260 * gdb.mi/mi-until.exp: Likewise.
3261 * gdb.mi/mi-var-display.exp: Likewise.
3262 * gdb.mi/mi-watch.exp: Likewise.
3263 * gdb.mi/mi2-cli.exp: Likewise.
3264 * gdb.mi/mi2-console.exp: Likewise.
3265 * gdb.mi/mi2-simplerun.exp: Likewise.
3266 * gdb.mi/mi2-stack.exp: Likewise.
3267 * gdb.mi/mi2-stepi.exp: Likewise.
3268 * gdb.mi/mi2-until.exp: Likewise.
3269 * gdb.mi/mi2-var-display.exp: Likewise.
3270 * gdb.mi/mi2-watch.exp: Likewise.
3271
62172bb9
UW
32722008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3273
3274 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
3275
3276 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
3277
a13e061a
PA
32782008-04-04 Pedro Alves <pedro@codesourcery.com>
3279
3280 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
3281 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
3282 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
3283 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
3284 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
3285 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
3286 expect an mi error duplicated in stderr.
3287
eae06beb
JB
32882008-04-03 Joel Brobecker <brobecker@adacore.com>
3289
3290 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
3291 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
3292 Add a couple of tests that verify the behavior when the new setting
3293 is set to "cancel" and "all".
3294 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
3295 "ask" before we start the testing.
3296
79c6ced6
AR
32972008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
3298
3299 * gdb.cp/casts.cc: Add class reference variables.
3300 * gdb.cp/casts.exp: New test cases for up/down casting references.
3301
6c2d1a6b
MK
33022008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
3303
3304 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
3305 instead of beginning to make an extra test pass.
3306 * gdb.mi/mi2-var-display.exp: Likewise.
3307
55b411d9
MR
33082008-03-31 Maciej W. Rozycki <macro@mips.com>
3309
3310 * gdb.base/break.exp: Mark failures as such. Fix formatting.
3311
c6140da2
MD
33122008-03-31 Markus Deuling <deuling@de.ibm.com>
3313 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3314
3315 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
3316 value. Add xfail for older kernels.
3317
79732189
AR
33182008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
3319
3320 Bring mi-support in line with gdb.exp.
3321 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
3322 (mi_gdb_start): New function.
3323
33c3676e
MR
33242008-03-28 Maciej W. Rozycki <macro@mips.com>
3325
3326 * gdb.mi/mi-var-cmd.exp: Fix a typo.
3327
92e28119
VP
33282008-03-26 Vladimir Prus <vladimir@codesourcery.com>
3329
3330 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
3331 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 3332
9e8e3afe
VP
33332008-03-26 Vladimir Prus <vladimir@codesourcery.com>
3334
3335 * lib/mi-support.exp (mi_create_varobj_checked): New.
3336 (mi_list_varobj_children): Allow to check for a
3337 value.
3338 (mi_list_array_varobj_children): New.
3339
3340 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
3341 and mi_list_varobj_children, as opposed to hardcoding
3342 expected strings.
3343 * gdb.mi/gdb701.exp: Likewise.
3344 * gdb.mi/gdb792.exp: Likewise.
3345 * gdb.mi/mi-var-block.exp: Likewise.
3346 * gdb.mi/mi-var-cmd.exp: Likewise.
3347 * gdb.mi/mi-var-invalidate.exp: Likewise.
3348 * gdb.mi/mi2-var-block.exp: Likewise.
3349 * gdb.mi/mi2-var-child.exp: Likewise.
3350 * gdb.mi/mi2-var-cmd.exp: Likewise.
3351 * gdb.mi/mi2-var-display.exp: Likewise.
3352
9df50351
JK
33532008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3354
3355 Fix random false FAILs on i386.
3356 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
3357
31e5d73a
DJ
33582008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
3359
3360 PR gdb/544
3361 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
3362
12f4afab
DJ
33632008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
3364
3365 PR gdb/544
3366 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
3367
b562a0cb
DJ
33682008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
3369
3370 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
3371 fixed PR gdb/544.
3372
17faa917
DJ
33732008-03-21 Pedro Alves <pedro@codesourcery.com>
3374
3375 * gdb.threads/fork-child-threads.exp: Test next over fork.
3376
6214f497
DJ
33772008-03-21 Chris Demetriou <cgd@google.com>
3378
3379 * gdb.base/break.exp (rbreak junk): New test for rbreak
3380 "Junk at end of arguments" issue.
3381
63092375
DJ
33822008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
3383
3384 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
3385 *& to work on created array elements.
3386 (Top level): Test print $pc with a file. Test string operations
3387 without a target.
3388 * gdb.base/ptype.exp: Do not expect *& to work on created array
3389 elements.
3390
b21991b0
DJ
33912008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
3392
3393 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
3394 gdb.threads/staticthreads.exp: Update exit query.
3395
c4b347c7
SL
33962008-03-07 Sandra Loosemore <sandra@codesourcery.com>
3397
3398 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
3399
fa4727a6
DJ
34002008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
3401
3402 * gdb.base/watchpoint.c (global_ptr, func4): New.
3403 (main): Call func4.
3404 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
3405 (test_inaccessible_watchpoint): New.
3406
2f34202f
MR
34072008-02-29 Maciej W. Rozycki <macro@mips.com>
3408
3409 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
3410 select the largest.
3411
0d6ba1b1
DJ
34122008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
3413
3414 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
3415 frames-invalid annotations.
3416
e691325a
PM
34172008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
3418
a9c64011 3419 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 3420
f85b5ecc
DE
34212008-02-27 Doug Evans <dje@google.com>
3422
3423 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
3424 for bug 1738.
3425 (breakpoint_to_handler_entry): Ditto.
3426
b40e7bf3
JB
34272008-02-27 Joel Brobecker <brobecker@adacore.com>
3428
3429 * gdb.base/ending-run.exp: Use the first line of code inside
3430 function body to test breakpoints.
3431 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
3432 location where the breakpoint is inserted when using the line
3433 where a function is declared. Fix typo in the description of
3434 one of the tests.
3435 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
3436
2faca73a
PM
34372008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
3438
3439 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 3440 tests.
2faca73a 3441
6f439c36
PM
34422008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
3443
3444 * gdb.base/args.exp: avoid same output for tests
3445 with single quotes.
3446
54e52265
VP
34472008-02-26 Vladimir Prus <vladimir@codesourcery.com>
3448
a9c64011
AS
3449 * gdb.base/annota1.exp: Adjust for 'info break'
3450 format changes.
3451 * gdb.base/annota3.exp: Likewise.
3452 * gdb.base/break.exp: Likewise.
3453 * gdb.base/condbreak.exp: Likewise.
3454 * gdb.base/pending.exp: Likewise.
3455 * gdb.base/sepdebug.exp: Likewise.
3456 * gdb.base/unload.exp: Likewise.
3457 * gdb.cp/ovldbreak.exp: Likewise.
3458 * gdb.mi/mi-pending.exp: Likewise.
54e52265 3459
897b09ca
DE
34602008-02-07 Doug Evans <dje@google.com>
3461
3462 * gdb.cp/mb-inline.exp: New.
3463 * gdb.cp/mb-inline.h: New.
3464 * gdb.cp/mb-inline1.cc: New.
3465 * gdb.cp/mb-inline2.cc: New.
3466
b1c32d35
PM
34672008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
3468
3469 * gdb.pascal/floats.pas: New test program.
3470 * gdb.pascal/floats.exp: New testcase.
3471
1a4ca44a
TJB
34722008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
3473
3474 * gdb.base/callfuncs.c (t_float_many_args): New function.
3475 (t_double_many_args): New function.
3476 * gdb.base/callfuncs.exp: Add tests for exceeding float
3477 and double parameters passed through the stack.
3478
439048e8
JB
34792008-02-05 Joel Brobecker <brobecker@adacore.com>
3480
3481 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
3482 gdb.ada/complete/foo.adb: New files.
3483 * gdb.ada/complete.exp: New testcase.
3484
81fe8080
DE
34852008-02-03 Doug Evans <dje@google.com>
3486
301f0ecf
DE
3487 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
3488
81fe8080
DE
3489 * gdb.cp/gdb2384.exp: New file.
3490 * gdb.cp/gdb2384.cc: New file.
3491 * gdb.cp/gdb2384-base.h: New file.
3492 * gdb.cp/gdb2384-base.cc: New file.
3493
4b071aec
DE
34942008-02-02 Doug Evans <dje@google.com>
3495
3496 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
3497
61137ba6
JB
34982007-02-01 Joel Brobecker <brobecker@adacore.com>
3499
3500 * gdb.ada/sym_print_name: New test program.
3501 * gdb.ada/sym_print_name.exp: New testcase.
3502
35032007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
3504
3505 * gdb.ada/nested/hello.adb: New file.
3506 * gdb.ada/nested.exp: New testcase.
3507 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
3508
98deb0da
VP
35092008-02-01 Vladimir Prus <vladimir@codesourcery.com>
3510
3511 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
3512 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
3513 don't cause future evaluations of function to report
3514 creation of internal breakpoints.
98deb0da 3515
723a2275
VP
35162008-02-01 Vladimir Prus <vladimir@codesourcery.com>
3517
3518 * gdb.mi/mi-break.exp (test_error): New.
3519 Call it.
3520
fb546a2f
LM
35212008-01-31 Luis Machado <luisgpm@br.ibm.com>
3522
3523 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
3524 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
3525
2d8fd90a
PM
35262008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
3527
3528 * gdb.pascal/integers.pas: New test program.
3529 * gdb.pascal/integers.exp: New testcase.
3530
a7fa0ded
PM
35312008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
3532
3533 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
3534
5e1a1926
TJB
35352008-01-30 Luis Machado <luisgpm@br.ibm.com>
3536
3537 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
3538 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
3539
8d04f9f0
JB
35402008-01-30 Paul Hilfinger <hilfinger@adacore.com>
3541
3542 * gdb.ada/formatted_ref: New test program.
3543 * gdb.ada/formatted_ref.exp: New testcase.
3544
3545 * gdb.cp/formatted-ref.cc: New file.
3546 * gdb.cp/formatted-ref.exp: New testcase.
3547
ce75a98f
JB
35482008-01-30 Joel Brobecker <brobecker@adacore.com>
3549
3550 * gdb.base/ptype.exp: Add testing of "ptype $pc".
3551
e835f6bf
NR
35522008-01-30 Nick Roberts <nickrob@snap.net.nz>
3553
3554 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
3555 (test_file_list_exec_source_file): Update to new macro-info field.
3556
d118ef87
PH
35572008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
3558
3559 * gdb.ada/exprs: New test program.
3560 * gdb.ada/exprs.exp: New testcase.
3561
7d35ab09
TJB
35622008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3563
3564 * dfp-test.c (DELTA, DELTA_B): New definitions.
3565 (double_val1, double_val2, double_val3, double_val4, double_val5,
3566 double_val6, double_val7, double_val8, double_val9, double_val10,
3567 double_val11, double_val12, double_val13, double_val14, dec32_val1,
3568 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
3569 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
3570 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
3571 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
3572 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
3573 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
3574 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
3575 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
3576 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
3577 dec128_val16): New global variables.
3578 (decimal_dec128_align): New function.
3579 (decimal_mixed): Likewise.
3580 (decimal_many_args_dec32): Likewise.
3581 (decimal_many_args_dec64): Likewise.
3582 (decimal_many_args_dec128): Likewise.
3583 (decimal_many_args_mixed): Likewise.
3584 * dfp-test.exp: Add tests calling new inferior functions.
3585
2d717e4f
DJ
35862008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3587
3588 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
3589 gdb.server/ext-run.exp: New files.
3590 * lib/gdbserver-support.exp (gdbserver_download): New.
3591 (gdbserver_start): New. Update gdbserver expected
3592 output.
3593 (gdbserver_spawn): Use them.
3594 (gdbserver_start_extended): New.
3595
e85a822c
DJ
35962008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3597
3598 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
3599 Run on GNU/Linux.
3600 (do_exec_tests): Check for systems which do not support catchpoints.
3601 Do not match START.
3602 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
3603 Run on GNU/Linux. Enable verbose output.
3604 (check_fork_catchpoints): New.
3605 (explicit_fork_child_follow, catch_fork_child_follow)
3606 (tcatch_fork_parent_follow): Update expected messages.
3607 (do_fork_tests): Use check_fork_catchpoints.
3608 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
3609 Run on GNU/Linux. Enable verbose output.
3610 (check_vfork_catchpoints): New.
3611 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
3612 expected messages.
3613 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
3614
401ea829
JB
36152008-01-29 Jim Blandy <jimb@red-bean.com>
3616
3617 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
3618 host' errors.
3619 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
3620
aceaf3ad
JB
36212008-01-29 Jim Blandy <jimb@red-bean.com>
3622
3623 * gdb.threads/sigthread.c: Use barriers to ensure that
3624 child_thread and child_thread_two are always initialized before we
3625 start to use them.
3626
a5606eee
VP
36272008-01-29 Vladimir Prus <vladimir@codesourcery.com>
3628
3629 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
3630 * gdb.base/watchpoint-solib.c: New.
3631 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 3632
c55a82bb
PM
36332008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
3634
3635 * gdb.base/gdb1056.exp: Add unsigned integer test.
3636
0993fe05
DE
36372008-01-28 Doug Evans <dje@google.com>
3638
3639 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
3640
4fe42e7f
JB
36412008-01-27 Jim Blandy <jimb@codesourcery.com>
3642
c7a69933
JB
3643 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
3644
4fe42e7f
JB
3645 * gdb.base/expand-psymtabs.exp: Doc fix.
3646
5def8285
MK
36472008-01-26 Mark Kettenis <kettenis@gnu.org>
3648
3649 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
3650
5313c911
NR
36512008-01-24 Nick Roberts <nickrob@snap.net.nz>
3652
a9c64011 3653 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
3654 -var-set-format.
3655
93815fbf
VP
36562008-01-23 Chris Demetriou <cgd@google.com>
3657
3658 * gdb.threads/thread_events.c: New testcase source file.
3659 * gdb.threads/thread_events.exp: New testcase expect file.
3660
467a88ee
NR
36612008-01-23 Nick Roberts <nickrob@snap.net.nz>
3662
3663 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
3664
3665 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
3666 -var-set-format.
3667
d8f82aba
DJ
36682008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
3669 Vladimir Prus <vladimir@codesourcery.com>
3670
3671 * gdb.base/float.exp: Allow missing floating point for m68k and
3672 PowerPC.
3673
60c46647
VP
36742008-01-22 Vladimir Prus <vladimir@codesourcery.com>
3675
3676 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
3677 ignore count.
3678 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
3679 * gdb.mi/mi-cli.exp: Adjust.
3680 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 3681
c7dd36a1
PA
36822008-01-17 Pedro Alves <pedro@codesourcery.com>
3683
3684 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
3685 and 'dummy_ptr' integer pointer. Initialize struct_declarations
3686 with dummy_ptr's address.
3687 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
3688 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
3689 all targets.
3690 * gdb.mi/mi2-var-child.exp: Likewise.
3691
39d5313e
JB
36922008-01-09 Joel Brobecker <brobecker@adacore.com>
3693
3694 * gdb.ada/null_array: New test program.
3695 * gdb.ada/null_array.exp: New testcase.
3696
0aea4bf3
LM
36972008-01-09 Luis Machado <luisgpm@br.ibm.com>
3698
3699 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
3700 with required float modifiers.
3701
0b354900
JB
37022008-01-08 Joel Brobecker <brobecker@adacore.com>
3703
3704 * gdb.ada/funcall_param: New test program.
3705 * gdb.ada/funcall_param.exp: New testcase.
3706
cdb7f5d4
JB
37072008-01-08 Joel Brobecker <brobecker@adacore.com>
3708
3709 * gdb.ada/arrayparam: New test program.
3710 * gdb.ada/arrayparam.exp: New testcase.
3711
88e2547f
JB
37122008-01-08 Joel Brobecker <brobecker@adacore.com>
3713
3714 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
3715 landed. Should also fix random failures in the test following it.
3716
f6867ce0
TJB
37172008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3718
3719 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
3720 for expressions with decimal float values.
3721 (test_dfp_conversions): New function to test casts to and from
3722 decimal float types.
3723 Call test_dfp_conversions.
3724 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
3725 elements.
3726 (main): Initialize ds.float4 and ds.double8 elements.
3727 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
3728 string to new error message.
3729 (d64_set_tests): Likewise.
3730 (d128_set_tests): Likewise.
3731 Add tests for expressions with decimal float variables. Add tests for
3732 conversions to and from decimal float types.
3733
f9c11282
JB
37342008-01-05 Joel Brobecker <brobecker@adacore.com>
3735
3736 * gdb.ada/packed_tagged/comp_bug.adb: New file.
3737 * gdb.ada/packed_tagged.exp: New testcase.
3738
0ecbca72
JB
37392008-01-04 Joel Brobecker <brobecker@adacore.com>
3740
3741 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
3742 gdb.ada/homonym/homonym_main.adb: New files.
3743 * gdb.ada/homonym.exp: New testcase.
3744
c18d3d89
JB
37452008-01-04 Joel Brobecker <brobecker@adacore.com>
3746
3747 * gdb.ada/packed_array.exp: Add testing of references to
3748 a packed array.
3749
ecc7085b
JB
37502008-01-04 Joel Brobecker <brobecker@adacore.com>
3751
3752 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
3753 New files.
3754 * gdb.ada/type_coercion.exp: New testcase.
3755
c474c922
JB
37562008-01-04 Joel Brobecker <brobecker@adacore.com>
3757
3758 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
3759 gdb.ada/tagged/foo.adb: New file.
3760 * gdb.ada/tagged.exp: New testcase.
3761
9005b927
JB
37622008-01-04 Joel Brobecker <brobecker@adacore.com>
3763
3764 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
3765 gdb.ada/ptype_field/foo.adb: New files.
3766 * gdb.ada/ptype_field.exp: New testcase.
3767
1a6aaad8
JB
37682008-01-03 Joel Brobecker <brobecker@adacore.com>
3769
3770 * gdb.ada/print_pc.exp: New testcase.
3771
0ef22f53
JB
37722008-01-03 Joel Brobecker <brobecker@adacore.com>
3773
3774 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
3775 gdb.ada/taft_type/p.adb: New files.
3776 * gdb.ada/taft_type.exp: New testcase.
3777
1689ecf8
JB
37782008-01-03 Joel Brobecker <brobecker@adacore.com>
3779
3780 * gdb.ada/array_bounds/bar.adb: New file.
3781 * gdb.ada/array_bounds.exp: New testcase.
3782
a4d0b9c3
JB
37832008-01-03 Joel Brobecker <brobecker@adacore.com>
3784
3785 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
3786 gdb.ada/arrayptr/foo.adb: New files.
3787 * gdb.ada/arrayptr.exp: New testcase.
3788
a31ace00
JB
37892008-01-03 Joel Brobecker <brobecker@adacore.com>
3790
3791 * gdb.base/set-lang-auto.exp: New testcase.
3792
a97fced3
JB
37932008-01-03 Joel Brobecker <brobecker@adacore.com>
3794
3795 * gdb.ada/fun_addr/foo.adb: New file.
3796 * gdb.ada/fun_addr.exp: New testcase.
3797
ef29ce1a
JK
37982008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3799
3800 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
3801 New files
3802
0fafefe3
JB
38032008-01-02 Joel Brobecker <brobecker@adacore.com>
3804
3805 * array_subscript_addr/p.adb: New file.
a9c64011 3806 * array_subscript_addr.exp: New testcase.
0fafefe3 3807
c4359f8d
JB
38082008-01-02 Joel Brobecker <brobecker@adacore.com>
3809
a9c64011 3810 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
3811 New files.
3812 * gdb.ada/str_cmp_ref.exp: New testcase.
3813
1aa1b15b
JB
38142008-01-01 Joel Brobecker <brobecker@adacore.com>
3815
3816 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
3817 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 3818 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 3819
81c9b2cf
JB
38202008-01-01 Joel Brobecker <brobecker@adacore.com>
3821
3822 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
3823 gdb.ada/ref_param/pck.ads: New files.
3824 * gdb.ada/ref_param.exp: New testcase.
3825
319e4674
JB
38262008-01-01 Joel Brobecker <brobecker@adacore.com>
3827
3828 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
3829 gdb.ada/interface/foo.adb: New files.
3830 * gdb.ada/interface.exp: New testcase.
3831
ef682c56
JB
38322007-12-31 Jim Blandy <jimb@codesourcery.com>
3833
3834 * gdb.base/multi-forks.exp: Consume all output from child
3835 processes before proceeding to next test.
3836
f6f3eb6c
JB
38372007-12-29 Jim Blandy <jimb@codesourcery.com>
3838
3839 * configure: Regenerated.
3840
f652e42f
JB
38412007-12-27 Joel Brobecker <brobecker@adacore.com>
3842
3843 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
3844 gdb.ada/fixed_cmp/fixed.adb: New files.
3845 * gdb.ada/fixed_cmp.exp: New testcase.
3846
6943e596
JB
38472007-12-27 Joel Brobecker <brobecker@adacore.com>
3848
3849 * gdb.ada/boolean_expr.exp: New testcase.
3850
aad9a193
JB
38512007-12-26 Jim Blandy <jimb@codesourcery.com>
3852
3853 * gdb.base/multi-forks.exp: Doc fix.
3854
fb5f3683
JB
38552007-12-26 Joel Brobecker <brobecker@adacore.com>
3856
3857 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
3858 * gdb.ada/char_param.exp: Do not compile our test program with
3859 -gnata, this is unnecessary.
3860 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
3861
384e4a9c
JB
38622007-12-24 Joel Brobecker <brobecker@adacore.com>
3863
3864 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
3865 gdb.ada/print_chars/foo.adb: New files.
3866 * gdb.ada/print_chars.exp: New testcase.
3867
01e044f7
JB
38682007-12-24 Joel Brobecker <brobecker@adacore.com>
3869
3870 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
3871 gdb.ada/char_param/foo.adb: New files.
3872 * gdb.ada/char_param.exp: New testcase.
3873
0ce17860
JB
38742007-12-22 Jim Blandy <jimb@codesourcery.com>
3875
3876 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
3877 hard-coding source line numbers into the test.
3878 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
3879 gdb_get_line_number to find.
3880
919809b9
JB
38812007-12-22 Joel Brobecker <brobecker@adacore.com>
3882
3883 * gdb.base/ptype.c (highest): New struct type.
3884 (the_highest): New variable of that type.
3885 (main): Add dummy assignment to a field of variable the_highest.
3886 * gdb.base/ptype.exp: Test type printing of our new variable.
3887
abc8a88d
PM
38882007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
3889
3890 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 3891 and record first explicitly generated thread number.
abc8a88d
PM
3892 Use that thread number for thread specific watchpoint test.
3893 Add iteration number to repetitive tests.
3894
5158f3e3
CES
38952007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3896 Jim Blandy <jimb@codesourcery.com>
3897
3898 * gdb.base/expand-psymtabs.c: New testcase
3899 source file.
3900 * gdb.base/expand-psymtabs.exp: New testcase
3901 expect file.
3902
37e4754d
LM
39032007-12-17 Luis Machado <luisgpm@br.ibm.com>
3904
3905 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
3906 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
3907
551e5d04
JB
39082007-12-17 Joel Brobecker <brobecker@adacore.com>
3909
3910 * gdb.ada/frame_args/foo.adb: New file.
3911 * gdb.ada/frame_args/pck.ads: New file.
3912 * gdb.ada/frame_args/pck.adb: New file.
3913 * gdb.ada/frame_args.exp: New testcase.
3914
a05ee097
JB
39152007-12-17 Joel Brobecker <brobecker@adacore.com>
3916
3917 * gdb.base/frame-args.c: New file.
3918 * gdb.base/frame-args.exp: New testcase.
3919
c162e8c9 39202007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 3921 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
3922
3923 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
3924
afe8ab22 39252007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 3926
afe8ab22
VP
3927 * gdb.mi/mi-pending.exp: New.
3928 * gdb.mi/mi-pending.c: New.
3929 * gdb.mi/mi-pendshr.c: New.
3930
dfdfb3ca
JB
39312007-12-06 Jim Blandy <jimb@codesourcery.com>
3932
3933 * gdb.base/default.exp: Update expected output for 'info catch'.
3934
b7fca990
JK
39352007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3936
3937 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
3938 must be set to binary.
3939
6a1afc1e
PA
39402007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
3941
3942 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
3943
a6b151f1
DJ
39442007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
3945
3946 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
3947 gdb.mi/mi-file-transfer.exp: New.
3948
43039443
JK
39492007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3950
3951 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
3952
0ef2251b
MR
39532007-11-22 Maciej W. Rozycki <macro@mips.com>
3954
3955 * gdb.trace/backtrace.exp: Fix a typo.
3956 * gdb.trace/circ.exp: Likewise.
3957 * gdb.trace/collection.exp: Likewise.
3958 * gdb.trace/limits.exp: Likewise.
3959 * gdb.trace/report.exp: Likewise.
3960 * gdb.trace/tfind.exp: Likewise.
3961 * gdb.trace/while-dyn.exp: Likewise.
3962
5443631e
NR
39632007-11-21 Nick Roberts <nickrob@snap.net.nz>
3964
3965 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
3966 objects of pointers that can't be dereferenced are now
3967 "noneditable".
3968
a4ce5b0d
UW
39692007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3970
3971 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
3972 (target_cpu): Remove.
3973
d6e956e5
VP
39742007-10-15 Vladimir Prus <vladimir@codesourcery.com>
3975
3976 * gdb.base/ending-run.exp: Expect the list of cleared
3977 breakpoint to come in natural order, not the reversed one.
a9c64011 3978
214270ab
VP
39792007-11-07 Vladimir Prus <vladimir@codesourcery.com>
3980
3981 * gdb.mi/mi-var-child.c (do_child_deletion): New.
3982 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 3983
1a619819
LM
39842007-11-05 Luis Machado <luisgpm@br.ibm.com>
3985
3986 * gdb.base/printcmds.exp: New function
3987 test_printf_with_dfp.
3988
5b01a6fa
DE
39892007-11-02 Doug Evans <dje@google.com>
3990
3991 * gdb.disasm/t01_mov.s: Remove carriage returns.
3992 * gdb.disasm/t02_mova.s: Ditto.
3993 * gdb.disasm/t03_add.s: Ditto.
3994 * gdb.disasm/t04_sub.s: Ditto.
3995 * gdb.disasm/t05_cmp.s: Ditto.
3996 * gdb.disasm/t06_ari2.s: Ditto.
3997 * gdb.disasm/t07_ari3.s: Ditto.
3998 * gdb.disasm/t08_or.s: Ditto.
3999 * gdb.disasm/t09_xor.s: Ditto.
4000 * gdb.disasm/t10_and.s: Ditto.
4001 * gdb.disasm/t11_logs.s: Ditto.
4002 * gdb.disasm/t12_bit.s: Ditto.
4003 * gdb.disasm/t13_otr.s: Ditto.
4004
ec33ab7f
JK
40052007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4006
4007 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
4008
ae0d01ff
UW
40092007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4010
4011 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
4012 provide DFP support.
4013
55eddb0f
DJ
40142007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
4015
4016 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
4017 Test "set powerpc vector-abi". Skip auto-detection tests for old
4018 toolchains.
4019
7020f05c
PA
40202007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
4021
4022 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
4023 with [string compare].
4024
84bc3db9
PA
40252007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
4026
4027 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
4028 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
4029
5876dc88
LM
40302007-10-25 Luis Machado <luisgpm@br.ibm.com>
4031
4032 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
4033 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
4034 * gdb.opt/Makefile.in: New makefile.
4035 * Makefile.in: Create new directory "gdb.opt".
4036 * configure.ac: Add "gdb.opt" directory.
4037 * configure: Regenerated.
a9c64011 4038
c3ea9a14
DE
40392007-10-25 Doug Evans <dje@google.com>
4040
4041 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
4042 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
4043
a9c64011 40442007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
4045 Thiago Jung Bauermann <bauerman@br.ibm.com>
4046
4047 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
4048 Floating Point expressions.
4049 * gdb.base/dfp-test.exp: new file adding tests for Decimal
4050 Floating Point variables.
4051 * gdb.base/dfp-test.c: new file containing program with Decimal
4052 Floating variables, used by gdb.base/dfp-test.exp.
4053
62a24a2b
DJ
40542007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
4055
4056 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
4057
e7b1eae6
UW
40582007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4059
4060 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
4061 compiling test case with GCC.
4062 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
4063
c641edcc
UW
40642007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4065
4066 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
4067 format changes.
4068
5e5ebfe6
MS
40692007-10-18 Michael Snyder <msnyder@specifix.com>
4070
4071 * gdb.base/dbx.exp: Add missing "-re " operator.
4072
e831e7b6
GM
40732007-10-16 Gaius Mulley <gaius@glam.ac.uk>
4074
4075 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
4076 * configure.ac: Removed trailing spaces after backslash.
4077 * gdb.modula2: New directory.
4078 * gdb.modula2/Makefile.in: New file.
4079 * gdb.modula2/unbounded-array.exp: New file.
4080 * gdb.modula2/unbounded1.c: New file.
4081
7cc46491
DJ
40822007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
4083
4084 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
4085
40862007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
4087
4088 * gdb.base/sigstep.c (main): Add checks for
4089 return values for setitimer call.
4090 Call setitimer again with itimer = ITIMER_REAL
4091 if first call to setitimer fails.
4092
e91528f0
KH
40932007-10-11 Kazu Hirata <kazu@codesourcery.com>
4094
4095 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
4096 of $timeout.
4097
2ec9a4f8
DJ
40982007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
4099
4100 * gdb.server/server-run.exp: Test for dynamic linker symbols.
4101
41022007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
4103
4104 * lib/gdb.exp (gdb_run_cmd): Move comment outside
4105 of gdb_expect call, to avoid interruption.
4106
64b2fa04
PA
41072007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
4108
4109 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
4110 (v_unsigned_long_long, v_long_long_array)
4111 (v_signed_long_long_array, v_unsigned_long_long_array)
4112 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
4113 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
4114 [!NO_LONG_LONG]: New.
4115 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
4116 v_long_long_member.
4117
4118 (v_long_long_func, v_signed_long_long_func)
4119 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
4120 (main) [!NO_LONG_LONG]: Initialize long long variants.
4121
4122 * gdb.base/whatis.exp: If board file requests no_long_long, build
4123 test with NO_LONG_LONG defined. Test long long, signed long long,
4124 and unsigned long long variants but only if board file doesn't
4125 disable it.
4126
a912286e 41272007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 4128 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
4129
4130 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
4131 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
4132 * configure: Regenerated.
4133 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
4134 gdb.pascal/types.exp, lib/pascal.exp: New files.
4135
471ba8c9
DJ
41362007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
4137
4138 * gdb.cp/classes.exp (do_tests): Always step to the line after the
4139 call.
4140 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
4141 to return to the call.
4142 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
4143 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
4144 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
4145 * gdb.mi/mi-until.exp (test_until): Likewise.
4146 * gdb.mi/mi2-until.exp (test_until): Likewise.
4147
fef8a650
DJ
41482007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
4149
4150 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
4151 two-char array.
4152 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
4153
d983da9c
DJ
41542007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
4155
4156 * gdb.threads/watchthreads.c (thread_function): Sleep between
4157 iterations.
4158 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
4159 at once for S/390. Generate matching fails and passes.
4160
17f62551
VP
41612007-09-27 Vladimir Prus <vladimir@codesourcery.com>
4162
4163 * gdb.mi/var-cmd.c (do_children_tests): Initialize
4164 the 'struct_declarations' variable to zeros.
a9c64011 4165
ed0616c6
VP
41662007-09-24 Vladimir Prus <vladimir@codesourcery.com>
4167
4168 * gdb.cp/mb-ctor.cc: New.
4169 * gdb.cp/mb-ctor.exp: New.
4170 * gdb.cp/mb-templates.cc: New.
4171 * gdb.cp/mb-templates.exp: New.
4172
41f1b697
DJ
41732007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
4174
4175 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
4176
3f213f78
PA
41772007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
4178
4179 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
4180 targets.
4181 * configure: Regenerate.
4182
0d381245 41832007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 4184
0d381245
VP
4185 * gdb.base/annota1.exp: Adjust for 'info break'
4186 format changes.
4187 * gdb.base/annota3.exp: Likewise.
4188 * gdb.base/break.exp: Likewise.
4189 * gdb.base/condbreak.exp: Likewise.
4190 * gdb.base/pending.exp: Likewise.
4191 * gdb.base/sepdebug.exp: Likewise.
4192 * gdb.base/unload.exp: Likewise.
4193 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 4194
fe3f5fa8
VP
41952007-09-22 Vladimir Prus <vladimir@codesourcery.com>
4196
4197 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
4198 messages.
4199 * gdb.base/chng-syms.exp: Likewise.
4200 * gdb.base/unload.exp: Likewise.
a9c64011 4201
a75cf6c0
DJ
42022007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
4203
4204 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
4205
18ecae38
DJ
42062007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
4207
4208 * schedlock.c (NUM): Change to 1.
4209 (main): Use args[0] for the main thread.
4210 * schedlock.exp: Only expect two threads. Only issue one pass or fail
4211 regardless of the number of threads.
4212
5509918f
MR
42132007-09-14 Maciej W. Rozycki <macro@mips.com>
4214
4a543daf
MR
4215 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
4216 type down.
4217 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
4218 test.
4219 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
4220 watchpoint type down.
4221 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
4222 test.
4223
42242007-09-14 Maciej W. Rozycki <macro@mips.com>
4225
5509918f
MR
4226 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
4227 Move all the tests here and run them twice, once using software
4228 watchpoints and once using hardware watchpoints.
4229 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
4230
40b53987
DJ
42312007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
4232
4233 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
4234 test.
4235
695e2681
MK
42362007-09-10 Mark Kettenis <kettenis@gnu.org>
4237
8b3fc8d8
MK
4238 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
4239 build-id.
4240
695e2681
MK
4241 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
4242 know about $ORIGIN. Calculate output dir from $dest instead of
4243 using ${objdir}/{$subdir}.
4244
58d69f29
MK
42452007-09-09 Mark Kettenis <kettenis@gnu.org>
4246
4247 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
4248 gcore, before continuing with the test.
4249
3e347599
DJ
42502007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
4251
4252 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
4253 * gdb.mi/mi-watch.exp: Likewise.
4254
ea37ba09
DJ
42552007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4256 Jim Blandy <jimb@codesourcery.com>
4257
4258 * gdb.arch/i386-sse.exp: Do not expect character constants.
4259 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
4260 * gdb.base/display.exp: Allow print/s.
4261 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
4262 and unsigned char array changes.
4263
2025a643
DJ
42642007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4265
4266 * gdb.base/display.exp: Add tests for printf %p.
4267
26669a27
PA
42682007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
4269
4270 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
4271 the dll name to unicode.
4272
c8f021f8
JK
42732007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4274
4275 * gdb.base/default.exp (show version): Update the version text.
4276 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
4277
4cf31eea
JK
42782007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4279
4280 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
4281 New files.
4282
4935890f
JK
42832007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4284
4285 * lib/gdb.exp (build_id_debug_filename_get): New function.
4286 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
4287 Remove the generate DEBUG file for the future testcase runs.
4288 New testcase for the NT_GNU_BUILD_ID retrieval.
4289 Move the final testing step to ...
4290 (test_different_dir): ... a new function.
4291 New parameter XFAIL to XFAIL all the tests performed.
4292 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
4293 New parameter TYPE to PF_PREFIX all the tests performed.
4294
02142340
VP
42952007-08-31 Vladimir Prus <vladimir@codesourcery.com>
4296
4297 * gdb.mi/mi-var-cp.cc (path_expression): New
4298 function.
4299 * gdb.mi/mi-var-cp.exp: Run path exression tests.
4300
36acd84e
UW
43012007-08-27 Markus Deuling <deuling@de.ibm.com>
4302
4303 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
4304 to fit into SPU Local Store memory.
4305
a896d121
JB
43062007-08-23 Joel Brobecker <brobecker@adacore.com>
4307
4308 * gdb.base/default.exp: Adjust the expected output of "info
4309 warranty" after the switch to GPLv3.
4310
7b433602
JB
43112007-08-23 Joel Brobecker <brobecker@adacore.com>
4312
4313 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
4314 to 30000 (from 20000).
4315
e22f8b7c
JB
43162007-08-23 Joel Brobecker <brobecker@adacore.com>
4317
4318 Switch the license of all .exp files to GPLv3.
4319 Switch the license of all .f and .f90 files to GPLv3.
4320 Switch the license of all .s and .S files to GPLv3.
4321
5a0e3bd0
JB
43222007-08-23 Joel Brobecker <brobecker@adacore.com>
4323
4324 * configure.ac: Switch license to GPLv3.
4325
cc00619d
JB
43262007-08-23 Joel Brobecker <brobecker@adacore.com>
4327
4328 Switch the licensing to GPLv3 for all .ads and .adb files.
4329
8d26208a
DJ
43302007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
4331
4332 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
4333 and t_int_double.
4334 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
4335
4fcb9948
JB
43362007-08-17 Joel Brobecker <brobecker@adacore.com>
4337
4338 * gdb.base/step-line.c: Switch license to GPL version 3, and
4339 update copyright year.
4340 * gdb.base/step-line.inp: Likewise.
4341
b9c34f67
JB
43422007-08-17 Joel Brobecker <brobecker@adacore.com>
4343
4344 * gdb.base/gdb1555.exp: Make expected output immune to formatting
4345 changes inside gdb1555.c.
4346 * gdb.base/pending.exp: Likewise.
4347
2cc17678
DJ
43482007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
4349
4350 * config/default.exp: New file.
4351
e48883f7
DJ
43522007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
4353
4354 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
4355 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
4356
1ab80e5b
MR
43572007-07-30 Maciej W. Rozycki <macro@mips.com>
4358
4359 * gdb.base/dump.exp: Force the correct endianness for binary
4360 formats not carrying this information.
4361
aba471f5
DJ
43622007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
4363
4364 * gdb.threads/staticthreads.exp: Match .*sem_post.
4365
d4e07204
DJ
43662007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
4367
4368 * gdb.base/readline.exp (operate_and_get_next): Match the final
4369 prompt.
4370
2b97317d
KB
43712007-07-23 Kevin Buettner <kevinb@redhat.com>
4372
4373 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
4374 to restarting SID.
4375
44efa07a
KB
43762007-07-18 Kevin Buettner <kevinb@redhat.com>
4377
4378 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
4379 prior to `gdb_start'.
4380
7b5ebade
KB
43812007-07-18 Kevin Buettner <kevinb@redhat.com>
4382
4383 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
4384 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
4385 Remove call to gdb_unload.
4386
255e7678
DJ
43872007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
4388 Daniel Jacobowitz <dan@codesourcery.com>
4389
4390 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
4391 for __WIN32__.
4392 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
4393 * gdb.base/unload.exp: Use shared library test routines.
4394
3a40aaa0
UW
43952007-07-03 Markus Deuling <deuling@de.ibm.com>
4396
4397 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
4398 * gdb.base/solib-symbol-lib.c: Likewise.
4399 * gdb.base/solib-symbol-main.c: Likewise.
4400
b0f4b84b
DJ
44012007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
4402
4403 * config/gdbserver.exp (gdb_reconnect): New.
4404 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
4405 gdb.base/solib-disc.exp: New files.
4406 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
4407 remote debugging".
4408 (gdb_compile): Add shlib_load flag.
4409 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
4410 port.
4411 (gdbserver_reconnect): New.
4412
1b05479a
DJ
44132007-07-01 Nick Roberts <nickrob@snap.net.nz>
4414 Daniel Jacobowitz <dan@codesourcery.com>
4415
4416 * gdb.base/annota3.exp: Test for if construct.
4417
86f78eb2
DJ
44182007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
4419
4420 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
4421
6a2eb474 44222007-06-21 Chris Dearman <chris@mips.com>
a9c64011 4423 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
4424
4425 * gdb.base/display.exp: Allow a newline after display/i.
4426 * gdb.base/pc-fp.exp: Likewise.
4427 * gdb.base/sigbpt.exp: Likewise.
4428
f8b73d13
DJ
44292007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
4430
4431 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
4432 required features to be included.
4433
4339e69e
DJ
44342007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
4435
4436 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
4437 in info threads output.
4438
23d964e7
UW
44392007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4440 Markus Deuling <deuling@de.ibm.com>
4441
4442 * gdb.arch/spu-info.exp: New testcase.
4443 * gdb.arch/spu-info.c: New file.
4444
fd20f75b
DJ
44452007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
4446
4447 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
4448 tpcs_offset. Restore lr after the call.
4449 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
4450
2226f861
DJ
44512007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
4452
4453 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
4454 (gdbserver_run): Kill any running gdbserver.
4455 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
4456
d12371a9
MR
44572007-05-17 Maciej W. Rozycki <macro@mips.com>
4458
4459 * gdb.base/sigbpt.exp: Preset segv_addr.
4460
93f02886
DJ
44612007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
4462
4463 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
4464 (gdb_compile_shlib): Likewise.
4465 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
4466 (default_gdb_init): Clear cleanfiles.
4467 (gdb_finish): Delete recorded cleanfiles.
4468 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
4469
4470 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
4471 Do not use isnative.
4472 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
4473 gdb.base/so-impl-ld.exp: Likewise.
4474 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
4475 * gdb.base/unload.exp: Likewise. Do not pass empty option to
4476 gdb_compile.
4477
b04e06d7
VP
44782007-05-15 Vladimir Prus <vladimir@codesourcery.com>
4479
4480 * config/unknown.exp: Remove.
4481
069ed931
UW
44822007-05-15 Markus Deuling <deuling@de.ibm.com>
4483
4484 * gdb.base/info-proc.exp: Check is_remote.
4485
09db0d03
UW
44862007-05-14 Markus Deuling <deuling@de.ibm.com>
4487
4488 * gdb.base/gcore.exp: Initialize variable core_supported.
4489
af2cbe8c
DJ
44902007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
4491
4492 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
4493
027c0295
DJ
44942007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
4495
4496 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
4497 * gdb.threads/print-threads.exp (test_all_threads): Allow
4498 negative and hexadecimal thread IDs.
4499
dc5000e7
DJ
45002007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
4501
4502 * gdb.java/jprint.java (public): Avoid invalid call to static
4503 method.
4504
2e74ed18
DP
45052007-05-14 Denis Pilat <denis.pilat@st.com>
4506
4507 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
4508 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
4509 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
4510 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
4511 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
4512
83547f02
UW
45132007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4514
4515 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 4516 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
4517 this mode.
4518 * gdb.base/ovlymgr.c: Provide stubs for spu target.
4519 * gdb.base/spu.ld: New file.
4520
b18be20d
DJ
45212007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
4522
4523 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
4524
be444858
DJ
45252007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
4526
4527 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
4528
b1d53152
DJ
45292007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
4530
4531 * gdb.java/jmain.exp: Handle demangled names with and without method
4532 signatures.
4533
d084b331
DJ
45342007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
4535
4536 * gdb.mi/mi-syn-frame.c (main, foo, bar)
4537 (have_a_very_merry_interrupt): Remove calls to puts.
4538 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
4539 inferior output.
4540 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
4541 test names.
4542
db9d7fc5
DJ
45432007-04-29 Markus Deuling <deuling@de.ibm.com>
4544 Daniel Jacobowitz <dan@codesourcery.com>
4545
4546 * gdb.base/auxv.exp (core_works): Also check is_remote.
4547 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
4548
ef783a7d 45492007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 4550
ef783a7d
VP
4551 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
4552 message, not the undefined 'module' variable.
4553 * gdb.base/siginfo.exp: Likewise.
4554 * gdb.base/sigstep.exp: Likewise.
4555 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
4556 serialport.
4557 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
4558
b7b73cae
CV
45592007-04-25 Corinna Vinschen <vinschen@redhat.com>
4560
4561 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
4562 target sim fails. Return 0 otherwise.
4563 (gdb_load): Return prematurely if gdb_target_sim fails.
4564
7d90fdfa
DP
45652007-04-16 Denis Pilat <denis.pilat@st.com>
4566
4567 * gdb.base/setshow.exp: Reset height after having set it to 100.
4568
5d3e9c85
DP
45692007-04-16 Denis Pilat <denis.pilat@st.com>
4570
4571 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
4572
18e75969
DP
45732007-04-16 Denis Pilat <denis.pilat@st.com>
4574
4575 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
4576
25d5ea92
VP
45772007-04-14 Vladimir Prus <vladimir@codesourcery.com>
4578
4579 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
4580 tests. Run the frozen varobjs test.
4581 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 4582 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 4583
0b49cb80
JK
45842007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4585
4586 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
4587 gdb.base/type-opaque.exp: New files.
4588
a73bafbc 45892007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
4590
4591 * gdb.mi/mi-var-child.c
a73bafbc
VP
4592 (do_children_tests): User char[2] instead of
4593 char so that automatic printing of pointers to char
4594 don't give unpredicable result.
4595 * gdb.mi/var-cmd.c (do_locals_test): Initialize
4596 local variables.
4597 * gdb.mi/mi-var-child.exp: Step to right line
4598 of do_children_tests.
4599 * gdb.mi/mi2-var-child.exp: Likewise.
4600 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 4601 do_locals_tests.
a73bafbc
VP
4602 (do_children_tests): User char[2] instead of
4603 char so that automatic printing of pointers to char
a9c64011 4604 don't give unpredicable result.
a73bafbc 4605 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 4606 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
4607 Pass test name to mi_wait_for_stop.
4608
7ce59000
DJ
46092007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
4610
4611 * gdb.asm/asm-source.exp: Remove d10v case.
4612 * lib/gdb.exp (skip_cplus_tests): Likewise.
4613 * gdb.asm/d10v.inc: Deleted.
4614
20389057
DJ
46152007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
4616
4617 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
4618
8807d78b
DJ
46192007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
4620
4621 * config/netware.exp: Delete file.
4622
aa3edb8e
JB
46232007-03-29 Joel Brobecker <brobecker@adacore.com>
4624
4625 * gdb.dwarf2/dw2-noloc.S: New file.
4626 * gdb.dwarf2/dw2-noloc.exp: New file.
4627
297561ac
PA
46282007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
4629
4630 * gdb.cp/method2.cc: New test.
4631 * gdb.cp/method2.exp: New test.
4632 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
4633
1f81bd39
DJ
46342007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
4635
4636 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
4637
9453113a
DJ
46382007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
4639
4640 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
4641
b741e217
DJ
46422007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
4643
4644 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
4645 (gdb_load): Delete, replace with...
4646 (gdb_reload): ...this.
4647 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
4648 * gdb.server/server-mon.exp: Likewise.
4649 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
4650 (gdb_start_cmd): New.
4651 (gdb_file_cmd): Save the last loaded file.
4652 (gdb_reload): New.
4653 (gdb_gnu_strip_debug): Use transform.
4654 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
4655 support here. Use new $last_loaded_file. Check mtime.
4656 (gdb_target_cmd): Handle ObjC failure case.
4657 (infer_host_exec): Delete.
4658 (gdbserver_load): Rename to...
4659 (gdbserver_run): ...this. Simplify.
4660 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
4661 (mi_gdb_load): Move most contents to a new function...
4662 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
4663 (mi_run_cmd): Use mi_gdb_target_load.
4664 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
4665 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
4666 Use gdb_run_cmd.
4667 * gdb.base/charsign.exp: Remove incorrect comment.
4668 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
4669 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
4670 gdb.base/start.exp: Use gdb_start_cmd.
4671
446ab585 46722007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 4673 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
4674
4675 * gdb.base/sigbpt.exp: Fix the message when skipping test.
4676 * gdb.base/signull.exp: Similarly.
4677
bbb88ebf
UW
46782007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4679
4680 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
4681 messages available to test cases (like chng-sym.exp).
4682
cb8c4a99
AS
46832007-03-14 Andreas Schwab <schwab@suse.de>
4684
4685 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
4686 format changes.
4687
4e463ff5
DJ
46882007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
4689
4690 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
4691 (optimized_1): New.
4692 (main): Call optimized_1.
4693 (gdb2029): Correct typos. Call gdb2029_marker.
4694 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
4695 for gdb2029.
4696
b6db2c47
MK
46972007-03-12 Mark Kettenis <kettenis@gnu.org>
4698
4699 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
4700 as tabs. Remove redundant test pattern.
4701
70ed3737
UW
47022007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4703
4704 * gdb.base/long_long.exp: Accept optional symbol name in <...>
4705 for /a format output.
4706
47b67b60
DJ
47072007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
4708
4709 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
4710 collect output incrementally.
4711
b8953b0e
UW
47122007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4713
4714 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
4715 for -var-create lpcharacter test.
4716 * gdb.mi/mi2-var-cmd.exp: Likewise.
4717
7acd5c40
UW
47182007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4719
4720 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
4721 pass on targets where address zero is readable.
4722
9c6759c1
UW
47232007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4724
4725 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
4726 just a single architecture.
4727
a2f1aeb4
UW
47282007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4729
4730 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
4731 (fetch_all_registers): New function, uses gdb_test_multiple and
4732 exp_continue to fetch inferior output line-by-line.
4733 Replace all uses of do_get_all_registers by fetch_all_registers.
4734
46579ac2
UW
47352007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4736
4737 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
4738 in target_info.
4739
fc133f24
MS
47402007-03-02 Michael Snyder <michael.snyder@palmsource.com>
4741
a9c64011 4742 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
4743 consistancy; add a default (timeout) case.
4744
7646a51d
MS
47452007-03-02 Michael Snyder <michael.snyder@palmsource.com>
4746
4747 * gdb.base/watchpoint.exp: Fix truncated comment.
4748
dcfff61f
MS
47492007-03-02 Michael Snyder <michael.snyder@palmsource.com>
4750
4751 * Makefile.in: Remove spurious single-quotes from sed command.
4752
664e3ee9
DJ
47532007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
4754
4755 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
4756 func.
4757 * gdb.mi/mi2-var-cmd.exp: Likewise.
4758
d7cc6f2f
JB
47592007-02-27 Joel Brobecker <brobecker@adacore.com>
4760
a9c64011
AS
4761 * gdb.dwarf2/dw2-producer.S: New file.
4762 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
4763
47642007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
4765
4766 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
4767 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
4768 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
4769 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
4770 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
4771 Revert tests to use mi_gdb_test and include value field in output
4772 of -var-create.
4773
93d42b30
DJ
47742007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
4775
4776 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
4777
c499ed39
DJ
47782007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
4779
4780 * gdb.base/maint.exp: Remove full paths from test names.
4781 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
4782 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
4783
9836f81b
JB
47842007-02-27 Joel Brobecker <brobecker@adacore.com>
4785
4786 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
4787
c74d0ad8
DJ
47882007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
4789
4790 * gdb.server/server-mon.exp: New test.
4791
2711e456
DJ
47922007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
4793
4794 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
4795
ff6f572f
DJ
47962007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
4797
4798 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
4799 register capitalization.
4800
fada3feb
DP
48012007-02-13 Denis Pilat <denis.pilat@st.com>
4802
4803 * gdb.mi/mi-var-invalidate.exp: New file.
4804
fb1e4ffc
DJ
48052007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4806
4807 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
4808
3da939d7
DJ
48092007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4810
4811 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
4812
123dc839
DJ
48132007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4814
4815 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
4816 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
4817
877e3645 48182007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
4819
4820 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
4821 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
4822 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
4823 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
4824 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 4825 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 4826 Update tests to include value field in output of -var-create.
a9c64011 4827
3c0a2960
AS
48282007-02-08 Andreas Schwab <schwab@suse.de>
4829
4830 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
4831
108546a0
DJ
48322007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
4833
4834 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
4835 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
4836
d701dcab
DP
48372007-02-02 Denis Pilat <denis.pilat@st.com>
4838
4839 * gdb.threads/threadapply.exp: check that frame is not changed by
4840 the thread apply all command.
4841
783e3e2f
AS
48422007-01-31 Andreas Schwab <schwab@suse.de>
4843
6d9c3a87
AS
4844 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
4845
3c50d7b9
AS
4846 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
4847 in the dwarf sections.
4848 * gdb.dwarf2/mac-fileno.S: Likewise.
4849
783e3e2f
AS
4850 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
4851 bspstore register on ia64.
4852
78ff580e
AS
48532007-01-29 Andreas Schwab <schwab@suse.de>
4854
cc8e9b12
AS
4855 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
4856 "frame-begin" annotation.
4857
78ff580e
AS
4858 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
4859 number of "frames-invalid" annotations.
4860
704a4f78
DJ
48612007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4862
4863 * gdb.base/commands.exp: Call if_commands_test.
4864 (gdb_test_no_prompt, if_commands_test): New.
4865
e741bf94
MK
48662007-01-28 Mark Kettenis <kettenis@gnu.org>
4867
4868 * gdb.threads/sigthread.c (NSIGS): Make bigger.
4869
474d0ad3
AS
48702007-01-27 Andreas Schwab <schwab@suse.de>
4871
4872 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
4873 .short/.int/.quad in the dwarf sections.
4874 * gdb.dwarf2/dw2-intercu.S: Likewise.
4875 * gdb.dwarf2/dw2-intermix.S: Likewise.
4876
e784b426
JK
48772007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4878
4879 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
4880 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
4881 array.
e784b426
JK
4882 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
4883 * gdb.base/setvar.exp: Likewise.
4884
37f08e04
AS
48852007-01-26 Andreas Schwab <schwab@suse.de>
4886
9a01813a
AS
4887 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
4888 test.
4889
37f08e04
AS
4890 * gdb.base/multi-forks.exp ("restart $i"): Also match
4891 __kernel_syscall_via_break.
4892
6e2a9270
VP
48932007-01-24 Vladimir Prus <vladimir@codesourcery.com>
4894
4895 * lib/mi-support.exp (mi_delete_varobj): New.
4896 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
4897 testcase.
4898 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
4899 (main): Call the above.
4900 (reference_update_test, base_in_reference_test)
4901 (reference_to_pointer): Delete the created varobjs.
a9c64011 4902
e515b470
DJ
49032007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
4904
4905 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
4906 * configure: Regenerated.
4907 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
4908 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
4909 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
4910 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
4911 * lib/gdb.exp (gdb_skip_xml_test): New function.
4912
08d8bcd7
DJ
49132007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
4914
4915 * gdb.base/sigrepeat.exp: Correct error message.
4916
49172007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
4918 Daniel Jacobowitz <dan@codesourcery.com>
4919
4920 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
4921 gdb.arch/i386-gnu-cfi-asm.S: New files.
4922
97c3f1f3
JK
49232007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4924
4925 * lib/gdb.exp: Abort on missing `site.exp'.
4926
cb1df416
DJ
49272007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4928 Daniel Jacobowitz <dan@codesourcery.com>
4929
4930 * gdb.base/included.c, gdb.base/included.exp,
4931 gdb.base/included.h: New files.
4932
35990120
DJ
49332007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
4934
4935 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
4936 (maximize_rlimit): Reduce limits on 64-bit systems.
4937
6e81a116 49382007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
4939
4940 From Marcus Deuling <deuling@de.ibm.com>:
4941 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
4942 every case.
4943
6c3c41f3
NR
49442007-01-13 Nick Roberts <nickrob@snap.net.nz>
4945
4946 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
4947 (test_path_specification): Use objdir instead of srcdir to always
4948 get an absolute filename.
4949
2f12c312
DJ
49502007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
4951
4952 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
4953
81121995
VP
49542007-01-11 Vladimir Prus <vladimir@codesourcery.com>
4955
4956 * gdb.mi/mi-var-cp.cc (reference_update_tests):
4957 Make sure the variable we're using is in scope.
4958 (reference_to_pointer): Likewise.
4959
4741b737
DJ
49602007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
4961
4962 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
4963 has no debug information.
4964
054410c3
DJ
49652007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
4966
4967 * gdb.base/annota1.exp: Remove extra send_gdb.
4968
818f79f6
DJ
49692007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4970
4971 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
4972
f7a6bb70
DJ
49732007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4974
4975 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
4976
57e66780
DJ
49772007-01-08 Nick Roberts <nickrob@snap.net.nz>
4978 Daniel Jacobowitz <dan@codesourcery.com>
4979
4980 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
4981 lcharacter or linteger change. Correct duplicated test name.
4982 * gdb.mi/mi2-var-cmd.exp: Likewise.
4983
3d799a95
DJ
49842007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4985
4986 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
4987
49882007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 4989
a9c64011
AS
4990 * gdb.base/nofield.c: New file.
4991 * gdb.base/nofield.exp: New testcase.
51679ba9 4992
eafb94e8
NR
49932007-01-05 Nick Roberts <nickrob@snap.net.nz>
4994
4995 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
4996
4997 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
4998 test.
4999
5e572bb4
DJ
50002007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5001
5002 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
5003
74a44383
DJ
50042007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5005
5006 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
5007 when continuing.
5008
1b572db9
DJ
50092007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
5010
5011 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
5012 Expect ".exe" extension.
5013
381bc39b
DJ
50142007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
5015
5016 * gdb.base/charset.exp: Add explicit filename to break.
5017 * gdb.base/dbx.exp: Add explicit filename to breaks.
5018
2b70e4c6
DJ
50192007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
5020
5021 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
5022 * gdb.mi/mi2-file.exp: Likewise.
5023
303b6f5d
DJ
50242007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5025
5026 Implement specification of MI tests as comments
5027 in C and C++ sources.
5028 * lib/mi-support.exp (mi_autotest_data): New variable.
5029 (mi_autotest_source): New variable.
5030 (count_newlines, mi_prepare_inline_tests)
5031 (mi_get_inline_test, mi_continue_to_line)
5032 (mi_run_inline_test, mi_tbreak)
5033 (mi_send_resuming_command, mi_wait_for_stop): New functions.
5034 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
5035 Run inline tests.
5036 * gdb.mi/mi-var-cp.cc: Define tests here.
5037
23da0d94
VP
50382007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5039
5040 Simplify usage of mi_continue_to.
5041 * lib/mi-support.exp (mi_runto_helper): Renamed
5042 from mi_runto, added new parameter 'run_or_continue'.
5043 (mi_runto): Use mi_runto_helper.
5044 (mi_continue_to): Accept just function name as parameter.
5045 Use mi_runto_helper.
5046 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
5047 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 5048
f9e18282
JB
50492006-01-04 Joel Brobecker <brobecker@adacore.com>
5050
5051 Make this testcase a bit more realistic. The current code
5052 is too simplistic, and allows the compiler to optimize out
5053 some of the entities we need for this testcase.
5054 * gdb.ada/null_record/bar.ads (Void_Star): New type.
5055 (Do_Nothing): Add extra parameter.
5056 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
5057 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
5058 by using a variable of type Void_Star.
5059
fd678c65
JB
50602006-01-04 Joel Brobecker <brobecker@adacore.com>
5061
5062 * gdb.ada/catch_ex/foo.adb: New file.
5063 * gdb.ada/catch_ex.exp: New testcase.
5064
05cfdb42
DJ
50652007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
5066
5067 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
5068 pass --image-base to linker.
5069
2e03ee74
DJ
50702007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5071 Daniel Jacobowitz <dan@codesourcery.com>
5072
5073 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
5074 secondary prompts.
5075
0d5de010
DJ
50762007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5077
5078 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
5079 output. Test the types of members and member pointers.
5080 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
5081 gdb/2092.
5082 * gdb.cp/member-ptr.exp: Search for a comment instead of a
5083 statement. Enable for GCC. Update expected output for some tests
5084 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
5085 layout.
5086 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
5087 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
5088 (Diamond::vget_base): New.
5089 (main): Add new tests.
5090 * gdb.cp/printmethod.exp: Update expected output for member functions.
5091 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
5092 print pEe->D::vg().
5093
61a771aa
DJ
50942007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5095
5096 * gdb.threads/tls.exp: Allow stops in sem_post.
5097
2fa63963
DJ
50982006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
5099
5100 * gdb.base/annota1.exp: Allow .*printf in backtraces.
5101 * gdb.base/annota3.exp: Likewise.
5102 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
5103 again (instead of timing out).
5104 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
5105 GCC bug 26475.
5106 * gdb.java/jmisc.exp: Adjust to work with method signatures including
5107 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
5108 test from jmisc1.exp.
5109 * gdb.java/jmisc1.exp: Delete.
5110 * gdb.java/jprint.exp: Adjust to work with method signatures including
5111 return types.
5112 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
5113 * gdb.threads/linux-dp.exp: Don't be confused by program output.
5114 * lib/java.exp (compile_java_from_source): Pass the correct type
5115 to target_compile.
5116
5eefc2b7
JB
51172006-12-31 Joel Brobecker <brobecker@adacore.com>
5118
5119 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
5120 (stack_align_edx): New function.
5121 (stack_align_eax): New function.
5122 (main): Add calls to stack_align_edx and stack_align_eax.
5123 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
5124 Add testing for the cases where the register used during a stack
5125 realignment is edx. Same for eax.
5126
227c54da
DJ
51272006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
5128
5129 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
5130 and generic PE targets.
5131
cab8ac94
JB
51322006-12-29 Joel Brobecker <brobecker@adacore.com>
5133
5134 * gdb.ada/array_return.exp: Update copyright date list.
5135
ba54f318
JB
51362006-12-27 Joel Brobecker <brobecker@adacore.com>
5137
5138 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
5139 (Create_Small_Float_Vector): New function.
5140 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
5141 function body.
5142 * gdb.ada/array_return/p.adb: Use new type and function from
5143 package Pck.
5144 * gdb.ada/array_return.exp: Add a test verifying that GDB is
5145 able to print the value returned by a function returning an
5146 array of float.
5147
6b7a35dd
JB
51482006-12-20 Joel Brobecker <brobecker@adacore.com>
5149
5150 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
5151 The associated tests should be PASSing.
5152
038224f6
VP
51532006-12-08 Vladimir Prus <vladimir@codesourcery.com>
5154
5155 Test for base in references.
5156 * gdb.mi/mi-var-cp.cc: Add test code.
5157 * gdb.mi/mi-var-cp.exp: Test for bases in references.
5158 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
5159 * gdb.mi/mi2-watch.exp: Likewise.
5160 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
5161 (mi_list_varobj_children): New function.
5162
b26ed50d
VP
51632006-12-08 Vladimir Prus <vladimir@codesourcery.com>
5164
5165 * lib/mi-support.exp
5166 (mi_runto): Accept "()" after function name.
5167 (mi_create_varobj): New function.
5168 (mi_varobj_update): New function.
5169 (mi_Check_varobj_value): New function.
5170 * gdb.mi/mi-var-cp.exp: New file.
5171 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 5172
08232497
DJ
51732006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
5174
5175 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
5176 gdb.base/weaklib2.c: New files.
5177
d394c993 51782006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 5179
ac6c2fba
NS
5180 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
5181 info. Adjust test names.
5182
8ec659a0 5183 * gdb.base/break.c (main): Move position of malloc.
d394c993 5184 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 5185
acd65feb
VP
51862006-11-28 Vladimir Prus <vladimir@codesourcery.com>
5187
5188 * gdb.mi/mi-var-cmd.exp: Check -var-update after
5189 assignement of arrays and function pointers.
5190 * gdb.mi/var-cmd.c: Add declaration necessary for above
5191 tests.
5192
f556d5e5
NS
51932006-11-27 Nathan Sidwell <nathan@codesourcery.com>
5194
5195 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
5196
5197 * gdb.threads/linux-dp.exp: Read thread table before and after
5198 creating each philosopher and verify it.
5199
697bc68d
NS
52002006-11-27 Nathan Sidwell <nathan@codesourcery.com>
5201 Paul Brook <paul@codesourcery.com>
5202 Daniel Jacobowitz <dan@codesourcery.com>
5203
5204 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 5205 main to remove duplication. Add start function of the form
697bc68d
NS
5206 '_*start[1-9]*'. Add RVDS start function.
5207
29d73ae4
DJ
52082006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
5209
5210 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
5211
c1d88655
UW
52122006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5213
5214 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
5215 * gdb.asm/spu.inc: New file.
5216 * gdb.base/term.exp: Disable if [target_info exists noargs].
5217 * gdb.gdb/complaints.exp: Disable if ![isnative].
5218 * gdb.gdb/selftest.exp: Likewise.
5219 * gdb.gdb/observer.exp: Likewise.
5220 * gdb.gdb/xfullpath.exp: Likewise.
5221 * gdb.base/attach.exp: Disable on SPU target.
5222 * gdb.cp/bs145503.exp: Likewise.
5223 * gdb.cp/exception.exp: Likewise.
5224 * gdb.cp/userdef.exp: Likewise.
5225
32a13b1a
DJ
52262006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
5227
5228 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
5229
d8295fe9
VP
52302006-11-10 Vladimir Prus <vladimir@codesourcery.com>
5231
5232 * gdb.base/completion.exp: Fix completion tests for
5233 'info' and 'info '.
5234 * gdb.base/help.exp (help_test_raw, test_class_help)
5235 (test_prefix_command_help): Move...
5236 * lib/gdb.exp: Here.
5237 * gdb.base/main.exp: Adjust.
5238 * gdb.cp/maint.exp: Adjust.
5239 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 5240
8c394015
VP
52412006-11-09 Vladimir Prus <vladimir@codesourcery.com>
5242
5243 * gdb.stabs/weird.exp (print_weird_var): Use
5244 gdb_test_multiple instead of gdb_expect.
5245
027fc1bc
VP
52462006-11-09 Vladimir Prus <vladimir@codesourcery.com>
5247
5248 * gdb.base/help.exp (help_test_raw): New.
5249 (test_class_help): New.
5250 (test_prefix_command_help): New.
5251 Adjust testcases.
5252
67609209
FR
52532006-11-09 Christophe Lyon <christophe.lyon@st.com>
5254
5255 * gdb.base/constvars.c (main): Write to crass and crips, so that
5256 they are allocated by the compiler.
5257
f73adfeb
AS
52582006-10-27 Andreas Schwab <schwab@suse.de>
5259
5260 * gdb.base/multi-forks.exp: Use "detach fork" instead of
5261 "detach-fork".
5262
2f83a18e
DJ
52632006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
5264
5265 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
5266 of patterns.
5267
94277a38
DJ
52682006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
5269
5270 * gdb.base/sepdebug.exp: Remove debug format test.
5271 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
5272 Handle no-symtab.
5273 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
5274
5bd2f6e2
DJ
52752006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
5276
5277 * gdb.threads/manythreads.c (thread_function, main): Don't cast
5278 int to pointer or pointer to int.
5279 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
5280
8c008720
DJ
52812006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
5282
5283 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
5284
9e35dae4
DJ
52852006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5286
5287 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
5288
d9639e13
DJ
52892006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
5290
5291 PR c++/2116
5292 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
5293
390a1bd0
JB
52942006-10-06 Joel Brobecker <brobecker@adacore.com>
5295
5296 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
5297 the corresponding bug has been fixed in GDB (PR/2018).
5298
dd920c33
JB
52992006-10-06 Joel Brobecker <brobecker@adacore.com>
5300
5301 * gdb.base/subst.exp: New testcase.
5302
53bbefe9
JB
53032006-10-06 Joel Brobecker <brobecker@adacore.com>
5304
5305 * gdb.ada/array_return/pck.ads: Add copyright notice.
5306 * gdb.ada/array_return/pck.adb: Likewise.
5307 * gdb.ada/array_return/p.adb: Likewise.
5308 * gdb.ada/exec_changed/first.adb: Likewise.
5309 * gdb.ada/exec_changed/second.adb: Likewise.
5310
09851417
JB
53112006-10-06 Joel Brobecker <brobecker@adacore.com>
5312
5313 * gdb.ada/watch_arg/watch.adb: New file.
5314 * gdb.ada/watch_arg.exp: New testcase.
5315
041bf30d
VP
53162006-10-02 Vladimir Prus <vladimir@codesourcery.com>
5317
5318 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 5319 via string_to_regexp.
041bf30d 5320 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 5321
f286fbdd 53222006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
5323
5324 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
5325 Remove unused / obsolete files.
5326
7c07f349
NR
53272006-09-19 Nick Roberts <nickrob@snap.net.nz>
5328
5329 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
5330
cd5ff84a
VP
53312006-09-17 Vladimir Prus <vladimir@codesourcery.com>
5332
5333 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
5334 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 5335 the number of frames.
cd5ff84a 5336
ae018d1a
DJ
53372006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
5338
5339 * gdb.base/args.c (main): Add breakpoint marker.
5340 * gdb.base/args.exp: Use args_test for tests. Add new tests which
5341 really test empty arguments.
5342 (args_load): Delete.
5343 (args_test): New.
5344
b399c549
NR
53452006-09-13 Nick Roberts <nickrob@snap.net.nz>
5346
5347 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
5348 check for one file.
5349
2ab1eb7a
VP
53502006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
5351
5352 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
5353 HIGH_FRAME argument to -stack-list-locals can be larger than
5354 the number of frames.
a9c64011 5355
476308bf
FF
53562006-08-18 Fred Fish <fnf@specifix.com>
5357
5358 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
5359 '$' in front of skip_vmx_tests_saved when setting that.
5360
8625200f
AS
53612006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
5362
5363 * gdb.base/trace-commands.exp: New file.
5364
089ec8f1
DJ
53652006-08-10 Joel Brobecker <brobecker@adacore.com>
5366 Daniel Jacobowitz <dan@codesourcery.com>
5367
5368 * gdb.base/step-bt.exp: Make hexadecimal address optional in
5369 expected output of the backtrace commands.
5370
b60f0898
JB
53712006-08-09 Joel Brobecker <brobecker@adacore.com>
5372
5373 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
5374 untested followed by return combination.
5375 * gdb.arch/altivec-regs.exp: Likewise.
5376 * gdb.arch/e500-abi.exp: Likewise.
5377 * gdb.arch/e500-regs.exp: Likewise.
5378 * gdb.arch/gdb1291.exp: Likewise.
5379 * gdb.arch/gdb1431.exp: Likewise.
5380 * gdb.arch/gdb1558.exp: Likewise.
5381 * gdb.arch/i386-prologue.exp: Likewise.
5382 * gdb.arch/i386-unwind.exp: Likewise.
5383 * gdb.asm/asm-source.exp: Likewise.
5384 * gdb.base/a2-run.exp: Likewise.
5385 * gdb.base/advance.exp: Likewise.
5386 * gdb.base/all-bin.exp: Likewise.
5387 * gdb.base/annota1.exp: Likewise.
5388 * gdb.base/annota3.exp: Likewise.
5389 * gdb.base/args.exp: Likewise.
5390 * gdb.base/arithmet.exp: Likewise.
5391 * gdb.base/assign.exp: Likewise.
5392 * gdb.base/async.exp: Likewise.
5393 * gdb.base/attach.exp: Likewise.
5394 * gdb.base/bang.exp: Likewise.
5395 * gdb.base/bigcore.exp: Likewise.
5396 * gdb.base/bitfields.exp: Likewise.
5397 * gdb.base/bitfields2.exp: Likewise.
5398 * gdb.base/break.exp: Likewise.
5399 * gdb.base/call-sc.exp: Likewise.
5400 * gdb.base/call-strs.exp: Likewise.
5401 * gdb.base/callfuncs.exp: Likewise.
5402 * gdb.base/checkpoint.exp: Likewise.
5403 * gdb.base/chng-syms.exp: Likewise.
5404 * gdb.base/code-expr.exp: Likewise.
5405 * gdb.base/commands.exp: Likewise.
5406 * gdb.base/completion.exp: Likewise.
5407 * gdb.base/cond-expr.exp: Likewise.
5408 * gdb.base/condbreak.exp: Likewise.
5409 * gdb.base/consecutive.exp: Likewise.
5410 * gdb.base/constvars.exp: Likewise.
5411 * gdb.base/corefile.exp: Likewise.
5412 * gdb.base/cvexpr.exp: Likewise.
5413 * gdb.base/dbx.exp: Likewise.
5414 * gdb.base/define.exp: Likewise.
5415 * gdb.base/detach.exp: Likewise.
5416 * gdb.base/display.exp: Likewise.
5417 * gdb.base/dump.exp: Likewise.
5418 * gdb.base/ena-dis-br.exp: Likewise.
5419 * gdb.base/ending-run.exp: Likewise.
5420 * gdb.base/environ.exp: Likewise.
5421 * gdb.base/eval-skip.exp: Likewise.
5422 * gdb.base/exprs.exp: Likewise.
5423 * gdb.base/fileio.exp: Likewise.
5424 * gdb.base/finish.exp: Likewise.
5425 * gdb.base/float.exp: Likewise.
5426 * gdb.base/foll-exec.exp: Likewise.
5427 * gdb.base/foll-fork.exp: Likewise.
5428 * gdb.base/foll-vfork.exp: Likewise.
5429 * gdb.base/freebpcmd.exp: Likewise.
5430 * gdb.base/funcargs.exp: Likewise.
5431 * gdb.base/gcore.exp: Likewise.
5432 * gdb.base/gdb1090.exp: Likewise.
5433 * gdb.base/gdb1250.exp: Likewise.
5434 * gdb.base/huge.exp: Likewise.
5435 * gdb.base/info-proc.exp: Likewise.
5436 * gdb.base/interrupt.exp: Likewise.
5437 * gdb.base/jump.exp: Likewise.
5438 * gdb.base/langs.exp: Likewise.
5439 * gdb.base/lineinc.exp: Likewise.
5440 * gdb.base/list.exp: Likewise.
5441 * gdb.base/logical.exp: Likewise.
5442 * gdb.base/long_long.exp: Likewise.
5443 * gdb.base/macscp.exp: Likewise.
5444 * gdb.base/maint.exp: Likewise.
5445 * gdb.base/mips_pro.exp: Likewise.
5446 * gdb.base/miscexprs.exp: Likewise.
5447 * gdb.base/multi-forks.exp: Likewise.
5448 * gdb.base/opaque.exp: Likewise.
5449 * gdb.base/overlays.exp: Likewise.
5450 * gdb.base/pc-fp.exp: Likewise.
5451 * gdb.base/pointers.exp: Likewise.
5452 * gdb.base/printcmds.exp: Likewise.
5453 * gdb.base/psymtab.exp: Likewise.
5454 * gdb.base/ptype.exp: Likewise.
5455 * gdb.base/recurse.exp: Likewise.
5456 * gdb.base/relational.exp: Likewise.
5457 * gdb.base/relocate.exp: Likewise.
5458 * gdb.base/remote.exp: Likewise.
5459 * gdb.base/reread.exp: Likewise.
5460 * gdb.base/restore.exp: Likewise.
5461 * gdb.base/return.exp: Likewise.
5462 * gdb.base/return2.exp: Likewise.
5463 * gdb.base/scope.exp: Likewise.
5464 * gdb.base/sect-cmd.exp: Likewise.
5465 * gdb.base/sep.exp: Likewise.
5466 * gdb.base/sepdebug.exp: Likewise.
5467 * gdb.base/setshow.exp: Likewise.
5468 * gdb.base/setvar.exp: Likewise.
5469 * gdb.base/sigall.exp: Likewise.
5470 * gdb.base/sigbpt.exp: Likewise.
5471 * gdb.base/signals.exp: Likewise.
5472 * gdb.base/signull.exp: Likewise.
5473 * gdb.base/sizeof.exp: Likewise.
5474 * gdb.base/solib.exp: Likewise.
5475 * gdb.base/step-line.exp: Likewise.
5476 * gdb.base/step-test.exp: Likewise.
5477 * gdb.base/structs.exp: Likewise.
5478 * gdb.base/structs2.exp: Likewise.
5479 * gdb.base/term.exp: Likewise.
5480 * gdb.base/twice.exp: Likewise.
5481 * gdb.base/until.exp: Likewise.
5482 * gdb.base/varargs.exp: Likewise.
5483 * gdb.base/volatile.exp: Likewise.
5484 * gdb.base/watchpoint.exp: Likewise.
5485 * gdb.base/whatis-exp.exp: Likewise.
5486 * gdb.base/whatis.exp: Likewise.
5487 * gdb.cp/ambiguous.exp: Likewise.
5488 * gdb.cp/annota2.exp: Likewise.
5489 * gdb.cp/annota3.exp: Likewise.
5490 * gdb.cp/bool.exp: Likewise.
5491 * gdb.cp/breakpoint.exp: Likewise.
5492 * gdb.cp/casts.exp: Likewise.
5493 * gdb.cp/class2.exp: Likewise.
5494 * gdb.cp/classes.exp: Likewise.
5495 * gdb.cp/cplusfuncs.exp: Likewise.
5496 * gdb.cp/ctti.exp: Likewise.
5497 * gdb.cp/derivation.exp: Likewise.
5498 * gdb.cp/exception.exp: Likewise.
5499 * gdb.cp/gdb1355.exp: Likewise.
5500 * gdb.cp/hang.exp: Likewise.
5501 * gdb.cp/inherit.exp: Likewise.
5502 * gdb.cp/local.exp: Likewise.
5503 * gdb.cp/m-data.exp: Likewise.
5504 * gdb.cp/m-static.exp: Likewise.
5505 * gdb.cp/member-ptr.exp: Likewise.
5506 * gdb.cp/method.exp: Likewise.
5507 * gdb.cp/misc.exp: Likewise.
5508 * gdb.cp/namespace.exp: Likewise.
5509 * gdb.cp/overload.exp: Likewise.
5510 * gdb.cp/ovldbreak.exp: Likewise.
5511 * gdb.cp/pr-1023.exp: Likewise.
5512 * gdb.cp/pr-1210.exp: Likewise.
5513 * gdb.cp/pr-574.exp: Likewise.
5514 * gdb.cp/printmethod.exp: Likewise.
5515 * gdb.cp/psmang.exp: Likewise.
5516 * gdb.cp/ref-params.exp: Likewise.
5517 * gdb.cp/ref-types.exp: Likewise.
5518 * gdb.cp/rtti.exp: Likewise.
5519 * gdb.cp/templates.exp: Likewise.
5520 * gdb.cp/try_catch.exp: Likewise.
5521 * gdb.cp/userdef.exp: Likewise.
5522 * gdb.cp/virtfunc.exp: Likewise.
5523 * gdb.disasm/am33.exp: Likewise.
5524 * gdb.disasm/h8300s.exp: Likewise.
5525 * gdb.disasm/mn10300.exp: Likewise.
5526 * gdb.disasm/sh3.exp: Likewise.
5527 * gdb.disasm/t01_mov.exp: Likewise.
5528 * gdb.disasm/t02_mova.exp: Likewise.
5529 * gdb.disasm/t03_add.exp: Likewise.
5530 * gdb.disasm/t04_sub.exp: Likewise.
5531 * gdb.disasm/t05_cmp.exp: Likewise.
5532 * gdb.disasm/t06_ari2.exp: Likewise.
5533 * gdb.disasm/t07_ari3.exp: Likewise.
5534 * gdb.disasm/t08_or.exp: Likewise.
5535 * gdb.disasm/t09_xor.exp: Likewise.
5536 * gdb.disasm/t10_and.exp: Likewise.
5537 * gdb.disasm/t11_logs.exp: Likewise.
5538 * gdb.disasm/t12_bit.exp: Likewise.
5539 * gdb.disasm/t13_otr.exp: Likewise.
5540 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
5541 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
5542 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5543 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
5544 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
5545 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
5546 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
5547 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
5548 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
5549 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
5550 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
5551 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
5552 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
5553 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
5554 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
5555 * gdb.mi/gdb701.exp: Likewise.
5556 * gdb.mi/gdb792.exp: Likewise.
5557 * gdb.mi/mi-basics.exp: Likewise.
5558 * gdb.mi/mi-break.exp: Likewise.
5559 * gdb.mi/mi-cli.exp: Likewise.
5560 * gdb.mi/mi-console.exp: Likewise.
5561 * gdb.mi/mi-disassemble.exp: Likewise.
5562 * gdb.mi/mi-eval.exp: Likewise.
5563 * gdb.mi/mi-file.exp: Likewise.
5564 * gdb.mi/mi-read-memory.exp: Likewise.
5565 * gdb.mi/mi-regs.exp: Likewise.
5566 * gdb.mi/mi-return.exp: Likewise.
5567 * gdb.mi/mi-simplerun.exp: Likewise.
5568 * gdb.mi/mi-stack.exp: Likewise.
5569 * gdb.mi/mi-stepi.exp: Likewise.
5570 * gdb.mi/mi-syn-frame.exp: Likewise.
5571 * gdb.mi/mi-until.exp: Likewise.
5572 * gdb.mi/mi-var-block.exp: Likewise.
5573 * gdb.mi/mi-var-child.exp: Likewise.
5574 * gdb.mi/mi-var-cmd.exp: Likewise.
5575 * gdb.mi/mi-var-display.exp: Likewise.
5576 * gdb.mi/mi-watch.exp: Likewise.
5577 * gdb.mi/mi2-basics.exp: Likewise.
5578 * gdb.mi/mi2-break.exp: Likewise.
5579 * gdb.mi/mi2-cli.exp: Likewise.
5580 * gdb.mi/mi2-console.exp: Likewise.
5581 * gdb.mi/mi2-disassemble.exp: Likewise.
5582 * gdb.mi/mi2-eval.exp: Likewise.
5583 * gdb.mi/mi2-file.exp: Likewise.
5584 * gdb.mi/mi2-read-memory.exp: Likewise.
5585 * gdb.mi/mi2-regs.exp: Likewise.
5586 * gdb.mi/mi2-return.exp: Likewise.
5587 * gdb.mi/mi2-simplerun.exp: Likewise.
5588 * gdb.mi/mi2-stack.exp: Likewise.
5589 * gdb.mi/mi2-stepi.exp: Likewise.
5590 * gdb.mi/mi2-syn-frame.exp: Likewise.
5591 * gdb.mi/mi2-until.exp: Likewise.
5592 * gdb.mi/mi2-var-block.exp: Likewise.
5593 * gdb.mi/mi2-var-child.exp: Likewise.
5594 * gdb.mi/mi2-var-cmd.exp: Likewise.
5595 * gdb.mi/mi2-var-display.exp: Likewise.
5596 * gdb.mi/mi2-watch.exp: Likewise.
5597 * gdb.stabs/exclfwd.exp: Likewise.
5598 * gdb.stabs/weird.exp: Likewise.
5599 * gdb.threads/gcore-thread.exp: Likewise.
5600 * gdb.trace/actions.exp: Likewise.
5601 * gdb.trace/backtrace.exp: Likewise.
5602 * gdb.trace/circ.exp: Likewise.
5603 * gdb.trace/collection.exp: Likewise.
5604 * gdb.trace/deltrace.exp: Likewise.
5605 * gdb.trace/infotrace.exp: Likewise.
5606 * gdb.trace/limits.exp: Likewise.
5607 * gdb.trace/packetlen.exp: Likewise.
5608 * gdb.trace/passc-dyn.exp: Likewise.
5609 * gdb.trace/passcount.exp: Likewise.
5610 * gdb.trace/report.exp: Likewise.
5611 * gdb.trace/save-trace.exp: Likewise.
5612 * gdb.trace/tfind.exp: Likewise.
5613 * gdb.trace/tracecmd.exp: Likewise.
5614 * gdb.trace/while-dyn.exp: Likewise.
5615 * gdb.trace/while-stepping.exp: Likewise.
5616
f4b618d1
JB
56172006-08-08 Joel Brobecker <brobecker@adacore.com>
5618
5619 * gdb.base/step-bt.c: New file.
5620 * gdb.base/step-bt.exp: New testcase.
5621
3d00d119
DJ
56222006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
5623
5624 * config/monitor.exp (gdb_load): Remove support for obsolete
5625 download-write-size.
5626 * gdb.base/remote.exp: Likewise. Update all callers of
5627 gdb_timed_load.
5628
017b5bd4
DJ
56292006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
5630
5631 * cursal.exp: Pass binfile to gdb_load.
5632
837c599d
DJ
56332006-08-01 Nathan Sidwell <nathan@codesourcery.com>
5634
5635 * gdb.base/cursal.exp: Add "" to gdb_load call.
5636
8dd4540b
MK
56372006-07-29 Mark Kettenis <kettenis@gnu.org>
5638
5639 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
5640 NetBSD/ELF targets.
5641
ab5c9f60
DJ
56422006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
5643
5644 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
5645 operator*.
5646
4c42eaff
DJ
56472006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
5648
5649 * gdb.base/completion.exp: Update for change in "file" behavior.
5650 * gdb.stabs/weird.exp: Likewise.
5651 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
5652 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
5653
0155cc76
NS
56542006-07-24 Nathan Sidwell <nathan@codesourcery.com>
5655
5656 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
5657 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
5658
16026cd7
AS
56592006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
5660
5661 * gdb.base/default.exp: Update source command error message.
5662 * gdb.base/help.exp: Update 'help source' message.
5663
16963cb6
DJ
56642006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
5665
5666 * gdb.cp/bs15503.exp: Update comment for no longer crashing
5667 test.
5668
6d7fd486
AS
56692006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
5670
5671 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
5672
29e8a844
DJ
56732006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
5674
5675 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
5676
6afcfa39
DJ
56772006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
5678
5679 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
5680
267a692b
MK
56812006-07-17 Mark Kettenis <kettenis@gnu.org>
5682
5683 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
5684 *-*-openbsd* from targets for wich we expect ARM FPA floating
5685 point format.
5686
85d2fec4
NR
56872006-07-17 Nick Roberts <nickrob@snap.net.nz>
5688
5689 * gdb.cp/annota3.exp: Expect frame-begin annotation.
5690
56912006-07-17 Mark Kettenis <kettenis@gnu.org>
5692
5693 * gdb.base/annota3.exp: Expect frame-begin annotation.
5694
85b4c6e8
JB
56952006-07-14 Joel Brobecker <brobecker@adacore.com>
5696
5697 * gdb.base/help.exp: Adjust "help unset" test to accept
5698 any list of unset commands.
5699
fb933624
DJ
57002006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
5701 Daniel Jacobowitz <dan@codesourcery.com>
5702
5703 * gdb.cp/ref-params.exp: New test.
5704 * gdb.cp/ref-params.cc: New source file.
5705 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
5706
1dff4b64
MK
57072006-07-08 Mark Kettenis <kettenis@gnu.org>
5708
5709 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
5710 spaces/tabs in regular expressions since they might not be there.
5711
40d2e0e3
AS
57122006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
5713
5714 * gdb.base/ifelse.exp: New file.
5715
f6c957d2
NS
57162006-07-04 Nathan Sidwell <nathan@codesourcery.com>
5717
5718 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
5719 line.
5720 * gdb.base/huge.exp: Loop over compilation to find a size that
5721 is acceptable.
5722 * gdb.base/remote.exp: Correct expected strings.
5723 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
5724
b9c5a23d
DJ
57252006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
5726
5727 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
5728
9af2e58d
DJ
57292006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
5730
5731 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
5732 native.
5733
30930ca5
DJ
57342006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
5735
5736 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
5737 enable stabs testing.
5738
aa32fa1d
DJ
57392006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
5740
bd4a4c80 5741 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
5742 gdb_test_multiple does.
5743
321fef15
DJ
57442006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
5745
5746 * Makefile.in (host_alias): Remove.
5747 (target_alias): Use @target_noncanonical@.
5748 (site.exp): Don't set host_alias.
5749 * aclocal.m4: Remove contents. Include acx.m4.
5750 * configure: Regenerated.
5751 * configure.ac: Use ACX_NONCANONICAL_TARGET.
5752
e1c2defa
NS
57532006-06-13 Nathan Sidwell <nathan@codesourcery.com>
5754
e63b55d1
NS
5755 * lib/gdb.exp (gdb_load_cmd): New.
5756
5600ea19
NS
5757 * gdb.base/fileio.c: Add system(NULL) test.
5758 * gdb.base/fileio.exp: Check it.
5759
e1c2defa
NS
5760 * gdb.base/break.c: Add 10a breakpoint at }
5761 * gdb.base/break.exp: Add test for breakpoint at }
5762 * gdb.cp/anon-union.cc: Add code at end of function.
5763 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
5764 * gdb.mi/var-cmd.c: Add code at end of function.
5765 * gdb.mi/mi-var-display.exp: Adjust end of next.
5766 * gdb.mi/mi2-var-display.exp: Likewise.
5767 * gdb.base/fileio.c: Add stop function and insert calls at
5768 stopping places.
5769 * gdb.base/fileio.exp: Breakpoint stop function and remove
5770 explicit line number references.
5771
6c0112ec
JB
57722006-05-19 Joel Brobecker <brobecker@adacore.com>
5773
a9c64011
AS
5774 * gdb.base/del.exp (test_delete_alias): New function.
5775 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 5776
154189a4
FF
57772006-05-18 Fred Fish <fnf@specifix.com>
5778
5779 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
5780 required. Check for spurious output after program exits normally.
5781
582e64c2
FF
57822006-05-17 Fred Fish <fnf@specifix.com>
5783
5784 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
5785 gdb_load, so it works in the simulator.
5786
8ef6493a
FF
57872006-05-11 Fred Fish <fnf@specifix.com>
5788
5789 * gdb.base/bang.exp: Ignore unexpected output between the
5790 "program exited normally" and the gdb prompt, as many other
5791 tests do.
5792
692b141c
MK
57932006-05-07 Mark Kettenis <kettenis@gnu.org>
5794
5795 * gdb.base/help.exp: Make "delete checkpoint" part option for
5796 "help d" and "help delete" tests.
5797
540b8a30
UW
57982006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5799
a9c64011 5800 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
5801 expected output in some mi_gdb_test statements.
5802 * gdb.mi/mi2-basics.exp: Likewise.
5803
9b6462d9
JB
58042006-05-05 Joel Brobecker <brobecker@adacore.com>
5805
5806 * gdb.base/del.c: New file.
5807 * gdb.base/del.exp: New testcase.
5808
954de43b
DM
58092006-05-05 David S. Miller <davem@sunset.davemloft.net>
5810
5811 * gdb.base/break.exp: Do not assume a breakpoint on
5812 main will actually be in $srcfile when optimizing.
1303f75e
DM
5813 * gdb.base/savedregs.exp: Do not require that the dummy
5814 frame location match up to a symbol and source file location.
c3242428
DM
5815 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
5816 will get printed without a mi_cmd_data_list_register_values prefix.
5817 (*-data-list-register-*): Correct regular expressions to expect the new
5818 pseudo d? floating point registers.
5819 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 5820
c7e64c9a
DJ
58212006-05-05 Christophe Lyon <christophe.lyon@st.com>
5822
5823 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
5824 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
5825 is allocated by the compiler.
5826 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
5827 anons, e, anone to force their allocation by the compiler.
5828
58292006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
5830
5831 * gdb.base/help.exp: Update expected text for help d and
5832 help delete.
5833
27ce9a6d
MK
58342006-05-02 Mark Kettenis <kettenis@gnu.org>
5835
5836 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
5837 NetBSD/ELF targets.
5838
8608915f
MK
58392006-04-30 Mark Kettenis <kettenis@gnu.org>
5840
5841 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
5842 single-step breakpoint fails; make this a KFAIL on
5843 sparc*-*-openbsd*.
5844 * gdb.base/siginfo.exp: Likewise.
5845 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5846
b8db102d
MS
58472006-04-26 Michael Snyder <msnyder@redhat.com>
5848
5849 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
5850 which may have to consume output from other forks.
5851 Add tests to make sure that "delete fork" succeeded.
5852
c702009a
MS
58532006-04-20 Michael Snyder <msnyder@redhat.com>
5854
5855 * 2006-03-22 Jim Blandy <jimb@redhat.com>
5856 Add support for the Renesas M32C and M16C.
5857
5858 * gdb.asm/asm-source.exp: Add m32c target.
5859 * gdb.asm/m32c.inc: Support for m32c target.
5860
e28493f2
AS
58612006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
5862
5863 * gdb.base/commands.exp (recursive_source_test): New test.
5864
880da185
DM
58652006-04-04 David S. Miller <davem@sunset.davemloft.net>
5866
5867 * gdb.base/float.exp: Add pattern for sparc targets.
5868
61d9b92f
DJ
58692006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
5870
5871 * gdb.base/commands.exp (stray_arg0_test): New test.
5872
bd717df8
PB
58732006-03-30 Paul Brook <paul@codesourcery.com>
5874
5875 * gdb.mi/mi-until.exp: kfail broken until command.
5876 * gdb.mi/mi2-until.exp: Ditto.
5877
ec793d3c
NR
58782006-03-27 Nick Roberts <nickrob@snap.net.nz>
5879
5880 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
5881
831004b7
AO
58822006-03-08 Alexandre Oliva <aoliva@redhat.com>
5883
5884 * gdb.base/prelink.exp: Anchor tested-for regular expression
5885 on gdb prompt.
5886
effe49a0
PB
58872006-03-07 Paul Brook <paul@codesourcery.com>
5888
5889 * gdb.base/assign.exp: Correct fail message.
5890
e5461016
PB
58912006-03-07 Paul Brook <paul@codesourcery.com>
5892
5893 * lib/compiler.c: Extract armcc version number.
5894 * lib/compiler.cc: Ditto.
5895
fc91c6c2
PB
58962006-03-07 Paul Brook <paul@codesourcery.com>
5897
5898 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
5899 additional_flags=-w.
5900 * gdb.arch/altivec-regs.exp: Ditto.
5901 * gdb.arch/e500-abi.exp: Ditto.
5902 * gdb.arch/e500-regs.exp: Ditto.
5903 * gdb.base/all-bin.exp: Ditto.
5904 * gdb.base/annota1.exp: Ditto.
5905 * gdb.base/annota3.exp: Ditto.
5906 * gdb.base/args.exp: Ditto.
5907 * gdb.base/arithmet.exp: Ditto.
5908 * gdb.base/assign.exp: Ditto.
5909 * gdb.base/async.exp: Ditto.
5910 * gdb.base/bang.exp: Ditto.
5911 * gdb.base/break.exp: Ditto.
5912 * gdb.base/call-rt-st.exp: Ditto.
5913 * gdb.base/completion.exp: Ditto.
5914 * gdb.base/cond-expr.exp: Ditto.
5915 * gdb.base/condbreak.exp: Ditto.
5916 * gdb.base/consecutive.exp: Ditto.
5917 * gdb.base/define.exp: Ditto.
5918 * gdb.base/display.exp: Ditto.
5919 * gdb.base/ena-dis-br.exp: Ditto.
5920 * gdb.base/environ.exp: Ditto.
5921 * gdb.base/eval-skip.exp: Ditto.
5922 * gdb.base/info-proc.exp: Ditto.
5923 * gdb.base/jump.exp: Ditto.
5924 * gdb.base/logical.exp: Ditto.
5925 * gdb.base/long_long.exp: Ditto.
5926 * gdb.base/maint.exp: Ditto.
5927 * gdb.base/miscexprs.exp: Ditto.
5928 * gdb.base/pc-fp.exp: Ditto.
5929 * gdb.base/pointers.exp: Ditto.
5930 * gdb.base/relational.exp: Ditto.
5931 * gdb.base/reread.exp: Ditto.
5932 * gdb.base/sect-cmd.exp: Ditto.
5933 * gdb.base/sep.exp: Ditto.
5934 * gdb.base/sepdebug.exp: Ditto.
5935 * gdb.base/until.exp: Ditto.
5936 * gdb.base/whatis-exp.exp: Ditto.
5937 * gdb.cp/annota2.exp: Ditto.
5938 * gdb.cp/annota3.exp: Ditto.
5939 * gdb.trace/actions.exp: Ditto.
5940 * gdb.trace/backtrace.exp: Ditto.
5941 * gdb.trace/circ.exp: Ditto.
5942 * gdb.trace/collection.exp: Ditto.
5943 * gdb.trace/deltrace.exp: Ditto.
5944 * gdb.trace/infotrace.exp: Ditto.
5945 * gdb.trace/limits.exp: Ditto.
5946 * gdb.trace/packetlen.exp: Ditto.
5947 * gdb.trace/passc-dyn.exp: Ditto.
5948 * gdb.trace/passcount.exp: Ditto.
5949 * gdb.trace/report.exp: Ditto.
5950 * gdb.trace/save-trace.exp: Ditto.
5951 * gdb.trace/tfind.exp: Ditto.
5952 * gdb.trace/tracecmd.exp: Ditto.
5953 * gdb.trace/while-dyn.exp: Ditto.
5954 * gdb.trace/while-stepping.exp: Ditto.
5955 * lib/gdb.exp: Ditto.
5956 (gdb_compile): Handle nowarning option.
5957
5f4a23d9
AO
59582006-03-07 Alexandre Oliva <aoliva@redhat.com>
5959
5960 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
5961 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
5962 Rename executable to prelinkt. Don't re-prelink if we didn't
5963 get a core file. Test prelink -u exit status to tell whether
5964 prelinking failed. Use gdb_test_multiple.
5965
9733fc94
DJ
59662006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
5967
5968 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
5969 (do_tests): Call it.
5970
cc10cae3
AO
59712006-02-28 Alexandre Oliva <aoliva@redhat.com>
5972
5973 * gdb.base/prelink.exp: New test.
5974 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
5975
15c46491
WZ
59762006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
5977
5978 * gdb.fortran/derived-type.f90: New file.
5979 * gdb.fortran/derived-type.exp: New testcase.
5980
5c9f7ded
DJ
59812006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
5982
5983 * gdb.base/default.exp: Allow ';' as a directory separator.
5984
5b96932b
AS
59852006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
5986
5987 * gdb.base/help.exp (help add-symbol-file): Update.
5988
1986bccd
AS
59892006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
5990
5991 * gdb.base/help.exp (help load): Update expected results.
5992
a8b7528f
FF
59932006-02-19 Fred Fish <fnf@specifix.com>
5994
5995 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
5996 specifix hex value as part of results.
5997 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 5998
f8261448
FF
59992006-02-16 Fred Fish <fnf@specifix.com>
6000
6001 * gdb.base/whatis.c: Define variables using typedefs char_addr,
6002 ushort_addr, and slong_addr, so the typedefs are not optimized
6003 away.
6004 * gdb.base/whatis.exp: Add tests using type name for struct type,
6005 union type, enum type, and typedef.
a9c64011 6006
31d8bdd2
MK
60072006-02-13 Mark Kettenis <kettenis@gnu.org>
6008
6009 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
6010
34e41e63
JB
60112006-02-13 Jim Blandy <jimb@redhat.com>
6012
6013 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
6014 case where it takes two "next" commands to skip past the init
6015 call.
6016
ac6e4f31
FF
60172006-02-12 Fred Fish <fnf@specifix.com>
6018
6019 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
6020 to handle cases where it takes two "next" commands to skip
6021 past the init call.
6022
2db2d571
JB
60232006-02-07 Joel Brobecker <brobecker@adacore.com>
6024
6025 * gdb.ada/array_return.exp: Mark the last test as expected to fail
6026 on hppa32 targets.
6027
38fcd64c
DJ
60282006-02-06 Vladimir Prus <ghost@cs.msu.su>
6029
6030 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
6031 field.
6032
1315ad46
MK
60332006-01-29 Mark Kettenis <kettenis@gnu.org>
6034
6035 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
6036
5625b943
DJ
60372006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
6038
6039 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
6040 files.
6041
80df1bbe
DJ
60422006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6043
6044 * gdb.cp/maint.exp: Set complaints to a positive value.
6045
9078e690
DJ
60462006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
6047
6048 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
6049 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
6050 function name.
6051
9c903399
DJ
60522006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
6053
6054 * gdb.base/checkpoint.c: Update copyright notice. Include
6055 <stdlib.h>.
6056
761ae4d6
JB
60572006-01-04 Jim Blandy <jimb@redhat.com>
6058
6059 * gdb.asm/asm-source.exp: Independently provide default values for
6060 asm-flags and debug-flags. Use 'string equal' to do the
6061 comparison, not the implicit expr's '==' operator. Remove
6062 now-unneeded assignments to asm-flags. In h8300 case, place
6063 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
6064
099ac3dd
MS
60652006-01-04 Michael Snyder <msnyder@redhat.com>
6066
6067 * gdb.base/checkpoint.c: New file.
6068 * gdb.base/checkpoint.exp: New file.
6069 * gdb.base/multi-fork.c: New file.
6070 * gdb.base/multi-fork.exp: New file.
6071 * gdb.base/pi.txt: New file (data for checkpoint.c test).
6072
f4d85314
FF
60732006-01-04 Fred Fish <fnf@specifix.com>
6074
6075 * gdb.base/ptype.c (foo): Add typedef.
6076 (intfoo): Add function.
6077 * gdb.base/ptype1.c: New file.
6078 * gdb.base/ptype.exp: Handle compilation and linking with two
6079 source files. Test that proper type for "foo" is found based
6080 on source context rather than first match found in symtabs.
6081
a1b06f35
MK
60822005-12-28 Mark Kettenis <kettenis@gnu.org>
6083
6084 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
6085 * gdb.asm/openbsd.inc: Indent commands.
6086
d082a1e2
MK
60872005-12-26 Mark Kettenis <kettenis@gnu.org>
6088
c65016bd
MK
6089 * gdb.base/freebpcmd.exp: Increase timeout.
6090
d082a1e2
MK
6091 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
6092
d3c32a0e
DJ
60932005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
6094
6095 * gdb.base/default.exp: Update check for "show version".
6096
9fdb1f50
RC
60972005-12-09 Randolph Chung <tausq@debian.org>
6098
6099 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
6100 * gdb.asm/pa64.inc: New file.
6101
5f2c56f7
RC
61022005-12-09 Randolph Chung <tausq@debian.org>
6103
6104 * gdb.asm/common.inc: Indent commands.
6105 * gdb.asm/asmsrc1.s: Likewise.
6106 * gdb.asm/asmsrc2.s: Likewise.
6107
8117349c
RC
61082005-12-09 Randolph Chung <tausq@debian.org>
6109
6110 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
6111 (get_addr_of_sym): Remove duplicate print.
6112 (gen_core): xfail hppa*-*-hpux*, update expected output.
6113 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
6114 * gdb.arch/pa64-nullify.s: New file.
6115
8f07f25a
RC
61162005-12-09 Randolph Chung <tausq@debian.org>
6117
6118 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
6119
55b39184
DJ
61202005-12-07 Christophe Lyon <christophe.lyon@st.com>
6121
6122 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
6123 code generation for these functions.
6124 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
6125 error message.
6126
31e2b00f
AS
61272005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
6128
6129 * gdb.base/help.exp (help b, help br, help bre, help brea)
6130 (help break): Update the expected message.
6131
c3d0b56e
SC
61322005-11-11 Stephane Carrez <stcarrez@nerim.fr>
6133
6134 * gdb.asm/m68hc11.inc: Setup the data section.
6135 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
6136 script for this test.
6137 (m6812-*-*): Likewise.
6138
36ae0ea9
RC
61392005-11-09 Randolph Chung <tausq@debian.org>
6140
6141 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
6142
9d6f42e9
WZ
61432005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
6144
6145 * gdb.base/break.exp: Fix a comment typo.
6146
e2126a14
EZ
61472005-11-03 Jim Blandy <jimb@redhat.com>
6148
a9c64011
AS
6149 Checked in by Elena Zannoni <ezannoni@redhat.com>
6150
e2126a14
EZ
6151 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
6152
e0ac7199
CV
61532005-11-02 Corinna Vinschen <vinschen@redhat.com>
6154
6155 * gdb.arch/gdb1558.c: Include stdio.h.
6156
31d3fb18
MK
61572005-10-31 Mark Kettenis <kettenis@gnu.org>
6158
6159 * gdb.asm/asm-source.exp: Use -e instead of --entry.
6160
e52b687c
MK
61612005-10-31 Mark Kettenis <kettenis@gnu.org>
6162
6163 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
6164
f4711d79
PG
61652005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
6166
a9c64011
AS
6167 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
6168 vscr" tests to better match output.
f4711d79 6169
987a9106
JB
61702005-10-12 Jim Blandy <jimb@redhat.com>
6171
6172 * gdb.base/structs.exp (any): New function.
6173 (test_struct_returns): Don't make any assumptions at all about
6174 what value the function returns when GDB can't set the return
6175 value.
6176
2336bb58
JB
61772005-10-09 Joel Brobecker <brobecker@adacore.com>
6178
6179 * gdb.ada/arrayidx/p.adb: New file.
6180 * gdb.ada/arrayidx.exp: New testcase
6181
61822005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
6183
6184 * gdb.ada/array_return/pck.ads: New file.
6185 * gdb.ada/array_return/pck.adb: New file.
6186 * gdb.ada/array_return/p.adb: New file.
6187 * gdb.ada/array_return.exp: New testcase.
6188
705335ea
JB
61892005-10-03 Joel Brobecker <brobecker@adacore.com>
6190
a9c64011
AS
6191 * gdb.base/arrayidx.c: New file.
6192 * gdb.base/arrayidx.exp: New testcase.
705335ea 6193
11ee9940
NR
61942005-09-29 Nick Roberts <nickrob@snap.net.nz>
6195
6196 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
6197 frames-invalid and breakpoints-invalid are no longer generated
6198 with level 3 so don't expect them in the output.
6199
39fb8e9e
BR
62002005-09-27 Bob Rossi <bob@brasko.net>
6201
a9c64011 6202 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
6203 from test. Escape the | in mi_gdb_test call.
6204 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
6205 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
6206 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
6207 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
6208 expected regex's in mi_gdb_test calls.
6209 * lib/mi-support.exp: Remove arbitrary .* from tests.
6210 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
6211 Fully anchor GDB/MI expected results in mi_gdb_test.
6212 * lib/gdb.exp (string_to_regexp): Escape the ] character.
6213 * gdb.base/sizeof.exp: Remove escape character. Correct test.
6214
2af48f68
PB
62152005-09-26 Paul Brook <paul@codesourcery.com>
6216
6217 * long_long.exp: Exclude eabi targets from arm FPA float format test.
6218
f34502bc
WZ
62192005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
6220
6221 * bfp-test.c: New file.
6222 * bfp-test.exp: New testcase.
6223
ca929517
WZ
62242005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
6225
6226 * gdb.fortran/subarray.exp: New testcase to test the evaluation
6227 of subarray and substring variable.
6228 * gdb.fortran/subarray.f: New source file for the test of subarray
6229 and substring variable evaluation.
6230 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
6231 of string constant.
6232
c761af65
DJ
62332005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
6234
6235 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
6236 copyright dates.
6237
561d7a1d
PG
62382005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
6239
6240 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
6241 powerpc altivec' test with an almost identical 'info vector' test.
6242
b2b64cc9
PG
62432005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
6244
a9c64011
AS
6245 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
6246 vscr" tests to match output.
b2b64cc9 6247
6ac4d15a
PG
62482005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
6249
a9c64011
AS
6250 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
6251 output.
6ac4d15a 6252
40e55bef
BR
62532005-09-11 Bob Rossi <bob@brasko.net>
6254
6255 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
a9c64011 6256 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
40e55bef
BR
6257 commands that return an MI output command and an asyncronous MI output
6258 command.
6259 * gdb.mi/mi-console.exp: Ditto.
6260
3c7385ec
BR
62612005-09-11 Bob Rossi <bob@brasko.net>
6262
6263 * gdb.mi/mi-var-child.c: Include <string.h>.
6264
a6cd0eb3
DJ
62652005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
6266
6267 * killed.exp: Correct gdb_expect syntax.
6268
2f168eed
CV
62692005-08-09 Corinna Vinschen <vinschen@redhat.com>
6270
6271 * lib/mi-support.exp (mi_gdb_load): Fix typo.
6272
ecd3fd0f
BR
62732005-08-02 Bob Rossi <bob@brasko.net>
6274
6275 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
6276 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
6277 Change tests to inferior-tty-set/show.
6278 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
6279 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
6280 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
6281 inferior. Use mi_gdb_test to get GDB and Inferior output.
6282 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
6283 descriptor.
6284 (mi_inferior_tty_name): Add inferior PTY file name.
6285 (mi_gdb_start): Add INFERIOR_PTY parameter.
6286 (mi_gdb_test): Add IPATTERN parameter.
6287
f1ea48cb 62882005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 6289
f1ea48cb
BR
6290 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
6291 parameter to mi_gdb_test.
6292 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
6293
6e650a67
DJ
62942005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
6295
6296 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
6297 struct_declarations.
6298 * gdb.mi/mi-var-child.exp: Step over the initialization of
6299 struct_declarations.
6300
8be260b6
DJ
63012005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
6302
6303 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
6304 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
6305 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
6306 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
6307 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
6308 file.
6309
4e660f07
NR
63102005-07-27 Nick Roberts <nickrob@snap.net.nz>
6311
6312 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
6313 (do_children_tests): Assign values to the extra elements.
6314
6315 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
6316 them for tests for "-var-update --no-values" and
a9c64011 6317 "-var-update --all-values".
4e660f07
NR
6318 Add test for "-var-list-children --simple-values".
6319
6320 * gdb.mi/basics.c (callee4): Add integer array D[3]...
6321
6322 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
6323 "-stack-list-locals --simple-values" Improve doc strings and
6324 comments.
6325
6bdae935
MK
63262005-07-18 Mark Kettenis <kettenis@gnu.org>
6327
598b7a6f
MK
6328 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
6329 *-*-openbsd*.
6330 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
6331
6bdae935
MK
6332 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
6333 sigaltsatck'.
6334
1323e929 63352005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 6336
1323e929
BR
6337 * gdb.base/default.exp (tty): Changed output of command.
6338 * gdb.base/help.exp (help tty): Ditto.
6339
b1a9c082
MK
63402005-07-12 Mark Kettenis <kettenis@gnu.org>
6341
6342 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
6343
10a844a2
MK
63442005-07-10 Mark Kettenis <kettenis@gnu.org>
6345
6346 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
6347 -stack-select-frame without arguments.
6348 (test_stack_frame_listing): Add test for newly implemented command
6349 -stack-info-frame.
6350
3cb3b8df
BR
63512005-07-06 Bob Rossi <bob@brasko.net>
6352
6353 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
6354 command.
6355 (Copyright): Update copyright.
6356
a0c5fbcf
WZ
63572005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
6358
6359 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
6360 tests to evaluate exponentiation expression.
6361
984971d0
AS
63622005-06-29 Andreas Schwab <schwab@suse.de>
6363
6364 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
6365 main to avoid warnings.
6366
6367 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
6368
fe03833f
NR
63692005-06-20 Nick Roberts <nickrob@snap.net.nz>
6370
6371 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
6372 -stack-select-frame without arguments.
6373 (test_stack_frame_listing): Add test for newly implemented command
6374 -stack-info-frame.
a9c64011 6375
7a55f279
WZ
63762005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
6377
0ffa0ea5
DJ
6378 * gdb.fortran/array-element.f: New file.
6379 * gdb.fortran/array-element.exp: New testcase.
7a55f279 6380
26585198
DJ
63812005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
6382
6383 * gdb.base/bigcore.exp: Correct checks for systems which can
6384 not dump a large core file.
6385
c1bd25fd
DJ
63862005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
6387
6388 * gdb.base/relocate.c: Add a copyright notice.
6389 (dummy): Remove.
6390 * gdb.base/relocate.exp: Test printing the values of variables
6391 from a relocatable file.
6392
589e074d
DJ
63932005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
6394
6395 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
6396 excess MI output after an error.
6397
0915f927
JB
63982005-05-29 Joel Brobecker <brobecker@adacore.com>
6399
6400 * gdb.arch/alpha-step.c: New file.
6401 * gdb.arch/alpha-step.exp: New testcase.
6402
76ff342d
DJ
64032005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
6404 Dennis Brueni <dennis@slickedit.com>
6405
6406 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
6407 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
6408 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
6409 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
6410 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6411 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
6412 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
6413
96b0c7ac
DJ
64142005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
6415 Wu Zhou <woodzltc@cn.ibm.com>
6416
6417 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
6418 IBM's xlc compiler.
6419 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
6420 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
6421
f21565d2
JB
64222005-05-13 Jim Blandy <jimb@redhat.com>
6423
6424 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
6425 calling gdb_suppress_entire_file.
6426 * gdb.base/charset.exp: Same.
6427 * gdb.base/call-rt-st.exp: Same.
6428
6006a3a1
BR
64292005-05-05 Bob Rossi <bob_rossi@cox.net>
6430
6431 * lib/gdb.exp (fullname_syntax): Added global regex.
6432 (fullname_syntax_POSIX): Ditto.
6433 (fullname_syntax_UNC): Ditto.
6434 (fullname_syntax_DOS_CASE): Ditto.
6435 (fullname_syntax_DOS): Ditto.
6436 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
6437 fullname_syntax variable to scope and use it.
6438 (test_file_list_exec_source_files): Ditto.
6439 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
6440
c3b69c04
DJ
64412005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
6442
6443 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
6444
3c95e6af
PG
64452004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
6446
a9c64011
AS
6447 * lib/gdb.exp (skip_altivec_tests): New function, based on
6448 check_vmx_hw_available from the GCC testsuite.
6449 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
6450 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 6451
78df6c56
JB
64522005-05-02 Jim Blandy <jimb@redhat.com>
6453
6454 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
6455 calling gdb_suppress_entire_file.
6456
1690f9cf
DJ
64572005-04-30 Randolph Chung <tausq@debian.org>
6458
6459 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
6460 Slightly relax "sem_post" name checking.
6461
5ea106f7
PG
64622005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
6463
6464 * gdb.base/unload.exp: Use new shared library infrastructure.
6465
bf7234cf
PG
64662005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
6467
6468 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 6469 infrastructure.
bf7234cf 6470
547b869a
CV
64712005-04-29 Corinna Vinschen <vinschen@redhat.com>
6472
6473 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
6474 * gdb.asm/h8300.inc: New file.
6475
f07e55f0
PG
64762005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
6477
6478 * gdb.base/shlib-call.exp: Change to use new shared library
6479 infrastructure.
6480
3cbba3d1
PG
64812005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
6482
a9c64011
AS
6483 * gdb.base/pending.exp: Change to use new shared library
6484 infrastructure.
3cbba3d1 6485
ed6df200
PG
64862005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
6487
a9c64011
AS
6488 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
6489 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 6490
8c8f4ebe
PG
64912005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
6492
a9c64011
AS
6493 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
6494 shared objects being adjusted and update copyright years.
8c8f4ebe 6495
607fbc54
DJ
64962005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
6497
6498 * ChangeLog: Correct some 2003-01-13 dates.
6499 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
6500 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
6501 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
6502 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
6503 gdb.trace/tfind.exp: Update copyright years.
6504
57bf0e56
DJ
65052005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
6506 Daniel Jacobowitz <dan@codesourcery.com>
6507
6508 * lib/gdb.exp (gdb_compile): Handle shlib=.
6509 (gdb_compile_shlib): New function.
6510
9b593790
PG
65112005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
6512
a9c64011 6513 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 6514
9494c6a5
DJ
65152005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
6516
6517 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
6518 gdb.server.
6519 * configure.ac: Likewise.
6520 * configure: Regenerated.
6521 * gdb.gdbserver/Makefile.in: Moved to...
6522 * gdb.server/Makefile.in: ... here.
6523 * gdb.gdbserver/server.c: Moved to...
6524 * gdb.server/server.c: ... here.
6525 * gdb.gdbserver/server-run.exp: Moved to...
6526 * gdb.server/server-run.exp: ... here.
6527
6f8eac0e
DJ
65282005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
6529
6530 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
6531 * configure.ac: Create gdb.gdbserver/Makefile.
6532 * configure: Regenerated.
6533 * lib/gdbserver-support.exp: New file, derived from
6534 config/gdbserver.exp.
6535 * config/gdbserver.exp: Use gdbserver-support.exp.
6536 * gdb.gdbserver/Makefile.in: New file.
6537 * gdb.gdbserver/server.c: New file.
6538 * gdb.gdbserver/server-run.exp: New file.
6539
6e87504d
PG
65402005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
6541
a9c64011
AS
6542 * lib/gdb.exp (test_compiler_info): Return compiler_info
6543 if no arguments are given.
6e87504d 6544
d1779be4
PG
65452005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
6546
6547 * gdb.arch/altivec-abi.exp: Check for compiler and set
6548 use altivec' flag accordingly.
6549 * gdb.arch/altivec-regs.exp: Likewise.
6550
88750304
DJ
65512005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
6552
6553 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
6554
f3fb768d
AS
65552005-03-27 Andreas Schwab <schwab@suse.de>
6556
6557 * gdb.base/bigcore.c (main): Add missing mode argument in open
6558 call.
6559
7e813ac5
DJ
65602005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
6561
6562 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
6563 downloads.
6564 * config/gdbserver.exp (gdb_load): Likewise.
6565
8e3049aa
PB
65662005-03-14 Paul Brook <paul@codesourcery.com>
6567
6568 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
6569 targets.
6570
a9df7c44
JB
65712005-03-09 Joel Brobecker <brobecker@adacore.com>
6572
6573 * gdb.dwarf2/dup-psym.S: New file.
6574 * gdb.dwarf2/dup-psym.exp: New testcase.
6575
9f0d94e8
JB
65762005-03-09 Joel Brobecker <brobecker@adacore.com>
6577
6578 * gdb.ada/exec_changed/first.adb: New file.
6579 * gdb.ada/exec_changed/second.adb: New file.
6580 * gdb.ada/exec_changed.exp: New testcase.
6581
5f579bc5
NS
65822005-03-08 Nathan Sidwell <nathan@codesourcery.com>
6583
36e9969c
NS
6584 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
6585 (A2): New class.
6586 (main): Test operator+.
6587 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
6588 breakpoint test.
6589
5f579bc5
NS
6590 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
6591 * gdb.base/signull.exp: Disable if gdb,nosignals.
6592 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
6593 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
6594 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
6595 * gdb.mi/mi2-console.exp: Likewise.
6596 * gdb.trace/collection.exp (run_trace_experiment): Consume the
6597 continue output at start.
6598 (gdb_collect_locals_test): Robustify regexp.
6599 * gdb.trace/passc-dyn.exp: Fix comment typo.
6600 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
6601
be46087e
CV
66022005-03-08 Corinna Vinschen <vinschen@redhat.com>
6603
6604 * gdb.asm/asm-source.exp: Add iq2000 case.
6605 * gdb.asm/iq2000.inc: New file.
6606
384e1a61 66072005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 6608
384e1a61
MI
6609 * gdb.base/command.exp: Change hardcoded value to regular expression.
6610 * gdb.base/float.exp: Add powerpc to the list of targets checked.
6611
584b6e9e
DJ
66122005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
6613
6614 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
6615 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
6616 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
6617 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
6618 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
6619
ab5b5d61
MK
66202005-03-05 Mark Kettenis <kettenis@gnu.org>
6621
6622 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
6623 changes.
6624
ae051c1b
PG
66252004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
6626
a9c64011
AS
6627 * lib/compiler.c: Add test for IBM's xlc compiler.
6628 * lib/compiler.cc: Likewise.
ae051c1b 6629
3f0f6ed2
JB
66302004-02-24 Joel Brobecker <brobecker@adacore.com>
6631
6632 * gdb.ada/fixed_points.exp: Create compilation object directory
6633 before running the test.
6634 * gdb.ada/null_record.exp: Likewise.
6635 * gdb.ada/packed_array.exp: Likewise.
6636 * gdb.ada/start.exp: Likewise.
6637
724f452b
JB
66382005-02-15 Joel Brobecker <brobecker@adacore.com>
6639
6640 * gdb.ada/packed_array/pa.adb: New file.
6641 * gdb.ada/packed_array.exp: New testcase.
6642
57f5cdfb 66432005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 6644
1f393151
MK
6645 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
6646 files.
6647
ebdda337
MK
6648 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
6649 on *-*-openbsd*. Correctly match whitespace in regukar
6650 expressions.
6651
cf309262
DJ
66522005-02-10 Daniel Jacobowitz <dan@debian.org>
6653
6654 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
6655 PR exp/1821
6656 * gdb.base/gdb1821.c: New test file.
6657 * gdb.base/gdb1821.exp: New test file.
6658
3be49e7a
JB
66592005-02-09 Joel Brobecker <brobecker@adacore.com>
6660
6661 * gdb.base/start.c: New file.
6662 * gdb.base/start.exp: New testcase.
6663
e292e67d
JB
66642005-02-09 Joel Brobecker <brobecker@adacore.com>
6665
6666 * gdb.ada/start/dummy.adb: New file.
6667 * gdb.ada/start.exp: New testcase.
6668
dbdfa66c
CV
66692005-02-09 Corinna Vinschen <vinschen@redhat.com>
6670
6671 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
6672 for printing symbols and statistics.
6673 Add test for using relative pathnames in "maint print msymbols" test.
6674 Mark "maint info sections DATA" XFAIL on Cygwin.
6675 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
6676 tests.
6677
d7941671
AC
66782005-02-09 Andreas Schwab <schwab@suse.de>
6679
6680 Committed by Andrew Cagney <cagney@gnu.org>
6681 * gdb.base/remotetimeout.exp: New file.
6682
74e5ef44
MK
66832005-02-07 Mark Kettenis <kettenis@gnu.org>
6684
6685 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
6686
464dd14d
JB
66872005-02-03 Joel Brobecker <brobecker@adacore.com>
6688
6689 * gdb.ada/gnat_ada.gpr: New file.
6690 * gdb.ada/gnat_ada.gin: Delete, no longer used.
6691 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
6692 * configure.ac: No longer generate gnat_ada.gpr.
6693 * configure: Regenerate.
6694 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
6695 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
6696 * gdb.ada/null_record/bar.ads: Likewise.
6697 * gdb.ada/null_record/bar.adb: Likewise.
6698 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
6699 * gdb.ada/null_record.exp (testdir): New variable.
6700 (testfile): executable is now in testdir subdirectory.
6701 (srcfile): Use full path to the main compilation unit.
6702 * gdb.ada/fixed_points.exp: Same changes as above.
6703
30d756ae
NR
67042005-02-03 Nick Roberts <nickrob@snap.net.nz>
6705
6706 * gdb.base/interp.exp: New test.
6707
9d799f85
AC
67082005-01-24 Andrew Cagney <cagney@gnu.org>
6709
6710 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
6711
15656118
AC
67122005-01-19 Andrew Cagney <cagney@gnu.org>
6713
a892c31b
AC
6714 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
6715 configure.ac not configure.in.
6716
15656118
AC
6717 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
6718 of powerpc*-*-*.
6719 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 6720 * gdb.base/list.exp (test_list_function)
15656118
AC
6721 (test_list_filename_and_function): Ditto.
6722 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
6723
a7b01baf
AC
67242005-01-16 Andrew Cagney <cagney@gnu.org>
6725
17d92a02
AC
6726 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
6727
a7b01baf
AC
6728 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
6729
bc8332bb
AC
67302005-01-14 Andrew Cagney <cagney@gnu.org>
6731
6732 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
6733 * gdb.mi/mi2-var-cmd.exp: Ditto.
6734
4d074752
CV
67352005-01-10 Corinna Vinschen <vinschen@redhat.com>
6736
6737 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
6738
bec39cab
AC
67392005-01-07 Andrew Cagney <cagney@gnu.org>
6740
6741 * configure.ac: Rename configure.in, require autoconf 2.59.
6742 * configure: Re-generate.
6743 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
6744 * gdb.stabs/configure: Re-generate.
6745 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
6746 * gdb.hp/configure: Re-generate.
6747 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
6748 autoconf 2.59.
6749 * gdb.hp/gdb.objdbg/configure: Re-generate.
6750 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
6751 autoconf 2.59.
6752 * gdb.hp/gdb.defects/configure: Re-generate.
6753 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
6754 autoconf 2.59.
6755 * gdb.hp/gdb.compat/configure: Re-generate.
6756 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
6757 autoconf 2.59.
6758 * gdb.hp/gdb.base-hp/configure: Re-generate.
6759 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
6760 autoconf 2.59.
6761 * gdb.hp/gdb.aCC/configure: Re-generate.
6762
f10b16d4
JB
67632004-12-15 Jim Blandy <jimb@redhat.com>
6764
6765 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
6766 under NPTL when there is debugging info available for libpthread.
6767
fb6e1814
JG
67682004-12-13 Jerome Guitton <guitton@gnat.com>
6769
6770 * gdb.ada/fixed_points.c: New file.
6771 * gdb.ada/fixed_points.exp: New file.
6772
fe46cd3a
RC
67732004-12-03 Randolph Chung <tausq@debian.org>
6774
6775 * gdb.arch/pa-nullify.exp: New file.
6776 * gdb.arch/pa-nullify.s: New file.
6777
8de0841b
RC
67782004-11-30 Randolph Chung <tausq@debian.org>
6779
6780 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
6781 instead of "tbug". Fix regexp to work properly with gdb_test.
6782
c8170782
PH
67832004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
6784
6785 * gdb.base/bitfields2.exp: New test.
6786 * gdb.base/bitfields2.c: New file.
6787
954269c2
RE
67882004-11-28 Richard Earnshaw <rearnsha@arm.com>
6789
6790 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
6791
0107feed
RC
67922004-11-16 Randolph Chung <tausq@debian.org>
6793
6794 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
6795
f073ae8c
DJ
67962004-11-14 Daniel Jacobowitz <dan@debian.org>
6797
6798 * gdb.threads/threadapply.exp: Correct "macro details" test.
6799
19ad59e7
JJ
68002004-11-11 Jeff Johnston <jjohnstn@redhat.com>
6801
6802 * gdb.threads/threadapply.exp: New test.
6803 * gdb.threads/threadapply.c: New file.
6804
9cf0961b
MK
68052004-11-07 Mark Kettenis <kettenis@gnu.org>
6806
6807 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
6808 frames.
6809
c789492a
FL
68102004-11-05 Felix Lee <felix+log1@specifixinc.com>
6811
6812 * gdb.base/cursal.exp: New file.
6813 * gdb.base/cursal.c: New file.
6814
a1e167bb
AC
68152004-11-03 Andrew Cagney <cagney@gnu.org>
6816
6817 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
6818
b7cbf173
MK
68192004-10-30 Mark Kettenis <kettenis@gnu.org>
6820
6821 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
6822 NetBSD/ELF targets.
6823
88f9d34f
JB
68242004-10-29 Joel Brobecker <brobecker@gnat.com>
6825
6826 * gdb.threads/bp_in_thread.c: New file, copied from
6827 pthread_cond_wait.c.
6828 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
6829 file, rather than reusing the .c file from another testcase.
6830
ca7d6a0c
JB
68312004-10-20 Joel Brobecker <brobecker@gnat.com>
6832
6833 * gdb.ada/null_record.exp: Check where we stopped after
6834 sending the start command, instead of where the associated
6835 temporary breakpoint was inserted.
6836
0d863d03
AC
68372004-10-14 Andrew Cagney <cagney@gnu.org>
6838
6839 * gdb.mi/gdb701.c (main): Return 0.
6840
d11e72cb
DJ
68412004-10-13 Daniel Jacobowitz <dan@debian.org>
6842
d40539a4 6843 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 6844
e1923096
JJ
68452004-10-12 Jeff Johnston <jjohnstn@redhat.com>
6846
6847 * gdb.threads/schedlock.c: Add comment markers to use to find
6848 line numbers.
6849 * gdb.threads/schedlock.exp: Adjust regex to handle the new
6850 comments.
6851 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
6852 breakpoint lines.
6853
ec8ba2c9
DJ
68542004-10-12 Daniel Jacobowitz <dan@debian.org>
6855
6856 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
6857
0eb3658b
DJ
68582004-10-12 Daniel Jacobowitz <dan@debian.org>
6859
6860 * configure.in: Add gdb.dwarf2.
6861 * configure: Regenerated.
6862 * Makefile.in: Add gdb.dwarf2.
6863 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
6864 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
6865 gdb.dwarf2/file1.txt: New files.
6866
a271cc33
OF
68672004-10-11 Orjan Friberg <orjanf@axis.com>
6868
a9c64011 6869 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
6870 of "run", since the latter doesn't work with remote targets. Adjust
6871 the breakpoint numbering accordingly.
6872 * gdb.threads/pthread_cond_wait.exp: Ditto.
6873
895ce074
MC
68742004-10-08 Michael Chastain <mec.gnu@mindspring.com>
6875
6876 * gdb.base/overlays.exp: Update copyright years.
6877
6be3092d
KI
68782004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
6879
6880 * gdb.base/overlays.exp: Disable if target is Linux.
6881
e05389b8
FL
68822004-10-06 Felix Lee <felix+log1@specifixinc.com>
6883
6884 * config/gdbserver.exp (gdb_load): Use right filename on remote.
6885
73cb587d
KI
68862004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
6887
6888 * gdb.asm/asm-source.exp: Add m32r-linux target.
6889 * gdb.asm/m32r-linux.inc: New file.
6890
3c0edcdc
AC
68912004-09-24 Andrew Cagney <cagney@redhat.com>
6892 David Anderson <anderson@redhat.com>
6893
6894 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
6895 command fails, assume things will work.
6896 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
6897 (_GNU_SOURCE): Define.
6898 (print_unsigned, print_hex): Change parameter to "long long".
6899 (print_byte_count): New function, use to print byte counts.
6900 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
6901 O_LARGEFILE.
6902 (main): Compute an upper bound on a corefile in max_core_size.
6903 Limit memory chunk size to max_core_size. Limit total memory
6904 allocated to max_core_size.
6905
4bb3667f
AC
69062004-09-23 Andrew Cagney <cagney@gnu.org>
6907
6908 * gdb.base/bigcore.exp: Replace the code that creates a corefile
6909 from a separate process with code that creates a corefile by
6910 making the inferior dump core.
6911
60fe1a51
MK
69122004-09-23 Mark Kettenis <kettenis@gnu.org>
6913
6914 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
6915 block.
6916
8e937346
MC
69172004-09-23 Michael Chastain <mec.gnu@mindspring.com>
6918
6919 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
6920 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
6921 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
6922 Likewise.
6923
7213f6d6
JJ
69242004-09-20 Jeff Johnston <jjohnstn@redhat.com>
6925
6926 * gdb.java/jprint.exp: New test case for java inferior call.
6927 * gdb.java/jprint.java: Ditto.
6928
eac69dca
JB
69292004-09-15 Joel Brobecker <brobecker@gnat.com>
6930
6931 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
6932
22227696
MC
69332004-09-14 Michael Chastain <mec.gnu@mindspring.com>
6934
6935 * gdb.threads/killed.c: Include <stdlib.h>.
6936 * gdb.threads/pthreads.c: Likewise.
6937
7dd403a4
MC
69382004-09-14 Michael Chastain <mec.gnu@mindspring.com>
6939
6940 * gdb.threads/killed.c: Add copyright notice.
6941
33f2d567
JM
69422004-09-10 Jason Molenda (jmolenda@apple.com)
6943
a9c64011
AS
6944 * gdb.base/define.exp: Two new tests to verify zero space chars
6945 after 'if' and 'while' commands in a user-defined command is correctly
6946 parsed.
33f2d567 6947
e05b62ac
AC
69482004-09-08 Andrew Cagney <cagney@gnu.org>
6949
6950 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
6951 delivery test with duplicate at end of file.
6952
9cbe82da
MK
69532004-09-06 Mark Kettenis <kettenis@jive.nl>
6954
6955 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
6956
564803d9
MC
69572004-09-05 Michael Chastain <mec.gnu@mindspring.com>
6958
6959 * config/hppro.exp: Removed.
6960
7c6807ce
MC
69612004-09-05 Michael Chastain <mec.gnu@mindspring.com>
6962
6963 * config/sparclet.exp: Removed.
6964
bf7e26dd
MC
69652004-09-05 Michael Chastain <mec.gnu@mindspring.com>
6966
6967 * config/udi.exp: Removed.
6968
714e341b
MC
69692004-09-02 Michael Chastain <mec.gnu@mindspring.com>
6970
6971 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
6972 of "exp_continue".
6973 (advancei): Likewise.
6974
1236e623
JJ
69752004-09-01 Jeff Johnston <jjohnstn@redhat.com>
6976
6977 * gdb.base/unload.exp: Fix so messages aren't duplicated.
6978
3bdcad15
MI
69792004-09-01 Manoj Iyer <manjo@austin.ibm.com>
6980
228af206 6981 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
6982 to check for nodebug in executable.
6983 * gdb.gdb/observer.exp (setup_test): Likewise.
6984 * gdb.gdb/selftest.exp (test_with_self): Likewise.
6985 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
6986
c72b934c
AC
69872004-09-01 Andrew Cagney <cagney@gnu.org>
6988
6989 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
6990 files.
6991
edd9b715
JJ
69922004-09-01 Jeff Johnston <jjohnstn@redhat.com>
6993
6994 * gdb.base/unload.exp: Fix expected warning message to match
6995 latest format.
6996
fb4ce06b
CV
69972004-09-01 Corinna Vinschen <vinschen@redhat.com>
6998
6999 * gdb.base/call-rt-st.exp: Fix typos.
7000
ce78e7c3
MI
70012004-08-31 Manoj Iyer <manjo@austin.ibm.com>
7002
7003 * gdb.threads/thread_check.exp: New testcase.
7004 * gdb.threads/thread_check.c: New testcase.
7005
2dedb159
AC
70062004-08-31 Andrew Cagney <cagney@gnu.org>
7007
7008 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
7009 (skip_to_handler_entry): New procedures. Test stepping into a
7010 handler when the breakpoint is at the handler's entry point.
7011
68f53502
AC
70122004-08-30 Andrew Cagney <cagney@gnu.org>
7013
7014 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
7015 gdb/1757.
7016
3e3ffd2b
MC
70172004-08-27 Michael Chastain <mec.gnu@mindspring.com>
7018
7019 With code from Manoj Iyer <manjo@austin.ibm.com>:
7020 * lib/gdb.exp (gdb_file_cmd): Return more information in the
7021 return value. Add an arm for "no debugging symbols found".
7022 Change a stray "error" to "perror".
7023 (gdb_run_cmd): Adapt to new return value.
7024 * gdb.base/remote.exp: Adapt to new return value.
7025 * gdb.gdb/complaints.exp: Likewise.
7026 * gdb.gdb/observer.exp: Likewise.
7027 * gdb.gdb/selftest.exp: Likewise.
7028 * gdb.gdb/xfullpath.exp: Likewise.
7029
4b6f5fd2
JB
70302004-08-27 Joel Brobecker <brobecker@gnat.com>
7031
7032 * gdb.threads/bp_in_thread.exp: New testcase.
7033
e5b25496
MC
70342004-08-27 Michael Chastain <mec.gnu@mindspring.com>
7035
7036 Fix PR testsuite/1735.
7037 * gdb.threads/schedlock.c (thread_function): Add a cast
7038 to suppress a gcc warning.
7039 * gdb.threads/thread-specific.c (thread_function): Likewise.
7040
934353d6
MC
70412004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7042
7043 * gdb.base/unload.c: Include <stdlib.h>.
7044
f98a0aef 70452004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 7046
f98a0aef 7047 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
7048 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
7049 synchronized after the "return".
7050
5a2e8882
MC
70512004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7052
7053 * gdb.mi/basics.c: Include <stdio.h>.
7054 * gdb.mi/pthreads.c: Include <stdlib.h>.
7055 * gdb.mi/var-cmd.c: Include <stdlib.h>.
7056
a9640423
MC
70572004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7058
7059 * gdb.threads/schedlock.c: Add copyright notice.
7060
b04e311d
AC
70612004-08-25 Andrew Cagney <cagney@gnu.org>
7062
7063 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
7064 (skip_over_handler, breakpoint_over_hander): New test procedures.
7065 (advance, advancei): Add a proper prefix, do not use
7066 rerun_to_main.
7067 * gdb.base/sigstep.c (main): Change to use an infinite loop.
7068
7c27f15b
MC
70692004-08-24 Michael Chastain <mec.gnu@mindspring.com>
7070
7071 * gdb.mi/basics.c: Add copyright notice.
7072 * gdb.mi/var-cmd.c: Add copyright notice.
7073
fffc87ae
MC
70742004-08-23 Michael Chastain <mec.gnu@mindspring.com>
7075
7076 * lib/gdb.exp: Remove signed_keyword_not_used.
7077 * lib/compiler.c: Likewise.
7078 * lib/compiler.cc: Likewise.
7079
d782e0bf
MC
70802004-08-23 Michael Chastain <mec.gnu@mindspring.com>
7081
7082 * gdb.base/whatis.c: Remove conditional disabling of "signed".
7083 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
7084
96033e83
MC
70852004-08-23 Michael Chastain <mec.gnu@mindspring.com>
7086
7087 * gdb.base/whatis.c: Add copyright notice.
7088
cf38c229
MK
70892004-08-20 Mark Kettenis <kettenis@gnu.org>
7090
7091 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
7092 it to skip the breakpoints encoded in the inline assembly.
7093
f4b49756
MC
70942004-08-20 Michael Chastain <mec.gnu@mindspring.com>
7095
7096 * Makefile.in: Add gdb.fortran.
7097
2f193b69
MC
70982004-08-20 Michael Chastain <mec.gnu@mindspring.com>
7099
7100 * gdb.base/call-sc.exp (test_scalar_returns):
7101 Fix cut-and-paste glitch in "Make fun return now".
7102
89a237cb
MC
71032004-08-17 Michael Chastain <mec.gnu@mindspring.com>
7104
7105 * configure.in: Add gdb.fortran.
7106 * configure: Regenerate.
7107 * gdb.fortran/Makefile.in: New file.
7108 * lib/gdb.exp (skip_fortran_tests): New procedure.
7109
469aff8e
MC
71102004-08-17 Michael Chastain <mec.gnu@mindspring.com>
7111
7112 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
7113 reference to bug-gnu@prep.ai.mit.edu.
7114 * gdb.mi/mi-var-child.exp: Likewise.
7115 * gdb.mi/mi-var-cmd.exp: Likewise.
7116 * gdb.mi/mi-var-display.exp: Likewise.
7117 * gdb.mi/mi2-var-block.exp: Likewise.
7118 * gdb.mi/mi2-var-child.exp: Likewise.
7119 * gdb.mi/mi2-var-cmd.exp: Likewise.
7120 * gdb.mi/mi2-var-display.exp: Likewise.
7121
00b51b9f
MK
71222004-08-15 Mark Kettenis <kettenis@gnu.org>
7123
7124 * gdb.base/unload.c (main): Make local variable msg const.
7125
45f07fef
MC
71262004-08-15 Michael Chastain <mec.gnu@mindspring.com>
7127
7128 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
7129 to bug-gnu@prep.ai.mit.edu.
7130 * gdb.mi/mi-disassemble.exp: Likewise.
7131 * gdb.mi/mi-eval.exp: Likewise.
7132 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
7133 default line number.
7134 * gdb.mi/mi-return.exp: Likewise.
7135 * gdb.mi/mi-simplerun.exp: Likewise.
7136 * gdb.mi/mi-stack.exp: Likewise.
7137 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
7138 number with explicit range test.
7139 * gdb.mi/mi-watch.exp: Likewise.
7140 * gdb.mi/mi2-break.exp: Likewise.
7141 * gdb.mi/mi2-cli.exp: Likewise.
7142 * gdb.mi/mi2-disassemble.exp: Likewise.
7143 * gdb.mi/mi2-eval.exp: Likewise.
7144 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
7145 default line number.
7146 * gdb.mi/mi2-return.exp: Likewise.
7147 * gdb.mi/mi2-simplerun.exp: Likewise.
7148 * gdb.mi/mi2-stack.exp: Likewise.
7149 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
7150 number with explicit range test.
7151 * gdb.mi/mi2-watch.exp: Likewise.
7152
dd8c8ee7
MC
71532004-08-15 Michael Chastain <mec.gnu@mindspring.com>
7154
7155 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
7156 * gdb.cp/m-static.exp: Likewise.
7157 * gdb.cp/rtti.exp: Likewise.
7158
4e838464
MK
71592004-08-14 Mark Kettenis <kettenis@gnu.org>
7160
7161 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
7162
8d8cb839
EZ
71632004-08-14 Eli Zaretskii <eliz@gnu.org>
7164
7165 * ChangeLog: Prefix Local Variables with semi-colons and indent
7166 the reference to older ChangeLog files, to fix fontification in
7167 Emacs.
7168
deea8bb0
MC
71692004-08-13 Michael Chastain <mec.gnu@mindspring.com>
7170
7171 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
7172 * gdb.mi/mi2-break.exp: Likewise.
7173
c3297504
MC
71742004-08-13 Michael Chastain <mec.gnu@mindspring.com>
7175
7176 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
7177
25808999
MC
71782004-08-13 Michael Chastain <mec.gnu@mindspring.com>
7179
7180 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
7181
226a8d71
MC
71822004-08-13 Michael Chastain <mec.gnu@mindspring.com>
7183
7184 * gdb.cp/classes.exp: Remove unused declarations. Just let
7185 test names default instead of providing special names. Remove
7186 extraneous demangler test.
7187
37fdf854
JJ
71882004-08-12 Jeff Johnston <jjohnstn@redhat.com>
7189
7190 * gdb.base/unload.exp: New test for breakpoints in dynamically
7191 loaded libraries.
7192 * gdb.base/unload.c: Ditto.
7193 * gdb.base/unloadshr.c: Ditto.
7194
2d3a7986
MC
71952004-08-12 Michael Chastain <mec.gnu@mindspring.com>
7196
7197 * gdb.cp/classes.exp (test_ptype_class_objects): Call
7198 cp_test_ptype_class.
7199 (test_enums): Likewise.
7200
c72b934c
AC
72012004-08-10 Andrew Cagney <cagney@gnu.org>
7202
7203 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
7204 files.
7205
cc503c8a
AC
72062004-08-10 Andrew Cagney <cagney@gnu.org>
7207
7208 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
7209 init_malloc call.
7210
902f2ccb
MC
72112004-08-10 Michael Chastain <mec.gnu@mindspring.com>
7212
7213 * ChangeLog: Add copyright notice. The notice is copied
7214 from emacs 21.3 top level ChangeLog.
7215
78c90502
MC
72162004-08-09 Michael Chastain <mec.gnu@mindspring.com>
7217
7218 * lib/cp-support.exp: New file.
7219 * lib/cp-support.exp (cp_test_type_class): New function.
7220 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
7221 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
7222 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
7223 cp_test_ptype_class.
7224
88e5ea78
MC
72252004-08-09 Michael Chastain <mec.gnu@mindspring.com>
7226
7227 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
7228 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
7229 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
7230 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
7231 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7232 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
7233 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
7234 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
7235 gdb.mi/mi2-watch.exp: Update copyright years.
7236
6a89fc9c
MK
72372004-08-09 Mark Kettenis <kettenis@gnu.org>
7238
7239 * gdb.base/sigaltstack.exp: Provide proper anchoring.
7240
1482e0de
MC
72412004-08-09 Michael Chastain <mec.gnu@mindspring.com>
7242
7243 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
7244 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
7245 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
7246 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7247 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
7248 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
7249 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
7250 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7251 gdb.mi/mi-watch.exp: Update copyright years.
7252
1a5ce3f3
DJ
72532004-08-08 Daniel Jacobowitz <dan@debian.org>
7254
7255 PR gdb/1738
7256 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
7257 from a breakpoint with a pending signal.
7258
04f6ecf2
DJ
72592004-08-08 Daniel Jacobowitz <dan@debian.org>
7260
7261 PR gdb/1736
7262 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
7263 * gdb.base/sigaltstack.exp (finish_test): Consume output until
7264 the prompt.
7265 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
7266
54d90d35
DJ
72672004-08-08 Daniel Jacobowitz <dan@debian.org>
7268
7269 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
7270
d2f6abb0
DJ
72712004-08-08 Daniel Jacobowitz <dan@debian.org>
7272
7273 PR gdb/1736
7274 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
7275 for i?86-*-linux*.
7276
5598c03d
DJ
72772004-08-08 Daniel Jacobowitz <dan@debian.org>
7278
7279 * gdb.arch/i386-prologue.exp: Compile without debug information.
7280
c6fee705
MC
72812004-08-08 Michael Chastain <mec.gnu@mindspring.com>
7282
7283 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
7284 rather than asking gdb to search.
7285
dd90efdb
MC
72862004-08-05 Michael Chastain <mec.gnu@mindspring.com>
7287
7288 * gdb.base/gcore.c: Include <string.h>.
7289
1e84bec1
MC
72902004-08-05 Michael Chastain <mec.gnu@mindspring.com>
7291
7292 * gdb.base/gcore.c: Add copyright notice.
7293
e425eb2b
MC
72942004-08-05 Michael Chastain <mec.gnu@mindspring.com>
7295
7296 * gdb.base/freebpcmd.c: Include <stdio.h>.
7297 * gdb.base/long_long.c: Include <string.h>.
7298 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
7299 * gdb.base/siginfo.c: Include <string.h>.
7300 * gdb.base/sigstep.c: Include <string.h>.
7301
cb9aaed5
MC
73022004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7303
7304 * gdb.base/complex.c: Include <stdlib.h>.
7305
55944f3d
MC
73062004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7307
7308 * gdb.base/complex.c: Add copyright notice.
7309
7b2953d9
MC
73102004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7311
7312 * gdb.base/charset.c: Include <stdlib.h>.
7313
c9133d23
MC
73142004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7315
7316 * gdb.base/auxv.c: Include <stdlib.h>.
7317
0a8490ad
MC
73182004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7319
7320 * gdb.base/auxv.c: Add copyright notice.
7321
3426d5ec
MC
73222004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7323
7324 * gdb.base/coremaker.c: Add copyright notice.
7325 * gdb.base/coremaker2.c: Add copyright notice.
7326
8da195dd
AC
73272004-08-04 Andrew Cagney <cagney@gnu.org>
7328
7329 * gdb.base/store.exp: Update copyright.
7330 (check_set, up_set, check_struct, up_struct): Add a prefix to test
7331 names, do not import gdb_prompt.
7332
8d394f98
AC
73332004-08-01 Andrew Cagney <cagney@gnu.org>
7334
7335 Fix PR testsuite/1729.
7336 * gdb.base/dump.exp: Add test name to callers of capture_value, do
7337 not use capture_value with value 4.
7338 (capture_value): Add optional test name parameter.
7339 (test_reload_saved_value, test_restore_saved_value): Use $msg as
7340 the prefix, pass to capture_value.
7341
b6702b23
MK
73422004-08-01 Mark Kettenis <kettenis@gnu.org>
7343
7344 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
7345 * gdb.arch/i386-prologue.c (standard): New prototype and function.
7346 (main): Call new function.
7347
c203e0ca
MC
73482004-07-31 Michael Chastain <mec.gnu@mindspring.com>
7349
7350 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
7351
a7995a30
MC
73522004-07-31 Michael Chastain <mec.gnu@mindspring.com>
7353
7354 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
7355
9366563b
MC
73562004-07-31 Michael Chastain <mec.gnu@mindspring.com>
7357
b6eeaf26 7358 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
7359 Accept more values of vtbl pointer. Remove some messages
7360 about "obsolete gcc or gdb".
7361
2fc1f950
MC
73622004-07-30 Michael Chastain <mec.gnu@mindspring.com>
7363
7364 * gdb.cp/classes.exp: Accept more varieties of ptype output.
7365
c724d49b
MC
73662004-07-30 Michael Chastain <mec.gnu@mindspring.com>
7367
7368 * gdb.base/asm-source.exp: Properly convert target board
7369 debug flags from gcc format to binutils format.
7370
736b0fce
MK
73712004-07-28 Mark Kettenis <kettenis@gnu.org>
7372
7373 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
7374 gdb1718". PR backtrace/1718 partially fixed.
7375
5633ea5c
JJ
73762004-07-27 Jeff Johnston <jjohnstn@redhat.com>
7377
7378 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
7379
575eebb1
NC
73802004-07-26 Nick Clifton <nickc@redhat.com>
7381
7382 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
7383 good default value for a specific architecture is available then
7384 set it to that value. Otherwise default to the -gstabs switch.
7385 Remove the -g... switches from the asm-flags variable. Allow the
7386 target board info to override the value if it wants to. Pass the
7387 switch on the assembler command line.
7388
62104619
MK
73892004-07-23 Mark Kettenis <kettenis@gnu.org>
7390
7391 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
7392 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
7393 (main): Call new function.
7394
4a1135b8
MC
73952004-07-22 Michael Chastain <mec.gnu@mindspring.com>
7396
7397 Test for PR exp/1715.
7398 * gdb.base/radix.exp: Refactor common procedures. Make all
7399 test names unique. Change XFAIL to KFAIL.
7400
8a12c1f0
MC
74012004-07-20 Michael Chastain <mec.gnu@mindspring.com>
7402
7403 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
7404 * gdb.ada/gnat_ada.gin: ... to here.
7405 * configure.in: Use gnat_ada.gin.
7406 * configure: Regenerate.
7407
23b451cf
AC
74082004-07-20 Andrew Cagney <cagney@gnu.org>
7409
7410 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
7411 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
7412 XFAILs. Clean up test messages and comments. Check backtraces.
7413 Delete re-sync code.
7414
ab618a02
MC
74152004-07-19 Michael Chastain <mec.gnu@mindspring.com>
7416
7417 Fix PR cli/740.
7418 * gdb.base/annota1.exp: Honor gdb,nosignals.
7419 * gdb.base/annota3.exp: Likewise.
7420
46dad340
MC
74212004-07-19 Michael Chastain <mec.gnu@mindspring.com>
7422
7423 * lib/java.exp: Update copyright notice.
7424
756d8c70
AC
74252004-07-19 Andrew Cagney <cagney@gnu.org>
7426
7427 * gdb.base/selftest.exp: Copy file from here ...
7428 * gdb.gdb/selftest.exp: ... to here.
7429
586027e6
AC
74302004-07-16 Andrew Cagney <cagney@redhat.com>
7431
7432 * lib/insight-support.exp: Delete file.
7433 * lib/java.exp (java_init): Fix copyright.
7434
029d2200
AC
74352004-07-16 Andrew Cagney <cagney@gnu.org>
7436
7437 * gdb.base/restore.c: Append "prologue" to comments marking the a
7438 function's prologue.
7439 * gdb.base/restore.exp: Update copyright, re-indent.
7440 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
7441 callerN" prefix where needed. Update patterns that match a
7442 function's prologue.
7443
653b62c5
MC
74442004-07-16 Michael Chastain <mec.gnu@mindspring.com>
7445
7446 * gdb.base/restore.c: Add copyright notice.
7447
f7d690e5
AC
74482004-07-16 Andrew Cagney <cagney@gnu.org>
7449
7450 * gdb.base/logical.exp: Update copyright.
7451 (evaluate): New procedure. Use to re-implement tests using
7452 several tables.
7453
d629a7cb
MH
74542004-07-14 Martin Hunt <hunt@redhat.com>
7455
7456 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
7457 which fixes some problems where init.tcl was not found.
7458
9c7bb332
AC
74592004-07-13 Andrew Cagney <cagney@gnu.org>
7460
6bf46641
AC
7461 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
7462 (check_sizeof, check_valueof): Do not include the output in the
7463 test name. Use gdb_test.
7464 (get_valueof): Use gdb_test_multiple.
7465
c4ffd4c0
AC
7466 * gdb.base/step-test.exp: Update copyright. Use
7467 gdb_test_multiple. Ensure that test names do not include
7468 architecture dependent output.
7469
ab89363a
AC
7470 * gdb.gdb/observer.exp: Update copyright.
7471 (setup_test): Use gdb_test_multiple.
7472 (attach_first_observer, attach_second_observer)
7473 (attach_third_observer, detach_first_observer)
7474 (detach_second_observer, detach_third_observer)
7475 (reset_counters, check_counters): Make $message a prefix.
7476 (test_normal_stop_notifications): Add "args" parameter - a list of
7477 init functions to be called. Make $message a prefix,
7478 (test_observer_normal_stop): Change the message prefixes so that
7479 they are unique, pass the attach / detach procedures to
7480 test_normal_stop_notifications.
7481
ec58997a
AC
7482 * gdb.base/signull.exp (test_segv): Prefix all tests with
7483 "${name}". Clean up test messages.
7484
b475183b
AC
7485 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
7486
9c7bb332
AC
7487 * gdb.base/ena-dis-br.exp: Update copyright.
7488 (break_at): New function. Replace send_gdb with gdb_test,
7489 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
7490 ignore count, not stopped at bpt", with KFAIL.
7491
2dd95497
CV
74922004-07-13 Corinna Vinschen <vinschen@redhat.com>
7493
7494 * gdb.base/attach.exp: Remove cleanupfile handling.
7495
419e626b
AC
74962004-07-12 Andrew Cagney <cagney@gnu.org>
7497
7498 * gdb.base/annota1.exp: Cleanup corefile test name.
7499 * gdb.base/annota3.exp: Ditto.
7500
8b1b3228
AC
75012004-07-12 Andrew Cagney <cagney@gnu.org>
7502
78650829
AC
7503 * gdb.base/signals.exp: Clean up copyright, re-indent.
7504
8b1b3228
AC
7505 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
7506 gdb_test and gdb_test_multiple.
7507
935c2760
JJ
75082004-07-08 Jeff Johnston <jjohnstn@redhat.com>
7509
7510 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 7511 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
7512 provide line number info for first statement in main.
7513
1544280f
AC
75142004-07-08 Andrew Cagney <cagney@gnu.org>
7515
1279f4ff
AC
7516 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
7517
1544280f
AC
7518 * gdb.base/sigbpt.exp: Make the common part of each test name a
7519 prefix instead of suffix.
7520
bcc82369
BR
75212004-07-07 Bob Rossi <bob_rossi@cox.net>
7522
7523 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
7524 test from test_tbreak_creation_and_listing to
7525 test_file_list_exec_source_file
7526 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
7527 Changed name of test from test_tbreak_creation_and_listing to
7528 test_file_list_exec_source_file
7529
23f4b0aa
JJ
75302004-07-07 Jeff Johnston <jjohnstn@redhat.com>
7531
7532 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
7533 the jmisc() constructor instead of <init>.
7534 * gdb.java/jmisc1.exp: Ditto.
7535
56401cd5
AC
75362004-07-07 Andrew Cagney <cagney@gnu.org>
7537
7538 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
7539 corrupting the PC.
7540
44ae2f6a
MC
75412004-07-06 Michael Chastain <mec.gnu@mindspring.com>
7542
7543 * gdb.cp/templates.exp: Accept whitespace change in demangler
7544 output.
7545
45a83408
AC
75462004-07-06 Andrew Cagney <cagney@gnu.org>
7547
7548 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
7549
d205ad70
MC
75502004-07-02 Michael Chastain <mec.gnu@mindspring.com>
7551
7552 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
7553 * lib/compiler.cc: Likewise.
7554
06ea1a61
MC
75552004-06-30 Michael Chastain <mec.gnu@mindspring.com>
7556
7557 * lib/compiler.cc: Work around string preprocessing problem
7558 with old hp c++ compiler.
7559 * lib/compiler.c: Likewise.
7560
daab1251
CV
75612004-06-29 Corinna Vinschen <vinschen@redhat.com>
7562
7563 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
7564 directives to conditionalize symbol prefixing.
7565 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
7566 additional_flags handling. Add underscore prefix for Cygwin.
7567 * gdb.arch/i386-unwind.c: Use preprocessor directives to
7568 conditionalize symbol prefixing.
7569 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
7570 additional_flags handling. Add underscore prefix for Cygwin.
7571
cc984116
CV
75722004-06-29 Corinna Vinschen <vinschen@redhat.com>
7573
7574 * gdb.base/bigcore.exp: Skip test on Cygwin.
7575
c279b077
MC
75762004-06-28 Michael Chastain <mec.gnu@mindspring.com>
7577
7578 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
7579 formats for "info register". Use gdb_test_multiple. Fix
7580 the "invalid register" test.
7581
0e915747
CV
75822004-06-28 Corinna Vinschen <vinschen@redhat.com>
7583
7584 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
7585 PID for Cygwin. Add Cygwin specific strings to check for in some
7586 tests.
7587 (do_attach_tests): Add a test for user interaction when attaching
7588 to a process with no matching symbol table already loaded.
7589
11422c86
AC
75902004-06-26 Andrew Cagney <cagney@gnu.org>
7591
7592 Test PR java/1567 and PR java/1565.
7593 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
7594 * gdb.java/jmisc2.exp: Delete file.
7595
cefbce26
MC
75962004-06-26 Michael Chastain <mec.gnu@mindspring.com>
7597
7598 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
7599
e19f872c
CV
76002004-06-25 Corinna Vinschen <vinschen@redhat.com>
7601
7602 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
7603 attach process.
7604
d931ba3b
MC
76052004-06-23 Michael Chastain <mec.gnu@mindspring.com>
7606
7607 * gdb.cp/pr-1553.exp: Remove.
7608
aef68c48
MC
76092004-06-22 Michael Chastain <mec.gnu@mindspring.com>
7610
7611 * gdb.cp/pr-1553.cc: Remove.
7612 * gdb.cp/pr-1553.exp: Disable this test.
7613
8d5df71a
JB
76142004-06-20 Jim Blandy <jimb@redhat.com>
7615
a9c64011 7616 Fix PR testsuite/1680.
8d5df71a
JB
7617 * gdb.arch/i386-sse.exp: Properly quote curly braces in
7618 regular expressions.
7619
4ac6f39d
MC
76202004-06-19 Michael Chastain <mec.gnu@mindspring.com>
7621
7622 Fix PR testsuite/1679.
7623 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
7624 Issue an UNSUPPORTED result instead.
7625
1b413552
JB
76262004-06-18 Jim Blandy <jimb@redhat.com>
7627
7628 * gdb.base/charset.exp: Only send a control-C if we see a new
7629 prompt and incomplete command.
7630
6daa6ebd
MC
76312004-06-18 Michael Chastain <mec.gnu@mindspring.com>
7632
7633 * gdb.cp/pr-574.cc: Add copyright notice.
7634
51fa4ae0
JB
76352004-06-17 Jim Blandy <jimb@redhat.com>
7636
7637 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
7638 cases where the regexp has no groups; this grabs random text from
7639 the previous test suite, whatever that was.
7640
8fea26c5
MC
76412004-06-17 Michael Chastain <mec.gnu@mindspring.com>
7642
7643 * gdb.cp/printmethod.cc: Add copyright notice.
7644
1e3aeb41
MC
76452004-06-16 Michael Chastain <mec.gnu@mindspring.com>
7646
7647 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
7648
9d9030bc
AC
76492004-06-16 Andrew Cagney <cagney@gnu.org>
7650
7651 * gdb.base/signull.c: Update copyright. Include <string.h>.
7652 (bowler): Replace data_pointer with data_read
7653 and data_write cases. Add code_descriptor case.
7654 (zero, desc): New array and pointer.
7655 (data, code): Change to simple pointers.
7656 * gdb.base/signull.exp: Fix probe pattern matching a function
7657 descriptor SIGSEGV. Replace data_pointer with data_read and
7658 data_write tests.
7659
acd4ad44
AC
76602004-06-16 Andrew Cagney <cagney@gnu.org>
7661
7662 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
7663
08fd625c
MC
76642004-06-15 Michael Chastain <mec.gnu@mindspring.com>
7665
7666 * gdb.base/long_long.c: Add copyright notice.
7667
1903502c
MC
76682004-06-15 Michael Chastain <mec.gnu@mindspring.com>
7669
7670 * gdb.base/long_long.exp: Remove reference to
7671 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
7672 to gdb_breakpoint and gdb_continue_to_breakpoint.
7673
83313cb1
JB
76742004-06-14 Jim Blandy <jimb@redhat.com>
7675
7676 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
7677 endian case.
7678
1bf404ef
AC
76792004-06-14 Andrew Cagney <cagney@gnu.org>
7680
7681 * gdb.base/gcore.exp (capture_command_output): Delete the always
7682 passing tests containing inferior values.
7683 * gdb.base/ending-run.exp: Do not include the breakpoint address
7684 in the test message. Update copyright.
7685 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
7686 size in the test name, use gdb_test_multiple. Update copyright.
7687
ef220b33
MC
76882004-06-14 Michael Chastain <mec.gnu@mindspring.com>
7689
7690 * gdb.cp/ref-types.cc: Add copyright notice.
7691
4f70a4c9
MC
76922004-06-14 Michael Chastain <mec.gnu@mindspring.com>
7693
7694 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
7695 hp_aCC_compiler.
7696 * lib/compiler.cc: Likewise.
7697 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
7698 'set' commands. Log diagnostics for other lines. Set
7699 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
7700
335928ac
MC
77012004-06-13 Michael Chastain <mec.gnu@mindspring.com>
7702
7703 * gdb.cp/try_catch.cc: Add copyright notice.
7704
2efb12e8
MC
77052004-06-12 Michael Chastain <mec.gnu@mindspring.com>
7706
7707 * gdb.cp/userdef.cc: Add copyright notice.
7708
0bbed51a
MC
77092004-06-11 Michael Chastain <mec.gnu@mindspring.com>
7710
7711 * gdb.cp/virtfunc.cc: Add copyright notice.
7712
e12a46c9
RC
77132004-06-11 Randolph Chung <tausq@debian.org>
7714
7715 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
7716 problem.
7717
338e05af
AC
77182004-06-10 Andrew Cagney <cagney@gnu.org>
7719
7720 * lib/compiler.cc, lib/compiler.c: Append either
7721 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
7722 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
7723 instead of gcc-3-3.
7724
dc3f10cb
AC
77252004-06-09 Andrew Cagney <cagney@gnu.org>
7726
b4d946af
AC
7727 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
7728 gdb/1455, bug is specific to "long long" and "double".
a9c64011 7729
dc3f10cb
AC
7730 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
7731 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
7732 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
7733 fixed.
7734
b5c0bfa2
AC
77352004-06-09 Andrew Cagney <cagney@gnu.org>
7736
7737 * gdb.base/structs.exp (test_struct_returns): Replace
7738 "return_value_unknown" and "finish_value_unknown" by
7739 "return_value_known" and "finish_value_known". Instead of
7740 "return_value_unknown" iff "finish_value_unknown", check
7741 "return_value_known" implies "finish_value_known".
7742
caeb605f
MH
77432004-06-08 Martin Hunt <hunt@redhat.com>
7744
7745 * gdb.base/float.exp: Add pattern for mips targets.
7746
c892bb64
RC
77472004-06-08 Randolph Chung <tausq@debian.org>
7748
7749 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
7750 message for unknown architectures more clear.
7751
48306d3e
JB
77522004-06-08 Joel Brobecker <brobecker@gnat.com>
7753
7754 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
7755 start the execution of the program.
7756
83ecb59f
JB
77572004-06-07 Jim Blandy <jimb@redhat.com>
7758
7759 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
7760 * gdb.arch/i386-cpuid.h: New helper file.
7761
55264cb4
RC
77622004-06-07 Randolph Chung <tausq@debian.org>
7763
7764 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
7765 has started.
7766
23cadb28
RM
77672004-06-04 Roland McGrath <roland@redhat.com>
7768
7769 Fix PR gdb/1647.
7770 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
7771 differently to be robust to output buffering differences.
7772
51d01eda
MC
77732004-06-04 Michael Chastain <mec.gnu@mindspring.com>
7774
7775 * gdb.threads/pthreads.exp: Update copyright years.
7776 (check_control_c): Change asynchronous 'after' to synchronous.
7777
f4fc3b93
RM
77782004-06-04 Roland McGrath <roland@redhat.com>
7779
7780 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
7781 next gdb prompt.
7782
4013522b
MC
77832004-06-02 Michael Chastain <mec.gnu@mindspring.com>
7784
7785 Fix PR gdb/1636.
7786 * gdb.threads/manythreads.exp: Change asynchronous 'after'
7787 calls to synchronous.
7788
7a8f1e6b
JB
77892004-05-26 Jim Blandy <jimb@redhat.com>
7790
7791 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
7792
81bb3443
RC
77932004-05-24 Randolph Chung <tausq@debian.org>
7794
7795 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
7796 * gdb.asm/pa.inc: New file.
7797
8f5a3103
MK
77982004-05-22 Mark Kettenis <kettenis@gnu.org>
7799
7800 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
7801
734b8fe8 78022004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 7803 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
7804
7805 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
7806 GDB prompt.
7807
725603e1
UW
78082004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7809
f4fc3b93 7810 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
7811 setjmp/longjmp. Use sigaction instead of signal.
7812
8b923272 78132004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 7814 Michael Snyder <msnyder@redhat.com>
8b923272
JB
7815
7816 * gdb.threads/pthread_cond_wait.c: New file.
7817 * gdb.threads/pthread_cond_wait.exp: New testcase.
7818
8bfabb04
AC
78192004-05-13 Andrew Cagney <cagney@redhat.com>
7820
7821 * gdb.base/signull.exp, gdb.base/signull.c: New files.
7822 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
7823
42edda50
AC
78242004-05-11 Andrew Cagney <cagney@redhat.com>
7825
7826 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
7827 fixed but revealed gdb/1639.
7828
d303a6c7
AC
78292004-05-10 Andrew Cagney <cagney@redhat.com>
7830
7831 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
7832 func1" and "next to 2nd alarm", kernel bug avoided.
7833
bf08c2a1
DJ
78342004-05-10 Daniel Jacobowitz <dan@debian.org>
7835
7836 PR external/1568
7837 * gdb.base/bigcore.exp: Check the size of the dumped core file.
7838 XFAIL if it is smaller than bytes_allocated.
7839 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
7840 (main): Make chunks_allocated unsigned. Correct comment.
7841
c0586a34
JB
78422004-05-07 Joel Brobecker <brobecker@gnat.com>
7843
7844 * gdb.arch/powerpc-aix-prologue.c: New file.
7845 * gdb.arch/powerpc-aix-prologue.exp: New file.
7846
f2785d12
JB
78472004-05-07 Jim Blandy <jimb@redhat.com>
7848
7849 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
7850 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
7851
bd7f6e30
JB
78522004-05-06 Joel Brobecker <brobecker@gnat.com>
7853
7854 * gdb.base/sep.exp: No longer setup_kfail when the program was
7855 built with dwarf2.
7856
0a5e7efe
JI
78572004-05-05 Jim Ingham <jingham@apple.com>
7858
7859 * gdb.base/pending.exp: Make sure pending breakpoints
7860 preserve the ignore count.
f4fc3b93 7861
a8958849
MK
78622004-04-27 Jerome Guitton <guitton@gnat.com>
7863
7864 * i386-prologue.exp: Add testcase for jump instruction as first
7865 instruction of the real code.
7866 * i386-prologue.c (jump_at_beginning): New function.
7867
7e103f5b
MK
78682004-04-28 Mark Kettenis <kettenis@gnu.org>
7869
7870 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
7871 x86_64-*-*.
7872
5d38b224
MK
78732004-04-28 Mark Kettenis <kettenis@gnu.org>
7874
7875 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
7876 i*86-*-*.
7877
0ef32fd9
MK
78782004-04-25 Mark Kettenis <kettenis@gnu.org>
7879
7880 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
7881 expression that checks the return type.
7882
71d7dd7c
AC
78832004-04-23 Andrew Cagney <cagney@redhat.com>
7884
7885 * gdb.base/call-sc.exp: New test of scalar call/return values.
7886 * gdb.base/call-sc.c: Ditto.
7887
1e9f977e
JJ
78882004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7889
7890 * gdb.threads/manythreads.c: Reduce thread stack size.
7891
899d9e3a
JJ
78922004-04-23 Jeff Johnston <jjohnstn@redhat.com>
7893
7894 * gdb.threads/manythreads.c: Add copyright notice.
7895
61bcae62
AC
78962004-04-23 Andrew Cagney <cagney@redhat.com>
7897
7898 * gdb.base/siginfo.exp: Better handle step out of signal.
7899 * gdb.base/sigstep.exp: Ditto.
7900
7339a42e 79012004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 7902 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
7903
7904 * gdb.threads/manythreads.c: New testcase.
7905 * gdb.threads/manythreads.exp: Ditto.
7906
5c98409b
JB
79072004-04-22 Jim Blandy <jimb@redhat.com>
7908
7909 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
7910 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
7911
3b611f1a
MC
79122004-04-21 Michael Chastain <mec.gnu@mindspring.com>
7913
7914 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
7915
f0fd9238
AC
79162004-04-21 Andrew Cagney <cagney@redhat.com>
7917
7918 * gdb.base/sigstep.c: New file.
7919 * gdb.base/sigstep.exp: New file.
7920
90990674
JB
79212004-04-16 Joel Brobecker <brobecker@gnat.com>
7922
7923 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
7924 call to observer_notify_normal_stop.
7925
78cef34b
AC
79262004-04-15 Andrew Cagney <cagney@redhat.com>
7927
7928 * gdb.base/siginfo.c: New file.
7929 * gdb.base/siginfo.exp: New file.
7930
d2343407
JB
79312004-04-12 J. Brobecker <brobecker@gnat.com>
7932
7933 * gdb.base/sep.exp: Fix typo in comment.
7934
a2dba3c8
JB
79352004-04-12 J. Brobecker <brobecker@gnat.com>
7936
7937 * gdb.base/sep.c: New file.
7938 * gdb.base/sep-proc.c: New file.
7939 * gdb.base/sep.exp: New testcase.
7940
15f7b60e
MK
79412004-04-09 Mark Kettenis <kettenis@gnu.org>
7942
7943 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
7944 support.
7945
44f4de1a
AC
79462004-04-05 Andrew Cagney <cagney@redhat.com>
7947
7948 * gdb.base/sigaltstack.c: New file.
7949 * gdb.base/sigaltstack.exp: New file.
7950
ef04f396
JB
79512004-04-04 Joel Brobecker <brobecker@gnat.com>
7952
7953 * gdb.base/foll-fork.exp: Update the expected output for
7954 "help set follow-fork-mode", to match a change that was made
7955 to the help of this variable on 2004-01-13.
7956
d40d2c92
JB
79572004-04-01 Joel Brobecker <brobecker@gnat.com>
7958
7959 * lib/ada.exp: Add copyright notice.
7960 * bar.ads: Likewise.
7961 * bar.adb: Likewise.
7962 * null_record.adb: Likewise.
7963 * null_record.exp: Likewise.
7964 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
7965
f86ef5a3
JB
79662004-04-01 Joel Brobecker <brobecker@gnat.com>
7967
7968 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
7969 * configure: Regenerate.
7970
414e70e3
JB
79712004-04-01 Joel Brobecker <brobecker@gnat.com>
7972
7973 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
7974 to build the application. Remove the message printed when in
7975 verbose mode, redundant with the UNSUPPORTED message above.
7976
f0aaee49
JB
79772004-03-31 Joel Brobecker <brobecker@gnat.com>
7978
7979 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
7980 * gdb.ada (null_record.exp): New testcase.
7981
ac81cb54
JB
79822004-03-31 Joel Brobecker <brobecker@gnat.com>
7983
7984 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
7985
854af2f7
JB
79862004-03-31 Joel Brobecker <brobecker@gnat.com>
7987
7988 * gdb.ada: New subdirectory.
7989 * gdb.ada/Makefile.in: New file.
7990 * gdb.ada/gnat_ada.gpr.in: New file.
7991
034cb681
JB
79922004-03-31 Joel Brobecker <brobecker@gnat.com>
7993
7994 * lib/ada.exp: New file.
7995
78a1a894
DJ
79962004-03-24 Daniel Jacobowitz <drow@mvista.com>
7997
7998 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
7999 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
8000
4b2b3b3e
AC
80012004-03-22 Andrew Cagney <cagney@redhat.com>
8002
8003 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
8004 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
8005 Problem identified by Ulrich Weigand.
8006
23c73aa3
DC
80072004-03-17 David Carlton <carlton@kealia.com>
8008
8009 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
8010 PR c++/826.
8011
d63a86f8
RM
80122004-03-16 Roland McGrath <roland@redhat.com>
8013
8014 * gdb.base/auxv.exp: New file.
8015 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
8016
0e02aa50
DC
80172004-03-12 David Carlton <carlton@kealia.com>
8018
8019 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
8020 * gdb.cp/pr-1553.cc: Ditto.
8021 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
8022 pass branch.
8023
c20b71be
MC
80242004-03-12 Michael Chastain <mec.gnu@mindspring.com>
8025
8026 * gdb.cp/templates.exp: Accept more template types.
8027
c7414a01
MC
80282004-03-09 Michael Chastain <mec.gnu@mindspring.com>
8029
8030 From Corinna Vinschen with modifications.
8031 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
8032 local variable obj_with_enum.
8033 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
8034 results with obj_with_enum.
8035
ed69573c
MC
80362004-03-09 Michael Chastain <mec.gnu@mindspring.com>
8037
8038 * gdb.cp/classes.cc: New file, copied from misc.cc.
8039 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
8040
28301461
MC
80412004-03-09 Michael Chastain <mec.gnu@mindspring.com>
8042
8043 * gdb.cp/misc.cc: Add copyright notice.
8044
1198ecbe
DC
80452004-03-05 David Carlton <carlton@kealia.com>
8046
8047 * gdb.cp/rtti.exp: Add 'print *obj3' test.
8048 * gdb.cp/rtti.h: Update copyright.
8049 (namespace n2::n3): New.
8050 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
8051 (n2::n3::func3): New.
8052 (main): Call n2::n3::func3.
8053 * gdb.cp/rtti2.cc: Update copyright.
8054 (n2::create3): New.
8055
9e08c470
MK
80562004-03-04 Mark Kettenis <kettenis@gnu.org>
8057
8058 * gdb.asm/openbsd.inc: Fix typo.
8059
4bebc3aa
FF
80602004-03-03 Fred Fish <fnf@redhat.com>
8061
8062 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
8063 "val" instead of unused "size". Update copyright year.
8064
6ea9fb37
DJ
80652004-02-29 Daniel Jacobowitz <drow@mvista.com>
8066
8067 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
8068 to use unsigned char.
8069 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
8070 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
8071
23b23974
DJ
80722004-02-29 Daniel Jacobowitz <drow@mvista.com>
8073
8074 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
8075 line of output.
8076
7574fd53
DJ
80772004-02-28 Daniel Jacobowitz <drow@mvista.com>
8078
8079 * gdb.base/relocate.c (dummy): Initialize.
8080
a195357f
DJ
80812004-02-28 Daniel Jacobowitz <drow@mvista.com>
8082
8083 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
8084 a breakpoint at exit.
8085
72fd54a9
FF
80862004-02-27 Fred Fish <fnf@redhat.com>
8087
8088 * gdb.base/chng-syms.exp: Add expect condition to match failing
8089 case that isn't a timeout.
8090
b9d23137
AC
80912004-02-27 Andrew Cagney <cagney@redhat.com>
8092
8093 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
8094 support.
8095
15d208f6 80962004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 8097
15d208f6
FF
8098 * gdb.arch/gdb1431.c: Remove.
8099 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
8100 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
8101 of "until" incorrectly.
8102
98f9cd2d
JB
81032004-02-26 J. Brobecker <brobecker@gnat.com>
8104
8105 * gdb.cp/class2.cc (empty): New class.
8106 (refer): New function.
8107 (main): Declare an object of type empty and use it.
8108 * gdb.cp/class2.exp: Print the value of an object of type empty.
8109
9b50c11b
JJ
81102004-02-26 Jeff Johnston <jjohnstn@redhat.com>
8111
8112 * gdb.base/langs.exp: Update query string to match the
8113 new nquery format used for pending breakpoints.
8114
0dcd613f
AC
81152004-02-26 Andrew Cagney <cagney@redhat.com>
8116
8117 Fix PR i18n/1570.
8118 * gdb.base/charset.c: Update copyright notice.
8119 (main, init_string): Remove the escape character '\e' tests.
8120 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
8121 * gdb.base/charset.exp (valid_host_charset): Ditto.
8122 * gdb.base/setvar.exp: Ditto.
8123
b8a56647
AC
81242004-02-24 Andrew Cagney <cagney@redhat.com>
8125
90d59e34
AC
8126 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
8127 mmapped data in core file" PASS and FAIL messages consistent.
8128
b8a56647
AC
8129 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
8130 setting a breakpoint. Work around PR java/1565.
8131
9f27c604
JJ
81322004-02-23 Jeff Johnston <jjohnstn@redhat.com>
8133
8134 * lib/gdb.exp (gdb_breakpoint): Update query string to match
8135 new nquery format.
8136 * gdb.base/pending.exp: Ditto.
8137
3224a706
MK
81382004-02-22 Mark Kettenis <kettenis@gnu.org>
8139
8140 * configure.in: Run stabs tests on *BSD.
8141 * configure: Regenerated.
8142
41e0a9ca
MK
81432004-02-21 Mark Kettenis <kettenis@gnu.org>
8144
8145 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
8146
1e1b3428
FF
81472004-02-20 Fred Fish <fnf@redhat.com>
8148
8149 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
8150 blank in test for "returns short", for consistency with other
8151 "returns xxx" tests. Update copyright year.
8152
f9a7572a
FF
81532004-02-19 Fred Fish <fnf@redhat.com>
8154
8155 New testcase for PR breakpoint/1558.
8156 * gdb.arch/gdb1558.exp: New file.
8157 * gdb.arch/gdb1558.c: New file.
8158
b2ce2854
EZ
81592004-02-19 Elena Zannoni <ezannoni@redhat.com>
8160
8161 * gdb.base/nodebug.exp: Fix typo.
8162
e7c9ff01
JB
81632004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8164
8165 Committed by Jim Blandy <jimb@redhat.com>.
8166
62f4b920
JB
8167 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
8168
2db536a1
JB
8169 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
8170
e7c9ff01
JB
8171 * gdb.base/float.exp: Support s390*-*-* targets.
8172
f3205b34
AF
81732004-02-17 Adam Fedor <fedor@gnu.org>
8174
8175 * gdb.base/gdb1555.exp: New file.
8176 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
8177
9d62932d
EZ
81782004-02-17 Elena Zannoni <ezannoni@redhat.com>
8179
8180 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
8181
344c9711
FF
81822004-02-16 Fred Fish <fnf@redhat.com>
8183
8184 * gdb.arch/gdb1291.c: Remove
8185 * gdb.arch/gdb1291.s: New test input file.
8186 * gdb.arch/gdb1291.exp: Expand test to check case that should not
8187 fail. Test for correct result, known incorrect result, other
8188 failures and timeouts.
8189
2d822687
AC
81902004-02-16 Andrew Cagney <cagney@redhat.com>
8191
8192 * gdb.base/bigcore.exp: New file.
8193 * gdb.base/bigcore.c: New file.
8194
dac15b66
AC
81952004-02-13 Andrew Cagney <cagney@redhat.com>
8196
8197 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
8198 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
8199 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
8200 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
8201 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
8202 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
8203 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
8204 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
8205 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
8206 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
8207
6bdfc2c4
JJ
82082004-02-11 Jeff Johnston <jjohnstn@redhat.com>
8209
8210 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
8211 executed is an alloc instruction.
8212
87b3ede8
DC
82132004-02-11 David Carlton <carlton@kealia.com>
8214
8215 * gdb.cp/breakpoint.exp: New.
8216 * gdb.cp/breakpoint.cc: New.
8217
6e19e2bf
MC
82182004-02-11 Michael Chastain <mec.gnu@mindspring.com>
8219
8220 Partial fix for PR gdb/1543.
8221 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
8222 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
8223 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
8224 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
8225 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
8226 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
8227 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
8228 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
8229 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
8230 to bug-gdb@prep.ai.mit.edu .
8231 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
8232 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
8233 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
8234 Likewise.
8235
5c5455dc
AC
82362004-02-10 Andrew Cagney <cagney@redhat.com>
8237
8238 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
8239 using gdb_internal_error_resync.
8240
9cf689d7
DJ
82412004-02-09 Daniel Jacobowitz <drow@mvista.com>
8242
8243 * gdb.threads/thread-specific.exp: Stop early if no threads are
8244 found.
8245
d2dc51db
MC
82462004-02-09 Michael Chastain <mec.gnu@mindspring.com>
8247
8248 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
8249
14b1a056
DJ
82502004-02-08 Daniel Jacobowitz <drow@mvista.com>
8251
8252 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
8253 breakpoints.
8254
83f66e8f
DJ
82552004-02-07 Daniel Jacobowitz <drow@mvista.com>
8256
8257 * config/sim.exp (gdb_load): Handle $arg == "".
8258 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
8259 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
8260
30fc0091
EZ
82612004-02-07 Elena Zannoni <ezannoni@redhat.com>
8262
a9c64011
AS
8263 * gdb.base/maint.exp: Update test to reflect
8264 obstack changes.
30fc0091 8265
4d806929
JJ
82662004-02-04 Jeff Johnston <jjohnstn@redhat.com>
8267
8268 * gdb.base/pendshr.c (pendfunc): New function that calls
8269 pendfunc1.
8270 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
8271
7bfdd688
FF
82722004-02-04 Fred Fish <fnf@redhat.com>
8273
8274 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
8275 function symbols and update copyright years.
8276 * gdb.arch/gdb1291.c: Ditto.
8277
aaa08ee4
MC
82782004-02-03 Michael Chastain <mec.gnu@mindspring.com>
8279
8280 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
8281
dbad7755
MC
82822004-02-03 Michael Chastain <mec.gnu@mindspring.com>
8283
8284 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
8285
ec4646ef
MC
82862004-02-03 Michael Chastain <mec.gnu@mindspring.com>
8287
8288 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
8289
1b802196
FF
82902004-02-02 Fred Fish <fnf@redhat.com>
8291
8292 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
8293 remote targets. Update copyright years.
8294
18fe2033
JJ
82952004-02-02 Jeff Johnston <jjohnstn@redhat.com>
8296
8297 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
8298 support.
8299 * gdb.base/langs.exp: Fix test which attempts to create
8300 breakpoint on non-existent function to handle new pending
8301 support.
8302 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
8303 a breakpoint.
8304 * gdb.base/pending.exp: New test.
8305 * gdb.base/pending.c: New file.
8306 * gdb.base/pendshr.c: Ditto.
8307
8d577d32
DC
83082004-02-02 David Carlton <carlton@kealia.com>
8309
8310 * gdb.cp/overload.exp: Add overloadNamespace tests.
8311 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
8312 (overloadNamespace, XXX): New.
8313 (main): Call XXX::marker2.
8314
3ad13771
FF
83152004-02-01 Fred Fish <fnf@redhat.com>
8316
8317 * gdb.base/dump.exp: Use runto_main instead of "runto main".
8318 * gdb.base/finish.exp: Ditto.
8319 * gdb.base/gcore.exp: Ditto.
8320 * gdb.base/huge.exp: Ditto.
8321 * gdb.base/info-proc.exp: Ditto.
8322 * gdb.base/return2.exp: Ditto.
8323 * gdb.threads/gcore-thread.exp: Ditto.
8324
44c75849
DJ
83252004-02-01 Daniel Jacobowitz <drow@mvista.com>
8326
8327 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
8328
005bc093
MK
83292004-02-01 Mark Kettenis <kettenis@gnu.org>
8330
8331 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
8332 that opening the file succeeds on OpenBSD.
8333
c47cebdb
DJ
83342004-02-01 Daniel Jacobowitz <drow@mvista.com>
8335
8336 * gdb.threads/thread-specific.c: New file.
8337 * gdb.threads/threads-specific.exp: New test script.
8338 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
8339 to expect_out.
8340
5a01311c
MK
83412004-02-01 Mark Kettenis <kettenis@gnu.org>
8342
8343 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
8344 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
8345 only on the "print_small_structs from print_long_arg_list" test.
8346
ce22a4f1
DJ
83472004-02-01 Daniel Jacobowitz <drow@mvista.com>
8348
8349 * gdb.base/completion.exp: Kill a stray backslash.
8350
8351 From Jim Ingham <jingham@apple.com>:
8352 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
8353 agrees with the result from sending a tab.
8354
abbab9d3
DJ
83552004-01-31 Daniel Jacobowitz <drow@mvista.com>
8356
8357 * gdb.base/chng-syms.exp: Remove stray newline.
8358
53904d1e
MK
83592004-01-31 Mark Kettenis <kettenis@gnu.org>
8360
8361 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
8362 *-*-openbsd*.
8363 * gdb.asm/openbsd.inc: New file.
8364
3a4b3aac
MK
83652004-01-30 Mark Kettenis <kettenis@gnu.org>
8366
8367 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
8368 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
8369 *-*solaris2*. Remove commented out default settings for
8370 asm-flags. Replace gdb_compile with target_link.
8371
ebac27b4
MC
83722004-01-29 Michael Chastain <mec.gnu@mindspring.com>
8373
8374 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
8375 for all tests. Remove old hp-ux and cygnus xfail cases.
8376
d8679d84
PH
83772004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
8378
8379 * gdb.base/chng-syms.exp: New file.
8380 * gdb.base/chng-syms.c: New file.
8381
0a55bc22
MC
83822004-01-24 Michael Chastain <mec.gnu@mindspring.com>
8383
8384 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
8385 Provide arms for current output in all my configurations.
8386
94b8e876
MC
83872004-01-24 Michael Chastain <mec.gnu@mindspring.com>
8388
8389 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
8390 * lib/compiler.cc: Likewise.
8391 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
8392 get the right preprocessor. Eval the output directly. Remove
8393 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
8394 hp_f77_compiler and hp_f90_compiler completely.
8395 (gdb_preprocess): Delete.
8396 (get_compiler): Delete.
8397
7cf03d44
MK
83982004-01-24 Mark Kettenis <kettenis@gnu.org>
8399
8400 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
8401 <string.h>.
8402
68b6dce9
NR
84032004-01-24 Nick Roberts <nick@nick.uklinux.net>
8404
8405 * gdb.mi/mi-stack.exp: Update copyright.
8406
b368761e
DC
84072004-01-23 David Carlton <carlton@kealia.com>
8408
8409 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
8410 test for cp_lookup_transparent_type.
8411 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
8412 call them.
8413
f2061b53
DJ
84142004-01-23 Daniel Jacobowitz <drow@mvista.com>
8415
8416 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
8417 after -var-update.
8418
37fc574a
DC
84192004-01-23 David Carlton <carlton@kealia.com>
8420
8421 * gdb.cp/namespace.cc (C::ensureRefs): New.
8422 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
8423
8e94b928
NR
84242004-01-20 Nick Roberts <nick@nick.uklinux.net>
8425
8426 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
8427 case "-stack-list-locals 2".
8428 * gdb.mi/mi-var-child.exp: Test for case
8429 "-var-list-children --all-values NAME".
8430
997b0952
MC
84312004-01-18 Michael Chastain <mec.gnu@mindspring.com>
8432
8433 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
8434
52470da3
MK
84352004-01-18 Mark Kettenis <kettenis@gnu.org>
8436
7049b4b8
MK
8437 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
8438 used with gdb_test_multiple.
8439
52470da3
MK
8440 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
8441 read at address 0. This fixes PR testsuite/1504.
8442
da6012e5
DJ
84432004-01-18 Daniel Jacobowitz <drow@mvista.com>
8444
8445 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
8446 Remove downloading, guessing the host executable, the calls to
8447 gdb_file_cmd and gdb_target_cmd, and "load" support.
8448 (infer_host_exec): New function broken out from gdb_load.
8449 (gdb_load): New wrapper for gdbserver_gdb_load.
8450 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
8451 gdb_target_cmd. Use -target-select.
8452 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
8453 Download binaries to the host. Clear last_mi_remote_file when
8454 we load a new binary.
8455 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
8456 call gdbserver_gdb_load and mi_gdb_target_cmd.
8457
32c70722
MC
84582004-01-17 Michael Chastain <mec.gnu@mindspring.com>
8459
8460 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
8461 type patterns.
8462
b0cecf36
MC
84632004-01-17 Michael Chastain <mec.gnu@mindspring.com>
8464
8465 * gdb.cp/templates.exp: Fix typo in test name of
8466 "print Foo<volatile char*>::foo".
8467
4120d7e6
MC
84682004-01-15 Michael Chastain <mec.gnu@mindspring.com>
8469
8470 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
8471
f679e530
BE
84722004-01-16 Ben Elliston <bje@wasabisystems.com>
8473
8474 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
8475 (clean mostlyclean): Remove empty rm.
8476
091c48f6
MC
84772004-01-15 Michael Chastain <mec.gnu@mindspring.com>
8478
8479 * gdb.base/setvar.exp: Add copyright years.
8480
3e5fc8d2
DC
84812004-01-14 David Carlton <carlton@bactrian.org>
8482
8483 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
8484 PR c++/1511 and update coment.
8485 * gdb.cp/templates.exp: Update patterns to match current output.
8486 If changes involve something other than whitespace, KFAIL
8487 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
8488
63d06c5c
DC
84892004-01-14 David Carlton <carlton@kealia.com>
8490
8491 * gdb.cp/namespace.exp: Add tests involving classes defined within
8492 namespaces.
8493 * gdb.cp/namespace.cc (C::CClass): New.
8494 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
8495
a51dab88
EZ
84962004-01-14 Elena Zannoni <ezannoni@redhat.com>
8497
8498 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
8499 what debug info we have. Print a better message if something goes
8500 wrong while producing the separate debug info file.
8501
a476ccc9
MC
85022004-01-14 Michael Chastain <mec.gnu@mindspring.com>
8503
8504 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
8505
f453692c
MC
85062004-01-14 Michael Chastain <mec.gnu@mindspring.com>
8507
8508 * gdb.base/callfuncs.c: Add copyright notice.
8509
f40063a5
MC
85102004-01-13 Michael Chastain <mec.gnu@mindspring.com>
8511
8512 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
8513 inheritance. PR gdb/1498, PR gcc/13539.
8514
19ac3974
EZ
85152004-01-13 Elena Zannoni <ezannoni@redhat.com>
8516
a9c64011
AS
8517 * gdb.threads/gcore-thread.exp: Prefix name of binary with
8518 test specific name.
8519 * gdb.mi/gdb669.exp: Ditto.
8520 * gdb.mi/mi-pthreads.exp: Ditto.
8521 * gdb.mi/mi1-pthreads.exp: Ditto.
8522 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 8523
56c97c6e
MC
85242004-01-12 Michael Chastain <mec.gnu@mindspring.com>
8525
8526 * gdb.cp/member-ptr.cc: Add copyright notice.
8527
a0644324
MC
85282004-01-12 Michael Chastain <mec.gnu@mindspring.com>
8529
8530 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
8531 some patterns for recent versions of gcc and hpacc. Delete
8532 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
8533 Delete tests that access a NULL pointer-to-member-data. This
8534 script is still disabled for gcc.
8535
32fabe09
EZ
85362004-01-12 Elena Zannoni <ezannoni@redhat.com>
8537
8538 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 8539 escaped correctly.
32fabe09 8540
1f8a6abb
EZ
85412004-01-12 Elena Zannoni <ezannoni@redhat.com>
8542
8543 * gdb.base/sepdebug.exp: New file.
8544 * gdb.base/sepdebug.c: New file.
8545 * lib/gdb.exp (separate_debug_filename): New procedure.
8546 (gdb_gnu_strip_debug): New procedure.
8547
48efe704
AC
85482004-01-12 Andrew Cagney <cagney@redhat.com>
8549
8550 * gdb.mi/ChangeLog: Delete file. Renamed to ...
8551 * gdb.mi/ChangeLog-1999-2003: New file.
8552
a9415475
AC
85532004-01-12 Andrew Cagney <cagney@redhat.com>
8554
8555 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
8556 "Renaming a directory to a non-empty directory returns ENOTEMPTY
8557 or EEXIST", treat EBUSY as an XFAIL.
8558
83b8cf9d
MC
85592004-01-11 Michael Chastain <mec.gnu@mindspring.com>
8560
8561 * gdb.base/scope.exp: Remove obsolete setup_xfail for
8562 hp_cc_compiler.
8563
9939d2a8
MC
85642004-01-10 Michael Chastain <mec.gnu@mindspring.com>
8565
8566 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
8567 decorations.
8568
1ff8cadf
MC
85692004-01-10 Michael Chastain <mec.gnu@mindspring.com>
8570
8571 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
8572 and "(aCC)" decorations. Remove obsolete doco about old
8573 test results.
8574
6fa9022e
MC
85752004-01-09 Michael Chastain <mec.gnu@mindspring.com>
8576
8577 * gdb.cp/exception.exp: Fix typo in doco.
8578
209721fe
MK
85792004-01-09 Mark Kettenis <kettenis@gnu.org>
8580
8581 * gdb.base/gdb1476.exp: Fix typo.
8582
ef11303e
MC
85832004-01-09 Michael Chastain <mec.gnu@mindspring.com>
8584
8585 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
8586 file.
8587
041ab88c
MC
85882004-01-09 Michael Chastain <mec.gnu@mindspring.com>
8589
8590 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
8591 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
8592 Use gdb_compile. Remove restriction on gcc. Add some patterns
8593 for recent version of gdb. Delete second half, which was a copy
8594 of the first half with different build flags. This test is
8595 still disabled because it is still not ready for production.
8596
e36d075a
MC
85972004-01-08 Michael Chastain <mec.gnu@mindspring.com>
8598
8599 * gdb.cp/exception.cc: Add copyright notice.
8600 * gdb.cp/exception.exp: Add a notice that this file is broken
8601 because of line number changes caused by addition of copyright
8602 notice.
8603
42b190ad
MC
86042004-01-08 Michael Chastain <mec.gnu@mindspring.com>
8605
8606 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
8607 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
8608
8f25f06b
MC
86092004-01-08 Michael Chastain <mec.gnu@mindspring.com>
8610
8611 * gdb.cp/classes.exp: Accept gnu abi 2.
8612 * gdb.cp/derivation.exp: Likewise.
8613 * gdb.cp/overload.exp: Likewise.
8614 * gdb.cp/virtfunc.exp: Likewise.
8615
06ded8b8
MC
86162004-01-08 Michael Chastain <mec.gnu@mindspring.com>
8617
8618 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
8619 semicolon after end of function.
8620
77c26ae3
MC
86212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
8622
8623 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
8624 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
8625 boilerplate code for compiling and running the program under
8626 test. Add some string method tests.
8627
20757486
MC
86282004-01-07 Michael Chastain <mec.gnu@mindspring.com>
8629
8630 * gdb.cp/bs15503.cc: Add copyright notice.
8631 * gdb.cp/bs15503.exp: Adjust line number.
8632
0fd3b503
MC
86332004-01-07 Michael Chastain <mec.gnu@mindspring.com>
8634
8635 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
8636 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
8637
10d1bea8
MC
86382004-01-07 Michael Chastain <mec.gnu@mindspring.com>
8639
8640 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
8641 hp_cc_compiler.
8642
2789202a
MC
86432004-01-07 Michael Chastain <mec.gnu@mindspring.com>
8644
8645 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
8646 * gdb.cp/ctti.exp: Use the marker instead of "next".
8647 With gcc, run further before bailing.
8648
b862f14c
MC
86492004-01-07 Michael Chastain <mec.gnu@mindspring.com>
8650
8651 * gdb.cp/cttiadd.cc: Add copyright notice.
8652 * gdb.cp/cttiadd1.cc: Likewise.
8653 * gdb.cp/cttiadd2.cc: Likewise.
8654 * gdb.cp/cttiadd3.cc: Likewise.
8655
96da2469
MC
86562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
8657
8658 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
8659 Use gdb_test, gdb_test_multiple. Use floating-point values that
8660 have exact representations in IEEE-ish formats.
8661
053248ff
MC
86622004-01-07 Michael Chastain <mec.gnu@mindspring.com>
8663
8664 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
8665 compilers. Delete duplicate call to get_compiler_info.
8666 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
8667 * gdb.base/volatile.exp: Likewise.
8668
84acecdd
MK
86692004-01-07 Mark Kettenis <kettenis@gnu.org>
8670
8671 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
8672 memory at address 0.
8673
fe11a27f
MC
86742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
8675
8676 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
8677 to test for hp-ux assembler. Fix copyright years.
8678
60ad077b
AC
86792004-01-07 Andrew Cagney <cagney@redhat.com>
8680
8681 * gdb.base/fileio.c (strerrno): Add "EBUSY".
8682
1c9b8f33
AC
86832004-01-07 Andrew Cagney <cagney@redhat.com>
8684
8685 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
8686 when creating the read-only file. From analysis by Roland McGrath
8687 and Elena Zannoni.
8688
753ccc7a
MC
86892004-01-06 Michael Chastain <mec.gnu@mindspring.com>
8690
8691 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
8692
eca3e36b
MC
86932004-01-06 Michael Chastain <mec.gnu@mindspring.com>
8694
8695 * gdb.base/cvexpr.c: Be type-safe with function pointers and
8696 data pointers.
8697
f8d4bac4
MC
86982004-01-06 Michael Chastain <mec.gnu@mindspring.com>
8699
8700 * gdb.cp/m-static.exp: Compile one source file at a time.
8701 Delete unused call to get_compiler_info.
8702
9b4e0f94
MC
87032004-01-06 Michael Chastain <mec.gnu@mindspring.com>
8704
8705 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
8706 * gdb.base/call-rt-st.exp: Likewise.
8707 * gdb.base/nodebug.exp: Likewise.
8708 * gdb.base/volatile.exp: Likewise.
8709 * gdb.cp/ref-types.exp: Likewise.
8710 * gdb.cp/templates.exp: Likewise.
8711
023c1024
MK
87122004-01-05 Mark Kettenis <kettenis@gnu.org>
8713
8714 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
8715
19703c4a
MC
87162004-01-05 Michael Chastain <mec.gnu@mindspring.com>
8717
8718 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
8719 hppa*-hp-hpux*.
8720
18b67037
MK
87212004-01-04 Mark Kettenis <kettenis@gnu.org>
8722
ba6219c8
MK
8723 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
8724 x86_64-*-*.
8725
18b67037
MK
8726 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
8727 sparc64-*-* and sparc*-solaris2*.
8728
1bfbbb9d
MK
87292004-01-04 Mark Kettenis <kettenis@gnu.org>
8730
8731 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
8732 return ${tests}" test. The ${tests} already mentions the
8733 filename.
8734
06846494
MC
87352004-01-02 Michael Chastain <mec.gnu@mindspring.com>
8736
8737 * gdb.cp/local.exp: Accept gcc abi 2.
8738
3b0cb202
MC
87392004-01-02 Michael Chastain <mec.gnu@mindspring.com>
8740
8741 * gdb.cp/templates.exp: Accept gcc abi 2.
8742
0643ec3f
MC
87432004-01-02 Michael Chastain <mec.gnu@mindspring.com>
8744
8745 * lib/compiler.cc: Remove supports_template_debugging.
8746 * gdb.cp/templates.exp: Do not test supports_template_debugging.
8747
d231d0b1
MC
87482004-01-01 Michael Chastain <mec.gnu@mindspring.com>
8749
8750 * gdb.cp/namespace.exp: Accept gcc abi 2.
8751
44ffb27c
MC
87522004-01-01 Michael Chastain <mec.gnu@mindspring.com>
8753
8754 * gdb.cp/method.exp: Accept gcc abi 2.
8755
184ad485
MC
87562004-01-01 Michael Chastain <mec.gnu@mindspring.com>
8757
8758 * gdb.cp/classes.exp: Generate identical results as old version.
8759 * gdb.cp/derivation.exp: Likewise.
8760 * gdb.cp/overload.exp: Likewise.
8761 * gdb.cp/virtfunc.exp: Likewise.
8762
116f09e7
MC
87632004-01-01 Michael Chastain <mec.gnu@mindspring.com>
8764
8765 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
8766 mysterious bug with sourceware version of expect.
8767
b1379776
MC
87682004-01-01 Michael Chastain <mec.gnu@mindspring.com>
8769
8770 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
8771 current versions of gcc, including gcc abi 2. Remove gratuitous
8772 restart of test program. Use gdb_test_multiple and gdb_test for
8773 all tests. Add patterns to xfail missing "const" in "const char *"
8774 and kfail PR gdb/1155.
8775
6b7a4c0e
MC
87762004-01-01 Michael Chastain <mec.gnu@mindspring.com>
8777
8778 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
8779 current versions of gcc, including gcc abi 2. Remove gratuitous
8780 restart of test program. Use gdb_test_multiple and gdb_test for
8781 all tests. Add patterns to kfail PR gdb/1498.
8782
51615d72
MC
87832003-12-31 Michael Chastain <mec.gnu@mindspring.com>
8784
8785 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
8786 current versions of gcc, including gcc abi 2. Use "breakpoint"
8787 and "continue" instead of restarting the target program. Use
8788 gdb_test_multiple and gdb_test for all tests.
8789
7b79a9d7
MK
87902004-01-01 Mark Kettenis <kettenis@gnu.org>
8791
8792 * gdb.asm/asm-source.exp: Update copyright year. Link statically
8793 for *-*-solaris2*.
8794
1cd3489f
MC
87952003-12-31 Michael Chastain <mec.gnu@mindspring.com>
8796
8797 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
8798 current versions of gcc, including gcc abi 2. Use "breakpoint"
8799 and "continue" instead of restarting the target program several
8800 times. Use gdb_test_multiple and gdb_test for all tests.
8801
850742db
MC
88022003-12-18 Michael Chastain <mec.gnu@mindspring.com>
8803
8804 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
8805 source files.
8806
eb4bbda8
MC
88072003-12-16 Michael Chastain <mec.gnu@mindspring.com>
8808
8809 * gdb.base/environ.exp: Handle compiling test case from multiple
8810 source files.
8811
e42c7771
MC
88122003-12-16 Michael Chastain <mec.gnu@mindspring.com>
8813
8814 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
8815
80e4b428
JB
88162003-12-17 Jim Blandy <jimb@redhat.com>
8817
5f06973a
JB
8818 * gdb.base/freebpcmd.c: Add copyright notice.
8819
80e4b428
JB
8820 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
8821
0ab84fb7
MC
88222003-12-16 Michael Chastain <mec.gnu@mindspring.com>
8823
8824 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
8825
1b3bb3d0
JB
88262003-12-13 Jim Blandy <jimb@redhat.com>
8827
8828 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
8829
3a4c9371
KB
88302003-12-12 Kevin Buettner <kevinb@redhat.com>
8831
8832 * gdb.asm/frv.inc: New file.
8833 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
8834
a1dea79a
FF
88352003-12-09 Fred Fish <fnf@redhat.com>
8836
8837 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
8838 functions to break1.c and leave prototypes behind. Add more
8839 "set breakpoint NN here" comments.
8840 * gdb.base/break1.c: New file.
8841
8842 * gdb.base/break.exp: Handle compiling test case from multiple
8843 source files and change source file references as needed.
8844 * gdb.base/completion.exp: Ditto.
8845 * gdb.base/condbreak.exp: Ditto.
8846 * gdb.base/define.exp: Ditto.
8847 * gdb.base/ena-dis-br.exp: Ditto.
8848 * gdb.base/info-proc.exp: Ditto.
8849 * gdb.base/maint.exp: Ditto.
8850 * gdb.base/until.exp: Ditto.
8851
8852 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
8853 hardcoded line numbers.
8854 * gdb.base/define.exp: Ditto.
8855 * gdb.base/ena-dis-br.exp: Ditto.
8856 * gdb.base/maint.exp: Ditto.
8857 * gdb.base/until.exp: Ditto.
8858
8859 * gdb.base/completion.exp: Use "break1" for completion tests since
8860 "break" is no longer a unique prefix.
8861
5266b69c
AC
88622003-12-06 Andrew Cagney <cagney@redhat.com>
8863
8864 * gdb.base/structs.exp (test_struct_returns): When applicable, set
8865 "return_value_unimplemented". When an unimplemented struct return
8866 architecture, report incorrect values as a KFAIL
8867
374451f0
MC
88682003-12-05 Michael Chastain <mec.gnu@mindspring.com>
8869
8870 * gdb.cp/rtti.exp: Accept new wording of warning from
8871 cp_lookup_rtti_type.
8872
ba9b20a7
MC
88732003-12-05 Michael Chastain <mec.gnu@mindspring.com>
8874
8875 Partial fix for PR testsuite/1456.
8876 * gdb.base/scope.exp (test_at_main): Replace references to
8877 gcc_compiled with calls to test_compiler_info.
8878 (test_at_foo): Likewise.
8879 (test_at_bar): Likewise.
8880
b74b6d0b
MC
88812003-12-04 Michael Chastain <mec.gnu@mindspring.com>
8882
8883 Partial fix for PR testsuite/1456.
8884 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
8885 to test_compiler_info.
8886
ccfa3402
MC
88872003-12-03 Michael Chastain <mec.gnu@mindspring.com>
8888
8889 * gdb.base/so-impl-ld.exp: Update copyright notice.
8890
f6246aba
MC
88912003-12-02 Michael Chastain <mec.gnu@mindspring.com>
8892
8893 Partial fix for PR testsuite/1456.
8894 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
8895 to test_compiler_info.
8896
13ae734a
MC
88972003-11-28 Michael Chastain <mec.gnu@mindspring.com>
8898
8899 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
8900 from current versions of gdb. Clean up regular expressions.
8901 Delete redundant timeout case.
8902
d8e1cdee
MC
89032003-11-28 Michael Chastain <mec.gnu@mindspring.com>
8904
8905 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
8906 from current versions of gdb. Clean up regular expressions.
8907 Delete redundant timeout case.
8908
96457b64
MC
89092003-12-01 Michael Chastain <mec.gnu@mindspring.com>
8910
8911 Partial fix for PR testsuite/1456.
8912 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
8913 gcc_compiled with call to test_compiler_info.
8914
f35309fc
MC
89152003-11-30 Michael Chastain <mec.gnu@mindspring.com>
8916
8917 Partial fix for PR testsuite/1456.
8918 * gdb.base/list.exp (test_list_function): Delete unused declaration
8919 of gcc_compiled.
8920
d7afdf9b
MC
89212003-11-29 Michael Chastain <mec.gnu@mindspring.com>
8922
8923 Partial fix for PR testsuite/1456.
8924 * gdb.base/complex.exp: Replace reference to gcc_compiled with
8925 call to test_compiler_info.
8926
71507b56
MK
89272003-11-29 Mark Kettenis <kettenis@gnu.org>
8928
8929 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
8930 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
8931 it to create the appropriate note.inc.
8932 * gdb.asm/asmsrc1.s: Include "note.inc".
8933 * gdb.asm/netbsd.inc: New file.
8934 * gdb.asm/empty.inc: New file.
8935
f81f93f7
MC
89362003-11-28 Michael Chastain <mec.gnu@mindspring.com>
8937
8938 Partial fix for PR testsuite/1456.
8939 * gdb.base/constvars.exp: Replace references to gcc_compiled with
8940 calls to test_compiler_info.
8941
9a77938e
MC
89422003-11-27 Michael Chastain <mec.gnu@mindspring.com>
8943
8944 Partial fix for PR testsuite/1456.
8945 * gdb.base/volatile.exp: Replace references to gcc_compiled with
8946 calls to test_compiler_info.
8947
e8367dc7
MK
89482003-11-27 Mark Kettenis <kettenis@gnu.org>
8949
8950 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
8951 pattern for the KFAILs.
8952
526c61ee
AF
89532003-11-25 Adam Fedor <fedor@gnu.org>
8954
8955 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
8956 * gdb.objc/objcdecode.m: New file.
8957
28f2d600
AF
89582003-11-25 Adam Fedor <fedor@gnu.org>
8959
8960 * gdb.objc/nondebug.exp: Test for PR objc/1236.
8961 * gdb.objc/nondebug.m: New file.
8962
a3895cee
BE
89632003-11-26 Ben Elliston <bje@wasabisystems.com>
8964
8965 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
8966 NetBSD as it does on FreeBSD. Modelled on a similar change by
8967 Mark Kettenis on 2003-05-30.
8968 (link-flags): Set to "--entry _start" regardless of target.
8969 Special linker flags are to be appended to $link-flags.
8970 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
8971
c9f2c8a3
MC
89722003-11-25 Michael Chastain <mec.gnu@mindspring.com>
8973
8974 * gdb.cp/method.exp: Accept output of new demangler.
8975
15a0587a 89762003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
8977
8978 * gdb/class2.exp: New file.
8979 * gdb/class2.cc: New file.
8980
3c00b570
MC
89812003-11-25 Michael Chastain <mec.gnu@mindspring.com>
8982
8983 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
8984 of new demangler.
8985
7027acc7
MK
89862003-11-23 Mark Kettenis <kettenis@gnu.org>
8987
8988 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
8989 of gdb_test "run".
8990
b0e1598a
MK
89912003-11-23 Mark Kettenis <kettenis@gnu.org>
8992
8993 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
8994 "continue" into "run".
8995
4d9eda44
MC
89962003-11-23 Michael Chastain <mec.gnu@mindspring.com>
8997
8998 Partial fix for PR testsuite/1456.
8999 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
9000 call to test_compiler_info.
9001 * gdb.cp/ctti.exp: Likewise.
9002 * gdb.cp/derivation.exp: Likewise.
9003 * gdb.cp/member-ptr.exp: Likewise.
9004 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
9005 reference to gcc_compiled.
9006
90072003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
9008
9009 Fix PR testsuite/1463.
9010 * gdb.base/structs.exp (start_structs_test): Call
9011 get_debug_format before using the debug format.
9012
d422fe19
AC
90132003-11-22 Andrew Cagney <cagney@redhat.com>
9014
9015 * lib/gdb.exp (gdb_test_multiple): Add simple example.
9016 * gdb.base/structs.exp: Use gdb_test_multiple.
9017
039cf96d
AC
90182003-11-20 Andrew Cagney <cagney@redhat.com>
9019
6882279b
AC
9020 * gdb.base/structs.exp: Handle and recover from internal errors.
9021 Replace "foo${n}" with "foo<n>" in test messages.
9022
e53890ae
AC
9023 * gdb.base/structs.exp: Update copyright. Rewrite.
9024 * gdb.base/structs.c: Update copyright. Rewrite.
9025
2b211c59
AC
9026 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
9027 resync count exceeded.
d63a86f8 9028
039cf96d
AC
9029 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
9030 from the internal error.
9031 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
9032 Original from Jim Blandy.
9033 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 9034
eac98b22
AC
90352003-11-19 Andrew Cagney <cagney@redhat.com>
9036
9037 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
9038 KFAIL.
9039
67455b2a
MK
90402003-11-17 Mark Kettenis <kettenis@gnu.org>
9041
9042 New testcase for PR backtrace/1435.
9043 * gdb.arch/i386-unwind.exp: New file.
9044 * gdb.arch/i386-unwind.c: New file.
9045
853d6e5b
AC
90462003-11-17 Andrew Cagney <cagney@redhat.com>
9047
9048 * lib/gdb.exp (compiler_info): New global.
9049 (test_compiler_info): New function.
9050 (get_compiler_info): Set compiler_info.
9051 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
9052 "compiler_info" to gcc-<major>-<minor>.
9053
38cf6e11
MC
90542003-11-15 Michael Chastain <mec.gnu@mindspring.com>
9055
9056 * gdb.trace/configure: Remove.
9057
a50d3602
EZ
90582003-11-13 Elena Zannoni <ezannoni@redhat.com>
9059
9060 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 9061 breakpoints.
a50d3602
EZ
9062 * gdb.base/break.exp: Remove all references to explicit line
9063 numbers.
9064
d9407aaa
NC
90652003-11-11 Nick Clifton <nickc@redhat.com>
9066
9067 * gdb.base/shreloc.exp: Do not run for targets which do not
9068 support shared objects.
9069
db488fc1
CV
90702003-11-10 Corinna Vinschen <vinschen@redhat.com>
9071
9072 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
9073 Don't run tests if nofileio flag is given.
9074
6a90a18e
EZ
90752003-11-07 Elena Zannoni <ezannoni@redhat.com>
9076
9077 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 9078 as well as 'Watchpoint'.
6a90a18e 9079
0b915e9c
EZ
90802003-11-06 Elena Zannoni <ezannoni@redhat.com>
9081
9082 Reported by Jim Ingham <jingham@apple.com>:
9083 * gdb.base/annota1.exp: Match at least one occurrence of the
9084 signal handler annotation.
9085
d7e4b55f
EZ
90862003-11-06 Elena Zannoni <ezannoni@redhat.com>
9087
a9c64011
AS
9088 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
9089 as well as 'Watchpoint'.
d7e4b55f 9090
2fe4e8d0
MC
90912003-11-05 Michael Chastain <mec@shout.net>
9092
9093 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
9094
6ef88553
KW
90952003-11-03 Kris Warkentin <kewarken@qnx.com>
9096
9097 * gdb.arch/gdb1291.c: New test file.
9098 * gdb.arch/gdb1291.exp: New test script.
9099 * gdb.arch/gdb1431.c: New test file.
9100 * gdb.arch/gdb1431.exp: New test script.
9101
ae7dc4d8
MC
91022003-10-22 Michael Chastain <mec@shout.net>
9103
9104 * gdb.mi/pthreads.c: Add copyright notice.
9105
c39d7427
MC
91062003-10-22 Michael Chastain <mec@shout.net>
9107
9108 * gdb.threads/pthreads.c: Add copyright notice.
9109
8b7d96c1
MC
91102003-10-20 Michael Chastain <mec@shout.net>
9111
9112 * gdb.base/gdb1056.exp: New test script.
9113
d1d69fdd
DJ
91142003-10-13 Daniel Jacobowitz <drow@mvista.com>
9115
9116 * gdb.threads/killed.exp: Use gdb_run_cmd.
9117
7d605576
DJ
91182003-10-13 Daniel Jacobowitz <drow@mvista.com>
9119
9120 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
9121 create a core file.
9122 * gdb.threads/gcore-thread.exp: Likewise.
9123
618ec112
CV
91242003-10-13 Corinna Vinschen <vinschen@redhat.com>
9125
9126 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
9127 type, based on char type.
9128 (struct bit_flags_short_t): New bitfield type, based on short type.
9129 (init_bit_flags_char): New fuction.
9130 (init_bit_flags_short): Ditto.
9131 (print_bit_flags_char): Ditto.
9132 (print_bit_flags_short): Ditto.
9133 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
9134
9367a73c
MC
91352003-10-11 Michael Chastain <mec@shout.net>
9136
9137 * gdb.base/call-rt-st.exp: Update copyright year.
9138
1decf120
KI
91392003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
9140
9141 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
9142 * gdb.disasm/sh3.s: Ditto.
9143
5445b2ae
DJ
91442003-10-07 Daniel Jacobowitz <drow@mvista.com>
9145
9146 * gdb.threads/switch-threads.exp: New test.
9147 * gdb.threads/switch-threads.c: New source file.
9148
aec24853
CV
91492003-10-07 Corinna Vinschen <vinschen@redhat.com>
9150
9151 * gdb.base/ending-run.exp: Add sh specific case.
9152
adc7428d
AC
91532003-10-06 Andrew Cagney <cagney@redhat.com>
9154
9155 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
9156 * gdb.disasm/mn10200.exp: Delete obsolete file.
9157
c9d37158
DJ
91582003-09-29 Daniel Jacobowitz <drow@mvista.com>
9159
9160 * ChangeLog: Correct an entry command.exp -> commands.exp.
9161 * gdb.base/commands.exp (bp_deleted_in_command_test)
9162 (temporary_breakpoint_commands): Check noargs.
9163
79c2c32d
DC
91642003-09-25 David Carlton <carlton@kealia.com>
9165
9166 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
9167 of some print tests, where appropriate. Add tests for C::D::cd,
9168 E::ce, F::cXfX, G::XgX.
9169 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
9170
594e6d67
RE
91712003-09-25 Richard Earnshaw <rearnsha@arm.com>
9172
9173 * lib/java.exp (java_init): Import target_alias before using it.
9174
10f0d451
DC
91752003-09-25 David Carlton <carlton@kealia.com>
9176
9177 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
9178
274bcba0
EZ
91792003-09-23 Elena Zannoni <ezannoni@redhat.com>
9180
d63a86f8 9181 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 9182 weirdness.
274bcba0 9183
cdbf20f7
MC
91842003-09-17 Michael Chastain <mec@shout.net>
9185
9186 * gdb.cp/gdb1355.exp: New file.
9187 * gdb.cp/gdb1355.c: New file.
9188
71e06f80
CV
91892003-09-15 Corinna Vinschen <vinschen@redhat.com>
9190
9191 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
9192 * gdb.asm/sh.inc: New file.
9193
5c4e30ca
DC
91942003-09-11 David Carlton <carlton@kealia.com>
9195
bd45b7af
DC
9196 * gdb.cp/namespace.exp: Add tests for namespace types.
9197 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
9198 (test_namespace): New.
9199
1c199746
EZ
92002003-09-11 Elena Zannoni <ezannoni@redhat.com>
9201
a9c64011 9202 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 9203 * gdb.stabs/weird.exp: Ditto.
1c199746 9204
04ed252f
MC
92052003-09-08 Michael Chastain <mec@shout.net>
9206
9207 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
9208
d8a2d9e7
MC
92092003-09-07 Michael Chastain <mec@shout.net>
9210
9211 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
9212 'parse error'.
9213
161afb24
MK
92142003-09-07 Mark Kettenis <m.kettenis@osp.nl>
9215
9216 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
9217
49f2741a
MC
92182003-08-30 Michael Chastain <mec@shout.net>
9219
9220 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
9221 * gdb.gdb/observer.exp: Ditto.
9222 * gdb.gdb/xfullpath.exp: Ditto.
9223
8afa723e
MK
92242003-08-29 Mark Kettenis <kettenis@gnu.org>
9225
9226 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
9227 *-*-*bsd*.
9228
f31dfe3b
JJ
92292003-08-28 Jeff Johnston <jjohnstn@redhat.com>
9230
9231 * gdb.base/dump.exp: Skip for ia64.
9232
4630e498
JJ
92332003-08-25 Jeff Johnston <jjohnstn@redhat.com>
9234
9235 * gdb.asm/asm-source.exp: Add ia64 support.
9236 * gdb.asm/ia64.inc: New file.
9237
1105b7ef
MC
92382003-08-22 Michael Chastain <mec@shout.net>
9239
9240 * gdb.cp: New directory.
9241 * gdb.cp/*: Copy from gdb.c++/*.
9242 * gdb.c++/*: Remove.
9243 * Makefile.in: Change gdb.c++ to gdb.cp.
9244 * configure.in: Ditto.
9245 * configure: Regnerate.
9246
c945b932
MK
92472003-08-18 Mark Kettenis <kettenis@gnu.org>
9248
9249 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
9250 * gdb.arch/i386-prologue.c (gdb1338): Add function.
9251
2b66634b
DJ
92522003-08-17 Daniel Jacobowitz <drow@mvista.com>
9253
9254 * mi-var-display.exp (-var-list-children weird): Accept function
9255 pointers with argument types.
9256 * mi1-var-display.exp (-var-list-children weird): Likewise.
9257 * mi2-var-display.exp (-var-list-children weird): Likewise.
9258
a356f73b
DJ
92592003-08-17 Daniel Jacobowitz <drow@mvista.com>
9260
9261 * gdb.base/annota3.exp: Add missing newline.
9262
483417b8
MC
92632003-08-06 Michael Chastain <mec@shout.net>
9264
9265 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
9266
c99c59c3
MS
92672003-08-12 Michael Snyder <msnyder@redhat.com>
9268
9269 * gdb.base/float.exp: Add test for SH.
9270
55ed7501
MK
92712003-08-10 Mark Kettenis <kettenis@gnu.org>
9272
9273 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
9274
1a371f2e
EZ
92752003-08-07 Elena Zannoni <ezannoni@redhat.com>
9276
9277 * gdb.base/completion.exp: Remove reduntant completion test
9278 on filename.
9279
e0f353ce
EZ
92802003-08-07 Elena Zannoni <ezannoni@redhat.com>
9281
a9c64011
AS
9282 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
9283 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
9284 gdb.trace/save-trace.exp: Make sure that full pathnames are
9285 escaped correctly.
e0f353ce 9286
5710a1af 92872003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 9288
a9c64011
AS
9289 * configure.in: Don't generate config.h from config.hin.
9290 * configure: Regenerate.
9291 * config.hin: Remove file.
9292 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
9293 * gdb.threads/pthreads.c: Ditto.
5710a1af 9294
dcd81ce9
DJ
92952003-08-07 Daniel Jacobowitz <drow@mvista.com>
9296
9297 From Kei Sakamoto <sakamoto.kei@renesas.com>:
9298 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
9299 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
9300 Replace ld24 with seth/add3.
9301
6009d884
AC
93022003-08-02 Andrew Cagney <cagney@redhat.com>
9303
9304 * gdb.base/annota3.exp: New file.
9305 * gdb.base/annota3.c: New file.
9306 * gdb.c++/annota3.exp: New file.
9307 * gdb.c++/annota3.cc: New file.
9308
51514e06
MC
93092003-07-29 Michael Chastain <mec@shout.net>
9310
9311 * gdb.threads/tls.c (spin): Check errno only if sem_wait
9312 actually failed.
9313 (do_pass): Likewise.
9314 * gdb.threads/tls.exp: Always initialize no_of_threads.
9315
4ee6625b
DJ
93162003-07-27 Daniel Jacobowitz <drow@mvista.com>
9317
9318 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
9319 pattern.
9320 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
9321 * gdb.threads/tls.exp: Recognize one case of the host library not
9322 supporting TLS.
9323
225f2bf6
AC
93242003-07-27 Andrew Cagney <cagney@redhat.com>
9325
9326 * gdb.base/fileio.exp: Use SH when running commands using
9327 remote_exec.
9328
bcb27c9f
DJ
93292003-07-24 Daniel Jacobowitz <drow@mvista.com>
9330
9331 From Kei Sakamoto <sakamoto.kei@renesas.com>:
9332 * gdb.base/relocate.c (dummy): New padding array.
9333
3d67be83
MS
93342003-07-22 Michael Snyder <msnyder@redhat.com>
9335
d63a86f8 9336 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
9337
9338 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
9339 patterns to be more general, accepting old and new output.
9340 Some output chars (such as '+') also must be quoted.
d63a86f8 9341 Some addresses are displayed numerically instead of
3d67be83
MS
9342 symbolically.
9343
57ba3b85
MS
93442003-07-23 Michael Snyder <msnyder@redhat.com>
9345
686d097c
MS
9346 * gdb.base/return2.exp: Don't test long-long return.
9347
57ba3b85
MS
9348 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
9349 * gdb.disasm/t01_mov.exp: Ditto.
9350 * gdb.disasm/t02_mova.s: Ditto.
9351 * gdb.disasm/t02_mova.exp: Ditto.
9352 * gdb.disasm/t03_add.s: Ditto.
9353 * gdb.disasm/t03_add.exp: Ditto.
9354 * gdb.disasm/t04_sub.s: Ditto.
9355 * gdb.disasm/t04_sub.exp: Ditto.
9356 * gdb.disasm/t05_cmp.s: Ditto.
9357 * gdb.disasm/t05_cmp.exp: Ditto.
9358 * gdb.disasm/t06_ari2.s: Ditto.
9359 * gdb.disasm/t06_ari2.exp: Ditto.
9360 * gdb.disasm/t07_ari3.s: Ditto.
9361 * gdb.disasm/t07_ari3.exp: Ditto.
9362 * gdb.disasm/t08_or.s: Ditto.
9363 * gdb.disasm/t08_or.exp: Ditto.
9364 * gdb.disasm/t09_xor.s: Ditto.
9365 * gdb.disasm/t09_xor.exp: Ditto.
9366 * gdb.disasm/t10_and.s: Ditto.
9367 * gdb.disasm/t10_and.exp: Ditto.
9368 * gdb.disasm/t11_logs.s: Ditto.
9369 * gdb.disasm/t11_logs.exp: Ditto.
9370 * gdb.disasm/t12_bit.s: Ditto.
9371 * gdb.disasm/t12_bit.exp: Ditto.
9372 * gdb.disasm/t13_otr.s: Ditto.
9373 * gdb.disasm/t13_otr.exp: Ditto.
9374
e00759ef
EZ
93752003-07-22 Elena Zannoni <ezannoni@redhat.com>
9376
9377 * gdb.threads/tls.exp :Add kfail for 'info address' case.
9378
8bc2021f
EZ
93792003-07-22 Elena Zannoni <ezannoni@redhat.com>
9380
a9c64011
AS
9381 * gdb.threads/tls.c : New file.
9382 * gdb.threads/tls.exp : New file.
9383 * gdb.threads/tls-main.c : New file.
9384 * gdb.threads/tls-shared.c : New file.
9385 * gdb.threads/tls-shared.exp : New file.
8bc2021f 9386
89320c4c
AS
93872003-07-22 Andreas Schwab <schwab@suse.de>
9388
9389 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
9390
180dea7c
AS
93912003-07-20 Andreas Schwab <schwab@suse.de>
9392
9393 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
9394 due to insn reordering.
9395
0714963c
AC
93962003-07-15 Andrew Cagney <cagney@redhat.com>
9397
9398 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
9399
98a23b3f
MC
94002003-07-15 Michael Chastain <mec@shout.net>
9401
9402 * gdb.base/gdb1250.exp: New file.
9403 * gdb.base/gdb1250.c: New file.
9404
27e417a2
ML
94052003-07-09 Michal Ludvig <mludvig@suse.cz>
9406
9407 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
9408 expansion of size_t to 'unsigned long', not only to 'unsigned'.
9409
8bc2021f
EZ
94102003-07-09 Elena Zannoni <ezannoni@redhat.com>
9411
a9c64011
AS
9412 * gdb.threads/tls.c: New file.
9413 * gdb.threads/tls.exp: New file.
9414 * gdb.threads/tls-main.c: New file.
9415 * gdb.threads/tls-shared.c: New file.
9416 * gdb.threads/tls-shared.exp: New file.
8bc2021f 9417
d99968dc
EZ
94182003-07-09 Elena Zannoni <ezannoni@redhat.com>
9419
9420 * gdb.base/annota1.exp: Make sure that we properly escape the
9421 full path of the source file. Xfail more permissive patterns,
d63a86f8 9422 due to a compiler debug info problem.
d99968dc 9423
83876b3b
AS
94242003-07-07 Andreas Schwab <schwab@suse.de>
9425
2705e972
AS
9426 * gdb.asm/m68k.inc: New file.
9427 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
9428
83876b3b
AS
9429 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
9430 arguments"): Also match negative number.
9431
9432 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
9433
3a871b37
DJ
94342003-07-03 Daniel Jacobowitz <drow@mvista.com>
9435
9436 * gdb.base/store.c (charest): New typedef.
9437 (add_char): Rename to add_charest, update.
9438 (wack_char): Rename to wack_charest, update types. Return l + r
9439 to keep r live across the call.
9440 (wack_short, wack_int, wack_long, wack_longest, wack_float)
9441 (wack_double, wack_doublest): Return l + r to keep r live across
9442 the call.
9443 * gdb.base/store.exp: Accomodate store.c changes.
9444
b2a7f303
DC
94452003-06-30 David Carlton <carlton@kealia.com>
9446
9447 * gdb.c++/maint.exp (test_invalid_name): New.
9448 (test_first_component): Add tests for invalid names.
9449
3c6cb4a1
MC
94502003-06-29 Michael Chastain <mec@shout.net>
9451
9452 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
9453 output of '<VTT for class>' for virtual base classes.
9454
f1c2644b
DJ
94552003-06-29 Daniel Jacobowitz <drow@mvista.com>
9456
9457 * gdb.base/completion.exp: Tab-complete "complet" instead of
9458 "compl".
9459 * gdb.base/complex.exp, gdb.base/complex.c: New files.
9460
18080350
DJ
94612003-06-29 Daniel Jacobowitz <drow@mvista.com>
9462
9463 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
9464 * gdb.base/volatile.exp: Likewise.
9465
f56973f8
DJ
94662003-06-29 Daniel Jacobowitz <drow@mvista.com>
9467
9468 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
9469 gdb/1265.
9470
94712003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
9472 Daniel Jacobowitz <drow@mvista.com>
9473
9474 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
9475 initial line count of 'captured_main' from 26 to 32.
9476 (test_with_self): Allow xmalloc call to be interleaved with the
9477 preceding two lines.
9478
e766d4d6
JB
94792003-06-24 Joel Brobecker <brobecker@gnat.com>
9480
9481 * gdb.base/bang.exp: New testcase.
9482
f125c9a4
JB
94832003-06-23 Joel Brobecker <brobecker@gnat.com>
9484
9485 * gdb.base/langs.exp: Add some tests for the "minimal" language
9486 support.
9487
6e25beaf
EZ
94882003-06-23 Elena Zannoni <ezannoni@redhat.com>
9489
9490 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
9491 the testcase.
9492
2f816dda
DJ
94932003-06-22 Daniel Jacobowitz <drow@mvista.com>
9494
9495 * gdb.base/relocate.exp: Test add-symbol-file with a variable
9496 offset.
9497
db5a5748
DJ
94982003-06-22 Daniel Jacobowitz <drow@mvista.com>
9499
9500 * gdb.c++/pr-1210.cc: New file.
9501 * gdb.c++/pr-1210.exp: New file.
9502
1df0c130
DJ
95032003-06-21 Daniel Jacobowitz <drow@mvista.com>
9504
9505 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
9506 000-exec-continue.
9507
a92feac0
MK
95082003-06-15 Mark Kettenis <kettenis@gnu.org>
9509
9510 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
9511 on *-*-*bsd* instead of *-*-freebsd*.
9512
81a58f5b
AC
95132003-06-14 Andrew Cagney <cagney@redhat.com>
9514
9515 * gdb.base/store.exp: Test longest and doublest. Test all
9516 parameters. Weaken return statement match.
9517 * gdb.base/store.c: Add longest and doublest - aka long long and
9518 long double functions. Put all parameters into local register
9519 variables. Use negative values.
9520
b257a0d3
AC
95212003-06-14 Andrew Cagney <cagney@redhat.com>
9522
9523 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
9524 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
9525 exit status.
9526 * gdb.base/fileio.exp: Disable target when nointerrupts and
9527 noinferiorio, instead of limiting it to remote. Use remote_exec
9528 instead of system.
d63a86f8 9529
21c38304
JJ
95302003-06-12 Jeff Johnston <jjohnstn@redhat.com>
9531
9532 * gdb.base/float.exp: Add ia64 support.
9533
1bcdb424
CV
95342003-06-12 Corinna Vinschen <vinschen@redhat.com>
9535
9536 * gdb.base/fileio.exp: Run only on remote targets.
9537
6aeb981f
CV
95382003-06-10 Corinna Vinschen <vinschen@redhat.com>
9539
9540 * gdb.base/fileio.c: New file, testing File-I/O.
9541 * gdb.base/fileio.exp: Ditto.
9542
53df362e
RG
95432003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
9544
9545 * gdb.base/shreloc.exp: New file, check symbol values obtained from
9546 shared objects after relocation at load time (gdb PR/1132).
9547 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 9548 as above, part of the shared object relocation test.
53df362e 9549
ffee1b46
MK
95502003-06-08 Mark Kettenis <kettenis@gnu.org>
9551
b5ca3722
MK
9552 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
9553 fully filled history list.
9554 * gdb.base/gdb_history: New file.
9555
03ed860d
MK
9556 * gdb.base/signals.exp: XFAIL "continue to func1" on
9557 i*86-*-freebsd*.
9558
ffee1b46
MK
9559 * gdb.base/attach.exp: When trying to attach to a nonexistent
9560 process, make it possible to specify the PID based on the target,
9561 and do so for *-*-freebsd*.
9562
d80dbb52
RH
95632003-06-02 Richard Henderson <rth@redhat.com>
9564
9565 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
9566
6dd77b81
RH
95672003-06-02 Richard Henderson <rth@redhat.com>
9568
9569 * gdb.base/selftest.exp: Next over lim_at_start initialization.
9570
f6347e16
RH
95712003-06-02 Richard Henderson <rth@redhat.com>
9572
9573 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
9574
2c161407
DJ
95752003-06-01 Daniel Jacobowitz <drow@mvista.com>
9576
9577 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
9578 of globalvar.
9579
572eb746
MK
95802003-06-01 Mark Kettenis <kettenis@gnu.org>
9581
9582 * gdb.asm/asm-source.exp: Check for memory read errors in
9583 disassembler test on *BSD too.
9584
9e9617a5
RH
95852003-06-01 Richard Henderson <rth@redhat.com>
9586
9587 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
9588 for .frame.
9589 (gdbasm_call): Lose ldgp.
9590 (gdbasm_startup): Add frame information.
9591 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
9592
7b34ad4e
MK
95932003-05-31 Mark Kettenis <kettenis@gnu.org>
9594
9595 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
9596 i?86-*-*.
9597
10059fdf
MK
95982003-05-30 Mark Kettenis <kettenis@gnu.org>
9599
9600 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
9601 FreeBSD.
9602
acf4b816
RH
96032003-05-29 Richard Henderson <rth@redhat.com>
9604
9605 * gdb.asm/alpha.inc: New file.
9606 * gdb.asm/asm-source.exp: Use it.
9607
e9ecd949
JB
96082003-05-29 Jim Blandy <jimb@redhat.com>
9609
9610 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
9611 'core.PID'.
9612
e3e5a4f3
JB
96132003-05-22 Jim Blandy <jimb@redhat.com>
9614
9615 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
9616 backtrace.
d63a86f8 9617
72fe3d25
DC
96182003-05-20 David Carlton <carlton@math.stanford.edu>
9619
9620 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
9621 this time.
9622
58da2eb2
DC
96232003-05-19 David Carlton <carlton@bactrian.org>
9624
9625 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
9626 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
9627
1fcb5155
DC
96282003-05-19 David Carlton <carlton@bactrian.org>
9629
9630 * gdb.c++/namespace.exp: Add namespace scope and anonymous
9631 namespace tests.
9632 Bump copyright date.
9633 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
9634 (main): Call C::D::marker2.
9635 * gdb.c++/namespace1.cc: New file.
9636
85e85163
JJ
96372003-05-14 Jeff Johnston <jjohnstn@redhat.com>
9638
9639 Roland McGrath <roland@redhat.com>
d63a86f8 9640 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
9641 there is no manager thread.
9642
a25fbfec
JJ
96432003-05-08 Jeff Johnston <jjohnstn@redhat.com>
9644
d63a86f8
RM
9645 * gdb.threads/schedlock.exp: Remove assumption that all threads
9646 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
9647 in one of the child threads rather than the main thread.
9648
be375bae
JB
96492003-05-07 Jim Blandy <jimb@redhat.com>
9650
09bf6082
JB
9651 Add support for assembly source testing on the s390x.
9652 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
9653 architecture.
9654 * gdb.asm/s390x.inc: New file.
9655
be375bae
JB
9656 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
9657 succession of 'if' statements.
9658
00905d52
AC
96592003-05-05 Andrew Cagney <cagney@redhat.com>
9660
9661 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
9662
b1e29e33
AC
96632003-05-05 Andrew Cagney <cagney@redhat.com>
9664
9665 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
9666 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
9667
e33d66ec
EZ
96682003-05-02 Elena Zannoni <ezannoni@redhat.com>
9669
9670 * gdb.base/charset.exp: Update based on new behavior of set/show
9671 charset commands.
9672
2b6fd0d8
AC
96732003-05-01 Andrew Cagney <cagney@redhat.com>
9674
9675 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
9676 variable do not give memory errors.
9677
130cacce
AF
96782003-04-30 Adam Fedor <fedor@gnu.org>
9679
9680 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
9681 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
9682 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
9683 gdb.objc/basicclass.m: : New files
9684
9685 * lib/gdb.exp (gdb_compile_objc): New procedure.
9686
bea71854
DJ
96872003-04-27 Daniel Jacobowitz <drow@mvista.com>
9688
9689 * gdb.base/signals.exp: Make backtrace tests more specific.
9690
0f20eeea
DC
96912003-04-23 David Carlton <carlton@bactrian.org>
9692
9693 * gdb.c++/maint.exp (test_first_component): Add tests for
9694 'operator' in more locations.
9695
c8c4d8dc
KB
96962003-04-16 Kevin Buettner <kevinb@redhat.com>
9697
9698 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
9699
3fe60e3c
EZ
97002003-04-16 Elena Zannoni <ezannoni@redhat.com>
9701
9702 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 9703 func marke' instead. Update test name.
3fe60e3c 9704
9219021c
DC
97052003-04-15 David Carlton <carlton@math.stanford.edu>
9706
9707 * gdb.c++/maint.exp: New file.
9708
5dd55bdd
EZ
97092003-04-14 Elena Zannoni <ezannoni@redhat.com>
9710
9711 * gdb.threads/schedlock.c: Change type of thread function argument
9712 to long, to avoid warnings on 64-bit platforms.
9713
00890572
EZ
97142003-04-14 Elena Zannoni <ezannoni@redhat.com>
9715
a9c64011
AS
9716 * gdb.base/attach.exp: Add new message from ptrace in case of
9717 attaching to nonexistent process.
d63a86f8 9718
93201743
JB
97192003-04-11 Jim Blandy <jimb@redhat.com>
9720
9721 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
9722 gdb.c++/userdef.cc: Place comments on the lines to which the
9723 marker function might return.
9724 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
9725 gdb.c++/userdef.exp: Look for those comments to check that we've
9726 returned to the right place, instead of checking line numbers.
9727
2a11c64d
EZ
97282003-04-11 Elena Zannoni <ezannoni@redhat.com>
9729
a9c64011
AS
9730 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
9731 match on sourcefile name, instead of directory name.
2a11c64d 9732
68ab8fc5
EZ
97332003-04-10 Elena Zannoni <ezannoni@redhat.com>
9734
d63a86f8 9735 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
9736 working directory name.
9737
5624293a
JB
97382003-04-09 Jim Blandy <jimb@redhat.com>
9739
9740 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
9741 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
9742 after an inferior function call, report the failure, but allow the
9743 test to continue.
9744
f1f02ee4
SC
97452003-04-05 Stephane Carrez <stcarrez@nerim.fr>
9746
9747 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
9748 with -DPROTOTYPES.
9749
6eb79af0
SC
97502003-04-05 Stephane Carrez <stcarrez@nerim.fr>
9751
9752 * gdb.base/break.exp: Revert last patch.
9753
8dfb4cf0
SC
97542003-04-04 Stephane Carrez <stcarrez@nerim.fr>
9755
9756 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
9757 with -DPROTOTYPES.
9758
ed4c619a
AC
97592003-04-02 Andrew Cagney <cagney@redhat.com>
9760
9761 * gdb.base/callfuncs.exp: Make "print add" messages unique.
9762 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
9763 matching directories by the name breakpoint.
9764 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
9765 Make "continue to marker1" consistent.
9766 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
9767 message consistent.
9768 * lib/gdb.exp: Put "the program is no longer running", and "the
9769 program exited" in parenthesis.
9770 * lib/mi-support.exp: Ditto.
d63a86f8 9771
4e35d5f0 97722003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 9773
4e35d5f0
BR
9774 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
9775
71900fe8
AC
97762003-03-29 Andrew Cagney <cagney@redhat.com>
9777
9778 * gdb.base/sizeof.c (main): Print the value of '\377'.
9779 * gdb.base/sizeof.exp: Check the sign of '\377'.
9780
c0655a16
MC
97812003-03-27 Michael Chastain <mec@shout.net>
9782
9783 * gdb.base/gdb1090.exp: New file.
9784 * gdb.base/gdb1090.cc: New file.
9785
5b2a3989
JB
97862003-03-27 J. Brobecker <brobecker@gnat.com>
9787
9788 * gdb.gdb/observer.exp: New regression test.
9789
79876890
MC
97902003-03-27 Michael Chastain <mec@shout.net>
9791
9792 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
9793 * gdb.base/ptype.exp: Likewise.
9794
6eac95e3
CV
97952003-03-27 Corinna Vinschen <vinschen@redhat.com>
9796
9797 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
9798
e8c71839
MC
97992003-03-26 Michael Chastain <mec@shout.net>
9800
9801 * gdb.base/ptype.exp: Actually use some typedef'd types.
9802
71b10041
SC
98032003-03-21 Stephane Carrez <stcarrez@nerim.fr>
9804
9805 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
9806 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
9807
2512cf80
CV
98082003-03-20 Corinna Vinschen <vinschen@redhat.com>
9809
9810 * gdb.base/default.exp: Fix regular expression.
9811
0d195a4f
CV
98122003-03-20 Corinna Vinschen <vinschen@redhat.com>
9813
9814 * gdb.base/args.exp: Fix regular expression.
9815
8a2dbca8
CV
98162003-03-20 Corinna Vinschen <vinschen@redhat.com>
9817
9818 * gdb.base/help.exp: Allow Win32 child process.
9819
bf028682
CV
98202003-03-20 Corinna Vinschen <vinschen@redhat.com>
9821
9822 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
9823 when stepping out of main().
9824
182dbe85
CV
98252003-03-20 Corinna Vinschen <vinschen@redhat.com>
9826
9827 * gdb.base/default.exp: Check for win32 specific message when calling
9828 "run" without executable.
9829
d67a6ba5
CV
98302003-03-20 Corinna Vinschen <vinschen@redhat.com>
9831
9832 * gdb.base/args.exp: Expect .exe in output.
9833
a955b5bb
CV
98342003-03-20 Corinna Vinschen <vinschen@redhat.com>
9835
9836 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
9837 Cygwin native.
9838
bf6bad4b
AC
98392003-03-17 Andrew Cagney <cagney@redhat.com>
9840
9841 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
9842 vector registes.
9843 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
9844 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
9845
293e9a31
DC
98462003-03-17 David Carlton <carlton@math.stanford.edu>
9847
9848 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
9849 test, for PR breakpoints/38.
9850 Call test_watchpoint_and_breakpoint.
9851 * gdb.base/watchpoint.c (func3): New function.
9852 (main): Call func3.
9853
5330f2db
DC
98542003-03-04 David Carlton <carlton@math.stanford.edu>
9855
9856 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
9857 Garply<Garply<char> >:: garply".
9858 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
9859 with respect to PR c++/1111; note also PR c++/1113.
9860 (test_template_breakpoints): KFAIL "constructor breakpoint" with
9861 respect to PR c++/1062.
9862 KFAIL "destructor breakpoint" with respect to PR c++/1112.
9863
6ece72da
DC
98642003-03-03 David Carlton <carlton@math.stanford.edu>
9865
9866 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
9867 with respect to PR c++/57.
9868 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
9869 c++/826.
9870 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
9871 respect to PR c++/57.
9872
85ca1584
DC
98732003-03-03 David Carlton <carlton@math.stanford.edu>
9874
9875 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
9876 respect to PR c++/33 into FAILs.
9877
98e9c5b8
MC
98782003-03-03 Michael Chastain <mec@shout.net>
9879
7bedbf27
MC
9880 * configure.in: Update copyright years.
9881
98822003-03-03 Michael Chastain <mec@shout.net>
9883
9884 * Makefile.in: Update copyright years.
98e9c5b8 9885
f683e100
DC
98862003-02-28 David Carlton <carlton@math.stanford.edu>
9887
9888 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
9889 print class instead of struct and/or superfluous protection
9890 specifiers, as long as the resulting output is equivalent to the
9891 source code.
9892 Delete FIXME from end of messages on tests that don't need
9893 fixing.
9894
a9e0cf2c
DC
98952003-02-28 David Carlton <carlton@math.stanford.edu>
9896
9897 * gdb.c++/templates.exp (do_tests): Allow const in the two
9898 Foo<volatile char *>::foo tests.
9899
e8d359df
MS
99002003-02-27 Michael Snyder <msnyder@redhat.com>
9901
d63a86f8 9902 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
9903 will be consistant.
9904
0b71dc91
DC
99052003-02-26 David Carlton <carlton@math.stanford.edu>
9906
9907 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
9908 char *>::foo" test with respect to PR c++/33. Create a new test
9909 which is identical to that one except that it doesn't put the
9910 space between the "char" and the "*"; KFAIL it, too.
9911
dd14ab43
DC
99122003-02-26 David Carlton <carlton@math.stanford.edu>
9913
9914 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
9915 template types into either PASSes or KFAILs (corresponding to PR
9916 c++/57). Tweak indentation. Update copyright.
9917
1146c7f1
SC
99182003-02-23 Stephane Carrez <stcarrez@nerim.fr>
9919
9920 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
9921
74641dfb
MC
99222003-02-13 Michael Chastain <mec@shout.net>
9923
9924 * gdb.base/exprs.exp: Remove i960 remnants.
9925 * gdb.base/funcargs.exp: Likewise.
9926 * gdb.base/list.exp: Likewise.
9927 * gdb.base/ptype.exp: Likewise.
9928
559cd2d0
DC
99292003-02-14 David Carlton <carlton@math.stanford.edu>
9930
9931 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
9932 pEe->D::vg()" from XFAIL to KFAIL.
9933
c4f90d87
JM
99342003-02-13 Jason Molenda (jmolenda@apple.com)
9935
9936 * gdb.base/maint.exp: Update maint print statistics regexp to include
9937 new entries.
9938
cbc4d97c
MC
99392003-02-13 Michael Chastain <mec@shout.net>
9940
9941 * gdb.c++/inherit.exp: Remove call to get_debug_format.
9942
40f235b7
MC
99432003-02-12 Michael Chastain <mec@shout.net>
9944
9945 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
9946 * gdb.c++/inherit.exp: Likewise.
9947 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
9948 * gdb.c++/templates.exp: Likewise.
9949 * gdb.c++/virtfunc.exp: Likewise.
9950
c56716b0
JM
99512003-02-06 Jason Molenda (jason-cl@molenda.com)
9952
9953 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
9954 why the code is written that way.
9955
070afcf8
MC
99562003-02-05 Michael Chastain <mec@shout.net>
9957
9958 * gdb.base/dump.exp: Add missing copyright line.
9959
5d0331e5
JM
99602003-02-05 Jason Molenda (jason-cl@molenda.com)
9961
f7ae6d3e 9962 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
9963 at the beginning so the breakpoint doesn't get set on the loop.
9964
92851186
MC
99652003-02-05 Michael Chastain <mec@shout.net>
9966
9967 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
9968 output for configurations with gcc 2.95.3.
9969
cbf1e085
AC
99702003-02-05 Keith Seitz <keiths@redhat.com>
9971 Andrew Cagney <ac131313@redhat.com>
9972
9973 * gdb.mi/mi-cli.exp: New file.
d63a86f8 9974
29518e1e
MC
99752003-02-04 Michael Chastain <mec@shout.net>
9976
9977 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
9978 Call perror and then continue.
9979
5af1d5f3
MC
99802003-02-03 Michael Chastain <mec@shout.net>
9981
9982 * gdb.c++/pr-1023.cc: New file.
9983 * gdb.c++/pr-1023.exp: New file.
9984
6b549786
JB
99852003-02-05 Jim Blandy <jimb@redhat.com>
9986
9987 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
9988 it's local to foobar. Check for it there, and check that it's not
9989 present in main.
9990 * gdb.c++/local.cc (marker2): New function.
9991 (foobar): Call marker1.
9992 (main): Call marker2 instead of marker1.
9993
67f16606
AC
99942003-02-04 Andrew Cagney <ac131313@redhat.com>
9995
9996 * gdb.disasm/mn10200.exp: Obsolete file.
9997 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
9998 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
9999 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
10000
1c5cb38e
DC
100012003-02-04 David Carlton <carlton@math.stanford.edu>
10002
10003 * gdb.c++/overload.exp: Test intToChar(1).
10004 * gdb.c++/overload.cc (intToChar): New.
10005 (main): Call intToChar.
10006
d1fe6965
DC
100072003-02-03 David Carlton <carlton@math.stanford.edu>
10008
10009 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
10010 'might_kfail' arg.
10011 KFAIL some of the continue_to_bp_overloaded calls, according to
10012 PR c++/1025.
10013
9ba61c5d
MC
100142003-02-01 Michael Chastain <mec@shout.net>
10015
10016 * gdb.base/advance.c (marker1): New marker function.
10017 * gdb.base/advance.exp: When the 'advance' command lands on the
10018 return breakpoint, it can legitimately stop on either the
10019 current line or the next line. Accommodate both outcomes.
10020 * gdb.base/until.exp: Likewise.
10021
e7494ffb
AC
100222003-02-02 Andrew Cagney <ac131313@redhat.com>
10023
10024 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
10025 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
10026 now a list, not a tuple.
10027 * gdb.mi/mi-var-display.exp: Ditto.
10028 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 10029
075559bc
AC
100302003-02-01 Andrew Cagney <ac131313@redhat.com>
10031
10032 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
10033 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
10034 stack backtraces.
10035 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 10036
2bd4c7b1
MK
100372003-02-01 Mark Kettenis <kettenis@gnu.org>
10038
10039 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
10040 gdb.mi/mi1-pthreads.exp: Return instead of calling
10041 gdb_suppress_entire_file.
10042
eabd8992
MS
100432003-02-01 Mark Salter <msalter@redhat.com>
10044
10045 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
10046
71469e2f
MS
100472003-01-31 Mark Salter <msalter@redhat.com>
10048
10049 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
10050 Support empty arg.
10051
38a94d44
MC
100522003-01-30 Michael Chastain <mec@shout.net>
10053
10054 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
10055 This was a workaround for a UTF-8 bug in readline 4.3. The bug
10056 has been fixed in gdb/readline on 2003-01-09.
10057
19ea9e73
MS
100582003-01-29 Michael Snyder <msnyder@redhat.com>
10059
e8d359df
MS
10060 * gdb.base/maint.exp: Allow for leading underscore in symbol.
10061 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
10062 * gdb.base/args.exp: Skip if target does not support args passing.
10063
2307bd6a
DJ
100642003-01-22 Daniel Jacobowitz <drow@mvista.com>
10065
19ea9e73 10066 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
10067 gdb_test. Accept a list of expect arguments as the third
10068 parameter.
10069 (gdb_test): Use it.
10070
f2dd3617
EZ
100712003-01-20 Elena Zannoni <ezannoni@redhat.com>
10072
10073 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
10074 allow for different test tree configurations. Update some
10075 tescases accordingly.
10076 * gdb.arch/altivec-regs.exp: Ditto.
10077 * gdb.asm/asm-source.exp: Ditto.
10078 * gdb.base/advance.exp: Ditto.
10079 * gdb.base/display.exp: Ditto.
d63a86f8 10080 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
10081 * gdb.base/mips_pro.exp: Ditto.
10082 * gdb.base/overlays.exp: Ditto.
10083 * gdb.base/relocate.exp: Ditto.
10084 * gdb.base/setshow.exp: Ditto.
10085 * gdb.base/step-line.exp: Ditto.
10086 * gdb.base/step-test.exp: Ditto.
10087 * gdb.base/until.exp: Ditto.
10088 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
10089
c71cdefd
DC
100902003-01-17 David Carlton <carlton@math.stanford.edu>
10091
10092 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
10093 corresponding to PR c++/945.
10094 Update copyright.
10095
fdba05d7
DC
100962003-01-17 David Carlton <carlton@math.stanford.edu>
10097
10098 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
10099 corresponding to PR c++/68.
10100
101012003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
10102
10103 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
10104 (test_paddr_hairy_functions): Call print_addr_2_kfail for
10105 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
10106
c362c33a
EZ
101072003-01-15 Elena Zannoni <ezannoni@redhat.com>
10108
0fbc361c
EZ
10109 * gdb.base/break.exp: Fix change of default location, because of
10110 removal of until tests.
10111 * gdb.base/help.exp: Update test for new 'until' help message.
10112 Add test for help on 'advance'.
a9c64011 10113 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 10114
dabf8a35
MK
101152003-01-15 Mark Kettenis <kettenis@gnu.org>
10116
10117 * gdb.base/default.exp: Adapt "info float" test for recent changes
10118 to that command. Add test for "info vector".
10119 * gdb.base/float.exp: New file. Add test for "info float" that
10120 resembles the old test in gdb.base/default.exp.
10121
a1769aca
DC
101222003-01-15 David Carlton <carlton@math.stanford.edu>
10123
10124 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
10125
82025e13
EZ
101262003-01-15 Elena Zannoni <ezannoni@redhat.com>
10127
10128 * gdb.base/break.exp: Move the tests of until command from here...
10129 * gdb.base/until.exp: ... to here. New file. Add other tests.
10130 * gdb.base/advance.c: New file.
10131 * gdb.base/advance.exp: New file.
10132
8f9ab801
EZ
101332003-01-14 Elena Zannoni <ezannoni@redhat.com>
10134
a9c64011
AS
10135 * gdb.base/args.c: New file.
10136 * gdb.base/args.exp: New file.
8f9ab801 10137
9ae66589
DJ
101382003-01-14 Daniel Jacobowitz <drow@mvista.com>
10139
10140 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
10141
8d77e5c3
DJ
101422003-01-14 Daniel Jacobowitz <drow@mvista.com>
10143
10144 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
10145
12d2f0a1
DJ
101462003-01-14 Daniel Jacobowitz <drow@mvista.com>
10147
10148 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
10149 dates.
10150
6ca37014
DJ
101512003-01-13 Daniel Jacobowitz <drow@mvista.com>
10152
10153 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
10154
b0023472
DJ
101552003-01-13 Daniel Jacobowitz <drow@mvista.com>
10156
10157 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
10158 (ptype &*"foo").
10159 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
10160
607fbc54 101612003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
10162
10163 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
10164 * gdb.mi/mi1-console.exp: Likewise.
10165
607fbc54 101662003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
10167
10168 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
10169 * gdb.mi/mi1-console.exp: Likewise.
10170
a1fb14a2
DJ
101712003-01-13 Daniel Jacobowitz <drow@mvista.com>
10172
10173 * gdb.c++/overload.exp: Remove some fixed XFAILs.
10174
c4cf40b7
DJ
101752003-01-09 Daniel Jacobowitz <drow@mvista.com>
10176
10177 * gdb.base/detach.exp: New test.
10178
696d5a5b
DJ
101792003-01-09 Daniel Jacobowitz <drow@mvista.com>
10180
10181 * Makefile.in (ALL_SUBDIRS): New variable.
10182 (subdirs, clean, distclean): Use it.
10183 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
10184 regenerating Makefile, since it is generated from the top level.
10185 * gdb.asm/Makefile.in: Likewise.
10186 * gdb.base/Makefile.in: Likewise.
10187 * gdb.c++/Makefile.in: Likewise.
10188 * gdb.disasm/Makefile.in: Likewise.
10189 * gdb.java/Makefile.in: Likewise.
10190 * gdb.mi/Makefile.in: Likewise.
10191 * gdb.threads/Makefile.in: Likewise.
10192 * gdb.trace/Makefile.in: Likewise.
10193
754533e4
DC
101942003-01-09 David Carlton <carlton@math.stanford.edu>
10195
10196 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
10197 Add copyright year 2003.
10198
d8b3e9ee
MC
101992003-01-06 Michael Chastain <mec@shout.net>
10200
10201 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
10202 When selecting a thread, 'line' and 'file' are optional.
10203 * gdb.mi/mi1-pthreads.exp: Likewise.
10204
8e9e0fe6
AS
102052003-01-06 Andreas Schwab <schwab@suse.de>
10206
10207 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
10208 failures.
10209
b5ab8ff3
DJ
102102003-01-04 Daniel Jacobowitz <drow@mvista.com>
10211
10212 Fix PR gdb/844
10213 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
10214 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
10215
10216 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
10217 instead of calling gdb_suppress_entire_file.
10218 * gdb.threads/print-threads.exp: Likewise.
10219 * gdb.threads/schedlock.exp: Likewise.
10220
10221 * gdb.threads/killed.exp: Return instead of calling
10222 gdb_suppress_entire_file.
10223 * gdb.threads/linux-dp.exp: Likewise.
10224 * gdb.threads/pthreads.exp: Likewise.
10225
1e698235
DJ
102262003-01-04 Daniel Jacobowitz <drow@mvista.com>
10227
10228 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
10229 stabs.
10230 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
10231 * gdb.base/whatis.exp: Always allow (void) after function names.
10232
147ff08c
DJ
102332003-01-04 Daniel Jacobowitz <drow@mvista.com>
10234
10235 * gdb.c++/casts.exp: Correct regexp.
10236
dc62bfc2
MK
102372003-01-04 Mark Kettenis <kettenis@gnu.org>
10238
10239 * configure.in: Call AC_CONFIG_HEADER. Don't call
10240 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
10241 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
10242 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
10243 aforementioned directories in the AC_OUPUT call.
10244 * config.hin: New file.
10245 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
10246 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
10247 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
10248 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
10249 pass -I$objdir instead of -I$objdir/$subdir in compilation.
10250 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
10251 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
10252 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
10253 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
10254 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
10255 gdb.threads/configure.in, gdb.threads/configure,
10256 gdb.threads/config.in, gdb.trace/configure.in,
10257 gdb.trace/configure: Removed.
10258
77afa639
MC
102592003-01-03 Michael Chastain <mec@shout.net>
10260
10261 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
10262 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
10263
7634bb6e
DJ
102642003-01-03 Daniel Jacobowitz <drow@mvista.com>
10265
10266 * gdb.base/store.exp: Fix regular expressions.
10267
b39c905e
MK
102682002-12-28 Mark Kettenis <kettenis@gnu.org>
10269
10270 * configure.in: Rewrite.
10271 * configure: Regenerated.
10272
0a8551dd
DC
102732003-01-03 David Carlton <carlton@math.stanford.edu>
10274
10275 * gdb.base/psymtab.exp: New file.
10276 * gdb.base/psymtab1.c: Ditto.
10277 * gdb.base/psymtab2.c: Ditto.
10278
c60b7188
AF
102792002-12-23 Adam Fedor <fedor@gnu.org>
10280
10281 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
10282
ee73db83
DC
102832002-12-23 David Carlton <carlton@math.stanford.edu>
10284
10285 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
10286 and current_directory initialization.
10287
d6c1774e
JB
102882002-12-22 Jim Blandy <jimb@redhat.com>
10289
f0a847b8
JB
10290 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
10291 rather than as part of the output file name.
10292
d6c1774e
JB
10293 * gdb.base/attach.exp: There's no need to copy the test program to
10294 /tmp; that was only ever necessary on HP/UX, and this test is
10295 entirely disabled there anyway.
10296
f0708dbb
JB
102972002-12-21 Jim Blandy <jimb@redhat.com>
10298
4c2acfea
JB
10299 * gdb.c++/psmang.exp: Doc fix.
10300
f0708dbb
JB
10301 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
10302 test.
10303
9579e000
DC
103042002-12-20 David Carlton <carlton@math.stanford.edu>
10305
10306 * gdb.c++/annota2.exp: KFAIL annotate-quit.
10307
d1810171
MC
103082002-12-18 Michael Chastain <mec@shout.net>
10309
10310 * gdb.c++/annota2.exp: Add copyright year 2002.
10311
76565097
DC
103122002-12-17 David Carlton <carlton@math.stanford.edu>
10313
10314 * gdb.c++/try_catch.cc: Add marker comments.
10315 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
10316 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
10317 * gdb.c++/m-static.cc: Ditto.
10318 * gdb.c++/m-static1.cc: Ditto.
10319 * gdb.c++/try_catch.cc: Ditto.
10320
da81390b
JJ
103212002-12-16 Jeff Johnston <jjohnstn@redhat.com>
10322
10323 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
10324 to see whether we are using the new -environment-directory
10325 command which resets via -r or the old version of the command
10326 which may prompt the user. Part of fix for gdb/741.
10327
b304d130
AC
103282002-12-13 Andrew Cagney <ac131313@redhat.com>
10329
10330 * gdb.fortran/types.exp: Update obsolete comment.
10331 * gdb.fortran/exprs.exp: Ditto.
10332 * lib/gdb.exp: Delete obsolete code.
10333 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
10334 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
10335 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
10336 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
10337 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
10338 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
10339 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
10340 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
10341 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
10342 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
10343 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
10344 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
10345 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
10346 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
10347 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
10348 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
10349 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
10350 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
10351 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
10352 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
10353 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
10354 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
10355 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
10356 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
10357 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
10358 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
10359 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
10360 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
10361 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
10362 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
10363 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
10364 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
10365 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
10366 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
10367 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
10368 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
10369 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
10370
a23b6e6a
DC
103712002-12-11 David Carlton <carlton@math.stanford.edu>
10372
10373 * gdb.c++/m-data.exp: Add test for members that shadow global
10374 variables: see PR gdb/804.
10375 * gdb.c++/m-data.cc: Ditto.
10376
6604731b
DJ
103772002-12-10 Daniel Jacobowitz <drow@mvista.com>
10378
10379 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
10380
de46ecd7
DC
103812002-12-06 David Carlton <carlton@math.stanford.edu>
10382
10383 * gdb.base/store.c: Don't declare functions static.
10384
27e829d0
AC
103852002-12-04 Andrew Cagney <ac131313@redhat.com>
10386
10387 * gdb.base/store.exp, gdb.base/store.c: New files.
10388
92806416
DJ
103892002-12-03 Daniel Jacobowitz <drow@mvista.com>
10390
10391 * gdb.base/selftest.exp: Update for current gdb.
10392
3bcbaac5
DJ
103932002-12-03 Daniel Jacobowitz <drow@mvista.com>
10394
10395 * gdb.base/maint.exp: Only dump symbols from one source file
10396 or objfile.
10397
f4f00b1f
DJ
103982002-12-03 Daniel Jacobowitz <drow@mvista.com>
10399
10400 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
10401 function call.
10402
f1c8a949
JB
104032002-11-25 Jim Blandy <jimb@redhat.com>
10404
10405 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
10406 function appearing in error message.
10407
9e297a97
DJ
104082002-11-21 Daniel Jacobowitz <drow@mvista.com>
10409
10410 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
10411
1f312e79
JJ
104122002-11-08 Jeff Johnston <jjohnstn@redhat.com>
10413
d63a86f8
RM
10414 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
10415 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
10416 should be in mi console format. This is part of fix for PR gdb/604.
10417
83c31e7d
FN
104182002-09-18 Fernando Nasser <fnasser@redhat.com>
10419
10420 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
10421 which explicitly prints the zero offset as "+0".
10422
322b3f65
DJ
104232002-10-22 Daniel Jacobowitz <drow@mvista.com>
10424
10425 * gdb.threads/schedlock.c (args): Make unsigned.
10426
104272002-10-21 Daniel Jacobowitz <drow@mvista.com>
10428
10429 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
10430 numbers. Allow "foo2|selected stack frame".
10431 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
10432 * gdb.asm/asmsrc2.s: Likewise.
10433 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
10434 comments.
10435 * gdb.asm/mips.inc: New file.
10436
5e2fe5b8
AF
104372002-10-18 Adam Fedor <fedor@gnu.org>
10438
10439 * gdb.base/default.exp: Update expected output to include 'ObjC'.
10440 * gdb.base/help.exp: Likewise.
10441
abe1a5d0
KB
104422002-10-17 Kevin Buettner <kevinb@redhat.com>
10443
10444 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
10445 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
10446
10abb1d4
JB
104472002-10-02 Jim Blandy <jimb@redhat.com>
10448
10449 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
10450
1f609b42
AC
104512002-10-01 Andrew Cagney <ac131313@redhat.com>
10452
10453 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
10454 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
10455 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
10456 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
10457 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
10458 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
10459 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
10460
0aee02e4
AC
104612002-09-29 Andrew Cagney <ac131313@redhat.com>
10462
10463 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
10464 * mi0-disassemble.exp, mi0-eval.exp: Delete.
10465 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
10466 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
10467 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
10468 * mi0-var-block.exp, mi0-var-child.exp: Delete.
10469 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 10470
6fde09ad
KB
104712002-09-27 Kevin Buettner <kevinb@redhat.com>
10472
10473 * gdb.base/annota1.exp (info break): Make directory components of
10474 path optional since not all compilers emit this debug information.
10475
10476 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
10477 step ends up stepping out of the function instead of stopping on
10478 the epilogue.
10479
9e8aab75
KS
104802002-09-26 Keith Seitz <keiths@redhat.com>
10481
10482 * lib/insight-support.exp (gdbtk_start): Figure out where
10483 the insight executable is based on where gdb is. Use this
10484 executable to start insight instead of gdb.
10485
e36180d7
AC
104862002-09-25 Andrew Cagney <cagney@redhat.com>
10487
10488 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
10489
9dd34b2b
AC
104902002-09-24 Andrew Cagney <ac131313@redhat.com>
10491
10492 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
10493 test_isolated_complaints.
10494 (test_empty_complaint): New function.
10495 (test_empty_complaints): New function. Check no output when no
10496 complaints.
d63a86f8 10497
dea97812
KB
104982002-09-19 Jim Blandy <jimb@redhat.com>
10499
a9c64011 10500 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 10501
54951bd7
AC
105022002-09-19 Andrew Cagney <ac131313@redhat.com>
10503
10504 * gdb.gdb/complaints.exp: New file.
10505
dec43320
AC
105062002-09-18 Andrew Cagney <ac131313@redhat.com>
10507
10508 * gdb.base/maint.exp: Check `help maint internal-warning'.
10509
e70d6e3f
DC
105102002-09-18 David Carlton <carlton@math.stanford.edu>
10511
10512 * gdb.c++/m-static.exp: Remove breakpoints depending on line
10513 numbers, and replace them by a single breakpoint after the
10514 constructors are all finished.
10515 Add test 4.
10516 * gdb.c++/m-static.cc: Add test 4.
10517 * gdb.c++/m-static.h: New file.
10518 * gdb.c++/m-static1.cc: New file.
10519
10520 * gdb.c++/printmethod.exp: New file.
10521 * gdb.c++/printmethod.cc: New file.
10522
10523 * gdb.c++/pr-574.exp: New file.
10524 * gdb.c++/pr-574.cc: New file.
10525
afb5c968
CV
105262002-09-18 Corinna Vinschen <vinschen@redhat.com>
10527
10528 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
10529 embedded targets which never actually exit.
10530
31e45dee
FN
105312002-09-18 Fernando Nasser <fnasser@redhat.com>
10532
10533 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
10534 "don't step after run" as unresolved or unsupported, instead of xfail.
10535
a283c5a1
CV
105362002-09-18 Corinna Vinschen <vinschen@redhat.com>
10537
10538 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
10539 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
10540 Add newline to expected string in "step out of main (status wrapper)"
10541 case.
10542
11350d2a
CV
105432002-09-18 Corinna Vinschen <vinschen@redhat.com>
10544
10545 * lib/gdb.exp (rerun_to_main): Allow restarting application.
10546 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
10547
0deec7d6
TT
105482002-09-17 Tom Tromey <tromey@redhat.com>
10549
10550 * gdb.base/printcmds.exp (test_print_string_constants): Expect
10551 \000, not \0, in double-quoted string.
10552
b2b4a1b5
CV
105532002-09-14 Corinna Vinschen <vinschen@redhat.com>
10554
c9d37158 10555 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
10556 string after running the commands execution on breakpoint tests.
10557
1c56143a
CV
105582002-09-13 Corinna Vinschen <vinschen@redhat.com>
10559
10560 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
10561
37f8da45
JB
105622002-09-12 Joel Brobecker <brobecker@gnat.com>
10563
10564 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
10565
08b468e0
KS
105662002-09-10 Keith Seitz <keiths@redhat.com>
10567
10568 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
10569 runto proc.
10570 (mi_run_to_main): Use mi_runto.
10571 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
10572
dc360f58
KS
105732002-09-10 Keith Seitz <keiths@redhat.com>
10574
10575 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
10576 regexp for stopping at main. Could have multiple event notifications.
10577 Don't assume that main was declared with no parameters.
10578 (mi_next): Use mi_step_to.
10579 (mi_step): Use mi_next_to.
10580
ce3abcfb
CV
105812002-09-09 Corinna Vinschen <vinschen@redhat.com>
10582
10583 * gdb.base/default.exp: Fix expected string in `info float' test.
10584
d1f5b980
BE
105852002-09-09 Ben Elliston <bje@redhat.com>
10586
10587 * config/mips.exp: Update comments.
10588 * config/mips-idt.exp: Likewise.
10589 * config/nind.exp: Likewise.
10590 * config/slite.exp: Likewise.
10591 * config/sparclet.exp: Likewise.
10592 * config/udi.exp: Likewise.
10593 * config/vx.exp: Likewise.
10594 * config/vxworks29k.exp: Likewise.
10595
2f71430b
JB
105962002-09-05 Jim Blandy <jimb@redhat.com>
10597
10598 * gdb.threads/killed.exp: Fix test failure message.
10599
7ddebc7e
KS
106002002-09-04 Keith Seitz <keiths@redhat.com>
10601
10602 * lib/mi-support.exp: Update copyright.
10603 (mi_gdb_test): Increase the priority of the expected pattern
10604 so that it matches gdb_test.
10605
0ae67eb3
KS
106062002-09-03 Keith Seitz <keiths@redhat.com>
10607
10608 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
10609 Use integer comparison instead of string comparison for testing
10610 whether binary was built.
10611
38fc42c8
JB
106122002-09-03 Jim Blandy <jimb@redhat.com>
10613
10614 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
10615
b6ff0e81
JB
106162002-08-29 Jim Blandy <jimb@redhat.com>
10617
10618 * gdb.threads/pthreads.exp: Move the portable thread compilation
10619 code into a function in lib/gdb.exp, and call that from here.
10620 * lib/gdb.exp (gdb_compile_pthreads): New function.
10621
07c98896
KS
106222002-08-29 Keith Seitz <keiths@redhat.com>
10623
10624 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
10625 expect_out so that callers can get at it.
10626
0312286c
DJ
106272002-08-23 Daniel Jacobowitz <drow@mvista.com>
10628
10629 * gdb.threads/print-threads.c: New file.
10630 * gdb.threads/print-threads.exp: New file.
10631 * gdb.threads/schedlock.c: New file.
10632 * gdb.threads/schedlock.exp: New file.
10633
dd039bc4
EZ
106342002-08-22 Elena Zannoni <ezannoni@redhat.com>
10635
a9c64011
AS
10636 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
10637 not altivec.c.
dd039bc4 10638
1f36144c
MK
106392002-08-17 Mark Kettenis <kettenis@gnu.org>
10640
10641 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
10642 targets. The problem should be fixed now.
10643
16057ec7 106442002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
10645
10646 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
10647 2002-07-24 change that removes final dots from error messages.
10648
3c1499ad
TT
106492002-08-13 Tom Tromey <tromey@redhat.com>
10650
10651 * gdb.base/readline.exp: New file.
10652
a20ce2c3
AC
106532002-08-01 Andrew Cagney <ac131313@redhat.com>
10654
10655 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
10656 supress message.
10657
db034ac5
AC
106582002-08-01 Andrew Cagney <cagney@redhat.com>
10659
10660 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
10661 CHILL_FOR_TARGET and CHILL_LIB.
10662 * configure.in (configdirs): Remove gdb.chill.
10663 * configure: Regenerate.
10664 * lib/gdb.exp: Obsolete references to chill.
10665 * gdb.fortran/types.exp: Ditto.
10666 * gdb.fortran/exprs.exp: Ditto.
10667
3e000b18
KB
106682002-07-30 Kevin Buettner <kevinb@redhat.com>
10669
10670 * gdb.base/shlib-call.exp (additional_flags): Conditionally
10671 set Irix-specific compile and link flags.
10672
28f4966b
KB
106732002-07-29 Kevin Buettner <kevinb@redhat.com>
10674
10675 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
10676 source files. The ``-o'' option doesn't work with the ``-E'' option
10677 when using the Irix compiler.
10678
46c0d5a6
DJ
106792002-07-19 Daniel Jacobowitz <drow@mvista.com>
10680
10681 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
10682 Improve support for reusing an exec file. Copy exec file
10683 to target, and run gdbserver on the target instead of on the host.
10684
eecf4bed
JB
106852002-07-18 Jim Blandy <jimb@redhat.com>
10686
0f815cdf
JB
10687 * gdb.base/ending-run.exp: Don't expect to see the program end in
10688 some orderly fashion when we're running on a real stand-alone
10689 board.
10690
eecf4bed
JB
10691 * gdb.base/interrupt.exp: Correct logic for skipping tests on
10692 targets that don't support interrupts.
10693
52d309e4
JB
106942002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
10695
10696 * gdb.base/attach.exp: Add patterns to match output from /proc-based
10697 systems.
10698 Move comments in expect statements to inside the actions, so that they
10699 don't get matched against.
10700
ff683d9e
MK
107012002-07-10 Mark Kettenis <kettenis@gnu.org>
10702
10703 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
10704 function when asleep" test.
10705
b5356753
AC
107062002-07-10 Andrew Cagney <ac131313@redhat.com>
10707
10708 * gdb.base/page.exp: Rewrite to handle problems with very long
10709 `info set' output. Update copyright.
10710
6aa4d13a
AC
107112002-06-26 Andrew Cagney <ac131313@redhat.com>
10712
10713 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
10714 gdb.threads-hp.
10715 * gdb.hp/configure: Regenerate.
10716 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
10717 * gdb.hp/gdb.threads-hp/configure: Delete file.
10718 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
10719
8cf8c2b8
AC
107202002-06-22 Andrew Cagney <ac131313@redhat.com>
10721
10722 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
10723 setlocale, bindtextdomain and textdomain.
10724
6827a8f8
JB
107252002-06-11 Jim Blandy <jimb@redhat.com>
10726
919d772c
JB
10727 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
10728 preprocessor macro information is present.
10729
6827a8f8
JB
10730 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
10731 tests.
10732
c15b0d21
MS
107332002-06-06 Michael Snyder <msnyder@redhat.com>
10734
c5984d70
MS
10735 * gdb.base/overlays.exp: Record addresses of overlay
10736 functions in TCL variables rather than in GDB variables,
10737 to avoid having GDB convert them to pointers (with loss
10738 of information).
10739
d63a86f8 10740 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 10741 default linker script changes.
c15b0d21
MS
10742 * gdb.base/long_long.exp: Add check for sizeof (long double).
10743
be26fe0d
ML
107442002-06-06 Michal Ludvig <mludvig@suse.cz>
10745
10746 * gdb.asm/asm-source.exp: Add x86-64 target.
10747 * gdb.asm/x86_64.inc: New.
d63a86f8 10748
258093ca 107492002-05-30 Michael Chastain <mec@shout.net>
258093ca 10750
4b3153f1 10751 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
10752 * gdb.c++/m-static.cc: New file.
10753 * gdb.c++/m-static.exp: New file.
10754
241264c6
MS
107552002-05-28 Michael Snyder <msnyder@redhat.com>
10756
10757 * gdb.base/call-ar-st.exp: Allow for reduced floating point
10758 precision.
10759
9bba8c8f 107602002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 10761
4b3153f1 10762 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
10763 * gdb.c++/m-data.cc: New file.
10764 * gdb.c++/m-data.exp: New file.
10765
107662002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 10767
4b3153f1 10768 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 10769 * gdb.c++/try_catch.cc: New file.
d63a86f8 10770 * gdb.c++/try_catch.exp: New file.
9bba8c8f 10771
def1b996
MC
107722002-05-27 Michael Chastain <mec@shout.net>
10773
10774 * gdb.c++/local.exp: Accept more nested types in output.
10775
522ba268
MC
107762002-05-26 Michael Chastain <mec@shout.net>
10777
10778 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
10779
277254ba
MS
107802002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
10781
10782 * lib/gdb.exp (gdb_wrapper_init): Just because
10783 gdb_wrapper_file exists, this does not mean that the file
10784 should not be rebuilt. That is what gdb_wrapper_initialized
10785 is for.
10786 (default_gdb_init): Reset gdb_wrapper_initialized.
10787
b61a8733
MS
107882002-05-23 Michael Snyder <msnyder@redhat.com>
10789
d63a86f8 10790 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
10791 the precision of the floating point test results.
10792 * gdb.base/call-rt-st.exp: Ditto.
10793
b61a8733
MS
10794 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
10795 * gdb.base/call-rt-st.exp: Ditto.
10796
56f6e910
MC
107972002-05-19 Michael Chastain <mec@shout.net>
10798
10799 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
10800
ad0b0016
EZ
108012002-05-19 Elena Zannoni <ezannoni@redhat.com>
10802
a9c64011
AS
10803 * configure.in (configdirs): Add gdb.arch.
10804 * configure: Regenerate.
ad0b0016 10805
f617d2b6
JB
108062002-05-17 Jim Blandy <jimb@redhat.com>
10807
10808 * gdb.base/completion.exp: Recognize the more detailed error
10809 messages produced by the macro expander's lexical analyzer.
10810
eac2a696
EZ
108112002-05-14 Elena Zannoni <ezannoni@redhat.com>
10812
a9c64011
AS
10813 * gdb.arch/altivec-abi.c: New file.
10814 * gdb.arch/altivec-abi.exp: New file.
10815 * gdb.arch/altivec-regs.c: New file.
10816 * gdb.arch/altivec-regs.exp: New file.
eac2a696 10817
2fdde8f8
DJ
108182002-05-14 Daniel Jacobowitz <drow@mvista.com>
10819
10820 * gdb.base/maint.exp (maint print type): Update for new type
10821 structure.
d63a86f8 10822
e31f1a7c
EZ
108232002-05-14 Elena Zannoni <ezannoni@redhat.com>
10824
10825 * gdb.arch: New directory.
10826 * gdb.arch/configure.in: New file.
10827 * gdb.arch/configure: New file.
10828 * gdb.arch/Makefile.in: New file.
10829
db589741
CV
108302002-05-13 Corinna Vinschen <vinschen@redhat.com>
10831
10832 * gdb.asm/asm-source.exp: Add v850 as supported target.
10833 * gdb.asm/v850.inc: New file.
10834
8ce2a7dc
DJ
108352002-05-13 Daniel Jacobowitz <drow@mvista.com>
10836
10837 * gdb.c++/annota2.exp (annotate-quit): Add comment.
10838
df763c7f
DJ
108392002-05-12 Daniel Jacobowitz <drow@mvista.com>
10840
10841 * gdb.base/break.exp: Check 'break "marker2"'.
10842
377daeed
MS
108432002-05-10 Michael Snyder <msnyder@redhat.com>
10844
10845 * gdb.base/long_long.exp: Fix typo.
10846
c4b7bc2b
JB
108472002-05-10 Jim Blandy <jimb@redhat.com>
10848
ecac9a4e
JB
10849 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
10850 a bug.
10851
c4b7bc2b
JB
10852 * gdb.base/printcmds.exp (test_integer_literals_rejected):
10853 Recognize more detailed error message produced by the macro
10854 expander's lexical analyzer.
10855 * lib/gdb.exp (test_print_reject): Same.
10856
e71019a1
MK
108572002-05-09 Mark Kettenis <kettenis@gnu.org>
10858
10859 * gdb.c++/method.exp: Fix typo.
10860
fedfc8e6
MS
108612002-05-08 Michael Snyder <msnyder@redhat.com>
10862
166a1957
MS
10863 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
10864 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 10865 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
10866 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
10867 Add iftarget clause for strongarm.
d63a86f8 10868
f1c47eb2
MS
108692002-05-06 Michael Snyder <msnyder@redhat.com>
10870
cb9a9d3e
MS
10871 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
10872 (gdb_continue_to_end): Accept output from status wrapper.
10873 * gdb.base/ending-run.exp: Add case for output from status wrapper.
10874 Clean up fail messages to match pass messages.
10875
f1c47eb2
MS
10876 Enable the "needs_status_wrapper" testsuite feature.
10877 * lib/gdb.exp (gdb_wrapper_init): New procedure.
10878 (gdb_compile): Conditionally call gdb_wrapper_init.
10879 * gdb.base/a2-run.exp: Recognize output from status wrapper.
10880 * gdb.c++/method.exp: Recognize output from status wrapper.
10881
6079c749
BE
108822002-05-06 Ben Elliston <bje@redhat.com>
10883From Graydon Hoare <graydon@redhat.com>
10884
10885 * config/sid.exp: Include support for "rawsid" protocol.
10886
188baff3
JB
108872002-05-03 Jim Blandy <jimb@redhat.com>
10888
10889 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
10890 * gdb.c++/hang3.C: New file.
10891
b9c07f0f
AC
108922002-05-04 Andrew Cagney <ac131313@redhat.com>
10893
10894 * gdb.base/default.exp: Remove obsolete code.
10895 * gdb.c++/misc.exp: Ditto. Update copyright.
10896 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
10897 * gdb.base/whatis.exp: Ditto. Update copyright.
10898 * gdb.base/scope.exp: Ditto. Update copyright.
10899 * gdb.base/ptype.exp: Ditto. Update copyright.
10900 * gdb.base/printcmds.exp: Ditto. Update copyright.
10901 * gdb.base/opaque.exp: Ditto. Update copyright.
10902 * gdb.base/list.exp: Ditto.
10903 * gdb.base/funcargs.exp: Ditto. Update copyright.
10904 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
10905 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
10906 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
10907 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
10908 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
10909 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
10910
5c7a0397
MS
109112002-05-02 Michael Snyder <msnyder@redhat.com>
10912
d6dcc264 10913 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
10914 * gdb.base/long_long.exp: Add xscale target.
10915 * gdb.base/default.exp: Add xscale target.
10916
eb7f1c48
JB
109172002-05-01 Jim Blandy <jimb@redhat.com>
10918
10919 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
10920 gdb.c++/hang.exp: New test.
10921
a6befae8
FF
109222002-05-01 Fred Fish <fnf@redhat.com>
10923
10924 * gdb.base/completion.exp: Handle completions of "./Make" for
10925 more than one completion possibility, as is the case when we
10926 build and test in the source tree.
10927
0a310277
AG
109282002-04-29 Anthony Green <green@redhat.com>
10929
10930 * gdb.java/jmisc1.exp: New file.
10931 * gdb.java/jmisc2.exp: New file.
10932
6ff9af88
DJ
109332002-04-24 Daniel Jacobowitz <drow@mvista.com>
10934
10935 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
10936
96b3d632
EZ
109372002-04-23 Elena Zannoni <ezannoni@redhat.com>
10938
10939 * gdb.base/help.exp: Change 'help status' to allow for target
10940 dependent output differences.
10941
5019bb54
MC
109422002-04-22 Michael Chastain <mec@shout.net>
10943
10944 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
10945
a805a116
MC
109462002-04-22 Michael Chastain <mec@shout.net>
10947
10948 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
10949
a1706bfd
DM
109502002-04-17 David S. Miller <davem@redhat.com>
10951
10952 * gdb.asm/sparc64.inc: New file.
10953 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
10954
a73a20a2
EZ
109552002-04-19 Elena Zannoni <ezannoni@redhat.com>
10956
10957 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
10958 instruction file directly into the build tree. Clean up at end of
10959 test.
10960
ba678339
DM
109612002-04-18 David S. Miller <davem@redhat.com>
10962
10963 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
10964 handle 64-bit platforms correctly.
10965 * gdb.base/maint.exp: Likewise.
10966
b03399da
KB
109672002-04-18 Kevin Buettner <kevinb@redhat.com>
10968
10969 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
10970 ``-fpic'' when compiling files comprising a shared library, but
10971 it does need additional linker flags in order to find shared
10972 libraries at run time.
10973
e2004992
KB
109742002-04-18 Kevin Buettner <kevinb@redhat.com>
10975
10976 * gdb.base/cvexpr.c (use): New function.
10977 (main): Invoke use() on all global variables to prevent
10978 some linkers from deleting these otherwise unused symbols.
10979
d8937120
MC
109802002-04-17 Michael Chastain <mec@shout.net>
10981From David S. Miller <davem@redhat.com>
10982
10983 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
10984 handle 64-bit platforms correctly.
10985
ffd61a58
MS
109862002-04-12 Michael Snyder <msnyder@redhat.com>
10987From Jim Blandy <jimb@redhat.com>
a9c64011 10988 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
10989 script can handle this instead.
10990 * gdb.base/bar.c (barx): Same.
10991 * gdb.base/baz.c (bazx): Same.
10992 * gdb.base/grbx.c (grbxx): Same.
10993
10994 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
10995 manager doesn't automatically unmap overlays unnecessarily.
10996
6b8426a6
MH
109972002-04-10 Martin M. Hunt <hunt@redhat.com>
10998
10999 * gdb.base/ending-run.exp: Fix pattern for Mips targets
11000 stepping out of main.
11001
34af4875
MC
110022002-04-09 Michael Chastain <mec@shout.net>
11003
11004 * gdb.c++/local.cc (main): Move call to marker1() inside nested
11005 scope so that the nested scope tests will make sense.
11006 * gdb.c++/local.exp: Write patterns that actually work with gcc
11007 (the HP patterns "were never known to work with gcc").
11008 Keep the old aCC patterns too.
11009
2d1676a0
DJ
110102002-04-09 Daniel Jacobowitz <drow@mvista.com>
11011
11012 * gdb.base/attach.exp: Correct target board test.
11013
3a63e3f9
MC
110142002-04-08 Michael Chastain <mec@shout.net>
11015
11016 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
11017 in a const method. Add some xfail and fail cases for configurations
11018 that do not emit the "const ...".
11019
f18dabd2
MC
110202002-04-07 Michael Chastain <mec@shout.net>
11021
11022 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
11023 Accept "A * const" and "const A * const" as type of "this".
11024 Fix spelling of getFunky throughout. Make messages uniform.
11025
0fcddd82
EZ
110262002-04-07 Elena Zannoni <ezannoni@redhat.com>
11027
a9c64011 11028 Work around for PR gdb/285:
0fcddd82
EZ
11029 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
11030
16a8534a
EZ
110312002-04-07 Elena Zannoni <ezannoni@redhat.com>
11032
11033 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
11034 instructions file at run time instead of configure time.
11035 Sometimes we run the test in a directory that is not the one we
11036 configured in.
11037 * gdb.asm/configure.in: Delete creation of symlink.
11038 * gdb.asm/configure: Regenerate.
11039
24181d81
JB
110402002-04-05 J. Brobecker <brobecker@gnat.com>
11041
11042 * gdb.gdb/xfullpath.exp: New test, to exercise the new
11043 xfullpath () function.
11044
7cdb7107
DJ
110452002-04-04 Daniel Jacobowitz <drow@mvista.com>
11046
11047 * gdb.asm/Makefile.in: Correct dependencies.
11048
11049 * gdb.asm/powerpc.inc: New file.
11050 * gdb.asm/asm-source.exp: Add PowerPC.
11051 * gdb.asm/configure.in: Likewise.
11052 * gdb.asm/configure: Regenerated.
11053
a7d17088
DJ
110542002-04-04 Daniel Jacobowitz <drow@mvista.com>
11055
11056 * gdb.base/relocate.exp: New file.
11057 * gdb.base/relocate.c: New file.
11058
cd721503
FF
110592002-04-04 Fred Fish <fnf@redhat.com>
11060
11061 * gdb.base/step-test.exp: Update comment regarding stopping in
11062 memcpy/bcopy calls inserted as part of the compiler runtime.
11063
b22ad7a7
MS
110642002-04-04 Michael Snyder <msnyder@redhat.com>
11065
11066 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
11067
5f279fa6
DJ
110682002-04-03 Daniel Jacobowitz <drow@mvista.com>
11069
11070 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
11071 (gdb_expect): Remove $notransfer hack.
11072
dd0fd3ce
DJ
110732002-04-02 Daniel Jacobowitz <drow@mvista.com>
11074
11075 * gdb.c++/classes.exp ("calling method for small class"): Match
11076 updated register output.
11077
1e50cda1
DJ
110782002-03-30 Daniel Jacobowitz <drow@mvista.com>
11079
11080 Fix PR gdb/452
11081 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
11082 when finished. Make gdb_file_cmd send "exec-file" when
11083 appropriate.
11084
24015922
DJ
110852002-03-30 Daniel Jacobowitz <drow@mvista.com>
11086
11087 * gdb.base/attach.exp: Remove extra setup_xfail.
11088
dd7dfd64
MS
110892002-03-26 Michael Snyder <msnyder@redhat.com>
11090
11091 * gdb.base/default.exp: Add tests for dump, append, and restore.
11092 * gdb.base/help.exp: Add tests for dump, append, and restore.
11093 * gdb.base/dump.exp: New file, test dump, append and restore.
11094 * gdb.base/dump.c: New file.
11095
48b2f8d7
MS
110962002-03-27 Michael Snyder <msnyder@redhat.com>
11097
d63a86f8 11098 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
11099 clean-ups in help messages.
11100
05b4d525
FF
111012002-03-26 Fred Fish <fnf@redhat.com>
11102
11103 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
11104 have debugging info for those functions and the compiler uses them
11105 internally to copy structs around.
11106
d7679631
FF
111072002-03-26 Fred Fish <fnf@redhat.com>
11108
11109 * gdb.base/list.exp: Revert the change made yesterday and add note
11110 about why we don't list the default lines for remote targets.
11111
523ac3f9
MS
111122002-03-25 Michael Snyder <msnyder@redhat.com>
11113
11114 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
11115
754b2b8d
FF
111162002-03-25 Fred Fish <fnf@redhat.com>
11117
11118 * gdb.base/list.exp: This test works on remote targets so remove
11119 the short circuit for remote targets. Update copyright.
11120
33c3e192
FF
111212002-03-25 Fred Fish <fnf@redhat.com>
11122
11123 * gdb.base/attach.exp: Fix logic error that was suppressing this
11124 test for all non hppa*-*-hpux* targets, instead of the hp target.
11125 Move comments closer to the suppression point. Also now need to
11126 check that we are running natively.
11127
d43e73ee
MS
111282002-03-22 Michael Snyder <msnyder@redhat.com>
11129
882c8f02
MS
11130 * gdb.base/default.exp: Add test for gcore. Update copyright.
11131 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 11132
04c12f60
FF
111332002-03-06 Fred Fish <fnf@redhat.com>
11134
11135 * gdb.base/funcargs.c: Remove extraneous ';' character.
11136 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
11137
b43df995
MC
111382002-03-04 Michael Chastain <mec@shout.net>
11139
11140 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
11141 accommodate gcc v3 function signature.
11142 * gdb.mi/mi0-var-cmd-exp: Ditto.
11143
92362027
AC
111442002-02-24 Andrew Cagney <ac131313@redhat.com>
11145
11146 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
11147 ``GNU/Linux'' or ``Linux kernel''
11148 * testsuite/gdb.threads/pthreads.c: Ditto.
11149
258ad32d
MC
111502002-02-24 Michael Chastain <mec@shout.net>
11151
11152 * gdb.threads/pthreads.c (thread1): Add a return statement.
11153 (thread2): Likewise.
11154 (foo): Likewise.
11155
04c3b3d4
MC
111562002-02-23 Michael Chastain <mec@shout.net>
11157
11158 * gdb.threads/linux-dp.c (philosopher): Add a return statement
11159 to placate gcc.
11160
5a2a0a20
MC
111612002-02-23 Michael Chastain <mec@shout.net>
11162
11163 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
11164 test "ptype bint". The test passes on all my stabs configurations.
11165
a640f7fc
JB
111662002-02-21 Jim Blandy <jimb@redhat.com>
11167
27924826
JB
11168 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
11169 filename at a time, and watch for the ones we want to see.
11170
a640f7fc
JB
11171 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
11172 types of pointers to prototyped functions.
11173
edcc8c75
AC
111742002-02-20 Andrew Cagney <ac131313@redhat.com>
11175
11176 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
11177 signed, unsigned and straight char.
11178 (padding_char, padding_short, padding_int, padding_long,
11179 padding_long_long, padding_float, padding_double,
11180 padding_long_double): New global variables.
11181 (fill, fill_structs): New functions.
11182
11183 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
11184 for correctly sized writes. Update copyright.
11185 (get_valueof): New procedure.
11186 (get_sizeof): Call get_valueof.
11187 (check_valueof): New procedure.
11188 (check_padding): New procedure.
11189
ac57ea44
MC
111902002-02-20 Michael Chastain <mec@shout.net>
11191
11192 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
11193 to setup_xfail. Document some of the remaining calls.
11194
7a10c941
MC
111952002-02-18 Michael Chastain <mec@shout.net>
11196
11197 * gdb.c++/userdef.exp: Update copyright year.
11198
fb8acdcc
DJ
111992002-02-18 Daniel Jacobowitz <drow@mvista.com>
11200
11201 * gdb.c++/userdef.exp: Test overloaded operators properly.
11202 Remove xfails.
11203
fda6ae12
MS
112042002-02-14 Michael Snyder <msnyder@redhat.com>
11205
11206 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
11207
676a0442
DJ
112082002-02-14 Daniel Jacobowitz <drow@mvista.com>
11209
11210 * gdb.base/a2-run.exp: Check for a remote target properly.
11211 * gdb.base/annota1.exp: Likewise.
11212 * gdb.base/list.exp: Likewise.
11213 * gdb.base/reread.exp: Likewise.
11214 * gdb.base/scope.exp: Likewise.
11215 * gdb.base/shlib-call.exp: Likewise.
11216 * gdb.base/term.exp: Likewise.
11217 * gdb.c++/annota2.exp: Likewise.
11218
78b4f468
RE
112192002-02-13 Richard Earnshaw <rearnsha@arm.com>
11220
11221 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
11222
9a81ba51
MC
112232002-02-10 Michael Chastain <mec@shout.net>
11224
11225 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
11226 (call_after_alloca): Ditto.
11227
004af6c7
DJ
112282002-02-10 Daniel Jacobowitz <drow@mvista.com>
11229
11230 * gdb.base/ending-run.exp: Guard "cont" test with
11231 gdb_skip_stdio_test.
11232
37225f62
JB
112332002-02-06 Jim Blandy <jimb@redhat.com>
11234
11235 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
11236 from here...
11237 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
11238 To here. Disable this test on non-HP platforms. Add big comment.
11239
fe6fdd96
MS
112402002-02-04 Michael Snyder <msnyder@redhat.com>
11241
11242 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
11243 other than d10v and m32r.
11244
036fad3f
RE
112452002-02-02 Richard Earnshaw <rearnsha@arm.com>
11246
11247 * gdb.base/default.exp: Rewrite test patterns to reduce time
11248 taken to match them.
11249
7148ab62
DJ
112502002-01-30 Daniel Jacobowitz <drow@mvista.com>
11251
11252 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
11253 Allow a start function above main.
11254 * gdb.threads/linux-dp.exp: Fix copyright date.
11255
396cc255
DJ
112562002-01-30 Daniel Jacobowitz <drow@mvista.com>
11257
a9c64011
AS
11258 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
11259 (check_philosopher_stack): Check for manager thread before checking
11260 for a just-starting thread.
396cc255 11261
f038d31b
DJ
112622002-01-30 Daniel Jacobowitz <drow@mvista.com>
11263
11264 From Neil Booth <neil@daikokuya.demon.co.uk>:
11265 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
11266 warnings.
11267
b3ff9d9a
FF
112682002-01-21 Fred Fish <fnf@redhat.com>
11269
11270 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
11271 not caller.
11272
39ad761d
JB
112732002-01-21 Jim Blandy <jimb@redhat.com>
11274
11275 * gdb.base/reread.exp: Check that GDB properly re-reads the
11276 executable file when it changes while no inferior is running.
11277
aaf320fa
FF
112782002-01-21 Fred Fish <fnf@redhat.com>
11279
a9c64011
AS
11280 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
11281 optionally accept the "shlib events" variation.
aaf320fa 11282
808a31f5
JB
112832002-01-21 Jim Blandy <jimb@redhat.com>
11284
11285 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
11286 call `fflush' after every `printf', so that the output is produced
11287 at predictable points, regardless of whatever buffering does (or
11288 doesn't) take place.
11289 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
11290 at different points.
11291
4420d5e2
DJ
112922002-01-20 Daniel Jacobowitz <drow@mvista.com>
11293
11294 * gdb.c++/inherit.exp: Update copyright years.
11295 * gdb.c++/method.exp: Likewise.
11296
3e36a0f4
DJ
112972002-01-20 Daniel Jacobowitz <drow@mvista.com>
11298
11299 * gdb.c++/classes.exp: Update for improved v3 support and skipping
11300 artificial methods/arguments.
11301 * gdb.c++/derivation.exp: Likewise.
11302 * gdb.c++/inherit.exp: Likewise.
11303 * gdb.c++/method.exp: Likewise.
11304 * gdb.c++/virtfunc.exp: Likewise.
11305
b4ceaee6
AC
113062002-01-18 Andrew Cagney <ac131313@redhat.com>
11307
11308 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
11309 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
11310 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
11311 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
11312 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
11313 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
11314
ecace851
JB
113152002-01-17 Jim Blandy <jimb@redhat.com>
11316
11317 * gdb.asm/asm-source.exp (info symbol): Take another shot at
11318 anchoring the pattern matching the entry point symbol's name.
11319
375fc983
AC
113202002-01-17 Andrew Cagney <ac131313@redhat.com>
11321
11322 * gdb.base/maint.exp: Update ``maint internal-error'' to match
11323 continue/quit query. Update copyright.
11324
fe6fdd96
MS
113252002-01-14 Michael Snyder <msnyder@redhat.com>
11326
11327 * gdb.base/gcore.exp: Remove extra debugging output.
11328
e017c81f
DJ
113292002-01-13 Daniel Jacobowitz <drow@mvista.com>
11330
11331 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
11332 for slightly dubious v2 mangled string.
11333
37ab3bf8
DJ
113342002-01-13 Daniel Jacobowitz <drow@mvista.com>
11335
11336 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
11337
1bc05c3a 113382002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 11339
1bc05c3a 11340 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 11341
1bc05c3a
JM
11342 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
11343 constructors.
11344 * gdb.c++/derivation.exp: Likewise.
11345 * gdb.c++/templates.exp: Likewise.
11346 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 11347
1bc05c3a
JM
113482002-01-10 Michael Snyder <msnyder@redhat.com>
11349
11350 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 11351
a911c360
MS
113522002-01-08 Michael Snyder <msnyder@redhat.com>
11353
11354 * gdb.base/gcore.exp: New test for generate-core-file command.
11355 * gdb.base/gcore.c: Testcase for above.
11356 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
11357
ea2119ec
JM
113582002-01-08 Jason Merrill <jason@redhat.com>
11359
11360 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
11361
68203136
FF
113622002-01-07 Fred Fish <fnf@redhat.com>
11363
11364 * gdb.c++/overload.exp: Remove unconditional xfails for:
11365 print foo_instance1.overloadargs(1)
11366 print foo_instance1.overloadargs(1, 2)
11367 print foo_instance1.overloadargs(1, 2, 3)
11368 print foo_instance1.overloadargs(1, 2, 3, 4)
11369 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
11370 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
11371 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
11372 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
11373 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
11374 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
11375 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
11376 print foo_instance1.overload1arg()
11377 print foo_instance1.overload1arg((char)arg2)
11378 print foo_instance1.overload1arg((signed char)arg3)
11379 print foo_instance1.overload1arg((unsigned char)arg4)
11380 print foo_instance1.overload1arg((int)arg7)
11381 print foo_instance1.overload1arg((unsigned int)arg8)
11382 print foo_instance1.overload1arg((float)arg11)
11383 print foo_instance1.overload1arg((double)arg12)
d63a86f8 11384
21b9b5b1
MS
113852002-01-07 Michael Snyder <msnyder@redhat.com>
11386
11387 * gdb.base/huge.exp: New test. Print a very large target data object.
11388 (skip_huge_test): New test variable. Define if you want to skip this
11389 test. The test reads an 8 megabyte data object from the target, so it
11390 might be very time consuming on remote targets with a slow connection.
11391 * gdb.base/huge.c: New file. Test case for above.
11392
725f922e
FF
113932002-01-07 Fred Fish <fnf@redhat.com>
11394
11395 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
11396 g_instance.bfoo, and g_instance.cfoo.
11397
634d57ec
JL
11398Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
11399
f286b2c3
JL
11400 * gdb.base/break.c (multi_line_if_conditional): New function.
11401 (multi_ilne_while_conditional): Likewise.
11402 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
11403 IF or WHILE condition puts the breakpoint at the start of
11404 the condition.
11405
634d57ec
JL
11406 * gdb.base/selftest.exp (backtrace through signal handler): Remove
11407 hppa*-*-hpux* expected failure.
11408 * gdb.base/structs.exp (do_function_calls): Similarly.
11409
11410 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
11411 watchpoints.
11412
9fbfe2dc
AC
114132002-01-06 Andrew Cagney <ac131313@redhat.com>
11414
11415 Fix PR gdb/66.
11416 * gdb.base/structs.exp: Replace skip for a29k with skip for
11417 gdb,cannot_call_functions.
11418 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
11419 * gdb.base/callfuncs.exp: Ditto.
11420 * gdb.base/call-rt-st.exp: Ditto.
11421 * gdb.base/call-strs.exp: Ditto.
11422 * gdb.base/callfwmall.exp: Ditto.
11423 * gdb.base/scope.exp: Obsolete xfail a29k.
11424 * gdb.c++/misc.exp: Ditto.
11425 * gdb.c++/cplusfuncs.exp: Ditto.
11426 * gdb.base/ptype.exp: Ditto.
11427 * gdb.base/printcmds.exp: Ditto.
11428 * gdb.base/opaque.exp: Ditto.
11429 * gdb.base/list.exp: Ditto.
11430 * gdb.base/funcargs.exp: Ditto.
11431 * gdb.base/default.exp: Ditto.
11432
8ddad156
MS
114332002-01-04 Michael Snyder <msnyder@redhat.com>
11434
ca4976a6 11435 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
11436 * gdb.base/maint.exp: Add tests for maint info sections options.
11437
1b074332
JL
11438Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
11439
11440 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
11441
7d159115
CV
114422001-12-20 Corinna Vinschen <vinschen@redhat.com>
11443
11444 * gdb.asm/arm.inc: New file.
11445 * gdb.asm/asm-source.exp: Add arm targets.
11446 * gdb.asm/configure.in: Ditto.
11447 * gdb.asm/configure: Recreated from configure.in.
11448
8fb87725
JL
11449Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
11450
afabe08c
JL
11451 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
11452 with HP's compiler.
11453 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
11454 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
11455 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
11456 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
11457
11458 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
11459 either HP's compilers or GCC.
11460
db521deb
JL
11461 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
11462 a SIGBUS or SIGSEGV.
11463
11464 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
11465
11466 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
11467 can be compiled with either HP's compiler or GCC.
11468
cfa88ab7
JL
11469 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
11470 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
11471 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
11472
ca344dff
JL
11473 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
11474 to match current gdb output. Update due to using auto-solib-limit
11475 for limiting instead of overloading auto-solib-add.
11476 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
11477 test program.
11478
3f3c6e55 11479 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
11480 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
11481 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
11482 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
11483 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
11484 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
11485 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
11486 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
11487 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
11488 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
11489 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
11490 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
11491 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 11492
8fb87725
JL
11493 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
11494 a SIGTRAP to the inferior.
11495
cf599fa7
CV
114962001-12-19 Corinna Vinschen <vinschen@redhat.com>
11497
11498 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
11499 Substitute call to target_link by call to gdb_compile.
11500
2cd045cd
JL
11501Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
11502
a9c64011
AS
11503 * gdb.base/break.exp: Fix HP specific search string when testing
11504 backtracing in a called function.
2cd045cd 11505
a9c64011
AS
11506 * gdb.base/constvars.exp: Only set lang to C++ if we're
11507 compiling the test with HP's compilers.
11508 * gdb.base/volatile.exp: Similarly.
2cd045cd 11509
99ebe9ac
JB
115102001-12-19 Jim Blandy <jimb@redhat.com>
11511
11512 * gdb.base/printcmds.exp: Expect the null character to be printed
11513 as '\0', and the '\013' to be printed as '\v'.
11514 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
11515 * gdb.base/setvar.exp: Same.
11516
b9891b29
JB
115172001-12-17 Jim Blandy <jimb@redhat.com>
11518
0eba65ab
JB
11519 * gdb.base/completion.exp: Rather than completing very long
11520 filenames, which can make the readline library produce output we
11521 don't recognize, cd to the directory first, and then complete
11522 using nice, short relative paths.
11523
6970b5b1
JB
11524 * gdb.base/completion.exp: On some systems, there is, in fact, a
11525 variable named `b' in scope, since GDB treats all static
a9c64011
AS
11526 variables as being in scope. So use `no_var_named_this'
11527 instead of `b'.
6970b5b1 11528
b9891b29
JB
11529 * gdb.base/corefile.exp: Recognize the message saying that GDB
11530 can't find the core file's registers as a failure.
11531
e6ccd35f
JSC
115322001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
11533
a9c64011
AS
11534 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
11535 test expect string more specific.
e6ccd35f 11536
105ba819
CV
115372001-12-13 Corinna Vinschen <vinschen@redhat.com>
11538
11539 * gdb.asm/asm-source.exp: Add support for xstormy16.
11540 * gdb.asm/configure.in: Ditto.
11541 * gdb.asm/configure: Rebuild.
11542 * gdb.asm/xstormy16.inc: New file.
11543
e9e79dd9
FF
115442001-12-10 Fred Fish <fnf@redhat.com>
11545
11546 * gdb.base/maint.exp: Update to match changes in type dumping code.
11547
347dc97d
JB
115482001-12-10 Jim Blandy <jimb@redhat.com>
11549
11550 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
11551 matching the entry point symbol's name at the beginning of the
11552 line.
11553
5178b9d6
DJ
115542001-12-07 Daniel Jacobowitz <drow@mvista.com>
11555
11556 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
11557 gdb.c++/inherit.exp, gdb.c++/method.exp,
11558 gdb.c++/namespace.exp, gdb.c++/templates.exp,
11559 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
11560 and class layout support.
11561
af890c52
DJ
115622001-12-07 Daniel Jacobowitz <drow@mvista.com>
11563
11564 * gdb.c++/classes.exp: Add test for static member function.
11565 * gdb.c++/misc.cc: Add class with static member function.
11566
7a345fb3
JB
115672001-12-07 Jim Blandy <jimb@redhat.com>
11568
f2e54a80 11569 If GDB says it can't find the struct the function returned, report
8032bf31
JB
11570 those tests as `unsupported'.
11571 * gdb.base/call-rt-st.exp (print_struct_call): New function.
11572 Rewrite subsequent tests to use it.
11573
11574 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
11575 those tests as `unsupported'.
11576 * gdb.base/structs.exp (call_struct_func): New function.
11577 (do_function_calls): Use call_struct_func to call the functions
11578 returning structs.
11579
0bc69509
JB
11580 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
11581 whether functions are prototyped or not, so we can't possibly pass
11582 arguments to t_float_values2 properly.
11583
7a345fb3
JB
11584 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
11585 value of `timeout' for targets other than the mips*tx39-*.
11586
edb6ede1
MS
115872001-12-06 Michael Snyder <msnyder@redhat.com>
11588
d63a86f8 11589 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
11590 and detect whether the start symbol has a leading underscore.
11591
2d842f13
JB
115922001-12-04 Jim Blandy <jimb@redhat.com>
11593
11594 * gdb.base/completion.exp: Clarify indentation.
11595
68550daf
JB
115962001-12-03 Jim Blandy <jimb@redhat.com>
11597
11598 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
11599 variables on the S/390, not `.word'.
11600
cd5195a8
JB
116012001-11-30 Jim Blandy <jimb@redhat.com>
11602
11603 Add assembly-source tests for s390-ibm-linux.
11604 * gdb.asm/s390.inc: New file.
11605 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
11606 the S/390 architecture.
a9c64011 11607 * gdb.asm/configure: Regenerated.
cd5195a8 11608
ca9efc90
MS
116092001-11-30 Michael Snyder <msnyder@redhat.com>
11610
11611 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
11612 next, info source, info sources, info line, global and static
11613 variables, and static functions.
11614 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
11615 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
11616 * gdb.asm/asmsrc1.s: Add a static function and some variables.
11617 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
11618 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
11619 (gdbasm_leave): Restore frame pointer.
11620 (gdbasm_startup): Copy stack set-up from crt0.S.
11621
d0e66976
FN
116222001-11-26 Fernando Nasser <fnasser@redhat.com>
11623
11624 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
11625 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
11626 to a local (non-static) variable. Copy tstruct.a to a static buffer
11627 and return a pointer to that buffer.
11628 * gdb.base/callfwmall.c (t_structs_a): Ditto.
11629
e2334072
MK
116302001-11-24 Mark Kettenis <kettenis@gnu.org>
11631
11632 * gdb.asm/configure.in: Fix recognition of ix86 target.
11633 * gdb.asm/configure: Regenerate.
11634
756caa3d
MS
116352001-11-21 Michael Snyder <msnyder@redhat.com>
11636
11637 * gdb.asm/sparc.inc: New file.
11638 * gdb.asm/asm-source.exp: Recognize sparc target.
11639 * gdb.asm/configure.in: Recognize sparc target.
11640 * gdb.asm/configure: Regenerate.
d63a86f8 11641
9a4d72d5
MS
116422001-11-21 Michael Snyder <msnyder@redhat.com>
11643
11644 * gdb.asm/m32r.inc: New file.
11645 * gdb.asm/asm-source.exp: Recognize m32r target.
11646 * gdb.asm/configure.in: Recognize m32r target.
11647 * gdb.asm/configure: Regenerate.
11648
a773d1cd
MS
116492001-11-20 Michael Snyder <msnyder@redhat.com>
11650
017ac23d
MS
11651 * gdb.asm/i386.inc: New file.
11652 * gdb.asm/asm-source.exp: Recognize ix86 target.
11653 * gdb.asm/configure.in: Recognize ix86 target.
11654 * gdb.asm/configure: Regenerate.
11655
a773d1cd
MS
11656 * gdb.c++/namespace.exp: Fix quotes in output messages.
11657
bb632afb
MS
116582001-11-14 Michael Snyder <msnyder@redhat.com>
11659
25d559ca 11660 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
11661 qualifier in a type cast expression, to designate an address
11662 in the instruction space (Harvard architecture).
11663
4749e309
MS
116642001-11-13 Michael Snyder <msnyder@redhat.com>
11665
11666 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
11667 Tests for expressions using 'const' and 'volatile'.
11668
25050984
CV
116692001-11-13 Corinna Vinschen <vinschen@redhat.com>
11670
11671 * gdb.asm/asm-sources.exp: Allow defining linker flags.
11672
1902c51f
DJ
116732001-11-12 Daniel Jacobowitz <drow@mvista.com>
11674
11675 * lib/mi-support.exp (mi_run_to_helper): Move comments
11676 outside of gdb_expect.
11677
dcf95b47
DJ
116782001-11-11 Daniel Jacobowitz <drow@mvista.com>
11679
11680 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
11681 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
11682 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
11683 mi0_run_to): New functions.
11684 * gdb.mi/mi-simplerun.exp: Use them.
11685 * gdb.mi/mi0-simplerun.exp: Likewise.
11686 * gdb.mi/mi-var-cmd.exp: Likewise.
11687 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 11688
45b074e1
AC
116892001-11-10 Andrew Cagney <ac131313@redhat.com>
11690
11691 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
11692 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
11693
bf50d346
AC
116942001-11-09 Andrew Cagney <ac131313@redhat.com>
11695
11696 * gdb.base/restore.exp: Include $expected value in restored test
11697 message.
11698
9383332c
AC
116992001-11-09 Andrew Cagney <ac131313@redhat.com>
11700
11701 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
11702 implemented.
11703
db62520a
MS
117042001-11-08 Michael Snyder <msnyder@redhat.com>
11705
11706 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
11707 Add pass/fail message for stop at breakpoint in call dummy function.
11708
b5703437
MS
117092001-11-07 Michael Snyder <msnyder@redhat.com>
11710
d63a86f8
RM
11711 * gdb.c++/templates.exp (test_template_breakpoints):
11712 If we get an overload menu, but it does not match what
760f6330 11713 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
11714 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
11715 making the whitespace optional. Argument for "new" may be
11716 "unsigned" as well as "unsigned int/long".
d63a86f8 11717 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
11718 making the whitespace optional. Also replace "(void) with
11719 "((void|)), making the keyword "void" optional.
d63a86f8 11720 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
11721 making the whitespace optional. Also replace "(void) with
11722 "((void|)), making the keyword "void" optional.
3bf40917
MS
11723 * gdb.base/callfuncs.c (t_float_values): This function must
11724 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 11725 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
11726 can be tested against both cases. Usually one case involves
11727 promotion of float to double, while the other does not.
11728 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
11729 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
11730 includes a stack frame for "start".
11731
c8ab4e6d
JB
117322001-11-05 Jim Blandy <jimb@redhat.com>
11733
11734 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
11735 pointers are 32 bits long, and that offsets of relocs are always
11736 stored in the data (REL-style), and not in the reloc entry itself
11737 (RELA-style).
11738 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
11739 stabs.
11740
3f08ced9
MS
117412001-11-01 Michael Snyder <msnyder@redhat.com>
11742
11743 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
11744 and regular expression operators by using quoting.
11745
cbfa24cd
MS
117462001-10-31 Michael Snyder <msnyder@redhat.com>
11747
11748 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
11749 depending on what the symbol table contains.
11750 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
11751 the output of the ptype command. Similarly, accept both "const &"
11752 and "const&".
11753
aaa68313
CV
117542001-10-31 Corinna Vinschen <vinschen@redhat.com>
11755
11756 * gdb.base/miscexprs.c (main): Add usage of preprocessor
11757 symbol `STORAGE' to allow to choose the storage class of
11758 the local datastructures.
11759 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
11760 compiler directive.
11761
91740388
MS
117622001-10-30 Michael Snyder <msnyder@redhat.com>
11763
11764 * gdb.base/jump.exp: Allow it to run for all targets.
11765
1b7c05e7
CV
117662001-10-29 Corinna Vinschen <vinschen@redhat.com>
11767
11768 * gdb.base/call-ar-st.c (print_double_array): Match for loop
11769 with new double_array size.
11770 (main): Change storage class of all local variables to static.
11771 Reduce size of double_array to 9.
11772 * gdb.base/call-ar-st.exp: Increase timeout value.
11773 Change expected output for double array to match new size in
11774 call-ar-st.c.
11775
36a22261
CV
117762001-10-29 Corinna Vinschen <vinschen@redhat.com>
11777
11778 * gdb.base/ending-run.exp: Create identical output when passing
11779 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 11780 Stormy16 target.
36a22261 11781
92b8ae91
MK
117822001-10-28 Mark Kettenis <kettenis@gnu.org>
11783
11784 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
11785 that we catch the expected failure under Linux/x86.
11786
cb135b83
OF
117872001-10-29 Orjan Friberg <orjanf@axis.com>
11788
11789 * gdb.base/setvar.exp: Escape curly braces.
11790 * gdb.stabs/weird.exp: Ditto.
11791
6884aa54
DJ
117922001-10-27 Daniel Jacobowitz <drow@mvista.com>
11793
11794 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
11795 * gdm.mi/mi0-hack-cli.exp: Likewise.
11796
0398c9aa
AC
117972001-10-25 Andrew Cagney <ac131313@redhat.com>
11798
11799 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
11800 messages.
11801
d20bf2e8
AC
118022001-10-21 Andrew Cagney <ac131313@redhat.com>
11803
11804 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
11805 checking MI enabled.
11806
03dd63aa
CV
118072001-10-09 Corinna Vinschen <vinschen@redhat.com>
11808
11809 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
11810
1d9d99f3
FCE
118112001-10-04 Frank Ch. Eigler <fche@redhat.com>
11812
11813 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
11814 if gdb child process crashes, just signal an error.
11815
838ae6c4
JB
118162001-10-02 Jim Blandy <jimb@redhat.com>
11817
11818 * lib/gdb.exp (test_xfail_format): Simplify.
11819
11820 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
11821 front of the variable name `format'. Simplify `if'.
11822
8f0cbc1c
DJ
118232001-10-01 Daniel Jacobowitz <drow@mvista.com>
11824
11825 * gdb.threads/pthreads.exp: Wait for output and delay
11826 before sending ^C.
11827
1f08dafd
DJ
118282001-10-01 Daniel Jacobowitz <drow@mvista.com>
11829
11830 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
11831 some incorrect output instead of timing out.
11832 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
11833
674f90ff
CV
118342001-09-28 Corinna Vinschen <vinschen@redhat.com>
11835
11836 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
11837 check to allow additional `int'.
11838
9b284272
DJ
118392001-09-27 Daniel Jacobowitz <drow@mvista.com>
11840
11841 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
11842 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
11843
b55a4771
MS
118442001-09-27 Michael Snyder <msnyder@redhat.com>
11845
11846 * lib/gdb.exp (test_debug_format): New proc.
11847 (setup_xfail_format): Use new proc test_debug_format.
11848 * gdb.base/constvars.exp (local_compiler_xfail_check): New
11849 proc; use new service proc test_debug_format.
11850 Replace all other "gcc_compiled" tests with this test.
11851 * gdb.base/volatile.exp (local_compiler_xfail_check): New
11852 proc; use new service proc test_debug_format.
11853 Replace all other "gcc_compiled" tests with this test.
11854
118552001-09-27 Michael Snyder <msnyder@redhat.com>
11856
11857 * gdb.base/cvexpr.exp: New file.
11858 * gdb.base/cvexpr.c: New file
11859 Test for expressions using const and volatile keywords.
11860
4e6667ac
CV
118612001-09-26 Corinna Vinschen <vinschen@redhat.com>
11862
11863 * gdb.base/constvars.exp: Check for different orders of keywords
11864 and additional "int" strings in output.
11865
4f337972
AC
118662001-09-22 Andrew Cagney <ac131313@redhat.com>
11867
11868 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
11869 responses from "help maint".
11870
2015650d
FCE
118712001-09-19 Frank Ch. Eigler <fche@redhat.com>
11872
11873 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
11874 to localhost:NNN instead of :NNN, in case Xvfb is listening
11875 only on TCP.
11876
f3bcedc1
CV
118772001-09-19 Corinna Vinschen <vinschen@redhat.com>
11878
11879 * gdb.base/recurse.exp: When checking leaving the watchpoint
11880 scope, recognize when gdb is in function's epilogue and pass.
11881
6b819c92
KS
118822001-09-18 Keith Seitz <keiths@redhat.com>
11883
11884 * lib/insight-support.exp (_gdbtk_export_target_info): Add
11885 support for running tests against sid targets.
11886 (gdbtk_done): Ditto.
11887
a10c9419
CV
118882001-09-18 Corinna Vinschen <vinschen@redhat.com>
11889
11890 * gdb.base/ending-run.c (main): Set stdout buffersize
11891 to the same reasonable value for any target.
11892 * gdb.base/ending-run.exp: Add a regular expression
11893 to make testsuite happy on Sanyo Stormy16 target.
11894
739d0d99
CV
118952001-09-17 Corinna Vinschen <vinschen@redhat.com>
11896
11897 * gdb.base/display.c (do_loops): Add float variable `f'.
11898 Increment f in loop.
11899 * gdb.base/display.exp: Increment timeout by 60 seconds.
11900 Change float display test to use variable `f'.
11901
1b8947f0
JB
119022001-09-17 Jim Blandy <jimb@redhat.com>
11903
11904 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
11905 overflowing the limited breakpoint tables on some ROM monitors
11906 (like the ROM68K).
11907
9890ac81
FCE
119082001-09-15 Frank Ch. Eigler <fche@redhat.com>
11909
11910 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
11911 the "-ac" (disable access control) flag.
11912
6db765ea
JH
119132001-08-30 Jeff Holcomb <jeffh@redhat.com>
11914
11915 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
11916 ints.
11917
4c32cc04
KS
119182001-08-30 Keith Seitz <keiths@redhat.com>
11919
11920 * lib/gdb.exp: Move all insight-related functionality into
11921 separate file.
11922 * lib/insight-support.exp: New file.
11923
8d6e6f81
FCE
119242001-08-29 Frank Ch. Eigler <fche@redhat.com>
11925
11926 * config/sid.exp (sid_start): Never set sid verbosity; disable
11927 expect_background {} that consumed its stdout; tolerate </dev/null.
11928 Attempt to set endianness override in "sid" protocol mode. Cleanup.
11929
6a90e1d0
AC
119302001-08-18 Andrew Cagney <ac131313@redhat.com>
11931
11932 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
11933 CLI jump command to start it.
11934 (mi_run_to_main): Fail immediatly when unexpected output.
11935
1759b3c3
AC
119362001-08-18 Andrew Cagney <ac131313@redhat.com>
11937
11938 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
11939 beginning of function. Fix PR gdb/191.
11940
61d11d80
FCE
119412001-08-16 Frank Ch. Eigler <fche@redhat.com>
11942
11943 * config/sid.exp (sid_start): Don't warn if we cannot figure out
11944 what to force sid endianness to.
11945
942a4df2
KS
119462001-08-15 Keith Seitz <keiths@redhat.com>
11947
11948 * lib/gdb.exp (gdbtk_start): Don't set environment
11949 variables for TCL_LIBRARY and friends. Insight will
11950 now figure these out for itself.
11951
0521c418
MS
119522001-08-02 Michael Snyder <msnyder@redhat.com>
11953
11954 * gdb.base/completion.exp: Remove the symbol "a64l" from
11955 the expect string; this is target-specific, and not related
11956 to what is being tested.
11957
74a9a58a
DB
119582001-08-02 Dave Brolley <brolley@redhat.com>
11959
11960 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
11961
c70819fa
MS
119622001-07-25 Michael Snyder <msnyder@redhat.com>
11963
c2b8fa57
MS
11964 * gdb.base/consecutive.exp: New file. Test stepping over
11965 breakpoints on consecutive instructions.
11966 * gdb.base/consecutive.c: New file.
11967
c70819fa
MS
11968 * gdb.base/call-rt-st.exp: Use double-backslash to quote
11969 curly braces in regular expressions.
11970
2b1a1355
MS
119712001-07-25 Michael Snyder <msnyder@redhat.com>
11972
11973 * gdb.base/ending-run.exp: Accept "Program exited normally" as
11974 legitimate output from stepping out of main.
11975
413eca6f
KS
119762001-07-22 Keith Seitz <keiths@redhat.com>
11977
11978 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
11979 the empty string, do not run the tests.
11980
7e5a9322
SC
119812001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11982
11983 * gdb.base/long_long.exp: Detect size of pointer. Take into
11984 account 2-byte pointers when testing for p/a results.
11985
de58f10f
SC
119862001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11987
d63a86f8 11988 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
11989 and defined to 1K for m68hc11.
11990 (random_data): Reduce table to 1K for embedded platforms (68hc11).
11991 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
11992 (sizeof_random_data): New variable to tell the size of the data table;
11993 don't test past this size; always run to main.
11994
d6f5fea1
SC
119952001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11996
11997 * gdb.base/return2.exp: return of long long and double fails for
11998 68HC11; don't execute these tests on that platform.
11999 * gdb.base/return.exp: Return of a double fails for 68hc11.
12000
c477543d
SC
120012001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12002
12003 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
12004 tests that print a float.
12005 * call-rt-st.exp: Likewise.
12006
63cf1c79
MK
120072001-07-12 Mark Kettenis <kettenis@gnu.org>
12008
12009 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
12010 running this test on Linux.
12011
112f9ab5
MC
120122001-06-24 Michael Chastain <chastain@redhat.com>
12013
12014 * gdb.base/arithmet.exp: Remove some tests to make all test names
12015 unique.
12016
4970cb0f
MS
120172001-07-03 Michael Snyder <msnyder@redhat.com>
12018
12019 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
12020 the output of the ptype command.
12021
d85da69f
MS
120222001-07-02 Michael Snyder <msnyder@redhat.com>
12023
4c8a82de
MS
12024 * gdb.base/completion.exp: Don't assume that break.c is the only
12025 source file that may contain functions named "marker".
d85da69f
MS
12026 * gdb.base/corefile.exp: Quote the curly braces in regexp.
12027
8afc772b
AC
120282001-06-28 Andrew Cagney <ac131313@redhat.com>
12029
12030 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
12031 of files to delete.
12032
12033 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
12034 * gdb.disasm/h8300s.exp: New file.
12035 gdb.disasm/h8300s.s: Likewise.
12036
cff22675
AC
120372001-06-27 Andrew Cagney <ac131313@redhat.com>
12038
12039 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
12040 empty breakpoint tables.
12041
68c81b54
AC
120422001-06-25 Andrew Cagney <ac131313@redhat.com>
12043
12044 * lib/mi-support.exp: Update args=... part of stop-reason
12045 patterns. Accept either a list or a tuple.
12046
2dd62704
AC
120472001-06-23 Andrew Cagney <ac131313@redhat.com>
12048
12049 * lib/mi-support.exp: Remove local emacs variable defining
12050 change-log-default-name.
12051
b4127474
MC
120522001-06-22 Michael Chastain <chastain@redhat.com>
12053
12054 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
12055 This is operationally compatible with the previous version.
12056
8dbfb380
JB
120572001-06-13 Jim Blandy <jimb@redhat.com>
12058
12059 * lib/gdb.exp (gdb_test): Doc fix.
12060
f2d8c86d
MC
120612001-06-10 Michael Chastain <chastain@redhat.com>
12062
12063 * gdb.base/exprs.exp: Remove a duplicate test.
12064
81564d34
JB
120652001-06-06 Jim Blandy <jimb@redhat.com>
12066
12067 * gdb.base/return2.exp (main): Use values to test float and double
12068 returns that are not NaN's, to avoid being confused by IEEE
12069 comparison rules.
12070
da55addb
MS
120712001-06-04 Michael Snyder <msnyder@redhat.com>
12072
12073 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 12074 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
12075 rather than wait for 12 more tests to time out.
12076
42c65987
JB
120772001-06-06 Jim Blandy <jimb@redhat.com>
12078
b18bced9 12079 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 12080 Don't forget to match the GDB prompt.
b18bced9 12081
42c65987
JB
12082 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
12083
5b41e5f0
JB
120842001-06-04 Jim Blandy <jimb@redhat.com>
12085
12086 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
12087 command.
12088
015e046f
KB
120892001-05-31 Kevin Buettner <kevinb@redhat.com>
12090
12091 * gdb.base/annota1.exp (info break): Match four or more spaces
12092 after "Address".
12093
fb1ffbbe
MC
120942001-05-31 Michael Chastain <chastain@redhat.com>
12095
12096 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
12097 (dm_type_int_star): Likewise.
12098 (dm_type_long_star): Likewise.
12099 (dm_type_void_star): Likewise.
12100
5ea2a32c
KB
121012001-05-29 Kevin Buettner <kevinb@redhat.com>
12102
12103 * gdb.base/completion.exp (INPUTRC): Set this environment variable
12104 to a known value in order to get consistent results regardless
12105 of the setting of INPUTRC or the presence or contents of .inputrc.
12106
ae23c492
MS
121072001-05-24 Michael Snyder <msnyder@redhat.com>
12108
ac55707e
MS
12109 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
12110 Don't require that the main thread and the manager thread are the
12111 first in the list.
12112
ae23c492
MS
12113 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
12114 debugging. If test fails, issue an "unsupported" not a "fail".
12115
400071f1
JB
121162001-05-24 Jim Blandy <jimb@redhat.com>
12117
12118 Don't assume that short is shorter than int.
12119 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
12120 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 12121 this isn't true.
400071f1
JB
12122 ("print unsigned char == (~0)"): Add test that verifies that ~0,
12123 an int, is not equal to ~0 stored in an unsigned char. This tests
12124 the same thing that the previous test meant to, but works on
12125 16-bit machines, too.
12126 ("print unsigned char != (~0)"): Same test, complemented.
12127
0816a3e5
MS
121282001-05-24 Michael Snyder <msnyder@redhat.com>
12129
12130 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 12131 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
12132 and prevents dejagnu getting out of step.
12133
f6dc23a9
KB
121342001-05-23 Kevin Buettner <kevinb@redhat.com>
12135
12136 * gdb.base/finish.exp (finish_void): Revise pattern for
12137 stopping on the call statement to not permit stopping at
12138 the start of the instructions comprising the call sequence.
12139
7dbd117d
MC
121402001-05-19 Michael Chastain <chastain@redhat.com>
12141
12142 * gdb.base/callfuncs.exp: Make all test names unique.
12143 * gdb.base/commands.exp: Make all test names unique.
12144 * gdb.base/condbreak.exp: Make all test names unique.
12145 * gdb.base/dbx.exp: Make all test names unique.
12146 * gdb.base/default.exp: Make all test names unique.
12147 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
12148 and TIMEOUT messages to their corresponding PASS message.
12149 * gdb.base/ending-run.exp: Make all test names unique.
12150 * gdb.base/long_long.exp: Remove duplicate test.
12151
6b0b0a9e
KB
121522001-05-21 Kevin Buettner <kevinb@redhat.com>
12153
12154 * gdb.base/finish.exp (finish_void): Allow "finish" command to
12155 stop on the call statement as well as the statement after the
12156 call.
12157
2caa35cb
MS
121582001-05-21 Michael Snyder <msnyder@redhat.com>
12159
12160 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
12161
40713331
EZ
121622001-05-10 Elena Zannoni <ezannoni@redhat.com>
12163
a9c64011
AS
12164 * gdb.base/completion.exp: Revamp test. Make it execute on all
12165 platforms.
40713331 12166
c2c1be8d
EZ
121672001-05-10 Elena Zannoni <ezannoni@redhat.com>
12168
a9c64011
AS
12169 * config/gdbserver.exp (gdb_load): Handle the case
12170 in which the arguments to gdbserver are given in the
12171 baseboard configuration file.
12172 Also handle the case in which the server needs to do a
12173 load.
2c9cd303 12174
9671de48
KS
121752001-05-07 Keith Seitz <keiths@cygnus.com>
12176
a9c64011
AS
12177 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
12178 set up the display for testing.
12179 (gdbtk_start): Convert all paths to paths that tcl will like.
12180 Export target information to environment.
12181 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
12182 necessary.
12183 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
12184 (to_tcl_path): New proc to convert a given pathname into
12185 a path acceptible as an argument to a tcl command.
12186 (_gdbtk_export_target_info): New proc to export target info
12187 into the environment for gdbtk testing.
12188 (gdbtk_done): New proc to signal end-of-test.
9671de48 12189
5a360f47
JB
121902001-05-06 Jim Blandy <jimb@redhat.com>
12191
12192 * restore.c: Make the code of caller0 correspond to its comment.
12193
66c756c6
MS
121942001-05-03 Michael Snyder <msnyder@redhat.com>
12195
12196 * config/sid.exp (gdb_target_sid): Check for error messages.
12197 On error or timeout, don't make expect exit (which will terminate
12198 all subsequent tests); instead just make gdb exit.
d63a86f8 12199 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
12200 return a negative value.
12201
a966fde5
JB
122022001-04-24 Jim Blandy <jimb@redhat.com>
12203
851c18e0
JB
12204 * gdb.c++/templates.exp: If we see the prompt for the overload
12205 list, but we haven't recognized any of the longer patterns,
12206 arrange for this test to fail, not hang.
12207
a966fde5
JB
12208 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
12209 variations.
12210
db144853
MC
122112001-04-22 Michael Chastain <chastain@redhat.com>
12212
12213 * gdb.c++/local.exp: Use the 'runto' library function.
12214 * gdb.c++/namespace.exp: Likewise.
12215 * gdb.c++/overload.exp: Likewise.
12216
3207ec21
KB
122172001-03-26 Kevin Buettner <kevinb@redhat.com>
12218
12219 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
12220 * gdb.base/step-line.exp: New file. Test step/next in presence of
12221 #line directives.
12222 * gdb.base/step-line.c: New file. Test program for the above.
12223 * gdb.base/step-line.inp: New file. We pretend that this file has
12224 been transformed by some other tool into step-line.c.
12225
13b57657
JB
122262001-03-21 Jim Blandy <jimb@redhat.com>
12227
12228 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
12229 unmangled operator names.
12230
754cbe1c
JB
122312001-03-20 Jim Blandy <jimb@redhat.com>
12232
12233 * gdb.threads/linux-dp.exp: Recognize an additional message
12234 generated by GDB when it doesn't understand how to debug threads
12235 on the target system.
12236
177495c9
AC
122372001-03-19 Andrew Cagney <ac131313@redhat.com>
12238
12239 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
12240
f266096b
MC
122412001-03-12 Michael Chastain <chastain@redhat.com>
12242
12243 * gdb.c++/derivation.exp: Use the 'runto' library function.
12244
cac3c2ff
MC
122452001-03-12 Michael Chastain <chastain@redhat.com>
12246
12247 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
12248
b6c11a24
MC
122492001-02-24 Michael Chastain <chastain@redhat.com>
12250
12251 * gdb.c++/ref-types.exp: Change handwritten code to library
12252 function 'runto'.
12253
6bae5bce
OF
122542001-03-16 Orjan Friberg <orjanf@axis.com>
12255
12256 * gdb.base/signals.exp: Set count to 0 explicitly.
12257
0015fd9a
MS
122582001-03-15 Mark Salter <msalter@redhat.com>
12259
12260 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
12261 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
12262 (gdb_load): Add support for additional target_info: gdb_download_size
12263 and gdb_load_timeout.
0015fd9a 12264
fc33412a
DT
12265Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
12266
12267 * gdb.base/annota1.exp: Move test of isnative to earlier in the
12268 file -- to prevent failing when the compile fails but we have no
12269 intention of running the tests anyway.
12270
12271 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
12272 tests if set.
12273
12274 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
12275 integers.
12276
12277 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
12278 * gdb.c++/namespace.exp: Ditto.
12279
115f06de
OF
122802001-03-07 Orjan Friberg <orjanf@axis.com>
12281
12282 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
12283 * gdb.base/pointers.exp: Relax pattern match of decimals.
12284
b6ba6518
KB
122852001-03-06 Kevin Buettner <kevinb@redhat.com>
12286
12287 * Makefile.in, config/abug.exp, config/cfdbug.exp,
12288 config/cpu32bug.exp, config/dve.exp, config/est.exp,
12289 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
12290 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
12291 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
12292 config/sh.exp, config/sid.exp, config/slite.exp,
12293 config/sparclet.exp, config/udi.exp, config/unknown.exp,
12294 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
12295 config/vxworks.exp, config/vxworks29k.exp,
12296 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
12297 gdb.base/all-bin.exp, gdb.base/annota1.exp,
12298 gdb.base/arithmet.exp, gdb.base/assign.exp,
12299 gdb.base/async.exp, gdb.base/attach.exp,
12300 gdb.base/bitfields.exp, gdb.base/bitops.exp,
12301 gdb.base/break.exp, gdb.base/call-ar-st.exp,
12302 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
12303 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
12304 gdb.base/commands.exp, gdb.base/completion.exp,
12305 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
12306 gdb.base/constvars.exp, gdb.base/corefile.exp,
12307 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
12308 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
12309 gdb.base/ending-run.exp, gdb.base/environ.exp,
12310 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
12311 gdb.base/finish.exp, gdb.base/foll-exec.exp,
12312 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
12313 gdb.base/funcargs.exp, gdb.base/help.exp,
12314 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
12315 gdb.base/logical.exp, gdb.base/long_long.exp,
12316 gdb.base/maint.exp, gdb.base/mips_pro.exp,
12317 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
12318 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
12319 gdb.base/pointers.exp, gdb.base/printcmds.exp,
12320 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
12321 gdb.base/regs.exp, gdb.base/relational.exp,
12322 gdb.base/remote.exp, gdb.base/reread.exp,
12323 gdb.base/restore.exp, gdb.base/return2.exp,
12324 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
12325 gdb.base/selftest.exp, gdb.base/setshow.exp,
12326 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
12327 gdb.base/sigall.exp, gdb.base/signals.exp,
12328 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
12329 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
12330 gdb.base/step-test.exp, gdb.base/structs.c,
12331 gdb.base/structs.exp, gdb.base/structs2.exp,
12332 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
12333 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
12334 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
12335 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
12336 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
12337 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
12338 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
12339 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
12340 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
12341 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
12342 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
12343 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
12344 gdb.fortran/types.exp, gdb.java/jmisc.exp,
12345 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
12346 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
12347 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12348 gdb.trace/circ.exp, gdb.trace/collection.exp,
12349 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
12350 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12351 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
12352 gdb.trace/report.exp, gdb.trace/save-trace.exp,
12353 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12354 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
12355 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
12356 notices.
12357
dc96c6c7 123582001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
12359
12360 * gdb.base/varargs.c (find_max_double): Fix printf format string:
12361 first arg is int not float.
12362
dc96c6c7 123632001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
12364
12365 * gdb.base/reread.exp: Unsupported for non-native targets;
12366 doesn't work for remote debugging.
12367
9b0c4aeb
FN
123682001-02-19 Fernando Nasser <fnasser@redhat.com>
12369
12370 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
12371 * gdb.base/ending-run.exp: Properly handle the BSP state when
12372 stepping past the end of main.
9b0c4aeb 12373
02aa71d5
MC
123742001-02-19 John Moore <jmoore@redhat.com>
12375
12376 * gdb.base/commands.exp (infrun_breakpoint_command_test):
12377 Converted HPUX fix for non-expected items following multiple
12378 step commands into general solution for all platforms.
12379
1fa449a4
MC
123802001-02-18 Michael Chastain <chastain@redhat.com>
12381
12382 * gdb.c++/classes.exp (do_tests): Change runto statements
12383 from "runto 'foo(void)'" to "runto 'foo'". This makes the
12384 statements demangler agnostic.
12385 * gdb.c++/virtfunc.exp (do_tests): Likewise.
12386 (gdb_virtfunc_restart): Likewise.
12387
b2f9ec70
MC
123882001-02-14 Michael Chastain <chastain@redhat.com>
12389
12390 * gdb.c++/inherit.exp (do_tests): Change runto statements
12391 from "runto 'foo(void)'" to "runto 'foo'". This makes the
12392 statements demangler agnostic.
12393
cf74b8ca
AC
12394Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
12395
12396 * gdb.threads/pthreads.exp: Unify pass/fail messages for
12397 ``continue to bkpt at common_routine in thread 2'' and ``stopped
12398 before calling common_routine 15 times'' tests.
12399
99f78f56
MC
124002001-02-11 Michael Chastain <chastain@redhat.com>
12401
12402 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
12403 Helps the test script figure out which demangler is in use.
12404 (dm_type_foo_ref): Ditto.
12405 (dm_type_int_star): Ditto.
12406 (dm_type_long_star): Ditto.
12407 (dm_type_unsigned_int): Ditto.
12408 (dm_type_void): Ditto.
12409 (dm_type_void_star): Ditto.
99707966 12410 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
12411 Probe the gdb demangler and set variables to accommodate
12412 formatting differences.
12413 (info_func_regexp): New function. Same as info_func, but
12414 matches against a regexp.
12415 (info_func): Match against a literal string.
12416 (print_addr_2): New function. Match against a literal string,
12417 which can be different from the input to gdb.
12418 (print_addr): Simply call print_addr_2 with the same argument twice.
12419 (test_lookup_operator_functions): Use demangler formatting variables.
12420 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
12421 the tests in the same order as the C++ class declaration.
12422 (test_paddr_operator_functions): Ditto.
12423 (test_paddr_overloaded_functions): Ditto.
12424 (test_paddr_hairy_functions): Use demangler formatting variables.
12425 Add reference to gdb/19 for related tests.
12426 (do_tests): Call probe_demangler.
12427
1de8f023
KB
124282001-01-30 Kevin Buettner <kevinb@redhat.com>
12429
12430 * gdb.c++/templates.cc (printf): Remove unused function definition.
12431
ca3f91ed
MS
124322001-01-26 Felix Lee <flee@redhat.com>
12433
12434 * sid.exp (sid_exit): Pass host, not target, to remote_close.
12435
124362001-01-25 matthew green <mrg@redhat.com>
12437
12438 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
12439 up sid.
12440 (sid_exit): Call `remote_pop_conn' after GDB is gone.
12441
124422001-01-25 matthew green <mrg@redhat.com>
12443
12444 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 12445 Deprecate $sid_spawn_id.
ca3f91ed
MS
12446 (sid_exit): Remove code necessary only for `spawn.'
12447
124482001-01-25 matthew green <mrg@redhat.com>
12449
12450 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
12451
fb18ec4a
MC
124522001-01-28 Michael Chastain <chastain@redhat.com>
12453
12454 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
12455 to call when tests fail. It takes gdb out of the overloaded
12456 function choice menu back to the main prompt, so that the test
12457 program stays synchronized.
12458 (set_bp_overloaded): New proc to collect all the common
12459 code for setting a breakpoint on an overloaded name. Calls
12460 take_gdb_out_of_choice_menu when needed.
12461 (menu_overload1arg): New variable to collect the repeated
12462 instances of the expected menu for an overloaded name. Change
12463 the regular expression to handle changes in g++ type encoding:
12464 "void" can be either "void" or "", and "unsigned int" can be
12465 either "unsigned int" or "unsigned".
12466 (continue_to_bp_overloaded): Change regular expressions to handle
12467 changes in g++ type encoding.
12468 (no proc): Call take_gdb_out_of_choice_menu when needed.
12469 Remove redundant calls to "info break". Accept either "canceled"
12470 or "cancelled". Change regular expressions in "info break"
12471 calls to handle changes in g++ type encoding. Give all tests
12472 unique strings.
12473
9c646a6e
BE
124742001-01-17 Ben Elliston <bje@redhat.com>
12475
12476 * config/sid.exp: New file.
12477
9549d9c1
AC
12478Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
12479
12480 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
12481
dc96c6c7 124822000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
12483
12484 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
12485 Add a RE to accept a non-ascii char if one is ever presented.
12486
b4df4f68
FN
124872000-12-20 Fernando Nasser <fnasser@redhat.com>
12488
297dd0fd 12489 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 12490
dc96c6c7 124912000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 12492
d63a86f8 12493 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
12494 in regexp. One '\' does not suffice on Linux.
12495
4a7bddb6
MC
124962000-12-09 Michael Chastain <chastain@redhat.com>
12497
12498 * gdb.base/break.exp (test_clear_command): Use a marker function
12499 rather than 'main' for the test function. Also move this
12500 test to an execution point where the marker function names are
12501 guaranteed to be bound to functions. (Executing tests after a
12502 'finish' from main runs into name conflicts with local names
12503 in __libc_start_main).
12504
dc96c6c7 125052000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
12506
12507 * gdb.base/finish.exp: New test for gdb's "finish" command.
12508 * gdb.base/return2.exp: New test for gdb's "return" command.
12509 * gdb.base/return2.c: New source file for above.
12510
dc96c6c7 125112000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
12512
12513 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
12514 * gdb.base/miscexprs.exp: Ditto.
12515 * gdb.base/pointers.exp: Ditto.
12516 * gdb.c++/derivation.exp: Ditto.
12517 * gdb.c++/local.exp: Ditto.
12518 * gdb.c++/namespace.exp: Ditto.
12519 * gdb.c++/overload.exp: Ditto.
12520 * gdb.c++/ref-types.exp: Ditto.
12521
dc96c6c7 125222000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
12523
12524 * gdb.base/constvars.exp: Test result of "up" command.
12525 * gdb.base/miscexprs.exp: Ditto.
12526 * gdb.base/pointers.exp: Ditto.
12527 * gdb.base/scope.exp: Ditto.
12528 * gdb.c++/derivation.exp: Ditto.
12529 * gdb.c++/local.exp: Ditto.
12530 * gdb.c++/namespace.exp: Ditto.
12531 * gdb.c++/overload.exp: Ditto.
12532 * gdb.c++/ref-types.exp: Ditto.
12533
44097287
FN
125342000-11-22 Michael Chastain <chastain@redhat.com>
12535
12536 * mips_pro.exp: Accept either "middle -> top -> main" or
12537 "middle -> main" in the backtrace, because gcc can optimize
12538 tail calls to jumps. Remove setup_xfail for the hppa case.
12539 Add a comment with the original warning messages from PR 3016,
12540 which was filed in 1993, to preserve them for posterity.
12541
9d2e1bab
ND
125422000-11-17 Nick Duffek <nsd@redhat.com>
12543
12544 * lib/gdb.exp (gdb_test): Override timeout with board info.
12545
1aca8eb7
ND
125462000-11-17 Nick Duffek <nsd@redhat.com>
12547
12548 * gdb.base/display.exp: Don't kill running stub. Add "again" to
12549 the second kill and detach messages.
12550
93076499
ND
125512000-11-17 Nick Duffek <nsd@redhat.com>
12552
12553 * configure.in: Add AC_EXEEXT.
12554 * configure: Regenerate.
12555 * Makefile.in (just-check): Export EXEEXT.
12556 * lib/gdb.exp ($EXEEXT): Import from environment.
12557 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
12558 expect "maint dump-me" on Cygwin.
12559 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
12560 $EXEEXT.
12561
30e87cd3
ND
125622000-11-17 Nick Duffek <nsd@redhat.com>
12563
12564 * gdb.base/break.exp: Test backtrace and finish from called
12565 function on all platforms, not just HP-UX.
12566
dc96c6c7 125672000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
12568
12569 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
12570 code from gdb_target_monitor, so it can be used independantly
12571 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 12572
dc96c6c7 125732000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
12574
12575 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
12576 * gdb.base/corefile.exp: Expect the message "Program is being
12577 debugged already" when we send the "corefile" command, since
12578 the preceeding gdb_load may have connected gdb to a remote target.
12579 * gdb.base/display.exp: Disable hardware watchpoints if new
12580 board info variable "no_hardware_watchpoints" is true.
12581 Replace single-letter commands with more readable ones.
12582 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
12583 if new board info variable "no_hardware_watchpoints" is true.
12584 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
12585 to see if stdio (printf) testing is possible.
12586 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
12587 board info variable "no_hardware_watchpoints" is true. Use new
12588 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
12589
39124dea
FN
125902000-11-13 Fernando Nasser <fnasser@redhat.com>
12591
12592 From Orjan Friberg <orjanf@axis.com>:
12593 * gdb.base/printcmds.exp: Escape curly braces followed by a number
12594 in array print pattern match.
12595
a9e2e984
FN
125962000-11-09 Fernando Nasser <fnasser@redhat.com>
12597
12598 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
12599 spelling "cancelled" to U.S. spelling "canceled" to match changes
12600 made to gdb.
12601 * gdb.c++/ovldbreak.exp: Ditto.
12602
c7db355b
PS
126032000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
12604
12605 * gdb.base/callfuncs.c (main): Moved to end of file, call
12606 t_double_values to initialize the FPU before inferior calls are made.
12607 * gdb.base/callfuncs.exp: Test for register preservation after calling
12608 inferior functions. Add tests for continuining, finishing and
12609 returning from a stop in a call dummy.
12610
dc96c6c7 126112000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
12612
12613 * gdb.base/commands.exp: Break up long lines, and re-indent.
12614
dc96c6c7 126152000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
12616
12617 * config/gdbserver.exp: Rewritten from the ground up, to make it
12618 compatible with the current dejagnu tree, and to make it work with
12619 the new "gdbserver" in libremote.
12620
dc96c6c7 126212000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
12622
12623 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
12624 * gdb.base/varargs.exp: Skip entire test if no printf support.
12625 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
12626 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
12627
dc96c6c7 126282000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
12629
12630 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
12631 no floating point support.
12632 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
12633 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
12634 * gdb.base/call-rt-st.exp: Ditto.
12635 * gdb.base/call-strs.exp: Ditto.
12636
bac5fc66
JG
126372000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
12638
12639 * gdb.base/sizeof.c: include <stdio.h>.
12640
12641 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
12642 'finish', otherwise uncaptured gdb_prompt would potentially
12643 throw remaining test points out of sync.
bac5fc66 12644
b22a6027
SB
126452000-07-26 Scott Bambrough <scottb@netwinder.org>
12646
12647 * gdb.base/recurse.exp: Run tests for all targets.
12648 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
12649 gnu-oldld case on ARM.
12650 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
12651 for ARM targets.
d63a86f8 12652
d8231941
AG
12653Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
12654
12655 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
12656 * gdb.java/configure: Rebuild.
12657
8caabe69
AG
12658Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
12659
12660 * gdb.java/jv-exp.exp: New file.
12661
9d273ca3
AG
12662Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
12663
12664 * configure: Rebuilt.
12665 * configure.in (configdirs): Add gdb.java.
12666 * gdb.java/jmisc.java: New file.
12667 * gdb.java/jmisc.exp: New file.
12668 * gdb.java/Makefile.in: New file.
12669 * gdb.java/configure: Rebuilt.
12670 * gdb.java/configure.in: New file.
12671 * lib/java.exp: New file.
12672
4f823a66
AC
12673Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
12674
12675 * gdb.base/exprs.exp: Test casts to a pointer including over and
12676 underflow.
12677
2391e11d
AC
12678Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
12679
12680 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
12681 and the compilers sizes.
12682
54602222
ND
126832000-07-09 Nick Duffek <nsd@redhat.com>
12684
12685 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
12686 (use_methods): New function.
12687 (main): Call use_methods().
12688 * gdb.c++/classes.exp (test_method_param_class): New procedure.
12689 (do_tests): Call test_method_param_class.
12690
2bec0572
ND
126912000-07-09 Nick Duffek <nsd@redhat.com>
12692
12693 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
12694 spelling.
12695 (test_enums): New procedure. Move enum tests from end of script
12696 to here. Set breakpoint on function name instead of line number.
12697 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
12698 (enums2): New marker function.
12699 (enums1): New function.
12700 (main): Call enums1(). Move enum tests to enums1().
12701
78492fde
AC
12702Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
12703
12704 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
12705 compile/link program. Update line numbers.
12706 * gdb.asm/d10v.inc: Define ``startup''.
12707 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 12708
49a2cef8
AC
12709Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
12710
12711 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
12712
3e6c8688
EZ
127132000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
12714
12715 * gdb.base/maint.exp: Add 'maint print architecture' item to output
12716 of 'help maint print' command.
12717
9ff5cbe9
AC
12718Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
12719
12720 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
12721 they use gdb_expect_list.
12722
17c579bd
AC
12723Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
12724
12725 * gdb.base/commands.exp: Use ``set remote
12726 memory-read-packet-size'' instead of ``set endian big'' to test
12727 long commands.
12728
e6d71bf3
DB
127292000-06-03 Daniel Berlin <dan@cgsoftware.com>
12730
12731 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 12732 g++, and stop skipping them.
e6d71bf3
DB
12733
12734 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
12735 work under g++.
12736
d63a86f8 12737 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
12738 initialization.
12739
dc96c6c7 127402000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
12741
12742 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
12743 the regular expression: accept an (almost) arbitrary sequence of
12744 "frames-invalid" and "breakpoints-invalid" messages both before
12745 and after the "starting" message.
12746
dc96c6c7 127472000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
12748
12749 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 12750
dc96c6c7 127512000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
12752
12753 * gdb.base/annota1.exp (annotate-signal-handler-caller):
12754 Relax the regular expression a little, make it pass on Solaris 8.
12755
8216cda9
KB
127562000-05-12 Kevin Buettner <kevinb@redhat.com>
12757
12758 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 12759 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
12760 Instead, it is permissible for gdb to stop on the line of the
12761 call itself.
12762
1a570b2f
MS
127632000-05-12 Michael Snyder <msnyder@.cygnus.com>
12764
12765 * gdb.base/break.exp (bp on small function, optimized file):
12766 Add a second pass pattern. The behavior differs here between stabs
12767 and dwarf for one-line functions. Stabs preserves two line symbols
12768 (one before the prologue and one after) with the same line number,
12769 but dwarf regards these as duplicates and discards one of them.
12770 Therefore the address after the prologue (where the breakpoint is)
12771 has no exactly matching line symbol, and GDB reports the breakpoint
12772 as if it were in the middle of a line rather than at the beginning.
12773
dc96c6c7 127742000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 12775
d63a86f8 12776 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
12777 rather than "send_gdb" (for consistancy).
12778
7d418785
AC
12779Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
12780
12781 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
12782 * gdb.c++/templates.cc: Properly check for GCC version number.
12783 * lib/compiler.cc: Likewise
12784
dc96c6c7 127852000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 12786
d63a86f8 12787 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
12788 gdb may not stop at the first line of main, due to code motion.
12789
dc96c6c7 127902000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
12791
12792 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
12793 This test depends on parsing the printf output from the target.
12794 Since the sparclet stub doesn't do stdio, this will never work.
12795 * gdb.base/call-rt-st.exp: ditto.
12796 * gdb.base/call-strs: ditto.
12797
dc96c6c7 127982000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
12799
12800 * gdb.base/miscexprs.exp: make sizeof long array test portable.
12801
12802 * gdb.base/ending-run.exp: After connecting to a remote target,
12803 but before running, the target will appear to be in a random
12804 location. Specify both a file and a line for breakpoints.
12805 Also, the function that calls main may be called 'init'
12806 rather than 'start'.
12807
a5a51225
EZ
128082000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
12809
12810 * gdb.base/help.exp: Update output for add-symbol-file command.
12811
7930cc7c
FN
128122000-04-10 Fernando Nasser <fnasser@cygnus.com>
12813
12814 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12815 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
12816
23e37ab1
C
128172000-04-07 J.T. Conklin <jtc@redback.com>
12818
e93c542c
C
12819 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
12820
23e37ab1
C
12821 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
12822
591b8fa3
PDM
12823Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
12824
12825 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
12826 values that can be represented exactly.
12827 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
12828 above change, and to not check against the directory part of the source
12829 file name.
12830 (step into print_long_arg_list): Likewise.
12831 (print print_small_structs from print_long_arg_list): Likewise.
12832 (print print_long_arg_list): Likewise.
12833
7a495180
EZ
128342000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
12835
30b53638 12836 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 12837
beb998c6
AC
12838Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
12839
12840 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
12841
1c689132
DB
128422000-03-25 Daniel Berlin <dan@cgsoftware.com>
12843
12844 * gdb.base/commands.exp (deprecated_command_test): Add test for
12845 deprecate with no arguments.
12846
c1790a9d
JL
128472000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
12848
12849 * gdb.base/break.exp: Add new test for setting breakpoints on
12850 optimized code so we can test breakpoints work even when function
12851 prologues may be optimized away
12852
003ba290
FN
128532000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
12854
12855 From David Whedon <dwhedon@gordian.com>
a9c64011 12856 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 12857
6837a0a2
DB
128582000-03-22 Daniel Berlin <dan@cgsoftware.com>
12859
12860 * gdb.base/help.exp: Added test for new apropos command.
12861
b9593231
KB
128622000-03-21 Kevin Buettner <kevinb@redhat.com>
12863
12864 * gdb.base/pointers.c (usevar): New function.
12865 (main): Make sure that global variables v_int_pointer2, rptr,
12866 and y are all referenced someplace in the program by calling
12867 usevar() on them. [Some linkers delete symbols which are
12868 never referenced. The space remains, but there's no way to
12869 get a (symbolic) handle on the variable from the debugger.]
12870
751a959b
EZ
128712000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
12872
12873 * gdb.base/printcmds.c: Add typedeffed arrays.
12874
12875 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
12876 procedure to test arrays that are typedef'd.
12877
73a93a32
JI
128782000-03-13 James Ingham <jingham@leda.cygnus.com>
12879
12880 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 12881 the library directories.
73a93a32 12882
fb40c209
AC
12883Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
12884
12885 * configure.in (configdirs): Add sub directory gdb.mi.
12886 * configure: Re-generate.
12887
12888 * gdb.mi: New directory.
d63a86f8 12889
ee4dd2c9
AC
128902000-02-25 Scott Bambrough <scottb@netwinder.org>
12891
12892 * gdb.base/long_long.exp: Correct test suite failure when printing
12893 a long long value as a double on ARM platforms.
12894
70f0cc22
JB
128952000-02-16 Jim Blandy <jimb@redhat.com>
12896
12897 * gdb.base/break.exp ("breakpoint line number"): Make sure the
12898 default source file is set properly before running this test.
12899
853819b8
EZ
129002000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
12901
12902 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
12903 gdbtk/library directory, not in gdbtcl2.
12904
dfcd3bfb
JM
129052000-02-04 Jim Blandy <jimb@redhat.com>
12906
12907 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
12908 backslash from regexp pattern.
12909
12910 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
12911 procedure. Use it to run all the "continue to bp overloaded"
12912 tests. Note that this changes the names of the tests slightly.
12913 If the breakpoint hit message includes a hex PC value, because
12914 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
12915 from the real source code, still consider that a pass.
12916
12917 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
12918 XFAIL here if the breakpoint message contains a hex address. Note
12919 similar change on 1999-11-02.
12920
12921 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
12922
12923 * gdb.base/ptype.exp: Establish a default source file before
12924 calling get_debug_format.
12925
129262000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
12927
12928 * gdb.base/watchpoint.exp: Remove duplication of test messages.
12929
8b93c638
JM
129302000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
12931
12932 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
12933 of successive stepi commands -- while in the prologue we should see
12934 the function entry bracket.
12935
129362000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
12937
12938 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
12939 reach __change_mode() when stepping through the end of main().
12940
c5394b80
JM
129412000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
12942
12943 * gdb.base/default.exp: Fix expected pattern.
12944 * gdb.base/help.exp: Same.
12945
0d06e24b
JM
129462000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
12947
12948 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
12949 Don't use xfail's because that affects only the following test.
d63a86f8 12950
0d06e24b
JM
12951 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
12952 solaris or linux.
12953
12954 * gdb.base/selftest.exp: Update to reflect changes to main.c.
12955
dc96c6c7 129562000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 12957
d63a86f8 12958 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
12959 "A syntax error" rather than "A parse error". Accept both.
12960
129612000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
12962
12963 * gdb.base/default.exp: Remove OS dependent string from "target
12964 remote" test.
12965 * gdb.base/help.exp: Same for "help target remote" test.
12966
c3f6f71d
JM
129672000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
12968
12969 From Jim Kingdon <kingdon@redhat.com>:
12970
12971 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
12972 prompt (cleanup rather than necessity, but still might keep output
12973 from spilling to next test).
12974
129752000-01-02 Fred Fish <fnf@cygnus.com>
12976
12977 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
12978 AIX, which defines them in <sys/types.h>.
12979
ed9a39eb 129801999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 12981
ed9a39eb
JM
12982 * gdb.base/default.exp: Match arm* etc instead of arm in "info
12983 float" test.
12984
129851999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 12986
ed9a39eb 12987 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
12988
12989 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
12990 outermost frame disallowed".
12991
129921999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
12993
12994 * gdb.base/setvar.exp: New tests for setting the value of a struct
12995 with a constant list.
12996
129971999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
12998
12999 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
13000 require the user to type a cast before setting the value of a struct.
13001
de57eccd
JM
130021999-12-06 Jim Blandy <jimb@cygnus.com>
13003
13004 * gdb.base/default.exp: Expect the new 'info float' command on
13005 all i386 platforms.
13006
13007 * gdb.threads/linux-dp.exp: Expand our ability to recognize
13008 LinuxThreads libraries that don't support debugging.
13009
c2d11a7d
JM
13010Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
13011
13012 * gdb.base/remote.c: Fill the buffer with truely random data.
13013 Change the buffer type to ``unsigned char'' to simplify size
13014 arithmetic.
13015
13016 * gdb.base/remote.exp: Reduce download numbers by one. Typical
13017 stub only handles 400-1 byte packets. Verify that the download
13018 worked.
13019
130201999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
13021
13022 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
13023 tests, using UNRESOLVED for the untested cases. Also, does not wait
13024 for a timeout if the prompt was received before a recognizable pattern.
13025
130261999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
13027
13028 * lib/gdb.exp (gdb_expect_list): Fix spelling.
13029
130301999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13031
13032 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
13033 watchpoints.
13034
130351999-11-24 Jason Merrill <jason@casey.cygnus.com>
13036
13037 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
13038
13039 * gdb.c++/local.exp: Be more flexible in recognizing local class
13040 name mangling. Don't allow horribly truncated method names.
13041 * gdb.c++/derivation.exp: Expect protected inheritance.
13042 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
13043 * gdb.c++/virtfunc.exp: Likewise.
13044 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
13045 when printing a nested enum.
13046
130471999-11-22 Jim Blandy <jimb@cygnus.com>
13048
13049 * gdb.base/step-test.exp: Properly await GDB's response to setting
13050 a breakpoint on the call to large_struct_by_value.
13051
13052 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
13053 just because we have debug info for the `start' function.
13054
130551999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
13056
13057 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
13058 "Unknown signal" messages, which indicate (on LinuxThreads) that
13059 GDB doesn't know how to debug threads on this system. This is
13060 better than hanging while philosopher 0 dumps chatter into gdb.log.
13061
130621999-11-18 Tom Tromey <tromey@cygnus.com>
13063
13064 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
13065
130661999-11-18 Fred Fish <fnf@cygnus.com>
13067
13068 * gdb.base/coremaker2.c: Add sample program for generating
13069 cores that is more self contained than coremaker.c. Eventually
13070 I'll add more code to this and tie it into the testsuite.
13071
4ce44c66
JM
130721999-11-12 Stan Shebs <shebs@andros.cygnus.com>
13073
13074 * gdb.base/dollar.exp: Remove, now in gdb.hp.
13075
130761999-11-10 Jimmy Guo <guo@cup.hp.com>
13077
13078 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
13079 from $srcdir/lib/.
13080 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
13081 and gdb.c++/.
13082
13083 * gdb.c++/derivation.exp: remove redundant get compiler info code.
13084
d63a86f8 13085 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
13086 'continue with watch' test point.
13087
130881999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
13089
13090 Merged from p2linux-990323-branch:
d63a86f8 13091
4ce44c66
JM
13092 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
13093
11cf8741
JM
13094Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
13095
13096 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
13097 {limit,fixed}''. Test ``set download-write-size''.
13098
13099Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
13100
13101 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
13102 gdb_expect_list.
13103
13104Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
13105
13106 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
13107
131081999-11-03 Mark Salter <msalter@cygnus.com>
13109
13110 * gdb.base/break.exp: Fix "stub continue" pattern.
13111
131121999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
13113
13114 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
13115
131161999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
13117
13118 * gdb.base/display.exp ("finish"): Add timeout clause.
13119
13120 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
13121 plain prompt clause, so this doesn't have to time out in order to
13122 fail.
13123
13124 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
13125 breakpoint hit messages include an address.
13126
13127 * gdb.base/display.exp: Don't forget to escape parens in regular
13128 expressions. Unix regexp notatation sucks.
13129
131301999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13131
13132 * gdb.base/annota1.exp: Test for annotate-signalled: change output
13133 order for 'signalled' message.
13134
5c44784c
JM
131351999-11-01 Stan Shebs <shebs@andros.cygnus.com>
13136
13137 From Jimmy Guo <guo@cup.hp.com>:
13138 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
13139 * gdb.base/annota1.c: Add code for tests to work with.
13140
131411999-10-26 Frank Ch. Eigler <fche@cygnus.com>
13142
13143 * gdb.base/remote.exp: New test for remote downloading settings.
13144 * gdb.base/remote.c: New file with large .data.
13145
917317f4
JM
131461999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
13147
13148 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
13149 for LinuxThreads support, merged from the Code Fusion branch.
13150
13151Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
13152
13153 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
13154 containing exp_continue into a while within an expect. Don't
13155 attempt a start more than three times. Check return value from
13156 gdb_load.
d63a86f8 13157
2df3850c
JM
13158Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
13159
13160 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
13161 a pass case.
13162
2acceee2
JM
131631999-10-01 Kevin Buettner <kevinb@cygnus.com>
13164
13165 * gdb.base/break.c (main): Added a statement that we can step
13166 off of.
13167 * gdb.base/break.exp: Added tests for setting a breakpoint
13168 at an offset and stepping onto a breakpoint.
13169
131701999-10-01 Fred Fish <fnf@cygnus.com>
13171
d63a86f8 13172 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
13173 gdb output.
13174
c2c6d25f
JM
131751999-09-18 Jim Blandy <jimb@cris.red-bean.com>
13176
13177 * gdb.base/break.exp: Code locations are in hex, don't forget!
13178 (For HP-UX.)
13179
131801999-09-17 Stan Shebs <shebs@andros.cygnus.com>
13181
13182 * condbreak.exp: Use break.c as test program.
13183 * condbreak.c: Remove, redundant with break.c.
13184
131851999-09-15 Stan Shebs <shebs@andros.cygnus.com>
13186
13187 * config/monitor.exp (gdb_target_monitor): Disable X- and
13188 Z-packets if the target needs it.
13189
131901999-09-13 James Ingham <jingham@leda.cygnus.com>
13191
13192 * gdb.c++/overload.exp: Added tests for listing overloaded
13193 functions with function pointers in the arg, explicitly calling
13194 out the version you want.
13195
cff3e48b
JM
131961999-09-09 Stan Shebs <shebs@andros.cygnus.com>
13197
13198 * long_long.exp: Add variations of test cases that work for
13199 targets with 16-bit ints and 32-bit doubles.
13200
d4f3574e
SS
132011999-09-08 Stan Shebs <shebs@andros.cygnus.com>
13202
13203 * break.c (main): Compare a possibly-uninitialized argc with an
13204 unlikely value that fits in 16 bits.
13205
132061999-09-07 Stan Shebs <shebs@andros.cygnus.com>
13207
13208 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
13209 0xfeeb, don't want negative numbers if ints are 16 bits.
13210
13211 * lib/gdb.exp (skip_cplus_tests): New proc.
13212 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
13213 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
13214 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
13215 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
13216 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
13217 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
13218 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
13219 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
13220
13221 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
13222
13223Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
13224
13225 * gdb.base/corefile.exp (up): Allow a parameter to appear
13226 in the frame that we're going up to.
13227
13228 From Jim Blandy <jimb@cygnus.com>:
13229
13230 * gdb.base/default.exp (info float): Expect some output now.
13231
13232 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
13233 returning floating-point values to fail on the x86.
13234 * gdb.base/callfwmall.exp (do_function_calls): Same.
13235
13236 * gdb.base/list.exp (test_listsize): Correct expectations for
13237 listing line 1 with listsize 2. Also, listing a single line
13238 works now, as does listing three lines. [Kevin's note: There
13239 were a number of other cases fixed too where the expectations
13240 differed...]
13241
132421999-09-02 Stan Shebs <shebs@andros.cygnus.com>
13243
13244 * gdb.base/selftest.exp: Add case for when version prints as
13245 constant string instead of char pointer.
13246
104c1213
JM
132471999-08-25 Stan Shebs <shebs@andros.cygnus.com>
13248
13249 * gdb.base/ending-run.exp: Add Solaris case for what happens when
13250 stepping out of main.
13251
13252 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
13253 G++ used.
13254
13255 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
13256 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
13257
13258 * gdb.c++/ovldbreak.exp: Update match string in test that
13259 includes a warning of multiple breakpoints.
13260
132611999-08-24 Stan Shebs <shebs@andros.cygnus.com>
13262
13263 * gdb.base/display.exp: Improve precision of step-after-finish
13264 added yesterday.
13265
13266 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
13267 test.
13268
13269 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
13270 configs when using G++, not just hppa*.
13271
132721999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13273
13274 * gdb.base/async.c: New file.
13275 * gdb.base/async.exp: New file.
13276
13277Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
13278
13279 * gdb.base/break.exp: Tweak PA specific tests to properly handle
13280 PA64.
13281
53a5351d
JM
13282Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
13283
104c1213
JM
13284 * gdb.base/display.exp: "finish" can leave us mid-line on many
13285 targets, deal with it. Add a small constant to main, instead of
13286 1000 since main+1000 may not be a valid address in the target.
13287
53a5351d
JM
13288 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
13289 on hpux11.
13290
13291 * gdb.base/attach.exp: Handle another hpux11 error message variant
13292 when attaching to a process that does not exist.
13293
132941999-08-19 J.T. Conklin <jtc@redback.com>
13295
13296 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
13297 characters in 'continue to 1241' test.
13298
132991999-08-17 Stan Shebs <shebs@andros.cygnus.com>
13300
13301 * gdb.base/call-ar-st.exp: Add a shorter match case for the
13302 stop in print_long_arg_list, define and use a whitespace
13303 variable in print_small_structs test, add an XFAIL for Solaris.
13304 * gdb.base/dbx.exp: XFAIL func commands until somebody is
13305 interested enough to fix.
13306
7be570e7
JM
133071999-08-13 Keith Seitz <keiths@cygnus.com>
13308
13309 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
13310 (dbx_gdb_load): Remove. Use gdb_load instead, since that
13311 proc knows about targets other than the natives.
13312 (test_assign): Use "gdb_run_cmd" to "run" the target.
13313 Check that we've actually hit the breakpoint at main.
13314 When we attempt to assign a value to a local variable, check
13315 that the variable is in the current scope, i.e., don't use
13316 a test with an empty result.
13317
13318Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
13319
13320 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
13321 command.
13322
133231999-08-09 Stan Shebs <shebs@andros.cygnus.com>
13324
13325 From Jimmy Guo <guo@cup.hp.com> and others at HP:
13326 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
13327 gdb.compat, gdb.threads-hp.
13328 gdb.hp/configure, gdb.hp/configure.in: New files.
13329 gdb.hp/Makefile.in: Recurse into new subdirs.
13330 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
13331 gdb.hp/gdb.objdbg: New directory, tests for debugging info
13332 in object files.
13333 gdb.hp/tools: New directory, aux tools for HP-specific tests.
13334
96baa820
JM
133351999-08-05 Stan Shebs <shebs@andros.cygnus.com>
13336
13337 * gdb.base/display.exp: Help expect by putting a newline in the
13338 funky printf, remove a bogus p/a test.
13339
133401999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13341
13342 * gdb.base/display.exp: Make sure that when we say 'run', we are
13343 connected to the target. This is necessary when running not
13344 natively.
13345
133461999-08-03 Stan Shebs <shebs@andros.cygnus.com>
13347
13348 * gdb.base/step-test.exp: Removed some extraneous messages.
13349
13350 * gdb.base/long_long.exp: Don't run memory examination tests
13351 on little-endian targets (they will need a different set of
13352 results to match).
13353
133541999-08-02 Stan Shebs <shebs@andros.cygnus.com>
13355
13356 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
13357 until somebody decides to fix GDB.
13358
13359 * gdb.base/long_long.c: Stop compiler complaint by specifying long
13360 constant as "ULL".
13361 * gdb.base/long_long.exp: Loosen x/c test, add partial result
13362 matches for a couple x/2 commands.
13363
a0b3c4fd
JM
133641999-07-30 Stan Shebs <shebs@andros.cygnus.com>
13365
13366 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
13367 by merging in ref-types2 tests.
13368 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
13369
13370 From Jimmy Guo <guo@cup.hp.com> and others at HP:
13371 * gdb.c++/Makefile.in: Add standard actions.
13372 (EXECUTABLES): Rename from PROGS, update list.
13373 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
13374 from gdb.hp.
13375 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
13376 foo and bar locals.
13377 * gdb.c++/anon-union.exp: Fix tests to match.
13378 * gdb.c++/classes.exp: Run if HP compiler used, add extra
13379 expect matches to handle output variations.
13380 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
13381 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
13382 output, add HP alternatives for new and delete prints.
13383 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
13384 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
13385 * gdb.c++/demangle.exp: Use $style when reporting failure.
13386 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
13387 * gdb.c++/inherit.exp: Run if HP compiler used, add some
13388 match alternatives.
13389 * gdb.c++/local.exp: Add match alternatives or xfails for HP
13390 compilers.
13391 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
13392 * gdb.c++/method.exp: Add match alternatives.
13393 * gdb.c++/misc.cc: Add bool types.
13394 * gdb.c++/misc.exp: Add tests for bool types.
13395 * gdb.c++/overload.exp: Add xfails.
13396 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
13397 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
13398 add some more template parameter tests (only for HP currently).
13399 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
13400 * gdb.c++/virtfunc.cc: Add return type and value for main.
13401 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
13402 match alternatives.
d63a86f8 13403
a0b3c4fd
JM
134041999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13405
13406 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
13407
134081999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
13409
13410 * gdb.base/signals.exp: Don't expect getting a backtrace from
13411 within a signal handler to fail on Linux.
13412
134131999-07-29 Stan Shebs <shebs@andros.cygnus.com>
13414
13415 From Jimmy Guo <guo@cup.hp.com> and others at HP:
13416 * lib/gdb.exp: Remove some gratuitious semicolons.
13417 (delete_breakpoints): Increase timeout.
13418 (gdb_expect): Add -notransfer option.
13419 (gdb_test): Use -notransfer option.
13420 (get_compiler_info): Add f77 case.
13421 (get_compiler): New proc, split out from gdb_preprocess, add f77
13422 case.
13423 (gdb_preprocess): Call get_compiler.
13424
13425 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
13426 * gdb.base/attach.exp, gdb.base/display.exp,
13427 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
13428 gdb.base/long_long.exp, gdb.base/printcmds.exp,
13429 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
13430 third arg to gdb_test.
13431 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
13432 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
13433 HP-UX xfails, add others.
13434 * gdb.base/completion.exp: Reflect name change of self-test.
13435 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
13436 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
13437 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
13438 HP failure number.
13439 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
13440 useless HP-UX 10.30 references.
13441 * gdb.base/maint.exp: Loosen matches.
13442 * gdb.base/pointers.c (main): Declare more_code.
13443 * gdb.base/pointers.exp: Match on output of a `next'.
13444 * gdb.base/structs.c: Add prototypes.
13445 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
13446 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
13447
134481999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13449
13450 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
13451 command.
13452
134531999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13454
13455 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
13456 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
13457
13458 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
13459 debug info. Deal with lack of signal hanlder info in stack.
13460
a9c64011 13461 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
13462 * gdb.base/annota1.exp: If printf has debug info, deal with it.
13463
5a2468f5
JM
134641999-07-19 Stan Shebs <shebs@andros.cygnus.com>
13465
13466 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
13467 gdb.base/foll-vfork.exp: Don't run for crosses.
13468
adf40b2e
JM
13469Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
13470
13471 * gdb.base/configure.in: Check for gdbvars.exp instead of
13472 a1-selftest.exp.
13473 * gdb.base/configure: Re-generate.
13474
134751999-07-12 Stan Shebs <shebs@andros.cygnus.com>
13476
13477 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
13478 in trying to run first and name is too long.
13479
13480 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
13481 pointers2.c and pointers2.exp, respectively.
13482 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
13483 doschk happier.
13484
43e526b9
JM
134851999-07-08 Stan Shebs <shebs@andros.cygnus.com>
13486
13487 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
13488 callfuncs2.c and callfuncs2.exp.
13489
13490 * gdb.base/list.exp: Remove mistaken xfails.
13491 * gdb.base/list0.h: Add optional prototypes.
13492
9846de1b
JM
13493Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
13494
a9c64011 13495 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
9846de1b 13496 calling malloc.
a9c64011
AS
13497 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
13498 * ptype.exp: Move test for get_debug_format to before its first
9846de1b
JM
13499 use.
13500
135011999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13502
13503 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
13504 * gdb.base/annota2.cc, annota2.exp: Move from here.
13505 * gdb.c++/annota2.cc, annota2.exp: To here.
13506 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
13507
43ff13b4
JM
13508Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
13509
13510 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
13511 a consistent format.
13512
085dd6e6
JM
135131999-06-25 Stan Shebs <shebs@andros.cygnus.com>
13514
13515 From Jimmy Guo <guo@cup.hp.com> and others at HP:
13516 * lib/gdb.exp (get_compiler_info): Add detection for assorted
13517 HP compilers, also set the globals $true and $false.
13518
13519 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
13520 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
13521 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
13522 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
13523 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
13524 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
13525 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
13526 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
13527 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
13528 whatis.c} Add C++ compatible function definitions and return
13529 types, add includes for library functions.
13530 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
13531 * gdb.base/step-test.c (myglob): Rename from glob.
13532 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
13533 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
13534 files, move here from gdb.hp.
13535 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
13536 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
13537 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
13538 Adjust line numbers in regexps.
13539
13540 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
13541 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
13542 instead of 0/1.
13543
13544 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
13545 foll-vfork.exp: New files, move here from gdb.hp.
13546 * gdb.base/page.exp: New file, test of pagination command.
13547
13548 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
13549 recursion test.
13550 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
13551
13552 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
13553 gdb.base/solib.exp: Fix compiler invocation process.
13554
13555 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
13556 HP-UX 11, turn off overload resolution explicitly.
13557 * gdb.base/commands.exp: Set argument list explicitly, add
13558 watchpoint test.
13559 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
13560 them work.
13561 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
13562 expressions properly.
13563 * gdb.base/corefile.exp: Loosen the match slightly.
13564 * gdb.base/default.exp: Allow "Error accessing memory" message
13565 also.
13566 * gdb.base/display.exp: Skip over x/0 j if PA64.
13567 * gdb.base/funcargs.exp: Add xfails for HP-UX.
13568 * gdb.base/interrupt.exp: Ditto.
13569 * gdb.base/langs.exp: Add symbolic matches governed by compiler
13570 in use.
13571 * gdb.base/list.exp: Add xfails for HP-UX.
13572 * gdb.base/long_long.exp: Refine some of the numeric matches.
13573 * gdb.base/mips_pro.exp: Xfail on HP-UX.
13574 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
13575 * gdb.base/nodebug.exp: Succeed on more varieties of output.
13576 * gdb.base/opaque.exp: Remove some HP-UX xfails.
13577 * gdb.base/ptype.exp: Succeed on more varieties of output.
13578 * gdb.base/scope.exp: Add xfails for HP-UX.
13579 * gdb.base/sect-cmd.exp: Add more cases.
13580 * gdb.base/setvar.exp: Add xfails for HP-UX.
13581 * gdb.base/shlib-call.exp: Loosen some matches slightly.
13582 * gdb.base/signals.exp: Match on void symbolically.
13583 * gdb.base/step-test.exp: Add case for PA64.
13584 * gdb.base/term.exp: Add exit and restart.
13585 * gdb.base/twice.exp: Clean up after self.
13586 * gdb.base/varargs.exp: Disable overload resolution explicitly.
13587 * gdb.base/whatis.exp: Allow more ways to pass tests.
13588
13589 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
13590 no longer useful.
13591
13592Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
13593
13594 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
13595 list of patterns.
13596 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
13597 print_double_array(double_array)", "continuing to breakpoint
13598 1018", "print print_double_array(array_d)" and "continuing to
13599 1034" tests.
d63a86f8 13600
085dd6e6
JM
136011999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
13602
a9c64011 13603 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
13604
136051999-06-24 Stan Shebs <shebs@andros.cygnus.com>
13606
13607 * config/mt-*: Remove, these haven't been used since 1996.
13608
136091999-06-22 Stan Shebs <shebs@andros.cygnus.com>
13610
13611 * gdb.base/call-strs.c, gdb.base/ending-run.c,
13612 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
13613 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
13614
9e0b60a8
JM
136151999-06-18 Stan Shebs <shebs@andros.cygnus.com>
13616
13617 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
13618 simpler match case for the ptype of the big class.
13619
136201999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
13621
13622 * gdb.exp: Fix test for gdb_prompt existence.
13623
136241999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
13625
13626 * gdb.exp (gdb_test): Add fail after calls to perror.
13627
136281999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
13629
13630 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
13631
136321999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
13633
13634 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
13635
0f71a2f6
JM
13636Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
13637
13638 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
13639 malloc() is linked in.
13640
136411999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
13642
13643 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
13644 step at end.
13645
13646 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
13647
136481999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
13649
13650 * gdb.java/jv-print.exp: New file. (Our first Java test!)
13651
cce74817
JM
13652Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
13653
13654 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
13655 * gdb.base/mips_pro.exp: Likewise.
13656
136571999-06-02 Keith Seitz <keiths@cygnus.com>
13658
13659 * gdb.c++/templates.cc: Change all "new" operators to throw
13660 an exception.
13661 * gdb.c++/cplusfuncs.cc: Likewise.
13662
13663 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
13664
13665Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
13666
13667 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
13668 * gdb.base/ending-run.exp: When stepping out of main, accept a
13669 step into an arbitrary assembler file.
cce74817 13670
392a587b
JM
136711999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13672
d63a86f8 13673 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 13674 "breakpoint-invalid" to be printed.
d63a86f8 13675 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
13676 number of "frames-invalid" and "breakpoint-invalid" to be printed.
13677 * gdb.base/annota2.cc: Initialize a.x to 0.
13678
9e086581
JM
136791999-05-17 Keith Seitz <keiths@cygnus.com>
13680
13681 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
13682 when "skip_float_tests" set.
13683 Ditto for "print print_double_array(array_d)", "print print_small_structs",
13684 "print print_ten_doubles", and "step into print_long_arg_list".
13685 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
13686 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
13687 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
13688 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
13689 "skip_float_tests" is set.
13690 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
13691 when "skip_float_tests" set.
d63a86f8 13692
cd0fc7c3
SS
136931999-05-06 Keith Seitz <keiths@cygnus.com>
13694
13695 * gdb.base/annota2.cc: Include stdio.h.
13696
13697Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
13698
13699 * gdb.base/crossload.exp: Remove, this has been disabled ever
13700 since BFD stopped including all targets, and cross-GDB gets
13701 plenty of testing anyway.
13702 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
13703 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
13704 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
13705 * gdb.base/README: Remove, was doc for this.
13706 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
13707 needed.
13708
b83266a0
SS
137091999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13710
13711 * gdb.base/call-ar-st.exp: Fix one regular expression in test
13712 output.
13713
13714 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
13715 * gdb.base/annota2.exp: New file. More annotation tests.
13716 * gdb.base/annota1.c: New file. Source file for annota1.exp.
13717 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
13718
137191999-04-23 Angela Marie Thomas <angela@cygnus.com>
13720
13721 * config/cfdbug.exp: New file.
13722
7a292a7a
SS
137231999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
13724
13725 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
13726 Marcus Daniel's and Dale Hawkins's demangler crashes.
13727
13728 * gdb.c++/demangle.exp (test_gnu_style_demangling,
13729 test_lucid_style_demangling, test_arm_style_demangling,
13730 test_hp_style_demangling): Try Tom Tromey's core-dumping
13731 identifier under each demangling style.
13732
137331999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
13734
13735 * gdb.c++/demangle.exp: Include the current demangling style
13736 in all test names.
13737 (current_demangling_style): New global variable.
13738 (set_demangling_style, test_demangling_core, test_demangling,
13739 test_demangling_exact): New functions.
13740 (test_gnu_style_demangling, test_lucid_style_demangling,
13741 test_arm_style_demangling, test_hp_style_demangling): Use those,
13742 instead of calling gdb_test and gdb_test_exact directly.
13743 (catch_demangling_errors): New function, which reports errors
13744 signalled by the demangling test functions in an orderly way.
13745 (do_tests): Use catch_demangling_errors.
13746
137471999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
13748
13749 * gdb.base/signals.exp (test_handle_all_print): Use () for
13750 grouping in expressions, not {}.
13751
13752 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
13753 initialized yet.
13754
137551999-04-01 Stan Shebs <shebs@andros.cygnus.com>
13756
13757 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
13758 are listed.
13759
137601999-03-26 Stan Shebs <shebs@andros.cygnus.com>
13761
13762 * gdb.stabs/weird.exp: Test for CC being defined before
13763 looking at its value.
13764
137651999-03-25 Stan Shebs <shebs@andros.cygnus.com>
13766
13767 * gdb.base/call-ar-st.exp: Remove stray '#'.
13768 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
13769 "short int" and "long int".
13770 * gdb.c++/overload.cc: Cast the string added in the previous
13771 change, to mollify finicky HP compiler.
13772 * gdb.hp/reg-test.exp (testfile): Fix file name.
13773 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 13774
7a292a7a
SS
13775 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
13776 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
13777 alternate form of enum ptype.
13778
c906108c
SS
137791999-03-23 Stan Shebs <shebs@andros.cygnus.com>
13780
7a292a7a
SS
13781 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
13782 * gdb.hp/*.exp: Change all to run compiler probe only after
13783 passing skip_hp_tests, so as not to waste time on guaranteed
13784 failure.
13785
c906108c
SS
13786 * gdb.c++/overload.cc: Pass string instead of char addr, always
13787 init ccpfoo.
13788 * gdb.c++/templates.cc: Fix syntax error.
13789
7a292a7a
SS
13790Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13791
13792 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 13793 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
13794 command.
13795
137961999-03-18 James Ingham <jingham@cygnus.com>
13797
13798 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
13799
13800 * gdb.c++/method.exp: It was testing an uninitialized int on the
13801 stack and assuming it was positive.
13802
13803 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
13804
13805 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 13806 keep it from killing the rest of the tests.
7a292a7a
SS
13807 Use gdb_continue_to_end.
13808
13809 * gdb.base/sigall.exp: use gdb_continue_to_end.
13810
13811 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
13812
13813 * gdb.base/display.exp: use runto_main, not run.
13814
d63a86f8
RM
13815 * gdb.base/default.exp: Check for the current error message in the
13816 r abbreviation test.
7a292a7a
SS
13817 Add strongarm to the targets that know info float.
13818
d63a86f8 13819 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
13820 run which doesn't work with monitors.
13821
13822 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
13823
13824 * gdb.base/break.exp: use the gdb_continue_to_end proc.
13825
13826 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
13827 program. Traps the case (in Cygmon) when the program never really
13828 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
13829 more places, so I used my name. Sorry Mark...
13830
13831 * config/monitor.exp (gdb_target_monitor): added another
13832 target_info parameter: remotebinarydownload. This will set the
13833 remotebinarydownload flag if this is causing some boards trouble.
13834
138351999-03-18 Mark Salter <msalter@cygnus.com>
13836
13837 * lib/gdb.exp (continue_to_exit): New function.
13838
13839 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
13840 * gdb.base/ending-run.exp: Ditto.
13841 * gdb.base/step-test.exp: Ditto.
13842
138431999-03-16 Stan Shebs <shebs@andros.cygnus.com>
13844
13845 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
13846 (suggested by Art Haas <ahaas@neosoft.com>).
13847
138481999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
13849
13850 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
13851
13852Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
13853
13854 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
13855 descriptions of types (short unsigned int vs unsigned short, etc).
13856
138571999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
13858
13859 * gdb.base/call-strs.exp: Don't assume that `step' will step over
13860 a call to strlen; sometimes we do have sources.
13861
138621999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
13863
13864 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
13865 character, so GDB won't print garbage after its end.
d63a86f8 13866
c906108c
SS
13867 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
13868 breakpoint there instead. Sometimes GCC emits memcpy to handle
13869 the large structures being passed by value, so we step into that
13870 instead of sum_array_print, which obscures what we're really testing.
13871 * gdb.base/step-test.exp: However, we do want a test that notices
13872 the bizarre steps into memcpy, so do that here. Add check for
13873 stepping into function calls that pass large structures by value.
13874 ("Is that a noun clause, or are you just happy to see me?")
13875 Remove all references to specific line numbers.
13876 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
13877 New type and function.
13878 (main): Call large_struct_by_value, passing it a large struct by value.
13879 * lib/gdb.exp (gdb_get_line_number): New function.
13880
13881 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
13882 more portable.
13883
7a292a7a
SS
138841999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
13885
c906108c
SS
13886 * lib/gdb.exp: Doc fixes.
13887
7a292a7a
SS
138881999-03-05 Nick Clifton <nickc@cygnus.com>
13889
d63a86f8 13890 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
13891
138921999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
13893
c906108c
SS
13894 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
13895 commands. They're not germane to this test, and they don't work
13896 that way on remote targets.
13897
3fc11d3e
JM
138981999-03-01 James Ingham <jingham@cygnus.com>
13899
13900 * Changelog entries merged over from gdb development branch.
13901
3fc11d3e
JM
13902 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
13903
13904 * lib/gdb.exp (gdbtk_analyze_results): Generic function
13905 for outputting results of test run.
13906
2d4a1622 13907 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
13908
13909 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 13910
7a292a7a
SS
139111999-02-25 Felix Lee <flee@cygnus.com>
13912
13913 * lib/gdb.exp (debug_format): initialize
13914
c906108c
SS
139151999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
13916
13917 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
13918 * gdb.base/call-rt-st.c: Ditto.
13919
c906108c
SS
139201999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
13921
13922 * gdb.threads/pthreads.exp (horiz): New variable.
13923 (test_startup): Fix regexps that capture thread numbers.
13924
139251999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
13926
13927 * gdb.base/smoke.exp: Disambiguate two test case names (both
13928 called ``print'').
13929
13930Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
13931
13932 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
13933 compilation.
13934
139351999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
13936
13937 * gdb.base/miscexprs.exp: Change patterns to match GDB's
13938 actual output formatting.
13939 * gdb.base/smoke.exp: GDB removes leading 0's.
13940 * gdb.base/volatile.exp: Don't check type of remuneration;
13941 that variable is no longer defined in constvars.c.
13942 * gdb.base/step-test.c (main): Exit with explicit exit code.
13943 * gdb.base/step-test.exp: Remove two nexti checks--they are
13944 not portable.
13945
139461999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
13947
13948 * gdb.base/help.exp ("help delete display"): Fix test to match
13949 gdb's output.
13950
13951 * gdb.base/long_long.c (known_types): Initialize values to zero.
13952 * gdb.base/long_long.exp: Step one more line
13953 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
13954 leading zeros. Explicitly ask for hex formatting. Use
13955 unique test case names.
c906108c
SS
13956
13957Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13958
d63a86f8 13959 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
13960
13961 * gdb.c++/method.exp: Add missing close brace.
13962
139631999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
13964
13965 * gdb.base/maint.exp: Use 'set height 0' to disable page
13966 prompting, not 'set height 400'.
13967
13968 Fix a bunch of timeouts.
13969 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
13970 four separate tests, so expect doesn't take forever to match a ton
13971 of text against a regexp with lots of .* forms.
13972 ("maint print psymbols", "maint print symbols"): Make some of
13973 these greps more selective, so that expect doesn't try to wade
13974 through huge piles of output and time out.
13975
13976 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
13977
13978 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
13979 tests: one which doesn't expect shlib events to be reported, and
13980 another which does, but is XFAIL for all platforms other than
13981 HP/UX.
13982
13983 * gdb.base/break.exp: Teach the test suite that the `catch
13984 fork', `catch vfork', and `catch exec' commands produce error
13985 messages on platforms that don't provide these features.
13986
13987Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
13988
13989 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
13990 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
13991 (shortening names from solib_threshold.exp etc), won't run on
13992 anything but HP-UX for the foreseeable future.
13993 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
13994 reflect move.
13995
13996Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
13997
13998 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
13999 gdb.trace/Makefile.in (clean): Remove all test executables.
14000
14001Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
14002
14003 * gdb.base/shlib-call.exp: add test cases to verify that gdb
14004 successfully re-sets breakpoints in shared libraries.
14005 * gdb.base/shmain.c (main): return 0, don't fall off the end.
14006
14007Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14008
d63a86f8
RM
14009 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
14010 and compiled w/o GCC.
c906108c
SS
14011
14012 * gdb.hp/watch-cmd.exp: ditto.
14013
14014 * gdb.hp/watch-hp.exp: ditto.
14015
14016 * gdb.hp/xdb1.exp: ditto.
14017
14018 * gdb.hp/xdb2.exp: ditto.
14019
14020 * gdb.hp/dbx.exp: ditto.
14021
14022Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
14023
14024 * constvars.c: Remove C++-isms.
14025 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
14026 with GCC.
14027
14028Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
14029
14030 The following changes are part of the HP merge.
14031
14032 * gdb.base/break.exp: new tests to verify that catchpoints for
14033 fork, vfork, and exec don't trigger inappropriately.
14034
14035 * gdb.base/opaque.exp: compile one file at a time, then link.
14036
14037 * gdb.base/signals.exp: be more restrictive about which hppa
14038 systems receive a setup_xfail. new tests.
14039
14040 * gdb.base/solib_threshold.build: new file.
14041 * gdb.base/solib_threshold.exp: new file.
14042 * gdb.base/solib_threshold.link_opts: new file.
14043 * gdb.base/solib_threshold.mk: new file.
14044 * gdb.base/gen_solib_threshold.c: new file.
14045
14046 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
14047 tests. New tests for enums inside classes.
14048
14049 * gdb.c++/compiler.cc: indicate support of template debugging.
14050
14051 * gdb.c++/demangle.exp: run hp style demangling tests.
14052
14053 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
14054 tests.
14055
14056 * gdb.c++/misc.cc: changes to support new tests.
14057
14058 * gdb.c++/templates.cc: changes to support HP's compiler; changes
14059 to support new tests.
14060
14061 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
14062 gcc, then skip these tests.
14063
14064Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
14065
14066 The following files are part of the HP merge; some had longer
14067 names at HP, but have been renamed to be no more than 14
14068 characters in length.
14069
14070 * gdb.hp/ambiguous.cc: new file.
14071 * gdb.hp/ambiguous.exp: new file.
14072 * gdb.hp/attach.exp: new file.
14073 * gdb.hp/attach2.exp: new file.
14074 * gdb.hp/classes-hp.exp: new file.
14075 * gdb.hp/ctti.exp: new file.
14076 * gdb.hp/ctti-add.cc: new file.
14077 * gdb.hp/ctti-add1.cc: new file.
14078 * gdb.hp/ctti-add2.cc: new file.
14079 * gdb.hp/ctti-add3.cc: new file.
14080 * gdb.hp/dbx.exp: new file.
14081 * gdb.hp/exception.cc: new file.
14082 * gdb.hp/exception.exp: new file.
14083 * gdb.hp/foll-exec.c: new file.
14084 * gdb.hp/foll-exec.exp: new file.
14085 * gdb.hp/foll-fork.c: new file.
14086 * gdb.hp/foll-fork.exp: new file.
14087 * gdb.hp/foll-vfork.c: new file.
14088 * gdb.hp/foll-vfork.exp: new file.
14089 * gdb.hp/inherit-hp.exp: new file.
14090 * gdb.hp/more-steps.exp: new file.
14091 * gdb.hp/namespace.cc: new file.
14092 * gdb.hp/namespace.exp: new file.
14093 * gdb.hp/optimize.exp: new file.
14094 * gdb.hp/pxdb.c: new file.
14095 * gdb.hp/pxdb.exp: new file.
14096 * gdb.hp/quicksort.exp: new file.
14097 * gdb.hp/reg-test.exp: new file.
14098 * gdb.hp/reg-test.s: new file.
14099 * gdb.hp/sized-enum.c: new file.
14100 * gdb.hp/sized-enum.exp: new file.
14101 * gdb.hp/start-stop.exp: new file.
14102 * gdb.hp/templ-hp.cc: new file.
14103 * gdb.hp/templ-hp.exp: new file.
14104 * gdb.hp/thr-lib.c: new file.
14105 * gdb.hp/thr-lib.exp: new file.
14106 * gdb.hp/thr-lib.h: new file.
14107 * gdb.hp/thr-liblib.c: new file.
14108 * gdb.hp/virtfun-hp.c: new file.
14109 * gdb.hp/virtfun-hp.exp: new file.
14110 * gdb.hp/watch-cmd.exp: new file.
14111 * gdb.hp/watch-hp.exp: new file.
14112 * gdb.hp/xdb1.exp: new file.
14113 * gdb.hp/xdb2.exp: new file.
14114 * gdb.hp/xdb3.exp: new file.
14115
14116Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
14117
14118 The following files are part of the HP merge; some had longer
14119 names at HP, but have been renamed to be no more than 14
14120 characters in length.
14121
14122 * gdb.base/ss.h: new file.
14123 * gdb.base/call-ar-st.c: new file.
14124 * gdb.base/call-ar-st.exp: new file.
14125 * gdb.base/call-rt-st.c: new file.
14126 * gdb.base/call-rt-st-exp: new file.
14127 * gdb.base/call-strs.exp: new file.
14128 * gdb.base/ena-dis-br.exp: new file.
14129 * gdb.base/environ.exp: new file.
14130 * gdb.base/long_long.exp: new file.
14131 * gdb.base/sect-cmd.exp: new file.
14132 * gdb.base/shlib-cl2.exp: new file.
14133 * gdb.base/smoke.exp: new file.
14134 * gdb.base/so-impl-ld.c: new file.
14135 * gdb.base/so-impl-ld.exp: new file.
14136 * gdb.base/so-indr-cl.c: new file.
14137 * gdb.base/so-indr-cl.exp: new file.
14138 * gdb.base/varargs.exp: new file.
14139 * gdb.base/volatile.exp: new file.
14140 * gdb.base/whatis-exp.exp: new file.
7a292a7a 14141 * gdb.base/display.exp: new file.
c906108c
SS
14142 * gdb.c++/derivation.exp: new file.
14143 * gdb.c++/local.exp: new file.
14144 * gdb.c++/member-ptr.exp: new file.
14145 * gdb.c++/overload.exp: new file.
14146 * gdb.c++/ovldbreak.exp: new file.
14147 * gdb.c++/ref-types.exp: new file.
14148 * gdb.c++/ref-types2.exp: new file.
14149 * gdb.c++/userdef.exp: new file.
d63a86f8 14150
c906108c
SS
14151Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
14152
14153 * gdb.base/default.exp: Reflect wording change in remote.c.
14154
dc96c6c7 14155Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
14156
14157 * gdb.base/help.exp: Update to reflect current text.
14158
14159Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
14160
14161 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
14162 they're stack variables and contain garbage.
14163 * gdb.c++/anon-union.exp: new file.
14164
14165 The following changes were made by David Taylor
14166 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
14167 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
14168 in changes by HP.
14169
14170 * gdb.base/bitops.exp: new file.
14171 * gdb.base/default.exp: change expected messages for catch and
14172 info catch tests to reflect HP merge changes.
14173 * gdb.base/enable-disable-break.exp
14174 * gdb.base/ending-run.c: new file.
14175 * gdb.base/long_long.c: new file.
14176 * gdb.base/maint.exp: new file.
14177 * gdb.base/pointers2.exp: new file.
14178 * gdb.base/shlib-call2.exp: new file.
14179 * gdb.base/solib.exp: new file.
14180 * gdb.base/step-test.c: new file.
14181 * gdb.c++/anon-union.cc: new file.
14182 * gdb.c++/local.cc: new file.
14183 * gdb.c++/member-pointer.cc: new file.
14184 * gdb.c++/method.cc: new file.
14185 * gdb.c++/ref-types.cc: new file.
14186 * gdb.c++/ref-types2.cc: new file.
14187 * gdb.c++/userdef.cc: new file.
d63a86f8 14188
c906108c
SS
14189 * gdb.base/scope.exp: compile one file at a time, then link.
14190 * gdb.base/langs.exp: ditto.
14191 * gdb.base/list.exp: ditto.
d63a86f8 14192
c906108c
SS
14193Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
14194
14195 The following changes were made by David Taylor
14196 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
14197 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
14198 in changes by HP.
d63a86f8 14199
c906108c
SS
14200 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
14201 skip tests. When compiling pass c++ flag to gdb_compile.
14202 * gdb.c++/
d63a86f8 14203
c906108c
SS
14204 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
14205 test for on hppa*-*-hpux*; use args to see if c++ was specified.
14206 (skip_hp_tests): new function.
14207 (gdb_preprocess): new function.
14208
14209 * configure.in (hpdir): decide whether to configure gdb.hp.
14210 * configure: regenerated.
14211
14212 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
14213 to delete on clean.
14214 (EXECUTABLES): update to reflect new additions.
14215 * gdb.base/commands.exp: update message expected.
14216 * gdb.base/default.exp: add copyright notice.
14217 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
14218 * gdb.base/help.exp: update messages to reflect current text.
14219 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
14220 targets for recurse tests.
14221 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
14222 skip this file.
14223
14224 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
14225 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
14226 compilation.
14227 * gdb.c++/misc.exp: ditto.
14228 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
14229 run the tests. tell gdb_compile that it's a c++ compilation.
14230
14231 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 14232
c906108c
SS
14233 * gdb.base/all-bin.exp: new file.
14234 * gdb.base/arithmet.exp: new file.
14235 * gdb.base/assign.exp: new file.
14236 * gdb.base/completion.exp: new file.
14237 * gdb.base/cond-expr.exp: new file.
14238 * gdb.base/condbreak.exp: new file.
14239 * gdb.base/define.exp: new file.
14240 * gdb.base/dollar.exp: new file.
14241 * gdb.base/environment.exp: new file.
14242 * gdb.base/eval-skip.exp: new file.
14243 * gdb.base/jump.exp: new file.
14244 * gdb.base/logical.exp: new file.
14245 * gdb.base/pointers.exp: new file.
14246 * gdb.base/relational.exp: new file.
14247 * gdb.base/section_command.exp: new file.
14248 * gdb.base/whatis-expr.exp: new file.
14249
14250 * gdb.base/all-types.c: new file.
14251 * gdb.base/call-array-struct.c: new file.
14252 * gdb.base/call-return-struct.c: new file.
14253 * gdb.base/call-strings.c: new file.
14254 * gdb.base/callfuncs2.c: new file.
14255 * gdb.base/condbreak.c: new file.
14256 * gdb.base/constvars.c: new file.
14257 * gdb.base/display.c: new file.
14258 * gdb.base/int-type.c: new file.
14259 * gdb.base/jump.c: new file.
14260 * gdb.base/miscexprs.c: new file.
14261 * gdb.base/pointers.c: new file.
14262 * gdb.base/pointers2.c: new file.
14263 * gdb.base/shmain.c: new file.
14264 * gdb.base/shr1.c: new file.
14265 * gdb.base/shr2.c: new file.
14266 * gdb.base/solib.c: new file.
14267 * gdb.base/solib1.c: new file.
14268 * gdb.base/solib2.c: new file.
14269 * gdb.base/varargs.c: new file.
14270 * gdb.c++/derivation.cc: new file.
14271 * gdb.c++/overload.cc: new file.
14272 * gdb.c++/ovldbreak.cc: new file.
14273 * gdb.hp/attach.c: new file.
14274 * gdb.hp/attach2.c: new file.
14275 * gdb.hp/average.c: new file.
14276 * gdb.hp/compiler.c: new file.
14277 * gdb.hp/compiler.cc: new file.
14278 * gdb.hp/execd-program.c: new file.
14279 * gdb.hp/follow-exec.c: new file.
14280 * gdb.hp/follow-fork.c: new file.
14281 * gdb.hp/follow-vfork-and-exec.c: new file.
14282 * gdb.hp/misc-hp.cc: new file.
14283 * gdb.hp/more-steps.c: new file.
14284 * gdb.hp/optimize.c: new file.
14285 * gdb.hp/quicksort.c: new file.
14286 * gdb.hp/run-hp.c: new file.
14287 * gdb.hp/start-stop.c: new file.
14288 * gdb.hp/sum.c: new file.
14289 * gdb.hp/templates-hp.cc: new file.
14290 * gdb.hp/thread-local-in-lib.c: new file.
14291 * gdb.hp/thread-local-in-lib.h: new file.
14292 * gdb.hp/thread-local-in-lib.lib.c: new file.
14293 * gdb.hp/vforked-program.c: new file.
14294 * gdb.hp/virtfunc-hp.cc: new file.
14295 * gdb.hp/watchpoint-hp.c: new file.
14296 * gdb.hp/xdb.c: new file.
14297 * gdb.hp/xdb0.c: new file.
14298 * gdb.hp/xdb0.h: new file.
14299 * gdb.hp/xdb1.c: new file.
14300
14301Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
14302
14303 The following change was made by Edith Epstein
14304 <eepstein@cygnus.com> as part of a project to merge in changes
14305 originally made by HP; HP did not create ChangeLog entries.
14306
14307 * gdb.c++/demangle.exp: changed the expected output for some
14308 ARM-style mangling -- removed second reference to datatype.
14309 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 14310 T1<char>::~T1<char>(void)
c906108c 14311 becomes,
a9c64011
AS
14312 maint demangle __dt__11T1__pt__2_cFv
14313 T1<char>::~T1(void)
c906108c
SS
14314
14315 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 14316
c906108c
SS
14317Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
14318
14319 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
14320 * gdb.trace/backtrace.exp: Likewise.
14321 * gdb.trace/circ.exp: Likewise.
14322 * gdb.trace/collection.exp: Likewise.
14323 * gdb.trace/deltrace.exp: Likewise.
14324 * gdb.trace/infotrace.exp: Likewise.
14325 * gdb.trace/limits.exp: Likewise.
14326 * gdb.trace/packetlen.exp: Likewise.
14327 * gdb.trace/passc-dyn.exp: Likewise.
14328 * gdb.trace/passcount.exp: Likewise.
14329 * gdb.trace/report.exp: Likewise.
14330 * gdb.trace/save-trace.exp: Likewise.
14331 * gdb.trace/tfind.exp: Likewise.
14332 * gdb.trace/tracecmd.exp: Likewise.
14333 * gdb.trace/while-dyn.exp: Likewise.
14334 * gdb.trace/while-stepping.exp: Likewise.
14335
143361998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
14337
14338 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
14339
14340Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
14341
14342 From Brendan Kehoe:
14343 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
14344 int return types.
14345
14346Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
14347
14348 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
14349 remote dos host testing right.
14350
14351Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
14352
14353 * gdb.base/corefile.exp: remove some xfails.
14354
14355Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
14356
14357 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
14358 have different timestamps.
14359
14360Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
14361
14362 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
14363 gdb.base/default.exp: Replace "exec" with "executable".
14364
14365Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
14366
14367 * gdb.base/default.exp: Change else if to elseif from previous
14368 delta.
14369
14370Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
14371
14372 * gdb.base/default.exp: Add brace missing from previous delta.
14373
14374Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
14375
14376 * gdb.base/default.exp: Support test for info float for all
14377 varieties of arm toolchain.
14378
dc96c6c7 14379Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
14380
14381 * gdb.trace/*.exp: remove "remote_download" command.
14382
dc96c6c7 14383Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
14384
14385 * gdb.trace/*.exp: remove -gdwarf from compile.
14386
14387Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
14388
14389 * gdb.trace/configure.in(AC_INIT): typo
14390 * gdb.trace/configure: regenerated
14391
dc96c6c7 14392Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
14393
14394 * config/m68k-emc.exp: New file.
14395 * lib/<emc-support.exp trace-support.exp}: New files.
14396 * configure.in: add new test directory gdb.trace.
14397 * gdb.trace/{configure configure.in Makefile.in}: New files.
14398 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
14399 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
14400 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
14401 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
14402 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
14403 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
14404 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 14405
dc96c6c7 14406Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
14407
14408 * gdb.c++/classes.exp: Change all regular expressions to match
14409 arbitrary combinations of newline/carriage-return, so that they
14410 will work equally well on Unix and Windows.
14411 * gdb.c++/inherit.exp: ditto.
14412 * gdb.c++/virtfunc.exp: ditto.
14413
144141998-08-11 Dawn Perchik <dawn@cygnus.com>
14415
14416 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
14417
c2d11a7d
JM
14418Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
14419
14420 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
14421 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
14422 to use a0-a3/d0-d3 as needed.
14423
14424Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
14425
14426 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
14427 * gdb.disasm/am33.exp: Corresponding changes.
14428
c906108c
SS
144291998-07-11 Felix Lee <flee@cygnus.com>
14430
14431 * gdb.base/callfuncs.exp: add cmp10 test.
14432 * gdb.base/callfuncs.c (cmp10): new function.
14433
14434Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
14435
d63a86f8 14436 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
14437 into two parts to get around a synchronization problem in expect.
14438
3fc11d3e
JM
14439Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
14440
14441 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
14442
14443 * configure.in: Add options for gdbtk testsuite.
14444
14445 * configure: Regenerate.
14446
14447 * gdb.gdbtk: New directory to hold gdbtk tests.
14448
c906108c
SS
14449Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
14450
14451 * gdb.fortran/types.exp: Escape brackets in expect patterns
14452 for test_float_literal_types_accepted tests.
14453 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
14454 before run test.
14455
c2d11a7d
JM
14456Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
14457
14458 * am33.exp: Just compile, do not link the testcase.
14459 * am33.s: Add ".am33" pseudoop to force am33 mode.
14460
c906108c
SS
144611998-06-25 Felix Lee <flee@cygnus.com>
14462
14463 * gdb.base/setshow.exp: make sure $pc is sane.
14464
14465 * gdb.stabs/weird.exp: split expect patterns properly.
14466
c2d11a7d
JM
14467Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
14468
14469 * gdb.disasm/am33.s: New disassembler testfile for the am33.
14470 * gdb.disasm/am33.exp: Run it.
14471
dc96c6c7 14472Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
14473
14474 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
14475 match processing (and eliminate spurious timeouts when running).
14476
dc96c6c7 14477Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
14478
14479 * gdb.base/signals.exp (test_handle_all_print): put back Mach
14480 exception test, but conditionalize it on target [mach | gnu].
14481
dc96c6c7 14482Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
14483
14484 * gdb.base/overlays.exp: fixup compile line for linker script.
14485
14486Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
14487
14488 * gdb.fortran/types.exp: don't guess at float size.
14489
14490Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
14491
14492 * gdb.base/exprs.exp: delete test that depends on int size.
14493
14494Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
14495
14496 * config/sim.exp: Removed checks for target triplets.
14497 (gdb_target_sim): Use gdb,target_sim_options.
14498
14499Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
14500
14501 * gdb.base/reread.exp: New file.
14502 * gdb.base/reread1.c: New file.
14503 * gdb.base/reread2.c: New file.
14504
14505Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
14506
14507 * config/sim.exp: Use 'target sim -sparclite' when running
14508 SPARClite programs.
14509
14510Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
14511
14512 * gdb.base/structs2.exp: New file.
14513 * gdb.base/structs2.c: New file.
14514
14515Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
14516
14517 * gdb.asm/common.inc: New file.
14518 * gdb.asm/d10v.inc: New file.
14519 * asm-source.exp: Pass -I's to gas to find .inc files.
14520 Update line numbers in expected output.
14521 * asmsrc1.s: Rewrite.
14522 * asmsrc2.s: Rewrite.
14523 * configure.in: Create arch.inc symlink.
14524 * configure: Regenerate.
14525 * Makefile.in (distclean): Delete arch.inc.
14526
14527Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
14528
14529 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
14530 (t_enum_value2): ditto
14531 (t_enum_value3): ditto
14532 (main): ditto
14533Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
14534
14535 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
14536 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
14537 change.
14538 Use gdb_test instead of send_gdb/gdb_expect sequences.
14539
14540Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
14541
14542 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
14543 not void.
14544
14545Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
14546
14547 * gdb.base/branches.c: Code with lots of loops and
14548 subroutines. Used to test gdbs ability to single step through PC
14549 changes, especially to test mips-tdep.c:mips_next_pc
14550
14551Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
14552
14553 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
14554 more rigorous EGCS C++ error checking.
14555
14556Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14557
a9c64011
AS
14558 * gdb.base/help.exp: Clean up `help set args' and `help show args'
14559 tests.
14560 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
14561 function when asleep.
14562 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
14563 for i*86 Linux and SVR4 signal handling problems.
14564 Remove linux xfail for `next to handler in signals_tests_1', fixed
14565 by recent infrun.c change.
14566 Limit backtrace to 10 frames to avoid timeout problems with infinite
14567 stack backtraces.
14568 Adjust expect pattern in `handle all print' test to match Apr 28 1997
14569 target.[ch] change.
c906108c
SS
14570
14571Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
14572
14573 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
14574 for a newline from gdb before continuing.
14575 (default_gdb_exit): Just look for y or n.
14576 (gdb_test): Detect abnormal exit from GDB running on DOS; if
14577 it does, fail the rests of the tests in the file.
14578
14579Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
14580
14581 * config/cygmon.exp: New file.
14582
14583Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
14584
14585 * gdb.base/list.exp: Fix problem with "list default lines around
14586 main" test on remote targets.
14587
14588 * gdb.base/scope.exp: Fix problem with filelocal_bss before
14589 run test on remote targets.
14590
14591Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
14592
14593 * gdb.asm: New directory.
14594 * configure.in: Configure it.
14595 * configure: Regenerate.
14596 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
14597 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
14598
14599Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
14600
14601 * config/mn10300-eval.exp: New file to support MN10300 eval board.
14602
dc96c6c7 14603Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 14604
a9c64011
AS
14605 * gdb.base/overlays (several files): Merge the two overlay
14606 managers into one. Change variables (foox, barx, bazx, grbxx)
14607 back into ints but force them to load in their proper sections.
c906108c
SS
14608
14609Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
14610
14611 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
14612 on-chip insn memory and IMAP1 to upper 128k.
14613 (D10VCopy): Handle memory regions crossing 16k boundaries.
14614 (D10VCopy): Transfer data in 32 bit chunks.
14615
14616Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
14617
14618 * gdb.base/overlays.c (main): Exit normally when result is
14619 correct.
14620
14621 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
14622 map. Include space for printf in .text segment.
14623
14624 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
14625 updated d10v memory VMA/LMA map.
14626 (D10VCopy): Call D10VTranslate.
d63a86f8 14627
c906108c
SS
14628Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
14629
14630 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
14631
14632 * gdb.base/bar.c (barx, bar): Change variable to small array so
14633 that it won't be put into the .sdata - small data -
14634 section. Update reference.
14635 * gdb.base/baz.c (bazx, baz): Ditto.
14636 * gdb.base/foo.c (foox, foo): Ditto.
14637 * gdb.base/grbx.c (grbxx, grbx): Ditto.
14638
14639 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
14640 to be arrays.
d63a86f8 14641
dc96c6c7 14642Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 14643
a9c64011
AS
14644 * gdb.base/overlays.exp: fix up and get working again.
14645 Add tests for backtraces from an overlay function.
d63a86f8 14646
c906108c
SS
14647Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
14648
14649 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
14650 "calling function with watchpoint enabled".
14651
14652Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
14653
14654 * gdb.base/break.exp (test_next_with_recursion): Remove
14655 gdb_suppress_tests for d10v-*-*.
14656 * lib/gdb.exp (gdb_suppress_tests): Disable this function
14657 pending review of whether it is useful or not.
14658
14659Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
14660
14661 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
14662
14663Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
14664
14665 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
14666 * config/dve.exp: New file to support Densan boards.
14667
14668Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
14669
14670 * gdb.base/interrupt.exp: Document problem of simulators, signals,
14671 reads and BSD.
14672
14673Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
14674
14675 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
14676 response.
14677
14678 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
14679
14680Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
14681
14682 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
14683 test.
14684
14685 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
14686 target_sizeof_long and target_bigendian_p.
14687 (structs_by_value, structs_by_reference): Check values according
14688 to targets word size and endianess.
d63a86f8 14689
c906108c
SS
14690Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
14691
14692 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
14693 output.
14694
14695Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
14696
14697 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
14698 Update test of set args help to match source change.
14699
14700Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
14701
14702 * gdb.base/default.exp: Expect help system output to be in
14703 alphabetical order.
14704 * gdb.base/help.exp: Ditto.
14705
14706Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
14707
14708 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
14709 "i*86-pc-linux-gnu*".
14710 * gdb.base/interrupt.exp: Ditto.
14711 * gdb.base/corefile.exp: Ditto.
14712
14713 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
14714 define vxworks when building the testcase.
14715
14716 * gdb.base/ptype.exp: Fix testnames to be unique.
14717 * gdb.base/radix.exp: Ditto.
14718 * gdb.base/term.exp: Ditto.
14719 * gdb.base/whatis.exp: Ditto.
14720 * gdb.c++/classes.exp: Ditto.
14721
14722Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
14723
14724 * gdb.base/callfuncs.exp: Fix indentation.
14725
14726 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
14727 suppress_flag has been set.
14728 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
14729 target feature.
14730
14731Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
14732
14733 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
14734 the testcase.
14735
14736 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
14737 set_debug_traps() and breakpoint().
14738 * gdb.c++/misc.cc (main): Ditto.
14739 * gdb.c++/templates.cc (main): Ditto.
14740 * gdb.c++/virtfunc.cc (main): Ditto.
14741
14742Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
14743
14744 * lib/gdb.exp(gdb_step_for_stub): New function.
14745 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
14746 exists, reload the executable and do a "continue" instead of
14747 doing a jump.
14748 (runto_main): Use gdb_step_for_stub.
d63a86f8 14749
c906108c
SS
14750 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
14751 tests to have unique names.
14752 * gdb.base/callfuncs.exp: Ditto.
14753 * gdb.base/commands.exp: Ditto.
14754 * gdb.base/default.exp: Ditto.
14755 * gdb.base/help.exp: Ditto.
14756 * gdb.base/list.exp: Ditto.
14757 * gdb.base/opaque.exp: Ditto.
14758 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
14759 similar tests.
d63a86f8 14760
c906108c
SS
14761 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
14762 * gdb.c++/cplusfuncs.cc: Ditto.
14763 * gdb.c++/virtfunc.cc: Ditto.
14764
14765 * config/monitor.exp: Keep track of the last file we saw, rather
14766 than trying to get the info from gdb.
14767
14768 * gdb.fortran/types.exp: Move comment to previous line.
14769
14770Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
14771
14772 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
14773 target mode.
14774
14775Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
14776
14777 From Bob Manson:
14778 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
14779 string from GDB when it connects.
14780
14781 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
14782
14783Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
14784
14785 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
14786 if we can't get a debug format from GDB (we may be testing an
14787 older GDB). Use a 10 second timeout when checking for the format.
14788
14789 * gdb.stabs/weird.exp: Fix quoting.
14790
14791 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
14792
14793Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
14794
14795 * config/arm-ice.exp: New file.
14796
14797Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
14798
14799 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
14800 until it has been modified to work with the new testsuite.
14801
99707966 14802 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
14803 testcase won't compile, cause all of the testcases in the file to
14804 fail instead.
14805
14806 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
14807 (gdb_clear_suppressed): New procedure.
14808 (gdb_stop_suppressing_tests): Only clear suppress_flag if
14809 it contains a positive value.
14810
14811Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
14812
14813 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
14814
14815 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
14816
14817Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
14818
14819 * lib/gdb.exp (setup_xfail_format): New function.
14820 (get_debug_format): New function to get debug format.
14821 (debug_format): New global variable to hold last value set
14822 by get_debug_format.
14823 * gdb.base/list.exp: Call get_debug_format and expect some
14824 tests to fail for DWARF 1 and COFF formats.
14825 * gdb.c++/ptype.exp: Ditto.
14826 * gdb.c++/classes.exp: Ditto.
14827 * gdb.c++/cplusfuncs.exp: Ditto.
14828 * gdb.c++/inherit.exp: Ditto.
14829 * gdb.c++/templates.exp: Ditto.
14830 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 14831
c906108c
SS
14832Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
14833
14834 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
14835 host doesn't have a currently-open connection.
14836
14837 * config/sparclet.exp: Cleanups and fixes to make it generic for
14838 any gdb stub target. Handle cases where gdb doesn't respond when
14839 interrupted in a sane fashion.
14840
14841 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
14842 same thing in a totally different way.
14843
14844 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
14845 setting "timeout".
14846 (gdb_start): We set the global gdb_prompt variable in
14847 default_gdb_init now.
14848
14849Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
14850
14851 * gdb.base/printcmds.exp: Fix "check for floating addition"
14852 regexp to accept results within approx +/- .01 of exact value.
14853 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
14854
14855Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
14856
14857 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
14858 properly.
14859 (gdb_expect): Add optional timeout parameter, and add timeout
14860 value to various calls.
14861 (gdb_suppress_tests): Only give one warning message per group.
14862
14863Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
14864
14865 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
14866 global variables. Handle getting a value for $timeout more
14867 gracefully.
14868
14869Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
14870
14871 * lib/gdb.exp: Close connection to remote host if gdb doesn't
14872 initialize.
14873 (default_gdb_init): New procedure; allow gdb_init to be overridden
14874 by a target configuration file.
14875 (gdb_expect): Pass the timeout to remote_expect.
14876
14877 * config/monitor.exp(gdb_load): Fix typo in regexp.
14878
14879Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
14880
14881 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
14882
14883Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
14884
14885 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
14886 here. Call gdb_target_exec before rebooting the target, to make
14887 sure the connection to the target is closed.
14888 (gdb_load): Pass the name of the executable to gdb_target_monitor.
14889 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
14890 Also detect "Timeout reading from remote" error.
14891
14892 * config/gdbserver.exp: Pass the executable being loaded to
14893 gdb_target_monitor. Don't call gdb_file_cmd here; let
14894 gdb_target_monitor do it.
14895
14896 * gdb.disasm/hppa.exp: Don't use exec_output.
14897
14898Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
14899
14900 * gdb.base/list.exp: If we're debugging a non-native target,
14901 try to set the pc register to point to the start of the
14902 program before doing the first list command.
14903
14904 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
14905 test_calls after restarting.
14906
14907 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
14908 reloading.
14909
14910 * gdb.base/watchpoint.exp: Fix typo.
14911
14912 * gdb.base/setshow.exp: Check for use_gdb_stub.
14913
14914 * gdb.base/break.exp: Fix continue until exit test for the gdb
14915 stub case.
14916 * gdb.base/langs.exp: Ditto.
14917
14918 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
14919 gdb_load_offset. If we weren't given a file to load, figure out
14920 what the current file is and use it.
14921
14922 * config/i386-bozo.exp: New file.
14923
14924Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
14925
14926 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
14927 feature.
14928
14929 * config/proelf.exp: New entry.
14930
14931Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
14932
14933 * lib/gdb.exp: Remove spurious .* patterns at the beginning
14934 of regexps.
14935
14936 * gdb.base/watchpoint.exp: Don't run the test_stepping
14937 tests if gdb can't call functions on the target.
14938
14939 * gdb.base/setshow.exp: Don't run the set prompt tests if
14940 the board has gdb_prompt set.
14941
14942Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
14943
14944 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
14945 * gdb.base/commands.exp: Likewise.
14946 * gdb.base/setshow.exp: Likewise.
14947
14948Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
14949
14950 * config/monitor.exp(gdb_start): Look for gdb_prompt target
14951 feature.
14952
14953 * config/i960.exp: New file.
14954
14955Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
14956
14957 * gdb.base/funcargs.exp: Check for gdb,short_int target
14958 feature instead of looking for explicit target triplets.
14959
dc96c6c7 14960Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 14961
d63a86f8 14962 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
14963 "p 123DEADBEEF", to check parse_number.
14964 * top.c: change "to enable to enable" to "to enable" in a couple
14965 of help strings.
14966
14967Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
14968
14969 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
14970 on the mn10300.
d63a86f8 14971
c906108c
SS
14972Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
14973
14974 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
14975 where the test executable is run with explicit args.
14976 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
14977
14978Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
14979
14980 * gdb.base/run.c: Use FAKEARGV to build test executable that
14981 does not require a command line arg, since most simulators
14982 don't currently support passing such an arg into the simulated
14983 program.
14984 * gdb.base/commands.exp: Change tests to insert the proper
14985 value as the arg to the first recursive factorial call. Change
14986 compilation line to define FAKEARGV at compile time.
14987
14988Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
14989
14990 * gdb.base/recurse.exp: Enable these tests for the mn10300.
14991 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
14992 function with watchpoint enabled" test.
14993
14994Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
14995
14996 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
14997 Don't call gdb_test when the command doesn't return to a gdb prompt.
14998
14999 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
15000 "Tests restarted" messages.
15001
15002Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
15003
15004 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
15005
dc96c6c7 15006Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
15007
15008 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
15009 for INFO SYMBOL; add help tests for OVERLAY commands.
15010 * gdb.base/default.exp: add tests for INFO SYMBOL command;
15011 add tests for OVERLAY commands
15012 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
15013 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
15014 * gdb.base/sigall.c: add usestubs code frag
15015 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 15016
c906108c
SS
15017Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
15018
15019 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
15020 failures.
15021 (gdb_stop_suppressing_tests): Note that tests have restarted.
15022
15023Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
15024
15025 * config/h8300.exp: New file.
15026
15027Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
15028
15029 * gdb.base/setshow.exp: Check for the existence of a
15030 feature, not its value.
15031
15032Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
15033
15034 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
15035
15036 * gdb.base/scope.exp: It's now init0(), not init().
15037
15038 * gdb.base/scope0.c: For now, change init() to be init0().
15039
15040 * config/monitor.exp: Use gdb_serial in preference to serial
15041 or netport.
15042
15043 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
15044 and it's not already set.
15045
15046Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
15047
15048 * gdb.base/setshow.exp: Only test the run command if the target
15049 isn't using a stub and if it supports argument passing.
15050
15051Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
15052
15053 * config/udi.exp(gdb_start): Make sure UDICONF is set
15054 properly before starting gdb.
15055
15056Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
15057
15058 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
15059 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
15060 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
15061
15062Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
15063
15064 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
15065 specialized code to reboot the board, use remote_reboot instead.
15066
15067 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
15068
15069 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
15070
15071 * config/monitor.exp: Make sure we disconnect from the target.
15072 Also, try a reboot/reload cycle instead of failing if the
15073 load fails.
15074
15075Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
15076
15077 * gdb.base/default.exp: Don't set match_max.
15078 * gdb.base/help.exp: Ditto.
15079 * gdb.base/list.exp: Ditto.
15080 * gdb.base/signals.exp: Ditto.
15081
15082 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
15083 set, use remote_ld to download the testcase instead of
15084 the GDB loader.
15085
15086Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
15087
15088 * config/vr5000.exp: New file.
15089
15090 * config/monitor.exp(gdb_target_monitor): Add pattern for
15091 "Ending remote" to detect errors in connecting.
15092
15093 * gdb.base/setshow.exp: Add .* within auto language test.
15094
15095 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
15096 target feature.
15097
15098 * config/monitor.exp(gdb_load): Check for a failure when loading,
15099 and reboot the board if necessary.
15100
15101 * gdb.base/setvar.exp(test_set): Handle multiple prints within
15102 a set of tests. Remove print.* from the patterns being checked.
15103
15104Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
15105
15106 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
15107 refer to gdb_spawn_id.
15108
15109 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
15110 longer used.
15111 * config/sparclet.exp: Ditto.
15112 * config/sparclet-old.exp: Ditto.
15113 * config/slite.exp: Ditto.
15114 * config/sim.exp: Ditto.
15115 * gdb.base/funcargs.exp: Ditto.
15116
15117 * lib/gdb.exp:Remove references to gdb_spawn_id.
15118 (gdb_expect): Move to remote.exp.
15119
15120Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
15121
15122 * config/monitor.exp: Detect the "Couldn't establish connection"
15123 message from GDB.
15124
15125Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
15126
15127 * gdb.base/bitfields.exp: Use runto instead of explicit
15128 gdb_run_cmd/gdb_expect sequences.
15129
15130 * gdb.base/break.exp(text_next_with_recursion): Add match for
15131 gdb_expect call.
15132
15133 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
15134 We also need to handle the "A program is being debugged already"
15135 prompt from gdb. Use gdb_test to set the baud rate.
15136
15137 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
15138 to 20000. Really. I mean it.
15139
15140Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
15141
15142 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
15143 fails. If suppress_flag is set, skip perror message about not
15144 being able to send to GDB.
15145 (send_gdb): If suppress_flag is set, don't try to send commands to
15146 GDB.
15147 (gdb_expect): If suppress_flag is set, always fail immediately.
15148 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
15149 (gdb_init): Call gdb_stop_suppressing_tests.
15150 (default_gdb_exit): Ditto.
15151 (default_gdb_start): Ditto.
15152
15153 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
15154 gdb_stop_suppressing_tests as appropriate.
15155 * gdb.base/break.exp: Ditto.
15156 * gdb.base/callfuncs.exp: Ditto.
15157 * gdb.base/commands.exp: Ditto.
15158 * gdb.base/exprs.exp: Ditto.
15159 * gdb.base/funcargs.exp: Ditto.
15160 * gdb.base/list.exp: Ditto.
15161 * gdb.base/recurse.exp: Ditto.
15162 * gdb.base/scope.exp: Ditto.
15163 * gdb.base/structs.exp: Ditto.
15164 * gdb.c++/inherit.exp: Ditto.
15165
15166Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
15167
15168 * config/vr4300.exp: New file.
15169
99707966 15170 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 15171
99707966 15172 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
15173
15174Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
15175
15176 * lib/gdb.exp(gdb_init): New function.
15177
15178 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
15179 for each individual variable set.
15180
15181 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
15182 name.
15183
15184 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
15185
15186 * gdb.base/scope.exp: Use gdb_test.
15187
15188 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
15189 aborting; the testsuite driver will do that for us (see
15190 gdb_finish). Also, use gdb_test in a few more places.
15191
15192Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
15193
15194 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
15195
15196Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
15197
15198 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
15199 and "add_tests" are not at the same address.
15200
15201Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
15202
15203 * gdb.base/ptype.exp: Use gdb_test.
15204
15205Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
15206
15207 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
15208 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
15209 left in. No longer expect them to fail.
15210
15211 * gdb.stabs/*.mt; Deleted, no longer used.
15212 * gdb.stabs/configure.in: Remove references to target makefile
15213 frags.
15214 * gdb.stabs/configure: Rebuilt.
15215
15216 * gdb.disasm/*.mt: Deleted, no longer used.
15217 * gdb.disasm/configure.in: Remove references to target makefile
15218 frags. Use "sh3.s" as the unique filename for this directory.
15219 * gdb.disasm/configure: Rebuilt.
15220
15221 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
15222 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
15223 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
15224
15225Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
15226
15227 * config/udi.exp: Use mondfe,name instead of remote_host.
15228
15229Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
15230
15231 * gdb.base/watchpoint.exp: Don't expect a failure when calling
15232 a function with a watchpoint enabled on the mn10200.
15233
15234 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
15235 before trying to create it!
15236
15237Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
15238
15239 * config/vx.exp: Use hostname instead of netport.
15240
15241 * config/vxworks.exp: New file.
15242
15243 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
15244
15245 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
15246 gdb before assuming everything worked. Send a ^C if a timeout
15247 occurs.
15248
15249 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
15250 $gdb_spawn_id directly.
15251 (gdb_run_cmd): Try _start as well as start. Use the target feature
15252 gdb,start_symbol as the symbol to start from when jumping.
15253
15254Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
15255
15256 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
15257 redundant) test.
15258
15259 * gdb.base/recurse.exp: Relax final value test for 'b' so that
15260 it doesn't lose for 16bit integer systems.
15261
15262Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
15263
15264 * gdb.fortran/types.exp: If the target doesn't support "double"
15265 data types, then expect "real" types to only be 4 bytes.
15266
15267 * gdb.c++/virtfunc.exp: Expect failure for virtual function
15268 call tests if the target doesn't support inferior function calls.
15269
15270 * gdb.base/printcmds.exp: Allow minor deviation in FP values
15271 in printf tests.
15272
15273Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
15274
15275 * gdb.base/help.exp: Disable "help set", "help show", and
15276 "help support". Simplify regexp for "help stack".
15277
15278 * gdb.base/default.exp: Set match_max to 5000 and the timeout
15279 to 60 seconds. Temporarily set match_max to 15000 around the
15280 "info copying" test.
15281
15282 * gdb.base/nodebug.exp: Don't try to do an inferior function
15283 call if the target doesn't support them.
15284 * gdb.base/printcmds.exp: Likewise.
15285 * gdb.base/setvar.exp: Likewise.
15286 * gdb.base/structs.exp: Likewise.
15287 * gdb.c++/templates.exp: Likewise.
15288 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
15289
15290 * gdb.base/recurse.exp: Enable for the mn10200.
15291
15292 * configure.in: Do configure gdb.stabs directory for *-*-elf
15293 targets.
15294 * configure: Rebuilt.
15295
15296 * gdb.base/break.exp: Check for gdb,noresults before testing
15297 exit status and/or results from the target.
15298 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
15299 * lib/gdb.exp: Remove old (now bogus) initialization of
15300 noinferior, noargs, noresults and nosignals.
15301
15302Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
15303
15304 * config/sh.exp: New file.
15305
15306 * config/slite.exp: Try to connect multiple times to the board
15307 before rebooting. Only send a "monitor run" if need_monitor_run
15308 is set.
15309
15310 * gdb.base/break.exp: Don't do the "stub continue" test if
15311 the target has gdb_stub set.
15312
15313 * gdb.base/callfuncs.exp: Increase the timeout.
15314
15315 * gdb.base/interrupt.exp: Don't even try to compile the testcase
15316 if the target has gdb,noinferiorio set.
15317
15318 * gdb.base/list.exp: Increase match_max to 10000 characters.
15319
15320 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
15321
15322 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
15323 target.
15324
15325 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
15326
15327Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
15328
15329 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
15330 trying to delete the copy of gdb. Catch the file delete so we
15331 don't die if the delete fails; also, the file should be copied to
15332 the host, not to the build.
15333
15334Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
15335
15336 * lib/gdb.exp(gdb_test): Surround the result pattern with
15337 parenthesis in case it contains multiple regexps separated
15338 with |.
15339
15340 * gdb.base/watchpoint.exp: Use gdb_test.
15341 * gdb.base/default.exp: Ditto.
15342
15343Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
15344
99707966 15345 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 15346
c906108c
SS
15347 * gdb.base/scope.exp: Use gdb_test.
15348 * gdb.c++/classes.exp: Ditto.
15349 * gdb.c++/inherit.exp: Ditto.
15350
15351Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
15352
15353 * gdb.base/crossload.exp: Don't use execute_anywhere, use
15354 remote_exec instead.
15355 * gdb.base/corefile.exp: Don't be ridiculous.
15356 * gdb.base/*.c: Add missing stub invocations.
15357
15358Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
15359
15360 * config/slite.exp: Miscellaneous fixes.
15361
15362 * lib/gdb.exp: Fix runto.
15363
15364 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
15365 the target.
15366
15367 * gdb.base/watchpoint.exp: Fix regexp.
15368
15369 * lib/gdb.exp(default_gdb_exit): Add a catch to the
15370 close and wait commands, as the descriptor may now be
15371 invalid. Always call "remote_close host".
15372
15373Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
15374
15375 Major rewrite for testsuite revision.
d63a86f8 15376
c906108c
SS
15377 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
15378 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
15379 instead of relying on spawn_id to always contain a valid
15380 spawn id.
15381 (get_compiler_info): New procedure to build the ${binfile}.ci
15382 file, instead of replicating this in N different places.
15383 (gdb_compile): New procedure.
d63a86f8 15384
c906108c
SS
15385 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
15386 appropriate arguments) instead of compile. Use gdb_test in a lot
15387 more places. Use send_gdb instead of send. Always run gdb_start
15388 at the start of a testcase, as this is no longer done magically.
15389
15390 config/*-gdb.exp: Rename without the -gdb suffix.
15391
15392 config/mips.exp: Use remote_close instead of exit_remote_shell.
15393 config/monitor.exp: Use target_info instead of looking at
15394 baud, timeout, etc.
15395 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
15396
15397Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15398
15399 * gdb.c++/templates.exp (test_ptype_of_templates),
15400 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
15401 Update expect patterns for destructors and assignment operators
15402 to match corresponding c-typeprint.c changes.
15403 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
15404 to destructor breakpoint test, GDB should be able to set the
15405 destructor breakpoint without specifying arguments.
15406
15407Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
15408
15409 * gdb.threads/pthreads.exp: Change result for failure to compile due
15410 to lack of pthreads runtime support from an error to simply an
15411 unsupported test, per dejagnu standards.
15412
15413Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15414
15415 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
15416 where GDB exits to reduce pattern match time.
15417 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
15418
15419 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
15420
dc96c6c7 15421Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
15422
15423 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
15424 * gdb.base/default.exp: ditto.
15425 * gdb.base/nodebug.exp: ditto.
15426 * gdb.base/printcmds.exp: ditto.
15427 * gdb.base/ptype.exp: ditto.
15428 * gdb.base/setvar.exp: ditto.
15429 * gdb.base/structs.exp: ditto.
15430 * gdb.base/setshow.c: Guard against uninitialized values of argc.
15431
15432Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
15433
15434 * configure, */configure: Rebuild with autoconf 2.12.
15435
15436Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
15437
15438 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
15439 use new i*86-pc-linux*-gnu quads.
15440 * gdb.base/corefile.exp: Ditto.
15441 * gdb.base/signals.exp: Ditto.
15442 * gdb.base/sigall.exp: Ditto.
15443 * gdb.base/interrupt.exp: Ditto.
15444
15445 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
15446 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
15447 RedHat 4.0.
d63a86f8 15448
c906108c
SS
15449 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
15450 linux. This allows the test case to at least compile on latest
15451 linux, but still not run due to missing the threads runtime library.
15452
15453Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15454
15455 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
15456 directory to search gdb directory. Accept and step over conditional
15457 stack alignment code. Consume $prompt in failure cases.
15458 Reset timeout to $oldtimeout instead of some arbitrary value.
15459 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
15460 timeout problems with infinite stack backtraces.
15461 * gdb.base/ptype.exp (ptype struct link, union tu_link):
15462 Accept function parameters for linkfunc member.
15463
15464Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
15465
15466 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
15467 (CXXFLAGS): Remove, unreferenced.
15468 (B_OPTIONS): Add for -B options and add code to initialize with
15469 previous -B options and also add -B option to pick up cross compiled
15470 runtime.
15471 (TARGET_INCLUDES): Add for -I options and add code to initialize when
15472 doing cross compiles.
15473 (target_alias): Declare global.
15474 (xgcc): Set variable to full path of gcc in build tree. Use findfile
15475 to verify that gcc exists in build tree, and if so set CC to that
15476 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 15477
c906108c
SS
15478Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
15479
15480 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
15481 ptype test for anonymous union. Fixup testcase to match
15482 current gcc debug output.
15483
15484Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
15485
15486 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
15487 force argument to an unsigned long type.
15488
15489Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
15490
15491 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
15492 tests and anonymous union print/ptype tests.
15493 * gdb.base/list.exp (test_forward-search): Increase timeout by
15494 5 minutes for the "search extremely long line" case.
15495 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
15496 completely optional and that the pass/fail messages use the command as
15497 the message if that third arg is a null string.
15498 (gdb_test_exact): Arrange that a null string pattern means match a
15499 null string output rather than any output, which might include random
15500 errors.
15501 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
15502 backtrace test.
15503 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
15504 always failing and failure is now exposed by gdb.exp changes.
15505
15506Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
15507
15508 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
15509 weren't being noted.
15510
15511Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15512
15513 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
15514 * gdb.stabs/weird.exp: Remove v_comb xfails.
15515
dc96c6c7 15516Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
15517
15518 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 15519 list.exp scope.exp watchpoint.exp]
c906108c 15520 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 15521
dc96c6c7 15522Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
15523
15524 * config/monitor.exp: Increase download timeout to 1000 seconds.
15525
dc96c6c7 15526Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
15527
15528 * config/m32r.exp: Increase timeout to 120 seconds.
15529
15530Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
15531
15532 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
15533 and accept older ordering as obsolescent gcc or gdb.
15534 * gdb.c++/templates.exp: Ditto.
15535 * gdb.c++/virtfunc.exp: Ditto.
15536
15537Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
15538
15539 * gdb.base/coremaker.c: Add code to mmap some data so we
15540 can check that it ends up in the core file.
15541 * gdb.base/corefile.exp: Add test to read mmapped data
15542 from core file.
15543
dc96c6c7 15544Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
15545
15546 * config/m32r.exp: New file.
15547
15548Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
15549
15550 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
15551 that cflags can contains -gstabs, and work correctly for other tests.
15552
dc96c6c7 15553Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
15554
15555 * gdb.base/setshow.exp: New file, tests show and set.
15556 * gdb.base/setshow.c: New file, tests show and set.
15557 * gdb.base/help.exp: Add test for help set|show annotate.
15558 * gdb.base/default.exp: Add test for set|show annotate.
15559
15560Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
15561
15562 * testsuite/gdb.base/break.exp: Make backtrace from factorial
15563 errors unique.
15564 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
15565 explicitly.
15566
15567Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
15568
15569 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
15570 and width commands. This is done elsewhere.
15571 * (gdb_start): Don't call gdb_start_sim here. That's already
15572 done in gdb_load. This fixes lots of failures in default.exp.
15573
15574Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
15575
15576 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
15577 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
15578 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
15579 in the same we we treat other failures (since it may be an expected
15580 condition), rather than as an error.
15581 * gdb.base/signals.exp (test_handle_all_print): Revert back to
15582 old test format.
15583
15584Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
15585
15586 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
15587 (distclean maintainer-clean realclean): No need to remove files
15588 twice. Nuke the duplicates.
15589 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 15590 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
15591 Remove config.h along with other config files.
15592
15593Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
15594
15595 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
15596 "p func1 ()" and note that rests of tests are skipped.
15597 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
15598 setup_xfails for "print func2::coremaker_local".
15599 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
15600 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
15601 affected by the previous run test.
15602 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
15603 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
15604 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
15605 "pass int powerset tuple" and "pass modeless int powerset tuple".
15606 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
15607 "real write 4" and "real write 8".
15608 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
15609 setup_xfails for "print vs1 after tuple assign 2",
15610 "print \$i after tuple assign 2", and
15611 "print vs2 after tuple assign 2".
15612 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
15613 meaningful error message and return -1 so the caller can
15614 suppress further tests and avoid a cascade of errors.
d63a86f8 15615
c906108c
SS
15616Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
15617
15618 * gdb.base/a1-selftest.exp: Tweak tests to account for new
15619 format for printing version.
15620 * gdb.base/default.exp: Ditto.
15621 * gdb.base/interrupt.exp: Fix problem with cascade of
15622 errors if child process dies while calling a function.
d63a86f8 15623
c906108c
SS
15624Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
15625
15626 * Makefile.in (VPATH): Add
15627 * Makefile.in (Makefile, config.status): Fix rules so things get
15628 remade when necessary.
15629
15630Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
15631
15632 * Makefile.in (just-check): Add path to sibling expect dir
15633 to environment variable specified by RPATH_ENVVAR.
15634
15635Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
15636
15637 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
15638 (just-check): Add shared library paths for libstdc++, tk,
15639 tcl, bfd, and opcodes to the environment variable specified
15640 in RPATH_ENVVAR.
15641 * configure.in: Add support to recognize --enable-shared flag
15642 and generate correct value for RPATH_ENVVAR.
15643 * configure: Regenerated with autoconf.
15644
15645Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
15646
15647 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
15648 include all osf versions.
15649 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
15650 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
15651 when target is linux. When failing to build pthreads test
15652 executable, give more meaningful message.
15653 * gdb.threads/pthreads.c: Hpux also uses old definition of second
15654 arg for pthread_create.
d63a86f8 15655
c906108c
SS
15656Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
15657
15658 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
15659 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
15660 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
15661 and -lpthreads (everybody else).
15662 (test_startup): Fail gracefully if threads are not supported.
15663 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
15664 "p/c array_index("abcdef",2)" when not gcc compiled.
15665 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
15666 "print func2::coremaker_local" when not gcc compiled.
15667 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
15668 "ptype on opaque struct tagname (statically)",
15669 "ptype on opaque struct tagname (dynamically) 1", and
15670 "ptype on opaque struct tagname (dynamically) 2"
15671 for not compiled with gcc.
15672 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
15673 backtrace when compiled with gcc.
d63a86f8 15674 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
15675 than always return success.
15676
15677Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
15678
15679 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
15680
15681Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
15682
15683 * gdb.base/structs.exp: Undo last change.
15684
15685Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
15686
15687 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
15688 encapsulate all the steps/nexts done during self test, starting
15689 at main, and makes them less sensitive to optimization issues.
15690 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
15691 signal handler" test.
15692 * gdb.threads/pthreads.exp: Only run this for native configs.
15693 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
15694 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
15695 tests.
15696 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
15697 for "runto test_calls(void)" test.
d63a86f8 15698
c906108c
SS
15699Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
15700
15701 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
15702 and don't expect address info in breakpoint confirmations.
15703
15704Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
15705
15706 * gdb.base/list.exp (test_forward_search): Increase timeout
15707 temporarily by 60 seconds for searching extremely long line,
15708 and then reset to old value when done. Increase expect input
15709 buffer to 10000.
15710
15711Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
15712
15713 * gdb.base/list.exp (test_forward_search): Fix to handle very
15714 long source line without overflowing expect's input buffer.
15715
15716Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
15717
15718 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
15719 "buffer_full".
15720
15721 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
15722 "buffer_full".
15723
15724 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
15725 "buffer_full".
15726
15727 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
15728 "buffer_full".
15729
15730Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
15731
15732 * configure.in (configdirs): Add gdb.threads.
15733 * configure: Regenerated with autoconf.
15734 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
15735 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
15736 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 15737
c906108c
SS
15738Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
15739
15740 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
15741
15742Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
15743
15744 * gdb.base/signals.exp (test_handle_all_print): Test separately for
15745 each signal's status in the output of "handle all print".
15746 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
15747 the \r\n sequence that immediately precedes the gdb prompt.
15748 * gdb.base/a1-selftest.exp: Save original timeout and restore
15749 after test.
15750
15751Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
15752
15753 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
15754 symbol.
15755
15756Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
15757
15758 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
15759
15760Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
15761
15762 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
15763 timeout by 60 seconds.
15764
15765Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
15766
15767 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
15768 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
15769 error return.
15770
15771Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
15772
15773 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
15774 gdb initialization, also report how long dejagnu waited. Restore
15775 old timeout before doing error return. Temporarily increase timeout
15776 by 3 minutes to allow for slow startups over heavy NFS use.
15777
15778Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
15779
15780 * lib/gdb.exp: Report timeout value for verbosity level 2.
15781 * config/gdbserver.exp: Ditto.
15782 * config/hppro.exp: Ditto.
15783 * config/mips-gdb.exp: Ditto.
15784 * config/monitor.exp: Ditto.
15785 * config/netware.exp: Ditto.
15786 * config/sim-gdb.exp: Ditto.
15787 * config/slite-gdb.exp: Ditto.
15788 * config/udi-gdb.exp: Ditto.
15789 * config/unix-gdb.exp: Ditto.
15790 * config/vx-gdb.exp: Ditto.
15791 * gdb.base/a1-selftest.exp: Ditto.
15792 * gdb.base/a2-run.exp: Ditto.
15793 * gdb.base/break.exp: Ditto.
15794 * gdb.base/corefile.exp: Ditto.
15795 * gdb.base/list.exp: Ditto.
15796 * gdb.base/recurse.exp: Ditto.
15797 * gdb.base/scope.exp: Ditto.
15798 * gdb.base/signals.exp: Ditto.
15799
15800Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15801
15802 * gdb.threads/Makefile.in (docdir): Removed.
15803
15804Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15805
15806 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 15807 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 15808 @srcdir@.
d63a86f8 15809 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
15810 autoconf 2.5 or higher.
15811 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
15812
15813Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
15814
15815 * configure: Regenerated.
15816 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
15817 avoid name clashes with SunOS headers.
15818
15819Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
15820
15821 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
15822
15823Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
15824
15825 * gdb.base/callfuncs.exp: Finish last change -- make sure the
15826 prototype information ends up in the compiler info file.
15827
15828Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
15829
15830 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
15831 attempting to regenerate it. Eliminate use of a temporary file
15832 and just generate the info file directly. Source it immediately,
15833 for consistency of use.
15834 * gdb.base/corefile.exp: Ditto
15835 * gdb.base/exprs.exp: Ditto.
15836 * gdb.base/funcargs.exp: Ditto.
15837 * gdb.base/langs.exp: Ditto.
15838 * gdb.base/list.exp: Ditto.
15839 * gdb.base/mips_pro.exp: Ditto.
15840 * gdb.base/nodebug.exp: Ditto.
15841 * gdb.base/opaque.exp: Ditto.
15842 * gdb.base/ptype.exp: Ditto.
15843 * gdb.base/scope.exp: Ditto.
15844 * gdb.base/setvar.exp: Ditto.
15845 * gdb.base/signals.exp: Ditto.
15846 * gdb.base/whatis.exp: Ditto.
15847 * gdb.c++/templates.exp: Ditto.
15848 * gdb.c++/virtfunc.exp: Ditto.
15849 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
15850 whether or not to add -lstdc++ to the compile command line args.
15851
15852Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15853
15854 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
15855 it got fixed by the recent lookup_minimal_symbol_by_pc change.
15856 Increase timeout, a lot of single stepping might be needed if the
15857 target has no hardware watchpoints.
15858
15859Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
15860
15861 * gdb.base/break.exp: Ignore compiler warnings when compiling
15862 break.c.
15863 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
15864 * gdb.base/default.exp: Add h8300 xfails. Handle messages
15865 from remote-sim.
15866 * gdb.base/exprs.exp: Add h8300 xfails.
15867 * gdb.base/funcargs.exp: Likewise.
15868 * gdb.base/nodebug.exp: Likewise.
15869 * gdb.base/printcmds.exp: Likewise.
15870 * gdb.base/ptype.exp: Likewise.
15871 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
15872 h8300 xfails.
d63a86f8 15873 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
15874 on the h8300.
15875 * gdb.base/funcargs.c: Explicitly make last constant argument to
15876 call_after_alloca_subr an unsigned long type.
15877 * gdb.base/return.c: Include stdio.h.
15878
15879Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
15880
15881 * config/abug.exp: New file for the older Motorola Bug monitor
15882 that runs on the mvme13x series VME boards.
15883 * config/monitor.exp: Use the new config array for target settings
15884 if they exist.
15885
15886Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
15887
15888 * sim-gdb.exp: Make the SH simulator allocate less space when
15889 it is targeted.
15890
15891Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
15892
15893 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
15894 test.
15895
15896Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
15897
15898 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
15899 "rs6000-*-*" for "list function in include file" when gcc compiled.
15900 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
15901 for "p ctable1[120]".
15902 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
15903 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
15904 Remove setup_xfail for "rs6000-*-*" for
15905 "print 'scope0.c'::filelocal before run".
15906 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
15907 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
15908 since some compilers don't allow both options to be given
15909 on the same command line. Create object file and move it.
d63a86f8 15910
c906108c
SS
15911Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
15912
15913 * gdb.base/corefile.exp: Always regenerate the core file, since
15914 we always regenerate the coremaker program. Detect special case
15915 where registers cannot be read from core file.
d63a86f8 15916
c906108c
SS
15917Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
15918
15919 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
15920 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
15921 * gdb.c++/templates.exp: Only match on basename of file since
15922 some formats like xcoff don't encode directory information.
15923 * gdb.stabs/weird.exp: Use the right sed script for powerpc
15924 and rs6000 AIX xcoff targets.
15925 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
15926 * configure: Regenerate.
15927 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
15928 here, rather than in distclean.
d63a86f8 15929
c906108c
SS
15930Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
15931
15932 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
15933 defined, and use it to compile the test case with -O2. The
15934 native compilation still uses no optimization.
15935 * gdb.base/mips_pro.c: Remove inline assembly code since
15936 it is compiled PIC by default, which results in assembler
15937 warnings that make the testsuite think the compilation
15938 was unsuccessful.
15939
15940Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
15941
15942 * gdb.c++/misc.exp: Add note to message for
15943 "print s.a for foo struct" that this is a known gcc 2.7.2
15944 and earlier bug.
15945
15946Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
15947
15948 * gdb.base/break.exp: Fix pattern for matching "Delete all
15949 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
15950 setup_xfail for deleting all breakpoints test. Fix various
15951 timeout messages to include "(timeout)".
15952 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
15953 for "p t_float_values2(3.14159,float_val2)".
15954 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
15955 for "continue to call2g" when gcc compiled.
15956 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
15957 "up to foo in langs.exp", "show language at foo in langs.exp",
15958 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
15959 and "show language at fsub in langs.exp".
15960 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
15961 "list line 1 in include file", "list message for lines past EOF",
15962 "list function in include file", "list list0.h:foo", and
15963 "list filename:function; nonexistant function".
15964 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
15965 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
15966 and "ptype t_char_array" to be for native cc only.
d63a86f8 15967
c906108c
SS
15968Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
15969
d63a86f8 15970 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
15971 setup_xfail for "print coremaker_bss", "print coremaker_ro",
15972 "print func2::coremaker_local", and "backtrace in corefile.exp".
15973
15974Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
15975
15976 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
15977 "bt in signals.exp". This problem only appears when running
15978 the testsuite, and then only intermittently.
15979
15980Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
15981
15982 * gdb.base/return.exp (return_tests): Differentiate between
15983 two tests of continuing.
15984
15985Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
15986
15987 * */Makefile.in (maintainer-clean): Remove config.log.
15988 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
15989 * gdb.c++/Makefile.in (PROGS): Add inherit.
15990 (clean): Remove *.ci.
15991
15992Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
15993
15994 * gdb.c++/misc.cc: Add test code from Mike Stump.
15995 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
15996
15997Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
15998
15999 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
16000 to "alpha-*-osf2*" and add comment.
16001 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
16002 setup_xfail for "step over execarg initialization" and
16003 "step over corearg initialization".
16004 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
16005 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
16006 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
16007 gcc compiled for "print coremaker_bss", "print coremaker_ro",
16008 "print func2::coremaker_local", and "backtrace in corefile.exp".
16009 * gdb.base/signals.exp: Build and source signals.ci.
16010 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
16011 to be for gcc only.
16012 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 16013
c906108c
SS
16014Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16015
16016 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
16017 Feb 3 procfs.c change.
16018
16019Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
16020
16021 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
16022
16023Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
16024
16025 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
16026 from dejagnu's apparent default of 10 seconds, which gives random
16027 results when running the tests over NFS on moderately loaded systems.
16028 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
16029
16030Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
16031
16032 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
16033 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
16034 result reports.
16035
16036Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
16037
16038 * configure.in (CY_AC_PATH_TCLH): Remove.
16039 * configure: Regenerate.
16040
16041Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
16042
16043 * gdb.c++/Makefile.in (clean): Add missing '{'.
16044
16045Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
16046
16047 * lib/gdb.exp: Provide a default value for noinferior.
16048
16049 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
16050 Load libgloss.exp.
16051
16052Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
16053
16054 * gdb.disasm/hppa.exp: Compile directly into an executable, use
16055 the executable, not the .o to run the tests from.
16056
16057Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
16058
16059 * gdb.base/break.exp: Don't test for program exit or exit status
16060 if $noresults if nonzero.
16061 * gdb.base/langs.exp: Likewise.
16062 * gdb.base/watchpoint.exp: Likewise.
16063
16064 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
16065 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
16066 trying to compile the testcase.
16067
16068Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
16069
16070 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
16071 * gdb.base/signals.exp (continue to handler): Likewise.
16072
16073Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
16074
16075 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
16076
16077 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
16078
16079Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
16080
16081 * gdb.base/corefile.exp: Recognize "not found" as failure
16082 when trying to determine if a core file was generated.
16083 If no core file was generate the first time, try again without
16084 the ulimit -c to work around braindamaged shells.
16085
16086Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
16087
16088 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
16089 [] tests with "test" and enclose string in quotes.
16090 * gdb.stabs/configure: Rebuild
d63a86f8 16091
c906108c
SS
16092Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
16093
16094 Changes in sync with expect:
16095 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
16096 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
16097 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
16098 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
16099 argument to AC_REQUIRE.
16100 * configure: Regenerated.
16101
16102Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
16103
16104 * gdb.base/corefile.exp: When generating a core, discard any
16105 error messages about ulimit not found and the "core dumped"
16106 message from the shell that runs the coredumper.
16107
16108Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
16109
16110 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
16111
16112 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
16113 which sed script to run. Expect failure for v_comb test
16114 on PA targets too.
d63a86f8 16115
c906108c
SS
16116Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
16117
16118 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
16119 "print func2::coremaker_local" and for "backtrace in corefile.exp"
16120
16121Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
16122
16123 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
16124 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
16125 "sparc-sun-solaris*" xfails for "p v_comb".
16126 * lib/gdb.exp (default_gdb_start): Fix typo.
16127 * gdb.base/corefile.exp: Allow "Core was generated by ..."
16128 messages to not include the full program name that caused
16129 the core dump since some systems (such as solaris) apparently
16130 truncate this path to about 80 characters.
16131 When generating a core file first try increasing the core file
16132 size limit to unlimited since some systems may default it to
16133 zero, and it is harmless to try it. Move the test for failing
16134 to generate a core file to where it will actually get executed.
16135 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
16136 new gdb result from g++ debug info improvements and make old
16137 pattern obsolescent. Also account for size_t differences
16138 (may be int or long).
16139 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
16140 initialization before function call is placed in the delay slot
16141 and thus appears to be skipped over by commands such as "next".
16142
16143Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
16144
16145 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
16146
16147Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
16148
16149 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
16150 input source file; fix code to compile test to deal with this
16151 convention.
16152 * gdb.c++/*.exp: Likewise.
16153
16154Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
16155
16156 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
16157 "bt in signals.exp".
16158
16159Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
16160
16161 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
16162 "step over execarg initialization" and
16163 "step over corearg initialization".
16164
16165Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
16166
16167 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
16168 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
16169
16170Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
16171
16172 From Rob Savoye (rob@poseidon.cygnus.com)
16173 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
16174 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
16175 configure.in}, gdb.disasm/{Makefile.in, configure.in},
16176 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
16177 configure.in}: Major reworking for autoconfig.
16178 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
16179 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
16180 New files.
16181 * config/unix-gdb.exp: Make GDB global.
16182 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
16183 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
16184 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
16185 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
16186 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
16187 term.exp, twice.exp, watchpoint.exp, whatis.exp},
16188 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
16189 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
16190 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
16191 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
16192 pr-8136.exp, result.exp, string.exp, tuples.exp},
16193 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
16194 to returns as necessary, arrange for test to compile own testcase
16195 executable.
16196 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 16197
c906108c
SS
16198Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
16199
16200 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
16201 clear_xfail at end of test which might not call either pass or fail.
16202 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
16203 "backtrace through signal handler".
16204
16205Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16206
16207 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
16208 continuing from a job control stop signal.
16209 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
16210
16211Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
16212
16213 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
16214 * gdb.base/corefile.exp: Likewise.
16215 * gdb.base/funcargs.exp: Likewise.
16216
16217Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
16218
16219 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
16220 * config/monitor.exp: Add support for setting baud rate.
16221
16222Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
16223
16224 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
16225 i*86-*-linux* xfails for "backtrace through signal handler".
16226 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
16227 "print func2::coremaker_local".
16228 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
16229 alpha-dec-osf2* xfail for
16230 "delete all breakpoints when none".
16231
16232Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
16233
16234 * gdb.base/break.exp: Change test that deletes all breakpoints
16235 when no user breakpoints are installed. A post 4.15 change
16236 causes gdb to no longer prompt in this case.
16237
16238Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
16239
16240 * gdb.base/return.exp (return_tests): Change xfail for test
16241 "correct value returned double test" to stop xfailing at
16242 Solaris 2.5. Apparently the bug has been fixed.
16243
16244Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
16245
16246 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
16247 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
16248
16249Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
16250
16251 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
16252 * gdb.disasm/hppa.s: Corresponding changes.
16253
16254Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
16255
16256 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
16257 makefile fragment.
16258 * config/mt-hpux: Deleted.
16259
16260Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
16261
d63a86f8 16262 * Many files: When warning about suppressed tests due to a
c906108c
SS
16263 nonexistant test binary, avoid incrementing the warning count.
16264
16265Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
16266
16267 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 16268
c906108c
SS
16269Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16270
16271 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
16272 "sparc-*-solaris2*".
16273
16274Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16275
16276 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
16277 Add global and local variables and initialize them.
16278 * gdb.base/corefile.exp: Test correct mapping of corefile sections
16279 by printing variables. Remove rs6000 and powerpc xfails, BFD now
16280 extracts the file name and terminating signal from the core file.
16281 * TODO: Remove note about tests for correct mapping of corefile.
16282 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
16283 from optimizing it away.
16284 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
16285 handles common blocks.
16286
16287Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
16288
16289 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
16290 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
16291
16292Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
16293
16294 * Makefile.in (maintainer-clean): New target, synonym for
16295 realclean.
16296 * gdb.base/Makefile.in (maintainer-clean): Likewise.
16297 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
16298 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
16299 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
16300 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
16301 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
16302
16303Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
16304
16305 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
16306 xfails when not gcc compiled for "print foo::funclocal".
16307 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
16308 "print foo::funclocal at foo",
16309 "print 'scope1.c'::foo::funclocal at foo",
16310 "print foo::funclocal_bss at foo",
16311 "print 'scope1.c'::foo::funclocal_bss at foo",
16312 "print foo::funclocal_ro at foo",
16313 "print 'scope1.c'::foo::funclocal_ro at foo",
16314 "print bar::funclocal at foo" and
16315 "print 'scope1.c'::bar::funclocal at foo".
16316 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
16317 gcc compiled for "print foo::funclocal at bar".
16318 Expand all messages to ensure that they identify that
16319 the test is at bar().
16320 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
16321 gcc compiled for:
16322 "ptype on opaque struct pointer (statically)",
16323 "ptype on opaque struct tagname (statically)",
16324 "ptype on opaque struct pointer (dynamically) 1",
16325 "ptype on opaque struct tagname (dynamically) 1",
16326 "ptype on opaque struct pointer (dynamically) 2" and
16327 "ptype on opaque struct tagname (dynamically) 2
16328 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
16329 gcc compiled for:
16330 "p datalocal"
16331 "whatis datalocal",
16332 "ptype datalocal",
16333 "p bsslocal",
16334 "whatis bsslocal", and
16335 "ptype bsslocal".
16336 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
16337 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
16338 when not gcc compiled.
16339 * gdb.base/funcargs.exp (float_and_integral_args): Add
16340 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
16341 compiled.
16342 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
16343 "backtrace from call6a" when not gcc compiled.
16344 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
16345 "backtrace from call7a" when not gcc compiled.
16346 * gdb.base/callfuncs.exp (do_function_calls):
16347 Add "hppa*-*-hpux*" xfail when not gcc compiled for
16348 "p t_char_array_values(char_array_val2,char_array_val1)",
16349 "p t_char_array_values(char_array_val1,char_array_val2)",
16350 "p t_char_array_values("carray 1","carray 2")",
16351 "p t_char_array_values("carray 1",char_array_val2)",
16352 "p t_char_array_values(char_array_val1,"carray 2")",
16353 "p sum_args(1,{2})",
16354 "p sum_args(2,{2,3})",
16355 "p sum_args(3,{2,3,4})",
16356 "p sum_args(4,{2,3,4,5})"
16357 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
16358 "backtrace in corefile.exp" when not gcc compiled.
16359
16360Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16361
16362 * gdb.base/signals.exp: Rewrite `handle all print' test as
16363 a procedure. Accept blanks or TABs as whitespace, increase
16364 timeout and expect input buffer size for the large output
16365 from the command. Remove "i*86-*-bsdi2.0" xfail.
16366
16367Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16368
16369 * gdb.base/setvar.exp: Add new testcases for truncation when
16370 assigning invalid values to bitfields.
16371
16372Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
16373
d63a86f8 16374 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
16375 mips-sgi-irix* xfail for
16376 "call inferior func with struct - returns char *"
16377 and fix test so that an optional (unsigned char *) cast is
16378 accepted in the result.
16379
16380Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
16381
16382 * gdb.base/funcargs.exp (float_and_integral_args): Remove
16383 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
16384 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
16385 * gdb.base/signals.exp: Remove duplicate "handle all print" test
16386 that accidentally got checked in.
16387
16388Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
16389
d63a86f8 16390 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
16391 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
16392 compiled test.
16393 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
16394 Add mips-sgi-irix5* xfail for not gcc compiled.
16395 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
16396 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
16397 "p top", "whatis top", "p middle", and "whatis middle".
16398 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
16399 "whatis signed char" for not gcc compiled.
16400 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
16401 "set variable signed char=-1 (-1)" and
16402 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
16403 * gdb.base/funcargs.exp (float_and_integral_args):
16404 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
16405 Add mips-sgi-irix* xfail when not gcc compiled for
16406 "continue to call2b".
16407 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
16408 "continue to call2g".
16409 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
16410 "backtrace from call6a"
16411 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
16412 "backtrace from call7k".
16413 Add mips-sgi-irix5* xfail when not gcc compiled for
16414 "backtrace from call7a".
16415 (localvars_after_alloca): Fix gdb_test cmds for
16416 "print * after runto ...".
16417 Remove rs6000-*-* xfails for
16418 "print i after runto localvars_after_alloca" and
16419 "print l after runto localvars_after_alloca"
16420 for all compilers.
16421 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
16422 when not compiled with gcc, for:
16423 "print signed char == (minus)",
16424 "print signed char != (minus)",
16425 "print signed char < (minus)",
16426 "print signed char > (minus)".
16427 * gdb.base/callfuncs.exp (do_function_calls):
16428 Add mips-sgi-irix* xfail, when compiled with native compiler, for
16429 "call inferior func with struct - returns char *".
d63a86f8 16430 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
16431 "correct value returned double test" to include Solaris 2.4.
16432 * gdb.base/funcargs.exp (float_and_integral_args):
16433 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 16434
c906108c
SS
16435Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16436
16437 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
16438 enumeration bitfields if compiling with GNU C.
16439 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
16440 to empty' prompt.
16441
16442Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
16443
16444 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
16445 test for PRO targets.
16446
16447 * gdb.base/funcargs.exp: Avoid ever setting more than 8
16448 breakpoints in the inferior at any given time by making
16449 two groups of breakpoints for call2*, call6* and call7*
16450 tests.
16451
16452Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16453
16454 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
16455 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
16456 from optimizing it away.
16457 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
16458 "call inferior func with struct".
16459
16460Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
16461
16462 * configure.in: Only configure gdb.chill for particular targets.
16463
16464Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
16465
16466 * gdb.base/Makefile.in: Add action to .c.o transformation
16467 rule that generates a .ci file for each .o file and remove
16468 explicit .c.o rules except for callfuncs.o.
16469 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
16470 generates a .ci file for each .o file and remove explicit
16471 .cc.o rules.
16472 (clean): Remove *.tmp *.ci files.
16473 (EXECUTABLES): Remove templ-info.exp.
16474 * gdb.base/compiler.c: New file.
16475 * gdb.c++/compiler.cc: New file
16476 * gdb.base/scope.exp: Source gdb.base/scope.ci.
16477 Change rs6000-*-* xfail for
16478 "print 'scope0.c'::filelocal_ro" and
16479 "print 'scope1.c'::filelocal" and
16480 "print 'scope1.c'::filelocal_bss" and
16481 "print 'scope1.c'::filelocal_ro" and
16482 "print 'scope1.c'::foo::funclocal" and
16483 "print 'scope1.c'::foo::funclocal_ro" and
16484 "print 'scope1.c'::bar::funclocal" and
16485 "print 'scope0.c'::filelocal_ro" and
16486 "print 'scope1.c'::filelocal at foo" and
16487 "print 'scope1.c'::filelocal_bss at foo" and
16488 "print 'scope1.c'::filelocal_ro at foo" and
16489 "print 'scope1.c'::foo::funclocal at foo" and
16490 "print 'scope1.c'::foo::funclocal_bss at foo" and
16491 "print 'scope1.c'::foo::funclocal_ro at foo" and
16492 "print 'scope1.c'::bar::funclocal at foo" and
16493 "print 'scope0.c'::filelocal_ro" and
16494 "print 'scope1.c'::filelocal" and
16495 "print 'scope1.c'::filelocal_bss" and
16496 "print 'scope1.c'::filelocal_ro" and
16497 "print 'scope1.c'::foo::funclocal" and
16498 "print 'scope1.c'::foo::funclocal_bss" and
16499 "print 'scope1.c'::foo::funclocal_ro" and
16500 "print 'scope1.c'::bar::funclocal" and
16501 "print 'scope1.c'::bar::funclocal_bss"
16502 to only be xfail'd when not compiled with gcc.
d63a86f8 16503 Add rs6000-*-* xfail for
c906108c
SS
16504 "print 'scope0.c'::filelocal_bss before run"
16505 when compiled with gcc.
16506 (test_at_main): Add rs6000-*-* xfail for
16507 "print filelocal_ro in test_at_main"
16508 when compiled with gcc.
16509 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 16510 Add rs6000-*-aix* xfail for
c906108c
SS
16511 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
16512 "ptype t_char_array", not compiled with gcc.
16513 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
16514 xfail for "list foo (in include file)" when gcc compiled.
16515 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
16516 (integral_args): Add rs6000-*-* xfail for
16517 "run to call0a" if not compiled with gcc.
16518 (unsigned_integral_args): Add rs6000-*-* xfail for
16519 "run to call1a" if not compiled with gcc.
16520 (float_and_integral_args): Add rs6000-*-* xfail for
16521 "run to call2a" if not compiled with gcc and for
16522 "continue to call2b" for any compiler.
16523 Add rs6000-*-* xfail to
16524 "print f1 after run to call2a" for gcc compiled.
16525 (discard_and_shuffle): Add rs6000-*-* xfail for
16526 "run to call6a".
16527 (shuffle_round_robin): Add rs6000-*-* xfail for
16528 "backtrace from call7a" if not compiled with gcc.
16529 Add rs6000-*-* xfail for
16530 "backtrace from call7b" if compiled with gcc.
16531 (call_after_alloca): Add rs6000-*-* xfail for
16532 "print c in call_after_alloca" and
16533 "print s in call_after_alloca" and
16534 "backtrace from call_after_alloca_subr"
16535 if not compiled with gcc.
16536 (localvars_in_indirect_call): Add rs6000-*-* xfail for
16537 "print c in localvars_in_indirect_call" and
16538 "print c in localvars_in_indirect_call" and
16539 "backtrace in indirectly called function" and
16540 "stepping into indirectly called function"
16541 if not compiled with gcc.
16542 (localvars_after_alloca): Add rs6000-*-* xfail for
16543 "print c after runto localvars_after_alloca" and
16544 "print s after runto localvars_after_alloca" and
16545 "print i after runto localvars_after_alloca" and
16546 "print l after runto localvars_after_alloca"
16547 for all compilers.
16548 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
16549 than whatis-info.exp.
16550 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
16551 than opaque-info.exp.
16552 Setup rs6000-*-* xfail for
d63a86f8 16553 "ptype on opaque struct pointer (statically)" and
c906108c
SS
16554 "ptype on opaque struct pointer (dynamically)" when
16555 not compiled with gcc.
16556 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
16557 rather than callf-info.exp.
16558 (do_function_calls): Add clear_xfail for rs6000-*-* for
16559 "p t_float_values2(3.14159,float_val2)". Seems to work
16560 fine there, both with xlc and gcc. Need to find out what
16561 it is doing right and fix other platforms.
16562 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
16563 "call inferior func with struct - returns int",
16564 "call inferior func with struct - returns long",
16565 "call inferior func with struct - returns float",
16566 "call inferior func with struct - returns double",
16567 "call inferior func with struct - returns char *",
16568 but only if not gcc compiled (presumes xlc compiled).
16569 Change rs6000-*-* xfails for
16570 "call inferior func with struct - returns char" and
16571 " call inferior func with struct - returns short" to only
16572 xfail if not using gcc.
16573 (clean mostlyclean): Remove *.ci and *.tmp files.
16574 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
16575 than templ-info.exp.
16576 * gdb.base/langs.exp: Source gdb.base/langs.ci.
16577 Add rs6000-*-* xfail for "up to foo in langs.exp"
16578 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
16579 when not gcc compiled.
d63a86f8 16580
c906108c
SS
16581Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16582
16583 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
16584 * gdb.base/corefile.exp: Likewise.
16585 * gdb.base/list.exp: Likewise.
16586 * gdb.base/scope.exp: Likewise.
16587 * gdb.base/siganls.exp: Likewise.
16588
16589 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
16590 compiler output.
16591 * gdb.base/whatis.exp: Likewise.
16592
16593Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
16594
16595 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
16596 failure (opcode table has been fixed to match reality).
16597
16598Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
16599
16600 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
16601 "call inferior func with struct - returns char",
16602 "call inferior func with struct - returns short"
16603
16604 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
16605 "print 'scope0.c'::filelocal at main",
16606 "print 'scope0.c'::filelocal_bss in test_at_main",
16607 "print 'scope0.c'::filelocal at foo",
16608 "print 'scope0.c'::filelocal_bss in test_at_foo",
16609 "print 'scope0.c'::filelocal at bar",
16610 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 16611
c906108c
SS
16612 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
16613 in source file 1". This bug seems to have been fixed with both
16614 gcc and native cc (was native assembler bug?).
16615
16616Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
16617
16618 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
16619 "backtrace through signal handler" to "i*86-*-sysv4*".
16620 * gdb.base/signals.exp: Add xfail for "'next' behaved as
16621 continue" case. Add "known SVR4 bug" to fail message.
16622 Add "i*86-*-bsdi2.0" xfail for "handle all print".
16623 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
16624 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
16625 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
16626 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
16627 "up to foo in langs.exp", "show language at foo in
16628 langs.exp", "up to cppsub_ in langs.exp", "show
16629 language at cppsub_ in langs.exp", "up to fsub in
16630 langs.exp", and "show language at fsub in langs.exp".
16631 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
16632 "bactrace in corefile.exp".
16633 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
16634 "call inferior function with struct - returns float" and
16635 "call inferior function with struct - returns double".
d63a86f8 16636
c906108c
SS
16637Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
16638
16639 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
16640 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
16641 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
16642 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
16643
16644Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
16645
16646 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
16647 (or overriden) "CHILL" macro rather then bare "gcc".
16648 Also look for ../../gcc/xgcc since that is what we will
16649 actually need, not "Makefile". Remove following assignment
16650 of CHILL to CHILL_FOR_TARGET because that results in
16651 recursive definition.
16652
16653Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
16654
16655 * gdb.base/corefile.exp: Change xfail for backtrace in
16656 corefile.exp from linuxaout to all linux.
16657 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
16658 cases where we miss the breakpoint at the signal handler
16659 for some reason. Setup xfail for linuxoldld/linuxaout and
16660 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
16661 hitting SIGURG breakpoint.
16662 * gdb.base/signals.exp: Setup xfail for "next" acting like
16663 continue to add linuxoldld. Setup xfail for all linux for
16664 "next to handler in signals_tests_1", "backtrace in
16665 signals_tests_1", "continue to func1", "pass SIGUSR1",
16666 and continue to handler".
16667
16668Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
16669
16670 * Update all FSF addresses except those in COPYING* files.
16671
16672Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
16673
16674 * gdb.base/a2-run.exp: Change messages to be more explicit about
16675 the status of args, and quote binfile in results.
16676
16677Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
16678
16679 * gdb.base/callfuncs.exp: Add tests for passing structs to
16680 inferior functions and return various types.
16681 * gdb.base/callfuncs.c: Add functions to receive a struct
16682 and return a member of the struct, in various types.
16683
16684Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16685
16686 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
16687
16688Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
16689
16690 * config/vxworks29k.exp: New file, sources vxworks.exp.
16691
16692Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16693
16694 * config/gdbremote.exp: New file. Testing framework using
16695 gdbserver.
16696
16697Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
16698
16699 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
16700 "call function when asleep" and "send end of file".
16701 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
16702 for "backtrace in corefile.exp".
16703 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
16704 for "backtrace through signal handler".
16705 * gdb.base/corefile.exp: Make sure we actually generate a core file
16706 before trying the core tests. Some systems allow the user to suppress
16707 generation of core files and default to that (linux for example).
16708 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
16709 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
16710
16711Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16712
16713 * gdb.threads: New directory with some crude multi-threaded
16714 gdb tests (step.exp and step2.exp).
16715 * config/mt-lynx (STEP_EXECUTABLE): Define.
16716 (THREADFLAGS): Define.
16717
16718Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
16719
16720 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
16721
16722 * gdb.base/signals.exp: Disable whole file for lynx until
16723 further notice.
16724
16725 * gdb.base/signals.exp: xfail test where "next" acts like
16726 "continue" for lynx.
16727
16728 * gdb.base/interrupt.exp: xfail test for calling function while
16729 inferior is asleep for lynx.
16730
16731 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
16732 than one cr-lf after each command.
16733
16734Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16735
16736 * configure.in: Reinstate setting of stabsdirs variable, fix
16737 typo in setting up configdirs for native builds.
16738
16739 * gdb.base/return.exp: Fix typo in return double test.
16740 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
16741 compiler from optimizing them away.
16742
16743Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
16744
16745 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
16746 sequences to be echo'd by gdb when using gdb_test.
16747 * gdb.chill/chexp.exp: Likewise.
16748 * gdb.fortran/exprs.exp: Likewise
16749
16750Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16751
16752 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
16753 after the inferior gdb has started.
16754
16755 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
16756 after each command.
16757 * gdb.base/funcargs.exp: Likewise.
16758 * gdb.base/gdbvars.exp: Likewise.
16759 * gdb.base/interrupt.exp: Likewise.
16760 * gdb.base/list.exp: Likewise.
16761 * gdb.base/watchpoint.exp: Likewise.
16762 * gdb.c++/demangle.exp: Likewise.
16763 * gdb.c++/inherit.exp: Likewise.
16764 * gdb.chill/chexp.exp: Likewise.
16765 * gdb.fortran/exprs.exp: Likewise.
16766
16767 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
16768 test if we can't handle IO to/from the inferior.
16769
16770 * gdb.c++/misc.exp: Always check for a program already being
16771 started after sending a "run" command to gdb.
16772
16773 * gdb.base/twice.exp: Start with a fresh gdb.
16774
16775 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
16776 only depend on gdb's expression code, not the chill runtime.
16777
16778 * gdb.base/return.c: Put return values into variables so we
16779 can have gdb print them rather than depending on the program
16780 to print them.
16781 * gdb.base/return.exp: Corresponding changes.
16782
16783 * lib/gdb.exp: Provide default value for noinferiorio.
16784 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
16785 the inferior.
16786
16787 * gdb.base/break.exp: Always check for a program already being
16788 started after sending a "run" command to gdb.
16789 (text_next_with_recursion): Don't check the output from the
16790 program's printf statement. Instead just make sure the program
16791 exited.
16792
16793 * gdb.base/commands.exp: Protect tests which need arguments with
16794 $noargs conditionals.
16795
16796Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16797
16798 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
16799 of structure member arrays to match gdb/valops.c:value_addr change.
16800
16801Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
16802
16803 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
16804 cases.
16805
16806Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
16807
16808 * configure.in (configdirs): Remove gdb.chill from default list
16809 of subdirs and then add it back in only if doing a native build.
16810 The current chill compiler does not yet work in any cross build.
16811 * Revert all signal changes from Jul 6.
16812 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
16813 for sh-hms targets, allowing these tests to link, with no other
16814 changes. Testing is suppressed by setting "nosignals" in site.exp.
16815
16816Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
16817
16818 * configure.in (signaldirs): Define and add to configdirs for all
16819 targets except some specific ones that are known to not support signals.
16820 Also clean up formatting.
16821 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
16822 (signals, sigall): Remove rules to build.
16823 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
16824 Moved to new gdb.signals directory.
16825 * gdb.signals: New test directory.
16826 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
16827 signals.c signals.exp}: New or moved files.
16828
16829Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
16830
16831 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
16832
16833Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
16834
16835 * gdb.base/return.exp: Xfail `return double' test failure
16836 on at least Solaris 2.3 and handle future/past versions on
16837 a case by case basis as appropriate. Also update message
16838 to include i*86 failures.
16839
16840Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16841
16842 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
16843
16844 * lib/gdb.exp: Fix comment which erroneously identified
16845 gdb_file_cmd as gdb_load (the 19 May change was in fact to
16846 gdb_file_cmd not gdb_load).
16847 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
16848
16849 * gdb.base/setvar.exp: Make test names consistent between pass and
16850 fail cases. Use gdb_test more.
16851
16852Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16853
16854 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
16855
16856Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16857
16858 * gdb.base/help.exp: Fix expected help string for `show commands'.
16859
16860Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
16861
16862 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
16863
16864 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
16865 of a text section.
16866
16867Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
16868
16869 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
16870 that loop eventually terminates. Fix Connection refused logic so
16871 that testsuite will expire nicely.
16872
16873Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
16874
16875 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
16876 config/rom68k.exp: New tcl glue for the appropriate monitors.
16877 These all just end up calling monitor.exp.
16878 * config/monitor.exp (gdb_target_monitor): Handle `Connection
16879 refused' by retrying. Cleanup some timeout issues.
16880 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
16881 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
16882 callers don't have to set/restore global timeout variable.
16883
16884 * The following set of changes centralizes management of the global
16885 timeout variable. This way, it can be set in one target dependent
16886 place instead of dozens of places scattered throughout the test suite.
16887 If you need to lengthen a timeout, then you should either set timeout
16888 in one of the config/{target}.exp files, or multiply it by a factor.
16889 Setting it to an absolute value is always going to lose for some
16890 targets.
16891 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
16892 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
16893 * gdb.base/funcargs.exp: Don't set timeout.
16894 * gdb.base/list.exp (test_forward_search): Only use local timeout.
16895 * gdb.base/printcmds.exp (test_print_string_constants
16896 test_print_array_constants): Don't set timeout.
16897 * gdb.base/ptype.exp: Don't set timeout.
16898 * gdb.base/recurse.exp: Don't set timeout.
16899 * gdb.base/return.exp: Don't set timeout.
16900 * gdb.base/watchpoint.exp: Don't set timeout.
16901 * gdb.c++/classes.exp (do_tests): Don't set timeout.
16902 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
16903
16904Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
16905
16906 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
16907
16908Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16909
16910 * lib/gdb.exp: Disable chill tests for irix5.
16911
16912Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16913
16914 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
16915 each test pass or fail.
16916
16917Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16918
16919 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
16920 xlc not gcc.
16921
16922Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
16923
16924 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
16925
16926Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
16927
16928 * config/est.exp: Fix copyright and comments. Remove dead code.
16929 Use targetname, serialport and baud variables instead of fixed
16930 constants.
16931 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
16932 * config/cpu32bug.exp: New file to support cpu32bug monitors.
16933
16934Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16935
16936 * gdb.base/watchpoint.exp: Don't run
16937 test_watchpoint_triggered_in_syscall for sunos.
16938
16939Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16940
16941 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
16942 they don't seem to exist. Do include stdio.h.
16943
16944Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16945
16946 * gdb.base/a1-selftest.exp: Add alpha xfail.
16947
16948Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16949
16950 * gdb.base/watchpoint.c (main): Prompt before calling read().
16951 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
16952 Revise accordingly. Remove cruft about sending "123" several
16953 times, until it gets noticed. Clean up the "print buf[0]" stuff
16954 so that it passes or fails, and waits for prompts in the usual way.
16955
16956Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16957
16958 * gdb.base/recurse.exp: Fix comment.
16959
16960 * TODO: Remove item about printing variables in nodebug.exp. Add
16961 item about enabling tests which are only run on some targets.
16962
16963 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
16964 fail, make test names unique, use new gdb_test convention
16965 regarding pattern, use gdb_test more, etc.).
16966
16967 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
16968 fail, make test names unique, etc.).
16969
16970Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16971
16972 * gdb.base/nodebug.c: Change return type of top and middle to
16973 short.
16974 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
16975 are fixed by the recent mdebugread.c changes. Allow `short ()'
16976 as type for top and middle.
16977
16978Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16979
16980 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
16981 nearly as I can tell, the whole thing was an accident in Stu's
16982 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
16983 to replace a send/expect pair with gdb_test, but ended up only
16984 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
16985 of 30 Mar 1995 took care of it, but left this vestigial comment
16986 which I am now nuking.
16987
16988Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
16989
16990 * gdb.base/break.exp: Look for different line number for
16991 breakpoint at main depending on usestubs.
16992
16993Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16994
16995 * gdb.base/list.exp: Adjust some alternate expect patterns to
16996 match recent list0.c change. Add alternate expect pattern for
16997 output from `list default lines around main' for optimizing
16998 compilers.
16999
17000Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17001
17002 * lib/gdb.exp: If nosignals is not set, set it to 0.
17003
17004Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
17005
17006 * config/slite-gdb.exp: Responds to load symbol table prompt.
17007 * gdb.base/break.exp: Adjust line number, fix rerun.
17008 * gdb.base/langs0.c: Add #ifdef usestubs.
17009
17010Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
17011
17012 * gdb.base/list.exp: Adjust line contents after adding new lines in
17013 list0.c. Also fix a syntax error.
17014
17015 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
17016 * gdb.base/break.exp: ditto.
17017 * gdb.base/list.exp: ditto.
17018 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
17019 * gdb.base/run.c: ditto.
17020 * gdb.base/list0.c: ditto.
17021 * gdb.base/funcargs.c: ditto.
17022
17023Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
17024
17025 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
17026 $targetname, $serialport and $baud instead of hardwired variables.
17027 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
17028 target doesn't support signals.
17029
17030Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
17031
17032 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
17033
17034Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17035
17036 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
17037 Don't rely on the value of an auto variable before it has been
17038 initialized. Use gdb_test more.
17039
17040Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17041
17042 * lib/gdb.exp (default_gdb_version): A version number must start
17043 with a digit, but other than that contains all characters up to
17044 the first whitespace character.
17045
17046Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17047
17048 * gdb.base/commands.exp (breakpoint_command_test): New tests.
17049
17050Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17051
17052 * gdb.c++/*.exp: Warn if executable does not exist. The original
17053 reason for skipping the warning was that configure.in sometimes
17054 intentionally skipped building the executables but the tcl code
17055 had no way of knowing. That (a) was always bogus with respect to
17056 error handling, (b) is no longer true (right now there is no way
17057 to skip C++ tests).
17058
17059 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
17060
17061Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17062
17063 * gdb.base/list.exp: Add expect patterns for output from
17064 SunPRO compiled executables.
17065 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
17066 types.
17067
17068Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17069
17070 * gdb.base/break.exp (test_next_with_recursion): Accept any line
17071 number (we are already testing that the correct source line text
17072 gets printed).
17073
17074 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
17075 that is what is intended, but something needed to be done to get
17076 sunos4 native working again.
17077
17078 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
17079
17080 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
17081 apparently went with a (very) old xfail.
17082
17083Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
17084
17085 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
17086 runto_main is a proc in gdb.exp that will do 'step' for target use
17087 stubs.
17088 * gdb.base/exprs.exp: ditto.
17089 * gdb.base/interrupt.exp: ditto.
17090 * gdb.base/opaque.exp: ditto.
17091 * gdb.base/printcmds.exp: ditto.
17092 * gdb.base/ptype.exp: ditto.
17093 * gdb.base/scope.exp: ditto.
17094 * gdb.base/setvar.exp: ditto.
17095 * gdb.base/signals.exp: ditto.
17096 * gdb.base/twice.exp: ditto.
17097 * gdb.c++/classes.exp: ditto.
17098 * gdb.c++/inherit.exp: ditto.
17099 * gdb.c++/templates.exp: ditto.
17100 * gdb.base/break.exp: no run and hit main for stubs. Change line
17101 numbers for breakpoints and info breakpoint.
17102 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
17103 breakpoint().
17104 * gdb.base/callfuncs.c: ditto.
17105 * gdb.base/exprs: ditto.
17106 * gdb.base/interrupt.c: ditto.
17107 * gdb.base/opaque0.c: ditto.
17108 * gdb.base/printcmds.c: ditto.
17109 * gdb.base/ptype.c: ditto.
17110 * gdb.base/scope0.c: ditto.
17111 * gdb.base/setvar.c: ditto.
17112 * gdb.base/signals.c: ditto.
17113 * gdb.base/twice.c: ditto.
17114 * gdb.c++/misc.cc: ditto.
17115 * gdb.c++/templates.cc: ditto.
17116
17117Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17118
17119 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
17120
17121 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
17122 somewhere between `read' and `main.c'. I'm pretty sure the
17123 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
17124 and it isn't particularly useful.
17125
17126 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
17127
17128Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17129
17130 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
17131
17132Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
17133
17134 * config/mt-slite: add LIBS and -nostdlib.
17135 * config/slite-gdb.exp: add this new file to support sparclite target.
17136
17137Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
17138
17139 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
17140
17141 * gdb.base/a2-run.exp: Change argument to istarget from
17142 "*-*-vxworks" to "*-*-vxworks*".
17143 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
17144
17145Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
17146
17147 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
17148 will not runto main but do a 'step' to step out of breakpoint().
17149 * config/mt-slite: add -Dusestubs.
17150
17151Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17152
17153 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
17154 instead of just @.
17155
17156 * gdb.base/signals.exp: Add test for "handle all print".
17157 * TODO: Remove "handle all print". Also remove item about
17158 checking copyright date (I don't like the idea of a spurious FAIL
17159 based on when we run the tests).
17160
17161 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
17162 for SunOS4 (reason for failure not investigated). Remove
17163 redundant test for $binfile.
17164
17165 * gdb.base/nodebug.c (array_index): Call malloc.
17166
17167 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
17168
17169Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
17170
17171 * gdb.base/recurse.exp: Update gdb_test invocation to use new
17172 conventions and slightly simplify the matching regexp.
17173
17174Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17175
17176 * gdb.base/break.exp: Update gdb_test invocation to use new
17177 convention.
17178
17179 * lib/gdb.exp: If noargs is not set, set it to 0.
17180
17181 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
17182 tests unique.
17183
17184 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
17185
17186Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17187
17188 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
17189 one argument of type "<non-float parameter>".
17190
17191Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
17192
17193 * config/rom68k.exp: New file to support Motorola IDP board.
17194 * gdb.base/a2-run.exp: Skip this file if noargs is set.
17195 * gdb.base/break.c: Change things around so that this program
17196 doesn't depend upon args. This is necessary to make remote
17197 targets work (in general, they can't take args).
17198 * gdb.base/break.exp: Don't try to send args to program. Don't
17199 expect output. Also, replace lots of code with gdb_test.
17200
17201Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17202
17203 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
17204 printing of '\'' (which is what the comment says we are testing,
17205 even though we were not), not '''.
17206 (test_integer_literals_rejected): Test that printing ''' is an error.
17207
17208 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
17209 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
17210 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
17211 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
17212 Use gdb_test not test_print_accept.
17213 * lib/gdb.exp: Remove test_print_accept.
17214
17215 * gdb.base/signals.exp (signal_tests_1): Make pass message
17216 consistent with fail message.
17217
17218 * gdb.base/whatis.exp: Remove xfails for printing char vs.
17219 unsigned char; the bug (PR 1821) is fixed.
17220
17221 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
17222
17223 * gdb.base/scope.exp (test_at_localscopes): Call pass for
17224 successful tests--makes xfailing them work right.
17225
17226Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17227
17228 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
17229 only \r\n, not .*. The test can pass .* as the last thing in
17230 $pattern if that is what it wants. In addition to providing this
17231 flexibility, this change should speed up pattern matching in cases
17232 where the pattern already ended with .* (there were a number of
17233 them). This change also helps catch bad patterns--in the old
17234 scheme the typo "char \*" instead of "char \\*" would pass. Now
17235 it is caught.
17236 * Many .exp files: Update callers.
17237
17238 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
17239 clearer and does not spuriously match multiple ('s. Likewise for
17240 ) and *.
17241
17242 * gdb.base/nodebug.exp: Test ability to call a function and pass
17243 it a string (even with no debugging info).
17244
17245 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
17246 "p '\'", which is the same as "p ''" once tcl gets done with
17247 quoting, to "p '\\'", which I suspect is what is intended (one
17248 backslash gets sent to GDB).
17249
17250 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
17251
17252Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17253
17254 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
17255 1817) was fixed literally years ago.
17256
17257Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17258
17259 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
17260 test, it causes stepping out of call_after_alloca_subr with
17261 optimizing compilers.
17262 (localvars_in_indirect_call): Consume GDB prompt if `finish'
17263 fails.
17264
17265 * gdb.c++/templates.exp: Source templ-info.exp only if
17266 the templates executable exists.
17267
17268 * gdb.c++/misc.cc (class Contains_static_instance,
17269 class Contains_nested_static_instance),
17270 gdb.c++/classes.exp (test_static_members): Test printing of
17271 a class that contains a static instance of the class.
17272
17273Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17274
17275 * gdb.base/langs2.c (cppsub_): Don't prototype.
17276 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
17277 only, I believe).
17278
17279Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17280
17281 * lib/gdb.exp (skip_chill_tests): New procedure.
17282
17283 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
17284
17285Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
17286
17287 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
17288 each expect pattern. Cuts runtime from 12 to about 4 seconds.
17289
17290Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17291
17292 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
17293
17294 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
17295 disassemble 8, not 16, instructions for part 4.
17296
17297 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
17298 support the latter anymore.
17299
17300 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
17301 -DNO_PROTOTYPES.
17302 * gdb.base/callfuncs.c: Control use of prototypes based on
17303 NO_PROTOTYPES, not __STDC__.
17304 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
17305 t_float_values2 tests if prototypes in use.
17306
17307 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
17308 t_double_values): When checking differences against DELTA, check
17309 that difference is within the range (-DELTA,DELTA), not just
17310 (-infinity,DELTA).
17311
17312Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
17313
17314 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
17315 'file' command firts, then 'target', then 'load', this is due to gdb
17316 target set up.
17317 * config/mips-gdb.exp: Fix a couple regular exp bugs.
17318
17319Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
17320
17321 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
17322 FP load/store variants.
17323 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
17324
17325Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
17326
17327 * gdb.base/term.exp: Do not give a warning if not native, it is
17328 not an abnormal condition.
17329
17330Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
17331
17332 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
17333 t_char_array".
17334
17335Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
17336
17337 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
17338 are getting the version number.
17339
17340 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
17341 if not native, it is not an abnormal condition.
17342
17343Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17344
17345 * lib/gdb.exp: Just use "file exists", rather than undocumented
17346 dejagnu procedure "findfile".
17347
17348Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17349
17350 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
17351 (LDFLAGS): Set to -Xlinker -Ur.
17352
17353 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
17354 Removed, these values are set by lib/gdb.exp.
17355
17356 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
17357
17358Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17359
17360 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
17361 of replicating gdb startup code.
17362
17363 * config/mt-vxworks (LDFLAGS): Set to -r.
17364 (CFLAGS_FOR_TARGET): Removed.
17365
17366 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
17367 (gdb) and gdb for vxworks uses (vxgdb).
17368
17369 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
17370 executable is not in the tree and host != target, use sed and
17371 program_transform_name to determine the gdb name used by the
17372 target.
17373
17374 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
17375 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
17376
17377Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17378
17379 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
17380 floats, chars, and shorts where there are ANSI-style function
17381 definitions.
17382
17383 * gdb.base/langs.exp, gdb.base/langs*: New test.
17384 * gdb.base/Makefile.in: Build it.
17385 * TODO: Remove item about checking that C names don't get C++
17386 demangling applied; this test tests it.
17387
17388Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17389
17390 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
17391 went with the const70 xfail. The xfail went away a year ago.
17392
17393 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
17394
17395 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
17396 for hp300.
17397
17398 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
17399
17400 * gdb.base/a1-selftest.exp: Don't run on hp300.
17401
17402Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17403
17404 * Makefile.in (site.exp): Set host_alias and target_alias as well
17405 as host_triplet and target_triplet.
17406
17407Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17408
17409 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
17410
17411 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
17412 places as other ecoff systems).
17413
17414 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
17415 ultrix.
17416
17417Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17418
17419 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
17420 remove them.
17421 * gdb.base/nodebug.exp: Accept "function" in addition to "text
17422 variable and "variable" in addition to "data variable".
17423 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
17424
17425 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
17426 2.
17427 * gdb.base/list1.c (long_line): Add additional statement at start
17428 of function.
17429 * gdb.base/list.exp (test_forward_search): Update line number to
17430 reflect new statement.
17431
17432Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17433
17434 * gdb.base/signals.exp: Reinitialize searched source directories
17435 after gdb_start call.
17436
17437Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
17438
17439 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
17440 * gdb.stabs/Makefile.in: Likewise.
17441
17442 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
17443 change. Instead split the tests into smaller pieces.
17444 * gdb.disasm/hppa.s: Corresponding changes.
17445
17446Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17447
17448 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
17449 Quote ^C when passing it to stty. For some shells ^ is a pipe.
17450
17451 * gdb.base/funcargs.exp: Modify many tests so that every test
17452 either passes or fails. Make some test names unique.
17453
17454Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17455
17456 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
17457 Call stty to set interrupt character.
17458
17459 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
17460 for HP assembler versus GNU assembler based on actual behavior of
17461 $(CC), rather than assuming that $(AS) is always the GNU assembler.
17462
17463 * TODO: Suggest a few more stepping tests.
17464
17465Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
17466
17467 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
17468 restart GDB for h8300 after a continue.
17469 (return): Add pattern to match a29k-udi behavior.
17470 * gdb.base/nodebug.exp: Remove obsolete comment.
17471 * gdb.base/regs.exp: New file, testing of register displays.
17472 * gdb.base/return.exp: Fix typo in reference to $objdir.
17473 * gdb.base/whatis.exp: Always start with a fresh GDB.
17474
17475Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17476
17477 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
17478 higher, these tests generate a lot of output.
17479
17480Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17481
17482 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
17483 code following the catch silently ignored some errors; without the
17484 catch they should be thrown like any other tcl error. Also, the
17485 catch used "" instead of {} which meant all the callers who wanted
17486 to include one of the characters "[]$ had to quote it an extra time.
17487 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
17488 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
17489 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
17490 Remove extra quoting.
17491
17492Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
17493
17494 * gdb.base/commands.exp: Make test names unique; every test either
17495 passes or fails. Update some comments.
17496
17497 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
17498
17499Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17500
17501 The following fixes a FAIL caused by the fact that the alpha stabs
17502 configuration didn't use the ".if alpha" code in weird.def.
17503 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
17504 bit pointer, so the 32 bit version works even on the alpha.
17505 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
17506 Remove the stuff which allowed us to have separate versions for
17507 alpha and everything else.
17508
17509 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
17510 regexp which "info func operator\[\](" is supposed to match. Fix
17511 string to send to GDB. Note that GDB still doesn't work right. Add a
17512 new test for "info func .perator\[\](" which GDB does handle correctly.
17513
17514 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
17515
17516Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17517
17518 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
17519 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
17520 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
17521 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
17522 it makes the tests harder to understand and confuses test-o-matic.
17523 The preferred style is that each test provides a PASS or a FAIL,
17524 and has a unique message (e.g. "continue #54" not just "continue")
17525 which is the same for the pass and the fail.
17526 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
17527 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
17528 to lib/gdb.exp.
17529 * gdb.base/printcmds.exp: Use test_print_accept. Remove
17530 prt_accept which was basically the same thing. Likewise for
17531 test_print_reject and prt_reject.
17532 * lib/gdb.exp (test_print_reject): Add some more error message
17533 patterns to match from the former printcmds.exp (prt_reject).
17534 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
17535 One defect of the passcount stuff is that some of it failed to
17536 report XPASS where appropriate.
17537 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
17538 stuff before and after arg in expected pattern.
17539 (test_paddr_operator_functions): Re-do test without print_addr_of;
17540 this is the only test which seems to want extra stuff there.
17541
17542Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
17543
17544 * gdb.base/nodebug.exp: Update new tests to reflect improved
17545 wording of gdb output.
17546
17547 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
17548 and "ptype" work on variables in files compiled without -g.
17549 Replaces commented out "maint print msymbol" tests.
17550
17551Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
17552
17553 * gdb.base/setvar.c (dummy): Call malloc.
17554
17555 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
17556 losing with the irix4 sed.
17557
17558 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
17559 ALRM" on irix4.
17560
17561Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
17562
17563 * TODO: Remove items about corefile.exp testing new exec-file and
17564 backtrace; both are now done. Add items about printing enums.
17565
17566Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
17567
17568 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
17569 "get signal $thissig" test fails.
17570
17571 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
17572
17573Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
17574
17575 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
17576 compiler warning with dec alpha compiler.
17577
17578 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
17579 extra \n from gdb_test call (this explains why the prompt test
17580 that I removed yesterday was there).
17581 (user_defined_command_test): Remove extra \n and prompt test.
17582
17583 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
17584 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
17585 doesn't exist.
17586 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
17587 Also remove alpha workaround, which turns out to be because
17588 SIGABRT == SIGLOST.
17589
17590 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
17591
17592 * gdb.base/help.exp: Don't test "help show".
17593
17594Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
17595
17596 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
17597 "set print address" is on.
17598 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
17599 pass prompt to gdb_test; gdb_test already looks for the prompt.
17600
17601 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
17602
17603 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
17604 was a vestige of the manual TESTSTRATEGY, and the purpose of it
17605 was to make sure that gdb can read a core file. But (a) the "read
17606 the corefile" part didn't make it to a1-selftest.exp, we just
17607 delete the corefile after creating it, and (b) we test reading
17608 corefiles in corefile.exp anyway. Also, this test left around a
17609 xgdb process on Solaris.
17610
17611 * gdb.base/corefile.exp: Also test backtrace.
17612
17613Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
17614
17615 * gdb.base/commands.exp: Test a simple user defined command with
17616 arguments and if/while statements; verify the full user command is
17617 printed by "show user".
17618
17619 * gdb.base/commands.exp: Test if/while commands as part of a
17620 breakpoint command list; verify they appear in breakpoint
17621 information.
17622
17623Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
17624
17625 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
17626 than by dividing by zero.
17627
17628Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
17629
17630 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
17631 performing an inferior call with watchpoints enabled.
17632 * gdb.base/watchpoint.c (main): Delete second unnecessary read
17633 call.
17634
17635Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
17636
17637 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
17638 of "file" command.
17639
17640 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
17641 Add additional pattern for when "int operator int(void);" appears
17642 in a different order.
17643
17644Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
17645
17646 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
17647
17648 * gdb.base/help.exp: Replace most of docstrings for "info signals"
17649 and "signal" with ".*".
17650
17651Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17652
17653 * TODO: Add note about "handle all nostop".
17654
17655 * gdb.base/{sigall.c, sigall.exp}: New test.
17656 * gdb.base/Makefile.in: Add it.
17657
17658Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
17659
17660 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
17661 when invoking GDB, suppresses any windowing interface.
17662
17663Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
17664
17665 * config/sim-gdb: New file, simulator testing support.
17666
17667Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
17668
17669 * gdb.base/interrupt.exp: Test calling func1 twice.
17670
17671Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
17672
17673 * gdb.base/list.exp (test_forward_search): Set timeout higher
17674 when we'll be getting lots of output from gdb.
17675
17676 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
17677 "init_malloc" to after the expect statement. Run it if that
17678 regexp is taken, but also for two others which happen if source
17679 cannot be found.
17680
17681Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
17682
17683 * gdb.base/printcmds.exp: New test, for printing register before
17684 program is running.
17685
17686Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17687
17688 * gdb.base/list.exp: Correct some alternate expect patterns
17689 to reflect changes in list1.c.
17690
17691Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
17692
17693 * TODO: Add item regarding large frames.
17694
17695 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
17696
17697 * TODO: Remove item about enabling return.exp; it
17698 is enabled. Suggest a few more "return" tests.
17699
17700Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17701
17702 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
17703 anonymous unions.
17704
17705Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
17706
17707 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
17708 and pr-5646.o, so "make" is the same as "make all", not "make
17709 pr-4975.o".
17710
17711Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
17712
17713 * gdb.base/list.exp: Adjust expectations to reflect changes in
17714 list1.c.
17715 (test_forward_search): New test proc.
17716 * gdb.base/list1.c (long_line): New function, has long source line.
17717
17718Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
17719
17720 * gdb.base/a1-selftest.exp: Change initial stepping to know about
17721 additional line of code that was added.
17722
17723Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
17724
17725 * gdb.disasm/hppa.s: Break the large branching tests into smaller
17726 tests so as not to overflow expect's input buffers.
17727 * gdb.disasm/hppa.exp: Corresponding changes.
17728
17729Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17730
17731 Beginnings of template debugging tests.
17732 * gdb.c++/templ-info.cc: New file to test for template
17733 debugging capability of the compiler.
17734 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
17735 templ-info.cc.
17736 * gdb.c++/templates.cc: Add explicit template instantiations
17737 to enable compiling with -fno-implicit-templates. Add destructor
17738 and 'value' method to T5 class for template tests.
17739 * gdb.c++/templates.exp: Add testcases for printing of template
17740 types, setting breakpoints on template methods and calling a
d63a86f8 17741 template method.
c906108c
SS
17742
17743Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
17744
17745 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
17746 branch target since some assemblers (gas-2.5) may emit a
17747 relocation for the branch instead of resolving it in the
17748 assembler.
17749
17750Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17751
17752 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
17753 through signal handler.
17754
17755Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17756
17757 * configure.in (*-*-netware): Use config/mt-netware.
17758
17759 * config/mt-netware: New file.
17760 * config/mt-i386-netware: Removed, separate configs for different
17761 netware architectures are no longer needed now that we have
17762 --with-headers.
17763
17764Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17765
17766 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
17767 by the recent changes to use ANSI C arithmetic conversions.
17768
17769Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
17770
17771 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
17772 bug involving using inferior_pid to figure out whether to select a
17773 frame.
17774
17775Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
17776
17777 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
17778 match the current disassembler output.
17779
17780Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
17781
17782 * gdb.fortran/exprs.exp: Expect VOID instead of void.
17783 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
17784 types, expect "int" as type of integer values (for now).
17785
17786Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
17787
17788 * gdb.base/commands.exp: New tests for if/while commands.
17789
17790Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
17791
17792 * lib/gdb.exp (runto): Replace sub-pattern for hex value
17793 by .*, since hex values have different syntax in Chill mode.
17794
17795Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17796
17797 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
17798 linefeed from expect pattern for repeated types with indices > 9.
17799
17800Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
17801
17802 First part of Fortran test suite.
17803 * gdb.fortran: New directory.
17804 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
17805
17806Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17807
17808 * gdb.base/default.exp: Update expect pattern for load command
17809 without arguments.
17810
17811Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
17812
17813 * configure.in: Change i386 to i[345]86.
17814 * gdb.base/configure.in: Likewise.
17815 * gdb.c++/configure.in: Likewise.
17816 * gdb.chill/configure.in: Likewise.
17817
17818Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
17819
17820 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
17821 patterns, since that is not a valid context for comments.
17822
17823Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
17824
17825 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
17826 repeated types and repeated types with indices > 9.
17827
17828Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
17829
17830 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
17831 2417; old bug has been fixed.
17832
17833Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
17834
17835 * gdb.base/interrupt.exp: When trying to wake up the inferior,
17836 send the newline ourselves instead of assuming gdb_test will do
17837 so when passed an empty input string.
17838
17839 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
17840 stabs testcode.
17841
17842Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17843
17844 * lib/gdb.exp (gdb_test): Don't send anything if the first
17845 argument is an empty string. This makes cases where we want to
17846 match output that is already in expect's buffers (for example,
17847 matching a breakpoint after gdb_run_cmd has been called) work
17848 reliably.
17849
17850Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17851
17852 * config/netware.exp: New file.
17853
17854Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17855
17856 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
17857 the -B and -L prefixes so we can find the debugging stub.
17858
17859 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
17860 there and we are using the gcc from the tree.
17861
17862 * gdb.base/types.c: Removed.
17863
17864 * gdb.base/configure.in: Look for makefile fragments in ../config.
17865 Recognize i386-*-netware.
17866 * gdb.c++/configure.in: Likewise.
17867
17868Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17869
17870 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
17871 the correct TCL syntax.
17872
17873Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17874
17875 * gdb.base/opaque.exp: use runto instead of messing around with
17876 breakpoints. Simplify by using gdb_test.
17877
17878 * gdb.base/bitfields.exp: restart between tests on netware targets
17879 because breakpoints aren't relocated after target death. Run
17880 processes to completion.
17881
17882 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
17883
17884Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
17885
17886 * Makefile.in: Remove extra tabs that confuse some versions
17887 of "make". Use the newly built gdb to test with by default,
17888 rather than the first one in the tester's search path.
17889
17890Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
17891
17892 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
17893
17894 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
17895 condition help.
17896
17897Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17898
17899 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
17900
17901 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
17902 running.
17903 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
17904 * gdb.base/funcargs.exp: Likewise.
17905
17906 * gdb.base/bitfields.exp: Simplify by using gdb_test.
17907 * gdb.base/funcargs.exp: Likewise.
17908
17909 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
17910 message is "".
17911
17912Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17913
17914 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
17915 return,signals,twice}.exp: Handle non-existant binaries
17916 consistantly.
17917
17918 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
17919 * gdb.base/Makefile.in: Don't try to generate a core dump, we
17920 might testing a cross development system.
17921
17922Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17923
17924 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
17925 runtest script is relative to ${srcdir}, not ${rootdir}.
17926
17927Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
17928
17929 * gdb.base/signals.exp: Allow for optionality of breakpoint
17930 address.
17931
17932Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
17933
17934 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
17935
17936Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
17937
17938 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
17939 for size_t definition.
17940 * gdb.c++/templates.cc: Likewise
17941
17942 * config/mt-i386-netware: New file.
17943
17944 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
17945 defined.
17946
17947 * gdb.base/Makefile.in: Added support for systems that name core
17948 files by appending "core" to the program name.
17949 * gdb.base/a1-selftest.exp: Likewise.
17950
17951Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17952
17953 * gdb.base/return.exp: Add comment and message for `return double'
17954 test failure on Sparc Solaris.
17955
17956Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
17957
17958 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
17959
17960Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17961
17962 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
17963 from optimizing them away.
17964 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
17965 patterns to include default constructors and assignment operators,
17966 to match gcc versions beyond 2.5.8. Accept any cplus demangling
17967 character in the output of the virtual base pointer.
17968
17969Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17970
17971 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
17972 expression match in print_addr_of to avoid unintented matches.
17973 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
17974 versions up to 2.5.8.
17975
17976Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17977
17978 * gdb.base/list.exp: Tweak alternate pattern for listing of an
17979 included file to run under newer versions of expect.
17980 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
17981 consecutive >'s in templates to accomodate recent cplus-dem.c change.
17982 Remove xfail for the virtual table of BDDHookV.
17983
17984Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
17985
17986 * lib/gdb.exp (string_to_regexp): Set a default result.
17987 (default_gdb_start): Fix misleading message.
17988
17989Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
17990
17991 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
17992 Remove all CC, etc definitions.
17993 * config/mt-hpux: New file.
17994 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
17995 (CFLAGS, LDFLAGS): Define.
17996 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
17997
17998 * Makefile.in (site.exp): Don't insert host_os, etc.
17999 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
18000 (distclean): Check existence of subdir.
18001 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
18002 * gdb.base/Makefile.in: General cleanup and simplification.
18003 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
18004 to build executables. Use default rule to build .o files.
18005 (EXPECT, RUNTEST, CC): Fix relative pathname.
18006 (site.exp): Don't insert host_os, etc.
18007 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
18008 and/or SIGUSR1 defined.
18009 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
18010 * gdb.c++/Makefile.in: General cleanup and simplification.
18011 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
18012 (CFLAGS): Remove.
18013 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
18014
18015Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
18016
18017 * gdb.base/recurse.exp: Misc changes to get tests running again
18018 after Kung's changes to the watchpoint code.
18019 * gdb.base/watchpoint.exp: Likewise.
18020
18021Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
18022
18023 * lib/gdb.exp (string_to_regexp): Convert {\} also.
18024
18025Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
18026
18027 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
18028 * lib/gdb.exp (default_gdb_start): Define.
18029 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
18030 gdb.base/funcargs.exp, gdb.base/opaque.exp,
18031 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
18032 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
18033 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
18034 Don't call gdb_target_udi in between tests.
18035
18036Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18037
18038 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
18039 (which was basically just a local version of the same thing). In
18040 addition to avoiding duplication, gdb_test_exact is faster.
18041 * lib/gdb.exp (gdb_test_exact): Fix typo.
18042
18043 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
18044 don't give an error.
18045
18046 * gdb.base/term.exp: Call delete_breakpoints before starting.
18047
18048 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
18049 (t10): Add comment.
18050
18051Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
18052
18053 Reorganization of the GDB Test Suite.
18054
18055 * gdb.base: New directory, contains all the basic tests.
18056 * gdb.c++: New directory, tests specific to C++.
18057 * gdb.chill: New directory, tests specific to Chill.
18058 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
18059 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
18060 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
18061 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
18062 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
18063 t30-31 to chill).
18064 * */gdbme.*: Rename to match appropriate expect scripts.
18065 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
18066 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
18067 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
18068 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
18069 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
18070 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
18071 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
18072 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
18073 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
18074 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
18075 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
18076 gdb.c++/virtfunc.cc: New names of C++ files.
18077 * gdb.chill/chillvars.ch: New name of Chill file.
18078 * gdb.base/configure.in, gdb.c++/configure.in,
18079 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
18080 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18081 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
18082 * configure.in (configdirs): Update to reflect directory changes.
18083 (target_abbrev): No longer define for any configuration.
18084 * Makefile.in: Cosmetic improvements to header comments.
18085
18086Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
18087
18088 Various changes to gdb.t31:
18089
18090 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
18091 * gdbme.ch: Make all key-words and predefineds be upper-case.
18092 * chillvars.exp: Expect key-words and predefinds in upper-case.
18093
18094 * chillvars.exp: Use gdb_test_exact many places.
18095 Change expected output for arrays (which now includes index labels).
18096
18097 * pr-5020.exp, gdme.ch (module PR_5020):
18098 New test, for PR-5020.
18099
18100Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
18101
18102 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
18103 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
18104
18105Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
18106
18107 * Makefile.in: Fix bit-rot in definitions of CHILL,
18108 CHILL_FOR_TARGET and Chill_LIB.
18109 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
18110 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
18111 CHILL, and CHILL_LIB.
18112
18113Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
18114
18115 * Revert the previous changes. Please see Rob's directory
18116 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
18117
18118Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
18119
18120 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
18121 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
18122 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
18123 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
18124 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
18125 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
18126 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
18127 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
18128 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
18129 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
18130 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
18131 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
18132 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
18133 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
18134 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
18135 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
18136 changes from 94Q1.
18137
18138Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
18139
18140 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
18141 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
18142 Rob's new testing fragments.
18143
18144Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
18145
18146 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 18147 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
18148
18149Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
18150
18151 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
18152 version also, match on casted version strings, and match on
18153 gdb startup case where the line numbers might be messed up.
18154
18155Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
18156
18157 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 18158 (CFLAGS): Delete it from here.
c906108c
SS
18159
18160Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
18161
18162 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
18163
18164Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
18165
18166 * Makefile.in (RUNTEST): Default to just "runtest".
18167
18168Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18169
18170 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
18171 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
18172 the code has been restructured.
18173
18174Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18175
18176 * gdb.t00/default.exp (set write): Allow any number of \r and/or
18177 \n, not just one of each.
18178
18179 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
18180 /bin/cc gives a warning if you do.
18181
18182Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
18183
d63a86f8 18184 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
18185 __t10ListS_link1ZUiRCUiPT0
18186
18187Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18188
18189 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
18190 on local variables in recursive functions.
18191
18192 * gdb.t07/Makefile.in: Build the new test.
18193
18194Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18195
18196 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
18197 directly. Instead compare the return values from actual calls.
18198
18199Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
18200
18201 * Makefile.in (check): Set TCL_LIBRARY for runtest.
18202
18203Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18204
18205 * From Peter Schauer with minor modifications.
a9c64011
AS
18206 * gdb.t15/return.exp (return_tests): Handle targets where "return"
18207 stops in mid-line in the caller. Add xfail for returning a float
18208 value on X86 targets.
c906108c
SS
18209
18210Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18211
18212 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
18213 to avoid expect lossage.
18214 (fmem_LRbug_tests): Likewise.
18215 * gdb.disasm/hppa.s: Corresponding changes.
18216
18217 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
18218 conditions to work with latest dejagnu/expect.
18219
18220 * gdb.t15/funcargs.exp (finish from indirect call): No longer
18221 expected to fail on the PA.
18222 (backtrace in call with trampolines): Explicitly require main
18223 to be frame #1 (no trampolines should show up in backtrace).
18224
18225 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
18226 "continue -expect".
18227 * gdb.t06/break.exp: Likewise.
18228 * gdb.t07/watchpoint.exp: Likewise.
18229 * gdb.t13/bitfields.exp: Likewise.
18230 * gdb.t15/{funcargs,return}.exp: Likewise.
18231 * gdb.stabs/weird.exp: Likewise.
18232 * config/{mips,udi}-gdb.exp: Likewise.
18233
18234 * hppa.sed: Enclose comments within a sed command to avoid
18235 losing with the old OSF1 sed.
18236
18237Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18238
18239 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
18240 sequent dynix.
18241 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
18242 * gdb.t15/funcargs.exp: Conditionally step again to really
18243 finish from marker_call_with_trampolines. Handle the case where
18244 the first step from within call_with_trampolines already steps
18245 us back to main.
18246 * gdb.t15/gdbme.c: Add comment to closing brace of
18247 call_with_trampolines for funcargs.exp.
18248
18249Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18250
d63a86f8 18251 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
18252 Fix typo(s).
18253
18254Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18255
18256 * gdb.t07/gdbme.c: More code for watchpoint testing.
18257
18258 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
18259 "Hardware watchpoint" throughout file.
18260 (test_watchpoint_triggered_in_syscall): New test.
18261 (test_complex_watchpoint): New test.
18262
18263Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18264
18265 * gdbme.c (call_with_trampolines): New function to try and step
18266 into. Tests trampoline problems on the PA.
18267
18268 * funcargs.exp (localvars_in_indirect_call): No longer expect
18269 stepping into indirect call to fail on PAs.
18270 (test_stepping_over_trampolines): New test.
18271
18272Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18273
18274 * TODO: Add suggestions for static member function tests, and
18275 completion tests.
18276
18277Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18278
18279 * TODO: Add suggestions for "p/a" tests.
18280
18281 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
18282 (default_gdb_exit): Replace all the hair with sending "quit" to
18283 the process with a simple close.
18284
18285Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18286
18287 * TODO: Add suggestions for shared library tests.
18288
18289Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18290
18291 * TODO: Add suggestions for x/s tests.
18292
18293Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18294
18295 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
18296 "enable once", and "enable breakpoints once" with ".*".
18297
18298Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18299
18300 * TODO: Add suggestions about structure passing tests.
18301
18302Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18303
18304 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
18305 the primary1 test, use work around if __GNUC__ < 2.
18306 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
18307 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
18308 Test for bad output rather than waiting for timeout. Issue
18309 second continue only if first continue failed.
18310
18311Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
18312
18313 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
18314 operator[] test with gdb_test because the old code didn't seem to
18315 be getting the quoting right with the new dejagnu.
18316
18317Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
18318
18319 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
18320 one from the path.
18321 * Makefile.in: Use a fresh expect if there is one, use runtest
18322 from the src tree if there is one.
d63a86f8 18323
c906108c
SS
18324Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
18325
18326 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
18327 next over recursive call. Revise the tests from that point on
18328 (which had been skipped) to match GDB's actual (correct) output.
18329
18330 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
18331 with next over a breakpoint whose condition is false.
18332
18333 * gdb.t00/help.exp: Comment out "help set print" tests just like
18334 (and for same reason as) "help set" test.
18335
18336Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18337
18338 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
18339 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
18340
18341Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18342
18343 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
18344 necessary gdb_target_udi.
18345
18346 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
18347
18348 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
18349 1838 and 2417; they are fixed.
18350
18351 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
18352 gdb.t03/ptype.exp (ptype structure, ptype union):
18353 Remove xfails; the test is looser than when the xfails were added.
18354
18355 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
18356 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
18357
18358 * gdb.t01/run.exp: Only run shell test if isnative.
18359
18360 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
18361 since "run" automatically loads if necessary. Call gdb_target_udi
18362 after the "file" since "file" kills any execution target.
18363
18364 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
18365 GDB. GDB doesn't work that way (not anymore at least) on UDI.
18366 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
18367 argument for UDI.
18368
18369Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
18370
18371 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
18372
18373 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
18374
18375Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18376
18377 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
18378 properly quoting regexps. This makes the second argument to
18379 demangle a fixed string, which matches the callers, instead of a
18380 shell-style pattern which is what the previous implementation
18381 used. Update some of the callers.
18382
18383Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18384
18385 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
18386 (comib_nullified_tests): Fix typo.
18387 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
18388 strings. No longer expected to fail.
18389
18390 * gdb.disasm/hppa.s (addib_tests): Fix typo.
18391 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
18392 strings. No longer expected to fail.
18393
18394 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
18395 string. No longer expected to fail.
18396
18397Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18398
18399 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
18400 No longer expected to fail.
18401
18402 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
18403 string. No longer expected to fail.
18404
18405Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18406
18407 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
18408 only in the names (I probably got most of them). I was even
18409 generous with some which differed in underscores in names, and
18410 probably missed a few, and I *still* was able to remove almost a
18411 third of the file with almost no impact on testsuite coverage.
18412
18413Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18414
18415 * gdb.t00/default.exp: Match udi_attach error message as well as
18416 the one from child_attach.
18417
18418 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
18419
18420 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
18421
18422 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
18423 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
18424
18425 * Move test with enums and partial symbols back to
18426 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
18427 Reverts the change of 26 May 93. Per today's change to
18428 stabs.texinfo, the behavior that weird.exp was expecting was
18429 unreasonable; what is important is that the compiler+gdb get
18430 things right, which happens with a recent gcc. Also fix the test
18431 to deal with native compilers which put out the stab gdb can't
18432 deal with.
18433
18434Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18435
18436 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
18437 in the names. The main thing these accomplish is to slow things down.
18438 Many more such duplicates surely remain.
18439
18440 * gdb.t00/help.exp: Comment out "help support" test just like
18441 (and for same reason as) "help set" test.
18442
18443Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
18444
18445 * gdb.t06/break.exp: Remove setup_xfails for
18446 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
18447 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
18448 about known bug in gcc to include up through 2.5.8.
18449 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
18450 well as "_vb$".
18451 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
18452 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
18453 with latest gcc and gdb.
18454 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
18455 well as "_vb$".
18456
18457Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18458
18459 * configure.in (hppa*-*-*): Also configure and build stabs-only
18460 tests.
18461
18462Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18463
18464 * gdb.t10/hppa.mt: A makefile fragment for the PA.
18465 * gdb.t10/configure.in (hppa*-*-*): Use it.
18466
18467Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18468
18469 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
18470
18471Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18472
18473 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
18474 versions prior to 1.13.5.
18475
18476Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18477
18478 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
18479 the prompt is at the start of a line.
18480
18481Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18482
18483 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
18484 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
18485 in the copr tests now.
18486 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
18487 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
18488 expected to fail.
18489
18490Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
18491
18492 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
18493 gdb.t31/chillvars.exp, lib/gdb.exp:
18494 Tweak to run under either version of expect.
18495 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
18496 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
18497 * gdb.t11/list.exp: Remove extraneous whitespace.
18498
18499Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18500
18501 * gdb.t16/printcmds.exp (test_print_strings): Accept
18502 "(unsigned char *) " before the string.
18503
18504 * TODO: Add notes about printing of fancy types and GDB expressions.
18505
18506Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
18507
18508 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
18509 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 18510 if doing mips-idt-ecoff.
c906108c
SS
18511
18512Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
18513
18514 * Most .exp files: Tweak to run under either version of expect.
18515
18516Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18517
18518 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
18519 xfails; I'm not sure why they are failing, but not because of PR 1806.
18520
18521Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
18522
18523 * config/unix-gdb.exp: Remove gdb_unload cause it's already
18524 defined in lib/gdb.exp.
18525
18526Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18527
18528 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
18529 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
18530 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
18531 have to be typeless.
18532
18533Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18534
18535 * TODO: Add suggestion for copyright year test.
18536
18537Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
18538
18539 * configure.in (*-*-lynxos*): Add stabs tests.
18540
18541Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
18542
18543 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
18544 so insert a tab before any assembler directive in column zero.
18545
18546 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
18547 stores.
18548 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
18549 stores.
18550 (fpu_short_memory_tests): Likewise.
18551
18552Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18553
18554 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
18555 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
18556 .stabs directives in comments.
18557
18558Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18559
18560 * TODO: New file, describing tests we could write.
18561 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
18562
18563Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18564
18565 * gdb.t06/signals.exp: Add kludge to force re-sync.
18566
18567 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
18568 to xgdb instead of gdb, get out of gdb.
18569
18570Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
18571
18572 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
18573 for info.
18574
18575Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
18576
18577 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
18578 * gdb.stabs/configure.in (hppa*-*-*): Use it.
18579 * gdb.stabs/hppa.sed: New sed script for the PA.
18580
18581Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18582
18583 * gdb.stabs: Re-write weird.def and configuration to use sed
18584 instead of cpp. sed is portable and POSIX; cpp is neither.
18585
18586Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18587
18588 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
18589
18590Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18591
18592 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
18593
18594Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18595
18596 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
18597 "_vb$".
18598 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
18599 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
18600
18601Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18602
18603 * lib/gdb.exp: Comment out code which depends on non-existent
18604 `transform' procedure.
18605
18606Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
18607
18608 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
18609 * lib/gdb.exp: Transform tool name.
18610 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
18611 1.1's new error handling system.
18612
18613Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18614
18615 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
18616
18617Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18618
18619 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
18620 They made pattern matching so slow that timeouts happened on
18621 heavily loaded systems. Now any output from "show print" which
18622 gets us back to the GDB prompt is a PASS.
18623
18624Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
18625
18626 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
18627
18628Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18629
18630 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
18631
18632 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
18633 It is not from PR 3220.
18634
18635Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18636
18637 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
18638 just started failing because they depended on the order the
18639 subcommands are presented, or exact docstring text. This kind of
18640 test is a pain and has minimal benefit.
18641
18642Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18643
18644 * gdb.t09/corefile.exp: At end of test, use "core" command with
18645 no arguments.
18646
18647Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
18648
18649 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
18650 17}/Makefile.in: Make it possible to run the testsuite with Sun
18651 make and CC = cross gcc by adding explicit build rules for .o
18652 files.
18653
18654Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18655
18656 * gdb.t15/funcargs.exp: Don't put comments on same line as
18657 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 18658
c906108c
SS
18659Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18660
18661 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
18662
18663Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
18664
18665 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
18666 * gdb.t20/inherit.exp: remove three dumplicate entries.
18667
18668Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18669
18670 * gdb.t06/break.exp: For "next over recursive call", fail on any
18671 incorrect output, not just on "factorial (value=2)".
18672
18673Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18674
18675 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
18676 working now. Add an xfail if accesing a bss variable causes
18677 a memory error if the target is not yet run.
18678
18679Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18680
18681 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
18682 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
18683 name of __st* demangling (2 strings). Did Kung really get the
18684 more than 95 others right without testing them?
18685
18686Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
18687
18688 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
18689
18690Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
18691
18692 * configure.in (configdirs): Add gdb.disasm
18693 * gdb.disasm: New directory for GDB disassembler tests.
18694 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
18695
18696Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18697
18698 * gdb.t00/help.exp: Don't test "help set".
18699
18700 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
18701 from within expect statements. None of these happen anymore and
18702 they cause regressions to be silently unnoticed.
18703
18704 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
18705 messages) about known failures with gcc cygnus-2.4.5-930417.
18706
18707 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
18708 comp-info.exp so it gets built if it doesn't exist.
18709
18710 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
18711 it is no longer used.
18712 * gdb.t13/comp-info.c: Removed.
18713
18714Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
18715
18716 * gdb.t06/signals.exp: Add xfail for sun3.
18717
18718Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18719
18720 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
18721 relevant because ^C doesn't get sent but failure can be reproduced
18722 interactively).
18723
18724Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18725
18726 * gdb.stabs/alpha.mt: New configuration file for alpha.
18727 * gdb.stabs/configure.in: Use it.
18728 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
18729 sharing with alpha.mt, redefine long to word via preprocessor.
18730 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
18731 for alpha.
18732 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
18733 native cc.
18734 * gdb.t00/teststrategy.exp: Change expect string so that we
18735 consume the `(xgdb)' from the command echo and from the gdb prompt.
18736 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
18737 gdb currently compares all values as long, so this failure probably
18738 applies to any configuration where LONGEST is bigger than a target int.
18739 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
18740 with gcc.
18741 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
18742 to handle opaque pointers, gcc is.
18743 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
18744 as first argument. Include <sys/types.h> and change all operator
18745 new definitions to use size_t.
18746 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
18747 now that we use size_t.
18748
18749Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18750
a9c64011 18751 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 18752 a long or float array cast all array members to the same type.
a9c64011 18753 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 18754 with 64 bit longs.
a9c64011 18755 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 18756 on alpha.
a9c64011 18757 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
18758
18759Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18760
18761 * gdb.t24 (demangle.exp): Constructors of templates have names like
18762 vector<int>::vector(int) not vector<int>::vector<int>(int). See
18763 section 14.6 of the ARM.
18764
18765 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
18766 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
18767 accomplish little and slow down the testsuite.
18768
18769 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
18770 Accept spaces various places.
18771
18772Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18773
18774 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
18775 with watchpoint enabled.
18776
18777 * Makefile.in: Remove definition of CC and remove the second
18778 definition of CXX (the "CXX = gcc" one remains). These definitions
18779 were causing backquotes to be expanded within backquotes, which
18780 doesn't work.
18781
18782Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
18783
18784 * gdb.t17/callfuncs.exp: Add "return 0" to end.
18785
18786Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18787
a9c64011
AS
18788 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
18789 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
18790 by mips cc and contains no stabs entries.
18791
18792Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
18793
18794 * config/vx-gdb.exp: Use fake device to load files rather than
18795 NFS.
18796 * lib/gdb.exp: New proc to do "file" command.
18797 * config/unix-gdb.exp: Use new "file" proc.
18798
18799Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
18800
18801 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
18802 Rework board rebooting slightly.
18803 (gdb_exit): Don't exit from the remote shell; there isn't one.
18804 * gdb.stabs/weird.exp: If a program is being debugged already,
18805 kill it.
18806 * gdb.t04/setvar.exp: Stop and restart gdb.
18807 * gdb.t05/expr.exp: Likewise.
18808 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
18809 restart gdb and reload the program.
18810 * gdb.t08/opaque.exp: Likewise.
18811 * gdb.t12/scope.exp: Likewise.
18812 * gdb.t13/bitfields.exp: Likewise.
18813 * gdb.t15/funcargs.exp: Likewise.
18814 * gdb.t20/classes.exp: Likewise.
18815 * gdb.t03/ptype.exp: Increase timeout.
18816 * gdb.t16/printcmds.exp (test_print_string_constants,
18817 test_print_array_constants): Likewise.
18818 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
18819 * gdb.t20/classes.exp (do_tests): Likewise.
18820 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
18821
18822Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
18823
18824 * gdb.stabs: Renamed *wierd* to *weird*.
18825
18826Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
18827
18828 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
18829 for timeout. Add "known gcc 2.4.5 bug" to failure message.
18830
18831Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
18832
18833 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
18834 (do_tests): Remove xfail for whatis on one_var and two_var.
18835
18836Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
18837
18838 * Makefile.in: Made cross building work better by adding
18839 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
18840
18841Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18842
18843 * gdb.t15/{return.c,return.exp,Makefile.in}:
18844 New test, currently commented out.
18845
18846Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
18847
18848 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
18849 still running and removes the leftover named socket so GDb can do
18850 clean restarts.
18851
18852Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
18853
18854 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
18855 console, not GDB.
18856 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
18857 cross testing works better with "make check"
18858 * config/unix-gdb: Use default procedures for exit and version.
18859 * config/vx-gdb.exp: Cleaned up and massaged back to working order
18860 with the newest VxWorks.
18861
18862Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18863
18864 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
18865 old form.
18866
18867 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
18868 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
18869
18870 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
18871
18872 * config/unix-gdb.exp: Remove this version of gdb_exit
18873 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
18874 Rob says he'll look at it when he gets back to testing boards.
18875
18876Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
18877
18878 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
18879 an expected fail for certain ptype commands.
18880
18881 * gdb.t20/classes.exp: Update expected results of "ptype class
18882 Base1" to account for the constructor that now appears in the type.
18883
18884Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
18885
18886 * configure.in (configdirs): Restore gdb.t04, which mysteriously
18887 disappeared from list.
18888 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
18889 "alldone" proc with call to cleanup and exit.
18890 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
18891 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
18892 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
18893 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
18894 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
18895 "alldone" proc with simple returns that suppress remaining
18896 tests. The alldone proc went away many months ago.
18897
18898Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18899
18900 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
18901
18902 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
18903
18904Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18905
18906 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
18907 as vax gdb will display them.
18908
18909Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18910
18911 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
18912 optimizers.
18913
18914 * scope.exp: Change "bad value for localval" messages so each one
18915 is unique.
18916
18917 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
18918 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
18919
18920 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
18921
18922Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18923
18924 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
18925 doesn't exist (due to optimization).
18926
18927Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18928
18929 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
18930 contains \r because the filename is long.
18931
18932 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
18933 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
18934
18935Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18936
18937 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
18938 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
18939 Ultrix.
18940 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
18941 int tests.
18942 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
18943
18944Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
18945
18946 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
18947
18948 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 18949 to match does not match the passing case but still matches the
c906108c
SS
18950 failing case.
18951
18952Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18953
18954 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
18955
18956Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
18957
18958 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
18959 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
18960 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
18961 Remove various versions of gdb_exit.
18962 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
18963 gdb_exit.
18964 * config/unix-gdb.exp: gdb_exit remains here, and should override
18965 the generic version, since it's doing a lot of wierd stuff that
18966 the other versions aren't. FIXME, fold it in, or abandon this
18967 version.
18968
18969Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18970
18971 * gdb.t24/demangle.exp: Add tests for PR 3220.
18972
18973Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18974
18975 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
18976
18977Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
18978
18979 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
18980 "i386-*-*". Works for i486 as well.
18981
18982 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
18983 bug, and expand domain of xfail to all SVR4 systems, since the
18984 actual problem is likely to be in generic SVR4 /proc support.
18985
18986Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
18987
18988 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
18989
18990Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
18991
18992 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
18993 xfails for other systems. Match a missing 'Continuing.' as an
18994 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
18995
18996 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
18997 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
18998 Only issue warning for missing executables if -all option is used.
18999
19000 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
19001 file if -all option is used. It's like an unpredictable XFAIL.
19002
19003Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19004
19005 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
19006 for dynamically linked binaries.
19007
19008 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
19009
19010Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19011
19012 * gdb.t20/inherit.exp: Change message for "print tagless struct"
19013 to state that this is a known bug in old versions of g++.
19014
19015Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19016
19017 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
19018 while waiting for `Continuing'.
19019
19020Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
19021
19022 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
19023 in text, data, and bss.
19024 * gdb.t10/nodebug.c: Add local and global test variables for
19025 initialized and uninitialized data.
19026
19027Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19028
19029 * config/unix-gdb.exp (gdb_exit): Add "wait".
19030
19031Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19032
19033 * gdb.t06/signals.exp: xfail the continue from the handler for all
19034 targets.
19035
19036 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
19037 function with watchpoints enabled, the i386 call dummy starts with
19038 a call.
19039
19040 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
19041 386 bsd names its corefiles.
19042
19043Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
19044
19045 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
19046 compilers don't grok it.
19047 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
19048 with small octal ints rather than character constants, which
19049 are signed and might not fit if first promoted to int.
19050
19051Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
19052
19053 * gdb.t09/Makefile.in (clean): Remove corefile.
19054
19055Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19056
19057 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
19058
19059Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19060 and Jim Kingdon (kingdon@cygnus.com)
19061
19062 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
19063 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
19064 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
19065
19066Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19067
19068 * gdb.t17/interrupt.exp: Add xfail for hppa.
19069
19070Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19071
19072 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
19073 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
19074 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
19075 to determine signed-ness of bitfields and use the result to setup
19076 the xfail.
19077 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
19078 * gdb.t15/funcargs.exp: Use them to step until the second indirect
19079 call line is reached if necessary.
19080
19081Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19082
19083 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
19084
19085Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19086
19087 * gdb.t06/break.exp: Also test `clear' command.
19088
19089Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
19090
19091 * gdb.t00/teststrategy.exp: Remove extra quote.
19092
19093 * gdb.t07/watchpoint.exp: Change xfail for calling function with
19094 watchpoint enabled to be for all non-68k machines.
19095
19096 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
19097
19098Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19099
19100 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
19101 targets use aout.mt instead of ecoff.mt as gas understands
19102 standard aout format.
19103
19104Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
19105
19106 * lib/gdb.exp (runto): Don't insist that function we are running to
19107 was compiled with -g.
19108
19109 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
19110
19111 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
19112 to get back into the read system call.
19113 Accept leading newline in case where we woke it up.
19114
19115Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19116
19117 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
19118 to make the stabs test work on ecoff systems using gcc and -with-stabs.
19119 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
19120 enable ecoff configuration.
19121
19122Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19123
19124 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
19125
19126Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19127
19128 * gdb.t16/printcmds.exp: Add another printf test.
19129
19130Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
19131
19132 * configure.in: If configured -with-stabs on any target, add
19133 stabsdirs to configdirs.
19134
19135Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19136
19137 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
19138 fun" so pattern does not match the command itself.
19139
19140Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19141
19142 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
19143
19144Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19145
19146 * gdb.t17/interrupt.exp: Test for more things.
19147
19148Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19149
19150 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
19151 compiler arranges the code and line numbers.
19152
19153 * gdb.t17/interrupt.exp: Don't send \n after ^C.
19154
19155Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19156
19157 * gdb.t00/help.exp: Increase expect input buffer size.
19158
19159Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19160
19161 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
19162
19163 * gdb.t07/watchpoint.exp: Add xfail for hppa.
19164
19165 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
19166
19167 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
19168 [0-9]*, not just [0-9].
19169
19170Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19171
19172 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
19173
19174 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
19175
19176Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19177
19178 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
19179
19180Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19181
19182 * gdb.t06/signals.c: Add xfails for sun3.
19183
19184 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
19185
19186 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
19187 test_stepping tests.
19188
19189Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19190
19191 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
19192
19193 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
19194
19195 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
19196 rather than actually putting it through cpp twice.
19197
19198 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
19199
19200Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
19201
19202 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
19203 no longer needed.
19204
19205Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19206
19207 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
19208
19209 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
19210 C++ features prints as "struct", make it a pass, not an xfail.
19211
19212Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19213
19214 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
19215 Don't require VA to print as "class" rather than "struct".
19216
19217Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
19218
19219 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
19220
19221Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19222
19223 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
19224
19225Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19226
19227 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
19228 order.
19229
19230Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19231
19232 * gdb.t16/printcmds.exp: Add printf tests.
19233
19234 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
19235
19236 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
19237
19238Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
19239
19240 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
19241 pass counts, to counteract any existing or future setup_xfails.
19242
19243Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19244
19245 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
19246 {BEGIN,END}_COMMON for common block instead of STAB.
19247 * gdb.stabs/wierd.exp: Add xfail for rs6000.
19248
19249 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
19250 intp_var should be N_GSYM not N_LSYM.
19251 wierd-aout.S: Use a label for the value of the N_SO.
19252 wierd.def: Remove all backslashes.
19253 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
19254
19255Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19256
19257 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
19258 get the expected next to inheritance3.
19259
19260Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19261
19262 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
19263 now that gcc-2.4 gets it right.
19264
19265Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19266
19267 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
19268
19269 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
19270 generating comp-info.exp which works for cross-compilation.
19271
19272Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
19273
19274 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
19275 "*-*-sysv4.*".
19276
19277Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
19278
19279 * gdb.t01/run.exp: Start with a fresh gdb.
19280 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
19281 SVR4.x.
19282
19283Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
19284
19285 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
19286 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
19287 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
19288 Makefile.in (distclean, realclean): Remove gdbme.c from list of
19289 things to remove.
19290
19291Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
19292
19293 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
19294 test cases from bug reports.
19295
19296Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
19297
19298 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
19299 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
19300 avoid spurious xfails.
19301 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
19302 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
19303 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
19304
19305Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
19306
19307 * gdb.t00/teststrategy.exp: Rework to provide more useful
19308 description of each test, fix problem with systems that define
19309 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
19310 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
19311 results for "next over recursive call" so timeouts aren't taken
19312 by error.
19313
19314Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
19315
19316 * gdb.t12/scope.exp: Test printing of variables before run.
19317
19318 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
19319 printed in wrong order due to sorting.
19320
19321Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
19322
19323 * gdb.t00/teststrategy.exp: Fix expected results for printing
19324 user entered string constant. Is array of char, prints with no
19325 address.
19326
19327 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
19328 commands.
19329 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
19330 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
19331 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
19332 of struct of char arrays.
19333 * gdb.t00/radix.exp: New tests for radix commands.
19334
19335Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
19336
19337 * gdb.t16/printcmd.exp: Print a variable before running program
19338 (with xfail for AIX).
19339
19340Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
19341
19342 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
19343
19344 * gdb.t16/printcmd.exp: Don't print variables before running program.
19345
19346 * gdb.t06/break.exp: Don't require envp argument to main.
19347
19348 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
19349
19350 * gdb.t02/whatis.exp, gdb.t11/list.exp:
19351 Add xfails for rs6000.
19352
19353 * gdb.t02/whatis.exp: Change other tests not to re-test something
19354 we already tested.
19355
19356 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
19357 each type used has a variable of that type.
19358
19359Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
19360
19361 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
19362
19363Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
19364
19365 * configure.in: change srctrigger to be a file, not a directory
19366
19367Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
19368
19369 * configure.in (mips-idt-ecoff*): Added trailing '*'.
19370
19371 * gdb.t11/list.exp: Fixed a couple of typos.
19372
19373Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
19374
19375 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
19376 is fixed and PR is closed.
19377 * gdb.t16 (gdbme.c): Add simple test string variable.
19378 * gdb.t16 (printcmds.exp): Add tests with simple test string
19379 variable, primarily for boundaries on "set print elements".
19380
19381Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
19382
19383 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
19384 Make leading 0's optional and don't expect a tab in the middle
19385 of the number.
19386
19387 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
19388
19389 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
19390 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
19391 don't end command passed to gdb_test with newline.
19392
19393 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
19394 signed keyword away, don't expect signed bitfields to be signed.
19395
19396 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
19397 printing with only as many 1's as are in the field as well as printing
19398 with 32 1's (see comment).
19399
19400Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
19401
19402 * gdb.t00/default.exp: Start with a fresh gdb.
19403 * configure.in (configdirs): Remove gdb.t31 until the chill
19404 compiler works again. It no longer is able to find chillrt0
19405 since it isn't in libchill.a anymore.
19406 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
19407 wierd.o, make more modular.
19408 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
19409 spurious newlines that caused problems.
19410
19411Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19412
19413 * Move test with enums and partial symbols from gdb.t03/ptype.exp
19414 to gdb.stabs/wierd.exp since GCC has worked around the bug.
19415 gdb.stabs/wierd.{exp,def}: Many new tests.
19416
19417 * gdb.t00/default.exp: update info line for new message.
19418
19419 * gdb.t02/{whatis.exp,gdbme.c}:
19420 Test that "char *" doesn't print as "caddr_t".
19421
19422Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19423
19424 * gdb.t00/help.exp: Use .* in place of some help messages which
19425 just changed.
19426 gdb.t00/default.exp: Update "info frame" test for new message.
19427 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
19428 Remove some xfails
19429
19430Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19431
19432 * gdb.t03/{gdbme.c,ptype.exp}:
19433 Add tests for typedef'd struct and union without tags.
19434 Also check "whatis" on a variable of a typedef'd enum without a tag.
19435
19436 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
19437 PRMS 1823; the bug still exists but isn't reproduced by this test
19438 anymore), and remove rs6000 XFAIL (the bug is fixed).
19439
19440 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
19441 duplicated from whatis.exp. For those that are left, accept
19442 "long", "long int", or "int" for long variables (whatis.exp already
19443 has an XFAIL for "int", so no need to fail it here).
19444
19445 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
19446 Deal with GCC's names for types now that GDB uses the compiler's names.
19447
19448 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
19449 setup_xfail's for sunos4. If we #defined the signed keyword away,
19450 don't expect GDB to know that char it is signed.
19451
19452 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
19453
19454Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
19455
19456 * configure.in (configdirs): Add gdb.t24 for C++ tests that
19457 should work on any system, regardless of debugging format.
19458 * gdb.t21/demangle.exp: Move to gdb.t24.
19459 * gdb.t24/demangle.exp: Move from gdb.t21.
19460 * gdb.t24/{Makefile.in, configure.in}: New files.
19461
19462Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19463
19464 * configure.in: Do gdb.stabs and C++ tests only for stabs.
19465 * gdb.stabs: New directory.
19466
19467Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19468
19469 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
19470 not just "Quit anyway?".
19471
19472Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
19473
19474 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
19475 that all setup_xfails are immediately followed by clear_xfails.
19476
19477Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
19478
19479 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
19480 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
19481 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
19482 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
19483 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
19484 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
19485 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
19486 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
19487 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
19488 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
19489 gdb.t31/chillvars.exp, lib/gdb.exp:
19490 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
19491 bug-gdb@prep.ai.mit.edu.
19492
19493Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
19494
19495 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
19496 with 0.0, not integer 0.
19497
19498Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
19499
19500 * gdb.t06/break.exp: Update for "Kill the program" message change.
19501
19502Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
19503
19504 * Makefile.in (GDBFLAGS): Set to -nx.
19505 * Makefile.in (site.exp): Use GDBFLAGS.
19506
19507Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
19508
19509 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
19510 Makefiles.
19511 (check): depend on just-check.
19512 (just-check): added so that tests can be run without a noop
19513 build pass.
19514
19515Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
19516
19517 Switch to using configure's configdirs.
19518 * Makefile.in (Makefile): add configure.in dependency.
19519 (SUBDIRS): removed redundant assignment.
19520 * configure.in: switch subdirs assignment to configdirs.
19521 * gdb.t*/configure.in: new files.
19522
19523Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
19524
19525 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
19526 works.
19527
19528Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
19529
19530 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
19531 in explicit rules. Apparently this is not supported by some makes.
19532
19533Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
19534
19535 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
19536
19537Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19538
19539 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
19540 disappeared.
19541
19542Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
19543
19544 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
19545
19546Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
19547
19548 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
19549 watchpoint problem that is now fixed.
19550 * gdb.t30/chexp.exp: Remove setup_xfail for printing
19551 uninitialized convenience variables.
19552 * gdb.t31/chillvars.exp: Fix expected patterns for printing
19553 structures.
19554
19555Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19556
19557 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
19558 which causes expect to get out of sync with gdb on long output
19559 from help set.
19560 * gdb.t09/corefile.exp: Make expected pattern for core file
19561 failing signal and frame output format less sun specific.
19562
19563Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
19564
19565 * gdb.t31/chillvars.exp: Add and remove initial dummy
19566 breakpoint, so that symbol table is forced in.
19567 (Needed at least on Sunos4, though it seems not SVR4.)
19568 * gdb.t31/chillvars.exp: Update for changed output format.
19569
19570Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
19571
a9c64011 19572 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
19573
19574Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
19575
19576 * Makefile.in: Added --srcdir when invoking runtest, removed the
19577 need for a local config file. (optional now)
19578
19579Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
19580
19581 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
19582 failure count used to force early termination. Add some more
19583 expected failures for gnu style demangling.
19584
19585Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19586
19587 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
19588 pmi variable from gdb.t20/gdbme to get optimized away.
19589 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
19590 Check for written corefile upon timeout _and_ eof.
19591
19592Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19593
19594 * config/unix-gdb.exp: Add missing return 0.
19595
19596Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19597
19598 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
19599 test termination.
19600
19601Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
19602
19603 * configure.in (subdirs): Put back gdb.t17 which mysteriously
19604 disappeared.
19605
19606Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
19607
19608 * gdb.t10/crossload.exp: Disable the i860-elf test until such
19609 time as i860 support works.
19610
d63a86f8 19611 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
19612 "backtrace 100\r" rather than just "backtrace\r", to match last
19613 change.
19614
19615Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
19616
19617 * config/udi-gdb.exp (gdb_exit): Remove close command.
19618 (gdb_target_udi): New procedure to set the UDI target.
19619 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
19620 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
19621 Added waits for prompts after several question responses. Added
19622 some more responses used by a29k-amd-udi-gdb.
19623 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
19624 pass different arguments, restart UDI connection after program
19625 completion.
19626 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
19627 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
19628 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
19629 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
19630 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
19631 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
19632 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
19633 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
19634 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
19635 after program completion.
19636 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
19637 compiled with a SELECT_VECS setting.
19638 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
19639 infinite recursion.
19640
19641 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
19642 Added checks for COFF results, and made them expected failures for
19643 all targets. It would be better to make them expected failures
19644 for COFF targets only.
19645
19646Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
19647
19648 * Makefile.in: add null dvi target, don't bother to recurse
19649 through test directories for info and install-info; rename
19650 $(datadir) to be dejagnu instead of deja-gnu
19651
19652Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
19653
19654 * gdb.t31/gdbme.ch: Re-enable code that previously caused
19655 compiler to coredump.
19656 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
19657 code.
19658
19659Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
19660
19661 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
19662 coredump.
19663 * gdb.t31/chillvars.exp: Comment out tests that depend on that
19664 code.
19665
19666Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
19667
19668 * gdb.t03/ptype.exp: tests for return code from gdb_test.
19669 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
19670 which in a shell. Deletes xgdb when done.
19671 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
19672 Tests the return from the "set height" or "set width" commands.
19673 Added a few return codes where needed.
19674
19675Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
19676
19677 * Makefile.in (SUBDIRS): Add gdb.t17.
19678 * configure.in (subdirs): Add gdb.t17.
19679 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
19680 files to test gdb's calling of functions in the inferior with
19681 the correct arguments and gdb's ability to retrieve any
19682 result returned.
19683
19684Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
19685
19686 * config/unix-gdb.exp (gdb_exit): Remove close commands that
19687 may be called after gdb goes away. Previous versions of expect
19688 needed these to avoid file descriptor leaks, but they cause
19689 errors with the current revision of expect.
19690 * gdb.t00/gdbvars.exp: Use -re on expected output after
19691 setting sevenbit-strings.
19692 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
19693 to set sevenbit-strings consistent across tests.
19694 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
19695 set sevenbit-strings consistent across tests.
19696
19697Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
19698
19699 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
19700 expected output to match current "expect" expectations.
19701
19702Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
19703
19704 * gdb.t00/default.exp: Change expected output for default "source"
19705 command, to match new gdb behavior which requires a filename to
19706 source.
19707
19708Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
19709
19710 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
19711 expected fail for i486-*-* that misses the marker2 function.
19712 * gdb.t10/crossload.exp (bfddefault): Allow successful
19713 recognition of a format to pass even if no symbols are found.
19714 Explicitly catch failures where the format is not recognized
19715 or is ambiguous, and add the reason to the fail message.
19716 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
19717 the cause is and invalid target and add reason to failure message.
19718 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
19719 elf32-i386, elf32-sparc, and elf32-i860.
19720 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
19721 Set up expected failure for 'filename'::variable scope resolution,
19722 which is now apparently broken on all targets.
19723 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
19724 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
19725 gdb.t23/templates.exp: Change failure for missing binfile into
19726 just a warning.
19727 gdb.t21/demangle.exp: Change all cfront references to 'arm'
19728 references.
19729
19730Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
19731
19732 * gdb.t00/default.exp: Add expected output for default "source"
19733 command, to match new gdb behavior.
19734 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
19735
19736Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
19737
19738 * config/*-gdb.exp: returns an error, rather than exiting on
19739 internal errors.
19740
19741Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
19742
19743 * gdb.t03/gdbme.c: Add pointer to struct variable.
19744 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
19745 referencing struct members.
19746
19747Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
19748
19749 * configure.in (mips-idt-ecoff): New target.
19750 * config/mips-gdb.exp: New file for remote board using MIPS remote
19751 debugging protocol.
19752
19753 * Redid configuration scheme. Removed gdb.t*/configure.in.
19754 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
19755 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
19756 distclean targets. Built executables via .o files. Adjusted
19757 tests to account for source files in $(srcdir) rather than
19758 $(objdir).
19759 * lib/gdb.exp (runto): Don't expect () after the function name,
19760 because it may have arguments.
19761
19762Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
19763
19764 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
19765 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
19766 expected failures for mips-idt-* and mips-sgi-*.
19767 * gdb.t00/default.exp (attach): Kill process if requested.
19768 * gdb.t00/help.exp (help target core, help target): Accept a gdb
19769 that does not read core files.
19770 * gdb.t01/run.exp: Removed checks for exit status code.
19771 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
19772 it is linked in.
19773 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
19774 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
19775 appropriate, rather than doing it by hand.
19776 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
19777 execution.
19778 * gdb.t10/crossload.exp: Kill existing program if needed.
19779 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
19780 appropriate, rather than doing it by hand. Always increase
19781 timeout for this test, not just for VxWorks.
19782
19783Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
19784
19785 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
19786 of Chill STRUCT types and STRUCT values.
19787 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
19788 than "char".
19789 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 19790 struct2): New struct definitions and initializations to test
c906108c
SS
19791 simple Chill STRUCT types.
19792
19793Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
19794
19795 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
19796 the null byte at the end of strings.
19797 * gdb.t00/default.exp: Make show version insensitive to copyright
19798 date.
19799 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
19800 to avoid dependencies on target char signedness.
19801 * gdb.t16/printcmds.exp: Update expected results for explicitly
19802 unsigned char.
19803 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
19804 now work.
19805 * gdb.t21/demangle.exp: Add many more patterns for template
19806 demangling, most of them being expected failures.
19807 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
19808 string we are matching for, to match on the whole string.
19809 * gdb.t21/demangle.exp: Add many new test strings to demangle,
19810 and fix a whole bunch that had incorrect expected output but were
19811 passing anyway because of the bug in "proc demangle".
19812 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
19813 type.
19814 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
19815
19816Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
19817
a9c64011
AS
19818 * gdb/testsuite: made modifications to testcases, etc., to allow
19819 them to work properly given the reorganization of deja-gnu and the
19820 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
19821
19822Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
19823
19824 * gdb/testsuite: Initial creation of gdb/testsuite.
19825 Migrated dejagnu testcases and support files for testing nm to
19826 gdb/testsuite from deja-gnu. These files were moved "as is"
19827 with no modifications. This migration is part of a major overhaul
19828 of dejagnu. The modifications to these testcases, etc., which
19829 will allow them to work with the new version of dejagnu will be
19830 made in a future update.
48efe704 19831
8d8cb839 19832 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 19833\f
8d8cb839
EZ
19834;; Local Variables:
19835;; mode: change-log
19836;; left-margin: 8
19837;; fill-column: 74
19838;; version-control: never
19839;; End:
902f2ccb
MC
19840
19841 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 19842 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
19843 Copying and distribution of this file, with or without modification,
19844 are permitted provided the copyright notice and this notice are preserved.