gdb/ChangeLog:* gdb/valarith.c (vector_binop): New function.(scalar_binop): Likewise...
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
7346b668
KW
12010-08-11 Ken Werner <ken.werner@de.ibm.com>
2
3 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4 * gdb.base/gnu_vector.c: New File.
5 * gdb.base/gnu_vector.exp: Likewise.
6
cb2e07a6
PM
72010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8
9 * gdb.python/python.c: New File.
10 * gdb.python/python-sl.c: New File.
11 * gdb.python/python.exp: Test solib_address and decode_line
12 * functions.
13
5da1313b
JK
142010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15
16 * gdb.python/python.exp (show height, set height 10)
17 (verify pagination beforehand, verify pagination beforehand: q)
18 (gdb.execute does not page, verify pagination afterwards)
19 (verify pagination afterwards: q): New.
20
49c3ccf7
DE
212010-08-02 Doug Evans <dje@google.com>
22
23 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
24 because of an older gcc, change test2
25 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
26 to unsupported.
27
42c0c4f1
KH
282010-07-30 Kazu Hirata <kazu@codesourcery.com>
29
30 * gdb.base/break-always.exp: Do not expect full paths to file
31 names.
32 * gdb.base/commands.exp: Likewise.
33
d3765805
DE
342010-07-30 Doug Evans <dje@google.com>
35
c98ee71b
DE
36 * gdb.cp/temargs.exp: For new tests that require newer gccs,
37 xfail them when run with older gccs.
38
fd961404
DE
39 * lib/gdb.exp (build_executable): Forward "c++" option to
40 get_compiler_info.
41
999adef4
DE
42 * gdb.python/py-type.exp (test_template): Mark as xfail tests
43 "python print ttype.template_argument(1)" and
44 "python print isinstance(ttype.template_argument(1), gdb.Value)"
45 if using gcc 4.4 or earlier.
46
d3765805
DE
47 * gdb.base/valgrind-db-attach.exp: Use unique test name for
48 attach-to-debugger handling.
49
1276c759
JK
502010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
51
52 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
53 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
54 (main): Use copyreloc.
55 * gdb.base/prelink.exp (split debug of executable)
56 (.dynbss vs. .bss address shift): New tests.
57
88caa9b9
PA
582010-07-29 Pedro Alves <pedro@codesourcery.com>
59
60 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
61 in gdb_test_multiple.
62
c6f2ac43
PA
632010-07-29 Pedro Alves <pedro@codesourcery.com>
64
65 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
66 environment.
67
326fd672
TT
682010-07-28 Tom Tromey <tromey@redhat.com>
69
70 PR python/11060:
71 * gdb.python/py-type.c (Temargs): New template.
72 (temvar): New variable.
73 * gdb.python/py-type.exp (test_template): New proc.
74
3ce3b1ba
PA
752010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
76
77 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
78 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
79
34eaf542
TT
802010-07-28 Tom Tromey <tromey@redhat.com>
81
82 PR c++/9946:
83 * gdb.cp/temargs.exp: New file.
84 * gdb.cp/temargs.cc: New file.
85
d41b819e
JK
862010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
87
88 * gdb.base/help.exp (help disassemble): Update the content.
89
26ab7092
JK
902010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
91
92 * gdb.threads/ia64-sigill.exp: New file.
93 * gdb.threads/ia64-sigill.c: New file.
94
5283e9e1
TT
952010-07-27 Tom Tromey <tromey@redhat.com>
96
97 * gdb.opt/inline-cmds.c (ATTR): New define.
98 (func1): Use it.
99 (func2): Likewise.
100 (func3): Likewise.
101 (outer_inline1): Likewise.
102 (outer_inline2): Likewise.
103 * gdb.opt/inline-bt.c (ATTR): New define.
104 (func1): Use it.
105 (func2): Likewise.
106 * gdb.opt/inline-locals.c (ATTR): New define.
107 (func1): Use it.
108 (func2): Likewise.
109
e992ef73
TT
1102010-07-27 Tom Tromey <tromey@redhat.com>
111
112 * gdb.stabs/gdb11479.c (hack): New function.
113 (test): Use it.
114 (test2): Use it.
115 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
116 (int32_search_buf, int64_search_buf): No longer static.
117 (x): Remove.
118 * gdb.base/relocate.c (hack): New function.
119
5374244e
PM
1202010-07-27 Phil Muldoon <pmuldoon@redhat.com>
121
122 * gdb.python/py-value.exp (test_inferior_function_call): New function.
123 * gdb.python/py-value.c (func1): New function.
124 (func2): Likewise.
125
a99aee83
CV
1262010-07-26 Corinna Vinschen <vinschen@redhat.com>
127
128 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
129 as not to clash with .data section.
130
a04ba985
JG
1312010-07-26 Jerome Guitton <guitton@adacore.com>
132
133 * gdb.base/code_elim.exp: New file.
134 * gdb.base/code_elim1.c: New file.
135 * gdb.base/code_elim2.c: New file.
136
23bd0f7c
PA
1372010-07-21 Pedro Alves <pedro@codesourcery.com>
138
139 PR symtab/11827
140
141 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
142 (some_volatile_enum): New variable.
143 * gdb.base/printcmds.exp (test_print_enums): New.
144 <top level>: Call it.
145
883df6dd
SW
1462010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
147
148 * gdb.cp/fpointer.cc: New test.
149 * gdb.cp/fpointer.exp: New test.
150
569b05a5
JK
1512010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
152
153 * gdb.base/solib-nodir.exp: New file.
154 * lib/gdb.exp (runto): New case for a GDB internal error.
155
51d7d803
JK
1562010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
157 Ulrich Weigand <uweigand@de.ibm.com>
158 Tom Tromey <tromey@redhat.com>
159
160 * gdb.base/charset-malloc.c: New file.
161 * gdb.base/charset.c (malloc_stub): New prototype.
162 (main): Call it instead of malloc itself.
163 * gdb.base/charset.exp: Use only prepare_for_testing.
164 (binfile): Remove the variable.
165
c0edd9ed
JK
1662010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
167
168 Make core files the process_stratum.
169 * gdb.base/corefile.exp (run: load core again)
170 (run: sanity check we see the core file, run: with core)
171 (run: core file is cleared, attach: load core again)
172 (attach: sanity check we see the core file, attach: with core)
173 (attach: core file is cleared): New tests.
174 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
175
3cbaedff
KW
1762010-07-14 Ken Werner <ken.werner@de.ibm.com>
177
178 * gdb.arch/altivec-abi.exp: New tests.
179
91158a56
TT
1802010-07-13 Tom Tromey <tromey@redhat.com>
181
182 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
183 (main): Use it.
184 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
185
0f5238ed
TT
1862010-07-13 Tom Tromey <tromey@redhat.com>
187
188 * gdb.base/label.exp: New file.
189 * gdb.base/label.c: New file.
190
add265ae
L
1912010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
192 H.J. Lu <hongjiu.lu@intel.com>
193
194 * lib/gdb.exp (is_ilp32_target): New.
195 (is_lp64_target): Likewise.
196
197 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
198 target.
199 * gdb.arch/amd64-disp-step.exp: Likewise.
200 * gdb.arch/amd64-dword.exp: Likewise.
201 * gdb.arch/amd64-i386-address.exp: Likewise.
202 * gdb.arch/amd64-word.exp: Likewise.
203
204 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
205 target.
206 * gdb.arch/i386-bp_permanent.exp: Likewise.
207 * gdb.arch/i386-byte.exp: Likewise.
208 * gdb.arch/i386-disp-step.exp: Likewise.
209 * gdb.arch/i386-gnu-cfi.exp: Likewise.
210 * gdb.arch/i386-prologue.exp: Likewise.
211 * gdb.arch/i386-size-overlap.exp: Likewise.
212 * gdb.arch/i386-size.exp: Likewise.
213 * gdb.arch/i386-sse.exp: Likewise.
214 * gdb.arch/i386-unwind.exp: Likewise.
215 * gdb.arch/i386-word.exp: Likewise.
216
217 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
218 test only when building 64-bit executables. Do not hard-code
219 -m64 option.
220
2dfb8c17
DE
2212010-07-07 Doug Evans <dje@google.com>
222
223 * lib/gdb.exp (gdb_test_list_exact): New function.
224 * gdb.base/default.exp (show convenience): Call it, add tests for
225 $_sdata = void, $_thread = 0.
226
4e5799b6
JK
2272010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
228 Joel Brobecker <brobecker@adacore.com>
229
230 Fix re-run of PIE executable, PR shlibs/11776.
231 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
232 Remove $displacement_main to match the solib-svr4.c change. New "kill"
233 and re-"run" of the inferior.
234
1a219cc7
JK
2352010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
236 Joel Brobecker <brobecker@adacore.com>
237
238 Cope with missing /usr/sbin/prelink.
239 * lib/prelink-support.exp (prelink_no):
240 <result == 1 && $output is "no such file or directory">: New.
241 (prelink_yes): Likewise. Return on failed prelink_no.
242
5e3b36f8
JK
2432010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
244 Joel Brobecker <brobecker@adacore.com>
245
246 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
247 build_executable by build_executable_own_libs. Replace "prelink -R"
248 execution by a call of prelink_yes. Comment why "prelink -r" needs no
249 change.
250 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
251 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
252 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
253 Replace build_executable by build_executable_own_libs's function
254 build_executable_own_libs.
255 (prelinkNO): Create new stub to call prelink_no.
256 (prelinkYES): Create new stub to call prelink_yes.
257 (test_attach): Rename calls of copy to file_copy.
258 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
259 (copy): Move to ...
260 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
261 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
262 * gdb.base/prelink.exp: Disable testcase also for is_remote and
263 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
264 special flags by gdb_compile_shlib. Replace second gdb_compile by
265 build_executable_own_libs. Replace "prelink -R" execution by a call of
266 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
267 a second call of prelink_yes. Replace restart commands by
268 clean_restart.
269 (prelink): Rename to ...
270 (seen displacement message): ... this test. Extend its expectation
271 strictness.
272
86e4bafc
JK
2732010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
274
275 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
276 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
277 displacement message exactly once.
278
3cd07d20
JK
2792010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
280 Joel Brobecker <brobecker@adacore.com>
281
282 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
283 its restore after the <$relink_args != ""> loop. new comment.
284
0a1e94c7
JK
2852010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
286 Joel Brobecker <brobecker@adacore.com>
287
288 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
289 code for it. New variable relink_args.
290 (prelinkYES): Call prelinkNO.
291 (test_attach): Accept new parameter relink_args. Re-prelink the binary
292 in such case. Move the core code to ...
293 (test_attach_gdb): ... a new function. Send GDB command "file".
294 Extend expected "Attaching to " string.
295
2f70bcfb
TT
2962010-07-02 Tom Tromey <tromey@redhat.com>
297
298 * gdb.base/bitops.exp: Remove extraneous "pass".
299
a17ac5b0
TT
3002010-07-02 Ken Werner <ken.werner@de.ibm.com>
301
302 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
303
dc10affe
PA
3042010-07-01 Pedro Alves <pedro@codesourcery.com>
305
d41c0fc8
PA
306 * gdb.base/help.exp: Adjust expected output.
307
3082010-07-01 Pedro Alves <pedro@codesourcery.com>
309
310 * gdb.base/help.exp: Adjust expected output.
dc10affe 311
0a600c36
JK
3122010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
313
314 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
315 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
316 c++/11702.
317
37cc8bfe
JK
3182010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
319 Doug Evans <dje@google.com>
320
321 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
322 add .dynamic entry'.
323
254e6b9e
DE
3242010-06-29 Doug Evans <dje@google.com>
325
326 Test PR c++/11702.
327 * gdb.cp/m-static.exp: Add testcase.
328 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
329
595939de
PM
3302010-06-28 Phil Muldoon <pmuldoon@redhat.com>
331 Tom Tromey <tromey@redhat.com>
332 Thiago Jung Bauermann <bauerman@br.ibm.com>
333
334 * gdb.python/py-inferior.c: New File.
335 * gdb.python/py-infthread.c: New File.
336 * gdb.python/py-inferior.exp: New File.
337 * gdb.python/py-infthread.exp: New File.
338
98751a41
JK
3392010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
340
341 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
342 (ptype ::C::OtherFileClass typedefs): New.
343 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
344 (C::OtherFileClass::cOtherFileClassVar2): New.
345 (C::OtherFileClass::cOtherFileClassVar_use): Use also
346 cOtherFileClassVar2.
347 (C::cOtherFileType2, C::cOtherFileVar2): New.
348 (C::cOtherFileVar_use): use also cOtherFileVar2.
349 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
350
41f62f39
JK
3512010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
352
353 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
354 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
355 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
356 (print ::C::cOtherFileVar)
357 (whatis C::OtherFileClass::cOtherFileClassType)
358 (whatis ::C::OtherFileClass::cOtherFileClassType)
359 (print C::OtherFileClass::cOtherFileClassVar)
360 (print ::cOtherFileClassVar)
361 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
362 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
363 trailing content.
364 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
365 (C::OtherFileClass::cOtherFileClassVar)
366 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
367 (C::cOtherFileVar, C::cOtherFileVar_use): New.
368
af53d231
JK
3692010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
370
371 Test PR c++/11703 and PR gdb/1448.
372 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
373 gdb/1448.
374
9655fd1a
JK
3752010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
376
377 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
378 (main) <rtti_data>: New.
379 * gdb.cp/virtbase.exp (print rtti_data): New.
380
824cc8dd
JK
3812010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
382 Joel Brobecker <brobecker@adacore.com>
383
384 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
385
6036c742
JK
3862010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
387
388 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
389
de6a0421
DE
3902010-06-28 Doug Evans <dje@google.com>
391
392 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
393
b2dae948
DE
3942010-06-27 Doug Evans <dje@google.com>
395
396 * gdb.cp/m-static.exp: Update expected test output.
397
0f3bb72e
PH
3982010-06-25 Paul Hilfinger <hilfinger@adacore.com>
399
400 * gdb.gdb/selftest.exp: Adjust expected message for
401 capturing start-up runtime.
402
bc9f0842
TT
4032010-06-25 Tom Tromey <tromey@redhat.com>
404
405 PR python/10808:
406 * gdb.python/python.exp: Add new tests.
407
099ef718
SW
4082010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
409
410 * gdb.cp/operator.cc: Created an import loop.
411 * gdb.cp/operator.exp: Added testcase for import loop.
412
5868a632
JK
4132010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
414
415 Test PR python/11407.
416 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
417 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
418 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
419 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
420 executable_nofb and executable_fb. New variables srcsfile, objsfile,
421 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
422 binfile. Call gdb_compile with clean_restart twice.
423 (func_nofb print, func_nofb backtrace, func_loopfb print)
424 (func_loopfb backtrace): New.
425
af76db58
JK
4262010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
427
428 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
429 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
430 by a hand made one.
431 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
432 i?86 requirement. Remove variables srcfile and binfile. New variable
433 sources, executable_nofb and executable_fb. Call prepare_for_testing.
434
f2c7657e
UW
4352010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
436
437 * gdb.cell/dwarfaddr.exp: New file.
438 * gdb.cell/dwarfaddr.S: New file.
439
628fe4e4
JK
4402010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
441
442 Test PR 9436.
443 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
444
f1421989
HZ
4452010-06-24 Hui Zhu <teawater@gmail.com>
446
447 * gdb.base/eval.exp: New file.
448
d03285ec
UW
4492010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
450
451 * gdb.cell/fork.exp: New file.
452 * gdb.cell/fork.c: Likewise.
453 * gdb.cell/fork-spu.c: Likewise.
454
41b2c92d
PM
4552010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
456
457 * lib/gdb.exp (banned_variables_traced): New global variable.
458 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
459 (gdb_init): Use `trace add variable' instead of obsolete
460 `trace variable'.
461
d5bc977f
DE
4622010-06-21 Doug Evans <dje@google.com>
463
464 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
465
d2ed6730
UW
4662010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
467
468 * gdb.arch/spu-ls.exp: New file.
469 * gdb.arch/spu-ls.c: Likewise.
470
6aed2dbc
SS
4712010-06-18 Stan Shebs <stan@codesourcery.com>
472
473 * gdb.threads/thread-specific.exp: Add tests of $_thread.
474
e0756905
UW
4752010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
476
477 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
478 * gdb.base/watch-cond.exp: Likewise.
479 * gdb.python/py-breakpoint.exp: Likewise.
480
d8053d4d
PA
4812010-06-18 Pedro Alves <pedro@codesourcery.com>
482
483 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
484 clean_restart, make sure every test has a distinct message, and
485 that messages don't include the executable' full path.
486
81ce510c
DE
4872010-06-17 Doug Evans <dje@google.com>
488
489 * gdb.arch/i386-size.exp: Updated expected output for
490 DISASSEMBLY_OMIT_FNAME.
491
65d79d4b
SDJ
4922010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
493 Sergio Durigan Junior <sergiodj@redhat.com>
494
495 * gdb.base/watch-notconst.c: New file.
496 * gdb.base/watch-notconst.S: New file.
497 * gdb.base/watch-notconst2.c: New file.
498 * gdb.base/watch-notconst2.S: New file.
499 * gdb.base/watch-notconst.exp: New file.
500 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
501 (func4): Add operations on `global_ptr_ptr'.
502 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
503 routine to test watchpoints created with a constant expression.
504 (test_inaccessible_watchpoint): Include tests for watchpoints
505 created with a constant expression.
506
df0f4836
KB
5072010-06-14 Kevin Buettner <kevinb@redhat.com>
508
509 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
510 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
511 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
512 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
513 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
514 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
515 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
516 of `_start'.
517
b769def5
UW
5182010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
519
520 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
521 not supported on the target.
522 * gdb.mi/mi-nonstop-exit.exp: Likewise.
523 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
524 * gdb.mi/mi-nsintrall.exp: Likewise.
525 * gdb.mi/mi-nsmoribund.exp: Likewise.
526 * gdb.mi/mi-nsthrexec.exp: Likewise.
527
d914c394
SS
5282010-06-11 Stan Shebs <stan@codesourcery.com>
529
530 * gdb.base/permissions.exp: New file.
531
5322010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
533
534 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
535 does not support ELF executable class.
536
f3ce5b9c
UW
5372010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
538
539 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
540
8e46892c
JK
5412010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
542
543 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
544 (runto): Catch "The target does not support running in non-stop mode.".
545
6cc55c64
MS
5462010-06-11 Michael Snyder <msnyder@vmware.com>
547
548 * gdb.base/setshow.exp (set language asm): Don't use
549 gdb_test_no_output, fails on some targets.
550
caddefa4
UW
5512010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
552
553 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
554 * gdb.cp/pr9167.exp: Likewise.
555
468b1aa7
UW
5562010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
557
558 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
559
5c3552dc
UW
5602010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
561
562 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
563
02e6fe6a
UW
5642010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
565
566 * gdb.base/charset.c (main): Make sure malloc gets linked in.
567
0e03807e
TT
5682010-06-11 Tom Tromey <tromey@redhat.com>
569
570 PR gdb/9977, PR exp/11636::
571 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
572 (pieces_test_f6): Update expected output.
573
2bdf28a0
JK
5742010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
575
576 * gdb.base/moribund-step.exp: New.
577
f6978de9
MS
5782010-06-08 Michael Snyder <msnyder@vmware.com>
579
580 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
581 * gdb.ada/boolean_expr.exp:
582 * gdb.ada/frame_args.exp: Ditto.
583 * gdb.ada/lang_switch.exp: Ditto.
584 * gdb.ada/ptype_arith_binop.exp: Ditto.
585 * gdb.ada/ref_param.exp: Ditto.
586 * gdb.ada/type_coercion.exp:Ditto.
587
588 * gdb.asm/asm-source.exp: Ditto.
589
590 * gdb.base/attach.exp: Ditto.
591 * gdb.base/bitfields2.exp: Ditto.
592 * gdb.base/call-signal-resume.exp: Ditto.
593 * gdb.base/callfuncs.exp: Ditto.
594 * gdb.base/commands.exp: Ditto.
595 * gdb.base/dbx.exp: Ditto.
596 * gdb.base/default.exp: Ditto.
597 * gdb.base/dump.exp: Ditto.
598 * gdb.base/exprs.exp: Ditto.
599 * gdb.base/freebpcmd.exp: Ditto.
600 * gdb.base/interrupt.exp: Ditto.
601 * gdb.base/list.exp: Ditto.
602 * gdb.base/long_long.exp: Ditto.
603 * gdb.base/maint.exp: Ditto.
604 * gdb.base/ptype.exp: Ditto.
605 * gdb.base/return.exp: Ditto.
606 * gdb.base/setshow.exp: Ditto.
607 * gdb.base/sigbpt.exp: Ditto.
608 * gdb.base/sigrepeat.exp: Ditto.
609
610 * gdb.cp/classes.exp: Ditto.
611
612 * gdb.dwarf2/dw2-restore.exp: Ditto.
613
614 * gdb.gdb/selftest.exp: Ditto.
615
616 * gdb.multi/base.exp: Ditto.
617 * gdb.multi/bkpt-multi-exec.exp: Ditto.
618
619 * gdb.python/py-block.exp: Ditto.
620 * gdb.python/py-prettyprint.exp: Ditto.
621 * gdb.python/py-template.exp: Ditto.
622
623 * gdb.server/ext-attach.exp: Ditto.
624 * gdb.server/ext-run.exp: Ditto.
625 * gdb.server/server-mon.exp: Ditto.
626
627 * gdb.threads/fork-thread-pending.exp: Ditto.
628 * gdb.threads/hand-call-in-threads.exp: Ditto.
629 * gdb.threads/interrupted-hand-call.exp: Ditto.
630 * gdb.threads/linux-dp.exp: Ditto.
631 * gdb.threads/manythreads.exp: Ditto.
632 * gdb.threads/print-threads.exp: Ditto.
633 * gdb.threads/pthreads.exp: Ditto.
634 * gdb.threads/schedlock.exp: Ditto.
635 * gdb.threads/thread-unwindonsignal.exp: Ditto.
636 * gdb.threads/threadapply.exp: Ditto.
637
de7ff789
MS
6382010-06-08 Michael Snyder <msnyder@vmware.com>
639
640 * gdb.ada/exec_changed.exp:
641 Use ".*" instead of "" as wildcard regexp.
642
643 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
644 * gdb.base/call-ar-st.exp: Ditto.
645 * gdb.base/checkpoint.exp: Ditto.
646 * gdb.base/default.exp: Ditto.
647 * gdb.base/dump.exp: Ditto.
648 * gdb.base/ending-run.exp: Ditto.
649 * gdb.base/fileio.exp: Ditto.
650 * gdb.base/miscexprs.exp: Ditto.
651 * gdb.base/pointers.exp: Ditto.
652 * gdb.base/readline.exp: Ditto.
653 * gdb.base/reread.exp: Ditto.
654 * gdb.base/restore.exp: Ditto.
655 * gdb.base/shlib-call.exp: Ditto.
656 * gdb.base/valgrind-db-attach.exp: Ditto.
657 * gdb.base/volatile.exp: Ditto.
658 * gdb.base/watchpoints.exp: Ditto.
659
660 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
661
662 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
663 * gdb.python/py-value.exp: Ditto.
664
665 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
666 * gdb.trace/circ.exp: Ditto.
667 * gdb.trace/collection.exp: Ditto.
668 * gdb.trace/packetlen.exp: Ditto.
669 * gdb.trace/passc-dyn.exp: Ditto.
670 * gdb.trace/report.exp: Ditto.
671 * gdb.trace/tfile.exp: Ditto.
672 * gdb.trace/tfind.exp: Ditto.
673 * gdb.trace/while-dyn.exp: Ditto.
674
3bebe2f2
JK
6752010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
676
677 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
678
5c631832
JK
6792010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
680
681 Test PR 10640.
682 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
683
4c3376c8
SW
6842010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
685
686 * gdb.cp/koenig.exp: Test for ADL operators.
687 * gdb.cp/koenig.cc: Added ADL operators.
688 * gdb.cp/operator.exp: New test.
689 * gdb.cp/operator.cc: New test.
690
dc226d5a
MS
6912010-06-04 Michael Snyder <msnyder@vmware.com>
692
dfb88a23
MS
693 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
694 * gdb.base/pending.exp: Ditto.
f7ae76b3 695
dc226d5a
MS
696 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
697
967cf477
DE
6982010-06-04 Doug Evans <dje@google.com>
699
700 * gdb.python/py-prettyprint.exp: Add new test for enabled and
701 disabled printers.
702 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
703 (enable_lookup_function): New function.
704
eb801841
TT
7052010-06-04 Tom Tromey <tromey@redhat.com>
706
707 * gdb.python/py-value.exp (test_value_hash): Don't test equality
708 of hash and id.
709
38979823
JK
7102010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
711
712 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
713 newline.
714 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
715 (empty verbose non-noisy clear, empty verbose noisy clear)
716 (empty non-verbose noisy clear): Likewise.
717
35ec993f
MS
7182010-06-03 Michael Snyder <msnyder@vmware.com>
719
720 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
721 * gdb.base/display.exp: Ditto.
722 * gdb.base/find.exp: Ditto.
723 * gdb.base/ifelse.exp: Ditto.
724 * gdb.base/multi-forks.exp: Ditto.
725 * gdb.base/recurse.exp: Ditto.
726 * gdb.base/setshow.exp: Ditto.
727 * gdb.base/value-double-free.exp: Ditto.
728 * gdb.base/watch-vfork.exp: Ditto.
729 * gdb.base/watch_thread_num.exp: Ditto.
730 * gdb.base/watchpoint-solib.exp: Ditto.
731 * gdb.base/watchpoint.exp: Ditto.
732 * gdb.base/watchpoints.exp: Ditto.
733
734 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
735 * gdb.cp/overload.exp: Ditto.
736 * gdb.cp/virtfunc.exp: Ditto.
737
738 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
739
740 * gdb.reverse/watch-precsave.exp:
741 Replace gdb_test with gdb_test_no_output.
742
743 * gdb.threads/attach-into-signal.exp:
744 Replace gdb_test with gdb_test_no_output.
745 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
746 * gdb.threads/watchthreads.exp: Ditto.
747 * gdb.threads/watchthreads2.exp: Ditto.
748
749 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
750 * gdb.trace/tfind.exp: Ditto.
751
c22decce
JB
7522010-06-03 Joel Brobecker <brobecker@adacore.com>
753
754 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
755 successful test if message is the empty string.
756
fd5700c7
JK
7572010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
758
759 * gdb.fortran/module.exp (stopped language detection): New test.
760
f55ee35c
JK
7612010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
762
763 Support DW_TAG_module as separate namespaces.
764 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
765 gdb.fortran/library-module-lib.f90: New.
766 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
767 (print i): Remove.
768 (continue to breakpoint: i-is-1, print var_i value 1)
769 (continue to breakpoint: i-is-2, print var_i value 2)
770 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
771 (print var_d, print var_i value 14, ptype modmany, complete `modm)
772 (complete `modmany, complete `modmany`, complete `modmany`var)
773 (show language, setting breakpoint at module): New tests.
774 * gdb.fortran/module.f90 (module mod): Remove.
775 (module mod1, module mod2, module modmany, subroutine sub1)
776 (subroutine sub2, program module): New.
777
b8e8282f
JK
7782010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
779
780 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
781 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
782 * gdb.cp/anon-union.exp (pass): Rename to ...
783 (print z 2): ... here.
b8e8282f 784
019ebafc
MS
7852010-06-02 Michael Snyder <msnyder@vmware.com>
786
e68d8fd4
MS
787 * gdb.trace/actions.exp: Use gdb_test_no_output.
788 * gdb.trace/circ.exp: Ditto.
789 * gdb.trace/packetlen.exp: Ditto.
790 * gdb.trace/save-trace.exp: Ditto.
791 * gdb.trace/tracecmd.exp: Ditto.
792 * gdb.trace/tsv.exp: Ditto.
793
12b5d08a
MS
794 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
795 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
796 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
797 * gdb.threads/manythreads.exp: Ditto.
798 * gdb.threads/print-threads.exp: Ditto.
799 * gdb.threads/pthreads.exp: Ditto.
800 * gdb.threads/schedlock.exp: Ditto.
801 * gdb.threads/staticthreads.exp: Ditto.
802 * gdb.threads/thread-specific.exp: Ditto.
803 * gdb.threads/thread-unwindonsignal.exp: Ditto.
804 * gdb.threads/threadapply.exp: Ditto.
805 * gdb.threads/watchthreads.exp: Ditto.
806 * gdb.threads/watchthreads2.exp: Ditto.
807
89493308
MS
808 * gdb.python/py-block.exp: Use gdb_test_no_output.
809 * gdb.python/py-prettyprint.exp: Ditto.
810 * gdb.python/py-template.exp: Ditto.
811 * gdb.python/py-value.exp: Ditto.
812
813 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
814 * gdb.reverse/watch-reverse.exp: Ditto.
815
816 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
817 * gdb.server/ext-run.exp: Ditto.
818
019ebafc
MS
819 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
820 * gdb.dwarf2/dw2-compressed.exp: Ditto.
821 * gdb.dwarf2/dw2-intercu.exp: Ditto.
822 * gdb.dwarf2/dw2-intermix.exp: Ditto.
823 * gdb.dwarf2/dw2-producer.exp: Ditto.
824 * gdb.dwarf2/mac-fileno.exp: Ditto.
825
826 * gdb.gdb/observer.exp: Use gdb_test_no_output.
827 * gdb.gdb/selftest.exp: Ditto.
828
829 * gdb.multi/base.exp: Use gdb_test_no_output.
830
831 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
832
3e0ca3a5
JK
8332010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
834
835 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
836
9db70545
MS
8372010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
838
a8d52276
MS
839 * gdb.cp/class2.exp: Use gdb_test_no_output.
840 * gdb.cp/classes.exp: Ditto.
841 * gdb.cp/extern-c.exp: Ditto.
842 * gdb.cp/inherit.exp: Ditto.
843 * gdb.cp/maint.exp: Ditto.
844 * gdb.cp/mb-inline.exp: Ditto.
845 * gdb.cp/mb-templates.exp: Ditto.
846 * gdb.cp/method2.exp: Ditto.
847 * gdb.cp/misc.exp: Ditto.
848 * gdb.cp/ovldbreak.exp: Ditto.
849 * gdb.cp/punctuator.exp: Ditto.
850 * gdb.cp/templates.exp: Ditto.
851 * gdb.cp/virtbase.exp: Ditto.
852
9db70545
MS
853 * gdb.threads/attach-stopped.exp:
854 Replace uses of send_gdb / gdb_expect.
855 * gdb.threads/attachstop-mt.exp:
856 Replace uses of send_gdb / gdb_expect.
857 * gdb.threads/gcore-thread.exp:
858 Replace uses of send_gdb / gdb_expect.
859 * gdb.threads/hand-call-in-threads.exp:
860 Replace uses of send_gdb / gdb_expect.
861 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
862 * gdb.threads/print-threads.exp:
863 Replace uses of send_gdb / gdb_expect.
864 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
865 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
866 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
867
868 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
869 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
870 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
871 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
872 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
873 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
874 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
875 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
876 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
877 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
878 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
879
359cc68c
JK
8802010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
881
882 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
883
7d3fe98e
SW
8842010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
885
886 * gdb.cp/koenig.exp: Added new test case.
887 * gdb.cp/koenig.cc: Ditto.
888
27d3a1a2
MS
8892010-06-01 Michael Snyder <msnyder@vmware.com>
890
891 * gdb.base/arithmet.exp: Use gdb_test_no_output.
892 * gdb.base/arrayidx.exp: Ditto.
893 * gdb.base/attach.exp: Ditto.
894 * gdb.base/auxv.exp: Ditto.
895 * gdb.base/bigcre.exp: Ditto.
896 * gdb.base/break-always.exp: Ditto.
897 * gdb.base/break-interp.exp: Ditto.
898 * gdb.base/break.exp: Ditto.
899 * gdb.base/breakpoint-shadow.exp: Ditto.
900 * gdb.base/call-ar-st.exp: Ditto.
901 * gdb.base/call-sc.exp: Ditto.
902 * gdb.base/call-signal-resume.exp: Ditto.
903 * gdb.base/callfuncs.exp: Ditto.
904 * gdb.base/catch-syscall.exp: Ditto.
905 * gdb.base/charset.exp: Ditto.
906 * gdb.base/code-expr.exp: Ditto.
907 * gdb.base/commands.exp: Ditto.
908 * gdb.base/cond-expr.exp: Ditto.
909 * gdb.base/condbreak.exp: Ditto.
910 * gdb.base/cursal.exp: Ditto.
911 * gdb.base/cvexpr.exp: Ditto.
912 * gdb.base/default.exp: Ditto.
913 * gdb.base/del.exp: Ditto.
914 * gdb.base/detach.exp: Ditto.
915 * gdb.base/display.exp: Ditto.
916 * gdb.base/ena-dis-br.exp: Ditto.
917 * gdb.base/eval-skip.exp: Ditto.
918 * gdb.base/foll-fork.exp: Ditto.
919 * gdb.base/foll-vfork.exp: Ditto.
920 * gdb.base/frame-args.exp: Ditto.
921 * gdb.base/funcargs.exp: Ditto.
922 * gdb.base/gcore-buffer-overflow.exp: Ditto.
923 * gdb.base/gdbvars.exp: Ditto.
924 * gdb.base/help.exp: Ditto.
925 * gdb.base/ifelse.exp: Ditto.
926 * gdb.base/included.exp: Ditto.
927 * gdb.base/list.exp: Ditto.
928 * gdb.base/macscp.exp: Ditto.
929 * gdb.base/maint.exp: Ditto.
930 * gdb.base/multi-fork.exp: Ditto.
931 * gdb.base/overlays.exp: Ditto.
932 * gdb.base/page.exp: Ditto.
933 * gdb.base/pending.exp: Ditto.
934 * gdb.base/pointers.exp: Ditto.
935 * gdb.base/pr11022.exp: Ditto.
936 * gdb.base/prelink.exp: Ditto.
937 * gdb.base/printcmds.exp: Ditto.
938 * gdb.base/psymtab.exp: Ditto.
939 * gdb.base/randomize.exp: Ditto.
940 * gdb.base/relational.exp: Ditto.
941 * gdb.base/relocate.exp: Ditto.
942 * gdb.base/remote.exp: Ditto.
943 * gdb.base/sepdebug.exp: Ditto.
944 * gdb.base/set-lang-auto.exp: Ditto.
945 * gdb.base/setshow.exp: Ditto.
946 * gdb.base/setvar.exp: Ditto.
947 * gdb.base/signals.exp: Ditto.
948 * gdb.base/signull.exp: Ditto.
949 * gdb.base/sigstep.exp: Ditto.
950 * gdb.base/sizeof.exp: Ditto.
951 * gdb.base/solib-disc.exp: Ditto.
952 * gdb.base/store.exp: Ditto.
953 * gdb.base/structs.exp: Ditto.
954 * gdb.base/structs2.exp: Ditto.
955 * gdb.base/subst.exp: Ditto.
956 * gdb.base/term.exp: Ditto.
957 * gdb.base/trace-commands.exp: Ditto.
958 * gdb.base/unwindonsignal.exp: Ditto.
959 * gdb.base/valgrind-db-attach.exp: Ditto.
960 * gdb.base/varargs.exp: Ditto.
961 * gdb.base/watch-cond.exp: Ditto.
962 * gdb.base/watch_thread_num.exp: Ditto.
963 * gdb.base/watchpoint-cond-gone.exp: Ditto.
964 * gdb.base/watchpoint.exp: Ditto.
965 * gdb.base/whatis-exp.exp: Ditto.
966
f8d3bf8f
MS
9672010-06-01 Michael Snyder <msnyder@vmware.com>
968
969 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
970 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
971 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
972 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
973 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
974 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
975 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
976 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
977 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
978 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
979 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
980 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
981 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
982 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
983 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
984
3f9e0d32
JK
9852010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
986
987 * gdb.base/commands.exp (begin commands on watch): Remove excessive
988 trailing newline.
989 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
990 * gdb.java/jmisc.exp (p *args\n): Rename to ...
991 (p *args): ... here and remove excessive trailing newline.
992
f629457d
JB
9932010-05-31 Joel Brobecker <brobecker@adacore.com>
994
995 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
996
09eef106
JK
9972010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
998
999 Accept the new Linux kernel "t (tracing stop)" string.
1000 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
1001 Update comment.
1002 (state_wait) <T (tracing stop)>: New.
1003 (main): Update the state_wait expect string.
1004
94f31136
PA
10052010-05-28 Pedro Alves <pedro@codesourcery.com>
1006
1007 * limits.c, limits.exp: Delete files.
1008 * Makefile.in (clean mostlyclean): Adjust.
1009 * tracecmd.exp: Adjust.
1010
096554ab
JK
10112010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1012
1013 * gdb.base/tui-layout.exp: New.
1014
27d3a1a2 10152010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50
MS
1016
1017 * gdb.reverse/break-precsave.exp:
1018 Replace uses of send_gdb / gdb_expect.
1019 * gdb.reverse/break-reverse.exp:
1020 Replace uses of send_gdb / gdb_expect.
1021 * gdb.reverse/consecutive-precsave.exp:
1022 Replace uses of send_gdb / gdb_expect.
1023 * gdb.reverse/consecutive-reverse.exp:
1024 Replace uses of send_gdb / gdb_expect.
1025 * gdb.reverse/finish-precsave.exp:
1026 Replace uses of send_gdb / gdb_expect.
1027 * gdb.reverse/finish-reverse.exp:
1028 Replace uses of send_gdb / gdb_expect.
1029 * gdb.reverse/i386-precsave.exp:
1030 Replace uses of send_gdb / gdb_expect.
1031 * gdb.reverse/i386-reverse.exp:
1032 Replace uses of send_gdb / gdb_expect.
1033 * gdb.reverse/i386-sse-reverse.exp:
1034 Replace uses of send_gdb / gdb_expect.
1035 * gdb.reverse/i387-env-reverse.exp:
1036 Replace uses of send_gdb / gdb_expect.
1037 * gdb.reverse/i387-stack-reverse.exp:
1038 Replace uses of send_gdb / gdb_expect.
1039 * gdb.reverse/machinestate-precsave.exp:
1040 Replace uses of send_gdb / gdb_expect.
1041 * gdb.reverse/machinestate.exp:
1042 Replace uses of send_gdb / gdb_expect.
1043 * gdb.reverse/sigall-precsave.exp:
1044 Replace uses of send_gdb / gdb_expect.
1045 * gdb.reverse/sigall-reverse.exp:
1046 Replace uses of send_gdb / gdb_expect.
1047 * gdb.reverse/solib-precsave.exp:
1048 Replace uses of send_gdb / gdb_expect.
1049 * gdb.reverse/solib-reverse.exp:
1050 Replace uses of send_gdb / gdb_expect.
1051 * gdb.reverse/step-precsave.exp:
1052 Replace uses of send_gdb / gdb_expect.
1053 * gdb.reverse/step-reverse.exp:
1054 Replace uses of send_gdb / gdb_expect.
1055 * gdb.reverse/until-precsave.exp:
1056 Replace uses of send_gdb / gdb_expect.
1057 * gdb.reverse/until-reverse.exp:
1058 Replace uses of send_gdb / gdb_expect.
1059 * gdb.reverse/watch-precsave.exp:
1060 Replace uses of send_gdb / gdb_expect.
1061 * gdb.reverse/watch-reverse.exp:
1062 Replace uses of send_gdb / gdb_expect.
1063
3def43e0
JK
10642010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1065
1066 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
1067 excessive newline.
1068
27d3a1a2 10692010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
1070
1071 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
1072 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
1073 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
1074 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
1075 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
1076 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
1077 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
1078 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
1079 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
1080 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
1081 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
1082 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
1083 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
1084 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
1085 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
1086 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
1087 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
1088 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
1089 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 1090
27d3a1a2 10912010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 1092
22454424
MS
1093 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
1094 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
1095
1096 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
1097 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
1098 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
1099
1100 * gdb.reverse/consecutive-reverse.exp:
1101 Replace uses of send_gdb / gdb_expect.
1102 * gdb.reverse/consecutive-precsave.exp:
1103 Replace uses of send_gdb / gdb_expect.
1104
1105 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
1106 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
1107 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
1108 * gdb.mi/mi-ns-stale-regcache.exp:
1109 Replace uses of send_gdb / gdb_expect.
1110 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
1111 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
1112 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
1113 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
1114 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
1115 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
1116 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
1117 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
1118 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
1119
11202010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 1121
22454424 1122 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 1123
22454424 1124 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 1125
22454424
MS
1126 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
1127 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
1128 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
1129 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
1130 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
1131 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
1132 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
1133 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
1134 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 1135
6e5f2c59
TT
11362010-05-25 Tom Tromey <tromey@redhat.com>
1137
1138 * gdb.base/macscp.exp: Add missing space after setup_kfail.
1139
bbc8b958
TT
11402010-05-25 Tom Tromey <tromey@redhat.com>
1141
1142 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
1143 argument order.
1144 * gdb.base/macscp.exp: Fix setup_kfail argument order.
1145 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
1146 order.
1147 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
1148 order.
1149 * gdb.base/call-sc.exp (setup_kfails): Remove.
1150 (setup_compiler_kfails): Remove.
1151 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
1152 argument order.
1153 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
1154 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
1155 (advancei): Fix setup_kfail argument order.
1156 * gdb.base/radix.exp: Fix setup_kfail argument order.
1157 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
1158 order.
1159 * gdb.base/structs.exp (setup_kfails): Remove.
1160 (setup_compiler_kfails): Fix setup_kfail argument order.
1161 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
1162 order.
1163 * gdb.java/jmain.exp: Fix setup_kfail argument order.
1164 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
1165 setup_kfail argument order.
1166 * gdb.cp/overload.exp: Fix setup_kfail argument order.
1167
83d1babf
TT
11682010-05-25 Tom Tromey <tromey@redhat.com>
1169
1170 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
1171
6acb16a2
MS
11722010-05-25 Michael Snyder <msnyder@vmware.com>
1173
1174 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
1175 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
1176 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
1177 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
1178 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
1179 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
1180 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
1181 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
1182 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
1183 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
1184 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
1185 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
1186 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
1187 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
1188 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
1189 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
1190 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
1191 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
1192 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
1193 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
1194 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
1195 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
1196 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
1197 * gdb.base/default.exp: Replace send_gdb with gdb_test.
1198 * gdb.base/define.exp: Replace send_gdb with gdb_test.
1199 * gdb.base/display.exp: Replace send_gdb with gdb_test.
1200 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
1201 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
1202 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
1203 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
1204 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
1205 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
1206 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
1207 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
1208 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
1209 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
1210 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
1211 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
1212 * gdb.base/help.exp: Replace send_gdb with gdb_test.
1213 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
1214 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
1215 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
1216 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
1217 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
1218 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
1219 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
1220 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 1221 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
1222
12232010-05-25 Doug Evans <dje@google.com>
1224
1225 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
1226 gdb.string_to_argv.
ad3986f0 1227
d3b1e874
TT
12282010-05-21 Tom Tromey <tromey@redhat.com>
1229
1230 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
1231 Call it.
1232 * gdb.dwarf2/pieces.S: Update.
1233 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
1234
cb826367
TT
12352010-05-21 Tom Tromey <tromey@redhat.com>
1236
1237 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
1238 Call it.
1239 * gdb.dwarf2/pieces.c (struct C): New.
1240 (f6): New function.
1241 * gdb.dwarf2/pieces.S: Replace.
1242
74de6778
TT
12432010-05-21 Tom Tromey <tromey@redhat.com>
1244
1245 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
1246 Call it.
1247
afd74c5f
TT
12482010-05-21 Tom Tromey <tromey@redhat.com>
1249
1250 * gdb.dwarf2.pieces.exp: New file.
1251 * gdb.dwarf2.pieces.S: New file.
1252 * gdb.dwarf2.pieces.c: New file.
1253
a7b75dfd
JB
12542010-05-20 Pedro Alves <pedro@codesourcery.com>
1255 Joel Brobecker <brobecker@adacore.com>
1256
1257 * lib/gdb.exp (gdb_test_no_output): New function.
1258 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
1259 when testing commands that should produce no output.
1260
c81c812a
JB
12612010-05-17 Joel Brobecker <brobecker@adacore.com>
1262
1263 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
1264 parameter that we want to watch being a constant.
1265
0cce5bd9
JB
12662010-05-17 Joel Brobecker <brobecker@adacore.com>
1267
1268 * gdb.ada/cond_lang: New testcase.
1269
47050449
JB
12702010-05-17 Joel Brobecker <brobecker@adacore.com>
1271
1272 * lib/gdb.exp (banned_variables): New variable/constant.
1273 (gdb_init): Add write trace on variables listed in banned_variables.
1274 (gdb_finish): Remove write traces on variables listed in
1275 banned_variables.
1276
77c01586
JB
12772010-05-17 Joel Brobecker <brobecker@adacore.com>
1278
1279 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
1280 * gdb.cp/koenig.exp: Likewise.
1281
88d4aea7
PM
12822010-05-14 Phil Muldoon <pmuldoon@redhat.com>
1283
1284 PR python/11482
1285
1286 * gdb.python/py-value.exp (test_value_hash): New function.
1287
f5a010c0
PM
12882010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
1289
1290 PR exp/11530.
1291 * gdb.base/gdb11530.c: New file.
1292 * gdb.base/gdb11530.exp: New file.
1293
8ef4892f
JK
12942010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1295
1296 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
1297 * gdb.dwarf2/dw2-modula2-self-type.S: New.
1298
7322dca9
SW
12992010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
1300
1301 * gdb.cp/koenig.exp: New test.
1302 * gdb.cp/koenig.cc: New test program.
1303
02e7ea18
JB
13042010-05-05 Joel Brobecker <brobecker@adacore.com>
1305
1306 Remove the use of prms_id and bug_id throughout the testsuite.
1307
e1c34c5d
PM
13082010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
1309
1310 PR exp/11349.
1311 * testsuite/gdb.cp/ref-types.exp: Add test to examine
1312 use a reference local variable.
1313
8e1d0c49
JK
13142010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1315
1316 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
1317 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
1318 variable different_dir. Move debugfile into a full directory pathname
1319 under DIFFERENT_DIR.
1320 * lib/gdb.exp (separate_debug_filename): Remove.
1321 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
1322 variable debug_dir and mkdir of it. Update function comments.
1323
e66408ed
PA
13242010-04-29 Pedro Alves <pedro@codesourcery.com>
1325
1326 PR gdb/11557
1327
1328 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
1329 files.
1330
d7b32ed3
PM
13312010-04-29 Phil Muldoon <pmuldoon@redhat.com>
1332
1333 * gdb.python/py-param.exp: New File.
1334
6aecb9c2
JB
13352010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
1336
1337 * gdb.base/default.exp: Fix "set language" test.
1338
bdf92a1c
PM
13392010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
1340
1341 PR breakpoints/11531.
1342 * gdb.base/gdb11531.c: New file.
1343 * gdb.base/gdb11531.exp: New file.
1344
3f172e24
TT
13452010-04-26 Tom Tromey <tromey@redhat.com>
1346
1347 * gdb.base/completion.exp: Add tests for completion and deprecated
1348 commands.
1349
64af4c92
JK
13502010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1351
1352 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
1353 (print /x char_array): Escape curly brackets.
1354
492928e4
JK
13552010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1356
1357 Fix deadlock on looped list of loaded shared objects.
1358 * gdb.base/solib-corrupted.exp: New.
1359
66d09542
DE
13602010-04-23 Doug Evans <dje@google.com>
1361
1362 * gdb.python/py-section-script.c: New file.
1363 * gdb.python/py-section-script.exp: New file.
1364 * gdb.python/py-section-script.py: New file.
1365
8bd10a10
CM
13662010-04-20 Chris Moller <cmoller@redhat.com>
1367
1368 PR 10179
1369
1370 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
1371 * gdb.base/pr10179-a.c:
1372 * gdb.base/pr10179-b.c:
1373 * gdb.base/pr10179.exp: New files.
1374
c0201579
JK
13752010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1376
1377 Fix crashes on dangling display expressions.
1378 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
1379 is SEP.
1380 (lib_flags): Remove the "debug" keyword.
1381 (libsepdebug): New variable for iterating new loop.
1382 (save_pf_prefix): New variable wrapping the loop.
1383 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
1384 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
1385
793b0ff8
PM
13862010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1387
1388 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
1389
097f51f7
PM
13902010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1391
1392 PR stabs/11479.
1393 * gdb.stabs/gdb11479.exp: New file.
1394 * gdb.stabs/gdb11479.c: New file.
1395
9a22f0d0
PM
13962010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1397
1398 * gdb.base/charset.c (Strin16, String32): New variables.
1399 * gdb.base/charset.exp (gdb_test): Test correct display
1400 of 16 or 32 bit strings.
1401
14022010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
1403
1404 PR 9167
1405 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
1406 * gdb.cp/pr9167.cc: New file.
1407 * gdb.cp/pr9167.exp: New file.
1408
1409
6e354e5e
PM
14102010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
1411
1412 PR pascal/11492.
1413 * gdb.pascal/gdb11492.pas: New file.
1414 * gdb.pascal/gdb11492.exp: New file.
1415
be942545
JB
14162010-04-20 Joel Brobecker <brobecker@adacore.com>
1417
1667e6e3 1418 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 1419
0c3acc09
JB
14202010-04-20 Joel Brobecker <brobecker@adacore.com>
1421
1422 * gdb.ada/dyn_loc: New testcase.
1423
ec31cde5
CM
14242010-04-20 Chris Moller <cmoller@redhat.com>
1425
1426 PR 10867
1427
1428 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
1429 * gdb.cp/pr10687.cc: New file.
1430 * gdb.cp/pr10687.exp: New file.
1431
1432
ce4b0682
SDJ
14332010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1434 Sergio Durigan Junior <sergiodj@redhat.com>
1435
1436 * gdb.fortran/logical.exp: New testcase.
1437 * gdb.fortran/logical.f90: New file.
1438
3436961f
DE
14392010-04-19 Doug Evans <dje@google.com>
1440
1441 * gdb.base/help.exp (help source): Update expected output.
1442
4d836c09
JK
14432010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1444
1445 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
1446 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
1447 gdb_exit and return.
1448 (executable): New variable.
1449 (binfile): Use it.
1450
6149aea9
PA
14512010-04-19 Pedro Alves <pedro@codesourcery.com>
1452
1453 PR breakpoints/8554.
1454
1455 * gdb.trace/save-trace.exp: Adjust.
1456
ed41462c
L
14572010-04-17 H.J. Lu <hongjiu.lu@intel.com>
1458
1459 PR corefiles/11511
1460 * gdb.arch/system-gcore.exp: New.
1461 * gdb.arch/gcore.c: Likewise.
1462
3f7b2faa
DE
14632010-04-15 Doug Evans <dje@google.com>
1464
fa33c3cd
DE
1465 * gdb.python/py-progspace.c: New file.
1466 * gdb.python/py-progspace.exp: New file.
1467
3f7b2faa
DE
1468 * gdb.base/source.exp: Add tests for "source -s".
1469
79f283fe
PM
14702010-04-14 Phil Muldoon <pmuldoon@redhat.com>
1471
1472 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
1473 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
1474 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
1475 * gdb.python/py-mi.exp: New test for to_string returning None.
1476
fc8eb08a
PM
14772010-04-12 Phil Muldoon <pmuldoon@redhat.com>
1478
1479 * gdb.python/py-breakpoint.c: Make result global.
1480
26e197f6
JK
14812010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1482
1483 Fix non-GNU make compatibility.
1484 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
1485
adc36818
PM
14862010-04-09 Phil Muldoon <pmuldoon@redhat.com>
1487
1488 * gdb.python/py-breakpoint.exp: New File.
1489 * gdb.python/py-breakpoint.C: Ditto.
1490
64e17368
SS
14912010-04-08 Stan Shebs <stan@codesourcery.com>
1492
1493 * gdb.trace/actions.exp: Clear default-collect.
1494 * gdb.trace/save-trace.exp: Clear default-collect.
1495
fff5cc64
PM
14962010-04-08 Phil Muldoon <pmuldoon@redhat.com>
1497
1498 * gdb.python/py-value: Add null string variable.
1499 (test_lazy_string): Test zero length, NULL address lazy
1500 strings.
1501
a055a187
L
15022010-04-07 H.J. Lu <hongjiu.lu@intel.com>
1503
1504 * gdb.arch/i386-avx.c: New.
1505 * gdb.arch/i386-avx.exp: Likewise.
1506
1507 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
1508
96e39866
DE
15092010-04-06 Doug Evans <dje@google.com>
1510
1511 * gdb.base/source-test.gdb: New file.
1512 * gdb.base/source.exp: Test source -v.
1513
5984a431
UW
15142010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1515
1516 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
1517
ec8a089a
PM
15182010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
1519
1520 * gdb.stabs/aout.sed: Convert all backslash to double backslash
1521 within one line, unless it is followed by a double quote.
1522 * gdb.stabs/hppa.sed: Idem.
1523 * gdb.stabs/weird.def: Add char and String constants
1524 * gdb.stabs/weird.exp: Check for correct parsing of
1525 chhar and string constants.
1526 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
1527 in .stabs to .stabx substitution.
1528
fce3c1f0
SS
15292010-04-05 Stan Shebs <stan@codesourcery.com>
1530
1531 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
1532 constant global.
1533 * gdb.trace/tfile.exp: Try to print them.
1534
d77f58be
SS
15352010-04-04 Stan Shebs <stan@codesourcery.com>
1536
1537 * gdb.base/completion.exp: Update for new "info watchpoints".
1538 * gdb.base/default.exp: Ditto.
1539 * gdb.base/help.exp: Ditto.
1540 * gdb.base/watchpoint.exp: Ditto.
1541 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
1542
af54718e
SS
15432010-04-04 Stan Shebs <stan@codesourcery.com>
1544
1545 * gdb.trace/tfile.exp: Sharpen tfind test.
1546
74d1f91e
JK
15472010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1548
1549 * gdb.base/break-entry.exp: New.
1550
eb8e76db
HZ
15512010-04-02 Hui Zhu <teawater@gmail.com>
1552 Michael Snyder <msnyder@vmware.com>
1553
1554 * gdb.reverse/i386-sse-reverse.exp: New file.
1555 * gdb.reverse/i386-sse-reverse.c: New file.
1556
bf65cad8
PA
15572010-04-02 Pedro Alves <pedro@codesourcery.com>
1558
1559 * gdb.trace/tfind.exp: Adjust expected disassembly output.
1560
fff87407
SS
15612010-04-01 Stan Shebs <stan@codesourcery.com>
1562
1563 * gdb.trace/actions.exp: Tweak expected output.
1564 * gdb.trace/while-stepping.exp: Tweak expected output.
1565
fe01d668
L
15662010-04-01 H.J. Lu <hongjiu.lu@intel.com>
1567
1568 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
1569
86b17b60
PA
15702010-04-01 Pedro Alves <pedro@codesourcery.com>
1571
1572 * gdb.base/commands.exp: Adjust.
1573 * gdb.cp/extern-c.exp: Adjust.
1574
2c58c0a9
PA
15752010-04-01 Pedro Alves <pedro@codesourcery.com>
1576
1577 * gdb.trace/collection.c (local_test_func): Define a local struct,
1578 and instanciate it.
1579
0db9b91c
PA
15802010-04-01 Pedro Alves <pedro@codesourcery.com>
1581
1582 * gdb.trace/collection.exp (gdb_collect_args_test)
1583 (gdb_collect_argarray_test): XFAIL the tests that assume the
1584 argarray argument's elements are collected.
1585
8072405b
JK
15862010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1587
1588 * gdb.dwarf2/dw2-bad-parameter-type.exp,
1589 gdb.dwarf2/dw2-bad-parameter-type.S: New.
1590
8bf6485c
SS
15912010-03-31 Stan Shebs <stan@codesourcery.com>
1592
1593 * gdb.trace/save-trace.exp: Test save/restore of default-collect
1594 and tracepoint conditionals.
1595 (gdb_verify_tracepoints): Delete unused return.
1596
fd7f724a
KS
15972010-03-26 Keith Seitz <keiths@redhat.com>
1598
1599 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
1600 appear in the output before main.
1601 Remove KFAIL for gdb/2215 aka bz 9320.
1602
8d9e7719
DE
16032010-03-30 Doug Evans <dje@google.com>
1604
0906dd0b
DE
1605 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
1606 by dejagnu.
1607 * gdb.arch/amd64-dword.exp: Ditto.
1608
8d9e7719
DE
1609 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
1610 match.
1611 (break printf): Ditto.
1612
1da644f0
SW
16132010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
1614
1615 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
1616 gcc < 4.4.
1617 * gdb.cp/shadow.exp: Ditto.
1618
a8121990
PA
16192010-03-29 Pedro Alves <pedro@codesourcery.com>
1620
1621 * gdb.trace/collection.exp (run_trace_experiment): Make sure
1622 "tstart" is silent.
1623
6e79d367
PA
16242010-03-29 Pedro Alves <pedro@codesourcery.com>
1625
1626 * gdb.trace/collection.exp (executable): New.
1627 (binfile): Use it.
1628 (fpreg, spreg, pcreg): New.
1629 (test_register): Use gdb_test_multiple. Pass /x to print.
1630 (prepare_for_trace_test): New.
1631 (run_trace_experiment): Use "continue", not gdb_run_cmd.
1632 (gdb_collect_args_test, gdb_collect_argstruct_test)
1633 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
1634 prepare_for_trace_test.
1635 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
1636 fpreg, spreg and pcreg.
1637 (gdb_collect_expression_test, gdb_collect_globals_test): Use
1638 prepare_for_trace_test.
1639 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
1640 try to detect tracing support here. Don't set breakpoints at
1641 `begin' or `end' here.
1642 <global scope>: Use clean_restart. Run to main before checking
1643 for tracing support. Check for for tracing support here.
1644
09248348
JK
16452010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1646
1647 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
1648 " as $displacement" to "seen displacement message".
1649
d350db38
PA
16502010-03-28 Pedro Alves <pedro@codesourcery.com>
1651
1652 * gdb.trace/while-dyn.exp (executable): New variable.
1653 (binfile): Use it.
1654 (test_while_stepping): New function. Move most tests here. Call
1655 it once for each of the while-stepping, stepping and ws aliases.
1656
907af001
UW
16572010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1658
1659 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
1660 that do not provide the tagless_struct type name at all.
1661 (test_print_anon_union): Do not check value of uninitialized
1662 union member. Do not use cp_test_ptype_class, so we can accept
1663 "long" as well as "long int".
1664
610197fd
PA
16652010-03-26 Pedro Alves <pedro@codesourcery.com>
1666
1667 * gdb.trace/tfile.c (tohex, bin2hex): New.
1668 (write_error_trace_file): Hexify error description.
1669
6c28cbf2
SS
16702010-03-25 Stan Shebs <stan@codesourcery.com>
1671
1672 * gdb.trace/tfile.c: Generate an additional trace file, improve
1673 portability.
1674 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
1675 files in a better way.
1676
e62b8c7e
KS
16772010-03-25 Keith Seitz <keiths@redhat.com>
1678
1679 * gdb.java/jprint.exp: XFAIL printing of static class members
1680 because of GCC debuginfo problem.
1681
82ccf5a5
JK
16822010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1683
1684 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
1685
293e2f9e
DJ
16862010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1687
1688 * gdb.base/completion.exp: Allow long instead of long int.
1689 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
1690 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
1691 variable p.
1692 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
1693 * gdb.base/pointers.exp: Allow long instead of long int.
1694 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
1695 * gdb.base/step-line.exp: Allow a directory before the source file name.
1696
95a42b64
TT
16972010-03-24 Tom Tromey <tromey@redhat.com>
1698
1699 PR breakpoints/9352:
1700 * gdb.base/default.exp: Update.
1701 * gdb.base/commands.exp: Update.
1702 * gdb.cp/extern-c.exp: Test setting commands on multiple
1703 breakpoints at once.
1704
2390201f
DJ
17052010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1706
1707 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
1708 if gdb,nosignals.
1709 * gdb.base/watchpoints.c: Do not include unnecessary headers.
1710 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
1711 exited".
1712
8c9a6790
SS
17132010-03-24 Stan Shebs <stan@codesourcery.com>
1714
1715 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
1716
a6c727b2
DJ
17172010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1718
1719 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
1720 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
1721 argument. Handle "short" and "long".
1722 (Top level): Pass overprototyped output for old_fptr and xptr.
1723
4dfd5423
PA
17242010-03-23 Pedro Alves <pedro@codesourcery.com>
1725
1726 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
1727 format strings and add casts to avoid compiler warnings.
1728
17292010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
1730
1731 * lib/trace-support.exp (gdb_trace_setactions):
1732 Don't expect whitespace after ">" prompt.
1733 * gdb.trace/actions.exp: Adjust for output changes.
1734 * gdb.trace/while-stepping.exp: Likewise.
1735
c847d045
JK
17362010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1737
1738 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
1739 and r157645).
1740
5f717f1d
JK
17412010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1742
1743 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
1744 New.
1745
7d6d51d5
DJ
17462010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
1747
1748 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
1749 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
1750
3b11a015
SS
17512010-03-19 Stan Shebs <stan@codesourcery.com>
1752
1753 * gdb.trace/ax.exp: New file.
1754
d7d158ed
DE
17552010-03-19 Doug Evans <dje@google.com>
1756
6bb85cd1
DE
1757 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
1758 output from gcc.
1759
d7d158ed
DE
1760 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
1761 named /usr/sbin/prelink<foo>.
1762
4daf5ac0
SS
17632010-03-18 Stan Shebs <stan@codesourcery.com>
1764
1765 * gdb.trace/circ.exp: Test circular-trace-buffer.
1766 * gdb.trace/tfile.exp: Update tstatus test.
1767
e8d05480
JB
17682010-03-18 Joel Brobecker <brobecker@adacore.com>
1769
1770 * gdb.dwarf2/dw2-anonymous-func.S: New file.
1771 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
1772
441b986a
UW
17732010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1774
1775 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
1776
4247603b
PA
17772010-03-18 Pedro Alves <pedro@codesourcery.com>
1778
1779 * gdb.base/default.exp: Adjust the expected output of the finish
1780 and until commands when the inferior is not being run.
1781
13387711
SW
17822010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
1783
1784 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
1785 * gdb.cp/nsusing.exp: Ditto.
1786
6e31430b
TT
17872010-03-15 Tom Tromey <tromey@redhat.com>
1788
1789 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
1790 * gdb.cp/userdef.cc (operator==): New function.
1791 (main): New locals mem1, mem2.
1792
e2d69cb5
JZ
17932010-03-15 Jie Zhang <jie@codesourcery.com>
1794
1795 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
1796 Declare and use new loadtimeout variable.
1797
f572f0a9
DJ
17982010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
1799
1800 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
1801 Use gdb_load later.
1802
51f4c0b0
PA
18032010-03-14 Pedro Alves <pedro@codesourcery.com>
1804
1805 * gdb.base/solib-disc.c (main): Make format of fprintf a string
1806 literal. Add missing endlines to prints to stderr.
1807
1c809c68
TT
18082010-03-12 Tom Tromey <tromey@redhat.com>
1809
1810 PR c++/9708:
1811 * gdb.cp/m-static.exp: Add regression test.
1812 * gdb.cp/m-static.cc (method): New method.
1813 (main): Call it.
1814
00ae8fef
SW
18152010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
1816
1817 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
1818 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
1819
759f0f0b
PA
18202010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
1821
21e24d21
PA
1822 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
1823
18242010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
1825
759f0f0b
PA
1826 * lib/gdb.exp (skip_stl_tests): New.
1827 (gdb_compile): Symbian needs -ldl.
1828 (shlib_target_file): New.
1829 (shlib_symbol_file): New.
1830 (gdb_load_shlibs): Use shlib_target_file.
1831 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
1832 * gdb.cp/exception.exp: Use skip_stl_tests.
1833 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
1834 * gdb.cp/try_catch.exp: Use skip_stl_tests.
1835 * gdb.cp/mb-templates.exp: Ditto.
1836 * gdb.base/commands.exp: Relax regexes.
1837 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
1838 shlib_target_file and shlib_symbol_file.
1839 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
1840 sections.
1841 * gdb.base/ending-run.exp: Accept E32Main for symbian.
1842 * gdb.base/solib-disc.exp: Use
1843 shlib_target_file and shlib_symbol_file.
1844 * gdb.base/unload.exp: Don't skip on symbian. Use
1845 shlib_target_file and shlib_symbol_file.
1846 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
1847
6a8f2671
PA
18482010-03-12 Pedro Alves <pedro@codesourcery.com>
1849
1850 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
1851 * gdb.trace/report.exp: Adjust for x86 and x86_64.
1852 Issue a tfind end before looking for a tracepoint frame.
1853 * gdb.trace/tfind.exp: Adjust tstatus output.
1854 Adjust disassembly output.
1855 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
1856
ccf26247
JK
18572010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1858
1859 * gdb.base/break-interp.exp: Create new displacement parameter value
1860 for the test_ld calls.
1861 (reach): New parameter displacement, verify its content. New push of
1862 pf_prefix "reach-$func:". Import global expect_out.
1863 (test_core): New parameter displacement, verify its content. New push
1864 of pf_prefix "core:". New command "set verbose on". Import global
1865 expect_out.
1866 (test_attach): New parameter displacement, verify its content. New
1867 push of pf_prefix "attach:". New command "set verbose on". Import
1868 global expect_out.
1869 (test_ld): New parameter displacement, pass it to the reach, test_core
1870 and test_attach calls and verify its content in the "ld.so exit" test.
1871 * gdb.base/prelink.exp: Remove gdb_exit and final return.
1872 (prelink): Update expected text, use gdb_test.
1873
e469c7fb
DE
18742010-03-10 Doug Evans <dje@google.com>
1875
1876 * gdb.base/checkpoint.exp: Fix comment.
1877 Lengthen timeout while doing >600 checkpoints test.
1878 Rename duplicate "kill all one" test to keep test names unique.
1879
60e1c644
PA
18802010-03-10 Pedro Alves <pedro@codesourcery.com>
1881
1882 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
1883
cec808ec
KS
18842010-03-08 Keith Seitz <keiths@redhat.com>
1885
1886 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
1887 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
1888 (dm_type_long): New function.
1889 (dm_type_unsigned_short): New function.
1890 (dm_type_unsigned_long): New function.
1891 (myint): New typedef.
1892 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
1893 long, unsigned shor and long, operator char*, and typedef.
1894 (test_lookup_operator_functions): Add operator char* test.
1895 (test_paddr_operator_functions): Likewise.
1896 (test_paddr_overloaded_functions): Use probe values for
1897 short, long, and unsigned short and long.
1898 (test_paddr_hairy_functions): If the demangler probe detected
1899 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
1900 demangler.
1901 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
1902 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
1903 and "print null_pmf".
1904 Add test "ptype a.*pmf".
1905 * gdb.cp/overload.exp: Allow optional "int" to appear with
1906 "short" and "long".
1907 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
1908 long expect value for men_overload1arg.
1909 Allow "int" to appear with "short" and "long".
1910 When testing "info break", add argument for main (void).
1911 Also allow "int" to appear with "short" and "long".
1912 Ditto with "unsigned" and "long long".
1913 * gdb.java/jmain.exp: Do not enclose methods names in single
1914 quotes.
1915 * gdb.java/jmisc.exp: Likewise.
1916 * gdb.java/jprint.exp: Likewise.
1917 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
1918
1919 From Jan Kratochvil <jan.kratochvil@redhat.com>:
1920 * gdb.cp/exception.exp (backtrace after first throw)
1921 (backtrace after second throw): Allow a namespace before __cxa_throw.
1922 (backtrace after first catch, backtrace after second catch): Allow
1923 a namespace before __cxa_begin_catch.
1924
1925 * gdb.cp/cpexprs.exp: New file.
1926 * gdb.cp/cpexprs.cc: New file.
1927
1928 From Daniel Jacobowitz <dan@codesourcery.com>
1929 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
1930 to use string_to_regexp.
1931 (ctor, dtor): New functions. Use them to match constructor
1932 and destructor function types.
1933 (Top level): Use runto_main.
1934
f870a310
TT
19352010-03-05 Tom Tromey <tromey@redhat.com>
1936
1937 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
1938 gdb.target_charset.
1939 (pp_ns.to_string): Likewise.
1940
0c199f28
KS
19412010-03-04 Keith Seitz <keiths@redhat.com>
1942
1943 * gdb.cp/overload.exp: Test that the filename portion of a linespec
1944 can be quoted. Test that both the filename and function/line
1945 portions can be quoted at the same time.
1946
c7437ca6
PA
19472010-03-04 Pedro Alves <pedro@codesourcery.com>
1948
1949 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
1950
b111b805
DE
19512010-03-03 Doug Evans <dje@google.com>
1952
24486cb7
DE
1953 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
1954 libc contains libpthread.
1955
b111b805
DE
1956 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
1957 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
1958 of gdb_compile. Add another pattern to match android backtrace.
1959
a0e0ef55
TT
19602010-03-03 Tom Tromey <tromey@redhat.com>
1961
1962 PR gdb/11345:
1963 * gdb.base/printcmds.exp (test_printf): Add test.
1964
1ba53b71
L
19652010-03-02 H.J. Lu <hongjiu.lu@intel.com>
1966
1967 * gdb.arch/amd64-byte.exp: New.
1968 * gdb.arch/amd64-dword.exp: Likewise.
1969 * gdb.arch/amd64-pseudo.c: Likewise.
1970 * gdb.arch/amd64-word.exp: Likewise.
1971 * gdb.arch/i386-byte.exp: Likewise.
1972 * gdb.arch/i386-pseudo.c: Likewise.
1973 * gdb.arch/i386-word.exp: Likewise.
1974
f5dff777
DJ
19752010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
1976
1977 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
1978 types. Add structreg, bitfields, and flags registers.
1979 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
1980 registers.
1981
90884b2b
L
19822010-03-01 H.J. Lu <hongjiu.lu@intel.com>
1983
1984 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
1985 (load_description): Set architecture if defined.
1986
dc00d89f
PM
19872010-02-28 Phil Muldoon <pmuldoon@redhat.com>
1988
1989 * gdb.python/py-frame.exp: Add read_var block tests.
1990 * gdb.python/py-frame.c (block): New function.
1991
0e095b7e
JK
19922010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1993 Daniel Jacobowitz <dan@codesourcery.com>
1994
1995 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
1996
624f1a65
DM
19972010-02-25 David S. Miller <davem@davemloft.net>
1998
1999 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
2000 fix logic for setting all_syscalls_numbers.
2001
f3e9a817
PM
20022010-02-24 Phil Muldoon <pmuldoon@redhat.com>
2003
2004 * Makefile.in: Add py-block and py-symbol.
2005 * gdb.python/py-symbol.exp: New File.
2006 * gdb.python/py-symtab.exp: New File.
2007 * gdb.python/py-block.exp: New File.
2008 * gdb.python/py-symbol.c: New File.
2009 * gdb.python/py-block.c: New File.
2010
f6bbabf0
PM
20112010-02-24 Phil Muldoon <pmuldoon@redhat.com>
2012
2013 PR python/11314
2014 * lib/gdb.exp (skip_python_tests): New function.
2015 * gdb.python/py-cmd.exp: Use skip_python_tests.
2016 * gdb.python/py-frame.exp: Likewise.
2017 * gdb.python/py-function.exp: Likewise.
2018 * gdb.python/py-prettyprint.exp: Likewise.
2019 * gdb.python/py-template.exp: Likewise.
2020 * gdb.python/py-type.exp: Likewise.
2021 * gdb.python/py-value.exp: Likewise.
2022
85d721b8
PA
20232010-02-22 Pedro Alves <pedro@codesourcery.com>
2024
2025 PR9605
2026
2027 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
2028
48e32051
TT
20292010-02-19 Tom Tromey <tromey@redhat.com>
2030
2031 PR c++/8693, PR c++/9496:
2032 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
2033 regression tests.
2034
ac9c0048
JK
20352010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2036
2037 Fix compatibility with m68k as.
2038 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
2039 Use only /* comments */.
2040
57bb97a4
UW
20412010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2042
2043 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
2044 * configure: Regenerate.
2045
7d1bf85c
DJ
20462010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
2047
2048 * gdb.python/py-type.exp: Check for Python support.
2049
061b5285
PA
20502010-02-17 Pedro Alves <pedro@codesourcery.com>
2051
2052 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
2053 `regsub' syntax available.
2054
f8a8bc2c
PA
20552010-02-17 Pedro Alves <pedro@codesourcery.com>
2056
2057 * gdb.base/shmain.c (main): Remove printf call.
2058 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
2059 * gdb.base/unload.c (main): Make format of fprintf a string
2060 literal. Add missing endlines to prints to stderr.
2061 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
2062
6f451e5e
TT
20632010-02-17 Tom Tromey <tromey@redhat.com>
2064
2065 * gdb.java/jprint.java (jprint.props): New field.
2066 * gdb.java/jprint.exp (set_lang_java): Add regression test.
2067
12d79008
PA
20682010-02-17 Pedro Alves <pedro@codesourcery.com>
2069
ef801a0e 2070 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
2071 available.
2072
d252f7e5
DJ
20732010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2074
2075 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
2076 creation to support remote host testing.
2077
67bdab6c
DJ
20782010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2079
2080 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
2081 Recognize "command not found".
2082
bb391223
DJ
20832010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2084
2085 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
2086 single-stepping.
2087
70362913
DJ
20882010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2089
2090 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
2091 if arguments are not supported.
2092
493f3c00
DJ
20932010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2094
2095 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
2096 be const or non-const.
2097
8034c749
DJ
20982010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2099
2100 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
2101 mi_send_resuming_command to send -exec-continue.
2102
791dfb64
DJ
21032010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2104
2105 * gdb.base/list.exp (test_list_filename_and_function): Add test
2106 with single quotes.
2107 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
2108 matching.
2109 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
2110 Add KFAIL'd tests for PR gdb/11289.
2111
7c5fe868
DJ
21122010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2113
2114 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
2115
fdc498b8
DJ
21162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2117
2118 * gdb.base/comp-dir/subdir/dummy.txt: New file.
2119 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
2120 a temporary directory.
2121
b519e2a6
DJ
21222010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2123
2124 * gdb.base/charset.exp: Use a single regular expression to match
2125 show host-charset and show target-charset output.
2126
74164c56
JK
21272010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2128
2129 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
2130 "Illegal process-id" expect string more exact.
2131 (attach to digits-starting nonsense is prohibited): New.
2132
701ed6dc
JK
21332010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2134
2135 * gdb.base/prelink.exp (set verbose on): New.
2136
fa19b4e5
MS
21372010-02-12 Tomas Holmberg <th@virtutech.com>
2138
2139 * mi-reverse.exp: New file. Test for reverse option to the
2140 following MI commands: exec-continue, exec-finish, exec-next,
2141 exec-step, exec-next-instruction, exec-step-instruction.
2142
dadf0e9c
JB
21432010-02-09 Joel Brobecker <brobecker@adacore.com>
2144
2145 * gdb.ada/ptype_tagged_param: New testcase.
2146
714f19d5
TT
21472010-02-08 Tom Tromey <tromey@redhat.com>
2148
2149 PR c++/8017:
2150 * gdb.cp/overload.exp: Add tests.
2151 * gdb.cp/overload.cc (struct K): New.
2152 (namespace N): New.
2153 (main): Call new functions.
2154 (K::staticoverload): Define.
2155
83b10087
CM
2156Mon Feb 8 13:18:22 2010 Chris Moller <moller@mollerware.com>
2157
2158 PR gdb/10728
2159 * gdb.cp/pr10728-x.h: New file.
2160 * gdb.cp/pr10728-x.cc: New file.
2161 * gdb.cp/pr10728-y.cc: New file.
2162 * gdb.cp/pr10728.exp: New file.
2163 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
2164
99903ae3
CM
2165Mon Feb 8 12:54:54 2010 Chris Moller <moller@mollerware.com>
2166
2167 PR gdb/9067
2168 * gdb.cp/pr9067.exp: New
2169 * gdb.cp/pr9067.cc: New
2170 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
2171
7b356089
JB
21722010-02-08 Joel Brobecker <brobecker@adacore.com>
2173
2174 * lib/gdb.exp (gdb_test_timeout): New global variable.
2175 Set it to timeout if not already set.
2176 (gdb_init): Reset the value of timeout to gdb_test_timeout.
2177
1be00882
DE
21782010-02-05 Doug Evans <dje@google.com>
2179
2180 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
2181 user.
2182
82856980
SW
21832010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
2184
2185 PR c++/7935:
2186 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
2187
1a334831
TT
21882010-02-04 Tom Tromey <tromey@redhat.com>
2189
2190 * gdb.cp/virtbase.exp: Make test case names unique.
2191
9c3c02fd
TT
21922010-02-02 Tom Tromey <tromey@redhat.com>
2193
2194 * gdb.cp/virtbase.exp: Add regression tests.
2195 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
2196 (main): Instantiate RHC.
2197
0cc2414c
TT
21982010-02-02 Tom Tromey <tromey@redhat.com>
2199
2200 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
2201 type-printing change.
2202
edf3d5f3
TT
22032010-02-02 Tom Tromey <tromey@redhat.com>
2204
2205 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
2206 * gdb.cp/virtbase.cc: New file.
2207 * gdb.cp/virtbase.exp: New file.
2208 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
2209
e4b7f41c
JK
22102010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2211
2212 PR libc/11214:
2213 * gdb.threads/current-lwp-dead.c: Include features.h.
2214 (HAS_NOMMU): New.
2215 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
2216
b381ea14
JK
22172010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2218
2219 * gdb.base/symbol-without-target_section.exp,
2220 gdb.base/symbol-without-target_section.c: New.
2221
c593ac0e
DJ
22222010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2223
2224 * gdb.base/bigcore.exp: Reset increased timeout.
2225 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
2226
db25f29d
DJ
22272010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2228
2229 * gdb.base/gcore.exp (capture_command_output): Use
2230 gdb_test_multiple.
2231
f9d67f43
DJ
22322010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2233
2234 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
2235 * gdb.arch/thumb2-it.exp (test_it_break): New function.
2236 (Top level): Call it.
2237
177321bd
DJ
22382010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2239
2240 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
2241
97f2ed50
DJ
22422010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
2243
2244 * gdb.base/call-strs.exp, gdb.base/default.exp,
2245 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
2246 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
2247 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
2248 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
2249 gdb.base/watchpoint-solib.exp: Save and restore timeout.
2250 * gdb.base/ending-run.exp: Correct restore of timeout.
2251 * gdb.base/page.exp: Remove unnecessary timeout setting.
2252
e4e2711a
JB
22532010-01-29 Joel Brobecker <brobecker@adacore.com>
2254
2255 * gdb.ada/rec_return: New testcase.
2256
ba581dc1
JB
22572010-01-29 Joel Brobecker <brobecker@adacore.com>
2258
2259 * gdb.ada/call_pn: New testcase.
2260
4ea95be9
DJ
22612010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
2262
2263 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
2264 (Top level): Use it to resume.
2265 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
2266 the Thumb mode displaced stepping error as unsupported.
2267
df83a9bf
SW
22682010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
2269
2270 * gdb.cp/nsusing.exp: Added more tests.
2271 * gdb.cp/nsrecurs.exp: Ditto.
2272 * gdb.cp/nsusing.cc: Added test functions.
2273 * gdb.cp/nsrecurs.cc: Ditto.
2274
40b27cdc
JK
22752010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2276
2277 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
2278 absolute directory pathnames in gdb.sum file.
2279
de958931
SW
22802010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
2281
2282 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
2283 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
2284
708ead4e
TT
22852010-01-26 Tom Tromey <tromey@redhat.com>
2286
2287 PR exp/7643:
2288 * gdb.base/printcmds.exp (test_print_string_constants): Remove
2289 setup_kfail.
2290
b14e635e
SW
22912010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
2292
2293 * gdb.cp/nsrecurs.exp: New test.
2294 * gdb.cp/nsrecurs.cc: New test program.
2295 * gdb.cp/nsstress.exp: New test.
2296 * gdb.cp/nsstress.cc: New test program.
2297 * gdb.cp/nsdecl.exp: New test.
2298 * gdb.cp/nsdecl.cc: New test program.
2299
8540c487
SW
23002010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
2301
2302 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
2303 imported into file scope.
2304 Marked test as xfail.
2305 * gdb.cp/namespace-using.cc (marker5): New function.
2306 * gdb.cp/shadow.exp: New test.
2307 * gdb.cp/shadow.cc: New test program.
2308 * gdb.cp/nsimport.exp: New test.
2309 * gdb.cp/nsimport.cc: New test program.
2310
421d5d99
TT
23112010-01-25 Tom Tromey <tromey@redhat.com>
2312
2313 PR gdb/11049:
2314 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
2315 with "set print null-stop on".
2316
691f8dc1
JK
23172010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2318
2319 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
2320 Adjust it for DISASSEMBLY_OMIT_FNAME.
2321
0b92b5bb
TT
23222010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 PR symtab/11199:
2325 * gdb.dwarf2/member-ptr-forwardref.exp,
2326 gdb.dwarf2/member-ptr-forwardref.S: New.
2327
23787403
JK
23282010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2329
2330 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
2331 (thread1_func): Protect thread1_tid with thread1_tid_cond by
2332 thread1_tid_mutex. Remove gdbstop_mutex handling.
2333 (thread2_func): Protect thread2_tid with thread2_tid_cond by
2334 thread2_tid_mutex. Remove gdbstop_mutex handling.
2335 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
2336 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
2337 pthread_cond_wait conditionalizations by while loops.
2338
b966cb8a
TT
23392010-01-20 Tom Tromey <tromey@redhat.com>
2340
2341 PR backtrace/10770:
2342 * gdb.dwarf2/pr10770.exp: New file.
2343 * gdb.dwarf2/pr10770.c: New file.
2344 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
2345
fcae584b
VP
23462010-01-20 Vladimir Prus <vladimir@codesourcery.com>
2347
2348 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
2349 that target was removed, and the test always runs native anyway.
2350
a0f49112
JK
23512010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2352
2353 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
2354 gdb.base/watchpoint-cond-gone-stripped.c: New.
2355
ceeb3d5a
TT
23562010-01-19 Tom Tromey <tromey@redhat.com>
2357
2358 PR c++/8000:
2359 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
2360 existing tests.
2361 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
2362 (main): Use AAA::SomeEnum.
2363
dd322c54
JK
23642010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2365
2366 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
2367 (test_ignore_count): Declare line_callme_body global.
2368 (run to breakpoint with ignore count): Use line_callme_body.
2369 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
2370 (set line_main_hello, set line_main_return): Reindent.
2371 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
2372 New.
2373 (continue to callee4): Use line_callee4_body.
2374 (check *stopped from CLI command): Use line_callee4_next.
2375 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
2376 (set line_main_hello, set line_main_return): Reindent.
2377 (set line_callee4_head, set line_callee4_body): New.
2378 (continue to callee4): Use line_callee4_body.
2379
4e8f195d
TT
23802010-01-18 Tom Tromey <tromey@redhat.com>
2381
2382 PR c++/9680:
2383 * gdb.cp/casts.cc: Add new classes and variables.
2384 * gdb.cp/casts.exp: Test new operators.
2385
9e14a9ba
JB
23862010-01-18 Tom Tromey <tromey@redhat.com>
2387 Thiago Jung Bauermann <bauerman@br.ibm.com>
2388
2389 * gdb.python/source2.py: New file.
2390 * gdb.python/source1: New file.
2391 * gdb.python/python.exp: Test "source" command.
2392
00bf0b85
SS
23932010-01-15 Stan Shebs <stan@codesourcery.com>
2394
2395 * gdb.trace/tfile.c: New file.
2396 * gdb.trace/tfile.exp: New file.
2397
55235ad7
JK
23982010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2399
2400 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
2401
9f2982ff
JK
24022010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2403
2404 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
2405
bbfba9ed
JK
24062010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2407
2408 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
2409 (libfunc): New parameter action. Implement also selectable "sleep".
2410 * gdb.base/break-interp-main.c: Include assert.h.
2411 (libfunc): New parameter action.
2412 (main): New parameters argc and argv. Assert argc. Pass argv.
2413 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
2414 (test_attach): New proc.
2415 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
2416 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
2417
61f0d762
JK
24182010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2419
2420 * gdb.base/break-interp.exp (test_core): New proc.
2421 (test_ld): Call it.
2422
06a6f270
JK
24232010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2424
2425 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
2426 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
2427 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
2428 and gdb_compile_shlib. Use new -Wl compiler options.
2429 (dl bt, main bt): New tests.
2430
51bee8e9
JK
24312010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2432
2433 Support PIEs with no symfile_objfile.
2434 * gdb.base/break-interp.exp: New argument at the test_ld calls.
2435 (test_ld): New parameter trynosym.
2436 (test_ld <$trynosym>): New block.
2437
b8040f19
JK
24382010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2439
2440 * gdb.base/break-interp.exp: New file.
2441
be759fcf
PM
24422010-01-13 Phil Muldoon <pmuldoon@redhat.com>
2443
2444 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
2445 * gdb.python/py-prettyprint.py (pp_ls): New printer.
2446 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
2447 test.
2448 * gdb.python/py-prettyprint.c: Define lazystring test structure.
2449 * gdb.python/py-mi.exp: Add lazy string test.
2450
dc146f7c
VP
24512010-01-13 Vladimir Prus <vladimir@codesourcery.com>
2452
2453 * lib/mi-support.exp (mi_check_thread_states): Handle
2454 core number in thread listing.
2455
b4ba55a1
JB
24562010-01-12 Joel Brobecker <brobecker@adacore.com>
2457
2458 * gdb.base/maint.exp: Adjust the expected output for the
2459 "maint print type" test. Use gdb_test_multiple instead of
2460 gdb_sent/gdb_expect.
2461
08e24bd4
DE
24622010-01-11 Doug Evans <dje@google.com>
2463
6496a609
DE
2464 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
2465 from gdbserver_download. All callers updated.
2466
08e24bd4
DE
2467 * gdb.server/ext-run.exp: "info os processes" requires xml support.
2468
b5cfddf5
JK
24692010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2470
2471 Implement binary numbers parsing.
2472 * gdb.base/printcmds.exp (test_integer_literals_accepted)
2473 (test_integer_literals_rejected): New binary tests.
2474
3725885a
RW
24752010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2476
2477 * gdb.cell/configure: Regenerate.
2478
37aeb5df
JK
24792010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2480
2481 * gdb.base/corefile.exp: Move the core finding block out and call it as
2482 core_find, new variable $corefile, replace corefile by $corefile and
2483 [file tail $corefile] for usage vs. test names resp.
2484 * lib/gdb.exp (core_find): Move it as a new function here. New
2485 parameter binfile and deletefiles. New variable $destcore. Pre-delete
2486 $destcore. Return "" on error.
2487
d521f563
JK
24882010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2489
2490 Workaround PR binutils/10802.
2491 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
2492 (twice).
2493
28f24826
DJ
24942010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
2495
2496 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
2497
2de75e71
JB
24982010-01-08 Joel Brobecker <brobecker@adacore.com>
2499
2500 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
2501 call, to avoid interruption.
2502
fe00719b 25032010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
2504
2505 * gdb.stabs/weird.def (args93): New.
2506
d0ef5df8
DE
25072010-01-07 Doug Evans <dje@google.com>
2508
2509 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
2510
3a08d52f
TT
25112010-01-07 Tom Tromey <tromey@redhat.com>
2512
2513 * gdb.base/source.exp: Use correct line number.
2514
7a697b8d
SS
25152010-01-05 Stan Shebs <stan@codesourcery.com>
2516
2517 * gdb.trace/tracecmd.exp: Test ftrace.
2518
7803799a
UW
25192010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2520
2521 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
2522
c54eabfa
JK
25232010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2524
2525 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
2526 "uint_for_mi_testing".
2527
02e7ef19
JB
25282010-01-01 Joel Brobecker <brobecker@adacore.com>
2529
2530 Test indented comment in file being sourced.
2531 * gdb.base/commands.exp: Test indented comment in file being sourced.
2532
abd775ce
JB
25332010-01-01 Joel Brobecker <brobecker@adacore.com>
2534
2535 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
2536 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
2537 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
2538 notice.
2539
79b55b82
JB
25402010-01-01 Joel Brobecker <brobecker@adacore.com>
2541
2542 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
2543 notice.
2544
8997583e
JK
25452010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2546
2547 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
2548 missing $after_stopped and comma (,) expectation.
2549
6da95a67
SS
25502009-12-31 Stan Shebs <stan@codesourcery.com>
2551
2552 * gdb.trace/actions.exp: Test teval action.
2553
218d2fc6
TJB
25542009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
2555
2556 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
2557 (top level): Call test_watchpoint_in_big_blob.
2558 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
2559 watchpoints.
2560 (func3): Write to buf.
2561
236f1d4d
SS
25622009-12-29 Stan Shebs <stan@codesourcery.com>
2563
2564 * gdb.trace/actions.exp: Test default-collect.
2565
f61e138d
SS
25662009-12-28 Stan Shebs <stan@codesourcery.com>
2567
2568 * gdb.trace/tsv.exp: New file.
2569 * gdb.base/completion.exp: Update ambiguous info output.
2570
0219b378
DJ
25712009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
2572
2573 * gdb.base/find.c (main): Reference search buffers.
2574 * gdb.base/included.c (main): Reference integer.
2575 * gdb.base/ptype.c (charfoo): Declare.
2576 (intfoo): Call charfoo.
2577 * gdb.base/scope0.c (useitp): New function.
2578 (usestatics): Use useitp.
2579 (useit): Add a type for val.
2580 * gdb.base/scope1.c (useit1): Take a pointer argument.
2581 (usestatics1): Update calls to useit1.
2582 * gdb.cp/call-c.cc: Declare foo.
2583 (main): Call foo.
2584 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
2585 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
2586 (main): Call C::ensureRefs and ensureOtherRefs.
2587 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
2588 variables.
2589 (ensureOtherRefs): New function.
2590 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
2591 * gdb.cp/templates.cc (main): Call t5i.value.
2592
3f78692f
JK
25932009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2594
2595 Fix compatibility with G++-4.5.
2596 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
2597 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
2598 (uncaught return): Remove.
2599
429374b8
JK
26002009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2601 Phil Muldoon <pmuldoon@redhat.com>
2602
2603 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
2604 (bp_location13, bp_location14, bp_location17, bp_location18)
2605 (marker3_proto, marker4_proto): New variables.
2606 (breakpoint info): Update output.
2607 (run until breakpoint at marker3, run until breakpoint at marker4): New
2608 tests.
2609
859825b8
JK
26102009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2611
2612 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
2613 Replace the printf call of Y by provided "y-set-1" label. New block
2614 for the second shared library.
2615 * gdb.base/unload.exp: Compile also the second library, call
2616 gdb_load_shlibs also for it. Use now gdb_breakpoint.
2617 (single pending breakpoint info): Rename to ...
2618 (pending breakpoint info before run): ... this extended test.
2619 (libfile2, libname2, libsrcfile2, libsrc2)
2620 (lib_sl2): New variables.
2621 (exec_opts): Set also SHLIB_NAME2.
2622 (pending breakpoint info on first run at shrfunc1)
2623 (pending breakpoint info on second run at shrfunc1)
2624 (pending breakpoint info on second run at shrfunc2)
2625 (print y from libfile, print y from libfile2): New tests.
2626 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
2627 * gdb.base/unloadshr2.c: New.
2628
e6a386cd
HZ
26292009-12-22 Hui Zhu <teawater@gmail.com>
2630
2631 * gdb.reverse/sigall-reverse.exp: Adjust.
2632
9e19b45e
VP
26332009-12-21 Vladimir Prus <vladimir@codesourcery.com>
2634
2635 PR gdb/10884
2636
2637 * gdb.mi/var-cmd.c (do_bitfield_tests): New
2638 (main): Call do_bitfield_tests.
aacf5b1e 2639 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 2640
d53a7b30
JB
26412009-12-20 Joel Brobecker <brobecker@adacore.com>
2642
2643 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
2644 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
2645 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
2646 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
2647 gdb.modula2/unbounded1.c: Update copyright header.
2648
191ca0a1
CM
26492009-12-10 Chris Moller <moller@mollerware.com>
2650
2651 PR gdb/9399
2652 * gdb.cp/virtfunc2.exp: New tests
2653 * gdb.cp/virtfunc2.cc: New tests
2654 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
2655
0fa6cf1b
MS
26562009-12-10 Oza Pawandeep (paawan1982@yahoo.com
2657
2658 * gdb.reverse/i387-env-reverse.c: New file.
2659 * gdb.reverse/i387-env-reverse.exp: New file.
2660 * gdb.reverse/i387-stack-reverse.c: New file.
2661 * gdb.reverse/i387-stack-reverse.exp: New file.
2662
361ae042
PM
26632009-12-08 Phil Muldoon <pmuldoon@redhat.com>
2664
2665 * gdb.python/py-type.exp (test_range): New test.
2666
bfd31e71
PM
26672009-12-03 Phil Muldoon <pmuldoon@redhat.com>
2668
2669 PR python/10805
2670
2671 * gdb.python/py-type.exp: New file.
2672 * gdb.python/py-type.c: New file.
2673 * Makefile.in: Add py-type.
2674
57a1d736
TT
26752009-12-03 Tom Tromey <tromey@redhat.com>
2676
2677 * gdb.python/py-value.exp (test_parse_and_eval): New
2678 function.
2679
1f3b5d1b
PP
26802009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
2681
2682 PR gdb/11022
2683
2684 * gdb.base/pr11022.exp: New test.
2685 * gdb.base/pr11022.c: New test.
2686
8b7dbdc9
JK
26872009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2688
2689 Fix spurious false FAILs.
2690 * gdb.base/structs.c (chartest): New.
2691 (main): Fill-in chartest.
2692 * gdb.base/structs.exp (anychar_re, first): New.
2693 (start_structs_test): Import global anychar_re and first.
2694 New gdb_test call "set print elements 300; ${testfile}"
2695 (start_structs_test <$first>): New block.
2696 (any): Import global anychar_re. New variable ac. Use ${ac}.
2697
6a53b2ec
JK
26982009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2699
2700 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
2701
d7167b4c
JK
27022009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2703
2704 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
2705 Force $srcfile file.
2706 * gdb.base/foll-fork.c (callee): Comment out the printf call.
2707
b1798462
UW
27082009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2709
2710 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
2711 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2712 * gdb.threads/watchthreads-reorder.exp: Likewise.
2713
b6199126
DJ
27142009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
2715
2716 PR gdb/8704
2717
2718 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
2719 "if", and "thread". Correct matching in the previous test.
2720
b22a0510
DJ
27212009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
2722
2723 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
2724
930636d2
MS
27252009-11-23 Michael Snyder <msnyder@vmware.com>
2726
2727 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
2728 * gdb.reverse-watch-precsave.exp: Ditto.
2729
21a0512e
PP
27302009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
2731
2732 * gdb.asm/asm-source.exp: Adjust.
2733 * gdb.base/help.exp: Adjust.
2734
fc30d5e0
PA
27352009-11-22 Pedro Alves <pedro@codesourcery.com>
2736
2737 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
2738 (do_syscall_tests_without_xml): Set data-directory to
2739 /the/path/to/nowhere.
2740
f6bc2008
PA
27412009-11-21 Pedro Alves <pedro@codesourcery.com>
2742
2743 * gdb.threads/local-watch-wrong-thread.c,
2744 gdb.threads/local-watch-wrong-thread.exp: New files.
2745
8c2fb5de
PA
27462009-11-21 Pedro Alves <pedro@codesourcery.com>
2747
2748 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
2749 assume new `regsub' syntax available.
2750
ebec9a0f
PA
27512009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2752
a79d3c27
JK
2753 * gdb.base/watchpoint-hw-hit-once.exp,
2754 gdb.base/watchpoint-hw-hit-once.c: New.
2755
27562009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2757
2758 * gdb.threads/watchthreads-reorder.exp,
2759 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 2760
276a961b
MK
27612009-11-17 Nathan Sidwell <nathan@codesourcery.com>
2762
2763 * gdb.xml/tdesc-regs.exp: Use for m68k.
2764
4867c1fb
PA
27652009-11-15 Pedro Alves <pedro@codesourcery.com>
2766
2767 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
2768
f6838f81
DJ
27692009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2770
2771 * lib/gdb.exp (current_target_name): New procedure.
2772 (gdb_wrapper_target): New variable.
2773 (gdb_wrapper_init): Set gdb_wrapper_target.
2774 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
2775 wrapper.
2776
4ac4dd3f
DJ
27772009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2778
2779 * gdb.base/remote.exp: Delete the slowest load test.
2780 Do not load with fixed packet sizes.
2781
a7881759
DJ
27822009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2783
2784 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
2785
97a5b505
DJ
27862009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2787
2788 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
2789 srcfile when setting a breakpoint.
2790
d3e1fc54
DJ
27912009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
2792
2793 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
2794 macros.
2795
7cbcbded
DJ
27962009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2797
2798 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
2799 to be in memory.
2800 * gdb.base/display.c (force_mem): New.
2801 (do_loops): Use it. Add breakpoint comments.
2802 (do_vars): Add a breakpoint comment.
2803 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
2804 line numbers.
2805
bdea3a92
NF
28062009-11-13 Nathan Froyd <froydnj@codesourcery.com>
2807
2808 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
2809 instead of a bare "run".
2810
269f82e5
PP
28112009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2812
2813 * gdb.python/py-prettyprint.exp: Adjust.
2814
a69b7d9d
DJ
28152009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2816
2817 * lib/cell.exp (skip_cell_tests): Clean up test files before
2818 returning.
2819
b598bfda
DJ
28202009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2821
2822 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
2823 and the breakpoint menu. Do not call perror if a prompt is seen.
2824 Consume the following GDB prompt.
2825 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
2826 * gdb.cp/namespace.exp: Use gdb_test.
2827 * gdb.cp/templates.exp: Use gdb_test.
2828 (test_template_breakpoints): Use gdb_test_multiple.
2829
87728fa0
DJ
28302009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2831
2832 * gdb.base/break1.c (struct some_struct, values): Move earlier.
2833 (marker4): Reference values.
2834
b67c692f
DJ
28352009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2836
2837 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
2838 is missing.
2839
f0df251a
DJ
28402009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2841
2842 * gdb.base/break.c (need_malloc): New.
2843 * gdb.base/constvars.c (main): Reference crass and crisp.
2844 * gdb.base/gdb1821.c (main): Reference bar.
2845 * gdb.cp/gdb1355.cc (main): Reference s1.
2846 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
2847 (main): Call them.
2848 * gdb.cp/hang2.cc (dummy2): Define.
2849 * gdb.cp/hang3.cc (dummy3): Define.
2850 * gdb.cp/m-data.cc (main): Reference shadow.
2851
bdf7534a
NF
28522009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2853 Nathan Froyd <froydnj@codesourcery.com>
2854
2855 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
2856 remote host.
2857
f24fce77
NF
28582009-11-12 Nathan Froyd <froydnj@codesourcery.com>
2859
2860 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
2861 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
2862 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2863 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2864 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2865 * gdb.dwarf2/dw2-producer.exp: Likewise.
2866 * gdb.dwarf2/mac-fileno.exp: Likewise.
2867 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
2868 py-prettyprint.py to the remote host.
2869 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
2870
40f0318e
KS
28712009-11-11 Keith Seitz <keiths@redhat.com>
2872
2873 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
2874 use it instead of "Foo".
2875 * gdb.cp/classes.exp (do_tests): Add a test to access
2876 a method through a typedef'd class name.
2877
f3d9f7fb
NF
28782009-11-11 Nathan Froyd <froydnj@codesourcery.com>
2879
2880 * gdb.base/long_long.exp: Permit leading zeros on floating-point
2881 exponents.
2882 * gdb.base/pointers.exp: Likewise.
2883 * gdb.cp/ref-types.exp: Likewise.
2884
a4216f37
KS
28852009-11-11 Keith Seitz <keiths@redhat.com>
2886
2887 * gdb.cp/cplusfuncs.cc (class foo): Add operators
2888 new[] and delete[].
2889 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
2890 "void".
2891 (probe_demangler): Remove all single-quoting of
2892 method and variable names.
2893 (info_func_regexp): Remove the word "void" from any
2894 occurrence of "(void)".
2895 (print_addr_2): Remove all single-quoting of
2896 method names.
2897 (print_addr_2_kfail): Likewise.
2898 (print_addr): Single-quote C function names before
2899 passing to print_addr_2.
2900 (test_paddr_operator_functions): Remove single-quoting
2901 for method names.
2902 Add tests for operator new[] and operator delete[].
2903
9b14d7aa
JK
29042009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2905
2906 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
2907
85feb311
KS
29082009-11-09 Keith Seitz <keiths@redhat.com>
2909
2910 * gdb.cp/overload.exp: Add tests for resolving overloaded
2911 methods in expression parsing/evaluation.
2912
fa335448
DJ
29132009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
2914
2915 * lib/gdb.exp (default_gdb_version): Use --version instead of
2916 --command.
2917
ec3c07fc
NS
29182009-11-10 Nathan Sidwell <nathan@codesourcery.com>
2919
2920 * lib/gdb.exp (gdb_compile_test): New.
2921 (skip_ada_tests, skip_java_tests): New.
2922 (gdb_compile): Use gdb_compile_test for f77.
2923 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
2924 * lib/java.exp (compile_java_from_source): Remove runtests check,
2925 use gdb_compile_test to record result.
2926 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
2927 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
2928 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
2929 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
2930 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
2931 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
2932 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
2933 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
2934 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
2935 adjust gdb_compile invocations.
2936
b8b4e42b
JK
29372009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2938
2939 * Makefile.in (abs_builddir): New.
2940 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
2941 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
2942 `$(abs_builddir)/site.exp'.
2943
f8b7eaf3
DJ
29442009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
2945
2946 * config/m68k-emc.exp, lib/emc-support.exp,
2947 gdb.trace/gdb_c_test.c: Delete.
2948 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
2949 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
2950 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2951 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
2952 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2953 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
2954 casing for m68k-*-elf.
2955
c4187697
NS
29562009-11-03 Pedro Alves <pedro@codesourcery.com>
2957
2958 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
2959 * gdb.arch/i386-prologue.exp: Likewise.
2960 * gdb.arch/i386-unwind.exp: Likewise.
2961
db16b772
DJ
29622009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
2963
2964 * lib/gdb.exp (gdb_expect): Fix timeout typo.
2965
bcf71277
DJ
29662009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
2967
2968 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
2969
0105cee2
DJ
29702009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
2971
2972 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
2973
24ddea62
JK
29742009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2975
2976 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
2977
287ccc17
JK
29782009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2979
2980 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
2981 * gdb.base/sepdebug2.c: New file.
2982
08bca259 29832009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
2984
2985 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
2986 the modified warnings for catch syscall. Verify if GDB was compiled
2987 with support for lib expat, and choose which tests to run depending
2988 on this.
2989
5d4e2b76
VP
29902009-10-30 Vladimir Prus <vladimir@codesourcery.com>
2991
2992 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
2993 that composite commands are parsed OK. And also test
2994 that breakpoint commands do work.
2995
240e538a
MS
29962009-10-23 Michael Snyder <msnyder@vmware.com>
2997
2998 gdb.reverse/consecutive-precsave.exp: Change expect pattern
2999 to allow for new disassembly style.
3000
9c419145
PP
30012009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3002
3003 * gdb.asm/asm-source.exp: Adjust.
3004
02506ff1
MS
30052009-10-22 Michael Snyder <msnyder@vmware.com>
3006
3007 * gdb.reverse/break-precsave.exp: New test.
3008 * gdb.reverse/consecutive-precsave.exp: Ditto.
3009 * gdb.reverse/finish-precsave.exp: Ditto.
3010 * gdb.reverse/i386-precsave.exp: Ditto.
3011 * gdb.reverse/machinestate-precsave.exp: Ditto.
3012 * gdb.reverse/sigall-precsave.exp: Ditto.
3013 * gdb.reverse/solilb-precsave.exp: Ditto.
3014 * gdb.reverse/step-precsave.exp: Ditto.
3015 * gdb.reverse/until-precsave.exp: Ditto.
3016 * gdb.reverse/watch-precsave.exp: Ditto.
3017
4cf866a3
MS
30182009-10-22 Michael Snyder <msnyder@vmware.com>
3019
3020 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
3021 for gdb_expect. Adjust one test's expect strings for the new
3022 format of disassemble.
3023 * gdb.reverse/finish-reverse.exp: Delete 'return'.
3024 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
3025 gdb_test_multiple.
3026 * gdb.reverse/step-reverse.exp: Delete 'return'.
3027 * gdb.reverse/until-reverse.exp: Delete blank lines.
3028 * gdb.reverse/watch-reverse.exp: Delete blank lines.
3029
2b28d209
PP
30302009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
3031
3032 * gdb.base/consecutive.exp: Adjust.
3033 * gdb.base/display.exp: Likewise.
3034 * gdb.base/pc-fp.exp: Likewise.
3035 * gdb.base/sigbpt.exp: Likewise.
3036
33b9c32b
MS
30372009-10-19 Michael Snyder <msnyder@vmware.com>
3038
3039 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
3040 * gdb.reverse/finish-reverse.c: Ditto.
3041 * gdb.reverse/sigall-reverse.c: Ditto.
3042 * gdb.reverse/solib-reverse.c: Ditto.
3043 * gdb.reverse/step-reverse.c: Ditto.
3044 * gdb.reverse/watch-reverse.c: Ditto.
3045
6c95b8df
PA
30462009-10-19 Pedro Alves <pedro@codesourcery.com>
3047 Stan Shebs <stan@codesourcery.com>
3048
3049 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
3050 * gdb.base/foll-exec.exp: Adjust to expect a process id before
3051 "Executing new program".
3052 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
3053 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
3054 left listed after having been killed.
3055 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
3056 * gdb.base/maint.exp: Adjust test.
3057
3058 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
3059 * gdb.multi/Makefile.in: New.
3060 * gdb.multi/base.exp: New.
3061 * gdb.multi/goodbye.c: New.
3062 * gdb.multi/hangout.c: New.
3063 * gdb.multi/hello.c: New.
3064 * gdb.multi/bkpt-multi-exec.c: New.
3065 * gdb.multi/bkpt-multi-exec.exp: New.
3066 * gdb.multi/crashme.c: New.
3067
279017b7
TG
30682009-10-13 Tristan Gingold <gingold@adacore.com>
3069
3070 * gdb.base/sepdebug.exp: Check debug info are found.
3071
0413d738
PA
30722009-10-08 Pedro Alves <pedro@codesourcery.com>
3073
3074 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
3075 bits.
3076
c628eecc
JK
30772009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3078
3079 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
3080
38af1bfe
JB
30812009-10-07 Joel Brobecker <brobecker@adacore.com>
3082
3083 * gdb.base/watchpoints.c: Add copyright header. Reformat one
3084 of the comments.
3085
2b0adecd
PM
30862009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
3087
3088 * gdb.base/annota1.exp: Remove obsolete match_max increase.
3089 * gdb.base/annota3.exp: Idem.
3090 * gdb.base/maint.exp: Idem.
3091
8d417781
PM
30922009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
3093
3094 * lib/gdb.exp (default_gdb_init): Set current value of match_max
3095 to default.
3096
bb61102d
PM
30972009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
3098
3099 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
3100 mingw and cygwin targets.
3101
ace5c364
PM
31022009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
3103 Pedro Alves <pedro@codesourcery.com>
3104
3105 * lib/gdb.exp (gdb_compile): Avoid adding
3106 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
3107
c2d494a0
PM
31082009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
3109
e1b52ce2
PM
3110 * gdb.base/shr1.c: Use %p in format string.
3111 * gdb.base/unload.c: Avoid warning in fprintf.
3112 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 3113
209f53f5
PM
31142009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
3115
3116 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
3117 long type.
3118 (test_unlink): Correct printf string.
3119 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
3120 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
3121
8172766a
JK
31222009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3123
3124 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
3125 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
3126 * gdb.arch/ia64-breakpoint-shadow.S: New file.
3127
0f73703c
UW
31282009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3129
3130 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
3131 * gdb.objc/nondebug.exp: Likewise.
3132
b32306ca
UW
31332009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3134
3135 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
3136 target_info setting.
3137
3138 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
3139 that detect new threads during "info threads".
3140
0057022f
UW
31412009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3142
3143 * gdb.threads/manythreads.c (main): Increase thread stack size
3144 to 2*PTHREAD_STACK_MIN.
3145 * gdb.threads/multi-create.c (main): Likewise.
3146 (create_function): Likewise.
3147
f29c0325
UW
31482009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3149
3150 * gdb.base/dump.exp: Pass difference of pointer types instead
3151 of integer types as offset to restore in intarr3.srec case.
3152
fcb34849
UW
31532009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3154
3155 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
3156
d5142e3b
UW
31572009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3158
3159 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
3160
087b74b2
PM
31612009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
3162
3163 New test for two watchpoints, with disabling of
3164 the first inserted.
3165 * testsuite/gdb.base/watchpoints.c: New file.
3166 * testsuite/gdb.base/watchpoints.exp: New file.
3167
96c07c5b
TT
31682009-09-25 Tom Tromey <tromey@redhat.com>
3169
3170 * gdb.base/charset.exp: Test utf-16 strings with Python.
3171
b8899f2b
TT
31722009-09-25 Tom Tromey <tromey@redhat.com>
3173
3174 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
3175 UCS-4.
3176 * gdb.base/charset.c (utf_32_string): Rename.
3177 (init_utf32): Rename.
3178 (main): Update.
3179
329719ec
TT
31802009-09-22 Tom Tromey <tromey@redhat.com>
3181
3182 * gdb.python/py-function.exp: Add regression tests.
3183
11ef0d76
KS
31842009-09-21 Keith Seitz <keiths@redhat.com>
3185
3186 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
3187 with invalid operator.
3188
3fe8f3b3
KS
31892009-09-21 Keith Seitz <keiths@redhat.com>
3190
3191 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
3192 and destructor using typedef name of class.
3193 * gdb.cp/classes.cc (class Base1): Add a destructor.
3194 (base1): New typedef.
3195 (use_methods): Instanitate an object of type base1.
3196 * gdb.cp/templates.exp (test_template_typedef): New procedure.
3197 (do_tests): Call test_template_typedef.
3198 * gdb.cp/templates.cc (Baz::~Baz): New method.
3199 (intBazOne): New typedef.
3200 (main): Instantiate intBazOne.
3201
7a9fe101
PM
32022009-09-21 Phil Muldoon <pmuldoon@redhat.com>
3203
3204 PR python/10633
3205
3206 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
3207 Function.
3208 (run_lang_tests): Add print elements test.
3209
2e4d963f
PM
32102009-09-21 Phil Muldoon <pmuldoon@redhat.com>
3211
3212 * gdb.python/py-value.exp (test_subscript_regression): New
3213 function. Test for invalid subscripts.
3214 * gdb.python/py-value.c (main): Add test array, and pointer to it.
3215 (ptr_ref): New function.
3216
ec7e75e7
PP
32172009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3218
3219 * gdb.base/default.exp: Fix "show convenience".
3220
0cc7d26f
TT
32212009-09-15 Tom Tromey <tromey@redhat.com>
3222
3223 * lib/mi-support.exp (mi_create_varobj): Update.
3224 (mi_create_floating_varobj): Likewise.
3225 (mi_create_dynamic_varobj): New proc.
3226 (mi_varobj_update): Update.
3227 (mi_varobj_update_with_type_change): Likewise.
3228 (mi_varobj_update_kv_helper): New proc.
3229 (mi_varobj_update_dynamic_helper): Rewrite.
3230 (mi_varobj_update_dynamic): New proc.
3231 (mi_list_varobj_children): Update.
3232 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
3233 * gdb.python/python-prettyprint.py (pp_outer): New class.
3234 (pp_nullstr): Likewise.
3235 (lookup_function): Register new printers.
3236 * gdb.python/python-prettyprint.c (struct substruct): New type.
3237 (struct outerstruct): Likewise.
3238 (substruct_test): New function.
3239 (struct nullstr): New type.
3240 (string_1, string_2): New globals.
3241 (main): Add new tests.
3242 * gdb.python/python-mi.exp: Added regression tests.
3243 * gdb.mi/mi2-var-display.exp: Update.
3244 * gdb.mi/mi2-var-cmd.exp: Update.
3245 * gdb.mi/mi2-var-child.exp: Update.
3246 * gdb.mi/mi2-var-block.exp: Update.
3247 * gdb.mi/mi-var-invalidate.exp: Update.
3248 * gdb.mi/mi-var-display.exp: Update.
3249 * gdb.mi/mi-var-cmd.exp: Update.
3250 * gdb.mi/mi-var-child.exp: Update.
3251 * gdb.mi/mi-var-block.exp: Update.
3252 * gdb.mi/mi-break.exp: Update.
3253 * gdb.mi/gdb701.exp: Update.
3254
a96d9b2e
SDJ
32552009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
3256
3257 * Makefile.in: Inclusion of catch-syscall object.
3258 * gdb.base/catch-syscall.c: New file.
3259 * gdb.base/catch-syscall.exp: New file.
3260
b43b923a
MS
32612009-09-12 Michael Snyder <msnyder@vmware.com>
3262
3263 * gdb.reverse/step-reverse.exp: Explicitly check for targets
3264 that can support reverse debuggnig.
3265
cec03d70
TT
32662009-09-11 Tom Tromey <tromey@redhat.com>
3267
3268 * gdb.dwarf2/valop.S: New file.
3269 * gdb.dwarf2/valop.exp: New file.
3270
e23bb3fc
MK
32712009-09-11 Mark Kettenis <kettenis@gnu.org>
3272
3273 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
3274
37c3696d
DE
32752009-09-10 Doug Evans <dje@google.com>
3276
3277 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
3278 Add $gdb_prompt to second breakpoint regexp.
3279
5172aecb
JB
32802009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
3281
3282 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
3283 names, add missing ones.
3284 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
3285 * gdb.python/py-frame.c: Rename from python-frame.c.
3286 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
3287 testfile name.
3288 * gdb.python/py-function.exp: Rename from python-function.exp.
3289 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
3290 testfile name.
3291 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
3292 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
3293 Adjust testfile name.
3294 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
3295 * gdb.python/py-template.cc: Rename from python-template.cc.
3296 * gdb.python/py-template.exp: Rename from python-template.exp.
3297 Adjust testfile name.
3298 * gdb.python/py-value.c: Rename from python-value.c.
3299 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
3300 testfile name.
3301
b554e4bd
JK
33022009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3303
3304 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
3305 $bpt2address.
3306 (Second breakpoint address is valid on ia64)
3307 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
3308
9a68ae16
JM
33092009-09-03 Joseph Myers <joseph@codesourcery.com>
3310
3311 * gdb.base/ending-run.exp: Restrict regular expression matching
3312 line number to require closing brace following.
3313
146b9145
DE
33142009-09-03 Doug Evans <dje@google.com>
3315
3316 * gdb.base/store.exp (check_set): Fix typo in expected value message.
3317
787d21e1
TT
33182009-09-02 Tom Tromey <tromey@redhat.com>
3319
3320 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
3321
e7802207
TT
33222009-09-02 Tom Tromey <tromey@redhat.com>
3323
3324 * gdb.dwarf2/callframecfa.exp: New file.
3325 * gdb.dwarf2/callframecfa.S: New file.
3326
817aadd2
JK
33272009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3328
3329 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
3330 gdb.base/solib-overlap-main.c: New.
3331
4a76eae5
DJ
33322009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
3333
3334 PR gdb/10565
3335
3336 * gdb.base/bitfields.c (struct container, container): New.
3337 (main): Initialize it and call break5.
3338 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
3339
d4b96c9a
JK
33402009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3341
3342 Support constant DW_AT_data_member_location by GCC PR debug/40659.
3343 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
3344
4e22772d
JK
33452009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3346
3347 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
3348
2efab443
MS
33492009-08-26 Michael Snyder <msnyder@vmware.com>
3350
3351 * gdb.base/i386-reverse.c: New file.
3352 * gdb.base/i386-reverse.exp: New file.
3353 * gdb.base/Makefile.in: Add new files to be removed.
3354
07ab73a0
JM
33552009-08-26 Joseph Myers <joseph@codesourcery.com>
3356
3357 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
3358 environment-pwd for remote host.
3359 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
3360
676accff
KS
33612009-08-24 Keith Seitz <keiths@redhat.com>
3362
3363 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
3364 Add two new C++ completer tests which limit the output to a
3365 given class.
3366
f9f7ad22
MS
33672009-08-24 Michael Snyder <msnyder@vmware.com>
3368
3369 * gdb.base/del.exp: Fix typo in comment.
3370 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
3371
81ecdfbb
RW
33722009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3373
3374 * configure: Regenerate.
3375 * gdb.hp/configure: Likewise.
3376 * gdb.hp/gdb.aCC/configure: Likewise.
3377 * gdb.hp/gdb.base-hp/configure: Likewise.
3378 * gdb.hp/gdb.compat/configure: Likewise.
3379 * gdb.hp/gdb.defects/configure: Likewise.
3380 * gdb.hp/gdb.objdbg/configure: Likewise.
3381 * gdb.stabs/configure: Likewise.
3382
cab0c772
UW
33832009-08-19 Doug Evans <dje@google.com>
3384
3385 * gdb.base/gdbvars.c: New file.
3386 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
3387
b8fa0bfa
PA
33882009-08-14 Pedro Alves <pedro@codesourcery.com>
3389
3390 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
3391 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
3392
b84aa90a
PA
33932009-08-13 Pedro Alves <pedro@codesourcery.com>
3394
3395 * gdb.base/default.exp: Adjust "set language test": it's now an
3396 enum command. Larger help string moved to "help set language".
3397 * gdb.base/help.exp: Adjust "help set language" expected output,
3398 now lists all known languages.
3399
0d8f9b2c
NF
34002009-08-11 Nathan Froyd <froydnj@codesourcery.com>
3401
3402 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
3403 all frame arguments.
3404 * gdb.arch/altivec-regs.exp: Likewise.
3405
bda180e0
TT
34062009-08-07 Tom Tromey <tromey@redhat.com>
3407
3408 * gdb.base/setshow.exp: Add tests for changes to set language, set
3409 check range, and set check type.
3410
48cb2d85
VP
34112009-08-03 Vladimir Prus <vladimir@codesourcery.com>
3412
3413 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
3414 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
3415 Call it.
3416
1ea34204
UW
34172009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3418
3419 * configure.ac: Run gdb.cell tests when appropriate.
3420 * configure: Regenerate.
3421 * lib/cell.exp: New file.
3422 * gdb.cell: New directory.
3423 * gdb.cell/configure.ac: New file.
3424 * gdb.cell/configure: New file.
3425 * gdb.cell/Makefile.in: New file.
3426 * gdb.cell/arch.exp: New file.
3427 * gdb.cell/break.c: New file.
3428 * gdb.cell/break.exp: New file.
3429 * gdb.cell/break-spu.c: New file.
3430 * gdb.cell/bt.c: New file.
3431 * gdb.cell/bt2-spu.c: New file.
3432 * gdb.cell/bt-spu.c: New file.
3433 * gdb.cell/bt.exp: New file.
3434 * gdb.cell/coremaker.c: New file.
3435 * gdb.cell/coremaker-spu.c: New file.
3436 * gdb.cell/core.exp: New file.
3437 * gdb.cell/gcore.exp: New file.
3438 * gdb.cell/data.c: New file.
3439 * gdb.cell/data.exp: New file.
3440 * gdb.cell/data-spu.c: New file.
3441 * gdb.cell/ea-cache.exp: New file.
3442 * gdb.cell/ea-cache.c: New file.
3443 * gdb.cell/ea-cache-spu.c: New file.
3444 * gdb.cell/ea-standalone.c: New file.
3445 * gdb.cell/ea-standalone.exp: New file.
3446 * gdb.cell/ea-test.c: New file.
3447 * gdb.cell/ea-test.exp: New file.
3448 * gdb.cell/f-regs.exp: New file.
3449 * gdb.cell/mem-access.c: New file.
3450 * gdb.cell/mem-access.exp: New file.
3451 * gdb.cell/mem-access-spu.c: New file.
3452 * gdb.cell/ptype.exp: New file.
3453 * gdb.cell/registers.exp: New file.
3454 * gdb.cell/size.c: New file.
3455 * gdb.cell/sizeof.exp: New file.
3456 * gdb.cell/size-spu.c: New file.
3457 * gdb.cell/solib.exp: New file.
3458 * gdb.cell/solib-symbol.exp: New file.
3459
85e747d2
UW
34602009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3461
3462 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
3463
58d6951d
DJ
34642009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
3465
3466 * gdb.base/float.exp: Handle VFP registers.
3467
6e0a4f15
MS
34682009-07-14 Michael Snyder <msnyder@vmware.com>
3469
dcd5da87
MS
3470 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
3471 to bring gdb to the beginning of the calling line.
3472
6e0a4f15
MS
3473 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
3474 confusing the i386 epilogue unwinder.
3475
782b2b07
SS
34762009-07-14 Stan Shebs <stan@codesourcery.com>
3477
3478 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
3479
f662c3bc
MS
34802009-07-14 Michael Snyder <msnyder@vmware.com>
3481
3482 * gdb.reverse/step-reverse.exp (stepi into function call):
3483 Call instruction may not be first instruction in the line.
3484 (reverse stepi from a function call): Used wrong line number.
3485
8f313923
JK
34862009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3487
3488 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
3489
4662c76e
JK
34902009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3491
3492 Fix gdb.base/macscp.exp when using custom inputrc.
3493 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
3494 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
3495 env(TERM) set.
3496 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
3497 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
3498
aa81e255
JK
34992009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3500
3501 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
3502 * gdb.base/annota1.exp (thread_test): Import global $testfile.
3503 Change the compilation target to match the testcase name.
3504 * gdb.base/sect-cmd.exp: Change the compilation target to match the
3505 testcase name.
3506 * a2-run.exp: Use for setup prepare_for_testing. Change the
3507 compilation target to match the testcase name.
3508 * gdb.base/commands.exp: Likewise.
3509 * gdb.base/finish.exp: Likewise.
3510 * gdb.base/float.exp: Likewise.
3511 * gdb.base/info-target.exp: Likewise.
3512 * gdb.base/relational.exp: Likewise.
3513 * gdb.base/term.exp: Likewise.
3514 * gdb.base/until.exp: Likewise.
3515 * gdb.base/volatile.exp: Likewise.
3516 * gdb.base/whatis-exp.exp: Likewise.
3517
4c93b1d7
HZ
35182009-07-11 Hui Zhu <teawater@gmail.com>
3519
3520 * gdb.base/help.exp (disassemble): Update expected help text.
3521
812f7342
TT
35222009-07-09 Tom Tromey <tromey@redhat.com>
3523
3524 * lib/gdb.exp: Handle TRANSCRIPT.
3525 (remote_spawn, remote_close, send_gdb): New procs.
3526
fbb8f299
PM
35272009-07-10 Phil Muldoon <pmuldoon@redhat.com>
3528
3529 * gdb.python/python-prettyprint.c: Add counted null string
3530 structure.
3531 * gdb.python/python-prettyprint.exp: Print null string. Test for
3532 embedded nulls.
3533 * gdb.python/python-prettyprint.py (pp_ns): New Function.
3534 * gdb.python/python-value.exp (test_value_in_inferior): Add
3535 variable length string fetch tests.
3536 * gdb.python/python-value.c (main): Add strings for string fetch tests.
3537
c0ac0ec7
JK
35382009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3539
3540 * gdb.base/dump.exp (inaccessible memory is reported): New test.
3541
30b66ecc
TT
35422009-07-07 Tom Tromey <tromey@redhat.com>
3543
3544 * gdb.base/call-rt-st.exp: Update for change to escape output.
3545 * gdb.base/callfuncs.exp: Likewise.
3546 * gdb.base/charset.exp: Likewise.
3547 * gdb.base/constvars.exp: Likewise.
3548 * gdb.base/long_long.exp: Likewise.
3549 * gdb.base/pointers.exp: Likewise.
3550 * gdb.base/printcmds.exp: Likewise.
3551 * gdb.base/setvar.exp: Likewise.
3552 * gdb.base/store.exp: Likewise.
3553 * gdb.cp/ref-types.exp: Likewise.
3554 * gdb.mi/mi-var-child.exp: Likewise.
3555 * gdb.mi/mi-var-display.exp: Likewise.
3556 * gdb.mi/mi2-var-display.exp: Likewise.
3557 * gdb.base/charset.exp: Test octal escape sequence length.
3558 Update for change to escape output.
3559
187c4a2b
JK
35602009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3561
3562 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
3563
d80a43f9
DJ
35642009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
3565
3566 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
3567
047427a8
JK
35682009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3569
3570 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
3571 gdbserver increasing $portnum if "Can't bind address" has been seen.
3572
8b5a0f4f
PA
35732009-07-05 Pedro Alves <pedro@codesourcery.com>
3574
3575 * gdb.base/ending-run.exp: Add "step out of main" pattern for
3576 mingw32ce.
3577
7d93ba58
PA
35782009-07-05 Pedro Alves <pedro@codesourcery.com>
3579
3580 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
3581 VFP format.
3582
2277426b
PA
35832009-07-02 Pedro Alves <pedro@codesourcery.com>
3584
3585 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
3586 linux. Adjust to use "inferior", "info inferiors", "detach
3587 inferior" and "kill inferior" instead of "restart", "info fork",
3588 "detach fork" and "delete fork".
3589 * gdb.base/ending-run.exp: Spell out "info".
3590 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
3591 the "kill" command.
3592
5af949e3
UW
35932009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3594
3595 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
3596 change to prefix TLS offset in hex with 0x.
3597
5d3729b5
UW
35982009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3599
3600 * gdb.base/default.exp: Update test case for "x" changes.
3601
af589bd0
TG
36022009-07-01 Tristan Gingold <gingold@adacore.com>
3603
3604 * gdb.base/bigcore.exp: Make darwin untested.
3605
40974f91
JK
36062009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3607
3608 * gdb.base/completion.exp (directory completion): Create the directory.
3609 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
3610 escapeuniquesub.
3611 (directory completion 2): Expect now ${escapeuniquesub}.
3612 (Glob remaining of directory test): Remove one excessive newline.
3613 Expect the real output.
3614
59dd3af6
JK
36152009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3616
3617 Fix `make check//%' target after `make check' has been ran.
3618 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
3619 a mkdir call.
3620 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
3621 (%/.dir): Remove.
3622
f4e164aa
JK
36232009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3624
3625 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
3626 the expected result record.
3627
69af2122
JK
36282009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3629
3630 Remove racy FAILs relying just on the timeouts.
3631 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
3632 (annotation_level 2): Remove racy FAILs.
3633
2fd481e1
PP
36342009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
3635
3636 gdb/10275
3637 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
3638
c38f313d
DJ
36392009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
3640
3641 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
3642
8b777f02
VP
36432009-06-30 Vladimir Prus <vladimir@codesourcery.com>
3644
3645 * gdb.mi/mi-stack.exp: Testing symbolic options
3646 to -stack-list-locals and -stack-list-arguments.
3647
00c7eacf
JK
36482009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3649
3650 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
3651
6bc80edc
TT
36522009-06-29 Tom Tromey <tromey@redhat.com>
3653
3654 * dg-extract-results.sh: New file.
3655 * Makefile.in (FORCE_PARALLEL): New variable.
3656 (CHECK_TARGET): New conditional variable.
3657 (check): Use CHECK_TARGET.
3658 (DO_RUNTEST): New variable.
3659 (check-single): New target.
3660 (TEST_DIRS): New variable.
3661 (TEST_TARGETS): Likewise.
3662 (check-parallel): New target.
3663 (check-gdb.%): New pattern.
3664 (BASE1_FILES): New variable.
3665 (BASE2_FILES): Likewise.
3666 (check-gdb.base%): New pattern.
3667 (%/.dir): New pattern.
3668 * configure: Rebuild.
3669 * aclocal.m4 (AM_CONDITIONAL): New defun.
3670 * configure.ac: Check whether user is using GNU make.
3671 (GMAKE): New conditional.
3672
794684b6
SW
36732009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
3674
3675 * gdb.cp/namespace-nested-import.cc: New test.
3676 * gdb.cp/namespace-nested-import.exp: New test.
3677
edb3359d
DJ
36782009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
3679
3680 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
3681 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
3682 * gdb.opt/Makefile.in (EXECUTABLES): Update.
3683 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
3684 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
3685 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
3686 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
3687 gdb.opt/inline-markers.c: New files.
3688 * lib/gdb.exp (skip_inline_frame_tests): New function.
3689 (skip_inline_var_tests): New function.
3690
cf657a0c
AS
36912009-06-27 Andreas Schwab <schwab@linux-m68k.org>
3692
3693 * gdb.cp/exception.exp: Don't require $hex before inner frame in
3694 backtrace.
3695
28d41a99
MS
36962009-06-27 Michael Snyder <msnyder@vmware.com>
3697
3698 * gdb.reverse: New directory.
3699 * gdb.reverse/break-reverse.c: New test.
3700 * gdb.reverse/break-reverse.exp: New test.
3701 * gdb.reverse/consecutive-reverse.c: New test.
3702 * gdb.reverse/consecutive-reverse.exp: New test.
3703 * gdb.reverse/finish-reverse.c: New test.
3704 * gdb.reverse/finish-reverse.exp: New test.
3705 * gdb.reverse/machinestate.c: New test.
3706 * gdb.reverse/ms1.c: New test.
3707 * gdb.reverse/machinestate.exp: New test.
3708 * gdb.reverse/Makefile.in: New file.
3709 * gdb.reverse/shr2.c: New test.
3710 * gdb.reverse/solib-reverse.c: New test.
3711 * gdb.reverse/solib-reverse.exp: New test.
3712 * gdb.reverse/step-reverse.c: New test.
3713 * gdb.reverse/step-reverse.exp: New test.
3714 * gdb.reverse/until-reverse.c: New test.
3715 * gdb.reverse/ur1.c: New test.
3716 * gdb.reverse/until-reverse.exp: New test.
3717 * gdb.reverse/watch-reverse.c: New test.
3718 * gdb.reverse/watch-reverse.exp: New test.
3719 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
3720 * configure: Regenerate.
3721
fe3c8b0d
DE
37222009-06-26 Doug Evans <dje@google.com>
3723
3724 * gdb.base/psymtab.exp: Turn off pending breakpoints.
3725
3a72a602
PM
37262009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
3727
3728 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
3729 windows problem for 'file delete $binfile'.
3730
27aa8d6a
SW
37312009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
3732
3733 * gdb.cp/namespace-using.exp: New test.
3734 * gdb.cp/namespace-using.cc: New test.
3735
8ac055f8
JB
37362009-05-20 Joel Brobecker <brobecker@adacore.com>
3737
3738 * gdb.ada/variant_record_packed_array: New testcase.
3739
85e306ed
TT
37402009-06-23 Tom Tromey <tromey@redhat.com>
3741
3742 * gdb.base/charset.exp (test_combination): Regression test.
3743 * gdb.base/charset.c (my_wchar_t): New typedef.
3744 (myvar): New global.
3745 (main): Set myvar.
3746
56643c5e
PM
37472009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
3748
3749 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
3750 target.
3751
1fac167a
UW
37522009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3753
3754 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
3755
7ccb0be9
UW
37562009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3757
3758 * gdb.mi/gdb680.exp: Update test for error message.
3759
568d6575
UW
37602009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3761
3762 * gdb.base/annota1.exp: Allow multiple occurrences of the
3763 frames-invalid annotation.
3764 * gdb.cp/annota2.exp: Likewise.
3765
7cd1089b
PM
37662009-06-15 Phil Muldoon <pmuldoon@redhat.com>
3767
3768 * gdb.cp/gdb2495.cc: New file.
3769 * gdb.cp/gdb2495.exp: New file.
3770
72c63395
JK
37712009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3772
3773 Report error on GDB crash during runto.
3774 * lib/gdb.exp (runto <eof>): New.
3775
3788363d
DJ
37762009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
3777
3778 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
3779 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
3780 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
3781 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
3782 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
3783 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
3784 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
3785 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
3786 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
3787 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
3788 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
3789 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
3790 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
3791 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
3792 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
3793 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
3794 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
3795 gdb.server/server-mon.exp, gdb.server/server-run.exp,
3796 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3797 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3798 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
3799 gdb.trace/passcount.exp, gdb.trace/report.exp,
3800 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
3801 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
3802 gdb.trace/while-stepping.exp: Use a unique name for the compiled
3803 executable.
3804
17592de3
PA
38052009-06-07 Pedro Alves <pedro@codesourcery.com>
3806
3807 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
3808 defined before referencing it.
3809
701e355d
DE
38102009-06-03 Doug Evans <dje@google.com>
3811
3812 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
3813 * gdb.arch/i386-see.c: Ditto.
3814
f2292c65
PM
38152009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
3816
3817 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
3818 (check_macro): Return 1 if undefined.
3819 If first test fails, check if macro debug information is available,
3820 and report unsupported test if no macro information is found.
3821
5a437975
DE
38222009-05-29 Doug Evans <dje@google.com>
3823
3824 * gdb.threads/hand-call-in-threads.exp: New.
3825 * gdb.threads/hand-call-in-threads.c: New.
3826
c141c696
MS
38272009-05-29 Michael Snyder <msnyder@vmware.com>
3828
3829 * gdb.base/break-always.exp: Change "1" to "on".
3830 Add confirmation check.
3831
b3444185
PA
38322009-05-28 Pedro Alves <pedro@codesourcery.com>
3833
3834 * gdb.threads/threxit-hop-specific.c: New.
3835 * gdb.threads/threxit-hop-specific.exp: New.
3836 * gdb.threads/thread-execl.c: New.
3837 * gdb.threads/thread-execl.exp: New.
3838
b6313243
TT
38392009-05-27 Tom Tromey <tromey@redhat.com>
3840 Thiago Jung Bauermann <bauerman@br.ibm.com>
3841
3842 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
3843 (mi_child_regexp): Likewise.
3844 (mi_list_varobj_children_range): Likewise.
3845 (mi_get_features): Likewise.
3846 (mi_list_varobj_children): Rewrite.
3847 * gdb.python/python-mi.exp: New file.
3848
a6bac58e
TT
38492009-05-27 Tom Tromey <tromey@redhat.com>
3850 Thiago Jung Bauermann <bauerman@br.ibm.com>
3851 Phil Muldoon <pmuldoon@redhat.com>
3852 Paul Pluzhnikov <ppluzhnikov@google.com>
3853
3854 * gdb.python/python-prettyprint.exp: New file.
3855 * gdb.python/python-prettyprint.c: New file.
3856 * gdb.python/python-prettyprint.py: New file.
3857 * gdb.base/display.exp: print/r is now valid.
3858
2c74e833
TT
38592009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
3860 Tom Tromey <tromey@redhat.com>
3861 Pedro Alves <pedro@codesourcery.com>
3862 Paul Pluzhnikov <ppluzhnikov@google.com>
3863
3864 * gdb.python/python-template.exp: New file.
3865 * gdb.python/python-template.cc: New file.
3866 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
3867 tests.
3868 * gdb.python/python-value.exp (py_objfile_tests): New proc.
3869 Call it.
3870 (test_value_after_death): New proc.
3871 * gdb.python/python-value.c (PTR): New typedef.
3872 (main): New variable 'x'.
3873
89c73ade
TT
38742009-05-27 Tom Tromey <tromey@redhat.com>
3875
3876 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
3877 tests.
3878 * gdb.python/python-value.exp (py_objfile_tests): New proc.
3879 Call it.
3880
a75724bc
PA
38812009-05-27 Pedro Alves <pedro@codesourcery.com>
3882
3883 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
3884
e58b0e63
PA
38852009-05-24 Pedro Alves <pedro@codesourcery.com>
3886
3887 * gdb.threads/fork-thread-pending.c: New.
3888 * gdb.threads/fork-thread-pending.exp: New.
3889
4ac36638
JK
38902009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3891
3892 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
3893 * gdb.dwarf2/dw2-strp.S (a_string2): New.
3894
c28c63d8
JB
38952009-05-18 Jon Beniston <jon@beniston.com>
3896
3897 * gdb.asm/asm-source.exp: Add lm32 target.
3898
b242c3c2
PA
38992009-05-17 Pedro Alves <pedro@codesourcery.com>
3900
3901 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
3902 `gdb_get_line_number'. Call `callee' in both parent and child.
3903 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
3904 `gdb_get_line_number' instead of hardcoding line numbers.
3905 (catch_fork_unpatch_child): New procedure to test detaching
3906 breakpoints from child fork.
3907 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
3908 hardcoding line numbers.
3909 (do_fork_tests): Run `catch_fork_unpatch_child'.
3910
ee342b23
VP
39112009-05-17 Vladimir Prus <vladimir@codesourcery.com>
3912
3913 * gdb.mi/mi-cmd-var.exp: Check that when varobj
3914 of structure type enters or leaves the scope, it
3915 is reported by -var-update.
3916
e2009e98
DE
39172009-05-11 Doug Evans <dje@sebabeach.org>
3918
3919 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
3920 * gdb.threads/pending-step.c (main): Fix off-by-one error.
3921 * gdb.threads/schedlock.c (main): Fix off-by-one error.
3922
00903456
JK
39232009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3924
3925 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
3926
dc621c35
DE
39272009-04-30 Doug Evans <dje@google.com>
3928
3929 * gdb.threads/watchthreads2.exp: New testcase.
3930 * gdb.threads/watchthreads2.c: New testcase.
3931
9ab4e744
DE
39322009-04-29 Doug Evans <dje@google.com>
3933
3934 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
3935 * gdb.cp/mb-ctor.cc: Ditto.
3936 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
3937 * gdb.cp/mb-inline.h (multi_line_foo): New function.
3938 * gdb.cp/mb-inline1.cc: Call it.
3939 * gdb.cp/mb-inline2.cc: Ditto.
3940 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
3941 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
3942
484086b7
JK
39432009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3944
3945 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
3946 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
3947 Replace all uses of `decimal' by `nonzero'.
3948 (info macro FROM_COMMANDLINE): New test.
3949
379a77b5
TT
39502009-04-27 Tom Tromey <tromey@redhat.com>
3951
3952 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
3953
b92b73c2
DE
39542009-04-27 Doug Evans <dje@google.com>
3955
3956 * gdb.threads/watchthreads.c (main): Initialize args before starting
3957 the threads. Plus formatting cleanup.
3958 * gdb.threads/watchthreads.exp: Avoid errant failures due to
3959 biased scheduling of one thread.
3960
945a118d
JG
39612009-04-27 Jerome Guitton <guitton@adacore.com>
3962
3963 * gdb.cp/templates.cc (GetMax): New template.
3964 (main): Declare two instances of GetMax.
3965 * gdb.cp/templates.exp: Add new test.
3966
d389af10
JK
39672009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3968
3969 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
3970
e7f86de9
JM
39712009-04-22 Joseph Myers <joseph@codesourcery.com>
3972
3973 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
3974
334cc82d
TT
39752009-04-15 Tom Tromey <tromey@redhat.com>
3976
3977 * gdb.base/charset.exp: Add regression test.
3978
d12672cc
JB
39792009-04-14 Joel Brobecker <brobecker@adacore.com>
3980
3981 * gdb.base/exe-lock.exp: New testcase.
3982
18e8c3bc
TT
39832009-04-13 Tom Tromey <tromey@redhat.com>
3984
3985 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
3986 operator on Frame.
3987
5ecd5cbe
UW
39882009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3989
3990 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
3991 * gdb.server/ext-attach.exp: Likewise.
3992
7309f756
VP
39932009-04-03 Vladimir Prus <vladimir@codesourcery.com>
3994
3995 Eliminate some sleep usage.
3996
3997 * gdb.mi/basics.c (do_nothing): New.
3998 (main): Use do_nothing instead of printf, so that
3999 not to introduce race condition between output of
4000 inferiour and output of gdb. Do not use sleep as it
4001 is not generally available on embedded targets.
4002
f4b95f6f
PA
40032009-04-02 Pedro Alves <pedro@codesourcery.com>
4004
4005 * gdb.server/ext-attach.exp: Expect an optional process id after
4006 "Detached from remote process".
4007
de40b933
JK
40082009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4009
4010 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
4011 gdb.dwarf2/dw2-unresolved.exp: New.
4012
2ae101a4
PA
40132009-04-02 Pedro Alves <pedro@codesourcery.com>
4014
4015 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
4016 mi_run_to_main.
4017
56a8e183
PA
40182009-04-02 Pedro Alves <pedro@codesourcery.com>
4019
4020 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
4021 mi_run_to_main. Skip thread exit test on remote targets.
4022 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
4023 mi_run_to_main.
4024 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
4025 mi_run_to_main.
4026 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
4027 when expecting ^connected. Detect when the target doesn't support
4028 non-stop mode.
4029 (mi_run_cmd): Detect if non-stop mode was requested by isn't
4030 supported. Return -1 on error, 0 on success.
4031 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
4032 (mi_runto): Return mi_runto_helper's result explicitly.
4033
c35fafde
PA
40342009-04-01 Pedro Alves <pedro@codesourcery.com>
4035
4036 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
4037
f8a8dce6
JB
40382009-04-01 Tom Tromey <tromey@redhat.com>
4039
4040 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
4041 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
4042 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
4043 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
4044
71c25dea
TT
40452009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
4046 Jan Kratochvil <jan.kratochvil@redhat.com>
4047
4048 PR gdb/931
4049 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
4050 output.
4051 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
4052 for gdb/931.
4053 * dw2-strp.S (DW_AT_language): Change to C++.
4054 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
4055
02d9a9ce
JB
40562009-03-31 Joel Brobecker <brobecker@adacore.com>
4057
4058 * gdb.ada/tasks: New testcase.
4059
1042e4c0
SS
40602009-03-30 Stan Shebs <stan@codesourcery.com>
4061
4062 * gdb.trace/actions.exp: Update to match new info trace format.
4063 * gdb.trace/deltrace.exp: Ditto.
4064 * gdb.trace/infotrace.exp: Ditto.
4065 * gdb.trace/passcount.exp: Ditto.
4066 * gdb.trace/save-trace.exp: Ditto.
4067 * gdb.trace/while-stepping.exp: Ditto.
4068 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
4069
f8f6f20b
TJB
40702009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4071
4072 * gdb.python/python-frame.c: New file.
4073 * gdb.python/python-frame.exp: New file.
4074
c0c6f777
TJB
40752009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
4076
4077 * gdb.python/python-value.exp: Add tests for the address
4078 attribute.
4079
3cb51905
AS
40802009-03-29 Andreas Schwab <schwab@linux-m68k.org>
4081
4082 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
4083
88fc996f
DE
40842009-03-26 Doug Evans <dje@google.com>
4085
4086 * gdb.mi/mi-nonstop-exit.exp: New file.
4087 * gdb.mi/non-stop-exit.c: New file.
4088
56ef84b1
TT
40892009-03-26 Tom Tromey <tromey@redhat.com>
4090
4091 Update for change to prologue skipping:
4092 * gdb.mi/mi2-simplerun.exp: Update.
4093 * gdb.mi/mi2-break.exp: Update.
4094 * gdb.mi/mi-simplerun.exp: Update.
4095 * gdb.mi/mi-break.exp: Update.
4096 * gdb.base/ending-run.exp: Update.
4097
def2b000
TJB
40982009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
4099
4100 * gdb.python/python-value.exp (test_value_in_inferior): Test
4101 gdb.Value.is_optimized_out attribute.
4102
442ddf59
JK
41032009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4104
4105 * gdb.dwarf2/dw2-noloc-main.c: New file.
4106 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
4107 (.text): Remove.
4108 (.data): New.
4109 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
4110 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
4111 (DW_TAG_subprogram func_cu1, noloc): Remove.
4112 (main): New.
4113 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
4114 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
4115 (file_symbols): New procedure.
4116
a8df5de4
TT
41172009-03-25 Tom Tromey <tromey@redhat.com>
4118
4119 * gdb.base/charset.exp (valid_target_charset): New proc.
4120 Use it to skip tests on invalid charsets.
4121
cc1d7add
PM
41222009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
4123
4124 * gdb.base/completion.exp: Add a test for directory completion.
4125
bcd5727b
JK
41262009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4127
4128 Fix a racy FAIL.
4129 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
4130 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
4131
cc924cad
TJB
41322009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
4133
4134 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
4135 * gdb.python/python-function.exp: Add test for function returning
4136 a GDB value.
4137
bc3b79fd
TJB
41382009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
4139
4140 * gdb.python/python-function.exp: New file.
4141
6c7a06a3
TT
41422009-03-20 Tom Tromey <tromey@redhat.com>
4143
4144 * gdb.base/store.exp: Update for change to escape output.
4145 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
4146 to escape output.
4147 * gdb.base/pointers.exp: Update for change to escape output.
4148 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
4149 to escape output.
4150 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
4151 escape output.
4152 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
4153 to escape output.
4154 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
4155 escape output.
4156 * gdb.base/setvar.exp: Update for change to escape output.
4157 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
4158 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
4159 to escape output.
4160 (test_print_string_constants): Likewise.
4161 * gdb.base/charset.exp (valid_host_charset): Check size of
4162 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
4163 cases. Handle "auto"-related output.
4164 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
4165 (uvar, Uvar): New globals.
4166
c31af87b
JG
41672009-03-19 Jerome Guitton <guitton@adacore.com>
4168
4169 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
4170 deltas.
4171 * gdb.ada/fixed_points.exp: Ditto.
4172
51272cf2
PA
41732009-03-18 Pedro Alves <pedro@codesourcery.com>
4174
4175 * return-nodebug.c: Don't include stdio.h.
4176 (init): Delete.
4177 (func): Delete definition and provide extern declaration.
4178 (t): New.
4179 (main): Don't call printf. Call func and store its result in t.
4180 * return-nodebug1.c: New.
4181 * return-nodebug.exp: Don't expect stdio output. Instead, print
4182 the global variable t. Drop printf formatters and cast types from
4183 foreach loop. Don't use prepare_for_testing. Compile
4184 return-nodebug.c and return-nodebug1.c in separate steps. Don't
4185 define FORMAT or CAST.
4186
d24948ac
PP
41872009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4188
4189 * gdb.base/solib-display.exp: Disable test for remote targers.
4190
61ff14c6
JK
41912009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4192
4193 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
4194
cb4dce93
JK
41952009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4196
4197 Fix a racy FAIL.
4198 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
4199 code from `follow parent, print pids'.
4200 (`follow child, print pids', `follow parent, print pids'): Call it.
4201 Replace `gdb_test "break..."' by gdb_breakpoint.
4202
f7c60c5e
VP
42032009-03-13 Vladimir Prus <vladimir@codesourcery.com>
4204
4205 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 4206 sync and async modes.
f7c60c5e 4207
383ace49
JB
42082009-03-12 Joel Brobecker <brobecker@adacore.com>
4209
4210 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
4211 that was checked in by mistake. Remove loading of ada.exp, since
4212 this is not necessary in this case.
4213
4ce102af
JB
42142009-03-12 Joel Brobecker <brobecker@adacore.com>
4215
4216 * gdb.ada/ptype_arith_binop.exp: New testcase.
4217
529a2aef
JB
42182009-03-12 Joel Brobecker <brobecker@adacore.com>
4219
4220 * gdb.ada/mod_from_name: New testcase.
4221
8a38181c
JB
42222009-03-12 Joel Brobecker <brobecker@adacore.com>
4223
4224 * gdb.ada/tick_last_segv: New testcase.
4225
11436dee
VP
42262009-03-12 Vladimir Prus <vladimir@codesourcery.com>
4227
61ff14c6 4228 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 4229
1f31650a
VP
42302009-03-12 Vladimir Prus <vladimir@codesourcery.com>
4231
61ff14c6
JK
4232 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
4233 include the token in ^running and frame info in *stopped.
1f31650a 4234
a3247a22
PP
42352009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4236
4237 * solib-display.exp: New file.
4238 * solib-display-main.c: New file.
4239 * solib-display-lib.c: New file.
61ff14c6 4240
aae64587
PA
42412009-03-05 Pedro Alves <pedro@codesourcery.com>
4242
4243 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
4244
44aabfbc
JK
42452009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4246
4247 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
4248 (list_and_check_macro): Use more specific test name.
4249 (next to definition): Make the test names unique.
4250
c087fcd3
PM
42512009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
4252
4253 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 4254
c86cf029
VP
42552009-02-17 Vladimir Prus <vladimir@codesourcery.com>
4256
4257 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
4258 notifications.
4259 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
4260 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
4261 * lib/mi-support.exp (library_loaded_re): New.
4262 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
4263
3ea85240
VP
42642009-02-17 Vladimir Prus <vladimir@codesourcery.com>
4265
4266 * gdb.gdb/observer.exp: Use test_notification observer, not
4267 normal_stop, everywhere.
4268 (test_normal_stop_notifications): Rename to...
4269 (test_notifications): ...this.
4270 (test_observer_normal_stop): Rename to...
4271 (test_observer): ...this.
4272
1903f0e6
DE
42732009-02-16 Doug Evans <dje@google.com>
4274
4275 * gdb.arch/amd64-disp-step.S (test_int3): New test.
4276 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
4277 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
4278 (test_prefixed_syscall,test_int3): New tests.
4279 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
4280 (test_prefixed_syscall,test_int3): New tests.
4281
1d33d6ba
VP
42822009-02-14 Vladimir Prus <vladimir@codesourcery.com>
4283
3cb51905
AS
4284 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
4285 (mi_expect_interrupt): Likewise.
4286 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
4287 response.
1d33d6ba 4288
faafb047
PM
42892009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
4290
4291 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
4292 * gdb.base/pc-fp.exp (get_valueofx): Remove.
4293 Replace calls to get_valueofx by get_hexadecimal_valueof.
4294
417e16e2
PM
42952009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
4296
4297 * lib/gdb.exp (get_valueof): Accept anything as a return value.
4298 (get_integer_valueof): New procedure.
4299 (get_sizeof): Use new get_integer_value_of.
4300 * gdb.base/sizeof.exp: Replace all uses of get_valueof
4301 by get_integer_valueof.
4302
7065b901
TT
43032009-02-13 Tom Tromey <tromey@redhat.com>
4304
4305 * gdb.base/remote.exp (get_sizeof): Remove.
4306 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
4307 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
4308 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
4309 * lib/gdb.exp (get_valueof): Move from long_long.exp.
4310 (get_sizeof): Likewise.
4311
5d7cb8df
JK
43122009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4313
4314 PR fortran/9806
4315 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
4316
b2febfff
PP
43172009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4318
4319 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
4320
4aa995e1
PA
43212009-02-06 Pedro Alves <pedro@codesourcery.com>
4322
4323 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
4324
d8906c6f
TJB
43252009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
4326
4327 * gdb.python/python-cmd.exp: New file.
4328
ff4ab08d
TG
43292009-02-06 Tristan Gingold <gingold@adacore.com>
4330
4331 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
4332
aacd552b
TG
43332009-02-05 Tristan Gingold <gingold@adacore.com>
4334
4335 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
4336 pointer is dereferenced and use this signal name in regexp.
4337 * gdb.base/signull.exp: Ditto.
4338 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
4339 * gdb.base/signull.c (main): Ditto.
4340
08c637de
TJB
43412009-02-04 Tom Tromey <tromey@redhat.com>
4342 Thiago Jung Bauermann <bauerman@br.ibm.com>
4343
4344 * gdb.python/python-value.exp: Use `gdb.history' instead of
4345 `gdb.value_from_history'.
4346 (test_value_numeric_ops): Add test for conversion of enum constant.
4347 * gdb.python/python-value.c (enum e): New type.
4348 (evalue): New global.
4349 (main): Use argv.
4350
20261af8
JG
43512009-02-04 Jerome Guitton <guitton@adacore.com>
4352
4353 * gdb.ada/uninitialized_vars: New test program.
4354 * gdb.ada/uninitialized_vars.exp: New testcase.
4355
52e44b43
TT
43562009-02-02 Tom Tromey <tromey@redhat.com>
4357
4358 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
4359 * gdb.cp/pr2489.cc: Rename...
4360 * gdb.cp/pr9594.cc: ... to this.
4361
1c71341a
TT
43622009-02-02 Tom Tromey <tromey@redhat.com>
4363
4364 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
4365 * gdb.cp/pr2489.cc: New file.
4366 * gdb.cp/cpcompletion.exp: New file.
4367
a4295225
TT
43682009-02-02 Tom Tromey <tromey@redhat.com>
4369
4370 PR exp/9059:
4371 * gdb.cp/call-c.exp: Add regression test.
4372 * gdb.cp/call-c.cc (FooHandle): New typedef.
4373 (main): New variable 'handle'.
4374
592375cd
VP
43752009-01-30 Vladimir Prus <vladimir@codesourcery.com>
4376
4377 * lib/mi-support.exp (et_mi_thread_list)
4378 (check_mi_and_console_threads): Adjust for current thread in
4379 -thread-list-ids output.
4380
41447f92
VP
43812009-01-30 Vladimir Prus <vladimir@codesourcery.com>
4382
4383 * gdb.mi/mi-break.exp (test_disabled_creation): New.
4384 Call it.
4385
35669430
DE
43862009-01-28 Doug Evans <dje@google.com>
4387
4388 * gdb.arch/amd64-disp-step.S: New file.
4389 * gdb.arch/amd64-disp-step.exp: New file.
4390 * gdb.arch/i386-disp-step.S: New file.
4391 * gdb.arch/i386-disp-step.exp: New file.
4392
09f00d9a
PM
43932009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
4394
4395 * gdb.base/find.exp: Set newline variable
4396 using quotes instead of braces to fix cygwin failures.
4397
1e8fb976
PA
43982009-01-23 Pedro Alves <pedro@codesourcery.com>
4399
4400 * gdb.base/radix.exp: Add tests to ensure that that set
4401 input-radix 0 and set output-radix 0 are really rejected.
4402
da061712
PA
44032009-01-23 Pedro Alves <pedro@codesourcery.com>
4404
4405 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
4406 copyright years.
4407
dd7e2d2b
PA
44082009-01-23 Pedro Alves <pedro@codesourcery.com>
4409
4410 PR gdb/9664:
4411 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
4412
392452f6
PA
44132009-01-22 Pedro Alves <pedro@codesourcery.com>
4414
4415 PR c++/9631:
4416 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
4417
8653e71c
PM
44182009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
4419
4420 * gdb.server/file-transfer.exp: Use EXEEXT variable for
4421 binfile definition to fix Windows OS failure.
4422
a12cc160
DJ
44232009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
4424
4425 PR gdb/9346
4426 * gdb.base/interrupt.c (sigint_handler): New.
4427 (main): Install a SIGINT handler if SIGNALS is defined. Exit
4428 on error.
4429 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
4430 Test "signal SIGINT".
4431
b89667eb
DE
44322009-01-19 Doug Evans <dje@google.com>
4433
4434 * gdb.base/break.exp: Update expected gdb output.
4435 * gdb.base/sepdebug.exp: Ditto.
4436 * gdb.mi/mi-syn-frame.exp: Ditto.
4437 * gdb.mi/mi2-syn-frame.exp: Ditto.
4438 * gdb.base/call-signal-resume.exp: New file.
4439 * gdb.base/call-signals.c: New file.
4440 * gdb.base/unwindonsignal.exp: New file.
4441 * gdb.base/unwindonsignal.c: New file.
4442 * gdb.threads/interrupted-hand-call.exp: New file.
4443 * gdb.threads/interrupted-hand-call.c: New file.
4444 * gdb.threads/thread-unwindonsignal.exp: New file.
4445
adb483fe
DJ
44462009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
4447
4448 * gdb.base/define.exp: Test defining and hooking prefix commands.
4449 * gdb.python/python.exp: Update test for "show user" output.
4450
60023297
JK
44512009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4452
4453 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
4454 now the output exactly, using less wildcards. Expect also the output
4455 of gfortran-4.3. Update for the f-valprint.c modification from
4456 2008-04-22.
4457 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
4458 Remove gdb_test test names where matching the command.
4459
ccc57cf9
PA
44602009-01-01 Pedro Alves <pedro@codesourcery.com>
4461
4462 PR breakpoints/9681:
4463 * gdb.base/watchpoint.exp: Add regression test.
4464
c7a6ca08
PA
44652008-12-31 Pedro Alves <pedro@codesourcery.com>
4466
4467 * gdb.threads/attach-into-signal.exp: Don't use
4468 gdb_suppress_entire_file.
4469 * gdb.threads/attach-stopped.exp: Ditto.
4470 * gdb.threads/attachstop-mt.exp: Ditto.
4471
3a031f65
PA
44722008-12-31 Pedro Alves <pedro@codesourcery.com>
4473
4474 PR gdb/8812:
4475 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
4476
09e6485f
PA
44772008-12-29 Pedro Alves <pedro@codesourcery.com>
4478
4479 PR gdb/7536:
4480 * gdb.base/radix.exp: Add tests to ensure invalid input radices
4481 and unsupported output radices are really rejected.
4482
0cd53049
JK
44832008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4484
4485 * gdb.cp/punctuator.exp: Backslash the '$' signs.
4486
ba163c7e
TT
44872008-12-22 Tom Tromey <tromey@redhat.com>
4488
4489 * gdb.cp/punctuator.exp: New file.
4490
6f4de6c9
JK
44912008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4492
4493 * gdb.base/completion.exp (Completing non-existing component): New test.
4494
0f34d0b4
JK
44952008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4496
4497 Fix for PR gdb/8648.
4498 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
4499 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
4500 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
4501 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
4502
db2ad4c3
JK
45032008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4504
4505 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
4506
bb5ef15e
DP
45072008-12-16 Christophe Lyon <christophe.lyon@st.com>
4508
4509 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
4510 compiler actually generate code at the expected line number.
4511
90142adc
JZ
45122008-12-15 Jie Zhang <jie.zhang@analog.com>
4513
4514 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
4515
fad6eecd
TT
45162008-12-12 Tom Tromey <tromey@redhat.com>
4517
4518 * gdb.base/commands.exp (redefine_hook_test): New proc.
4519 Call it.
4520
17c8aaf5
TT
45212008-12-11 Tom Tromey <tromey@redhat.com>
4522
4523 * gdb.base/macscp.exp: New regression test.
4524
7c8adf68
TT
45252008-12-11 Tom Tromey <tromey@redhat.com>
4526
4527 * gdb.base/macscp.exp: Print "address.addr".
4528 * gdb.base/macscp1.c (struct outer): New struct.
4529 (address): New global.
4530
b05dcbb7
TT
45312008-12-09 Tom Tromey <tromey@redhat.com>
4532
4533 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
4534 Call it.
4535
2d476de1
DE
45362008-12-04 Doug Evans <dje@google.com>
4537
4538 * gdb.server/ext-run.exp: Relax regexp for init program.
4539
87bdc959
TG
45402008-12-03 Tristan Gingold <gingold@adacore.com>
4541
4542 * gdb.base/macscp.exp: Generate an object file during compilation
4543 to work around Darwin dsymutil limitations.
4544
e0740f77
JK
45452008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4546
4547 Test resolving external references to TLS variables.
4548 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
4549 FILE2_THREAD_LOCAL.
4550 (testfile2, srcfile2): New variables.
4551 * gdb.threads/tls.c (file2_thread_local)
4552 (function_referencing_file2_thread_local): New.
4553 * gdb.threads/tls2.c: New file.
4554
67f0aac5
JB
45552008-11-28 Joel Brobecker <brobecker@adacore.com>
4556
4557 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
4558 rather than integer, as integer might not be big enough when
4559 on 64bit targets.
67f0aac5 4560
c332165e
JG
45612008-11-27 Jerome Guitton <guitton@adacore.com>
4562
4563 * gdb.cp/formatted-ref.exp: Add equality test.
4564 * gdb.ada/formatted_ref.exp: Ditto.
4565
fc9b693c
JK
45662008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4567
4568 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
4569 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
4570
a9c64011
AS
45712008-11-20 Andreas Schwab <schwab@suse.de>
4572
4573 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
4574 matching syscall entry point.
4575 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4576 (tcatch_vfork_then_child_follow): Likewise. Finish through
4577 vfork even if we stopped at the syscall trampoline.
4578
e2fd701e
DE
45792008-11-20 Doug Evans <dje@google.com>
4580
4581 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
4582
69abc51c
TJB
45832008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
4584
4585 * gdb.arch/ppc-dfp.exp: New file.
4586 * gdb.arch/ppc-dfp.c: New file.
4587
c14c28ba
PP
45882008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4589
4590 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 4591
2e74121d
DE
45922008-11-17 Doug Evans <dje@google.com>
4593
4594 * gdb.mi/mi-syn-frame.exp: Update expected output.
4595 * gdb.mi/mi2-syn-frame.exp: Update expected output.
4596
66bb093b
VP
45972008-11-17 Vladimir Prus <vladimir@codesourcery.com>
4598
4599 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
4600 "thread N" results in =thread-selected.
4601 * lib/mi-support (mi_run_cmd, mi_expect_stop)
4602 (mi_send_resuming_command_raw): Be prepared for
4603 =thread-selected.
4604
3d043ef6
VP
46052008-11-17 Vladimir Prus <vladimir@codesourcery.com>
4606
a9c64011
AS
4607 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
4608 * lib/mi-support.exp: Likewise.
3d043ef6 4609
808104c8
JB
46102008-11-16 Joel Brobecker <brobecker@adacore.com>
4611
4612 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
4613 commands from the expected output for "help catch".
4614
00b22944
JB
46152008-11-15 Joel Brobecker <brobecker@adacore.com>
4616
4617 * gdb.ada/int_deref.exp: New testcase.
4618
59669435
TT
46192008-11-14 Nick Roberts <nickrob@snap.net.nz>
4620
4621 * gdb.mi/gdb2549.exp: New file.
4622
de04a248
DE
46232008-11-11 Doug Evans <dje@google.com>
4624
4625 * gdb.base/callexit.exp: New file.
4626 * gdb.base/callexit.c: New file.
4627
6b8ce727
DE
46282008-11-10 Doug Evans <dje@google.com>
4629
4630 * lib/gdb.exp (GDBFLAGS): Move -nx ...
4631 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
4632 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
4633 (default_gdb_start,default_gdb_exit): Ditto.
4634 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
4635 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
4636 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
4637 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
4638 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
4639 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
4640
1b14b8aa
AS
46412008-11-03 Andreas Schwab <schwab@suse.de>
4642
4643 * gdb.base/hashline2.exp: Fix typo.
4644 * gdb.base/hashline3.exp: Likewise.
4645
f3134b88
TT
46462008-10-30 Tom Tromey <tromey@redhat.com>
4647
4648 * gdb.base/pointers.exp: Add test.
4649 * gdb.base/pointers.c (k, S): New typedefs.
4650 (instance): New global.
4651
c2226152
AS
46522008-10-30 Andreas Schwab <schwab@suse.de>
4653
4654 * gdb.base/args.exp: Add tests for newlines.
4655
462f405c
JB
46562008-10-30 Joel Brobecker <brobecker@adacore.com>
4657
4658 gdb.base/foll-exec.exp: Update the expected output of a couple
4659 of "info breakpoints" tests.
4660
79a45b7d
TT
46612008-10-28 Tom Tromey <tromey@redhat.com>
4662
4663 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
4664
adc13a14
PA
46652008-10-24 Pedro Alves <pedro@codesourcery.com>
4666
4667 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
4668 gdb_start_cmd.
4669 Use runto_main before any test that requires execution.
4670
252fbfc8
PA
46712008-10-23 Pedro Alves <pedro@codesourcery.com>
4672
4673 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
4674 instead of SIGINT.
4675
28148e3d
JB
46762008-10-22 Joel Brobecker <brobecker@adacore.com>
4677
4678 * gdb.base/completion.exp: Update expected output following
4679 the addition of the "info tasks" command.
4680
c209f847
TT
46812008-10-22 Tom Tromey <tromey@redhat.com>
4682
4683 * gdb.base/exprs.exp (test_expr): Add test for string
4684 concatenation.
4685
f177e350
PA
46862008-10-19 Pedro Alves <pedro@codesourcery.com>
4687
4688 * configure.ac: Output gdb.python/Makefile.
4689 * configure: Regenerate.
4690 * gdb.python/Makefile.in: New.
4691
cce89356
JB
46922008-10-16 Joel Brobecker <brobecker@adacore.com>
4693
4694 * gdb.base/foll-fork.exp: Adjust the expected output to match
4695 the new description for fork/vfork catchpoints in the "info
4696 breakpoints" output.
4697
176d289d
TJB
46982008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4699
4700 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
4701
a08702d6
TJB
47022008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
4703
4704 * gdb.python/python-value.c: New file.
4705 * gdb.python/python-value.exp: New file.
4706
1c5cfe86
PA
47072008-10-15 Pedro Alves <pedro@codesourcery.com>
4708
4709 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
4710
5a98ad69
DP
47112008-10-15 Denis Pilat <denis.pilat@st.com>
4712
41702f1b 4713 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 4714
dcb1a1e2
TT
47152008-10-09 Tom Tromey <tromey@redhat.com>
4716
4717 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
4718 'fprintf' and 'stderr'.
4719
9124fe48
JB
47202008-10-07 Joel Brobecker <brobecker@adacore.com>
4721
4722 * gdb.ada/ref_tick_size.exp: New testcase.
4723
45452591
DE
47242008-10-06 Doug Evans <dje@google.com>
4725
4726 * gdb.dwarf2/dw2-cu-size.exp: New file.
4727 * gdb.dwarf2/dw2-cu-size.S: New file.
4728
4729 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
4730 .Ltype_int for clarity.
4731
4fc5b208
PP
47322008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4733
4734 PR gdb/2384:
4735 * gdb.cp/gdb2384.exp: Extended to test more cases.
4736 * gdb.cp/gdb2384.cc: Likewise.
4737 * gdb.cp/gdb2384-base.h: Likewise.
4738 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 4739
d78df370
JK
47402008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4741
4742 * gdb.base/maint.exp (maint print type): Remove printing
4743 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
4744
9a044a89
TT
47452008-09-30 Tom Tromey <tromey@redhat.com>
4746
4747 * gdb.base/macscp.exp: Add completion tests.
4748 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
4749 (TWENTY_THREE): Likewise.
4750 (FORTY_EIGHT): Likewise.
4751
506800a9
TT
47522008-09-30 Tom Tromey <tromey@redhat.com>
4753
4754 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
4755 everywhere.
4756 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
4757
1a6f01b5
JK
47582008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4759
4760 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
4761 testcase is derived from. Fix racy dependency on an expected PID
4762 number. No longer support the testcase on Linux kernel 2.4.x.
4763
2fae03e8
TT
47642008-09-27 Tom Tromey <tromey@redhat.com>
4765
4766 * gdb.base/macscp.exp: Add tests for stringification, splicing,
4767 and varargs.
4768
1ad15515
PA
47692008-09-22 Pedro Alves <pedro@codesourcery.com>
4770
4771 * lib/mi-support.exp (mi_expect_interrupt): New.
4772 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
4773 from gdb.mi/mi-nonstop.exp.
4774 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
4775 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
4776 lib/mi-support.exp.
4777 Use mi_check_thread_states throughout. Avoid ".*" and do not
4778 require an anchor after -exec-run.
4779
d0b76dc6
DJ
47802008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
4781
4782 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
4783 stop is pending. Avoid ".*" when two stops are pending.
4784 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
4785 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
4786 newlines in fullnames.
4787 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
4788 (mi_expect_stop): Update comments. Only anchor in sync mode.
4789 Do not match newlines.
4790 (mi_send_resuming_command_raw): Always return status.
4791 (mi_get_stop_line): Do not match more than one line by accident.
4792 Only anchor in sync mode.
4793 (mi_run_inline_test): If -exec-next fails, give up.
4794
9990c830
UW
47952008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4796
4797 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
4798 on SPU.
4799
ebcf6f00
JB
48002008-09-10 Joel Brobecker <brobecker@adacore.com>
4801
4802 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
4803
b6db24e5
JB
48042008-09-10 Joel Brobecker <brobecker@adacore.com>
4805
4806 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
4807 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4808 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
4809 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4810 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
4811 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
4812 gdb.ada/interface.exp, gdb.ada/null_array.exp,
4813 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4814 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4815 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4816 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
4817 Include the "= " sequence in the expected output of print tests.
4818
2bf448e0
JB
48192008-09-10 Joel Brobecker <brobecker@adacore.com>
4820
4821 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
4822 description for boolean types.
4823
d51fd4c8
PA
48242008-09-09 Pedro Alves <pedro@codesourcery.com>
4825
4826 * gdb.base/hook-stop-continue.c: New.
4827 * gdb.base/hook-stop-continue.exp: New.
4828
694182d2
DJ
48292008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4830
4831 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
4832
3b8a7fc0
JG
48332008-09-08 Jerome Guitton <guitton@adacore.com>
4834
4835 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
4836 (stack_check_probe_2, stack_check_probe_loop_1)
4837 (stack_check_probe_loop_2): New functions.
4838 (main): Add call to these new functions.
4839 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
4840 functions, check that the breakpoint is inserted at the appropriate
4841 location.
4842 (insert_breakpoint): Slightly refine this procedure so that it can
4843 be called several times in the test.
4844
96cc0ae8
JG
48452008-09-08 Jerome Guitton <guitton@adacore.com>
4846
4847 * gdb.base/stack-checking.c: New file.
4848 * gdb.base/stack-checking.exp: New file.
4849
1f08b409
TJB
48502008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
4851
4852 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
4853 * gdb.arch/altivec-regs.exp: Likewise.
4854 * gdb.arch/vsx-regs.exp: Likewise.
4855
3099e1c4
TJB
48562008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
4857
4858 * gdb.arch/ppc-fp.exp: New file.
4859 * gdb.arch/ppc-fp.c: New file.
4860
cc69bfc1
PP
48612008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4862
4863 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
4864 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 4865
b02a33db
MS
48662008-09-04 Michael Snyder <msnyder@vmware.com>
4867
4868 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
4869 as "at" (for non-debug functions such as _start).
4870
2992cbe0
UW
48712008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4872
4873 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
4874 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
4875 software watchpoints.
4876 * gdb.base/watch_thread_num.exp: Likewise.
4877
514f746b
AR
48782008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
4879
4880 * gdb.arch/i386-bp_permanent.exp: New test.
4881
876cecd0
TT
48822008-08-24 Tom Tromey <tromey@redhat.com>
4883
4884 * gdb.base/maint.exp: Update "maint print type".
4885
80f73d71
VP
48862008-08-21 Vladimir Prus <vladimir@codesourcery.com>
4887
4888 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
4889 support. Adjust the order of "*running" notifications.
4890 * gdb.mi/non-stop.c: Don't cast from int to void* and
4891 back.
4892
d9c78d7d
MK
48932008-08-20 Mark Kettenis <kettenis@gnu.org>
4894
4895 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
4896 expect to find it in the "info frame" output.
4897
97a2d1d3
DJ
48982008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
4899
4900 * gdb.base/interp.exp: Always consume both prompts.
4901
b96e2927
PA
49022008-08-20 Pedro Alves <pedro@codesourcery.com>
4903
4904 * gdb.base/pending.exp: Test pending breakpoints without symbols
4905 loaded.
4906
8cf6e61a
VP
49072008-08-19 Vladimir Prus <vladimir@codesourcery.com>
4908
4909 * lib/mi-support.exp (mi_expect_stop): Produce
4910 more details on failures.
4911 * gdb.mi/mi-nonstop.exp: New.
4912 * gdb.mi/non-stop.c: New.
4913
c6ebd6cf
VP
49142008-08-19 Vladimir Prus <vladimir@codesourcery.com>
4915
a9c64011
AS
4916 * gdb.mi/mi-async.exp: Use 'set target-async'.
4917 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 4918
46a9b8ed
DJ
49192008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
4920
4921 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
4922
44feb3ce
TT
49232008-08-17 Tom Tromey <tromey@redhat.com>
4924
4925 * gdb.base/help.exp (help catch): Rewrite.
4926
311a4e6b
TJB
49272008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
4928
4929 * gdb.base/define.exp: Test indented command documentation.
4930 * gdb.python/python.exp: Test indented multi-line command.
4931
604c2f83
LM
49322008-08-15 Luis Machado <luisgpm@br.ibm.com>
4933
4934 * testsuite/gdb.arch/vsx-regs.c: New source file.
4935 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
4936 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
4937
886a217c
TT
49382008-08-14 Tom Tromey <tromey@redhat.com>
4939
4940 * gdb.base/macscp.exp: Add regression test for "macro define" or
4941 "macro undef" with no arguments.
4942
c814a4f3
PP
49432008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4944
4945 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 4946
12ab8a60
UW
49472008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4948
4949 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
4950
d57a3c85
TJB
49512008-08-06 Tom Tromey <tromey@redhat.com>
4952
4953 * gdb.python/python.exp: New file.
4954
c7b778ff
JK
49552008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4956
4957 Fix for PR gdb/1543.
4958 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
4959 $LOCATION.
4960 (location): New variable.
4961 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
4962 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
4963 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
4964 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
4965 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
4966 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
4967 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
4968 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
4969 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
4970 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
4971 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
4972 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
4973 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
4974 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
4975 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4976 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
4977 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
4978 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
4979 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
4980 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4981 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
4982 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
4983 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
4984 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
4985 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
4986 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
4987 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
4988 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
4989 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
4990 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
4991 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
4992 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
4993 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
4994 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
4995 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
4996 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
4997 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
4998 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4999 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
5000 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
5001 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
5002 gdb.base/type-opaque.exp, gdb.base/until.exp,
5003 gdb.base/value-double-free.c, gdb.base/varargs.exp,
5004 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
5005 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
5006 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5007 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
5008 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
5009 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5010 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5011 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
5012 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
5013 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
5014 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
5015 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
5016 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
5017 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
5018 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
5019 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5020 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
5021 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
5022 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
5023 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
5024 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
5025 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
5026 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
5027 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
5028 gdb.pascal/types.exp, gdb.stabs/weird.exp,
5029 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
5030 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
5031 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
5032 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
5033 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
5034 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
5035 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5036 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5037 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5038 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5039 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5040 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5041 lib/mi-support.exp, lib/trace-support.exp: Remove reference
5042 to bug-gdb@prep.ai.mit.edu .
5043
5e06a3d1
VP
50442008-07-31 Vladimir Prus <vladimir@codesourcery.com>
5045
5046 * lib/mi-support.exp (mi_load_shlibs): New.
5047 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
5048
9d81d21b
VP
50492008-07-30 Vladimir Prus <vladimir@codesourcery.com>
5050
5051 * lib/mi-support.exp (get_mi_thread_list)
5052 (check_mi_and_console_threads): New, moved from ...
5053 * gdb.mi/mi-pthread.exp: ...here.
5054 * gdb.mi/gdb669.exp (get_mi_thread_list)
5055 (check_mi_and_console_threads): Delete.
5056 * gdb.mi/mi2-pthread.exp: Likewise.
5057
bae98fe0
TT
50582008-07-28 Tom Tromey <tromey@redhat.com>
5059
5060 * Makefile.in (just-check): Remove. Move body to...
5061 (check): ... here.
5062
57380f4e
DJ
50632008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5064
5065 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
5066 Add a test for duplicated SIGINTs.
5067
e09490f1
DJ
50682008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5069
5070 * gdb.threads/schedlock.exp (get_args): Update to work for any
5071 value of NUM.
5072 (Top level): Report the number of threads that did not resume.
5073
6387b45f
DJ
50742008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5075
5076 * gdb.dwarf2/dw2-compressed.S: Also define __start.
5077
62f64ff2
DJ
50782008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5079
5080 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
5081 non-MI prompt.
5082
fa8de41e
TT
50832008-07-26 Tom Tromey <tromey@redhat.com>
5084
5085 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
5086 (function_struct, function_struct_ptr): New globals.
5087 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
5088 function pointer in a struct.
5089
ccb3ac8a
TT
50902008-07-26 Tom Tromey <tromey@redhat.com>
5091
5092 * gdb.base/macscp.exp: Add test for macro lexing bug.
5093
d7d9f01e
TT
50942008-07-18 Tom Tromey <tromey@redhat.com>
5095
5096 * gdb.base/macscp.exp: Add macro tests.
5097
9bf07184
PP
50982008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5099
5100 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
5101
becf6477
PP
51022008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5103
5104 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
5105
0709f7d3
PP
51062008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
5107
5108 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 5109
7093c834
PP
51102008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5111
5112 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 5113
b432ffe3
JK
51142008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5115
5116 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
5117
b1a268e5
VP
51182008-07-12 Vladimir Prus <vladimir@codesourcery.com>
5119
5120 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
5121
e2995f8e
KB
51222008-07-11 Kevin Buettner <kevinb@redhat.com>
5123
5124 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
5125 of regexp to account for changes made to GDB in the printing of
5126 byte vectors.
5127
14032a66
TT
51282008-07-11 Tom Tromey <tromey@redhat.com>
5129
5130 * gdb.base/completion.exp: Add 'help' completion test.
5131
981505ef
JK
51322008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5133
5134 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
5135
10568435
JK
51362008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5137
5138 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
5139
4487aabf
PA
51402008-07-09 Pedro Alves <pedro@codesourcery.com>
5141
5142 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
5143
a4a9b1c4
PA
51442008-07-09 Pedro Alves <pedro@codesourcery.com>
5145
5146 * gdb.base/fullname.exp: Restore pwd if compiling failed.
5147
3c3185ac
JK
51482008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5149
5150 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
5151
7ebd49dc
VP
51522008-06-28 Vladimir Prus <vladimir@codesourcery.com>
5153
5154 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
5155 previous commit. Add a comment.
5156
84e46146
PA
51572008-06-28 Pedro Alves <pedro@codesourcery.com>
5158
5159 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
5160
0f8d4a2f
VP
51612008-06-28 Vladimir Prus <vladimir@codesourcery.com>
5162
5163 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
5164
f747e0ce
PA
51652008-06-27 Pedro Alves <pedro@codesourcery.com>
5166
5167 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
5168 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
5169 compiling an executable, link in an object that forces unbuffered
5170 output.
5171 * lib/set_unbuffered_mode.c: New file.
5172
734a5c36
JK
51732008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5174
5175 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
5176
a2840c35
VP
51772008-06-25 Vladimir Prus <vladimir@codesourcery.com>
5178
a9c64011
AS
5179 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
5180 mi_expect_stop.
5181 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
5182 Demand that *running is output.
5183 (detect_async): Perform checking every time.
5184 (mi_send_resuming_command): Extract everything into...
5185 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
5186 (mi_expect_stop): Don't accept any output before *stopped.
5187
6ae37fef
VP
51882008-06-13 Vladimir Prus <vladimir@codesourcery.com>
5189
5190 Robustify mi-simplerun.
a9c64011
AS
5191 * gdb.mi/basics.c (main): Add a call to sleep.
5192 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
5193 * gdb.mi/mi2-cli.exp: Likewise.
5194 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 5195
b4aa76f0 51962008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
5197
5198 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
5199
e1ac3328
VP
52002008-06-10 Vladimir Prus <vladimir@codesourcery.com>
5201
a9c64011
AS
5202 * gdb.mi/mi-console.exp: Adjust.
5203 * gdb.mi/mi-syn-frame.exp: Adjust.
5204 * gdb.mi/mi2-console.exp: Adjust.
5205 * gdb.mi/mi2-syn-frame.exp: Adjust.
5206 * lib/mi-support.exp (mi_run_cmd): Adjust.
5207 (mi_send_resuming_command): Adjust.
e1ac3328 5208
f7f9a841
VP
52092008-06-10 Vladimir Prus <vladimir@codesourcery.com>
5210
5211 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
5212 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
5213 testing of stopped.
5214 * gdb.mi/mi2-syn-frame.exp: Likewise.
5215 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
5216 (async, detect_async): New.
5217 (mi_expect_stop, mi_continue_to_line): Adjust expectation
5218 depending on if we're running in sync or async mode.
f7f9a841 5219
37cd5d19
TT
52202008-06-09 Tom Tromey <tromey@redhat.com>
5221
5222 * gdb.base/completion.exp: New tests for field name completion
5223 with spaces, and field name completion with '->'.
5224
65d12d83
TT
52252008-06-06 Tom Tromey <tromey@redhat.com>
5226
5227 * gdb.base/break1.c (struct some_struct): New struct.
5228 (values): New global.
5229 * gdb.base/completion.exp: Add field name completion test.
5230
ebfe2e3f
PP
52312008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5232
5233 * gdb.cp/call-c.exp: Test for incorrect handling of reference
5234 to pointer.
5235 * gdb.cp/call-c.cc: Likewise.
5236
bcf6fc3a
NR
52372008-06-06 Nick Roberts <nickrob@snap.net.nz>
5238
5239 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
5240 annotation.
5241
49fd4a42 52422008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 5243 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
5244
5245 * gdb.threads/execl.c, gdb.threads/execl1.c,
5246 gdb.threads/execl.exp: New tests.
a9c64011 5247
8a34ac3f
AR
52482008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
5249 Daniel Jacobowitz <dan@codesourcery.com>
5250
5251 * gdb.cp/exception.exp: Activate test, make it work with pending
5252 catchpoints.
5253
86ae69ef
JK
52542008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5255
5256 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
5257
f7f9ae2c
VP
52582008-05-28 Vladimir Prus <vladimir@codesourcery.com>
5259
a9c64011
AS
5260 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
5261 now printed.
5262 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 5263
2a2d4dc3
AS
52642008-05-27 Andreas Schwab <schwab@suse.de>
5265
5266 * gdb.base/frame-args.exp: Handle arguments that are optimized
5267 out.
5268
5099e4d9
LM
52692008-05-26 Luis Machado <luisgpm@br.ibm.com>
5270
5271 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
5272 quiet for ppc32 and group options into a single variable.
5273
d9c36a91
JB
52742008-05-23 Joel Brobecker <brobecker@adacore.com>
5275
5276 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
5277 of zero-size elements.
5278 * gdb.ada/null_array.exp: Test printing this new array.
5279
103a8671
JK
52802008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5281
5282 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
5283
07a4cc1a 52842008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
5285
5286 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
5287 of the "finish" command.
5288
55f996a7
NR
52892008-05-21 Nick Roberts <nickrob@snap.net.nz>
5290
5291 * gdb.base/annota1.exp: Test for new annotation.
5292
907fc202
UW
52932008-05-16 Pedro Alves <pedro@codesourcery.com>
5294
5295 * gdb.base/fixsection.exp: New file.
5296 * gdb.base/fixsection0.c: New file.
5297 * gdb.base/fixsection1.c: New file.
5298
e8f97270
UW
52992008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5300
5301 * gdb.base/annota1.exp: Accept printf@... in place of printf.
5302 * gdb.base/annota3.exp: Likewise.
5303
ac0bb574
NF
53042008-05-13 Nathan Froyd <froydnj@codesourcery.com>
5305
5306 * gdb.base/watch_thread_num.exp: Don't run tests that require
5307 watchpoints if the target doesn't support them.
5308
6fadd07a
DE
53092008-05-12 Doug Evans <dje@google.com>
5310
5311 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
5312
6e9a4a30
JB
53132008-05-09 Joel Brobecker <brobecker@adacore.com>
5314
5315 * gdb.ada/assign_1.exp: New testcase.
5316
08388c79
DE
53172008-05-09 Doug Evans <dje@google.com>
5318
a3c83fae
DE
5319 * gdb.base/find.exp: New file.
5320 * gdb.base/find.c: New file.
08388c79 5321
bd5ddfe8
DJ
53222008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
5323
5324 * gdb.base/commands.exp (watchpoint_command_test): Handle
5325 gdb,no_hardware_watchpoints.
5326 * gdb.base/float.exp: Allow ARM targets without floating point.
5327 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
5328
b5dd68e2 53292008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 5330 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
5331
5332 * gdb.ada/lang_switch: New test program.
5333 * gdb.ada/lang_switch.exp: New testcase.
5334
382d13d1
DE
53352008-05-05 Doug Evans <dje@google.com>
5336
5337 * gdb.base/help.exp (disassemble): Update expected help text.
5338
9dd789d0
PA
53392008-05-04 Pedro Alves <pedro@codesourcery.com>
5340
5341 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
5342
611c83ae
PA
53432008-05-04 Pedro Alves <pedro@codesourcery.com>
5344
5345 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
5346 different times.
5347
ff013f42
JK
53482008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5349
5350 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
5351 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
5352 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
5353 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
5354
96dff6a2
VP
53552008-05-04 Vladimir Prus <vladimir@codesourcery.com>
5356
5357 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
5358 notification to appear.
5359
55cd6f92
DJ
53602008-05-04 Daniel Jacobowitz <dan@debian.org>
5361
5362 * gdb.base/fullname.c: New file.
5363 * gdb.base/fullname.exp: New file.
5364 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
5365
d705c43c
PA
53662008-05-03 Pedro Alves <pedro@codesourcery.com>
5367
5368 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
5369 expressions with macros.
5370
333222e1
JK
53712008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5372
5373 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
5374
5ac01682
DJ
53752008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
5376
5377 * gdb.base/completion.exp: Handle lack of other symbols beginning
5378 with "a".
5379
5380 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
5381
237fc4c9
PA
53822008-05-02 Jim Blandy <jimb@codesourcery.com>
5383
5384 * gdb.asm/asmsrc1.s: Add scratch space.
5385
ed5e9466
DJ
53862008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5387 Daniel Jacobowitz <dan@codesourcery.com>
5388
5389 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
5390 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
5391 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
5392
b39cc962
DJ
53932007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
5394
5395 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
5396
36d520f5
JB
53972008-05-01 Joel Brobecker <brobecker@adacore.com>
5398
5399 * gdb.base/info-target.exp: New testcase.
5400
8d4e3071
DJ
54012008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
5402
5403 * gdb.cp/hang.exp: Use .cc instead of .C.
5404 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
5405 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
5406
6f3f3097
DJ
54072008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
5408
5409 * gdb.base/gdb1250.exp: Remove perror.
5410 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
5411
5550a914
PA
54122008-04-30 Pedro Alves <pedro@codesourcery.com>
5413
5414 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
5415 .2byte.
5416
d848e687
DJ
54172008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
5418
5419 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
5420 (maybe_kfail): New.
5421
93b5768b
PA
54222008-04-25 Pedro Alves <pedro@codesourcery.com>
5423
5424 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
5425
721c02de
VP
54262008-04-24 Vladimir Prus <vladimir@codesourcery.com>
5427
a9c64011
AS
5428 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
5429 * gdb.mi/mi2-syn-frame.exp: Likewise.
5430 * lib/mi-support.exp: Likewise.
721c02de 5431
74960c60
VP
54322008-04-24 Vladimir Prus <vladimir@codesourcery.com>
5433
5434 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
5435 to specify regexp for the location to stop at.
5436 * gdb.base/break-always.c: New.
5437 * gdb.base/break-always.exp: New.
5438
d24317b4
VP
54392008-04-24 Vladimir Prus <vladimir@codesourcery.com>
5440
5441 * lib/mi-support.exp (mi_runto_helper): Adjust
5442 for the original-location field.
5443 (mi_create_breakpoint, mi_list_breakpoints): New.
5444 * gdb.mi/mi-break.exp: Adjust.
5445 * gdb.mi/mi2-break.exp: Adjust.
5446 * gdb.mi/mi-pending.exp: Adjust.
5447 * gdb.mi/mi-simplerun.exp: Adjust.
5448 * gdb.mi/mi2-simplerun.exp: Adjust.
5449 * gdb.mi/mi-syn-frame.exp: Adjust.
5450 * gdb.mi/mi2-syn-frame.exp: Adjust.
5451 * gdb.mi/mi-until.exp: Adjust.
5452 * gdb.mi/mi2-until.exp: Adjust.
5453 * gdb.mi/mi-var-display.exp: Adjust.
5454 * gdb.mi/mi2-var-display.exp: Adjust.
5455 * gdb.mi/mi-watch.exp: Adjust.
5456 * gdb.mi/mi2-watch.exp: Adjust.
5457
fdc59709 54582008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 5459
a9c64011
AS
5460 * aclocal.m4: Add override.m4.
5461 * configure: Regenerate.
fdc59709 5462
8e91f023
VP
54632008-04-19 Vladimir Prus <vladimir@codesourcery.com>
5464
5465 * gdb.mi/var-cmd.c (do_at_tests): Verify that
5466 '-var-update --all-values' reports new value even the type
5467 of a variable object has changed.
5468
233a11ab
CS
54692008-04-18 Craig Silverstein <csilvers@google.com>
5470
5471 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
5472 files.
d24317b4 5473
9c1137ad
JB
54742008-04-18 Joel Brobecker <brobecker@adacore.com>
5475
5476 * gdb.ada/atomic_enum: New test program.
5477 * gdb.ada/atomic_enum.exp: New testcase.
5478
66d0bbc7
DE
54792008-04-17 Doug Evans <dje@google.com>
5480
5481 * gdb.opt/Makefile.in: Fix whitespace.
5482
100906b0
UW
54832008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
5484
5485 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
5486
4584e32e
DE
54872008-04-17 Doug Evans <dje@google.com>
5488
5489 * gdb.base/hashline1.exp: New testcase.
5490 * gdb.base/hashline2.exp: New testcase.
5491 * gdb.base/hashline2.exp: New testcase.
5492
0a320680
PA
54932008-04-17 Pedro Alves <pedro@codesourcery.com>
5494
5495 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
5496
18ac113b
AR
54972008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
5498
5499 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
5500 temporary breakpoint to match "Temporary breakpoint".
5501 * gdb.base/break.exp (delete_breakpoints): Likewise.
5502 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
5503 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
5504 * gdb.base/display.exp: Likewise.
5505 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
5506 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
5507 * gdb.base/restore.exp (restore_tests): Likewise.
5508 * gdb.base/sepdebug.exp: Likewise.
5509 * gdb.base/watchpoint.exp: Likewise.
5510 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
5511 * gdb.mi/mi-pending.exp: Likewise.
5512 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
5513 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
5514 * gdb.mi/mi-var-cmd.exp: Likewise.
5515 * gdb.mi/mi-var-display.exp: Likewise.
5516 * gdb.mi/mi2-cli.exp: Likewise.
5517 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
5518 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
5519 * gdb.mi/mi2-var-display.exp: Likewise.
5520 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
5521 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
5522 new "disp" field.
a9c64011 5523 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
5524 reason. This is to support fix for PR2424.
5525
add38693
JK
55262008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5527
5528 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
5529
fcacd99f
VP
55302008-04-13 Vladimir Prus <vladimir@codesourcery.com>
5531
5532 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 5533 field. Add more floating varobj tests.
fcacd99f 5534 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
5535 field.
5536 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
5537 (main): Call do_at_tests.
5538 * lib/mi-support.exp (mi_create_floating_varobj)
5539 (mi_varobj_update_with_type_change): New.
fcacd99f 5540
de051565
MK
55412008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
5542
5543 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
5544 option of -var-evaluate-expression.
5545 * gdb.mi/mi2-var-display.exp: Likewise.
5546
dbc52822
VP
55472008-04-07 Vladimir Prus <vladimir@codesourcery.com>
5548
5549 Introduce test setup helpers.
a9c64011
AS
5550 * lib/gdb.exp (build_executable, clean_restart)
5551 (prepare_for_testing): New.
5552 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
5553 * gdb.base/return.exp: Likewise.
5554 * gdb.base/ending-run.exp: Likewise.
dbc52822 5555
473591da
NR
55562008-04-07 Nick Roberts <nickrob@snap.net.nz>
5557
5558 * gdb.mi/mi-async.exp: New test for asynchronous Machine
5559 Interface (MI) responses.
5560
2b2d9e11
VP
55612008-04-06 Vladimir Prus <vladimir@codesourcery.com>
5562
a9c64011
AS
5563 * gdb.cp/breakpoint.cc: New code to test conditions involving
5564 member variables.
5565 * gdb.cp/breakpoint.exp: Test condition involving member
5566 variables.
2b2d9e11 5567
bb378428
VP
55682008-04-05 Vladimir Prus <vladimir@codesourcery.com>
5569
5570 * lib/mi-support.exp (mi_expect_stop): New.
5571 (mi_run_cmd): Change the
5572 token. Use mi_send_resuming_command, use
5573 mi_expect_stop.
5574 (mi_execute_to_helper): Rename to mi_execute_to.
5575 (mi_send_resuming_command): Add more error patterns.
5576 (mi_wait_for_stop): Renamed to...
5577 (mi_get_stop_line): ...this.
5578 (mi_run_inline_test): Adjust.
5579
5580 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
5581 * gdb.mi/mi-console.exp: Likewise.
5582 * gdb.mi/mi-pending.exp: Likewise.
5583 * gdb.mi/mi-simplerun.exp: Likewise.
5584 * gdb.mi/mi-stack.exp: Likewise.
5585 * gdb.mi/mi-stepi.exp: Likewise.
5586 * gdb.mi/mi-syn-frame.exp: Add comment.
5587 * gdb.mi/mi-until.exp: Likewise.
5588 * gdb.mi/mi-var-display.exp: Likewise.
5589 * gdb.mi/mi-watch.exp: Likewise.
5590 * gdb.mi/mi2-cli.exp: Likewise.
5591 * gdb.mi/mi2-console.exp: Likewise.
5592 * gdb.mi/mi2-simplerun.exp: Likewise.
5593 * gdb.mi/mi2-stack.exp: Likewise.
5594 * gdb.mi/mi2-stepi.exp: Likewise.
5595 * gdb.mi/mi2-until.exp: Likewise.
5596 * gdb.mi/mi2-var-display.exp: Likewise.
5597 * gdb.mi/mi2-watch.exp: Likewise.
5598
62172bb9
UW
55992008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5600
5601 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
5602
5603 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
5604
a13e061a
PA
56052008-04-04 Pedro Alves <pedro@codesourcery.com>
5606
5607 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
5608 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
5609 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
5610 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
5611 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
5612 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
5613 expect an mi error duplicated in stderr.
5614
eae06beb
JB
56152008-04-03 Joel Brobecker <brobecker@adacore.com>
5616
5617 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
5618 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
5619 Add a couple of tests that verify the behavior when the new setting
5620 is set to "cancel" and "all".
5621 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
5622 "ask" before we start the testing.
5623
79c6ced6
AR
56242008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
5625
5626 * gdb.cp/casts.cc: Add class reference variables.
5627 * gdb.cp/casts.exp: New test cases for up/down casting references.
5628
6c2d1a6b
MK
56292008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
5630
5631 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
5632 instead of beginning to make an extra test pass.
5633 * gdb.mi/mi2-var-display.exp: Likewise.
5634
55b411d9
MR
56352008-03-31 Maciej W. Rozycki <macro@mips.com>
5636
5637 * gdb.base/break.exp: Mark failures as such. Fix formatting.
5638
c6140da2
MD
56392008-03-31 Markus Deuling <deuling@de.ibm.com>
5640 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5641
5642 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
5643 value. Add xfail for older kernels.
5644
79732189
AR
56452008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
5646
5647 Bring mi-support in line with gdb.exp.
5648 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
5649 (mi_gdb_start): New function.
5650
33c3676e
MR
56512008-03-28 Maciej W. Rozycki <macro@mips.com>
5652
5653 * gdb.mi/mi-var-cmd.exp: Fix a typo.
5654
92e28119
VP
56552008-03-26 Vladimir Prus <vladimir@codesourcery.com>
5656
5657 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
5658 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 5659
9e8e3afe
VP
56602008-03-26 Vladimir Prus <vladimir@codesourcery.com>
5661
5662 * lib/mi-support.exp (mi_create_varobj_checked): New.
5663 (mi_list_varobj_children): Allow to check for a
5664 value.
5665 (mi_list_array_varobj_children): New.
5666
5667 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
5668 and mi_list_varobj_children, as opposed to hardcoding
5669 expected strings.
5670 * gdb.mi/gdb701.exp: Likewise.
5671 * gdb.mi/gdb792.exp: Likewise.
5672 * gdb.mi/mi-var-block.exp: Likewise.
5673 * gdb.mi/mi-var-cmd.exp: Likewise.
5674 * gdb.mi/mi-var-invalidate.exp: Likewise.
5675 * gdb.mi/mi2-var-block.exp: Likewise.
5676 * gdb.mi/mi2-var-child.exp: Likewise.
5677 * gdb.mi/mi2-var-cmd.exp: Likewise.
5678 * gdb.mi/mi2-var-display.exp: Likewise.
5679
9df50351
JK
56802008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5681
5682 Fix random false FAILs on i386.
5683 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
5684
31e5d73a
DJ
56852008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
5686
5687 PR gdb/544
5688 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
5689
12f4afab
DJ
56902008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
5691
5692 PR gdb/544
5693 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
5694
b562a0cb
DJ
56952008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5696
5697 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
5698 fixed PR gdb/544.
5699
17faa917
DJ
57002008-03-21 Pedro Alves <pedro@codesourcery.com>
5701
5702 * gdb.threads/fork-child-threads.exp: Test next over fork.
5703
6214f497
DJ
57042008-03-21 Chris Demetriou <cgd@google.com>
5705
5706 * gdb.base/break.exp (rbreak junk): New test for rbreak
5707 "Junk at end of arguments" issue.
5708
63092375
DJ
57092008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5710
5711 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
5712 *& to work on created array elements.
5713 (Top level): Test print $pc with a file. Test string operations
5714 without a target.
5715 * gdb.base/ptype.exp: Do not expect *& to work on created array
5716 elements.
5717
b21991b0
DJ
57182008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5719
5720 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5721 gdb.threads/staticthreads.exp: Update exit query.
5722
c4b347c7
SL
57232008-03-07 Sandra Loosemore <sandra@codesourcery.com>
5724
5725 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
5726
fa4727a6
DJ
57272008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
5728
5729 * gdb.base/watchpoint.c (global_ptr, func4): New.
5730 (main): Call func4.
5731 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
5732 (test_inaccessible_watchpoint): New.
5733
2f34202f
MR
57342008-02-29 Maciej W. Rozycki <macro@mips.com>
5735
5736 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
5737 select the largest.
5738
0d6ba1b1
DJ
57392008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
5740
5741 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
5742 frames-invalid annotations.
5743
e691325a
PM
57442008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
5745
a9c64011 5746 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 5747
f85b5ecc
DE
57482008-02-27 Doug Evans <dje@google.com>
5749
5750 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
5751 for bug 1738.
5752 (breakpoint_to_handler_entry): Ditto.
5753
b40e7bf3
JB
57542008-02-27 Joel Brobecker <brobecker@adacore.com>
5755
5756 * gdb.base/ending-run.exp: Use the first line of code inside
5757 function body to test breakpoints.
5758 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
5759 location where the breakpoint is inserted when using the line
5760 where a function is declared. Fix typo in the description of
5761 one of the tests.
5762 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
5763
2faca73a
PM
57642008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
5765
5766 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 5767 tests.
2faca73a 5768
6f439c36
PM
57692008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
5770
5771 * gdb.base/args.exp: avoid same output for tests
5772 with single quotes.
5773
54e52265
VP
57742008-02-26 Vladimir Prus <vladimir@codesourcery.com>
5775
a9c64011
AS
5776 * gdb.base/annota1.exp: Adjust for 'info break'
5777 format changes.
5778 * gdb.base/annota3.exp: Likewise.
5779 * gdb.base/break.exp: Likewise.
5780 * gdb.base/condbreak.exp: Likewise.
5781 * gdb.base/pending.exp: Likewise.
5782 * gdb.base/sepdebug.exp: Likewise.
5783 * gdb.base/unload.exp: Likewise.
5784 * gdb.cp/ovldbreak.exp: Likewise.
5785 * gdb.mi/mi-pending.exp: Likewise.
54e52265 5786
897b09ca
DE
57872008-02-07 Doug Evans <dje@google.com>
5788
5789 * gdb.cp/mb-inline.exp: New.
5790 * gdb.cp/mb-inline.h: New.
5791 * gdb.cp/mb-inline1.cc: New.
5792 * gdb.cp/mb-inline2.cc: New.
5793
b1c32d35
PM
57942008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
5795
5796 * gdb.pascal/floats.pas: New test program.
5797 * gdb.pascal/floats.exp: New testcase.
5798
1a4ca44a
TJB
57992008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5800
5801 * gdb.base/callfuncs.c (t_float_many_args): New function.
5802 (t_double_many_args): New function.
5803 * gdb.base/callfuncs.exp: Add tests for exceeding float
5804 and double parameters passed through the stack.
5805
439048e8
JB
58062008-02-05 Joel Brobecker <brobecker@adacore.com>
5807
5808 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
5809 gdb.ada/complete/foo.adb: New files.
5810 * gdb.ada/complete.exp: New testcase.
5811
81fe8080
DE
58122008-02-03 Doug Evans <dje@google.com>
5813
301f0ecf
DE
5814 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
5815
81fe8080
DE
5816 * gdb.cp/gdb2384.exp: New file.
5817 * gdb.cp/gdb2384.cc: New file.
5818 * gdb.cp/gdb2384-base.h: New file.
5819 * gdb.cp/gdb2384-base.cc: New file.
5820
4b071aec
DE
58212008-02-02 Doug Evans <dje@google.com>
5822
5823 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
5824
61137ba6
JB
58252007-02-01 Joel Brobecker <brobecker@adacore.com>
5826
5827 * gdb.ada/sym_print_name: New test program.
5828 * gdb.ada/sym_print_name.exp: New testcase.
5829
58302007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
5831
5832 * gdb.ada/nested/hello.adb: New file.
5833 * gdb.ada/nested.exp: New testcase.
5834 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
5835
98deb0da
VP
58362008-02-01 Vladimir Prus <vladimir@codesourcery.com>
5837
5838 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
5839 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
5840 don't cause future evaluations of function to report
5841 creation of internal breakpoints.
98deb0da 5842
723a2275
VP
58432008-02-01 Vladimir Prus <vladimir@codesourcery.com>
5844
5845 * gdb.mi/mi-break.exp (test_error): New.
5846 Call it.
5847
fb546a2f
LM
58482008-01-31 Luis Machado <luisgpm@br.ibm.com>
5849
5850 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
5851 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
5852
2d8fd90a
PM
58532008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
5854
5855 * gdb.pascal/integers.pas: New test program.
5856 * gdb.pascal/integers.exp: New testcase.
5857
a7fa0ded
PM
58582008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
5859
5860 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
5861
5e1a1926
TJB
58622008-01-30 Luis Machado <luisgpm@br.ibm.com>
5863
5864 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
5865 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
5866
8d04f9f0
JB
58672008-01-30 Paul Hilfinger <hilfinger@adacore.com>
5868
5869 * gdb.ada/formatted_ref: New test program.
5870 * gdb.ada/formatted_ref.exp: New testcase.
5871
5872 * gdb.cp/formatted-ref.cc: New file.
5873 * gdb.cp/formatted-ref.exp: New testcase.
5874
ce75a98f
JB
58752008-01-30 Joel Brobecker <brobecker@adacore.com>
5876
5877 * gdb.base/ptype.exp: Add testing of "ptype $pc".
5878
e835f6bf
NR
58792008-01-30 Nick Roberts <nickrob@snap.net.nz>
5880
5881 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
5882 (test_file_list_exec_source_file): Update to new macro-info field.
5883
d118ef87
PH
58842008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
5885
5886 * gdb.ada/exprs: New test program.
5887 * gdb.ada/exprs.exp: New testcase.
5888
7d35ab09
TJB
58892008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5890
5891 * dfp-test.c (DELTA, DELTA_B): New definitions.
5892 (double_val1, double_val2, double_val3, double_val4, double_val5,
5893 double_val6, double_val7, double_val8, double_val9, double_val10,
5894 double_val11, double_val12, double_val13, double_val14, dec32_val1,
5895 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
5896 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
5897 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
5898 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
5899 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
5900 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
5901 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
5902 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
5903 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
5904 dec128_val16): New global variables.
5905 (decimal_dec128_align): New function.
5906 (decimal_mixed): Likewise.
5907 (decimal_many_args_dec32): Likewise.
5908 (decimal_many_args_dec64): Likewise.
5909 (decimal_many_args_dec128): Likewise.
5910 (decimal_many_args_mixed): Likewise.
5911 * dfp-test.exp: Add tests calling new inferior functions.
5912
2d717e4f
DJ
59132008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5914
5915 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
5916 gdb.server/ext-run.exp: New files.
5917 * lib/gdbserver-support.exp (gdbserver_download): New.
5918 (gdbserver_start): New. Update gdbserver expected
5919 output.
5920 (gdbserver_spawn): Use them.
5921 (gdbserver_start_extended): New.
5922
e85a822c
DJ
59232008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5924
5925 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
5926 Run on GNU/Linux.
5927 (do_exec_tests): Check for systems which do not support catchpoints.
5928 Do not match START.
5929 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
5930 Run on GNU/Linux. Enable verbose output.
5931 (check_fork_catchpoints): New.
5932 (explicit_fork_child_follow, catch_fork_child_follow)
5933 (tcatch_fork_parent_follow): Update expected messages.
5934 (do_fork_tests): Use check_fork_catchpoints.
5935 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
5936 Run on GNU/Linux. Enable verbose output.
5937 (check_vfork_catchpoints): New.
5938 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
5939 expected messages.
5940 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
5941
401ea829
JB
59422008-01-29 Jim Blandy <jimb@red-bean.com>
5943
5944 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
5945 host' errors.
5946 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
5947
aceaf3ad
JB
59482008-01-29 Jim Blandy <jimb@red-bean.com>
5949
5950 * gdb.threads/sigthread.c: Use barriers to ensure that
5951 child_thread and child_thread_two are always initialized before we
5952 start to use them.
5953
a5606eee
VP
59542008-01-29 Vladimir Prus <vladimir@codesourcery.com>
5955
5956 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
5957 * gdb.base/watchpoint-solib.c: New.
5958 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 5959
c55a82bb
PM
59602008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
5961
5962 * gdb.base/gdb1056.exp: Add unsigned integer test.
5963
0993fe05
DE
59642008-01-28 Doug Evans <dje@google.com>
5965
5966 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
5967
4fe42e7f
JB
59682008-01-27 Jim Blandy <jimb@codesourcery.com>
5969
c7a69933
JB
5970 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
5971
4fe42e7f
JB
5972 * gdb.base/expand-psymtabs.exp: Doc fix.
5973
5def8285
MK
59742008-01-26 Mark Kettenis <kettenis@gnu.org>
5975
5976 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
5977
5313c911
NR
59782008-01-24 Nick Roberts <nickrob@snap.net.nz>
5979
a9c64011 5980 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
5981 -var-set-format.
5982
93815fbf
VP
59832008-01-23 Chris Demetriou <cgd@google.com>
5984
5985 * gdb.threads/thread_events.c: New testcase source file.
5986 * gdb.threads/thread_events.exp: New testcase expect file.
5987
467a88ee
NR
59882008-01-23 Nick Roberts <nickrob@snap.net.nz>
5989
5990 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
5991
5992 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
5993 -var-set-format.
5994
d8f82aba
DJ
59952008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
5996 Vladimir Prus <vladimir@codesourcery.com>
5997
5998 * gdb.base/float.exp: Allow missing floating point for m68k and
5999 PowerPC.
6000
60c46647
VP
60012008-01-22 Vladimir Prus <vladimir@codesourcery.com>
6002
6003 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
6004 ignore count.
6005 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
6006 * gdb.mi/mi-cli.exp: Adjust.
6007 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 6008
c7dd36a1
PA
60092008-01-17 Pedro Alves <pedro@codesourcery.com>
6010
6011 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
6012 and 'dummy_ptr' integer pointer. Initialize struct_declarations
6013 with dummy_ptr's address.
6014 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
6015 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
6016 all targets.
6017 * gdb.mi/mi2-var-child.exp: Likewise.
6018
39d5313e
JB
60192008-01-09 Joel Brobecker <brobecker@adacore.com>
6020
6021 * gdb.ada/null_array: New test program.
6022 * gdb.ada/null_array.exp: New testcase.
6023
0aea4bf3
LM
60242008-01-09 Luis Machado <luisgpm@br.ibm.com>
6025
6026 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
6027 with required float modifiers.
6028
0b354900
JB
60292008-01-08 Joel Brobecker <brobecker@adacore.com>
6030
6031 * gdb.ada/funcall_param: New test program.
6032 * gdb.ada/funcall_param.exp: New testcase.
6033
cdb7f5d4
JB
60342008-01-08 Joel Brobecker <brobecker@adacore.com>
6035
6036 * gdb.ada/arrayparam: New test program.
6037 * gdb.ada/arrayparam.exp: New testcase.
6038
88e2547f
JB
60392008-01-08 Joel Brobecker <brobecker@adacore.com>
6040
6041 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
6042 landed. Should also fix random failures in the test following it.
6043
f6867ce0
TJB
60442008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
6045
6046 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
6047 for expressions with decimal float values.
6048 (test_dfp_conversions): New function to test casts to and from
6049 decimal float types.
6050 Call test_dfp_conversions.
6051 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
6052 elements.
6053 (main): Initialize ds.float4 and ds.double8 elements.
6054 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
6055 string to new error message.
6056 (d64_set_tests): Likewise.
6057 (d128_set_tests): Likewise.
6058 Add tests for expressions with decimal float variables. Add tests for
6059 conversions to and from decimal float types.
6060
f9c11282
JB
60612008-01-05 Joel Brobecker <brobecker@adacore.com>
6062
6063 * gdb.ada/packed_tagged/comp_bug.adb: New file.
6064 * gdb.ada/packed_tagged.exp: New testcase.
6065
0ecbca72
JB
60662008-01-04 Joel Brobecker <brobecker@adacore.com>
6067
6068 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
6069 gdb.ada/homonym/homonym_main.adb: New files.
6070 * gdb.ada/homonym.exp: New testcase.
6071
c18d3d89
JB
60722008-01-04 Joel Brobecker <brobecker@adacore.com>
6073
6074 * gdb.ada/packed_array.exp: Add testing of references to
6075 a packed array.
6076
ecc7085b
JB
60772008-01-04 Joel Brobecker <brobecker@adacore.com>
6078
6079 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
6080 New files.
6081 * gdb.ada/type_coercion.exp: New testcase.
6082
c474c922
JB
60832008-01-04 Joel Brobecker <brobecker@adacore.com>
6084
6085 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
6086 gdb.ada/tagged/foo.adb: New file.
6087 * gdb.ada/tagged.exp: New testcase.
6088
9005b927
JB
60892008-01-04 Joel Brobecker <brobecker@adacore.com>
6090
6091 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
6092 gdb.ada/ptype_field/foo.adb: New files.
6093 * gdb.ada/ptype_field.exp: New testcase.
6094
1a6aaad8
JB
60952008-01-03 Joel Brobecker <brobecker@adacore.com>
6096
6097 * gdb.ada/print_pc.exp: New testcase.
6098
0ef22f53
JB
60992008-01-03 Joel Brobecker <brobecker@adacore.com>
6100
6101 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
6102 gdb.ada/taft_type/p.adb: New files.
6103 * gdb.ada/taft_type.exp: New testcase.
6104
1689ecf8
JB
61052008-01-03 Joel Brobecker <brobecker@adacore.com>
6106
6107 * gdb.ada/array_bounds/bar.adb: New file.
6108 * gdb.ada/array_bounds.exp: New testcase.
6109
a4d0b9c3
JB
61102008-01-03 Joel Brobecker <brobecker@adacore.com>
6111
6112 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
6113 gdb.ada/arrayptr/foo.adb: New files.
6114 * gdb.ada/arrayptr.exp: New testcase.
6115
a31ace00
JB
61162008-01-03 Joel Brobecker <brobecker@adacore.com>
6117
6118 * gdb.base/set-lang-auto.exp: New testcase.
6119
a97fced3
JB
61202008-01-03 Joel Brobecker <brobecker@adacore.com>
6121
6122 * gdb.ada/fun_addr/foo.adb: New file.
6123 * gdb.ada/fun_addr.exp: New testcase.
6124
ef29ce1a
JK
61252008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6126
6127 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
6128 New files
6129
0fafefe3
JB
61302008-01-02 Joel Brobecker <brobecker@adacore.com>
6131
6132 * array_subscript_addr/p.adb: New file.
a9c64011 6133 * array_subscript_addr.exp: New testcase.
0fafefe3 6134
c4359f8d
JB
61352008-01-02 Joel Brobecker <brobecker@adacore.com>
6136
a9c64011 6137 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
6138 New files.
6139 * gdb.ada/str_cmp_ref.exp: New testcase.
6140
1aa1b15b
JB
61412008-01-01 Joel Brobecker <brobecker@adacore.com>
6142
6143 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
6144 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 6145 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 6146
81c9b2cf
JB
61472008-01-01 Joel Brobecker <brobecker@adacore.com>
6148
6149 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
6150 gdb.ada/ref_param/pck.ads: New files.
6151 * gdb.ada/ref_param.exp: New testcase.
6152
319e4674
JB
61532008-01-01 Joel Brobecker <brobecker@adacore.com>
6154
6155 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
6156 gdb.ada/interface/foo.adb: New files.
6157 * gdb.ada/interface.exp: New testcase.
6158
ef682c56
JB
61592007-12-31 Jim Blandy <jimb@codesourcery.com>
6160
6161 * gdb.base/multi-forks.exp: Consume all output from child
6162 processes before proceeding to next test.
6163
f6f3eb6c
JB
61642007-12-29 Jim Blandy <jimb@codesourcery.com>
6165
6166 * configure: Regenerated.
6167
f652e42f
JB
61682007-12-27 Joel Brobecker <brobecker@adacore.com>
6169
6170 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
6171 gdb.ada/fixed_cmp/fixed.adb: New files.
6172 * gdb.ada/fixed_cmp.exp: New testcase.
6173
6943e596
JB
61742007-12-27 Joel Brobecker <brobecker@adacore.com>
6175
6176 * gdb.ada/boolean_expr.exp: New testcase.
6177
aad9a193
JB
61782007-12-26 Jim Blandy <jimb@codesourcery.com>
6179
6180 * gdb.base/multi-forks.exp: Doc fix.
6181
fb5f3683
JB
61822007-12-26 Joel Brobecker <brobecker@adacore.com>
6183
6184 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
6185 * gdb.ada/char_param.exp: Do not compile our test program with
6186 -gnata, this is unnecessary.
6187 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
6188
384e4a9c
JB
61892007-12-24 Joel Brobecker <brobecker@adacore.com>
6190
6191 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
6192 gdb.ada/print_chars/foo.adb: New files.
6193 * gdb.ada/print_chars.exp: New testcase.
6194
01e044f7
JB
61952007-12-24 Joel Brobecker <brobecker@adacore.com>
6196
6197 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
6198 gdb.ada/char_param/foo.adb: New files.
6199 * gdb.ada/char_param.exp: New testcase.
6200
0ce17860
JB
62012007-12-22 Jim Blandy <jimb@codesourcery.com>
6202
6203 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
6204 hard-coding source line numbers into the test.
6205 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
6206 gdb_get_line_number to find.
6207
919809b9
JB
62082007-12-22 Joel Brobecker <brobecker@adacore.com>
6209
6210 * gdb.base/ptype.c (highest): New struct type.
6211 (the_highest): New variable of that type.
6212 (main): Add dummy assignment to a field of variable the_highest.
6213 * gdb.base/ptype.exp: Test type printing of our new variable.
6214
abc8a88d
PM
62152007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
6216
6217 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 6218 and record first explicitly generated thread number.
abc8a88d
PM
6219 Use that thread number for thread specific watchpoint test.
6220 Add iteration number to repetitive tests.
6221
5158f3e3
CES
62222007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6223 Jim Blandy <jimb@codesourcery.com>
6224
6225 * gdb.base/expand-psymtabs.c: New testcase
6226 source file.
6227 * gdb.base/expand-psymtabs.exp: New testcase
6228 expect file.
6229
37e4754d
LM
62302007-12-17 Luis Machado <luisgpm@br.ibm.com>
6231
6232 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
6233 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
6234
551e5d04
JB
62352007-12-17 Joel Brobecker <brobecker@adacore.com>
6236
6237 * gdb.ada/frame_args/foo.adb: New file.
6238 * gdb.ada/frame_args/pck.ads: New file.
6239 * gdb.ada/frame_args/pck.adb: New file.
6240 * gdb.ada/frame_args.exp: New testcase.
6241
a05ee097
JB
62422007-12-17 Joel Brobecker <brobecker@adacore.com>
6243
6244 * gdb.base/frame-args.c: New file.
6245 * gdb.base/frame-args.exp: New testcase.
6246
c162e8c9 62472007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 6248 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
6249
6250 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
6251
afe8ab22 62522007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 6253
afe8ab22
VP
6254 * gdb.mi/mi-pending.exp: New.
6255 * gdb.mi/mi-pending.c: New.
6256 * gdb.mi/mi-pendshr.c: New.
6257
dfdfb3ca
JB
62582007-12-06 Jim Blandy <jimb@codesourcery.com>
6259
6260 * gdb.base/default.exp: Update expected output for 'info catch'.
6261
b7fca990
JK
62622007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6263
6264 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
6265 must be set to binary.
6266
6a1afc1e
PA
62672007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
6268
6269 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
6270
a6b151f1
DJ
62712007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
6272
6273 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
6274 gdb.mi/mi-file-transfer.exp: New.
6275
43039443
JK
62762007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6277
6278 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
6279
0ef2251b
MR
62802007-11-22 Maciej W. Rozycki <macro@mips.com>
6281
6282 * gdb.trace/backtrace.exp: Fix a typo.
6283 * gdb.trace/circ.exp: Likewise.
6284 * gdb.trace/collection.exp: Likewise.
6285 * gdb.trace/limits.exp: Likewise.
6286 * gdb.trace/report.exp: Likewise.
6287 * gdb.trace/tfind.exp: Likewise.
6288 * gdb.trace/while-dyn.exp: Likewise.
6289
5443631e
NR
62902007-11-21 Nick Roberts <nickrob@snap.net.nz>
6291
6292 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
6293 objects of pointers that can't be dereferenced are now
6294 "noneditable".
6295
a4ce5b0d
UW
62962007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6297
6298 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
6299 (target_cpu): Remove.
6300
d6e956e5
VP
63012007-10-15 Vladimir Prus <vladimir@codesourcery.com>
6302
6303 * gdb.base/ending-run.exp: Expect the list of cleared
6304 breakpoint to come in natural order, not the reversed one.
a9c64011 6305
214270ab
VP
63062007-11-07 Vladimir Prus <vladimir@codesourcery.com>
6307
6308 * gdb.mi/mi-var-child.c (do_child_deletion): New.
6309 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 6310
1a619819
LM
63112007-11-05 Luis Machado <luisgpm@br.ibm.com>
6312
6313 * gdb.base/printcmds.exp: New function
6314 test_printf_with_dfp.
6315
5b01a6fa
DE
63162007-11-02 Doug Evans <dje@google.com>
6317
6318 * gdb.disasm/t01_mov.s: Remove carriage returns.
6319 * gdb.disasm/t02_mova.s: Ditto.
6320 * gdb.disasm/t03_add.s: Ditto.
6321 * gdb.disasm/t04_sub.s: Ditto.
6322 * gdb.disasm/t05_cmp.s: Ditto.
6323 * gdb.disasm/t06_ari2.s: Ditto.
6324 * gdb.disasm/t07_ari3.s: Ditto.
6325 * gdb.disasm/t08_or.s: Ditto.
6326 * gdb.disasm/t09_xor.s: Ditto.
6327 * gdb.disasm/t10_and.s: Ditto.
6328 * gdb.disasm/t11_logs.s: Ditto.
6329 * gdb.disasm/t12_bit.s: Ditto.
6330 * gdb.disasm/t13_otr.s: Ditto.
6331
ec33ab7f
JK
63322007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6333
6334 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
6335
ae0d01ff
UW
63362007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6337
6338 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
6339 provide DFP support.
6340
55eddb0f
DJ
63412007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
6342
6343 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
6344 Test "set powerpc vector-abi". Skip auto-detection tests for old
6345 toolchains.
6346
7020f05c
PA
63472007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
6348
6349 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
6350 with [string compare].
6351
84bc3db9
PA
63522007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
6353
6354 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
6355 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
6356
5876dc88
LM
63572007-10-25 Luis Machado <luisgpm@br.ibm.com>
6358
6359 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
6360 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
6361 * gdb.opt/Makefile.in: New makefile.
6362 * Makefile.in: Create new directory "gdb.opt".
6363 * configure.ac: Add "gdb.opt" directory.
6364 * configure: Regenerated.
a9c64011 6365
c3ea9a14
DE
63662007-10-25 Doug Evans <dje@google.com>
6367
6368 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
6369 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
6370
a9c64011 63712007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
6372 Thiago Jung Bauermann <bauerman@br.ibm.com>
6373
6374 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
6375 Floating Point expressions.
6376 * gdb.base/dfp-test.exp: new file adding tests for Decimal
6377 Floating Point variables.
6378 * gdb.base/dfp-test.c: new file containing program with Decimal
6379 Floating variables, used by gdb.base/dfp-test.exp.
6380
62a24a2b
DJ
63812007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
6382
6383 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
6384
e7b1eae6
UW
63852007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6386
6387 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
6388 compiling test case with GCC.
6389 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
6390
c641edcc
UW
63912007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6392
6393 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
6394 format changes.
6395
5e5ebfe6
MS
63962007-10-18 Michael Snyder <msnyder@specifix.com>
6397
6398 * gdb.base/dbx.exp: Add missing "-re " operator.
6399
e831e7b6
GM
64002007-10-16 Gaius Mulley <gaius@glam.ac.uk>
6401
6402 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
6403 * configure.ac: Removed trailing spaces after backslash.
6404 * gdb.modula2: New directory.
6405 * gdb.modula2/Makefile.in: New file.
6406 * gdb.modula2/unbounded-array.exp: New file.
6407 * gdb.modula2/unbounded1.c: New file.
6408
7cc46491
DJ
64092007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
6410
6411 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
6412
64132007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
6414
6415 * gdb.base/sigstep.c (main): Add checks for
6416 return values for setitimer call.
6417 Call setitimer again with itimer = ITIMER_REAL
6418 if first call to setitimer fails.
6419
e91528f0
KH
64202007-10-11 Kazu Hirata <kazu@codesourcery.com>
6421
6422 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
6423 of $timeout.
6424
2ec9a4f8
DJ
64252007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
6426
6427 * gdb.server/server-run.exp: Test for dynamic linker symbols.
6428
64292007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
6430
6431 * lib/gdb.exp (gdb_run_cmd): Move comment outside
6432 of gdb_expect call, to avoid interruption.
6433
64b2fa04
PA
64342007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
6435
6436 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
6437 (v_unsigned_long_long, v_long_long_array)
6438 (v_signed_long_long_array, v_unsigned_long_long_array)
6439 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
6440 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
6441 [!NO_LONG_LONG]: New.
6442 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
6443 v_long_long_member.
6444
6445 (v_long_long_func, v_signed_long_long_func)
6446 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
6447 (main) [!NO_LONG_LONG]: Initialize long long variants.
6448
6449 * gdb.base/whatis.exp: If board file requests no_long_long, build
6450 test with NO_LONG_LONG defined. Test long long, signed long long,
6451 and unsigned long long variants but only if board file doesn't
6452 disable it.
6453
a912286e 64542007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 6455 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
6456
6457 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
6458 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
6459 * configure: Regenerated.
6460 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
6461 gdb.pascal/types.exp, lib/pascal.exp: New files.
6462
471ba8c9
DJ
64632007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
6464
6465 * gdb.cp/classes.exp (do_tests): Always step to the line after the
6466 call.
6467 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
6468 to return to the call.
6469 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
6470 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
6471 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
6472 * gdb.mi/mi-until.exp (test_until): Likewise.
6473 * gdb.mi/mi2-until.exp (test_until): Likewise.
6474
fef8a650
DJ
64752007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
6476
6477 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
6478 two-char array.
6479 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
6480
d983da9c
DJ
64812007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
6482
6483 * gdb.threads/watchthreads.c (thread_function): Sleep between
6484 iterations.
6485 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
6486 at once for S/390. Generate matching fails and passes.
6487
17f62551
VP
64882007-09-27 Vladimir Prus <vladimir@codesourcery.com>
6489
6490 * gdb.mi/var-cmd.c (do_children_tests): Initialize
6491 the 'struct_declarations' variable to zeros.
a9c64011 6492
ed0616c6
VP
64932007-09-24 Vladimir Prus <vladimir@codesourcery.com>
6494
6495 * gdb.cp/mb-ctor.cc: New.
6496 * gdb.cp/mb-ctor.exp: New.
6497 * gdb.cp/mb-templates.cc: New.
6498 * gdb.cp/mb-templates.exp: New.
6499
41f1b697
DJ
65002007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
6501
6502 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
6503
3f213f78
PA
65042007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
6505
6506 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
6507 targets.
6508 * configure: Regenerate.
6509
0d381245 65102007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 6511
0d381245
VP
6512 * gdb.base/annota1.exp: Adjust for 'info break'
6513 format changes.
6514 * gdb.base/annota3.exp: Likewise.
6515 * gdb.base/break.exp: Likewise.
6516 * gdb.base/condbreak.exp: Likewise.
6517 * gdb.base/pending.exp: Likewise.
6518 * gdb.base/sepdebug.exp: Likewise.
6519 * gdb.base/unload.exp: Likewise.
6520 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 6521
fe3f5fa8
VP
65222007-09-22 Vladimir Prus <vladimir@codesourcery.com>
6523
6524 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
6525 messages.
6526 * gdb.base/chng-syms.exp: Likewise.
6527 * gdb.base/unload.exp: Likewise.
a9c64011 6528
a75cf6c0
DJ
65292007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
6530
6531 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
6532
18ecae38
DJ
65332007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
6534
6535 * schedlock.c (NUM): Change to 1.
6536 (main): Use args[0] for the main thread.
6537 * schedlock.exp: Only expect two threads. Only issue one pass or fail
6538 regardless of the number of threads.
6539
5509918f
MR
65402007-09-14 Maciej W. Rozycki <macro@mips.com>
6541
4a543daf
MR
6542 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
6543 type down.
6544 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
6545 test.
6546 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
6547 watchpoint type down.
6548 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
6549 test.
6550
65512007-09-14 Maciej W. Rozycki <macro@mips.com>
6552
5509918f
MR
6553 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
6554 Move all the tests here and run them twice, once using software
6555 watchpoints and once using hardware watchpoints.
6556 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
6557
40b53987
DJ
65582007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
6559
6560 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
6561 test.
6562
695e2681
MK
65632007-09-10 Mark Kettenis <kettenis@gnu.org>
6564
8b3fc8d8
MK
6565 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
6566 build-id.
6567
695e2681
MK
6568 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
6569 know about $ORIGIN. Calculate output dir from $dest instead of
6570 using ${objdir}/{$subdir}.
6571
58d69f29
MK
65722007-09-09 Mark Kettenis <kettenis@gnu.org>
6573
6574 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
6575 gcore, before continuing with the test.
6576
3e347599
DJ
65772007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
6578
6579 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
6580 * gdb.mi/mi-watch.exp: Likewise.
6581
ea37ba09
DJ
65822007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6583 Jim Blandy <jimb@codesourcery.com>
6584
6585 * gdb.arch/i386-sse.exp: Do not expect character constants.
6586 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
6587 * gdb.base/display.exp: Allow print/s.
6588 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
6589 and unsigned char array changes.
6590
2025a643
DJ
65912007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6592
6593 * gdb.base/display.exp: Add tests for printf %p.
6594
26669a27
PA
65952007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
6596
6597 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
6598 the dll name to unicode.
6599
c8f021f8
JK
66002007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6601
6602 * gdb.base/default.exp (show version): Update the version text.
6603 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
6604
4cf31eea
JK
66052007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6606
6607 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
6608 New files.
6609
4935890f
JK
66102007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6611
6612 * lib/gdb.exp (build_id_debug_filename_get): New function.
6613 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
6614 Remove the generate DEBUG file for the future testcase runs.
6615 New testcase for the NT_GNU_BUILD_ID retrieval.
6616 Move the final testing step to ...
6617 (test_different_dir): ... a new function.
6618 New parameter XFAIL to XFAIL all the tests performed.
6619 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
6620 New parameter TYPE to PF_PREFIX all the tests performed.
6621
02142340
VP
66222007-08-31 Vladimir Prus <vladimir@codesourcery.com>
6623
6624 * gdb.mi/mi-var-cp.cc (path_expression): New
6625 function.
6626 * gdb.mi/mi-var-cp.exp: Run path exression tests.
6627
36acd84e
UW
66282007-08-27 Markus Deuling <deuling@de.ibm.com>
6629
6630 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
6631 to fit into SPU Local Store memory.
6632
a896d121
JB
66332007-08-23 Joel Brobecker <brobecker@adacore.com>
6634
6635 * gdb.base/default.exp: Adjust the expected output of "info
6636 warranty" after the switch to GPLv3.
6637
7b433602
JB
66382007-08-23 Joel Brobecker <brobecker@adacore.com>
6639
6640 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
6641 to 30000 (from 20000).
6642
e22f8b7c
JB
66432007-08-23 Joel Brobecker <brobecker@adacore.com>
6644
6645 Switch the license of all .exp files to GPLv3.
6646 Switch the license of all .f and .f90 files to GPLv3.
6647 Switch the license of all .s and .S files to GPLv3.
6648
5a0e3bd0
JB
66492007-08-23 Joel Brobecker <brobecker@adacore.com>
6650
6651 * configure.ac: Switch license to GPLv3.
6652
cc00619d
JB
66532007-08-23 Joel Brobecker <brobecker@adacore.com>
6654
6655 Switch the licensing to GPLv3 for all .ads and .adb files.
6656
8d26208a
DJ
66572007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
6658
6659 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
6660 and t_int_double.
6661 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
6662
4fcb9948
JB
66632007-08-17 Joel Brobecker <brobecker@adacore.com>
6664
6665 * gdb.base/step-line.c: Switch license to GPL version 3, and
6666 update copyright year.
6667 * gdb.base/step-line.inp: Likewise.
6668
b9c34f67
JB
66692007-08-17 Joel Brobecker <brobecker@adacore.com>
6670
6671 * gdb.base/gdb1555.exp: Make expected output immune to formatting
6672 changes inside gdb1555.c.
6673 * gdb.base/pending.exp: Likewise.
6674
2cc17678
DJ
66752007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
6676
6677 * config/default.exp: New file.
6678
e48883f7
DJ
66792007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
6680
6681 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
6682 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
6683
1ab80e5b
MR
66842007-07-30 Maciej W. Rozycki <macro@mips.com>
6685
6686 * gdb.base/dump.exp: Force the correct endianness for binary
6687 formats not carrying this information.
6688
aba471f5
DJ
66892007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6690
6691 * gdb.threads/staticthreads.exp: Match .*sem_post.
6692
d4e07204
DJ
66932007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6694
6695 * gdb.base/readline.exp (operate_and_get_next): Match the final
6696 prompt.
6697
2b97317d
KB
66982007-07-23 Kevin Buettner <kevinb@redhat.com>
6699
6700 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
6701 to restarting SID.
6702
44efa07a
KB
67032007-07-18 Kevin Buettner <kevinb@redhat.com>
6704
6705 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
6706 prior to `gdb_start'.
6707
7b5ebade
KB
67082007-07-18 Kevin Buettner <kevinb@redhat.com>
6709
6710 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
6711 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
6712 Remove call to gdb_unload.
6713
255e7678
DJ
67142007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
6715 Daniel Jacobowitz <dan@codesourcery.com>
6716
6717 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
6718 for __WIN32__.
6719 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
6720 * gdb.base/unload.exp: Use shared library test routines.
6721
3a40aaa0
UW
67222007-07-03 Markus Deuling <deuling@de.ibm.com>
6723
6724 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
6725 * gdb.base/solib-symbol-lib.c: Likewise.
6726 * gdb.base/solib-symbol-main.c: Likewise.
6727
b0f4b84b
DJ
67282007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
6729
6730 * config/gdbserver.exp (gdb_reconnect): New.
6731 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
6732 gdb.base/solib-disc.exp: New files.
6733 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
6734 remote debugging".
6735 (gdb_compile): Add shlib_load flag.
6736 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
6737 port.
6738 (gdbserver_reconnect): New.
6739
1b05479a
DJ
67402007-07-01 Nick Roberts <nickrob@snap.net.nz>
6741 Daniel Jacobowitz <dan@codesourcery.com>
6742
6743 * gdb.base/annota3.exp: Test for if construct.
6744
86f78eb2
DJ
67452007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
6746
6747 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
6748
6a2eb474 67492007-06-21 Chris Dearman <chris@mips.com>
a9c64011 6750 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
6751
6752 * gdb.base/display.exp: Allow a newline after display/i.
6753 * gdb.base/pc-fp.exp: Likewise.
6754 * gdb.base/sigbpt.exp: Likewise.
6755
f8b73d13
DJ
67562007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
6757
6758 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
6759 required features to be included.
6760
4339e69e
DJ
67612007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
6762
6763 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
6764 in info threads output.
6765
23d964e7
UW
67662007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6767 Markus Deuling <deuling@de.ibm.com>
6768
6769 * gdb.arch/spu-info.exp: New testcase.
6770 * gdb.arch/spu-info.c: New file.
6771
fd20f75b
DJ
67722007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
6773
6774 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
6775 tpcs_offset. Restore lr after the call.
6776 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
6777
2226f861
DJ
67782007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
6779
6780 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
6781 (gdbserver_run): Kill any running gdbserver.
6782 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
6783
d12371a9
MR
67842007-05-17 Maciej W. Rozycki <macro@mips.com>
6785
6786 * gdb.base/sigbpt.exp: Preset segv_addr.
6787
93f02886
DJ
67882007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
6789
6790 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
6791 (gdb_compile_shlib): Likewise.
6792 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
6793 (default_gdb_init): Clear cleanfiles.
6794 (gdb_finish): Delete recorded cleanfiles.
6795 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
6796
6797 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
6798 Do not use isnative.
6799 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
6800 gdb.base/so-impl-ld.exp: Likewise.
6801 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
6802 * gdb.base/unload.exp: Likewise. Do not pass empty option to
6803 gdb_compile.
6804
b04e06d7
VP
68052007-05-15 Vladimir Prus <vladimir@codesourcery.com>
6806
6807 * config/unknown.exp: Remove.
6808
069ed931
UW
68092007-05-15 Markus Deuling <deuling@de.ibm.com>
6810
6811 * gdb.base/info-proc.exp: Check is_remote.
6812
09db0d03
UW
68132007-05-14 Markus Deuling <deuling@de.ibm.com>
6814
6815 * gdb.base/gcore.exp: Initialize variable core_supported.
6816
af2cbe8c
DJ
68172007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
6818
6819 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
6820
027c0295
DJ
68212007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
6822
6823 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
6824 * gdb.threads/print-threads.exp (test_all_threads): Allow
6825 negative and hexadecimal thread IDs.
6826
dc5000e7
DJ
68272007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
6828
6829 * gdb.java/jprint.java (public): Avoid invalid call to static
6830 method.
6831
2e74ed18
DP
68322007-05-14 Denis Pilat <denis.pilat@st.com>
6833
6834 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
6835 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
6836 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
6837 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
6838 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
6839
83547f02
UW
68402007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6841
6842 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 6843 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
6844 this mode.
6845 * gdb.base/ovlymgr.c: Provide stubs for spu target.
6846 * gdb.base/spu.ld: New file.
6847
b18be20d
DJ
68482007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
6849
6850 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
6851
be444858
DJ
68522007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
6853
6854 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
6855
b1d53152
DJ
68562007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
6857
6858 * gdb.java/jmain.exp: Handle demangled names with and without method
6859 signatures.
6860
d084b331
DJ
68612007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
6862
6863 * gdb.mi/mi-syn-frame.c (main, foo, bar)
6864 (have_a_very_merry_interrupt): Remove calls to puts.
6865 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
6866 inferior output.
6867 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
6868 test names.
6869
db9d7fc5
DJ
68702007-04-29 Markus Deuling <deuling@de.ibm.com>
6871 Daniel Jacobowitz <dan@codesourcery.com>
6872
6873 * gdb.base/auxv.exp (core_works): Also check is_remote.
6874 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
6875
ef783a7d 68762007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 6877
ef783a7d
VP
6878 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
6879 message, not the undefined 'module' variable.
6880 * gdb.base/siginfo.exp: Likewise.
6881 * gdb.base/sigstep.exp: Likewise.
6882 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
6883 serialport.
6884 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
6885
b7b73cae
CV
68862007-04-25 Corinna Vinschen <vinschen@redhat.com>
6887
6888 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
6889 target sim fails. Return 0 otherwise.
6890 (gdb_load): Return prematurely if gdb_target_sim fails.
6891
7d90fdfa
DP
68922007-04-16 Denis Pilat <denis.pilat@st.com>
6893
6894 * gdb.base/setshow.exp: Reset height after having set it to 100.
6895
5d3e9c85
DP
68962007-04-16 Denis Pilat <denis.pilat@st.com>
6897
6898 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
6899
18e75969
DP
69002007-04-16 Denis Pilat <denis.pilat@st.com>
6901
6902 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
6903
25d5ea92
VP
69042007-04-14 Vladimir Prus <vladimir@codesourcery.com>
6905
6906 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
6907 tests. Run the frozen varobjs test.
6908 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 6909 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 6910
0b49cb80
JK
69112007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6912
6913 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
6914 gdb.base/type-opaque.exp: New files.
6915
a73bafbc 69162007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
6917
6918 * gdb.mi/mi-var-child.c
a73bafbc
VP
6919 (do_children_tests): User char[2] instead of
6920 char so that automatic printing of pointers to char
6921 don't give unpredicable result.
6922 * gdb.mi/var-cmd.c (do_locals_test): Initialize
6923 local variables.
6924 * gdb.mi/mi-var-child.exp: Step to right line
6925 of do_children_tests.
6926 * gdb.mi/mi2-var-child.exp: Likewise.
6927 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 6928 do_locals_tests.
a73bafbc
VP
6929 (do_children_tests): User char[2] instead of
6930 char so that automatic printing of pointers to char
a9c64011 6931 don't give unpredicable result.
a73bafbc 6932 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 6933 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
6934 Pass test name to mi_wait_for_stop.
6935
7ce59000
DJ
69362007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6937
6938 * gdb.asm/asm-source.exp: Remove d10v case.
6939 * lib/gdb.exp (skip_cplus_tests): Likewise.
6940 * gdb.asm/d10v.inc: Deleted.
6941
20389057
DJ
69422007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6943
6944 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
6945
8807d78b
DJ
69462007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6947
6948 * config/netware.exp: Delete file.
6949
aa3edb8e
JB
69502007-03-29 Joel Brobecker <brobecker@adacore.com>
6951
6952 * gdb.dwarf2/dw2-noloc.S: New file.
6953 * gdb.dwarf2/dw2-noloc.exp: New file.
6954
297561ac
PA
69552007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
6956
6957 * gdb.cp/method2.cc: New test.
6958 * gdb.cp/method2.exp: New test.
6959 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
6960
1f81bd39
DJ
69612007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
6962
6963 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
6964
9453113a
DJ
69652007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
6966
6967 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
6968
b741e217
DJ
69692007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
6970
6971 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
6972 (gdb_load): Delete, replace with...
6973 (gdb_reload): ...this.
6974 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
6975 * gdb.server/server-mon.exp: Likewise.
6976 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
6977 (gdb_start_cmd): New.
6978 (gdb_file_cmd): Save the last loaded file.
6979 (gdb_reload): New.
6980 (gdb_gnu_strip_debug): Use transform.
6981 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
6982 support here. Use new $last_loaded_file. Check mtime.
6983 (gdb_target_cmd): Handle ObjC failure case.
6984 (infer_host_exec): Delete.
6985 (gdbserver_load): Rename to...
6986 (gdbserver_run): ...this. Simplify.
6987 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
6988 (mi_gdb_load): Move most contents to a new function...
6989 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
6990 (mi_run_cmd): Use mi_gdb_target_load.
6991 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
6992 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
6993 Use gdb_run_cmd.
6994 * gdb.base/charsign.exp: Remove incorrect comment.
6995 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
6996 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
6997 gdb.base/start.exp: Use gdb_start_cmd.
6998
446ab585 69992007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 7000 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
7001
7002 * gdb.base/sigbpt.exp: Fix the message when skipping test.
7003 * gdb.base/signull.exp: Similarly.
7004
bbb88ebf
UW
70052007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7006
7007 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
7008 messages available to test cases (like chng-sym.exp).
7009
cb8c4a99
AS
70102007-03-14 Andreas Schwab <schwab@suse.de>
7011
7012 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7013 format changes.
7014
4e463ff5
DJ
70152007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
7016
7017 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
7018 (optimized_1): New.
7019 (main): Call optimized_1.
7020 (gdb2029): Correct typos. Call gdb2029_marker.
7021 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
7022 for gdb2029.
7023
b6db2c47
MK
70242007-03-12 Mark Kettenis <kettenis@gnu.org>
7025
7026 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
7027 as tabs. Remove redundant test pattern.
7028
70ed3737
UW
70292007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7030
7031 * gdb.base/long_long.exp: Accept optional symbol name in <...>
7032 for /a format output.
7033
47b67b60
DJ
70342007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
7035
7036 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
7037 collect output incrementally.
7038
b8953b0e
UW
70392007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7040
7041 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
7042 for -var-create lpcharacter test.
7043 * gdb.mi/mi2-var-cmd.exp: Likewise.
7044
7acd5c40
UW
70452007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7046
7047 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
7048 pass on targets where address zero is readable.
7049
9c6759c1
UW
70502007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7051
7052 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
7053 just a single architecture.
7054
a2f1aeb4
UW
70552007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7056
7057 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
7058 (fetch_all_registers): New function, uses gdb_test_multiple and
7059 exp_continue to fetch inferior output line-by-line.
7060 Replace all uses of do_get_all_registers by fetch_all_registers.
7061
46579ac2
UW
70622007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7063
7064 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
7065 in target_info.
7066
fc133f24
MS
70672007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7068
a9c64011 7069 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
7070 consistancy; add a default (timeout) case.
7071
7646a51d
MS
70722007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7073
7074 * gdb.base/watchpoint.exp: Fix truncated comment.
7075
dcfff61f
MS
70762007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7077
7078 * Makefile.in: Remove spurious single-quotes from sed command.
7079
664e3ee9
DJ
70802007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7081
7082 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
7083 func.
7084 * gdb.mi/mi2-var-cmd.exp: Likewise.
7085
d7cc6f2f
JB
70862007-02-27 Joel Brobecker <brobecker@adacore.com>
7087
a9c64011
AS
7088 * gdb.dwarf2/dw2-producer.S: New file.
7089 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
7090
70912007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
7092
7093 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
7094 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
7095 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
7096 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
7097 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
7098 Revert tests to use mi_gdb_test and include value field in output
7099 of -var-create.
7100
93d42b30
DJ
71012007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
7102
7103 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
7104
c499ed39
DJ
71052007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
7106
7107 * gdb.base/maint.exp: Remove full paths from test names.
7108 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
7109 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
7110
9836f81b
JB
71112007-02-27 Joel Brobecker <brobecker@adacore.com>
7112
7113 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
7114
c74d0ad8
DJ
71152007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
7116
7117 * gdb.server/server-mon.exp: New test.
7118
2711e456
DJ
71192007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
7120
7121 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
7122
ff6f572f
DJ
71232007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
7124
7125 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
7126 register capitalization.
7127
fada3feb
DP
71282007-02-13 Denis Pilat <denis.pilat@st.com>
7129
7130 * gdb.mi/mi-var-invalidate.exp: New file.
7131
fb1e4ffc
DJ
71322007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7133
7134 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
7135
3da939d7
DJ
71362007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7137
7138 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
7139
123dc839
DJ
71402007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7141
7142 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
7143 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
7144
877e3645 71452007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
7146
7147 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
7148 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
7149 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
7150 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
7151 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 7152 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 7153 Update tests to include value field in output of -var-create.
a9c64011 7154
3c0a2960
AS
71552007-02-08 Andreas Schwab <schwab@suse.de>
7156
7157 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
7158
108546a0
DJ
71592007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
7160
7161 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
7162 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
7163
d701dcab
DP
71642007-02-02 Denis Pilat <denis.pilat@st.com>
7165
7166 * gdb.threads/threadapply.exp: check that frame is not changed by
7167 the thread apply all command.
7168
783e3e2f
AS
71692007-01-31 Andreas Schwab <schwab@suse.de>
7170
6d9c3a87
AS
7171 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7172
3c50d7b9
AS
7173 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
7174 in the dwarf sections.
7175 * gdb.dwarf2/mac-fileno.S: Likewise.
7176
783e3e2f
AS
7177 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
7178 bspstore register on ia64.
7179
78ff580e
AS
71802007-01-29 Andreas Schwab <schwab@suse.de>
7181
cc8e9b12
AS
7182 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
7183 "frame-begin" annotation.
7184
78ff580e
AS
7185 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
7186 number of "frames-invalid" annotations.
7187
704a4f78
DJ
71882007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7189
7190 * gdb.base/commands.exp: Call if_commands_test.
7191 (gdb_test_no_prompt, if_commands_test): New.
7192
e741bf94
MK
71932007-01-28 Mark Kettenis <kettenis@gnu.org>
7194
7195 * gdb.threads/sigthread.c (NSIGS): Make bigger.
7196
474d0ad3
AS
71972007-01-27 Andreas Schwab <schwab@suse.de>
7198
7199 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
7200 .short/.int/.quad in the dwarf sections.
7201 * gdb.dwarf2/dw2-intercu.S: Likewise.
7202 * gdb.dwarf2/dw2-intermix.S: Likewise.
7203
e784b426
JK
72042007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7205
7206 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
7207 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
7208 array.
e784b426
JK
7209 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
7210 * gdb.base/setvar.exp: Likewise.
7211
37f08e04
AS
72122007-01-26 Andreas Schwab <schwab@suse.de>
7213
9a01813a
AS
7214 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
7215 test.
7216
37f08e04
AS
7217 * gdb.base/multi-forks.exp ("restart $i"): Also match
7218 __kernel_syscall_via_break.
7219
6e2a9270
VP
72202007-01-24 Vladimir Prus <vladimir@codesourcery.com>
7221
7222 * lib/mi-support.exp (mi_delete_varobj): New.
7223 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
7224 testcase.
7225 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
7226 (main): Call the above.
7227 (reference_update_test, base_in_reference_test)
7228 (reference_to_pointer): Delete the created varobjs.
a9c64011 7229
e515b470
DJ
72302007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
7231
7232 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
7233 * configure: Regenerated.
7234 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
7235 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
7236 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
7237 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
7238 * lib/gdb.exp (gdb_skip_xml_test): New function.
7239
08d8bcd7
DJ
72402007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
7241
7242 * gdb.base/sigrepeat.exp: Correct error message.
7243
72442007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
7245 Daniel Jacobowitz <dan@codesourcery.com>
7246
7247 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
7248 gdb.arch/i386-gnu-cfi-asm.S: New files.
7249
97c3f1f3
JK
72502007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7251
7252 * lib/gdb.exp: Abort on missing `site.exp'.
7253
cb1df416
DJ
72542007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7255 Daniel Jacobowitz <dan@codesourcery.com>
7256
7257 * gdb.base/included.c, gdb.base/included.exp,
7258 gdb.base/included.h: New files.
7259
35990120
DJ
72602007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7261
7262 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
7263 (maximize_rlimit): Reduce limits on 64-bit systems.
7264
6e81a116 72652007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
7266
7267 From Marcus Deuling <deuling@de.ibm.com>:
7268 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
7269 every case.
7270
6c3c41f3
NR
72712007-01-13 Nick Roberts <nickrob@snap.net.nz>
7272
7273 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
7274 (test_path_specification): Use objdir instead of srcdir to always
7275 get an absolute filename.
7276
2f12c312
DJ
72772007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
7278
7279 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
7280
81121995
VP
72812007-01-11 Vladimir Prus <vladimir@codesourcery.com>
7282
7283 * gdb.mi/mi-var-cp.cc (reference_update_tests):
7284 Make sure the variable we're using is in scope.
7285 (reference_to_pointer): Likewise.
7286
4741b737
DJ
72872007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7288
7289 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
7290 has no debug information.
7291
054410c3
DJ
72922007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7293
7294 * gdb.base/annota1.exp: Remove extra send_gdb.
7295
818f79f6
DJ
72962007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7297
7298 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
7299
f7a6bb70
DJ
73002007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7301
7302 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
7303
57e66780
DJ
73042007-01-08 Nick Roberts <nickrob@snap.net.nz>
7305 Daniel Jacobowitz <dan@codesourcery.com>
7306
7307 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
7308 lcharacter or linteger change. Correct duplicated test name.
7309 * gdb.mi/mi2-var-cmd.exp: Likewise.
7310
3d799a95
DJ
73112007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7312
7313 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
7314
73152007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 7316
a9c64011
AS
7317 * gdb.base/nofield.c: New file.
7318 * gdb.base/nofield.exp: New testcase.
51679ba9 7319
eafb94e8
NR
73202007-01-05 Nick Roberts <nickrob@snap.net.nz>
7321
7322 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
7323
7324 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
7325 test.
7326
5e572bb4
DJ
73272007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7328
7329 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
7330
74a44383
DJ
73312007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7332
7333 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
7334 when continuing.
7335
1b572db9
DJ
73362007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
7337
7338 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
7339 Expect ".exe" extension.
7340
381bc39b
DJ
73412007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
7342
7343 * gdb.base/charset.exp: Add explicit filename to break.
7344 * gdb.base/dbx.exp: Add explicit filename to breaks.
7345
2b70e4c6
DJ
73462007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
7347
7348 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
7349 * gdb.mi/mi2-file.exp: Likewise.
7350
303b6f5d
DJ
73512007-01-04 Vladimir Prus <vladimir@codesourcery.com>
7352
7353 Implement specification of MI tests as comments
7354 in C and C++ sources.
7355 * lib/mi-support.exp (mi_autotest_data): New variable.
7356 (mi_autotest_source): New variable.
7357 (count_newlines, mi_prepare_inline_tests)
7358 (mi_get_inline_test, mi_continue_to_line)
7359 (mi_run_inline_test, mi_tbreak)
7360 (mi_send_resuming_command, mi_wait_for_stop): New functions.
7361 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
7362 Run inline tests.
7363 * gdb.mi/mi-var-cp.cc: Define tests here.
7364
23da0d94
VP
73652007-01-04 Vladimir Prus <vladimir@codesourcery.com>
7366
7367 Simplify usage of mi_continue_to.
7368 * lib/mi-support.exp (mi_runto_helper): Renamed
7369 from mi_runto, added new parameter 'run_or_continue'.
7370 (mi_runto): Use mi_runto_helper.
7371 (mi_continue_to): Accept just function name as parameter.
7372 Use mi_runto_helper.
7373 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
7374 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 7375
f9e18282
JB
73762006-01-04 Joel Brobecker <brobecker@adacore.com>
7377
7378 Make this testcase a bit more realistic. The current code
7379 is too simplistic, and allows the compiler to optimize out
7380 some of the entities we need for this testcase.
7381 * gdb.ada/null_record/bar.ads (Void_Star): New type.
7382 (Do_Nothing): Add extra parameter.
7383 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
7384 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
7385 by using a variable of type Void_Star.
7386
fd678c65
JB
73872006-01-04 Joel Brobecker <brobecker@adacore.com>
7388
7389 * gdb.ada/catch_ex/foo.adb: New file.
7390 * gdb.ada/catch_ex.exp: New testcase.
7391
05cfdb42
DJ
73922007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
7393
7394 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
7395 pass --image-base to linker.
7396
2e03ee74
DJ
73972007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7398 Daniel Jacobowitz <dan@codesourcery.com>
7399
7400 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
7401 secondary prompts.
7402
0d5de010
DJ
74032007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
7404
7405 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
7406 output. Test the types of members and member pointers.
7407 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
7408 gdb/2092.
7409 * gdb.cp/member-ptr.exp: Search for a comment instead of a
7410 statement. Enable for GCC. Update expected output for some tests
7411 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
7412 layout.
7413 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
7414 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
7415 (Diamond::vget_base): New.
7416 (main): Add new tests.
7417 * gdb.cp/printmethod.exp: Update expected output for member functions.
7418 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
7419 print pEe->D::vg().
7420
61a771aa
DJ
74212007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
7422
7423 * gdb.threads/tls.exp: Allow stops in sem_post.
7424
2fa63963
DJ
74252006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
7426
7427 * gdb.base/annota1.exp: Allow .*printf in backtraces.
7428 * gdb.base/annota3.exp: Likewise.
7429 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
7430 again (instead of timing out).
7431 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
7432 GCC bug 26475.
7433 * gdb.java/jmisc.exp: Adjust to work with method signatures including
7434 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
7435 test from jmisc1.exp.
7436 * gdb.java/jmisc1.exp: Delete.
7437 * gdb.java/jprint.exp: Adjust to work with method signatures including
7438 return types.
7439 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
7440 * gdb.threads/linux-dp.exp: Don't be confused by program output.
7441 * lib/java.exp (compile_java_from_source): Pass the correct type
7442 to target_compile.
7443
5eefc2b7
JB
74442006-12-31 Joel Brobecker <brobecker@adacore.com>
7445
7446 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
7447 (stack_align_edx): New function.
7448 (stack_align_eax): New function.
7449 (main): Add calls to stack_align_edx and stack_align_eax.
7450 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
7451 Add testing for the cases where the register used during a stack
7452 realignment is edx. Same for eax.
7453
227c54da
DJ
74542006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
7455
7456 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
7457 and generic PE targets.
7458
cab8ac94
JB
74592006-12-29 Joel Brobecker <brobecker@adacore.com>
7460
7461 * gdb.ada/array_return.exp: Update copyright date list.
7462
ba54f318
JB
74632006-12-27 Joel Brobecker <brobecker@adacore.com>
7464
7465 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
7466 (Create_Small_Float_Vector): New function.
7467 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
7468 function body.
7469 * gdb.ada/array_return/p.adb: Use new type and function from
7470 package Pck.
7471 * gdb.ada/array_return.exp: Add a test verifying that GDB is
7472 able to print the value returned by a function returning an
7473 array of float.
7474
6b7a35dd
JB
74752006-12-20 Joel Brobecker <brobecker@adacore.com>
7476
7477 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
7478 The associated tests should be PASSing.
7479
038224f6
VP
74802006-12-08 Vladimir Prus <vladimir@codesourcery.com>
7481
7482 Test for base in references.
7483 * gdb.mi/mi-var-cp.cc: Add test code.
7484 * gdb.mi/mi-var-cp.exp: Test for bases in references.
7485 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
7486 * gdb.mi/mi2-watch.exp: Likewise.
7487 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
7488 (mi_list_varobj_children): New function.
7489
b26ed50d
VP
74902006-12-08 Vladimir Prus <vladimir@codesourcery.com>
7491
7492 * lib/mi-support.exp
7493 (mi_runto): Accept "()" after function name.
7494 (mi_create_varobj): New function.
7495 (mi_varobj_update): New function.
7496 (mi_Check_varobj_value): New function.
7497 * gdb.mi/mi-var-cp.exp: New file.
7498 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 7499
08232497
DJ
75002006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
7501
7502 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
7503 gdb.base/weaklib2.c: New files.
7504
d394c993 75052006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 7506
ac6c2fba
NS
7507 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
7508 info. Adjust test names.
7509
8ec659a0 7510 * gdb.base/break.c (main): Move position of malloc.
d394c993 7511 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 7512
acd65feb
VP
75132006-11-28 Vladimir Prus <vladimir@codesourcery.com>
7514
7515 * gdb.mi/mi-var-cmd.exp: Check -var-update after
7516 assignement of arrays and function pointers.
7517 * gdb.mi/var-cmd.c: Add declaration necessary for above
7518 tests.
7519
f556d5e5
NS
75202006-11-27 Nathan Sidwell <nathan@codesourcery.com>
7521
7522 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
7523
7524 * gdb.threads/linux-dp.exp: Read thread table before and after
7525 creating each philosopher and verify it.
7526
697bc68d
NS
75272006-11-27 Nathan Sidwell <nathan@codesourcery.com>
7528 Paul Brook <paul@codesourcery.com>
7529 Daniel Jacobowitz <dan@codesourcery.com>
7530
7531 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 7532 main to remove duplication. Add start function of the form
697bc68d
NS
7533 '_*start[1-9]*'. Add RVDS start function.
7534
29d73ae4
DJ
75352006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
7536
7537 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
7538
c1d88655
UW
75392006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7540
7541 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
7542 * gdb.asm/spu.inc: New file.
7543 * gdb.base/term.exp: Disable if [target_info exists noargs].
7544 * gdb.gdb/complaints.exp: Disable if ![isnative].
7545 * gdb.gdb/selftest.exp: Likewise.
7546 * gdb.gdb/observer.exp: Likewise.
7547 * gdb.gdb/xfullpath.exp: Likewise.
7548 * gdb.base/attach.exp: Disable on SPU target.
7549 * gdb.cp/bs145503.exp: Likewise.
7550 * gdb.cp/exception.exp: Likewise.
7551 * gdb.cp/userdef.exp: Likewise.
7552
32a13b1a
DJ
75532006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
7554
7555 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
7556
d8295fe9
VP
75572006-11-10 Vladimir Prus <vladimir@codesourcery.com>
7558
7559 * gdb.base/completion.exp: Fix completion tests for
7560 'info' and 'info '.
7561 * gdb.base/help.exp (help_test_raw, test_class_help)
7562 (test_prefix_command_help): Move...
7563 * lib/gdb.exp: Here.
7564 * gdb.base/main.exp: Adjust.
7565 * gdb.cp/maint.exp: Adjust.
7566 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 7567
8c394015
VP
75682006-11-09 Vladimir Prus <vladimir@codesourcery.com>
7569
7570 * gdb.stabs/weird.exp (print_weird_var): Use
7571 gdb_test_multiple instead of gdb_expect.
7572
027fc1bc
VP
75732006-11-09 Vladimir Prus <vladimir@codesourcery.com>
7574
7575 * gdb.base/help.exp (help_test_raw): New.
7576 (test_class_help): New.
7577 (test_prefix_command_help): New.
7578 Adjust testcases.
7579
67609209
FR
75802006-11-09 Christophe Lyon <christophe.lyon@st.com>
7581
7582 * gdb.base/constvars.c (main): Write to crass and crips, so that
7583 they are allocated by the compiler.
7584
f73adfeb
AS
75852006-10-27 Andreas Schwab <schwab@suse.de>
7586
7587 * gdb.base/multi-forks.exp: Use "detach fork" instead of
7588 "detach-fork".
7589
2f83a18e
DJ
75902006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
7591
7592 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
7593 of patterns.
7594
94277a38
DJ
75952006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
7596
7597 * gdb.base/sepdebug.exp: Remove debug format test.
7598 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
7599 Handle no-symtab.
7600 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
7601
5bd2f6e2
DJ
76022006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
7603
7604 * gdb.threads/manythreads.c (thread_function, main): Don't cast
7605 int to pointer or pointer to int.
7606 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
7607
8c008720
DJ
76082006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
7609
7610 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
7611
9e35dae4
DJ
76122006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7613
7614 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
7615
d9639e13
DJ
76162006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7617
7618 PR c++/2116
7619 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
7620
390a1bd0
JB
76212006-10-06 Joel Brobecker <brobecker@adacore.com>
7622
7623 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
7624 the corresponding bug has been fixed in GDB (PR/2018).
7625
dd920c33
JB
76262006-10-06 Joel Brobecker <brobecker@adacore.com>
7627
7628 * gdb.base/subst.exp: New testcase.
7629
53bbefe9
JB
76302006-10-06 Joel Brobecker <brobecker@adacore.com>
7631
7632 * gdb.ada/array_return/pck.ads: Add copyright notice.
7633 * gdb.ada/array_return/pck.adb: Likewise.
7634 * gdb.ada/array_return/p.adb: Likewise.
7635 * gdb.ada/exec_changed/first.adb: Likewise.
7636 * gdb.ada/exec_changed/second.adb: Likewise.
7637
09851417
JB
76382006-10-06 Joel Brobecker <brobecker@adacore.com>
7639
7640 * gdb.ada/watch_arg/watch.adb: New file.
7641 * gdb.ada/watch_arg.exp: New testcase.
7642
041bf30d
VP
76432006-10-02 Vladimir Prus <vladimir@codesourcery.com>
7644
7645 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 7646 via string_to_regexp.
041bf30d 7647 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 7648
f286fbdd 76492006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
7650
7651 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
7652 Remove unused / obsolete files.
7653
7c07f349
NR
76542006-09-19 Nick Roberts <nickrob@snap.net.nz>
7655
7656 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
7657
cd5ff84a
VP
76582006-09-17 Vladimir Prus <vladimir@codesourcery.com>
7659
7660 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
7661 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 7662 the number of frames.
cd5ff84a 7663
ae018d1a
DJ
76642006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
7665
7666 * gdb.base/args.c (main): Add breakpoint marker.
7667 * gdb.base/args.exp: Use args_test for tests. Add new tests which
7668 really test empty arguments.
7669 (args_load): Delete.
7670 (args_test): New.
7671
b399c549
NR
76722006-09-13 Nick Roberts <nickrob@snap.net.nz>
7673
7674 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
7675 check for one file.
7676
2ab1eb7a
VP
76772006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
7678
7679 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
7680 HIGH_FRAME argument to -stack-list-locals can be larger than
7681 the number of frames.
a9c64011 7682
476308bf
FF
76832006-08-18 Fred Fish <fnf@specifix.com>
7684
7685 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
7686 '$' in front of skip_vmx_tests_saved when setting that.
7687
8625200f
AS
76882006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
7689
7690 * gdb.base/trace-commands.exp: New file.
7691
089ec8f1
DJ
76922006-08-10 Joel Brobecker <brobecker@adacore.com>
7693 Daniel Jacobowitz <dan@codesourcery.com>
7694
7695 * gdb.base/step-bt.exp: Make hexadecimal address optional in
7696 expected output of the backtrace commands.
7697
b60f0898
JB
76982006-08-09 Joel Brobecker <brobecker@adacore.com>
7699
7700 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
7701 untested followed by return combination.
7702 * gdb.arch/altivec-regs.exp: Likewise.
7703 * gdb.arch/e500-abi.exp: Likewise.
7704 * gdb.arch/e500-regs.exp: Likewise.
7705 * gdb.arch/gdb1291.exp: Likewise.
7706 * gdb.arch/gdb1431.exp: Likewise.
7707 * gdb.arch/gdb1558.exp: Likewise.
7708 * gdb.arch/i386-prologue.exp: Likewise.
7709 * gdb.arch/i386-unwind.exp: Likewise.
7710 * gdb.asm/asm-source.exp: Likewise.
7711 * gdb.base/a2-run.exp: Likewise.
7712 * gdb.base/advance.exp: Likewise.
7713 * gdb.base/all-bin.exp: Likewise.
7714 * gdb.base/annota1.exp: Likewise.
7715 * gdb.base/annota3.exp: Likewise.
7716 * gdb.base/args.exp: Likewise.
7717 * gdb.base/arithmet.exp: Likewise.
7718 * gdb.base/assign.exp: Likewise.
7719 * gdb.base/async.exp: Likewise.
7720 * gdb.base/attach.exp: Likewise.
7721 * gdb.base/bang.exp: Likewise.
7722 * gdb.base/bigcore.exp: Likewise.
7723 * gdb.base/bitfields.exp: Likewise.
7724 * gdb.base/bitfields2.exp: Likewise.
7725 * gdb.base/break.exp: Likewise.
7726 * gdb.base/call-sc.exp: Likewise.
7727 * gdb.base/call-strs.exp: Likewise.
7728 * gdb.base/callfuncs.exp: Likewise.
7729 * gdb.base/checkpoint.exp: Likewise.
7730 * gdb.base/chng-syms.exp: Likewise.
7731 * gdb.base/code-expr.exp: Likewise.
7732 * gdb.base/commands.exp: Likewise.
7733 * gdb.base/completion.exp: Likewise.
7734 * gdb.base/cond-expr.exp: Likewise.
7735 * gdb.base/condbreak.exp: Likewise.
7736 * gdb.base/consecutive.exp: Likewise.
7737 * gdb.base/constvars.exp: Likewise.
7738 * gdb.base/corefile.exp: Likewise.
7739 * gdb.base/cvexpr.exp: Likewise.
7740 * gdb.base/dbx.exp: Likewise.
7741 * gdb.base/define.exp: Likewise.
7742 * gdb.base/detach.exp: Likewise.
7743 * gdb.base/display.exp: Likewise.
7744 * gdb.base/dump.exp: Likewise.
7745 * gdb.base/ena-dis-br.exp: Likewise.
7746 * gdb.base/ending-run.exp: Likewise.
7747 * gdb.base/environ.exp: Likewise.
7748 * gdb.base/eval-skip.exp: Likewise.
7749 * gdb.base/exprs.exp: Likewise.
7750 * gdb.base/fileio.exp: Likewise.
7751 * gdb.base/finish.exp: Likewise.
7752 * gdb.base/float.exp: Likewise.
7753 * gdb.base/foll-exec.exp: Likewise.
7754 * gdb.base/foll-fork.exp: Likewise.
7755 * gdb.base/foll-vfork.exp: Likewise.
7756 * gdb.base/freebpcmd.exp: Likewise.
7757 * gdb.base/funcargs.exp: Likewise.
7758 * gdb.base/gcore.exp: Likewise.
7759 * gdb.base/gdb1090.exp: Likewise.
7760 * gdb.base/gdb1250.exp: Likewise.
7761 * gdb.base/huge.exp: Likewise.
7762 * gdb.base/info-proc.exp: Likewise.
7763 * gdb.base/interrupt.exp: Likewise.
7764 * gdb.base/jump.exp: Likewise.
7765 * gdb.base/langs.exp: Likewise.
7766 * gdb.base/lineinc.exp: Likewise.
7767 * gdb.base/list.exp: Likewise.
7768 * gdb.base/logical.exp: Likewise.
7769 * gdb.base/long_long.exp: Likewise.
7770 * gdb.base/macscp.exp: Likewise.
7771 * gdb.base/maint.exp: Likewise.
7772 * gdb.base/mips_pro.exp: Likewise.
7773 * gdb.base/miscexprs.exp: Likewise.
7774 * gdb.base/multi-forks.exp: Likewise.
7775 * gdb.base/opaque.exp: Likewise.
7776 * gdb.base/overlays.exp: Likewise.
7777 * gdb.base/pc-fp.exp: Likewise.
7778 * gdb.base/pointers.exp: Likewise.
7779 * gdb.base/printcmds.exp: Likewise.
7780 * gdb.base/psymtab.exp: Likewise.
7781 * gdb.base/ptype.exp: Likewise.
7782 * gdb.base/recurse.exp: Likewise.
7783 * gdb.base/relational.exp: Likewise.
7784 * gdb.base/relocate.exp: Likewise.
7785 * gdb.base/remote.exp: Likewise.
7786 * gdb.base/reread.exp: Likewise.
7787 * gdb.base/restore.exp: Likewise.
7788 * gdb.base/return.exp: Likewise.
7789 * gdb.base/return2.exp: Likewise.
7790 * gdb.base/scope.exp: Likewise.
7791 * gdb.base/sect-cmd.exp: Likewise.
7792 * gdb.base/sep.exp: Likewise.
7793 * gdb.base/sepdebug.exp: Likewise.
7794 * gdb.base/setshow.exp: Likewise.
7795 * gdb.base/setvar.exp: Likewise.
7796 * gdb.base/sigall.exp: Likewise.
7797 * gdb.base/sigbpt.exp: Likewise.
7798 * gdb.base/signals.exp: Likewise.
7799 * gdb.base/signull.exp: Likewise.
7800 * gdb.base/sizeof.exp: Likewise.
7801 * gdb.base/solib.exp: Likewise.
7802 * gdb.base/step-line.exp: Likewise.
7803 * gdb.base/step-test.exp: Likewise.
7804 * gdb.base/structs.exp: Likewise.
7805 * gdb.base/structs2.exp: Likewise.
7806 * gdb.base/term.exp: Likewise.
7807 * gdb.base/twice.exp: Likewise.
7808 * gdb.base/until.exp: Likewise.
7809 * gdb.base/varargs.exp: Likewise.
7810 * gdb.base/volatile.exp: Likewise.
7811 * gdb.base/watchpoint.exp: Likewise.
7812 * gdb.base/whatis-exp.exp: Likewise.
7813 * gdb.base/whatis.exp: Likewise.
7814 * gdb.cp/ambiguous.exp: Likewise.
7815 * gdb.cp/annota2.exp: Likewise.
7816 * gdb.cp/annota3.exp: Likewise.
7817 * gdb.cp/bool.exp: Likewise.
7818 * gdb.cp/breakpoint.exp: Likewise.
7819 * gdb.cp/casts.exp: Likewise.
7820 * gdb.cp/class2.exp: Likewise.
7821 * gdb.cp/classes.exp: Likewise.
7822 * gdb.cp/cplusfuncs.exp: Likewise.
7823 * gdb.cp/ctti.exp: Likewise.
7824 * gdb.cp/derivation.exp: Likewise.
7825 * gdb.cp/exception.exp: Likewise.
7826 * gdb.cp/gdb1355.exp: Likewise.
7827 * gdb.cp/hang.exp: Likewise.
7828 * gdb.cp/inherit.exp: Likewise.
7829 * gdb.cp/local.exp: Likewise.
7830 * gdb.cp/m-data.exp: Likewise.
7831 * gdb.cp/m-static.exp: Likewise.
7832 * gdb.cp/member-ptr.exp: Likewise.
7833 * gdb.cp/method.exp: Likewise.
7834 * gdb.cp/misc.exp: Likewise.
7835 * gdb.cp/namespace.exp: Likewise.
7836 * gdb.cp/overload.exp: Likewise.
7837 * gdb.cp/ovldbreak.exp: Likewise.
7838 * gdb.cp/pr-1023.exp: Likewise.
7839 * gdb.cp/pr-1210.exp: Likewise.
7840 * gdb.cp/pr-574.exp: Likewise.
7841 * gdb.cp/printmethod.exp: Likewise.
7842 * gdb.cp/psmang.exp: Likewise.
7843 * gdb.cp/ref-params.exp: Likewise.
7844 * gdb.cp/ref-types.exp: Likewise.
7845 * gdb.cp/rtti.exp: Likewise.
7846 * gdb.cp/templates.exp: Likewise.
7847 * gdb.cp/try_catch.exp: Likewise.
7848 * gdb.cp/userdef.exp: Likewise.
7849 * gdb.cp/virtfunc.exp: Likewise.
7850 * gdb.disasm/am33.exp: Likewise.
7851 * gdb.disasm/h8300s.exp: Likewise.
7852 * gdb.disasm/mn10300.exp: Likewise.
7853 * gdb.disasm/sh3.exp: Likewise.
7854 * gdb.disasm/t01_mov.exp: Likewise.
7855 * gdb.disasm/t02_mova.exp: Likewise.
7856 * gdb.disasm/t03_add.exp: Likewise.
7857 * gdb.disasm/t04_sub.exp: Likewise.
7858 * gdb.disasm/t05_cmp.exp: Likewise.
7859 * gdb.disasm/t06_ari2.exp: Likewise.
7860 * gdb.disasm/t07_ari3.exp: Likewise.
7861 * gdb.disasm/t08_or.exp: Likewise.
7862 * gdb.disasm/t09_xor.exp: Likewise.
7863 * gdb.disasm/t10_and.exp: Likewise.
7864 * gdb.disasm/t11_logs.exp: Likewise.
7865 * gdb.disasm/t12_bit.exp: Likewise.
7866 * gdb.disasm/t13_otr.exp: Likewise.
7867 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
7868 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
7869 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7870 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
7871 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
7872 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
7873 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
7874 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
7875 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
7876 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
7877 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
7878 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
7879 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
7880 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
7881 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
7882 * gdb.mi/gdb701.exp: Likewise.
7883 * gdb.mi/gdb792.exp: Likewise.
7884 * gdb.mi/mi-basics.exp: Likewise.
7885 * gdb.mi/mi-break.exp: Likewise.
7886 * gdb.mi/mi-cli.exp: Likewise.
7887 * gdb.mi/mi-console.exp: Likewise.
7888 * gdb.mi/mi-disassemble.exp: Likewise.
7889 * gdb.mi/mi-eval.exp: Likewise.
7890 * gdb.mi/mi-file.exp: Likewise.
7891 * gdb.mi/mi-read-memory.exp: Likewise.
7892 * gdb.mi/mi-regs.exp: Likewise.
7893 * gdb.mi/mi-return.exp: Likewise.
7894 * gdb.mi/mi-simplerun.exp: Likewise.
7895 * gdb.mi/mi-stack.exp: Likewise.
7896 * gdb.mi/mi-stepi.exp: Likewise.
7897 * gdb.mi/mi-syn-frame.exp: Likewise.
7898 * gdb.mi/mi-until.exp: Likewise.
7899 * gdb.mi/mi-var-block.exp: Likewise.
7900 * gdb.mi/mi-var-child.exp: Likewise.
7901 * gdb.mi/mi-var-cmd.exp: Likewise.
7902 * gdb.mi/mi-var-display.exp: Likewise.
7903 * gdb.mi/mi-watch.exp: Likewise.
7904 * gdb.mi/mi2-basics.exp: Likewise.
7905 * gdb.mi/mi2-break.exp: Likewise.
7906 * gdb.mi/mi2-cli.exp: Likewise.
7907 * gdb.mi/mi2-console.exp: Likewise.
7908 * gdb.mi/mi2-disassemble.exp: Likewise.
7909 * gdb.mi/mi2-eval.exp: Likewise.
7910 * gdb.mi/mi2-file.exp: Likewise.
7911 * gdb.mi/mi2-read-memory.exp: Likewise.
7912 * gdb.mi/mi2-regs.exp: Likewise.
7913 * gdb.mi/mi2-return.exp: Likewise.
7914 * gdb.mi/mi2-simplerun.exp: Likewise.
7915 * gdb.mi/mi2-stack.exp: Likewise.
7916 * gdb.mi/mi2-stepi.exp: Likewise.
7917 * gdb.mi/mi2-syn-frame.exp: Likewise.
7918 * gdb.mi/mi2-until.exp: Likewise.
7919 * gdb.mi/mi2-var-block.exp: Likewise.
7920 * gdb.mi/mi2-var-child.exp: Likewise.
7921 * gdb.mi/mi2-var-cmd.exp: Likewise.
7922 * gdb.mi/mi2-var-display.exp: Likewise.
7923 * gdb.mi/mi2-watch.exp: Likewise.
7924 * gdb.stabs/exclfwd.exp: Likewise.
7925 * gdb.stabs/weird.exp: Likewise.
7926 * gdb.threads/gcore-thread.exp: Likewise.
7927 * gdb.trace/actions.exp: Likewise.
7928 * gdb.trace/backtrace.exp: Likewise.
7929 * gdb.trace/circ.exp: Likewise.
7930 * gdb.trace/collection.exp: Likewise.
7931 * gdb.trace/deltrace.exp: Likewise.
7932 * gdb.trace/infotrace.exp: Likewise.
7933 * gdb.trace/limits.exp: Likewise.
7934 * gdb.trace/packetlen.exp: Likewise.
7935 * gdb.trace/passc-dyn.exp: Likewise.
7936 * gdb.trace/passcount.exp: Likewise.
7937 * gdb.trace/report.exp: Likewise.
7938 * gdb.trace/save-trace.exp: Likewise.
7939 * gdb.trace/tfind.exp: Likewise.
7940 * gdb.trace/tracecmd.exp: Likewise.
7941 * gdb.trace/while-dyn.exp: Likewise.
7942 * gdb.trace/while-stepping.exp: Likewise.
7943
f4b618d1
JB
79442006-08-08 Joel Brobecker <brobecker@adacore.com>
7945
7946 * gdb.base/step-bt.c: New file.
7947 * gdb.base/step-bt.exp: New testcase.
7948
3d00d119
DJ
79492006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
7950
7951 * config/monitor.exp (gdb_load): Remove support for obsolete
7952 download-write-size.
7953 * gdb.base/remote.exp: Likewise. Update all callers of
7954 gdb_timed_load.
7955
017b5bd4
DJ
79562006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
7957
7958 * cursal.exp: Pass binfile to gdb_load.
7959
837c599d
DJ
79602006-08-01 Nathan Sidwell <nathan@codesourcery.com>
7961
7962 * gdb.base/cursal.exp: Add "" to gdb_load call.
7963
8dd4540b
MK
79642006-07-29 Mark Kettenis <kettenis@gnu.org>
7965
7966 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
7967 NetBSD/ELF targets.
7968
ab5c9f60
DJ
79692006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
7970
7971 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
7972 operator*.
7973
4c42eaff
DJ
79742006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
7975
7976 * gdb.base/completion.exp: Update for change in "file" behavior.
7977 * gdb.stabs/weird.exp: Likewise.
7978 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
7979 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
7980
0155cc76
NS
79812006-07-24 Nathan Sidwell <nathan@codesourcery.com>
7982
7983 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
7984 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
7985
16026cd7
AS
79862006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
7987
7988 * gdb.base/default.exp: Update source command error message.
7989 * gdb.base/help.exp: Update 'help source' message.
7990
16963cb6
DJ
79912006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
7992
7993 * gdb.cp/bs15503.exp: Update comment for no longer crashing
7994 test.
7995
6d7fd486
AS
79962006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
7997
7998 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
7999
29e8a844
DJ
80002006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
8001
8002 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
8003
6afcfa39
DJ
80042006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
8005
8006 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
8007
267a692b
MK
80082006-07-17 Mark Kettenis <kettenis@gnu.org>
8009
8010 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
8011 *-*-openbsd* from targets for wich we expect ARM FPA floating
8012 point format.
8013
85d2fec4
NR
80142006-07-17 Nick Roberts <nickrob@snap.net.nz>
8015
8016 * gdb.cp/annota3.exp: Expect frame-begin annotation.
8017
80182006-07-17 Mark Kettenis <kettenis@gnu.org>
8019
8020 * gdb.base/annota3.exp: Expect frame-begin annotation.
8021
85b4c6e8
JB
80222006-07-14 Joel Brobecker <brobecker@adacore.com>
8023
8024 * gdb.base/help.exp: Adjust "help unset" test to accept
8025 any list of unset commands.
8026
fb933624
DJ
80272006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
8028 Daniel Jacobowitz <dan@codesourcery.com>
8029
8030 * gdb.cp/ref-params.exp: New test.
8031 * gdb.cp/ref-params.cc: New source file.
8032 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
8033
1dff4b64
MK
80342006-07-08 Mark Kettenis <kettenis@gnu.org>
8035
8036 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
8037 spaces/tabs in regular expressions since they might not be there.
8038
40d2e0e3
AS
80392006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
8040
8041 * gdb.base/ifelse.exp: New file.
8042
f6c957d2
NS
80432006-07-04 Nathan Sidwell <nathan@codesourcery.com>
8044
8045 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
8046 line.
8047 * gdb.base/huge.exp: Loop over compilation to find a size that
8048 is acceptable.
8049 * gdb.base/remote.exp: Correct expected strings.
8050 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
8051
b9c5a23d
DJ
80522006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8053
8054 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
8055
9af2e58d
DJ
80562006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8057
8058 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
8059 native.
8060
30930ca5
DJ
80612006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8062
8063 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
8064 enable stabs testing.
8065
aa32fa1d
DJ
80662006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8067
bd4a4c80 8068 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
8069 gdb_test_multiple does.
8070
321fef15
DJ
80712006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8072
8073 * Makefile.in (host_alias): Remove.
8074 (target_alias): Use @target_noncanonical@.
8075 (site.exp): Don't set host_alias.
8076 * aclocal.m4: Remove contents. Include acx.m4.
8077 * configure: Regenerated.
8078 * configure.ac: Use ACX_NONCANONICAL_TARGET.
8079
e1c2defa
NS
80802006-06-13 Nathan Sidwell <nathan@codesourcery.com>
8081
e63b55d1
NS
8082 * lib/gdb.exp (gdb_load_cmd): New.
8083
5600ea19
NS
8084 * gdb.base/fileio.c: Add system(NULL) test.
8085 * gdb.base/fileio.exp: Check it.
8086
e1c2defa
NS
8087 * gdb.base/break.c: Add 10a breakpoint at }
8088 * gdb.base/break.exp: Add test for breakpoint at }
8089 * gdb.cp/anon-union.cc: Add code at end of function.
8090 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
8091 * gdb.mi/var-cmd.c: Add code at end of function.
8092 * gdb.mi/mi-var-display.exp: Adjust end of next.
8093 * gdb.mi/mi2-var-display.exp: Likewise.
8094 * gdb.base/fileio.c: Add stop function and insert calls at
8095 stopping places.
8096 * gdb.base/fileio.exp: Breakpoint stop function and remove
8097 explicit line number references.
8098
6c0112ec
JB
80992006-05-19 Joel Brobecker <brobecker@adacore.com>
8100
a9c64011
AS
8101 * gdb.base/del.exp (test_delete_alias): New function.
8102 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 8103
154189a4
FF
81042006-05-18 Fred Fish <fnf@specifix.com>
8105
8106 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
8107 required. Check for spurious output after program exits normally.
8108
582e64c2
FF
81092006-05-17 Fred Fish <fnf@specifix.com>
8110
8111 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
8112 gdb_load, so it works in the simulator.
8113
8ef6493a
FF
81142006-05-11 Fred Fish <fnf@specifix.com>
8115
8116 * gdb.base/bang.exp: Ignore unexpected output between the
8117 "program exited normally" and the gdb prompt, as many other
8118 tests do.
8119
692b141c
MK
81202006-05-07 Mark Kettenis <kettenis@gnu.org>
8121
8122 * gdb.base/help.exp: Make "delete checkpoint" part option for
8123 "help d" and "help delete" tests.
8124
540b8a30
UW
81252006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8126
a9c64011 8127 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
8128 expected output in some mi_gdb_test statements.
8129 * gdb.mi/mi2-basics.exp: Likewise.
8130
9b6462d9
JB
81312006-05-05 Joel Brobecker <brobecker@adacore.com>
8132
8133 * gdb.base/del.c: New file.
8134 * gdb.base/del.exp: New testcase.
8135
954de43b
DM
81362006-05-05 David S. Miller <davem@sunset.davemloft.net>
8137
8138 * gdb.base/break.exp: Do not assume a breakpoint on
8139 main will actually be in $srcfile when optimizing.
1303f75e
DM
8140 * gdb.base/savedregs.exp: Do not require that the dummy
8141 frame location match up to a symbol and source file location.
c3242428
DM
8142 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
8143 will get printed without a mi_cmd_data_list_register_values prefix.
8144 (*-data-list-register-*): Correct regular expressions to expect the new
8145 pseudo d? floating point registers.
8146 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 8147
c7e64c9a
DJ
81482006-05-05 Christophe Lyon <christophe.lyon@st.com>
8149
8150 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
8151 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
8152 is allocated by the compiler.
8153 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
8154 anons, e, anone to force their allocation by the compiler.
8155
81562006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
8157
8158 * gdb.base/help.exp: Update expected text for help d and
8159 help delete.
8160
27ce9a6d
MK
81612006-05-02 Mark Kettenis <kettenis@gnu.org>
8162
8163 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
8164 NetBSD/ELF targets.
8165
8608915f
MK
81662006-04-30 Mark Kettenis <kettenis@gnu.org>
8167
8168 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
8169 single-step breakpoint fails; make this a KFAIL on
8170 sparc*-*-openbsd*.
8171 * gdb.base/siginfo.exp: Likewise.
8172 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8173
b8db102d
MS
81742006-04-26 Michael Snyder <msnyder@redhat.com>
8175
8176 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
8177 which may have to consume output from other forks.
8178 Add tests to make sure that "delete fork" succeeded.
8179
c702009a
MS
81802006-04-20 Michael Snyder <msnyder@redhat.com>
8181
8182 * 2006-03-22 Jim Blandy <jimb@redhat.com>
8183 Add support for the Renesas M32C and M16C.
8184
8185 * gdb.asm/asm-source.exp: Add m32c target.
8186 * gdb.asm/m32c.inc: Support for m32c target.
8187
e28493f2
AS
81882006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
8189
8190 * gdb.base/commands.exp (recursive_source_test): New test.
8191
880da185
DM
81922006-04-04 David S. Miller <davem@sunset.davemloft.net>
8193
8194 * gdb.base/float.exp: Add pattern for sparc targets.
8195
61d9b92f
DJ
81962006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8197
8198 * gdb.base/commands.exp (stray_arg0_test): New test.
8199
bd717df8
PB
82002006-03-30 Paul Brook <paul@codesourcery.com>
8201
8202 * gdb.mi/mi-until.exp: kfail broken until command.
8203 * gdb.mi/mi2-until.exp: Ditto.
8204
ec793d3c
NR
82052006-03-27 Nick Roberts <nickrob@snap.net.nz>
8206
8207 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
8208
831004b7
AO
82092006-03-08 Alexandre Oliva <aoliva@redhat.com>
8210
8211 * gdb.base/prelink.exp: Anchor tested-for regular expression
8212 on gdb prompt.
8213
effe49a0
PB
82142006-03-07 Paul Brook <paul@codesourcery.com>
8215
8216 * gdb.base/assign.exp: Correct fail message.
8217
e5461016
PB
82182006-03-07 Paul Brook <paul@codesourcery.com>
8219
8220 * lib/compiler.c: Extract armcc version number.
8221 * lib/compiler.cc: Ditto.
8222
fc91c6c2
PB
82232006-03-07 Paul Brook <paul@codesourcery.com>
8224
8225 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
8226 additional_flags=-w.
8227 * gdb.arch/altivec-regs.exp: Ditto.
8228 * gdb.arch/e500-abi.exp: Ditto.
8229 * gdb.arch/e500-regs.exp: Ditto.
8230 * gdb.base/all-bin.exp: Ditto.
8231 * gdb.base/annota1.exp: Ditto.
8232 * gdb.base/annota3.exp: Ditto.
8233 * gdb.base/args.exp: Ditto.
8234 * gdb.base/arithmet.exp: Ditto.
8235 * gdb.base/assign.exp: Ditto.
8236 * gdb.base/async.exp: Ditto.
8237 * gdb.base/bang.exp: Ditto.
8238 * gdb.base/break.exp: Ditto.
8239 * gdb.base/call-rt-st.exp: Ditto.
8240 * gdb.base/completion.exp: Ditto.
8241 * gdb.base/cond-expr.exp: Ditto.
8242 * gdb.base/condbreak.exp: Ditto.
8243 * gdb.base/consecutive.exp: Ditto.
8244 * gdb.base/define.exp: Ditto.
8245 * gdb.base/display.exp: Ditto.
8246 * gdb.base/ena-dis-br.exp: Ditto.
8247 * gdb.base/environ.exp: Ditto.
8248 * gdb.base/eval-skip.exp: Ditto.
8249 * gdb.base/info-proc.exp: Ditto.
8250 * gdb.base/jump.exp: Ditto.
8251 * gdb.base/logical.exp: Ditto.
8252 * gdb.base/long_long.exp: Ditto.
8253 * gdb.base/maint.exp: Ditto.
8254 * gdb.base/miscexprs.exp: Ditto.
8255 * gdb.base/pc-fp.exp: Ditto.
8256 * gdb.base/pointers.exp: Ditto.
8257 * gdb.base/relational.exp: Ditto.
8258 * gdb.base/reread.exp: Ditto.
8259 * gdb.base/sect-cmd.exp: Ditto.
8260 * gdb.base/sep.exp: Ditto.
8261 * gdb.base/sepdebug.exp: Ditto.
8262 * gdb.base/until.exp: Ditto.
8263 * gdb.base/whatis-exp.exp: Ditto.
8264 * gdb.cp/annota2.exp: Ditto.
8265 * gdb.cp/annota3.exp: Ditto.
8266 * gdb.trace/actions.exp: Ditto.
8267 * gdb.trace/backtrace.exp: Ditto.
8268 * gdb.trace/circ.exp: Ditto.
8269 * gdb.trace/collection.exp: Ditto.
8270 * gdb.trace/deltrace.exp: Ditto.
8271 * gdb.trace/infotrace.exp: Ditto.
8272 * gdb.trace/limits.exp: Ditto.
8273 * gdb.trace/packetlen.exp: Ditto.
8274 * gdb.trace/passc-dyn.exp: Ditto.
8275 * gdb.trace/passcount.exp: Ditto.
8276 * gdb.trace/report.exp: Ditto.
8277 * gdb.trace/save-trace.exp: Ditto.
8278 * gdb.trace/tfind.exp: Ditto.
8279 * gdb.trace/tracecmd.exp: Ditto.
8280 * gdb.trace/while-dyn.exp: Ditto.
8281 * gdb.trace/while-stepping.exp: Ditto.
8282 * lib/gdb.exp: Ditto.
8283 (gdb_compile): Handle nowarning option.
8284
5f4a23d9
AO
82852006-03-07 Alexandre Oliva <aoliva@redhat.com>
8286
8287 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
8288 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
8289 Rename executable to prelinkt. Don't re-prelink if we didn't
8290 get a core file. Test prelink -u exit status to tell whether
8291 prelinking failed. Use gdb_test_multiple.
8292
9733fc94
DJ
82932006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
8294
8295 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
8296 (do_tests): Call it.
8297
cc10cae3
AO
82982006-02-28 Alexandre Oliva <aoliva@redhat.com>
8299
8300 * gdb.base/prelink.exp: New test.
8301 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
8302
15c46491
WZ
83032006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
8304
8305 * gdb.fortran/derived-type.f90: New file.
8306 * gdb.fortran/derived-type.exp: New testcase.
8307
5c9f7ded
DJ
83082006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
8309
8310 * gdb.base/default.exp: Allow ';' as a directory separator.
8311
5b96932b
AS
83122006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
8313
8314 * gdb.base/help.exp (help add-symbol-file): Update.
8315
1986bccd
AS
83162006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
8317
8318 * gdb.base/help.exp (help load): Update expected results.
8319
a8b7528f
FF
83202006-02-19 Fred Fish <fnf@specifix.com>
8321
8322 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
8323 specifix hex value as part of results.
8324 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 8325
f8261448
FF
83262006-02-16 Fred Fish <fnf@specifix.com>
8327
8328 * gdb.base/whatis.c: Define variables using typedefs char_addr,
8329 ushort_addr, and slong_addr, so the typedefs are not optimized
8330 away.
8331 * gdb.base/whatis.exp: Add tests using type name for struct type,
8332 union type, enum type, and typedef.
a9c64011 8333
31d8bdd2
MK
83342006-02-13 Mark Kettenis <kettenis@gnu.org>
8335
8336 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
8337
34e41e63
JB
83382006-02-13 Jim Blandy <jimb@redhat.com>
8339
8340 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
8341 case where it takes two "next" commands to skip past the init
8342 call.
8343
ac6e4f31
FF
83442006-02-12 Fred Fish <fnf@specifix.com>
8345
8346 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
8347 to handle cases where it takes two "next" commands to skip
8348 past the init call.
8349
2db2d571
JB
83502006-02-07 Joel Brobecker <brobecker@adacore.com>
8351
8352 * gdb.ada/array_return.exp: Mark the last test as expected to fail
8353 on hppa32 targets.
8354
38fcd64c
DJ
83552006-02-06 Vladimir Prus <ghost@cs.msu.su>
8356
8357 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
8358 field.
8359
1315ad46
MK
83602006-01-29 Mark Kettenis <kettenis@gnu.org>
8361
8362 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
8363
5625b943
DJ
83642006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8365
8366 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
8367 files.
8368
80df1bbe
DJ
83692006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8370
8371 * gdb.cp/maint.exp: Set complaints to a positive value.
8372
9078e690
DJ
83732006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
8374
8375 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
8376 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
8377 function name.
8378
9c903399
DJ
83792006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
8380
8381 * gdb.base/checkpoint.c: Update copyright notice. Include
8382 <stdlib.h>.
8383
761ae4d6
JB
83842006-01-04 Jim Blandy <jimb@redhat.com>
8385
8386 * gdb.asm/asm-source.exp: Independently provide default values for
8387 asm-flags and debug-flags. Use 'string equal' to do the
8388 comparison, not the implicit expr's '==' operator. Remove
8389 now-unneeded assignments to asm-flags. In h8300 case, place
8390 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
8391
099ac3dd
MS
83922006-01-04 Michael Snyder <msnyder@redhat.com>
8393
8394 * gdb.base/checkpoint.c: New file.
8395 * gdb.base/checkpoint.exp: New file.
8396 * gdb.base/multi-fork.c: New file.
8397 * gdb.base/multi-fork.exp: New file.
8398 * gdb.base/pi.txt: New file (data for checkpoint.c test).
8399
f4d85314
FF
84002006-01-04 Fred Fish <fnf@specifix.com>
8401
8402 * gdb.base/ptype.c (foo): Add typedef.
8403 (intfoo): Add function.
8404 * gdb.base/ptype1.c: New file.
8405 * gdb.base/ptype.exp: Handle compilation and linking with two
8406 source files. Test that proper type for "foo" is found based
8407 on source context rather than first match found in symtabs.
8408
a1b06f35
MK
84092005-12-28 Mark Kettenis <kettenis@gnu.org>
8410
8411 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
8412 * gdb.asm/openbsd.inc: Indent commands.
8413
d082a1e2
MK
84142005-12-26 Mark Kettenis <kettenis@gnu.org>
8415
c65016bd
MK
8416 * gdb.base/freebpcmd.exp: Increase timeout.
8417
d082a1e2
MK
8418 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
8419
d3c32a0e
DJ
84202005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
8421
8422 * gdb.base/default.exp: Update check for "show version".
8423
9fdb1f50
RC
84242005-12-09 Randolph Chung <tausq@debian.org>
8425
8426 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
8427 * gdb.asm/pa64.inc: New file.
8428
5f2c56f7
RC
84292005-12-09 Randolph Chung <tausq@debian.org>
8430
8431 * gdb.asm/common.inc: Indent commands.
8432 * gdb.asm/asmsrc1.s: Likewise.
8433 * gdb.asm/asmsrc2.s: Likewise.
8434
8117349c
RC
84352005-12-09 Randolph Chung <tausq@debian.org>
8436
8437 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
8438 (get_addr_of_sym): Remove duplicate print.
8439 (gen_core): xfail hppa*-*-hpux*, update expected output.
8440 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
8441 * gdb.arch/pa64-nullify.s: New file.
8442
8f07f25a
RC
84432005-12-09 Randolph Chung <tausq@debian.org>
8444
8445 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
8446
55b39184
DJ
84472005-12-07 Christophe Lyon <christophe.lyon@st.com>
8448
8449 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
8450 code generation for these functions.
8451 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
8452 error message.
8453
31e2b00f
AS
84542005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
8455
8456 * gdb.base/help.exp (help b, help br, help bre, help brea)
8457 (help break): Update the expected message.
8458
c3d0b56e
SC
84592005-11-11 Stephane Carrez <stcarrez@nerim.fr>
8460
8461 * gdb.asm/m68hc11.inc: Setup the data section.
8462 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
8463 script for this test.
8464 (m6812-*-*): Likewise.
8465
36ae0ea9
RC
84662005-11-09 Randolph Chung <tausq@debian.org>
8467
8468 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
8469
9d6f42e9
WZ
84702005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
8471
8472 * gdb.base/break.exp: Fix a comment typo.
8473
e2126a14
EZ
84742005-11-03 Jim Blandy <jimb@redhat.com>
8475
a9c64011
AS
8476 Checked in by Elena Zannoni <ezannoni@redhat.com>
8477
e2126a14
EZ
8478 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
8479
e0ac7199
CV
84802005-11-02 Corinna Vinschen <vinschen@redhat.com>
8481
8482 * gdb.arch/gdb1558.c: Include stdio.h.
8483
31d3fb18
MK
84842005-10-31 Mark Kettenis <kettenis@gnu.org>
8485
8486 * gdb.asm/asm-source.exp: Use -e instead of --entry.
8487
e52b687c
MK
84882005-10-31 Mark Kettenis <kettenis@gnu.org>
8489
8490 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
8491
f4711d79
PG
84922005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
8493
a9c64011
AS
8494 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
8495 vscr" tests to better match output.
f4711d79 8496
987a9106
JB
84972005-10-12 Jim Blandy <jimb@redhat.com>
8498
8499 * gdb.base/structs.exp (any): New function.
8500 (test_struct_returns): Don't make any assumptions at all about
8501 what value the function returns when GDB can't set the return
8502 value.
8503
2336bb58
JB
85042005-10-09 Joel Brobecker <brobecker@adacore.com>
8505
8506 * gdb.ada/arrayidx/p.adb: New file.
8507 * gdb.ada/arrayidx.exp: New testcase
8508
85092005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
8510
8511 * gdb.ada/array_return/pck.ads: New file.
8512 * gdb.ada/array_return/pck.adb: New file.
8513 * gdb.ada/array_return/p.adb: New file.
8514 * gdb.ada/array_return.exp: New testcase.
8515
705335ea
JB
85162005-10-03 Joel Brobecker <brobecker@adacore.com>
8517
a9c64011
AS
8518 * gdb.base/arrayidx.c: New file.
8519 * gdb.base/arrayidx.exp: New testcase.
705335ea 8520
11ee9940
NR
85212005-09-29 Nick Roberts <nickrob@snap.net.nz>
8522
8523 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
8524 frames-invalid and breakpoints-invalid are no longer generated
8525 with level 3 so don't expect them in the output.
8526
39fb8e9e
BR
85272005-09-27 Bob Rossi <bob@brasko.net>
8528
a9c64011 8529 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
8530 from test. Escape the | in mi_gdb_test call.
8531 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
8532 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
8533 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
8534 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
8535 expected regex's in mi_gdb_test calls.
8536 * lib/mi-support.exp: Remove arbitrary .* from tests.
8537 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
8538 Fully anchor GDB/MI expected results in mi_gdb_test.
8539 * lib/gdb.exp (string_to_regexp): Escape the ] character.
8540 * gdb.base/sizeof.exp: Remove escape character. Correct test.
8541
2af48f68
PB
85422005-09-26 Paul Brook <paul@codesourcery.com>
8543
8544 * long_long.exp: Exclude eabi targets from arm FPA float format test.
8545
f34502bc
WZ
85462005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
8547
8548 * bfp-test.c: New file.
8549 * bfp-test.exp: New testcase.
8550
ca929517
WZ
85512005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
8552
8553 * gdb.fortran/subarray.exp: New testcase to test the evaluation
8554 of subarray and substring variable.
8555 * gdb.fortran/subarray.f: New source file for the test of subarray
8556 and substring variable evaluation.
8557 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
8558 of string constant.
8559
c761af65
DJ
85602005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
8561
8562 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
8563 copyright dates.
8564
561d7a1d
PG
85652005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
8566
8567 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
8568 powerpc altivec' test with an almost identical 'info vector' test.
8569
b2b64cc9
PG
85702005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
8571
a9c64011
AS
8572 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
8573 vscr" tests to match output.
b2b64cc9 8574
6ac4d15a
PG
85752005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
8576
a9c64011
AS
8577 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
8578 output.
6ac4d15a 8579
40e55bef
BR
85802005-09-11 Bob Rossi <bob@brasko.net>
8581
8582 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
a9c64011 8583 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
40e55bef
BR
8584 commands that return an MI output command and an asyncronous MI output
8585 command.
8586 * gdb.mi/mi-console.exp: Ditto.
8587
3c7385ec
BR
85882005-09-11 Bob Rossi <bob@brasko.net>
8589
8590 * gdb.mi/mi-var-child.c: Include <string.h>.
8591
a6cd0eb3
DJ
85922005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
8593
8594 * killed.exp: Correct gdb_expect syntax.
8595
2f168eed
CV
85962005-08-09 Corinna Vinschen <vinschen@redhat.com>
8597
8598 * lib/mi-support.exp (mi_gdb_load): Fix typo.
8599
ecd3fd0f
BR
86002005-08-02 Bob Rossi <bob@brasko.net>
8601
8602 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
8603 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
8604 Change tests to inferior-tty-set/show.
8605 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
8606 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
8607 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
8608 inferior. Use mi_gdb_test to get GDB and Inferior output.
8609 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
8610 descriptor.
8611 (mi_inferior_tty_name): Add inferior PTY file name.
8612 (mi_gdb_start): Add INFERIOR_PTY parameter.
8613 (mi_gdb_test): Add IPATTERN parameter.
8614
f1ea48cb 86152005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 8616
f1ea48cb
BR
8617 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
8618 parameter to mi_gdb_test.
8619 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
8620
6e650a67
DJ
86212005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8622
8623 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
8624 struct_declarations.
8625 * gdb.mi/mi-var-child.exp: Step over the initialization of
8626 struct_declarations.
8627
8be260b6
DJ
86282005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8629
8630 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
8631 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
8632 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
8633 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
8634 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
8635 file.
8636
4e660f07
NR
86372005-07-27 Nick Roberts <nickrob@snap.net.nz>
8638
8639 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
8640 (do_children_tests): Assign values to the extra elements.
8641
8642 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
8643 them for tests for "-var-update --no-values" and
a9c64011 8644 "-var-update --all-values".
4e660f07
NR
8645 Add test for "-var-list-children --simple-values".
8646
8647 * gdb.mi/basics.c (callee4): Add integer array D[3]...
8648
8649 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
8650 "-stack-list-locals --simple-values" Improve doc strings and
8651 comments.
8652
6bdae935
MK
86532005-07-18 Mark Kettenis <kettenis@gnu.org>
8654
598b7a6f
MK
8655 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
8656 *-*-openbsd*.
8657 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
8658
6bdae935
MK
8659 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
8660 sigaltsatck'.
8661
1323e929 86622005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 8663
1323e929
BR
8664 * gdb.base/default.exp (tty): Changed output of command.
8665 * gdb.base/help.exp (help tty): Ditto.
8666
b1a9c082
MK
86672005-07-12 Mark Kettenis <kettenis@gnu.org>
8668
8669 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
8670
10a844a2
MK
86712005-07-10 Mark Kettenis <kettenis@gnu.org>
8672
8673 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
8674 -stack-select-frame without arguments.
8675 (test_stack_frame_listing): Add test for newly implemented command
8676 -stack-info-frame.
8677
3cb3b8df
BR
86782005-07-06 Bob Rossi <bob@brasko.net>
8679
8680 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
8681 command.
8682 (Copyright): Update copyright.
8683
a0c5fbcf
WZ
86842005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
8685
8686 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
8687 tests to evaluate exponentiation expression.
8688
984971d0
AS
86892005-06-29 Andreas Schwab <schwab@suse.de>
8690
8691 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
8692 main to avoid warnings.
8693
8694 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
8695
fe03833f
NR
86962005-06-20 Nick Roberts <nickrob@snap.net.nz>
8697
8698 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
8699 -stack-select-frame without arguments.
8700 (test_stack_frame_listing): Add test for newly implemented command
8701 -stack-info-frame.
a9c64011 8702
7a55f279
WZ
87032005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
8704
0ffa0ea5
DJ
8705 * gdb.fortran/array-element.f: New file.
8706 * gdb.fortran/array-element.exp: New testcase.
7a55f279 8707
26585198
DJ
87082005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8709
8710 * gdb.base/bigcore.exp: Correct checks for systems which can
8711 not dump a large core file.
8712
c1bd25fd
DJ
87132005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8714
8715 * gdb.base/relocate.c: Add a copyright notice.
8716 (dummy): Remove.
8717 * gdb.base/relocate.exp: Test printing the values of variables
8718 from a relocatable file.
8719
589e074d
DJ
87202005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8721
8722 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
8723 excess MI output after an error.
8724
0915f927
JB
87252005-05-29 Joel Brobecker <brobecker@adacore.com>
8726
8727 * gdb.arch/alpha-step.c: New file.
8728 * gdb.arch/alpha-step.exp: New testcase.
8729
76ff342d
DJ
87302005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
8731 Dennis Brueni <dennis@slickedit.com>
8732
8733 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
8734 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
8735 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
8736 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
8737 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8738 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
8739 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
8740
96b0c7ac
DJ
87412005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
8742 Wu Zhou <woodzltc@cn.ibm.com>
8743
8744 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
8745 IBM's xlc compiler.
8746 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
8747 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
8748
f21565d2
JB
87492005-05-13 Jim Blandy <jimb@redhat.com>
8750
8751 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
8752 calling gdb_suppress_entire_file.
8753 * gdb.base/charset.exp: Same.
8754 * gdb.base/call-rt-st.exp: Same.
8755
6006a3a1
BR
87562005-05-05 Bob Rossi <bob_rossi@cox.net>
8757
8758 * lib/gdb.exp (fullname_syntax): Added global regex.
8759 (fullname_syntax_POSIX): Ditto.
8760 (fullname_syntax_UNC): Ditto.
8761 (fullname_syntax_DOS_CASE): Ditto.
8762 (fullname_syntax_DOS): Ditto.
8763 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
8764 fullname_syntax variable to scope and use it.
8765 (test_file_list_exec_source_files): Ditto.
8766 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
8767
c3b69c04
DJ
87682005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
8769
8770 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
8771
3c95e6af
PG
87722004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
8773
a9c64011
AS
8774 * lib/gdb.exp (skip_altivec_tests): New function, based on
8775 check_vmx_hw_available from the GCC testsuite.
8776 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
8777 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 8778
78df6c56
JB
87792005-05-02 Jim Blandy <jimb@redhat.com>
8780
8781 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
8782 calling gdb_suppress_entire_file.
8783
1690f9cf
DJ
87842005-04-30 Randolph Chung <tausq@debian.org>
8785
8786 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
8787 Slightly relax "sem_post" name checking.
8788
5ea106f7
PG
87892005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
8790
8791 * gdb.base/unload.exp: Use new shared library infrastructure.
8792
bf7234cf
PG
87932005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
8794
8795 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 8796 infrastructure.
bf7234cf 8797
547b869a
CV
87982005-04-29 Corinna Vinschen <vinschen@redhat.com>
8799
8800 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
8801 * gdb.asm/h8300.inc: New file.
8802
f07e55f0
PG
88032005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
8804
8805 * gdb.base/shlib-call.exp: Change to use new shared library
8806 infrastructure.
8807
3cbba3d1
PG
88082005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
8809
a9c64011
AS
8810 * gdb.base/pending.exp: Change to use new shared library
8811 infrastructure.
3cbba3d1 8812
ed6df200
PG
88132005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
8814
a9c64011
AS
8815 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
8816 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 8817
8c8f4ebe
PG
88182005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
8819
a9c64011
AS
8820 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
8821 shared objects being adjusted and update copyright years.
8c8f4ebe 8822
607fbc54
DJ
88232005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
8824
8825 * ChangeLog: Correct some 2003-01-13 dates.
8826 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
8827 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
8828 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
8829 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
8830 gdb.trace/tfind.exp: Update copyright years.
8831
57bf0e56
DJ
88322005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
8833 Daniel Jacobowitz <dan@codesourcery.com>
8834
8835 * lib/gdb.exp (gdb_compile): Handle shlib=.
8836 (gdb_compile_shlib): New function.
8837
9b593790
PG
88382005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
8839
a9c64011 8840 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 8841
9494c6a5
DJ
88422005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
8843
8844 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
8845 gdb.server.
8846 * configure.ac: Likewise.
8847 * configure: Regenerated.
8848 * gdb.gdbserver/Makefile.in: Moved to...
8849 * gdb.server/Makefile.in: ... here.
8850 * gdb.gdbserver/server.c: Moved to...
8851 * gdb.server/server.c: ... here.
8852 * gdb.gdbserver/server-run.exp: Moved to...
8853 * gdb.server/server-run.exp: ... here.
8854
6f8eac0e
DJ
88552005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
8856
8857 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
8858 * configure.ac: Create gdb.gdbserver/Makefile.
8859 * configure: Regenerated.
8860 * lib/gdbserver-support.exp: New file, derived from
8861 config/gdbserver.exp.
8862 * config/gdbserver.exp: Use gdbserver-support.exp.
8863 * gdb.gdbserver/Makefile.in: New file.
8864 * gdb.gdbserver/server.c: New file.
8865 * gdb.gdbserver/server-run.exp: New file.
8866
6e87504d
PG
88672005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
8868
a9c64011
AS
8869 * lib/gdb.exp (test_compiler_info): Return compiler_info
8870 if no arguments are given.
6e87504d 8871
d1779be4
PG
88722005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
8873
8874 * gdb.arch/altivec-abi.exp: Check for compiler and set
8875 use altivec' flag accordingly.
8876 * gdb.arch/altivec-regs.exp: Likewise.
8877
88750304
DJ
88782005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
8879
8880 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
8881
f3fb768d
AS
88822005-03-27 Andreas Schwab <schwab@suse.de>
8883
8884 * gdb.base/bigcore.c (main): Add missing mode argument in open
8885 call.
8886
7e813ac5
DJ
88872005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
8888
8889 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
8890 downloads.
8891 * config/gdbserver.exp (gdb_load): Likewise.
8892
8e3049aa
PB
88932005-03-14 Paul Brook <paul@codesourcery.com>
8894
8895 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
8896 targets.
8897
a9df7c44
JB
88982005-03-09 Joel Brobecker <brobecker@adacore.com>
8899
8900 * gdb.dwarf2/dup-psym.S: New file.
8901 * gdb.dwarf2/dup-psym.exp: New testcase.
8902
9f0d94e8
JB
89032005-03-09 Joel Brobecker <brobecker@adacore.com>
8904
8905 * gdb.ada/exec_changed/first.adb: New file.
8906 * gdb.ada/exec_changed/second.adb: New file.
8907 * gdb.ada/exec_changed.exp: New testcase.
8908
5f579bc5
NS
89092005-03-08 Nathan Sidwell <nathan@codesourcery.com>
8910
36e9969c
NS
8911 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
8912 (A2): New class.
8913 (main): Test operator+.
8914 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
8915 breakpoint test.
8916
5f579bc5
NS
8917 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
8918 * gdb.base/signull.exp: Disable if gdb,nosignals.
8919 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
8920 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
8921 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
8922 * gdb.mi/mi2-console.exp: Likewise.
8923 * gdb.trace/collection.exp (run_trace_experiment): Consume the
8924 continue output at start.
8925 (gdb_collect_locals_test): Robustify regexp.
8926 * gdb.trace/passc-dyn.exp: Fix comment typo.
8927 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
8928
be46087e
CV
89292005-03-08 Corinna Vinschen <vinschen@redhat.com>
8930
8931 * gdb.asm/asm-source.exp: Add iq2000 case.
8932 * gdb.asm/iq2000.inc: New file.
8933
384e1a61 89342005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 8935
384e1a61
MI
8936 * gdb.base/command.exp: Change hardcoded value to regular expression.
8937 * gdb.base/float.exp: Add powerpc to the list of targets checked.
8938
584b6e9e
DJ
89392005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
8940
8941 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
8942 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
8943 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
8944 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
8945 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
8946
ab5b5d61
MK
89472005-03-05 Mark Kettenis <kettenis@gnu.org>
8948
8949 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
8950 changes.
8951
ae051c1b
PG
89522004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
8953
a9c64011
AS
8954 * lib/compiler.c: Add test for IBM's xlc compiler.
8955 * lib/compiler.cc: Likewise.
ae051c1b 8956
3f0f6ed2
JB
89572004-02-24 Joel Brobecker <brobecker@adacore.com>
8958
8959 * gdb.ada/fixed_points.exp: Create compilation object directory
8960 before running the test.
8961 * gdb.ada/null_record.exp: Likewise.
8962 * gdb.ada/packed_array.exp: Likewise.
8963 * gdb.ada/start.exp: Likewise.
8964
724f452b
JB
89652005-02-15 Joel Brobecker <brobecker@adacore.com>
8966
8967 * gdb.ada/packed_array/pa.adb: New file.
8968 * gdb.ada/packed_array.exp: New testcase.
8969
57f5cdfb 89702005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 8971
1f393151
MK
8972 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
8973 files.
8974
ebdda337
MK
8975 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
8976 on *-*-openbsd*. Correctly match whitespace in regukar
8977 expressions.
8978
cf309262
DJ
89792005-02-10 Daniel Jacobowitz <dan@debian.org>
8980
8981 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
8982 PR exp/1821
8983 * gdb.base/gdb1821.c: New test file.
8984 * gdb.base/gdb1821.exp: New test file.
8985
3be49e7a
JB
89862005-02-09 Joel Brobecker <brobecker@adacore.com>
8987
8988 * gdb.base/start.c: New file.
8989 * gdb.base/start.exp: New testcase.
8990
e292e67d
JB
89912005-02-09 Joel Brobecker <brobecker@adacore.com>
8992
8993 * gdb.ada/start/dummy.adb: New file.
8994 * gdb.ada/start.exp: New testcase.
8995
dbdfa66c
CV
89962005-02-09 Corinna Vinschen <vinschen@redhat.com>
8997
8998 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
8999 for printing symbols and statistics.
9000 Add test for using relative pathnames in "maint print msymbols" test.
9001 Mark "maint info sections DATA" XFAIL on Cygwin.
9002 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
9003 tests.
9004
d7941671
AC
90052005-02-09 Andreas Schwab <schwab@suse.de>
9006
9007 Committed by Andrew Cagney <cagney@gnu.org>
9008 * gdb.base/remotetimeout.exp: New file.
9009
74e5ef44
MK
90102005-02-07 Mark Kettenis <kettenis@gnu.org>
9011
9012 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
9013
464dd14d
JB
90142005-02-03 Joel Brobecker <brobecker@adacore.com>
9015
9016 * gdb.ada/gnat_ada.gpr: New file.
9017 * gdb.ada/gnat_ada.gin: Delete, no longer used.
9018 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
9019 * configure.ac: No longer generate gnat_ada.gpr.
9020 * configure: Regenerate.
9021 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
9022 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
9023 * gdb.ada/null_record/bar.ads: Likewise.
9024 * gdb.ada/null_record/bar.adb: Likewise.
9025 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
9026 * gdb.ada/null_record.exp (testdir): New variable.
9027 (testfile): executable is now in testdir subdirectory.
9028 (srcfile): Use full path to the main compilation unit.
9029 * gdb.ada/fixed_points.exp: Same changes as above.
9030
30d756ae
NR
90312005-02-03 Nick Roberts <nickrob@snap.net.nz>
9032
9033 * gdb.base/interp.exp: New test.
9034
9d799f85
AC
90352005-01-24 Andrew Cagney <cagney@gnu.org>
9036
9037 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
9038
15656118
AC
90392005-01-19 Andrew Cagney <cagney@gnu.org>
9040
a892c31b
AC
9041 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
9042 configure.ac not configure.in.
9043
15656118
AC
9044 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
9045 of powerpc*-*-*.
9046 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 9047 * gdb.base/list.exp (test_list_function)
15656118
AC
9048 (test_list_filename_and_function): Ditto.
9049 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
9050
a7b01baf
AC
90512005-01-16 Andrew Cagney <cagney@gnu.org>
9052
17d92a02
AC
9053 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
9054
a7b01baf
AC
9055 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
9056
bc8332bb
AC
90572005-01-14 Andrew Cagney <cagney@gnu.org>
9058
9059 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
9060 * gdb.mi/mi2-var-cmd.exp: Ditto.
9061
4d074752
CV
90622005-01-10 Corinna Vinschen <vinschen@redhat.com>
9063
9064 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
9065
bec39cab
AC
90662005-01-07 Andrew Cagney <cagney@gnu.org>
9067
9068 * configure.ac: Rename configure.in, require autoconf 2.59.
9069 * configure: Re-generate.
9070 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
9071 * gdb.stabs/configure: Re-generate.
9072 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
9073 * gdb.hp/configure: Re-generate.
9074 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
9075 autoconf 2.59.
9076 * gdb.hp/gdb.objdbg/configure: Re-generate.
9077 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
9078 autoconf 2.59.
9079 * gdb.hp/gdb.defects/configure: Re-generate.
9080 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
9081 autoconf 2.59.
9082 * gdb.hp/gdb.compat/configure: Re-generate.
9083 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
9084 autoconf 2.59.
9085 * gdb.hp/gdb.base-hp/configure: Re-generate.
9086 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
9087 autoconf 2.59.
9088 * gdb.hp/gdb.aCC/configure: Re-generate.
9089
f10b16d4
JB
90902004-12-15 Jim Blandy <jimb@redhat.com>
9091
9092 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
9093 under NPTL when there is debugging info available for libpthread.
9094
fb6e1814
JG
90952004-12-13 Jerome Guitton <guitton@gnat.com>
9096
9097 * gdb.ada/fixed_points.c: New file.
9098 * gdb.ada/fixed_points.exp: New file.
9099
fe46cd3a
RC
91002004-12-03 Randolph Chung <tausq@debian.org>
9101
9102 * gdb.arch/pa-nullify.exp: New file.
9103 * gdb.arch/pa-nullify.s: New file.
9104
8de0841b
RC
91052004-11-30 Randolph Chung <tausq@debian.org>
9106
9107 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
9108 instead of "tbug". Fix regexp to work properly with gdb_test.
9109
c8170782
PH
91102004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
9111
9112 * gdb.base/bitfields2.exp: New test.
9113 * gdb.base/bitfields2.c: New file.
9114
954269c2
RE
91152004-11-28 Richard Earnshaw <rearnsha@arm.com>
9116
9117 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
9118
0107feed
RC
91192004-11-16 Randolph Chung <tausq@debian.org>
9120
9121 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
9122
f073ae8c
DJ
91232004-11-14 Daniel Jacobowitz <dan@debian.org>
9124
9125 * gdb.threads/threadapply.exp: Correct "macro details" test.
9126
19ad59e7
JJ
91272004-11-11 Jeff Johnston <jjohnstn@redhat.com>
9128
9129 * gdb.threads/threadapply.exp: New test.
9130 * gdb.threads/threadapply.c: New file.
9131
9cf0961b
MK
91322004-11-07 Mark Kettenis <kettenis@gnu.org>
9133
9134 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
9135 frames.
9136
c789492a
FL
91372004-11-05 Felix Lee <felix+log1@specifixinc.com>
9138
9139 * gdb.base/cursal.exp: New file.
9140 * gdb.base/cursal.c: New file.
9141
a1e167bb
AC
91422004-11-03 Andrew Cagney <cagney@gnu.org>
9143
9144 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
9145
b7cbf173
MK
91462004-10-30 Mark Kettenis <kettenis@gnu.org>
9147
9148 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
9149 NetBSD/ELF targets.
9150
88f9d34f
JB
91512004-10-29 Joel Brobecker <brobecker@gnat.com>
9152
9153 * gdb.threads/bp_in_thread.c: New file, copied from
9154 pthread_cond_wait.c.
9155 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
9156 file, rather than reusing the .c file from another testcase.
9157
ca7d6a0c
JB
91582004-10-20 Joel Brobecker <brobecker@gnat.com>
9159
9160 * gdb.ada/null_record.exp: Check where we stopped after
9161 sending the start command, instead of where the associated
9162 temporary breakpoint was inserted.
9163
0d863d03
AC
91642004-10-14 Andrew Cagney <cagney@gnu.org>
9165
9166 * gdb.mi/gdb701.c (main): Return 0.
9167
d11e72cb
DJ
91682004-10-13 Daniel Jacobowitz <dan@debian.org>
9169
d40539a4 9170 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 9171
e1923096
JJ
91722004-10-12 Jeff Johnston <jjohnstn@redhat.com>
9173
9174 * gdb.threads/schedlock.c: Add comment markers to use to find
9175 line numbers.
9176 * gdb.threads/schedlock.exp: Adjust regex to handle the new
9177 comments.
9178 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
9179 breakpoint lines.
9180
ec8ba2c9
DJ
91812004-10-12 Daniel Jacobowitz <dan@debian.org>
9182
9183 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
9184
0eb3658b
DJ
91852004-10-12 Daniel Jacobowitz <dan@debian.org>
9186
9187 * configure.in: Add gdb.dwarf2.
9188 * configure: Regenerated.
9189 * Makefile.in: Add gdb.dwarf2.
9190 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
9191 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
9192 gdb.dwarf2/file1.txt: New files.
9193
a271cc33
OF
91942004-10-11 Orjan Friberg <orjanf@axis.com>
9195
a9c64011 9196 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
9197 of "run", since the latter doesn't work with remote targets. Adjust
9198 the breakpoint numbering accordingly.
9199 * gdb.threads/pthread_cond_wait.exp: Ditto.
9200
895ce074
MC
92012004-10-08 Michael Chastain <mec.gnu@mindspring.com>
9202
9203 * gdb.base/overlays.exp: Update copyright years.
9204
6be3092d
KI
92052004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
9206
9207 * gdb.base/overlays.exp: Disable if target is Linux.
9208
e05389b8
FL
92092004-10-06 Felix Lee <felix+log1@specifixinc.com>
9210
9211 * config/gdbserver.exp (gdb_load): Use right filename on remote.
9212
73cb587d
KI
92132004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
9214
9215 * gdb.asm/asm-source.exp: Add m32r-linux target.
9216 * gdb.asm/m32r-linux.inc: New file.
9217
3c0edcdc
AC
92182004-09-24 Andrew Cagney <cagney@redhat.com>
9219 David Anderson <anderson@redhat.com>
9220
9221 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
9222 command fails, assume things will work.
9223 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
9224 (_GNU_SOURCE): Define.
9225 (print_unsigned, print_hex): Change parameter to "long long".
9226 (print_byte_count): New function, use to print byte counts.
9227 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
9228 O_LARGEFILE.
9229 (main): Compute an upper bound on a corefile in max_core_size.
9230 Limit memory chunk size to max_core_size. Limit total memory
9231 allocated to max_core_size.
9232
4bb3667f
AC
92332004-09-23 Andrew Cagney <cagney@gnu.org>
9234
9235 * gdb.base/bigcore.exp: Replace the code that creates a corefile
9236 from a separate process with code that creates a corefile by
9237 making the inferior dump core.
9238
60fe1a51
MK
92392004-09-23 Mark Kettenis <kettenis@gnu.org>
9240
9241 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
9242 block.
9243
8e937346
MC
92442004-09-23 Michael Chastain <mec.gnu@mindspring.com>
9245
9246 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
9247 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
9248 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
9249 Likewise.
9250
7213f6d6
JJ
92512004-09-20 Jeff Johnston <jjohnstn@redhat.com>
9252
9253 * gdb.java/jprint.exp: New test case for java inferior call.
9254 * gdb.java/jprint.java: Ditto.
9255
eac69dca
JB
92562004-09-15 Joel Brobecker <brobecker@gnat.com>
9257
9258 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
9259
22227696
MC
92602004-09-14 Michael Chastain <mec.gnu@mindspring.com>
9261
9262 * gdb.threads/killed.c: Include <stdlib.h>.
9263 * gdb.threads/pthreads.c: Likewise.
9264
7dd403a4
MC
92652004-09-14 Michael Chastain <mec.gnu@mindspring.com>
9266
9267 * gdb.threads/killed.c: Add copyright notice.
9268
33f2d567
JM
92692004-09-10 Jason Molenda (jmolenda@apple.com)
9270
a9c64011
AS
9271 * gdb.base/define.exp: Two new tests to verify zero space chars
9272 after 'if' and 'while' commands in a user-defined command is correctly
9273 parsed.
33f2d567 9274
e05b62ac
AC
92752004-09-08 Andrew Cagney <cagney@gnu.org>
9276
9277 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
9278 delivery test with duplicate at end of file.
9279
9cbe82da
MK
92802004-09-06 Mark Kettenis <kettenis@jive.nl>
9281
9282 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
9283
564803d9
MC
92842004-09-05 Michael Chastain <mec.gnu@mindspring.com>
9285
9286 * config/hppro.exp: Removed.
9287
7c6807ce
MC
92882004-09-05 Michael Chastain <mec.gnu@mindspring.com>
9289
9290 * config/sparclet.exp: Removed.
9291
bf7e26dd
MC
92922004-09-05 Michael Chastain <mec.gnu@mindspring.com>
9293
9294 * config/udi.exp: Removed.
9295
714e341b
MC
92962004-09-02 Michael Chastain <mec.gnu@mindspring.com>
9297
9298 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
9299 of "exp_continue".
9300 (advancei): Likewise.
9301
1236e623
JJ
93022004-09-01 Jeff Johnston <jjohnstn@redhat.com>
9303
9304 * gdb.base/unload.exp: Fix so messages aren't duplicated.
9305
3bdcad15
MI
93062004-09-01 Manoj Iyer <manjo@austin.ibm.com>
9307
228af206 9308 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
9309 to check for nodebug in executable.
9310 * gdb.gdb/observer.exp (setup_test): Likewise.
9311 * gdb.gdb/selftest.exp (test_with_self): Likewise.
9312 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
9313
c72b934c
AC
93142004-09-01 Andrew Cagney <cagney@gnu.org>
9315
9316 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
9317 files.
9318
edd9b715
JJ
93192004-09-01 Jeff Johnston <jjohnstn@redhat.com>
9320
9321 * gdb.base/unload.exp: Fix expected warning message to match
9322 latest format.
9323
fb4ce06b
CV
93242004-09-01 Corinna Vinschen <vinschen@redhat.com>
9325
9326 * gdb.base/call-rt-st.exp: Fix typos.
9327
ce78e7c3
MI
93282004-08-31 Manoj Iyer <manjo@austin.ibm.com>
9329
9330 * gdb.threads/thread_check.exp: New testcase.
9331 * gdb.threads/thread_check.c: New testcase.
9332
2dedb159
AC
93332004-08-31 Andrew Cagney <cagney@gnu.org>
9334
9335 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
9336 (skip_to_handler_entry): New procedures. Test stepping into a
9337 handler when the breakpoint is at the handler's entry point.
9338
68f53502
AC
93392004-08-30 Andrew Cagney <cagney@gnu.org>
9340
9341 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
9342 gdb/1757.
9343
3e3ffd2b
MC
93442004-08-27 Michael Chastain <mec.gnu@mindspring.com>
9345
9346 With code from Manoj Iyer <manjo@austin.ibm.com>:
9347 * lib/gdb.exp (gdb_file_cmd): Return more information in the
9348 return value. Add an arm for "no debugging symbols found".
9349 Change a stray "error" to "perror".
9350 (gdb_run_cmd): Adapt to new return value.
9351 * gdb.base/remote.exp: Adapt to new return value.
9352 * gdb.gdb/complaints.exp: Likewise.
9353 * gdb.gdb/observer.exp: Likewise.
9354 * gdb.gdb/selftest.exp: Likewise.
9355 * gdb.gdb/xfullpath.exp: Likewise.
9356
4b6f5fd2
JB
93572004-08-27 Joel Brobecker <brobecker@gnat.com>
9358
9359 * gdb.threads/bp_in_thread.exp: New testcase.
9360
e5b25496
MC
93612004-08-27 Michael Chastain <mec.gnu@mindspring.com>
9362
9363 Fix PR testsuite/1735.
9364 * gdb.threads/schedlock.c (thread_function): Add a cast
9365 to suppress a gcc warning.
9366 * gdb.threads/thread-specific.c (thread_function): Likewise.
9367
934353d6
MC
93682004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9369
9370 * gdb.base/unload.c: Include <stdlib.h>.
9371
f98a0aef 93722004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 9373
f98a0aef 9374 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
9375 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
9376 synchronized after the "return".
9377
5a2e8882
MC
93782004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9379
9380 * gdb.mi/basics.c: Include <stdio.h>.
9381 * gdb.mi/pthreads.c: Include <stdlib.h>.
9382 * gdb.mi/var-cmd.c: Include <stdlib.h>.
9383
a9640423
MC
93842004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9385
9386 * gdb.threads/schedlock.c: Add copyright notice.
9387
b04e311d
AC
93882004-08-25 Andrew Cagney <cagney@gnu.org>
9389
9390 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
9391 (skip_over_handler, breakpoint_over_hander): New test procedures.
9392 (advance, advancei): Add a proper prefix, do not use
9393 rerun_to_main.
9394 * gdb.base/sigstep.c (main): Change to use an infinite loop.
9395
7c27f15b
MC
93962004-08-24 Michael Chastain <mec.gnu@mindspring.com>
9397
9398 * gdb.mi/basics.c: Add copyright notice.
9399 * gdb.mi/var-cmd.c: Add copyright notice.
9400
fffc87ae
MC
94012004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9402
9403 * lib/gdb.exp: Remove signed_keyword_not_used.
9404 * lib/compiler.c: Likewise.
9405 * lib/compiler.cc: Likewise.
9406
d782e0bf
MC
94072004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9408
9409 * gdb.base/whatis.c: Remove conditional disabling of "signed".
9410 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
9411
96033e83
MC
94122004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9413
9414 * gdb.base/whatis.c: Add copyright notice.
9415
cf38c229
MK
94162004-08-20 Mark Kettenis <kettenis@gnu.org>
9417
9418 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
9419 it to skip the breakpoints encoded in the inline assembly.
9420
f4b49756
MC
94212004-08-20 Michael Chastain <mec.gnu@mindspring.com>
9422
9423 * Makefile.in: Add gdb.fortran.
9424
2f193b69
MC
94252004-08-20 Michael Chastain <mec.gnu@mindspring.com>
9426
9427 * gdb.base/call-sc.exp (test_scalar_returns):
9428 Fix cut-and-paste glitch in "Make fun return now".
9429
89a237cb
MC
94302004-08-17 Michael Chastain <mec.gnu@mindspring.com>
9431
9432 * configure.in: Add gdb.fortran.
9433 * configure: Regenerate.
9434 * gdb.fortran/Makefile.in: New file.
9435 * lib/gdb.exp (skip_fortran_tests): New procedure.
9436
469aff8e
MC
94372004-08-17 Michael Chastain <mec.gnu@mindspring.com>
9438
9439 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
9440 reference to bug-gnu@prep.ai.mit.edu.
9441 * gdb.mi/mi-var-child.exp: Likewise.
9442 * gdb.mi/mi-var-cmd.exp: Likewise.
9443 * gdb.mi/mi-var-display.exp: Likewise.
9444 * gdb.mi/mi2-var-block.exp: Likewise.
9445 * gdb.mi/mi2-var-child.exp: Likewise.
9446 * gdb.mi/mi2-var-cmd.exp: Likewise.
9447 * gdb.mi/mi2-var-display.exp: Likewise.
9448
00b51b9f
MK
94492004-08-15 Mark Kettenis <kettenis@gnu.org>
9450
9451 * gdb.base/unload.c (main): Make local variable msg const.
9452
45f07fef
MC
94532004-08-15 Michael Chastain <mec.gnu@mindspring.com>
9454
9455 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
9456 to bug-gnu@prep.ai.mit.edu.
9457 * gdb.mi/mi-disassemble.exp: Likewise.
9458 * gdb.mi/mi-eval.exp: Likewise.
9459 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
9460 default line number.
9461 * gdb.mi/mi-return.exp: Likewise.
9462 * gdb.mi/mi-simplerun.exp: Likewise.
9463 * gdb.mi/mi-stack.exp: Likewise.
9464 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
9465 number with explicit range test.
9466 * gdb.mi/mi-watch.exp: Likewise.
9467 * gdb.mi/mi2-break.exp: Likewise.
9468 * gdb.mi/mi2-cli.exp: Likewise.
9469 * gdb.mi/mi2-disassemble.exp: Likewise.
9470 * gdb.mi/mi2-eval.exp: Likewise.
9471 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
9472 default line number.
9473 * gdb.mi/mi2-return.exp: Likewise.
9474 * gdb.mi/mi2-simplerun.exp: Likewise.
9475 * gdb.mi/mi2-stack.exp: Likewise.
9476 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
9477 number with explicit range test.
9478 * gdb.mi/mi2-watch.exp: Likewise.
9479
dd8c8ee7
MC
94802004-08-15 Michael Chastain <mec.gnu@mindspring.com>
9481
9482 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
9483 * gdb.cp/m-static.exp: Likewise.
9484 * gdb.cp/rtti.exp: Likewise.
9485
4e838464
MK
94862004-08-14 Mark Kettenis <kettenis@gnu.org>
9487
9488 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
9489
8d8cb839
EZ
94902004-08-14 Eli Zaretskii <eliz@gnu.org>
9491
9492 * ChangeLog: Prefix Local Variables with semi-colons and indent
9493 the reference to older ChangeLog files, to fix fontification in
9494 Emacs.
9495
deea8bb0
MC
94962004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9497
9498 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
9499 * gdb.mi/mi2-break.exp: Likewise.
9500
c3297504
MC
95012004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9502
9503 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
9504
25808999
MC
95052004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9506
9507 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
9508
226a8d71
MC
95092004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9510
9511 * gdb.cp/classes.exp: Remove unused declarations. Just let
9512 test names default instead of providing special names. Remove
9513 extraneous demangler test.
9514
37fdf854
JJ
95152004-08-12 Jeff Johnston <jjohnstn@redhat.com>
9516
9517 * gdb.base/unload.exp: New test for breakpoints in dynamically
9518 loaded libraries.
9519 * gdb.base/unload.c: Ditto.
9520 * gdb.base/unloadshr.c: Ditto.
9521
2d3a7986
MC
95222004-08-12 Michael Chastain <mec.gnu@mindspring.com>
9523
9524 * gdb.cp/classes.exp (test_ptype_class_objects): Call
9525 cp_test_ptype_class.
9526 (test_enums): Likewise.
9527
c72b934c
AC
95282004-08-10 Andrew Cagney <cagney@gnu.org>
9529
9530 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
9531 files.
9532
cc503c8a
AC
95332004-08-10 Andrew Cagney <cagney@gnu.org>
9534
9535 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
9536 init_malloc call.
9537
902f2ccb
MC
95382004-08-10 Michael Chastain <mec.gnu@mindspring.com>
9539
9540 * ChangeLog: Add copyright notice. The notice is copied
9541 from emacs 21.3 top level ChangeLog.
9542
78c90502
MC
95432004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9544
9545 * lib/cp-support.exp: New file.
9546 * lib/cp-support.exp (cp_test_type_class): New function.
9547 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
9548 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
9549 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
9550 cp_test_ptype_class.
9551
88e5ea78
MC
95522004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9553
9554 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
9555 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9556 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
9557 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
9558 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
9559 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
9560 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
9561 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
9562 gdb.mi/mi2-watch.exp: Update copyright years.
9563
6a89fc9c
MK
95642004-08-09 Mark Kettenis <kettenis@gnu.org>
9565
9566 * gdb.base/sigaltstack.exp: Provide proper anchoring.
9567
1482e0de
MC
95682004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9569
9570 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
9571 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
9572 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
9573 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9574 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
9575 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
9576 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
9577 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9578 gdb.mi/mi-watch.exp: Update copyright years.
9579
1a5ce3f3
DJ
95802004-08-08 Daniel Jacobowitz <dan@debian.org>
9581
9582 PR gdb/1738
9583 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
9584 from a breakpoint with a pending signal.
9585
04f6ecf2
DJ
95862004-08-08 Daniel Jacobowitz <dan@debian.org>
9587
9588 PR gdb/1736
9589 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
9590 * gdb.base/sigaltstack.exp (finish_test): Consume output until
9591 the prompt.
9592 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
9593
54d90d35
DJ
95942004-08-08 Daniel Jacobowitz <dan@debian.org>
9595
9596 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
9597
d2f6abb0
DJ
95982004-08-08 Daniel Jacobowitz <dan@debian.org>
9599
9600 PR gdb/1736
9601 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
9602 for i?86-*-linux*.
9603
5598c03d
DJ
96042004-08-08 Daniel Jacobowitz <dan@debian.org>
9605
9606 * gdb.arch/i386-prologue.exp: Compile without debug information.
9607
c6fee705
MC
96082004-08-08 Michael Chastain <mec.gnu@mindspring.com>
9609
9610 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
9611 rather than asking gdb to search.
9612
dd90efdb
MC
96132004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9614
9615 * gdb.base/gcore.c: Include <string.h>.
9616
1e84bec1
MC
96172004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9618
9619 * gdb.base/gcore.c: Add copyright notice.
9620
e425eb2b
MC
96212004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9622
9623 * gdb.base/freebpcmd.c: Include <stdio.h>.
9624 * gdb.base/long_long.c: Include <string.h>.
9625 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
9626 * gdb.base/siginfo.c: Include <string.h>.
9627 * gdb.base/sigstep.c: Include <string.h>.
9628
cb9aaed5
MC
96292004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9630
9631 * gdb.base/complex.c: Include <stdlib.h>.
9632
55944f3d
MC
96332004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9634
9635 * gdb.base/complex.c: Add copyright notice.
9636
7b2953d9
MC
96372004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9638
9639 * gdb.base/charset.c: Include <stdlib.h>.
9640
c9133d23
MC
96412004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9642
9643 * gdb.base/auxv.c: Include <stdlib.h>.
9644
0a8490ad
MC
96452004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9646
9647 * gdb.base/auxv.c: Add copyright notice.
9648
3426d5ec
MC
96492004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9650
9651 * gdb.base/coremaker.c: Add copyright notice.
9652 * gdb.base/coremaker2.c: Add copyright notice.
9653
8da195dd
AC
96542004-08-04 Andrew Cagney <cagney@gnu.org>
9655
9656 * gdb.base/store.exp: Update copyright.
9657 (check_set, up_set, check_struct, up_struct): Add a prefix to test
9658 names, do not import gdb_prompt.
9659
8d394f98
AC
96602004-08-01 Andrew Cagney <cagney@gnu.org>
9661
9662 Fix PR testsuite/1729.
9663 * gdb.base/dump.exp: Add test name to callers of capture_value, do
9664 not use capture_value with value 4.
9665 (capture_value): Add optional test name parameter.
9666 (test_reload_saved_value, test_restore_saved_value): Use $msg as
9667 the prefix, pass to capture_value.
9668
b6702b23
MK
96692004-08-01 Mark Kettenis <kettenis@gnu.org>
9670
9671 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
9672 * gdb.arch/i386-prologue.c (standard): New prototype and function.
9673 (main): Call new function.
9674
c203e0ca
MC
96752004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9676
9677 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
9678
a7995a30
MC
96792004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9680
9681 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
9682
9366563b
MC
96832004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9684
b6eeaf26 9685 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
9686 Accept more values of vtbl pointer. Remove some messages
9687 about "obsolete gcc or gdb".
9688
2fc1f950
MC
96892004-07-30 Michael Chastain <mec.gnu@mindspring.com>
9690
9691 * gdb.cp/classes.exp: Accept more varieties of ptype output.
9692
c724d49b
MC
96932004-07-30 Michael Chastain <mec.gnu@mindspring.com>
9694
9695 * gdb.base/asm-source.exp: Properly convert target board
9696 debug flags from gcc format to binutils format.
9697
736b0fce
MK
96982004-07-28 Mark Kettenis <kettenis@gnu.org>
9699
9700 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
9701 gdb1718". PR backtrace/1718 partially fixed.
9702
5633ea5c
JJ
97032004-07-27 Jeff Johnston <jjohnstn@redhat.com>
9704
9705 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
9706
575eebb1
NC
97072004-07-26 Nick Clifton <nickc@redhat.com>
9708
9709 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
9710 good default value for a specific architecture is available then
9711 set it to that value. Otherwise default to the -gstabs switch.
9712 Remove the -g... switches from the asm-flags variable. Allow the
9713 target board info to override the value if it wants to. Pass the
9714 switch on the assembler command line.
9715
62104619
MK
97162004-07-23 Mark Kettenis <kettenis@gnu.org>
9717
9718 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
9719 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
9720 (main): Call new function.
9721
4a1135b8
MC
97222004-07-22 Michael Chastain <mec.gnu@mindspring.com>
9723
9724 Test for PR exp/1715.
9725 * gdb.base/radix.exp: Refactor common procedures. Make all
9726 test names unique. Change XFAIL to KFAIL.
9727
8a12c1f0
MC
97282004-07-20 Michael Chastain <mec.gnu@mindspring.com>
9729
9730 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
9731 * gdb.ada/gnat_ada.gin: ... to here.
9732 * configure.in: Use gnat_ada.gin.
9733 * configure: Regenerate.
9734
23b451cf
AC
97352004-07-20 Andrew Cagney <cagney@gnu.org>
9736
9737 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
9738 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
9739 XFAILs. Clean up test messages and comments. Check backtraces.
9740 Delete re-sync code.
9741
ab618a02
MC
97422004-07-19 Michael Chastain <mec.gnu@mindspring.com>
9743
9744 Fix PR cli/740.
9745 * gdb.base/annota1.exp: Honor gdb,nosignals.
9746 * gdb.base/annota3.exp: Likewise.
9747
46dad340
MC
97482004-07-19 Michael Chastain <mec.gnu@mindspring.com>
9749
9750 * lib/java.exp: Update copyright notice.
9751
756d8c70
AC
97522004-07-19 Andrew Cagney <cagney@gnu.org>
9753
9754 * gdb.base/selftest.exp: Copy file from here ...
9755 * gdb.gdb/selftest.exp: ... to here.
9756
586027e6
AC
97572004-07-16 Andrew Cagney <cagney@redhat.com>
9758
9759 * lib/insight-support.exp: Delete file.
9760 * lib/java.exp (java_init): Fix copyright.
9761
029d2200
AC
97622004-07-16 Andrew Cagney <cagney@gnu.org>
9763
9764 * gdb.base/restore.c: Append "prologue" to comments marking the a
9765 function's prologue.
9766 * gdb.base/restore.exp: Update copyright, re-indent.
9767 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
9768 callerN" prefix where needed. Update patterns that match a
9769 function's prologue.
9770
653b62c5
MC
97712004-07-16 Michael Chastain <mec.gnu@mindspring.com>
9772
9773 * gdb.base/restore.c: Add copyright notice.
9774
f7d690e5
AC
97752004-07-16 Andrew Cagney <cagney@gnu.org>
9776
9777 * gdb.base/logical.exp: Update copyright.
9778 (evaluate): New procedure. Use to re-implement tests using
9779 several tables.
9780
d629a7cb
MH
97812004-07-14 Martin Hunt <hunt@redhat.com>
9782
9783 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
9784 which fixes some problems where init.tcl was not found.
9785
9c7bb332
AC
97862004-07-13 Andrew Cagney <cagney@gnu.org>
9787
6bf46641
AC
9788 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
9789 (check_sizeof, check_valueof): Do not include the output in the
9790 test name. Use gdb_test.
9791 (get_valueof): Use gdb_test_multiple.
9792
c4ffd4c0
AC
9793 * gdb.base/step-test.exp: Update copyright. Use
9794 gdb_test_multiple. Ensure that test names do not include
9795 architecture dependent output.
9796
ab89363a
AC
9797 * gdb.gdb/observer.exp: Update copyright.
9798 (setup_test): Use gdb_test_multiple.
9799 (attach_first_observer, attach_second_observer)
9800 (attach_third_observer, detach_first_observer)
9801 (detach_second_observer, detach_third_observer)
9802 (reset_counters, check_counters): Make $message a prefix.
9803 (test_normal_stop_notifications): Add "args" parameter - a list of
9804 init functions to be called. Make $message a prefix,
9805 (test_observer_normal_stop): Change the message prefixes so that
9806 they are unique, pass the attach / detach procedures to
9807 test_normal_stop_notifications.
9808
ec58997a
AC
9809 * gdb.base/signull.exp (test_segv): Prefix all tests with
9810 "${name}". Clean up test messages.
9811
b475183b
AC
9812 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
9813
9c7bb332
AC
9814 * gdb.base/ena-dis-br.exp: Update copyright.
9815 (break_at): New function. Replace send_gdb with gdb_test,
9816 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
9817 ignore count, not stopped at bpt", with KFAIL.
9818
2dd95497
CV
98192004-07-13 Corinna Vinschen <vinschen@redhat.com>
9820
9821 * gdb.base/attach.exp: Remove cleanupfile handling.
9822
419e626b
AC
98232004-07-12 Andrew Cagney <cagney@gnu.org>
9824
9825 * gdb.base/annota1.exp: Cleanup corefile test name.
9826 * gdb.base/annota3.exp: Ditto.
9827
8b1b3228
AC
98282004-07-12 Andrew Cagney <cagney@gnu.org>
9829
78650829
AC
9830 * gdb.base/signals.exp: Clean up copyright, re-indent.
9831
8b1b3228
AC
9832 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
9833 gdb_test and gdb_test_multiple.
9834
935c2760
JJ
98352004-07-08 Jeff Johnston <jjohnstn@redhat.com>
9836
9837 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 9838 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
9839 provide line number info for first statement in main.
9840
1544280f
AC
98412004-07-08 Andrew Cagney <cagney@gnu.org>
9842
1279f4ff
AC
9843 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
9844
1544280f
AC
9845 * gdb.base/sigbpt.exp: Make the common part of each test name a
9846 prefix instead of suffix.
9847
bcc82369
BR
98482004-07-07 Bob Rossi <bob_rossi@cox.net>
9849
9850 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
9851 test from test_tbreak_creation_and_listing to
9852 test_file_list_exec_source_file
9853 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
9854 Changed name of test from test_tbreak_creation_and_listing to
9855 test_file_list_exec_source_file
9856
23f4b0aa
JJ
98572004-07-07 Jeff Johnston <jjohnstn@redhat.com>
9858
9859 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
9860 the jmisc() constructor instead of <init>.
9861 * gdb.java/jmisc1.exp: Ditto.
9862
56401cd5
AC
98632004-07-07 Andrew Cagney <cagney@gnu.org>
9864
9865 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
9866 corrupting the PC.
9867
44ae2f6a
MC
98682004-07-06 Michael Chastain <mec.gnu@mindspring.com>
9869
9870 * gdb.cp/templates.exp: Accept whitespace change in demangler
9871 output.
9872
45a83408
AC
98732004-07-06 Andrew Cagney <cagney@gnu.org>
9874
9875 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
9876
d205ad70
MC
98772004-07-02 Michael Chastain <mec.gnu@mindspring.com>
9878
9879 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
9880 * lib/compiler.cc: Likewise.
9881
06ea1a61
MC
98822004-06-30 Michael Chastain <mec.gnu@mindspring.com>
9883
9884 * lib/compiler.cc: Work around string preprocessing problem
9885 with old hp c++ compiler.
9886 * lib/compiler.c: Likewise.
9887
daab1251
CV
98882004-06-29 Corinna Vinschen <vinschen@redhat.com>
9889
9890 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
9891 directives to conditionalize symbol prefixing.
9892 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
9893 additional_flags handling. Add underscore prefix for Cygwin.
9894 * gdb.arch/i386-unwind.c: Use preprocessor directives to
9895 conditionalize symbol prefixing.
9896 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
9897 additional_flags handling. Add underscore prefix for Cygwin.
9898
cc984116
CV
98992004-06-29 Corinna Vinschen <vinschen@redhat.com>
9900
9901 * gdb.base/bigcore.exp: Skip test on Cygwin.
9902
c279b077
MC
99032004-06-28 Michael Chastain <mec.gnu@mindspring.com>
9904
9905 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
9906 formats for "info register". Use gdb_test_multiple. Fix
9907 the "invalid register" test.
9908
0e915747
CV
99092004-06-28 Corinna Vinschen <vinschen@redhat.com>
9910
9911 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
9912 PID for Cygwin. Add Cygwin specific strings to check for in some
9913 tests.
9914 (do_attach_tests): Add a test for user interaction when attaching
9915 to a process with no matching symbol table already loaded.
9916
11422c86
AC
99172004-06-26 Andrew Cagney <cagney@gnu.org>
9918
9919 Test PR java/1567 and PR java/1565.
9920 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
9921 * gdb.java/jmisc2.exp: Delete file.
9922
cefbce26
MC
99232004-06-26 Michael Chastain <mec.gnu@mindspring.com>
9924
9925 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
9926
e19f872c
CV
99272004-06-25 Corinna Vinschen <vinschen@redhat.com>
9928
9929 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
9930 attach process.
9931
d931ba3b
MC
99322004-06-23 Michael Chastain <mec.gnu@mindspring.com>
9933
9934 * gdb.cp/pr-1553.exp: Remove.
9935
aef68c48
MC
99362004-06-22 Michael Chastain <mec.gnu@mindspring.com>
9937
9938 * gdb.cp/pr-1553.cc: Remove.
9939 * gdb.cp/pr-1553.exp: Disable this test.
9940
8d5df71a
JB
99412004-06-20 Jim Blandy <jimb@redhat.com>
9942
a9c64011 9943 Fix PR testsuite/1680.
8d5df71a
JB
9944 * gdb.arch/i386-sse.exp: Properly quote curly braces in
9945 regular expressions.
9946
4ac6f39d
MC
99472004-06-19 Michael Chastain <mec.gnu@mindspring.com>
9948
9949 Fix PR testsuite/1679.
9950 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
9951 Issue an UNSUPPORTED result instead.
9952
1b413552
JB
99532004-06-18 Jim Blandy <jimb@redhat.com>
9954
9955 * gdb.base/charset.exp: Only send a control-C if we see a new
9956 prompt and incomplete command.
9957
6daa6ebd
MC
99582004-06-18 Michael Chastain <mec.gnu@mindspring.com>
9959
9960 * gdb.cp/pr-574.cc: Add copyright notice.
9961
51fa4ae0
JB
99622004-06-17 Jim Blandy <jimb@redhat.com>
9963
9964 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
9965 cases where the regexp has no groups; this grabs random text from
9966 the previous test suite, whatever that was.
9967
8fea26c5
MC
99682004-06-17 Michael Chastain <mec.gnu@mindspring.com>
9969
9970 * gdb.cp/printmethod.cc: Add copyright notice.
9971
1e3aeb41
MC
99722004-06-16 Michael Chastain <mec.gnu@mindspring.com>
9973
9974 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
9975
9d9030bc
AC
99762004-06-16 Andrew Cagney <cagney@gnu.org>
9977
9978 * gdb.base/signull.c: Update copyright. Include <string.h>.
9979 (bowler): Replace data_pointer with data_read
9980 and data_write cases. Add code_descriptor case.
9981 (zero, desc): New array and pointer.
9982 (data, code): Change to simple pointers.
9983 * gdb.base/signull.exp: Fix probe pattern matching a function
9984 descriptor SIGSEGV. Replace data_pointer with data_read and
9985 data_write tests.
9986
acd4ad44
AC
99872004-06-16 Andrew Cagney <cagney@gnu.org>
9988
9989 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
9990
08fd625c
MC
99912004-06-15 Michael Chastain <mec.gnu@mindspring.com>
9992
9993 * gdb.base/long_long.c: Add copyright notice.
9994
1903502c
MC
99952004-06-15 Michael Chastain <mec.gnu@mindspring.com>
9996
9997 * gdb.base/long_long.exp: Remove reference to
9998 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
9999 to gdb_breakpoint and gdb_continue_to_breakpoint.
10000
83313cb1
JB
100012004-06-14 Jim Blandy <jimb@redhat.com>
10002
10003 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
10004 endian case.
10005
1bf404ef
AC
100062004-06-14 Andrew Cagney <cagney@gnu.org>
10007
10008 * gdb.base/gcore.exp (capture_command_output): Delete the always
10009 passing tests containing inferior values.
10010 * gdb.base/ending-run.exp: Do not include the breakpoint address
10011 in the test message. Update copyright.
10012 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
10013 size in the test name, use gdb_test_multiple. Update copyright.
10014
ef220b33
MC
100152004-06-14 Michael Chastain <mec.gnu@mindspring.com>
10016
10017 * gdb.cp/ref-types.cc: Add copyright notice.
10018
4f70a4c9
MC
100192004-06-14 Michael Chastain <mec.gnu@mindspring.com>
10020
10021 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
10022 hp_aCC_compiler.
10023 * lib/compiler.cc: Likewise.
10024 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
10025 'set' commands. Log diagnostics for other lines. Set
10026 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
10027
335928ac
MC
100282004-06-13 Michael Chastain <mec.gnu@mindspring.com>
10029
10030 * gdb.cp/try_catch.cc: Add copyright notice.
10031
2efb12e8
MC
100322004-06-12 Michael Chastain <mec.gnu@mindspring.com>
10033
10034 * gdb.cp/userdef.cc: Add copyright notice.
10035
0bbed51a
MC
100362004-06-11 Michael Chastain <mec.gnu@mindspring.com>
10037
10038 * gdb.cp/virtfunc.cc: Add copyright notice.
10039
e12a46c9
RC
100402004-06-11 Randolph Chung <tausq@debian.org>
10041
10042 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
10043 problem.
10044
338e05af
AC
100452004-06-10 Andrew Cagney <cagney@gnu.org>
10046
10047 * lib/compiler.cc, lib/compiler.c: Append either
10048 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
10049 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
10050 instead of gcc-3-3.
10051
dc3f10cb
AC
100522004-06-09 Andrew Cagney <cagney@gnu.org>
10053
b4d946af
AC
10054 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
10055 gdb/1455, bug is specific to "long long" and "double".
a9c64011 10056
dc3f10cb
AC
10057 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
10058 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
10059 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
10060 fixed.
10061
b5c0bfa2
AC
100622004-06-09 Andrew Cagney <cagney@gnu.org>
10063
10064 * gdb.base/structs.exp (test_struct_returns): Replace
10065 "return_value_unknown" and "finish_value_unknown" by
10066 "return_value_known" and "finish_value_known". Instead of
10067 "return_value_unknown" iff "finish_value_unknown", check
10068 "return_value_known" implies "finish_value_known".
10069
caeb605f
MH
100702004-06-08 Martin Hunt <hunt@redhat.com>
10071
10072 * gdb.base/float.exp: Add pattern for mips targets.
10073
c892bb64
RC
100742004-06-08 Randolph Chung <tausq@debian.org>
10075
10076 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
10077 message for unknown architectures more clear.
10078
48306d3e
JB
100792004-06-08 Joel Brobecker <brobecker@gnat.com>
10080
10081 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
10082 start the execution of the program.
10083
83ecb59f
JB
100842004-06-07 Jim Blandy <jimb@redhat.com>
10085
10086 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
10087 * gdb.arch/i386-cpuid.h: New helper file.
10088
55264cb4
RC
100892004-06-07 Randolph Chung <tausq@debian.org>
10090
10091 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
10092 has started.
10093
23cadb28
RM
100942004-06-04 Roland McGrath <roland@redhat.com>
10095
10096 Fix PR gdb/1647.
10097 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
10098 differently to be robust to output buffering differences.
10099
51d01eda
MC
101002004-06-04 Michael Chastain <mec.gnu@mindspring.com>
10101
10102 * gdb.threads/pthreads.exp: Update copyright years.
10103 (check_control_c): Change asynchronous 'after' to synchronous.
10104
f4fc3b93
RM
101052004-06-04 Roland McGrath <roland@redhat.com>
10106
10107 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
10108 next gdb prompt.
10109
4013522b
MC
101102004-06-02 Michael Chastain <mec.gnu@mindspring.com>
10111
10112 Fix PR gdb/1636.
10113 * gdb.threads/manythreads.exp: Change asynchronous 'after'
10114 calls to synchronous.
10115
7a8f1e6b
JB
101162004-05-26 Jim Blandy <jimb@redhat.com>
10117
10118 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
10119
81bb3443
RC
101202004-05-24 Randolph Chung <tausq@debian.org>
10121
10122 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
10123 * gdb.asm/pa.inc: New file.
10124
8f5a3103
MK
101252004-05-22 Mark Kettenis <kettenis@gnu.org>
10126
10127 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
10128
734b8fe8 101292004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 10130 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
10131
10132 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
10133 GDB prompt.
10134
725603e1
UW
101352004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10136
f4fc3b93 10137 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
10138 setjmp/longjmp. Use sigaction instead of signal.
10139
8b923272 101402004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 10141 Michael Snyder <msnyder@redhat.com>
8b923272
JB
10142
10143 * gdb.threads/pthread_cond_wait.c: New file.
10144 * gdb.threads/pthread_cond_wait.exp: New testcase.
10145
8bfabb04
AC
101462004-05-13 Andrew Cagney <cagney@redhat.com>
10147
10148 * gdb.base/signull.exp, gdb.base/signull.c: New files.
10149 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
10150
42edda50
AC
101512004-05-11 Andrew Cagney <cagney@redhat.com>
10152
10153 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
10154 fixed but revealed gdb/1639.
10155
d303a6c7
AC
101562004-05-10 Andrew Cagney <cagney@redhat.com>
10157
10158 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
10159 func1" and "next to 2nd alarm", kernel bug avoided.
10160
bf08c2a1
DJ
101612004-05-10 Daniel Jacobowitz <dan@debian.org>
10162
10163 PR external/1568
10164 * gdb.base/bigcore.exp: Check the size of the dumped core file.
10165 XFAIL if it is smaller than bytes_allocated.
10166 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
10167 (main): Make chunks_allocated unsigned. Correct comment.
10168
c0586a34
JB
101692004-05-07 Joel Brobecker <brobecker@gnat.com>
10170
10171 * gdb.arch/powerpc-aix-prologue.c: New file.
10172 * gdb.arch/powerpc-aix-prologue.exp: New file.
10173
f2785d12
JB
101742004-05-07 Jim Blandy <jimb@redhat.com>
10175
10176 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
10177 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
10178
bd7f6e30
JB
101792004-05-06 Joel Brobecker <brobecker@gnat.com>
10180
10181 * gdb.base/sep.exp: No longer setup_kfail when the program was
10182 built with dwarf2.
10183
0a5e7efe
JI
101842004-05-05 Jim Ingham <jingham@apple.com>
10185
10186 * gdb.base/pending.exp: Make sure pending breakpoints
10187 preserve the ignore count.
f4fc3b93 10188
a8958849
MK
101892004-04-27 Jerome Guitton <guitton@gnat.com>
10190
10191 * i386-prologue.exp: Add testcase for jump instruction as first
10192 instruction of the real code.
10193 * i386-prologue.c (jump_at_beginning): New function.
10194
7e103f5b
MK
101952004-04-28 Mark Kettenis <kettenis@gnu.org>
10196
10197 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
10198 x86_64-*-*.
10199
5d38b224
MK
102002004-04-28 Mark Kettenis <kettenis@gnu.org>
10201
10202 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
10203 i*86-*-*.
10204
0ef32fd9
MK
102052004-04-25 Mark Kettenis <kettenis@gnu.org>
10206
10207 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
10208 expression that checks the return type.
10209
71d7dd7c
AC
102102004-04-23 Andrew Cagney <cagney@redhat.com>
10211
10212 * gdb.base/call-sc.exp: New test of scalar call/return values.
10213 * gdb.base/call-sc.c: Ditto.
10214
1e9f977e
JJ
102152004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10216
10217 * gdb.threads/manythreads.c: Reduce thread stack size.
10218
899d9e3a
JJ
102192004-04-23 Jeff Johnston <jjohnstn@redhat.com>
10220
10221 * gdb.threads/manythreads.c: Add copyright notice.
10222
61bcae62
AC
102232004-04-23 Andrew Cagney <cagney@redhat.com>
10224
10225 * gdb.base/siginfo.exp: Better handle step out of signal.
10226 * gdb.base/sigstep.exp: Ditto.
10227
7339a42e 102282004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 10229 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
10230
10231 * gdb.threads/manythreads.c: New testcase.
10232 * gdb.threads/manythreads.exp: Ditto.
10233
5c98409b
JB
102342004-04-22 Jim Blandy <jimb@redhat.com>
10235
10236 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
10237 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
10238
3b611f1a
MC
102392004-04-21 Michael Chastain <mec.gnu@mindspring.com>
10240
10241 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
10242
f0fd9238
AC
102432004-04-21 Andrew Cagney <cagney@redhat.com>
10244
10245 * gdb.base/sigstep.c: New file.
10246 * gdb.base/sigstep.exp: New file.
10247
90990674
JB
102482004-04-16 Joel Brobecker <brobecker@gnat.com>
10249
10250 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
10251 call to observer_notify_normal_stop.
10252
78cef34b
AC
102532004-04-15 Andrew Cagney <cagney@redhat.com>
10254
10255 * gdb.base/siginfo.c: New file.
10256 * gdb.base/siginfo.exp: New file.
10257
d2343407
JB
102582004-04-12 J. Brobecker <brobecker@gnat.com>
10259
10260 * gdb.base/sep.exp: Fix typo in comment.
10261
a2dba3c8
JB
102622004-04-12 J. Brobecker <brobecker@gnat.com>
10263
10264 * gdb.base/sep.c: New file.
10265 * gdb.base/sep-proc.c: New file.
10266 * gdb.base/sep.exp: New testcase.
10267
15f7b60e
MK
102682004-04-09 Mark Kettenis <kettenis@gnu.org>
10269
10270 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
10271 support.
10272
44f4de1a
AC
102732004-04-05 Andrew Cagney <cagney@redhat.com>
10274
10275 * gdb.base/sigaltstack.c: New file.
10276 * gdb.base/sigaltstack.exp: New file.
10277
ef04f396
JB
102782004-04-04 Joel Brobecker <brobecker@gnat.com>
10279
10280 * gdb.base/foll-fork.exp: Update the expected output for
10281 "help set follow-fork-mode", to match a change that was made
10282 to the help of this variable on 2004-01-13.
10283
d40d2c92
JB
102842004-04-01 Joel Brobecker <brobecker@gnat.com>
10285
10286 * lib/ada.exp: Add copyright notice.
10287 * bar.ads: Likewise.
10288 * bar.adb: Likewise.
10289 * null_record.adb: Likewise.
10290 * null_record.exp: Likewise.
10291 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
10292
f86ef5a3
JB
102932004-04-01 Joel Brobecker <brobecker@gnat.com>
10294
10295 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
10296 * configure: Regenerate.
10297
414e70e3
JB
102982004-04-01 Joel Brobecker <brobecker@gnat.com>
10299
10300 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
10301 to build the application. Remove the message printed when in
10302 verbose mode, redundant with the UNSUPPORTED message above.
10303
f0aaee49
JB
103042004-03-31 Joel Brobecker <brobecker@gnat.com>
10305
10306 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
10307 * gdb.ada (null_record.exp): New testcase.
10308
ac81cb54
JB
103092004-03-31 Joel Brobecker <brobecker@gnat.com>
10310
10311 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
10312
854af2f7
JB
103132004-03-31 Joel Brobecker <brobecker@gnat.com>
10314
10315 * gdb.ada: New subdirectory.
10316 * gdb.ada/Makefile.in: New file.
10317 * gdb.ada/gnat_ada.gpr.in: New file.
10318
034cb681
JB
103192004-03-31 Joel Brobecker <brobecker@gnat.com>
10320
10321 * lib/ada.exp: New file.
10322
78a1a894
DJ
103232004-03-24 Daniel Jacobowitz <drow@mvista.com>
10324
10325 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
10326 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
10327
4b2b3b3e
AC
103282004-03-22 Andrew Cagney <cagney@redhat.com>
10329
10330 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
10331 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
10332 Problem identified by Ulrich Weigand.
10333
23c73aa3
DC
103342004-03-17 David Carlton <carlton@kealia.com>
10335
10336 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
10337 PR c++/826.
10338
d63a86f8
RM
103392004-03-16 Roland McGrath <roland@redhat.com>
10340
10341 * gdb.base/auxv.exp: New file.
10342 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
10343
0e02aa50
DC
103442004-03-12 David Carlton <carlton@kealia.com>
10345
10346 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
10347 * gdb.cp/pr-1553.cc: Ditto.
10348 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
10349 pass branch.
10350
c20b71be
MC
103512004-03-12 Michael Chastain <mec.gnu@mindspring.com>
10352
10353 * gdb.cp/templates.exp: Accept more template types.
10354
c7414a01
MC
103552004-03-09 Michael Chastain <mec.gnu@mindspring.com>
10356
10357 From Corinna Vinschen with modifications.
10358 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
10359 local variable obj_with_enum.
10360 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
10361 results with obj_with_enum.
10362
ed69573c
MC
103632004-03-09 Michael Chastain <mec.gnu@mindspring.com>
10364
10365 * gdb.cp/classes.cc: New file, copied from misc.cc.
10366 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
10367
28301461
MC
103682004-03-09 Michael Chastain <mec.gnu@mindspring.com>
10369
10370 * gdb.cp/misc.cc: Add copyright notice.
10371
1198ecbe
DC
103722004-03-05 David Carlton <carlton@kealia.com>
10373
10374 * gdb.cp/rtti.exp: Add 'print *obj3' test.
10375 * gdb.cp/rtti.h: Update copyright.
10376 (namespace n2::n3): New.
10377 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
10378 (n2::n3::func3): New.
10379 (main): Call n2::n3::func3.
10380 * gdb.cp/rtti2.cc: Update copyright.
10381 (n2::create3): New.
10382
9e08c470
MK
103832004-03-04 Mark Kettenis <kettenis@gnu.org>
10384
10385 * gdb.asm/openbsd.inc: Fix typo.
10386
4bebc3aa
FF
103872004-03-03 Fred Fish <fnf@redhat.com>
10388
10389 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
10390 "val" instead of unused "size". Update copyright year.
10391
6ea9fb37
DJ
103922004-02-29 Daniel Jacobowitz <drow@mvista.com>
10393
10394 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
10395 to use unsigned char.
10396 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
10397 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
10398
23b23974
DJ
103992004-02-29 Daniel Jacobowitz <drow@mvista.com>
10400
10401 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
10402 line of output.
10403
7574fd53
DJ
104042004-02-28 Daniel Jacobowitz <drow@mvista.com>
10405
10406 * gdb.base/relocate.c (dummy): Initialize.
10407
a195357f
DJ
104082004-02-28 Daniel Jacobowitz <drow@mvista.com>
10409
10410 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
10411 a breakpoint at exit.
10412
72fd54a9
FF
104132004-02-27 Fred Fish <fnf@redhat.com>
10414
10415 * gdb.base/chng-syms.exp: Add expect condition to match failing
10416 case that isn't a timeout.
10417
b9d23137
AC
104182004-02-27 Andrew Cagney <cagney@redhat.com>
10419
10420 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
10421 support.
10422
15d208f6 104232004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 10424
15d208f6
FF
10425 * gdb.arch/gdb1431.c: Remove.
10426 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
10427 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
10428 of "until" incorrectly.
10429
98f9cd2d
JB
104302004-02-26 J. Brobecker <brobecker@gnat.com>
10431
10432 * gdb.cp/class2.cc (empty): New class.
10433 (refer): New function.
10434 (main): Declare an object of type empty and use it.
10435 * gdb.cp/class2.exp: Print the value of an object of type empty.
10436
9b50c11b
JJ
104372004-02-26 Jeff Johnston <jjohnstn@redhat.com>
10438
10439 * gdb.base/langs.exp: Update query string to match the
10440 new nquery format used for pending breakpoints.
10441
0dcd613f
AC
104422004-02-26 Andrew Cagney <cagney@redhat.com>
10443
10444 Fix PR i18n/1570.
10445 * gdb.base/charset.c: Update copyright notice.
10446 (main, init_string): Remove the escape character '\e' tests.
10447 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
10448 * gdb.base/charset.exp (valid_host_charset): Ditto.
10449 * gdb.base/setvar.exp: Ditto.
10450
b8a56647
AC
104512004-02-24 Andrew Cagney <cagney@redhat.com>
10452
90d59e34
AC
10453 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
10454 mmapped data in core file" PASS and FAIL messages consistent.
10455
b8a56647
AC
10456 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
10457 setting a breakpoint. Work around PR java/1565.
10458
9f27c604
JJ
104592004-02-23 Jeff Johnston <jjohnstn@redhat.com>
10460
10461 * lib/gdb.exp (gdb_breakpoint): Update query string to match
10462 new nquery format.
10463 * gdb.base/pending.exp: Ditto.
10464
3224a706
MK
104652004-02-22 Mark Kettenis <kettenis@gnu.org>
10466
10467 * configure.in: Run stabs tests on *BSD.
10468 * configure: Regenerated.
10469
41e0a9ca
MK
104702004-02-21 Mark Kettenis <kettenis@gnu.org>
10471
10472 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
10473
1e1b3428
FF
104742004-02-20 Fred Fish <fnf@redhat.com>
10475
10476 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
10477 blank in test for "returns short", for consistency with other
10478 "returns xxx" tests. Update copyright year.
10479
f9a7572a
FF
104802004-02-19 Fred Fish <fnf@redhat.com>
10481
10482 New testcase for PR breakpoint/1558.
10483 * gdb.arch/gdb1558.exp: New file.
10484 * gdb.arch/gdb1558.c: New file.
10485
b2ce2854
EZ
104862004-02-19 Elena Zannoni <ezannoni@redhat.com>
10487
10488 * gdb.base/nodebug.exp: Fix typo.
10489
e7c9ff01
JB
104902004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10491
10492 Committed by Jim Blandy <jimb@redhat.com>.
10493
62f4b920
JB
10494 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
10495
2db536a1
JB
10496 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
10497
e7c9ff01
JB
10498 * gdb.base/float.exp: Support s390*-*-* targets.
10499
f3205b34
AF
105002004-02-17 Adam Fedor <fedor@gnu.org>
10501
10502 * gdb.base/gdb1555.exp: New file.
10503 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
10504
9d62932d
EZ
105052004-02-17 Elena Zannoni <ezannoni@redhat.com>
10506
10507 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
10508
344c9711
FF
105092004-02-16 Fred Fish <fnf@redhat.com>
10510
10511 * gdb.arch/gdb1291.c: Remove
10512 * gdb.arch/gdb1291.s: New test input file.
10513 * gdb.arch/gdb1291.exp: Expand test to check case that should not
10514 fail. Test for correct result, known incorrect result, other
10515 failures and timeouts.
10516
2d822687
AC
105172004-02-16 Andrew Cagney <cagney@redhat.com>
10518
10519 * gdb.base/bigcore.exp: New file.
10520 * gdb.base/bigcore.c: New file.
10521
dac15b66
AC
105222004-02-13 Andrew Cagney <cagney@redhat.com>
10523
10524 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
10525 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
10526 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
10527 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
10528 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
10529 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
10530 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
10531 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
10532 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
10533 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
10534
6bdfc2c4
JJ
105352004-02-11 Jeff Johnston <jjohnstn@redhat.com>
10536
10537 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
10538 executed is an alloc instruction.
10539
87b3ede8
DC
105402004-02-11 David Carlton <carlton@kealia.com>
10541
10542 * gdb.cp/breakpoint.exp: New.
10543 * gdb.cp/breakpoint.cc: New.
10544
6e19e2bf
MC
105452004-02-11 Michael Chastain <mec.gnu@mindspring.com>
10546
10547 Partial fix for PR gdb/1543.
10548 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
10549 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
10550 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
10551 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
10552 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
10553 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
10554 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
10555 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
10556 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
10557 to bug-gdb@prep.ai.mit.edu .
10558 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
10559 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
10560 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
10561 Likewise.
10562
5c5455dc
AC
105632004-02-10 Andrew Cagney <cagney@redhat.com>
10564
10565 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
10566 using gdb_internal_error_resync.
10567
9cf689d7
DJ
105682004-02-09 Daniel Jacobowitz <drow@mvista.com>
10569
10570 * gdb.threads/thread-specific.exp: Stop early if no threads are
10571 found.
10572
d2dc51db
MC
105732004-02-09 Michael Chastain <mec.gnu@mindspring.com>
10574
10575 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
10576
14b1a056
DJ
105772004-02-08 Daniel Jacobowitz <drow@mvista.com>
10578
10579 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
10580 breakpoints.
10581
83f66e8f
DJ
105822004-02-07 Daniel Jacobowitz <drow@mvista.com>
10583
10584 * config/sim.exp (gdb_load): Handle $arg == "".
10585 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
10586 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
10587
30fc0091
EZ
105882004-02-07 Elena Zannoni <ezannoni@redhat.com>
10589
a9c64011
AS
10590 * gdb.base/maint.exp: Update test to reflect
10591 obstack changes.
30fc0091 10592
4d806929
JJ
105932004-02-04 Jeff Johnston <jjohnstn@redhat.com>
10594
10595 * gdb.base/pendshr.c (pendfunc): New function that calls
10596 pendfunc1.
10597 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
10598
7bfdd688
FF
105992004-02-04 Fred Fish <fnf@redhat.com>
10600
10601 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
10602 function symbols and update copyright years.
10603 * gdb.arch/gdb1291.c: Ditto.
10604
aaa08ee4
MC
106052004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10606
10607 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
10608
dbad7755
MC
106092004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10610
10611 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
10612
ec4646ef
MC
106132004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10614
10615 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
10616
1b802196
FF
106172004-02-02 Fred Fish <fnf@redhat.com>
10618
10619 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
10620 remote targets. Update copyright years.
10621
18fe2033
JJ
106222004-02-02 Jeff Johnston <jjohnstn@redhat.com>
10623
10624 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
10625 support.
10626 * gdb.base/langs.exp: Fix test which attempts to create
10627 breakpoint on non-existent function to handle new pending
10628 support.
10629 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
10630 a breakpoint.
10631 * gdb.base/pending.exp: New test.
10632 * gdb.base/pending.c: New file.
10633 * gdb.base/pendshr.c: Ditto.
10634
8d577d32
DC
106352004-02-02 David Carlton <carlton@kealia.com>
10636
10637 * gdb.cp/overload.exp: Add overloadNamespace tests.
10638 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
10639 (overloadNamespace, XXX): New.
10640 (main): Call XXX::marker2.
10641
3ad13771
FF
106422004-02-01 Fred Fish <fnf@redhat.com>
10643
10644 * gdb.base/dump.exp: Use runto_main instead of "runto main".
10645 * gdb.base/finish.exp: Ditto.
10646 * gdb.base/gcore.exp: Ditto.
10647 * gdb.base/huge.exp: Ditto.
10648 * gdb.base/info-proc.exp: Ditto.
10649 * gdb.base/return2.exp: Ditto.
10650 * gdb.threads/gcore-thread.exp: Ditto.
10651
44c75849
DJ
106522004-02-01 Daniel Jacobowitz <drow@mvista.com>
10653
10654 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
10655
005bc093
MK
106562004-02-01 Mark Kettenis <kettenis@gnu.org>
10657
10658 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
10659 that opening the file succeeds on OpenBSD.
10660
c47cebdb
DJ
106612004-02-01 Daniel Jacobowitz <drow@mvista.com>
10662
10663 * gdb.threads/thread-specific.c: New file.
10664 * gdb.threads/threads-specific.exp: New test script.
10665 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
10666 to expect_out.
10667
5a01311c
MK
106682004-02-01 Mark Kettenis <kettenis@gnu.org>
10669
10670 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
10671 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
10672 only on the "print_small_structs from print_long_arg_list" test.
10673
ce22a4f1
DJ
106742004-02-01 Daniel Jacobowitz <drow@mvista.com>
10675
10676 * gdb.base/completion.exp: Kill a stray backslash.
10677
10678 From Jim Ingham <jingham@apple.com>:
10679 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
10680 agrees with the result from sending a tab.
10681
abbab9d3
DJ
106822004-01-31 Daniel Jacobowitz <drow@mvista.com>
10683
10684 * gdb.base/chng-syms.exp: Remove stray newline.
10685
53904d1e
MK
106862004-01-31 Mark Kettenis <kettenis@gnu.org>
10687
10688 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
10689 *-*-openbsd*.
10690 * gdb.asm/openbsd.inc: New file.
10691
3a4b3aac
MK
106922004-01-30 Mark Kettenis <kettenis@gnu.org>
10693
10694 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
10695 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
10696 *-*solaris2*. Remove commented out default settings for
10697 asm-flags. Replace gdb_compile with target_link.
10698
ebac27b4
MC
106992004-01-29 Michael Chastain <mec.gnu@mindspring.com>
10700
10701 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
10702 for all tests. Remove old hp-ux and cygnus xfail cases.
10703
d8679d84
PH
107042004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
10705
10706 * gdb.base/chng-syms.exp: New file.
10707 * gdb.base/chng-syms.c: New file.
10708
0a55bc22
MC
107092004-01-24 Michael Chastain <mec.gnu@mindspring.com>
10710
10711 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
10712 Provide arms for current output in all my configurations.
10713
94b8e876
MC
107142004-01-24 Michael Chastain <mec.gnu@mindspring.com>
10715
10716 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
10717 * lib/compiler.cc: Likewise.
10718 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
10719 get the right preprocessor. Eval the output directly. Remove
10720 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
10721 hp_f77_compiler and hp_f90_compiler completely.
10722 (gdb_preprocess): Delete.
10723 (get_compiler): Delete.
10724
7cf03d44
MK
107252004-01-24 Mark Kettenis <kettenis@gnu.org>
10726
10727 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
10728 <string.h>.
10729
68b6dce9
NR
107302004-01-24 Nick Roberts <nick@nick.uklinux.net>
10731
10732 * gdb.mi/mi-stack.exp: Update copyright.
10733
b368761e
DC
107342004-01-23 David Carlton <carlton@kealia.com>
10735
10736 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
10737 test for cp_lookup_transparent_type.
10738 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
10739 call them.
10740
f2061b53
DJ
107412004-01-23 Daniel Jacobowitz <drow@mvista.com>
10742
10743 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
10744 after -var-update.
10745
37fc574a
DC
107462004-01-23 David Carlton <carlton@kealia.com>
10747
10748 * gdb.cp/namespace.cc (C::ensureRefs): New.
10749 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
10750
8e94b928
NR
107512004-01-20 Nick Roberts <nick@nick.uklinux.net>
10752
10753 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
10754 case "-stack-list-locals 2".
10755 * gdb.mi/mi-var-child.exp: Test for case
10756 "-var-list-children --all-values NAME".
10757
997b0952
MC
107582004-01-18 Michael Chastain <mec.gnu@mindspring.com>
10759
10760 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
10761
52470da3
MK
107622004-01-18 Mark Kettenis <kettenis@gnu.org>
10763
7049b4b8
MK
10764 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
10765 used with gdb_test_multiple.
10766
52470da3
MK
10767 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
10768 read at address 0. This fixes PR testsuite/1504.
10769
da6012e5
DJ
107702004-01-18 Daniel Jacobowitz <drow@mvista.com>
10771
10772 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
10773 Remove downloading, guessing the host executable, the calls to
10774 gdb_file_cmd and gdb_target_cmd, and "load" support.
10775 (infer_host_exec): New function broken out from gdb_load.
10776 (gdb_load): New wrapper for gdbserver_gdb_load.
10777 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
10778 gdb_target_cmd. Use -target-select.
10779 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
10780 Download binaries to the host. Clear last_mi_remote_file when
10781 we load a new binary.
10782 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
10783 call gdbserver_gdb_load and mi_gdb_target_cmd.
10784
32c70722
MC
107852004-01-17 Michael Chastain <mec.gnu@mindspring.com>
10786
10787 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
10788 type patterns.
10789
b0cecf36
MC
107902004-01-17 Michael Chastain <mec.gnu@mindspring.com>
10791
10792 * gdb.cp/templates.exp: Fix typo in test name of
10793 "print Foo<volatile char*>::foo".
10794
4120d7e6
MC
107952004-01-15 Michael Chastain <mec.gnu@mindspring.com>
10796
10797 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
10798
f679e530
BE
107992004-01-16 Ben Elliston <bje@wasabisystems.com>
10800
10801 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
10802 (clean mostlyclean): Remove empty rm.
10803
091c48f6
MC
108042004-01-15 Michael Chastain <mec.gnu@mindspring.com>
10805
10806 * gdb.base/setvar.exp: Add copyright years.
10807
3e5fc8d2
DC
108082004-01-14 David Carlton <carlton@bactrian.org>
10809
10810 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
10811 PR c++/1511 and update coment.
10812 * gdb.cp/templates.exp: Update patterns to match current output.
10813 If changes involve something other than whitespace, KFAIL
10814 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
10815
63d06c5c
DC
108162004-01-14 David Carlton <carlton@kealia.com>
10817
10818 * gdb.cp/namespace.exp: Add tests involving classes defined within
10819 namespaces.
10820 * gdb.cp/namespace.cc (C::CClass): New.
10821 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
10822
a51dab88
EZ
108232004-01-14 Elena Zannoni <ezannoni@redhat.com>
10824
10825 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
10826 what debug info we have. Print a better message if something goes
10827 wrong while producing the separate debug info file.
10828
a476ccc9
MC
108292004-01-14 Michael Chastain <mec.gnu@mindspring.com>
10830
10831 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
10832
f453692c
MC
108332004-01-14 Michael Chastain <mec.gnu@mindspring.com>
10834
10835 * gdb.base/callfuncs.c: Add copyright notice.
10836
f40063a5
MC
108372004-01-13 Michael Chastain <mec.gnu@mindspring.com>
10838
10839 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
10840 inheritance. PR gdb/1498, PR gcc/13539.
10841
19ac3974
EZ
108422004-01-13 Elena Zannoni <ezannoni@redhat.com>
10843
a9c64011
AS
10844 * gdb.threads/gcore-thread.exp: Prefix name of binary with
10845 test specific name.
10846 * gdb.mi/gdb669.exp: Ditto.
10847 * gdb.mi/mi-pthreads.exp: Ditto.
10848 * gdb.mi/mi1-pthreads.exp: Ditto.
10849 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 10850
56c97c6e
MC
108512004-01-12 Michael Chastain <mec.gnu@mindspring.com>
10852
10853 * gdb.cp/member-ptr.cc: Add copyright notice.
10854
a0644324
MC
108552004-01-12 Michael Chastain <mec.gnu@mindspring.com>
10856
10857 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
10858 some patterns for recent versions of gcc and hpacc. Delete
10859 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
10860 Delete tests that access a NULL pointer-to-member-data. This
10861 script is still disabled for gcc.
10862
32fabe09
EZ
108632004-01-12 Elena Zannoni <ezannoni@redhat.com>
10864
10865 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 10866 escaped correctly.
32fabe09 10867
1f8a6abb
EZ
108682004-01-12 Elena Zannoni <ezannoni@redhat.com>
10869
10870 * gdb.base/sepdebug.exp: New file.
10871 * gdb.base/sepdebug.c: New file.
10872 * lib/gdb.exp (separate_debug_filename): New procedure.
10873 (gdb_gnu_strip_debug): New procedure.
10874
48efe704
AC
108752004-01-12 Andrew Cagney <cagney@redhat.com>
10876
10877 * gdb.mi/ChangeLog: Delete file. Renamed to ...
10878 * gdb.mi/ChangeLog-1999-2003: New file.
10879
a9415475
AC
108802004-01-12 Andrew Cagney <cagney@redhat.com>
10881
10882 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
10883 "Renaming a directory to a non-empty directory returns ENOTEMPTY
10884 or EEXIST", treat EBUSY as an XFAIL.
10885
83b8cf9d
MC
108862004-01-11 Michael Chastain <mec.gnu@mindspring.com>
10887
10888 * gdb.base/scope.exp: Remove obsolete setup_xfail for
10889 hp_cc_compiler.
10890
9939d2a8
MC
108912004-01-10 Michael Chastain <mec.gnu@mindspring.com>
10892
10893 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
10894 decorations.
10895
1ff8cadf
MC
108962004-01-10 Michael Chastain <mec.gnu@mindspring.com>
10897
10898 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
10899 and "(aCC)" decorations. Remove obsolete doco about old
10900 test results.
10901
6fa9022e
MC
109022004-01-09 Michael Chastain <mec.gnu@mindspring.com>
10903
10904 * gdb.cp/exception.exp: Fix typo in doco.
10905
209721fe
MK
109062004-01-09 Mark Kettenis <kettenis@gnu.org>
10907
10908 * gdb.base/gdb1476.exp: Fix typo.
10909
ef11303e
MC
109102004-01-09 Michael Chastain <mec.gnu@mindspring.com>
10911
10912 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
10913 file.
10914
041ab88c
MC
109152004-01-09 Michael Chastain <mec.gnu@mindspring.com>
10916
10917 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
10918 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
10919 Use gdb_compile. Remove restriction on gcc. Add some patterns
10920 for recent version of gdb. Delete second half, which was a copy
10921 of the first half with different build flags. This test is
10922 still disabled because it is still not ready for production.
10923
e36d075a
MC
109242004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10925
10926 * gdb.cp/exception.cc: Add copyright notice.
10927 * gdb.cp/exception.exp: Add a notice that this file is broken
10928 because of line number changes caused by addition of copyright
10929 notice.
10930
42b190ad
MC
109312004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10932
10933 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
10934 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
10935
8f25f06b
MC
109362004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10937
10938 * gdb.cp/classes.exp: Accept gnu abi 2.
10939 * gdb.cp/derivation.exp: Likewise.
10940 * gdb.cp/overload.exp: Likewise.
10941 * gdb.cp/virtfunc.exp: Likewise.
10942
06ded8b8
MC
109432004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10944
10945 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
10946 semicolon after end of function.
10947
77c26ae3
MC
109482004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10949
10950 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
10951 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
10952 boilerplate code for compiling and running the program under
10953 test. Add some string method tests.
10954
20757486
MC
109552004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10956
10957 * gdb.cp/bs15503.cc: Add copyright notice.
10958 * gdb.cp/bs15503.exp: Adjust line number.
10959
0fd3b503
MC
109602004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10961
10962 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
10963 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
10964
10d1bea8
MC
109652004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10966
10967 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
10968 hp_cc_compiler.
10969
2789202a
MC
109702004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10971
10972 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
10973 * gdb.cp/ctti.exp: Use the marker instead of "next".
10974 With gcc, run further before bailing.
10975
b862f14c
MC
109762004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10977
10978 * gdb.cp/cttiadd.cc: Add copyright notice.
10979 * gdb.cp/cttiadd1.cc: Likewise.
10980 * gdb.cp/cttiadd2.cc: Likewise.
10981 * gdb.cp/cttiadd3.cc: Likewise.
10982
96da2469
MC
109832004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10984
10985 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
10986 Use gdb_test, gdb_test_multiple. Use floating-point values that
10987 have exact representations in IEEE-ish formats.
10988
053248ff
MC
109892004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10990
10991 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
10992 compilers. Delete duplicate call to get_compiler_info.
10993 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
10994 * gdb.base/volatile.exp: Likewise.
10995
84acecdd
MK
109962004-01-07 Mark Kettenis <kettenis@gnu.org>
10997
10998 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
10999 memory at address 0.
11000
fe11a27f
MC
110012004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11002
11003 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
11004 to test for hp-ux assembler. Fix copyright years.
11005
60ad077b
AC
110062004-01-07 Andrew Cagney <cagney@redhat.com>
11007
11008 * gdb.base/fileio.c (strerrno): Add "EBUSY".
11009
1c9b8f33
AC
110102004-01-07 Andrew Cagney <cagney@redhat.com>
11011
11012 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
11013 when creating the read-only file. From analysis by Roland McGrath
11014 and Elena Zannoni.
11015
753ccc7a
MC
110162004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11017
11018 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
11019
eca3e36b
MC
110202004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11021
11022 * gdb.base/cvexpr.c: Be type-safe with function pointers and
11023 data pointers.
11024
f8d4bac4
MC
110252004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11026
11027 * gdb.cp/m-static.exp: Compile one source file at a time.
11028 Delete unused call to get_compiler_info.
11029
9b4e0f94
MC
110302004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11031
11032 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
11033 * gdb.base/call-rt-st.exp: Likewise.
11034 * gdb.base/nodebug.exp: Likewise.
11035 * gdb.base/volatile.exp: Likewise.
11036 * gdb.cp/ref-types.exp: Likewise.
11037 * gdb.cp/templates.exp: Likewise.
11038
023c1024
MK
110392004-01-05 Mark Kettenis <kettenis@gnu.org>
11040
11041 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
11042
19703c4a
MC
110432004-01-05 Michael Chastain <mec.gnu@mindspring.com>
11044
11045 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
11046 hppa*-hp-hpux*.
11047
18b67037
MK
110482004-01-04 Mark Kettenis <kettenis@gnu.org>
11049
ba6219c8
MK
11050 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
11051 x86_64-*-*.
11052
18b67037
MK
11053 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
11054 sparc64-*-* and sparc*-solaris2*.
11055
1bfbbb9d
MK
110562004-01-04 Mark Kettenis <kettenis@gnu.org>
11057
11058 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
11059 return ${tests}" test. The ${tests} already mentions the
11060 filename.
11061
06846494
MC
110622004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11063
11064 * gdb.cp/local.exp: Accept gcc abi 2.
11065
3b0cb202
MC
110662004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11067
11068 * gdb.cp/templates.exp: Accept gcc abi 2.
11069
0643ec3f
MC
110702004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11071
11072 * lib/compiler.cc: Remove supports_template_debugging.
11073 * gdb.cp/templates.exp: Do not test supports_template_debugging.
11074
d231d0b1
MC
110752004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11076
11077 * gdb.cp/namespace.exp: Accept gcc abi 2.
11078
44ffb27c
MC
110792004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11080
11081 * gdb.cp/method.exp: Accept gcc abi 2.
11082
184ad485
MC
110832004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11084
11085 * gdb.cp/classes.exp: Generate identical results as old version.
11086 * gdb.cp/derivation.exp: Likewise.
11087 * gdb.cp/overload.exp: Likewise.
11088 * gdb.cp/virtfunc.exp: Likewise.
11089
116f09e7
MC
110902004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11091
11092 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
11093 mysterious bug with sourceware version of expect.
11094
b1379776
MC
110952004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11096
11097 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
11098 current versions of gcc, including gcc abi 2. Remove gratuitous
11099 restart of test program. Use gdb_test_multiple and gdb_test for
11100 all tests. Add patterns to xfail missing "const" in "const char *"
11101 and kfail PR gdb/1155.
11102
6b7a4c0e
MC
111032004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11104
11105 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
11106 current versions of gcc, including gcc abi 2. Remove gratuitous
11107 restart of test program. Use gdb_test_multiple and gdb_test for
11108 all tests. Add patterns to kfail PR gdb/1498.
11109
51615d72
MC
111102003-12-31 Michael Chastain <mec.gnu@mindspring.com>
11111
11112 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
11113 current versions of gcc, including gcc abi 2. Use "breakpoint"
11114 and "continue" instead of restarting the target program. Use
11115 gdb_test_multiple and gdb_test for all tests.
11116
7b79a9d7
MK
111172004-01-01 Mark Kettenis <kettenis@gnu.org>
11118
11119 * gdb.asm/asm-source.exp: Update copyright year. Link statically
11120 for *-*-solaris2*.
11121
1cd3489f
MC
111222003-12-31 Michael Chastain <mec.gnu@mindspring.com>
11123
11124 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
11125 current versions of gcc, including gcc abi 2. Use "breakpoint"
11126 and "continue" instead of restarting the target program several
11127 times. Use gdb_test_multiple and gdb_test for all tests.
11128
850742db
MC
111292003-12-18 Michael Chastain <mec.gnu@mindspring.com>
11130
11131 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
11132 source files.
11133
eb4bbda8
MC
111342003-12-16 Michael Chastain <mec.gnu@mindspring.com>
11135
11136 * gdb.base/environ.exp: Handle compiling test case from multiple
11137 source files.
11138
e42c7771
MC
111392003-12-16 Michael Chastain <mec.gnu@mindspring.com>
11140
11141 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
11142
80e4b428
JB
111432003-12-17 Jim Blandy <jimb@redhat.com>
11144
5f06973a
JB
11145 * gdb.base/freebpcmd.c: Add copyright notice.
11146
80e4b428
JB
11147 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
11148
0ab84fb7
MC
111492003-12-16 Michael Chastain <mec.gnu@mindspring.com>
11150
11151 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
11152
1b3bb3d0
JB
111532003-12-13 Jim Blandy <jimb@redhat.com>
11154
11155 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
11156
3a4c9371
KB
111572003-12-12 Kevin Buettner <kevinb@redhat.com>
11158
11159 * gdb.asm/frv.inc: New file.
11160 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
11161
a1dea79a
FF
111622003-12-09 Fred Fish <fnf@redhat.com>
11163
11164 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
11165 functions to break1.c and leave prototypes behind. Add more
11166 "set breakpoint NN here" comments.
11167 * gdb.base/break1.c: New file.
11168
11169 * gdb.base/break.exp: Handle compiling test case from multiple
11170 source files and change source file references as needed.
11171 * gdb.base/completion.exp: Ditto.
11172 * gdb.base/condbreak.exp: Ditto.
11173 * gdb.base/define.exp: Ditto.
11174 * gdb.base/ena-dis-br.exp: Ditto.
11175 * gdb.base/info-proc.exp: Ditto.
11176 * gdb.base/maint.exp: Ditto.
11177 * gdb.base/until.exp: Ditto.
11178
11179 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
11180 hardcoded line numbers.
11181 * gdb.base/define.exp: Ditto.
11182 * gdb.base/ena-dis-br.exp: Ditto.
11183 * gdb.base/maint.exp: Ditto.
11184 * gdb.base/until.exp: Ditto.
11185
11186 * gdb.base/completion.exp: Use "break1" for completion tests since
11187 "break" is no longer a unique prefix.
11188
5266b69c
AC
111892003-12-06 Andrew Cagney <cagney@redhat.com>
11190
11191 * gdb.base/structs.exp (test_struct_returns): When applicable, set
11192 "return_value_unimplemented". When an unimplemented struct return
11193 architecture, report incorrect values as a KFAIL
11194
374451f0
MC
111952003-12-05 Michael Chastain <mec.gnu@mindspring.com>
11196
11197 * gdb.cp/rtti.exp: Accept new wording of warning from
11198 cp_lookup_rtti_type.
11199
ba9b20a7
MC
112002003-12-05 Michael Chastain <mec.gnu@mindspring.com>
11201
11202 Partial fix for PR testsuite/1456.
11203 * gdb.base/scope.exp (test_at_main): Replace references to
11204 gcc_compiled with calls to test_compiler_info.
11205 (test_at_foo): Likewise.
11206 (test_at_bar): Likewise.
11207
b74b6d0b
MC
112082003-12-04 Michael Chastain <mec.gnu@mindspring.com>
11209
11210 Partial fix for PR testsuite/1456.
11211 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
11212 to test_compiler_info.
11213
ccfa3402
MC
112142003-12-03 Michael Chastain <mec.gnu@mindspring.com>
11215
11216 * gdb.base/so-impl-ld.exp: Update copyright notice.
11217
f6246aba
MC
112182003-12-02 Michael Chastain <mec.gnu@mindspring.com>
11219
11220 Partial fix for PR testsuite/1456.
11221 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
11222 to test_compiler_info.
11223
13ae734a
MC
112242003-11-28 Michael Chastain <mec.gnu@mindspring.com>
11225
11226 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
11227 from current versions of gdb. Clean up regular expressions.
11228 Delete redundant timeout case.
11229
d8e1cdee
MC
112302003-11-28 Michael Chastain <mec.gnu@mindspring.com>
11231
11232 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
11233 from current versions of gdb. Clean up regular expressions.
11234 Delete redundant timeout case.
11235
96457b64
MC
112362003-12-01 Michael Chastain <mec.gnu@mindspring.com>
11237
11238 Partial fix for PR testsuite/1456.
11239 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
11240 gcc_compiled with call to test_compiler_info.
11241
f35309fc
MC
112422003-11-30 Michael Chastain <mec.gnu@mindspring.com>
11243
11244 Partial fix for PR testsuite/1456.
11245 * gdb.base/list.exp (test_list_function): Delete unused declaration
11246 of gcc_compiled.
11247
d7afdf9b
MC
112482003-11-29 Michael Chastain <mec.gnu@mindspring.com>
11249
11250 Partial fix for PR testsuite/1456.
11251 * gdb.base/complex.exp: Replace reference to gcc_compiled with
11252 call to test_compiler_info.
11253
71507b56
MK
112542003-11-29 Mark Kettenis <kettenis@gnu.org>
11255
11256 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
11257 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
11258 it to create the appropriate note.inc.
11259 * gdb.asm/asmsrc1.s: Include "note.inc".
11260 * gdb.asm/netbsd.inc: New file.
11261 * gdb.asm/empty.inc: New file.
11262
f81f93f7
MC
112632003-11-28 Michael Chastain <mec.gnu@mindspring.com>
11264
11265 Partial fix for PR testsuite/1456.
11266 * gdb.base/constvars.exp: Replace references to gcc_compiled with
11267 calls to test_compiler_info.
11268
9a77938e
MC
112692003-11-27 Michael Chastain <mec.gnu@mindspring.com>
11270
11271 Partial fix for PR testsuite/1456.
11272 * gdb.base/volatile.exp: Replace references to gcc_compiled with
11273 calls to test_compiler_info.
11274
e8367dc7
MK
112752003-11-27 Mark Kettenis <kettenis@gnu.org>
11276
11277 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
11278 pattern for the KFAILs.
11279
526c61ee
AF
112802003-11-25 Adam Fedor <fedor@gnu.org>
11281
11282 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
11283 * gdb.objc/objcdecode.m: New file.
11284
28f2d600
AF
112852003-11-25 Adam Fedor <fedor@gnu.org>
11286
11287 * gdb.objc/nondebug.exp: Test for PR objc/1236.
11288 * gdb.objc/nondebug.m: New file.
11289
a3895cee
BE
112902003-11-26 Ben Elliston <bje@wasabisystems.com>
11291
11292 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
11293 NetBSD as it does on FreeBSD. Modelled on a similar change by
11294 Mark Kettenis on 2003-05-30.
11295 (link-flags): Set to "--entry _start" regardless of target.
11296 Special linker flags are to be appended to $link-flags.
11297 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
11298
c9f2c8a3
MC
112992003-11-25 Michael Chastain <mec.gnu@mindspring.com>
11300
11301 * gdb.cp/method.exp: Accept output of new demangler.
11302
15a0587a 113032003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
11304
11305 * gdb/class2.exp: New file.
11306 * gdb/class2.cc: New file.
11307
3c00b570
MC
113082003-11-25 Michael Chastain <mec.gnu@mindspring.com>
11309
11310 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
11311 of new demangler.
11312
7027acc7
MK
113132003-11-23 Mark Kettenis <kettenis@gnu.org>
11314
11315 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
11316 of gdb_test "run".
11317
b0e1598a
MK
113182003-11-23 Mark Kettenis <kettenis@gnu.org>
11319
11320 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
11321 "continue" into "run".
11322
4d9eda44
MC
113232003-11-23 Michael Chastain <mec.gnu@mindspring.com>
11324
11325 Partial fix for PR testsuite/1456.
11326 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
11327 call to test_compiler_info.
11328 * gdb.cp/ctti.exp: Likewise.
11329 * gdb.cp/derivation.exp: Likewise.
11330 * gdb.cp/member-ptr.exp: Likewise.
11331 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
11332 reference to gcc_compiled.
11333
113342003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
11335
11336 Fix PR testsuite/1463.
11337 * gdb.base/structs.exp (start_structs_test): Call
11338 get_debug_format before using the debug format.
11339
d422fe19
AC
113402003-11-22 Andrew Cagney <cagney@redhat.com>
11341
11342 * lib/gdb.exp (gdb_test_multiple): Add simple example.
11343 * gdb.base/structs.exp: Use gdb_test_multiple.
11344
039cf96d
AC
113452003-11-20 Andrew Cagney <cagney@redhat.com>
11346
6882279b
AC
11347 * gdb.base/structs.exp: Handle and recover from internal errors.
11348 Replace "foo${n}" with "foo<n>" in test messages.
11349
e53890ae
AC
11350 * gdb.base/structs.exp: Update copyright. Rewrite.
11351 * gdb.base/structs.c: Update copyright. Rewrite.
11352
2b211c59
AC
11353 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
11354 resync count exceeded.
d63a86f8 11355
039cf96d
AC
11356 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
11357 from the internal error.
11358 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
11359 Original from Jim Blandy.
11360 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 11361
eac98b22
AC
113622003-11-19 Andrew Cagney <cagney@redhat.com>
11363
11364 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
11365 KFAIL.
11366
67455b2a
MK
113672003-11-17 Mark Kettenis <kettenis@gnu.org>
11368
11369 New testcase for PR backtrace/1435.
11370 * gdb.arch/i386-unwind.exp: New file.
11371 * gdb.arch/i386-unwind.c: New file.
11372
853d6e5b
AC
113732003-11-17 Andrew Cagney <cagney@redhat.com>
11374
11375 * lib/gdb.exp (compiler_info): New global.
11376 (test_compiler_info): New function.
11377 (get_compiler_info): Set compiler_info.
11378 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
11379 "compiler_info" to gcc-<major>-<minor>.
11380
38cf6e11
MC
113812003-11-15 Michael Chastain <mec.gnu@mindspring.com>
11382
11383 * gdb.trace/configure: Remove.
11384
a50d3602
EZ
113852003-11-13 Elena Zannoni <ezannoni@redhat.com>
11386
11387 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 11388 breakpoints.
a50d3602
EZ
11389 * gdb.base/break.exp: Remove all references to explicit line
11390 numbers.
11391
d9407aaa
NC
113922003-11-11 Nick Clifton <nickc@redhat.com>
11393
11394 * gdb.base/shreloc.exp: Do not run for targets which do not
11395 support shared objects.
11396
db488fc1
CV
113972003-11-10 Corinna Vinschen <vinschen@redhat.com>
11398
11399 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
11400 Don't run tests if nofileio flag is given.
11401
6a90a18e
EZ
114022003-11-07 Elena Zannoni <ezannoni@redhat.com>
11403
11404 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 11405 as well as 'Watchpoint'.
6a90a18e 11406
0b915e9c
EZ
114072003-11-06 Elena Zannoni <ezannoni@redhat.com>
11408
11409 Reported by Jim Ingham <jingham@apple.com>:
11410 * gdb.base/annota1.exp: Match at least one occurrence of the
11411 signal handler annotation.
11412
d7e4b55f
EZ
114132003-11-06 Elena Zannoni <ezannoni@redhat.com>
11414
a9c64011
AS
11415 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
11416 as well as 'Watchpoint'.
d7e4b55f 11417
2fe4e8d0
MC
114182003-11-05 Michael Chastain <mec@shout.net>
11419
11420 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
11421
6ef88553
KW
114222003-11-03 Kris Warkentin <kewarken@qnx.com>
11423
11424 * gdb.arch/gdb1291.c: New test file.
11425 * gdb.arch/gdb1291.exp: New test script.
11426 * gdb.arch/gdb1431.c: New test file.
11427 * gdb.arch/gdb1431.exp: New test script.
11428
ae7dc4d8
MC
114292003-10-22 Michael Chastain <mec@shout.net>
11430
11431 * gdb.mi/pthreads.c: Add copyright notice.
11432
c39d7427
MC
114332003-10-22 Michael Chastain <mec@shout.net>
11434
11435 * gdb.threads/pthreads.c: Add copyright notice.
11436
8b7d96c1
MC
114372003-10-20 Michael Chastain <mec@shout.net>
11438
11439 * gdb.base/gdb1056.exp: New test script.
11440
d1d69fdd
DJ
114412003-10-13 Daniel Jacobowitz <drow@mvista.com>
11442
11443 * gdb.threads/killed.exp: Use gdb_run_cmd.
11444
7d605576
DJ
114452003-10-13 Daniel Jacobowitz <drow@mvista.com>
11446
11447 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
11448 create a core file.
11449 * gdb.threads/gcore-thread.exp: Likewise.
11450
618ec112
CV
114512003-10-13 Corinna Vinschen <vinschen@redhat.com>
11452
11453 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
11454 type, based on char type.
11455 (struct bit_flags_short_t): New bitfield type, based on short type.
11456 (init_bit_flags_char): New fuction.
11457 (init_bit_flags_short): Ditto.
11458 (print_bit_flags_char): Ditto.
11459 (print_bit_flags_short): Ditto.
11460 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
11461
9367a73c
MC
114622003-10-11 Michael Chastain <mec@shout.net>
11463
11464 * gdb.base/call-rt-st.exp: Update copyright year.
11465
1decf120
KI
114662003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
11467
11468 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
11469 * gdb.disasm/sh3.s: Ditto.
11470
5445b2ae
DJ
114712003-10-07 Daniel Jacobowitz <drow@mvista.com>
11472
11473 * gdb.threads/switch-threads.exp: New test.
11474 * gdb.threads/switch-threads.c: New source file.
11475
aec24853
CV
114762003-10-07 Corinna Vinschen <vinschen@redhat.com>
11477
11478 * gdb.base/ending-run.exp: Add sh specific case.
11479
adc7428d
AC
114802003-10-06 Andrew Cagney <cagney@redhat.com>
11481
11482 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
11483 * gdb.disasm/mn10200.exp: Delete obsolete file.
11484
c9d37158
DJ
114852003-09-29 Daniel Jacobowitz <drow@mvista.com>
11486
11487 * ChangeLog: Correct an entry command.exp -> commands.exp.
11488 * gdb.base/commands.exp (bp_deleted_in_command_test)
11489 (temporary_breakpoint_commands): Check noargs.
11490
79c2c32d
DC
114912003-09-25 David Carlton <carlton@kealia.com>
11492
11493 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
11494 of some print tests, where appropriate. Add tests for C::D::cd,
11495 E::ce, F::cXfX, G::XgX.
11496 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
11497
594e6d67
RE
114982003-09-25 Richard Earnshaw <rearnsha@arm.com>
11499
11500 * lib/java.exp (java_init): Import target_alias before using it.
11501
10f0d451
DC
115022003-09-25 David Carlton <carlton@kealia.com>
11503
11504 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
11505
274bcba0
EZ
115062003-09-23 Elena Zannoni <ezannoni@redhat.com>
11507
d63a86f8 11508 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 11509 weirdness.
274bcba0 11510
cdbf20f7
MC
115112003-09-17 Michael Chastain <mec@shout.net>
11512
11513 * gdb.cp/gdb1355.exp: New file.
11514 * gdb.cp/gdb1355.c: New file.
11515
71e06f80
CV
115162003-09-15 Corinna Vinschen <vinschen@redhat.com>
11517
11518 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
11519 * gdb.asm/sh.inc: New file.
11520
5c4e30ca
DC
115212003-09-11 David Carlton <carlton@kealia.com>
11522
bd45b7af
DC
11523 * gdb.cp/namespace.exp: Add tests for namespace types.
11524 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
11525 (test_namespace): New.
11526
1c199746
EZ
115272003-09-11 Elena Zannoni <ezannoni@redhat.com>
11528
a9c64011 11529 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 11530 * gdb.stabs/weird.exp: Ditto.
1c199746 11531
04ed252f
MC
115322003-09-08 Michael Chastain <mec@shout.net>
11533
11534 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
11535
d8a2d9e7
MC
115362003-09-07 Michael Chastain <mec@shout.net>
11537
11538 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
11539 'parse error'.
11540
161afb24
MK
115412003-09-07 Mark Kettenis <m.kettenis@osp.nl>
11542
11543 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
11544
49f2741a
MC
115452003-08-30 Michael Chastain <mec@shout.net>
11546
11547 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
11548 * gdb.gdb/observer.exp: Ditto.
11549 * gdb.gdb/xfullpath.exp: Ditto.
11550
8afa723e
MK
115512003-08-29 Mark Kettenis <kettenis@gnu.org>
11552
11553 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
11554 *-*-*bsd*.
11555
f31dfe3b
JJ
115562003-08-28 Jeff Johnston <jjohnstn@redhat.com>
11557
11558 * gdb.base/dump.exp: Skip for ia64.
11559
4630e498
JJ
115602003-08-25 Jeff Johnston <jjohnstn@redhat.com>
11561
11562 * gdb.asm/asm-source.exp: Add ia64 support.
11563 * gdb.asm/ia64.inc: New file.
11564
1105b7ef
MC
115652003-08-22 Michael Chastain <mec@shout.net>
11566
11567 * gdb.cp: New directory.
11568 * gdb.cp/*: Copy from gdb.c++/*.
11569 * gdb.c++/*: Remove.
11570 * Makefile.in: Change gdb.c++ to gdb.cp.
11571 * configure.in: Ditto.
11572 * configure: Regnerate.
11573
c945b932
MK
115742003-08-18 Mark Kettenis <kettenis@gnu.org>
11575
11576 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
11577 * gdb.arch/i386-prologue.c (gdb1338): Add function.
11578
2b66634b
DJ
115792003-08-17 Daniel Jacobowitz <drow@mvista.com>
11580
11581 * mi-var-display.exp (-var-list-children weird): Accept function
11582 pointers with argument types.
11583 * mi1-var-display.exp (-var-list-children weird): Likewise.
11584 * mi2-var-display.exp (-var-list-children weird): Likewise.
11585
a356f73b
DJ
115862003-08-17 Daniel Jacobowitz <drow@mvista.com>
11587
11588 * gdb.base/annota3.exp: Add missing newline.
11589
483417b8
MC
115902003-08-06 Michael Chastain <mec@shout.net>
11591
11592 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
11593
c99c59c3
MS
115942003-08-12 Michael Snyder <msnyder@redhat.com>
11595
11596 * gdb.base/float.exp: Add test for SH.
11597
55ed7501
MK
115982003-08-10 Mark Kettenis <kettenis@gnu.org>
11599
11600 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
11601
1a371f2e
EZ
116022003-08-07 Elena Zannoni <ezannoni@redhat.com>
11603
11604 * gdb.base/completion.exp: Remove reduntant completion test
11605 on filename.
11606
e0f353ce
EZ
116072003-08-07 Elena Zannoni <ezannoni@redhat.com>
11608
a9c64011
AS
11609 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
11610 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
11611 gdb.trace/save-trace.exp: Make sure that full pathnames are
11612 escaped correctly.
e0f353ce 11613
5710a1af 116142003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 11615
a9c64011
AS
11616 * configure.in: Don't generate config.h from config.hin.
11617 * configure: Regenerate.
11618 * config.hin: Remove file.
11619 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
11620 * gdb.threads/pthreads.c: Ditto.
5710a1af 11621
dcd81ce9
DJ
116222003-08-07 Daniel Jacobowitz <drow@mvista.com>
11623
11624 From Kei Sakamoto <sakamoto.kei@renesas.com>:
11625 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
11626 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
11627 Replace ld24 with seth/add3.
11628
6009d884
AC
116292003-08-02 Andrew Cagney <cagney@redhat.com>
11630
11631 * gdb.base/annota3.exp: New file.
11632 * gdb.base/annota3.c: New file.
11633 * gdb.c++/annota3.exp: New file.
11634 * gdb.c++/annota3.cc: New file.
11635
51514e06
MC
116362003-07-29 Michael Chastain <mec@shout.net>
11637
11638 * gdb.threads/tls.c (spin): Check errno only if sem_wait
11639 actually failed.
11640 (do_pass): Likewise.
11641 * gdb.threads/tls.exp: Always initialize no_of_threads.
11642
4ee6625b
DJ
116432003-07-27 Daniel Jacobowitz <drow@mvista.com>
11644
11645 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
11646 pattern.
11647 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
11648 * gdb.threads/tls.exp: Recognize one case of the host library not
11649 supporting TLS.
11650
225f2bf6
AC
116512003-07-27 Andrew Cagney <cagney@redhat.com>
11652
11653 * gdb.base/fileio.exp: Use SH when running commands using
11654 remote_exec.
11655
bcb27c9f
DJ
116562003-07-24 Daniel Jacobowitz <drow@mvista.com>
11657
11658 From Kei Sakamoto <sakamoto.kei@renesas.com>:
11659 * gdb.base/relocate.c (dummy): New padding array.
11660
3d67be83
MS
116612003-07-22 Michael Snyder <msnyder@redhat.com>
11662
d63a86f8 11663 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
11664
11665 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
11666 patterns to be more general, accepting old and new output.
11667 Some output chars (such as '+') also must be quoted.
d63a86f8 11668 Some addresses are displayed numerically instead of
3d67be83
MS
11669 symbolically.
11670
57ba3b85
MS
116712003-07-23 Michael Snyder <msnyder@redhat.com>
11672
686d097c
MS
11673 * gdb.base/return2.exp: Don't test long-long return.
11674
57ba3b85
MS
11675 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
11676 * gdb.disasm/t01_mov.exp: Ditto.
11677 * gdb.disasm/t02_mova.s: Ditto.
11678 * gdb.disasm/t02_mova.exp: Ditto.
11679 * gdb.disasm/t03_add.s: Ditto.
11680 * gdb.disasm/t03_add.exp: Ditto.
11681 * gdb.disasm/t04_sub.s: Ditto.
11682 * gdb.disasm/t04_sub.exp: Ditto.
11683 * gdb.disasm/t05_cmp.s: Ditto.
11684 * gdb.disasm/t05_cmp.exp: Ditto.
11685 * gdb.disasm/t06_ari2.s: Ditto.
11686 * gdb.disasm/t06_ari2.exp: Ditto.
11687 * gdb.disasm/t07_ari3.s: Ditto.
11688 * gdb.disasm/t07_ari3.exp: Ditto.
11689 * gdb.disasm/t08_or.s: Ditto.
11690 * gdb.disasm/t08_or.exp: Ditto.
11691 * gdb.disasm/t09_xor.s: Ditto.
11692 * gdb.disasm/t09_xor.exp: Ditto.
11693 * gdb.disasm/t10_and.s: Ditto.
11694 * gdb.disasm/t10_and.exp: Ditto.
11695 * gdb.disasm/t11_logs.s: Ditto.
11696 * gdb.disasm/t11_logs.exp: Ditto.
11697 * gdb.disasm/t12_bit.s: Ditto.
11698 * gdb.disasm/t12_bit.exp: Ditto.
11699 * gdb.disasm/t13_otr.s: Ditto.
11700 * gdb.disasm/t13_otr.exp: Ditto.
11701
e00759ef
EZ
117022003-07-22 Elena Zannoni <ezannoni@redhat.com>
11703
11704 * gdb.threads/tls.exp :Add kfail for 'info address' case.
11705
8bc2021f
EZ
117062003-07-22 Elena Zannoni <ezannoni@redhat.com>
11707
a9c64011
AS
11708 * gdb.threads/tls.c : New file.
11709 * gdb.threads/tls.exp : New file.
11710 * gdb.threads/tls-main.c : New file.
11711 * gdb.threads/tls-shared.c : New file.
11712 * gdb.threads/tls-shared.exp : New file.
8bc2021f 11713
89320c4c
AS
117142003-07-22 Andreas Schwab <schwab@suse.de>
11715
11716 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
11717
180dea7c
AS
117182003-07-20 Andreas Schwab <schwab@suse.de>
11719
11720 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
11721 due to insn reordering.
11722
0714963c
AC
117232003-07-15 Andrew Cagney <cagney@redhat.com>
11724
11725 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
11726
98a23b3f
MC
117272003-07-15 Michael Chastain <mec@shout.net>
11728
11729 * gdb.base/gdb1250.exp: New file.
11730 * gdb.base/gdb1250.c: New file.
11731
27e417a2
ML
117322003-07-09 Michal Ludvig <mludvig@suse.cz>
11733
11734 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
11735 expansion of size_t to 'unsigned long', not only to 'unsigned'.
11736
8bc2021f
EZ
117372003-07-09 Elena Zannoni <ezannoni@redhat.com>
11738
a9c64011
AS
11739 * gdb.threads/tls.c: New file.
11740 * gdb.threads/tls.exp: New file.
11741 * gdb.threads/tls-main.c: New file.
11742 * gdb.threads/tls-shared.c: New file.
11743 * gdb.threads/tls-shared.exp: New file.
8bc2021f 11744
d99968dc
EZ
117452003-07-09 Elena Zannoni <ezannoni@redhat.com>
11746
11747 * gdb.base/annota1.exp: Make sure that we properly escape the
11748 full path of the source file. Xfail more permissive patterns,
d63a86f8 11749 due to a compiler debug info problem.
d99968dc 11750
83876b3b
AS
117512003-07-07 Andreas Schwab <schwab@suse.de>
11752
2705e972
AS
11753 * gdb.asm/m68k.inc: New file.
11754 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
11755
83876b3b
AS
11756 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
11757 arguments"): Also match negative number.
11758
11759 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
11760
3a871b37
DJ
117612003-07-03 Daniel Jacobowitz <drow@mvista.com>
11762
11763 * gdb.base/store.c (charest): New typedef.
11764 (add_char): Rename to add_charest, update.
11765 (wack_char): Rename to wack_charest, update types. Return l + r
11766 to keep r live across the call.
11767 (wack_short, wack_int, wack_long, wack_longest, wack_float)
11768 (wack_double, wack_doublest): Return l + r to keep r live across
11769 the call.
11770 * gdb.base/store.exp: Accomodate store.c changes.
11771
b2a7f303
DC
117722003-06-30 David Carlton <carlton@kealia.com>
11773
11774 * gdb.c++/maint.exp (test_invalid_name): New.
11775 (test_first_component): Add tests for invalid names.
11776
3c6cb4a1
MC
117772003-06-29 Michael Chastain <mec@shout.net>
11778
11779 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
11780 output of '<VTT for class>' for virtual base classes.
11781
f1c2644b
DJ
117822003-06-29 Daniel Jacobowitz <drow@mvista.com>
11783
11784 * gdb.base/completion.exp: Tab-complete "complet" instead of
11785 "compl".
11786 * gdb.base/complex.exp, gdb.base/complex.c: New files.
11787
18080350
DJ
117882003-06-29 Daniel Jacobowitz <drow@mvista.com>
11789
11790 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
11791 * gdb.base/volatile.exp: Likewise.
11792
f56973f8
DJ
117932003-06-29 Daniel Jacobowitz <drow@mvista.com>
11794
11795 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
11796 gdb/1265.
11797
117982003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
11799 Daniel Jacobowitz <drow@mvista.com>
11800
11801 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
11802 initial line count of 'captured_main' from 26 to 32.
11803 (test_with_self): Allow xmalloc call to be interleaved with the
11804 preceding two lines.
11805
e766d4d6
JB
118062003-06-24 Joel Brobecker <brobecker@gnat.com>
11807
11808 * gdb.base/bang.exp: New testcase.
11809
f125c9a4
JB
118102003-06-23 Joel Brobecker <brobecker@gnat.com>
11811
11812 * gdb.base/langs.exp: Add some tests for the "minimal" language
11813 support.
11814
6e25beaf
EZ
118152003-06-23 Elena Zannoni <ezannoni@redhat.com>
11816
11817 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
11818 the testcase.
11819
2f816dda
DJ
118202003-06-22 Daniel Jacobowitz <drow@mvista.com>
11821
11822 * gdb.base/relocate.exp: Test add-symbol-file with a variable
11823 offset.
11824
db5a5748
DJ
118252003-06-22 Daniel Jacobowitz <drow@mvista.com>
11826
11827 * gdb.c++/pr-1210.cc: New file.
11828 * gdb.c++/pr-1210.exp: New file.
11829
1df0c130
DJ
118302003-06-21 Daniel Jacobowitz <drow@mvista.com>
11831
11832 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
11833 000-exec-continue.
11834
a92feac0
MK
118352003-06-15 Mark Kettenis <kettenis@gnu.org>
11836
11837 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
11838 on *-*-*bsd* instead of *-*-freebsd*.
11839
81a58f5b
AC
118402003-06-14 Andrew Cagney <cagney@redhat.com>
11841
11842 * gdb.base/store.exp: Test longest and doublest. Test all
11843 parameters. Weaken return statement match.
11844 * gdb.base/store.c: Add longest and doublest - aka long long and
11845 long double functions. Put all parameters into local register
11846 variables. Use negative values.
11847
b257a0d3
AC
118482003-06-14 Andrew Cagney <cagney@redhat.com>
11849
11850 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
11851 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
11852 exit status.
11853 * gdb.base/fileio.exp: Disable target when nointerrupts and
11854 noinferiorio, instead of limiting it to remote. Use remote_exec
11855 instead of system.
d63a86f8 11856
21c38304
JJ
118572003-06-12 Jeff Johnston <jjohnstn@redhat.com>
11858
11859 * gdb.base/float.exp: Add ia64 support.
11860
1bcdb424
CV
118612003-06-12 Corinna Vinschen <vinschen@redhat.com>
11862
11863 * gdb.base/fileio.exp: Run only on remote targets.
11864
6aeb981f
CV
118652003-06-10 Corinna Vinschen <vinschen@redhat.com>
11866
11867 * gdb.base/fileio.c: New file, testing File-I/O.
11868 * gdb.base/fileio.exp: Ditto.
11869
53df362e
RG
118702003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
11871
11872 * gdb.base/shreloc.exp: New file, check symbol values obtained from
11873 shared objects after relocation at load time (gdb PR/1132).
11874 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 11875 as above, part of the shared object relocation test.
53df362e 11876
ffee1b46
MK
118772003-06-08 Mark Kettenis <kettenis@gnu.org>
11878
b5ca3722
MK
11879 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
11880 fully filled history list.
11881 * gdb.base/gdb_history: New file.
11882
03ed860d
MK
11883 * gdb.base/signals.exp: XFAIL "continue to func1" on
11884 i*86-*-freebsd*.
11885
ffee1b46
MK
11886 * gdb.base/attach.exp: When trying to attach to a nonexistent
11887 process, make it possible to specify the PID based on the target,
11888 and do so for *-*-freebsd*.
11889
d80dbb52
RH
118902003-06-02 Richard Henderson <rth@redhat.com>
11891
11892 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
11893
6dd77b81
RH
118942003-06-02 Richard Henderson <rth@redhat.com>
11895
11896 * gdb.base/selftest.exp: Next over lim_at_start initialization.
11897
f6347e16
RH
118982003-06-02 Richard Henderson <rth@redhat.com>
11899
11900 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
11901
2c161407
DJ
119022003-06-01 Daniel Jacobowitz <drow@mvista.com>
11903
11904 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
11905 of globalvar.
11906
572eb746
MK
119072003-06-01 Mark Kettenis <kettenis@gnu.org>
11908
11909 * gdb.asm/asm-source.exp: Check for memory read errors in
11910 disassembler test on *BSD too.
11911
9e9617a5
RH
119122003-06-01 Richard Henderson <rth@redhat.com>
11913
11914 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
11915 for .frame.
11916 (gdbasm_call): Lose ldgp.
11917 (gdbasm_startup): Add frame information.
11918 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
11919
7b34ad4e
MK
119202003-05-31 Mark Kettenis <kettenis@gnu.org>
11921
11922 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
11923 i?86-*-*.
11924
10059fdf
MK
119252003-05-30 Mark Kettenis <kettenis@gnu.org>
11926
11927 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
11928 FreeBSD.
11929
acf4b816
RH
119302003-05-29 Richard Henderson <rth@redhat.com>
11931
11932 * gdb.asm/alpha.inc: New file.
11933 * gdb.asm/asm-source.exp: Use it.
11934
e9ecd949
JB
119352003-05-29 Jim Blandy <jimb@redhat.com>
11936
11937 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
11938 'core.PID'.
11939
e3e5a4f3
JB
119402003-05-22 Jim Blandy <jimb@redhat.com>
11941
11942 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
11943 backtrace.
d63a86f8 11944
72fe3d25
DC
119452003-05-20 David Carlton <carlton@math.stanford.edu>
11946
11947 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
11948 this time.
11949
58da2eb2
DC
119502003-05-19 David Carlton <carlton@bactrian.org>
11951
11952 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
11953 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
11954
1fcb5155
DC
119552003-05-19 David Carlton <carlton@bactrian.org>
11956
11957 * gdb.c++/namespace.exp: Add namespace scope and anonymous
11958 namespace tests.
11959 Bump copyright date.
11960 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
11961 (main): Call C::D::marker2.
11962 * gdb.c++/namespace1.cc: New file.
11963
85e85163
JJ
119642003-05-14 Jeff Johnston <jjohnstn@redhat.com>
11965
11966 Roland McGrath <roland@redhat.com>
d63a86f8 11967 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
11968 there is no manager thread.
11969
a25fbfec
JJ
119702003-05-08 Jeff Johnston <jjohnstn@redhat.com>
11971
d63a86f8
RM
11972 * gdb.threads/schedlock.exp: Remove assumption that all threads
11973 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
11974 in one of the child threads rather than the main thread.
11975
be375bae
JB
119762003-05-07 Jim Blandy <jimb@redhat.com>
11977
09bf6082
JB
11978 Add support for assembly source testing on the s390x.
11979 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
11980 architecture.
11981 * gdb.asm/s390x.inc: New file.
11982
be375bae
JB
11983 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
11984 succession of 'if' statements.
11985
00905d52
AC
119862003-05-05 Andrew Cagney <cagney@redhat.com>
11987
11988 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
11989
b1e29e33
AC
119902003-05-05 Andrew Cagney <cagney@redhat.com>
11991
11992 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
11993 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
11994
e33d66ec
EZ
119952003-05-02 Elena Zannoni <ezannoni@redhat.com>
11996
11997 * gdb.base/charset.exp: Update based on new behavior of set/show
11998 charset commands.
11999
2b6fd0d8
AC
120002003-05-01 Andrew Cagney <cagney@redhat.com>
12001
12002 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
12003 variable do not give memory errors.
12004
130cacce
AF
120052003-04-30 Adam Fedor <fedor@gnu.org>
12006
12007 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
12008 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
12009 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
12010 gdb.objc/basicclass.m: : New files
12011
12012 * lib/gdb.exp (gdb_compile_objc): New procedure.
12013
bea71854
DJ
120142003-04-27 Daniel Jacobowitz <drow@mvista.com>
12015
12016 * gdb.base/signals.exp: Make backtrace tests more specific.
12017
0f20eeea
DC
120182003-04-23 David Carlton <carlton@bactrian.org>
12019
12020 * gdb.c++/maint.exp (test_first_component): Add tests for
12021 'operator' in more locations.
12022
c8c4d8dc
KB
120232003-04-16 Kevin Buettner <kevinb@redhat.com>
12024
12025 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
12026
3fe60e3c
EZ
120272003-04-16 Elena Zannoni <ezannoni@redhat.com>
12028
12029 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 12030 func marke' instead. Update test name.
3fe60e3c 12031
9219021c
DC
120322003-04-15 David Carlton <carlton@math.stanford.edu>
12033
12034 * gdb.c++/maint.exp: New file.
12035
5dd55bdd
EZ
120362003-04-14 Elena Zannoni <ezannoni@redhat.com>
12037
12038 * gdb.threads/schedlock.c: Change type of thread function argument
12039 to long, to avoid warnings on 64-bit platforms.
12040
00890572
EZ
120412003-04-14 Elena Zannoni <ezannoni@redhat.com>
12042
a9c64011
AS
12043 * gdb.base/attach.exp: Add new message from ptrace in case of
12044 attaching to nonexistent process.
d63a86f8 12045
93201743
JB
120462003-04-11 Jim Blandy <jimb@redhat.com>
12047
12048 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12049 gdb.c++/userdef.cc: Place comments on the lines to which the
12050 marker function might return.
12051 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12052 gdb.c++/userdef.exp: Look for those comments to check that we've
12053 returned to the right place, instead of checking line numbers.
12054
2a11c64d
EZ
120552003-04-11 Elena Zannoni <ezannoni@redhat.com>
12056
a9c64011
AS
12057 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
12058 match on sourcefile name, instead of directory name.
2a11c64d 12059
68ab8fc5
EZ
120602003-04-10 Elena Zannoni <ezannoni@redhat.com>
12061
d63a86f8 12062 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
12063 working directory name.
12064
5624293a
JB
120652003-04-09 Jim Blandy <jimb@redhat.com>
12066
12067 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12068 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
12069 after an inferior function call, report the failure, but allow the
12070 test to continue.
12071
f1f02ee4
SC
120722003-04-05 Stephane Carrez <stcarrez@nerim.fr>
12073
12074 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
12075 with -DPROTOTYPES.
12076
6eb79af0
SC
120772003-04-05 Stephane Carrez <stcarrez@nerim.fr>
12078
12079 * gdb.base/break.exp: Revert last patch.
12080
8dfb4cf0
SC
120812003-04-04 Stephane Carrez <stcarrez@nerim.fr>
12082
12083 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
12084 with -DPROTOTYPES.
12085
ed4c619a
AC
120862003-04-02 Andrew Cagney <cagney@redhat.com>
12087
12088 * gdb.base/callfuncs.exp: Make "print add" messages unique.
12089 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
12090 matching directories by the name breakpoint.
12091 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
12092 Make "continue to marker1" consistent.
12093 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
12094 message consistent.
12095 * lib/gdb.exp: Put "the program is no longer running", and "the
12096 program exited" in parenthesis.
12097 * lib/mi-support.exp: Ditto.
d63a86f8 12098
4e35d5f0 120992003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 12100
4e35d5f0
BR
12101 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
12102
71900fe8
AC
121032003-03-29 Andrew Cagney <cagney@redhat.com>
12104
12105 * gdb.base/sizeof.c (main): Print the value of '\377'.
12106 * gdb.base/sizeof.exp: Check the sign of '\377'.
12107
c0655a16
MC
121082003-03-27 Michael Chastain <mec@shout.net>
12109
12110 * gdb.base/gdb1090.exp: New file.
12111 * gdb.base/gdb1090.cc: New file.
12112
5b2a3989
JB
121132003-03-27 J. Brobecker <brobecker@gnat.com>
12114
12115 * gdb.gdb/observer.exp: New regression test.
12116
79876890
MC
121172003-03-27 Michael Chastain <mec@shout.net>
12118
12119 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
12120 * gdb.base/ptype.exp: Likewise.
12121
6eac95e3
CV
121222003-03-27 Corinna Vinschen <vinschen@redhat.com>
12123
12124 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
12125
e8c71839
MC
121262003-03-26 Michael Chastain <mec@shout.net>
12127
12128 * gdb.base/ptype.exp: Actually use some typedef'd types.
12129
71b10041
SC
121302003-03-21 Stephane Carrez <stcarrez@nerim.fr>
12131
12132 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
12133 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
12134
2512cf80
CV
121352003-03-20 Corinna Vinschen <vinschen@redhat.com>
12136
12137 * gdb.base/default.exp: Fix regular expression.
12138
0d195a4f
CV
121392003-03-20 Corinna Vinschen <vinschen@redhat.com>
12140
12141 * gdb.base/args.exp: Fix regular expression.
12142
8a2dbca8
CV
121432003-03-20 Corinna Vinschen <vinschen@redhat.com>
12144
12145 * gdb.base/help.exp: Allow Win32 child process.
12146
bf028682
CV
121472003-03-20 Corinna Vinschen <vinschen@redhat.com>
12148
12149 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
12150 when stepping out of main().
12151
182dbe85
CV
121522003-03-20 Corinna Vinschen <vinschen@redhat.com>
12153
12154 * gdb.base/default.exp: Check for win32 specific message when calling
12155 "run" without executable.
12156
d67a6ba5
CV
121572003-03-20 Corinna Vinschen <vinschen@redhat.com>
12158
12159 * gdb.base/args.exp: Expect .exe in output.
12160
a955b5bb
CV
121612003-03-20 Corinna Vinschen <vinschen@redhat.com>
12162
12163 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
12164 Cygwin native.
12165
bf6bad4b
AC
121662003-03-17 Andrew Cagney <cagney@redhat.com>
12167
12168 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
12169 vector registes.
12170 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
12171 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
12172
293e9a31
DC
121732003-03-17 David Carlton <carlton@math.stanford.edu>
12174
12175 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
12176 test, for PR breakpoints/38.
12177 Call test_watchpoint_and_breakpoint.
12178 * gdb.base/watchpoint.c (func3): New function.
12179 (main): Call func3.
12180
5330f2db
DC
121812003-03-04 David Carlton <carlton@math.stanford.edu>
12182
12183 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
12184 Garply<Garply<char> >:: garply".
12185 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
12186 with respect to PR c++/1111; note also PR c++/1113.
12187 (test_template_breakpoints): KFAIL "constructor breakpoint" with
12188 respect to PR c++/1062.
12189 KFAIL "destructor breakpoint" with respect to PR c++/1112.
12190
6ece72da
DC
121912003-03-03 David Carlton <carlton@math.stanford.edu>
12192
12193 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
12194 with respect to PR c++/57.
12195 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
12196 c++/826.
12197 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
12198 respect to PR c++/57.
12199
85ca1584
DC
122002003-03-03 David Carlton <carlton@math.stanford.edu>
12201
12202 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
12203 respect to PR c++/33 into FAILs.
12204
98e9c5b8
MC
122052003-03-03 Michael Chastain <mec@shout.net>
12206
7bedbf27
MC
12207 * configure.in: Update copyright years.
12208
122092003-03-03 Michael Chastain <mec@shout.net>
12210
12211 * Makefile.in: Update copyright years.
98e9c5b8 12212
f683e100
DC
122132003-02-28 David Carlton <carlton@math.stanford.edu>
12214
12215 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
12216 print class instead of struct and/or superfluous protection
12217 specifiers, as long as the resulting output is equivalent to the
12218 source code.
12219 Delete FIXME from end of messages on tests that don't need
12220 fixing.
12221
a9e0cf2c
DC
122222003-02-28 David Carlton <carlton@math.stanford.edu>
12223
12224 * gdb.c++/templates.exp (do_tests): Allow const in the two
12225 Foo<volatile char *>::foo tests.
12226
e8d359df
MS
122272003-02-27 Michael Snyder <msnyder@redhat.com>
12228
d63a86f8 12229 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
12230 will be consistant.
12231
0b71dc91
DC
122322003-02-26 David Carlton <carlton@math.stanford.edu>
12233
12234 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
12235 char *>::foo" test with respect to PR c++/33. Create a new test
12236 which is identical to that one except that it doesn't put the
12237 space between the "char" and the "*"; KFAIL it, too.
12238
dd14ab43
DC
122392003-02-26 David Carlton <carlton@math.stanford.edu>
12240
12241 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
12242 template types into either PASSes or KFAILs (corresponding to PR
12243 c++/57). Tweak indentation. Update copyright.
12244
1146c7f1
SC
122452003-02-23 Stephane Carrez <stcarrez@nerim.fr>
12246
12247 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
12248
74641dfb
MC
122492003-02-13 Michael Chastain <mec@shout.net>
12250
12251 * gdb.base/exprs.exp: Remove i960 remnants.
12252 * gdb.base/funcargs.exp: Likewise.
12253 * gdb.base/list.exp: Likewise.
12254 * gdb.base/ptype.exp: Likewise.
12255
559cd2d0
DC
122562003-02-14 David Carlton <carlton@math.stanford.edu>
12257
12258 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
12259 pEe->D::vg()" from XFAIL to KFAIL.
12260
c4f90d87
JM
122612003-02-13 Jason Molenda (jmolenda@apple.com)
12262
12263 * gdb.base/maint.exp: Update maint print statistics regexp to include
12264 new entries.
12265
cbc4d97c
MC
122662003-02-13 Michael Chastain <mec@shout.net>
12267
12268 * gdb.c++/inherit.exp: Remove call to get_debug_format.
12269
40f235b7
MC
122702003-02-12 Michael Chastain <mec@shout.net>
12271
12272 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
12273 * gdb.c++/inherit.exp: Likewise.
12274 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
12275 * gdb.c++/templates.exp: Likewise.
12276 * gdb.c++/virtfunc.exp: Likewise.
12277
c56716b0
JM
122782003-02-06 Jason Molenda (jason-cl@molenda.com)
12279
12280 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
12281 why the code is written that way.
12282
070afcf8
MC
122832003-02-05 Michael Chastain <mec@shout.net>
12284
12285 * gdb.base/dump.exp: Add missing copyright line.
12286
5d0331e5
JM
122872003-02-05 Jason Molenda (jason-cl@molenda.com)
12288
f7ae6d3e 12289 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
12290 at the beginning so the breakpoint doesn't get set on the loop.
12291
92851186
MC
122922003-02-05 Michael Chastain <mec@shout.net>
12293
12294 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
12295 output for configurations with gcc 2.95.3.
12296
cbf1e085
AC
122972003-02-05 Keith Seitz <keiths@redhat.com>
12298 Andrew Cagney <ac131313@redhat.com>
12299
12300 * gdb.mi/mi-cli.exp: New file.
d63a86f8 12301
29518e1e
MC
123022003-02-04 Michael Chastain <mec@shout.net>
12303
12304 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
12305 Call perror and then continue.
12306
5af1d5f3
MC
123072003-02-03 Michael Chastain <mec@shout.net>
12308
12309 * gdb.c++/pr-1023.cc: New file.
12310 * gdb.c++/pr-1023.exp: New file.
12311
6b549786
JB
123122003-02-05 Jim Blandy <jimb@redhat.com>
12313
12314 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
12315 it's local to foobar. Check for it there, and check that it's not
12316 present in main.
12317 * gdb.c++/local.cc (marker2): New function.
12318 (foobar): Call marker1.
12319 (main): Call marker2 instead of marker1.
12320
67f16606
AC
123212003-02-04 Andrew Cagney <ac131313@redhat.com>
12322
12323 * gdb.disasm/mn10200.exp: Obsolete file.
12324 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
12325 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
12326 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
12327
1c5cb38e
DC
123282003-02-04 David Carlton <carlton@math.stanford.edu>
12329
12330 * gdb.c++/overload.exp: Test intToChar(1).
12331 * gdb.c++/overload.cc (intToChar): New.
12332 (main): Call intToChar.
12333
d1fe6965
DC
123342003-02-03 David Carlton <carlton@math.stanford.edu>
12335
12336 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
12337 'might_kfail' arg.
12338 KFAIL some of the continue_to_bp_overloaded calls, according to
12339 PR c++/1025.
12340
9ba61c5d
MC
123412003-02-01 Michael Chastain <mec@shout.net>
12342
12343 * gdb.base/advance.c (marker1): New marker function.
12344 * gdb.base/advance.exp: When the 'advance' command lands on the
12345 return breakpoint, it can legitimately stop on either the
12346 current line or the next line. Accommodate both outcomes.
12347 * gdb.base/until.exp: Likewise.
12348
e7494ffb
AC
123492003-02-02 Andrew Cagney <ac131313@redhat.com>
12350
12351 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
12352 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
12353 now a list, not a tuple.
12354 * gdb.mi/mi-var-display.exp: Ditto.
12355 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 12356
075559bc
AC
123572003-02-01 Andrew Cagney <ac131313@redhat.com>
12358
12359 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
12360 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
12361 stack backtraces.
12362 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 12363
2bd4c7b1
MK
123642003-02-01 Mark Kettenis <kettenis@gnu.org>
12365
12366 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
12367 gdb.mi/mi1-pthreads.exp: Return instead of calling
12368 gdb_suppress_entire_file.
12369
eabd8992
MS
123702003-02-01 Mark Salter <msalter@redhat.com>
12371
12372 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
12373
71469e2f
MS
123742003-01-31 Mark Salter <msalter@redhat.com>
12375
12376 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
12377 Support empty arg.
12378
38a94d44
MC
123792003-01-30 Michael Chastain <mec@shout.net>
12380
12381 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
12382 This was a workaround for a UTF-8 bug in readline 4.3. The bug
12383 has been fixed in gdb/readline on 2003-01-09.
12384
19ea9e73
MS
123852003-01-29 Michael Snyder <msnyder@redhat.com>
12386
e8d359df
MS
12387 * gdb.base/maint.exp: Allow for leading underscore in symbol.
12388 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
12389 * gdb.base/args.exp: Skip if target does not support args passing.
12390
2307bd6a
DJ
123912003-01-22 Daniel Jacobowitz <drow@mvista.com>
12392
19ea9e73 12393 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
12394 gdb_test. Accept a list of expect arguments as the third
12395 parameter.
12396 (gdb_test): Use it.
12397
f2dd3617
EZ
123982003-01-20 Elena Zannoni <ezannoni@redhat.com>
12399
12400 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
12401 allow for different test tree configurations. Update some
12402 tescases accordingly.
12403 * gdb.arch/altivec-regs.exp: Ditto.
12404 * gdb.asm/asm-source.exp: Ditto.
12405 * gdb.base/advance.exp: Ditto.
12406 * gdb.base/display.exp: Ditto.
d63a86f8 12407 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
12408 * gdb.base/mips_pro.exp: Ditto.
12409 * gdb.base/overlays.exp: Ditto.
12410 * gdb.base/relocate.exp: Ditto.
12411 * gdb.base/setshow.exp: Ditto.
12412 * gdb.base/step-line.exp: Ditto.
12413 * gdb.base/step-test.exp: Ditto.
12414 * gdb.base/until.exp: Ditto.
12415 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
12416
c71cdefd
DC
124172003-01-17 David Carlton <carlton@math.stanford.edu>
12418
12419 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
12420 corresponding to PR c++/945.
12421 Update copyright.
12422
fdba05d7
DC
124232003-01-17 David Carlton <carlton@math.stanford.edu>
12424
12425 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
12426 corresponding to PR c++/68.
12427
124282003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
12429
12430 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
12431 (test_paddr_hairy_functions): Call print_addr_2_kfail for
12432 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
12433
c362c33a
EZ
124342003-01-15 Elena Zannoni <ezannoni@redhat.com>
12435
0fbc361c
EZ
12436 * gdb.base/break.exp: Fix change of default location, because of
12437 removal of until tests.
12438 * gdb.base/help.exp: Update test for new 'until' help message.
12439 Add test for help on 'advance'.
a9c64011 12440 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 12441
dabf8a35
MK
124422003-01-15 Mark Kettenis <kettenis@gnu.org>
12443
12444 * gdb.base/default.exp: Adapt "info float" test for recent changes
12445 to that command. Add test for "info vector".
12446 * gdb.base/float.exp: New file. Add test for "info float" that
12447 resembles the old test in gdb.base/default.exp.
12448
a1769aca
DC
124492003-01-15 David Carlton <carlton@math.stanford.edu>
12450
12451 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
12452
82025e13
EZ
124532003-01-15 Elena Zannoni <ezannoni@redhat.com>
12454
12455 * gdb.base/break.exp: Move the tests of until command from here...
12456 * gdb.base/until.exp: ... to here. New file. Add other tests.
12457 * gdb.base/advance.c: New file.
12458 * gdb.base/advance.exp: New file.
12459
8f9ab801
EZ
124602003-01-14 Elena Zannoni <ezannoni@redhat.com>
12461
a9c64011
AS
12462 * gdb.base/args.c: New file.
12463 * gdb.base/args.exp: New file.
8f9ab801 12464
9ae66589
DJ
124652003-01-14 Daniel Jacobowitz <drow@mvista.com>
12466
12467 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
12468
8d77e5c3
DJ
124692003-01-14 Daniel Jacobowitz <drow@mvista.com>
12470
12471 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
12472
12d2f0a1
DJ
124732003-01-14 Daniel Jacobowitz <drow@mvista.com>
12474
12475 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
12476 dates.
12477
6ca37014
DJ
124782003-01-13 Daniel Jacobowitz <drow@mvista.com>
12479
12480 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
12481
b0023472
DJ
124822003-01-13 Daniel Jacobowitz <drow@mvista.com>
12483
12484 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
12485 (ptype &*"foo").
12486 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
12487
607fbc54 124882003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
12489
12490 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
12491 * gdb.mi/mi1-console.exp: Likewise.
12492
607fbc54 124932003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
12494
12495 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
12496 * gdb.mi/mi1-console.exp: Likewise.
12497
a1fb14a2
DJ
124982003-01-13 Daniel Jacobowitz <drow@mvista.com>
12499
12500 * gdb.c++/overload.exp: Remove some fixed XFAILs.
12501
c4cf40b7
DJ
125022003-01-09 Daniel Jacobowitz <drow@mvista.com>
12503
12504 * gdb.base/detach.exp: New test.
12505
696d5a5b
DJ
125062003-01-09 Daniel Jacobowitz <drow@mvista.com>
12507
12508 * Makefile.in (ALL_SUBDIRS): New variable.
12509 (subdirs, clean, distclean): Use it.
12510 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
12511 regenerating Makefile, since it is generated from the top level.
12512 * gdb.asm/Makefile.in: Likewise.
12513 * gdb.base/Makefile.in: Likewise.
12514 * gdb.c++/Makefile.in: Likewise.
12515 * gdb.disasm/Makefile.in: Likewise.
12516 * gdb.java/Makefile.in: Likewise.
12517 * gdb.mi/Makefile.in: Likewise.
12518 * gdb.threads/Makefile.in: Likewise.
12519 * gdb.trace/Makefile.in: Likewise.
12520
754533e4
DC
125212003-01-09 David Carlton <carlton@math.stanford.edu>
12522
12523 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
12524 Add copyright year 2003.
12525
d8b3e9ee
MC
125262003-01-06 Michael Chastain <mec@shout.net>
12527
12528 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
12529 When selecting a thread, 'line' and 'file' are optional.
12530 * gdb.mi/mi1-pthreads.exp: Likewise.
12531
8e9e0fe6
AS
125322003-01-06 Andreas Schwab <schwab@suse.de>
12533
12534 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
12535 failures.
12536
b5ab8ff3
DJ
125372003-01-04 Daniel Jacobowitz <drow@mvista.com>
12538
12539 Fix PR gdb/844
12540 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
12541 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
12542
12543 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
12544 instead of calling gdb_suppress_entire_file.
12545 * gdb.threads/print-threads.exp: Likewise.
12546 * gdb.threads/schedlock.exp: Likewise.
12547
12548 * gdb.threads/killed.exp: Return instead of calling
12549 gdb_suppress_entire_file.
12550 * gdb.threads/linux-dp.exp: Likewise.
12551 * gdb.threads/pthreads.exp: Likewise.
12552
1e698235
DJ
125532003-01-04 Daniel Jacobowitz <drow@mvista.com>
12554
12555 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
12556 stabs.
12557 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
12558 * gdb.base/whatis.exp: Always allow (void) after function names.
12559
147ff08c
DJ
125602003-01-04 Daniel Jacobowitz <drow@mvista.com>
12561
12562 * gdb.c++/casts.exp: Correct regexp.
12563
dc62bfc2
MK
125642003-01-04 Mark Kettenis <kettenis@gnu.org>
12565
12566 * configure.in: Call AC_CONFIG_HEADER. Don't call
12567 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
12568 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
12569 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
12570 aforementioned directories in the AC_OUPUT call.
12571 * config.hin: New file.
12572 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
12573 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
12574 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
12575 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
12576 pass -I$objdir instead of -I$objdir/$subdir in compilation.
12577 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
12578 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
12579 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
12580 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
12581 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
12582 gdb.threads/configure.in, gdb.threads/configure,
12583 gdb.threads/config.in, gdb.trace/configure.in,
12584 gdb.trace/configure: Removed.
12585
77afa639
MC
125862003-01-03 Michael Chastain <mec@shout.net>
12587
12588 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
12589 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
12590
7634bb6e
DJ
125912003-01-03 Daniel Jacobowitz <drow@mvista.com>
12592
12593 * gdb.base/store.exp: Fix regular expressions.
12594
b39c905e
MK
125952002-12-28 Mark Kettenis <kettenis@gnu.org>
12596
12597 * configure.in: Rewrite.
12598 * configure: Regenerated.
12599
0a8551dd
DC
126002003-01-03 David Carlton <carlton@math.stanford.edu>
12601
12602 * gdb.base/psymtab.exp: New file.
12603 * gdb.base/psymtab1.c: Ditto.
12604 * gdb.base/psymtab2.c: Ditto.
12605
c60b7188
AF
126062002-12-23 Adam Fedor <fedor@gnu.org>
12607
12608 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
12609
ee73db83
DC
126102002-12-23 David Carlton <carlton@math.stanford.edu>
12611
12612 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
12613 and current_directory initialization.
12614
d6c1774e
JB
126152002-12-22 Jim Blandy <jimb@redhat.com>
12616
f0a847b8
JB
12617 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
12618 rather than as part of the output file name.
12619
d6c1774e
JB
12620 * gdb.base/attach.exp: There's no need to copy the test program to
12621 /tmp; that was only ever necessary on HP/UX, and this test is
12622 entirely disabled there anyway.
12623
f0708dbb
JB
126242002-12-21 Jim Blandy <jimb@redhat.com>
12625
4c2acfea
JB
12626 * gdb.c++/psmang.exp: Doc fix.
12627
f0708dbb
JB
12628 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
12629 test.
12630
9579e000
DC
126312002-12-20 David Carlton <carlton@math.stanford.edu>
12632
12633 * gdb.c++/annota2.exp: KFAIL annotate-quit.
12634
d1810171
MC
126352002-12-18 Michael Chastain <mec@shout.net>
12636
12637 * gdb.c++/annota2.exp: Add copyright year 2002.
12638
76565097
DC
126392002-12-17 David Carlton <carlton@math.stanford.edu>
12640
12641 * gdb.c++/try_catch.cc: Add marker comments.
12642 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
12643 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
12644 * gdb.c++/m-static.cc: Ditto.
12645 * gdb.c++/m-static1.cc: Ditto.
12646 * gdb.c++/try_catch.cc: Ditto.
12647
da81390b
JJ
126482002-12-16 Jeff Johnston <jjohnstn@redhat.com>
12649
12650 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
12651 to see whether we are using the new -environment-directory
12652 command which resets via -r or the old version of the command
12653 which may prompt the user. Part of fix for gdb/741.
12654
b304d130
AC
126552002-12-13 Andrew Cagney <ac131313@redhat.com>
12656
12657 * gdb.fortran/types.exp: Update obsolete comment.
12658 * gdb.fortran/exprs.exp: Ditto.
12659 * lib/gdb.exp: Delete obsolete code.
12660 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
12661 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
12662 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
12663 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
12664 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
12665 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
12666 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
12667 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
12668 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
12669 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
12670 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
12671 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
12672 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
12673 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
12674 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
12675 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
12676 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
12677 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
12678 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
12679 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
12680 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
12681 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
12682 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
12683 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
12684 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
12685 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
12686 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
12687 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
12688 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
12689 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
12690 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
12691 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
12692 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
12693 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
12694 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
12695 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
12696 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
12697
a23b6e6a
DC
126982002-12-11 David Carlton <carlton@math.stanford.edu>
12699
12700 * gdb.c++/m-data.exp: Add test for members that shadow global
12701 variables: see PR gdb/804.
12702 * gdb.c++/m-data.cc: Ditto.
12703
6604731b
DJ
127042002-12-10 Daniel Jacobowitz <drow@mvista.com>
12705
12706 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
12707
de46ecd7
DC
127082002-12-06 David Carlton <carlton@math.stanford.edu>
12709
12710 * gdb.base/store.c: Don't declare functions static.
12711
27e829d0
AC
127122002-12-04 Andrew Cagney <ac131313@redhat.com>
12713
12714 * gdb.base/store.exp, gdb.base/store.c: New files.
12715
92806416
DJ
127162002-12-03 Daniel Jacobowitz <drow@mvista.com>
12717
12718 * gdb.base/selftest.exp: Update for current gdb.
12719
3bcbaac5
DJ
127202002-12-03 Daniel Jacobowitz <drow@mvista.com>
12721
12722 * gdb.base/maint.exp: Only dump symbols from one source file
12723 or objfile.
12724
f4f00b1f
DJ
127252002-12-03 Daniel Jacobowitz <drow@mvista.com>
12726
12727 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
12728 function call.
12729
f1c8a949
JB
127302002-11-25 Jim Blandy <jimb@redhat.com>
12731
12732 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
12733 function appearing in error message.
12734
9e297a97
DJ
127352002-11-21 Daniel Jacobowitz <drow@mvista.com>
12736
12737 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
12738
1f312e79
JJ
127392002-11-08 Jeff Johnston <jjohnstn@redhat.com>
12740
d63a86f8
RM
12741 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
12742 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
12743 should be in mi console format. This is part of fix for PR gdb/604.
12744
83c31e7d
FN
127452002-09-18 Fernando Nasser <fnasser@redhat.com>
12746
12747 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
12748 which explicitly prints the zero offset as "+0".
12749
322b3f65
DJ
127502002-10-22 Daniel Jacobowitz <drow@mvista.com>
12751
12752 * gdb.threads/schedlock.c (args): Make unsigned.
12753
127542002-10-21 Daniel Jacobowitz <drow@mvista.com>
12755
12756 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
12757 numbers. Allow "foo2|selected stack frame".
12758 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
12759 * gdb.asm/asmsrc2.s: Likewise.
12760 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
12761 comments.
12762 * gdb.asm/mips.inc: New file.
12763
5e2fe5b8
AF
127642002-10-18 Adam Fedor <fedor@gnu.org>
12765
12766 * gdb.base/default.exp: Update expected output to include 'ObjC'.
12767 * gdb.base/help.exp: Likewise.
12768
abe1a5d0
KB
127692002-10-17 Kevin Buettner <kevinb@redhat.com>
12770
12771 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
12772 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
12773
10abb1d4
JB
127742002-10-02 Jim Blandy <jimb@redhat.com>
12775
12776 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
12777
1f609b42
AC
127782002-10-01 Andrew Cagney <ac131313@redhat.com>
12779
12780 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
12781 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
12782 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
12783 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
12784 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
12785 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
12786 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
12787
0aee02e4
AC
127882002-09-29 Andrew Cagney <ac131313@redhat.com>
12789
12790 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
12791 * mi0-disassemble.exp, mi0-eval.exp: Delete.
12792 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
12793 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
12794 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
12795 * mi0-var-block.exp, mi0-var-child.exp: Delete.
12796 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 12797
6fde09ad
KB
127982002-09-27 Kevin Buettner <kevinb@redhat.com>
12799
12800 * gdb.base/annota1.exp (info break): Make directory components of
12801 path optional since not all compilers emit this debug information.
12802
12803 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
12804 step ends up stepping out of the function instead of stopping on
12805 the epilogue.
12806
9e8aab75
KS
128072002-09-26 Keith Seitz <keiths@redhat.com>
12808
12809 * lib/insight-support.exp (gdbtk_start): Figure out where
12810 the insight executable is based on where gdb is. Use this
12811 executable to start insight instead of gdb.
12812
e36180d7
AC
128132002-09-25 Andrew Cagney <cagney@redhat.com>
12814
12815 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
12816
9dd34b2b
AC
128172002-09-24 Andrew Cagney <ac131313@redhat.com>
12818
12819 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
12820 test_isolated_complaints.
12821 (test_empty_complaint): New function.
12822 (test_empty_complaints): New function. Check no output when no
12823 complaints.
d63a86f8 12824
dea97812
KB
128252002-09-19 Jim Blandy <jimb@redhat.com>
12826
a9c64011 12827 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 12828
54951bd7
AC
128292002-09-19 Andrew Cagney <ac131313@redhat.com>
12830
12831 * gdb.gdb/complaints.exp: New file.
12832
dec43320
AC
128332002-09-18 Andrew Cagney <ac131313@redhat.com>
12834
12835 * gdb.base/maint.exp: Check `help maint internal-warning'.
12836
e70d6e3f
DC
128372002-09-18 David Carlton <carlton@math.stanford.edu>
12838
12839 * gdb.c++/m-static.exp: Remove breakpoints depending on line
12840 numbers, and replace them by a single breakpoint after the
12841 constructors are all finished.
12842 Add test 4.
12843 * gdb.c++/m-static.cc: Add test 4.
12844 * gdb.c++/m-static.h: New file.
12845 * gdb.c++/m-static1.cc: New file.
12846
12847 * gdb.c++/printmethod.exp: New file.
12848 * gdb.c++/printmethod.cc: New file.
12849
12850 * gdb.c++/pr-574.exp: New file.
12851 * gdb.c++/pr-574.cc: New file.
12852
afb5c968
CV
128532002-09-18 Corinna Vinschen <vinschen@redhat.com>
12854
12855 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
12856 embedded targets which never actually exit.
12857
31e45dee
FN
128582002-09-18 Fernando Nasser <fnasser@redhat.com>
12859
12860 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
12861 "don't step after run" as unresolved or unsupported, instead of xfail.
12862
a283c5a1
CV
128632002-09-18 Corinna Vinschen <vinschen@redhat.com>
12864
12865 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
12866 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
12867 Add newline to expected string in "step out of main (status wrapper)"
12868 case.
12869
11350d2a
CV
128702002-09-18 Corinna Vinschen <vinschen@redhat.com>
12871
12872 * lib/gdb.exp (rerun_to_main): Allow restarting application.
12873 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
12874
0deec7d6
TT
128752002-09-17 Tom Tromey <tromey@redhat.com>
12876
12877 * gdb.base/printcmds.exp (test_print_string_constants): Expect
12878 \000, not \0, in double-quoted string.
12879
b2b4a1b5
CV
128802002-09-14 Corinna Vinschen <vinschen@redhat.com>
12881
c9d37158 12882 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
12883 string after running the commands execution on breakpoint tests.
12884
1c56143a
CV
128852002-09-13 Corinna Vinschen <vinschen@redhat.com>
12886
12887 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
12888
37f8da45
JB
128892002-09-12 Joel Brobecker <brobecker@gnat.com>
12890
12891 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
12892
08b468e0
KS
128932002-09-10 Keith Seitz <keiths@redhat.com>
12894
12895 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
12896 runto proc.
12897 (mi_run_to_main): Use mi_runto.
12898 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
12899
dc360f58
KS
129002002-09-10 Keith Seitz <keiths@redhat.com>
12901
12902 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
12903 regexp for stopping at main. Could have multiple event notifications.
12904 Don't assume that main was declared with no parameters.
12905 (mi_next): Use mi_step_to.
12906 (mi_step): Use mi_next_to.
12907
ce3abcfb
CV
129082002-09-09 Corinna Vinschen <vinschen@redhat.com>
12909
12910 * gdb.base/default.exp: Fix expected string in `info float' test.
12911
d1f5b980
BE
129122002-09-09 Ben Elliston <bje@redhat.com>
12913
12914 * config/mips.exp: Update comments.
12915 * config/mips-idt.exp: Likewise.
12916 * config/nind.exp: Likewise.
12917 * config/slite.exp: Likewise.
12918 * config/sparclet.exp: Likewise.
12919 * config/udi.exp: Likewise.
12920 * config/vx.exp: Likewise.
12921 * config/vxworks29k.exp: Likewise.
12922
2f71430b
JB
129232002-09-05 Jim Blandy <jimb@redhat.com>
12924
12925 * gdb.threads/killed.exp: Fix test failure message.
12926
7ddebc7e
KS
129272002-09-04 Keith Seitz <keiths@redhat.com>
12928
12929 * lib/mi-support.exp: Update copyright.
12930 (mi_gdb_test): Increase the priority of the expected pattern
12931 so that it matches gdb_test.
12932
0ae67eb3
KS
129332002-09-03 Keith Seitz <keiths@redhat.com>
12934
12935 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
12936 Use integer comparison instead of string comparison for testing
12937 whether binary was built.
12938
38fc42c8
JB
129392002-09-03 Jim Blandy <jimb@redhat.com>
12940
12941 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
12942
b6ff0e81
JB
129432002-08-29 Jim Blandy <jimb@redhat.com>
12944
12945 * gdb.threads/pthreads.exp: Move the portable thread compilation
12946 code into a function in lib/gdb.exp, and call that from here.
12947 * lib/gdb.exp (gdb_compile_pthreads): New function.
12948
07c98896
KS
129492002-08-29 Keith Seitz <keiths@redhat.com>
12950
12951 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
12952 expect_out so that callers can get at it.
12953
0312286c
DJ
129542002-08-23 Daniel Jacobowitz <drow@mvista.com>
12955
12956 * gdb.threads/print-threads.c: New file.
12957 * gdb.threads/print-threads.exp: New file.
12958 * gdb.threads/schedlock.c: New file.
12959 * gdb.threads/schedlock.exp: New file.
12960
dd039bc4
EZ
129612002-08-22 Elena Zannoni <ezannoni@redhat.com>
12962
a9c64011
AS
12963 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
12964 not altivec.c.
dd039bc4 12965
1f36144c
MK
129662002-08-17 Mark Kettenis <kettenis@gnu.org>
12967
12968 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
12969 targets. The problem should be fixed now.
12970
16057ec7 129712002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
12972
12973 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
12974 2002-07-24 change that removes final dots from error messages.
12975
3c1499ad
TT
129762002-08-13 Tom Tromey <tromey@redhat.com>
12977
12978 * gdb.base/readline.exp: New file.
12979
a20ce2c3
AC
129802002-08-01 Andrew Cagney <ac131313@redhat.com>
12981
12982 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
12983 supress message.
12984
db034ac5
AC
129852002-08-01 Andrew Cagney <cagney@redhat.com>
12986
12987 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
12988 CHILL_FOR_TARGET and CHILL_LIB.
12989 * configure.in (configdirs): Remove gdb.chill.
12990 * configure: Regenerate.
12991 * lib/gdb.exp: Obsolete references to chill.
12992 * gdb.fortran/types.exp: Ditto.
12993 * gdb.fortran/exprs.exp: Ditto.
12994
3e000b18
KB
129952002-07-30 Kevin Buettner <kevinb@redhat.com>
12996
12997 * gdb.base/shlib-call.exp (additional_flags): Conditionally
12998 set Irix-specific compile and link flags.
12999
28f4966b
KB
130002002-07-29 Kevin Buettner <kevinb@redhat.com>
13001
13002 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
13003 source files. The ``-o'' option doesn't work with the ``-E'' option
13004 when using the Irix compiler.
13005
46c0d5a6
DJ
130062002-07-19 Daniel Jacobowitz <drow@mvista.com>
13007
13008 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
13009 Improve support for reusing an exec file. Copy exec file
13010 to target, and run gdbserver on the target instead of on the host.
13011
eecf4bed
JB
130122002-07-18 Jim Blandy <jimb@redhat.com>
13013
0f815cdf
JB
13014 * gdb.base/ending-run.exp: Don't expect to see the program end in
13015 some orderly fashion when we're running on a real stand-alone
13016 board.
13017
eecf4bed
JB
13018 * gdb.base/interrupt.exp: Correct logic for skipping tests on
13019 targets that don't support interrupts.
13020
52d309e4
JB
130212002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
13022
13023 * gdb.base/attach.exp: Add patterns to match output from /proc-based
13024 systems.
13025 Move comments in expect statements to inside the actions, so that they
13026 don't get matched against.
13027
ff683d9e
MK
130282002-07-10 Mark Kettenis <kettenis@gnu.org>
13029
13030 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
13031 function when asleep" test.
13032
b5356753
AC
130332002-07-10 Andrew Cagney <ac131313@redhat.com>
13034
13035 * gdb.base/page.exp: Rewrite to handle problems with very long
13036 `info set' output. Update copyright.
13037
6aa4d13a
AC
130382002-06-26 Andrew Cagney <ac131313@redhat.com>
13039
13040 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
13041 gdb.threads-hp.
13042 * gdb.hp/configure: Regenerate.
13043 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
13044 * gdb.hp/gdb.threads-hp/configure: Delete file.
13045 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
13046
8cf8c2b8
AC
130472002-06-22 Andrew Cagney <ac131313@redhat.com>
13048
13049 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
13050 setlocale, bindtextdomain and textdomain.
13051
6827a8f8
JB
130522002-06-11 Jim Blandy <jimb@redhat.com>
13053
919d772c
JB
13054 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
13055 preprocessor macro information is present.
13056
6827a8f8
JB
13057 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
13058 tests.
13059
c15b0d21
MS
130602002-06-06 Michael Snyder <msnyder@redhat.com>
13061
c5984d70
MS
13062 * gdb.base/overlays.exp: Record addresses of overlay
13063 functions in TCL variables rather than in GDB variables,
13064 to avoid having GDB convert them to pointers (with loss
13065 of information).
13066
d63a86f8 13067 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 13068 default linker script changes.
c15b0d21
MS
13069 * gdb.base/long_long.exp: Add check for sizeof (long double).
13070
be26fe0d
ML
130712002-06-06 Michal Ludvig <mludvig@suse.cz>
13072
13073 * gdb.asm/asm-source.exp: Add x86-64 target.
13074 * gdb.asm/x86_64.inc: New.
d63a86f8 13075
258093ca 130762002-05-30 Michael Chastain <mec@shout.net>
258093ca 13077
4b3153f1 13078 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
13079 * gdb.c++/m-static.cc: New file.
13080 * gdb.c++/m-static.exp: New file.
13081
241264c6
MS
130822002-05-28 Michael Snyder <msnyder@redhat.com>
13083
13084 * gdb.base/call-ar-st.exp: Allow for reduced floating point
13085 precision.
13086
9bba8c8f 130872002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 13088
4b3153f1 13089 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
13090 * gdb.c++/m-data.cc: New file.
13091 * gdb.c++/m-data.exp: New file.
13092
130932002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 13094
4b3153f1 13095 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 13096 * gdb.c++/try_catch.cc: New file.
d63a86f8 13097 * gdb.c++/try_catch.exp: New file.
9bba8c8f 13098
def1b996
MC
130992002-05-27 Michael Chastain <mec@shout.net>
13100
13101 * gdb.c++/local.exp: Accept more nested types in output.
13102
522ba268
MC
131032002-05-26 Michael Chastain <mec@shout.net>
13104
13105 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
13106
277254ba
MS
131072002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
13108
13109 * lib/gdb.exp (gdb_wrapper_init): Just because
13110 gdb_wrapper_file exists, this does not mean that the file
13111 should not be rebuilt. That is what gdb_wrapper_initialized
13112 is for.
13113 (default_gdb_init): Reset gdb_wrapper_initialized.
13114
b61a8733
MS
131152002-05-23 Michael Snyder <msnyder@redhat.com>
13116
d63a86f8 13117 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
13118 the precision of the floating point test results.
13119 * gdb.base/call-rt-st.exp: Ditto.
13120
b61a8733
MS
13121 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
13122 * gdb.base/call-rt-st.exp: Ditto.
13123
56f6e910
MC
131242002-05-19 Michael Chastain <mec@shout.net>
13125
13126 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
13127
ad0b0016
EZ
131282002-05-19 Elena Zannoni <ezannoni@redhat.com>
13129
a9c64011
AS
13130 * configure.in (configdirs): Add gdb.arch.
13131 * configure: Regenerate.
ad0b0016 13132
f617d2b6
JB
131332002-05-17 Jim Blandy <jimb@redhat.com>
13134
13135 * gdb.base/completion.exp: Recognize the more detailed error
13136 messages produced by the macro expander's lexical analyzer.
13137
eac2a696
EZ
131382002-05-14 Elena Zannoni <ezannoni@redhat.com>
13139
a9c64011
AS
13140 * gdb.arch/altivec-abi.c: New file.
13141 * gdb.arch/altivec-abi.exp: New file.
13142 * gdb.arch/altivec-regs.c: New file.
13143 * gdb.arch/altivec-regs.exp: New file.
eac2a696 13144
2fdde8f8
DJ
131452002-05-14 Daniel Jacobowitz <drow@mvista.com>
13146
13147 * gdb.base/maint.exp (maint print type): Update for new type
13148 structure.
d63a86f8 13149
e31f1a7c
EZ
131502002-05-14 Elena Zannoni <ezannoni@redhat.com>
13151
13152 * gdb.arch: New directory.
13153 * gdb.arch/configure.in: New file.
13154 * gdb.arch/configure: New file.
13155 * gdb.arch/Makefile.in: New file.
13156
db589741
CV
131572002-05-13 Corinna Vinschen <vinschen@redhat.com>
13158
13159 * gdb.asm/asm-source.exp: Add v850 as supported target.
13160 * gdb.asm/v850.inc: New file.
13161
8ce2a7dc
DJ
131622002-05-13 Daniel Jacobowitz <drow@mvista.com>
13163
13164 * gdb.c++/annota2.exp (annotate-quit): Add comment.
13165
df763c7f
DJ
131662002-05-12 Daniel Jacobowitz <drow@mvista.com>
13167
13168 * gdb.base/break.exp: Check 'break "marker2"'.
13169
377daeed
MS
131702002-05-10 Michael Snyder <msnyder@redhat.com>
13171
13172 * gdb.base/long_long.exp: Fix typo.
13173
c4b7bc2b
JB
131742002-05-10 Jim Blandy <jimb@redhat.com>
13175
ecac9a4e
JB
13176 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
13177 a bug.
13178
c4b7bc2b
JB
13179 * gdb.base/printcmds.exp (test_integer_literals_rejected):
13180 Recognize more detailed error message produced by the macro
13181 expander's lexical analyzer.
13182 * lib/gdb.exp (test_print_reject): Same.
13183
e71019a1
MK
131842002-05-09 Mark Kettenis <kettenis@gnu.org>
13185
13186 * gdb.c++/method.exp: Fix typo.
13187
fedfc8e6
MS
131882002-05-08 Michael Snyder <msnyder@redhat.com>
13189
166a1957
MS
13190 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
13191 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 13192 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
13193 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
13194 Add iftarget clause for strongarm.
d63a86f8 13195
f1c47eb2
MS
131962002-05-06 Michael Snyder <msnyder@redhat.com>
13197
cb9a9d3e
MS
13198 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
13199 (gdb_continue_to_end): Accept output from status wrapper.
13200 * gdb.base/ending-run.exp: Add case for output from status wrapper.
13201 Clean up fail messages to match pass messages.
13202
f1c47eb2
MS
13203 Enable the "needs_status_wrapper" testsuite feature.
13204 * lib/gdb.exp (gdb_wrapper_init): New procedure.
13205 (gdb_compile): Conditionally call gdb_wrapper_init.
13206 * gdb.base/a2-run.exp: Recognize output from status wrapper.
13207 * gdb.c++/method.exp: Recognize output from status wrapper.
13208
6079c749
BE
132092002-05-06 Ben Elliston <bje@redhat.com>
13210From Graydon Hoare <graydon@redhat.com>
13211
13212 * config/sid.exp: Include support for "rawsid" protocol.
13213
188baff3
JB
132142002-05-03 Jim Blandy <jimb@redhat.com>
13215
13216 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
13217 * gdb.c++/hang3.C: New file.
13218
b9c07f0f
AC
132192002-05-04 Andrew Cagney <ac131313@redhat.com>
13220
13221 * gdb.base/default.exp: Remove obsolete code.
13222 * gdb.c++/misc.exp: Ditto. Update copyright.
13223 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
13224 * gdb.base/whatis.exp: Ditto. Update copyright.
13225 * gdb.base/scope.exp: Ditto. Update copyright.
13226 * gdb.base/ptype.exp: Ditto. Update copyright.
13227 * gdb.base/printcmds.exp: Ditto. Update copyright.
13228 * gdb.base/opaque.exp: Ditto. Update copyright.
13229 * gdb.base/list.exp: Ditto.
13230 * gdb.base/funcargs.exp: Ditto. Update copyright.
13231 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
13232 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
13233 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
13234 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
13235 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
13236 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
13237
5c7a0397
MS
132382002-05-02 Michael Snyder <msnyder@redhat.com>
13239
d6dcc264 13240 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
13241 * gdb.base/long_long.exp: Add xscale target.
13242 * gdb.base/default.exp: Add xscale target.
13243
eb7f1c48
JB
132442002-05-01 Jim Blandy <jimb@redhat.com>
13245
13246 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
13247 gdb.c++/hang.exp: New test.
13248
a6befae8
FF
132492002-05-01 Fred Fish <fnf@redhat.com>
13250
13251 * gdb.base/completion.exp: Handle completions of "./Make" for
13252 more than one completion possibility, as is the case when we
13253 build and test in the source tree.
13254
0a310277
AG
132552002-04-29 Anthony Green <green@redhat.com>
13256
13257 * gdb.java/jmisc1.exp: New file.
13258 * gdb.java/jmisc2.exp: New file.
13259
6ff9af88
DJ
132602002-04-24 Daniel Jacobowitz <drow@mvista.com>
13261
13262 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
13263
96b3d632
EZ
132642002-04-23 Elena Zannoni <ezannoni@redhat.com>
13265
13266 * gdb.base/help.exp: Change 'help status' to allow for target
13267 dependent output differences.
13268
5019bb54
MC
132692002-04-22 Michael Chastain <mec@shout.net>
13270
13271 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
13272
a805a116
MC
132732002-04-22 Michael Chastain <mec@shout.net>
13274
13275 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
13276
a1706bfd
DM
132772002-04-17 David S. Miller <davem@redhat.com>
13278
13279 * gdb.asm/sparc64.inc: New file.
13280 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
13281
a73a20a2
EZ
132822002-04-19 Elena Zannoni <ezannoni@redhat.com>
13283
13284 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
13285 instruction file directly into the build tree. Clean up at end of
13286 test.
13287
ba678339
DM
132882002-04-18 David S. Miller <davem@redhat.com>
13289
13290 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
13291 handle 64-bit platforms correctly.
13292 * gdb.base/maint.exp: Likewise.
13293
b03399da
KB
132942002-04-18 Kevin Buettner <kevinb@redhat.com>
13295
13296 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
13297 ``-fpic'' when compiling files comprising a shared library, but
13298 it does need additional linker flags in order to find shared
13299 libraries at run time.
13300
e2004992
KB
133012002-04-18 Kevin Buettner <kevinb@redhat.com>
13302
13303 * gdb.base/cvexpr.c (use): New function.
13304 (main): Invoke use() on all global variables to prevent
13305 some linkers from deleting these otherwise unused symbols.
13306
d8937120
MC
133072002-04-17 Michael Chastain <mec@shout.net>
13308From David S. Miller <davem@redhat.com>
13309
13310 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
13311 handle 64-bit platforms correctly.
13312
ffd61a58
MS
133132002-04-12 Michael Snyder <msnyder@redhat.com>
13314From Jim Blandy <jimb@redhat.com>
a9c64011 13315 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
13316 script can handle this instead.
13317 * gdb.base/bar.c (barx): Same.
13318 * gdb.base/baz.c (bazx): Same.
13319 * gdb.base/grbx.c (grbxx): Same.
13320
13321 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
13322 manager doesn't automatically unmap overlays unnecessarily.
13323
6b8426a6
MH
133242002-04-10 Martin M. Hunt <hunt@redhat.com>
13325
13326 * gdb.base/ending-run.exp: Fix pattern for Mips targets
13327 stepping out of main.
13328
34af4875
MC
133292002-04-09 Michael Chastain <mec@shout.net>
13330
13331 * gdb.c++/local.cc (main): Move call to marker1() inside nested
13332 scope so that the nested scope tests will make sense.
13333 * gdb.c++/local.exp: Write patterns that actually work with gcc
13334 (the HP patterns "were never known to work with gcc").
13335 Keep the old aCC patterns too.
13336
2d1676a0
DJ
133372002-04-09 Daniel Jacobowitz <drow@mvista.com>
13338
13339 * gdb.base/attach.exp: Correct target board test.
13340
3a63e3f9
MC
133412002-04-08 Michael Chastain <mec@shout.net>
13342
13343 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
13344 in a const method. Add some xfail and fail cases for configurations
13345 that do not emit the "const ...".
13346
f18dabd2
MC
133472002-04-07 Michael Chastain <mec@shout.net>
13348
13349 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
13350 Accept "A * const" and "const A * const" as type of "this".
13351 Fix spelling of getFunky throughout. Make messages uniform.
13352
0fcddd82
EZ
133532002-04-07 Elena Zannoni <ezannoni@redhat.com>
13354
a9c64011 13355 Work around for PR gdb/285:
0fcddd82
EZ
13356 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
13357
16a8534a
EZ
133582002-04-07 Elena Zannoni <ezannoni@redhat.com>
13359
13360 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
13361 instructions file at run time instead of configure time.
13362 Sometimes we run the test in a directory that is not the one we
13363 configured in.
13364 * gdb.asm/configure.in: Delete creation of symlink.
13365 * gdb.asm/configure: Regenerate.
13366
24181d81
JB
133672002-04-05 J. Brobecker <brobecker@gnat.com>
13368
13369 * gdb.gdb/xfullpath.exp: New test, to exercise the new
13370 xfullpath () function.
13371
7cdb7107
DJ
133722002-04-04 Daniel Jacobowitz <drow@mvista.com>
13373
13374 * gdb.asm/Makefile.in: Correct dependencies.
13375
13376 * gdb.asm/powerpc.inc: New file.
13377 * gdb.asm/asm-source.exp: Add PowerPC.
13378 * gdb.asm/configure.in: Likewise.
13379 * gdb.asm/configure: Regenerated.
13380
a7d17088
DJ
133812002-04-04 Daniel Jacobowitz <drow@mvista.com>
13382
13383 * gdb.base/relocate.exp: New file.
13384 * gdb.base/relocate.c: New file.
13385
cd721503
FF
133862002-04-04 Fred Fish <fnf@redhat.com>
13387
13388 * gdb.base/step-test.exp: Update comment regarding stopping in
13389 memcpy/bcopy calls inserted as part of the compiler runtime.
13390
b22ad7a7
MS
133912002-04-04 Michael Snyder <msnyder@redhat.com>
13392
13393 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
13394
5f279fa6
DJ
133952002-04-03 Daniel Jacobowitz <drow@mvista.com>
13396
13397 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
13398 (gdb_expect): Remove $notransfer hack.
13399
dd0fd3ce
DJ
134002002-04-02 Daniel Jacobowitz <drow@mvista.com>
13401
13402 * gdb.c++/classes.exp ("calling method for small class"): Match
13403 updated register output.
13404
1e50cda1
DJ
134052002-03-30 Daniel Jacobowitz <drow@mvista.com>
13406
13407 Fix PR gdb/452
13408 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
13409 when finished. Make gdb_file_cmd send "exec-file" when
13410 appropriate.
13411
24015922
DJ
134122002-03-30 Daniel Jacobowitz <drow@mvista.com>
13413
13414 * gdb.base/attach.exp: Remove extra setup_xfail.
13415
dd7dfd64
MS
134162002-03-26 Michael Snyder <msnyder@redhat.com>
13417
13418 * gdb.base/default.exp: Add tests for dump, append, and restore.
13419 * gdb.base/help.exp: Add tests for dump, append, and restore.
13420 * gdb.base/dump.exp: New file, test dump, append and restore.
13421 * gdb.base/dump.c: New file.
13422
48b2f8d7
MS
134232002-03-27 Michael Snyder <msnyder@redhat.com>
13424
d63a86f8 13425 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
13426 clean-ups in help messages.
13427
05b4d525
FF
134282002-03-26 Fred Fish <fnf@redhat.com>
13429
13430 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
13431 have debugging info for those functions and the compiler uses them
13432 internally to copy structs around.
13433
d7679631
FF
134342002-03-26 Fred Fish <fnf@redhat.com>
13435
13436 * gdb.base/list.exp: Revert the change made yesterday and add note
13437 about why we don't list the default lines for remote targets.
13438
523ac3f9
MS
134392002-03-25 Michael Snyder <msnyder@redhat.com>
13440
13441 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
13442
754b2b8d
FF
134432002-03-25 Fred Fish <fnf@redhat.com>
13444
13445 * gdb.base/list.exp: This test works on remote targets so remove
13446 the short circuit for remote targets. Update copyright.
13447
33c3e192
FF
134482002-03-25 Fred Fish <fnf@redhat.com>
13449
13450 * gdb.base/attach.exp: Fix logic error that was suppressing this
13451 test for all non hppa*-*-hpux* targets, instead of the hp target.
13452 Move comments closer to the suppression point. Also now need to
13453 check that we are running natively.
13454
d43e73ee
MS
134552002-03-22 Michael Snyder <msnyder@redhat.com>
13456
882c8f02
MS
13457 * gdb.base/default.exp: Add test for gcore. Update copyright.
13458 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 13459
04c12f60
FF
134602002-03-06 Fred Fish <fnf@redhat.com>
13461
13462 * gdb.base/funcargs.c: Remove extraneous ';' character.
13463 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
13464
b43df995
MC
134652002-03-04 Michael Chastain <mec@shout.net>
13466
13467 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
13468 accommodate gcc v3 function signature.
13469 * gdb.mi/mi0-var-cmd-exp: Ditto.
13470
92362027
AC
134712002-02-24 Andrew Cagney <ac131313@redhat.com>
13472
13473 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
13474 ``GNU/Linux'' or ``Linux kernel''
13475 * testsuite/gdb.threads/pthreads.c: Ditto.
13476
258ad32d
MC
134772002-02-24 Michael Chastain <mec@shout.net>
13478
13479 * gdb.threads/pthreads.c (thread1): Add a return statement.
13480 (thread2): Likewise.
13481 (foo): Likewise.
13482
04c3b3d4
MC
134832002-02-23 Michael Chastain <mec@shout.net>
13484
13485 * gdb.threads/linux-dp.c (philosopher): Add a return statement
13486 to placate gcc.
13487
5a2a0a20
MC
134882002-02-23 Michael Chastain <mec@shout.net>
13489
13490 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
13491 test "ptype bint". The test passes on all my stabs configurations.
13492
a640f7fc
JB
134932002-02-21 Jim Blandy <jimb@redhat.com>
13494
27924826
JB
13495 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
13496 filename at a time, and watch for the ones we want to see.
13497
a640f7fc
JB
13498 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
13499 types of pointers to prototyped functions.
13500
edcc8c75
AC
135012002-02-20 Andrew Cagney <ac131313@redhat.com>
13502
13503 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
13504 signed, unsigned and straight char.
13505 (padding_char, padding_short, padding_int, padding_long,
13506 padding_long_long, padding_float, padding_double,
13507 padding_long_double): New global variables.
13508 (fill, fill_structs): New functions.
13509
13510 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
13511 for correctly sized writes. Update copyright.
13512 (get_valueof): New procedure.
13513 (get_sizeof): Call get_valueof.
13514 (check_valueof): New procedure.
13515 (check_padding): New procedure.
13516
ac57ea44
MC
135172002-02-20 Michael Chastain <mec@shout.net>
13518
13519 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
13520 to setup_xfail. Document some of the remaining calls.
13521
7a10c941
MC
135222002-02-18 Michael Chastain <mec@shout.net>
13523
13524 * gdb.c++/userdef.exp: Update copyright year.
13525
fb8acdcc
DJ
135262002-02-18 Daniel Jacobowitz <drow@mvista.com>
13527
13528 * gdb.c++/userdef.exp: Test overloaded operators properly.
13529 Remove xfails.
13530
fda6ae12
MS
135312002-02-14 Michael Snyder <msnyder@redhat.com>
13532
13533 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
13534
676a0442
DJ
135352002-02-14 Daniel Jacobowitz <drow@mvista.com>
13536
13537 * gdb.base/a2-run.exp: Check for a remote target properly.
13538 * gdb.base/annota1.exp: Likewise.
13539 * gdb.base/list.exp: Likewise.
13540 * gdb.base/reread.exp: Likewise.
13541 * gdb.base/scope.exp: Likewise.
13542 * gdb.base/shlib-call.exp: Likewise.
13543 * gdb.base/term.exp: Likewise.
13544 * gdb.c++/annota2.exp: Likewise.
13545
78b4f468
RE
135462002-02-13 Richard Earnshaw <rearnsha@arm.com>
13547
13548 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
13549
9a81ba51
MC
135502002-02-10 Michael Chastain <mec@shout.net>
13551
13552 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
13553 (call_after_alloca): Ditto.
13554
004af6c7
DJ
135552002-02-10 Daniel Jacobowitz <drow@mvista.com>
13556
13557 * gdb.base/ending-run.exp: Guard "cont" test with
13558 gdb_skip_stdio_test.
13559
37225f62
JB
135602002-02-06 Jim Blandy <jimb@redhat.com>
13561
13562 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
13563 from here...
13564 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
13565 To here. Disable this test on non-HP platforms. Add big comment.
13566
fe6fdd96
MS
135672002-02-04 Michael Snyder <msnyder@redhat.com>
13568
13569 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
13570 other than d10v and m32r.
13571
036fad3f
RE
135722002-02-02 Richard Earnshaw <rearnsha@arm.com>
13573
13574 * gdb.base/default.exp: Rewrite test patterns to reduce time
13575 taken to match them.
13576
7148ab62
DJ
135772002-01-30 Daniel Jacobowitz <drow@mvista.com>
13578
13579 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
13580 Allow a start function above main.
13581 * gdb.threads/linux-dp.exp: Fix copyright date.
13582
396cc255
DJ
135832002-01-30 Daniel Jacobowitz <drow@mvista.com>
13584
a9c64011
AS
13585 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
13586 (check_philosopher_stack): Check for manager thread before checking
13587 for a just-starting thread.
396cc255 13588
f038d31b
DJ
135892002-01-30 Daniel Jacobowitz <drow@mvista.com>
13590
13591 From Neil Booth <neil@daikokuya.demon.co.uk>:
13592 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
13593 warnings.
13594
b3ff9d9a
FF
135952002-01-21 Fred Fish <fnf@redhat.com>
13596
13597 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
13598 not caller.
13599
39ad761d
JB
136002002-01-21 Jim Blandy <jimb@redhat.com>
13601
13602 * gdb.base/reread.exp: Check that GDB properly re-reads the
13603 executable file when it changes while no inferior is running.
13604
aaf320fa
FF
136052002-01-21 Fred Fish <fnf@redhat.com>
13606
a9c64011
AS
13607 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
13608 optionally accept the "shlib events" variation.
aaf320fa 13609
808a31f5
JB
136102002-01-21 Jim Blandy <jimb@redhat.com>
13611
13612 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
13613 call `fflush' after every `printf', so that the output is produced
13614 at predictable points, regardless of whatever buffering does (or
13615 doesn't) take place.
13616 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
13617 at different points.
13618
4420d5e2
DJ
136192002-01-20 Daniel Jacobowitz <drow@mvista.com>
13620
13621 * gdb.c++/inherit.exp: Update copyright years.
13622 * gdb.c++/method.exp: Likewise.
13623
3e36a0f4
DJ
136242002-01-20 Daniel Jacobowitz <drow@mvista.com>
13625
13626 * gdb.c++/classes.exp: Update for improved v3 support and skipping
13627 artificial methods/arguments.
13628 * gdb.c++/derivation.exp: Likewise.
13629 * gdb.c++/inherit.exp: Likewise.
13630 * gdb.c++/method.exp: Likewise.
13631 * gdb.c++/virtfunc.exp: Likewise.
13632
b4ceaee6
AC
136332002-01-18 Andrew Cagney <ac131313@redhat.com>
13634
13635 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
13636 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
13637 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
13638 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
13639 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
13640 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
13641
ecace851
JB
136422002-01-17 Jim Blandy <jimb@redhat.com>
13643
13644 * gdb.asm/asm-source.exp (info symbol): Take another shot at
13645 anchoring the pattern matching the entry point symbol's name.
13646
375fc983
AC
136472002-01-17 Andrew Cagney <ac131313@redhat.com>
13648
13649 * gdb.base/maint.exp: Update ``maint internal-error'' to match
13650 continue/quit query. Update copyright.
13651
fe6fdd96
MS
136522002-01-14 Michael Snyder <msnyder@redhat.com>
13653
13654 * gdb.base/gcore.exp: Remove extra debugging output.
13655
e017c81f
DJ
136562002-01-13 Daniel Jacobowitz <drow@mvista.com>
13657
13658 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
13659 for slightly dubious v2 mangled string.
13660
37ab3bf8
DJ
136612002-01-13 Daniel Jacobowitz <drow@mvista.com>
13662
13663 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
13664
1bc05c3a 136652002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 13666
1bc05c3a 13667 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 13668
1bc05c3a
JM
13669 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
13670 constructors.
13671 * gdb.c++/derivation.exp: Likewise.
13672 * gdb.c++/templates.exp: Likewise.
13673 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 13674
1bc05c3a
JM
136752002-01-10 Michael Snyder <msnyder@redhat.com>
13676
13677 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 13678
a911c360
MS
136792002-01-08 Michael Snyder <msnyder@redhat.com>
13680
13681 * gdb.base/gcore.exp: New test for generate-core-file command.
13682 * gdb.base/gcore.c: Testcase for above.
13683 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
13684
ea2119ec
JM
136852002-01-08 Jason Merrill <jason@redhat.com>
13686
13687 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
13688
68203136
FF
136892002-01-07 Fred Fish <fnf@redhat.com>
13690
13691 * gdb.c++/overload.exp: Remove unconditional xfails for:
13692 print foo_instance1.overloadargs(1)
13693 print foo_instance1.overloadargs(1, 2)
13694 print foo_instance1.overloadargs(1, 2, 3)
13695 print foo_instance1.overloadargs(1, 2, 3, 4)
13696 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
13697 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
13698 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
13699 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
13700 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
13701 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
13702 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
13703 print foo_instance1.overload1arg()
13704 print foo_instance1.overload1arg((char)arg2)
13705 print foo_instance1.overload1arg((signed char)arg3)
13706 print foo_instance1.overload1arg((unsigned char)arg4)
13707 print foo_instance1.overload1arg((int)arg7)
13708 print foo_instance1.overload1arg((unsigned int)arg8)
13709 print foo_instance1.overload1arg((float)arg11)
13710 print foo_instance1.overload1arg((double)arg12)
d63a86f8 13711
21b9b5b1
MS
137122002-01-07 Michael Snyder <msnyder@redhat.com>
13713
13714 * gdb.base/huge.exp: New test. Print a very large target data object.
13715 (skip_huge_test): New test variable. Define if you want to skip this
13716 test. The test reads an 8 megabyte data object from the target, so it
13717 might be very time consuming on remote targets with a slow connection.
13718 * gdb.base/huge.c: New file. Test case for above.
13719
725f922e
FF
137202002-01-07 Fred Fish <fnf@redhat.com>
13721
13722 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
13723 g_instance.bfoo, and g_instance.cfoo.
13724
634d57ec
JL
13725Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
13726
f286b2c3
JL
13727 * gdb.base/break.c (multi_line_if_conditional): New function.
13728 (multi_ilne_while_conditional): Likewise.
13729 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
13730 IF or WHILE condition puts the breakpoint at the start of
13731 the condition.
13732
634d57ec
JL
13733 * gdb.base/selftest.exp (backtrace through signal handler): Remove
13734 hppa*-*-hpux* expected failure.
13735 * gdb.base/structs.exp (do_function_calls): Similarly.
13736
13737 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
13738 watchpoints.
13739
9fbfe2dc
AC
137402002-01-06 Andrew Cagney <ac131313@redhat.com>
13741
13742 Fix PR gdb/66.
13743 * gdb.base/structs.exp: Replace skip for a29k with skip for
13744 gdb,cannot_call_functions.
13745 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
13746 * gdb.base/callfuncs.exp: Ditto.
13747 * gdb.base/call-rt-st.exp: Ditto.
13748 * gdb.base/call-strs.exp: Ditto.
13749 * gdb.base/callfwmall.exp: Ditto.
13750 * gdb.base/scope.exp: Obsolete xfail a29k.
13751 * gdb.c++/misc.exp: Ditto.
13752 * gdb.c++/cplusfuncs.exp: Ditto.
13753 * gdb.base/ptype.exp: Ditto.
13754 * gdb.base/printcmds.exp: Ditto.
13755 * gdb.base/opaque.exp: Ditto.
13756 * gdb.base/list.exp: Ditto.
13757 * gdb.base/funcargs.exp: Ditto.
13758 * gdb.base/default.exp: Ditto.
13759
8ddad156
MS
137602002-01-04 Michael Snyder <msnyder@redhat.com>
13761
ca4976a6 13762 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
13763 * gdb.base/maint.exp: Add tests for maint info sections options.
13764
1b074332
JL
13765Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
13766
13767 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
13768
7d159115
CV
137692001-12-20 Corinna Vinschen <vinschen@redhat.com>
13770
13771 * gdb.asm/arm.inc: New file.
13772 * gdb.asm/asm-source.exp: Add arm targets.
13773 * gdb.asm/configure.in: Ditto.
13774 * gdb.asm/configure: Recreated from configure.in.
13775
8fb87725
JL
13776Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
13777
afabe08c
JL
13778 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
13779 with HP's compiler.
13780 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
13781 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
13782 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
13783 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
13784
13785 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
13786 either HP's compilers or GCC.
13787
db521deb
JL
13788 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
13789 a SIGBUS or SIGSEGV.
13790
13791 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
13792
13793 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
13794 can be compiled with either HP's compiler or GCC.
13795
cfa88ab7
JL
13796 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
13797 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
13798 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
13799
ca344dff
JL
13800 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
13801 to match current gdb output. Update due to using auto-solib-limit
13802 for limiting instead of overloading auto-solib-add.
13803 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
13804 test program.
13805
3f3c6e55 13806 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
13807 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
13808 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
13809 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
13810 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
13811 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
13812 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
13813 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
13814 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
13815 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
13816 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
13817 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
13818 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 13819
8fb87725
JL
13820 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
13821 a SIGTRAP to the inferior.
13822
cf599fa7
CV
138232001-12-19 Corinna Vinschen <vinschen@redhat.com>
13824
13825 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
13826 Substitute call to target_link by call to gdb_compile.
13827
2cd045cd
JL
13828Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
13829
a9c64011
AS
13830 * gdb.base/break.exp: Fix HP specific search string when testing
13831 backtracing in a called function.
2cd045cd 13832
a9c64011
AS
13833 * gdb.base/constvars.exp: Only set lang to C++ if we're
13834 compiling the test with HP's compilers.
13835 * gdb.base/volatile.exp: Similarly.
2cd045cd 13836
99ebe9ac
JB
138372001-12-19 Jim Blandy <jimb@redhat.com>
13838
13839 * gdb.base/printcmds.exp: Expect the null character to be printed
13840 as '\0', and the '\013' to be printed as '\v'.
13841 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
13842 * gdb.base/setvar.exp: Same.
13843
b9891b29
JB
138442001-12-17 Jim Blandy <jimb@redhat.com>
13845
0eba65ab
JB
13846 * gdb.base/completion.exp: Rather than completing very long
13847 filenames, which can make the readline library produce output we
13848 don't recognize, cd to the directory first, and then complete
13849 using nice, short relative paths.
13850
6970b5b1
JB
13851 * gdb.base/completion.exp: On some systems, there is, in fact, a
13852 variable named `b' in scope, since GDB treats all static
a9c64011
AS
13853 variables as being in scope. So use `no_var_named_this'
13854 instead of `b'.
6970b5b1 13855
b9891b29
JB
13856 * gdb.base/corefile.exp: Recognize the message saying that GDB
13857 can't find the core file's registers as a failure.
13858
e6ccd35f
JSC
138592001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
13860
a9c64011
AS
13861 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
13862 test expect string more specific.
e6ccd35f 13863
105ba819
CV
138642001-12-13 Corinna Vinschen <vinschen@redhat.com>
13865
13866 * gdb.asm/asm-source.exp: Add support for xstormy16.
13867 * gdb.asm/configure.in: Ditto.
13868 * gdb.asm/configure: Rebuild.
13869 * gdb.asm/xstormy16.inc: New file.
13870
e9e79dd9
FF
138712001-12-10 Fred Fish <fnf@redhat.com>
13872
13873 * gdb.base/maint.exp: Update to match changes in type dumping code.
13874
347dc97d
JB
138752001-12-10 Jim Blandy <jimb@redhat.com>
13876
13877 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
13878 matching the entry point symbol's name at the beginning of the
13879 line.
13880
5178b9d6
DJ
138812001-12-07 Daniel Jacobowitz <drow@mvista.com>
13882
13883 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
13884 gdb.c++/inherit.exp, gdb.c++/method.exp,
13885 gdb.c++/namespace.exp, gdb.c++/templates.exp,
13886 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
13887 and class layout support.
13888
af890c52
DJ
138892001-12-07 Daniel Jacobowitz <drow@mvista.com>
13890
13891 * gdb.c++/classes.exp: Add test for static member function.
13892 * gdb.c++/misc.cc: Add class with static member function.
13893
7a345fb3
JB
138942001-12-07 Jim Blandy <jimb@redhat.com>
13895
f2e54a80 13896 If GDB says it can't find the struct the function returned, report
8032bf31
JB
13897 those tests as `unsupported'.
13898 * gdb.base/call-rt-st.exp (print_struct_call): New function.
13899 Rewrite subsequent tests to use it.
13900
13901 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
13902 those tests as `unsupported'.
13903 * gdb.base/structs.exp (call_struct_func): New function.
13904 (do_function_calls): Use call_struct_func to call the functions
13905 returning structs.
13906
0bc69509
JB
13907 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
13908 whether functions are prototyped or not, so we can't possibly pass
13909 arguments to t_float_values2 properly.
13910
7a345fb3
JB
13911 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
13912 value of `timeout' for targets other than the mips*tx39-*.
13913
edb6ede1
MS
139142001-12-06 Michael Snyder <msnyder@redhat.com>
13915
d63a86f8 13916 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
13917 and detect whether the start symbol has a leading underscore.
13918
2d842f13
JB
139192001-12-04 Jim Blandy <jimb@redhat.com>
13920
13921 * gdb.base/completion.exp: Clarify indentation.
13922
68550daf
JB
139232001-12-03 Jim Blandy <jimb@redhat.com>
13924
13925 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
13926 variables on the S/390, not `.word'.
13927
cd5195a8
JB
139282001-11-30 Jim Blandy <jimb@redhat.com>
13929
13930 Add assembly-source tests for s390-ibm-linux.
13931 * gdb.asm/s390.inc: New file.
13932 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
13933 the S/390 architecture.
a9c64011 13934 * gdb.asm/configure: Regenerated.
cd5195a8 13935
ca9efc90
MS
139362001-11-30 Michael Snyder <msnyder@redhat.com>
13937
13938 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
13939 next, info source, info sources, info line, global and static
13940 variables, and static functions.
13941 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
13942 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
13943 * gdb.asm/asmsrc1.s: Add a static function and some variables.
13944 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
13945 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
13946 (gdbasm_leave): Restore frame pointer.
13947 (gdbasm_startup): Copy stack set-up from crt0.S.
13948
d0e66976
FN
139492001-11-26 Fernando Nasser <fnasser@redhat.com>
13950
13951 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
13952 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
13953 to a local (non-static) variable. Copy tstruct.a to a static buffer
13954 and return a pointer to that buffer.
13955 * gdb.base/callfwmall.c (t_structs_a): Ditto.
13956
e2334072
MK
139572001-11-24 Mark Kettenis <kettenis@gnu.org>
13958
13959 * gdb.asm/configure.in: Fix recognition of ix86 target.
13960 * gdb.asm/configure: Regenerate.
13961
756caa3d
MS
139622001-11-21 Michael Snyder <msnyder@redhat.com>
13963
13964 * gdb.asm/sparc.inc: New file.
13965 * gdb.asm/asm-source.exp: Recognize sparc target.
13966 * gdb.asm/configure.in: Recognize sparc target.
13967 * gdb.asm/configure: Regenerate.
d63a86f8 13968
9a4d72d5
MS
139692001-11-21 Michael Snyder <msnyder@redhat.com>
13970
13971 * gdb.asm/m32r.inc: New file.
13972 * gdb.asm/asm-source.exp: Recognize m32r target.
13973 * gdb.asm/configure.in: Recognize m32r target.
13974 * gdb.asm/configure: Regenerate.
13975
a773d1cd
MS
139762001-11-20 Michael Snyder <msnyder@redhat.com>
13977
017ac23d
MS
13978 * gdb.asm/i386.inc: New file.
13979 * gdb.asm/asm-source.exp: Recognize ix86 target.
13980 * gdb.asm/configure.in: Recognize ix86 target.
13981 * gdb.asm/configure: Regenerate.
13982
a773d1cd
MS
13983 * gdb.c++/namespace.exp: Fix quotes in output messages.
13984
bb632afb
MS
139852001-11-14 Michael Snyder <msnyder@redhat.com>
13986
25d559ca 13987 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
13988 qualifier in a type cast expression, to designate an address
13989 in the instruction space (Harvard architecture).
13990
4749e309
MS
139912001-11-13 Michael Snyder <msnyder@redhat.com>
13992
13993 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
13994 Tests for expressions using 'const' and 'volatile'.
13995
25050984
CV
139962001-11-13 Corinna Vinschen <vinschen@redhat.com>
13997
13998 * gdb.asm/asm-sources.exp: Allow defining linker flags.
13999
1902c51f
DJ
140002001-11-12 Daniel Jacobowitz <drow@mvista.com>
14001
14002 * lib/mi-support.exp (mi_run_to_helper): Move comments
14003 outside of gdb_expect.
14004
dcf95b47
DJ
140052001-11-11 Daniel Jacobowitz <drow@mvista.com>
14006
14007 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
14008 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
14009 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
14010 mi0_run_to): New functions.
14011 * gdb.mi/mi-simplerun.exp: Use them.
14012 * gdb.mi/mi0-simplerun.exp: Likewise.
14013 * gdb.mi/mi-var-cmd.exp: Likewise.
14014 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 14015
45b074e1
AC
140162001-11-10 Andrew Cagney <ac131313@redhat.com>
14017
14018 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
14019 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
14020
bf50d346
AC
140212001-11-09 Andrew Cagney <ac131313@redhat.com>
14022
14023 * gdb.base/restore.exp: Include $expected value in restored test
14024 message.
14025
9383332c
AC
140262001-11-09 Andrew Cagney <ac131313@redhat.com>
14027
14028 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
14029 implemented.
14030
db62520a
MS
140312001-11-08 Michael Snyder <msnyder@redhat.com>
14032
14033 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
14034 Add pass/fail message for stop at breakpoint in call dummy function.
14035
b5703437
MS
140362001-11-07 Michael Snyder <msnyder@redhat.com>
14037
d63a86f8
RM
14038 * gdb.c++/templates.exp (test_template_breakpoints):
14039 If we get an overload menu, but it does not match what
760f6330 14040 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
14041 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
14042 making the whitespace optional. Argument for "new" may be
14043 "unsigned" as well as "unsigned int/long".
d63a86f8 14044 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
14045 making the whitespace optional. Also replace "(void) with
14046 "((void|)), making the keyword "void" optional.
d63a86f8 14047 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
14048 making the whitespace optional. Also replace "(void) with
14049 "((void|)), making the keyword "void" optional.
3bf40917
MS
14050 * gdb.base/callfuncs.c (t_float_values): This function must
14051 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 14052 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
14053 can be tested against both cases. Usually one case involves
14054 promotion of float to double, while the other does not.
14055 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
14056 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
14057 includes a stack frame for "start".
14058
c8ab4e6d
JB
140592001-11-05 Jim Blandy <jimb@redhat.com>
14060
14061 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
14062 pointers are 32 bits long, and that offsets of relocs are always
14063 stored in the data (REL-style), and not in the reloc entry itself
14064 (RELA-style).
14065 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
14066 stabs.
14067
3f08ced9
MS
140682001-11-01 Michael Snyder <msnyder@redhat.com>
14069
14070 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
14071 and regular expression operators by using quoting.
14072
cbfa24cd
MS
140732001-10-31 Michael Snyder <msnyder@redhat.com>
14074
14075 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
14076 depending on what the symbol table contains.
14077 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
14078 the output of the ptype command. Similarly, accept both "const &"
14079 and "const&".
14080
aaa68313
CV
140812001-10-31 Corinna Vinschen <vinschen@redhat.com>
14082
14083 * gdb.base/miscexprs.c (main): Add usage of preprocessor
14084 symbol `STORAGE' to allow to choose the storage class of
14085 the local datastructures.
14086 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
14087 compiler directive.
14088
91740388
MS
140892001-10-30 Michael Snyder <msnyder@redhat.com>
14090
14091 * gdb.base/jump.exp: Allow it to run for all targets.
14092
1b7c05e7
CV
140932001-10-29 Corinna Vinschen <vinschen@redhat.com>
14094
14095 * gdb.base/call-ar-st.c (print_double_array): Match for loop
14096 with new double_array size.
14097 (main): Change storage class of all local variables to static.
14098 Reduce size of double_array to 9.
14099 * gdb.base/call-ar-st.exp: Increase timeout value.
14100 Change expected output for double array to match new size in
14101 call-ar-st.c.
14102
36a22261
CV
141032001-10-29 Corinna Vinschen <vinschen@redhat.com>
14104
14105 * gdb.base/ending-run.exp: Create identical output when passing
14106 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 14107 Stormy16 target.
36a22261 14108
92b8ae91
MK
141092001-10-28 Mark Kettenis <kettenis@gnu.org>
14110
14111 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
14112 that we catch the expected failure under Linux/x86.
14113
cb135b83
OF
141142001-10-29 Orjan Friberg <orjanf@axis.com>
14115
14116 * gdb.base/setvar.exp: Escape curly braces.
14117 * gdb.stabs/weird.exp: Ditto.
14118
6884aa54
DJ
141192001-10-27 Daniel Jacobowitz <drow@mvista.com>
14120
14121 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
14122 * gdm.mi/mi0-hack-cli.exp: Likewise.
14123
0398c9aa
AC
141242001-10-25 Andrew Cagney <ac131313@redhat.com>
14125
14126 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
14127 messages.
14128
d20bf2e8
AC
141292001-10-21 Andrew Cagney <ac131313@redhat.com>
14130
14131 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
14132 checking MI enabled.
14133
03dd63aa
CV
141342001-10-09 Corinna Vinschen <vinschen@redhat.com>
14135
14136 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
14137
1d9d99f3
FCE
141382001-10-04 Frank Ch. Eigler <fche@redhat.com>
14139
14140 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
14141 if gdb child process crashes, just signal an error.
14142
838ae6c4
JB
141432001-10-02 Jim Blandy <jimb@redhat.com>
14144
14145 * lib/gdb.exp (test_xfail_format): Simplify.
14146
14147 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
14148 front of the variable name `format'. Simplify `if'.
14149
8f0cbc1c
DJ
141502001-10-01 Daniel Jacobowitz <drow@mvista.com>
14151
14152 * gdb.threads/pthreads.exp: Wait for output and delay
14153 before sending ^C.
14154
1f08dafd
DJ
141552001-10-01 Daniel Jacobowitz <drow@mvista.com>
14156
14157 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
14158 some incorrect output instead of timing out.
14159 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
14160
674f90ff
CV
141612001-09-28 Corinna Vinschen <vinschen@redhat.com>
14162
14163 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
14164 check to allow additional `int'.
14165
9b284272
DJ
141662001-09-27 Daniel Jacobowitz <drow@mvista.com>
14167
14168 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
14169 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
14170
b55a4771
MS
141712001-09-27 Michael Snyder <msnyder@redhat.com>
14172
14173 * lib/gdb.exp (test_debug_format): New proc.
14174 (setup_xfail_format): Use new proc test_debug_format.
14175 * gdb.base/constvars.exp (local_compiler_xfail_check): New
14176 proc; use new service proc test_debug_format.
14177 Replace all other "gcc_compiled" tests with this test.
14178 * gdb.base/volatile.exp (local_compiler_xfail_check): New
14179 proc; use new service proc test_debug_format.
14180 Replace all other "gcc_compiled" tests with this test.
14181
141822001-09-27 Michael Snyder <msnyder@redhat.com>
14183
14184 * gdb.base/cvexpr.exp: New file.
14185 * gdb.base/cvexpr.c: New file
14186 Test for expressions using const and volatile keywords.
14187
4e6667ac
CV
141882001-09-26 Corinna Vinschen <vinschen@redhat.com>
14189
14190 * gdb.base/constvars.exp: Check for different orders of keywords
14191 and additional "int" strings in output.
14192
4f337972
AC
141932001-09-22 Andrew Cagney <ac131313@redhat.com>
14194
14195 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
14196 responses from "help maint".
14197
2015650d
FCE
141982001-09-19 Frank Ch. Eigler <fche@redhat.com>
14199
14200 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
14201 to localhost:NNN instead of :NNN, in case Xvfb is listening
14202 only on TCP.
14203
f3bcedc1
CV
142042001-09-19 Corinna Vinschen <vinschen@redhat.com>
14205
14206 * gdb.base/recurse.exp: When checking leaving the watchpoint
14207 scope, recognize when gdb is in function's epilogue and pass.
14208
6b819c92
KS
142092001-09-18 Keith Seitz <keiths@redhat.com>
14210
14211 * lib/insight-support.exp (_gdbtk_export_target_info): Add
14212 support for running tests against sid targets.
14213 (gdbtk_done): Ditto.
14214
a10c9419
CV
142152001-09-18 Corinna Vinschen <vinschen@redhat.com>
14216
14217 * gdb.base/ending-run.c (main): Set stdout buffersize
14218 to the same reasonable value for any target.
14219 * gdb.base/ending-run.exp: Add a regular expression
14220 to make testsuite happy on Sanyo Stormy16 target.
14221
739d0d99
CV
142222001-09-17 Corinna Vinschen <vinschen@redhat.com>
14223
14224 * gdb.base/display.c (do_loops): Add float variable `f'.
14225 Increment f in loop.
14226 * gdb.base/display.exp: Increment timeout by 60 seconds.
14227 Change float display test to use variable `f'.
14228
1b8947f0
JB
142292001-09-17 Jim Blandy <jimb@redhat.com>
14230
14231 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
14232 overflowing the limited breakpoint tables on some ROM monitors
14233 (like the ROM68K).
14234
9890ac81
FCE
142352001-09-15 Frank Ch. Eigler <fche@redhat.com>
14236
14237 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
14238 the "-ac" (disable access control) flag.
14239
6db765ea
JH
142402001-08-30 Jeff Holcomb <jeffh@redhat.com>
14241
14242 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
14243 ints.
14244
4c32cc04
KS
142452001-08-30 Keith Seitz <keiths@redhat.com>
14246
14247 * lib/gdb.exp: Move all insight-related functionality into
14248 separate file.
14249 * lib/insight-support.exp: New file.
14250
8d6e6f81
FCE
142512001-08-29 Frank Ch. Eigler <fche@redhat.com>
14252
14253 * config/sid.exp (sid_start): Never set sid verbosity; disable
14254 expect_background {} that consumed its stdout; tolerate </dev/null.
14255 Attempt to set endianness override in "sid" protocol mode. Cleanup.
14256
6a90e1d0
AC
142572001-08-18 Andrew Cagney <ac131313@redhat.com>
14258
14259 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
14260 CLI jump command to start it.
14261 (mi_run_to_main): Fail immediatly when unexpected output.
14262
1759b3c3
AC
142632001-08-18 Andrew Cagney <ac131313@redhat.com>
14264
14265 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
14266 beginning of function. Fix PR gdb/191.
14267
61d11d80
FCE
142682001-08-16 Frank Ch. Eigler <fche@redhat.com>
14269
14270 * config/sid.exp (sid_start): Don't warn if we cannot figure out
14271 what to force sid endianness to.
14272
942a4df2
KS
142732001-08-15 Keith Seitz <keiths@redhat.com>
14274
14275 * lib/gdb.exp (gdbtk_start): Don't set environment
14276 variables for TCL_LIBRARY and friends. Insight will
14277 now figure these out for itself.
14278
0521c418
MS
142792001-08-02 Michael Snyder <msnyder@redhat.com>
14280
14281 * gdb.base/completion.exp: Remove the symbol "a64l" from
14282 the expect string; this is target-specific, and not related
14283 to what is being tested.
14284
74a9a58a
DB
142852001-08-02 Dave Brolley <brolley@redhat.com>
14286
14287 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
14288
c70819fa
MS
142892001-07-25 Michael Snyder <msnyder@redhat.com>
14290
c2b8fa57
MS
14291 * gdb.base/consecutive.exp: New file. Test stepping over
14292 breakpoints on consecutive instructions.
14293 * gdb.base/consecutive.c: New file.
14294
c70819fa
MS
14295 * gdb.base/call-rt-st.exp: Use double-backslash to quote
14296 curly braces in regular expressions.
14297
2b1a1355
MS
142982001-07-25 Michael Snyder <msnyder@redhat.com>
14299
14300 * gdb.base/ending-run.exp: Accept "Program exited normally" as
14301 legitimate output from stepping out of main.
14302
413eca6f
KS
143032001-07-22 Keith Seitz <keiths@redhat.com>
14304
14305 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
14306 the empty string, do not run the tests.
14307
7e5a9322
SC
143082001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14309
14310 * gdb.base/long_long.exp: Detect size of pointer. Take into
14311 account 2-byte pointers when testing for p/a results.
14312
de58f10f
SC
143132001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14314
d63a86f8 14315 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
14316 and defined to 1K for m68hc11.
14317 (random_data): Reduce table to 1K for embedded platforms (68hc11).
14318 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
14319 (sizeof_random_data): New variable to tell the size of the data table;
14320 don't test past this size; always run to main.
14321
d6f5fea1
SC
143222001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14323
14324 * gdb.base/return2.exp: return of long long and double fails for
14325 68HC11; don't execute these tests on that platform.
14326 * gdb.base/return.exp: Return of a double fails for 68hc11.
14327
c477543d
SC
143282001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14329
14330 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
14331 tests that print a float.
14332 * call-rt-st.exp: Likewise.
14333
63cf1c79
MK
143342001-07-12 Mark Kettenis <kettenis@gnu.org>
14335
14336 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
14337 running this test on Linux.
14338
112f9ab5
MC
143392001-06-24 Michael Chastain <chastain@redhat.com>
14340
14341 * gdb.base/arithmet.exp: Remove some tests to make all test names
14342 unique.
14343
4970cb0f
MS
143442001-07-03 Michael Snyder <msnyder@redhat.com>
14345
14346 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
14347 the output of the ptype command.
14348
d85da69f
MS
143492001-07-02 Michael Snyder <msnyder@redhat.com>
14350
4c8a82de
MS
14351 * gdb.base/completion.exp: Don't assume that break.c is the only
14352 source file that may contain functions named "marker".
d85da69f
MS
14353 * gdb.base/corefile.exp: Quote the curly braces in regexp.
14354
8afc772b
AC
143552001-06-28 Andrew Cagney <ac131313@redhat.com>
14356
14357 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
14358 of files to delete.
14359
14360 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
14361 * gdb.disasm/h8300s.exp: New file.
14362 gdb.disasm/h8300s.s: Likewise.
14363
cff22675
AC
143642001-06-27 Andrew Cagney <ac131313@redhat.com>
14365
14366 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
14367 empty breakpoint tables.
14368
68c81b54
AC
143692001-06-25 Andrew Cagney <ac131313@redhat.com>
14370
14371 * lib/mi-support.exp: Update args=... part of stop-reason
14372 patterns. Accept either a list or a tuple.
14373
2dd62704
AC
143742001-06-23 Andrew Cagney <ac131313@redhat.com>
14375
14376 * lib/mi-support.exp: Remove local emacs variable defining
14377 change-log-default-name.
14378
b4127474
MC
143792001-06-22 Michael Chastain <chastain@redhat.com>
14380
14381 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
14382 This is operationally compatible with the previous version.
14383
8dbfb380
JB
143842001-06-13 Jim Blandy <jimb@redhat.com>
14385
14386 * lib/gdb.exp (gdb_test): Doc fix.
14387
f2d8c86d
MC
143882001-06-10 Michael Chastain <chastain@redhat.com>
14389
14390 * gdb.base/exprs.exp: Remove a duplicate test.
14391
81564d34
JB
143922001-06-06 Jim Blandy <jimb@redhat.com>
14393
14394 * gdb.base/return2.exp (main): Use values to test float and double
14395 returns that are not NaN's, to avoid being confused by IEEE
14396 comparison rules.
14397
da55addb
MS
143982001-06-04 Michael Snyder <msnyder@redhat.com>
14399
14400 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 14401 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
14402 rather than wait for 12 more tests to time out.
14403
42c65987
JB
144042001-06-06 Jim Blandy <jimb@redhat.com>
14405
b18bced9 14406 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 14407 Don't forget to match the GDB prompt.
b18bced9 14408
42c65987
JB
14409 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
14410
5b41e5f0
JB
144112001-06-04 Jim Blandy <jimb@redhat.com>
14412
14413 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
14414 command.
14415
015e046f
KB
144162001-05-31 Kevin Buettner <kevinb@redhat.com>
14417
14418 * gdb.base/annota1.exp (info break): Match four or more spaces
14419 after "Address".
14420
fb1ffbbe
MC
144212001-05-31 Michael Chastain <chastain@redhat.com>
14422
14423 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
14424 (dm_type_int_star): Likewise.
14425 (dm_type_long_star): Likewise.
14426 (dm_type_void_star): Likewise.
14427
5ea2a32c
KB
144282001-05-29 Kevin Buettner <kevinb@redhat.com>
14429
14430 * gdb.base/completion.exp (INPUTRC): Set this environment variable
14431 to a known value in order to get consistent results regardless
14432 of the setting of INPUTRC or the presence or contents of .inputrc.
14433
ae23c492
MS
144342001-05-24 Michael Snyder <msnyder@redhat.com>
14435
ac55707e
MS
14436 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
14437 Don't require that the main thread and the manager thread are the
14438 first in the list.
14439
ae23c492
MS
14440 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
14441 debugging. If test fails, issue an "unsupported" not a "fail".
14442
400071f1
JB
144432001-05-24 Jim Blandy <jimb@redhat.com>
14444
14445 Don't assume that short is shorter than int.
14446 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
14447 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 14448 this isn't true.
400071f1
JB
14449 ("print unsigned char == (~0)"): Add test that verifies that ~0,
14450 an int, is not equal to ~0 stored in an unsigned char. This tests
14451 the same thing that the previous test meant to, but works on
14452 16-bit machines, too.
14453 ("print unsigned char != (~0)"): Same test, complemented.
14454
0816a3e5
MS
144552001-05-24 Michael Snyder <msnyder@redhat.com>
14456
14457 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 14458 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
14459 and prevents dejagnu getting out of step.
14460
f6dc23a9
KB
144612001-05-23 Kevin Buettner <kevinb@redhat.com>
14462
14463 * gdb.base/finish.exp (finish_void): Revise pattern for
14464 stopping on the call statement to not permit stopping at
14465 the start of the instructions comprising the call sequence.
14466
7dbd117d
MC
144672001-05-19 Michael Chastain <chastain@redhat.com>
14468
14469 * gdb.base/callfuncs.exp: Make all test names unique.
14470 * gdb.base/commands.exp: Make all test names unique.
14471 * gdb.base/condbreak.exp: Make all test names unique.
14472 * gdb.base/dbx.exp: Make all test names unique.
14473 * gdb.base/default.exp: Make all test names unique.
14474 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
14475 and TIMEOUT messages to their corresponding PASS message.
14476 * gdb.base/ending-run.exp: Make all test names unique.
14477 * gdb.base/long_long.exp: Remove duplicate test.
14478
6b0b0a9e
KB
144792001-05-21 Kevin Buettner <kevinb@redhat.com>
14480
14481 * gdb.base/finish.exp (finish_void): Allow "finish" command to
14482 stop on the call statement as well as the statement after the
14483 call.
14484
2caa35cb
MS
144852001-05-21 Michael Snyder <msnyder@redhat.com>
14486
14487 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
14488
40713331
EZ
144892001-05-10 Elena Zannoni <ezannoni@redhat.com>
14490
a9c64011
AS
14491 * gdb.base/completion.exp: Revamp test. Make it execute on all
14492 platforms.
40713331 14493
c2c1be8d
EZ
144942001-05-10 Elena Zannoni <ezannoni@redhat.com>
14495
a9c64011
AS
14496 * config/gdbserver.exp (gdb_load): Handle the case
14497 in which the arguments to gdbserver are given in the
14498 baseboard configuration file.
14499 Also handle the case in which the server needs to do a
14500 load.
2c9cd303 14501
9671de48
KS
145022001-05-07 Keith Seitz <keiths@cygnus.com>
14503
a9c64011
AS
14504 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
14505 set up the display for testing.
14506 (gdbtk_start): Convert all paths to paths that tcl will like.
14507 Export target information to environment.
14508 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
14509 necessary.
14510 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
14511 (to_tcl_path): New proc to convert a given pathname into
14512 a path acceptible as an argument to a tcl command.
14513 (_gdbtk_export_target_info): New proc to export target info
14514 into the environment for gdbtk testing.
14515 (gdbtk_done): New proc to signal end-of-test.
9671de48 14516
5a360f47
JB
145172001-05-06 Jim Blandy <jimb@redhat.com>
14518
14519 * restore.c: Make the code of caller0 correspond to its comment.
14520
66c756c6
MS
145212001-05-03 Michael Snyder <msnyder@redhat.com>
14522
14523 * config/sid.exp (gdb_target_sid): Check for error messages.
14524 On error or timeout, don't make expect exit (which will terminate
14525 all subsequent tests); instead just make gdb exit.
d63a86f8 14526 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
14527 return a negative value.
14528
a966fde5
JB
145292001-04-24 Jim Blandy <jimb@redhat.com>
14530
851c18e0
JB
14531 * gdb.c++/templates.exp: If we see the prompt for the overload
14532 list, but we haven't recognized any of the longer patterns,
14533 arrange for this test to fail, not hang.
14534
a966fde5
JB
14535 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
14536 variations.
14537
db144853
MC
145382001-04-22 Michael Chastain <chastain@redhat.com>
14539
14540 * gdb.c++/local.exp: Use the 'runto' library function.
14541 * gdb.c++/namespace.exp: Likewise.
14542 * gdb.c++/overload.exp: Likewise.
14543
3207ec21
KB
145442001-03-26 Kevin Buettner <kevinb@redhat.com>
14545
14546 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
14547 * gdb.base/step-line.exp: New file. Test step/next in presence of
14548 #line directives.
14549 * gdb.base/step-line.c: New file. Test program for the above.
14550 * gdb.base/step-line.inp: New file. We pretend that this file has
14551 been transformed by some other tool into step-line.c.
14552
13b57657
JB
145532001-03-21 Jim Blandy <jimb@redhat.com>
14554
14555 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
14556 unmangled operator names.
14557
754cbe1c
JB
145582001-03-20 Jim Blandy <jimb@redhat.com>
14559
14560 * gdb.threads/linux-dp.exp: Recognize an additional message
14561 generated by GDB when it doesn't understand how to debug threads
14562 on the target system.
14563
177495c9
AC
145642001-03-19 Andrew Cagney <ac131313@redhat.com>
14565
14566 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
14567
f266096b
MC
145682001-03-12 Michael Chastain <chastain@redhat.com>
14569
14570 * gdb.c++/derivation.exp: Use the 'runto' library function.
14571
cac3c2ff
MC
145722001-03-12 Michael Chastain <chastain@redhat.com>
14573
14574 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
14575
b6c11a24
MC
145762001-02-24 Michael Chastain <chastain@redhat.com>
14577
14578 * gdb.c++/ref-types.exp: Change handwritten code to library
14579 function 'runto'.
14580
6bae5bce
OF
145812001-03-16 Orjan Friberg <orjanf@axis.com>
14582
14583 * gdb.base/signals.exp: Set count to 0 explicitly.
14584
0015fd9a
MS
145852001-03-15 Mark Salter <msalter@redhat.com>
14586
14587 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
14588 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
14589 (gdb_load): Add support for additional target_info: gdb_download_size
14590 and gdb_load_timeout.
0015fd9a 14591
fc33412a
DT
14592Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
14593
14594 * gdb.base/annota1.exp: Move test of isnative to earlier in the
14595 file -- to prevent failing when the compile fails but we have no
14596 intention of running the tests anyway.
14597
14598 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
14599 tests if set.
14600
14601 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
14602 integers.
14603
14604 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
14605 * gdb.c++/namespace.exp: Ditto.
14606
115f06de
OF
146072001-03-07 Orjan Friberg <orjanf@axis.com>
14608
14609 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
14610 * gdb.base/pointers.exp: Relax pattern match of decimals.
14611
b6ba6518
KB
146122001-03-06 Kevin Buettner <kevinb@redhat.com>
14613
14614 * Makefile.in, config/abug.exp, config/cfdbug.exp,
14615 config/cpu32bug.exp, config/dve.exp, config/est.exp,
14616 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
14617 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
14618 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
14619 config/sh.exp, config/sid.exp, config/slite.exp,
14620 config/sparclet.exp, config/udi.exp, config/unknown.exp,
14621 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
14622 config/vxworks.exp, config/vxworks29k.exp,
14623 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
14624 gdb.base/all-bin.exp, gdb.base/annota1.exp,
14625 gdb.base/arithmet.exp, gdb.base/assign.exp,
14626 gdb.base/async.exp, gdb.base/attach.exp,
14627 gdb.base/bitfields.exp, gdb.base/bitops.exp,
14628 gdb.base/break.exp, gdb.base/call-ar-st.exp,
14629 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
14630 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
14631 gdb.base/commands.exp, gdb.base/completion.exp,
14632 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14633 gdb.base/constvars.exp, gdb.base/corefile.exp,
14634 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
14635 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
14636 gdb.base/ending-run.exp, gdb.base/environ.exp,
14637 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
14638 gdb.base/finish.exp, gdb.base/foll-exec.exp,
14639 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
14640 gdb.base/funcargs.exp, gdb.base/help.exp,
14641 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
14642 gdb.base/logical.exp, gdb.base/long_long.exp,
14643 gdb.base/maint.exp, gdb.base/mips_pro.exp,
14644 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
14645 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
14646 gdb.base/pointers.exp, gdb.base/printcmds.exp,
14647 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
14648 gdb.base/regs.exp, gdb.base/relational.exp,
14649 gdb.base/remote.exp, gdb.base/reread.exp,
14650 gdb.base/restore.exp, gdb.base/return2.exp,
14651 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
14652 gdb.base/selftest.exp, gdb.base/setshow.exp,
14653 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
14654 gdb.base/sigall.exp, gdb.base/signals.exp,
14655 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
14656 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
14657 gdb.base/step-test.exp, gdb.base/structs.c,
14658 gdb.base/structs.exp, gdb.base/structs2.exp,
14659 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
14660 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
14661 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
14662 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
14663 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
14664 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
14665 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
14666 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
14667 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
14668 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
14669 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
14670 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
14671 gdb.fortran/types.exp, gdb.java/jmisc.exp,
14672 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
14673 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
14674 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14675 gdb.trace/circ.exp, gdb.trace/collection.exp,
14676 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14677 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14678 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
14679 gdb.trace/report.exp, gdb.trace/save-trace.exp,
14680 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14681 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
14682 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
14683 notices.
14684
dc96c6c7 146852001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
14686
14687 * gdb.base/varargs.c (find_max_double): Fix printf format string:
14688 first arg is int not float.
14689
dc96c6c7 146902001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
14691
14692 * gdb.base/reread.exp: Unsupported for non-native targets;
14693 doesn't work for remote debugging.
14694
9b0c4aeb
FN
146952001-02-19 Fernando Nasser <fnasser@redhat.com>
14696
14697 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
14698 * gdb.base/ending-run.exp: Properly handle the BSP state when
14699 stepping past the end of main.
9b0c4aeb 14700
02aa71d5
MC
147012001-02-19 John Moore <jmoore@redhat.com>
14702
14703 * gdb.base/commands.exp (infrun_breakpoint_command_test):
14704 Converted HPUX fix for non-expected items following multiple
14705 step commands into general solution for all platforms.
14706
1fa449a4
MC
147072001-02-18 Michael Chastain <chastain@redhat.com>
14708
14709 * gdb.c++/classes.exp (do_tests): Change runto statements
14710 from "runto 'foo(void)'" to "runto 'foo'". This makes the
14711 statements demangler agnostic.
14712 * gdb.c++/virtfunc.exp (do_tests): Likewise.
14713 (gdb_virtfunc_restart): Likewise.
14714
b2f9ec70
MC
147152001-02-14 Michael Chastain <chastain@redhat.com>
14716
14717 * gdb.c++/inherit.exp (do_tests): Change runto statements
14718 from "runto 'foo(void)'" to "runto 'foo'". This makes the
14719 statements demangler agnostic.
14720
cf74b8ca
AC
14721Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
14722
14723 * gdb.threads/pthreads.exp: Unify pass/fail messages for
14724 ``continue to bkpt at common_routine in thread 2'' and ``stopped
14725 before calling common_routine 15 times'' tests.
14726
99f78f56
MC
147272001-02-11 Michael Chastain <chastain@redhat.com>
14728
14729 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
14730 Helps the test script figure out which demangler is in use.
14731 (dm_type_foo_ref): Ditto.
14732 (dm_type_int_star): Ditto.
14733 (dm_type_long_star): Ditto.
14734 (dm_type_unsigned_int): Ditto.
14735 (dm_type_void): Ditto.
14736 (dm_type_void_star): Ditto.
99707966 14737 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
14738 Probe the gdb demangler and set variables to accommodate
14739 formatting differences.
14740 (info_func_regexp): New function. Same as info_func, but
14741 matches against a regexp.
14742 (info_func): Match against a literal string.
14743 (print_addr_2): New function. Match against a literal string,
14744 which can be different from the input to gdb.
14745 (print_addr): Simply call print_addr_2 with the same argument twice.
14746 (test_lookup_operator_functions): Use demangler formatting variables.
14747 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
14748 the tests in the same order as the C++ class declaration.
14749 (test_paddr_operator_functions): Ditto.
14750 (test_paddr_overloaded_functions): Ditto.
14751 (test_paddr_hairy_functions): Use demangler formatting variables.
14752 Add reference to gdb/19 for related tests.
14753 (do_tests): Call probe_demangler.
14754
1de8f023
KB
147552001-01-30 Kevin Buettner <kevinb@redhat.com>
14756
14757 * gdb.c++/templates.cc (printf): Remove unused function definition.
14758
ca3f91ed
MS
147592001-01-26 Felix Lee <flee@redhat.com>
14760
14761 * sid.exp (sid_exit): Pass host, not target, to remote_close.
14762
147632001-01-25 matthew green <mrg@redhat.com>
14764
14765 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
14766 up sid.
14767 (sid_exit): Call `remote_pop_conn' after GDB is gone.
14768
147692001-01-25 matthew green <mrg@redhat.com>
14770
14771 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 14772 Deprecate $sid_spawn_id.
ca3f91ed
MS
14773 (sid_exit): Remove code necessary only for `spawn.'
14774
147752001-01-25 matthew green <mrg@redhat.com>
14776
14777 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
14778
fb18ec4a
MC
147792001-01-28 Michael Chastain <chastain@redhat.com>
14780
14781 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
14782 to call when tests fail. It takes gdb out of the overloaded
14783 function choice menu back to the main prompt, so that the test
14784 program stays synchronized.
14785 (set_bp_overloaded): New proc to collect all the common
14786 code for setting a breakpoint on an overloaded name. Calls
14787 take_gdb_out_of_choice_menu when needed.
14788 (menu_overload1arg): New variable to collect the repeated
14789 instances of the expected menu for an overloaded name. Change
14790 the regular expression to handle changes in g++ type encoding:
14791 "void" can be either "void" or "", and "unsigned int" can be
14792 either "unsigned int" or "unsigned".
14793 (continue_to_bp_overloaded): Change regular expressions to handle
14794 changes in g++ type encoding.
14795 (no proc): Call take_gdb_out_of_choice_menu when needed.
14796 Remove redundant calls to "info break". Accept either "canceled"
14797 or "cancelled". Change regular expressions in "info break"
14798 calls to handle changes in g++ type encoding. Give all tests
14799 unique strings.
14800
9c646a6e
BE
148012001-01-17 Ben Elliston <bje@redhat.com>
14802
14803 * config/sid.exp: New file.
14804
9549d9c1
AC
14805Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
14806
14807 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
14808
dc96c6c7 148092000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
14810
14811 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
14812 Add a RE to accept a non-ascii char if one is ever presented.
14813
b4df4f68
FN
148142000-12-20 Fernando Nasser <fnasser@redhat.com>
14815
297dd0fd 14816 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 14817
dc96c6c7 148182000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 14819
d63a86f8 14820 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
14821 in regexp. One '\' does not suffice on Linux.
14822
4a7bddb6
MC
148232000-12-09 Michael Chastain <chastain@redhat.com>
14824
14825 * gdb.base/break.exp (test_clear_command): Use a marker function
14826 rather than 'main' for the test function. Also move this
14827 test to an execution point where the marker function names are
14828 guaranteed to be bound to functions. (Executing tests after a
14829 'finish' from main runs into name conflicts with local names
14830 in __libc_start_main).
14831
dc96c6c7 148322000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
14833
14834 * gdb.base/finish.exp: New test for gdb's "finish" command.
14835 * gdb.base/return2.exp: New test for gdb's "return" command.
14836 * gdb.base/return2.c: New source file for above.
14837
dc96c6c7 148382000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
14839
14840 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
14841 * gdb.base/miscexprs.exp: Ditto.
14842 * gdb.base/pointers.exp: Ditto.
14843 * gdb.c++/derivation.exp: Ditto.
14844 * gdb.c++/local.exp: Ditto.
14845 * gdb.c++/namespace.exp: Ditto.
14846 * gdb.c++/overload.exp: Ditto.
14847 * gdb.c++/ref-types.exp: Ditto.
14848
dc96c6c7 148492000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
14850
14851 * gdb.base/constvars.exp: Test result of "up" command.
14852 * gdb.base/miscexprs.exp: Ditto.
14853 * gdb.base/pointers.exp: Ditto.
14854 * gdb.base/scope.exp: Ditto.
14855 * gdb.c++/derivation.exp: Ditto.
14856 * gdb.c++/local.exp: Ditto.
14857 * gdb.c++/namespace.exp: Ditto.
14858 * gdb.c++/overload.exp: Ditto.
14859 * gdb.c++/ref-types.exp: Ditto.
14860
44097287
FN
148612000-11-22 Michael Chastain <chastain@redhat.com>
14862
14863 * mips_pro.exp: Accept either "middle -> top -> main" or
14864 "middle -> main" in the backtrace, because gcc can optimize
14865 tail calls to jumps. Remove setup_xfail for the hppa case.
14866 Add a comment with the original warning messages from PR 3016,
14867 which was filed in 1993, to preserve them for posterity.
14868
9d2e1bab
ND
148692000-11-17 Nick Duffek <nsd@redhat.com>
14870
14871 * lib/gdb.exp (gdb_test): Override timeout with board info.
14872
1aca8eb7
ND
148732000-11-17 Nick Duffek <nsd@redhat.com>
14874
14875 * gdb.base/display.exp: Don't kill running stub. Add "again" to
14876 the second kill and detach messages.
14877
93076499
ND
148782000-11-17 Nick Duffek <nsd@redhat.com>
14879
14880 * configure.in: Add AC_EXEEXT.
14881 * configure: Regenerate.
14882 * Makefile.in (just-check): Export EXEEXT.
14883 * lib/gdb.exp ($EXEEXT): Import from environment.
14884 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
14885 expect "maint dump-me" on Cygwin.
14886 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
14887 $EXEEXT.
14888
30e87cd3
ND
148892000-11-17 Nick Duffek <nsd@redhat.com>
14890
14891 * gdb.base/break.exp: Test backtrace and finish from called
14892 function on all platforms, not just HP-UX.
14893
dc96c6c7 148942000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
14895
14896 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
14897 code from gdb_target_monitor, so it can be used independantly
14898 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 14899
dc96c6c7 149002000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
14901
14902 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
14903 * gdb.base/corefile.exp: Expect the message "Program is being
14904 debugged already" when we send the "corefile" command, since
14905 the preceeding gdb_load may have connected gdb to a remote target.
14906 * gdb.base/display.exp: Disable hardware watchpoints if new
14907 board info variable "no_hardware_watchpoints" is true.
14908 Replace single-letter commands with more readable ones.
14909 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
14910 if new board info variable "no_hardware_watchpoints" is true.
14911 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
14912 to see if stdio (printf) testing is possible.
14913 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
14914 board info variable "no_hardware_watchpoints" is true. Use new
14915 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
14916
39124dea
FN
149172000-11-13 Fernando Nasser <fnasser@redhat.com>
14918
14919 From Orjan Friberg <orjanf@axis.com>:
14920 * gdb.base/printcmds.exp: Escape curly braces followed by a number
14921 in array print pattern match.
14922
a9e2e984
FN
149232000-11-09 Fernando Nasser <fnasser@redhat.com>
14924
14925 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
14926 spelling "cancelled" to U.S. spelling "canceled" to match changes
14927 made to gdb.
14928 * gdb.c++/ovldbreak.exp: Ditto.
14929
c7db355b
PS
149302000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
14931
14932 * gdb.base/callfuncs.c (main): Moved to end of file, call
14933 t_double_values to initialize the FPU before inferior calls are made.
14934 * gdb.base/callfuncs.exp: Test for register preservation after calling
14935 inferior functions. Add tests for continuining, finishing and
14936 returning from a stop in a call dummy.
14937
dc96c6c7 149382000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
14939
14940 * gdb.base/commands.exp: Break up long lines, and re-indent.
14941
dc96c6c7 149422000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
14943
14944 * config/gdbserver.exp: Rewritten from the ground up, to make it
14945 compatible with the current dejagnu tree, and to make it work with
14946 the new "gdbserver" in libremote.
14947
dc96c6c7 149482000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
14949
14950 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
14951 * gdb.base/varargs.exp: Skip entire test if no printf support.
14952 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
14953 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
14954
dc96c6c7 149552000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
14956
14957 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
14958 no floating point support.
14959 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
14960 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
14961 * gdb.base/call-rt-st.exp: Ditto.
14962 * gdb.base/call-strs.exp: Ditto.
14963
bac5fc66
JG
149642000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
14965
14966 * gdb.base/sizeof.c: include <stdio.h>.
14967
14968 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
14969 'finish', otherwise uncaptured gdb_prompt would potentially
14970 throw remaining test points out of sync.
bac5fc66 14971
b22a6027
SB
149722000-07-26 Scott Bambrough <scottb@netwinder.org>
14973
14974 * gdb.base/recurse.exp: Run tests for all targets.
14975 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
14976 gnu-oldld case on ARM.
14977 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
14978 for ARM targets.
d63a86f8 14979
d8231941
AG
14980Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
14981
14982 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
14983 * gdb.java/configure: Rebuild.
14984
8caabe69
AG
14985Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
14986
14987 * gdb.java/jv-exp.exp: New file.
14988
9d273ca3
AG
14989Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
14990
14991 * configure: Rebuilt.
14992 * configure.in (configdirs): Add gdb.java.
14993 * gdb.java/jmisc.java: New file.
14994 * gdb.java/jmisc.exp: New file.
14995 * gdb.java/Makefile.in: New file.
14996 * gdb.java/configure: Rebuilt.
14997 * gdb.java/configure.in: New file.
14998 * lib/java.exp: New file.
14999
4f823a66
AC
15000Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
15001
15002 * gdb.base/exprs.exp: Test casts to a pointer including over and
15003 underflow.
15004
2391e11d
AC
15005Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
15006
15007 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
15008 and the compilers sizes.
15009
54602222
ND
150102000-07-09 Nick Duffek <nsd@redhat.com>
15011
15012 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
15013 (use_methods): New function.
15014 (main): Call use_methods().
15015 * gdb.c++/classes.exp (test_method_param_class): New procedure.
15016 (do_tests): Call test_method_param_class.
15017
2bec0572
ND
150182000-07-09 Nick Duffek <nsd@redhat.com>
15019
15020 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
15021 spelling.
15022 (test_enums): New procedure. Move enum tests from end of script
15023 to here. Set breakpoint on function name instead of line number.
15024 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
15025 (enums2): New marker function.
15026 (enums1): New function.
15027 (main): Call enums1(). Move enum tests to enums1().
15028
78492fde
AC
15029Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
15030
15031 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
15032 compile/link program. Update line numbers.
15033 * gdb.asm/d10v.inc: Define ``startup''.
15034 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 15035
49a2cef8
AC
15036Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
15037
15038 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
15039
3e6c8688
EZ
150402000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15041
15042 * gdb.base/maint.exp: Add 'maint print architecture' item to output
15043 of 'help maint print' command.
15044
9ff5cbe9
AC
15045Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
15046
15047 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
15048 they use gdb_expect_list.
15049
17c579bd
AC
15050Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
15051
15052 * gdb.base/commands.exp: Use ``set remote
15053 memory-read-packet-size'' instead of ``set endian big'' to test
15054 long commands.
15055
e6d71bf3
DB
150562000-06-03 Daniel Berlin <dan@cgsoftware.com>
15057
15058 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 15059 g++, and stop skipping them.
e6d71bf3
DB
15060
15061 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
15062 work under g++.
15063
d63a86f8 15064 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
15065 initialization.
15066
dc96c6c7 150672000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
15068
15069 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
15070 the regular expression: accept an (almost) arbitrary sequence of
15071 "frames-invalid" and "breakpoints-invalid" messages both before
15072 and after the "starting" message.
15073
dc96c6c7 150742000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
15075
15076 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 15077
dc96c6c7 150782000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
15079
15080 * gdb.base/annota1.exp (annotate-signal-handler-caller):
15081 Relax the regular expression a little, make it pass on Solaris 8.
15082
8216cda9
KB
150832000-05-12 Kevin Buettner <kevinb@redhat.com>
15084
15085 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 15086 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
15087 Instead, it is permissible for gdb to stop on the line of the
15088 call itself.
15089
1a570b2f
MS
150902000-05-12 Michael Snyder <msnyder@.cygnus.com>
15091
15092 * gdb.base/break.exp (bp on small function, optimized file):
15093 Add a second pass pattern. The behavior differs here between stabs
15094 and dwarf for one-line functions. Stabs preserves two line symbols
15095 (one before the prologue and one after) with the same line number,
15096 but dwarf regards these as duplicates and discards one of them.
15097 Therefore the address after the prologue (where the breakpoint is)
15098 has no exactly matching line symbol, and GDB reports the breakpoint
15099 as if it were in the middle of a line rather than at the beginning.
15100
dc96c6c7 151012000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 15102
d63a86f8 15103 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
15104 rather than "send_gdb" (for consistancy).
15105
7d418785
AC
15106Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
15107
15108 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
15109 * gdb.c++/templates.cc: Properly check for GCC version number.
15110 * lib/compiler.cc: Likewise
15111
dc96c6c7 151122000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 15113
d63a86f8 15114 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
15115 gdb may not stop at the first line of main, due to code motion.
15116
dc96c6c7 151172000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
15118
15119 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
15120 This test depends on parsing the printf output from the target.
15121 Since the sparclet stub doesn't do stdio, this will never work.
15122 * gdb.base/call-rt-st.exp: ditto.
15123 * gdb.base/call-strs: ditto.
15124
dc96c6c7 151252000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
15126
15127 * gdb.base/miscexprs.exp: make sizeof long array test portable.
15128
15129 * gdb.base/ending-run.exp: After connecting to a remote target,
15130 but before running, the target will appear to be in a random
15131 location. Specify both a file and a line for breakpoints.
15132 Also, the function that calls main may be called 'init'
15133 rather than 'start'.
15134
a5a51225
EZ
151352000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15136
15137 * gdb.base/help.exp: Update output for add-symbol-file command.
15138
7930cc7c
FN
151392000-04-10 Fernando Nasser <fnasser@cygnus.com>
15140
15141 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15142 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
15143
23e37ab1
C
151442000-04-07 J.T. Conklin <jtc@redback.com>
15145
e93c542c
C
15146 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
15147
23e37ab1
C
15148 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
15149
591b8fa3
PDM
15150Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
15151
15152 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
15153 values that can be represented exactly.
15154 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
15155 above change, and to not check against the directory part of the source
15156 file name.
15157 (step into print_long_arg_list): Likewise.
15158 (print print_small_structs from print_long_arg_list): Likewise.
15159 (print print_long_arg_list): Likewise.
15160
7a495180
EZ
151612000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15162
30b53638 15163 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 15164
beb998c6
AC
15165Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
15166
15167 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
15168
1c689132
DB
151692000-03-25 Daniel Berlin <dan@cgsoftware.com>
15170
15171 * gdb.base/commands.exp (deprecated_command_test): Add test for
15172 deprecate with no arguments.
15173
c1790a9d
JL
151742000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
15175
15176 * gdb.base/break.exp: Add new test for setting breakpoints on
15177 optimized code so we can test breakpoints work even when function
15178 prologues may be optimized away
15179
003ba290
FN
151802000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
15181
15182 From David Whedon <dwhedon@gordian.com>
a9c64011 15183 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 15184
6837a0a2
DB
151852000-03-22 Daniel Berlin <dan@cgsoftware.com>
15186
15187 * gdb.base/help.exp: Added test for new apropos command.
15188
b9593231
KB
151892000-03-21 Kevin Buettner <kevinb@redhat.com>
15190
15191 * gdb.base/pointers.c (usevar): New function.
15192 (main): Make sure that global variables v_int_pointer2, rptr,
15193 and y are all referenced someplace in the program by calling
15194 usevar() on them. [Some linkers delete symbols which are
15195 never referenced. The space remains, but there's no way to
15196 get a (symbolic) handle on the variable from the debugger.]
15197
751a959b
EZ
151982000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15199
15200 * gdb.base/printcmds.c: Add typedeffed arrays.
15201
15202 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
15203 procedure to test arrays that are typedef'd.
15204
73a93a32
JI
152052000-03-13 James Ingham <jingham@leda.cygnus.com>
15206
15207 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 15208 the library directories.
73a93a32 15209
fb40c209
AC
15210Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
15211
15212 * configure.in (configdirs): Add sub directory gdb.mi.
15213 * configure: Re-generate.
15214
15215 * gdb.mi: New directory.
d63a86f8 15216
ee4dd2c9
AC
152172000-02-25 Scott Bambrough <scottb@netwinder.org>
15218
15219 * gdb.base/long_long.exp: Correct test suite failure when printing
15220 a long long value as a double on ARM platforms.
15221
70f0cc22
JB
152222000-02-16 Jim Blandy <jimb@redhat.com>
15223
15224 * gdb.base/break.exp ("breakpoint line number"): Make sure the
15225 default source file is set properly before running this test.
15226
853819b8
EZ
152272000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15228
15229 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
15230 gdbtk/library directory, not in gdbtcl2.
15231
dfcd3bfb
JM
152322000-02-04 Jim Blandy <jimb@redhat.com>
15233
15234 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
15235 backslash from regexp pattern.
15236
15237 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
15238 procedure. Use it to run all the "continue to bp overloaded"
15239 tests. Note that this changes the names of the tests slightly.
15240 If the breakpoint hit message includes a hex PC value, because
15241 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
15242 from the real source code, still consider that a pass.
15243
15244 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
15245 XFAIL here if the breakpoint message contains a hex address. Note
15246 similar change on 1999-11-02.
15247
15248 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
15249
15250 * gdb.base/ptype.exp: Establish a default source file before
15251 calling get_debug_format.
15252
152532000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
15254
15255 * gdb.base/watchpoint.exp: Remove duplication of test messages.
15256
8b93c638
JM
152572000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
15258
15259 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
15260 of successive stepi commands -- while in the prologue we should see
15261 the function entry bracket.
15262
152632000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
15264
15265 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
15266 reach __change_mode() when stepping through the end of main().
15267
c5394b80
JM
152682000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
15269
15270 * gdb.base/default.exp: Fix expected pattern.
15271 * gdb.base/help.exp: Same.
15272
0d06e24b
JM
152732000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15274
15275 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
15276 Don't use xfail's because that affects only the following test.
d63a86f8 15277
0d06e24b
JM
15278 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
15279 solaris or linux.
15280
15281 * gdb.base/selftest.exp: Update to reflect changes to main.c.
15282
dc96c6c7 152832000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 15284
d63a86f8 15285 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
15286 "A syntax error" rather than "A parse error". Accept both.
15287
152882000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
15289
15290 * gdb.base/default.exp: Remove OS dependent string from "target
15291 remote" test.
15292 * gdb.base/help.exp: Same for "help target remote" test.
15293
c3f6f71d
JM
152942000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15295
15296 From Jim Kingdon <kingdon@redhat.com>:
15297
15298 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
15299 prompt (cleanup rather than necessity, but still might keep output
15300 from spilling to next test).
15301
153022000-01-02 Fred Fish <fnf@cygnus.com>
15303
15304 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
15305 AIX, which defines them in <sys/types.h>.
15306
ed9a39eb 153071999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 15308
ed9a39eb
JM
15309 * gdb.base/default.exp: Match arm* etc instead of arm in "info
15310 float" test.
15311
153121999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 15313
ed9a39eb 15314 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
15315
15316 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
15317 outermost frame disallowed".
15318
153191999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
15320
15321 * gdb.base/setvar.exp: New tests for setting the value of a struct
15322 with a constant list.
15323
153241999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
15325
15326 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
15327 require the user to type a cast before setting the value of a struct.
15328
de57eccd
JM
153291999-12-06 Jim Blandy <jimb@cygnus.com>
15330
15331 * gdb.base/default.exp: Expect the new 'info float' command on
15332 all i386 platforms.
15333
15334 * gdb.threads/linux-dp.exp: Expand our ability to recognize
15335 LinuxThreads libraries that don't support debugging.
15336
c2d11a7d
JM
15337Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
15338
15339 * gdb.base/remote.c: Fill the buffer with truely random data.
15340 Change the buffer type to ``unsigned char'' to simplify size
15341 arithmetic.
15342
15343 * gdb.base/remote.exp: Reduce download numbers by one. Typical
15344 stub only handles 400-1 byte packets. Verify that the download
15345 worked.
15346
153471999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
15348
15349 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
15350 tests, using UNRESOLVED for the untested cases. Also, does not wait
15351 for a timeout if the prompt was received before a recognizable pattern.
15352
153531999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
15354
15355 * lib/gdb.exp (gdb_expect_list): Fix spelling.
15356
153571999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15358
15359 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
15360 watchpoints.
15361
153621999-11-24 Jason Merrill <jason@casey.cygnus.com>
15363
15364 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
15365
15366 * gdb.c++/local.exp: Be more flexible in recognizing local class
15367 name mangling. Don't allow horribly truncated method names.
15368 * gdb.c++/derivation.exp: Expect protected inheritance.
15369 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
15370 * gdb.c++/virtfunc.exp: Likewise.
15371 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
15372 when printing a nested enum.
15373
153741999-11-22 Jim Blandy <jimb@cygnus.com>
15375
15376 * gdb.base/step-test.exp: Properly await GDB's response to setting
15377 a breakpoint on the call to large_struct_by_value.
15378
15379 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
15380 just because we have debug info for the `start' function.
15381
153821999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
15383
15384 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
15385 "Unknown signal" messages, which indicate (on LinuxThreads) that
15386 GDB doesn't know how to debug threads on this system. This is
15387 better than hanging while philosopher 0 dumps chatter into gdb.log.
15388
153891999-11-18 Tom Tromey <tromey@cygnus.com>
15390
15391 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
15392
153931999-11-18 Fred Fish <fnf@cygnus.com>
15394
15395 * gdb.base/coremaker2.c: Add sample program for generating
15396 cores that is more self contained than coremaker.c. Eventually
15397 I'll add more code to this and tie it into the testsuite.
15398
4ce44c66
JM
153991999-11-12 Stan Shebs <shebs@andros.cygnus.com>
15400
15401 * gdb.base/dollar.exp: Remove, now in gdb.hp.
15402
154031999-11-10 Jimmy Guo <guo@cup.hp.com>
15404
15405 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
15406 from $srcdir/lib/.
15407 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
15408 and gdb.c++/.
15409
15410 * gdb.c++/derivation.exp: remove redundant get compiler info code.
15411
d63a86f8 15412 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
15413 'continue with watch' test point.
15414
154151999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
15416
15417 Merged from p2linux-990323-branch:
d63a86f8 15418
4ce44c66
JM
15419 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
15420
11cf8741
JM
15421Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
15422
15423 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
15424 {limit,fixed}''. Test ``set download-write-size''.
15425
15426Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
15427
15428 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
15429 gdb_expect_list.
15430
15431Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
15432
15433 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
15434
154351999-11-03 Mark Salter <msalter@cygnus.com>
15436
15437 * gdb.base/break.exp: Fix "stub continue" pattern.
15438
154391999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
15440
15441 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
15442
154431999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
15444
15445 * gdb.base/display.exp ("finish"): Add timeout clause.
15446
15447 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
15448 plain prompt clause, so this doesn't have to time out in order to
15449 fail.
15450
15451 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
15452 breakpoint hit messages include an address.
15453
15454 * gdb.base/display.exp: Don't forget to escape parens in regular
15455 expressions. Unix regexp notatation sucks.
15456
154571999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15458
15459 * gdb.base/annota1.exp: Test for annotate-signalled: change output
15460 order for 'signalled' message.
15461
5c44784c
JM
154621999-11-01 Stan Shebs <shebs@andros.cygnus.com>
15463
15464 From Jimmy Guo <guo@cup.hp.com>:
15465 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
15466 * gdb.base/annota1.c: Add code for tests to work with.
15467
154681999-10-26 Frank Ch. Eigler <fche@cygnus.com>
15469
15470 * gdb.base/remote.exp: New test for remote downloading settings.
15471 * gdb.base/remote.c: New file with large .data.
15472
917317f4
JM
154731999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
15474
15475 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
15476 for LinuxThreads support, merged from the Code Fusion branch.
15477
15478Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
15479
15480 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
15481 containing exp_continue into a while within an expect. Don't
15482 attempt a start more than three times. Check return value from
15483 gdb_load.
d63a86f8 15484
2df3850c
JM
15485Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
15486
15487 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
15488 a pass case.
15489
2acceee2
JM
154901999-10-01 Kevin Buettner <kevinb@cygnus.com>
15491
15492 * gdb.base/break.c (main): Added a statement that we can step
15493 off of.
15494 * gdb.base/break.exp: Added tests for setting a breakpoint
15495 at an offset and stepping onto a breakpoint.
15496
154971999-10-01 Fred Fish <fnf@cygnus.com>
15498
d63a86f8 15499 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
15500 gdb output.
15501
c2c6d25f
JM
155021999-09-18 Jim Blandy <jimb@cris.red-bean.com>
15503
15504 * gdb.base/break.exp: Code locations are in hex, don't forget!
15505 (For HP-UX.)
15506
155071999-09-17 Stan Shebs <shebs@andros.cygnus.com>
15508
15509 * condbreak.exp: Use break.c as test program.
15510 * condbreak.c: Remove, redundant with break.c.
15511
155121999-09-15 Stan Shebs <shebs@andros.cygnus.com>
15513
15514 * config/monitor.exp (gdb_target_monitor): Disable X- and
15515 Z-packets if the target needs it.
15516
155171999-09-13 James Ingham <jingham@leda.cygnus.com>
15518
15519 * gdb.c++/overload.exp: Added tests for listing overloaded
15520 functions with function pointers in the arg, explicitly calling
15521 out the version you want.
15522
cff3e48b
JM
155231999-09-09 Stan Shebs <shebs@andros.cygnus.com>
15524
15525 * long_long.exp: Add variations of test cases that work for
15526 targets with 16-bit ints and 32-bit doubles.
15527
d4f3574e
SS
155281999-09-08 Stan Shebs <shebs@andros.cygnus.com>
15529
15530 * break.c (main): Compare a possibly-uninitialized argc with an
15531 unlikely value that fits in 16 bits.
15532
155331999-09-07 Stan Shebs <shebs@andros.cygnus.com>
15534
15535 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
15536 0xfeeb, don't want negative numbers if ints are 16 bits.
15537
15538 * lib/gdb.exp (skip_cplus_tests): New proc.
15539 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15540 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
15541 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
15542 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
15543 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
15544 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
15545 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
15546 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
15547
15548 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
15549
15550Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
15551
15552 * gdb.base/corefile.exp (up): Allow a parameter to appear
15553 in the frame that we're going up to.
15554
15555 From Jim Blandy <jimb@cygnus.com>:
15556
15557 * gdb.base/default.exp (info float): Expect some output now.
15558
15559 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
15560 returning floating-point values to fail on the x86.
15561 * gdb.base/callfwmall.exp (do_function_calls): Same.
15562
15563 * gdb.base/list.exp (test_listsize): Correct expectations for
15564 listing line 1 with listsize 2. Also, listing a single line
15565 works now, as does listing three lines. [Kevin's note: There
15566 were a number of other cases fixed too where the expectations
15567 differed...]
15568
155691999-09-02 Stan Shebs <shebs@andros.cygnus.com>
15570
15571 * gdb.base/selftest.exp: Add case for when version prints as
15572 constant string instead of char pointer.
15573
104c1213
JM
155741999-08-25 Stan Shebs <shebs@andros.cygnus.com>
15575
15576 * gdb.base/ending-run.exp: Add Solaris case for what happens when
15577 stepping out of main.
15578
15579 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
15580 G++ used.
15581
15582 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
15583 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
15584
15585 * gdb.c++/ovldbreak.exp: Update match string in test that
15586 includes a warning of multiple breakpoints.
15587
155881999-08-24 Stan Shebs <shebs@andros.cygnus.com>
15589
15590 * gdb.base/display.exp: Improve precision of step-after-finish
15591 added yesterday.
15592
15593 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
15594 test.
15595
15596 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
15597 configs when using G++, not just hppa*.
15598
155991999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15600
15601 * gdb.base/async.c: New file.
15602 * gdb.base/async.exp: New file.
15603
15604Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
15605
15606 * gdb.base/break.exp: Tweak PA specific tests to properly handle
15607 PA64.
15608
53a5351d
JM
15609Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
15610
104c1213
JM
15611 * gdb.base/display.exp: "finish" can leave us mid-line on many
15612 targets, deal with it. Add a small constant to main, instead of
15613 1000 since main+1000 may not be a valid address in the target.
15614
53a5351d
JM
15615 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
15616 on hpux11.
15617
15618 * gdb.base/attach.exp: Handle another hpux11 error message variant
15619 when attaching to a process that does not exist.
15620
156211999-08-19 J.T. Conklin <jtc@redback.com>
15622
15623 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
15624 characters in 'continue to 1241' test.
15625
156261999-08-17 Stan Shebs <shebs@andros.cygnus.com>
15627
15628 * gdb.base/call-ar-st.exp: Add a shorter match case for the
15629 stop in print_long_arg_list, define and use a whitespace
15630 variable in print_small_structs test, add an XFAIL for Solaris.
15631 * gdb.base/dbx.exp: XFAIL func commands until somebody is
15632 interested enough to fix.
15633
7be570e7
JM
156341999-08-13 Keith Seitz <keiths@cygnus.com>
15635
15636 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
15637 (dbx_gdb_load): Remove. Use gdb_load instead, since that
15638 proc knows about targets other than the natives.
15639 (test_assign): Use "gdb_run_cmd" to "run" the target.
15640 Check that we've actually hit the breakpoint at main.
15641 When we attempt to assign a value to a local variable, check
15642 that the variable is in the current scope, i.e., don't use
15643 a test with an empty result.
15644
15645Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
15646
15647 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
15648 command.
15649
156501999-08-09 Stan Shebs <shebs@andros.cygnus.com>
15651
15652 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15653 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
15654 gdb.compat, gdb.threads-hp.
15655 gdb.hp/configure, gdb.hp/configure.in: New files.
15656 gdb.hp/Makefile.in: Recurse into new subdirs.
15657 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
15658 gdb.hp/gdb.objdbg: New directory, tests for debugging info
15659 in object files.
15660 gdb.hp/tools: New directory, aux tools for HP-specific tests.
15661
96baa820
JM
156621999-08-05 Stan Shebs <shebs@andros.cygnus.com>
15663
15664 * gdb.base/display.exp: Help expect by putting a newline in the
15665 funky printf, remove a bogus p/a test.
15666
156671999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15668
15669 * gdb.base/display.exp: Make sure that when we say 'run', we are
15670 connected to the target. This is necessary when running not
15671 natively.
15672
156731999-08-03 Stan Shebs <shebs@andros.cygnus.com>
15674
15675 * gdb.base/step-test.exp: Removed some extraneous messages.
15676
15677 * gdb.base/long_long.exp: Don't run memory examination tests
15678 on little-endian targets (they will need a different set of
15679 results to match).
15680
156811999-08-02 Stan Shebs <shebs@andros.cygnus.com>
15682
15683 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
15684 until somebody decides to fix GDB.
15685
15686 * gdb.base/long_long.c: Stop compiler complaint by specifying long
15687 constant as "ULL".
15688 * gdb.base/long_long.exp: Loosen x/c test, add partial result
15689 matches for a couple x/2 commands.
15690
a0b3c4fd
JM
156911999-07-30 Stan Shebs <shebs@andros.cygnus.com>
15692
15693 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
15694 by merging in ref-types2 tests.
15695 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
15696
15697 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15698 * gdb.c++/Makefile.in: Add standard actions.
15699 (EXECUTABLES): Rename from PROGS, update list.
15700 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
15701 from gdb.hp.
15702 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
15703 foo and bar locals.
15704 * gdb.c++/anon-union.exp: Fix tests to match.
15705 * gdb.c++/classes.exp: Run if HP compiler used, add extra
15706 expect matches to handle output variations.
15707 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
15708 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
15709 output, add HP alternatives for new and delete prints.
15710 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
15711 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
15712 * gdb.c++/demangle.exp: Use $style when reporting failure.
15713 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
15714 * gdb.c++/inherit.exp: Run if HP compiler used, add some
15715 match alternatives.
15716 * gdb.c++/local.exp: Add match alternatives or xfails for HP
15717 compilers.
15718 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
15719 * gdb.c++/method.exp: Add match alternatives.
15720 * gdb.c++/misc.cc: Add bool types.
15721 * gdb.c++/misc.exp: Add tests for bool types.
15722 * gdb.c++/overload.exp: Add xfails.
15723 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
15724 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
15725 add some more template parameter tests (only for HP currently).
15726 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
15727 * gdb.c++/virtfunc.cc: Add return type and value for main.
15728 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
15729 match alternatives.
d63a86f8 15730
a0b3c4fd
JM
157311999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15732
15733 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
15734
157351999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
15736
15737 * gdb.base/signals.exp: Don't expect getting a backtrace from
15738 within a signal handler to fail on Linux.
15739
157401999-07-29 Stan Shebs <shebs@andros.cygnus.com>
15741
15742 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15743 * lib/gdb.exp: Remove some gratuitious semicolons.
15744 (delete_breakpoints): Increase timeout.
15745 (gdb_expect): Add -notransfer option.
15746 (gdb_test): Use -notransfer option.
15747 (get_compiler_info): Add f77 case.
15748 (get_compiler): New proc, split out from gdb_preprocess, add f77
15749 case.
15750 (gdb_preprocess): Call get_compiler.
15751
15752 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
15753 * gdb.base/attach.exp, gdb.base/display.exp,
15754 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
15755 gdb.base/long_long.exp, gdb.base/printcmds.exp,
15756 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
15757 third arg to gdb_test.
15758 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
15759 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
15760 HP-UX xfails, add others.
15761 * gdb.base/completion.exp: Reflect name change of self-test.
15762 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
15763 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
15764 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
15765 HP failure number.
15766 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
15767 useless HP-UX 10.30 references.
15768 * gdb.base/maint.exp: Loosen matches.
15769 * gdb.base/pointers.c (main): Declare more_code.
15770 * gdb.base/pointers.exp: Match on output of a `next'.
15771 * gdb.base/structs.c: Add prototypes.
15772 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
15773 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
15774
157751999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15776
15777 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
15778 command.
15779
157801999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15781
15782 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
15783 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
15784
15785 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
15786 debug info. Deal with lack of signal hanlder info in stack.
15787
a9c64011 15788 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
15789 * gdb.base/annota1.exp: If printf has debug info, deal with it.
15790
5a2468f5
JM
157911999-07-19 Stan Shebs <shebs@andros.cygnus.com>
15792
15793 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
15794 gdb.base/foll-vfork.exp: Don't run for crosses.
15795
adf40b2e
JM
15796Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
15797
15798 * gdb.base/configure.in: Check for gdbvars.exp instead of
15799 a1-selftest.exp.
15800 * gdb.base/configure: Re-generate.
15801
158021999-07-12 Stan Shebs <shebs@andros.cygnus.com>
15803
15804 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
15805 in trying to run first and name is too long.
15806
15807 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
15808 pointers2.c and pointers2.exp, respectively.
15809 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
15810 doschk happier.
15811
43e526b9
JM
158121999-07-08 Stan Shebs <shebs@andros.cygnus.com>
15813
15814 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
15815 callfuncs2.c and callfuncs2.exp.
15816
15817 * gdb.base/list.exp: Remove mistaken xfails.
15818 * gdb.base/list0.h: Add optional prototypes.
15819
9846de1b
JM
15820Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
15821
a9c64011 15822 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
9846de1b 15823 calling malloc.
a9c64011
AS
15824 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
15825 * ptype.exp: Move test for get_debug_format to before its first
9846de1b
JM
15826 use.
15827
158281999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15829
15830 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
15831 * gdb.base/annota2.cc, annota2.exp: Move from here.
15832 * gdb.c++/annota2.cc, annota2.exp: To here.
15833 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
15834
43ff13b4
JM
15835Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
15836
15837 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
15838 a consistent format.
15839
085dd6e6
JM
158401999-06-25 Stan Shebs <shebs@andros.cygnus.com>
15841
15842 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15843 * lib/gdb.exp (get_compiler_info): Add detection for assorted
15844 HP compilers, also set the globals $true and $false.
15845
15846 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
15847 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
15848 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
15849 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
15850 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
15851 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
15852 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
15853 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
15854 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
15855 whatis.c} Add C++ compatible function definitions and return
15856 types, add includes for library functions.
15857 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
15858 * gdb.base/step-test.c (myglob): Rename from glob.
15859 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
15860 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
15861 files, move here from gdb.hp.
15862 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
15863 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
15864 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
15865 Adjust line numbers in regexps.
15866
15867 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
15868 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
15869 instead of 0/1.
15870
15871 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
15872 foll-vfork.exp: New files, move here from gdb.hp.
15873 * gdb.base/page.exp: New file, test of pagination command.
15874
15875 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
15876 recursion test.
15877 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
15878
15879 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
15880 gdb.base/solib.exp: Fix compiler invocation process.
15881
15882 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
15883 HP-UX 11, turn off overload resolution explicitly.
15884 * gdb.base/commands.exp: Set argument list explicitly, add
15885 watchpoint test.
15886 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
15887 them work.
15888 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
15889 expressions properly.
15890 * gdb.base/corefile.exp: Loosen the match slightly.
15891 * gdb.base/default.exp: Allow "Error accessing memory" message
15892 also.
15893 * gdb.base/display.exp: Skip over x/0 j if PA64.
15894 * gdb.base/funcargs.exp: Add xfails for HP-UX.
15895 * gdb.base/interrupt.exp: Ditto.
15896 * gdb.base/langs.exp: Add symbolic matches governed by compiler
15897 in use.
15898 * gdb.base/list.exp: Add xfails for HP-UX.
15899 * gdb.base/long_long.exp: Refine some of the numeric matches.
15900 * gdb.base/mips_pro.exp: Xfail on HP-UX.
15901 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
15902 * gdb.base/nodebug.exp: Succeed on more varieties of output.
15903 * gdb.base/opaque.exp: Remove some HP-UX xfails.
15904 * gdb.base/ptype.exp: Succeed on more varieties of output.
15905 * gdb.base/scope.exp: Add xfails for HP-UX.
15906 * gdb.base/sect-cmd.exp: Add more cases.
15907 * gdb.base/setvar.exp: Add xfails for HP-UX.
15908 * gdb.base/shlib-call.exp: Loosen some matches slightly.
15909 * gdb.base/signals.exp: Match on void symbolically.
15910 * gdb.base/step-test.exp: Add case for PA64.
15911 * gdb.base/term.exp: Add exit and restart.
15912 * gdb.base/twice.exp: Clean up after self.
15913 * gdb.base/varargs.exp: Disable overload resolution explicitly.
15914 * gdb.base/whatis.exp: Allow more ways to pass tests.
15915
15916 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
15917 no longer useful.
15918
15919Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
15920
15921 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
15922 list of patterns.
15923 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
15924 print_double_array(double_array)", "continuing to breakpoint
15925 1018", "print print_double_array(array_d)" and "continuing to
15926 1034" tests.
d63a86f8 15927
085dd6e6
JM
159281999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
15929
a9c64011 15930 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
15931
159321999-06-24 Stan Shebs <shebs@andros.cygnus.com>
15933
15934 * config/mt-*: Remove, these haven't been used since 1996.
15935
159361999-06-22 Stan Shebs <shebs@andros.cygnus.com>
15937
15938 * gdb.base/call-strs.c, gdb.base/ending-run.c,
15939 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
15940 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
15941
9e0b60a8
JM
159421999-06-18 Stan Shebs <shebs@andros.cygnus.com>
15943
15944 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
15945 simpler match case for the ptype of the big class.
15946
159471999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15948
15949 * gdb.exp: Fix test for gdb_prompt existence.
15950
159511999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15952
15953 * gdb.exp (gdb_test): Add fail after calls to perror.
15954
159551999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15956
15957 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
15958
159591999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15960
15961 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
15962
0f71a2f6
JM
15963Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
15964
15965 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
15966 malloc() is linked in.
15967
159681999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
15969
15970 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
15971 step at end.
15972
15973 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
15974
159751999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
15976
15977 * gdb.java/jv-print.exp: New file. (Our first Java test!)
15978
cce74817
JM
15979Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
15980
15981 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
15982 * gdb.base/mips_pro.exp: Likewise.
15983
159841999-06-02 Keith Seitz <keiths@cygnus.com>
15985
15986 * gdb.c++/templates.cc: Change all "new" operators to throw
15987 an exception.
15988 * gdb.c++/cplusfuncs.cc: Likewise.
15989
15990 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
15991
15992Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
15993
15994 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
15995 * gdb.base/ending-run.exp: When stepping out of main, accept a
15996 step into an arbitrary assembler file.
cce74817 15997
392a587b
JM
159981999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15999
d63a86f8 16000 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 16001 "breakpoint-invalid" to be printed.
d63a86f8 16002 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
16003 number of "frames-invalid" and "breakpoint-invalid" to be printed.
16004 * gdb.base/annota2.cc: Initialize a.x to 0.
16005
9e086581
JM
160061999-05-17 Keith Seitz <keiths@cygnus.com>
16007
16008 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
16009 when "skip_float_tests" set.
16010 Ditto for "print print_double_array(array_d)", "print print_small_structs",
16011 "print print_ten_doubles", and "step into print_long_arg_list".
16012 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
16013 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
16014 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
16015 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
16016 "skip_float_tests" is set.
16017 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
16018 when "skip_float_tests" set.
d63a86f8 16019
cd0fc7c3
SS
160201999-05-06 Keith Seitz <keiths@cygnus.com>
16021
16022 * gdb.base/annota2.cc: Include stdio.h.
16023
16024Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
16025
16026 * gdb.base/crossload.exp: Remove, this has been disabled ever
16027 since BFD stopped including all targets, and cross-GDB gets
16028 plenty of testing anyway.
16029 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
16030 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
16031 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
16032 * gdb.base/README: Remove, was doc for this.
16033 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
16034 needed.
16035
b83266a0
SS
160361999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16037
16038 * gdb.base/call-ar-st.exp: Fix one regular expression in test
16039 output.
16040
16041 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
16042 * gdb.base/annota2.exp: New file. More annotation tests.
16043 * gdb.base/annota1.c: New file. Source file for annota1.exp.
16044 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
16045
160461999-04-23 Angela Marie Thomas <angela@cygnus.com>
16047
16048 * config/cfdbug.exp: New file.
16049
7a292a7a
SS
160501999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
16051
16052 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
16053 Marcus Daniel's and Dale Hawkins's demangler crashes.
16054
16055 * gdb.c++/demangle.exp (test_gnu_style_demangling,
16056 test_lucid_style_demangling, test_arm_style_demangling,
16057 test_hp_style_demangling): Try Tom Tromey's core-dumping
16058 identifier under each demangling style.
16059
160601999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
16061
16062 * gdb.c++/demangle.exp: Include the current demangling style
16063 in all test names.
16064 (current_demangling_style): New global variable.
16065 (set_demangling_style, test_demangling_core, test_demangling,
16066 test_demangling_exact): New functions.
16067 (test_gnu_style_demangling, test_lucid_style_demangling,
16068 test_arm_style_demangling, test_hp_style_demangling): Use those,
16069 instead of calling gdb_test and gdb_test_exact directly.
16070 (catch_demangling_errors): New function, which reports errors
16071 signalled by the demangling test functions in an orderly way.
16072 (do_tests): Use catch_demangling_errors.
16073
160741999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
16075
16076 * gdb.base/signals.exp (test_handle_all_print): Use () for
16077 grouping in expressions, not {}.
16078
16079 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
16080 initialized yet.
16081
160821999-04-01 Stan Shebs <shebs@andros.cygnus.com>
16083
16084 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
16085 are listed.
16086
160871999-03-26 Stan Shebs <shebs@andros.cygnus.com>
16088
16089 * gdb.stabs/weird.exp: Test for CC being defined before
16090 looking at its value.
16091
160921999-03-25 Stan Shebs <shebs@andros.cygnus.com>
16093
16094 * gdb.base/call-ar-st.exp: Remove stray '#'.
16095 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
16096 "short int" and "long int".
16097 * gdb.c++/overload.cc: Cast the string added in the previous
16098 change, to mollify finicky HP compiler.
16099 * gdb.hp/reg-test.exp (testfile): Fix file name.
16100 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 16101
7a292a7a
SS
16102 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
16103 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
16104 alternate form of enum ptype.
16105
c906108c
SS
161061999-03-23 Stan Shebs <shebs@andros.cygnus.com>
16107
7a292a7a
SS
16108 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
16109 * gdb.hp/*.exp: Change all to run compiler probe only after
16110 passing skip_hp_tests, so as not to waste time on guaranteed
16111 failure.
16112
c906108c
SS
16113 * gdb.c++/overload.cc: Pass string instead of char addr, always
16114 init ccpfoo.
16115 * gdb.c++/templates.cc: Fix syntax error.
16116
7a292a7a
SS
16117Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16118
16119 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 16120 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
16121 command.
16122
161231999-03-18 James Ingham <jingham@cygnus.com>
16124
16125 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
16126
16127 * gdb.c++/method.exp: It was testing an uninitialized int on the
16128 stack and assuming it was positive.
16129
16130 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
16131
16132 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 16133 keep it from killing the rest of the tests.
7a292a7a
SS
16134 Use gdb_continue_to_end.
16135
16136 * gdb.base/sigall.exp: use gdb_continue_to_end.
16137
16138 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
16139
16140 * gdb.base/display.exp: use runto_main, not run.
16141
d63a86f8
RM
16142 * gdb.base/default.exp: Check for the current error message in the
16143 r abbreviation test.
7a292a7a
SS
16144 Add strongarm to the targets that know info float.
16145
d63a86f8 16146 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
16147 run which doesn't work with monitors.
16148
16149 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
16150
16151 * gdb.base/break.exp: use the gdb_continue_to_end proc.
16152
16153 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
16154 program. Traps the case (in Cygmon) when the program never really
16155 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
16156 more places, so I used my name. Sorry Mark...
16157
16158 * config/monitor.exp (gdb_target_monitor): added another
16159 target_info parameter: remotebinarydownload. This will set the
16160 remotebinarydownload flag if this is causing some boards trouble.
16161
161621999-03-18 Mark Salter <msalter@cygnus.com>
16163
16164 * lib/gdb.exp (continue_to_exit): New function.
16165
16166 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
16167 * gdb.base/ending-run.exp: Ditto.
16168 * gdb.base/step-test.exp: Ditto.
16169
161701999-03-16 Stan Shebs <shebs@andros.cygnus.com>
16171
16172 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
16173 (suggested by Art Haas <ahaas@neosoft.com>).
16174
161751999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
16176
16177 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
16178
16179Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
16180
16181 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
16182 descriptions of types (short unsigned int vs unsigned short, etc).
16183
161841999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
16185
16186 * gdb.base/call-strs.exp: Don't assume that `step' will step over
16187 a call to strlen; sometimes we do have sources.
16188
161891999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
16190
16191 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
16192 character, so GDB won't print garbage after its end.
d63a86f8 16193
c906108c
SS
16194 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
16195 breakpoint there instead. Sometimes GCC emits memcpy to handle
16196 the large structures being passed by value, so we step into that
16197 instead of sum_array_print, which obscures what we're really testing.
16198 * gdb.base/step-test.exp: However, we do want a test that notices
16199 the bizarre steps into memcpy, so do that here. Add check for
16200 stepping into function calls that pass large structures by value.
16201 ("Is that a noun clause, or are you just happy to see me?")
16202 Remove all references to specific line numbers.
16203 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
16204 New type and function.
16205 (main): Call large_struct_by_value, passing it a large struct by value.
16206 * lib/gdb.exp (gdb_get_line_number): New function.
16207
16208 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
16209 more portable.
16210
7a292a7a
SS
162111999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
16212
c906108c
SS
16213 * lib/gdb.exp: Doc fixes.
16214
7a292a7a
SS
162151999-03-05 Nick Clifton <nickc@cygnus.com>
16216
d63a86f8 16217 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
16218
162191999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
16220
c906108c
SS
16221 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
16222 commands. They're not germane to this test, and they don't work
16223 that way on remote targets.
16224
3fc11d3e
JM
162251999-03-01 James Ingham <jingham@cygnus.com>
16226
16227 * Changelog entries merged over from gdb development branch.
16228
3fc11d3e
JM
16229 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
16230
16231 * lib/gdb.exp (gdbtk_analyze_results): Generic function
16232 for outputting results of test run.
16233
2d4a1622 16234 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
16235
16236 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 16237
7a292a7a
SS
162381999-02-25 Felix Lee <flee@cygnus.com>
16239
16240 * lib/gdb.exp (debug_format): initialize
16241
c906108c
SS
162421999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
16243
16244 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
16245 * gdb.base/call-rt-st.c: Ditto.
16246
c906108c
SS
162471999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
16248
16249 * gdb.threads/pthreads.exp (horiz): New variable.
16250 (test_startup): Fix regexps that capture thread numbers.
16251
162521999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
16253
16254 * gdb.base/smoke.exp: Disambiguate two test case names (both
16255 called ``print'').
16256
16257Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
16258
16259 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
16260 compilation.
16261
162621999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
16263
16264 * gdb.base/miscexprs.exp: Change patterns to match GDB's
16265 actual output formatting.
16266 * gdb.base/smoke.exp: GDB removes leading 0's.
16267 * gdb.base/volatile.exp: Don't check type of remuneration;
16268 that variable is no longer defined in constvars.c.
16269 * gdb.base/step-test.c (main): Exit with explicit exit code.
16270 * gdb.base/step-test.exp: Remove two nexti checks--they are
16271 not portable.
16272
162731999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
16274
16275 * gdb.base/help.exp ("help delete display"): Fix test to match
16276 gdb's output.
16277
16278 * gdb.base/long_long.c (known_types): Initialize values to zero.
16279 * gdb.base/long_long.exp: Step one more line
16280 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
16281 leading zeros. Explicitly ask for hex formatting. Use
16282 unique test case names.
c906108c
SS
16283
16284Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16285
d63a86f8 16286 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
16287
16288 * gdb.c++/method.exp: Add missing close brace.
16289
162901999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
16291
16292 * gdb.base/maint.exp: Use 'set height 0' to disable page
16293 prompting, not 'set height 400'.
16294
16295 Fix a bunch of timeouts.
16296 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
16297 four separate tests, so expect doesn't take forever to match a ton
16298 of text against a regexp with lots of .* forms.
16299 ("maint print psymbols", "maint print symbols"): Make some of
16300 these greps more selective, so that expect doesn't try to wade
16301 through huge piles of output and time out.
16302
16303 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
16304
16305 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
16306 tests: one which doesn't expect shlib events to be reported, and
16307 another which does, but is XFAIL for all platforms other than
16308 HP/UX.
16309
16310 * gdb.base/break.exp: Teach the test suite that the `catch
16311 fork', `catch vfork', and `catch exec' commands produce error
16312 messages on platforms that don't provide these features.
16313
16314Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
16315
16316 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
16317 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
16318 (shortening names from solib_threshold.exp etc), won't run on
16319 anything but HP-UX for the foreseeable future.
16320 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
16321 reflect move.
16322
16323Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
16324
16325 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
16326 gdb.trace/Makefile.in (clean): Remove all test executables.
16327
16328Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
16329
16330 * gdb.base/shlib-call.exp: add test cases to verify that gdb
16331 successfully re-sets breakpoints in shared libraries.
16332 * gdb.base/shmain.c (main): return 0, don't fall off the end.
16333
16334Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16335
d63a86f8
RM
16336 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
16337 and compiled w/o GCC.
c906108c
SS
16338
16339 * gdb.hp/watch-cmd.exp: ditto.
16340
16341 * gdb.hp/watch-hp.exp: ditto.
16342
16343 * gdb.hp/xdb1.exp: ditto.
16344
16345 * gdb.hp/xdb2.exp: ditto.
16346
16347 * gdb.hp/dbx.exp: ditto.
16348
16349Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
16350
16351 * constvars.c: Remove C++-isms.
16352 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
16353 with GCC.
16354
16355Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
16356
16357 The following changes are part of the HP merge.
16358
16359 * gdb.base/break.exp: new tests to verify that catchpoints for
16360 fork, vfork, and exec don't trigger inappropriately.
16361
16362 * gdb.base/opaque.exp: compile one file at a time, then link.
16363
16364 * gdb.base/signals.exp: be more restrictive about which hppa
16365 systems receive a setup_xfail. new tests.
16366
16367 * gdb.base/solib_threshold.build: new file.
16368 * gdb.base/solib_threshold.exp: new file.
16369 * gdb.base/solib_threshold.link_opts: new file.
16370 * gdb.base/solib_threshold.mk: new file.
16371 * gdb.base/gen_solib_threshold.c: new file.
16372
16373 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
16374 tests. New tests for enums inside classes.
16375
16376 * gdb.c++/compiler.cc: indicate support of template debugging.
16377
16378 * gdb.c++/demangle.exp: run hp style demangling tests.
16379
16380 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
16381 tests.
16382
16383 * gdb.c++/misc.cc: changes to support new tests.
16384
16385 * gdb.c++/templates.cc: changes to support HP's compiler; changes
16386 to support new tests.
16387
16388 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
16389 gcc, then skip these tests.
16390
16391Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
16392
16393 The following files are part of the HP merge; some had longer
16394 names at HP, but have been renamed to be no more than 14
16395 characters in length.
16396
16397 * gdb.hp/ambiguous.cc: new file.
16398 * gdb.hp/ambiguous.exp: new file.
16399 * gdb.hp/attach.exp: new file.
16400 * gdb.hp/attach2.exp: new file.
16401 * gdb.hp/classes-hp.exp: new file.
16402 * gdb.hp/ctti.exp: new file.
16403 * gdb.hp/ctti-add.cc: new file.
16404 * gdb.hp/ctti-add1.cc: new file.
16405 * gdb.hp/ctti-add2.cc: new file.
16406 * gdb.hp/ctti-add3.cc: new file.
16407 * gdb.hp/dbx.exp: new file.
16408 * gdb.hp/exception.cc: new file.
16409 * gdb.hp/exception.exp: new file.
16410 * gdb.hp/foll-exec.c: new file.
16411 * gdb.hp/foll-exec.exp: new file.
16412 * gdb.hp/foll-fork.c: new file.
16413 * gdb.hp/foll-fork.exp: new file.
16414 * gdb.hp/foll-vfork.c: new file.
16415 * gdb.hp/foll-vfork.exp: new file.
16416 * gdb.hp/inherit-hp.exp: new file.
16417 * gdb.hp/more-steps.exp: new file.
16418 * gdb.hp/namespace.cc: new file.
16419 * gdb.hp/namespace.exp: new file.
16420 * gdb.hp/optimize.exp: new file.
16421 * gdb.hp/pxdb.c: new file.
16422 * gdb.hp/pxdb.exp: new file.
16423 * gdb.hp/quicksort.exp: new file.
16424 * gdb.hp/reg-test.exp: new file.
16425 * gdb.hp/reg-test.s: new file.
16426 * gdb.hp/sized-enum.c: new file.
16427 * gdb.hp/sized-enum.exp: new file.
16428 * gdb.hp/start-stop.exp: new file.
16429 * gdb.hp/templ-hp.cc: new file.
16430 * gdb.hp/templ-hp.exp: new file.
16431 * gdb.hp/thr-lib.c: new file.
16432 * gdb.hp/thr-lib.exp: new file.
16433 * gdb.hp/thr-lib.h: new file.
16434 * gdb.hp/thr-liblib.c: new file.
16435 * gdb.hp/virtfun-hp.c: new file.
16436 * gdb.hp/virtfun-hp.exp: new file.
16437 * gdb.hp/watch-cmd.exp: new file.
16438 * gdb.hp/watch-hp.exp: new file.
16439 * gdb.hp/xdb1.exp: new file.
16440 * gdb.hp/xdb2.exp: new file.
16441 * gdb.hp/xdb3.exp: new file.
16442
16443Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
16444
16445 The following files are part of the HP merge; some had longer
16446 names at HP, but have been renamed to be no more than 14
16447 characters in length.
16448
16449 * gdb.base/ss.h: new file.
16450 * gdb.base/call-ar-st.c: new file.
16451 * gdb.base/call-ar-st.exp: new file.
16452 * gdb.base/call-rt-st.c: new file.
16453 * gdb.base/call-rt-st-exp: new file.
16454 * gdb.base/call-strs.exp: new file.
16455 * gdb.base/ena-dis-br.exp: new file.
16456 * gdb.base/environ.exp: new file.
16457 * gdb.base/long_long.exp: new file.
16458 * gdb.base/sect-cmd.exp: new file.
16459 * gdb.base/shlib-cl2.exp: new file.
16460 * gdb.base/smoke.exp: new file.
16461 * gdb.base/so-impl-ld.c: new file.
16462 * gdb.base/so-impl-ld.exp: new file.
16463 * gdb.base/so-indr-cl.c: new file.
16464 * gdb.base/so-indr-cl.exp: new file.
16465 * gdb.base/varargs.exp: new file.
16466 * gdb.base/volatile.exp: new file.
16467 * gdb.base/whatis-exp.exp: new file.
7a292a7a 16468 * gdb.base/display.exp: new file.
c906108c
SS
16469 * gdb.c++/derivation.exp: new file.
16470 * gdb.c++/local.exp: new file.
16471 * gdb.c++/member-ptr.exp: new file.
16472 * gdb.c++/overload.exp: new file.
16473 * gdb.c++/ovldbreak.exp: new file.
16474 * gdb.c++/ref-types.exp: new file.
16475 * gdb.c++/ref-types2.exp: new file.
16476 * gdb.c++/userdef.exp: new file.
d63a86f8 16477
c906108c
SS
16478Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
16479
16480 * gdb.base/default.exp: Reflect wording change in remote.c.
16481
dc96c6c7 16482Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16483
16484 * gdb.base/help.exp: Update to reflect current text.
16485
16486Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
16487
16488 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
16489 they're stack variables and contain garbage.
16490 * gdb.c++/anon-union.exp: new file.
16491
16492 The following changes were made by David Taylor
16493 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
16494 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
16495 in changes by HP.
16496
16497 * gdb.base/bitops.exp: new file.
16498 * gdb.base/default.exp: change expected messages for catch and
16499 info catch tests to reflect HP merge changes.
16500 * gdb.base/enable-disable-break.exp
16501 * gdb.base/ending-run.c: new file.
16502 * gdb.base/long_long.c: new file.
16503 * gdb.base/maint.exp: new file.
16504 * gdb.base/pointers2.exp: new file.
16505 * gdb.base/shlib-call2.exp: new file.
16506 * gdb.base/solib.exp: new file.
16507 * gdb.base/step-test.c: new file.
16508 * gdb.c++/anon-union.cc: new file.
16509 * gdb.c++/local.cc: new file.
16510 * gdb.c++/member-pointer.cc: new file.
16511 * gdb.c++/method.cc: new file.
16512 * gdb.c++/ref-types.cc: new file.
16513 * gdb.c++/ref-types2.cc: new file.
16514 * gdb.c++/userdef.cc: new file.
d63a86f8 16515
c906108c
SS
16516 * gdb.base/scope.exp: compile one file at a time, then link.
16517 * gdb.base/langs.exp: ditto.
16518 * gdb.base/list.exp: ditto.
d63a86f8 16519
c906108c
SS
16520Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
16521
16522 The following changes were made by David Taylor
16523 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
16524 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
16525 in changes by HP.
d63a86f8 16526
c906108c
SS
16527 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
16528 skip tests. When compiling pass c++ flag to gdb_compile.
16529 * gdb.c++/
d63a86f8 16530
c906108c
SS
16531 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
16532 test for on hppa*-*-hpux*; use args to see if c++ was specified.
16533 (skip_hp_tests): new function.
16534 (gdb_preprocess): new function.
16535
16536 * configure.in (hpdir): decide whether to configure gdb.hp.
16537 * configure: regenerated.
16538
16539 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
16540 to delete on clean.
16541 (EXECUTABLES): update to reflect new additions.
16542 * gdb.base/commands.exp: update message expected.
16543 * gdb.base/default.exp: add copyright notice.
16544 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
16545 * gdb.base/help.exp: update messages to reflect current text.
16546 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
16547 targets for recurse tests.
16548 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
16549 skip this file.
16550
16551 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
16552 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
16553 compilation.
16554 * gdb.c++/misc.exp: ditto.
16555 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
16556 run the tests. tell gdb_compile that it's a c++ compilation.
16557
16558 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 16559
c906108c
SS
16560 * gdb.base/all-bin.exp: new file.
16561 * gdb.base/arithmet.exp: new file.
16562 * gdb.base/assign.exp: new file.
16563 * gdb.base/completion.exp: new file.
16564 * gdb.base/cond-expr.exp: new file.
16565 * gdb.base/condbreak.exp: new file.
16566 * gdb.base/define.exp: new file.
16567 * gdb.base/dollar.exp: new file.
16568 * gdb.base/environment.exp: new file.
16569 * gdb.base/eval-skip.exp: new file.
16570 * gdb.base/jump.exp: new file.
16571 * gdb.base/logical.exp: new file.
16572 * gdb.base/pointers.exp: new file.
16573 * gdb.base/relational.exp: new file.
16574 * gdb.base/section_command.exp: new file.
16575 * gdb.base/whatis-expr.exp: new file.
16576
16577 * gdb.base/all-types.c: new file.
16578 * gdb.base/call-array-struct.c: new file.
16579 * gdb.base/call-return-struct.c: new file.
16580 * gdb.base/call-strings.c: new file.
16581 * gdb.base/callfuncs2.c: new file.
16582 * gdb.base/condbreak.c: new file.
16583 * gdb.base/constvars.c: new file.
16584 * gdb.base/display.c: new file.
16585 * gdb.base/int-type.c: new file.
16586 * gdb.base/jump.c: new file.
16587 * gdb.base/miscexprs.c: new file.
16588 * gdb.base/pointers.c: new file.
16589 * gdb.base/pointers2.c: new file.
16590 * gdb.base/shmain.c: new file.
16591 * gdb.base/shr1.c: new file.
16592 * gdb.base/shr2.c: new file.
16593 * gdb.base/solib.c: new file.
16594 * gdb.base/solib1.c: new file.
16595 * gdb.base/solib2.c: new file.
16596 * gdb.base/varargs.c: new file.
16597 * gdb.c++/derivation.cc: new file.
16598 * gdb.c++/overload.cc: new file.
16599 * gdb.c++/ovldbreak.cc: new file.
16600 * gdb.hp/attach.c: new file.
16601 * gdb.hp/attach2.c: new file.
16602 * gdb.hp/average.c: new file.
16603 * gdb.hp/compiler.c: new file.
16604 * gdb.hp/compiler.cc: new file.
16605 * gdb.hp/execd-program.c: new file.
16606 * gdb.hp/follow-exec.c: new file.
16607 * gdb.hp/follow-fork.c: new file.
16608 * gdb.hp/follow-vfork-and-exec.c: new file.
16609 * gdb.hp/misc-hp.cc: new file.
16610 * gdb.hp/more-steps.c: new file.
16611 * gdb.hp/optimize.c: new file.
16612 * gdb.hp/quicksort.c: new file.
16613 * gdb.hp/run-hp.c: new file.
16614 * gdb.hp/start-stop.c: new file.
16615 * gdb.hp/sum.c: new file.
16616 * gdb.hp/templates-hp.cc: new file.
16617 * gdb.hp/thread-local-in-lib.c: new file.
16618 * gdb.hp/thread-local-in-lib.h: new file.
16619 * gdb.hp/thread-local-in-lib.lib.c: new file.
16620 * gdb.hp/vforked-program.c: new file.
16621 * gdb.hp/virtfunc-hp.cc: new file.
16622 * gdb.hp/watchpoint-hp.c: new file.
16623 * gdb.hp/xdb.c: new file.
16624 * gdb.hp/xdb0.c: new file.
16625 * gdb.hp/xdb0.h: new file.
16626 * gdb.hp/xdb1.c: new file.
16627
16628Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
16629
16630 The following change was made by Edith Epstein
16631 <eepstein@cygnus.com> as part of a project to merge in changes
16632 originally made by HP; HP did not create ChangeLog entries.
16633
16634 * gdb.c++/demangle.exp: changed the expected output for some
16635 ARM-style mangling -- removed second reference to datatype.
16636 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 16637 T1<char>::~T1<char>(void)
c906108c 16638 becomes,
a9c64011
AS
16639 maint demangle __dt__11T1__pt__2_cFv
16640 T1<char>::~T1(void)
c906108c
SS
16641
16642 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 16643
c906108c
SS
16644Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
16645
16646 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
16647 * gdb.trace/backtrace.exp: Likewise.
16648 * gdb.trace/circ.exp: Likewise.
16649 * gdb.trace/collection.exp: Likewise.
16650 * gdb.trace/deltrace.exp: Likewise.
16651 * gdb.trace/infotrace.exp: Likewise.
16652 * gdb.trace/limits.exp: Likewise.
16653 * gdb.trace/packetlen.exp: Likewise.
16654 * gdb.trace/passc-dyn.exp: Likewise.
16655 * gdb.trace/passcount.exp: Likewise.
16656 * gdb.trace/report.exp: Likewise.
16657 * gdb.trace/save-trace.exp: Likewise.
16658 * gdb.trace/tfind.exp: Likewise.
16659 * gdb.trace/tracecmd.exp: Likewise.
16660 * gdb.trace/while-dyn.exp: Likewise.
16661 * gdb.trace/while-stepping.exp: Likewise.
16662
166631998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
16664
16665 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
16666
16667Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
16668
16669 From Brendan Kehoe:
16670 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
16671 int return types.
16672
16673Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
16674
16675 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
16676 remote dos host testing right.
16677
16678Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
16679
16680 * gdb.base/corefile.exp: remove some xfails.
16681
16682Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
16683
16684 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
16685 have different timestamps.
16686
16687Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
16688
16689 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
16690 gdb.base/default.exp: Replace "exec" with "executable".
16691
16692Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
16693
16694 * gdb.base/default.exp: Change else if to elseif from previous
16695 delta.
16696
16697Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
16698
16699 * gdb.base/default.exp: Add brace missing from previous delta.
16700
16701Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
16702
16703 * gdb.base/default.exp: Support test for info float for all
16704 varieties of arm toolchain.
16705
dc96c6c7 16706Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16707
16708 * gdb.trace/*.exp: remove "remote_download" command.
16709
dc96c6c7 16710Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16711
16712 * gdb.trace/*.exp: remove -gdwarf from compile.
16713
16714Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
16715
16716 * gdb.trace/configure.in(AC_INIT): typo
16717 * gdb.trace/configure: regenerated
16718
dc96c6c7 16719Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16720
16721 * config/m68k-emc.exp: New file.
16722 * lib/<emc-support.exp trace-support.exp}: New files.
16723 * configure.in: add new test directory gdb.trace.
16724 * gdb.trace/{configure configure.in Makefile.in}: New files.
16725 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
16726 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
16727 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
16728 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
16729 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
16730 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
16731 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 16732
dc96c6c7 16733Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16734
16735 * gdb.c++/classes.exp: Change all regular expressions to match
16736 arbitrary combinations of newline/carriage-return, so that they
16737 will work equally well on Unix and Windows.
16738 * gdb.c++/inherit.exp: ditto.
16739 * gdb.c++/virtfunc.exp: ditto.
16740
167411998-08-11 Dawn Perchik <dawn@cygnus.com>
16742
16743 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
16744
c2d11a7d
JM
16745Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
16746
16747 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
16748 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
16749 to use a0-a3/d0-d3 as needed.
16750
16751Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
16752
16753 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
16754 * gdb.disasm/am33.exp: Corresponding changes.
16755
c906108c
SS
167561998-07-11 Felix Lee <flee@cygnus.com>
16757
16758 * gdb.base/callfuncs.exp: add cmp10 test.
16759 * gdb.base/callfuncs.c (cmp10): new function.
16760
16761Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
16762
d63a86f8 16763 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
16764 into two parts to get around a synchronization problem in expect.
16765
3fc11d3e
JM
16766Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
16767
16768 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
16769
16770 * configure.in: Add options for gdbtk testsuite.
16771
16772 * configure: Regenerate.
16773
16774 * gdb.gdbtk: New directory to hold gdbtk tests.
16775
c906108c
SS
16776Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16777
16778 * gdb.fortran/types.exp: Escape brackets in expect patterns
16779 for test_float_literal_types_accepted tests.
16780 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
16781 before run test.
16782
c2d11a7d
JM
16783Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
16784
16785 * am33.exp: Just compile, do not link the testcase.
16786 * am33.s: Add ".am33" pseudoop to force am33 mode.
16787
c906108c
SS
167881998-06-25 Felix Lee <flee@cygnus.com>
16789
16790 * gdb.base/setshow.exp: make sure $pc is sane.
16791
16792 * gdb.stabs/weird.exp: split expect patterns properly.
16793
c2d11a7d
JM
16794Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
16795
16796 * gdb.disasm/am33.s: New disassembler testfile for the am33.
16797 * gdb.disasm/am33.exp: Run it.
16798
dc96c6c7 16799Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16800
16801 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
16802 match processing (and eliminate spurious timeouts when running).
16803
dc96c6c7 16804Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16805
16806 * gdb.base/signals.exp (test_handle_all_print): put back Mach
16807 exception test, but conditionalize it on target [mach | gnu].
16808
dc96c6c7 16809Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16810
16811 * gdb.base/overlays.exp: fixup compile line for linker script.
16812
16813Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
16814
16815 * gdb.fortran/types.exp: don't guess at float size.
16816
16817Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
16818
16819 * gdb.base/exprs.exp: delete test that depends on int size.
16820
16821Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
16822
16823 * config/sim.exp: Removed checks for target triplets.
16824 (gdb_target_sim): Use gdb,target_sim_options.
16825
16826Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
16827
16828 * gdb.base/reread.exp: New file.
16829 * gdb.base/reread1.c: New file.
16830 * gdb.base/reread2.c: New file.
16831
16832Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
16833
16834 * config/sim.exp: Use 'target sim -sparclite' when running
16835 SPARClite programs.
16836
16837Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
16838
16839 * gdb.base/structs2.exp: New file.
16840 * gdb.base/structs2.c: New file.
16841
16842Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
16843
16844 * gdb.asm/common.inc: New file.
16845 * gdb.asm/d10v.inc: New file.
16846 * asm-source.exp: Pass -I's to gas to find .inc files.
16847 Update line numbers in expected output.
16848 * asmsrc1.s: Rewrite.
16849 * asmsrc2.s: Rewrite.
16850 * configure.in: Create arch.inc symlink.
16851 * configure: Regenerate.
16852 * Makefile.in (distclean): Delete arch.inc.
16853
16854Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
16855
16856 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
16857 (t_enum_value2): ditto
16858 (t_enum_value3): ditto
16859 (main): ditto
16860Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16861
16862 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
16863 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
16864 change.
16865 Use gdb_test instead of send_gdb/gdb_expect sequences.
16866
16867Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
16868
16869 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
16870 not void.
16871
16872Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
16873
16874 * gdb.base/branches.c: Code with lots of loops and
16875 subroutines. Used to test gdbs ability to single step through PC
16876 changes, especially to test mips-tdep.c:mips_next_pc
16877
16878Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
16879
16880 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
16881 more rigorous EGCS C++ error checking.
16882
16883Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16884
a9c64011
AS
16885 * gdb.base/help.exp: Clean up `help set args' and `help show args'
16886 tests.
16887 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
16888 function when asleep.
16889 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
16890 for i*86 Linux and SVR4 signal handling problems.
16891 Remove linux xfail for `next to handler in signals_tests_1', fixed
16892 by recent infrun.c change.
16893 Limit backtrace to 10 frames to avoid timeout problems with infinite
16894 stack backtraces.
16895 Adjust expect pattern in `handle all print' test to match Apr 28 1997
16896 target.[ch] change.
c906108c
SS
16897
16898Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
16899
16900 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
16901 for a newline from gdb before continuing.
16902 (default_gdb_exit): Just look for y or n.
16903 (gdb_test): Detect abnormal exit from GDB running on DOS; if
16904 it does, fail the rests of the tests in the file.
16905
16906Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
16907
16908 * config/cygmon.exp: New file.
16909
16910Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
16911
16912 * gdb.base/list.exp: Fix problem with "list default lines around
16913 main" test on remote targets.
16914
16915 * gdb.base/scope.exp: Fix problem with filelocal_bss before
16916 run test on remote targets.
16917
16918Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
16919
16920 * gdb.asm: New directory.
16921 * configure.in: Configure it.
16922 * configure: Regenerate.
16923 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
16924 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
16925
16926Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
16927
16928 * config/mn10300-eval.exp: New file to support MN10300 eval board.
16929
dc96c6c7 16930Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 16931
a9c64011
AS
16932 * gdb.base/overlays (several files): Merge the two overlay
16933 managers into one. Change variables (foox, barx, bazx, grbxx)
16934 back into ints but force them to load in their proper sections.
c906108c
SS
16935
16936Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
16937
16938 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
16939 on-chip insn memory and IMAP1 to upper 128k.
16940 (D10VCopy): Handle memory regions crossing 16k boundaries.
16941 (D10VCopy): Transfer data in 32 bit chunks.
16942
16943Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
16944
16945 * gdb.base/overlays.c (main): Exit normally when result is
16946 correct.
16947
16948 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
16949 map. Include space for printf in .text segment.
16950
16951 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
16952 updated d10v memory VMA/LMA map.
16953 (D10VCopy): Call D10VTranslate.
d63a86f8 16954
c906108c
SS
16955Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
16956
16957 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
16958
16959 * gdb.base/bar.c (barx, bar): Change variable to small array so
16960 that it won't be put into the .sdata - small data -
16961 section. Update reference.
16962 * gdb.base/baz.c (bazx, baz): Ditto.
16963 * gdb.base/foo.c (foox, foo): Ditto.
16964 * gdb.base/grbx.c (grbxx, grbx): Ditto.
16965
16966 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
16967 to be arrays.
d63a86f8 16968
dc96c6c7 16969Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 16970
a9c64011
AS
16971 * gdb.base/overlays.exp: fix up and get working again.
16972 Add tests for backtraces from an overlay function.
d63a86f8 16973
c906108c
SS
16974Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
16975
16976 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
16977 "calling function with watchpoint enabled".
16978
16979Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
16980
16981 * gdb.base/break.exp (test_next_with_recursion): Remove
16982 gdb_suppress_tests for d10v-*-*.
16983 * lib/gdb.exp (gdb_suppress_tests): Disable this function
16984 pending review of whether it is useful or not.
16985
16986Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
16987
16988 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
16989
16990Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
16991
16992 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
16993 * config/dve.exp: New file to support Densan boards.
16994
16995Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
16996
16997 * gdb.base/interrupt.exp: Document problem of simulators, signals,
16998 reads and BSD.
16999
17000Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
17001
17002 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
17003 response.
17004
17005 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
17006
17007Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
17008
17009 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
17010 test.
17011
17012 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
17013 target_sizeof_long and target_bigendian_p.
17014 (structs_by_value, structs_by_reference): Check values according
17015 to targets word size and endianess.
d63a86f8 17016
c906108c
SS
17017Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
17018
17019 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
17020 output.
17021
17022Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
17023
17024 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
17025 Update test of set args help to match source change.
17026
17027Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
17028
17029 * gdb.base/default.exp: Expect help system output to be in
17030 alphabetical order.
17031 * gdb.base/help.exp: Ditto.
17032
17033Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
17034
17035 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
17036 "i*86-pc-linux-gnu*".
17037 * gdb.base/interrupt.exp: Ditto.
17038 * gdb.base/corefile.exp: Ditto.
17039
17040 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
17041 define vxworks when building the testcase.
17042
17043 * gdb.base/ptype.exp: Fix testnames to be unique.
17044 * gdb.base/radix.exp: Ditto.
17045 * gdb.base/term.exp: Ditto.
17046 * gdb.base/whatis.exp: Ditto.
17047 * gdb.c++/classes.exp: Ditto.
17048
17049Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
17050
17051 * gdb.base/callfuncs.exp: Fix indentation.
17052
17053 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
17054 suppress_flag has been set.
17055 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
17056 target feature.
17057
17058Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
17059
17060 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
17061 the testcase.
17062
17063 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
17064 set_debug_traps() and breakpoint().
17065 * gdb.c++/misc.cc (main): Ditto.
17066 * gdb.c++/templates.cc (main): Ditto.
17067 * gdb.c++/virtfunc.cc (main): Ditto.
17068
17069Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
17070
17071 * lib/gdb.exp(gdb_step_for_stub): New function.
17072 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
17073 exists, reload the executable and do a "continue" instead of
17074 doing a jump.
17075 (runto_main): Use gdb_step_for_stub.
d63a86f8 17076
c906108c
SS
17077 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
17078 tests to have unique names.
17079 * gdb.base/callfuncs.exp: Ditto.
17080 * gdb.base/commands.exp: Ditto.
17081 * gdb.base/default.exp: Ditto.
17082 * gdb.base/help.exp: Ditto.
17083 * gdb.base/list.exp: Ditto.
17084 * gdb.base/opaque.exp: Ditto.
17085 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
17086 similar tests.
d63a86f8 17087
c906108c
SS
17088 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
17089 * gdb.c++/cplusfuncs.cc: Ditto.
17090 * gdb.c++/virtfunc.cc: Ditto.
17091
17092 * config/monitor.exp: Keep track of the last file we saw, rather
17093 than trying to get the info from gdb.
17094
17095 * gdb.fortran/types.exp: Move comment to previous line.
17096
17097Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
17098
17099 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
17100 target mode.
17101
17102Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
17103
17104 From Bob Manson:
17105 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
17106 string from GDB when it connects.
17107
17108 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
17109
17110Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
17111
17112 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
17113 if we can't get a debug format from GDB (we may be testing an
17114 older GDB). Use a 10 second timeout when checking for the format.
17115
17116 * gdb.stabs/weird.exp: Fix quoting.
17117
17118 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
17119
17120Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
17121
17122 * config/arm-ice.exp: New file.
17123
17124Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
17125
17126 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
17127 until it has been modified to work with the new testsuite.
17128
99707966 17129 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
17130 testcase won't compile, cause all of the testcases in the file to
17131 fail instead.
17132
17133 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
17134 (gdb_clear_suppressed): New procedure.
17135 (gdb_stop_suppressing_tests): Only clear suppress_flag if
17136 it contains a positive value.
17137
17138Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
17139
17140 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
17141
17142 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
17143
17144Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
17145
17146 * lib/gdb.exp (setup_xfail_format): New function.
17147 (get_debug_format): New function to get debug format.
17148 (debug_format): New global variable to hold last value set
17149 by get_debug_format.
17150 * gdb.base/list.exp: Call get_debug_format and expect some
17151 tests to fail for DWARF 1 and COFF formats.
17152 * gdb.c++/ptype.exp: Ditto.
17153 * gdb.c++/classes.exp: Ditto.
17154 * gdb.c++/cplusfuncs.exp: Ditto.
17155 * gdb.c++/inherit.exp: Ditto.
17156 * gdb.c++/templates.exp: Ditto.
17157 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 17158
c906108c
SS
17159Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
17160
17161 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
17162 host doesn't have a currently-open connection.
17163
17164 * config/sparclet.exp: Cleanups and fixes to make it generic for
17165 any gdb stub target. Handle cases where gdb doesn't respond when
17166 interrupted in a sane fashion.
17167
17168 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
17169 same thing in a totally different way.
17170
17171 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
17172 setting "timeout".
17173 (gdb_start): We set the global gdb_prompt variable in
17174 default_gdb_init now.
17175
17176Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
17177
17178 * gdb.base/printcmds.exp: Fix "check for floating addition"
17179 regexp to accept results within approx +/- .01 of exact value.
17180 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
17181
17182Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
17183
17184 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
17185 properly.
17186 (gdb_expect): Add optional timeout parameter, and add timeout
17187 value to various calls.
17188 (gdb_suppress_tests): Only give one warning message per group.
17189
17190Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
17191
17192 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
17193 global variables. Handle getting a value for $timeout more
17194 gracefully.
17195
17196Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
17197
17198 * lib/gdb.exp: Close connection to remote host if gdb doesn't
17199 initialize.
17200 (default_gdb_init): New procedure; allow gdb_init to be overridden
17201 by a target configuration file.
17202 (gdb_expect): Pass the timeout to remote_expect.
17203
17204 * config/monitor.exp(gdb_load): Fix typo in regexp.
17205
17206Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
17207
17208 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
17209
17210Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
17211
17212 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
17213 here. Call gdb_target_exec before rebooting the target, to make
17214 sure the connection to the target is closed.
17215 (gdb_load): Pass the name of the executable to gdb_target_monitor.
17216 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
17217 Also detect "Timeout reading from remote" error.
17218
17219 * config/gdbserver.exp: Pass the executable being loaded to
17220 gdb_target_monitor. Don't call gdb_file_cmd here; let
17221 gdb_target_monitor do it.
17222
17223 * gdb.disasm/hppa.exp: Don't use exec_output.
17224
17225Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
17226
17227 * gdb.base/list.exp: If we're debugging a non-native target,
17228 try to set the pc register to point to the start of the
17229 program before doing the first list command.
17230
17231 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
17232 test_calls after restarting.
17233
17234 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
17235 reloading.
17236
17237 * gdb.base/watchpoint.exp: Fix typo.
17238
17239 * gdb.base/setshow.exp: Check for use_gdb_stub.
17240
17241 * gdb.base/break.exp: Fix continue until exit test for the gdb
17242 stub case.
17243 * gdb.base/langs.exp: Ditto.
17244
17245 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
17246 gdb_load_offset. If we weren't given a file to load, figure out
17247 what the current file is and use it.
17248
17249 * config/i386-bozo.exp: New file.
17250
17251Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
17252
17253 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
17254 feature.
17255
17256 * config/proelf.exp: New entry.
17257
17258Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
17259
17260 * lib/gdb.exp: Remove spurious .* patterns at the beginning
17261 of regexps.
17262
17263 * gdb.base/watchpoint.exp: Don't run the test_stepping
17264 tests if gdb can't call functions on the target.
17265
17266 * gdb.base/setshow.exp: Don't run the set prompt tests if
17267 the board has gdb_prompt set.
17268
17269Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
17270
17271 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
17272 * gdb.base/commands.exp: Likewise.
17273 * gdb.base/setshow.exp: Likewise.
17274
17275Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
17276
17277 * config/monitor.exp(gdb_start): Look for gdb_prompt target
17278 feature.
17279
17280 * config/i960.exp: New file.
17281
17282Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
17283
17284 * gdb.base/funcargs.exp: Check for gdb,short_int target
17285 feature instead of looking for explicit target triplets.
17286
dc96c6c7 17287Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 17288
d63a86f8 17289 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
17290 "p 123DEADBEEF", to check parse_number.
17291 * top.c: change "to enable to enable" to "to enable" in a couple
17292 of help strings.
17293
17294Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
17295
17296 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
17297 on the mn10300.
d63a86f8 17298
c906108c
SS
17299Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
17300
17301 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
17302 where the test executable is run with explicit args.
17303 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
17304
17305Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
17306
17307 * gdb.base/run.c: Use FAKEARGV to build test executable that
17308 does not require a command line arg, since most simulators
17309 don't currently support passing such an arg into the simulated
17310 program.
17311 * gdb.base/commands.exp: Change tests to insert the proper
17312 value as the arg to the first recursive factorial call. Change
17313 compilation line to define FAKEARGV at compile time.
17314
17315Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
17316
17317 * gdb.base/recurse.exp: Enable these tests for the mn10300.
17318 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
17319 function with watchpoint enabled" test.
17320
17321Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
17322
17323 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
17324 Don't call gdb_test when the command doesn't return to a gdb prompt.
17325
17326 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
17327 "Tests restarted" messages.
17328
17329Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
17330
17331 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
17332
dc96c6c7 17333Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17334
17335 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
17336 for INFO SYMBOL; add help tests for OVERLAY commands.
17337 * gdb.base/default.exp: add tests for INFO SYMBOL command;
17338 add tests for OVERLAY commands
17339 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
17340 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
17341 * gdb.base/sigall.c: add usestubs code frag
17342 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 17343
c906108c
SS
17344Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
17345
17346 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
17347 failures.
17348 (gdb_stop_suppressing_tests): Note that tests have restarted.
17349
17350Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
17351
17352 * config/h8300.exp: New file.
17353
17354Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
17355
17356 * gdb.base/setshow.exp: Check for the existence of a
17357 feature, not its value.
17358
17359Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
17360
17361 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
17362
17363 * gdb.base/scope.exp: It's now init0(), not init().
17364
17365 * gdb.base/scope0.c: For now, change init() to be init0().
17366
17367 * config/monitor.exp: Use gdb_serial in preference to serial
17368 or netport.
17369
17370 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
17371 and it's not already set.
17372
17373Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
17374
17375 * gdb.base/setshow.exp: Only test the run command if the target
17376 isn't using a stub and if it supports argument passing.
17377
17378Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
17379
17380 * config/udi.exp(gdb_start): Make sure UDICONF is set
17381 properly before starting gdb.
17382
17383Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
17384
17385 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
17386 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
17387 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
17388
17389Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
17390
17391 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
17392 specialized code to reboot the board, use remote_reboot instead.
17393
17394 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
17395
17396 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
17397
17398 * config/monitor.exp: Make sure we disconnect from the target.
17399 Also, try a reboot/reload cycle instead of failing if the
17400 load fails.
17401
17402Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
17403
17404 * gdb.base/default.exp: Don't set match_max.
17405 * gdb.base/help.exp: Ditto.
17406 * gdb.base/list.exp: Ditto.
17407 * gdb.base/signals.exp: Ditto.
17408
17409 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
17410 set, use remote_ld to download the testcase instead of
17411 the GDB loader.
17412
17413Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
17414
17415 * config/vr5000.exp: New file.
17416
17417 * config/monitor.exp(gdb_target_monitor): Add pattern for
17418 "Ending remote" to detect errors in connecting.
17419
17420 * gdb.base/setshow.exp: Add .* within auto language test.
17421
17422 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
17423 target feature.
17424
17425 * config/monitor.exp(gdb_load): Check for a failure when loading,
17426 and reboot the board if necessary.
17427
17428 * gdb.base/setvar.exp(test_set): Handle multiple prints within
17429 a set of tests. Remove print.* from the patterns being checked.
17430
17431Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
17432
17433 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
17434 refer to gdb_spawn_id.
17435
17436 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
17437 longer used.
17438 * config/sparclet.exp: Ditto.
17439 * config/sparclet-old.exp: Ditto.
17440 * config/slite.exp: Ditto.
17441 * config/sim.exp: Ditto.
17442 * gdb.base/funcargs.exp: Ditto.
17443
17444 * lib/gdb.exp:Remove references to gdb_spawn_id.
17445 (gdb_expect): Move to remote.exp.
17446
17447Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
17448
17449 * config/monitor.exp: Detect the "Couldn't establish connection"
17450 message from GDB.
17451
17452Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
17453
17454 * gdb.base/bitfields.exp: Use runto instead of explicit
17455 gdb_run_cmd/gdb_expect sequences.
17456
17457 * gdb.base/break.exp(text_next_with_recursion): Add match for
17458 gdb_expect call.
17459
17460 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
17461 We also need to handle the "A program is being debugged already"
17462 prompt from gdb. Use gdb_test to set the baud rate.
17463
17464 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
17465 to 20000. Really. I mean it.
17466
17467Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
17468
17469 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
17470 fails. If suppress_flag is set, skip perror message about not
17471 being able to send to GDB.
17472 (send_gdb): If suppress_flag is set, don't try to send commands to
17473 GDB.
17474 (gdb_expect): If suppress_flag is set, always fail immediately.
17475 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
17476 (gdb_init): Call gdb_stop_suppressing_tests.
17477 (default_gdb_exit): Ditto.
17478 (default_gdb_start): Ditto.
17479
17480 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
17481 gdb_stop_suppressing_tests as appropriate.
17482 * gdb.base/break.exp: Ditto.
17483 * gdb.base/callfuncs.exp: Ditto.
17484 * gdb.base/commands.exp: Ditto.
17485 * gdb.base/exprs.exp: Ditto.
17486 * gdb.base/funcargs.exp: Ditto.
17487 * gdb.base/list.exp: Ditto.
17488 * gdb.base/recurse.exp: Ditto.
17489 * gdb.base/scope.exp: Ditto.
17490 * gdb.base/structs.exp: Ditto.
17491 * gdb.c++/inherit.exp: Ditto.
17492
17493Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
17494
17495 * config/vr4300.exp: New file.
17496
99707966 17497 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 17498
99707966 17499 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
17500
17501Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
17502
17503 * lib/gdb.exp(gdb_init): New function.
17504
17505 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
17506 for each individual variable set.
17507
17508 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
17509 name.
17510
17511 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
17512
17513 * gdb.base/scope.exp: Use gdb_test.
17514
17515 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
17516 aborting; the testsuite driver will do that for us (see
17517 gdb_finish). Also, use gdb_test in a few more places.
17518
17519Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
17520
17521 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
17522
17523Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
17524
17525 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
17526 and "add_tests" are not at the same address.
17527
17528Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
17529
17530 * gdb.base/ptype.exp: Use gdb_test.
17531
17532Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
17533
17534 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
17535 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
17536 left in. No longer expect them to fail.
17537
17538 * gdb.stabs/*.mt; Deleted, no longer used.
17539 * gdb.stabs/configure.in: Remove references to target makefile
17540 frags.
17541 * gdb.stabs/configure: Rebuilt.
17542
17543 * gdb.disasm/*.mt: Deleted, no longer used.
17544 * gdb.disasm/configure.in: Remove references to target makefile
17545 frags. Use "sh3.s" as the unique filename for this directory.
17546 * gdb.disasm/configure: Rebuilt.
17547
17548 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
17549 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
17550 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
17551
17552Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
17553
17554 * config/udi.exp: Use mondfe,name instead of remote_host.
17555
17556Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
17557
17558 * gdb.base/watchpoint.exp: Don't expect a failure when calling
17559 a function with a watchpoint enabled on the mn10200.
17560
17561 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
17562 before trying to create it!
17563
17564Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
17565
17566 * config/vx.exp: Use hostname instead of netport.
17567
17568 * config/vxworks.exp: New file.
17569
17570 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
17571
17572 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
17573 gdb before assuming everything worked. Send a ^C if a timeout
17574 occurs.
17575
17576 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
17577 $gdb_spawn_id directly.
17578 (gdb_run_cmd): Try _start as well as start. Use the target feature
17579 gdb,start_symbol as the symbol to start from when jumping.
17580
17581Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
17582
17583 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
17584 redundant) test.
17585
17586 * gdb.base/recurse.exp: Relax final value test for 'b' so that
17587 it doesn't lose for 16bit integer systems.
17588
17589Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
17590
17591 * gdb.fortran/types.exp: If the target doesn't support "double"
17592 data types, then expect "real" types to only be 4 bytes.
17593
17594 * gdb.c++/virtfunc.exp: Expect failure for virtual function
17595 call tests if the target doesn't support inferior function calls.
17596
17597 * gdb.base/printcmds.exp: Allow minor deviation in FP values
17598 in printf tests.
17599
17600Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
17601
17602 * gdb.base/help.exp: Disable "help set", "help show", and
17603 "help support". Simplify regexp for "help stack".
17604
17605 * gdb.base/default.exp: Set match_max to 5000 and the timeout
17606 to 60 seconds. Temporarily set match_max to 15000 around the
17607 "info copying" test.
17608
17609 * gdb.base/nodebug.exp: Don't try to do an inferior function
17610 call if the target doesn't support them.
17611 * gdb.base/printcmds.exp: Likewise.
17612 * gdb.base/setvar.exp: Likewise.
17613 * gdb.base/structs.exp: Likewise.
17614 * gdb.c++/templates.exp: Likewise.
17615 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
17616
17617 * gdb.base/recurse.exp: Enable for the mn10200.
17618
17619 * configure.in: Do configure gdb.stabs directory for *-*-elf
17620 targets.
17621 * configure: Rebuilt.
17622
17623 * gdb.base/break.exp: Check for gdb,noresults before testing
17624 exit status and/or results from the target.
17625 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
17626 * lib/gdb.exp: Remove old (now bogus) initialization of
17627 noinferior, noargs, noresults and nosignals.
17628
17629Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
17630
17631 * config/sh.exp: New file.
17632
17633 * config/slite.exp: Try to connect multiple times to the board
17634 before rebooting. Only send a "monitor run" if need_monitor_run
17635 is set.
17636
17637 * gdb.base/break.exp: Don't do the "stub continue" test if
17638 the target has gdb_stub set.
17639
17640 * gdb.base/callfuncs.exp: Increase the timeout.
17641
17642 * gdb.base/interrupt.exp: Don't even try to compile the testcase
17643 if the target has gdb,noinferiorio set.
17644
17645 * gdb.base/list.exp: Increase match_max to 10000 characters.
17646
17647 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
17648
17649 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
17650 target.
17651
17652 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
17653
17654Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
17655
17656 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
17657 trying to delete the copy of gdb. Catch the file delete so we
17658 don't die if the delete fails; also, the file should be copied to
17659 the host, not to the build.
17660
17661Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
17662
17663 * lib/gdb.exp(gdb_test): Surround the result pattern with
17664 parenthesis in case it contains multiple regexps separated
17665 with |.
17666
17667 * gdb.base/watchpoint.exp: Use gdb_test.
17668 * gdb.base/default.exp: Ditto.
17669
17670Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
17671
99707966 17672 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 17673
c906108c
SS
17674 * gdb.base/scope.exp: Use gdb_test.
17675 * gdb.c++/classes.exp: Ditto.
17676 * gdb.c++/inherit.exp: Ditto.
17677
17678Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
17679
17680 * gdb.base/crossload.exp: Don't use execute_anywhere, use
17681 remote_exec instead.
17682 * gdb.base/corefile.exp: Don't be ridiculous.
17683 * gdb.base/*.c: Add missing stub invocations.
17684
17685Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
17686
17687 * config/slite.exp: Miscellaneous fixes.
17688
17689 * lib/gdb.exp: Fix runto.
17690
17691 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
17692 the target.
17693
17694 * gdb.base/watchpoint.exp: Fix regexp.
17695
17696 * lib/gdb.exp(default_gdb_exit): Add a catch to the
17697 close and wait commands, as the descriptor may now be
17698 invalid. Always call "remote_close host".
17699
17700Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
17701
17702 Major rewrite for testsuite revision.
d63a86f8 17703
c906108c
SS
17704 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
17705 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
17706 instead of relying on spawn_id to always contain a valid
17707 spawn id.
17708 (get_compiler_info): New procedure to build the ${binfile}.ci
17709 file, instead of replicating this in N different places.
17710 (gdb_compile): New procedure.
d63a86f8 17711
c906108c
SS
17712 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
17713 appropriate arguments) instead of compile. Use gdb_test in a lot
17714 more places. Use send_gdb instead of send. Always run gdb_start
17715 at the start of a testcase, as this is no longer done magically.
17716
17717 config/*-gdb.exp: Rename without the -gdb suffix.
17718
17719 config/mips.exp: Use remote_close instead of exit_remote_shell.
17720 config/monitor.exp: Use target_info instead of looking at
17721 baud, timeout, etc.
17722 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
17723
17724Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17725
17726 * gdb.c++/templates.exp (test_ptype_of_templates),
17727 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
17728 Update expect patterns for destructors and assignment operators
17729 to match corresponding c-typeprint.c changes.
17730 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
17731 to destructor breakpoint test, GDB should be able to set the
17732 destructor breakpoint without specifying arguments.
17733
17734Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
17735
17736 * gdb.threads/pthreads.exp: Change result for failure to compile due
17737 to lack of pthreads runtime support from an error to simply an
17738 unsupported test, per dejagnu standards.
17739
17740Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17741
17742 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
17743 where GDB exits to reduce pattern match time.
17744 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
17745
17746 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
17747
dc96c6c7 17748Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17749
17750 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
17751 * gdb.base/default.exp: ditto.
17752 * gdb.base/nodebug.exp: ditto.
17753 * gdb.base/printcmds.exp: ditto.
17754 * gdb.base/ptype.exp: ditto.
17755 * gdb.base/setvar.exp: ditto.
17756 * gdb.base/structs.exp: ditto.
17757 * gdb.base/setshow.c: Guard against uninitialized values of argc.
17758
17759Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
17760
17761 * configure, */configure: Rebuild with autoconf 2.12.
17762
17763Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
17764
17765 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
17766 use new i*86-pc-linux*-gnu quads.
17767 * gdb.base/corefile.exp: Ditto.
17768 * gdb.base/signals.exp: Ditto.
17769 * gdb.base/sigall.exp: Ditto.
17770 * gdb.base/interrupt.exp: Ditto.
17771
17772 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
17773 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
17774 RedHat 4.0.
d63a86f8 17775
c906108c
SS
17776 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
17777 linux. This allows the test case to at least compile on latest
17778 linux, but still not run due to missing the threads runtime library.
17779
17780Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17781
17782 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
17783 directory to search gdb directory. Accept and step over conditional
17784 stack alignment code. Consume $prompt in failure cases.
17785 Reset timeout to $oldtimeout instead of some arbitrary value.
17786 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
17787 timeout problems with infinite stack backtraces.
17788 * gdb.base/ptype.exp (ptype struct link, union tu_link):
17789 Accept function parameters for linkfunc member.
17790
17791Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
17792
17793 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
17794 (CXXFLAGS): Remove, unreferenced.
17795 (B_OPTIONS): Add for -B options and add code to initialize with
17796 previous -B options and also add -B option to pick up cross compiled
17797 runtime.
17798 (TARGET_INCLUDES): Add for -I options and add code to initialize when
17799 doing cross compiles.
17800 (target_alias): Declare global.
17801 (xgcc): Set variable to full path of gcc in build tree. Use findfile
17802 to verify that gcc exists in build tree, and if so set CC to that
17803 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 17804
c906108c
SS
17805Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
17806
17807 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
17808 ptype test for anonymous union. Fixup testcase to match
17809 current gcc debug output.
17810
17811Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
17812
17813 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
17814 force argument to an unsigned long type.
17815
17816Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
17817
17818 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
17819 tests and anonymous union print/ptype tests.
17820 * gdb.base/list.exp (test_forward-search): Increase timeout by
17821 5 minutes for the "search extremely long line" case.
17822 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
17823 completely optional and that the pass/fail messages use the command as
17824 the message if that third arg is a null string.
17825 (gdb_test_exact): Arrange that a null string pattern means match a
17826 null string output rather than any output, which might include random
17827 errors.
17828 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
17829 backtrace test.
17830 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
17831 always failing and failure is now exposed by gdb.exp changes.
17832
17833Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
17834
17835 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
17836 weren't being noted.
17837
17838Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17839
17840 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
17841 * gdb.stabs/weird.exp: Remove v_comb xfails.
17842
dc96c6c7 17843Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17844
17845 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 17846 list.exp scope.exp watchpoint.exp]
c906108c 17847 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 17848
dc96c6c7 17849Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17850
17851 * config/monitor.exp: Increase download timeout to 1000 seconds.
17852
dc96c6c7 17853Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17854
17855 * config/m32r.exp: Increase timeout to 120 seconds.
17856
17857Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
17858
17859 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
17860 and accept older ordering as obsolescent gcc or gdb.
17861 * gdb.c++/templates.exp: Ditto.
17862 * gdb.c++/virtfunc.exp: Ditto.
17863
17864Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
17865
17866 * gdb.base/coremaker.c: Add code to mmap some data so we
17867 can check that it ends up in the core file.
17868 * gdb.base/corefile.exp: Add test to read mmapped data
17869 from core file.
17870
dc96c6c7 17871Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17872
17873 * config/m32r.exp: New file.
17874
17875Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
17876
17877 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
17878 that cflags can contains -gstabs, and work correctly for other tests.
17879
dc96c6c7 17880Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17881
17882 * gdb.base/setshow.exp: New file, tests show and set.
17883 * gdb.base/setshow.c: New file, tests show and set.
17884 * gdb.base/help.exp: Add test for help set|show annotate.
17885 * gdb.base/default.exp: Add test for set|show annotate.
17886
17887Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
17888
17889 * testsuite/gdb.base/break.exp: Make backtrace from factorial
17890 errors unique.
17891 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
17892 explicitly.
17893
17894Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
17895
17896 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
17897 and width commands. This is done elsewhere.
17898 * (gdb_start): Don't call gdb_start_sim here. That's already
17899 done in gdb_load. This fixes lots of failures in default.exp.
17900
17901Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
17902
17903 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
17904 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
17905 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
17906 in the same we we treat other failures (since it may be an expected
17907 condition), rather than as an error.
17908 * gdb.base/signals.exp (test_handle_all_print): Revert back to
17909 old test format.
17910
17911Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
17912
17913 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
17914 (distclean maintainer-clean realclean): No need to remove files
17915 twice. Nuke the duplicates.
17916 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 17917 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
17918 Remove config.h along with other config files.
17919
17920Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
17921
17922 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
17923 "p func1 ()" and note that rests of tests are skipped.
17924 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
17925 setup_xfails for "print func2::coremaker_local".
17926 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
17927 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
17928 affected by the previous run test.
17929 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
17930 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
17931 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
17932 "pass int powerset tuple" and "pass modeless int powerset tuple".
17933 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
17934 "real write 4" and "real write 8".
17935 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
17936 setup_xfails for "print vs1 after tuple assign 2",
17937 "print \$i after tuple assign 2", and
17938 "print vs2 after tuple assign 2".
17939 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
17940 meaningful error message and return -1 so the caller can
17941 suppress further tests and avoid a cascade of errors.
d63a86f8 17942
c906108c
SS
17943Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
17944
17945 * gdb.base/a1-selftest.exp: Tweak tests to account for new
17946 format for printing version.
17947 * gdb.base/default.exp: Ditto.
17948 * gdb.base/interrupt.exp: Fix problem with cascade of
17949 errors if child process dies while calling a function.
d63a86f8 17950
c906108c
SS
17951Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
17952
17953 * Makefile.in (VPATH): Add
17954 * Makefile.in (Makefile, config.status): Fix rules so things get
17955 remade when necessary.
17956
17957Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
17958
17959 * Makefile.in (just-check): Add path to sibling expect dir
17960 to environment variable specified by RPATH_ENVVAR.
17961
17962Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
17963
17964 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
17965 (just-check): Add shared library paths for libstdc++, tk,
17966 tcl, bfd, and opcodes to the environment variable specified
17967 in RPATH_ENVVAR.
17968 * configure.in: Add support to recognize --enable-shared flag
17969 and generate correct value for RPATH_ENVVAR.
17970 * configure: Regenerated with autoconf.
17971
17972Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
17973
17974 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
17975 include all osf versions.
17976 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
17977 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
17978 when target is linux. When failing to build pthreads test
17979 executable, give more meaningful message.
17980 * gdb.threads/pthreads.c: Hpux also uses old definition of second
17981 arg for pthread_create.
d63a86f8 17982
c906108c
SS
17983Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
17984
17985 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
17986 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
17987 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
17988 and -lpthreads (everybody else).
17989 (test_startup): Fail gracefully if threads are not supported.
17990 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
17991 "p/c array_index("abcdef",2)" when not gcc compiled.
17992 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
17993 "print func2::coremaker_local" when not gcc compiled.
17994 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
17995 "ptype on opaque struct tagname (statically)",
17996 "ptype on opaque struct tagname (dynamically) 1", and
17997 "ptype on opaque struct tagname (dynamically) 2"
17998 for not compiled with gcc.
17999 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
18000 backtrace when compiled with gcc.
d63a86f8 18001 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
18002 than always return success.
18003
18004Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
18005
18006 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
18007
18008Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
18009
18010 * gdb.base/structs.exp: Undo last change.
18011
18012Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
18013
18014 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
18015 encapsulate all the steps/nexts done during self test, starting
18016 at main, and makes them less sensitive to optimization issues.
18017 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
18018 signal handler" test.
18019 * gdb.threads/pthreads.exp: Only run this for native configs.
18020 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
18021 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
18022 tests.
18023 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
18024 for "runto test_calls(void)" test.
d63a86f8 18025
c906108c
SS
18026Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
18027
18028 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
18029 and don't expect address info in breakpoint confirmations.
18030
18031Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
18032
18033 * gdb.base/list.exp (test_forward_search): Increase timeout
18034 temporarily by 60 seconds for searching extremely long line,
18035 and then reset to old value when done. Increase expect input
18036 buffer to 10000.
18037
18038Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
18039
18040 * gdb.base/list.exp (test_forward_search): Fix to handle very
18041 long source line without overflowing expect's input buffer.
18042
18043Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
18044
18045 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
18046 "buffer_full".
18047
18048 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
18049 "buffer_full".
18050
18051 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
18052 "buffer_full".
18053
18054 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
18055 "buffer_full".
18056
18057Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
18058
18059 * configure.in (configdirs): Add gdb.threads.
18060 * configure: Regenerated with autoconf.
18061 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
18062 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
18063 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 18064
c906108c
SS
18065Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
18066
18067 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
18068
18069Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
18070
18071 * gdb.base/signals.exp (test_handle_all_print): Test separately for
18072 each signal's status in the output of "handle all print".
18073 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
18074 the \r\n sequence that immediately precedes the gdb prompt.
18075 * gdb.base/a1-selftest.exp: Save original timeout and restore
18076 after test.
18077
18078Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
18079
18080 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
18081 symbol.
18082
18083Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
18084
18085 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
18086
18087Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
18088
18089 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
18090 timeout by 60 seconds.
18091
18092Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
18093
18094 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
18095 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
18096 error return.
18097
18098Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
18099
18100 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
18101 gdb initialization, also report how long dejagnu waited. Restore
18102 old timeout before doing error return. Temporarily increase timeout
18103 by 3 minutes to allow for slow startups over heavy NFS use.
18104
18105Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
18106
18107 * lib/gdb.exp: Report timeout value for verbosity level 2.
18108 * config/gdbserver.exp: Ditto.
18109 * config/hppro.exp: Ditto.
18110 * config/mips-gdb.exp: Ditto.
18111 * config/monitor.exp: Ditto.
18112 * config/netware.exp: Ditto.
18113 * config/sim-gdb.exp: Ditto.
18114 * config/slite-gdb.exp: Ditto.
18115 * config/udi-gdb.exp: Ditto.
18116 * config/unix-gdb.exp: Ditto.
18117 * config/vx-gdb.exp: Ditto.
18118 * gdb.base/a1-selftest.exp: Ditto.
18119 * gdb.base/a2-run.exp: Ditto.
18120 * gdb.base/break.exp: Ditto.
18121 * gdb.base/corefile.exp: Ditto.
18122 * gdb.base/list.exp: Ditto.
18123 * gdb.base/recurse.exp: Ditto.
18124 * gdb.base/scope.exp: Ditto.
18125 * gdb.base/signals.exp: Ditto.
18126
18127Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
18128
18129 * gdb.threads/Makefile.in (docdir): Removed.
18130
18131Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
18132
18133 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 18134 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 18135 @srcdir@.
d63a86f8 18136 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
18137 autoconf 2.5 or higher.
18138 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
18139
18140Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
18141
18142 * configure: Regenerated.
18143 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
18144 avoid name clashes with SunOS headers.
18145
18146Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
18147
18148 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
18149
18150Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
18151
18152 * gdb.base/callfuncs.exp: Finish last change -- make sure the
18153 prototype information ends up in the compiler info file.
18154
18155Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
18156
18157 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
18158 attempting to regenerate it. Eliminate use of a temporary file
18159 and just generate the info file directly. Source it immediately,
18160 for consistency of use.
18161 * gdb.base/corefile.exp: Ditto
18162 * gdb.base/exprs.exp: Ditto.
18163 * gdb.base/funcargs.exp: Ditto.
18164 * gdb.base/langs.exp: Ditto.
18165 * gdb.base/list.exp: Ditto.
18166 * gdb.base/mips_pro.exp: Ditto.
18167 * gdb.base/nodebug.exp: Ditto.
18168 * gdb.base/opaque.exp: Ditto.
18169 * gdb.base/ptype.exp: Ditto.
18170 * gdb.base/scope.exp: Ditto.
18171 * gdb.base/setvar.exp: Ditto.
18172 * gdb.base/signals.exp: Ditto.
18173 * gdb.base/whatis.exp: Ditto.
18174 * gdb.c++/templates.exp: Ditto.
18175 * gdb.c++/virtfunc.exp: Ditto.
18176 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
18177 whether or not to add -lstdc++ to the compile command line args.
18178
18179Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18180
18181 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
18182 it got fixed by the recent lookup_minimal_symbol_by_pc change.
18183 Increase timeout, a lot of single stepping might be needed if the
18184 target has no hardware watchpoints.
18185
18186Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
18187
18188 * gdb.base/break.exp: Ignore compiler warnings when compiling
18189 break.c.
18190 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
18191 * gdb.base/default.exp: Add h8300 xfails. Handle messages
18192 from remote-sim.
18193 * gdb.base/exprs.exp: Add h8300 xfails.
18194 * gdb.base/funcargs.exp: Likewise.
18195 * gdb.base/nodebug.exp: Likewise.
18196 * gdb.base/printcmds.exp: Likewise.
18197 * gdb.base/ptype.exp: Likewise.
18198 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
18199 h8300 xfails.
d63a86f8 18200 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
18201 on the h8300.
18202 * gdb.base/funcargs.c: Explicitly make last constant argument to
18203 call_after_alloca_subr an unsigned long type.
18204 * gdb.base/return.c: Include stdio.h.
18205
18206Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
18207
18208 * config/abug.exp: New file for the older Motorola Bug monitor
18209 that runs on the mvme13x series VME boards.
18210 * config/monitor.exp: Use the new config array for target settings
18211 if they exist.
18212
18213Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
18214
18215 * sim-gdb.exp: Make the SH simulator allocate less space when
18216 it is targeted.
18217
18218Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
18219
18220 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
18221 test.
18222
18223Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
18224
18225 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
18226 "rs6000-*-*" for "list function in include file" when gcc compiled.
18227 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
18228 for "p ctable1[120]".
18229 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
18230 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
18231 Remove setup_xfail for "rs6000-*-*" for
18232 "print 'scope0.c'::filelocal before run".
18233 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
18234 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
18235 since some compilers don't allow both options to be given
18236 on the same command line. Create object file and move it.
d63a86f8 18237
c906108c
SS
18238Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
18239
18240 * gdb.base/corefile.exp: Always regenerate the core file, since
18241 we always regenerate the coremaker program. Detect special case
18242 where registers cannot be read from core file.
d63a86f8 18243
c906108c
SS
18244Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
18245
18246 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
18247 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
18248 * gdb.c++/templates.exp: Only match on basename of file since
18249 some formats like xcoff don't encode directory information.
18250 * gdb.stabs/weird.exp: Use the right sed script for powerpc
18251 and rs6000 AIX xcoff targets.
18252 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
18253 * configure: Regenerate.
18254 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
18255 here, rather than in distclean.
d63a86f8 18256
c906108c
SS
18257Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
18258
18259 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
18260 defined, and use it to compile the test case with -O2. The
18261 native compilation still uses no optimization.
18262 * gdb.base/mips_pro.c: Remove inline assembly code since
18263 it is compiled PIC by default, which results in assembler
18264 warnings that make the testsuite think the compilation
18265 was unsuccessful.
18266
18267Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
18268
18269 * gdb.c++/misc.exp: Add note to message for
18270 "print s.a for foo struct" that this is a known gcc 2.7.2
18271 and earlier bug.
18272
18273Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
18274
18275 * gdb.base/break.exp: Fix pattern for matching "Delete all
18276 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
18277 setup_xfail for deleting all breakpoints test. Fix various
18278 timeout messages to include "(timeout)".
18279 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
18280 for "p t_float_values2(3.14159,float_val2)".
18281 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
18282 for "continue to call2g" when gcc compiled.
18283 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
18284 "up to foo in langs.exp", "show language at foo in langs.exp",
18285 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
18286 and "show language at fsub in langs.exp".
18287 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
18288 "list line 1 in include file", "list message for lines past EOF",
18289 "list function in include file", "list list0.h:foo", and
18290 "list filename:function; nonexistant function".
18291 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
18292 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
18293 and "ptype t_char_array" to be for native cc only.
d63a86f8 18294
c906108c
SS
18295Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
18296
d63a86f8 18297 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
18298 setup_xfail for "print coremaker_bss", "print coremaker_ro",
18299 "print func2::coremaker_local", and "backtrace in corefile.exp".
18300
18301Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
18302
18303 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
18304 "bt in signals.exp". This problem only appears when running
18305 the testsuite, and then only intermittently.
18306
18307Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
18308
18309 * gdb.base/return.exp (return_tests): Differentiate between
18310 two tests of continuing.
18311
18312Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
18313
18314 * */Makefile.in (maintainer-clean): Remove config.log.
18315 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
18316 * gdb.c++/Makefile.in (PROGS): Add inherit.
18317 (clean): Remove *.ci.
18318
18319Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
18320
18321 * gdb.c++/misc.cc: Add test code from Mike Stump.
18322 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
18323
18324Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
18325
18326 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
18327 to "alpha-*-osf2*" and add comment.
18328 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
18329 setup_xfail for "step over execarg initialization" and
18330 "step over corearg initialization".
18331 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
18332 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
18333 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
18334 gcc compiled for "print coremaker_bss", "print coremaker_ro",
18335 "print func2::coremaker_local", and "backtrace in corefile.exp".
18336 * gdb.base/signals.exp: Build and source signals.ci.
18337 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
18338 to be for gcc only.
18339 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 18340
c906108c
SS
18341Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18342
18343 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
18344 Feb 3 procfs.c change.
18345
18346Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
18347
18348 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
18349
18350Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
18351
18352 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
18353 from dejagnu's apparent default of 10 seconds, which gives random
18354 results when running the tests over NFS on moderately loaded systems.
18355 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
18356
18357Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
18358
18359 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
18360 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
18361 result reports.
18362
18363Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
18364
18365 * configure.in (CY_AC_PATH_TCLH): Remove.
18366 * configure: Regenerate.
18367
18368Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
18369
18370 * gdb.c++/Makefile.in (clean): Add missing '{'.
18371
18372Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
18373
18374 * lib/gdb.exp: Provide a default value for noinferior.
18375
18376 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
18377 Load libgloss.exp.
18378
18379Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
18380
18381 * gdb.disasm/hppa.exp: Compile directly into an executable, use
18382 the executable, not the .o to run the tests from.
18383
18384Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
18385
18386 * gdb.base/break.exp: Don't test for program exit or exit status
18387 if $noresults if nonzero.
18388 * gdb.base/langs.exp: Likewise.
18389 * gdb.base/watchpoint.exp: Likewise.
18390
18391 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
18392 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
18393 trying to compile the testcase.
18394
18395Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
18396
18397 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
18398 * gdb.base/signals.exp (continue to handler): Likewise.
18399
18400Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
18401
18402 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
18403
18404 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
18405
18406Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
18407
18408 * gdb.base/corefile.exp: Recognize "not found" as failure
18409 when trying to determine if a core file was generated.
18410 If no core file was generate the first time, try again without
18411 the ulimit -c to work around braindamaged shells.
18412
18413Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
18414
18415 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
18416 [] tests with "test" and enclose string in quotes.
18417 * gdb.stabs/configure: Rebuild
d63a86f8 18418
c906108c
SS
18419Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
18420
18421 Changes in sync with expect:
18422 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
18423 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
18424 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
18425 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
18426 argument to AC_REQUIRE.
18427 * configure: Regenerated.
18428
18429Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
18430
18431 * gdb.base/corefile.exp: When generating a core, discard any
18432 error messages about ulimit not found and the "core dumped"
18433 message from the shell that runs the coredumper.
18434
18435Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
18436
18437 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
18438
18439 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
18440 which sed script to run. Expect failure for v_comb test
18441 on PA targets too.
d63a86f8 18442
c906108c
SS
18443Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
18444
18445 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
18446 "print func2::coremaker_local" and for "backtrace in corefile.exp"
18447
18448Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
18449
18450 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
18451 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
18452 "sparc-sun-solaris*" xfails for "p v_comb".
18453 * lib/gdb.exp (default_gdb_start): Fix typo.
18454 * gdb.base/corefile.exp: Allow "Core was generated by ..."
18455 messages to not include the full program name that caused
18456 the core dump since some systems (such as solaris) apparently
18457 truncate this path to about 80 characters.
18458 When generating a core file first try increasing the core file
18459 size limit to unlimited since some systems may default it to
18460 zero, and it is harmless to try it. Move the test for failing
18461 to generate a core file to where it will actually get executed.
18462 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
18463 new gdb result from g++ debug info improvements and make old
18464 pattern obsolescent. Also account for size_t differences
18465 (may be int or long).
18466 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
18467 initialization before function call is placed in the delay slot
18468 and thus appears to be skipped over by commands such as "next".
18469
18470Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
18471
18472 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
18473
18474Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
18475
18476 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
18477 input source file; fix code to compile test to deal with this
18478 convention.
18479 * gdb.c++/*.exp: Likewise.
18480
18481Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
18482
18483 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
18484 "bt in signals.exp".
18485
18486Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
18487
18488 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
18489 "step over execarg initialization" and
18490 "step over corearg initialization".
18491
18492Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
18493
18494 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
18495 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
18496
18497Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
18498
18499 From Rob Savoye (rob@poseidon.cygnus.com)
18500 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
18501 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
18502 configure.in}, gdb.disasm/{Makefile.in, configure.in},
18503 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
18504 configure.in}: Major reworking for autoconfig.
18505 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
18506 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
18507 New files.
18508 * config/unix-gdb.exp: Make GDB global.
18509 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
18510 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
18511 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
18512 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
18513 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
18514 term.exp, twice.exp, watchpoint.exp, whatis.exp},
18515 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
18516 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
18517 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
18518 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
18519 pr-8136.exp, result.exp, string.exp, tuples.exp},
18520 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
18521 to returns as necessary, arrange for test to compile own testcase
18522 executable.
18523 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 18524
c906108c
SS
18525Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
18526
18527 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
18528 clear_xfail at end of test which might not call either pass or fail.
18529 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
18530 "backtrace through signal handler".
18531
18532Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18533
18534 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
18535 continuing from a job control stop signal.
18536 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
18537
18538Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
18539
18540 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
18541 * gdb.base/corefile.exp: Likewise.
18542 * gdb.base/funcargs.exp: Likewise.
18543
18544Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
18545
18546 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
18547 * config/monitor.exp: Add support for setting baud rate.
18548
18549Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
18550
18551 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
18552 i*86-*-linux* xfails for "backtrace through signal handler".
18553 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
18554 "print func2::coremaker_local".
18555 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
18556 alpha-dec-osf2* xfail for
18557 "delete all breakpoints when none".
18558
18559Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
18560
18561 * gdb.base/break.exp: Change test that deletes all breakpoints
18562 when no user breakpoints are installed. A post 4.15 change
18563 causes gdb to no longer prompt in this case.
18564
18565Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
18566
18567 * gdb.base/return.exp (return_tests): Change xfail for test
18568 "correct value returned double test" to stop xfailing at
18569 Solaris 2.5. Apparently the bug has been fixed.
18570
18571Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
18572
18573 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
18574 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
18575
18576Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
18577
18578 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
18579 * gdb.disasm/hppa.s: Corresponding changes.
18580
18581Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
18582
18583 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
18584 makefile fragment.
18585 * config/mt-hpux: Deleted.
18586
18587Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
18588
d63a86f8 18589 * Many files: When warning about suppressed tests due to a
c906108c
SS
18590 nonexistant test binary, avoid incrementing the warning count.
18591
18592Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
18593
18594 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 18595
c906108c
SS
18596Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18597
18598 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
18599 "sparc-*-solaris2*".
18600
18601Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18602
18603 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
18604 Add global and local variables and initialize them.
18605 * gdb.base/corefile.exp: Test correct mapping of corefile sections
18606 by printing variables. Remove rs6000 and powerpc xfails, BFD now
18607 extracts the file name and terminating signal from the core file.
18608 * TODO: Remove note about tests for correct mapping of corefile.
18609 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
18610 from optimizing it away.
18611 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
18612 handles common blocks.
18613
18614Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
18615
18616 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
18617 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
18618
18619Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
18620
18621 * Makefile.in (maintainer-clean): New target, synonym for
18622 realclean.
18623 * gdb.base/Makefile.in (maintainer-clean): Likewise.
18624 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
18625 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
18626 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
18627 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
18628 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
18629
18630Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
18631
18632 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
18633 xfails when not gcc compiled for "print foo::funclocal".
18634 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
18635 "print foo::funclocal at foo",
18636 "print 'scope1.c'::foo::funclocal at foo",
18637 "print foo::funclocal_bss at foo",
18638 "print 'scope1.c'::foo::funclocal_bss at foo",
18639 "print foo::funclocal_ro at foo",
18640 "print 'scope1.c'::foo::funclocal_ro at foo",
18641 "print bar::funclocal at foo" and
18642 "print 'scope1.c'::bar::funclocal at foo".
18643 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
18644 gcc compiled for "print foo::funclocal at bar".
18645 Expand all messages to ensure that they identify that
18646 the test is at bar().
18647 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
18648 gcc compiled for:
18649 "ptype on opaque struct pointer (statically)",
18650 "ptype on opaque struct tagname (statically)",
18651 "ptype on opaque struct pointer (dynamically) 1",
18652 "ptype on opaque struct tagname (dynamically) 1",
18653 "ptype on opaque struct pointer (dynamically) 2" and
18654 "ptype on opaque struct tagname (dynamically) 2
18655 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
18656 gcc compiled for:
18657 "p datalocal"
18658 "whatis datalocal",
18659 "ptype datalocal",
18660 "p bsslocal",
18661 "whatis bsslocal", and
18662 "ptype bsslocal".
18663 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
18664 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
18665 when not gcc compiled.
18666 * gdb.base/funcargs.exp (float_and_integral_args): Add
18667 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
18668 compiled.
18669 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
18670 "backtrace from call6a" when not gcc compiled.
18671 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
18672 "backtrace from call7a" when not gcc compiled.
18673 * gdb.base/callfuncs.exp (do_function_calls):
18674 Add "hppa*-*-hpux*" xfail when not gcc compiled for
18675 "p t_char_array_values(char_array_val2,char_array_val1)",
18676 "p t_char_array_values(char_array_val1,char_array_val2)",
18677 "p t_char_array_values("carray 1","carray 2")",
18678 "p t_char_array_values("carray 1",char_array_val2)",
18679 "p t_char_array_values(char_array_val1,"carray 2")",
18680 "p sum_args(1,{2})",
18681 "p sum_args(2,{2,3})",
18682 "p sum_args(3,{2,3,4})",
18683 "p sum_args(4,{2,3,4,5})"
18684 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
18685 "backtrace in corefile.exp" when not gcc compiled.
18686
18687Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18688
18689 * gdb.base/signals.exp: Rewrite `handle all print' test as
18690 a procedure. Accept blanks or TABs as whitespace, increase
18691 timeout and expect input buffer size for the large output
18692 from the command. Remove "i*86-*-bsdi2.0" xfail.
18693
18694Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18695
18696 * gdb.base/setvar.exp: Add new testcases for truncation when
18697 assigning invalid values to bitfields.
18698
18699Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
18700
d63a86f8 18701 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
18702 mips-sgi-irix* xfail for
18703 "call inferior func with struct - returns char *"
18704 and fix test so that an optional (unsigned char *) cast is
18705 accepted in the result.
18706
18707Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
18708
18709 * gdb.base/funcargs.exp (float_and_integral_args): Remove
18710 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
18711 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
18712 * gdb.base/signals.exp: Remove duplicate "handle all print" test
18713 that accidentally got checked in.
18714
18715Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
18716
d63a86f8 18717 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
18718 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
18719 compiled test.
18720 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
18721 Add mips-sgi-irix5* xfail for not gcc compiled.
18722 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
18723 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
18724 "p top", "whatis top", "p middle", and "whatis middle".
18725 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
18726 "whatis signed char" for not gcc compiled.
18727 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
18728 "set variable signed char=-1 (-1)" and
18729 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
18730 * gdb.base/funcargs.exp (float_and_integral_args):
18731 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
18732 Add mips-sgi-irix* xfail when not gcc compiled for
18733 "continue to call2b".
18734 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
18735 "continue to call2g".
18736 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
18737 "backtrace from call6a"
18738 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
18739 "backtrace from call7k".
18740 Add mips-sgi-irix5* xfail when not gcc compiled for
18741 "backtrace from call7a".
18742 (localvars_after_alloca): Fix gdb_test cmds for
18743 "print * after runto ...".
18744 Remove rs6000-*-* xfails for
18745 "print i after runto localvars_after_alloca" and
18746 "print l after runto localvars_after_alloca"
18747 for all compilers.
18748 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
18749 when not compiled with gcc, for:
18750 "print signed char == (minus)",
18751 "print signed char != (minus)",
18752 "print signed char < (minus)",
18753 "print signed char > (minus)".
18754 * gdb.base/callfuncs.exp (do_function_calls):
18755 Add mips-sgi-irix* xfail, when compiled with native compiler, for
18756 "call inferior func with struct - returns char *".
d63a86f8 18757 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
18758 "correct value returned double test" to include Solaris 2.4.
18759 * gdb.base/funcargs.exp (float_and_integral_args):
18760 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 18761
c906108c
SS
18762Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18763
18764 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
18765 enumeration bitfields if compiling with GNU C.
18766 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
18767 to empty' prompt.
18768
18769Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
18770
18771 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
18772 test for PRO targets.
18773
18774 * gdb.base/funcargs.exp: Avoid ever setting more than 8
18775 breakpoints in the inferior at any given time by making
18776 two groups of breakpoints for call2*, call6* and call7*
18777 tests.
18778
18779Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18780
18781 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
18782 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
18783 from optimizing it away.
18784 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
18785 "call inferior func with struct".
18786
18787Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
18788
18789 * configure.in: Only configure gdb.chill for particular targets.
18790
18791Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
18792
18793 * gdb.base/Makefile.in: Add action to .c.o transformation
18794 rule that generates a .ci file for each .o file and remove
18795 explicit .c.o rules except for callfuncs.o.
18796 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
18797 generates a .ci file for each .o file and remove explicit
18798 .cc.o rules.
18799 (clean): Remove *.tmp *.ci files.
18800 (EXECUTABLES): Remove templ-info.exp.
18801 * gdb.base/compiler.c: New file.
18802 * gdb.c++/compiler.cc: New file
18803 * gdb.base/scope.exp: Source gdb.base/scope.ci.
18804 Change rs6000-*-* xfail for
18805 "print 'scope0.c'::filelocal_ro" and
18806 "print 'scope1.c'::filelocal" and
18807 "print 'scope1.c'::filelocal_bss" and
18808 "print 'scope1.c'::filelocal_ro" and
18809 "print 'scope1.c'::foo::funclocal" and
18810 "print 'scope1.c'::foo::funclocal_ro" and
18811 "print 'scope1.c'::bar::funclocal" and
18812 "print 'scope0.c'::filelocal_ro" and
18813 "print 'scope1.c'::filelocal at foo" and
18814 "print 'scope1.c'::filelocal_bss at foo" and
18815 "print 'scope1.c'::filelocal_ro at foo" and
18816 "print 'scope1.c'::foo::funclocal at foo" and
18817 "print 'scope1.c'::foo::funclocal_bss at foo" and
18818 "print 'scope1.c'::foo::funclocal_ro at foo" and
18819 "print 'scope1.c'::bar::funclocal at foo" and
18820 "print 'scope0.c'::filelocal_ro" and
18821 "print 'scope1.c'::filelocal" and
18822 "print 'scope1.c'::filelocal_bss" and
18823 "print 'scope1.c'::filelocal_ro" and
18824 "print 'scope1.c'::foo::funclocal" and
18825 "print 'scope1.c'::foo::funclocal_bss" and
18826 "print 'scope1.c'::foo::funclocal_ro" and
18827 "print 'scope1.c'::bar::funclocal" and
18828 "print 'scope1.c'::bar::funclocal_bss"
18829 to only be xfail'd when not compiled with gcc.
d63a86f8 18830 Add rs6000-*-* xfail for
c906108c
SS
18831 "print 'scope0.c'::filelocal_bss before run"
18832 when compiled with gcc.
18833 (test_at_main): Add rs6000-*-* xfail for
18834 "print filelocal_ro in test_at_main"
18835 when compiled with gcc.
18836 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 18837 Add rs6000-*-aix* xfail for
c906108c
SS
18838 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
18839 "ptype t_char_array", not compiled with gcc.
18840 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
18841 xfail for "list foo (in include file)" when gcc compiled.
18842 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
18843 (integral_args): Add rs6000-*-* xfail for
18844 "run to call0a" if not compiled with gcc.
18845 (unsigned_integral_args): Add rs6000-*-* xfail for
18846 "run to call1a" if not compiled with gcc.
18847 (float_and_integral_args): Add rs6000-*-* xfail for
18848 "run to call2a" if not compiled with gcc and for
18849 "continue to call2b" for any compiler.
18850 Add rs6000-*-* xfail to
18851 "print f1 after run to call2a" for gcc compiled.
18852 (discard_and_shuffle): Add rs6000-*-* xfail for
18853 "run to call6a".
18854 (shuffle_round_robin): Add rs6000-*-* xfail for
18855 "backtrace from call7a" if not compiled with gcc.
18856 Add rs6000-*-* xfail for
18857 "backtrace from call7b" if compiled with gcc.
18858 (call_after_alloca): Add rs6000-*-* xfail for
18859 "print c in call_after_alloca" and
18860 "print s in call_after_alloca" and
18861 "backtrace from call_after_alloca_subr"
18862 if not compiled with gcc.
18863 (localvars_in_indirect_call): Add rs6000-*-* xfail for
18864 "print c in localvars_in_indirect_call" and
18865 "print c in localvars_in_indirect_call" and
18866 "backtrace in indirectly called function" and
18867 "stepping into indirectly called function"
18868 if not compiled with gcc.
18869 (localvars_after_alloca): Add rs6000-*-* xfail for
18870 "print c after runto localvars_after_alloca" and
18871 "print s after runto localvars_after_alloca" and
18872 "print i after runto localvars_after_alloca" and
18873 "print l after runto localvars_after_alloca"
18874 for all compilers.
18875 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
18876 than whatis-info.exp.
18877 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
18878 than opaque-info.exp.
18879 Setup rs6000-*-* xfail for
d63a86f8 18880 "ptype on opaque struct pointer (statically)" and
c906108c
SS
18881 "ptype on opaque struct pointer (dynamically)" when
18882 not compiled with gcc.
18883 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
18884 rather than callf-info.exp.
18885 (do_function_calls): Add clear_xfail for rs6000-*-* for
18886 "p t_float_values2(3.14159,float_val2)". Seems to work
18887 fine there, both with xlc and gcc. Need to find out what
18888 it is doing right and fix other platforms.
18889 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
18890 "call inferior func with struct - returns int",
18891 "call inferior func with struct - returns long",
18892 "call inferior func with struct - returns float",
18893 "call inferior func with struct - returns double",
18894 "call inferior func with struct - returns char *",
18895 but only if not gcc compiled (presumes xlc compiled).
18896 Change rs6000-*-* xfails for
18897 "call inferior func with struct - returns char" and
18898 " call inferior func with struct - returns short" to only
18899 xfail if not using gcc.
18900 (clean mostlyclean): Remove *.ci and *.tmp files.
18901 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
18902 than templ-info.exp.
18903 * gdb.base/langs.exp: Source gdb.base/langs.ci.
18904 Add rs6000-*-* xfail for "up to foo in langs.exp"
18905 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
18906 when not gcc compiled.
d63a86f8 18907
c906108c
SS
18908Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
18909
18910 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
18911 * gdb.base/corefile.exp: Likewise.
18912 * gdb.base/list.exp: Likewise.
18913 * gdb.base/scope.exp: Likewise.
18914 * gdb.base/siganls.exp: Likewise.
18915
18916 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
18917 compiler output.
18918 * gdb.base/whatis.exp: Likewise.
18919
18920Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
18921
18922 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
18923 failure (opcode table has been fixed to match reality).
18924
18925Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
18926
18927 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
18928 "call inferior func with struct - returns char",
18929 "call inferior func with struct - returns short"
18930
18931 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
18932 "print 'scope0.c'::filelocal at main",
18933 "print 'scope0.c'::filelocal_bss in test_at_main",
18934 "print 'scope0.c'::filelocal at foo",
18935 "print 'scope0.c'::filelocal_bss in test_at_foo",
18936 "print 'scope0.c'::filelocal at bar",
18937 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 18938
c906108c
SS
18939 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
18940 in source file 1". This bug seems to have been fixed with both
18941 gcc and native cc (was native assembler bug?).
18942
18943Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
18944
18945 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
18946 "backtrace through signal handler" to "i*86-*-sysv4*".
18947 * gdb.base/signals.exp: Add xfail for "'next' behaved as
18948 continue" case. Add "known SVR4 bug" to fail message.
18949 Add "i*86-*-bsdi2.0" xfail for "handle all print".
18950 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
18951 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
18952 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
18953 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
18954 "up to foo in langs.exp", "show language at foo in
18955 langs.exp", "up to cppsub_ in langs.exp", "show
18956 language at cppsub_ in langs.exp", "up to fsub in
18957 langs.exp", and "show language at fsub in langs.exp".
18958 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
18959 "bactrace in corefile.exp".
18960 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
18961 "call inferior function with struct - returns float" and
18962 "call inferior function with struct - returns double".
d63a86f8 18963
c906108c
SS
18964Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
18965
18966 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
18967 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
18968 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
18969 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
18970
18971Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
18972
18973 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
18974 (or overriden) "CHILL" macro rather then bare "gcc".
18975 Also look for ../../gcc/xgcc since that is what we will
18976 actually need, not "Makefile". Remove following assignment
18977 of CHILL to CHILL_FOR_TARGET because that results in
18978 recursive definition.
18979
18980Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
18981
18982 * gdb.base/corefile.exp: Change xfail for backtrace in
18983 corefile.exp from linuxaout to all linux.
18984 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
18985 cases where we miss the breakpoint at the signal handler
18986 for some reason. Setup xfail for linuxoldld/linuxaout and
18987 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
18988 hitting SIGURG breakpoint.
18989 * gdb.base/signals.exp: Setup xfail for "next" acting like
18990 continue to add linuxoldld. Setup xfail for all linux for
18991 "next to handler in signals_tests_1", "backtrace in
18992 signals_tests_1", "continue to func1", "pass SIGUSR1",
18993 and continue to handler".
18994
18995Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
18996
18997 * Update all FSF addresses except those in COPYING* files.
18998
18999Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
19000
19001 * gdb.base/a2-run.exp: Change messages to be more explicit about
19002 the status of args, and quote binfile in results.
19003
19004Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
19005
19006 * gdb.base/callfuncs.exp: Add tests for passing structs to
19007 inferior functions and return various types.
19008 * gdb.base/callfuncs.c: Add functions to receive a struct
19009 and return a member of the struct, in various types.
19010
19011Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19012
19013 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
19014
19015Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
19016
19017 * config/vxworks29k.exp: New file, sources vxworks.exp.
19018
19019Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19020
19021 * config/gdbremote.exp: New file. Testing framework using
19022 gdbserver.
19023
19024Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
19025
19026 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
19027 "call function when asleep" and "send end of file".
19028 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
19029 for "backtrace in corefile.exp".
19030 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
19031 for "backtrace through signal handler".
19032 * gdb.base/corefile.exp: Make sure we actually generate a core file
19033 before trying the core tests. Some systems allow the user to suppress
19034 generation of core files and default to that (linux for example).
19035 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
19036 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
19037
19038Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19039
19040 * gdb.threads: New directory with some crude multi-threaded
19041 gdb tests (step.exp and step2.exp).
19042 * config/mt-lynx (STEP_EXECUTABLE): Define.
19043 (THREADFLAGS): Define.
19044
19045Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
19046
19047 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
19048
19049 * gdb.base/signals.exp: Disable whole file for lynx until
19050 further notice.
19051
19052 * gdb.base/signals.exp: xfail test where "next" acts like
19053 "continue" for lynx.
19054
19055 * gdb.base/interrupt.exp: xfail test for calling function while
19056 inferior is asleep for lynx.
19057
19058 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
19059 than one cr-lf after each command.
19060
19061Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19062
19063 * configure.in: Reinstate setting of stabsdirs variable, fix
19064 typo in setting up configdirs for native builds.
19065
19066 * gdb.base/return.exp: Fix typo in return double test.
19067 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
19068 compiler from optimizing them away.
19069
19070Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
19071
19072 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
19073 sequences to be echo'd by gdb when using gdb_test.
19074 * gdb.chill/chexp.exp: Likewise.
19075 * gdb.fortran/exprs.exp: Likewise
19076
19077Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19078
19079 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
19080 after the inferior gdb has started.
19081
19082 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
19083 after each command.
19084 * gdb.base/funcargs.exp: Likewise.
19085 * gdb.base/gdbvars.exp: Likewise.
19086 * gdb.base/interrupt.exp: Likewise.
19087 * gdb.base/list.exp: Likewise.
19088 * gdb.base/watchpoint.exp: Likewise.
19089 * gdb.c++/demangle.exp: Likewise.
19090 * gdb.c++/inherit.exp: Likewise.
19091 * gdb.chill/chexp.exp: Likewise.
19092 * gdb.fortran/exprs.exp: Likewise.
19093
19094 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
19095 test if we can't handle IO to/from the inferior.
19096
19097 * gdb.c++/misc.exp: Always check for a program already being
19098 started after sending a "run" command to gdb.
19099
19100 * gdb.base/twice.exp: Start with a fresh gdb.
19101
19102 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
19103 only depend on gdb's expression code, not the chill runtime.
19104
19105 * gdb.base/return.c: Put return values into variables so we
19106 can have gdb print them rather than depending on the program
19107 to print them.
19108 * gdb.base/return.exp: Corresponding changes.
19109
19110 * lib/gdb.exp: Provide default value for noinferiorio.
19111 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
19112 the inferior.
19113
19114 * gdb.base/break.exp: Always check for a program already being
19115 started after sending a "run" command to gdb.
19116 (text_next_with_recursion): Don't check the output from the
19117 program's printf statement. Instead just make sure the program
19118 exited.
19119
19120 * gdb.base/commands.exp: Protect tests which need arguments with
19121 $noargs conditionals.
19122
19123Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19124
19125 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
19126 of structure member arrays to match gdb/valops.c:value_addr change.
19127
19128Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
19129
19130 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
19131 cases.
19132
19133Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
19134
19135 * configure.in (configdirs): Remove gdb.chill from default list
19136 of subdirs and then add it back in only if doing a native build.
19137 The current chill compiler does not yet work in any cross build.
19138 * Revert all signal changes from Jul 6.
19139 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
19140 for sh-hms targets, allowing these tests to link, with no other
19141 changes. Testing is suppressed by setting "nosignals" in site.exp.
19142
19143Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
19144
19145 * configure.in (signaldirs): Define and add to configdirs for all
19146 targets except some specific ones that are known to not support signals.
19147 Also clean up formatting.
19148 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
19149 (signals, sigall): Remove rules to build.
19150 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
19151 Moved to new gdb.signals directory.
19152 * gdb.signals: New test directory.
19153 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
19154 signals.c signals.exp}: New or moved files.
19155
19156Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
19157
19158 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
19159
19160Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
19161
19162 * gdb.base/return.exp: Xfail `return double' test failure
19163 on at least Solaris 2.3 and handle future/past versions on
19164 a case by case basis as appropriate. Also update message
19165 to include i*86 failures.
19166
19167Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19168
19169 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
19170
19171 * lib/gdb.exp: Fix comment which erroneously identified
19172 gdb_file_cmd as gdb_load (the 19 May change was in fact to
19173 gdb_file_cmd not gdb_load).
19174 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
19175
19176 * gdb.base/setvar.exp: Make test names consistent between pass and
19177 fail cases. Use gdb_test more.
19178
19179Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19180
19181 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
19182
19183Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19184
19185 * gdb.base/help.exp: Fix expected help string for `show commands'.
19186
19187Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
19188
19189 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
19190
19191 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
19192 of a text section.
19193
19194Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
19195
19196 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
19197 that loop eventually terminates. Fix Connection refused logic so
19198 that testsuite will expire nicely.
19199
19200Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
19201
19202 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
19203 config/rom68k.exp: New tcl glue for the appropriate monitors.
19204 These all just end up calling monitor.exp.
19205 * config/monitor.exp (gdb_target_monitor): Handle `Connection
19206 refused' by retrying. Cleanup some timeout issues.
19207 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
19208 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
19209 callers don't have to set/restore global timeout variable.
19210
19211 * The following set of changes centralizes management of the global
19212 timeout variable. This way, it can be set in one target dependent
19213 place instead of dozens of places scattered throughout the test suite.
19214 If you need to lengthen a timeout, then you should either set timeout
19215 in one of the config/{target}.exp files, or multiply it by a factor.
19216 Setting it to an absolute value is always going to lose for some
19217 targets.
19218 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
19219 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
19220 * gdb.base/funcargs.exp: Don't set timeout.
19221 * gdb.base/list.exp (test_forward_search): Only use local timeout.
19222 * gdb.base/printcmds.exp (test_print_string_constants
19223 test_print_array_constants): Don't set timeout.
19224 * gdb.base/ptype.exp: Don't set timeout.
19225 * gdb.base/recurse.exp: Don't set timeout.
19226 * gdb.base/return.exp: Don't set timeout.
19227 * gdb.base/watchpoint.exp: Don't set timeout.
19228 * gdb.c++/classes.exp (do_tests): Don't set timeout.
19229 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
19230
19231Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
19232
19233 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
19234
19235Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19236
19237 * lib/gdb.exp: Disable chill tests for irix5.
19238
19239Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19240
19241 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
19242 each test pass or fail.
19243
19244Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19245
19246 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
19247 xlc not gcc.
19248
19249Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
19250
19251 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
19252
19253Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
19254
19255 * config/est.exp: Fix copyright and comments. Remove dead code.
19256 Use targetname, serialport and baud variables instead of fixed
19257 constants.
19258 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
19259 * config/cpu32bug.exp: New file to support cpu32bug monitors.
19260
19261Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19262
19263 * gdb.base/watchpoint.exp: Don't run
19264 test_watchpoint_triggered_in_syscall for sunos.
19265
19266Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19267
19268 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
19269 they don't seem to exist. Do include stdio.h.
19270
19271Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19272
19273 * gdb.base/a1-selftest.exp: Add alpha xfail.
19274
19275Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19276
19277 * gdb.base/watchpoint.c (main): Prompt before calling read().
19278 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
19279 Revise accordingly. Remove cruft about sending "123" several
19280 times, until it gets noticed. Clean up the "print buf[0]" stuff
19281 so that it passes or fails, and waits for prompts in the usual way.
19282
19283Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19284
19285 * gdb.base/recurse.exp: Fix comment.
19286
19287 * TODO: Remove item about printing variables in nodebug.exp. Add
19288 item about enabling tests which are only run on some targets.
19289
19290 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
19291 fail, make test names unique, use new gdb_test convention
19292 regarding pattern, use gdb_test more, etc.).
19293
19294 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
19295 fail, make test names unique, etc.).
19296
19297Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19298
19299 * gdb.base/nodebug.c: Change return type of top and middle to
19300 short.
19301 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
19302 are fixed by the recent mdebugread.c changes. Allow `short ()'
19303 as type for top and middle.
19304
19305Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19306
19307 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
19308 nearly as I can tell, the whole thing was an accident in Stu's
19309 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
19310 to replace a send/expect pair with gdb_test, but ended up only
19311 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
19312 of 30 Mar 1995 took care of it, but left this vestigial comment
19313 which I am now nuking.
19314
19315Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19316
19317 * gdb.base/break.exp: Look for different line number for
19318 breakpoint at main depending on usestubs.
19319
19320Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19321
19322 * gdb.base/list.exp: Adjust some alternate expect patterns to
19323 match recent list0.c change. Add alternate expect pattern for
19324 output from `list default lines around main' for optimizing
19325 compilers.
19326
19327Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19328
19329 * lib/gdb.exp: If nosignals is not set, set it to 0.
19330
19331Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
19332
19333 * config/slite-gdb.exp: Responds to load symbol table prompt.
19334 * gdb.base/break.exp: Adjust line number, fix rerun.
19335 * gdb.base/langs0.c: Add #ifdef usestubs.
19336
19337Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
19338
19339 * gdb.base/list.exp: Adjust line contents after adding new lines in
19340 list0.c. Also fix a syntax error.
19341
19342 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
19343 * gdb.base/break.exp: ditto.
19344 * gdb.base/list.exp: ditto.
19345 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
19346 * gdb.base/run.c: ditto.
19347 * gdb.base/list0.c: ditto.
19348 * gdb.base/funcargs.c: ditto.
19349
19350Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
19351
19352 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
19353 $targetname, $serialport and $baud instead of hardwired variables.
19354 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
19355 target doesn't support signals.
19356
19357Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
19358
19359 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
19360
19361Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19362
19363 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
19364 Don't rely on the value of an auto variable before it has been
19365 initialized. Use gdb_test more.
19366
19367Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19368
19369 * lib/gdb.exp (default_gdb_version): A version number must start
19370 with a digit, but other than that contains all characters up to
19371 the first whitespace character.
19372
19373Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19374
19375 * gdb.base/commands.exp (breakpoint_command_test): New tests.
19376
19377Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19378
19379 * gdb.c++/*.exp: Warn if executable does not exist. The original
19380 reason for skipping the warning was that configure.in sometimes
19381 intentionally skipped building the executables but the tcl code
19382 had no way of knowing. That (a) was always bogus with respect to
19383 error handling, (b) is no longer true (right now there is no way
19384 to skip C++ tests).
19385
19386 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
19387
19388Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19389
19390 * gdb.base/list.exp: Add expect patterns for output from
19391 SunPRO compiled executables.
19392 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
19393 types.
19394
19395Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19396
19397 * gdb.base/break.exp (test_next_with_recursion): Accept any line
19398 number (we are already testing that the correct source line text
19399 gets printed).
19400
19401 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
19402 that is what is intended, but something needed to be done to get
19403 sunos4 native working again.
19404
19405 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
19406
19407 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
19408 apparently went with a (very) old xfail.
19409
19410Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
19411
19412 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
19413 runto_main is a proc in gdb.exp that will do 'step' for target use
19414 stubs.
19415 * gdb.base/exprs.exp: ditto.
19416 * gdb.base/interrupt.exp: ditto.
19417 * gdb.base/opaque.exp: ditto.
19418 * gdb.base/printcmds.exp: ditto.
19419 * gdb.base/ptype.exp: ditto.
19420 * gdb.base/scope.exp: ditto.
19421 * gdb.base/setvar.exp: ditto.
19422 * gdb.base/signals.exp: ditto.
19423 * gdb.base/twice.exp: ditto.
19424 * gdb.c++/classes.exp: ditto.
19425 * gdb.c++/inherit.exp: ditto.
19426 * gdb.c++/templates.exp: ditto.
19427 * gdb.base/break.exp: no run and hit main for stubs. Change line
19428 numbers for breakpoints and info breakpoint.
19429 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
19430 breakpoint().
19431 * gdb.base/callfuncs.c: ditto.
19432 * gdb.base/exprs: ditto.
19433 * gdb.base/interrupt.c: ditto.
19434 * gdb.base/opaque0.c: ditto.
19435 * gdb.base/printcmds.c: ditto.
19436 * gdb.base/ptype.c: ditto.
19437 * gdb.base/scope0.c: ditto.
19438 * gdb.base/setvar.c: ditto.
19439 * gdb.base/signals.c: ditto.
19440 * gdb.base/twice.c: ditto.
19441 * gdb.c++/misc.cc: ditto.
19442 * gdb.c++/templates.cc: ditto.
19443
19444Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19445
19446 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
19447
19448 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
19449 somewhere between `read' and `main.c'. I'm pretty sure the
19450 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
19451 and it isn't particularly useful.
19452
19453 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
19454
19455Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19456
19457 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
19458
19459Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
19460
19461 * config/mt-slite: add LIBS and -nostdlib.
19462 * config/slite-gdb.exp: add this new file to support sparclite target.
19463
19464Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
19465
19466 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
19467
19468 * gdb.base/a2-run.exp: Change argument to istarget from
19469 "*-*-vxworks" to "*-*-vxworks*".
19470 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
19471
19472Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
19473
19474 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
19475 will not runto main but do a 'step' to step out of breakpoint().
19476 * config/mt-slite: add -Dusestubs.
19477
19478Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19479
19480 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
19481 instead of just @.
19482
19483 * gdb.base/signals.exp: Add test for "handle all print".
19484 * TODO: Remove "handle all print". Also remove item about
19485 checking copyright date (I don't like the idea of a spurious FAIL
19486 based on when we run the tests).
19487
19488 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
19489 for SunOS4 (reason for failure not investigated). Remove
19490 redundant test for $binfile.
19491
19492 * gdb.base/nodebug.c (array_index): Call malloc.
19493
19494 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
19495
19496Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
19497
19498 * gdb.base/recurse.exp: Update gdb_test invocation to use new
19499 conventions and slightly simplify the matching regexp.
19500
19501Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19502
19503 * gdb.base/break.exp: Update gdb_test invocation to use new
19504 convention.
19505
19506 * lib/gdb.exp: If noargs is not set, set it to 0.
19507
19508 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
19509 tests unique.
19510
19511 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
19512
19513Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19514
19515 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
19516 one argument of type "<non-float parameter>".
19517
19518Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
19519
19520 * config/rom68k.exp: New file to support Motorola IDP board.
19521 * gdb.base/a2-run.exp: Skip this file if noargs is set.
19522 * gdb.base/break.c: Change things around so that this program
19523 doesn't depend upon args. This is necessary to make remote
19524 targets work (in general, they can't take args).
19525 * gdb.base/break.exp: Don't try to send args to program. Don't
19526 expect output. Also, replace lots of code with gdb_test.
19527
19528Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19529
19530 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
19531 printing of '\'' (which is what the comment says we are testing,
19532 even though we were not), not '''.
19533 (test_integer_literals_rejected): Test that printing ''' is an error.
19534
19535 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
19536 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
19537 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
19538 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
19539 Use gdb_test not test_print_accept.
19540 * lib/gdb.exp: Remove test_print_accept.
19541
19542 * gdb.base/signals.exp (signal_tests_1): Make pass message
19543 consistent with fail message.
19544
19545 * gdb.base/whatis.exp: Remove xfails for printing char vs.
19546 unsigned char; the bug (PR 1821) is fixed.
19547
19548 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
19549
19550 * gdb.base/scope.exp (test_at_localscopes): Call pass for
19551 successful tests--makes xfailing them work right.
19552
19553Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19554
19555 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
19556 only \r\n, not .*. The test can pass .* as the last thing in
19557 $pattern if that is what it wants. In addition to providing this
19558 flexibility, this change should speed up pattern matching in cases
19559 where the pattern already ended with .* (there were a number of
19560 them). This change also helps catch bad patterns--in the old
19561 scheme the typo "char \*" instead of "char \\*" would pass. Now
19562 it is caught.
19563 * Many .exp files: Update callers.
19564
19565 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
19566 clearer and does not spuriously match multiple ('s. Likewise for
19567 ) and *.
19568
19569 * gdb.base/nodebug.exp: Test ability to call a function and pass
19570 it a string (even with no debugging info).
19571
19572 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
19573 "p '\'", which is the same as "p ''" once tcl gets done with
19574 quoting, to "p '\\'", which I suspect is what is intended (one
19575 backslash gets sent to GDB).
19576
19577 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
19578
19579Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19580
19581 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
19582 1817) was fixed literally years ago.
19583
19584Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19585
19586 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
19587 test, it causes stepping out of call_after_alloca_subr with
19588 optimizing compilers.
19589 (localvars_in_indirect_call): Consume GDB prompt if `finish'
19590 fails.
19591
19592 * gdb.c++/templates.exp: Source templ-info.exp only if
19593 the templates executable exists.
19594
19595 * gdb.c++/misc.cc (class Contains_static_instance,
19596 class Contains_nested_static_instance),
19597 gdb.c++/classes.exp (test_static_members): Test printing of
19598 a class that contains a static instance of the class.
19599
19600Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19601
19602 * gdb.base/langs2.c (cppsub_): Don't prototype.
19603 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
19604 only, I believe).
19605
19606Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19607
19608 * lib/gdb.exp (skip_chill_tests): New procedure.
19609
19610 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
19611
19612Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
19613
19614 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
19615 each expect pattern. Cuts runtime from 12 to about 4 seconds.
19616
19617Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19618
19619 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
19620
19621 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
19622 disassemble 8, not 16, instructions for part 4.
19623
19624 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
19625 support the latter anymore.
19626
19627 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
19628 -DNO_PROTOTYPES.
19629 * gdb.base/callfuncs.c: Control use of prototypes based on
19630 NO_PROTOTYPES, not __STDC__.
19631 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
19632 t_float_values2 tests if prototypes in use.
19633
19634 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
19635 t_double_values): When checking differences against DELTA, check
19636 that difference is within the range (-DELTA,DELTA), not just
19637 (-infinity,DELTA).
19638
19639Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
19640
19641 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
19642 'file' command firts, then 'target', then 'load', this is due to gdb
19643 target set up.
19644 * config/mips-gdb.exp: Fix a couple regular exp bugs.
19645
19646Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
19647
19648 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
19649 FP load/store variants.
19650 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
19651
19652Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
19653
19654 * gdb.base/term.exp: Do not give a warning if not native, it is
19655 not an abnormal condition.
19656
19657Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
19658
19659 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
19660 t_char_array".
19661
19662Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
19663
19664 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
19665 are getting the version number.
19666
19667 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
19668 if not native, it is not an abnormal condition.
19669
19670Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19671
19672 * lib/gdb.exp: Just use "file exists", rather than undocumented
19673 dejagnu procedure "findfile".
19674
19675Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19676
19677 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
19678 (LDFLAGS): Set to -Xlinker -Ur.
19679
19680 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
19681 Removed, these values are set by lib/gdb.exp.
19682
19683 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
19684
19685Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19686
19687 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
19688 of replicating gdb startup code.
19689
19690 * config/mt-vxworks (LDFLAGS): Set to -r.
19691 (CFLAGS_FOR_TARGET): Removed.
19692
19693 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
19694 (gdb) and gdb for vxworks uses (vxgdb).
19695
19696 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
19697 executable is not in the tree and host != target, use sed and
19698 program_transform_name to determine the gdb name used by the
19699 target.
19700
19701 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
19702 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
19703
19704Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19705
19706 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
19707 floats, chars, and shorts where there are ANSI-style function
19708 definitions.
19709
19710 * gdb.base/langs.exp, gdb.base/langs*: New test.
19711 * gdb.base/Makefile.in: Build it.
19712 * TODO: Remove item about checking that C names don't get C++
19713 demangling applied; this test tests it.
19714
19715Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19716
19717 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
19718 went with the const70 xfail. The xfail went away a year ago.
19719
19720 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
19721
19722 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
19723 for hp300.
19724
19725 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
19726
19727 * gdb.base/a1-selftest.exp: Don't run on hp300.
19728
19729Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19730
19731 * Makefile.in (site.exp): Set host_alias and target_alias as well
19732 as host_triplet and target_triplet.
19733
19734Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19735
19736 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
19737
19738 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
19739 places as other ecoff systems).
19740
19741 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
19742 ultrix.
19743
19744Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19745
19746 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
19747 remove them.
19748 * gdb.base/nodebug.exp: Accept "function" in addition to "text
19749 variable and "variable" in addition to "data variable".
19750 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
19751
19752 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
19753 2.
19754 * gdb.base/list1.c (long_line): Add additional statement at start
19755 of function.
19756 * gdb.base/list.exp (test_forward_search): Update line number to
19757 reflect new statement.
19758
19759Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19760
19761 * gdb.base/signals.exp: Reinitialize searched source directories
19762 after gdb_start call.
19763
19764Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
19765
19766 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
19767 * gdb.stabs/Makefile.in: Likewise.
19768
19769 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
19770 change. Instead split the tests into smaller pieces.
19771 * gdb.disasm/hppa.s: Corresponding changes.
19772
19773Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19774
19775 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
19776 Quote ^C when passing it to stty. For some shells ^ is a pipe.
19777
19778 * gdb.base/funcargs.exp: Modify many tests so that every test
19779 either passes or fails. Make some test names unique.
19780
19781Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19782
19783 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
19784 Call stty to set interrupt character.
19785
19786 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
19787 for HP assembler versus GNU assembler based on actual behavior of
19788 $(CC), rather than assuming that $(AS) is always the GNU assembler.
19789
19790 * TODO: Suggest a few more stepping tests.
19791
19792Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
19793
19794 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
19795 restart GDB for h8300 after a continue.
19796 (return): Add pattern to match a29k-udi behavior.
19797 * gdb.base/nodebug.exp: Remove obsolete comment.
19798 * gdb.base/regs.exp: New file, testing of register displays.
19799 * gdb.base/return.exp: Fix typo in reference to $objdir.
19800 * gdb.base/whatis.exp: Always start with a fresh GDB.
19801
19802Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19803
19804 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
19805 higher, these tests generate a lot of output.
19806
19807Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19808
19809 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
19810 code following the catch silently ignored some errors; without the
19811 catch they should be thrown like any other tcl error. Also, the
19812 catch used "" instead of {} which meant all the callers who wanted
19813 to include one of the characters "[]$ had to quote it an extra time.
19814 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
19815 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
19816 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
19817 Remove extra quoting.
19818
19819Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
19820
19821 * gdb.base/commands.exp: Make test names unique; every test either
19822 passes or fails. Update some comments.
19823
19824 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
19825
19826Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19827
19828 The following fixes a FAIL caused by the fact that the alpha stabs
19829 configuration didn't use the ".if alpha" code in weird.def.
19830 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
19831 bit pointer, so the 32 bit version works even on the alpha.
19832 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
19833 Remove the stuff which allowed us to have separate versions for
19834 alpha and everything else.
19835
19836 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
19837 regexp which "info func operator\[\](" is supposed to match. Fix
19838 string to send to GDB. Note that GDB still doesn't work right. Add a
19839 new test for "info func .perator\[\](" which GDB does handle correctly.
19840
19841 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
19842
19843Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19844
19845 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
19846 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
19847 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
19848 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
19849 it makes the tests harder to understand and confuses test-o-matic.
19850 The preferred style is that each test provides a PASS or a FAIL,
19851 and has a unique message (e.g. "continue #54" not just "continue")
19852 which is the same for the pass and the fail.
19853 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
19854 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
19855 to lib/gdb.exp.
19856 * gdb.base/printcmds.exp: Use test_print_accept. Remove
19857 prt_accept which was basically the same thing. Likewise for
19858 test_print_reject and prt_reject.
19859 * lib/gdb.exp (test_print_reject): Add some more error message
19860 patterns to match from the former printcmds.exp (prt_reject).
19861 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
19862 One defect of the passcount stuff is that some of it failed to
19863 report XPASS where appropriate.
19864 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
19865 stuff before and after arg in expected pattern.
19866 (test_paddr_operator_functions): Re-do test without print_addr_of;
19867 this is the only test which seems to want extra stuff there.
19868
19869Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19870
19871 * gdb.base/nodebug.exp: Update new tests to reflect improved
19872 wording of gdb output.
19873
19874 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
19875 and "ptype" work on variables in files compiled without -g.
19876 Replaces commented out "maint print msymbol" tests.
19877
19878Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19879
19880 * gdb.base/setvar.c (dummy): Call malloc.
19881
19882 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
19883 losing with the irix4 sed.
19884
19885 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
19886 ALRM" on irix4.
19887
19888Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19889
19890 * TODO: Remove items about corefile.exp testing new exec-file and
19891 backtrace; both are now done. Add items about printing enums.
19892
19893Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19894
19895 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
19896 "get signal $thissig" test fails.
19897
19898 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
19899
19900Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19901
19902 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
19903 compiler warning with dec alpha compiler.
19904
19905 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
19906 extra \n from gdb_test call (this explains why the prompt test
19907 that I removed yesterday was there).
19908 (user_defined_command_test): Remove extra \n and prompt test.
19909
19910 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
19911 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
19912 doesn't exist.
19913 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
19914 Also remove alpha workaround, which turns out to be because
19915 SIGABRT == SIGLOST.
19916
19917 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
19918
19919 * gdb.base/help.exp: Don't test "help show".
19920
19921Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19922
19923 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
19924 "set print address" is on.
19925 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
19926 pass prompt to gdb_test; gdb_test already looks for the prompt.
19927
19928 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
19929
19930 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
19931 was a vestige of the manual TESTSTRATEGY, and the purpose of it
19932 was to make sure that gdb can read a core file. But (a) the "read
19933 the corefile" part didn't make it to a1-selftest.exp, we just
19934 delete the corefile after creating it, and (b) we test reading
19935 corefiles in corefile.exp anyway. Also, this test left around a
19936 xgdb process on Solaris.
19937
19938 * gdb.base/corefile.exp: Also test backtrace.
19939
19940Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
19941
19942 * gdb.base/commands.exp: Test a simple user defined command with
19943 arguments and if/while statements; verify the full user command is
19944 printed by "show user".
19945
19946 * gdb.base/commands.exp: Test if/while commands as part of a
19947 breakpoint command list; verify they appear in breakpoint
19948 information.
19949
19950Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19951
19952 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
19953 than by dividing by zero.
19954
19955Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
19956
19957 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
19958 performing an inferior call with watchpoints enabled.
19959 * gdb.base/watchpoint.c (main): Delete second unnecessary read
19960 call.
19961
19962Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19963
19964 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
19965 of "file" command.
19966
19967 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
19968 Add additional pattern for when "int operator int(void);" appears
19969 in a different order.
19970
19971Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19972
19973 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
19974
19975 * gdb.base/help.exp: Replace most of docstrings for "info signals"
19976 and "signal" with ".*".
19977
19978Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19979
19980 * TODO: Add note about "handle all nostop".
19981
19982 * gdb.base/{sigall.c, sigall.exp}: New test.
19983 * gdb.base/Makefile.in: Add it.
19984
19985Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
19986
19987 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
19988 when invoking GDB, suppresses any windowing interface.
19989
19990Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
19991
19992 * config/sim-gdb: New file, simulator testing support.
19993
19994Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
19995
19996 * gdb.base/interrupt.exp: Test calling func1 twice.
19997
19998Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
19999
20000 * gdb.base/list.exp (test_forward_search): Set timeout higher
20001 when we'll be getting lots of output from gdb.
20002
20003 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
20004 "init_malloc" to after the expect statement. Run it if that
20005 regexp is taken, but also for two others which happen if source
20006 cannot be found.
20007
20008Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20009
20010 * gdb.base/printcmds.exp: New test, for printing register before
20011 program is running.
20012
20013Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20014
20015 * gdb.base/list.exp: Correct some alternate expect patterns
20016 to reflect changes in list1.c.
20017
20018Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20019
20020 * TODO: Add item regarding large frames.
20021
20022 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
20023
20024 * TODO: Remove item about enabling return.exp; it
20025 is enabled. Suggest a few more "return" tests.
20026
20027Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20028
20029 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
20030 anonymous unions.
20031
20032Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20033
20034 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
20035 and pr-5646.o, so "make" is the same as "make all", not "make
20036 pr-4975.o".
20037
20038Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
20039
20040 * gdb.base/list.exp: Adjust expectations to reflect changes in
20041 list1.c.
20042 (test_forward_search): New test proc.
20043 * gdb.base/list1.c (long_line): New function, has long source line.
20044
20045Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
20046
20047 * gdb.base/a1-selftest.exp: Change initial stepping to know about
20048 additional line of code that was added.
20049
20050Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
20051
20052 * gdb.disasm/hppa.s: Break the large branching tests into smaller
20053 tests so as not to overflow expect's input buffers.
20054 * gdb.disasm/hppa.exp: Corresponding changes.
20055
20056Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20057
20058 Beginnings of template debugging tests.
20059 * gdb.c++/templ-info.cc: New file to test for template
20060 debugging capability of the compiler.
20061 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
20062 templ-info.cc.
20063 * gdb.c++/templates.cc: Add explicit template instantiations
20064 to enable compiling with -fno-implicit-templates. Add destructor
20065 and 'value' method to T5 class for template tests.
20066 * gdb.c++/templates.exp: Add testcases for printing of template
20067 types, setting breakpoints on template methods and calling a
d63a86f8 20068 template method.
c906108c
SS
20069
20070Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
20071
20072 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
20073 branch target since some assemblers (gas-2.5) may emit a
20074 relocation for the branch instead of resolving it in the
20075 assembler.
20076
20077Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20078
20079 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
20080 through signal handler.
20081
20082Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20083
20084 * configure.in (*-*-netware): Use config/mt-netware.
20085
20086 * config/mt-netware: New file.
20087 * config/mt-i386-netware: Removed, separate configs for different
20088 netware architectures are no longer needed now that we have
20089 --with-headers.
20090
20091Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20092
20093 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
20094 by the recent changes to use ANSI C arithmetic conversions.
20095
20096Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20097
20098 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
20099 bug involving using inferior_pid to figure out whether to select a
20100 frame.
20101
20102Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
20103
20104 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
20105 match the current disassembler output.
20106
20107Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
20108
20109 * gdb.fortran/exprs.exp: Expect VOID instead of void.
20110 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
20111 types, expect "int" as type of integer values (for now).
20112
20113Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
20114
20115 * gdb.base/commands.exp: New tests for if/while commands.
20116
20117Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
20118
20119 * lib/gdb.exp (runto): Replace sub-pattern for hex value
20120 by .*, since hex values have different syntax in Chill mode.
20121
20122Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20123
20124 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
20125 linefeed from expect pattern for repeated types with indices > 9.
20126
20127Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
20128
20129 First part of Fortran test suite.
20130 * gdb.fortran: New directory.
20131 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
20132
20133Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20134
20135 * gdb.base/default.exp: Update expect pattern for load command
20136 without arguments.
20137
20138Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
20139
20140 * configure.in: Change i386 to i[345]86.
20141 * gdb.base/configure.in: Likewise.
20142 * gdb.c++/configure.in: Likewise.
20143 * gdb.chill/configure.in: Likewise.
20144
20145Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
20146
20147 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
20148 patterns, since that is not a valid context for comments.
20149
20150Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
20151
20152 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
20153 repeated types and repeated types with indices > 9.
20154
20155Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
20156
20157 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
20158 2417; old bug has been fixed.
20159
20160Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
20161
20162 * gdb.base/interrupt.exp: When trying to wake up the inferior,
20163 send the newline ourselves instead of assuming gdb_test will do
20164 so when passed an empty input string.
20165
20166 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
20167 stabs testcode.
20168
20169Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20170
20171 * lib/gdb.exp (gdb_test): Don't send anything if the first
20172 argument is an empty string. This makes cases where we want to
20173 match output that is already in expect's buffers (for example,
20174 matching a breakpoint after gdb_run_cmd has been called) work
20175 reliably.
20176
20177Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20178
20179 * config/netware.exp: New file.
20180
20181Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20182
20183 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
20184 the -B and -L prefixes so we can find the debugging stub.
20185
20186 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
20187 there and we are using the gcc from the tree.
20188
20189 * gdb.base/types.c: Removed.
20190
20191 * gdb.base/configure.in: Look for makefile fragments in ../config.
20192 Recognize i386-*-netware.
20193 * gdb.c++/configure.in: Likewise.
20194
20195Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20196
20197 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
20198 the correct TCL syntax.
20199
20200Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20201
20202 * gdb.base/opaque.exp: use runto instead of messing around with
20203 breakpoints. Simplify by using gdb_test.
20204
20205 * gdb.base/bitfields.exp: restart between tests on netware targets
20206 because breakpoints aren't relocated after target death. Run
20207 processes to completion.
20208
20209 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
20210
20211Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
20212
20213 * Makefile.in: Remove extra tabs that confuse some versions
20214 of "make". Use the newly built gdb to test with by default,
20215 rather than the first one in the tester's search path.
20216
20217Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
20218
20219 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
20220
20221 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
20222 condition help.
20223
20224Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20225
20226 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
20227
20228 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
20229 running.
20230 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
20231 * gdb.base/funcargs.exp: Likewise.
20232
20233 * gdb.base/bitfields.exp: Simplify by using gdb_test.
20234 * gdb.base/funcargs.exp: Likewise.
20235
20236 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
20237 message is "".
20238
20239Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20240
20241 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
20242 return,signals,twice}.exp: Handle non-existant binaries
20243 consistantly.
20244
20245 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
20246 * gdb.base/Makefile.in: Don't try to generate a core dump, we
20247 might testing a cross development system.
20248
20249Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20250
20251 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
20252 runtest script is relative to ${srcdir}, not ${rootdir}.
20253
20254Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
20255
20256 * gdb.base/signals.exp: Allow for optionality of breakpoint
20257 address.
20258
20259Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20260
20261 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
20262
20263Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20264
20265 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
20266 for size_t definition.
20267 * gdb.c++/templates.cc: Likewise
20268
20269 * config/mt-i386-netware: New file.
20270
20271 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
20272 defined.
20273
20274 * gdb.base/Makefile.in: Added support for systems that name core
20275 files by appending "core" to the program name.
20276 * gdb.base/a1-selftest.exp: Likewise.
20277
20278Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20279
20280 * gdb.base/return.exp: Add comment and message for `return double'
20281 test failure on Sparc Solaris.
20282
20283Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
20284
20285 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
20286
20287Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20288
20289 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
20290 from optimizing them away.
20291 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
20292 patterns to include default constructors and assignment operators,
20293 to match gcc versions beyond 2.5.8. Accept any cplus demangling
20294 character in the output of the virtual base pointer.
20295
20296Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20297
20298 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
20299 expression match in print_addr_of to avoid unintented matches.
20300 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
20301 versions up to 2.5.8.
20302
20303Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20304
20305 * gdb.base/list.exp: Tweak alternate pattern for listing of an
20306 included file to run under newer versions of expect.
20307 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
20308 consecutive >'s in templates to accomodate recent cplus-dem.c change.
20309 Remove xfail for the virtual table of BDDHookV.
20310
20311Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
20312
20313 * lib/gdb.exp (string_to_regexp): Set a default result.
20314 (default_gdb_start): Fix misleading message.
20315
20316Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
20317
20318 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
20319 Remove all CC, etc definitions.
20320 * config/mt-hpux: New file.
20321 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
20322 (CFLAGS, LDFLAGS): Define.
20323 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
20324
20325 * Makefile.in (site.exp): Don't insert host_os, etc.
20326 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
20327 (distclean): Check existence of subdir.
20328 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
20329 * gdb.base/Makefile.in: General cleanup and simplification.
20330 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
20331 to build executables. Use default rule to build .o files.
20332 (EXPECT, RUNTEST, CC): Fix relative pathname.
20333 (site.exp): Don't insert host_os, etc.
20334 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
20335 and/or SIGUSR1 defined.
20336 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
20337 * gdb.c++/Makefile.in: General cleanup and simplification.
20338 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
20339 (CFLAGS): Remove.
20340 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
20341
20342Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
20343
20344 * gdb.base/recurse.exp: Misc changes to get tests running again
20345 after Kung's changes to the watchpoint code.
20346 * gdb.base/watchpoint.exp: Likewise.
20347
20348Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
20349
20350 * lib/gdb.exp (string_to_regexp): Convert {\} also.
20351
20352Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
20353
20354 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
20355 * lib/gdb.exp (default_gdb_start): Define.
20356 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
20357 gdb.base/funcargs.exp, gdb.base/opaque.exp,
20358 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
20359 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
20360 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
20361 Don't call gdb_target_udi in between tests.
20362
20363Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20364
20365 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
20366 (which was basically just a local version of the same thing). In
20367 addition to avoiding duplication, gdb_test_exact is faster.
20368 * lib/gdb.exp (gdb_test_exact): Fix typo.
20369
20370 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
20371 don't give an error.
20372
20373 * gdb.base/term.exp: Call delete_breakpoints before starting.
20374
20375 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
20376 (t10): Add comment.
20377
20378Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
20379
20380 Reorganization of the GDB Test Suite.
20381
20382 * gdb.base: New directory, contains all the basic tests.
20383 * gdb.c++: New directory, tests specific to C++.
20384 * gdb.chill: New directory, tests specific to Chill.
20385 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
20386 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
20387 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
20388 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
20389 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
20390 t30-31 to chill).
20391 * */gdbme.*: Rename to match appropriate expect scripts.
20392 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
20393 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
20394 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
20395 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
20396 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
20397 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
20398 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
20399 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
20400 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
20401 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
20402 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
20403 gdb.c++/virtfunc.cc: New names of C++ files.
20404 * gdb.chill/chillvars.ch: New name of Chill file.
20405 * gdb.base/configure.in, gdb.c++/configure.in,
20406 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
20407 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20408 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
20409 * configure.in (configdirs): Update to reflect directory changes.
20410 (target_abbrev): No longer define for any configuration.
20411 * Makefile.in: Cosmetic improvements to header comments.
20412
20413Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
20414
20415 Various changes to gdb.t31:
20416
20417 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
20418 * gdbme.ch: Make all key-words and predefineds be upper-case.
20419 * chillvars.exp: Expect key-words and predefinds in upper-case.
20420
20421 * chillvars.exp: Use gdb_test_exact many places.
20422 Change expected output for arrays (which now includes index labels).
20423
20424 * pr-5020.exp, gdme.ch (module PR_5020):
20425 New test, for PR-5020.
20426
20427Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
20428
20429 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
20430 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
20431
20432Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
20433
20434 * Makefile.in: Fix bit-rot in definitions of CHILL,
20435 CHILL_FOR_TARGET and Chill_LIB.
20436 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
20437 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
20438 CHILL, and CHILL_LIB.
20439
20440Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
20441
20442 * Revert the previous changes. Please see Rob's directory
20443 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
20444
20445Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
20446
20447 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
20448 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
20449 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
20450 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
20451 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
20452 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
20453 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
20454 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
20455 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
20456 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
20457 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
20458 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
20459 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
20460 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
20461 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
20462 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
20463 changes from 94Q1.
20464
20465Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
20466
20467 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
20468 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
20469 Rob's new testing fragments.
20470
20471Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
20472
20473 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 20474 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
20475
20476Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
20477
20478 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
20479 version also, match on casted version strings, and match on
20480 gdb startup case where the line numbers might be messed up.
20481
20482Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
20483
20484 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 20485 (CFLAGS): Delete it from here.
c906108c
SS
20486
20487Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
20488
20489 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
20490
20491Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
20492
20493 * Makefile.in (RUNTEST): Default to just "runtest".
20494
20495Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20496
20497 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
20498 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
20499 the code has been restructured.
20500
20501Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20502
20503 * gdb.t00/default.exp (set write): Allow any number of \r and/or
20504 \n, not just one of each.
20505
20506 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
20507 /bin/cc gives a warning if you do.
20508
20509Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
20510
d63a86f8 20511 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
20512 __t10ListS_link1ZUiRCUiPT0
20513
20514Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20515
20516 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
20517 on local variables in recursive functions.
20518
20519 * gdb.t07/Makefile.in: Build the new test.
20520
20521Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20522
20523 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
20524 directly. Instead compare the return values from actual calls.
20525
20526Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
20527
20528 * Makefile.in (check): Set TCL_LIBRARY for runtest.
20529
20530Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20531
20532 * From Peter Schauer with minor modifications.
a9c64011
AS
20533 * gdb.t15/return.exp (return_tests): Handle targets where "return"
20534 stops in mid-line in the caller. Add xfail for returning a float
20535 value on X86 targets.
c906108c
SS
20536
20537Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20538
20539 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
20540 to avoid expect lossage.
20541 (fmem_LRbug_tests): Likewise.
20542 * gdb.disasm/hppa.s: Corresponding changes.
20543
20544 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
20545 conditions to work with latest dejagnu/expect.
20546
20547 * gdb.t15/funcargs.exp (finish from indirect call): No longer
20548 expected to fail on the PA.
20549 (backtrace in call with trampolines): Explicitly require main
20550 to be frame #1 (no trampolines should show up in backtrace).
20551
20552 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
20553 "continue -expect".
20554 * gdb.t06/break.exp: Likewise.
20555 * gdb.t07/watchpoint.exp: Likewise.
20556 * gdb.t13/bitfields.exp: Likewise.
20557 * gdb.t15/{funcargs,return}.exp: Likewise.
20558 * gdb.stabs/weird.exp: Likewise.
20559 * config/{mips,udi}-gdb.exp: Likewise.
20560
20561 * hppa.sed: Enclose comments within a sed command to avoid
20562 losing with the old OSF1 sed.
20563
20564Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20565
20566 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
20567 sequent dynix.
20568 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
20569 * gdb.t15/funcargs.exp: Conditionally step again to really
20570 finish from marker_call_with_trampolines. Handle the case where
20571 the first step from within call_with_trampolines already steps
20572 us back to main.
20573 * gdb.t15/gdbme.c: Add comment to closing brace of
20574 call_with_trampolines for funcargs.exp.
20575
20576Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20577
d63a86f8 20578 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
20579 Fix typo(s).
20580
20581Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20582
20583 * gdb.t07/gdbme.c: More code for watchpoint testing.
20584
20585 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
20586 "Hardware watchpoint" throughout file.
20587 (test_watchpoint_triggered_in_syscall): New test.
20588 (test_complex_watchpoint): New test.
20589
20590Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20591
20592 * gdbme.c (call_with_trampolines): New function to try and step
20593 into. Tests trampoline problems on the PA.
20594
20595 * funcargs.exp (localvars_in_indirect_call): No longer expect
20596 stepping into indirect call to fail on PAs.
20597 (test_stepping_over_trampolines): New test.
20598
20599Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20600
20601 * TODO: Add suggestions for static member function tests, and
20602 completion tests.
20603
20604Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20605
20606 * TODO: Add suggestions for "p/a" tests.
20607
20608 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
20609 (default_gdb_exit): Replace all the hair with sending "quit" to
20610 the process with a simple close.
20611
20612Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20613
20614 * TODO: Add suggestions for shared library tests.
20615
20616Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20617
20618 * TODO: Add suggestions for x/s tests.
20619
20620Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20621
20622 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
20623 "enable once", and "enable breakpoints once" with ".*".
20624
20625Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20626
20627 * TODO: Add suggestions about structure passing tests.
20628
20629Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20630
20631 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
20632 the primary1 test, use work around if __GNUC__ < 2.
20633 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
20634 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
20635 Test for bad output rather than waiting for timeout. Issue
20636 second continue only if first continue failed.
20637
20638Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20639
20640 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
20641 operator[] test with gdb_test because the old code didn't seem to
20642 be getting the quoting right with the new dejagnu.
20643
20644Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
20645
20646 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
20647 one from the path.
20648 * Makefile.in: Use a fresh expect if there is one, use runtest
20649 from the src tree if there is one.
d63a86f8 20650
c906108c
SS
20651Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20652
20653 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
20654 next over recursive call. Revise the tests from that point on
20655 (which had been skipped) to match GDB's actual (correct) output.
20656
20657 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
20658 with next over a breakpoint whose condition is false.
20659
20660 * gdb.t00/help.exp: Comment out "help set print" tests just like
20661 (and for same reason as) "help set" test.
20662
20663Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20664
20665 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
20666 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
20667
20668Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20669
20670 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
20671 necessary gdb_target_udi.
20672
20673 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
20674
20675 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
20676 1838 and 2417; they are fixed.
20677
20678 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
20679 gdb.t03/ptype.exp (ptype structure, ptype union):
20680 Remove xfails; the test is looser than when the xfails were added.
20681
20682 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
20683 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
20684
20685 * gdb.t01/run.exp: Only run shell test if isnative.
20686
20687 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
20688 since "run" automatically loads if necessary. Call gdb_target_udi
20689 after the "file" since "file" kills any execution target.
20690
20691 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
20692 GDB. GDB doesn't work that way (not anymore at least) on UDI.
20693 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
20694 argument for UDI.
20695
20696Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20697
20698 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
20699
20700 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
20701
20702Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20703
20704 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
20705 properly quoting regexps. This makes the second argument to
20706 demangle a fixed string, which matches the callers, instead of a
20707 shell-style pattern which is what the previous implementation
20708 used. Update some of the callers.
20709
20710Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20711
20712 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
20713 (comib_nullified_tests): Fix typo.
20714 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
20715 strings. No longer expected to fail.
20716
20717 * gdb.disasm/hppa.s (addib_tests): Fix typo.
20718 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
20719 strings. No longer expected to fail.
20720
20721 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
20722 string. No longer expected to fail.
20723
20724Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20725
20726 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
20727 No longer expected to fail.
20728
20729 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
20730 string. No longer expected to fail.
20731
20732Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20733
20734 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
20735 only in the names (I probably got most of them). I was even
20736 generous with some which differed in underscores in names, and
20737 probably missed a few, and I *still* was able to remove almost a
20738 third of the file with almost no impact on testsuite coverage.
20739
20740Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20741
20742 * gdb.t00/default.exp: Match udi_attach error message as well as
20743 the one from child_attach.
20744
20745 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
20746
20747 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
20748
20749 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
20750 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
20751
20752 * Move test with enums and partial symbols back to
20753 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
20754 Reverts the change of 26 May 93. Per today's change to
20755 stabs.texinfo, the behavior that weird.exp was expecting was
20756 unreasonable; what is important is that the compiler+gdb get
20757 things right, which happens with a recent gcc. Also fix the test
20758 to deal with native compilers which put out the stab gdb can't
20759 deal with.
20760
20761Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20762
20763 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
20764 in the names. The main thing these accomplish is to slow things down.
20765 Many more such duplicates surely remain.
20766
20767 * gdb.t00/help.exp: Comment out "help support" test just like
20768 (and for same reason as) "help set" test.
20769
20770Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
20771
20772 * gdb.t06/break.exp: Remove setup_xfails for
20773 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
20774 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
20775 about known bug in gcc to include up through 2.5.8.
20776 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
20777 well as "_vb$".
20778 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
20779 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
20780 with latest gcc and gdb.
20781 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
20782 well as "_vb$".
20783
20784Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20785
20786 * configure.in (hppa*-*-*): Also configure and build stabs-only
20787 tests.
20788
20789Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20790
20791 * gdb.t10/hppa.mt: A makefile fragment for the PA.
20792 * gdb.t10/configure.in (hppa*-*-*): Use it.
20793
20794Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20795
20796 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
20797
20798Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20799
20800 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
20801 versions prior to 1.13.5.
20802
20803Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20804
20805 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
20806 the prompt is at the start of a line.
20807
20808Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20809
20810 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
20811 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
20812 in the copr tests now.
20813 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
20814 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
20815 expected to fail.
20816
20817Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
20818
20819 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
20820 gdb.t31/chillvars.exp, lib/gdb.exp:
20821 Tweak to run under either version of expect.
20822 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
20823 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
20824 * gdb.t11/list.exp: Remove extraneous whitespace.
20825
20826Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20827
20828 * gdb.t16/printcmds.exp (test_print_strings): Accept
20829 "(unsigned char *) " before the string.
20830
20831 * TODO: Add notes about printing of fancy types and GDB expressions.
20832
20833Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
20834
20835 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
20836 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 20837 if doing mips-idt-ecoff.
c906108c
SS
20838
20839Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
20840
20841 * Most .exp files: Tweak to run under either version of expect.
20842
20843Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20844
20845 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
20846 xfails; I'm not sure why they are failing, but not because of PR 1806.
20847
20848Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
20849
20850 * config/unix-gdb.exp: Remove gdb_unload cause it's already
20851 defined in lib/gdb.exp.
20852
20853Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20854
20855 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
20856 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
20857 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
20858 have to be typeless.
20859
20860Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20861
20862 * TODO: Add suggestion for copyright year test.
20863
20864Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
20865
20866 * configure.in (*-*-lynxos*): Add stabs tests.
20867
20868Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
20869
20870 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
20871 so insert a tab before any assembler directive in column zero.
20872
20873 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
20874 stores.
20875 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
20876 stores.
20877 (fpu_short_memory_tests): Likewise.
20878
20879Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20880
20881 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
20882 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
20883 .stabs directives in comments.
20884
20885Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20886
20887 * TODO: New file, describing tests we could write.
20888 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
20889
20890Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20891
20892 * gdb.t06/signals.exp: Add kludge to force re-sync.
20893
20894 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
20895 to xgdb instead of gdb, get out of gdb.
20896
20897Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
20898
20899 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
20900 for info.
20901
20902Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
20903
20904 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
20905 * gdb.stabs/configure.in (hppa*-*-*): Use it.
20906 * gdb.stabs/hppa.sed: New sed script for the PA.
20907
20908Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20909
20910 * gdb.stabs: Re-write weird.def and configuration to use sed
20911 instead of cpp. sed is portable and POSIX; cpp is neither.
20912
20913Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20914
20915 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
20916
20917Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20918
20919 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
20920
20921Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20922
20923 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
20924 "_vb$".
20925 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
20926 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
20927
20928Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20929
20930 * lib/gdb.exp: Comment out code which depends on non-existent
20931 `transform' procedure.
20932
20933Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
20934
20935 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
20936 * lib/gdb.exp: Transform tool name.
20937 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
20938 1.1's new error handling system.
20939
20940Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20941
20942 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
20943
20944Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20945
20946 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
20947 They made pattern matching so slow that timeouts happened on
20948 heavily loaded systems. Now any output from "show print" which
20949 gets us back to the GDB prompt is a PASS.
20950
20951Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
20952
20953 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
20954
20955Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20956
20957 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
20958
20959 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
20960 It is not from PR 3220.
20961
20962Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20963
20964 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
20965 just started failing because they depended on the order the
20966 subcommands are presented, or exact docstring text. This kind of
20967 test is a pain and has minimal benefit.
20968
20969Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20970
20971 * gdb.t09/corefile.exp: At end of test, use "core" command with
20972 no arguments.
20973
20974Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
20975
20976 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
20977 17}/Makefile.in: Make it possible to run the testsuite with Sun
20978 make and CC = cross gcc by adding explicit build rules for .o
20979 files.
20980
20981Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20982
20983 * gdb.t15/funcargs.exp: Don't put comments on same line as
20984 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 20985
c906108c
SS
20986Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20987
20988 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
20989
20990Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
20991
20992 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
20993 * gdb.t20/inherit.exp: remove three dumplicate entries.
20994
20995Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20996
20997 * gdb.t06/break.exp: For "next over recursive call", fail on any
20998 incorrect output, not just on "factorial (value=2)".
20999
21000Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21001
21002 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
21003 working now. Add an xfail if accesing a bss variable causes
21004 a memory error if the target is not yet run.
21005
21006Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21007
21008 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
21009 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
21010 name of __st* demangling (2 strings). Did Kung really get the
21011 more than 95 others right without testing them?
21012
21013Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
21014
21015 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
21016
21017Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
21018
21019 * configure.in (configdirs): Add gdb.disasm
21020 * gdb.disasm: New directory for GDB disassembler tests.
21021 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
21022
21023Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21024
21025 * gdb.t00/help.exp: Don't test "help set".
21026
21027 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
21028 from within expect statements. None of these happen anymore and
21029 they cause regressions to be silently unnoticed.
21030
21031 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
21032 messages) about known failures with gcc cygnus-2.4.5-930417.
21033
21034 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
21035 comp-info.exp so it gets built if it doesn't exist.
21036
21037 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
21038 it is no longer used.
21039 * gdb.t13/comp-info.c: Removed.
21040
21041Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21042
21043 * gdb.t06/signals.exp: Add xfail for sun3.
21044
21045Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21046
21047 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
21048 relevant because ^C doesn't get sent but failure can be reproduced
21049 interactively).
21050
21051Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21052
21053 * gdb.stabs/alpha.mt: New configuration file for alpha.
21054 * gdb.stabs/configure.in: Use it.
21055 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
21056 sharing with alpha.mt, redefine long to word via preprocessor.
21057 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
21058 for alpha.
21059 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
21060 native cc.
21061 * gdb.t00/teststrategy.exp: Change expect string so that we
21062 consume the `(xgdb)' from the command echo and from the gdb prompt.
21063 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
21064 gdb currently compares all values as long, so this failure probably
21065 applies to any configuration where LONGEST is bigger than a target int.
21066 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
21067 with gcc.
21068 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
21069 to handle opaque pointers, gcc is.
21070 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
21071 as first argument. Include <sys/types.h> and change all operator
21072 new definitions to use size_t.
21073 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
21074 now that we use size_t.
21075
21076Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21077
a9c64011 21078 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 21079 a long or float array cast all array members to the same type.
a9c64011 21080 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 21081 with 64 bit longs.
a9c64011 21082 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 21083 on alpha.
a9c64011 21084 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
21085
21086Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21087
21088 * gdb.t24 (demangle.exp): Constructors of templates have names like
21089 vector<int>::vector(int) not vector<int>::vector<int>(int). See
21090 section 14.6 of the ARM.
21091
21092 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
21093 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
21094 accomplish little and slow down the testsuite.
21095
21096 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
21097 Accept spaces various places.
21098
21099Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21100
21101 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
21102 with watchpoint enabled.
21103
21104 * Makefile.in: Remove definition of CC and remove the second
21105 definition of CXX (the "CXX = gcc" one remains). These definitions
21106 were causing backquotes to be expanded within backquotes, which
21107 doesn't work.
21108
21109Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
21110
21111 * gdb.t17/callfuncs.exp: Add "return 0" to end.
21112
21113Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21114
a9c64011
AS
21115 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
21116 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
21117 by mips cc and contains no stabs entries.
21118
21119Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
21120
21121 * config/vx-gdb.exp: Use fake device to load files rather than
21122 NFS.
21123 * lib/gdb.exp: New proc to do "file" command.
21124 * config/unix-gdb.exp: Use new "file" proc.
21125
21126Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
21127
21128 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
21129 Rework board rebooting slightly.
21130 (gdb_exit): Don't exit from the remote shell; there isn't one.
21131 * gdb.stabs/weird.exp: If a program is being debugged already,
21132 kill it.
21133 * gdb.t04/setvar.exp: Stop and restart gdb.
21134 * gdb.t05/expr.exp: Likewise.
21135 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
21136 restart gdb and reload the program.
21137 * gdb.t08/opaque.exp: Likewise.
21138 * gdb.t12/scope.exp: Likewise.
21139 * gdb.t13/bitfields.exp: Likewise.
21140 * gdb.t15/funcargs.exp: Likewise.
21141 * gdb.t20/classes.exp: Likewise.
21142 * gdb.t03/ptype.exp: Increase timeout.
21143 * gdb.t16/printcmds.exp (test_print_string_constants,
21144 test_print_array_constants): Likewise.
21145 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
21146 * gdb.t20/classes.exp (do_tests): Likewise.
21147 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
21148
21149Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
21150
21151 * gdb.stabs: Renamed *wierd* to *weird*.
21152
21153Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
21154
21155 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
21156 for timeout. Add "known gcc 2.4.5 bug" to failure message.
21157
21158Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
21159
21160 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
21161 (do_tests): Remove xfail for whatis on one_var and two_var.
21162
21163Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
21164
21165 * Makefile.in: Made cross building work better by adding
21166 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
21167
21168Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21169
21170 * gdb.t15/{return.c,return.exp,Makefile.in}:
21171 New test, currently commented out.
21172
21173Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
21174
21175 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
21176 still running and removes the leftover named socket so GDb can do
21177 clean restarts.
21178
21179Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
21180
21181 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
21182 console, not GDB.
21183 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
21184 cross testing works better with "make check"
21185 * config/unix-gdb: Use default procedures for exit and version.
21186 * config/vx-gdb.exp: Cleaned up and massaged back to working order
21187 with the newest VxWorks.
21188
21189Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21190
21191 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
21192 old form.
21193
21194 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
21195 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
21196
21197 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
21198
21199 * config/unix-gdb.exp: Remove this version of gdb_exit
21200 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
21201 Rob says he'll look at it when he gets back to testing boards.
21202
21203Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
21204
21205 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
21206 an expected fail for certain ptype commands.
21207
21208 * gdb.t20/classes.exp: Update expected results of "ptype class
21209 Base1" to account for the constructor that now appears in the type.
21210
21211Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
21212
21213 * configure.in (configdirs): Restore gdb.t04, which mysteriously
21214 disappeared from list.
21215 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
21216 "alldone" proc with call to cleanup and exit.
21217 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
21218 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
21219 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
21220 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
21221 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
21222 "alldone" proc with simple returns that suppress remaining
21223 tests. The alldone proc went away many months ago.
21224
21225Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21226
21227 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
21228
21229 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
21230
21231Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21232
21233 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
21234 as vax gdb will display them.
21235
21236Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21237
21238 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
21239 optimizers.
21240
21241 * scope.exp: Change "bad value for localval" messages so each one
21242 is unique.
21243
21244 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
21245 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
21246
21247 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
21248
21249Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21250
21251 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
21252 doesn't exist (due to optimization).
21253
21254Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21255
21256 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
21257 contains \r because the filename is long.
21258
21259 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
21260 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
21261
21262Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21263
21264 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
21265 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
21266 Ultrix.
21267 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
21268 int tests.
21269 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
21270
21271Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
21272
21273 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
21274
21275 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 21276 to match does not match the passing case but still matches the
c906108c
SS
21277 failing case.
21278
21279Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21280
21281 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
21282
21283Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
21284
21285 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
21286 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
21287 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
21288 Remove various versions of gdb_exit.
21289 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
21290 gdb_exit.
21291 * config/unix-gdb.exp: gdb_exit remains here, and should override
21292 the generic version, since it's doing a lot of wierd stuff that
21293 the other versions aren't. FIXME, fold it in, or abandon this
21294 version.
21295
21296Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21297
21298 * gdb.t24/demangle.exp: Add tests for PR 3220.
21299
21300Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21301
21302 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
21303
21304Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
21305
21306 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
21307 "i386-*-*". Works for i486 as well.
21308
21309 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
21310 bug, and expand domain of xfail to all SVR4 systems, since the
21311 actual problem is likely to be in generic SVR4 /proc support.
21312
21313Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21314
21315 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
21316
21317Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
21318
21319 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
21320 xfails for other systems. Match a missing 'Continuing.' as an
21321 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
21322
21323 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
21324 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
21325 Only issue warning for missing executables if -all option is used.
21326
21327 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
21328 file if -all option is used. It's like an unpredictable XFAIL.
21329
21330Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21331
21332 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
21333 for dynamically linked binaries.
21334
21335 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
21336
21337Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21338
21339 * gdb.t20/inherit.exp: Change message for "print tagless struct"
21340 to state that this is a known bug in old versions of g++.
21341
21342Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21343
21344 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
21345 while waiting for `Continuing'.
21346
21347Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
21348
21349 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
21350 in text, data, and bss.
21351 * gdb.t10/nodebug.c: Add local and global test variables for
21352 initialized and uninitialized data.
21353
21354Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21355
21356 * config/unix-gdb.exp (gdb_exit): Add "wait".
21357
21358Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21359
21360 * gdb.t06/signals.exp: xfail the continue from the handler for all
21361 targets.
21362
21363 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
21364 function with watchpoints enabled, the i386 call dummy starts with
21365 a call.
21366
21367 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
21368 386 bsd names its corefiles.
21369
21370Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
21371
21372 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
21373 compilers don't grok it.
21374 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
21375 with small octal ints rather than character constants, which
21376 are signed and might not fit if first promoted to int.
21377
21378Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
21379
21380 * gdb.t09/Makefile.in (clean): Remove corefile.
21381
21382Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21383
21384 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
21385
21386Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21387 and Jim Kingdon (kingdon@cygnus.com)
21388
21389 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
21390 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
21391 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
21392
21393Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21394
21395 * gdb.t17/interrupt.exp: Add xfail for hppa.
21396
21397Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21398
21399 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
21400 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
21401 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
21402 to determine signed-ness of bitfields and use the result to setup
21403 the xfail.
21404 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
21405 * gdb.t15/funcargs.exp: Use them to step until the second indirect
21406 call line is reached if necessary.
21407
21408Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21409
21410 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
21411
21412Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21413
21414 * gdb.t06/break.exp: Also test `clear' command.
21415
21416Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21417
21418 * gdb.t00/teststrategy.exp: Remove extra quote.
21419
21420 * gdb.t07/watchpoint.exp: Change xfail for calling function with
21421 watchpoint enabled to be for all non-68k machines.
21422
21423 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
21424
21425Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21426
21427 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
21428 targets use aout.mt instead of ecoff.mt as gas understands
21429 standard aout format.
21430
21431Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21432
21433 * lib/gdb.exp (runto): Don't insist that function we are running to
21434 was compiled with -g.
21435
21436 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
21437
21438 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
21439 to get back into the read system call.
21440 Accept leading newline in case where we woke it up.
21441
21442Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21443
21444 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
21445 to make the stabs test work on ecoff systems using gcc and -with-stabs.
21446 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
21447 enable ecoff configuration.
21448
21449Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21450
21451 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
21452
21453Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21454
21455 * gdb.t16/printcmds.exp: Add another printf test.
21456
21457Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
21458
21459 * configure.in: If configured -with-stabs on any target, add
21460 stabsdirs to configdirs.
21461
21462Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21463
21464 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
21465 fun" so pattern does not match the command itself.
21466
21467Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21468
21469 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
21470
21471Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21472
21473 * gdb.t17/interrupt.exp: Test for more things.
21474
21475Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21476
21477 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
21478 compiler arranges the code and line numbers.
21479
21480 * gdb.t17/interrupt.exp: Don't send \n after ^C.
21481
21482Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21483
21484 * gdb.t00/help.exp: Increase expect input buffer size.
21485
21486Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21487
21488 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
21489
21490 * gdb.t07/watchpoint.exp: Add xfail for hppa.
21491
21492 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
21493
21494 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
21495 [0-9]*, not just [0-9].
21496
21497Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21498
21499 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
21500
21501 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
21502
21503Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21504
21505 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
21506
21507Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21508
21509 * gdb.t06/signals.c: Add xfails for sun3.
21510
21511 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
21512
21513 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
21514 test_stepping tests.
21515
21516Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21517
21518 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
21519
21520 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
21521
21522 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
21523 rather than actually putting it through cpp twice.
21524
21525 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
21526
21527Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
21528
21529 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
21530 no longer needed.
21531
21532Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21533
21534 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
21535
21536 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
21537 C++ features prints as "struct", make it a pass, not an xfail.
21538
21539Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21540
21541 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
21542 Don't require VA to print as "class" rather than "struct".
21543
21544Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
21545
21546 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
21547
21548Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21549
21550 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
21551
21552Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21553
21554 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
21555 order.
21556
21557Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21558
21559 * gdb.t16/printcmds.exp: Add printf tests.
21560
21561 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
21562
21563 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
21564
21565Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
21566
21567 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
21568 pass counts, to counteract any existing or future setup_xfails.
21569
21570Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21571
21572 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
21573 {BEGIN,END}_COMMON for common block instead of STAB.
21574 * gdb.stabs/wierd.exp: Add xfail for rs6000.
21575
21576 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
21577 intp_var should be N_GSYM not N_LSYM.
21578 wierd-aout.S: Use a label for the value of the N_SO.
21579 wierd.def: Remove all backslashes.
21580 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
21581
21582Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21583
21584 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
21585 get the expected next to inheritance3.
21586
21587Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21588
21589 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
21590 now that gcc-2.4 gets it right.
21591
21592Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21593
21594 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
21595
21596 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
21597 generating comp-info.exp which works for cross-compilation.
21598
21599Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
21600
21601 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
21602 "*-*-sysv4.*".
21603
21604Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
21605
21606 * gdb.t01/run.exp: Start with a fresh gdb.
21607 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
21608 SVR4.x.
21609
21610Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
21611
21612 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
21613 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
21614 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
21615 Makefile.in (distclean, realclean): Remove gdbme.c from list of
21616 things to remove.
21617
21618Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
21619
21620 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
21621 test cases from bug reports.
21622
21623Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
21624
21625 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
21626 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
21627 avoid spurious xfails.
21628 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
21629 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
21630 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
21631
21632Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
21633
21634 * gdb.t00/teststrategy.exp: Rework to provide more useful
21635 description of each test, fix problem with systems that define
21636 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
21637 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
21638 results for "next over recursive call" so timeouts aren't taken
21639 by error.
21640
21641Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
21642
21643 * gdb.t12/scope.exp: Test printing of variables before run.
21644
21645 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
21646 printed in wrong order due to sorting.
21647
21648Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
21649
21650 * gdb.t00/teststrategy.exp: Fix expected results for printing
21651 user entered string constant. Is array of char, prints with no
21652 address.
21653
21654 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
21655 commands.
21656 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
21657 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
21658 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
21659 of struct of char arrays.
21660 * gdb.t00/radix.exp: New tests for radix commands.
21661
21662Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
21663
21664 * gdb.t16/printcmd.exp: Print a variable before running program
21665 (with xfail for AIX).
21666
21667Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
21668
21669 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
21670
21671 * gdb.t16/printcmd.exp: Don't print variables before running program.
21672
21673 * gdb.t06/break.exp: Don't require envp argument to main.
21674
21675 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
21676
21677 * gdb.t02/whatis.exp, gdb.t11/list.exp:
21678 Add xfails for rs6000.
21679
21680 * gdb.t02/whatis.exp: Change other tests not to re-test something
21681 we already tested.
21682
21683 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
21684 each type used has a variable of that type.
21685
21686Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
21687
21688 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
21689
21690Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
21691
21692 * configure.in: change srctrigger to be a file, not a directory
21693
21694Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
21695
21696 * configure.in (mips-idt-ecoff*): Added trailing '*'.
21697
21698 * gdb.t11/list.exp: Fixed a couple of typos.
21699
21700Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
21701
21702 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
21703 is fixed and PR is closed.
21704 * gdb.t16 (gdbme.c): Add simple test string variable.
21705 * gdb.t16 (printcmds.exp): Add tests with simple test string
21706 variable, primarily for boundaries on "set print elements".
21707
21708Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
21709
21710 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
21711 Make leading 0's optional and don't expect a tab in the middle
21712 of the number.
21713
21714 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
21715
21716 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
21717 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
21718 don't end command passed to gdb_test with newline.
21719
21720 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
21721 signed keyword away, don't expect signed bitfields to be signed.
21722
21723 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
21724 printing with only as many 1's as are in the field as well as printing
21725 with 32 1's (see comment).
21726
21727Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
21728
21729 * gdb.t00/default.exp: Start with a fresh gdb.
21730 * configure.in (configdirs): Remove gdb.t31 until the chill
21731 compiler works again. It no longer is able to find chillrt0
21732 since it isn't in libchill.a anymore.
21733 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
21734 wierd.o, make more modular.
21735 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
21736 spurious newlines that caused problems.
21737
21738Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21739
21740 * Move test with enums and partial symbols from gdb.t03/ptype.exp
21741 to gdb.stabs/wierd.exp since GCC has worked around the bug.
21742 gdb.stabs/wierd.{exp,def}: Many new tests.
21743
21744 * gdb.t00/default.exp: update info line for new message.
21745
21746 * gdb.t02/{whatis.exp,gdbme.c}:
21747 Test that "char *" doesn't print as "caddr_t".
21748
21749Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21750
21751 * gdb.t00/help.exp: Use .* in place of some help messages which
21752 just changed.
21753 gdb.t00/default.exp: Update "info frame" test for new message.
21754 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
21755 Remove some xfails
21756
21757Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21758
21759 * gdb.t03/{gdbme.c,ptype.exp}:
21760 Add tests for typedef'd struct and union without tags.
21761 Also check "whatis" on a variable of a typedef'd enum without a tag.
21762
21763 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
21764 PRMS 1823; the bug still exists but isn't reproduced by this test
21765 anymore), and remove rs6000 XFAIL (the bug is fixed).
21766
21767 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
21768 duplicated from whatis.exp. For those that are left, accept
21769 "long", "long int", or "int" for long variables (whatis.exp already
21770 has an XFAIL for "int", so no need to fail it here).
21771
21772 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
21773 Deal with GCC's names for types now that GDB uses the compiler's names.
21774
21775 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
21776 setup_xfail's for sunos4. If we #defined the signed keyword away,
21777 don't expect GDB to know that char it is signed.
21778
21779 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
21780
21781Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
21782
21783 * configure.in (configdirs): Add gdb.t24 for C++ tests that
21784 should work on any system, regardless of debugging format.
21785 * gdb.t21/demangle.exp: Move to gdb.t24.
21786 * gdb.t24/demangle.exp: Move from gdb.t21.
21787 * gdb.t24/{Makefile.in, configure.in}: New files.
21788
21789Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21790
21791 * configure.in: Do gdb.stabs and C++ tests only for stabs.
21792 * gdb.stabs: New directory.
21793
21794Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21795
21796 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
21797 not just "Quit anyway?".
21798
21799Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
21800
21801 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
21802 that all setup_xfails are immediately followed by clear_xfails.
21803
21804Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
21805
21806 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
21807 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
21808 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
21809 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
21810 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
21811 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
21812 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
21813 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
21814 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
21815 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
21816 gdb.t31/chillvars.exp, lib/gdb.exp:
21817 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
21818 bug-gdb@prep.ai.mit.edu.
21819
21820Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
21821
21822 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
21823 with 0.0, not integer 0.
21824
21825Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
21826
21827 * gdb.t06/break.exp: Update for "Kill the program" message change.
21828
21829Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
21830
21831 * Makefile.in (GDBFLAGS): Set to -nx.
21832 * Makefile.in (site.exp): Use GDBFLAGS.
21833
21834Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
21835
21836 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
21837 Makefiles.
21838 (check): depend on just-check.
21839 (just-check): added so that tests can be run without a noop
21840 build pass.
21841
21842Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
21843
21844 Switch to using configure's configdirs.
21845 * Makefile.in (Makefile): add configure.in dependency.
21846 (SUBDIRS): removed redundant assignment.
21847 * configure.in: switch subdirs assignment to configdirs.
21848 * gdb.t*/configure.in: new files.
21849
21850Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
21851
21852 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
21853 works.
21854
21855Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
21856
21857 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
21858 in explicit rules. Apparently this is not supported by some makes.
21859
21860Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
21861
21862 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
21863
21864Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21865
21866 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
21867 disappeared.
21868
21869Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
21870
21871 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
21872
21873Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
21874
21875 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
21876 watchpoint problem that is now fixed.
21877 * gdb.t30/chexp.exp: Remove setup_xfail for printing
21878 uninitialized convenience variables.
21879 * gdb.t31/chillvars.exp: Fix expected patterns for printing
21880 structures.
21881
21882Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21883
21884 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
21885 which causes expect to get out of sync with gdb on long output
21886 from help set.
21887 * gdb.t09/corefile.exp: Make expected pattern for core file
21888 failing signal and frame output format less sun specific.
21889
21890Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
21891
21892 * gdb.t31/chillvars.exp: Add and remove initial dummy
21893 breakpoint, so that symbol table is forced in.
21894 (Needed at least on Sunos4, though it seems not SVR4.)
21895 * gdb.t31/chillvars.exp: Update for changed output format.
21896
21897Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
21898
a9c64011 21899 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
21900
21901Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
21902
21903 * Makefile.in: Added --srcdir when invoking runtest, removed the
21904 need for a local config file. (optional now)
21905
21906Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
21907
21908 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
21909 failure count used to force early termination. Add some more
21910 expected failures for gnu style demangling.
21911
21912Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21913
21914 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
21915 pmi variable from gdb.t20/gdbme to get optimized away.
21916 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
21917 Check for written corefile upon timeout _and_ eof.
21918
21919Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21920
21921 * config/unix-gdb.exp: Add missing return 0.
21922
21923Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21924
21925 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
21926 test termination.
21927
21928Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
21929
21930 * configure.in (subdirs): Put back gdb.t17 which mysteriously
21931 disappeared.
21932
21933Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
21934
21935 * gdb.t10/crossload.exp: Disable the i860-elf test until such
21936 time as i860 support works.
21937
d63a86f8 21938 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
21939 "backtrace 100\r" rather than just "backtrace\r", to match last
21940 change.
21941
21942Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
21943
21944 * config/udi-gdb.exp (gdb_exit): Remove close command.
21945 (gdb_target_udi): New procedure to set the UDI target.
21946 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
21947 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
21948 Added waits for prompts after several question responses. Added
21949 some more responses used by a29k-amd-udi-gdb.
21950 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
21951 pass different arguments, restart UDI connection after program
21952 completion.
21953 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
21954 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
21955 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
21956 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
21957 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
21958 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
21959 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
21960 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
21961 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
21962 after program completion.
21963 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
21964 compiled with a SELECT_VECS setting.
21965 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
21966 infinite recursion.
21967
21968 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
21969 Added checks for COFF results, and made them expected failures for
21970 all targets. It would be better to make them expected failures
21971 for COFF targets only.
21972
21973Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
21974
21975 * Makefile.in: add null dvi target, don't bother to recurse
21976 through test directories for info and install-info; rename
21977 $(datadir) to be dejagnu instead of deja-gnu
21978
21979Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
21980
21981 * gdb.t31/gdbme.ch: Re-enable code that previously caused
21982 compiler to coredump.
21983 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
21984 code.
21985
21986Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
21987
21988 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
21989 coredump.
21990 * gdb.t31/chillvars.exp: Comment out tests that depend on that
21991 code.
21992
21993Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
21994
21995 * gdb.t03/ptype.exp: tests for return code from gdb_test.
21996 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
21997 which in a shell. Deletes xgdb when done.
21998 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
21999 Tests the return from the "set height" or "set width" commands.
22000 Added a few return codes where needed.
22001
22002Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
22003
22004 * Makefile.in (SUBDIRS): Add gdb.t17.
22005 * configure.in (subdirs): Add gdb.t17.
22006 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
22007 files to test gdb's calling of functions in the inferior with
22008 the correct arguments and gdb's ability to retrieve any
22009 result returned.
22010
22011Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
22012
22013 * config/unix-gdb.exp (gdb_exit): Remove close commands that
22014 may be called after gdb goes away. Previous versions of expect
22015 needed these to avoid file descriptor leaks, but they cause
22016 errors with the current revision of expect.
22017 * gdb.t00/gdbvars.exp: Use -re on expected output after
22018 setting sevenbit-strings.
22019 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
22020 to set sevenbit-strings consistent across tests.
22021 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
22022 set sevenbit-strings consistent across tests.
22023
22024Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
22025
22026 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
22027 expected output to match current "expect" expectations.
22028
22029Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
22030
22031 * gdb.t00/default.exp: Change expected output for default "source"
22032 command, to match new gdb behavior which requires a filename to
22033 source.
22034
22035Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
22036
22037 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
22038 expected fail for i486-*-* that misses the marker2 function.
22039 * gdb.t10/crossload.exp (bfddefault): Allow successful
22040 recognition of a format to pass even if no symbols are found.
22041 Explicitly catch failures where the format is not recognized
22042 or is ambiguous, and add the reason to the fail message.
22043 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
22044 the cause is and invalid target and add reason to failure message.
22045 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
22046 elf32-i386, elf32-sparc, and elf32-i860.
22047 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
22048 Set up expected failure for 'filename'::variable scope resolution,
22049 which is now apparently broken on all targets.
22050 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
22051 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
22052 gdb.t23/templates.exp: Change failure for missing binfile into
22053 just a warning.
22054 gdb.t21/demangle.exp: Change all cfront references to 'arm'
22055 references.
22056
22057Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
22058
22059 * gdb.t00/default.exp: Add expected output for default "source"
22060 command, to match new gdb behavior.
22061 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
22062
22063Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
22064
22065 * config/*-gdb.exp: returns an error, rather than exiting on
22066 internal errors.
22067
22068Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
22069
22070 * gdb.t03/gdbme.c: Add pointer to struct variable.
22071 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
22072 referencing struct members.
22073
22074Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
22075
22076 * configure.in (mips-idt-ecoff): New target.
22077 * config/mips-gdb.exp: New file for remote board using MIPS remote
22078 debugging protocol.
22079
22080 * Redid configuration scheme. Removed gdb.t*/configure.in.
22081 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
22082 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
22083 distclean targets. Built executables via .o files. Adjusted
22084 tests to account for source files in $(srcdir) rather than
22085 $(objdir).
22086 * lib/gdb.exp (runto): Don't expect () after the function name,
22087 because it may have arguments.
22088
22089Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
22090
22091 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
22092 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
22093 expected failures for mips-idt-* and mips-sgi-*.
22094 * gdb.t00/default.exp (attach): Kill process if requested.
22095 * gdb.t00/help.exp (help target core, help target): Accept a gdb
22096 that does not read core files.
22097 * gdb.t01/run.exp: Removed checks for exit status code.
22098 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
22099 it is linked in.
22100 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
22101 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
22102 appropriate, rather than doing it by hand.
22103 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
22104 execution.
22105 * gdb.t10/crossload.exp: Kill existing program if needed.
22106 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
22107 appropriate, rather than doing it by hand. Always increase
22108 timeout for this test, not just for VxWorks.
22109
22110Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
22111
22112 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
22113 of Chill STRUCT types and STRUCT values.
22114 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
22115 than "char".
22116 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 22117 struct2): New struct definitions and initializations to test
c906108c
SS
22118 simple Chill STRUCT types.
22119
22120Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
22121
22122 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
22123 the null byte at the end of strings.
22124 * gdb.t00/default.exp: Make show version insensitive to copyright
22125 date.
22126 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
22127 to avoid dependencies on target char signedness.
22128 * gdb.t16/printcmds.exp: Update expected results for explicitly
22129 unsigned char.
22130 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
22131 now work.
22132 * gdb.t21/demangle.exp: Add many more patterns for template
22133 demangling, most of them being expected failures.
22134 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
22135 string we are matching for, to match on the whole string.
22136 * gdb.t21/demangle.exp: Add many new test strings to demangle,
22137 and fix a whole bunch that had incorrect expected output but were
22138 passing anyway because of the bug in "proc demangle".
22139 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
22140 type.
22141 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
22142
22143Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
22144
a9c64011
AS
22145 * gdb/testsuite: made modifications to testcases, etc., to allow
22146 them to work properly given the reorganization of deja-gnu and the
22147 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
22148
22149Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
22150
22151 * gdb/testsuite: Initial creation of gdb/testsuite.
22152 Migrated dejagnu testcases and support files for testing nm to
22153 gdb/testsuite from deja-gnu. These files were moved "as is"
22154 with no modifications. This migration is part of a major overhaul
22155 of dejagnu. The modifications to these testcases, etc., which
22156 will allow them to work with the new version of dejagnu will be
22157 made in a future update.
48efe704 22158
8d8cb839 22159 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 22160\f
8d8cb839
EZ
22161;; Local Variables:
22162;; mode: change-log
22163;; left-margin: 8
22164;; fill-column: 74
22165;; version-control: never
22166;; End:
902f2ccb
MC
22167
22168 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 22169 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
22170 Copying and distribution of this file, with or without modification,
22171 are permitted provided the copyright notice and this notice are preserved.
This page took 2.259332 seconds and 4 git commands to generate.