]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add expected failures for CR16 tests
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b0f4b84b
DJ
12007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * config/gdbserver.exp (gdb_reconnect): New.
4 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
5 gdb.base/solib-disc.exp: New files.
6 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
7 remote debugging".
8 (gdb_compile): Add shlib_load flag.
9 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
10 port.
11 (gdbserver_reconnect): New.
12
1b05479a
DJ
132007-07-01 Nick Roberts <nickrob@snap.net.nz>
14 Daniel Jacobowitz <dan@codesourcery.com>
15
16 * gdb.base/annota3.exp: Test for if construct.
17
86f78eb2
DJ
182007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
19
20 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
21
6a2eb474
MR
222007-06-21 Chris Dearman <chris@mips.com>
23 Maciej W. Rozycki <macro@mips.com>
24
25 * gdb.base/display.exp: Allow a newline after display/i.
26 * gdb.base/pc-fp.exp: Likewise.
27 * gdb.base/sigbpt.exp: Likewise.
28
f8b73d13
DJ
292007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
30
31 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
32 required features to be included.
33
4339e69e
DJ
342007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
35
36 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
37 in info threads output.
38
23d964e7
UW
392007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
40 Markus Deuling <deuling@de.ibm.com>
41
42 * gdb.arch/spu-info.exp: New testcase.
43 * gdb.arch/spu-info.c: New file.
44
fd20f75b
DJ
452007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
46
47 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
48 tpcs_offset. Restore lr after the call.
49 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
50
2226f861
DJ
512007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
52
53 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
54 (gdbserver_run): Kill any running gdbserver.
55 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
56
d12371a9
MR
572007-05-17 Maciej W. Rozycki <macro@mips.com>
58
59 * gdb.base/sigbpt.exp: Preset segv_addr.
60
93f02886
DJ
612007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
62
63 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
64 (gdb_compile_shlib): Likewise.
65 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
66 (default_gdb_init): Clear cleanfiles.
67 (gdb_finish): Delete recorded cleanfiles.
68 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
69
70 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
71 Do not use isnative.
72 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
73 gdb.base/so-impl-ld.exp: Likewise.
74 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
75 * gdb.base/unload.exp: Likewise. Do not pass empty option to
76 gdb_compile.
77
b04e06d7
VP
782007-05-15 Vladimir Prus <vladimir@codesourcery.com>
79
80 * config/unknown.exp: Remove.
81
069ed931
UW
822007-05-15 Markus Deuling <deuling@de.ibm.com>
83
84 * gdb.base/info-proc.exp: Check is_remote.
85
09db0d03
UW
862007-05-14 Markus Deuling <deuling@de.ibm.com>
87
88 * gdb.base/gcore.exp: Initialize variable core_supported.
89
af2cbe8c
DJ
902007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
91
92 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
93
027c0295
DJ
942007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
95
96 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
97 * gdb.threads/print-threads.exp (test_all_threads): Allow
98 negative and hexadecimal thread IDs.
99
dc5000e7
DJ
1002007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
101
102 * gdb.java/jprint.java (public): Avoid invalid call to static
103 method.
104
2e74ed18
DP
1052007-05-14 Denis Pilat <denis.pilat@st.com>
106
107 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
108 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
109 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
110 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
111 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
112
83547f02
UW
1132007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
114
115 * gdb.base/overlays.exp: Add support for targets with only code
116 overlay support, not data overlay. Support spu-*-* target in
117 this mode.
118 * gdb.base/ovlymgr.c: Provide stubs for spu target.
119 * gdb.base/spu.ld: New file.
120
b18be20d
DJ
1212007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
122
123 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
124
be444858
DJ
1252007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
126
127 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
128
b1d53152
DJ
1292007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
130
131 * gdb.java/jmain.exp: Handle demangled names with and without method
132 signatures.
133
d084b331
DJ
1342007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
135
136 * gdb.mi/mi-syn-frame.c (main, foo, bar)
137 (have_a_very_merry_interrupt): Remove calls to puts.
138 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
139 inferior output.
140 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
141 test names.
142
db9d7fc5
DJ
1432007-04-29 Markus Deuling <deuling@de.ibm.com>
144 Daniel Jacobowitz <dan@codesourcery.com>
145
146 * gdb.base/auxv.exp (core_works): Also check is_remote.
147 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
148
ef783a7d
VP
1492007-04-25 Vladimir Prus <vladimir@codesourcery.com>
150
151 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
152 message, not the undefined 'module' variable.
153 * gdb.base/siginfo.exp: Likewise.
154 * gdb.base/sigstep.exp: Likewise.
155 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
156 serialport.
157 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
158
b7b73cae
CV
1592007-04-25 Corinna Vinschen <vinschen@redhat.com>
160
161 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
162 target sim fails. Return 0 otherwise.
163 (gdb_load): Return prematurely if gdb_target_sim fails.
164
7d90fdfa
DP
1652007-04-16 Denis Pilat <denis.pilat@st.com>
166
167 * gdb.base/setshow.exp: Reset height after having set it to 100.
168
5d3e9c85
DP
1692007-04-16 Denis Pilat <denis.pilat@st.com>
170
171 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
172
18e75969
DP
1732007-04-16 Denis Pilat <denis.pilat@st.com>
174
175 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
176
25d5ea92
VP
1772007-04-14 Vladimir Prus <vladimir@codesourcery.com>
178
179 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
180 tests. Run the frozen varobjs test.
181 * gdb.mi/var-cmd.c (do_frozen_tests): New.
182 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
183
0b49cb80
JK
1842007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
185
186 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
187 gdb.base/type-opaque.exp: New files.
188
a73bafbc
VP
1892007-04-01 Vladimir Prus <vladimir@codesourcery.com>
190
191 * gdb.mi/mi-var-child.c
192 (do_children_tests): User char[2] instead of
193 char so that automatic printing of pointers to char
194 don't give unpredicable result.
195 * gdb.mi/var-cmd.c (do_locals_test): Initialize
196 local variables.
197 * gdb.mi/mi-var-child.exp: Step to right line
198 of do_children_tests.
199 * gdb.mi/mi2-var-child.exp: Likewise.
200 * gdb.mi/mi-var-cmd.exp: Step to right line of
201 do_locals_tests.
202 (do_children_tests): User char[2] instead of
203 char so that automatic printing of pointers to char
204 don't give unpredicable result.
205 * gdb.mi/mi2-var-cmd.exp: Likewise.
206 * lib/mi-support.exp (mi_continue_to_line):
207 Pass test name to mi_wait_for_stop.
208
7ce59000
DJ
2092007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
210
211 * gdb.asm/asm-source.exp: Remove d10v case.
212 * lib/gdb.exp (skip_cplus_tests): Likewise.
213 * gdb.asm/d10v.inc: Deleted.
214
20389057
DJ
2152007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
216
217 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
218
8807d78b
DJ
2192007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
220
221 * config/netware.exp: Delete file.
222
aa3edb8e
JB
2232007-03-29 Joel Brobecker <brobecker@adacore.com>
224
225 * gdb.dwarf2/dw2-noloc.S: New file.
226 * gdb.dwarf2/dw2-noloc.exp: New file.
227
297561ac
PA
2282007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
229
230 * gdb.cp/method2.cc: New test.
231 * gdb.cp/method2.exp: New test.
232 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
233
1f81bd39
DJ
2342007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
235
236 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
237
9453113a
DJ
2382007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
239
240 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
241
b741e217
DJ
2422007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
243
244 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
245 (gdb_load): Delete, replace with...
246 (gdb_reload): ...this.
247 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
248 * gdb.server/server-mon.exp: Likewise.
249 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
250 (gdb_start_cmd): New.
251 (gdb_file_cmd): Save the last loaded file.
252 (gdb_reload): New.
253 (gdb_gnu_strip_debug): Use transform.
254 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
255 support here. Use new $last_loaded_file. Check mtime.
256 (gdb_target_cmd): Handle ObjC failure case.
257 (infer_host_exec): Delete.
258 (gdbserver_load): Rename to...
259 (gdbserver_run): ...this. Simplify.
260 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
261 (mi_gdb_load): Move most contents to a new function...
262 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
263 (mi_run_cmd): Use mi_gdb_target_load.
264 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
265 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
266 Use gdb_run_cmd.
267 * gdb.base/charsign.exp: Remove incorrect comment.
268 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
269 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
270 gdb.base/start.exp: Use gdb_start_cmd.
271
446ab585
MR
2722007-03-23 Nigel Stephens <nigel@mips.com>
273 Maciej W. Rozycki <macro@mips.com>
274
275 * gdb.base/sigbpt.exp: Fix the message when skipping test.
276 * gdb.base/signull.exp: Similarly.
277
bbb88ebf
UW
2782007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
279
280 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
281 messages available to test cases (like chng-sym.exp).
282
cb8c4a99
AS
2832007-03-14 Andreas Schwab <schwab@suse.de>
284
285 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
286 format changes.
287
4e463ff5
DJ
2882007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
289
290 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
291 (optimized_1): New.
292 (main): Call optimized_1.
293 (gdb2029): Correct typos. Call gdb2029_marker.
294 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
295 for gdb2029.
296
b6db2c47
MK
2972007-03-12 Mark Kettenis <kettenis@gnu.org>
298
299 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
300 as tabs. Remove redundant test pattern.
301
70ed3737
UW
3022007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
303
304 * gdb.base/long_long.exp: Accept optional symbol name in <...>
305 for /a format output.
306
47b67b60
DJ
3072007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
308
309 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
310 collect output incrementally.
311
b8953b0e
UW
3122007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
313
314 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
315 for -var-create lpcharacter test.
316 * gdb.mi/mi2-var-cmd.exp: Likewise.
317
7acd5c40
UW
3182007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
319
320 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
321 pass on targets where address zero is readable.
322
9c6759c1
UW
3232007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
324
325 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
326 just a single architecture.
327
a2f1aeb4
UW
3282007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
329
330 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
331 (fetch_all_registers): New function, uses gdb_test_multiple and
332 exp_continue to fetch inferior output line-by-line.
333 Replace all uses of do_get_all_registers by fetch_all_registers.
334
46579ac2
UW
3352007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
336
337 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
338 in target_info.
339
fc133f24
MS
3402007-03-02 Michael Snyder <michael.snyder@palmsource.com>
341
342 * gdb.threads/manythreads.exp: Use $message string for
343 consistancy; add a default (timeout) case.
344
7646a51d
MS
3452007-03-02 Michael Snyder <michael.snyder@palmsource.com>
346
347 * gdb.base/watchpoint.exp: Fix truncated comment.
348
dcfff61f
MS
3492007-03-02 Michael Snyder <michael.snyder@palmsource.com>
350
351 * Makefile.in: Remove spurious single-quotes from sed command.
352
664e3ee9
DJ
3532007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
354
355 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
356 func.
357 * gdb.mi/mi2-var-cmd.exp: Likewise.
358
d7cc6f2f
JB
3592007-02-27 Joel Brobecker <brobecker@adacore.com>
360
361 * gdb.dwarf2/dw2-producer.S: New file.
362 * gdb.dwarf2/dw2-producer.exp: New testcase.
363
3642007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
365
366 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
367 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
368 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
369 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
370 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
371 Revert tests to use mi_gdb_test and include value field in output
372 of -var-create.
373
93d42b30
DJ
3742007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
375
376 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
377
c499ed39
DJ
3782007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
379
380 * gdb.base/maint.exp: Remove full paths from test names.
381 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
382 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
383
9836f81b
JB
3842007-02-27 Joel Brobecker <brobecker@adacore.com>
385
386 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
387
c74d0ad8
DJ
3882007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
389
390 * gdb.server/server-mon.exp: New test.
391
2711e456
DJ
3922007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
393
394 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
395
ff6f572f
DJ
3962007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
397
398 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
399 register capitalization.
400
fada3feb
DP
4012007-02-13 Denis Pilat <denis.pilat@st.com>
402
403 * gdb.mi/mi-var-invalidate.exp: New file.
404
fb1e4ffc
DJ
4052007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
406
407 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
408
3da939d7
DJ
4092007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
410
411 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
412
123dc839
DJ
4132007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
414
415 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
416 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
417
877e3645 4182007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
419
420 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
421 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
422 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
423 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
424 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 425 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222
NR
426 Update tests to include value field in output of -var-create.
427
3c0a2960
AS
4282007-02-08 Andreas Schwab <schwab@suse.de>
429
430 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
431
108546a0
DJ
4322007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
433
434 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
435 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
436
d701dcab
DP
4372007-02-02 Denis Pilat <denis.pilat@st.com>
438
439 * gdb.threads/threadapply.exp: check that frame is not changed by
440 the thread apply all command.
441
783e3e2f
AS
4422007-01-31 Andreas Schwab <schwab@suse.de>
443
6d9c3a87
AS
444 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
445
3c50d7b9
AS
446 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
447 in the dwarf sections.
448 * gdb.dwarf2/mac-fileno.S: Likewise.
449
783e3e2f
AS
450 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
451 bspstore register on ia64.
452
78ff580e
AS
4532007-01-29 Andreas Schwab <schwab@suse.de>
454
cc8e9b12
AS
455 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
456 "frame-begin" annotation.
457
78ff580e
AS
458 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
459 number of "frames-invalid" annotations.
460
704a4f78
DJ
4612007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
462
463 * gdb.base/commands.exp: Call if_commands_test.
464 (gdb_test_no_prompt, if_commands_test): New.
465
e741bf94
MK
4662007-01-28 Mark Kettenis <kettenis@gnu.org>
467
468 * gdb.threads/sigthread.c (NSIGS): Make bigger.
469
474d0ad3
AS
4702007-01-27 Andreas Schwab <schwab@suse.de>
471
472 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
473 .short/.int/.quad in the dwarf sections.
474 * gdb.dwarf2/dw2-intercu.S: Likewise.
475 * gdb.dwarf2/dw2-intermix.S: Likewise.
476
e784b426
JK
4772007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
478
479 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
480 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
481 array.
e784b426
JK
482 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
483 * gdb.base/setvar.exp: Likewise.
484
37f08e04
AS
4852007-01-26 Andreas Schwab <schwab@suse.de>
486
9a01813a
AS
487 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
488 test.
489
37f08e04
AS
490 * gdb.base/multi-forks.exp ("restart $i"): Also match
491 __kernel_syscall_via_break.
492
6e2a9270
VP
4932007-01-24 Vladimir Prus <vladimir@codesourcery.com>
494
495 * lib/mi-support.exp (mi_delete_varobj): New.
496 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
497 testcase.
498 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
499 (main): Call the above.
500 (reference_update_test, base_in_reference_test)
501 (reference_to_pointer): Delete the created varobjs.
502
e515b470
DJ
5032007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
504
505 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
506 * configure: Regenerated.
507 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
508 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
509 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
510 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
511 * lib/gdb.exp (gdb_skip_xml_test): New function.
512
08d8bcd7
DJ
5132007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
514
515 * gdb.base/sigrepeat.exp: Correct error message.
516
5172007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
518 Daniel Jacobowitz <dan@codesourcery.com>
519
520 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
521 gdb.arch/i386-gnu-cfi-asm.S: New files.
522
97c3f1f3
JK
5232007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
524
525 * lib/gdb.exp: Abort on missing `site.exp'.
526
cb1df416
DJ
5272007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
528 Daniel Jacobowitz <dan@codesourcery.com>
529
530 * gdb.base/included.c, gdb.base/included.exp,
531 gdb.base/included.h: New files.
532
35990120
DJ
5332007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
534
535 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
536 (maximize_rlimit): Reduce limits on 64-bit systems.
537
6e81a116 5382007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
539
540 From Marcus Deuling <deuling@de.ibm.com>:
541 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
542 every case.
543
6c3c41f3
NR
5442007-01-13 Nick Roberts <nickrob@snap.net.nz>
545
546 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
547 (test_path_specification): Use objdir instead of srcdir to always
548 get an absolute filename.
549
2f12c312
DJ
5502007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
551
552 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
553
81121995
VP
5542007-01-11 Vladimir Prus <vladimir@codesourcery.com>
555
556 * gdb.mi/mi-var-cp.cc (reference_update_tests):
557 Make sure the variable we're using is in scope.
558 (reference_to_pointer): Likewise.
559
4741b737
DJ
5602007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
561
562 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
563 has no debug information.
564
054410c3
DJ
5652007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
566
567 * gdb.base/annota1.exp: Remove extra send_gdb.
568
818f79f6
DJ
5692007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
570
571 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
572
f7a6bb70
DJ
5732007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
574
575 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
576
57e66780
DJ
5772007-01-08 Nick Roberts <nickrob@snap.net.nz>
578 Daniel Jacobowitz <dan@codesourcery.com>
579
580 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
581 lcharacter or linteger change. Correct duplicated test name.
582 * gdb.mi/mi2-var-cmd.exp: Likewise.
583
3d799a95
DJ
5842007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
585
586 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
587
5882007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9
JB
589
590 * gdb.base/nofield.c: New file.
591 * gdb.base/nofield.exp: New testcase.
592
eafb94e8
NR
5932007-01-05 Nick Roberts <nickrob@snap.net.nz>
594
595 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
596
597 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
598 test.
599
5e572bb4
DJ
6002007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
601
602 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
603
74a44383
DJ
6042007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
605
606 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
607 when continuing.
608
1b572db9
DJ
6092007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
610
611 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
612 Expect ".exe" extension.
613
381bc39b
DJ
6142007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
615
616 * gdb.base/charset.exp: Add explicit filename to break.
617 * gdb.base/dbx.exp: Add explicit filename to breaks.
618
2b70e4c6
DJ
6192007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
620
621 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
622 * gdb.mi/mi2-file.exp: Likewise.
623
303b6f5d
DJ
6242007-01-04 Vladimir Prus <vladimir@codesourcery.com>
625
626 Implement specification of MI tests as comments
627 in C and C++ sources.
628 * lib/mi-support.exp (mi_autotest_data): New variable.
629 (mi_autotest_source): New variable.
630 (count_newlines, mi_prepare_inline_tests)
631 (mi_get_inline_test, mi_continue_to_line)
632 (mi_run_inline_test, mi_tbreak)
633 (mi_send_resuming_command, mi_wait_for_stop): New functions.
634 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
635 Run inline tests.
636 * gdb.mi/mi-var-cp.cc: Define tests here.
637
23da0d94
VP
6382007-01-04 Vladimir Prus <vladimir@codesourcery.com>
639
640 Simplify usage of mi_continue_to.
641 * lib/mi-support.exp (mi_runto_helper): Renamed
642 from mi_runto, added new parameter 'run_or_continue'.
643 (mi_runto): Use mi_runto_helper.
644 (mi_continue_to): Accept just function name as parameter.
645 Use mi_runto_helper.
646 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
647 * gdb.mi/mi2-var-cmd.exp: Likewise.
648
f9e18282
JB
6492006-01-04 Joel Brobecker <brobecker@adacore.com>
650
651 Make this testcase a bit more realistic. The current code
652 is too simplistic, and allows the compiler to optimize out
653 some of the entities we need for this testcase.
654 * gdb.ada/null_record/bar.ads (Void_Star): New type.
655 (Do_Nothing): Add extra parameter.
656 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
657 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
658 by using a variable of type Void_Star.
659
fd678c65
JB
6602006-01-04 Joel Brobecker <brobecker@adacore.com>
661
662 * gdb.ada/catch_ex/foo.adb: New file.
663 * gdb.ada/catch_ex.exp: New testcase.
664
05cfdb42
DJ
6652007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
666
667 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
668 pass --image-base to linker.
669
2e03ee74
DJ
6702007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
671 Daniel Jacobowitz <dan@codesourcery.com>
672
673 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
674 secondary prompts.
675
0d5de010
DJ
6762007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
677
678 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
679 output. Test the types of members and member pointers.
680 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
681 gdb/2092.
682 * gdb.cp/member-ptr.exp: Search for a comment instead of a
683 statement. Enable for GCC. Update expected output for some tests
684 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
685 layout.
686 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
687 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
688 (Diamond::vget_base): New.
689 (main): Add new tests.
690 * gdb.cp/printmethod.exp: Update expected output for member functions.
691 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
692 print pEe->D::vg().
693
61a771aa
DJ
6942007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
695
696 * gdb.threads/tls.exp: Allow stops in sem_post.
697
2fa63963
DJ
6982006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
699
700 * gdb.base/annota1.exp: Allow .*printf in backtraces.
701 * gdb.base/annota3.exp: Likewise.
702 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
703 again (instead of timing out).
704 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
705 GCC bug 26475.
706 * gdb.java/jmisc.exp: Adjust to work with method signatures including
707 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
708 test from jmisc1.exp.
709 * gdb.java/jmisc1.exp: Delete.
710 * gdb.java/jprint.exp: Adjust to work with method signatures including
711 return types.
712 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
713 * gdb.threads/linux-dp.exp: Don't be confused by program output.
714 * lib/java.exp (compile_java_from_source): Pass the correct type
715 to target_compile.
716
5eefc2b7
JB
7172006-12-31 Joel Brobecker <brobecker@adacore.com>
718
719 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
720 (stack_align_edx): New function.
721 (stack_align_eax): New function.
722 (main): Add calls to stack_align_edx and stack_align_eax.
723 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
724 Add testing for the cases where the register used during a stack
725 realignment is edx. Same for eax.
726
227c54da
DJ
7272006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
728
729 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
730 and generic PE targets.
731
cab8ac94
JB
7322006-12-29 Joel Brobecker <brobecker@adacore.com>
733
734 * gdb.ada/array_return.exp: Update copyright date list.
735
ba54f318
JB
7362006-12-27 Joel Brobecker <brobecker@adacore.com>
737
738 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
739 (Create_Small_Float_Vector): New function.
740 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
741 function body.
742 * gdb.ada/array_return/p.adb: Use new type and function from
743 package Pck.
744 * gdb.ada/array_return.exp: Add a test verifying that GDB is
745 able to print the value returned by a function returning an
746 array of float.
747
6b7a35dd
JB
7482006-12-20 Joel Brobecker <brobecker@adacore.com>
749
750 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
751 The associated tests should be PASSing.
752
038224f6
VP
7532006-12-08 Vladimir Prus <vladimir@codesourcery.com>
754
755 Test for base in references.
756 * gdb.mi/mi-var-cp.cc: Add test code.
757 * gdb.mi/mi-var-cp.exp: Test for bases in references.
758 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
759 * gdb.mi/mi2-watch.exp: Likewise.
760 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
761 (mi_list_varobj_children): New function.
762
b26ed50d
VP
7632006-12-08 Vladimir Prus <vladimir@codesourcery.com>
764
765 * lib/mi-support.exp
766 (mi_runto): Accept "()" after function name.
767 (mi_create_varobj): New function.
768 (mi_varobj_update): New function.
769 (mi_Check_varobj_value): New function.
770 * gdb.mi/mi-var-cp.exp: New file.
771 * gdb.mi/mi-var-cp.cc: New file.
772
08232497
DJ
7732006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
774
775 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
776 gdb.base/weaklib2.c: New files.
777
d394c993 7782006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 779
ac6c2fba
NS
780 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
781 info. Adjust test names.
782
8ec659a0 783 * gdb.base/break.c (main): Move position of malloc.
d394c993 784 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 785
acd65feb
VP
7862006-11-28 Vladimir Prus <vladimir@codesourcery.com>
787
788 * gdb.mi/mi-var-cmd.exp: Check -var-update after
789 assignement of arrays and function pointers.
790 * gdb.mi/var-cmd.c: Add declaration necessary for above
791 tests.
792
f556d5e5
NS
7932006-11-27 Nathan Sidwell <nathan@codesourcery.com>
794
795 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
796
797 * gdb.threads/linux-dp.exp: Read thread table before and after
798 creating each philosopher and verify it.
799
697bc68d
NS
8002006-11-27 Nathan Sidwell <nathan@codesourcery.com>
801 Paul Brook <paul@codesourcery.com>
802 Daniel Jacobowitz <dan@codesourcery.com>
803
804 * gdb.base/ending-run.exp: Flatten expect script stepping out of
805 main to remove duplication. Add start function of the form
806 '_*start[1-9]*'. Add RVDS start function.
807
29d73ae4
DJ
8082006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
809
810 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
811
c1d88655
UW
8122006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
813
814 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
815 * gdb.asm/spu.inc: New file.
816 * gdb.base/term.exp: Disable if [target_info exists noargs].
817 * gdb.gdb/complaints.exp: Disable if ![isnative].
818 * gdb.gdb/selftest.exp: Likewise.
819 * gdb.gdb/observer.exp: Likewise.
820 * gdb.gdb/xfullpath.exp: Likewise.
821 * gdb.base/attach.exp: Disable on SPU target.
822 * gdb.cp/bs145503.exp: Likewise.
823 * gdb.cp/exception.exp: Likewise.
824 * gdb.cp/userdef.exp: Likewise.
825
32a13b1a
DJ
8262006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
827
828 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
829
d8295fe9
VP
8302006-11-10 Vladimir Prus <vladimir@codesourcery.com>
831
832 * gdb.base/completion.exp: Fix completion tests for
833 'info' and 'info '.
834 * gdb.base/help.exp (help_test_raw, test_class_help)
835 (test_prefix_command_help): Move...
836 * lib/gdb.exp: Here.
837 * gdb.base/main.exp: Adjust.
838 * gdb.cp/maint.exp: Adjust.
839 * gdb.trace/tracecmd.exp: Use test_help_class.
840
8c394015
VP
8412006-11-09 Vladimir Prus <vladimir@codesourcery.com>
842
843 * gdb.stabs/weird.exp (print_weird_var): Use
844 gdb_test_multiple instead of gdb_expect.
845
027fc1bc
VP
8462006-11-09 Vladimir Prus <vladimir@codesourcery.com>
847
848 * gdb.base/help.exp (help_test_raw): New.
849 (test_class_help): New.
850 (test_prefix_command_help): New.
851 Adjust testcases.
852
67609209
FR
8532006-11-09 Christophe Lyon <christophe.lyon@st.com>
854
855 * gdb.base/constvars.c (main): Write to crass and crips, so that
856 they are allocated by the compiler.
857
f73adfeb
AS
8582006-10-27 Andreas Schwab <schwab@suse.de>
859
860 * gdb.base/multi-forks.exp: Use "detach fork" instead of
861 "detach-fork".
862
2f83a18e
DJ
8632006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
864
865 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
866 of patterns.
867
94277a38
DJ
8682006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
869
870 * gdb.base/sepdebug.exp: Remove debug format test.
871 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
872 Handle no-symtab.
873 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
874
5bd2f6e2
DJ
8752006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
876
877 * gdb.threads/manythreads.c (thread_function, main): Don't cast
878 int to pointer or pointer to int.
879 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
880
8c008720
DJ
8812006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
882
883 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
884
9e35dae4
DJ
8852006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
886
887 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
888
d9639e13
DJ
8892006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
890
891 PR c++/2116
892 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
893
390a1bd0
JB
8942006-10-06 Joel Brobecker <brobecker@adacore.com>
895
896 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
897 the corresponding bug has been fixed in GDB (PR/2018).
898
dd920c33
JB
8992006-10-06 Joel Brobecker <brobecker@adacore.com>
900
901 * gdb.base/subst.exp: New testcase.
902
53bbefe9
JB
9032006-10-06 Joel Brobecker <brobecker@adacore.com>
904
905 * gdb.ada/array_return/pck.ads: Add copyright notice.
906 * gdb.ada/array_return/pck.adb: Likewise.
907 * gdb.ada/array_return/p.adb: Likewise.
908 * gdb.ada/exec_changed/first.adb: Likewise.
909 * gdb.ada/exec_changed/second.adb: Likewise.
910
09851417
JB
9112006-10-06 Joel Brobecker <brobecker@adacore.com>
912
913 * gdb.ada/watch_arg/watch.adb: New file.
914 * gdb.ada/watch_arg.exp: New testcase.
915
041bf30d
VP
9162006-10-02 Vladimir Prus <vladimir@codesourcery.com>
917
918 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
919 via string_to_regexp.
920 * gdb.mi/mi2-basics.exp: Likewise.
921
f286fbdd 9222006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
923
924 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
925 Remove unused / obsolete files.
926
7c07f349
NR
9272006-09-19 Nick Roberts <nickrob@snap.net.nz>
928
929 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
930
cd5ff84a
VP
9312006-09-17 Vladimir Prus <vladimir@codesourcery.com>
932
933 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
934 HIGH_FRAME argument to -stack-list-arguments can be larger than
935 the number of frames.
936
ae018d1a
DJ
9372006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
938
939 * gdb.base/args.c (main): Add breakpoint marker.
940 * gdb.base/args.exp: Use args_test for tests. Add new tests which
941 really test empty arguments.
942 (args_load): Delete.
943 (args_test): New.
944
b399c549
NR
9452006-09-13 Nick Roberts <nickrob@snap.net.nz>
946
947 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
948 check for one file.
949
2ab1eb7a
VP
9502006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
951
952 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
953 HIGH_FRAME argument to -stack-list-locals can be larger than
954 the number of frames.
955
476308bf
FF
9562006-08-18 Fred Fish <fnf@specifix.com>
957
958 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
959 '$' in front of skip_vmx_tests_saved when setting that.
960
8625200f
AS
9612006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
962
963 * gdb.base/trace-commands.exp: New file.
964
089ec8f1
DJ
9652006-08-10 Joel Brobecker <brobecker@adacore.com>
966 Daniel Jacobowitz <dan@codesourcery.com>
967
968 * gdb.base/step-bt.exp: Make hexadecimal address optional in
969 expected output of the backtrace commands.
970
b60f0898
JB
9712006-08-09 Joel Brobecker <brobecker@adacore.com>
972
973 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
974 untested followed by return combination.
975 * gdb.arch/altivec-regs.exp: Likewise.
976 * gdb.arch/e500-abi.exp: Likewise.
977 * gdb.arch/e500-regs.exp: Likewise.
978 * gdb.arch/gdb1291.exp: Likewise.
979 * gdb.arch/gdb1431.exp: Likewise.
980 * gdb.arch/gdb1558.exp: Likewise.
981 * gdb.arch/i386-prologue.exp: Likewise.
982 * gdb.arch/i386-unwind.exp: Likewise.
983 * gdb.asm/asm-source.exp: Likewise.
984 * gdb.base/a2-run.exp: Likewise.
985 * gdb.base/advance.exp: Likewise.
986 * gdb.base/all-bin.exp: Likewise.
987 * gdb.base/annota1.exp: Likewise.
988 * gdb.base/annota3.exp: Likewise.
989 * gdb.base/args.exp: Likewise.
990 * gdb.base/arithmet.exp: Likewise.
991 * gdb.base/assign.exp: Likewise.
992 * gdb.base/async.exp: Likewise.
993 * gdb.base/attach.exp: Likewise.
994 * gdb.base/bang.exp: Likewise.
995 * gdb.base/bigcore.exp: Likewise.
996 * gdb.base/bitfields.exp: Likewise.
997 * gdb.base/bitfields2.exp: Likewise.
998 * gdb.base/break.exp: Likewise.
999 * gdb.base/call-sc.exp: Likewise.
1000 * gdb.base/call-strs.exp: Likewise.
1001 * gdb.base/callfuncs.exp: Likewise.
1002 * gdb.base/checkpoint.exp: Likewise.
1003 * gdb.base/chng-syms.exp: Likewise.
1004 * gdb.base/code-expr.exp: Likewise.
1005 * gdb.base/commands.exp: Likewise.
1006 * gdb.base/completion.exp: Likewise.
1007 * gdb.base/cond-expr.exp: Likewise.
1008 * gdb.base/condbreak.exp: Likewise.
1009 * gdb.base/consecutive.exp: Likewise.
1010 * gdb.base/constvars.exp: Likewise.
1011 * gdb.base/corefile.exp: Likewise.
1012 * gdb.base/cvexpr.exp: Likewise.
1013 * gdb.base/dbx.exp: Likewise.
1014 * gdb.base/define.exp: Likewise.
1015 * gdb.base/detach.exp: Likewise.
1016 * gdb.base/display.exp: Likewise.
1017 * gdb.base/dump.exp: Likewise.
1018 * gdb.base/ena-dis-br.exp: Likewise.
1019 * gdb.base/ending-run.exp: Likewise.
1020 * gdb.base/environ.exp: Likewise.
1021 * gdb.base/eval-skip.exp: Likewise.
1022 * gdb.base/exprs.exp: Likewise.
1023 * gdb.base/fileio.exp: Likewise.
1024 * gdb.base/finish.exp: Likewise.
1025 * gdb.base/float.exp: Likewise.
1026 * gdb.base/foll-exec.exp: Likewise.
1027 * gdb.base/foll-fork.exp: Likewise.
1028 * gdb.base/foll-vfork.exp: Likewise.
1029 * gdb.base/freebpcmd.exp: Likewise.
1030 * gdb.base/funcargs.exp: Likewise.
1031 * gdb.base/gcore.exp: Likewise.
1032 * gdb.base/gdb1090.exp: Likewise.
1033 * gdb.base/gdb1250.exp: Likewise.
1034 * gdb.base/huge.exp: Likewise.
1035 * gdb.base/info-proc.exp: Likewise.
1036 * gdb.base/interrupt.exp: Likewise.
1037 * gdb.base/jump.exp: Likewise.
1038 * gdb.base/langs.exp: Likewise.
1039 * gdb.base/lineinc.exp: Likewise.
1040 * gdb.base/list.exp: Likewise.
1041 * gdb.base/logical.exp: Likewise.
1042 * gdb.base/long_long.exp: Likewise.
1043 * gdb.base/macscp.exp: Likewise.
1044 * gdb.base/maint.exp: Likewise.
1045 * gdb.base/mips_pro.exp: Likewise.
1046 * gdb.base/miscexprs.exp: Likewise.
1047 * gdb.base/multi-forks.exp: Likewise.
1048 * gdb.base/opaque.exp: Likewise.
1049 * gdb.base/overlays.exp: Likewise.
1050 * gdb.base/pc-fp.exp: Likewise.
1051 * gdb.base/pointers.exp: Likewise.
1052 * gdb.base/printcmds.exp: Likewise.
1053 * gdb.base/psymtab.exp: Likewise.
1054 * gdb.base/ptype.exp: Likewise.
1055 * gdb.base/recurse.exp: Likewise.
1056 * gdb.base/relational.exp: Likewise.
1057 * gdb.base/relocate.exp: Likewise.
1058 * gdb.base/remote.exp: Likewise.
1059 * gdb.base/reread.exp: Likewise.
1060 * gdb.base/restore.exp: Likewise.
1061 * gdb.base/return.exp: Likewise.
1062 * gdb.base/return2.exp: Likewise.
1063 * gdb.base/scope.exp: Likewise.
1064 * gdb.base/sect-cmd.exp: Likewise.
1065 * gdb.base/sep.exp: Likewise.
1066 * gdb.base/sepdebug.exp: Likewise.
1067 * gdb.base/setshow.exp: Likewise.
1068 * gdb.base/setvar.exp: Likewise.
1069 * gdb.base/sigall.exp: Likewise.
1070 * gdb.base/sigbpt.exp: Likewise.
1071 * gdb.base/signals.exp: Likewise.
1072 * gdb.base/signull.exp: Likewise.
1073 * gdb.base/sizeof.exp: Likewise.
1074 * gdb.base/solib.exp: Likewise.
1075 * gdb.base/step-line.exp: Likewise.
1076 * gdb.base/step-test.exp: Likewise.
1077 * gdb.base/structs.exp: Likewise.
1078 * gdb.base/structs2.exp: Likewise.
1079 * gdb.base/term.exp: Likewise.
1080 * gdb.base/twice.exp: Likewise.
1081 * gdb.base/until.exp: Likewise.
1082 * gdb.base/varargs.exp: Likewise.
1083 * gdb.base/volatile.exp: Likewise.
1084 * gdb.base/watchpoint.exp: Likewise.
1085 * gdb.base/whatis-exp.exp: Likewise.
1086 * gdb.base/whatis.exp: Likewise.
1087 * gdb.cp/ambiguous.exp: Likewise.
1088 * gdb.cp/annota2.exp: Likewise.
1089 * gdb.cp/annota3.exp: Likewise.
1090 * gdb.cp/bool.exp: Likewise.
1091 * gdb.cp/breakpoint.exp: Likewise.
1092 * gdb.cp/casts.exp: Likewise.
1093 * gdb.cp/class2.exp: Likewise.
1094 * gdb.cp/classes.exp: Likewise.
1095 * gdb.cp/cplusfuncs.exp: Likewise.
1096 * gdb.cp/ctti.exp: Likewise.
1097 * gdb.cp/derivation.exp: Likewise.
1098 * gdb.cp/exception.exp: Likewise.
1099 * gdb.cp/gdb1355.exp: Likewise.
1100 * gdb.cp/hang.exp: Likewise.
1101 * gdb.cp/inherit.exp: Likewise.
1102 * gdb.cp/local.exp: Likewise.
1103 * gdb.cp/m-data.exp: Likewise.
1104 * gdb.cp/m-static.exp: Likewise.
1105 * gdb.cp/member-ptr.exp: Likewise.
1106 * gdb.cp/method.exp: Likewise.
1107 * gdb.cp/misc.exp: Likewise.
1108 * gdb.cp/namespace.exp: Likewise.
1109 * gdb.cp/overload.exp: Likewise.
1110 * gdb.cp/ovldbreak.exp: Likewise.
1111 * gdb.cp/pr-1023.exp: Likewise.
1112 * gdb.cp/pr-1210.exp: Likewise.
1113 * gdb.cp/pr-574.exp: Likewise.
1114 * gdb.cp/printmethod.exp: Likewise.
1115 * gdb.cp/psmang.exp: Likewise.
1116 * gdb.cp/ref-params.exp: Likewise.
1117 * gdb.cp/ref-types.exp: Likewise.
1118 * gdb.cp/rtti.exp: Likewise.
1119 * gdb.cp/templates.exp: Likewise.
1120 * gdb.cp/try_catch.exp: Likewise.
1121 * gdb.cp/userdef.exp: Likewise.
1122 * gdb.cp/virtfunc.exp: Likewise.
1123 * gdb.disasm/am33.exp: Likewise.
1124 * gdb.disasm/h8300s.exp: Likewise.
1125 * gdb.disasm/mn10300.exp: Likewise.
1126 * gdb.disasm/sh3.exp: Likewise.
1127 * gdb.disasm/t01_mov.exp: Likewise.
1128 * gdb.disasm/t02_mova.exp: Likewise.
1129 * gdb.disasm/t03_add.exp: Likewise.
1130 * gdb.disasm/t04_sub.exp: Likewise.
1131 * gdb.disasm/t05_cmp.exp: Likewise.
1132 * gdb.disasm/t06_ari2.exp: Likewise.
1133 * gdb.disasm/t07_ari3.exp: Likewise.
1134 * gdb.disasm/t08_or.exp: Likewise.
1135 * gdb.disasm/t09_xor.exp: Likewise.
1136 * gdb.disasm/t10_and.exp: Likewise.
1137 * gdb.disasm/t11_logs.exp: Likewise.
1138 * gdb.disasm/t12_bit.exp: Likewise.
1139 * gdb.disasm/t13_otr.exp: Likewise.
1140 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1141 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1142 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1143 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
1144 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
1145 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1146 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1147 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1148 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
1149 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1150 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1151 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1152 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1153 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1154 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1155 * gdb.mi/gdb701.exp: Likewise.
1156 * gdb.mi/gdb792.exp: Likewise.
1157 * gdb.mi/mi-basics.exp: Likewise.
1158 * gdb.mi/mi-break.exp: Likewise.
1159 * gdb.mi/mi-cli.exp: Likewise.
1160 * gdb.mi/mi-console.exp: Likewise.
1161 * gdb.mi/mi-disassemble.exp: Likewise.
1162 * gdb.mi/mi-eval.exp: Likewise.
1163 * gdb.mi/mi-file.exp: Likewise.
1164 * gdb.mi/mi-read-memory.exp: Likewise.
1165 * gdb.mi/mi-regs.exp: Likewise.
1166 * gdb.mi/mi-return.exp: Likewise.
1167 * gdb.mi/mi-simplerun.exp: Likewise.
1168 * gdb.mi/mi-stack.exp: Likewise.
1169 * gdb.mi/mi-stepi.exp: Likewise.
1170 * gdb.mi/mi-syn-frame.exp: Likewise.
1171 * gdb.mi/mi-until.exp: Likewise.
1172 * gdb.mi/mi-var-block.exp: Likewise.
1173 * gdb.mi/mi-var-child.exp: Likewise.
1174 * gdb.mi/mi-var-cmd.exp: Likewise.
1175 * gdb.mi/mi-var-display.exp: Likewise.
1176 * gdb.mi/mi-watch.exp: Likewise.
1177 * gdb.mi/mi2-basics.exp: Likewise.
1178 * gdb.mi/mi2-break.exp: Likewise.
1179 * gdb.mi/mi2-cli.exp: Likewise.
1180 * gdb.mi/mi2-console.exp: Likewise.
1181 * gdb.mi/mi2-disassemble.exp: Likewise.
1182 * gdb.mi/mi2-eval.exp: Likewise.
1183 * gdb.mi/mi2-file.exp: Likewise.
1184 * gdb.mi/mi2-read-memory.exp: Likewise.
1185 * gdb.mi/mi2-regs.exp: Likewise.
1186 * gdb.mi/mi2-return.exp: Likewise.
1187 * gdb.mi/mi2-simplerun.exp: Likewise.
1188 * gdb.mi/mi2-stack.exp: Likewise.
1189 * gdb.mi/mi2-stepi.exp: Likewise.
1190 * gdb.mi/mi2-syn-frame.exp: Likewise.
1191 * gdb.mi/mi2-until.exp: Likewise.
1192 * gdb.mi/mi2-var-block.exp: Likewise.
1193 * gdb.mi/mi2-var-child.exp: Likewise.
1194 * gdb.mi/mi2-var-cmd.exp: Likewise.
1195 * gdb.mi/mi2-var-display.exp: Likewise.
1196 * gdb.mi/mi2-watch.exp: Likewise.
1197 * gdb.stabs/exclfwd.exp: Likewise.
1198 * gdb.stabs/weird.exp: Likewise.
1199 * gdb.threads/gcore-thread.exp: Likewise.
1200 * gdb.trace/actions.exp: Likewise.
1201 * gdb.trace/backtrace.exp: Likewise.
1202 * gdb.trace/circ.exp: Likewise.
1203 * gdb.trace/collection.exp: Likewise.
1204 * gdb.trace/deltrace.exp: Likewise.
1205 * gdb.trace/infotrace.exp: Likewise.
1206 * gdb.trace/limits.exp: Likewise.
1207 * gdb.trace/packetlen.exp: Likewise.
1208 * gdb.trace/passc-dyn.exp: Likewise.
1209 * gdb.trace/passcount.exp: Likewise.
1210 * gdb.trace/report.exp: Likewise.
1211 * gdb.trace/save-trace.exp: Likewise.
1212 * gdb.trace/tfind.exp: Likewise.
1213 * gdb.trace/tracecmd.exp: Likewise.
1214 * gdb.trace/while-dyn.exp: Likewise.
1215 * gdb.trace/while-stepping.exp: Likewise.
1216
f4b618d1
JB
12172006-08-08 Joel Brobecker <brobecker@adacore.com>
1218
1219 * gdb.base/step-bt.c: New file.
1220 * gdb.base/step-bt.exp: New testcase.
1221
3d00d119
DJ
12222006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
1223
1224 * config/monitor.exp (gdb_load): Remove support for obsolete
1225 download-write-size.
1226 * gdb.base/remote.exp: Likewise. Update all callers of
1227 gdb_timed_load.
1228
017b5bd4
DJ
12292006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
1230
1231 * cursal.exp: Pass binfile to gdb_load.
1232
837c599d
DJ
12332006-08-01 Nathan Sidwell <nathan@codesourcery.com>
1234
1235 * gdb.base/cursal.exp: Add "" to gdb_load call.
1236
8dd4540b
MK
12372006-07-29 Mark Kettenis <kettenis@gnu.org>
1238
1239 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
1240 NetBSD/ELF targets.
1241
ab5c9f60
DJ
12422006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
1243
1244 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
1245 operator*.
1246
4c42eaff
DJ
12472006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
1248
1249 * gdb.base/completion.exp: Update for change in "file" behavior.
1250 * gdb.stabs/weird.exp: Likewise.
1251 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
1252 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
1253
0155cc76
NS
12542006-07-24 Nathan Sidwell <nathan@codesourcery.com>
1255
1256 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
1257 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
1258
16026cd7
AS
12592006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
1260
1261 * gdb.base/default.exp: Update source command error message.
1262 * gdb.base/help.exp: Update 'help source' message.
1263
16963cb6
DJ
12642006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
1265
1266 * gdb.cp/bs15503.exp: Update comment for no longer crashing
1267 test.
1268
6d7fd486
AS
12692006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
1270
1271 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
1272
29e8a844
DJ
12732006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
1274
1275 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
1276
6afcfa39
DJ
12772006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
1278
1279 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
1280
267a692b
MK
12812006-07-17 Mark Kettenis <kettenis@gnu.org>
1282
1283 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
1284 *-*-openbsd* from targets for wich we expect ARM FPA floating
1285 point format.
1286
85d2fec4
NR
12872006-07-17 Nick Roberts <nickrob@snap.net.nz>
1288
1289 * gdb.cp/annota3.exp: Expect frame-begin annotation.
1290
12912006-07-17 Mark Kettenis <kettenis@gnu.org>
1292
1293 * gdb.base/annota3.exp: Expect frame-begin annotation.
1294
85b4c6e8
JB
12952006-07-14 Joel Brobecker <brobecker@adacore.com>
1296
1297 * gdb.base/help.exp: Adjust "help unset" test to accept
1298 any list of unset commands.
1299
fb933624
DJ
13002006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
1301 Daniel Jacobowitz <dan@codesourcery.com>
1302
1303 * gdb.cp/ref-params.exp: New test.
1304 * gdb.cp/ref-params.cc: New source file.
1305 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
1306
1dff4b64
MK
13072006-07-08 Mark Kettenis <kettenis@gnu.org>
1308
1309 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
1310 spaces/tabs in regular expressions since they might not be there.
1311
40d2e0e3
AS
13122006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
1313
1314 * gdb.base/ifelse.exp: New file.
1315
f6c957d2
NS
13162006-07-04 Nathan Sidwell <nathan@codesourcery.com>
1317
1318 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
1319 line.
1320 * gdb.base/huge.exp: Loop over compilation to find a size that
1321 is acceptable.
1322 * gdb.base/remote.exp: Correct expected strings.
1323 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
1324
b9c5a23d
DJ
13252006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1326
1327 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
1328
9af2e58d
DJ
13292006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1330
1331 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
1332 native.
1333
30930ca5
DJ
13342006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1335
1336 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
1337 enable stabs testing.
1338
aa32fa1d
DJ
13392006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1340
bd4a4c80 1341 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
1342 gdb_test_multiple does.
1343
321fef15
DJ
13442006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1345
1346 * Makefile.in (host_alias): Remove.
1347 (target_alias): Use @target_noncanonical@.
1348 (site.exp): Don't set host_alias.
1349 * aclocal.m4: Remove contents. Include acx.m4.
1350 * configure: Regenerated.
1351 * configure.ac: Use ACX_NONCANONICAL_TARGET.
1352
e1c2defa
NS
13532006-06-13 Nathan Sidwell <nathan@codesourcery.com>
1354
e63b55d1
NS
1355 * lib/gdb.exp (gdb_load_cmd): New.
1356
5600ea19
NS
1357 * gdb.base/fileio.c: Add system(NULL) test.
1358 * gdb.base/fileio.exp: Check it.
1359
e1c2defa
NS
1360 * gdb.base/break.c: Add 10a breakpoint at }
1361 * gdb.base/break.exp: Add test for breakpoint at }
1362 * gdb.cp/anon-union.cc: Add code at end of function.
1363 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
1364 * gdb.mi/var-cmd.c: Add code at end of function.
1365 * gdb.mi/mi-var-display.exp: Adjust end of next.
1366 * gdb.mi/mi2-var-display.exp: Likewise.
1367 * gdb.base/fileio.c: Add stop function and insert calls at
1368 stopping places.
1369 * gdb.base/fileio.exp: Breakpoint stop function and remove
1370 explicit line number references.
1371
6c0112ec
JB
13722006-05-19 Joel Brobecker <brobecker@adacore.com>
1373
1374 * gdb.base/del.exp (test_delete_alias): New function.
1375 Now check that both "del" and "d" work as aliases for "delete".
1376
154189a4
FF
13772006-05-18 Fred Fish <fnf@specifix.com>
1378
1379 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
1380 required. Check for spurious output after program exits normally.
1381
582e64c2
FF
13822006-05-17 Fred Fish <fnf@specifix.com>
1383
1384 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
1385 gdb_load, so it works in the simulator.
1386
8ef6493a
FF
13872006-05-11 Fred Fish <fnf@specifix.com>
1388
1389 * gdb.base/bang.exp: Ignore unexpected output between the
1390 "program exited normally" and the gdb prompt, as many other
1391 tests do.
1392
692b141c
MK
13932006-05-07 Mark Kettenis <kettenis@gnu.org>
1394
1395 * gdb.base/help.exp: Make "delete checkpoint" part option for
1396 "help d" and "help delete" tests.
1397
540b8a30
UW
13982006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1399
1400 * gdb.mi/mi-basics.exp: Add missing serial number to
1401 expected output in some mi_gdb_test statements.
1402 * gdb.mi/mi2-basics.exp: Likewise.
1403
9b6462d9
JB
14042006-05-05 Joel Brobecker <brobecker@adacore.com>
1405
1406 * gdb.base/del.c: New file.
1407 * gdb.base/del.exp: New testcase.
1408
954de43b
DM
14092006-05-05 David S. Miller <davem@sunset.davemloft.net>
1410
1411 * gdb.base/break.exp: Do not assume a breakpoint on
1412 main will actually be in $srcfile when optimizing.
1303f75e
DM
1413 * gdb.base/savedregs.exp: Do not require that the dummy
1414 frame location match up to a symbol and source file location.
c3242428
DM
1415 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
1416 will get printed without a mi_cmd_data_list_register_values prefix.
1417 (*-data-list-register-*): Correct regular expressions to expect the new
1418 pseudo d? floating point registers.
1419 * gdb.mi/mi2-regs.exp: Likewise.
1420
c7e64c9a
DJ
14212006-05-05 Christophe Lyon <christophe.lyon@st.com>
1422
1423 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
1424 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
1425 is allocated by the compiler.
1426 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
1427 anons, e, anone to force their allocation by the compiler.
1428
14292006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
1430
1431 * gdb.base/help.exp: Update expected text for help d and
1432 help delete.
1433
27ce9a6d
MK
14342006-05-02 Mark Kettenis <kettenis@gnu.org>
1435
1436 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
1437 NetBSD/ELF targets.
1438
8608915f
MK
14392006-04-30 Mark Kettenis <kettenis@gnu.org>
1440
1441 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
1442 single-step breakpoint fails; make this a KFAIL on
1443 sparc*-*-openbsd*.
1444 * gdb.base/siginfo.exp: Likewise.
1445 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1446
b8db102d
MS
14472006-04-26 Michael Snyder <msnyder@redhat.com>
1448
1449 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
1450 which may have to consume output from other forks.
1451 Add tests to make sure that "delete fork" succeeded.
1452
c702009a
MS
14532006-04-20 Michael Snyder <msnyder@redhat.com>
1454
1455 * 2006-03-22 Jim Blandy <jimb@redhat.com>
1456 Add support for the Renesas M32C and M16C.
1457
1458 * gdb.asm/asm-source.exp: Add m32c target.
1459 * gdb.asm/m32c.inc: Support for m32c target.
1460
e28493f2
AS
14612006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
1462
1463 * gdb.base/commands.exp (recursive_source_test): New test.
1464
880da185
DM
14652006-04-04 David S. Miller <davem@sunset.davemloft.net>
1466
1467 * gdb.base/float.exp: Add pattern for sparc targets.
1468
61d9b92f
DJ
14692006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1470
1471 * gdb.base/commands.exp (stray_arg0_test): New test.
1472
bd717df8
PB
14732006-03-30 Paul Brook <paul@codesourcery.com>
1474
1475 * gdb.mi/mi-until.exp: kfail broken until command.
1476 * gdb.mi/mi2-until.exp: Ditto.
1477
ec793d3c
NR
14782006-03-27 Nick Roberts <nickrob@snap.net.nz>
1479
1480 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
1481
831004b7
AO
14822006-03-08 Alexandre Oliva <aoliva@redhat.com>
1483
1484 * gdb.base/prelink.exp: Anchor tested-for regular expression
1485 on gdb prompt.
1486
effe49a0
PB
14872006-03-07 Paul Brook <paul@codesourcery.com>
1488
1489 * gdb.base/assign.exp: Correct fail message.
1490
e5461016
PB
14912006-03-07 Paul Brook <paul@codesourcery.com>
1492
1493 * lib/compiler.c: Extract armcc version number.
1494 * lib/compiler.cc: Ditto.
1495
fc91c6c2
PB
14962006-03-07 Paul Brook <paul@codesourcery.com>
1497
1498 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
1499 additional_flags=-w.
1500 * gdb.arch/altivec-regs.exp: Ditto.
1501 * gdb.arch/e500-abi.exp: Ditto.
1502 * gdb.arch/e500-regs.exp: Ditto.
1503 * gdb.base/all-bin.exp: Ditto.
1504 * gdb.base/annota1.exp: Ditto.
1505 * gdb.base/annota3.exp: Ditto.
1506 * gdb.base/args.exp: Ditto.
1507 * gdb.base/arithmet.exp: Ditto.
1508 * gdb.base/assign.exp: Ditto.
1509 * gdb.base/async.exp: Ditto.
1510 * gdb.base/bang.exp: Ditto.
1511 * gdb.base/break.exp: Ditto.
1512 * gdb.base/call-rt-st.exp: Ditto.
1513 * gdb.base/completion.exp: Ditto.
1514 * gdb.base/cond-expr.exp: Ditto.
1515 * gdb.base/condbreak.exp: Ditto.
1516 * gdb.base/consecutive.exp: Ditto.
1517 * gdb.base/define.exp: Ditto.
1518 * gdb.base/display.exp: Ditto.
1519 * gdb.base/ena-dis-br.exp: Ditto.
1520 * gdb.base/environ.exp: Ditto.
1521 * gdb.base/eval-skip.exp: Ditto.
1522 * gdb.base/info-proc.exp: Ditto.
1523 * gdb.base/jump.exp: Ditto.
1524 * gdb.base/logical.exp: Ditto.
1525 * gdb.base/long_long.exp: Ditto.
1526 * gdb.base/maint.exp: Ditto.
1527 * gdb.base/miscexprs.exp: Ditto.
1528 * gdb.base/pc-fp.exp: Ditto.
1529 * gdb.base/pointers.exp: Ditto.
1530 * gdb.base/relational.exp: Ditto.
1531 * gdb.base/reread.exp: Ditto.
1532 * gdb.base/sect-cmd.exp: Ditto.
1533 * gdb.base/sep.exp: Ditto.
1534 * gdb.base/sepdebug.exp: Ditto.
1535 * gdb.base/until.exp: Ditto.
1536 * gdb.base/whatis-exp.exp: Ditto.
1537 * gdb.cp/annota2.exp: Ditto.
1538 * gdb.cp/annota3.exp: Ditto.
1539 * gdb.trace/actions.exp: Ditto.
1540 * gdb.trace/backtrace.exp: Ditto.
1541 * gdb.trace/circ.exp: Ditto.
1542 * gdb.trace/collection.exp: Ditto.
1543 * gdb.trace/deltrace.exp: Ditto.
1544 * gdb.trace/infotrace.exp: Ditto.
1545 * gdb.trace/limits.exp: Ditto.
1546 * gdb.trace/packetlen.exp: Ditto.
1547 * gdb.trace/passc-dyn.exp: Ditto.
1548 * gdb.trace/passcount.exp: Ditto.
1549 * gdb.trace/report.exp: Ditto.
1550 * gdb.trace/save-trace.exp: Ditto.
1551 * gdb.trace/tfind.exp: Ditto.
1552 * gdb.trace/tracecmd.exp: Ditto.
1553 * gdb.trace/while-dyn.exp: Ditto.
1554 * gdb.trace/while-stepping.exp: Ditto.
1555 * lib/gdb.exp: Ditto.
1556 (gdb_compile): Handle nowarning option.
1557
5f4a23d9
AO
15582006-03-07 Alexandre Oliva <aoliva@redhat.com>
1559
1560 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
1561 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
1562 Rename executable to prelinkt. Don't re-prelink if we didn't
1563 get a core file. Test prelink -u exit status to tell whether
1564 prelinking failed. Use gdb_test_multiple.
1565
9733fc94
DJ
15662006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
1567
1568 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
1569 (do_tests): Call it.
1570
cc10cae3
AO
15712006-02-28 Alexandre Oliva <aoliva@redhat.com>
1572
1573 * gdb.base/prelink.exp: New test.
1574 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
1575
15c46491
WZ
15762006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
1577
1578 * gdb.fortran/derived-type.f90: New file.
1579 * gdb.fortran/derived-type.exp: New testcase.
1580
5c9f7ded
DJ
15812006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
1582
1583 * gdb.base/default.exp: Allow ';' as a directory separator.
1584
5b96932b
AS
15852006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
1586
1587 * gdb.base/help.exp (help add-symbol-file): Update.
1588
1986bccd
AS
15892006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
1590
1591 * gdb.base/help.exp (help load): Update expected results.
1592
a8b7528f
FF
15932006-02-19 Fred Fish <fnf@specifix.com>
1594
1595 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
1596 specifix hex value as part of results.
1597 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
1598
f8261448
FF
15992006-02-16 Fred Fish <fnf@specifix.com>
1600
1601 * gdb.base/whatis.c: Define variables using typedefs char_addr,
1602 ushort_addr, and slong_addr, so the typedefs are not optimized
1603 away.
1604 * gdb.base/whatis.exp: Add tests using type name for struct type,
1605 union type, enum type, and typedef.
1606
31d8bdd2
MK
16072006-02-13 Mark Kettenis <kettenis@gnu.org>
1608
1609 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
1610
34e41e63
JB
16112006-02-13 Jim Blandy <jimb@redhat.com>
1612
1613 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
1614 case where it takes two "next" commands to skip past the init
1615 call.
1616
ac6e4f31
FF
16172006-02-12 Fred Fish <fnf@specifix.com>
1618
1619 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
1620 to handle cases where it takes two "next" commands to skip
1621 past the init call.
1622
2db2d571
JB
16232006-02-07 Joel Brobecker <brobecker@adacore.com>
1624
1625 * gdb.ada/array_return.exp: Mark the last test as expected to fail
1626 on hppa32 targets.
1627
38fcd64c
DJ
16282006-02-06 Vladimir Prus <ghost@cs.msu.su>
1629
1630 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
1631 field.
1632
1315ad46
MK
16332006-01-29 Mark Kettenis <kettenis@gnu.org>
1634
1635 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
1636
5625b943
DJ
16372006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
1638
1639 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
1640 files.
1641
80df1bbe
DJ
16422006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1643
1644 * gdb.cp/maint.exp: Set complaints to a positive value.
1645
9078e690
DJ
16462006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
1647
1648 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
1649 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
1650 function name.
1651
9c903399
DJ
16522006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
1653
1654 * gdb.base/checkpoint.c: Update copyright notice. Include
1655 <stdlib.h>.
1656
761ae4d6
JB
16572006-01-04 Jim Blandy <jimb@redhat.com>
1658
1659 * gdb.asm/asm-source.exp: Independently provide default values for
1660 asm-flags and debug-flags. Use 'string equal' to do the
1661 comparison, not the implicit expr's '==' operator. Remove
1662 now-unneeded assignments to asm-flags. In h8300 case, place
1663 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
1664
099ac3dd
MS
16652006-01-04 Michael Snyder <msnyder@redhat.com>
1666
1667 * gdb.base/checkpoint.c: New file.
1668 * gdb.base/checkpoint.exp: New file.
1669 * gdb.base/multi-fork.c: New file.
1670 * gdb.base/multi-fork.exp: New file.
1671 * gdb.base/pi.txt: New file (data for checkpoint.c test).
1672
f4d85314
FF
16732006-01-04 Fred Fish <fnf@specifix.com>
1674
1675 * gdb.base/ptype.c (foo): Add typedef.
1676 (intfoo): Add function.
1677 * gdb.base/ptype1.c: New file.
1678 * gdb.base/ptype.exp: Handle compilation and linking with two
1679 source files. Test that proper type for "foo" is found based
1680 on source context rather than first match found in symtabs.
1681
a1b06f35
MK
16822005-12-28 Mark Kettenis <kettenis@gnu.org>
1683
1684 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
1685 * gdb.asm/openbsd.inc: Indent commands.
1686
d082a1e2
MK
16872005-12-26 Mark Kettenis <kettenis@gnu.org>
1688
c65016bd
MK
1689 * gdb.base/freebpcmd.exp: Increase timeout.
1690
d082a1e2
MK
1691 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
1692
d3c32a0e
DJ
16932005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
1694
1695 * gdb.base/default.exp: Update check for "show version".
1696
9fdb1f50
RC
16972005-12-09 Randolph Chung <tausq@debian.org>
1698
1699 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
1700 * gdb.asm/pa64.inc: New file.
1701
5f2c56f7
RC
17022005-12-09 Randolph Chung <tausq@debian.org>
1703
1704 * gdb.asm/common.inc: Indent commands.
1705 * gdb.asm/asmsrc1.s: Likewise.
1706 * gdb.asm/asmsrc2.s: Likewise.
1707
8117349c
RC
17082005-12-09 Randolph Chung <tausq@debian.org>
1709
1710 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
1711 (get_addr_of_sym): Remove duplicate print.
1712 (gen_core): xfail hppa*-*-hpux*, update expected output.
1713 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
1714 * gdb.arch/pa64-nullify.s: New file.
1715
8f07f25a
RC
17162005-12-09 Randolph Chung <tausq@debian.org>
1717
1718 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
1719
55b39184
DJ
17202005-12-07 Christophe Lyon <christophe.lyon@st.com>
1721
1722 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
1723 code generation for these functions.
1724 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
1725 error message.
1726
31e2b00f
AS
17272005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
1728
1729 * gdb.base/help.exp (help b, help br, help bre, help brea)
1730 (help break): Update the expected message.
1731
c3d0b56e
SC
17322005-11-11 Stephane Carrez <stcarrez@nerim.fr>
1733
1734 * gdb.asm/m68hc11.inc: Setup the data section.
1735 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
1736 script for this test.
1737 (m6812-*-*): Likewise.
1738
36ae0ea9
RC
17392005-11-09 Randolph Chung <tausq@debian.org>
1740
1741 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
1742
9d6f42e9
WZ
17432005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
1744
1745 * gdb.base/break.exp: Fix a comment typo.
1746
e2126a14
EZ
17472005-11-03 Jim Blandy <jimb@redhat.com>
1748
1749 Checked in by Elena Zannoni <ezannoni@redhat.com>
1750
1751 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
1752
e0ac7199
CV
17532005-11-02 Corinna Vinschen <vinschen@redhat.com>
1754
1755 * gdb.arch/gdb1558.c: Include stdio.h.
1756
31d3fb18
MK
17572005-10-31 Mark Kettenis <kettenis@gnu.org>
1758
1759 * gdb.asm/asm-source.exp: Use -e instead of --entry.
1760
e52b687c
MK
17612005-10-31 Mark Kettenis <kettenis@gnu.org>
1762
1763 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
1764
f4711d79
PG
17652005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
1766
1767 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
1768 vscr" tests to better match output.
1769
987a9106
JB
17702005-10-12 Jim Blandy <jimb@redhat.com>
1771
1772 * gdb.base/structs.exp (any): New function.
1773 (test_struct_returns): Don't make any assumptions at all about
1774 what value the function returns when GDB can't set the return
1775 value.
1776
2336bb58
JB
17772005-10-09 Joel Brobecker <brobecker@adacore.com>
1778
1779 * gdb.ada/arrayidx/p.adb: New file.
1780 * gdb.ada/arrayidx.exp: New testcase
1781
17822005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
1783
1784 * gdb.ada/array_return/pck.ads: New file.
1785 * gdb.ada/array_return/pck.adb: New file.
1786 * gdb.ada/array_return/p.adb: New file.
1787 * gdb.ada/array_return.exp: New testcase.
1788
705335ea
JB
17892005-10-03 Joel Brobecker <brobecker@adacore.com>
1790
1791 * gdb.base/arrayidx.c: New file.
1792 * gdb.base/arrayidx.exp: New testcase.
1793
11ee9940
NR
17942005-09-29 Nick Roberts <nickrob@snap.net.nz>
1795
1796 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
1797 frames-invalid and breakpoints-invalid are no longer generated
1798 with level 3 so don't expect them in the output.
1799
39fb8e9e
BR
18002005-09-27 Bob Rossi <bob@brasko.net>
1801
1802 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
1803 from test. Escape the | in mi_gdb_test call.
1804 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
1805 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
1806 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
1807 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
1808 expected regex's in mi_gdb_test calls.
1809 * lib/mi-support.exp: Remove arbitrary .* from tests.
1810 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
1811 Fully anchor GDB/MI expected results in mi_gdb_test.
1812 * lib/gdb.exp (string_to_regexp): Escape the ] character.
1813 * gdb.base/sizeof.exp: Remove escape character. Correct test.
1814
2af48f68
PB
18152005-09-26 Paul Brook <paul@codesourcery.com>
1816
1817 * long_long.exp: Exclude eabi targets from arm FPA float format test.
1818
f34502bc
WZ
18192005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
1820
1821 * bfp-test.c: New file.
1822 * bfp-test.exp: New testcase.
1823
ca929517
WZ
18242005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
1825
1826 * gdb.fortran/subarray.exp: New testcase to test the evaluation
1827 of subarray and substring variable.
1828 * gdb.fortran/subarray.f: New source file for the test of subarray
1829 and substring variable evaluation.
1830 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
1831 of string constant.
1832
c761af65
DJ
18332005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
1834
1835 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
1836 copyright dates.
1837
561d7a1d
PG
18382005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
1839
1840 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
1841 powerpc altivec' test with an almost identical 'info vector' test.
1842
b2b64cc9
PG
18432005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
1844
1845 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
1846 vscr" tests to match output.
1847
6ac4d15a
PG
18482005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
1849
1850 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
1851 output.
1852
40e55bef
BR
18532005-09-11 Bob Rossi <bob@brasko.net>
1854
1855 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
1856 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
1857 commands that return an MI output command and an asyncronous MI output
1858 command.
1859 * gdb.mi/mi-console.exp: Ditto.
1860
3c7385ec
BR
18612005-09-11 Bob Rossi <bob@brasko.net>
1862
1863 * gdb.mi/mi-var-child.c: Include <string.h>.
1864
a6cd0eb3
DJ
18652005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
1866
1867 * killed.exp: Correct gdb_expect syntax.
1868
2f168eed
CV
18692005-08-09 Corinna Vinschen <vinschen@redhat.com>
1870
1871 * lib/mi-support.exp (mi_gdb_load): Fix typo.
1872
ecd3fd0f
BR
18732005-08-02 Bob Rossi <bob@brasko.net>
1874
1875 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
1876 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
1877 Change tests to inferior-tty-set/show.
1878 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
1879 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
1880 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
1881 inferior. Use mi_gdb_test to get GDB and Inferior output.
1882 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
1883 descriptor.
1884 (mi_inferior_tty_name): Add inferior PTY file name.
1885 (mi_gdb_start): Add INFERIOR_PTY parameter.
1886 (mi_gdb_test): Add IPATTERN parameter.
1887
f1ea48cb
BR
18882005-08-02 Bob Rossi <bob@brasko.net>
1889
1890 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
1891 parameter to mi_gdb_test.
1892 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
1893
6e650a67
DJ
18942005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
1895
1896 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
1897 struct_declarations.
1898 * gdb.mi/mi-var-child.exp: Step over the initialization of
1899 struct_declarations.
1900
8be260b6
DJ
19012005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
1902
1903 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
1904 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
1905 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
1906 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
1907 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
1908 file.
1909
4e660f07
NR
19102005-07-27 Nick Roberts <nickrob@snap.net.nz>
1911
1912 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
1913 (do_children_tests): Assign values to the extra elements.
1914
1915 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
1916 them for tests for "-var-update --no-values" and
1917 "-var-update --all-values".
1918 Add test for "-var-list-children --simple-values".
1919
1920 * gdb.mi/basics.c (callee4): Add integer array D[3]...
1921
1922 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
1923 "-stack-list-locals --simple-values" Improve doc strings and
1924 comments.
1925
6bdae935
MK
19262005-07-18 Mark Kettenis <kettenis@gnu.org>
1927
598b7a6f
MK
1928 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
1929 *-*-openbsd*.
1930 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
1931
6bdae935
MK
1932 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
1933 sigaltsatck'.
1934
1323e929
BR
19352005-07-14 Bob Rossi <bob@brasko.net>
1936
1937 * gdb.base/default.exp (tty): Changed output of command.
1938 * gdb.base/help.exp (help tty): Ditto.
1939
b1a9c082
MK
19402005-07-12 Mark Kettenis <kettenis@gnu.org>
1941
1942 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
1943
10a844a2
MK
19442005-07-10 Mark Kettenis <kettenis@gnu.org>
1945
1946 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
1947 -stack-select-frame without arguments.
1948 (test_stack_frame_listing): Add test for newly implemented command
1949 -stack-info-frame.
1950
3cb3b8df
BR
19512005-07-06 Bob Rossi <bob@brasko.net>
1952
1953 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
1954 command.
1955 (Copyright): Update copyright.
1956
a0c5fbcf
WZ
19572005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
1958
1959 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
1960 tests to evaluate exponentiation expression.
1961
984971d0
AS
19622005-06-29 Andreas Schwab <schwab@suse.de>
1963
1964 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
1965 main to avoid warnings.
1966
1967 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
1968
fe03833f
NR
19692005-06-20 Nick Roberts <nickrob@snap.net.nz>
1970
1971 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
1972 -stack-select-frame without arguments.
1973 (test_stack_frame_listing): Add test for newly implemented command
1974 -stack-info-frame.
1975
7a55f279
WZ
19762005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
1977
0ffa0ea5
DJ
1978 * gdb.fortran/array-element.f: New file.
1979 * gdb.fortran/array-element.exp: New testcase.
7a55f279 1980
26585198
DJ
19812005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1982
1983 * gdb.base/bigcore.exp: Correct checks for systems which can
1984 not dump a large core file.
1985
c1bd25fd
DJ
19862005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1987
1988 * gdb.base/relocate.c: Add a copyright notice.
1989 (dummy): Remove.
1990 * gdb.base/relocate.exp: Test printing the values of variables
1991 from a relocatable file.
1992
589e074d
DJ
19932005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
1994
1995 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
1996 excess MI output after an error.
1997
0915f927
JB
19982005-05-29 Joel Brobecker <brobecker@adacore.com>
1999
2000 * gdb.arch/alpha-step.c: New file.
2001 * gdb.arch/alpha-step.exp: New testcase.
2002
76ff342d
DJ
20032005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
2004 Dennis Brueni <dennis@slickedit.com>
2005
2006 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
2007 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
2008 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
2009 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
2010 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
2011 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
2012 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
2013
96b0c7ac
DJ
20142005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
2015 Wu Zhou <woodzltc@cn.ibm.com>
2016
2017 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
2018 IBM's xlc compiler.
2019 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
2020 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
2021
f21565d2
JB
20222005-05-13 Jim Blandy <jimb@redhat.com>
2023
2024 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
2025 calling gdb_suppress_entire_file.
2026 * gdb.base/charset.exp: Same.
2027 * gdb.base/call-rt-st.exp: Same.
2028
6006a3a1
BR
20292005-05-05 Bob Rossi <bob_rossi@cox.net>
2030
2031 * lib/gdb.exp (fullname_syntax): Added global regex.
2032 (fullname_syntax_POSIX): Ditto.
2033 (fullname_syntax_UNC): Ditto.
2034 (fullname_syntax_DOS_CASE): Ditto.
2035 (fullname_syntax_DOS): Ditto.
2036 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
2037 fullname_syntax variable to scope and use it.
2038 (test_file_list_exec_source_files): Ditto.
2039 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
2040
c3b69c04
DJ
20412005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
2042
2043 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
2044
3c95e6af
PG
20452004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
2046
2047 * lib/gdb.exp (skip_altivec_tests): New function, based on
2048 check_vmx_hw_available from the GCC testsuite.
2049 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
2050 * lib/gdb.arch/altivec-regs.exp: Likewise.
2051
78df6c56
JB
20522005-05-02 Jim Blandy <jimb@redhat.com>
2053
2054 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
2055 calling gdb_suppress_entire_file.
2056
1690f9cf
DJ
20572005-04-30 Randolph Chung <tausq@debian.org>
2058
2059 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
2060 Slightly relax "sem_post" name checking.
2061
5ea106f7
PG
20622005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
2063
2064 * gdb.base/unload.exp: Use new shared library infrastructure.
2065
bf7234cf
PG
20662005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
2067
2068 * gdb.base/so-impl-ld.exp: Use new shared library
2069 infrastructure.
2070
547b869a
CV
20712005-04-29 Corinna Vinschen <vinschen@redhat.com>
2072
2073 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
2074 * gdb.asm/h8300.inc: New file.
2075
f07e55f0
PG
20762005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
2077
2078 * gdb.base/shlib-call.exp: Change to use new shared library
2079 infrastructure.
2080
3cbba3d1
PG
20812005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
2082
2083 * gdb.base/pending.exp: Change to use new shared library
2084 infrastructure.
2085
ed6df200
PG
20862005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
2087
2088 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
2089 use test_compiler_info instead of gcc_compiled, and update copyright.
2090
8c8f4ebe
PG
20912005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
2092
2093 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
2094 shared objects being adjusted and update copyright years.
2095
607fbc54
DJ
20962005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
2097
2098 * ChangeLog: Correct some 2003-01-13 dates.
2099 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
2100 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
2101 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
2102 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
2103 gdb.trace/tfind.exp: Update copyright years.
2104
57bf0e56
DJ
21052005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
2106 Daniel Jacobowitz <dan@codesourcery.com>
2107
2108 * lib/gdb.exp (gdb_compile): Handle shlib=.
2109 (gdb_compile_shlib): New function.
2110
9b593790
PG
21112005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
2112
2113 * lib/gdb.exp (test_compiler_info): Give argument a default value.
2114
9494c6a5
DJ
21152005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
2116
2117 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
2118 gdb.server.
2119 * configure.ac: Likewise.
2120 * configure: Regenerated.
2121 * gdb.gdbserver/Makefile.in: Moved to...
2122 * gdb.server/Makefile.in: ... here.
2123 * gdb.gdbserver/server.c: Moved to...
2124 * gdb.server/server.c: ... here.
2125 * gdb.gdbserver/server-run.exp: Moved to...
2126 * gdb.server/server-run.exp: ... here.
2127
6f8eac0e
DJ
21282005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
2129
2130 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
2131 * configure.ac: Create gdb.gdbserver/Makefile.
2132 * configure: Regenerated.
2133 * lib/gdbserver-support.exp: New file, derived from
2134 config/gdbserver.exp.
2135 * config/gdbserver.exp: Use gdbserver-support.exp.
2136 * gdb.gdbserver/Makefile.in: New file.
2137 * gdb.gdbserver/server.c: New file.
2138 * gdb.gdbserver/server-run.exp: New file.
2139
6e87504d
PG
21402005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
2141
2142 * lib/gdb.exp (test_compiler_info): Return compiler_info
2143 if no arguments are given.
2144
d1779be4
PG
21452005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
2146
2147 * gdb.arch/altivec-abi.exp: Check for compiler and set
2148 use altivec' flag accordingly.
2149 * gdb.arch/altivec-regs.exp: Likewise.
2150
88750304
DJ
21512005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2152
2153 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
2154
f3fb768d
AS
21552005-03-27 Andreas Schwab <schwab@suse.de>
2156
2157 * gdb.base/bigcore.c (main): Add missing mode argument in open
2158 call.
2159
7e813ac5
DJ
21602005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
2161
2162 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
2163 downloads.
2164 * config/gdbserver.exp (gdb_load): Likewise.
2165
8e3049aa
PB
21662005-03-14 Paul Brook <paul@codesourcery.com>
2167
2168 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
2169 targets.
2170
a9df7c44
JB
21712005-03-09 Joel Brobecker <brobecker@adacore.com>
2172
2173 * gdb.dwarf2/dup-psym.S: New file.
2174 * gdb.dwarf2/dup-psym.exp: New testcase.
2175
9f0d94e8
JB
21762005-03-09 Joel Brobecker <brobecker@adacore.com>
2177
2178 * gdb.ada/exec_changed/first.adb: New file.
2179 * gdb.ada/exec_changed/second.adb: New file.
2180 * gdb.ada/exec_changed.exp: New testcase.
2181
5f579bc5
NS
21822005-03-08 Nathan Sidwell <nathan@codesourcery.com>
2183
36e9969c
NS
2184 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
2185 (A2): New class.
2186 (main): Test operator+.
2187 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
2188 breakpoint test.
2189
5f579bc5
NS
2190 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
2191 * gdb.base/signull.exp: Disable if gdb,nosignals.
2192 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
2193 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
2194 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
2195 * gdb.mi/mi2-console.exp: Likewise.
2196 * gdb.trace/collection.exp (run_trace_experiment): Consume the
2197 continue output at start.
2198 (gdb_collect_locals_test): Robustify regexp.
2199 * gdb.trace/passc-dyn.exp: Fix comment typo.
2200 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
2201
be46087e
CV
22022005-03-08 Corinna Vinschen <vinschen@redhat.com>
2203
2204 * gdb.asm/asm-source.exp: Add iq2000 case.
2205 * gdb.asm/iq2000.inc: New file.
2206
384e1a61
MI
22072005-03-07 Manoj Iyer <manjo@austin.ibm.com>
2208
2209 * gdb.base/command.exp: Change hardcoded value to regular expression.
2210 * gdb.base/float.exp: Add powerpc to the list of targets checked.
2211
584b6e9e
DJ
22122005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
2213
2214 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
2215 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
2216 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
2217 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
2218 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
2219
ab5b5d61
MK
22202005-03-05 Mark Kettenis <kettenis@gnu.org>
2221
2222 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
2223 changes.
2224
ae051c1b
PG
22252004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
2226
2227 * lib/compiler.c: Add test for IBM's xlc compiler.
2228 * lib/compiler.cc: Likewise.
2229
3f0f6ed2
JB
22302004-02-24 Joel Brobecker <brobecker@adacore.com>
2231
2232 * gdb.ada/fixed_points.exp: Create compilation object directory
2233 before running the test.
2234 * gdb.ada/null_record.exp: Likewise.
2235 * gdb.ada/packed_array.exp: Likewise.
2236 * gdb.ada/start.exp: Likewise.
2237
724f452b
JB
22382005-02-15 Joel Brobecker <brobecker@adacore.com>
2239
2240 * gdb.ada/packed_array/pa.adb: New file.
2241 * gdb.ada/packed_array.exp: New testcase.
2242
57f5cdfb 22432005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 2244
1f393151
MK
2245 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
2246 files.
2247
ebdda337
MK
2248 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
2249 on *-*-openbsd*. Correctly match whitespace in regukar
2250 expressions.
2251
cf309262
DJ
22522005-02-10 Daniel Jacobowitz <dan@debian.org>
2253
2254 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
2255 PR exp/1821
2256 * gdb.base/gdb1821.c: New test file.
2257 * gdb.base/gdb1821.exp: New test file.
2258
3be49e7a
JB
22592005-02-09 Joel Brobecker <brobecker@adacore.com>
2260
2261 * gdb.base/start.c: New file.
2262 * gdb.base/start.exp: New testcase.
2263
e292e67d
JB
22642005-02-09 Joel Brobecker <brobecker@adacore.com>
2265
2266 * gdb.ada/start/dummy.adb: New file.
2267 * gdb.ada/start.exp: New testcase.
2268
dbdfa66c
CV
22692005-02-09 Corinna Vinschen <vinschen@redhat.com>
2270
2271 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
2272 for printing symbols and statistics.
2273 Add test for using relative pathnames in "maint print msymbols" test.
2274 Mark "maint info sections DATA" XFAIL on Cygwin.
2275 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
2276 tests.
2277
d7941671
AC
22782005-02-09 Andreas Schwab <schwab@suse.de>
2279
2280 Committed by Andrew Cagney <cagney@gnu.org>
2281 * gdb.base/remotetimeout.exp: New file.
2282
74e5ef44
MK
22832005-02-07 Mark Kettenis <kettenis@gnu.org>
2284
2285 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
2286
464dd14d
JB
22872005-02-03 Joel Brobecker <brobecker@adacore.com>
2288
2289 * gdb.ada/gnat_ada.gpr: New file.
2290 * gdb.ada/gnat_ada.gin: Delete, no longer used.
2291 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
2292 * configure.ac: No longer generate gnat_ada.gpr.
2293 * configure: Regenerate.
2294 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
2295 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
2296 * gdb.ada/null_record/bar.ads: Likewise.
2297 * gdb.ada/null_record/bar.adb: Likewise.
2298 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
2299 * gdb.ada/null_record.exp (testdir): New variable.
2300 (testfile): executable is now in testdir subdirectory.
2301 (srcfile): Use full path to the main compilation unit.
2302 * gdb.ada/fixed_points.exp: Same changes as above.
2303
30d756ae
NR
23042005-02-03 Nick Roberts <nickrob@snap.net.nz>
2305
2306 * gdb.base/interp.exp: New test.
2307
9d799f85
AC
23082005-01-24 Andrew Cagney <cagney@gnu.org>
2309
2310 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
2311
15656118
AC
23122005-01-19 Andrew Cagney <cagney@gnu.org>
2313
a892c31b
AC
2314 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
2315 configure.ac not configure.in.
2316
15656118
AC
2317 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
2318 of powerpc*-*-*.
2319 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
2320 * gdb.base/list.exp (test_list_function)
2321 (test_list_filename_and_function): Ditto.
2322 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
2323
a7b01baf
AC
23242005-01-16 Andrew Cagney <cagney@gnu.org>
2325
17d92a02
AC
2326 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
2327
a7b01baf
AC
2328 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
2329
bc8332bb
AC
23302005-01-14 Andrew Cagney <cagney@gnu.org>
2331
2332 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
2333 * gdb.mi/mi2-var-cmd.exp: Ditto.
2334
4d074752
CV
23352005-01-10 Corinna Vinschen <vinschen@redhat.com>
2336
2337 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
2338
bec39cab
AC
23392005-01-07 Andrew Cagney <cagney@gnu.org>
2340
2341 * configure.ac: Rename configure.in, require autoconf 2.59.
2342 * configure: Re-generate.
2343 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
2344 * gdb.stabs/configure: Re-generate.
2345 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
2346 * gdb.hp/configure: Re-generate.
2347 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
2348 autoconf 2.59.
2349 * gdb.hp/gdb.objdbg/configure: Re-generate.
2350 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
2351 autoconf 2.59.
2352 * gdb.hp/gdb.defects/configure: Re-generate.
2353 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
2354 autoconf 2.59.
2355 * gdb.hp/gdb.compat/configure: Re-generate.
2356 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
2357 autoconf 2.59.
2358 * gdb.hp/gdb.base-hp/configure: Re-generate.
2359 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
2360 autoconf 2.59.
2361 * gdb.hp/gdb.aCC/configure: Re-generate.
2362
f10b16d4
JB
23632004-12-15 Jim Blandy <jimb@redhat.com>
2364
2365 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
2366 under NPTL when there is debugging info available for libpthread.
2367
fb6e1814
JG
23682004-12-13 Jerome Guitton <guitton@gnat.com>
2369
2370 * gdb.ada/fixed_points.c: New file.
2371 * gdb.ada/fixed_points.exp: New file.
2372
fe46cd3a
RC
23732004-12-03 Randolph Chung <tausq@debian.org>
2374
2375 * gdb.arch/pa-nullify.exp: New file.
2376 * gdb.arch/pa-nullify.s: New file.
2377
8de0841b
RC
23782004-11-30 Randolph Chung <tausq@debian.org>
2379
2380 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
2381 instead of "tbug". Fix regexp to work properly with gdb_test.
2382
c8170782
PH
23832004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
2384
2385 * gdb.base/bitfields2.exp: New test.
2386 * gdb.base/bitfields2.c: New file.
2387
954269c2
RE
23882004-11-28 Richard Earnshaw <rearnsha@arm.com>
2389
2390 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
2391
0107feed
RC
23922004-11-16 Randolph Chung <tausq@debian.org>
2393
2394 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
2395
f073ae8c
DJ
23962004-11-14 Daniel Jacobowitz <dan@debian.org>
2397
2398 * gdb.threads/threadapply.exp: Correct "macro details" test.
2399
19ad59e7
JJ
24002004-11-11 Jeff Johnston <jjohnstn@redhat.com>
2401
2402 * gdb.threads/threadapply.exp: New test.
2403 * gdb.threads/threadapply.c: New file.
2404
9cf0961b
MK
24052004-11-07 Mark Kettenis <kettenis@gnu.org>
2406
2407 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
2408 frames.
2409
c789492a
FL
24102004-11-05 Felix Lee <felix+log1@specifixinc.com>
2411
2412 * gdb.base/cursal.exp: New file.
2413 * gdb.base/cursal.c: New file.
2414
a1e167bb
AC
24152004-11-03 Andrew Cagney <cagney@gnu.org>
2416
2417 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
2418
b7cbf173
MK
24192004-10-30 Mark Kettenis <kettenis@gnu.org>
2420
2421 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
2422 NetBSD/ELF targets.
2423
88f9d34f
JB
24242004-10-29 Joel Brobecker <brobecker@gnat.com>
2425
2426 * gdb.threads/bp_in_thread.c: New file, copied from
2427 pthread_cond_wait.c.
2428 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
2429 file, rather than reusing the .c file from another testcase.
2430
ca7d6a0c
JB
24312004-10-20 Joel Brobecker <brobecker@gnat.com>
2432
2433 * gdb.ada/null_record.exp: Check where we stopped after
2434 sending the start command, instead of where the associated
2435 temporary breakpoint was inserted.
2436
0d863d03
AC
24372004-10-14 Andrew Cagney <cagney@gnu.org>
2438
2439 * gdb.mi/gdb701.c (main): Return 0.
2440
d11e72cb
DJ
24412004-10-13 Daniel Jacobowitz <dan@debian.org>
2442
d40539a4 2443 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 2444
e1923096
JJ
24452004-10-12 Jeff Johnston <jjohnstn@redhat.com>
2446
2447 * gdb.threads/schedlock.c: Add comment markers to use to find
2448 line numbers.
2449 * gdb.threads/schedlock.exp: Adjust regex to handle the new
2450 comments.
2451 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
2452 breakpoint lines.
2453
ec8ba2c9
DJ
24542004-10-12 Daniel Jacobowitz <dan@debian.org>
2455
2456 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
2457
0eb3658b
DJ
24582004-10-12 Daniel Jacobowitz <dan@debian.org>
2459
2460 * configure.in: Add gdb.dwarf2.
2461 * configure: Regenerated.
2462 * Makefile.in: Add gdb.dwarf2.
2463 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
2464 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
2465 gdb.dwarf2/file1.txt: New files.
2466
a271cc33
OF
24672004-10-11 Orjan Friberg <orjanf@axis.com>
2468
2469 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
2470 of "run", since the latter doesn't work with remote targets. Adjust
2471 the breakpoint numbering accordingly.
2472 * gdb.threads/pthread_cond_wait.exp: Ditto.
2473
895ce074
MC
24742004-10-08 Michael Chastain <mec.gnu@mindspring.com>
2475
2476 * gdb.base/overlays.exp: Update copyright years.
2477
6be3092d
KI
24782004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
2479
2480 * gdb.base/overlays.exp: Disable if target is Linux.
2481
e05389b8
FL
24822004-10-06 Felix Lee <felix+log1@specifixinc.com>
2483
2484 * config/gdbserver.exp (gdb_load): Use right filename on remote.
2485
73cb587d
KI
24862004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
2487
2488 * gdb.asm/asm-source.exp: Add m32r-linux target.
2489 * gdb.asm/m32r-linux.inc: New file.
2490
3c0edcdc
AC
24912004-09-24 Andrew Cagney <cagney@redhat.com>
2492 David Anderson <anderson@redhat.com>
2493
2494 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
2495 command fails, assume things will work.
2496 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
2497 (_GNU_SOURCE): Define.
2498 (print_unsigned, print_hex): Change parameter to "long long".
2499 (print_byte_count): New function, use to print byte counts.
2500 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
2501 O_LARGEFILE.
2502 (main): Compute an upper bound on a corefile in max_core_size.
2503 Limit memory chunk size to max_core_size. Limit total memory
2504 allocated to max_core_size.
2505
4bb3667f
AC
25062004-09-23 Andrew Cagney <cagney@gnu.org>
2507
2508 * gdb.base/bigcore.exp: Replace the code that creates a corefile
2509 from a separate process with code that creates a corefile by
2510 making the inferior dump core.
2511
60fe1a51
MK
25122004-09-23 Mark Kettenis <kettenis@gnu.org>
2513
2514 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
2515 block.
2516
8e937346
MC
25172004-09-23 Michael Chastain <mec.gnu@mindspring.com>
2518
2519 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
2520 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
2521 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
2522 Likewise.
2523
7213f6d6
JJ
25242004-09-20 Jeff Johnston <jjohnstn@redhat.com>
2525
2526 * gdb.java/jprint.exp: New test case for java inferior call.
2527 * gdb.java/jprint.java: Ditto.
2528
eac69dca
JB
25292004-09-15 Joel Brobecker <brobecker@gnat.com>
2530
2531 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
2532
22227696
MC
25332004-09-14 Michael Chastain <mec.gnu@mindspring.com>
2534
2535 * gdb.threads/killed.c: Include <stdlib.h>.
2536 * gdb.threads/pthreads.c: Likewise.
2537
7dd403a4
MC
25382004-09-14 Michael Chastain <mec.gnu@mindspring.com>
2539
2540 * gdb.threads/killed.c: Add copyright notice.
2541
33f2d567
JM
25422004-09-10 Jason Molenda (jmolenda@apple.com)
2543
2544 * gdb.base/define.exp: Two new tests to verify zero space chars
2545 after 'if' and 'while' commands in a user-defined command is correctly
2546 parsed.
2547
e05b62ac
AC
25482004-09-08 Andrew Cagney <cagney@gnu.org>
2549
2550 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
2551 delivery test with duplicate at end of file.
2552
9cbe82da
MK
25532004-09-06 Mark Kettenis <kettenis@jive.nl>
2554
2555 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
2556
564803d9
MC
25572004-09-05 Michael Chastain <mec.gnu@mindspring.com>
2558
2559 * config/hppro.exp: Removed.
2560
7c6807ce
MC
25612004-09-05 Michael Chastain <mec.gnu@mindspring.com>
2562
2563 * config/sparclet.exp: Removed.
2564
bf7e26dd
MC
25652004-09-05 Michael Chastain <mec.gnu@mindspring.com>
2566
2567 * config/udi.exp: Removed.
2568
714e341b
MC
25692004-09-02 Michael Chastain <mec.gnu@mindspring.com>
2570
2571 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
2572 of "exp_continue".
2573 (advancei): Likewise.
2574
1236e623
JJ
25752004-09-01 Jeff Johnston <jjohnstn@redhat.com>
2576
2577 * gdb.base/unload.exp: Fix so messages aren't duplicated.
2578
3bdcad15
MI
25792004-09-01 Manoj Iyer <manjo@austin.ibm.com>
2580
228af206 2581 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
2582 to check for nodebug in executable.
2583 * gdb.gdb/observer.exp (setup_test): Likewise.
2584 * gdb.gdb/selftest.exp (test_with_self): Likewise.
2585 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
2586
c72b934c
AC
25872004-09-01 Andrew Cagney <cagney@gnu.org>
2588
2589 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
2590 files.
2591
edd9b715
JJ
25922004-09-01 Jeff Johnston <jjohnstn@redhat.com>
2593
2594 * gdb.base/unload.exp: Fix expected warning message to match
2595 latest format.
2596
fb4ce06b
CV
25972004-09-01 Corinna Vinschen <vinschen@redhat.com>
2598
2599 * gdb.base/call-rt-st.exp: Fix typos.
2600
ce78e7c3
MI
26012004-08-31 Manoj Iyer <manjo@austin.ibm.com>
2602
2603 * gdb.threads/thread_check.exp: New testcase.
2604 * gdb.threads/thread_check.c: New testcase.
2605
2dedb159
AC
26062004-08-31 Andrew Cagney <cagney@gnu.org>
2607
2608 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
2609 (skip_to_handler_entry): New procedures. Test stepping into a
2610 handler when the breakpoint is at the handler's entry point.
2611
68f53502
AC
26122004-08-30 Andrew Cagney <cagney@gnu.org>
2613
2614 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
2615 gdb/1757.
2616
3e3ffd2b
MC
26172004-08-27 Michael Chastain <mec.gnu@mindspring.com>
2618
2619 With code from Manoj Iyer <manjo@austin.ibm.com>:
2620 * lib/gdb.exp (gdb_file_cmd): Return more information in the
2621 return value. Add an arm for "no debugging symbols found".
2622 Change a stray "error" to "perror".
2623 (gdb_run_cmd): Adapt to new return value.
2624 * gdb.base/remote.exp: Adapt to new return value.
2625 * gdb.gdb/complaints.exp: Likewise.
2626 * gdb.gdb/observer.exp: Likewise.
2627 * gdb.gdb/selftest.exp: Likewise.
2628 * gdb.gdb/xfullpath.exp: Likewise.
2629
4b6f5fd2
JB
26302004-08-27 Joel Brobecker <brobecker@gnat.com>
2631
2632 * gdb.threads/bp_in_thread.exp: New testcase.
2633
e5b25496
MC
26342004-08-27 Michael Chastain <mec.gnu@mindspring.com>
2635
2636 Fix PR testsuite/1735.
2637 * gdb.threads/schedlock.c (thread_function): Add a cast
2638 to suppress a gcc warning.
2639 * gdb.threads/thread-specific.c (thread_function): Likewise.
2640
934353d6
MC
26412004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2642
2643 * gdb.base/unload.c: Include <stdlib.h>.
2644
f98a0aef 26452004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 2646
f98a0aef 2647 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
2648 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
2649 synchronized after the "return".
2650
5a2e8882
MC
26512004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2652
2653 * gdb.mi/basics.c: Include <stdio.h>.
2654 * gdb.mi/pthreads.c: Include <stdlib.h>.
2655 * gdb.mi/var-cmd.c: Include <stdlib.h>.
2656
a9640423
MC
26572004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2658
2659 * gdb.threads/schedlock.c: Add copyright notice.
2660
b04e311d
AC
26612004-08-25 Andrew Cagney <cagney@gnu.org>
2662
2663 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
2664 (skip_over_handler, breakpoint_over_hander): New test procedures.
2665 (advance, advancei): Add a proper prefix, do not use
2666 rerun_to_main.
2667 * gdb.base/sigstep.c (main): Change to use an infinite loop.
2668
7c27f15b
MC
26692004-08-24 Michael Chastain <mec.gnu@mindspring.com>
2670
2671 * gdb.mi/basics.c: Add copyright notice.
2672 * gdb.mi/var-cmd.c: Add copyright notice.
2673
fffc87ae
MC
26742004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2675
2676 * lib/gdb.exp: Remove signed_keyword_not_used.
2677 * lib/compiler.c: Likewise.
2678 * lib/compiler.cc: Likewise.
2679
d782e0bf
MC
26802004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2681
2682 * gdb.base/whatis.c: Remove conditional disabling of "signed".
2683 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
2684
96033e83
MC
26852004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2686
2687 * gdb.base/whatis.c: Add copyright notice.
2688
cf38c229
MK
26892004-08-20 Mark Kettenis <kettenis@gnu.org>
2690
2691 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
2692 it to skip the breakpoints encoded in the inline assembly.
2693
f4b49756
MC
26942004-08-20 Michael Chastain <mec.gnu@mindspring.com>
2695
2696 * Makefile.in: Add gdb.fortran.
2697
2f193b69
MC
26982004-08-20 Michael Chastain <mec.gnu@mindspring.com>
2699
2700 * gdb.base/call-sc.exp (test_scalar_returns):
2701 Fix cut-and-paste glitch in "Make fun return now".
2702
89a237cb
MC
27032004-08-17 Michael Chastain <mec.gnu@mindspring.com>
2704
2705 * configure.in: Add gdb.fortran.
2706 * configure: Regenerate.
2707 * gdb.fortran/Makefile.in: New file.
2708 * lib/gdb.exp (skip_fortran_tests): New procedure.
2709
469aff8e
MC
27102004-08-17 Michael Chastain <mec.gnu@mindspring.com>
2711
2712 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
2713 reference to bug-gnu@prep.ai.mit.edu.
2714 * gdb.mi/mi-var-child.exp: Likewise.
2715 * gdb.mi/mi-var-cmd.exp: Likewise.
2716 * gdb.mi/mi-var-display.exp: Likewise.
2717 * gdb.mi/mi2-var-block.exp: Likewise.
2718 * gdb.mi/mi2-var-child.exp: Likewise.
2719 * gdb.mi/mi2-var-cmd.exp: Likewise.
2720 * gdb.mi/mi2-var-display.exp: Likewise.
2721
00b51b9f
MK
27222004-08-15 Mark Kettenis <kettenis@gnu.org>
2723
2724 * gdb.base/unload.c (main): Make local variable msg const.
2725
45f07fef
MC
27262004-08-15 Michael Chastain <mec.gnu@mindspring.com>
2727
2728 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
2729 to bug-gnu@prep.ai.mit.edu.
2730 * gdb.mi/mi-disassemble.exp: Likewise.
2731 * gdb.mi/mi-eval.exp: Likewise.
2732 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
2733 default line number.
2734 * gdb.mi/mi-return.exp: Likewise.
2735 * gdb.mi/mi-simplerun.exp: Likewise.
2736 * gdb.mi/mi-stack.exp: Likewise.
2737 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
2738 number with explicit range test.
2739 * gdb.mi/mi-watch.exp: Likewise.
2740 * gdb.mi/mi2-break.exp: Likewise.
2741 * gdb.mi/mi2-cli.exp: Likewise.
2742 * gdb.mi/mi2-disassemble.exp: Likewise.
2743 * gdb.mi/mi2-eval.exp: Likewise.
2744 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
2745 default line number.
2746 * gdb.mi/mi2-return.exp: Likewise.
2747 * gdb.mi/mi2-simplerun.exp: Likewise.
2748 * gdb.mi/mi2-stack.exp: Likewise.
2749 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
2750 number with explicit range test.
2751 * gdb.mi/mi2-watch.exp: Likewise.
2752
dd8c8ee7
MC
27532004-08-15 Michael Chastain <mec.gnu@mindspring.com>
2754
2755 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
2756 * gdb.cp/m-static.exp: Likewise.
2757 * gdb.cp/rtti.exp: Likewise.
2758
4e838464
MK
27592004-08-14 Mark Kettenis <kettenis@gnu.org>
2760
2761 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
2762
8d8cb839
EZ
27632004-08-14 Eli Zaretskii <eliz@gnu.org>
2764
2765 * ChangeLog: Prefix Local Variables with semi-colons and indent
2766 the reference to older ChangeLog files, to fix fontification in
2767 Emacs.
2768
deea8bb0
MC
27692004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2770
2771 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
2772 * gdb.mi/mi2-break.exp: Likewise.
2773
c3297504
MC
27742004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2775
2776 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
2777
25808999
MC
27782004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2779
2780 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
2781
226a8d71
MC
27822004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2783
2784 * gdb.cp/classes.exp: Remove unused declarations. Just let
2785 test names default instead of providing special names. Remove
2786 extraneous demangler test.
2787
37fdf854
JJ
27882004-08-12 Jeff Johnston <jjohnstn@redhat.com>
2789
2790 * gdb.base/unload.exp: New test for breakpoints in dynamically
2791 loaded libraries.
2792 * gdb.base/unload.c: Ditto.
2793 * gdb.base/unloadshr.c: Ditto.
2794
2d3a7986
MC
27952004-08-12 Michael Chastain <mec.gnu@mindspring.com>
2796
2797 * gdb.cp/classes.exp (test_ptype_class_objects): Call
2798 cp_test_ptype_class.
2799 (test_enums): Likewise.
2800
c72b934c
AC
28012004-08-10 Andrew Cagney <cagney@gnu.org>
2802
2803 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
2804 files.
2805
cc503c8a
AC
28062004-08-10 Andrew Cagney <cagney@gnu.org>
2807
2808 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
2809 init_malloc call.
2810
902f2ccb
MC
28112004-08-10 Michael Chastain <mec.gnu@mindspring.com>
2812
2813 * ChangeLog: Add copyright notice. The notice is copied
2814 from emacs 21.3 top level ChangeLog.
2815
78c90502
MC
28162004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2817
2818 * lib/cp-support.exp: New file.
2819 * lib/cp-support.exp (cp_test_type_class): New function.
2820 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
2821 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
2822 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
2823 cp_test_ptype_class.
2824
88e5ea78
MC
28252004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2826
2827 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
2828 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
2829 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
2830 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
2831 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
2832 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
2833 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
2834 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
2835 gdb.mi/mi2-watch.exp: Update copyright years.
2836
6a89fc9c
MK
28372004-08-09 Mark Kettenis <kettenis@gnu.org>
2838
2839 * gdb.base/sigaltstack.exp: Provide proper anchoring.
2840
1482e0de
MC
28412004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2842
2843 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
2844 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
2845 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
2846 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
2847 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
2848 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
2849 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
2850 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
2851 gdb.mi/mi-watch.exp: Update copyright years.
2852
1a5ce3f3
DJ
28532004-08-08 Daniel Jacobowitz <dan@debian.org>
2854
2855 PR gdb/1738
2856 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
2857 from a breakpoint with a pending signal.
2858
04f6ecf2
DJ
28592004-08-08 Daniel Jacobowitz <dan@debian.org>
2860
2861 PR gdb/1736
2862 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
2863 * gdb.base/sigaltstack.exp (finish_test): Consume output until
2864 the prompt.
2865 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
2866
54d90d35
DJ
28672004-08-08 Daniel Jacobowitz <dan@debian.org>
2868
2869 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
2870
d2f6abb0
DJ
28712004-08-08 Daniel Jacobowitz <dan@debian.org>
2872
2873 PR gdb/1736
2874 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
2875 for i?86-*-linux*.
2876
5598c03d
DJ
28772004-08-08 Daniel Jacobowitz <dan@debian.org>
2878
2879 * gdb.arch/i386-prologue.exp: Compile without debug information.
2880
c6fee705
MC
28812004-08-08 Michael Chastain <mec.gnu@mindspring.com>
2882
2883 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
2884 rather than asking gdb to search.
2885
dd90efdb
MC
28862004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2887
2888 * gdb.base/gcore.c: Include <string.h>.
2889
1e84bec1
MC
28902004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2891
2892 * gdb.base/gcore.c: Add copyright notice.
2893
e425eb2b
MC
28942004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2895
2896 * gdb.base/freebpcmd.c: Include <stdio.h>.
2897 * gdb.base/long_long.c: Include <string.h>.
2898 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
2899 * gdb.base/siginfo.c: Include <string.h>.
2900 * gdb.base/sigstep.c: Include <string.h>.
2901
cb9aaed5
MC
29022004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2903
2904 * gdb.base/complex.c: Include <stdlib.h>.
2905
55944f3d
MC
29062004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2907
2908 * gdb.base/complex.c: Add copyright notice.
2909
7b2953d9
MC
29102004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2911
2912 * gdb.base/charset.c: Include <stdlib.h>.
2913
c9133d23
MC
29142004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2915
2916 * gdb.base/auxv.c: Include <stdlib.h>.
2917
0a8490ad
MC
29182004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2919
2920 * gdb.base/auxv.c: Add copyright notice.
2921
3426d5ec
MC
29222004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2923
2924 * gdb.base/coremaker.c: Add copyright notice.
2925 * gdb.base/coremaker2.c: Add copyright notice.
2926
8da195dd
AC
29272004-08-04 Andrew Cagney <cagney@gnu.org>
2928
2929 * gdb.base/store.exp: Update copyright.
2930 (check_set, up_set, check_struct, up_struct): Add a prefix to test
2931 names, do not import gdb_prompt.
2932
8d394f98
AC
29332004-08-01 Andrew Cagney <cagney@gnu.org>
2934
2935 Fix PR testsuite/1729.
2936 * gdb.base/dump.exp: Add test name to callers of capture_value, do
2937 not use capture_value with value 4.
2938 (capture_value): Add optional test name parameter.
2939 (test_reload_saved_value, test_restore_saved_value): Use $msg as
2940 the prefix, pass to capture_value.
2941
b6702b23
MK
29422004-08-01 Mark Kettenis <kettenis@gnu.org>
2943
2944 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
2945 * gdb.arch/i386-prologue.c (standard): New prototype and function.
2946 (main): Call new function.
2947
c203e0ca
MC
29482004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2949
2950 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
2951
a7995a30
MC
29522004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2953
2954 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
2955
9366563b
MC
29562004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2957
b6eeaf26 2958 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
2959 Accept more values of vtbl pointer. Remove some messages
2960 about "obsolete gcc or gdb".
2961
2fc1f950
MC
29622004-07-30 Michael Chastain <mec.gnu@mindspring.com>
2963
2964 * gdb.cp/classes.exp: Accept more varieties of ptype output.
2965
c724d49b
MC
29662004-07-30 Michael Chastain <mec.gnu@mindspring.com>
2967
2968 * gdb.base/asm-source.exp: Properly convert target board
2969 debug flags from gcc format to binutils format.
2970
736b0fce
MK
29712004-07-28 Mark Kettenis <kettenis@gnu.org>
2972
2973 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
2974 gdb1718". PR backtrace/1718 partially fixed.
2975
5633ea5c
JJ
29762004-07-27 Jeff Johnston <jjohnstn@redhat.com>
2977
2978 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
2979
575eebb1
NC
29802004-07-26 Nick Clifton <nickc@redhat.com>
2981
2982 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
2983 good default value for a specific architecture is available then
2984 set it to that value. Otherwise default to the -gstabs switch.
2985 Remove the -g... switches from the asm-flags variable. Allow the
2986 target board info to override the value if it wants to. Pass the
2987 switch on the assembler command line.
2988
62104619
MK
29892004-07-23 Mark Kettenis <kettenis@gnu.org>
2990
2991 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
2992 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
2993 (main): Call new function.
2994
4a1135b8
MC
29952004-07-22 Michael Chastain <mec.gnu@mindspring.com>
2996
2997 Test for PR exp/1715.
2998 * gdb.base/radix.exp: Refactor common procedures. Make all
2999 test names unique. Change XFAIL to KFAIL.
3000
8a12c1f0
MC
30012004-07-20 Michael Chastain <mec.gnu@mindspring.com>
3002
3003 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
3004 * gdb.ada/gnat_ada.gin: ... to here.
3005 * configure.in: Use gnat_ada.gin.
3006 * configure: Regenerate.
3007
23b451cf
AC
30082004-07-20 Andrew Cagney <cagney@gnu.org>
3009
3010 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
3011 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
3012 XFAILs. Clean up test messages and comments. Check backtraces.
3013 Delete re-sync code.
3014
ab618a02
MC
30152004-07-19 Michael Chastain <mec.gnu@mindspring.com>
3016
3017 Fix PR cli/740.
3018 * gdb.base/annota1.exp: Honor gdb,nosignals.
3019 * gdb.base/annota3.exp: Likewise.
3020
46dad340
MC
30212004-07-19 Michael Chastain <mec.gnu@mindspring.com>
3022
3023 * lib/java.exp: Update copyright notice.
3024
756d8c70
AC
30252004-07-19 Andrew Cagney <cagney@gnu.org>
3026
3027 * gdb.base/selftest.exp: Copy file from here ...
3028 * gdb.gdb/selftest.exp: ... to here.
3029
586027e6
AC
30302004-07-16 Andrew Cagney <cagney@redhat.com>
3031
3032 * lib/insight-support.exp: Delete file.
3033 * lib/java.exp (java_init): Fix copyright.
3034
029d2200
AC
30352004-07-16 Andrew Cagney <cagney@gnu.org>
3036
3037 * gdb.base/restore.c: Append "prologue" to comments marking the a
3038 function's prologue.
3039 * gdb.base/restore.exp: Update copyright, re-indent.
3040 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
3041 callerN" prefix where needed. Update patterns that match a
3042 function's prologue.
3043
653b62c5
MC
30442004-07-16 Michael Chastain <mec.gnu@mindspring.com>
3045
3046 * gdb.base/restore.c: Add copyright notice.
3047
f7d690e5
AC
30482004-07-16 Andrew Cagney <cagney@gnu.org>
3049
3050 * gdb.base/logical.exp: Update copyright.
3051 (evaluate): New procedure. Use to re-implement tests using
3052 several tables.
3053
d629a7cb
MH
30542004-07-14 Martin Hunt <hunt@redhat.com>
3055
3056 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
3057 which fixes some problems where init.tcl was not found.
3058
9c7bb332
AC
30592004-07-13 Andrew Cagney <cagney@gnu.org>
3060
6bf46641
AC
3061 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
3062 (check_sizeof, check_valueof): Do not include the output in the
3063 test name. Use gdb_test.
3064 (get_valueof): Use gdb_test_multiple.
3065
c4ffd4c0
AC
3066 * gdb.base/step-test.exp: Update copyright. Use
3067 gdb_test_multiple. Ensure that test names do not include
3068 architecture dependent output.
3069
ab89363a
AC
3070 * gdb.gdb/observer.exp: Update copyright.
3071 (setup_test): Use gdb_test_multiple.
3072 (attach_first_observer, attach_second_observer)
3073 (attach_third_observer, detach_first_observer)
3074 (detach_second_observer, detach_third_observer)
3075 (reset_counters, check_counters): Make $message a prefix.
3076 (test_normal_stop_notifications): Add "args" parameter - a list of
3077 init functions to be called. Make $message a prefix,
3078 (test_observer_normal_stop): Change the message prefixes so that
3079 they are unique, pass the attach / detach procedures to
3080 test_normal_stop_notifications.
3081
ec58997a
AC
3082 * gdb.base/signull.exp (test_segv): Prefix all tests with
3083 "${name}". Clean up test messages.
3084
b475183b
AC
3085 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
3086
9c7bb332
AC
3087 * gdb.base/ena-dis-br.exp: Update copyright.
3088 (break_at): New function. Replace send_gdb with gdb_test,
3089 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
3090 ignore count, not stopped at bpt", with KFAIL.
3091
2dd95497
CV
30922004-07-13 Corinna Vinschen <vinschen@redhat.com>
3093
3094 * gdb.base/attach.exp: Remove cleanupfile handling.
3095
419e626b
AC
30962004-07-12 Andrew Cagney <cagney@gnu.org>
3097
3098 * gdb.base/annota1.exp: Cleanup corefile test name.
3099 * gdb.base/annota3.exp: Ditto.
3100
8b1b3228
AC
31012004-07-12 Andrew Cagney <cagney@gnu.org>
3102
78650829
AC
3103 * gdb.base/signals.exp: Clean up copyright, re-indent.
3104
8b1b3228
AC
3105 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
3106 gdb_test and gdb_test_multiple.
3107
935c2760
JJ
31082004-07-08 Jeff Johnston <jjohnstn@redhat.com>
3109
3110 * gdb.java/jmain.exp: Fix expected line number for main to
3111 break at. Set XFAIL for break at main test since gcj does not
3112 provide line number info for first statement in main.
3113
1544280f
AC
31142004-07-08 Andrew Cagney <cagney@gnu.org>
3115
1279f4ff
AC
3116 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
3117
1544280f
AC
3118 * gdb.base/sigbpt.exp: Make the common part of each test name a
3119 prefix instead of suffix.
3120
bcc82369
BR
31212004-07-07 Bob Rossi <bob_rossi@cox.net>
3122
3123 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
3124 test from test_tbreak_creation_and_listing to
3125 test_file_list_exec_source_file
3126 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
3127 Changed name of test from test_tbreak_creation_and_listing to
3128 test_file_list_exec_source_file
3129
23f4b0aa
JJ
31302004-07-07 Jeff Johnston <jjohnstn@redhat.com>
3131
3132 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
3133 the jmisc() constructor instead of <init>.
3134 * gdb.java/jmisc1.exp: Ditto.
3135
56401cd5
AC
31362004-07-07 Andrew Cagney <cagney@gnu.org>
3137
3138 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
3139 corrupting the PC.
3140
44ae2f6a
MC
31412004-07-06 Michael Chastain <mec.gnu@mindspring.com>
3142
3143 * gdb.cp/templates.exp: Accept whitespace change in demangler
3144 output.
3145
45a83408
AC
31462004-07-06 Andrew Cagney <cagney@gnu.org>
3147
3148 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
3149
d205ad70
MC
31502004-07-02 Michael Chastain <mec.gnu@mindspring.com>
3151
3152 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
3153 * lib/compiler.cc: Likewise.
3154
06ea1a61
MC
31552004-06-30 Michael Chastain <mec.gnu@mindspring.com>
3156
3157 * lib/compiler.cc: Work around string preprocessing problem
3158 with old hp c++ compiler.
3159 * lib/compiler.c: Likewise.
3160
daab1251
CV
31612004-06-29 Corinna Vinschen <vinschen@redhat.com>
3162
3163 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
3164 directives to conditionalize symbol prefixing.
3165 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
3166 additional_flags handling. Add underscore prefix for Cygwin.
3167 * gdb.arch/i386-unwind.c: Use preprocessor directives to
3168 conditionalize symbol prefixing.
3169 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
3170 additional_flags handling. Add underscore prefix for Cygwin.
3171
cc984116
CV
31722004-06-29 Corinna Vinschen <vinschen@redhat.com>
3173
3174 * gdb.base/bigcore.exp: Skip test on Cygwin.
3175
c279b077
MC
31762004-06-28 Michael Chastain <mec.gnu@mindspring.com>
3177
3178 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
3179 formats for "info register". Use gdb_test_multiple. Fix
3180 the "invalid register" test.
3181
0e915747
CV
31822004-06-28 Corinna Vinschen <vinschen@redhat.com>
3183
3184 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
3185 PID for Cygwin. Add Cygwin specific strings to check for in some
3186 tests.
3187 (do_attach_tests): Add a test for user interaction when attaching
3188 to a process with no matching symbol table already loaded.
3189
11422c86
AC
31902004-06-26 Andrew Cagney <cagney@gnu.org>
3191
3192 Test PR java/1567 and PR java/1565.
3193 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
3194 * gdb.java/jmisc2.exp: Delete file.
3195
cefbce26
MC
31962004-06-26 Michael Chastain <mec.gnu@mindspring.com>
3197
3198 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
3199
e19f872c
CV
32002004-06-25 Corinna Vinschen <vinschen@redhat.com>
3201
3202 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
3203 attach process.
3204
d931ba3b
MC
32052004-06-23 Michael Chastain <mec.gnu@mindspring.com>
3206
3207 * gdb.cp/pr-1553.exp: Remove.
3208
aef68c48
MC
32092004-06-22 Michael Chastain <mec.gnu@mindspring.com>
3210
3211 * gdb.cp/pr-1553.cc: Remove.
3212 * gdb.cp/pr-1553.exp: Disable this test.
3213
8d5df71a
JB
32142004-06-20 Jim Blandy <jimb@redhat.com>
3215
3216 Fix PR testsuite/1680.
3217 * gdb.arch/i386-sse.exp: Properly quote curly braces in
3218 regular expressions.
3219
4ac6f39d
MC
32202004-06-19 Michael Chastain <mec.gnu@mindspring.com>
3221
3222 Fix PR testsuite/1679.
3223 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
3224 Issue an UNSUPPORTED result instead.
3225
1b413552
JB
32262004-06-18 Jim Blandy <jimb@redhat.com>
3227
3228 * gdb.base/charset.exp: Only send a control-C if we see a new
3229 prompt and incomplete command.
3230
6daa6ebd
MC
32312004-06-18 Michael Chastain <mec.gnu@mindspring.com>
3232
3233 * gdb.cp/pr-574.cc: Add copyright notice.
3234
51fa4ae0
JB
32352004-06-17 Jim Blandy <jimb@redhat.com>
3236
3237 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
3238 cases where the regexp has no groups; this grabs random text from
3239 the previous test suite, whatever that was.
3240
8fea26c5
MC
32412004-06-17 Michael Chastain <mec.gnu@mindspring.com>
3242
3243 * gdb.cp/printmethod.cc: Add copyright notice.
3244
1e3aeb41
MC
32452004-06-16 Michael Chastain <mec.gnu@mindspring.com>
3246
3247 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
3248
9d9030bc
AC
32492004-06-16 Andrew Cagney <cagney@gnu.org>
3250
3251 * gdb.base/signull.c: Update copyright. Include <string.h>.
3252 (bowler): Replace data_pointer with data_read
3253 and data_write cases. Add code_descriptor case.
3254 (zero, desc): New array and pointer.
3255 (data, code): Change to simple pointers.
3256 * gdb.base/signull.exp: Fix probe pattern matching a function
3257 descriptor SIGSEGV. Replace data_pointer with data_read and
3258 data_write tests.
3259
acd4ad44
AC
32602004-06-16 Andrew Cagney <cagney@gnu.org>
3261
3262 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
3263
08fd625c
MC
32642004-06-15 Michael Chastain <mec.gnu@mindspring.com>
3265
3266 * gdb.base/long_long.c: Add copyright notice.
3267
1903502c
MC
32682004-06-15 Michael Chastain <mec.gnu@mindspring.com>
3269
3270 * gdb.base/long_long.exp: Remove reference to
3271 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
3272 to gdb_breakpoint and gdb_continue_to_breakpoint.
3273
83313cb1
JB
32742004-06-14 Jim Blandy <jimb@redhat.com>
3275
3276 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
3277 endian case.
3278
1bf404ef
AC
32792004-06-14 Andrew Cagney <cagney@gnu.org>
3280
3281 * gdb.base/gcore.exp (capture_command_output): Delete the always
3282 passing tests containing inferior values.
3283 * gdb.base/ending-run.exp: Do not include the breakpoint address
3284 in the test message. Update copyright.
3285 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
3286 size in the test name, use gdb_test_multiple. Update copyright.
3287
ef220b33
MC
32882004-06-14 Michael Chastain <mec.gnu@mindspring.com>
3289
3290 * gdb.cp/ref-types.cc: Add copyright notice.
3291
4f70a4c9
MC
32922004-06-14 Michael Chastain <mec.gnu@mindspring.com>
3293
3294 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
3295 hp_aCC_compiler.
3296 * lib/compiler.cc: Likewise.
3297 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
3298 'set' commands. Log diagnostics for other lines. Set
3299 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
3300
335928ac
MC
33012004-06-13 Michael Chastain <mec.gnu@mindspring.com>
3302
3303 * gdb.cp/try_catch.cc: Add copyright notice.
3304
2efb12e8
MC
33052004-06-12 Michael Chastain <mec.gnu@mindspring.com>
3306
3307 * gdb.cp/userdef.cc: Add copyright notice.
3308
0bbed51a
MC
33092004-06-11 Michael Chastain <mec.gnu@mindspring.com>
3310
3311 * gdb.cp/virtfunc.cc: Add copyright notice.
3312
e12a46c9
RC
33132004-06-11 Randolph Chung <tausq@debian.org>
3314
3315 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
3316 problem.
3317
338e05af
AC
33182004-06-10 Andrew Cagney <cagney@gnu.org>
3319
3320 * lib/compiler.cc, lib/compiler.c: Append either
3321 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
3322 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
3323 instead of gcc-3-3.
3324
dc3f10cb
AC
33252004-06-09 Andrew Cagney <cagney@gnu.org>
3326
b4d946af
AC
3327 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
3328 gdb/1455, bug is specific to "long long" and "double".
3329
dc3f10cb
AC
3330 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
3331 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
3332 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
3333 fixed.
3334
b5c0bfa2
AC
33352004-06-09 Andrew Cagney <cagney@gnu.org>
3336
3337 * gdb.base/structs.exp (test_struct_returns): Replace
3338 "return_value_unknown" and "finish_value_unknown" by
3339 "return_value_known" and "finish_value_known". Instead of
3340 "return_value_unknown" iff "finish_value_unknown", check
3341 "return_value_known" implies "finish_value_known".
3342
caeb605f
MH
33432004-06-08 Martin Hunt <hunt@redhat.com>
3344
3345 * gdb.base/float.exp: Add pattern for mips targets.
3346
c892bb64
RC
33472004-06-08 Randolph Chung <tausq@debian.org>
3348
3349 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
3350 message for unknown architectures more clear.
3351
48306d3e
JB
33522004-06-08 Joel Brobecker <brobecker@gnat.com>
3353
3354 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
3355 start the execution of the program.
3356
83ecb59f
JB
33572004-06-07 Jim Blandy <jimb@redhat.com>
3358
3359 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
3360 * gdb.arch/i386-cpuid.h: New helper file.
3361
55264cb4
RC
33622004-06-07 Randolph Chung <tausq@debian.org>
3363
3364 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
3365 has started.
3366
23cadb28
RM
33672004-06-04 Roland McGrath <roland@redhat.com>
3368
3369 Fix PR gdb/1647.
3370 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
3371 differently to be robust to output buffering differences.
3372
51d01eda
MC
33732004-06-04 Michael Chastain <mec.gnu@mindspring.com>
3374
3375 * gdb.threads/pthreads.exp: Update copyright years.
3376 (check_control_c): Change asynchronous 'after' to synchronous.
3377
f4fc3b93
RM
33782004-06-04 Roland McGrath <roland@redhat.com>
3379
3380 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
3381 next gdb prompt.
3382
4013522b
MC
33832004-06-02 Michael Chastain <mec.gnu@mindspring.com>
3384
3385 Fix PR gdb/1636.
3386 * gdb.threads/manythreads.exp: Change asynchronous 'after'
3387 calls to synchronous.
3388
7a8f1e6b
JB
33892004-05-26 Jim Blandy <jimb@redhat.com>
3390
3391 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
3392
81bb3443
RC
33932004-05-24 Randolph Chung <tausq@debian.org>
3394
3395 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
3396 * gdb.asm/pa.inc: New file.
3397
8f5a3103
MK
33982004-05-22 Mark Kettenis <kettenis@gnu.org>
3399
3400 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
3401
734b8fe8
JB
34022004-05-21 Joel Brobecker <brobecker@gnat.com>
3403 Daniel Jacobowitz <drow@mvista.com>
3404
3405 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
3406 GDB prompt.
3407
725603e1
UW
34082004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3409
f4fc3b93 3410 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
3411 setjmp/longjmp. Use sigaction instead of signal.
3412
8b923272
JB
34132004-05-19 J. Brobecker <brobecker@gnat.com>
3414 Michael Snyder <msnyder@redhat.com>
3415
3416 * gdb.threads/pthread_cond_wait.c: New file.
3417 * gdb.threads/pthread_cond_wait.exp: New testcase.
3418
8bfabb04
AC
34192004-05-13 Andrew Cagney <cagney@redhat.com>
3420
3421 * gdb.base/signull.exp, gdb.base/signull.c: New files.
3422 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
3423
42edda50
AC
34242004-05-11 Andrew Cagney <cagney@redhat.com>
3425
3426 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
3427 fixed but revealed gdb/1639.
3428
d303a6c7
AC
34292004-05-10 Andrew Cagney <cagney@redhat.com>
3430
3431 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
3432 func1" and "next to 2nd alarm", kernel bug avoided.
3433
bf08c2a1
DJ
34342004-05-10 Daniel Jacobowitz <dan@debian.org>
3435
3436 PR external/1568
3437 * gdb.base/bigcore.exp: Check the size of the dumped core file.
3438 XFAIL if it is smaller than bytes_allocated.
3439 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
3440 (main): Make chunks_allocated unsigned. Correct comment.
3441
c0586a34
JB
34422004-05-07 Joel Brobecker <brobecker@gnat.com>
3443
3444 * gdb.arch/powerpc-aix-prologue.c: New file.
3445 * gdb.arch/powerpc-aix-prologue.exp: New file.
3446
f2785d12
JB
34472004-05-07 Jim Blandy <jimb@redhat.com>
3448
3449 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
3450 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
3451
bd7f6e30
JB
34522004-05-06 Joel Brobecker <brobecker@gnat.com>
3453
3454 * gdb.base/sep.exp: No longer setup_kfail when the program was
3455 built with dwarf2.
3456
0a5e7efe
JI
34572004-05-05 Jim Ingham <jingham@apple.com>
3458
3459 * gdb.base/pending.exp: Make sure pending breakpoints
3460 preserve the ignore count.
f4fc3b93 3461
a8958849
MK
34622004-04-27 Jerome Guitton <guitton@gnat.com>
3463
3464 * i386-prologue.exp: Add testcase for jump instruction as first
3465 instruction of the real code.
3466 * i386-prologue.c (jump_at_beginning): New function.
3467
7e103f5b
MK
34682004-04-28 Mark Kettenis <kettenis@gnu.org>
3469
3470 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
3471 x86_64-*-*.
3472
5d38b224
MK
34732004-04-28 Mark Kettenis <kettenis@gnu.org>
3474
3475 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
3476 i*86-*-*.
3477
0ef32fd9
MK
34782004-04-25 Mark Kettenis <kettenis@gnu.org>
3479
3480 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
3481 expression that checks the return type.
3482
71d7dd7c
AC
34832004-04-23 Andrew Cagney <cagney@redhat.com>
3484
3485 * gdb.base/call-sc.exp: New test of scalar call/return values.
3486 * gdb.base/call-sc.c: Ditto.
3487
1e9f977e
JJ
34882004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3489
3490 * gdb.threads/manythreads.c: Reduce thread stack size.
3491
899d9e3a
JJ
34922004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3493
3494 * gdb.threads/manythreads.c: Add copyright notice.
3495
61bcae62
AC
34962004-04-23 Andrew Cagney <cagney@redhat.com>
3497
3498 * gdb.base/siginfo.exp: Better handle step out of signal.
3499 * gdb.base/sigstep.exp: Ditto.
3500
7339a42e
JJ
35012004-04-22 Jeff Johnston <jjohnstn@redhat.com>
3502 Daniel Jacobowitz <drow@mvista.com>
3503
3504 * gdb.threads/manythreads.c: New testcase.
3505 * gdb.threads/manythreads.exp: Ditto.
3506
5c98409b
JB
35072004-04-22 Jim Blandy <jimb@redhat.com>
3508
3509 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
3510 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
3511
3b611f1a
MC
35122004-04-21 Michael Chastain <mec.gnu@mindspring.com>
3513
3514 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
3515
f0fd9238
AC
35162004-04-21 Andrew Cagney <cagney@redhat.com>
3517
3518 * gdb.base/sigstep.c: New file.
3519 * gdb.base/sigstep.exp: New file.
3520
90990674
JB
35212004-04-16 Joel Brobecker <brobecker@gnat.com>
3522
3523 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
3524 call to observer_notify_normal_stop.
3525
78cef34b
AC
35262004-04-15 Andrew Cagney <cagney@redhat.com>
3527
3528 * gdb.base/siginfo.c: New file.
3529 * gdb.base/siginfo.exp: New file.
3530
d2343407
JB
35312004-04-12 J. Brobecker <brobecker@gnat.com>
3532
3533 * gdb.base/sep.exp: Fix typo in comment.
3534
a2dba3c8
JB
35352004-04-12 J. Brobecker <brobecker@gnat.com>
3536
3537 * gdb.base/sep.c: New file.
3538 * gdb.base/sep-proc.c: New file.
3539 * gdb.base/sep.exp: New testcase.
3540
15f7b60e
MK
35412004-04-09 Mark Kettenis <kettenis@gnu.org>
3542
3543 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
3544 support.
3545
44f4de1a
AC
35462004-04-05 Andrew Cagney <cagney@redhat.com>
3547
3548 * gdb.base/sigaltstack.c: New file.
3549 * gdb.base/sigaltstack.exp: New file.
3550
ef04f396
JB
35512004-04-04 Joel Brobecker <brobecker@gnat.com>
3552
3553 * gdb.base/foll-fork.exp: Update the expected output for
3554 "help set follow-fork-mode", to match a change that was made
3555 to the help of this variable on 2004-01-13.
3556
d40d2c92
JB
35572004-04-01 Joel Brobecker <brobecker@gnat.com>
3558
3559 * lib/ada.exp: Add copyright notice.
3560 * bar.ads: Likewise.
3561 * bar.adb: Likewise.
3562 * null_record.adb: Likewise.
3563 * null_record.exp: Likewise.
3564 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
3565
f86ef5a3
JB
35662004-04-01 Joel Brobecker <brobecker@gnat.com>
3567
3568 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
3569 * configure: Regenerate.
3570
414e70e3
JB
35712004-04-01 Joel Brobecker <brobecker@gnat.com>
3572
3573 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
3574 to build the application. Remove the message printed when in
3575 verbose mode, redundant with the UNSUPPORTED message above.
3576
f0aaee49
JB
35772004-03-31 Joel Brobecker <brobecker@gnat.com>
3578
3579 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
3580 * gdb.ada (null_record.exp): New testcase.
3581
ac81cb54
JB
35822004-03-31 Joel Brobecker <brobecker@gnat.com>
3583
3584 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
3585
854af2f7
JB
35862004-03-31 Joel Brobecker <brobecker@gnat.com>
3587
3588 * gdb.ada: New subdirectory.
3589 * gdb.ada/Makefile.in: New file.
3590 * gdb.ada/gnat_ada.gpr.in: New file.
3591
034cb681
JB
35922004-03-31 Joel Brobecker <brobecker@gnat.com>
3593
3594 * lib/ada.exp: New file.
3595
78a1a894
DJ
35962004-03-24 Daniel Jacobowitz <drow@mvista.com>
3597
3598 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
3599 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
3600
4b2b3b3e
AC
36012004-03-22 Andrew Cagney <cagney@redhat.com>
3602
3603 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
3604 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
3605 Problem identified by Ulrich Weigand.
3606
23c73aa3
DC
36072004-03-17 David Carlton <carlton@kealia.com>
3608
3609 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
3610 PR c++/826.
3611
d63a86f8
RM
36122004-03-16 Roland McGrath <roland@redhat.com>
3613
3614 * gdb.base/auxv.exp: New file.
3615 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
3616
0e02aa50
DC
36172004-03-12 David Carlton <carlton@kealia.com>
3618
3619 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
3620 * gdb.cp/pr-1553.cc: Ditto.
3621 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
3622 pass branch.
3623
c20b71be
MC
36242004-03-12 Michael Chastain <mec.gnu@mindspring.com>
3625
3626 * gdb.cp/templates.exp: Accept more template types.
3627
c7414a01
MC
36282004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3629
3630 From Corinna Vinschen with modifications.
3631 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
3632 local variable obj_with_enum.
3633 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
3634 results with obj_with_enum.
3635
ed69573c
MC
36362004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3637
3638 * gdb.cp/classes.cc: New file, copied from misc.cc.
3639 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
3640
28301461
MC
36412004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3642
3643 * gdb.cp/misc.cc: Add copyright notice.
3644
1198ecbe
DC
36452004-03-05 David Carlton <carlton@kealia.com>
3646
3647 * gdb.cp/rtti.exp: Add 'print *obj3' test.
3648 * gdb.cp/rtti.h: Update copyright.
3649 (namespace n2::n3): New.
3650 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
3651 (n2::n3::func3): New.
3652 (main): Call n2::n3::func3.
3653 * gdb.cp/rtti2.cc: Update copyright.
3654 (n2::create3): New.
3655
9e08c470
MK
36562004-03-04 Mark Kettenis <kettenis@gnu.org>
3657
3658 * gdb.asm/openbsd.inc: Fix typo.
3659
4bebc3aa
FF
36602004-03-03 Fred Fish <fnf@redhat.com>
3661
3662 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
3663 "val" instead of unused "size". Update copyright year.
3664
6ea9fb37
DJ
36652004-02-29 Daniel Jacobowitz <drow@mvista.com>
3666
3667 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
3668 to use unsigned char.
3669 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
3670 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
3671
23b23974
DJ
36722004-02-29 Daniel Jacobowitz <drow@mvista.com>
3673
3674 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
3675 line of output.
3676
7574fd53
DJ
36772004-02-28 Daniel Jacobowitz <drow@mvista.com>
3678
3679 * gdb.base/relocate.c (dummy): Initialize.
3680
a195357f
DJ
36812004-02-28 Daniel Jacobowitz <drow@mvista.com>
3682
3683 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
3684 a breakpoint at exit.
3685
72fd54a9
FF
36862004-02-27 Fred Fish <fnf@redhat.com>
3687
3688 * gdb.base/chng-syms.exp: Add expect condition to match failing
3689 case that isn't a timeout.
3690
b9d23137
AC
36912004-02-27 Andrew Cagney <cagney@redhat.com>
3692
3693 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
3694 support.
3695
15d208f6 36962004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 3697
15d208f6
FF
3698 * gdb.arch/gdb1431.c: Remove.
3699 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
3700 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
3701 of "until" incorrectly.
3702
98f9cd2d
JB
37032004-02-26 J. Brobecker <brobecker@gnat.com>
3704
3705 * gdb.cp/class2.cc (empty): New class.
3706 (refer): New function.
3707 (main): Declare an object of type empty and use it.
3708 * gdb.cp/class2.exp: Print the value of an object of type empty.
3709
9b50c11b
JJ
37102004-02-26 Jeff Johnston <jjohnstn@redhat.com>
3711
3712 * gdb.base/langs.exp: Update query string to match the
3713 new nquery format used for pending breakpoints.
3714
0dcd613f
AC
37152004-02-26 Andrew Cagney <cagney@redhat.com>
3716
3717 Fix PR i18n/1570.
3718 * gdb.base/charset.c: Update copyright notice.
3719 (main, init_string): Remove the escape character '\e' tests.
3720 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
3721 * gdb.base/charset.exp (valid_host_charset): Ditto.
3722 * gdb.base/setvar.exp: Ditto.
3723
b8a56647
AC
37242004-02-24 Andrew Cagney <cagney@redhat.com>
3725
90d59e34
AC
3726 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
3727 mmapped data in core file" PASS and FAIL messages consistent.
3728
b8a56647
AC
3729 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
3730 setting a breakpoint. Work around PR java/1565.
3731
9f27c604
JJ
37322004-02-23 Jeff Johnston <jjohnstn@redhat.com>
3733
3734 * lib/gdb.exp (gdb_breakpoint): Update query string to match
3735 new nquery format.
3736 * gdb.base/pending.exp: Ditto.
3737
3224a706
MK
37382004-02-22 Mark Kettenis <kettenis@gnu.org>
3739
3740 * configure.in: Run stabs tests on *BSD.
3741 * configure: Regenerated.
3742
41e0a9ca
MK
37432004-02-21 Mark Kettenis <kettenis@gnu.org>
3744
3745 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
3746
1e1b3428
FF
37472004-02-20 Fred Fish <fnf@redhat.com>
3748
3749 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
3750 blank in test for "returns short", for consistency with other
3751 "returns xxx" tests. Update copyright year.
3752
f9a7572a
FF
37532004-02-19 Fred Fish <fnf@redhat.com>
3754
3755 New testcase for PR breakpoint/1558.
3756 * gdb.arch/gdb1558.exp: New file.
3757 * gdb.arch/gdb1558.c: New file.
3758
b2ce2854
EZ
37592004-02-19 Elena Zannoni <ezannoni@redhat.com>
3760
3761 * gdb.base/nodebug.exp: Fix typo.
3762
e7c9ff01
JB
37632004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3764
3765 Committed by Jim Blandy <jimb@redhat.com>.
3766
62f4b920
JB
3767 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
3768
2db536a1
JB
3769 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
3770
e7c9ff01
JB
3771 * gdb.base/float.exp: Support s390*-*-* targets.
3772
f3205b34
AF
37732004-02-17 Adam Fedor <fedor@gnu.org>
3774
3775 * gdb.base/gdb1555.exp: New file.
3776 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
3777
9d62932d
EZ
37782004-02-17 Elena Zannoni <ezannoni@redhat.com>
3779
3780 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
3781
344c9711
FF
37822004-02-16 Fred Fish <fnf@redhat.com>
3783
3784 * gdb.arch/gdb1291.c: Remove
3785 * gdb.arch/gdb1291.s: New test input file.
3786 * gdb.arch/gdb1291.exp: Expand test to check case that should not
3787 fail. Test for correct result, known incorrect result, other
3788 failures and timeouts.
3789
2d822687
AC
37902004-02-16 Andrew Cagney <cagney@redhat.com>
3791
3792 * gdb.base/bigcore.exp: New file.
3793 * gdb.base/bigcore.c: New file.
3794
dac15b66
AC
37952004-02-13 Andrew Cagney <cagney@redhat.com>
3796
3797 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
3798 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
3799 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
3800 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
3801 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
3802 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
3803 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
3804 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
3805 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
3806 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
3807
6bdfc2c4
JJ
38082004-02-11 Jeff Johnston <jjohnstn@redhat.com>
3809
3810 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
3811 executed is an alloc instruction.
3812
87b3ede8
DC
38132004-02-11 David Carlton <carlton@kealia.com>
3814
3815 * gdb.cp/breakpoint.exp: New.
3816 * gdb.cp/breakpoint.cc: New.
3817
6e19e2bf
MC
38182004-02-11 Michael Chastain <mec.gnu@mindspring.com>
3819
3820 Partial fix for PR gdb/1543.
3821 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
3822 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
3823 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
3824 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
3825 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
3826 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
3827 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
3828 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
3829 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
3830 to bug-gdb@prep.ai.mit.edu .
3831 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
3832 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
3833 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
3834 Likewise.
3835
5c5455dc
AC
38362004-02-10 Andrew Cagney <cagney@redhat.com>
3837
3838 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
3839 using gdb_internal_error_resync.
3840
9cf689d7
DJ
38412004-02-09 Daniel Jacobowitz <drow@mvista.com>
3842
3843 * gdb.threads/thread-specific.exp: Stop early if no threads are
3844 found.
3845
d2dc51db
MC
38462004-02-09 Michael Chastain <mec.gnu@mindspring.com>
3847
3848 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
3849
14b1a056
DJ
38502004-02-08 Daniel Jacobowitz <drow@mvista.com>
3851
3852 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
3853 breakpoints.
3854
83f66e8f
DJ
38552004-02-07 Daniel Jacobowitz <drow@mvista.com>
3856
3857 * config/sim.exp (gdb_load): Handle $arg == "".
3858 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
3859 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
3860
30fc0091
EZ
38612004-02-07 Elena Zannoni <ezannoni@redhat.com>
3862
3863 * gdb.base/maint.exp: Update test to reflect
3864 obstack changes.
3865
4d806929
JJ
38662004-02-04 Jeff Johnston <jjohnstn@redhat.com>
3867
3868 * gdb.base/pendshr.c (pendfunc): New function that calls
3869 pendfunc1.
3870 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
3871
7bfdd688
FF
38722004-02-04 Fred Fish <fnf@redhat.com>
3873
3874 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
3875 function symbols and update copyright years.
3876 * gdb.arch/gdb1291.c: Ditto.
3877
aaa08ee4
MC
38782004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3879
3880 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
3881
dbad7755
MC
38822004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3883
3884 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
3885
ec4646ef
MC
38862004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3887
3888 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
3889
1b802196
FF
38902004-02-02 Fred Fish <fnf@redhat.com>
3891
3892 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
3893 remote targets. Update copyright years.
3894
18fe2033
JJ
38952004-02-02 Jeff Johnston <jjohnstn@redhat.com>
3896
3897 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
3898 support.
3899 * gdb.base/langs.exp: Fix test which attempts to create
3900 breakpoint on non-existent function to handle new pending
3901 support.
3902 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
3903 a breakpoint.
3904 * gdb.base/pending.exp: New test.
3905 * gdb.base/pending.c: New file.
3906 * gdb.base/pendshr.c: Ditto.
3907
8d577d32
DC
39082004-02-02 David Carlton <carlton@kealia.com>
3909
3910 * gdb.cp/overload.exp: Add overloadNamespace tests.
3911 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
3912 (overloadNamespace, XXX): New.
3913 (main): Call XXX::marker2.
3914
3ad13771
FF
39152004-02-01 Fred Fish <fnf@redhat.com>
3916
3917 * gdb.base/dump.exp: Use runto_main instead of "runto main".
3918 * gdb.base/finish.exp: Ditto.
3919 * gdb.base/gcore.exp: Ditto.
3920 * gdb.base/huge.exp: Ditto.
3921 * gdb.base/info-proc.exp: Ditto.
3922 * gdb.base/return2.exp: Ditto.
3923 * gdb.threads/gcore-thread.exp: Ditto.
3924
44c75849
DJ
39252004-02-01 Daniel Jacobowitz <drow@mvista.com>
3926
3927 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
3928
005bc093
MK
39292004-02-01 Mark Kettenis <kettenis@gnu.org>
3930
3931 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
3932 that opening the file succeeds on OpenBSD.
3933
c47cebdb
DJ
39342004-02-01 Daniel Jacobowitz <drow@mvista.com>
3935
3936 * gdb.threads/thread-specific.c: New file.
3937 * gdb.threads/threads-specific.exp: New test script.
3938 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
3939 to expect_out.
3940
5a01311c
MK
39412004-02-01 Mark Kettenis <kettenis@gnu.org>
3942
3943 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
3944 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
3945 only on the "print_small_structs from print_long_arg_list" test.
3946
ce22a4f1
DJ
39472004-02-01 Daniel Jacobowitz <drow@mvista.com>
3948
3949 * gdb.base/completion.exp: Kill a stray backslash.
3950
3951 From Jim Ingham <jingham@apple.com>:
3952 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
3953 agrees with the result from sending a tab.
3954
abbab9d3
DJ
39552004-01-31 Daniel Jacobowitz <drow@mvista.com>
3956
3957 * gdb.base/chng-syms.exp: Remove stray newline.
3958
53904d1e
MK
39592004-01-31 Mark Kettenis <kettenis@gnu.org>
3960
3961 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
3962 *-*-openbsd*.
3963 * gdb.asm/openbsd.inc: New file.
3964
3a4b3aac
MK
39652004-01-30 Mark Kettenis <kettenis@gnu.org>
3966
3967 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
3968 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
3969 *-*solaris2*. Remove commented out default settings for
3970 asm-flags. Replace gdb_compile with target_link.
3971
ebac27b4
MC
39722004-01-29 Michael Chastain <mec.gnu@mindspring.com>
3973
3974 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
3975 for all tests. Remove old hp-ux and cygnus xfail cases.
3976
d8679d84
PH
39772004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
3978
3979 * gdb.base/chng-syms.exp: New file.
3980 * gdb.base/chng-syms.c: New file.
3981
0a55bc22
MC
39822004-01-24 Michael Chastain <mec.gnu@mindspring.com>
3983
3984 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
3985 Provide arms for current output in all my configurations.
3986
94b8e876
MC
39872004-01-24 Michael Chastain <mec.gnu@mindspring.com>
3988
3989 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
3990 * lib/compiler.cc: Likewise.
3991 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
3992 get the right preprocessor. Eval the output directly. Remove
3993 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
3994 hp_f77_compiler and hp_f90_compiler completely.
3995 (gdb_preprocess): Delete.
3996 (get_compiler): Delete.
3997
7cf03d44
MK
39982004-01-24 Mark Kettenis <kettenis@gnu.org>
3999
4000 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
4001 <string.h>.
4002
68b6dce9
NR
40032004-01-24 Nick Roberts <nick@nick.uklinux.net>
4004
4005 * gdb.mi/mi-stack.exp: Update copyright.
4006
b368761e
DC
40072004-01-23 David Carlton <carlton@kealia.com>
4008
4009 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
4010 test for cp_lookup_transparent_type.
4011 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
4012 call them.
4013
f2061b53
DJ
40142004-01-23 Daniel Jacobowitz <drow@mvista.com>
4015
4016 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
4017 after -var-update.
4018
37fc574a
DC
40192004-01-23 David Carlton <carlton@kealia.com>
4020
4021 * gdb.cp/namespace.cc (C::ensureRefs): New.
4022 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
4023
8e94b928
NR
40242004-01-20 Nick Roberts <nick@nick.uklinux.net>
4025
4026 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
4027 case "-stack-list-locals 2".
4028 * gdb.mi/mi-var-child.exp: Test for case
4029 "-var-list-children --all-values NAME".
4030
997b0952
MC
40312004-01-18 Michael Chastain <mec.gnu@mindspring.com>
4032
4033 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
4034
52470da3
MK
40352004-01-18 Mark Kettenis <kettenis@gnu.org>
4036
7049b4b8
MK
4037 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
4038 used with gdb_test_multiple.
4039
52470da3
MK
4040 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
4041 read at address 0. This fixes PR testsuite/1504.
4042
da6012e5
DJ
40432004-01-18 Daniel Jacobowitz <drow@mvista.com>
4044
4045 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
4046 Remove downloading, guessing the host executable, the calls to
4047 gdb_file_cmd and gdb_target_cmd, and "load" support.
4048 (infer_host_exec): New function broken out from gdb_load.
4049 (gdb_load): New wrapper for gdbserver_gdb_load.
4050 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
4051 gdb_target_cmd. Use -target-select.
4052 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
4053 Download binaries to the host. Clear last_mi_remote_file when
4054 we load a new binary.
4055 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
4056 call gdbserver_gdb_load and mi_gdb_target_cmd.
4057
32c70722
MC
40582004-01-17 Michael Chastain <mec.gnu@mindspring.com>
4059
4060 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
4061 type patterns.
4062
b0cecf36
MC
40632004-01-17 Michael Chastain <mec.gnu@mindspring.com>
4064
4065 * gdb.cp/templates.exp: Fix typo in test name of
4066 "print Foo<volatile char*>::foo".
4067
4120d7e6
MC
40682004-01-15 Michael Chastain <mec.gnu@mindspring.com>
4069
4070 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
4071
f679e530
BE
40722004-01-16 Ben Elliston <bje@wasabisystems.com>
4073
4074 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
4075 (clean mostlyclean): Remove empty rm.
4076
091c48f6
MC
40772004-01-15 Michael Chastain <mec.gnu@mindspring.com>
4078
4079 * gdb.base/setvar.exp: Add copyright years.
4080
3e5fc8d2
DC
40812004-01-14 David Carlton <carlton@bactrian.org>
4082
4083 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
4084 PR c++/1511 and update coment.
4085 * gdb.cp/templates.exp: Update patterns to match current output.
4086 If changes involve something other than whitespace, KFAIL
4087 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
4088
63d06c5c
DC
40892004-01-14 David Carlton <carlton@kealia.com>
4090
4091 * gdb.cp/namespace.exp: Add tests involving classes defined within
4092 namespaces.
4093 * gdb.cp/namespace.cc (C::CClass): New.
4094 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
4095
a51dab88
EZ
40962004-01-14 Elena Zannoni <ezannoni@redhat.com>
4097
4098 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
4099 what debug info we have. Print a better message if something goes
4100 wrong while producing the separate debug info file.
4101
a476ccc9
MC
41022004-01-14 Michael Chastain <mec.gnu@mindspring.com>
4103
4104 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
4105
f453692c
MC
41062004-01-14 Michael Chastain <mec.gnu@mindspring.com>
4107
4108 * gdb.base/callfuncs.c: Add copyright notice.
4109
f40063a5
MC
41102004-01-13 Michael Chastain <mec.gnu@mindspring.com>
4111
4112 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
4113 inheritance. PR gdb/1498, PR gcc/13539.
4114
19ac3974
EZ
41152004-01-13 Elena Zannoni <ezannoni@redhat.com>
4116
4117 * gdb.threads/gcore-thread.exp: Prefix name of binary with
4118 test specific name.
4119 * gdb.mi/gdb669.exp: Ditto.
4120 * gdb.mi/mi-pthreads.exp: Ditto.
4121 * gdb.mi/mi1-pthreads.exp: Ditto.
4122 * gdb.mi/mi2-pthreads.exp: Ditto.
4123
56c97c6e
MC
41242004-01-12 Michael Chastain <mec.gnu@mindspring.com>
4125
4126 * gdb.cp/member-ptr.cc: Add copyright notice.
4127
a0644324
MC
41282004-01-12 Michael Chastain <mec.gnu@mindspring.com>
4129
4130 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
4131 some patterns for recent versions of gcc and hpacc. Delete
4132 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
4133 Delete tests that access a NULL pointer-to-member-data. This
4134 script is still disabled for gcc.
4135
32fabe09
EZ
41362004-01-12 Elena Zannoni <ezannoni@redhat.com>
4137
4138 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
4139 escaped correctly.
4140
1f8a6abb
EZ
41412004-01-12 Elena Zannoni <ezannoni@redhat.com>
4142
4143 * gdb.base/sepdebug.exp: New file.
4144 * gdb.base/sepdebug.c: New file.
4145 * lib/gdb.exp (separate_debug_filename): New procedure.
4146 (gdb_gnu_strip_debug): New procedure.
4147
48efe704
AC
41482004-01-12 Andrew Cagney <cagney@redhat.com>
4149
4150 * gdb.mi/ChangeLog: Delete file. Renamed to ...
4151 * gdb.mi/ChangeLog-1999-2003: New file.
4152
a9415475
AC
41532004-01-12 Andrew Cagney <cagney@redhat.com>
4154
4155 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
4156 "Renaming a directory to a non-empty directory returns ENOTEMPTY
4157 or EEXIST", treat EBUSY as an XFAIL.
4158
83b8cf9d
MC
41592004-01-11 Michael Chastain <mec.gnu@mindspring.com>
4160
4161 * gdb.base/scope.exp: Remove obsolete setup_xfail for
4162 hp_cc_compiler.
4163
9939d2a8
MC
41642004-01-10 Michael Chastain <mec.gnu@mindspring.com>
4165
4166 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
4167 decorations.
4168
1ff8cadf
MC
41692004-01-10 Michael Chastain <mec.gnu@mindspring.com>
4170
4171 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
4172 and "(aCC)" decorations. Remove obsolete doco about old
4173 test results.
4174
6fa9022e
MC
41752004-01-09 Michael Chastain <mec.gnu@mindspring.com>
4176
4177 * gdb.cp/exception.exp: Fix typo in doco.
4178
209721fe
MK
41792004-01-09 Mark Kettenis <kettenis@gnu.org>
4180
4181 * gdb.base/gdb1476.exp: Fix typo.
4182
ef11303e
MC
41832004-01-09 Michael Chastain <mec.gnu@mindspring.com>
4184
4185 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
4186 file.
4187
041ab88c
MC
41882004-01-09 Michael Chastain <mec.gnu@mindspring.com>
4189
4190 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
4191 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
4192 Use gdb_compile. Remove restriction on gcc. Add some patterns
4193 for recent version of gdb. Delete second half, which was a copy
4194 of the first half with different build flags. This test is
4195 still disabled because it is still not ready for production.
4196
e36d075a
MC
41972004-01-08 Michael Chastain <mec.gnu@mindspring.com>
4198
4199 * gdb.cp/exception.cc: Add copyright notice.
4200 * gdb.cp/exception.exp: Add a notice that this file is broken
4201 because of line number changes caused by addition of copyright
4202 notice.
4203
42b190ad
MC
42042004-01-08 Michael Chastain <mec.gnu@mindspring.com>
4205
4206 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
4207 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
4208
8f25f06b
MC
42092004-01-08 Michael Chastain <mec.gnu@mindspring.com>
4210
4211 * gdb.cp/classes.exp: Accept gnu abi 2.
4212 * gdb.cp/derivation.exp: Likewise.
4213 * gdb.cp/overload.exp: Likewise.
4214 * gdb.cp/virtfunc.exp: Likewise.
4215
06ded8b8
MC
42162004-01-08 Michael Chastain <mec.gnu@mindspring.com>
4217
4218 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
4219 semicolon after end of function.
4220
77c26ae3
MC
42212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4222
4223 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
4224 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
4225 boilerplate code for compiling and running the program under
4226 test. Add some string method tests.
4227
20757486
MC
42282004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4229
4230 * gdb.cp/bs15503.cc: Add copyright notice.
4231 * gdb.cp/bs15503.exp: Adjust line number.
4232
0fd3b503
MC
42332004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4234
4235 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
4236 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
4237
10d1bea8
MC
42382004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4239
4240 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
4241 hp_cc_compiler.
4242
2789202a
MC
42432004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4244
4245 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
4246 * gdb.cp/ctti.exp: Use the marker instead of "next".
4247 With gcc, run further before bailing.
4248
b862f14c
MC
42492004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4250
4251 * gdb.cp/cttiadd.cc: Add copyright notice.
4252 * gdb.cp/cttiadd1.cc: Likewise.
4253 * gdb.cp/cttiadd2.cc: Likewise.
4254 * gdb.cp/cttiadd3.cc: Likewise.
4255
96da2469
MC
42562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4257
4258 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
4259 Use gdb_test, gdb_test_multiple. Use floating-point values that
4260 have exact representations in IEEE-ish formats.
4261
053248ff
MC
42622004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4263
4264 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
4265 compilers. Delete duplicate call to get_compiler_info.
4266 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
4267 * gdb.base/volatile.exp: Likewise.
4268
84acecdd
MK
42692004-01-07 Mark Kettenis <kettenis@gnu.org>
4270
4271 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
4272 memory at address 0.
4273
fe11a27f
MC
42742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4275
4276 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
4277 to test for hp-ux assembler. Fix copyright years.
4278
60ad077b
AC
42792004-01-07 Andrew Cagney <cagney@redhat.com>
4280
4281 * gdb.base/fileio.c (strerrno): Add "EBUSY".
4282
1c9b8f33
AC
42832004-01-07 Andrew Cagney <cagney@redhat.com>
4284
4285 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
4286 when creating the read-only file. From analysis by Roland McGrath
4287 and Elena Zannoni.
4288
753ccc7a
MC
42892004-01-06 Michael Chastain <mec.gnu@mindspring.com>
4290
4291 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
4292
eca3e36b
MC
42932004-01-06 Michael Chastain <mec.gnu@mindspring.com>
4294
4295 * gdb.base/cvexpr.c: Be type-safe with function pointers and
4296 data pointers.
4297
f8d4bac4
MC
42982004-01-06 Michael Chastain <mec.gnu@mindspring.com>
4299
4300 * gdb.cp/m-static.exp: Compile one source file at a time.
4301 Delete unused call to get_compiler_info.
4302
9b4e0f94
MC
43032004-01-06 Michael Chastain <mec.gnu@mindspring.com>
4304
4305 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
4306 * gdb.base/call-rt-st.exp: Likewise.
4307 * gdb.base/nodebug.exp: Likewise.
4308 * gdb.base/volatile.exp: Likewise.
4309 * gdb.cp/ref-types.exp: Likewise.
4310 * gdb.cp/templates.exp: Likewise.
4311
023c1024
MK
43122004-01-05 Mark Kettenis <kettenis@gnu.org>
4313
4314 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
4315
19703c4a
MC
43162004-01-05 Michael Chastain <mec.gnu@mindspring.com>
4317
4318 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
4319 hppa*-hp-hpux*.
4320
18b67037
MK
43212004-01-04 Mark Kettenis <kettenis@gnu.org>
4322
ba6219c8
MK
4323 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
4324 x86_64-*-*.
4325
18b67037
MK
4326 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
4327 sparc64-*-* and sparc*-solaris2*.
4328
1bfbbb9d
MK
43292004-01-04 Mark Kettenis <kettenis@gnu.org>
4330
4331 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
4332 return ${tests}" test. The ${tests} already mentions the
4333 filename.
4334
06846494
MC
43352004-01-02 Michael Chastain <mec.gnu@mindspring.com>
4336
4337 * gdb.cp/local.exp: Accept gcc abi 2.
4338
3b0cb202
MC
43392004-01-02 Michael Chastain <mec.gnu@mindspring.com>
4340
4341 * gdb.cp/templates.exp: Accept gcc abi 2.
4342
0643ec3f
MC
43432004-01-02 Michael Chastain <mec.gnu@mindspring.com>
4344
4345 * lib/compiler.cc: Remove supports_template_debugging.
4346 * gdb.cp/templates.exp: Do not test supports_template_debugging.
4347
d231d0b1
MC
43482004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4349
4350 * gdb.cp/namespace.exp: Accept gcc abi 2.
4351
44ffb27c
MC
43522004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4353
4354 * gdb.cp/method.exp: Accept gcc abi 2.
4355
184ad485
MC
43562004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4357
4358 * gdb.cp/classes.exp: Generate identical results as old version.
4359 * gdb.cp/derivation.exp: Likewise.
4360 * gdb.cp/overload.exp: Likewise.
4361 * gdb.cp/virtfunc.exp: Likewise.
4362
116f09e7
MC
43632004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4364
4365 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
4366 mysterious bug with sourceware version of expect.
4367
b1379776
MC
43682004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4369
4370 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
4371 current versions of gcc, including gcc abi 2. Remove gratuitous
4372 restart of test program. Use gdb_test_multiple and gdb_test for
4373 all tests. Add patterns to xfail missing "const" in "const char *"
4374 and kfail PR gdb/1155.
4375
6b7a4c0e
MC
43762004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4377
4378 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
4379 current versions of gcc, including gcc abi 2. Remove gratuitous
4380 restart of test program. Use gdb_test_multiple and gdb_test for
4381 all tests. Add patterns to kfail PR gdb/1498.
4382
51615d72
MC
43832003-12-31 Michael Chastain <mec.gnu@mindspring.com>
4384
4385 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
4386 current versions of gcc, including gcc abi 2. Use "breakpoint"
4387 and "continue" instead of restarting the target program. Use
4388 gdb_test_multiple and gdb_test for all tests.
4389
7b79a9d7
MK
43902004-01-01 Mark Kettenis <kettenis@gnu.org>
4391
4392 * gdb.asm/asm-source.exp: Update copyright year. Link statically
4393 for *-*-solaris2*.
4394
1cd3489f
MC
43952003-12-31 Michael Chastain <mec.gnu@mindspring.com>
4396
4397 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
4398 current versions of gcc, including gcc abi 2. Use "breakpoint"
4399 and "continue" instead of restarting the target program several
4400 times. Use gdb_test_multiple and gdb_test for all tests.
4401
850742db
MC
44022003-12-18 Michael Chastain <mec.gnu@mindspring.com>
4403
4404 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
4405 source files.
4406
eb4bbda8
MC
44072003-12-16 Michael Chastain <mec.gnu@mindspring.com>
4408
4409 * gdb.base/environ.exp: Handle compiling test case from multiple
4410 source files.
4411
e42c7771
MC
44122003-12-16 Michael Chastain <mec.gnu@mindspring.com>
4413
4414 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
4415
80e4b428
JB
44162003-12-17 Jim Blandy <jimb@redhat.com>
4417
5f06973a
JB
4418 * gdb.base/freebpcmd.c: Add copyright notice.
4419
80e4b428
JB
4420 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
4421
0ab84fb7
MC
44222003-12-16 Michael Chastain <mec.gnu@mindspring.com>
4423
4424 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
4425
1b3bb3d0
JB
44262003-12-13 Jim Blandy <jimb@redhat.com>
4427
4428 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
4429
3a4c9371
KB
44302003-12-12 Kevin Buettner <kevinb@redhat.com>
4431
4432 * gdb.asm/frv.inc: New file.
4433 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
4434
a1dea79a
FF
44352003-12-09 Fred Fish <fnf@redhat.com>
4436
4437 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
4438 functions to break1.c and leave prototypes behind. Add more
4439 "set breakpoint NN here" comments.
4440 * gdb.base/break1.c: New file.
4441
4442 * gdb.base/break.exp: Handle compiling test case from multiple
4443 source files and change source file references as needed.
4444 * gdb.base/completion.exp: Ditto.
4445 * gdb.base/condbreak.exp: Ditto.
4446 * gdb.base/define.exp: Ditto.
4447 * gdb.base/ena-dis-br.exp: Ditto.
4448 * gdb.base/info-proc.exp: Ditto.
4449 * gdb.base/maint.exp: Ditto.
4450 * gdb.base/until.exp: Ditto.
4451
4452 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
4453 hardcoded line numbers.
4454 * gdb.base/define.exp: Ditto.
4455 * gdb.base/ena-dis-br.exp: Ditto.
4456 * gdb.base/maint.exp: Ditto.
4457 * gdb.base/until.exp: Ditto.
4458
4459 * gdb.base/completion.exp: Use "break1" for completion tests since
4460 "break" is no longer a unique prefix.
4461
5266b69c
AC
44622003-12-06 Andrew Cagney <cagney@redhat.com>
4463
4464 * gdb.base/structs.exp (test_struct_returns): When applicable, set
4465 "return_value_unimplemented". When an unimplemented struct return
4466 architecture, report incorrect values as a KFAIL
4467
374451f0
MC
44682003-12-05 Michael Chastain <mec.gnu@mindspring.com>
4469
4470 * gdb.cp/rtti.exp: Accept new wording of warning from
4471 cp_lookup_rtti_type.
4472
ba9b20a7
MC
44732003-12-05 Michael Chastain <mec.gnu@mindspring.com>
4474
4475 Partial fix for PR testsuite/1456.
4476 * gdb.base/scope.exp (test_at_main): Replace references to
4477 gcc_compiled with calls to test_compiler_info.
4478 (test_at_foo): Likewise.
4479 (test_at_bar): Likewise.
4480
b74b6d0b
MC
44812003-12-04 Michael Chastain <mec.gnu@mindspring.com>
4482
4483 Partial fix for PR testsuite/1456.
4484 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
4485 to test_compiler_info.
4486
ccfa3402
MC
44872003-12-03 Michael Chastain <mec.gnu@mindspring.com>
4488
4489 * gdb.base/so-impl-ld.exp: Update copyright notice.
4490
f6246aba
MC
44912003-12-02 Michael Chastain <mec.gnu@mindspring.com>
4492
4493 Partial fix for PR testsuite/1456.
4494 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
4495 to test_compiler_info.
4496
13ae734a
MC
44972003-11-28 Michael Chastain <mec.gnu@mindspring.com>
4498
4499 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
4500 from current versions of gdb. Clean up regular expressions.
4501 Delete redundant timeout case.
4502
d8e1cdee
MC
45032003-11-28 Michael Chastain <mec.gnu@mindspring.com>
4504
4505 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
4506 from current versions of gdb. Clean up regular expressions.
4507 Delete redundant timeout case.
4508
96457b64
MC
45092003-12-01 Michael Chastain <mec.gnu@mindspring.com>
4510
4511 Partial fix for PR testsuite/1456.
4512 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
4513 gcc_compiled with call to test_compiler_info.
4514
f35309fc
MC
45152003-11-30 Michael Chastain <mec.gnu@mindspring.com>
4516
4517 Partial fix for PR testsuite/1456.
4518 * gdb.base/list.exp (test_list_function): Delete unused declaration
4519 of gcc_compiled.
4520
d7afdf9b
MC
45212003-11-29 Michael Chastain <mec.gnu@mindspring.com>
4522
4523 Partial fix for PR testsuite/1456.
4524 * gdb.base/complex.exp: Replace reference to gcc_compiled with
4525 call to test_compiler_info.
4526
71507b56
MK
45272003-11-29 Mark Kettenis <kettenis@gnu.org>
4528
4529 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
4530 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
4531 it to create the appropriate note.inc.
4532 * gdb.asm/asmsrc1.s: Include "note.inc".
4533 * gdb.asm/netbsd.inc: New file.
4534 * gdb.asm/empty.inc: New file.
4535
f81f93f7
MC
45362003-11-28 Michael Chastain <mec.gnu@mindspring.com>
4537
4538 Partial fix for PR testsuite/1456.
4539 * gdb.base/constvars.exp: Replace references to gcc_compiled with
4540 calls to test_compiler_info.
4541
9a77938e
MC
45422003-11-27 Michael Chastain <mec.gnu@mindspring.com>
4543
4544 Partial fix for PR testsuite/1456.
4545 * gdb.base/volatile.exp: Replace references to gcc_compiled with
4546 calls to test_compiler_info.
4547
e8367dc7
MK
45482003-11-27 Mark Kettenis <kettenis@gnu.org>
4549
4550 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
4551 pattern for the KFAILs.
4552
526c61ee
AF
45532003-11-25 Adam Fedor <fedor@gnu.org>
4554
4555 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
4556 * gdb.objc/objcdecode.m: New file.
4557
28f2d600
AF
45582003-11-25 Adam Fedor <fedor@gnu.org>
4559
4560 * gdb.objc/nondebug.exp: Test for PR objc/1236.
4561 * gdb.objc/nondebug.m: New file.
4562
a3895cee
BE
45632003-11-26 Ben Elliston <bje@wasabisystems.com>
4564
4565 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
4566 NetBSD as it does on FreeBSD. Modelled on a similar change by
4567 Mark Kettenis on 2003-05-30.
4568 (link-flags): Set to "--entry _start" regardless of target.
4569 Special linker flags are to be appended to $link-flags.
4570 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
4571
c9f2c8a3
MC
45722003-11-25 Michael Chastain <mec.gnu@mindspring.com>
4573
4574 * gdb.cp/method.exp: Accept output of new demangler.
4575
15a0587a 45762003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
4577
4578 * gdb/class2.exp: New file.
4579 * gdb/class2.cc: New file.
4580
3c00b570
MC
45812003-11-25 Michael Chastain <mec.gnu@mindspring.com>
4582
4583 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
4584 of new demangler.
4585
7027acc7
MK
45862003-11-23 Mark Kettenis <kettenis@gnu.org>
4587
4588 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
4589 of gdb_test "run".
4590
b0e1598a
MK
45912003-11-23 Mark Kettenis <kettenis@gnu.org>
4592
4593 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
4594 "continue" into "run".
4595
4d9eda44
MC
45962003-11-23 Michael Chastain <mec.gnu@mindspring.com>
4597
4598 Partial fix for PR testsuite/1456.
4599 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
4600 call to test_compiler_info.
4601 * gdb.cp/ctti.exp: Likewise.
4602 * gdb.cp/derivation.exp: Likewise.
4603 * gdb.cp/member-ptr.exp: Likewise.
4604 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
4605 reference to gcc_compiled.
4606
46072003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
4608
4609 Fix PR testsuite/1463.
4610 * gdb.base/structs.exp (start_structs_test): Call
4611 get_debug_format before using the debug format.
4612
d422fe19
AC
46132003-11-22 Andrew Cagney <cagney@redhat.com>
4614
4615 * lib/gdb.exp (gdb_test_multiple): Add simple example.
4616 * gdb.base/structs.exp: Use gdb_test_multiple.
4617
039cf96d
AC
46182003-11-20 Andrew Cagney <cagney@redhat.com>
4619
6882279b
AC
4620 * gdb.base/structs.exp: Handle and recover from internal errors.
4621 Replace "foo${n}" with "foo<n>" in test messages.
4622
e53890ae
AC
4623 * gdb.base/structs.exp: Update copyright. Rewrite.
4624 * gdb.base/structs.c: Update copyright. Rewrite.
4625
2b211c59
AC
4626 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
4627 resync count exceeded.
d63a86f8 4628
039cf96d
AC
4629 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
4630 from the internal error.
4631 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
4632 Original from Jim Blandy.
4633 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 4634
eac98b22
AC
46352003-11-19 Andrew Cagney <cagney@redhat.com>
4636
4637 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
4638 KFAIL.
4639
67455b2a
MK
46402003-11-17 Mark Kettenis <kettenis@gnu.org>
4641
4642 New testcase for PR backtrace/1435.
4643 * gdb.arch/i386-unwind.exp: New file.
4644 * gdb.arch/i386-unwind.c: New file.
4645
853d6e5b
AC
46462003-11-17 Andrew Cagney <cagney@redhat.com>
4647
4648 * lib/gdb.exp (compiler_info): New global.
4649 (test_compiler_info): New function.
4650 (get_compiler_info): Set compiler_info.
4651 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
4652 "compiler_info" to gcc-<major>-<minor>.
4653
38cf6e11
MC
46542003-11-15 Michael Chastain <mec.gnu@mindspring.com>
4655
4656 * gdb.trace/configure: Remove.
4657
a50d3602
EZ
46582003-11-13 Elena Zannoni <ezannoni@redhat.com>
4659
4660 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 4661 breakpoints.
a50d3602
EZ
4662 * gdb.base/break.exp: Remove all references to explicit line
4663 numbers.
4664
d9407aaa
NC
46652003-11-11 Nick Clifton <nickc@redhat.com>
4666
4667 * gdb.base/shreloc.exp: Do not run for targets which do not
4668 support shared objects.
4669
db488fc1
CV
46702003-11-10 Corinna Vinschen <vinschen@redhat.com>
4671
4672 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
4673 Don't run tests if nofileio flag is given.
4674
6a90a18e
EZ
46752003-11-07 Elena Zannoni <ezannoni@redhat.com>
4676
4677 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
4678 as well as 'Watchpoint'.
4679
0b915e9c
EZ
46802003-11-06 Elena Zannoni <ezannoni@redhat.com>
4681
4682 Reported by Jim Ingham <jingham@apple.com>:
4683 * gdb.base/annota1.exp: Match at least one occurrence of the
4684 signal handler annotation.
4685
d7e4b55f
EZ
46862003-11-06 Elena Zannoni <ezannoni@redhat.com>
4687
4688 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
4689 as well as 'Watchpoint'.
4690
2fe4e8d0
MC
46912003-11-05 Michael Chastain <mec@shout.net>
4692
4693 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
4694
6ef88553
KW
46952003-11-03 Kris Warkentin <kewarken@qnx.com>
4696
4697 * gdb.arch/gdb1291.c: New test file.
4698 * gdb.arch/gdb1291.exp: New test script.
4699 * gdb.arch/gdb1431.c: New test file.
4700 * gdb.arch/gdb1431.exp: New test script.
4701
ae7dc4d8
MC
47022003-10-22 Michael Chastain <mec@shout.net>
4703
4704 * gdb.mi/pthreads.c: Add copyright notice.
4705
c39d7427
MC
47062003-10-22 Michael Chastain <mec@shout.net>
4707
4708 * gdb.threads/pthreads.c: Add copyright notice.
4709
8b7d96c1
MC
47102003-10-20 Michael Chastain <mec@shout.net>
4711
4712 * gdb.base/gdb1056.exp: New test script.
4713
d1d69fdd
DJ
47142003-10-13 Daniel Jacobowitz <drow@mvista.com>
4715
4716 * gdb.threads/killed.exp: Use gdb_run_cmd.
4717
7d605576
DJ
47182003-10-13 Daniel Jacobowitz <drow@mvista.com>
4719
4720 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
4721 create a core file.
4722 * gdb.threads/gcore-thread.exp: Likewise.
4723
618ec112
CV
47242003-10-13 Corinna Vinschen <vinschen@redhat.com>
4725
4726 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
4727 type, based on char type.
4728 (struct bit_flags_short_t): New bitfield type, based on short type.
4729 (init_bit_flags_char): New fuction.
4730 (init_bit_flags_short): Ditto.
4731 (print_bit_flags_char): Ditto.
4732 (print_bit_flags_short): Ditto.
4733 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
4734
9367a73c
MC
47352003-10-11 Michael Chastain <mec@shout.net>
4736
4737 * gdb.base/call-rt-st.exp: Update copyright year.
4738
1decf120
KI
47392003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
4740
4741 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
4742 * gdb.disasm/sh3.s: Ditto.
4743
5445b2ae
DJ
47442003-10-07 Daniel Jacobowitz <drow@mvista.com>
4745
4746 * gdb.threads/switch-threads.exp: New test.
4747 * gdb.threads/switch-threads.c: New source file.
4748
aec24853
CV
47492003-10-07 Corinna Vinschen <vinschen@redhat.com>
4750
4751 * gdb.base/ending-run.exp: Add sh specific case.
4752
adc7428d
AC
47532003-10-06 Andrew Cagney <cagney@redhat.com>
4754
4755 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
4756 * gdb.disasm/mn10200.exp: Delete obsolete file.
4757
c9d37158
DJ
47582003-09-29 Daniel Jacobowitz <drow@mvista.com>
4759
4760 * ChangeLog: Correct an entry command.exp -> commands.exp.
4761 * gdb.base/commands.exp (bp_deleted_in_command_test)
4762 (temporary_breakpoint_commands): Check noargs.
4763
79c2c32d
DC
47642003-09-25 David Carlton <carlton@kealia.com>
4765
4766 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
4767 of some print tests, where appropriate. Add tests for C::D::cd,
4768 E::ce, F::cXfX, G::XgX.
4769 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
4770
594e6d67
RE
47712003-09-25 Richard Earnshaw <rearnsha@arm.com>
4772
4773 * lib/java.exp (java_init): Import target_alias before using it.
4774
10f0d451
DC
47752003-09-25 David Carlton <carlton@kealia.com>
4776
4777 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
4778
274bcba0
EZ
47792003-09-23 Elena Zannoni <ezannoni@redhat.com>
4780
d63a86f8 4781 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
4782 weirdness.
4783
cdbf20f7
MC
47842003-09-17 Michael Chastain <mec@shout.net>
4785
4786 * gdb.cp/gdb1355.exp: New file.
4787 * gdb.cp/gdb1355.c: New file.
4788
71e06f80
CV
47892003-09-15 Corinna Vinschen <vinschen@redhat.com>
4790
4791 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
4792 * gdb.asm/sh.inc: New file.
4793
5c4e30ca
DC
47942003-09-11 David Carlton <carlton@kealia.com>
4795
bd45b7af
DC
4796 * gdb.cp/namespace.exp: Add tests for namespace types.
4797 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
4798 (test_namespace): New.
4799
1c199746
EZ
48002003-09-11 Elena Zannoni <ezannoni@redhat.com>
4801
4802 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 4803 * gdb.stabs/weird.exp: Ditto.
1c199746 4804
04ed252f
MC
48052003-09-08 Michael Chastain <mec@shout.net>
4806
4807 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
4808
d8a2d9e7
MC
48092003-09-07 Michael Chastain <mec@shout.net>
4810
4811 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
4812 'parse error'.
4813
161afb24
MK
48142003-09-07 Mark Kettenis <m.kettenis@osp.nl>
4815
4816 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
4817
49f2741a
MC
48182003-08-30 Michael Chastain <mec@shout.net>
4819
4820 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
4821 * gdb.gdb/observer.exp: Ditto.
4822 * gdb.gdb/xfullpath.exp: Ditto.
4823
8afa723e
MK
48242003-08-29 Mark Kettenis <kettenis@gnu.org>
4825
4826 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
4827 *-*-*bsd*.
4828
f31dfe3b
JJ
48292003-08-28 Jeff Johnston <jjohnstn@redhat.com>
4830
4831 * gdb.base/dump.exp: Skip for ia64.
4832
4630e498
JJ
48332003-08-25 Jeff Johnston <jjohnstn@redhat.com>
4834
4835 * gdb.asm/asm-source.exp: Add ia64 support.
4836 * gdb.asm/ia64.inc: New file.
4837
1105b7ef
MC
48382003-08-22 Michael Chastain <mec@shout.net>
4839
4840 * gdb.cp: New directory.
4841 * gdb.cp/*: Copy from gdb.c++/*.
4842 * gdb.c++/*: Remove.
4843 * Makefile.in: Change gdb.c++ to gdb.cp.
4844 * configure.in: Ditto.
4845 * configure: Regnerate.
4846
c945b932
MK
48472003-08-18 Mark Kettenis <kettenis@gnu.org>
4848
4849 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
4850 * gdb.arch/i386-prologue.c (gdb1338): Add function.
4851
2b66634b
DJ
48522003-08-17 Daniel Jacobowitz <drow@mvista.com>
4853
4854 * mi-var-display.exp (-var-list-children weird): Accept function
4855 pointers with argument types.
4856 * mi1-var-display.exp (-var-list-children weird): Likewise.
4857 * mi2-var-display.exp (-var-list-children weird): Likewise.
4858
a356f73b
DJ
48592003-08-17 Daniel Jacobowitz <drow@mvista.com>
4860
4861 * gdb.base/annota3.exp: Add missing newline.
4862
483417b8
MC
48632003-08-06 Michael Chastain <mec@shout.net>
4864
4865 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
4866
c99c59c3
MS
48672003-08-12 Michael Snyder <msnyder@redhat.com>
4868
4869 * gdb.base/float.exp: Add test for SH.
4870
55ed7501
MK
48712003-08-10 Mark Kettenis <kettenis@gnu.org>
4872
4873 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
4874
1a371f2e
EZ
48752003-08-07 Elena Zannoni <ezannoni@redhat.com>
4876
4877 * gdb.base/completion.exp: Remove reduntant completion test
4878 on filename.
4879
e0f353ce
EZ
48802003-08-07 Elena Zannoni <ezannoni@redhat.com>
4881
4882 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
4883 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
4884 gdb.trace/save-trace.exp: Make sure that full pathnames are
4885 escaped correctly.
4886
5710a1af 48872003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 4888
5710a1af
EZ
4889 * configure.in: Don't generate config.h from config.hin.
4890 * configure: Regenerate.
4891 * config.hin: Remove file.
4892 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
4893 * gdb.threads/pthreads.c: Ditto.
4894
dcd81ce9
DJ
48952003-08-07 Daniel Jacobowitz <drow@mvista.com>
4896
4897 From Kei Sakamoto <sakamoto.kei@renesas.com>:
4898 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
4899 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
4900 Replace ld24 with seth/add3.
4901
6009d884
AC
49022003-08-02 Andrew Cagney <cagney@redhat.com>
4903
4904 * gdb.base/annota3.exp: New file.
4905 * gdb.base/annota3.c: New file.
4906 * gdb.c++/annota3.exp: New file.
4907 * gdb.c++/annota3.cc: New file.
4908
51514e06
MC
49092003-07-29 Michael Chastain <mec@shout.net>
4910
4911 * gdb.threads/tls.c (spin): Check errno only if sem_wait
4912 actually failed.
4913 (do_pass): Likewise.
4914 * gdb.threads/tls.exp: Always initialize no_of_threads.
4915
4ee6625b
DJ
49162003-07-27 Daniel Jacobowitz <drow@mvista.com>
4917
4918 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
4919 pattern.
4920 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
4921 * gdb.threads/tls.exp: Recognize one case of the host library not
4922 supporting TLS.
4923
225f2bf6
AC
49242003-07-27 Andrew Cagney <cagney@redhat.com>
4925
4926 * gdb.base/fileio.exp: Use SH when running commands using
4927 remote_exec.
4928
bcb27c9f
DJ
49292003-07-24 Daniel Jacobowitz <drow@mvista.com>
4930
4931 From Kei Sakamoto <sakamoto.kei@renesas.com>:
4932 * gdb.base/relocate.c (dummy): New padding array.
4933
3d67be83
MS
49342003-07-22 Michael Snyder <msnyder@redhat.com>
4935
d63a86f8 4936 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
4937
4938 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
4939 patterns to be more general, accepting old and new output.
4940 Some output chars (such as '+') also must be quoted.
d63a86f8 4941 Some addresses are displayed numerically instead of
3d67be83
MS
4942 symbolically.
4943
57ba3b85
MS
49442003-07-23 Michael Snyder <msnyder@redhat.com>
4945
686d097c
MS
4946 * gdb.base/return2.exp: Don't test long-long return.
4947
57ba3b85
MS
4948 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
4949 * gdb.disasm/t01_mov.exp: Ditto.
4950 * gdb.disasm/t02_mova.s: Ditto.
4951 * gdb.disasm/t02_mova.exp: Ditto.
4952 * gdb.disasm/t03_add.s: Ditto.
4953 * gdb.disasm/t03_add.exp: Ditto.
4954 * gdb.disasm/t04_sub.s: Ditto.
4955 * gdb.disasm/t04_sub.exp: Ditto.
4956 * gdb.disasm/t05_cmp.s: Ditto.
4957 * gdb.disasm/t05_cmp.exp: Ditto.
4958 * gdb.disasm/t06_ari2.s: Ditto.
4959 * gdb.disasm/t06_ari2.exp: Ditto.
4960 * gdb.disasm/t07_ari3.s: Ditto.
4961 * gdb.disasm/t07_ari3.exp: Ditto.
4962 * gdb.disasm/t08_or.s: Ditto.
4963 * gdb.disasm/t08_or.exp: Ditto.
4964 * gdb.disasm/t09_xor.s: Ditto.
4965 * gdb.disasm/t09_xor.exp: Ditto.
4966 * gdb.disasm/t10_and.s: Ditto.
4967 * gdb.disasm/t10_and.exp: Ditto.
4968 * gdb.disasm/t11_logs.s: Ditto.
4969 * gdb.disasm/t11_logs.exp: Ditto.
4970 * gdb.disasm/t12_bit.s: Ditto.
4971 * gdb.disasm/t12_bit.exp: Ditto.
4972 * gdb.disasm/t13_otr.s: Ditto.
4973 * gdb.disasm/t13_otr.exp: Ditto.
4974
e00759ef
EZ
49752003-07-22 Elena Zannoni <ezannoni@redhat.com>
4976
4977 * gdb.threads/tls.exp :Add kfail for 'info address' case.
4978
8bc2021f
EZ
49792003-07-22 Elena Zannoni <ezannoni@redhat.com>
4980
4981 * gdb.threads/tls.c : New file.
4982 * gdb.threads/tls.exp : New file.
4983 * gdb.threads/tls-main.c : New file.
4984 * gdb.threads/tls-shared.c : New file.
4985 * gdb.threads/tls-shared.exp : New file.
4986
89320c4c
AS
49872003-07-22 Andreas Schwab <schwab@suse.de>
4988
4989 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
4990
180dea7c
AS
49912003-07-20 Andreas Schwab <schwab@suse.de>
4992
4993 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
4994 due to insn reordering.
4995
0714963c
AC
49962003-07-15 Andrew Cagney <cagney@redhat.com>
4997
4998 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
4999
98a23b3f
MC
50002003-07-15 Michael Chastain <mec@shout.net>
5001
5002 * gdb.base/gdb1250.exp: New file.
5003 * gdb.base/gdb1250.c: New file.
5004
27e417a2
ML
50052003-07-09 Michal Ludvig <mludvig@suse.cz>
5006
5007 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
5008 expansion of size_t to 'unsigned long', not only to 'unsigned'.
5009
8bc2021f
EZ
50102003-07-09 Elena Zannoni <ezannoni@redhat.com>
5011
5012 * gdb.threads/tls.c: New file.
5013 * gdb.threads/tls.exp: New file.
5014 * gdb.threads/tls-main.c: New file.
5015 * gdb.threads/tls-shared.c: New file.
5016 * gdb.threads/tls-shared.exp: New file.
5017
d99968dc
EZ
50182003-07-09 Elena Zannoni <ezannoni@redhat.com>
5019
5020 * gdb.base/annota1.exp: Make sure that we properly escape the
5021 full path of the source file. Xfail more permissive patterns,
d63a86f8 5022 due to a compiler debug info problem.
d99968dc 5023
83876b3b
AS
50242003-07-07 Andreas Schwab <schwab@suse.de>
5025
2705e972
AS
5026 * gdb.asm/m68k.inc: New file.
5027 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
5028
83876b3b
AS
5029 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
5030 arguments"): Also match negative number.
5031
5032 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
5033
3a871b37
DJ
50342003-07-03 Daniel Jacobowitz <drow@mvista.com>
5035
5036 * gdb.base/store.c (charest): New typedef.
5037 (add_char): Rename to add_charest, update.
5038 (wack_char): Rename to wack_charest, update types. Return l + r
5039 to keep r live across the call.
5040 (wack_short, wack_int, wack_long, wack_longest, wack_float)
5041 (wack_double, wack_doublest): Return l + r to keep r live across
5042 the call.
5043 * gdb.base/store.exp: Accomodate store.c changes.
5044
b2a7f303
DC
50452003-06-30 David Carlton <carlton@kealia.com>
5046
5047 * gdb.c++/maint.exp (test_invalid_name): New.
5048 (test_first_component): Add tests for invalid names.
5049
3c6cb4a1
MC
50502003-06-29 Michael Chastain <mec@shout.net>
5051
5052 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
5053 output of '<VTT for class>' for virtual base classes.
5054
f1c2644b
DJ
50552003-06-29 Daniel Jacobowitz <drow@mvista.com>
5056
5057 * gdb.base/completion.exp: Tab-complete "complet" instead of
5058 "compl".
5059 * gdb.base/complex.exp, gdb.base/complex.c: New files.
5060
18080350
DJ
50612003-06-29 Daniel Jacobowitz <drow@mvista.com>
5062
5063 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
5064 * gdb.base/volatile.exp: Likewise.
5065
f56973f8
DJ
50662003-06-29 Daniel Jacobowitz <drow@mvista.com>
5067
5068 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
5069 gdb/1265.
5070
50712003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
5072 Daniel Jacobowitz <drow@mvista.com>
5073
5074 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
5075 initial line count of 'captured_main' from 26 to 32.
5076 (test_with_self): Allow xmalloc call to be interleaved with the
5077 preceding two lines.
5078
e766d4d6
JB
50792003-06-24 Joel Brobecker <brobecker@gnat.com>
5080
5081 * gdb.base/bang.exp: New testcase.
5082
f125c9a4
JB
50832003-06-23 Joel Brobecker <brobecker@gnat.com>
5084
5085 * gdb.base/langs.exp: Add some tests for the "minimal" language
5086 support.
5087
6e25beaf
EZ
50882003-06-23 Elena Zannoni <ezannoni@redhat.com>
5089
5090 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
5091 the testcase.
5092
2f816dda
DJ
50932003-06-22 Daniel Jacobowitz <drow@mvista.com>
5094
5095 * gdb.base/relocate.exp: Test add-symbol-file with a variable
5096 offset.
5097
db5a5748
DJ
50982003-06-22 Daniel Jacobowitz <drow@mvista.com>
5099
5100 * gdb.c++/pr-1210.cc: New file.
5101 * gdb.c++/pr-1210.exp: New file.
5102
1df0c130
DJ
51032003-06-21 Daniel Jacobowitz <drow@mvista.com>
5104
5105 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
5106 000-exec-continue.
5107
a92feac0
MK
51082003-06-15 Mark Kettenis <kettenis@gnu.org>
5109
5110 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
5111 on *-*-*bsd* instead of *-*-freebsd*.
5112
81a58f5b
AC
51132003-06-14 Andrew Cagney <cagney@redhat.com>
5114
5115 * gdb.base/store.exp: Test longest and doublest. Test all
5116 parameters. Weaken return statement match.
5117 * gdb.base/store.c: Add longest and doublest - aka long long and
5118 long double functions. Put all parameters into local register
5119 variables. Use negative values.
5120
b257a0d3
AC
51212003-06-14 Andrew Cagney <cagney@redhat.com>
5122
5123 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
5124 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
5125 exit status.
5126 * gdb.base/fileio.exp: Disable target when nointerrupts and
5127 noinferiorio, instead of limiting it to remote. Use remote_exec
5128 instead of system.
d63a86f8 5129
21c38304
JJ
51302003-06-12 Jeff Johnston <jjohnstn@redhat.com>
5131
5132 * gdb.base/float.exp: Add ia64 support.
5133
1bcdb424
CV
51342003-06-12 Corinna Vinschen <vinschen@redhat.com>
5135
5136 * gdb.base/fileio.exp: Run only on remote targets.
5137
6aeb981f
CV
51382003-06-10 Corinna Vinschen <vinschen@redhat.com>
5139
5140 * gdb.base/fileio.c: New file, testing File-I/O.
5141 * gdb.base/fileio.exp: Ditto.
5142
53df362e
RG
51432003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
5144
5145 * gdb.base/shreloc.exp: New file, check symbol values obtained from
5146 shared objects after relocation at load time (gdb PR/1132).
5147 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
5148 as above, part of the shared object relocation test.
5149
ffee1b46
MK
51502003-06-08 Mark Kettenis <kettenis@gnu.org>
5151
b5ca3722
MK
5152 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
5153 fully filled history list.
5154 * gdb.base/gdb_history: New file.
5155
03ed860d
MK
5156 * gdb.base/signals.exp: XFAIL "continue to func1" on
5157 i*86-*-freebsd*.
5158
ffee1b46
MK
5159 * gdb.base/attach.exp: When trying to attach to a nonexistent
5160 process, make it possible to specify the PID based on the target,
5161 and do so for *-*-freebsd*.
5162
d80dbb52
RH
51632003-06-02 Richard Henderson <rth@redhat.com>
5164
5165 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
5166
6dd77b81
RH
51672003-06-02 Richard Henderson <rth@redhat.com>
5168
5169 * gdb.base/selftest.exp: Next over lim_at_start initialization.
5170
f6347e16
RH
51712003-06-02 Richard Henderson <rth@redhat.com>
5172
5173 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
5174
2c161407
DJ
51752003-06-01 Daniel Jacobowitz <drow@mvista.com>
5176
5177 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
5178 of globalvar.
5179
572eb746
MK
51802003-06-01 Mark Kettenis <kettenis@gnu.org>
5181
5182 * gdb.asm/asm-source.exp: Check for memory read errors in
5183 disassembler test on *BSD too.
5184
9e9617a5
RH
51852003-06-01 Richard Henderson <rth@redhat.com>
5186
5187 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
5188 for .frame.
5189 (gdbasm_call): Lose ldgp.
5190 (gdbasm_startup): Add frame information.
5191 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
5192
7b34ad4e
MK
51932003-05-31 Mark Kettenis <kettenis@gnu.org>
5194
5195 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
5196 i?86-*-*.
5197
10059fdf
MK
51982003-05-30 Mark Kettenis <kettenis@gnu.org>
5199
5200 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
5201 FreeBSD.
5202
acf4b816
RH
52032003-05-29 Richard Henderson <rth@redhat.com>
5204
5205 * gdb.asm/alpha.inc: New file.
5206 * gdb.asm/asm-source.exp: Use it.
5207
e9ecd949
JB
52082003-05-29 Jim Blandy <jimb@redhat.com>
5209
5210 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
5211 'core.PID'.
5212
e3e5a4f3
JB
52132003-05-22 Jim Blandy <jimb@redhat.com>
5214
5215 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
5216 backtrace.
d63a86f8 5217
72fe3d25
DC
52182003-05-20 David Carlton <carlton@math.stanford.edu>
5219
5220 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
5221 this time.
5222
58da2eb2
DC
52232003-05-19 David Carlton <carlton@bactrian.org>
5224
5225 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
5226 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
5227
1fcb5155
DC
52282003-05-19 David Carlton <carlton@bactrian.org>
5229
5230 * gdb.c++/namespace.exp: Add namespace scope and anonymous
5231 namespace tests.
5232 Bump copyright date.
5233 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
5234 (main): Call C::D::marker2.
5235 * gdb.c++/namespace1.cc: New file.
5236
85e85163
JJ
52372003-05-14 Jeff Johnston <jjohnstn@redhat.com>
5238
5239 Roland McGrath <roland@redhat.com>
d63a86f8 5240 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
5241 there is no manager thread.
5242
a25fbfec
JJ
52432003-05-08 Jeff Johnston <jjohnstn@redhat.com>
5244
d63a86f8
RM
5245 * gdb.threads/schedlock.exp: Remove assumption that all threads
5246 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
5247 in one of the child threads rather than the main thread.
5248
be375bae
JB
52492003-05-07 Jim Blandy <jimb@redhat.com>
5250
09bf6082
JB
5251 Add support for assembly source testing on the s390x.
5252 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
5253 architecture.
5254 * gdb.asm/s390x.inc: New file.
5255
be375bae
JB
5256 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
5257 succession of 'if' statements.
5258
00905d52
AC
52592003-05-05 Andrew Cagney <cagney@redhat.com>
5260
5261 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
5262
b1e29e33
AC
52632003-05-05 Andrew Cagney <cagney@redhat.com>
5264
5265 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
5266 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
5267
e33d66ec
EZ
52682003-05-02 Elena Zannoni <ezannoni@redhat.com>
5269
5270 * gdb.base/charset.exp: Update based on new behavior of set/show
5271 charset commands.
5272
2b6fd0d8
AC
52732003-05-01 Andrew Cagney <cagney@redhat.com>
5274
5275 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
5276 variable do not give memory errors.
5277
130cacce
AF
52782003-04-30 Adam Fedor <fedor@gnu.org>
5279
5280 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
5281 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
5282 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
5283 gdb.objc/basicclass.m: : New files
5284
5285 * lib/gdb.exp (gdb_compile_objc): New procedure.
5286
bea71854
DJ
52872003-04-27 Daniel Jacobowitz <drow@mvista.com>
5288
5289 * gdb.base/signals.exp: Make backtrace tests more specific.
5290
0f20eeea
DC
52912003-04-23 David Carlton <carlton@bactrian.org>
5292
5293 * gdb.c++/maint.exp (test_first_component): Add tests for
5294 'operator' in more locations.
5295
c8c4d8dc
KB
52962003-04-16 Kevin Buettner <kevinb@redhat.com>
5297
5298 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
5299
3fe60e3c
EZ
53002003-04-16 Elena Zannoni <ezannoni@redhat.com>
5301
5302 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
5303 func marke' instead. Update test name.
5304
9219021c
DC
53052003-04-15 David Carlton <carlton@math.stanford.edu>
5306
5307 * gdb.c++/maint.exp: New file.
5308
5dd55bdd
EZ
53092003-04-14 Elena Zannoni <ezannoni@redhat.com>
5310
5311 * gdb.threads/schedlock.c: Change type of thread function argument
5312 to long, to avoid warnings on 64-bit platforms.
5313
00890572
EZ
53142003-04-14 Elena Zannoni <ezannoni@redhat.com>
5315
5316 * gdb.base/attach.exp: Add new message from ptrace in case of
5317 attaching to nonexistent process.
d63a86f8 5318
93201743
JB
53192003-04-11 Jim Blandy <jimb@redhat.com>
5320
5321 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
5322 gdb.c++/userdef.cc: Place comments on the lines to which the
5323 marker function might return.
5324 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
5325 gdb.c++/userdef.exp: Look for those comments to check that we've
5326 returned to the right place, instead of checking line numbers.
5327
2a11c64d
EZ
53282003-04-11 Elena Zannoni <ezannoni@redhat.com>
5329
5330 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
5331 match on sourcefile name, instead of directory name.
5332
68ab8fc5
EZ
53332003-04-10 Elena Zannoni <ezannoni@redhat.com>
5334
d63a86f8 5335 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
5336 working directory name.
5337
5624293a
JB
53382003-04-09 Jim Blandy <jimb@redhat.com>
5339
5340 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
5341 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
5342 after an inferior function call, report the failure, but allow the
5343 test to continue.
5344
f1f02ee4
SC
53452003-04-05 Stephane Carrez <stcarrez@nerim.fr>
5346
5347 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
5348 with -DPROTOTYPES.
5349
6eb79af0
SC
53502003-04-05 Stephane Carrez <stcarrez@nerim.fr>
5351
5352 * gdb.base/break.exp: Revert last patch.
5353
8dfb4cf0
SC
53542003-04-04 Stephane Carrez <stcarrez@nerim.fr>
5355
5356 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
5357 with -DPROTOTYPES.
5358
ed4c619a
AC
53592003-04-02 Andrew Cagney <cagney@redhat.com>
5360
5361 * gdb.base/callfuncs.exp: Make "print add" messages unique.
5362 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
5363 matching directories by the name breakpoint.
5364 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
5365 Make "continue to marker1" consistent.
5366 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
5367 message consistent.
5368 * lib/gdb.exp: Put "the program is no longer running", and "the
5369 program exited" in parenthesis.
5370 * lib/mi-support.exp: Ditto.
d63a86f8 5371
4e35d5f0 53722003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 5373
4e35d5f0
BR
5374 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
5375
71900fe8
AC
53762003-03-29 Andrew Cagney <cagney@redhat.com>
5377
5378 * gdb.base/sizeof.c (main): Print the value of '\377'.
5379 * gdb.base/sizeof.exp: Check the sign of '\377'.
5380
c0655a16
MC
53812003-03-27 Michael Chastain <mec@shout.net>
5382
5383 * gdb.base/gdb1090.exp: New file.
5384 * gdb.base/gdb1090.cc: New file.
5385
5b2a3989
JB
53862003-03-27 J. Brobecker <brobecker@gnat.com>
5387
5388 * gdb.gdb/observer.exp: New regression test.
5389
79876890
MC
53902003-03-27 Michael Chastain <mec@shout.net>
5391
5392 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
5393 * gdb.base/ptype.exp: Likewise.
5394
6eac95e3
CV
53952003-03-27 Corinna Vinschen <vinschen@redhat.com>
5396
5397 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
5398
e8c71839
MC
53992003-03-26 Michael Chastain <mec@shout.net>
5400
5401 * gdb.base/ptype.exp: Actually use some typedef'd types.
5402
71b10041
SC
54032003-03-21 Stephane Carrez <stcarrez@nerim.fr>
5404
5405 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
5406 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
5407
2512cf80
CV
54082003-03-20 Corinna Vinschen <vinschen@redhat.com>
5409
5410 * gdb.base/default.exp: Fix regular expression.
5411
0d195a4f
CV
54122003-03-20 Corinna Vinschen <vinschen@redhat.com>
5413
5414 * gdb.base/args.exp: Fix regular expression.
5415
8a2dbca8
CV
54162003-03-20 Corinna Vinschen <vinschen@redhat.com>
5417
5418 * gdb.base/help.exp: Allow Win32 child process.
5419
bf028682
CV
54202003-03-20 Corinna Vinschen <vinschen@redhat.com>
5421
5422 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
5423 when stepping out of main().
5424
182dbe85
CV
54252003-03-20 Corinna Vinschen <vinschen@redhat.com>
5426
5427 * gdb.base/default.exp: Check for win32 specific message when calling
5428 "run" without executable.
5429
d67a6ba5
CV
54302003-03-20 Corinna Vinschen <vinschen@redhat.com>
5431
5432 * gdb.base/args.exp: Expect .exe in output.
5433
a955b5bb
CV
54342003-03-20 Corinna Vinschen <vinschen@redhat.com>
5435
5436 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
5437 Cygwin native.
5438
bf6bad4b
AC
54392003-03-17 Andrew Cagney <cagney@redhat.com>
5440
5441 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
5442 vector registes.
5443 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
5444 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
5445
293e9a31
DC
54462003-03-17 David Carlton <carlton@math.stanford.edu>
5447
5448 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
5449 test, for PR breakpoints/38.
5450 Call test_watchpoint_and_breakpoint.
5451 * gdb.base/watchpoint.c (func3): New function.
5452 (main): Call func3.
5453
5330f2db
DC
54542003-03-04 David Carlton <carlton@math.stanford.edu>
5455
5456 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
5457 Garply<Garply<char> >:: garply".
5458 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
5459 with respect to PR c++/1111; note also PR c++/1113.
5460 (test_template_breakpoints): KFAIL "constructor breakpoint" with
5461 respect to PR c++/1062.
5462 KFAIL "destructor breakpoint" with respect to PR c++/1112.
5463
6ece72da
DC
54642003-03-03 David Carlton <carlton@math.stanford.edu>
5465
5466 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
5467 with respect to PR c++/57.
5468 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
5469 c++/826.
5470 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
5471 respect to PR c++/57.
5472
85ca1584
DC
54732003-03-03 David Carlton <carlton@math.stanford.edu>
5474
5475 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
5476 respect to PR c++/33 into FAILs.
5477
98e9c5b8
MC
54782003-03-03 Michael Chastain <mec@shout.net>
5479
7bedbf27
MC
5480 * configure.in: Update copyright years.
5481
54822003-03-03 Michael Chastain <mec@shout.net>
5483
5484 * Makefile.in: Update copyright years.
98e9c5b8 5485
f683e100
DC
54862003-02-28 David Carlton <carlton@math.stanford.edu>
5487
5488 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
5489 print class instead of struct and/or superfluous protection
5490 specifiers, as long as the resulting output is equivalent to the
5491 source code.
5492 Delete FIXME from end of messages on tests that don't need
5493 fixing.
5494
a9e0cf2c
DC
54952003-02-28 David Carlton <carlton@math.stanford.edu>
5496
5497 * gdb.c++/templates.exp (do_tests): Allow const in the two
5498 Foo<volatile char *>::foo tests.
5499
e8d359df
MS
55002003-02-27 Michael Snyder <msnyder@redhat.com>
5501
d63a86f8 5502 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
5503 will be consistant.
5504
0b71dc91
DC
55052003-02-26 David Carlton <carlton@math.stanford.edu>
5506
5507 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
5508 char *>::foo" test with respect to PR c++/33. Create a new test
5509 which is identical to that one except that it doesn't put the
5510 space between the "char" and the "*"; KFAIL it, too.
5511
dd14ab43
DC
55122003-02-26 David Carlton <carlton@math.stanford.edu>
5513
5514 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
5515 template types into either PASSes or KFAILs (corresponding to PR
5516 c++/57). Tweak indentation. Update copyright.
5517
1146c7f1
SC
55182003-02-23 Stephane Carrez <stcarrez@nerim.fr>
5519
5520 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
5521
74641dfb
MC
55222003-02-13 Michael Chastain <mec@shout.net>
5523
5524 * gdb.base/exprs.exp: Remove i960 remnants.
5525 * gdb.base/funcargs.exp: Likewise.
5526 * gdb.base/list.exp: Likewise.
5527 * gdb.base/ptype.exp: Likewise.
5528
559cd2d0
DC
55292003-02-14 David Carlton <carlton@math.stanford.edu>
5530
5531 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
5532 pEe->D::vg()" from XFAIL to KFAIL.
5533
c4f90d87
JM
55342003-02-13 Jason Molenda (jmolenda@apple.com)
5535
5536 * gdb.base/maint.exp: Update maint print statistics regexp to include
5537 new entries.
5538
cbc4d97c
MC
55392003-02-13 Michael Chastain <mec@shout.net>
5540
5541 * gdb.c++/inherit.exp: Remove call to get_debug_format.
5542
40f235b7
MC
55432003-02-12 Michael Chastain <mec@shout.net>
5544
5545 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
5546 * gdb.c++/inherit.exp: Likewise.
5547 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
5548 * gdb.c++/templates.exp: Likewise.
5549 * gdb.c++/virtfunc.exp: Likewise.
5550
c56716b0
JM
55512003-02-06 Jason Molenda (jason-cl@molenda.com)
5552
5553 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
5554 why the code is written that way.
5555
070afcf8
MC
55562003-02-05 Michael Chastain <mec@shout.net>
5557
5558 * gdb.base/dump.exp: Add missing copyright line.
5559
5d0331e5
JM
55602003-02-05 Jason Molenda (jason-cl@molenda.com)
5561
f7ae6d3e 5562 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
5563 at the beginning so the breakpoint doesn't get set on the loop.
5564
92851186
MC
55652003-02-05 Michael Chastain <mec@shout.net>
5566
5567 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
5568 output for configurations with gcc 2.95.3.
5569
cbf1e085
AC
55702003-02-05 Keith Seitz <keiths@redhat.com>
5571 Andrew Cagney <ac131313@redhat.com>
5572
5573 * gdb.mi/mi-cli.exp: New file.
d63a86f8 5574
29518e1e
MC
55752003-02-04 Michael Chastain <mec@shout.net>
5576
5577 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
5578 Call perror and then continue.
5579
5af1d5f3
MC
55802003-02-03 Michael Chastain <mec@shout.net>
5581
5582 * gdb.c++/pr-1023.cc: New file.
5583 * gdb.c++/pr-1023.exp: New file.
5584
6b549786
JB
55852003-02-05 Jim Blandy <jimb@redhat.com>
5586
5587 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
5588 it's local to foobar. Check for it there, and check that it's not
5589 present in main.
5590 * gdb.c++/local.cc (marker2): New function.
5591 (foobar): Call marker1.
5592 (main): Call marker2 instead of marker1.
5593
67f16606
AC
55942003-02-04 Andrew Cagney <ac131313@redhat.com>
5595
5596 * gdb.disasm/mn10200.exp: Obsolete file.
5597 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
5598 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
5599 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
5600
1c5cb38e
DC
56012003-02-04 David Carlton <carlton@math.stanford.edu>
5602
5603 * gdb.c++/overload.exp: Test intToChar(1).
5604 * gdb.c++/overload.cc (intToChar): New.
5605 (main): Call intToChar.
5606
d1fe6965
DC
56072003-02-03 David Carlton <carlton@math.stanford.edu>
5608
5609 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
5610 'might_kfail' arg.
5611 KFAIL some of the continue_to_bp_overloaded calls, according to
5612 PR c++/1025.
5613
9ba61c5d
MC
56142003-02-01 Michael Chastain <mec@shout.net>
5615
5616 * gdb.base/advance.c (marker1): New marker function.
5617 * gdb.base/advance.exp: When the 'advance' command lands on the
5618 return breakpoint, it can legitimately stop on either the
5619 current line or the next line. Accommodate both outcomes.
5620 * gdb.base/until.exp: Likewise.
5621
e7494ffb
AC
56222003-02-02 Andrew Cagney <ac131313@redhat.com>
5623
5624 2002-11-10 Jason Molenda (jason-cl@molenda.com):
5625 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
5626 now a list, not a tuple.
5627 * gdb.mi/mi-var-display.exp: Ditto.
5628 * gdb.mi/gdb792.exp: Ditto.
5629
075559bc
AC
56302003-02-01 Andrew Cagney <ac131313@redhat.com>
5631
5632 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
5633 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
5634 stack backtraces.
5635 * gdb.mi/mi-syn-frame.c: Part of same.
5636
2bd4c7b1
MK
56372003-02-01 Mark Kettenis <kettenis@gnu.org>
5638
5639 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
5640 gdb.mi/mi1-pthreads.exp: Return instead of calling
5641 gdb_suppress_entire_file.
5642
eabd8992
MS
56432003-02-01 Mark Salter <msalter@redhat.com>
5644
5645 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
5646
71469e2f
MS
56472003-01-31 Mark Salter <msalter@redhat.com>
5648
5649 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
5650 Support empty arg.
5651
38a94d44
MC
56522003-01-30 Michael Chastain <mec@shout.net>
5653
5654 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
5655 This was a workaround for a UTF-8 bug in readline 4.3. The bug
5656 has been fixed in gdb/readline on 2003-01-09.
5657
19ea9e73
MS
56582003-01-29 Michael Snyder <msnyder@redhat.com>
5659
e8d359df
MS
5660 * gdb.base/maint.exp: Allow for leading underscore in symbol.
5661 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
5662 * gdb.base/args.exp: Skip if target does not support args passing.
5663
2307bd6a
DJ
56642003-01-22 Daniel Jacobowitz <drow@mvista.com>
5665
19ea9e73 5666 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
5667 gdb_test. Accept a list of expect arguments as the third
5668 parameter.
5669 (gdb_test): Use it.
5670
f2dd3617
EZ
56712003-01-20 Elena Zannoni <ezannoni@redhat.com>
5672
5673 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
5674 allow for different test tree configurations. Update some
5675 tescases accordingly.
5676 * gdb.arch/altivec-regs.exp: Ditto.
5677 * gdb.asm/asm-source.exp: Ditto.
5678 * gdb.base/advance.exp: Ditto.
5679 * gdb.base/display.exp: Ditto.
d63a86f8 5680 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
5681 * gdb.base/mips_pro.exp: Ditto.
5682 * gdb.base/overlays.exp: Ditto.
5683 * gdb.base/relocate.exp: Ditto.
5684 * gdb.base/setshow.exp: Ditto.
5685 * gdb.base/step-line.exp: Ditto.
5686 * gdb.base/step-test.exp: Ditto.
5687 * gdb.base/until.exp: Ditto.
5688 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
5689
c71cdefd
DC
56902003-01-17 David Carlton <carlton@math.stanford.edu>
5691
5692 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
5693 corresponding to PR c++/945.
5694 Update copyright.
5695
fdba05d7
DC
56962003-01-17 David Carlton <carlton@math.stanford.edu>
5697
5698 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
5699 corresponding to PR c++/68.
5700
57012003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
5702
5703 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
5704 (test_paddr_hairy_functions): Call print_addr_2_kfail for
5705 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
5706
c362c33a
EZ
57072003-01-15 Elena Zannoni <ezannoni@redhat.com>
5708
0fbc361c
EZ
5709 * gdb.base/break.exp: Fix change of default location, because of
5710 removal of until tests.
5711 * gdb.base/help.exp: Update test for new 'until' help message.
5712 Add test for help on 'advance'.
c362c33a
EZ
5713 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
5714
dabf8a35
MK
57152003-01-15 Mark Kettenis <kettenis@gnu.org>
5716
5717 * gdb.base/default.exp: Adapt "info float" test for recent changes
5718 to that command. Add test for "info vector".
5719 * gdb.base/float.exp: New file. Add test for "info float" that
5720 resembles the old test in gdb.base/default.exp.
5721
a1769aca
DC
57222003-01-15 David Carlton <carlton@math.stanford.edu>
5723
5724 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
5725
82025e13
EZ
57262003-01-15 Elena Zannoni <ezannoni@redhat.com>
5727
5728 * gdb.base/break.exp: Move the tests of until command from here...
5729 * gdb.base/until.exp: ... to here. New file. Add other tests.
5730 * gdb.base/advance.c: New file.
5731 * gdb.base/advance.exp: New file.
5732
8f9ab801
EZ
57332003-01-14 Elena Zannoni <ezannoni@redhat.com>
5734
5735 * gdb.base/args.c: New file.
5736 * gdb.base/args.exp: New file.
5737
9ae66589
DJ
57382003-01-14 Daniel Jacobowitz <drow@mvista.com>
5739
5740 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
5741
8d77e5c3
DJ
57422003-01-14 Daniel Jacobowitz <drow@mvista.com>
5743
5744 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
5745
12d2f0a1
DJ
57462003-01-14 Daniel Jacobowitz <drow@mvista.com>
5747
5748 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
5749 dates.
5750
6ca37014
DJ
57512003-01-13 Daniel Jacobowitz <drow@mvista.com>
5752
5753 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
5754
b0023472
DJ
57552003-01-13 Daniel Jacobowitz <drow@mvista.com>
5756
5757 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
5758 (ptype &*"foo").
5759 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
5760
607fbc54 57612003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
5762
5763 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
5764 * gdb.mi/mi1-console.exp: Likewise.
5765
607fbc54 57662003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
5767
5768 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
5769 * gdb.mi/mi1-console.exp: Likewise.
5770
a1fb14a2
DJ
57712003-01-13 Daniel Jacobowitz <drow@mvista.com>
5772
5773 * gdb.c++/overload.exp: Remove some fixed XFAILs.
5774
c4cf40b7
DJ
57752003-01-09 Daniel Jacobowitz <drow@mvista.com>
5776
5777 * gdb.base/detach.exp: New test.
5778
696d5a5b
DJ
57792003-01-09 Daniel Jacobowitz <drow@mvista.com>
5780
5781 * Makefile.in (ALL_SUBDIRS): New variable.
5782 (subdirs, clean, distclean): Use it.
5783 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
5784 regenerating Makefile, since it is generated from the top level.
5785 * gdb.asm/Makefile.in: Likewise.
5786 * gdb.base/Makefile.in: Likewise.
5787 * gdb.c++/Makefile.in: Likewise.
5788 * gdb.disasm/Makefile.in: Likewise.
5789 * gdb.java/Makefile.in: Likewise.
5790 * gdb.mi/Makefile.in: Likewise.
5791 * gdb.threads/Makefile.in: Likewise.
5792 * gdb.trace/Makefile.in: Likewise.
5793
754533e4
DC
57942003-01-09 David Carlton <carlton@math.stanford.edu>
5795
5796 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
5797 Add copyright year 2003.
5798
d8b3e9ee
MC
57992003-01-06 Michael Chastain <mec@shout.net>
5800
5801 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
5802 When selecting a thread, 'line' and 'file' are optional.
5803 * gdb.mi/mi1-pthreads.exp: Likewise.
5804
8e9e0fe6
AS
58052003-01-06 Andreas Schwab <schwab@suse.de>
5806
5807 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
5808 failures.
5809
b5ab8ff3
DJ
58102003-01-04 Daniel Jacobowitz <drow@mvista.com>
5811
5812 Fix PR gdb/844
5813 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
5814 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
5815
5816 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
5817 instead of calling gdb_suppress_entire_file.
5818 * gdb.threads/print-threads.exp: Likewise.
5819 * gdb.threads/schedlock.exp: Likewise.
5820
5821 * gdb.threads/killed.exp: Return instead of calling
5822 gdb_suppress_entire_file.
5823 * gdb.threads/linux-dp.exp: Likewise.
5824 * gdb.threads/pthreads.exp: Likewise.
5825
1e698235
DJ
58262003-01-04 Daniel Jacobowitz <drow@mvista.com>
5827
5828 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
5829 stabs.
5830 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
5831 * gdb.base/whatis.exp: Always allow (void) after function names.
5832
147ff08c
DJ
58332003-01-04 Daniel Jacobowitz <drow@mvista.com>
5834
5835 * gdb.c++/casts.exp: Correct regexp.
5836
dc62bfc2
MK
58372003-01-04 Mark Kettenis <kettenis@gnu.org>
5838
5839 * configure.in: Call AC_CONFIG_HEADER. Don't call
5840 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
5841 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
5842 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
5843 aforementioned directories in the AC_OUPUT call.
5844 * config.hin: New file.
5845 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
5846 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
5847 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
5848 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
5849 pass -I$objdir instead of -I$objdir/$subdir in compilation.
5850 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
5851 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
5852 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
5853 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
5854 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
5855 gdb.threads/configure.in, gdb.threads/configure,
5856 gdb.threads/config.in, gdb.trace/configure.in,
5857 gdb.trace/configure: Removed.
5858
77afa639
MC
58592003-01-03 Michael Chastain <mec@shout.net>
5860
5861 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
5862 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
5863
7634bb6e
DJ
58642003-01-03 Daniel Jacobowitz <drow@mvista.com>
5865
5866 * gdb.base/store.exp: Fix regular expressions.
5867
b39c905e
MK
58682002-12-28 Mark Kettenis <kettenis@gnu.org>
5869
5870 * configure.in: Rewrite.
5871 * configure: Regenerated.
5872
0a8551dd
DC
58732003-01-03 David Carlton <carlton@math.stanford.edu>
5874
5875 * gdb.base/psymtab.exp: New file.
5876 * gdb.base/psymtab1.c: Ditto.
5877 * gdb.base/psymtab2.c: Ditto.
5878
c60b7188
AF
58792002-12-23 Adam Fedor <fedor@gnu.org>
5880
5881 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
5882
ee73db83
DC
58832002-12-23 David Carlton <carlton@math.stanford.edu>
5884
5885 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
5886 and current_directory initialization.
5887
d6c1774e
JB
58882002-12-22 Jim Blandy <jimb@redhat.com>
5889
f0a847b8
JB
5890 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
5891 rather than as part of the output file name.
5892
d6c1774e
JB
5893 * gdb.base/attach.exp: There's no need to copy the test program to
5894 /tmp; that was only ever necessary on HP/UX, and this test is
5895 entirely disabled there anyway.
5896
f0708dbb
JB
58972002-12-21 Jim Blandy <jimb@redhat.com>
5898
4c2acfea
JB
5899 * gdb.c++/psmang.exp: Doc fix.
5900
f0708dbb
JB
5901 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
5902 test.
5903
9579e000
DC
59042002-12-20 David Carlton <carlton@math.stanford.edu>
5905
5906 * gdb.c++/annota2.exp: KFAIL annotate-quit.
5907
d1810171
MC
59082002-12-18 Michael Chastain <mec@shout.net>
5909
5910 * gdb.c++/annota2.exp: Add copyright year 2002.
5911
76565097
DC
59122002-12-17 David Carlton <carlton@math.stanford.edu>
5913
5914 * gdb.c++/try_catch.cc: Add marker comments.
5915 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
5916 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
5917 * gdb.c++/m-static.cc: Ditto.
5918 * gdb.c++/m-static1.cc: Ditto.
5919 * gdb.c++/try_catch.cc: Ditto.
5920
da81390b
JJ
59212002-12-16 Jeff Johnston <jjohnstn@redhat.com>
5922
5923 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
5924 to see whether we are using the new -environment-directory
5925 command which resets via -r or the old version of the command
5926 which may prompt the user. Part of fix for gdb/741.
5927
b304d130
AC
59282002-12-13 Andrew Cagney <ac131313@redhat.com>
5929
5930 * gdb.fortran/types.exp: Update obsolete comment.
5931 * gdb.fortran/exprs.exp: Ditto.
5932 * lib/gdb.exp: Delete obsolete code.
5933 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
5934 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
5935 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
5936 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
5937 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
5938 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
5939 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
5940 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
5941 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
5942 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
5943 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
5944 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
5945 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
5946 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
5947 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
5948 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
5949 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
5950 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
5951 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
5952 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
5953 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
5954 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
5955 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
5956 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
5957 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
5958 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
5959 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
5960 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
5961 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
5962 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
5963 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
5964 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
5965 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
5966 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
5967 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
5968 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
5969 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
5970
a23b6e6a
DC
59712002-12-11 David Carlton <carlton@math.stanford.edu>
5972
5973 * gdb.c++/m-data.exp: Add test for members that shadow global
5974 variables: see PR gdb/804.
5975 * gdb.c++/m-data.cc: Ditto.
5976
6604731b
DJ
59772002-12-10 Daniel Jacobowitz <drow@mvista.com>
5978
5979 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
5980
de46ecd7
DC
59812002-12-06 David Carlton <carlton@math.stanford.edu>
5982
5983 * gdb.base/store.c: Don't declare functions static.
5984
27e829d0
AC
59852002-12-04 Andrew Cagney <ac131313@redhat.com>
5986
5987 * gdb.base/store.exp, gdb.base/store.c: New files.
5988
92806416
DJ
59892002-12-03 Daniel Jacobowitz <drow@mvista.com>
5990
5991 * gdb.base/selftest.exp: Update for current gdb.
5992
3bcbaac5
DJ
59932002-12-03 Daniel Jacobowitz <drow@mvista.com>
5994
5995 * gdb.base/maint.exp: Only dump symbols from one source file
5996 or objfile.
5997
f4f00b1f
DJ
59982002-12-03 Daniel Jacobowitz <drow@mvista.com>
5999
6000 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
6001 function call.
6002
f1c8a949
JB
60032002-11-25 Jim Blandy <jimb@redhat.com>
6004
6005 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
6006 function appearing in error message.
6007
9e297a97
DJ
60082002-11-21 Daniel Jacobowitz <drow@mvista.com>
6009
6010 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
6011
1f312e79
JJ
60122002-11-08 Jeff Johnston <jjohnstn@redhat.com>
6013
d63a86f8
RM
6014 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
6015 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
6016 should be in mi console format. This is part of fix for PR gdb/604.
6017
83c31e7d
FN
60182002-09-18 Fernando Nasser <fnasser@redhat.com>
6019
6020 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
6021 which explicitly prints the zero offset as "+0".
6022
322b3f65
DJ
60232002-10-22 Daniel Jacobowitz <drow@mvista.com>
6024
6025 * gdb.threads/schedlock.c (args): Make unsigned.
6026
60272002-10-21 Daniel Jacobowitz <drow@mvista.com>
6028
6029 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
6030 numbers. Allow "foo2|selected stack frame".
6031 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
6032 * gdb.asm/asmsrc2.s: Likewise.
6033 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
6034 comments.
6035 * gdb.asm/mips.inc: New file.
6036
5e2fe5b8
AF
60372002-10-18 Adam Fedor <fedor@gnu.org>
6038
6039 * gdb.base/default.exp: Update expected output to include 'ObjC'.
6040 * gdb.base/help.exp: Likewise.
6041
abe1a5d0
KB
60422002-10-17 Kevin Buettner <kevinb@redhat.com>
6043
6044 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
6045 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
6046
10abb1d4
JB
60472002-10-02 Jim Blandy <jimb@redhat.com>
6048
6049 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
6050
1f609b42
AC
60512002-10-01 Andrew Cagney <ac131313@redhat.com>
6052
6053 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
6054 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
6055 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
6056 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
6057 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
6058 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
6059 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
6060
0aee02e4
AC
60612002-09-29 Andrew Cagney <ac131313@redhat.com>
6062
6063 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
6064 * mi0-disassemble.exp, mi0-eval.exp: Delete.
6065 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
6066 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
6067 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
6068 * mi0-var-block.exp, mi0-var-child.exp: Delete.
6069 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 6070
6fde09ad
KB
60712002-09-27 Kevin Buettner <kevinb@redhat.com>
6072
6073 * gdb.base/annota1.exp (info break): Make directory components of
6074 path optional since not all compilers emit this debug information.
6075
6076 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
6077 step ends up stepping out of the function instead of stopping on
6078 the epilogue.
6079
9e8aab75
KS
60802002-09-26 Keith Seitz <keiths@redhat.com>
6081
6082 * lib/insight-support.exp (gdbtk_start): Figure out where
6083 the insight executable is based on where gdb is. Use this
6084 executable to start insight instead of gdb.
6085
e36180d7
AC
60862002-09-25 Andrew Cagney <cagney@redhat.com>
6087
6088 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
6089
9dd34b2b
AC
60902002-09-24 Andrew Cagney <ac131313@redhat.com>
6091
6092 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
6093 test_isolated_complaints.
6094 (test_empty_complaint): New function.
6095 (test_empty_complaints): New function. Check no output when no
6096 complaints.
d63a86f8 6097
dea97812
KB
60982002-09-19 Jim Blandy <jimb@redhat.com>
6099
6100 * gdb.base/charset.exp, gdb.base/charset.c: New files.
6101
54951bd7
AC
61022002-09-19 Andrew Cagney <ac131313@redhat.com>
6103
6104 * gdb.gdb/complaints.exp: New file.
6105
dec43320
AC
61062002-09-18 Andrew Cagney <ac131313@redhat.com>
6107
6108 * gdb.base/maint.exp: Check `help maint internal-warning'.
6109
e70d6e3f
DC
61102002-09-18 David Carlton <carlton@math.stanford.edu>
6111
6112 * gdb.c++/m-static.exp: Remove breakpoints depending on line
6113 numbers, and replace them by a single breakpoint after the
6114 constructors are all finished.
6115 Add test 4.
6116 * gdb.c++/m-static.cc: Add test 4.
6117 * gdb.c++/m-static.h: New file.
6118 * gdb.c++/m-static1.cc: New file.
6119
6120 * gdb.c++/printmethod.exp: New file.
6121 * gdb.c++/printmethod.cc: New file.
6122
6123 * gdb.c++/pr-574.exp: New file.
6124 * gdb.c++/pr-574.cc: New file.
6125
afb5c968
CV
61262002-09-18 Corinna Vinschen <vinschen@redhat.com>
6127
6128 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
6129 embedded targets which never actually exit.
6130
31e45dee
FN
61312002-09-18 Fernando Nasser <fnasser@redhat.com>
6132
6133 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
6134 "don't step after run" as unresolved or unsupported, instead of xfail.
6135
a283c5a1
CV
61362002-09-18 Corinna Vinschen <vinschen@redhat.com>
6137
6138 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
6139 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
6140 Add newline to expected string in "step out of main (status wrapper)"
6141 case.
6142
11350d2a
CV
61432002-09-18 Corinna Vinschen <vinschen@redhat.com>
6144
6145 * lib/gdb.exp (rerun_to_main): Allow restarting application.
6146 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
6147
0deec7d6
TT
61482002-09-17 Tom Tromey <tromey@redhat.com>
6149
6150 * gdb.base/printcmds.exp (test_print_string_constants): Expect
6151 \000, not \0, in double-quoted string.
6152
b2b4a1b5
CV
61532002-09-14 Corinna Vinschen <vinschen@redhat.com>
6154
c9d37158 6155 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
6156 string after running the commands execution on breakpoint tests.
6157
1c56143a
CV
61582002-09-13 Corinna Vinschen <vinschen@redhat.com>
6159
6160 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
6161
37f8da45
JB
61622002-09-12 Joel Brobecker <brobecker@gnat.com>
6163
6164 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
6165
08b468e0
KS
61662002-09-10 Keith Seitz <keiths@redhat.com>
6167
6168 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
6169 runto proc.
6170 (mi_run_to_main): Use mi_runto.
6171 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
6172
dc360f58
KS
61732002-09-10 Keith Seitz <keiths@redhat.com>
6174
6175 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
6176 regexp for stopping at main. Could have multiple event notifications.
6177 Don't assume that main was declared with no parameters.
6178 (mi_next): Use mi_step_to.
6179 (mi_step): Use mi_next_to.
6180
ce3abcfb
CV
61812002-09-09 Corinna Vinschen <vinschen@redhat.com>
6182
6183 * gdb.base/default.exp: Fix expected string in `info float' test.
6184
d1f5b980
BE
61852002-09-09 Ben Elliston <bje@redhat.com>
6186
6187 * config/mips.exp: Update comments.
6188 * config/mips-idt.exp: Likewise.
6189 * config/nind.exp: Likewise.
6190 * config/slite.exp: Likewise.
6191 * config/sparclet.exp: Likewise.
6192 * config/udi.exp: Likewise.
6193 * config/vx.exp: Likewise.
6194 * config/vxworks29k.exp: Likewise.
6195
2f71430b
JB
61962002-09-05 Jim Blandy <jimb@redhat.com>
6197
6198 * gdb.threads/killed.exp: Fix test failure message.
6199
7ddebc7e
KS
62002002-09-04 Keith Seitz <keiths@redhat.com>
6201
6202 * lib/mi-support.exp: Update copyright.
6203 (mi_gdb_test): Increase the priority of the expected pattern
6204 so that it matches gdb_test.
6205
0ae67eb3
KS
62062002-09-03 Keith Seitz <keiths@redhat.com>
6207
6208 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
6209 Use integer comparison instead of string comparison for testing
6210 whether binary was built.
6211
38fc42c8
JB
62122002-09-03 Jim Blandy <jimb@redhat.com>
6213
6214 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
6215
b6ff0e81
JB
62162002-08-29 Jim Blandy <jimb@redhat.com>
6217
6218 * gdb.threads/pthreads.exp: Move the portable thread compilation
6219 code into a function in lib/gdb.exp, and call that from here.
6220 * lib/gdb.exp (gdb_compile_pthreads): New function.
6221
07c98896
KS
62222002-08-29 Keith Seitz <keiths@redhat.com>
6223
6224 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
6225 expect_out so that callers can get at it.
6226
0312286c
DJ
62272002-08-23 Daniel Jacobowitz <drow@mvista.com>
6228
6229 * gdb.threads/print-threads.c: New file.
6230 * gdb.threads/print-threads.exp: New file.
6231 * gdb.threads/schedlock.c: New file.
6232 * gdb.threads/schedlock.exp: New file.
6233
dd039bc4
EZ
62342002-08-22 Elena Zannoni <ezannoni@redhat.com>
6235
6236 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
6237 not altivec.c.
6238
1f36144c
MK
62392002-08-17 Mark Kettenis <kettenis@gnu.org>
6240
6241 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
6242 targets. The problem should be fixed now.
6243
16057ec7 62442002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
6245
6246 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
6247 2002-07-24 change that removes final dots from error messages.
6248
3c1499ad
TT
62492002-08-13 Tom Tromey <tromey@redhat.com>
6250
6251 * gdb.base/readline.exp: New file.
6252
a20ce2c3
AC
62532002-08-01 Andrew Cagney <ac131313@redhat.com>
6254
6255 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
6256 supress message.
6257
db034ac5
AC
62582002-08-01 Andrew Cagney <cagney@redhat.com>
6259
6260 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
6261 CHILL_FOR_TARGET and CHILL_LIB.
6262 * configure.in (configdirs): Remove gdb.chill.
6263 * configure: Regenerate.
6264 * lib/gdb.exp: Obsolete references to chill.
6265 * gdb.fortran/types.exp: Ditto.
6266 * gdb.fortran/exprs.exp: Ditto.
6267
3e000b18
KB
62682002-07-30 Kevin Buettner <kevinb@redhat.com>
6269
6270 * gdb.base/shlib-call.exp (additional_flags): Conditionally
6271 set Irix-specific compile and link flags.
6272
28f4966b
KB
62732002-07-29 Kevin Buettner <kevinb@redhat.com>
6274
6275 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
6276 source files. The ``-o'' option doesn't work with the ``-E'' option
6277 when using the Irix compiler.
6278
46c0d5a6
DJ
62792002-07-19 Daniel Jacobowitz <drow@mvista.com>
6280
6281 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
6282 Improve support for reusing an exec file. Copy exec file
6283 to target, and run gdbserver on the target instead of on the host.
6284
eecf4bed
JB
62852002-07-18 Jim Blandy <jimb@redhat.com>
6286
0f815cdf
JB
6287 * gdb.base/ending-run.exp: Don't expect to see the program end in
6288 some orderly fashion when we're running on a real stand-alone
6289 board.
6290
eecf4bed
JB
6291 * gdb.base/interrupt.exp: Correct logic for skipping tests on
6292 targets that don't support interrupts.
6293
52d309e4
JB
62942002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
6295
6296 * gdb.base/attach.exp: Add patterns to match output from /proc-based
6297 systems.
6298 Move comments in expect statements to inside the actions, so that they
6299 don't get matched against.
6300
ff683d9e
MK
63012002-07-10 Mark Kettenis <kettenis@gnu.org>
6302
6303 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
6304 function when asleep" test.
6305
b5356753
AC
63062002-07-10 Andrew Cagney <ac131313@redhat.com>
6307
6308 * gdb.base/page.exp: Rewrite to handle problems with very long
6309 `info set' output. Update copyright.
6310
6aa4d13a
AC
63112002-06-26 Andrew Cagney <ac131313@redhat.com>
6312
6313 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
6314 gdb.threads-hp.
6315 * gdb.hp/configure: Regenerate.
6316 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
6317 * gdb.hp/gdb.threads-hp/configure: Delete file.
6318 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
6319
8cf8c2b8
AC
63202002-06-22 Andrew Cagney <ac131313@redhat.com>
6321
6322 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
6323 setlocale, bindtextdomain and textdomain.
6324
6827a8f8
JB
63252002-06-11 Jim Blandy <jimb@redhat.com>
6326
919d772c
JB
6327 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
6328 preprocessor macro information is present.
6329
6827a8f8
JB
6330 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
6331 tests.
6332
c15b0d21
MS
63332002-06-06 Michael Snyder <msnyder@redhat.com>
6334
c5984d70
MS
6335 * gdb.base/overlays.exp: Record addresses of overlay
6336 functions in TCL variables rather than in GDB variables,
6337 to avoid having GDB convert them to pointers (with loss
6338 of information).
6339
d63a86f8 6340 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 6341 default linker script changes.
c15b0d21
MS
6342 * gdb.base/long_long.exp: Add check for sizeof (long double).
6343
be26fe0d
ML
63442002-06-06 Michal Ludvig <mludvig@suse.cz>
6345
6346 * gdb.asm/asm-source.exp: Add x86-64 target.
6347 * gdb.asm/x86_64.inc: New.
d63a86f8 6348
258093ca 63492002-05-30 Michael Chastain <mec@shout.net>
258093ca 6350
4b3153f1 6351 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
6352 * gdb.c++/m-static.cc: New file.
6353 * gdb.c++/m-static.exp: New file.
6354
241264c6
MS
63552002-05-28 Michael Snyder <msnyder@redhat.com>
6356
6357 * gdb.base/call-ar-st.exp: Allow for reduced floating point
6358 precision.
6359
9bba8c8f 63602002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 6361
4b3153f1 6362 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
6363 * gdb.c++/m-data.cc: New file.
6364 * gdb.c++/m-data.exp: New file.
6365
63662002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 6367
4b3153f1 6368 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 6369 * gdb.c++/try_catch.cc: New file.
d63a86f8 6370 * gdb.c++/try_catch.exp: New file.
9bba8c8f 6371
def1b996
MC
63722002-05-27 Michael Chastain <mec@shout.net>
6373
6374 * gdb.c++/local.exp: Accept more nested types in output.
6375
522ba268
MC
63762002-05-26 Michael Chastain <mec@shout.net>
6377
6378 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
6379
277254ba
MS
63802002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
6381
6382 * lib/gdb.exp (gdb_wrapper_init): Just because
6383 gdb_wrapper_file exists, this does not mean that the file
6384 should not be rebuilt. That is what gdb_wrapper_initialized
6385 is for.
6386 (default_gdb_init): Reset gdb_wrapper_initialized.
6387
b61a8733
MS
63882002-05-23 Michael Snyder <msnyder@redhat.com>
6389
d63a86f8 6390 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
6391 the precision of the floating point test results.
6392 * gdb.base/call-rt-st.exp: Ditto.
6393
b61a8733
MS
6394 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
6395 * gdb.base/call-rt-st.exp: Ditto.
6396
56f6e910
MC
63972002-05-19 Michael Chastain <mec@shout.net>
6398
6399 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
6400
ad0b0016
EZ
64012002-05-19 Elena Zannoni <ezannoni@redhat.com>
6402
6403 * configure.in (configdirs): Add gdb.arch.
6404 * configure: Regenerate.
6405
f617d2b6
JB
64062002-05-17 Jim Blandy <jimb@redhat.com>
6407
6408 * gdb.base/completion.exp: Recognize the more detailed error
6409 messages produced by the macro expander's lexical analyzer.
6410
eac2a696
EZ
64112002-05-14 Elena Zannoni <ezannoni@redhat.com>
6412
6413 * gdb.arch/altivec-abi.c: New file.
6414 * gdb.arch/altivec-abi.exp: New file.
6415 * gdb.arch/altivec-regs.c: New file.
6416 * gdb.arch/altivec-regs.exp: New file.
6417
2fdde8f8
DJ
64182002-05-14 Daniel Jacobowitz <drow@mvista.com>
6419
6420 * gdb.base/maint.exp (maint print type): Update for new type
6421 structure.
d63a86f8 6422
e31f1a7c
EZ
64232002-05-14 Elena Zannoni <ezannoni@redhat.com>
6424
6425 * gdb.arch: New directory.
6426 * gdb.arch/configure.in: New file.
6427 * gdb.arch/configure: New file.
6428 * gdb.arch/Makefile.in: New file.
6429
db589741
CV
64302002-05-13 Corinna Vinschen <vinschen@redhat.com>
6431
6432 * gdb.asm/asm-source.exp: Add v850 as supported target.
6433 * gdb.asm/v850.inc: New file.
6434
8ce2a7dc
DJ
64352002-05-13 Daniel Jacobowitz <drow@mvista.com>
6436
6437 * gdb.c++/annota2.exp (annotate-quit): Add comment.
6438
df763c7f
DJ
64392002-05-12 Daniel Jacobowitz <drow@mvista.com>
6440
6441 * gdb.base/break.exp: Check 'break "marker2"'.
6442
377daeed
MS
64432002-05-10 Michael Snyder <msnyder@redhat.com>
6444
6445 * gdb.base/long_long.exp: Fix typo.
6446
c4b7bc2b
JB
64472002-05-10 Jim Blandy <jimb@redhat.com>
6448
ecac9a4e
JB
6449 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
6450 a bug.
6451
c4b7bc2b
JB
6452 * gdb.base/printcmds.exp (test_integer_literals_rejected):
6453 Recognize more detailed error message produced by the macro
6454 expander's lexical analyzer.
6455 * lib/gdb.exp (test_print_reject): Same.
6456
e71019a1
MK
64572002-05-09 Mark Kettenis <kettenis@gnu.org>
6458
6459 * gdb.c++/method.exp: Fix typo.
6460
fedfc8e6
MS
64612002-05-08 Michael Snyder <msnyder@redhat.com>
6462
166a1957
MS
6463 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
6464 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 6465 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
6466 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
6467 Add iftarget clause for strongarm.
d63a86f8 6468
f1c47eb2
MS
64692002-05-06 Michael Snyder <msnyder@redhat.com>
6470
cb9a9d3e
MS
6471 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
6472 (gdb_continue_to_end): Accept output from status wrapper.
6473 * gdb.base/ending-run.exp: Add case for output from status wrapper.
6474 Clean up fail messages to match pass messages.
6475
f1c47eb2
MS
6476 Enable the "needs_status_wrapper" testsuite feature.
6477 * lib/gdb.exp (gdb_wrapper_init): New procedure.
6478 (gdb_compile): Conditionally call gdb_wrapper_init.
6479 * gdb.base/a2-run.exp: Recognize output from status wrapper.
6480 * gdb.c++/method.exp: Recognize output from status wrapper.
6481
6079c749
BE
64822002-05-06 Ben Elliston <bje@redhat.com>
6483From Graydon Hoare <graydon@redhat.com>
6484
6485 * config/sid.exp: Include support for "rawsid" protocol.
6486
188baff3
JB
64872002-05-03 Jim Blandy <jimb@redhat.com>
6488
6489 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
6490 * gdb.c++/hang3.C: New file.
6491
b9c07f0f
AC
64922002-05-04 Andrew Cagney <ac131313@redhat.com>
6493
6494 * gdb.base/default.exp: Remove obsolete code.
6495 * gdb.c++/misc.exp: Ditto. Update copyright.
6496 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
6497 * gdb.base/whatis.exp: Ditto. Update copyright.
6498 * gdb.base/scope.exp: Ditto. Update copyright.
6499 * gdb.base/ptype.exp: Ditto. Update copyright.
6500 * gdb.base/printcmds.exp: Ditto. Update copyright.
6501 * gdb.base/opaque.exp: Ditto. Update copyright.
6502 * gdb.base/list.exp: Ditto.
6503 * gdb.base/funcargs.exp: Ditto. Update copyright.
6504 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
6505 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
6506 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
6507 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
6508 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
6509 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
6510
5c7a0397
MS
65112002-05-02 Michael Snyder <msnyder@redhat.com>
6512
d6dcc264 6513 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
6514 * gdb.base/long_long.exp: Add xscale target.
6515 * gdb.base/default.exp: Add xscale target.
6516
eb7f1c48
JB
65172002-05-01 Jim Blandy <jimb@redhat.com>
6518
6519 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
6520 gdb.c++/hang.exp: New test.
6521
a6befae8
FF
65222002-05-01 Fred Fish <fnf@redhat.com>
6523
6524 * gdb.base/completion.exp: Handle completions of "./Make" for
6525 more than one completion possibility, as is the case when we
6526 build and test in the source tree.
6527
0a310277
AG
65282002-04-29 Anthony Green <green@redhat.com>
6529
6530 * gdb.java/jmisc1.exp: New file.
6531 * gdb.java/jmisc2.exp: New file.
6532
6ff9af88
DJ
65332002-04-24 Daniel Jacobowitz <drow@mvista.com>
6534
6535 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
6536
96b3d632
EZ
65372002-04-23 Elena Zannoni <ezannoni@redhat.com>
6538
6539 * gdb.base/help.exp: Change 'help status' to allow for target
6540 dependent output differences.
6541
5019bb54
MC
65422002-04-22 Michael Chastain <mec@shout.net>
6543
6544 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
6545
a805a116
MC
65462002-04-22 Michael Chastain <mec@shout.net>
6547
6548 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
6549
a1706bfd
DM
65502002-04-17 David S. Miller <davem@redhat.com>
6551
6552 * gdb.asm/sparc64.inc: New file.
6553 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
6554
a73a20a2
EZ
65552002-04-19 Elena Zannoni <ezannoni@redhat.com>
6556
6557 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
6558 instruction file directly into the build tree. Clean up at end of
6559 test.
6560
ba678339
DM
65612002-04-18 David S. Miller <davem@redhat.com>
6562
6563 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
6564 handle 64-bit platforms correctly.
6565 * gdb.base/maint.exp: Likewise.
6566
b03399da
KB
65672002-04-18 Kevin Buettner <kevinb@redhat.com>
6568
6569 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
6570 ``-fpic'' when compiling files comprising a shared library, but
6571 it does need additional linker flags in order to find shared
6572 libraries at run time.
6573
e2004992
KB
65742002-04-18 Kevin Buettner <kevinb@redhat.com>
6575
6576 * gdb.base/cvexpr.c (use): New function.
6577 (main): Invoke use() on all global variables to prevent
6578 some linkers from deleting these otherwise unused symbols.
6579
d8937120
MC
65802002-04-17 Michael Chastain <mec@shout.net>
6581From David S. Miller <davem@redhat.com>
6582
6583 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
6584 handle 64-bit platforms correctly.
6585
ffd61a58
MS
65862002-04-12 Michael Snyder <msnyder@redhat.com>
6587From Jim Blandy <jimb@redhat.com>
6588 * gdb.base/foo.c (foox): Remove section attribute; the linker
6589 script can handle this instead.
6590 * gdb.base/bar.c (barx): Same.
6591 * gdb.base/baz.c (bazx): Same.
6592 * gdb.base/grbx.c (grbxx): Same.
6593
6594 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
6595 manager doesn't automatically unmap overlays unnecessarily.
6596
6b8426a6
MH
65972002-04-10 Martin M. Hunt <hunt@redhat.com>
6598
6599 * gdb.base/ending-run.exp: Fix pattern for Mips targets
6600 stepping out of main.
6601
34af4875
MC
66022002-04-09 Michael Chastain <mec@shout.net>
6603
6604 * gdb.c++/local.cc (main): Move call to marker1() inside nested
6605 scope so that the nested scope tests will make sense.
6606 * gdb.c++/local.exp: Write patterns that actually work with gcc
6607 (the HP patterns "were never known to work with gcc").
6608 Keep the old aCC patterns too.
6609
2d1676a0
DJ
66102002-04-09 Daniel Jacobowitz <drow@mvista.com>
6611
6612 * gdb.base/attach.exp: Correct target board test.
6613
3a63e3f9
MC
66142002-04-08 Michael Chastain <mec@shout.net>
6615
6616 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
6617 in a const method. Add some xfail and fail cases for configurations
6618 that do not emit the "const ...".
6619
f18dabd2
MC
66202002-04-07 Michael Chastain <mec@shout.net>
6621
6622 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
6623 Accept "A * const" and "const A * const" as type of "this".
6624 Fix spelling of getFunky throughout. Make messages uniform.
6625
0fcddd82
EZ
66262002-04-07 Elena Zannoni <ezannoni@redhat.com>
6627
6628 Work around for PR gdb/285:
6629 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
6630
16a8534a
EZ
66312002-04-07 Elena Zannoni <ezannoni@redhat.com>
6632
6633 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
6634 instructions file at run time instead of configure time.
6635 Sometimes we run the test in a directory that is not the one we
6636 configured in.
6637 * gdb.asm/configure.in: Delete creation of symlink.
6638 * gdb.asm/configure: Regenerate.
6639
24181d81
JB
66402002-04-05 J. Brobecker <brobecker@gnat.com>
6641
6642 * gdb.gdb/xfullpath.exp: New test, to exercise the new
6643 xfullpath () function.
6644
7cdb7107
DJ
66452002-04-04 Daniel Jacobowitz <drow@mvista.com>
6646
6647 * gdb.asm/Makefile.in: Correct dependencies.
6648
6649 * gdb.asm/powerpc.inc: New file.
6650 * gdb.asm/asm-source.exp: Add PowerPC.
6651 * gdb.asm/configure.in: Likewise.
6652 * gdb.asm/configure: Regenerated.
6653
a7d17088
DJ
66542002-04-04 Daniel Jacobowitz <drow@mvista.com>
6655
6656 * gdb.base/relocate.exp: New file.
6657 * gdb.base/relocate.c: New file.
6658
cd721503
FF
66592002-04-04 Fred Fish <fnf@redhat.com>
6660
6661 * gdb.base/step-test.exp: Update comment regarding stopping in
6662 memcpy/bcopy calls inserted as part of the compiler runtime.
6663
b22ad7a7
MS
66642002-04-04 Michael Snyder <msnyder@redhat.com>
6665
6666 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
6667
5f279fa6
DJ
66682002-04-03 Daniel Jacobowitz <drow@mvista.com>
6669
6670 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
6671 (gdb_expect): Remove $notransfer hack.
6672
dd0fd3ce
DJ
66732002-04-02 Daniel Jacobowitz <drow@mvista.com>
6674
6675 * gdb.c++/classes.exp ("calling method for small class"): Match
6676 updated register output.
6677
1e50cda1
DJ
66782002-03-30 Daniel Jacobowitz <drow@mvista.com>
6679
6680 Fix PR gdb/452
6681 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
6682 when finished. Make gdb_file_cmd send "exec-file" when
6683 appropriate.
6684
24015922
DJ
66852002-03-30 Daniel Jacobowitz <drow@mvista.com>
6686
6687 * gdb.base/attach.exp: Remove extra setup_xfail.
6688
dd7dfd64
MS
66892002-03-26 Michael Snyder <msnyder@redhat.com>
6690
6691 * gdb.base/default.exp: Add tests for dump, append, and restore.
6692 * gdb.base/help.exp: Add tests for dump, append, and restore.
6693 * gdb.base/dump.exp: New file, test dump, append and restore.
6694 * gdb.base/dump.c: New file.
6695
48b2f8d7
MS
66962002-03-27 Michael Snyder <msnyder@redhat.com>
6697
d63a86f8 6698 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
6699 clean-ups in help messages.
6700
05b4d525
FF
67012002-03-26 Fred Fish <fnf@redhat.com>
6702
6703 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
6704 have debugging info for those functions and the compiler uses them
6705 internally to copy structs around.
6706
d7679631
FF
67072002-03-26 Fred Fish <fnf@redhat.com>
6708
6709 * gdb.base/list.exp: Revert the change made yesterday and add note
6710 about why we don't list the default lines for remote targets.
6711
523ac3f9
MS
67122002-03-25 Michael Snyder <msnyder@redhat.com>
6713
6714 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
6715
754b2b8d
FF
67162002-03-25 Fred Fish <fnf@redhat.com>
6717
6718 * gdb.base/list.exp: This test works on remote targets so remove
6719 the short circuit for remote targets. Update copyright.
6720
33c3e192
FF
67212002-03-25 Fred Fish <fnf@redhat.com>
6722
6723 * gdb.base/attach.exp: Fix logic error that was suppressing this
6724 test for all non hppa*-*-hpux* targets, instead of the hp target.
6725 Move comments closer to the suppression point. Also now need to
6726 check that we are running natively.
6727
d43e73ee
MS
67282002-03-22 Michael Snyder <msnyder@redhat.com>
6729
882c8f02
MS
6730 * gdb.base/default.exp: Add test for gcore. Update copyright.
6731 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 6732
04c12f60
FF
67332002-03-06 Fred Fish <fnf@redhat.com>
6734
6735 * gdb.base/funcargs.c: Remove extraneous ';' character.
6736 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
6737
b43df995
MC
67382002-03-04 Michael Chastain <mec@shout.net>
6739
6740 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
6741 accommodate gcc v3 function signature.
6742 * gdb.mi/mi0-var-cmd-exp: Ditto.
6743
92362027
AC
67442002-02-24 Andrew Cagney <ac131313@redhat.com>
6745
6746 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
6747 ``GNU/Linux'' or ``Linux kernel''
6748 * testsuite/gdb.threads/pthreads.c: Ditto.
6749
258ad32d
MC
67502002-02-24 Michael Chastain <mec@shout.net>
6751
6752 * gdb.threads/pthreads.c (thread1): Add a return statement.
6753 (thread2): Likewise.
6754 (foo): Likewise.
6755
04c3b3d4
MC
67562002-02-23 Michael Chastain <mec@shout.net>
6757
6758 * gdb.threads/linux-dp.c (philosopher): Add a return statement
6759 to placate gcc.
6760
5a2a0a20
MC
67612002-02-23 Michael Chastain <mec@shout.net>
6762
6763 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
6764 test "ptype bint". The test passes on all my stabs configurations.
6765
a640f7fc
JB
67662002-02-21 Jim Blandy <jimb@redhat.com>
6767
27924826
JB
6768 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
6769 filename at a time, and watch for the ones we want to see.
6770
a640f7fc
JB
6771 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
6772 types of pointers to prototyped functions.
6773
edcc8c75
AC
67742002-02-20 Andrew Cagney <ac131313@redhat.com>
6775
6776 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
6777 signed, unsigned and straight char.
6778 (padding_char, padding_short, padding_int, padding_long,
6779 padding_long_long, padding_float, padding_double,
6780 padding_long_double): New global variables.
6781 (fill, fill_structs): New functions.
6782
6783 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
6784 for correctly sized writes. Update copyright.
6785 (get_valueof): New procedure.
6786 (get_sizeof): Call get_valueof.
6787 (check_valueof): New procedure.
6788 (check_padding): New procedure.
6789
ac57ea44
MC
67902002-02-20 Michael Chastain <mec@shout.net>
6791
6792 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
6793 to setup_xfail. Document some of the remaining calls.
6794
7a10c941
MC
67952002-02-18 Michael Chastain <mec@shout.net>
6796
6797 * gdb.c++/userdef.exp: Update copyright year.
6798
fb8acdcc
DJ
67992002-02-18 Daniel Jacobowitz <drow@mvista.com>
6800
6801 * gdb.c++/userdef.exp: Test overloaded operators properly.
6802 Remove xfails.
6803
fda6ae12
MS
68042002-02-14 Michael Snyder <msnyder@redhat.com>
6805
6806 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
6807
676a0442
DJ
68082002-02-14 Daniel Jacobowitz <drow@mvista.com>
6809
6810 * gdb.base/a2-run.exp: Check for a remote target properly.
6811 * gdb.base/annota1.exp: Likewise.
6812 * gdb.base/list.exp: Likewise.
6813 * gdb.base/reread.exp: Likewise.
6814 * gdb.base/scope.exp: Likewise.
6815 * gdb.base/shlib-call.exp: Likewise.
6816 * gdb.base/term.exp: Likewise.
6817 * gdb.c++/annota2.exp: Likewise.
6818
78b4f468
RE
68192002-02-13 Richard Earnshaw <rearnsha@arm.com>
6820
6821 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
6822
9a81ba51
MC
68232002-02-10 Michael Chastain <mec@shout.net>
6824
6825 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
6826 (call_after_alloca): Ditto.
6827
004af6c7
DJ
68282002-02-10 Daniel Jacobowitz <drow@mvista.com>
6829
6830 * gdb.base/ending-run.exp: Guard "cont" test with
6831 gdb_skip_stdio_test.
6832
37225f62
JB
68332002-02-06 Jim Blandy <jimb@redhat.com>
6834
6835 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
6836 from here...
6837 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
6838 To here. Disable this test on non-HP platforms. Add big comment.
6839
fe6fdd96
MS
68402002-02-04 Michael Snyder <msnyder@redhat.com>
6841
6842 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
6843 other than d10v and m32r.
6844
036fad3f
RE
68452002-02-02 Richard Earnshaw <rearnsha@arm.com>
6846
6847 * gdb.base/default.exp: Rewrite test patterns to reduce time
6848 taken to match them.
6849
7148ab62
DJ
68502002-01-30 Daniel Jacobowitz <drow@mvista.com>
6851
6852 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
6853 Allow a start function above main.
6854 * gdb.threads/linux-dp.exp: Fix copyright date.
6855
396cc255
DJ
68562002-01-30 Daniel Jacobowitz <drow@mvista.com>
6857
6858 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
6859 (check_philosopher_stack): Check for manager thread before checking
6860 for a just-starting thread.
6861
f038d31b
DJ
68622002-01-30 Daniel Jacobowitz <drow@mvista.com>
6863
6864 From Neil Booth <neil@daikokuya.demon.co.uk>:
6865 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
6866 warnings.
6867
b3ff9d9a
FF
68682002-01-21 Fred Fish <fnf@redhat.com>
6869
6870 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
6871 not caller.
6872
39ad761d
JB
68732002-01-21 Jim Blandy <jimb@redhat.com>
6874
6875 * gdb.base/reread.exp: Check that GDB properly re-reads the
6876 executable file when it changes while no inferior is running.
6877
aaf320fa
FF
68782002-01-21 Fred Fish <fnf@redhat.com>
6879
6880 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
6881 optionally accept the "shlib events" variation.
6882
808a31f5
JB
68832002-01-21 Jim Blandy <jimb@redhat.com>
6884
6885 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
6886 call `fflush' after every `printf', so that the output is produced
6887 at predictable points, regardless of whatever buffering does (or
6888 doesn't) take place.
6889 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
6890 at different points.
6891
4420d5e2
DJ
68922002-01-20 Daniel Jacobowitz <drow@mvista.com>
6893
6894 * gdb.c++/inherit.exp: Update copyright years.
6895 * gdb.c++/method.exp: Likewise.
6896
3e36a0f4
DJ
68972002-01-20 Daniel Jacobowitz <drow@mvista.com>
6898
6899 * gdb.c++/classes.exp: Update for improved v3 support and skipping
6900 artificial methods/arguments.
6901 * gdb.c++/derivation.exp: Likewise.
6902 * gdb.c++/inherit.exp: Likewise.
6903 * gdb.c++/method.exp: Likewise.
6904 * gdb.c++/virtfunc.exp: Likewise.
6905
b4ceaee6
AC
69062002-01-18 Andrew Cagney <ac131313@redhat.com>
6907
6908 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
6909 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
6910 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
6911 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
6912 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
6913 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
6914
ecace851
JB
69152002-01-17 Jim Blandy <jimb@redhat.com>
6916
6917 * gdb.asm/asm-source.exp (info symbol): Take another shot at
6918 anchoring the pattern matching the entry point symbol's name.
6919
375fc983
AC
69202002-01-17 Andrew Cagney <ac131313@redhat.com>
6921
6922 * gdb.base/maint.exp: Update ``maint internal-error'' to match
6923 continue/quit query. Update copyright.
6924
fe6fdd96
MS
69252002-01-14 Michael Snyder <msnyder@redhat.com>
6926
6927 * gdb.base/gcore.exp: Remove extra debugging output.
6928
e017c81f
DJ
69292002-01-13 Daniel Jacobowitz <drow@mvista.com>
6930
6931 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
6932 for slightly dubious v2 mangled string.
6933
37ab3bf8
DJ
69342002-01-13 Daniel Jacobowitz <drow@mvista.com>
6935
6936 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
6937
1bc05c3a 69382002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 6939
1bc05c3a 6940 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 6941
1bc05c3a
JM
6942 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
6943 constructors.
6944 * gdb.c++/derivation.exp: Likewise.
6945 * gdb.c++/templates.exp: Likewise.
6946 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 6947
1bc05c3a
JM
69482002-01-10 Michael Snyder <msnyder@redhat.com>
6949
6950 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 6951
a911c360
MS
69522002-01-08 Michael Snyder <msnyder@redhat.com>
6953
6954 * gdb.base/gcore.exp: New test for generate-core-file command.
6955 * gdb.base/gcore.c: Testcase for above.
6956 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
6957
ea2119ec
JM
69582002-01-08 Jason Merrill <jason@redhat.com>
6959
6960 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
6961
68203136
FF
69622002-01-07 Fred Fish <fnf@redhat.com>
6963
6964 * gdb.c++/overload.exp: Remove unconditional xfails for:
6965 print foo_instance1.overloadargs(1)
6966 print foo_instance1.overloadargs(1, 2)
6967 print foo_instance1.overloadargs(1, 2, 3)
6968 print foo_instance1.overloadargs(1, 2, 3, 4)
6969 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
6970 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
6971 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
6972 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
6973 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
6974 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
6975 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
6976 print foo_instance1.overload1arg()
6977 print foo_instance1.overload1arg((char)arg2)
6978 print foo_instance1.overload1arg((signed char)arg3)
6979 print foo_instance1.overload1arg((unsigned char)arg4)
6980 print foo_instance1.overload1arg((int)arg7)
6981 print foo_instance1.overload1arg((unsigned int)arg8)
6982 print foo_instance1.overload1arg((float)arg11)
6983 print foo_instance1.overload1arg((double)arg12)
d63a86f8 6984
21b9b5b1
MS
69852002-01-07 Michael Snyder <msnyder@redhat.com>
6986
6987 * gdb.base/huge.exp: New test. Print a very large target data object.
6988 (skip_huge_test): New test variable. Define if you want to skip this
6989 test. The test reads an 8 megabyte data object from the target, so it
6990 might be very time consuming on remote targets with a slow connection.
6991 * gdb.base/huge.c: New file. Test case for above.
6992
725f922e
FF
69932002-01-07 Fred Fish <fnf@redhat.com>
6994
6995 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
6996 g_instance.bfoo, and g_instance.cfoo.
6997
634d57ec
JL
6998Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
6999
f286b2c3
JL
7000 * gdb.base/break.c (multi_line_if_conditional): New function.
7001 (multi_ilne_while_conditional): Likewise.
7002 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
7003 IF or WHILE condition puts the breakpoint at the start of
7004 the condition.
7005
634d57ec
JL
7006 * gdb.base/selftest.exp (backtrace through signal handler): Remove
7007 hppa*-*-hpux* expected failure.
7008 * gdb.base/structs.exp (do_function_calls): Similarly.
7009
7010 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
7011 watchpoints.
7012
9fbfe2dc
AC
70132002-01-06 Andrew Cagney <ac131313@redhat.com>
7014
7015 Fix PR gdb/66.
7016 * gdb.base/structs.exp: Replace skip for a29k with skip for
7017 gdb,cannot_call_functions.
7018 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
7019 * gdb.base/callfuncs.exp: Ditto.
7020 * gdb.base/call-rt-st.exp: Ditto.
7021 * gdb.base/call-strs.exp: Ditto.
7022 * gdb.base/callfwmall.exp: Ditto.
7023 * gdb.base/scope.exp: Obsolete xfail a29k.
7024 * gdb.c++/misc.exp: Ditto.
7025 * gdb.c++/cplusfuncs.exp: Ditto.
7026 * gdb.base/ptype.exp: Ditto.
7027 * gdb.base/printcmds.exp: Ditto.
7028 * gdb.base/opaque.exp: Ditto.
7029 * gdb.base/list.exp: Ditto.
7030 * gdb.base/funcargs.exp: Ditto.
7031 * gdb.base/default.exp: Ditto.
7032
8ddad156
MS
70332002-01-04 Michael Snyder <msnyder@redhat.com>
7034
ca4976a6 7035 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
7036 * gdb.base/maint.exp: Add tests for maint info sections options.
7037
1b074332
JL
7038Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
7039
7040 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
7041
7d159115
CV
70422001-12-20 Corinna Vinschen <vinschen@redhat.com>
7043
7044 * gdb.asm/arm.inc: New file.
7045 * gdb.asm/asm-source.exp: Add arm targets.
7046 * gdb.asm/configure.in: Ditto.
7047 * gdb.asm/configure: Recreated from configure.in.
7048
8fb87725
JL
7049Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
7050
afabe08c
JL
7051 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
7052 with HP's compiler.
7053 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
7054 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
7055 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
7056 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
7057
7058 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
7059 either HP's compilers or GCC.
7060
db521deb
JL
7061 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
7062 a SIGBUS or SIGSEGV.
7063
7064 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
7065
7066 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
7067 can be compiled with either HP's compiler or GCC.
7068
cfa88ab7
JL
7069 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
7070 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
7071 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
7072
ca344dff
JL
7073 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
7074 to match current gdb output. Update due to using auto-solib-limit
7075 for limiting instead of overloading auto-solib-add.
7076 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
7077 test program.
7078
3f3c6e55 7079 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
7080 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
7081 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
7082 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
7083 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
7084 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
7085 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
7086 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
7087 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
7088 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
7089 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
7090 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
7091 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 7092
8fb87725
JL
7093 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
7094 a SIGTRAP to the inferior.
7095
cf599fa7
CV
70962001-12-19 Corinna Vinschen <vinschen@redhat.com>
7097
7098 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
7099 Substitute call to target_link by call to gdb_compile.
7100
2cd045cd
JL
7101Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
7102
7103 * gdb.base/break.exp: Fix HP specific search string when testing
7104 backtracing in a called function.
7105
d63a86f8 7106 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
7107 compiling the test with HP's compilers.
7108 * gdb.base/volatile.exp: Similarly.
7109
99ebe9ac
JB
71102001-12-19 Jim Blandy <jimb@redhat.com>
7111
7112 * gdb.base/printcmds.exp: Expect the null character to be printed
7113 as '\0', and the '\013' to be printed as '\v'.
7114 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
7115 * gdb.base/setvar.exp: Same.
7116
b9891b29
JB
71172001-12-17 Jim Blandy <jimb@redhat.com>
7118
0eba65ab
JB
7119 * gdb.base/completion.exp: Rather than completing very long
7120 filenames, which can make the readline library produce output we
7121 don't recognize, cd to the directory first, and then complete
7122 using nice, short relative paths.
7123
6970b5b1
JB
7124 * gdb.base/completion.exp: On some systems, there is, in fact, a
7125 variable named `b' in scope, since GDB treats all static
7126 variables as being in scope. So use `no_var_named_this'
7127 instead of `b'.
7128
b9891b29
JB
7129 * gdb.base/corefile.exp: Recognize the message saying that GDB
7130 can't find the core file's registers as a failure.
7131
e6ccd35f
JSC
71322001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
7133
7134 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
7135 test expect string more specific.
7136
105ba819
CV
71372001-12-13 Corinna Vinschen <vinschen@redhat.com>
7138
7139 * gdb.asm/asm-source.exp: Add support for xstormy16.
7140 * gdb.asm/configure.in: Ditto.
7141 * gdb.asm/configure: Rebuild.
7142 * gdb.asm/xstormy16.inc: New file.
7143
e9e79dd9
FF
71442001-12-10 Fred Fish <fnf@redhat.com>
7145
7146 * gdb.base/maint.exp: Update to match changes in type dumping code.
7147
347dc97d
JB
71482001-12-10 Jim Blandy <jimb@redhat.com>
7149
7150 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
7151 matching the entry point symbol's name at the beginning of the
7152 line.
7153
5178b9d6
DJ
71542001-12-07 Daniel Jacobowitz <drow@mvista.com>
7155
7156 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
7157 gdb.c++/inherit.exp, gdb.c++/method.exp,
7158 gdb.c++/namespace.exp, gdb.c++/templates.exp,
7159 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
7160 and class layout support.
7161
af890c52
DJ
71622001-12-07 Daniel Jacobowitz <drow@mvista.com>
7163
7164 * gdb.c++/classes.exp: Add test for static member function.
7165 * gdb.c++/misc.cc: Add class with static member function.
7166
7a345fb3
JB
71672001-12-07 Jim Blandy <jimb@redhat.com>
7168
f2e54a80 7169 If GDB says it can't find the struct the function returned, report
8032bf31
JB
7170 those tests as `unsupported'.
7171 * gdb.base/call-rt-st.exp (print_struct_call): New function.
7172 Rewrite subsequent tests to use it.
7173
7174 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
7175 those tests as `unsupported'.
7176 * gdb.base/structs.exp (call_struct_func): New function.
7177 (do_function_calls): Use call_struct_func to call the functions
7178 returning structs.
7179
0bc69509
JB
7180 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
7181 whether functions are prototyped or not, so we can't possibly pass
7182 arguments to t_float_values2 properly.
7183
7a345fb3
JB
7184 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
7185 value of `timeout' for targets other than the mips*tx39-*.
7186
edb6ede1
MS
71872001-12-06 Michael Snyder <msnyder@redhat.com>
7188
d63a86f8 7189 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
7190 and detect whether the start symbol has a leading underscore.
7191
2d842f13
JB
71922001-12-04 Jim Blandy <jimb@redhat.com>
7193
7194 * gdb.base/completion.exp: Clarify indentation.
7195
68550daf
JB
71962001-12-03 Jim Blandy <jimb@redhat.com>
7197
7198 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
7199 variables on the S/390, not `.word'.
7200
cd5195a8
JB
72012001-11-30 Jim Blandy <jimb@redhat.com>
7202
7203 Add assembly-source tests for s390-ibm-linux.
7204 * gdb.asm/s390.inc: New file.
7205 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
7206 the S/390 architecture.
7207 * gdb.asm/configure: Regenerated.
7208
ca9efc90
MS
72092001-11-30 Michael Snyder <msnyder@redhat.com>
7210
7211 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
7212 next, info source, info sources, info line, global and static
7213 variables, and static functions.
7214 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
7215 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
7216 * gdb.asm/asmsrc1.s: Add a static function and some variables.
7217 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
7218 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
7219 (gdbasm_leave): Restore frame pointer.
7220 (gdbasm_startup): Copy stack set-up from crt0.S.
7221
d0e66976
FN
72222001-11-26 Fernando Nasser <fnasser@redhat.com>
7223
7224 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
7225 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
7226 to a local (non-static) variable. Copy tstruct.a to a static buffer
7227 and return a pointer to that buffer.
7228 * gdb.base/callfwmall.c (t_structs_a): Ditto.
7229
e2334072
MK
72302001-11-24 Mark Kettenis <kettenis@gnu.org>
7231
7232 * gdb.asm/configure.in: Fix recognition of ix86 target.
7233 * gdb.asm/configure: Regenerate.
7234
756caa3d
MS
72352001-11-21 Michael Snyder <msnyder@redhat.com>
7236
7237 * gdb.asm/sparc.inc: New file.
7238 * gdb.asm/asm-source.exp: Recognize sparc target.
7239 * gdb.asm/configure.in: Recognize sparc target.
7240 * gdb.asm/configure: Regenerate.
d63a86f8 7241
9a4d72d5
MS
72422001-11-21 Michael Snyder <msnyder@redhat.com>
7243
7244 * gdb.asm/m32r.inc: New file.
7245 * gdb.asm/asm-source.exp: Recognize m32r target.
7246 * gdb.asm/configure.in: Recognize m32r target.
7247 * gdb.asm/configure: Regenerate.
7248
a773d1cd
MS
72492001-11-20 Michael Snyder <msnyder@redhat.com>
7250
017ac23d
MS
7251 * gdb.asm/i386.inc: New file.
7252 * gdb.asm/asm-source.exp: Recognize ix86 target.
7253 * gdb.asm/configure.in: Recognize ix86 target.
7254 * gdb.asm/configure: Regenerate.
7255
a773d1cd
MS
7256 * gdb.c++/namespace.exp: Fix quotes in output messages.
7257
bb632afb
MS
72582001-11-14 Michael Snyder <msnyder@redhat.com>
7259
25d559ca 7260 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
7261 qualifier in a type cast expression, to designate an address
7262 in the instruction space (Harvard architecture).
7263
4749e309
MS
72642001-11-13 Michael Snyder <msnyder@redhat.com>
7265
7266 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
7267 Tests for expressions using 'const' and 'volatile'.
7268
25050984
CV
72692001-11-13 Corinna Vinschen <vinschen@redhat.com>
7270
7271 * gdb.asm/asm-sources.exp: Allow defining linker flags.
7272
1902c51f
DJ
72732001-11-12 Daniel Jacobowitz <drow@mvista.com>
7274
7275 * lib/mi-support.exp (mi_run_to_helper): Move comments
7276 outside of gdb_expect.
7277
dcf95b47
DJ
72782001-11-11 Daniel Jacobowitz <drow@mvista.com>
7279
7280 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
7281 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
7282 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
7283 mi0_run_to): New functions.
7284 * gdb.mi/mi-simplerun.exp: Use them.
7285 * gdb.mi/mi0-simplerun.exp: Likewise.
7286 * gdb.mi/mi-var-cmd.exp: Likewise.
7287 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 7288
45b074e1
AC
72892001-11-10 Andrew Cagney <ac131313@redhat.com>
7290
7291 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
7292 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
7293
bf50d346
AC
72942001-11-09 Andrew Cagney <ac131313@redhat.com>
7295
7296 * gdb.base/restore.exp: Include $expected value in restored test
7297 message.
7298
9383332c
AC
72992001-11-09 Andrew Cagney <ac131313@redhat.com>
7300
7301 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
7302 implemented.
7303
db62520a
MS
73042001-11-08 Michael Snyder <msnyder@redhat.com>
7305
7306 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
7307 Add pass/fail message for stop at breakpoint in call dummy function.
7308
b5703437
MS
73092001-11-07 Michael Snyder <msnyder@redhat.com>
7310
d63a86f8
RM
7311 * gdb.c++/templates.exp (test_template_breakpoints):
7312 If we get an overload menu, but it does not match what
760f6330 7313 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
7314 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
7315 making the whitespace optional. Argument for "new" may be
7316 "unsigned" as well as "unsigned int/long".
d63a86f8 7317 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
7318 making the whitespace optional. Also replace "(void) with
7319 "((void|)), making the keyword "void" optional.
d63a86f8 7320 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
7321 making the whitespace optional. Also replace "(void) with
7322 "((void|)), making the keyword "void" optional.
3bf40917
MS
7323 * gdb.base/callfuncs.c (t_float_values): This function must
7324 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 7325 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
7326 can be tested against both cases. Usually one case involves
7327 promotion of float to double, while the other does not.
7328 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
7329 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
7330 includes a stack frame for "start".
7331
c8ab4e6d
JB
73322001-11-05 Jim Blandy <jimb@redhat.com>
7333
7334 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
7335 pointers are 32 bits long, and that offsets of relocs are always
7336 stored in the data (REL-style), and not in the reloc entry itself
7337 (RELA-style).
7338 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
7339 stabs.
7340
3f08ced9
MS
73412001-11-01 Michael Snyder <msnyder@redhat.com>
7342
7343 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
7344 and regular expression operators by using quoting.
7345
cbfa24cd
MS
73462001-10-31 Michael Snyder <msnyder@redhat.com>
7347
7348 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
7349 depending on what the symbol table contains.
7350 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
7351 the output of the ptype command. Similarly, accept both "const &"
7352 and "const&".
7353
aaa68313
CV
73542001-10-31 Corinna Vinschen <vinschen@redhat.com>
7355
7356 * gdb.base/miscexprs.c (main): Add usage of preprocessor
7357 symbol `STORAGE' to allow to choose the storage class of
7358 the local datastructures.
7359 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
7360 compiler directive.
7361
91740388
MS
73622001-10-30 Michael Snyder <msnyder@redhat.com>
7363
7364 * gdb.base/jump.exp: Allow it to run for all targets.
7365
1b7c05e7
CV
73662001-10-29 Corinna Vinschen <vinschen@redhat.com>
7367
7368 * gdb.base/call-ar-st.c (print_double_array): Match for loop
7369 with new double_array size.
7370 (main): Change storage class of all local variables to static.
7371 Reduce size of double_array to 9.
7372 * gdb.base/call-ar-st.exp: Increase timeout value.
7373 Change expected output for double array to match new size in
7374 call-ar-st.c.
7375
36a22261
CV
73762001-10-29 Corinna Vinschen <vinschen@redhat.com>
7377
7378 * gdb.base/ending-run.exp: Create identical output when passing
7379 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 7380 Stormy16 target.
36a22261 7381
92b8ae91
MK
73822001-10-28 Mark Kettenis <kettenis@gnu.org>
7383
7384 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
7385 that we catch the expected failure under Linux/x86.
7386
cb135b83
OF
73872001-10-29 Orjan Friberg <orjanf@axis.com>
7388
7389 * gdb.base/setvar.exp: Escape curly braces.
7390 * gdb.stabs/weird.exp: Ditto.
7391
6884aa54
DJ
73922001-10-27 Daniel Jacobowitz <drow@mvista.com>
7393
7394 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
7395 * gdm.mi/mi0-hack-cli.exp: Likewise.
7396
0398c9aa
AC
73972001-10-25 Andrew Cagney <ac131313@redhat.com>
7398
7399 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
7400 messages.
7401
d20bf2e8
AC
74022001-10-21 Andrew Cagney <ac131313@redhat.com>
7403
7404 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
7405 checking MI enabled.
7406
03dd63aa
CV
74072001-10-09 Corinna Vinschen <vinschen@redhat.com>
7408
7409 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
7410
1d9d99f3
FCE
74112001-10-04 Frank Ch. Eigler <fche@redhat.com>
7412
7413 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
7414 if gdb child process crashes, just signal an error.
7415
838ae6c4
JB
74162001-10-02 Jim Blandy <jimb@redhat.com>
7417
7418 * lib/gdb.exp (test_xfail_format): Simplify.
7419
7420 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
7421 front of the variable name `format'. Simplify `if'.
7422
8f0cbc1c
DJ
74232001-10-01 Daniel Jacobowitz <drow@mvista.com>
7424
7425 * gdb.threads/pthreads.exp: Wait for output and delay
7426 before sending ^C.
7427
1f08dafd
DJ
74282001-10-01 Daniel Jacobowitz <drow@mvista.com>
7429
7430 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
7431 some incorrect output instead of timing out.
7432 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
7433
674f90ff
CV
74342001-09-28 Corinna Vinschen <vinschen@redhat.com>
7435
7436 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
7437 check to allow additional `int'.
7438
9b284272
DJ
74392001-09-27 Daniel Jacobowitz <drow@mvista.com>
7440
7441 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
7442 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
7443
b55a4771
MS
74442001-09-27 Michael Snyder <msnyder@redhat.com>
7445
7446 * lib/gdb.exp (test_debug_format): New proc.
7447 (setup_xfail_format): Use new proc test_debug_format.
7448 * gdb.base/constvars.exp (local_compiler_xfail_check): New
7449 proc; use new service proc test_debug_format.
7450 Replace all other "gcc_compiled" tests with this test.
7451 * gdb.base/volatile.exp (local_compiler_xfail_check): New
7452 proc; use new service proc test_debug_format.
7453 Replace all other "gcc_compiled" tests with this test.
7454
74552001-09-27 Michael Snyder <msnyder@redhat.com>
7456
7457 * gdb.base/cvexpr.exp: New file.
7458 * gdb.base/cvexpr.c: New file
7459 Test for expressions using const and volatile keywords.
7460
4e6667ac
CV
74612001-09-26 Corinna Vinschen <vinschen@redhat.com>
7462
7463 * gdb.base/constvars.exp: Check for different orders of keywords
7464 and additional "int" strings in output.
7465
4f337972
AC
74662001-09-22 Andrew Cagney <ac131313@redhat.com>
7467
7468 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
7469 responses from "help maint".
7470
2015650d
FCE
74712001-09-19 Frank Ch. Eigler <fche@redhat.com>
7472
7473 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
7474 to localhost:NNN instead of :NNN, in case Xvfb is listening
7475 only on TCP.
7476
f3bcedc1
CV
74772001-09-19 Corinna Vinschen <vinschen@redhat.com>
7478
7479 * gdb.base/recurse.exp: When checking leaving the watchpoint
7480 scope, recognize when gdb is in function's epilogue and pass.
7481
6b819c92
KS
74822001-09-18 Keith Seitz <keiths@redhat.com>
7483
7484 * lib/insight-support.exp (_gdbtk_export_target_info): Add
7485 support for running tests against sid targets.
7486 (gdbtk_done): Ditto.
7487
a10c9419
CV
74882001-09-18 Corinna Vinschen <vinschen@redhat.com>
7489
7490 * gdb.base/ending-run.c (main): Set stdout buffersize
7491 to the same reasonable value for any target.
7492 * gdb.base/ending-run.exp: Add a regular expression
7493 to make testsuite happy on Sanyo Stormy16 target.
7494
739d0d99
CV
74952001-09-17 Corinna Vinschen <vinschen@redhat.com>
7496
7497 * gdb.base/display.c (do_loops): Add float variable `f'.
7498 Increment f in loop.
7499 * gdb.base/display.exp: Increment timeout by 60 seconds.
7500 Change float display test to use variable `f'.
7501
1b8947f0
JB
75022001-09-17 Jim Blandy <jimb@redhat.com>
7503
7504 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
7505 overflowing the limited breakpoint tables on some ROM monitors
7506 (like the ROM68K).
7507
9890ac81
FCE
75082001-09-15 Frank Ch. Eigler <fche@redhat.com>
7509
7510 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
7511 the "-ac" (disable access control) flag.
7512
6db765ea
JH
75132001-08-30 Jeff Holcomb <jeffh@redhat.com>
7514
7515 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
7516 ints.
7517
4c32cc04
KS
75182001-08-30 Keith Seitz <keiths@redhat.com>
7519
7520 * lib/gdb.exp: Move all insight-related functionality into
7521 separate file.
7522 * lib/insight-support.exp: New file.
7523
8d6e6f81
FCE
75242001-08-29 Frank Ch. Eigler <fche@redhat.com>
7525
7526 * config/sid.exp (sid_start): Never set sid verbosity; disable
7527 expect_background {} that consumed its stdout; tolerate </dev/null.
7528 Attempt to set endianness override in "sid" protocol mode. Cleanup.
7529
6a90e1d0
AC
75302001-08-18 Andrew Cagney <ac131313@redhat.com>
7531
7532 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
7533 CLI jump command to start it.
7534 (mi_run_to_main): Fail immediatly when unexpected output.
7535
1759b3c3
AC
75362001-08-18 Andrew Cagney <ac131313@redhat.com>
7537
7538 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
7539 beginning of function. Fix PR gdb/191.
7540
61d11d80
FCE
75412001-08-16 Frank Ch. Eigler <fche@redhat.com>
7542
7543 * config/sid.exp (sid_start): Don't warn if we cannot figure out
7544 what to force sid endianness to.
7545
942a4df2
KS
75462001-08-15 Keith Seitz <keiths@redhat.com>
7547
7548 * lib/gdb.exp (gdbtk_start): Don't set environment
7549 variables for TCL_LIBRARY and friends. Insight will
7550 now figure these out for itself.
7551
0521c418
MS
75522001-08-02 Michael Snyder <msnyder@redhat.com>
7553
7554 * gdb.base/completion.exp: Remove the symbol "a64l" from
7555 the expect string; this is target-specific, and not related
7556 to what is being tested.
7557
74a9a58a
DB
75582001-08-02 Dave Brolley <brolley@redhat.com>
7559
7560 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
7561
c70819fa
MS
75622001-07-25 Michael Snyder <msnyder@redhat.com>
7563
c2b8fa57
MS
7564 * gdb.base/consecutive.exp: New file. Test stepping over
7565 breakpoints on consecutive instructions.
7566 * gdb.base/consecutive.c: New file.
7567
c70819fa
MS
7568 * gdb.base/call-rt-st.exp: Use double-backslash to quote
7569 curly braces in regular expressions.
7570
2b1a1355
MS
75712001-07-25 Michael Snyder <msnyder@redhat.com>
7572
7573 * gdb.base/ending-run.exp: Accept "Program exited normally" as
7574 legitimate output from stepping out of main.
7575
413eca6f
KS
75762001-07-22 Keith Seitz <keiths@redhat.com>
7577
7578 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
7579 the empty string, do not run the tests.
7580
7e5a9322
SC
75812001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7582
7583 * gdb.base/long_long.exp: Detect size of pointer. Take into
7584 account 2-byte pointers when testing for p/a results.
7585
de58f10f
SC
75862001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7587
d63a86f8 7588 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
7589 and defined to 1K for m68hc11.
7590 (random_data): Reduce table to 1K for embedded platforms (68hc11).
7591 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
7592 (sizeof_random_data): New variable to tell the size of the data table;
7593 don't test past this size; always run to main.
7594
d6f5fea1
SC
75952001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7596
7597 * gdb.base/return2.exp: return of long long and double fails for
7598 68HC11; don't execute these tests on that platform.
7599 * gdb.base/return.exp: Return of a double fails for 68hc11.
7600
c477543d
SC
76012001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7602
7603 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
7604 tests that print a float.
7605 * call-rt-st.exp: Likewise.
7606
63cf1c79
MK
76072001-07-12 Mark Kettenis <kettenis@gnu.org>
7608
7609 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
7610 running this test on Linux.
7611
112f9ab5
MC
76122001-06-24 Michael Chastain <chastain@redhat.com>
7613
7614 * gdb.base/arithmet.exp: Remove some tests to make all test names
7615 unique.
7616
4970cb0f
MS
76172001-07-03 Michael Snyder <msnyder@redhat.com>
7618
7619 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
7620 the output of the ptype command.
7621
d85da69f
MS
76222001-07-02 Michael Snyder <msnyder@redhat.com>
7623
4c8a82de
MS
7624 * gdb.base/completion.exp: Don't assume that break.c is the only
7625 source file that may contain functions named "marker".
d85da69f
MS
7626 * gdb.base/corefile.exp: Quote the curly braces in regexp.
7627
8afc772b
AC
76282001-06-28 Andrew Cagney <ac131313@redhat.com>
7629
7630 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
7631 of files to delete.
7632
7633 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
7634 * gdb.disasm/h8300s.exp: New file.
7635 gdb.disasm/h8300s.s: Likewise.
7636
cff22675
AC
76372001-06-27 Andrew Cagney <ac131313@redhat.com>
7638
7639 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
7640 empty breakpoint tables.
7641
68c81b54
AC
76422001-06-25 Andrew Cagney <ac131313@redhat.com>
7643
7644 * lib/mi-support.exp: Update args=... part of stop-reason
7645 patterns. Accept either a list or a tuple.
7646
2dd62704
AC
76472001-06-23 Andrew Cagney <ac131313@redhat.com>
7648
7649 * lib/mi-support.exp: Remove local emacs variable defining
7650 change-log-default-name.
7651
b4127474
MC
76522001-06-22 Michael Chastain <chastain@redhat.com>
7653
7654 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
7655 This is operationally compatible with the previous version.
7656
8dbfb380
JB
76572001-06-13 Jim Blandy <jimb@redhat.com>
7658
7659 * lib/gdb.exp (gdb_test): Doc fix.
7660
f2d8c86d
MC
76612001-06-10 Michael Chastain <chastain@redhat.com>
7662
7663 * gdb.base/exprs.exp: Remove a duplicate test.
7664
81564d34
JB
76652001-06-06 Jim Blandy <jimb@redhat.com>
7666
7667 * gdb.base/return2.exp (main): Use values to test float and double
7668 returns that are not NaN's, to avoid being confused by IEEE
7669 comparison rules.
7670
da55addb
MS
76712001-06-04 Michael Snyder <msnyder@redhat.com>
7672
7673 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 7674 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
7675 rather than wait for 12 more tests to time out.
7676
42c65987
JB
76772001-06-06 Jim Blandy <jimb@redhat.com>
7678
b18bced9 7679 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 7680 Don't forget to match the GDB prompt.
b18bced9 7681
42c65987
JB
7682 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
7683
5b41e5f0
JB
76842001-06-04 Jim Blandy <jimb@redhat.com>
7685
7686 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
7687 command.
7688
015e046f
KB
76892001-05-31 Kevin Buettner <kevinb@redhat.com>
7690
7691 * gdb.base/annota1.exp (info break): Match four or more spaces
7692 after "Address".
7693
fb1ffbbe
MC
76942001-05-31 Michael Chastain <chastain@redhat.com>
7695
7696 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
7697 (dm_type_int_star): Likewise.
7698 (dm_type_long_star): Likewise.
7699 (dm_type_void_star): Likewise.
7700
5ea2a32c
KB
77012001-05-29 Kevin Buettner <kevinb@redhat.com>
7702
7703 * gdb.base/completion.exp (INPUTRC): Set this environment variable
7704 to a known value in order to get consistent results regardless
7705 of the setting of INPUTRC or the presence or contents of .inputrc.
7706
ae23c492
MS
77072001-05-24 Michael Snyder <msnyder@redhat.com>
7708
ac55707e
MS
7709 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
7710 Don't require that the main thread and the manager thread are the
7711 first in the list.
7712
ae23c492
MS
7713 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
7714 debugging. If test fails, issue an "unsupported" not a "fail".
7715
400071f1
JB
77162001-05-24 Jim Blandy <jimb@redhat.com>
7717
7718 Don't assume that short is shorter than int.
7719 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
7720 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 7721 this isn't true.
400071f1
JB
7722 ("print unsigned char == (~0)"): Add test that verifies that ~0,
7723 an int, is not equal to ~0 stored in an unsigned char. This tests
7724 the same thing that the previous test meant to, but works on
7725 16-bit machines, too.
7726 ("print unsigned char != (~0)"): Same test, complemented.
7727
0816a3e5
MS
77282001-05-24 Michael Snyder <msnyder@redhat.com>
7729
7730 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 7731 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
7732 and prevents dejagnu getting out of step.
7733
f6dc23a9
KB
77342001-05-23 Kevin Buettner <kevinb@redhat.com>
7735
7736 * gdb.base/finish.exp (finish_void): Revise pattern for
7737 stopping on the call statement to not permit stopping at
7738 the start of the instructions comprising the call sequence.
7739
7dbd117d
MC
77402001-05-19 Michael Chastain <chastain@redhat.com>
7741
7742 * gdb.base/callfuncs.exp: Make all test names unique.
7743 * gdb.base/commands.exp: Make all test names unique.
7744 * gdb.base/condbreak.exp: Make all test names unique.
7745 * gdb.base/dbx.exp: Make all test names unique.
7746 * gdb.base/default.exp: Make all test names unique.
7747 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
7748 and TIMEOUT messages to their corresponding PASS message.
7749 * gdb.base/ending-run.exp: Make all test names unique.
7750 * gdb.base/long_long.exp: Remove duplicate test.
7751
6b0b0a9e
KB
77522001-05-21 Kevin Buettner <kevinb@redhat.com>
7753
7754 * gdb.base/finish.exp (finish_void): Allow "finish" command to
7755 stop on the call statement as well as the statement after the
7756 call.
7757
2caa35cb
MS
77582001-05-21 Michael Snyder <msnyder@redhat.com>
7759
7760 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
7761
40713331
EZ
77622001-05-10 Elena Zannoni <ezannoni@redhat.com>
7763
7764 * gdb.base/completion.exp: Revamp test. Make it execute on all
7765 platforms.
7766
c2c1be8d
EZ
77672001-05-10 Elena Zannoni <ezannoni@redhat.com>
7768
2c9cd303
EZ
7769 * config/gdbserver.exp (gdb_load): Handle the case
7770 in which the arguments to gdbserver are given in the
7771 baseboard configuration file.
7772 Also handle the case in which the server needs to do a
7773 load.
7774
9671de48
KS
77752001-05-07 Keith Seitz <keiths@cygnus.com>
7776
7777 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
7778 set up the display for testing.
7779 (gdbtk_start): Convert all paths to paths that tcl will like.
7780 Export target information to environment.
7781 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
7782 necessary.
7783 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
7784 (to_tcl_path): New proc to convert a given pathname into
7785 a path acceptible as an argument to a tcl command.
7786 (_gdbtk_export_target_info): New proc to export target info
7787 into the environment for gdbtk testing.
7788 (gdbtk_done): New proc to signal end-of-test.
7789
5a360f47
JB
77902001-05-06 Jim Blandy <jimb@redhat.com>
7791
7792 * restore.c: Make the code of caller0 correspond to its comment.
7793
66c756c6
MS
77942001-05-03 Michael Snyder <msnyder@redhat.com>
7795
7796 * config/sid.exp (gdb_target_sid): Check for error messages.
7797 On error or timeout, don't make expect exit (which will terminate
7798 all subsequent tests); instead just make gdb exit.
d63a86f8 7799 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
7800 return a negative value.
7801
a966fde5
JB
78022001-04-24 Jim Blandy <jimb@redhat.com>
7803
851c18e0
JB
7804 * gdb.c++/templates.exp: If we see the prompt for the overload
7805 list, but we haven't recognized any of the longer patterns,
7806 arrange for this test to fail, not hang.
7807
a966fde5
JB
7808 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
7809 variations.
7810
db144853
MC
78112001-04-22 Michael Chastain <chastain@redhat.com>
7812
7813 * gdb.c++/local.exp: Use the 'runto' library function.
7814 * gdb.c++/namespace.exp: Likewise.
7815 * gdb.c++/overload.exp: Likewise.
7816
3207ec21
KB
78172001-03-26 Kevin Buettner <kevinb@redhat.com>
7818
7819 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
7820 * gdb.base/step-line.exp: New file. Test step/next in presence of
7821 #line directives.
7822 * gdb.base/step-line.c: New file. Test program for the above.
7823 * gdb.base/step-line.inp: New file. We pretend that this file has
7824 been transformed by some other tool into step-line.c.
7825
13b57657
JB
78262001-03-21 Jim Blandy <jimb@redhat.com>
7827
7828 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
7829 unmangled operator names.
7830
754cbe1c
JB
78312001-03-20 Jim Blandy <jimb@redhat.com>
7832
7833 * gdb.threads/linux-dp.exp: Recognize an additional message
7834 generated by GDB when it doesn't understand how to debug threads
7835 on the target system.
7836
177495c9
AC
78372001-03-19 Andrew Cagney <ac131313@redhat.com>
7838
7839 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
7840
f266096b
MC
78412001-03-12 Michael Chastain <chastain@redhat.com>
7842
7843 * gdb.c++/derivation.exp: Use the 'runto' library function.
7844
cac3c2ff
MC
78452001-03-12 Michael Chastain <chastain@redhat.com>
7846
7847 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
7848
b6c11a24
MC
78492001-02-24 Michael Chastain <chastain@redhat.com>
7850
7851 * gdb.c++/ref-types.exp: Change handwritten code to library
7852 function 'runto'.
7853
6bae5bce
OF
78542001-03-16 Orjan Friberg <orjanf@axis.com>
7855
7856 * gdb.base/signals.exp: Set count to 0 explicitly.
7857
0015fd9a
MS
78582001-03-15 Mark Salter <msalter@redhat.com>
7859
7860 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
7861 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
7862 (gdb_load): Add support for additional target_info: gdb_download_size
7863 and gdb_load_timeout.
0015fd9a 7864
fc33412a
DT
7865Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
7866
7867 * gdb.base/annota1.exp: Move test of isnative to earlier in the
7868 file -- to prevent failing when the compile fails but we have no
7869 intention of running the tests anyway.
7870
7871 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
7872 tests if set.
7873
7874 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
7875 integers.
7876
7877 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
7878 * gdb.c++/namespace.exp: Ditto.
7879
115f06de
OF
78802001-03-07 Orjan Friberg <orjanf@axis.com>
7881
7882 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
7883 * gdb.base/pointers.exp: Relax pattern match of decimals.
7884
b6ba6518
KB
78852001-03-06 Kevin Buettner <kevinb@redhat.com>
7886
7887 * Makefile.in, config/abug.exp, config/cfdbug.exp,
7888 config/cpu32bug.exp, config/dve.exp, config/est.exp,
7889 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
7890 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
7891 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
7892 config/sh.exp, config/sid.exp, config/slite.exp,
7893 config/sparclet.exp, config/udi.exp, config/unknown.exp,
7894 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
7895 config/vxworks.exp, config/vxworks29k.exp,
7896 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
7897 gdb.base/all-bin.exp, gdb.base/annota1.exp,
7898 gdb.base/arithmet.exp, gdb.base/assign.exp,
7899 gdb.base/async.exp, gdb.base/attach.exp,
7900 gdb.base/bitfields.exp, gdb.base/bitops.exp,
7901 gdb.base/break.exp, gdb.base/call-ar-st.exp,
7902 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
7903 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
7904 gdb.base/commands.exp, gdb.base/completion.exp,
7905 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7906 gdb.base/constvars.exp, gdb.base/corefile.exp,
7907 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
7908 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
7909 gdb.base/ending-run.exp, gdb.base/environ.exp,
7910 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7911 gdb.base/finish.exp, gdb.base/foll-exec.exp,
7912 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
7913 gdb.base/funcargs.exp, gdb.base/help.exp,
7914 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
7915 gdb.base/logical.exp, gdb.base/long_long.exp,
7916 gdb.base/maint.exp, gdb.base/mips_pro.exp,
7917 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
7918 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
7919 gdb.base/pointers.exp, gdb.base/printcmds.exp,
7920 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
7921 gdb.base/regs.exp, gdb.base/relational.exp,
7922 gdb.base/remote.exp, gdb.base/reread.exp,
7923 gdb.base/restore.exp, gdb.base/return2.exp,
7924 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
7925 gdb.base/selftest.exp, gdb.base/setshow.exp,
7926 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
7927 gdb.base/sigall.exp, gdb.base/signals.exp,
7928 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
7929 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7930 gdb.base/step-test.exp, gdb.base/structs.c,
7931 gdb.base/structs.exp, gdb.base/structs2.exp,
7932 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
7933 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
7934 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
7935 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
7936 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
7937 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
7938 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
7939 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
7940 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
7941 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
7942 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
7943 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
7944 gdb.fortran/types.exp, gdb.java/jmisc.exp,
7945 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7946 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
7947 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7948 gdb.trace/circ.exp, gdb.trace/collection.exp,
7949 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7950 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7951 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
7952 gdb.trace/report.exp, gdb.trace/save-trace.exp,
7953 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7954 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7955 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
7956 notices.
7957
dc96c6c7 79582001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
7959
7960 * gdb.base/varargs.c (find_max_double): Fix printf format string:
7961 first arg is int not float.
7962
dc96c6c7 79632001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
7964
7965 * gdb.base/reread.exp: Unsupported for non-native targets;
7966 doesn't work for remote debugging.
7967
9b0c4aeb
FN
79682001-02-19 Fernando Nasser <fnasser@redhat.com>
7969
7970 From Drew Moseley <dmoseley@redhat.com>
7971 * gdb.base/ending-run.exp: Properly handle the BSP state when
7972 stepping past the end of main.
7973
02aa71d5
MC
79742001-02-19 John Moore <jmoore@redhat.com>
7975
7976 * gdb.base/commands.exp (infrun_breakpoint_command_test):
7977 Converted HPUX fix for non-expected items following multiple
7978 step commands into general solution for all platforms.
7979
1fa449a4
MC
79802001-02-18 Michael Chastain <chastain@redhat.com>
7981
7982 * gdb.c++/classes.exp (do_tests): Change runto statements
7983 from "runto 'foo(void)'" to "runto 'foo'". This makes the
7984 statements demangler agnostic.
7985 * gdb.c++/virtfunc.exp (do_tests): Likewise.
7986 (gdb_virtfunc_restart): Likewise.
7987
b2f9ec70
MC
79882001-02-14 Michael Chastain <chastain@redhat.com>
7989
7990 * gdb.c++/inherit.exp (do_tests): Change runto statements
7991 from "runto 'foo(void)'" to "runto 'foo'". This makes the
7992 statements demangler agnostic.
7993
cf74b8ca
AC
7994Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
7995
7996 * gdb.threads/pthreads.exp: Unify pass/fail messages for
7997 ``continue to bkpt at common_routine in thread 2'' and ``stopped
7998 before calling common_routine 15 times'' tests.
7999
99f78f56
MC
80002001-02-11 Michael Chastain <chastain@redhat.com>
8001
8002 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
8003 Helps the test script figure out which demangler is in use.
8004 (dm_type_foo_ref): Ditto.
8005 (dm_type_int_star): Ditto.
8006 (dm_type_long_star): Ditto.
8007 (dm_type_unsigned_int): Ditto.
8008 (dm_type_void): Ditto.
8009 (dm_type_void_star): Ditto.
99707966 8010 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
8011 Probe the gdb demangler and set variables to accommodate
8012 formatting differences.
8013 (info_func_regexp): New function. Same as info_func, but
8014 matches against a regexp.
8015 (info_func): Match against a literal string.
8016 (print_addr_2): New function. Match against a literal string,
8017 which can be different from the input to gdb.
8018 (print_addr): Simply call print_addr_2 with the same argument twice.
8019 (test_lookup_operator_functions): Use demangler formatting variables.
8020 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
8021 the tests in the same order as the C++ class declaration.
8022 (test_paddr_operator_functions): Ditto.
8023 (test_paddr_overloaded_functions): Ditto.
8024 (test_paddr_hairy_functions): Use demangler formatting variables.
8025 Add reference to gdb/19 for related tests.
8026 (do_tests): Call probe_demangler.
8027
1de8f023
KB
80282001-01-30 Kevin Buettner <kevinb@redhat.com>
8029
8030 * gdb.c++/templates.cc (printf): Remove unused function definition.
8031
ca3f91ed
MS
80322001-01-26 Felix Lee <flee@redhat.com>
8033
8034 * sid.exp (sid_exit): Pass host, not target, to remote_close.
8035
80362001-01-25 matthew green <mrg@redhat.com>
8037
8038 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
8039 up sid.
8040 (sid_exit): Call `remote_pop_conn' after GDB is gone.
8041
80422001-01-25 matthew green <mrg@redhat.com>
8043
8044 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 8045 Deprecate $sid_spawn_id.
ca3f91ed
MS
8046 (sid_exit): Remove code necessary only for `spawn.'
8047
80482001-01-25 matthew green <mrg@redhat.com>
8049
8050 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
8051
fb18ec4a
MC
80522001-01-28 Michael Chastain <chastain@redhat.com>
8053
8054 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
8055 to call when tests fail. It takes gdb out of the overloaded
8056 function choice menu back to the main prompt, so that the test
8057 program stays synchronized.
8058 (set_bp_overloaded): New proc to collect all the common
8059 code for setting a breakpoint on an overloaded name. Calls
8060 take_gdb_out_of_choice_menu when needed.
8061 (menu_overload1arg): New variable to collect the repeated
8062 instances of the expected menu for an overloaded name. Change
8063 the regular expression to handle changes in g++ type encoding:
8064 "void" can be either "void" or "", and "unsigned int" can be
8065 either "unsigned int" or "unsigned".
8066 (continue_to_bp_overloaded): Change regular expressions to handle
8067 changes in g++ type encoding.
8068 (no proc): Call take_gdb_out_of_choice_menu when needed.
8069 Remove redundant calls to "info break". Accept either "canceled"
8070 or "cancelled". Change regular expressions in "info break"
8071 calls to handle changes in g++ type encoding. Give all tests
8072 unique strings.
8073
9c646a6e
BE
80742001-01-17 Ben Elliston <bje@redhat.com>
8075
8076 * config/sid.exp: New file.
8077
9549d9c1
AC
8078Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
8079
8080 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
8081
dc96c6c7 80822000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
8083
8084 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
8085 Add a RE to accept a non-ascii char if one is ever presented.
8086
b4df4f68
FN
80872000-12-20 Fernando Nasser <fnasser@redhat.com>
8088
297dd0fd 8089 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 8090
dc96c6c7 80912000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 8092
d63a86f8 8093 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
8094 in regexp. One '\' does not suffice on Linux.
8095
4a7bddb6
MC
80962000-12-09 Michael Chastain <chastain@redhat.com>
8097
8098 * gdb.base/break.exp (test_clear_command): Use a marker function
8099 rather than 'main' for the test function. Also move this
8100 test to an execution point where the marker function names are
8101 guaranteed to be bound to functions. (Executing tests after a
8102 'finish' from main runs into name conflicts with local names
8103 in __libc_start_main).
8104
dc96c6c7 81052000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
8106
8107 * gdb.base/finish.exp: New test for gdb's "finish" command.
8108 * gdb.base/return2.exp: New test for gdb's "return" command.
8109 * gdb.base/return2.c: New source file for above.
8110
dc96c6c7 81112000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
8112
8113 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
8114 * gdb.base/miscexprs.exp: Ditto.
8115 * gdb.base/pointers.exp: Ditto.
8116 * gdb.c++/derivation.exp: Ditto.
8117 * gdb.c++/local.exp: Ditto.
8118 * gdb.c++/namespace.exp: Ditto.
8119 * gdb.c++/overload.exp: Ditto.
8120 * gdb.c++/ref-types.exp: Ditto.
8121
dc96c6c7 81222000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
8123
8124 * gdb.base/constvars.exp: Test result of "up" command.
8125 * gdb.base/miscexprs.exp: Ditto.
8126 * gdb.base/pointers.exp: Ditto.
8127 * gdb.base/scope.exp: Ditto.
8128 * gdb.c++/derivation.exp: Ditto.
8129 * gdb.c++/local.exp: Ditto.
8130 * gdb.c++/namespace.exp: Ditto.
8131 * gdb.c++/overload.exp: Ditto.
8132 * gdb.c++/ref-types.exp: Ditto.
8133
44097287
FN
81342000-11-22 Michael Chastain <chastain@redhat.com>
8135
8136 * mips_pro.exp: Accept either "middle -> top -> main" or
8137 "middle -> main" in the backtrace, because gcc can optimize
8138 tail calls to jumps. Remove setup_xfail for the hppa case.
8139 Add a comment with the original warning messages from PR 3016,
8140 which was filed in 1993, to preserve them for posterity.
8141
9d2e1bab
ND
81422000-11-17 Nick Duffek <nsd@redhat.com>
8143
8144 * lib/gdb.exp (gdb_test): Override timeout with board info.
8145
1aca8eb7
ND
81462000-11-17 Nick Duffek <nsd@redhat.com>
8147
8148 * gdb.base/display.exp: Don't kill running stub. Add "again" to
8149 the second kill and detach messages.
8150
93076499
ND
81512000-11-17 Nick Duffek <nsd@redhat.com>
8152
8153 * configure.in: Add AC_EXEEXT.
8154 * configure: Regenerate.
8155 * Makefile.in (just-check): Export EXEEXT.
8156 * lib/gdb.exp ($EXEEXT): Import from environment.
8157 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
8158 expect "maint dump-me" on Cygwin.
8159 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
8160 $EXEEXT.
8161
30e87cd3
ND
81622000-11-17 Nick Duffek <nsd@redhat.com>
8163
8164 * gdb.base/break.exp: Test backtrace and finish from called
8165 function on all platforms, not just HP-UX.
8166
dc96c6c7 81672000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
8168
8169 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
8170 code from gdb_target_monitor, so it can be used independantly
8171 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 8172
dc96c6c7 81732000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
8174
8175 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
8176 * gdb.base/corefile.exp: Expect the message "Program is being
8177 debugged already" when we send the "corefile" command, since
8178 the preceeding gdb_load may have connected gdb to a remote target.
8179 * gdb.base/display.exp: Disable hardware watchpoints if new
8180 board info variable "no_hardware_watchpoints" is true.
8181 Replace single-letter commands with more readable ones.
8182 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
8183 if new board info variable "no_hardware_watchpoints" is true.
8184 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
8185 to see if stdio (printf) testing is possible.
8186 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
8187 board info variable "no_hardware_watchpoints" is true. Use new
8188 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
8189
39124dea
FN
81902000-11-13 Fernando Nasser <fnasser@redhat.com>
8191
8192 From Orjan Friberg <orjanf@axis.com>:
8193 * gdb.base/printcmds.exp: Escape curly braces followed by a number
8194 in array print pattern match.
8195
a9e2e984
FN
81962000-11-09 Fernando Nasser <fnasser@redhat.com>
8197
8198 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
8199 spelling "cancelled" to U.S. spelling "canceled" to match changes
8200 made to gdb.
8201 * gdb.c++/ovldbreak.exp: Ditto.
8202
c7db355b
PS
82032000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8204
8205 * gdb.base/callfuncs.c (main): Moved to end of file, call
8206 t_double_values to initialize the FPU before inferior calls are made.
8207 * gdb.base/callfuncs.exp: Test for register preservation after calling
8208 inferior functions. Add tests for continuining, finishing and
8209 returning from a stop in a call dummy.
8210
dc96c6c7 82112000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
8212
8213 * gdb.base/commands.exp: Break up long lines, and re-indent.
8214
dc96c6c7 82152000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
8216
8217 * config/gdbserver.exp: Rewritten from the ground up, to make it
8218 compatible with the current dejagnu tree, and to make it work with
8219 the new "gdbserver" in libremote.
8220
dc96c6c7 82212000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
8222
8223 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
8224 * gdb.base/varargs.exp: Skip entire test if no printf support.
8225 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
8226 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
8227
dc96c6c7 82282000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
8229
8230 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
8231 no floating point support.
8232 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
8233 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
8234 * gdb.base/call-rt-st.exp: Ditto.
8235 * gdb.base/call-strs.exp: Ditto.
8236
bac5fc66
JG
82372000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
8238
8239 * gdb.base/sizeof.c: include <stdio.h>.
8240
8241 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
8242 'finish', otherwise uncaptured gdb_prompt would potentially
8243 throw remaining test points out of sync.
8244
b22a6027
SB
82452000-07-26 Scott Bambrough <scottb@netwinder.org>
8246
8247 * gdb.base/recurse.exp: Run tests for all targets.
8248 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
8249 gnu-oldld case on ARM.
8250 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
8251 for ARM targets.
d63a86f8 8252
d8231941
AG
8253Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
8254
8255 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
8256 * gdb.java/configure: Rebuild.
8257
8caabe69
AG
8258Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
8259
8260 * gdb.java/jv-exp.exp: New file.
8261
9d273ca3
AG
8262Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
8263
8264 * configure: Rebuilt.
8265 * configure.in (configdirs): Add gdb.java.
8266 * gdb.java/jmisc.java: New file.
8267 * gdb.java/jmisc.exp: New file.
8268 * gdb.java/Makefile.in: New file.
8269 * gdb.java/configure: Rebuilt.
8270 * gdb.java/configure.in: New file.
8271 * lib/java.exp: New file.
8272
4f823a66
AC
8273Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
8274
8275 * gdb.base/exprs.exp: Test casts to a pointer including over and
8276 underflow.
8277
2391e11d
AC
8278Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
8279
8280 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
8281 and the compilers sizes.
8282
54602222
ND
82832000-07-09 Nick Duffek <nsd@redhat.com>
8284
8285 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
8286 (use_methods): New function.
8287 (main): Call use_methods().
8288 * gdb.c++/classes.exp (test_method_param_class): New procedure.
8289 (do_tests): Call test_method_param_class.
8290
2bec0572
ND
82912000-07-09 Nick Duffek <nsd@redhat.com>
8292
8293 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
8294 spelling.
8295 (test_enums): New procedure. Move enum tests from end of script
8296 to here. Set breakpoint on function name instead of line number.
8297 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
8298 (enums2): New marker function.
8299 (enums1): New function.
8300 (main): Call enums1(). Move enum tests to enums1().
8301
78492fde
AC
8302Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
8303
8304 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
8305 compile/link program. Update line numbers.
8306 * gdb.asm/d10v.inc: Define ``startup''.
8307 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 8308
49a2cef8
AC
8309Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
8310
8311 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
8312
3e6c8688
EZ
83132000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8314
8315 * gdb.base/maint.exp: Add 'maint print architecture' item to output
8316 of 'help maint print' command.
8317
9ff5cbe9
AC
8318Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
8319
8320 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
8321 they use gdb_expect_list.
8322
17c579bd
AC
8323Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
8324
8325 * gdb.base/commands.exp: Use ``set remote
8326 memory-read-packet-size'' instead of ``set endian big'' to test
8327 long commands.
8328
e6d71bf3
DB
83292000-06-03 Daniel Berlin <dan@cgsoftware.com>
8330
8331 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 8332 g++, and stop skipping them.
e6d71bf3
DB
8333
8334 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
8335 work under g++.
8336
d63a86f8 8337 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
8338 initialization.
8339
dc96c6c7 83402000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
8341
8342 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
8343 the regular expression: accept an (almost) arbitrary sequence of
8344 "frames-invalid" and "breakpoints-invalid" messages both before
8345 and after the "starting" message.
8346
dc96c6c7 83472000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
8348
8349 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 8350
dc96c6c7 83512000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
8352
8353 * gdb.base/annota1.exp (annotate-signal-handler-caller):
8354 Relax the regular expression a little, make it pass on Solaris 8.
8355
8216cda9
KB
83562000-05-12 Kevin Buettner <kevinb@redhat.com>
8357
8358 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 8359 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
8360 Instead, it is permissible for gdb to stop on the line of the
8361 call itself.
8362
1a570b2f
MS
83632000-05-12 Michael Snyder <msnyder@.cygnus.com>
8364
8365 * gdb.base/break.exp (bp on small function, optimized file):
8366 Add a second pass pattern. The behavior differs here between stabs
8367 and dwarf for one-line functions. Stabs preserves two line symbols
8368 (one before the prologue and one after) with the same line number,
8369 but dwarf regards these as duplicates and discards one of them.
8370 Therefore the address after the prologue (where the breakpoint is)
8371 has no exactly matching line symbol, and GDB reports the breakpoint
8372 as if it were in the middle of a line rather than at the beginning.
8373
dc96c6c7 83742000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 8375
d63a86f8 8376 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
8377 rather than "send_gdb" (for consistancy).
8378
7d418785
AC
8379Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
8380
8381 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
8382 * gdb.c++/templates.cc: Properly check for GCC version number.
8383 * lib/compiler.cc: Likewise
8384
dc96c6c7 83852000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 8386
d63a86f8 8387 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
8388 gdb may not stop at the first line of main, due to code motion.
8389
dc96c6c7 83902000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
8391
8392 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
8393 This test depends on parsing the printf output from the target.
8394 Since the sparclet stub doesn't do stdio, this will never work.
8395 * gdb.base/call-rt-st.exp: ditto.
8396 * gdb.base/call-strs: ditto.
8397
dc96c6c7 83982000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
8399
8400 * gdb.base/miscexprs.exp: make sizeof long array test portable.
8401
8402 * gdb.base/ending-run.exp: After connecting to a remote target,
8403 but before running, the target will appear to be in a random
8404 location. Specify both a file and a line for breakpoints.
8405 Also, the function that calls main may be called 'init'
8406 rather than 'start'.
8407
a5a51225
EZ
84082000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8409
8410 * gdb.base/help.exp: Update output for add-symbol-file command.
8411
7930cc7c
FN
84122000-04-10 Fernando Nasser <fnasser@cygnus.com>
8413
8414 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8415 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
8416
23e37ab1
C
84172000-04-07 J.T. Conklin <jtc@redback.com>
8418
e93c542c
C
8419 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
8420
23e37ab1
C
8421 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
8422
591b8fa3
PDM
8423Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
8424
8425 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
8426 values that can be represented exactly.
8427 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
8428 above change, and to not check against the directory part of the source
8429 file name.
8430 (step into print_long_arg_list): Likewise.
8431 (print print_small_structs from print_long_arg_list): Likewise.
8432 (print print_long_arg_list): Likewise.
8433
7a495180
EZ
84342000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8435
30b53638 8436 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 8437
beb998c6
AC
8438Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
8439
8440 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
8441
1c689132
DB
84422000-03-25 Daniel Berlin <dan@cgsoftware.com>
8443
8444 * gdb.base/commands.exp (deprecated_command_test): Add test for
8445 deprecate with no arguments.
8446
c1790a9d
JL
84472000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
8448
8449 * gdb.base/break.exp: Add new test for setting breakpoints on
8450 optimized code so we can test breakpoints work even when function
8451 prologues may be optimized away
8452
003ba290
FN
84532000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
8454
8455 From David Whedon <dwhedon@gordian.com>
8456 * gdb.base/commands.exp : Added command deprecator tests.
8457
6837a0a2
DB
84582000-03-22 Daniel Berlin <dan@cgsoftware.com>
8459
8460 * gdb.base/help.exp: Added test for new apropos command.
8461
b9593231
KB
84622000-03-21 Kevin Buettner <kevinb@redhat.com>
8463
8464 * gdb.base/pointers.c (usevar): New function.
8465 (main): Make sure that global variables v_int_pointer2, rptr,
8466 and y are all referenced someplace in the program by calling
8467 usevar() on them. [Some linkers delete symbols which are
8468 never referenced. The space remains, but there's no way to
8469 get a (symbolic) handle on the variable from the debugger.]
8470
751a959b
EZ
84712000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8472
8473 * gdb.base/printcmds.c: Add typedeffed arrays.
8474
8475 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
8476 procedure to test arrays that are typedef'd.
8477
73a93a32
JI
84782000-03-13 James Ingham <jingham@leda.cygnus.com>
8479
8480 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 8481 the library directories.
73a93a32 8482
fb40c209
AC
8483Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
8484
8485 * configure.in (configdirs): Add sub directory gdb.mi.
8486 * configure: Re-generate.
8487
8488 * gdb.mi: New directory.
d63a86f8 8489
ee4dd2c9
AC
84902000-02-25 Scott Bambrough <scottb@netwinder.org>
8491
8492 * gdb.base/long_long.exp: Correct test suite failure when printing
8493 a long long value as a double on ARM platforms.
8494
70f0cc22
JB
84952000-02-16 Jim Blandy <jimb@redhat.com>
8496
8497 * gdb.base/break.exp ("breakpoint line number"): Make sure the
8498 default source file is set properly before running this test.
8499
853819b8
EZ
85002000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8501
8502 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
8503 gdbtk/library directory, not in gdbtcl2.
8504
dfcd3bfb
JM
85052000-02-04 Jim Blandy <jimb@redhat.com>
8506
8507 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
8508 backslash from regexp pattern.
8509
8510 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
8511 procedure. Use it to run all the "continue to bp overloaded"
8512 tests. Note that this changes the names of the tests slightly.
8513 If the breakpoint hit message includes a hex PC value, because
8514 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
8515 from the real source code, still consider that a pass.
8516
8517 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
8518 XFAIL here if the breakpoint message contains a hex address. Note
8519 similar change on 1999-11-02.
8520
8521 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
8522
8523 * gdb.base/ptype.exp: Establish a default source file before
8524 calling get_debug_format.
8525
85262000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
8527
8528 * gdb.base/watchpoint.exp: Remove duplication of test messages.
8529
8b93c638
JM
85302000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
8531
8532 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
8533 of successive stepi commands -- while in the prologue we should see
8534 the function entry bracket.
8535
85362000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
8537
8538 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
8539 reach __change_mode() when stepping through the end of main().
8540
c5394b80
JM
85412000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
8542
8543 * gdb.base/default.exp: Fix expected pattern.
8544 * gdb.base/help.exp: Same.
8545
0d06e24b
JM
85462000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8547
8548 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
8549 Don't use xfail's because that affects only the following test.
d63a86f8 8550
0d06e24b
JM
8551 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
8552 solaris or linux.
8553
8554 * gdb.base/selftest.exp: Update to reflect changes to main.c.
8555
dc96c6c7 85562000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 8557
d63a86f8 8558 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
8559 "A syntax error" rather than "A parse error". Accept both.
8560
85612000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
8562
8563 * gdb.base/default.exp: Remove OS dependent string from "target
8564 remote" test.
8565 * gdb.base/help.exp: Same for "help target remote" test.
8566
c3f6f71d
JM
85672000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8568
8569 From Jim Kingdon <kingdon@redhat.com>:
8570
8571 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
8572 prompt (cleanup rather than necessity, but still might keep output
8573 from spilling to next test).
8574
85752000-01-02 Fred Fish <fnf@cygnus.com>
8576
8577 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
8578 AIX, which defines them in <sys/types.h>.
8579
ed9a39eb 85801999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 8581
ed9a39eb
JM
8582 * gdb.base/default.exp: Match arm* etc instead of arm in "info
8583 float" test.
8584
85851999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 8586
ed9a39eb 8587 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
8588
8589 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
8590 outermost frame disallowed".
8591
85921999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
8593
8594 * gdb.base/setvar.exp: New tests for setting the value of a struct
8595 with a constant list.
8596
85971999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
8598
8599 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
8600 require the user to type a cast before setting the value of a struct.
8601
de57eccd
JM
86021999-12-06 Jim Blandy <jimb@cygnus.com>
8603
8604 * gdb.base/default.exp: Expect the new 'info float' command on
8605 all i386 platforms.
8606
8607 * gdb.threads/linux-dp.exp: Expand our ability to recognize
8608 LinuxThreads libraries that don't support debugging.
8609
c2d11a7d
JM
8610Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
8611
8612 * gdb.base/remote.c: Fill the buffer with truely random data.
8613 Change the buffer type to ``unsigned char'' to simplify size
8614 arithmetic.
8615
8616 * gdb.base/remote.exp: Reduce download numbers by one. Typical
8617 stub only handles 400-1 byte packets. Verify that the download
8618 worked.
8619
86201999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
8621
8622 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
8623 tests, using UNRESOLVED for the untested cases. Also, does not wait
8624 for a timeout if the prompt was received before a recognizable pattern.
8625
86261999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
8627
8628 * lib/gdb.exp (gdb_expect_list): Fix spelling.
8629
86301999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8631
8632 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
8633 watchpoints.
8634
86351999-11-24 Jason Merrill <jason@casey.cygnus.com>
8636
8637 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
8638
8639 * gdb.c++/local.exp: Be more flexible in recognizing local class
8640 name mangling. Don't allow horribly truncated method names.
8641 * gdb.c++/derivation.exp: Expect protected inheritance.
8642 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
8643 * gdb.c++/virtfunc.exp: Likewise.
8644 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
8645 when printing a nested enum.
8646
86471999-11-22 Jim Blandy <jimb@cygnus.com>
8648
8649 * gdb.base/step-test.exp: Properly await GDB's response to setting
8650 a breakpoint on the call to large_struct_by_value.
8651
8652 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
8653 just because we have debug info for the `start' function.
8654
86551999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
8656
8657 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
8658 "Unknown signal" messages, which indicate (on LinuxThreads) that
8659 GDB doesn't know how to debug threads on this system. This is
8660 better than hanging while philosopher 0 dumps chatter into gdb.log.
8661
86621999-11-18 Tom Tromey <tromey@cygnus.com>
8663
8664 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
8665
86661999-11-18 Fred Fish <fnf@cygnus.com>
8667
8668 * gdb.base/coremaker2.c: Add sample program for generating
8669 cores that is more self contained than coremaker.c. Eventually
8670 I'll add more code to this and tie it into the testsuite.
8671
4ce44c66
JM
86721999-11-12 Stan Shebs <shebs@andros.cygnus.com>
8673
8674 * gdb.base/dollar.exp: Remove, now in gdb.hp.
8675
86761999-11-10 Jimmy Guo <guo@cup.hp.com>
8677
8678 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
8679 from $srcdir/lib/.
8680 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
8681 and gdb.c++/.
8682
8683 * gdb.c++/derivation.exp: remove redundant get compiler info code.
8684
d63a86f8 8685 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
8686 'continue with watch' test point.
8687
86881999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
8689
8690 Merged from p2linux-990323-branch:
d63a86f8 8691
4ce44c66
JM
8692 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
8693
11cf8741
JM
8694Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
8695
8696 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
8697 {limit,fixed}''. Test ``set download-write-size''.
8698
8699Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
8700
8701 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
8702 gdb_expect_list.
8703
8704Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
8705
8706 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
8707
87081999-11-03 Mark Salter <msalter@cygnus.com>
8709
8710 * gdb.base/break.exp: Fix "stub continue" pattern.
8711
87121999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
8713
8714 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
8715
87161999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
8717
8718 * gdb.base/display.exp ("finish"): Add timeout clause.
8719
8720 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
8721 plain prompt clause, so this doesn't have to time out in order to
8722 fail.
8723
8724 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
8725 breakpoint hit messages include an address.
8726
8727 * gdb.base/display.exp: Don't forget to escape parens in regular
8728 expressions. Unix regexp notatation sucks.
8729
87301999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8731
8732 * gdb.base/annota1.exp: Test for annotate-signalled: change output
8733 order for 'signalled' message.
8734
5c44784c
JM
87351999-11-01 Stan Shebs <shebs@andros.cygnus.com>
8736
8737 From Jimmy Guo <guo@cup.hp.com>:
8738 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
8739 * gdb.base/annota1.c: Add code for tests to work with.
8740
87411999-10-26 Frank Ch. Eigler <fche@cygnus.com>
8742
8743 * gdb.base/remote.exp: New test for remote downloading settings.
8744 * gdb.base/remote.c: New file with large .data.
8745
917317f4
JM
87461999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
8747
8748 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
8749 for LinuxThreads support, merged from the Code Fusion branch.
8750
8751Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
8752
8753 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
8754 containing exp_continue into a while within an expect. Don't
8755 attempt a start more than three times. Check return value from
8756 gdb_load.
d63a86f8 8757
2df3850c
JM
8758Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
8759
8760 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
8761 a pass case.
8762
2acceee2
JM
87631999-10-01 Kevin Buettner <kevinb@cygnus.com>
8764
8765 * gdb.base/break.c (main): Added a statement that we can step
8766 off of.
8767 * gdb.base/break.exp: Added tests for setting a breakpoint
8768 at an offset and stepping onto a breakpoint.
8769
87701999-10-01 Fred Fish <fnf@cygnus.com>
8771
d63a86f8 8772 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
8773 gdb output.
8774
c2c6d25f
JM
87751999-09-18 Jim Blandy <jimb@cris.red-bean.com>
8776
8777 * gdb.base/break.exp: Code locations are in hex, don't forget!
8778 (For HP-UX.)
8779
87801999-09-17 Stan Shebs <shebs@andros.cygnus.com>
8781
8782 * condbreak.exp: Use break.c as test program.
8783 * condbreak.c: Remove, redundant with break.c.
8784
87851999-09-15 Stan Shebs <shebs@andros.cygnus.com>
8786
8787 * config/monitor.exp (gdb_target_monitor): Disable X- and
8788 Z-packets if the target needs it.
8789
87901999-09-13 James Ingham <jingham@leda.cygnus.com>
8791
8792 * gdb.c++/overload.exp: Added tests for listing overloaded
8793 functions with function pointers in the arg, explicitly calling
8794 out the version you want.
8795
cff3e48b
JM
87961999-09-09 Stan Shebs <shebs@andros.cygnus.com>
8797
8798 * long_long.exp: Add variations of test cases that work for
8799 targets with 16-bit ints and 32-bit doubles.
8800
d4f3574e
SS
88011999-09-08 Stan Shebs <shebs@andros.cygnus.com>
8802
8803 * break.c (main): Compare a possibly-uninitialized argc with an
8804 unlikely value that fits in 16 bits.
8805
88061999-09-07 Stan Shebs <shebs@andros.cygnus.com>
8807
8808 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
8809 0xfeeb, don't want negative numbers if ints are 16 bits.
8810
8811 * lib/gdb.exp (skip_cplus_tests): New proc.
8812 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
8813 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
8814 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
8815 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
8816 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
8817 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
8818 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
8819 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
8820
8821 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
8822
8823Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
8824
8825 * gdb.base/corefile.exp (up): Allow a parameter to appear
8826 in the frame that we're going up to.
8827
8828 From Jim Blandy <jimb@cygnus.com>:
8829
8830 * gdb.base/default.exp (info float): Expect some output now.
8831
8832 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
8833 returning floating-point values to fail on the x86.
8834 * gdb.base/callfwmall.exp (do_function_calls): Same.
8835
8836 * gdb.base/list.exp (test_listsize): Correct expectations for
8837 listing line 1 with listsize 2. Also, listing a single line
8838 works now, as does listing three lines. [Kevin's note: There
8839 were a number of other cases fixed too where the expectations
8840 differed...]
8841
88421999-09-02 Stan Shebs <shebs@andros.cygnus.com>
8843
8844 * gdb.base/selftest.exp: Add case for when version prints as
8845 constant string instead of char pointer.
8846
104c1213
JM
88471999-08-25 Stan Shebs <shebs@andros.cygnus.com>
8848
8849 * gdb.base/ending-run.exp: Add Solaris case for what happens when
8850 stepping out of main.
8851
8852 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
8853 G++ used.
8854
8855 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
8856 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
8857
8858 * gdb.c++/ovldbreak.exp: Update match string in test that
8859 includes a warning of multiple breakpoints.
8860
88611999-08-24 Stan Shebs <shebs@andros.cygnus.com>
8862
8863 * gdb.base/display.exp: Improve precision of step-after-finish
8864 added yesterday.
8865
8866 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
8867 test.
8868
8869 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
8870 configs when using G++, not just hppa*.
8871
88721999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8873
8874 * gdb.base/async.c: New file.
8875 * gdb.base/async.exp: New file.
8876
8877Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
8878
8879 * gdb.base/break.exp: Tweak PA specific tests to properly handle
8880 PA64.
8881
53a5351d
JM
8882Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
8883
104c1213
JM
8884 * gdb.base/display.exp: "finish" can leave us mid-line on many
8885 targets, deal with it. Add a small constant to main, instead of
8886 1000 since main+1000 may not be a valid address in the target.
8887
53a5351d
JM
8888 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
8889 on hpux11.
8890
8891 * gdb.base/attach.exp: Handle another hpux11 error message variant
8892 when attaching to a process that does not exist.
8893
88941999-08-19 J.T. Conklin <jtc@redback.com>
8895
8896 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
8897 characters in 'continue to 1241' test.
8898
88991999-08-17 Stan Shebs <shebs@andros.cygnus.com>
8900
8901 * gdb.base/call-ar-st.exp: Add a shorter match case for the
8902 stop in print_long_arg_list, define and use a whitespace
8903 variable in print_small_structs test, add an XFAIL for Solaris.
8904 * gdb.base/dbx.exp: XFAIL func commands until somebody is
8905 interested enough to fix.
8906
7be570e7
JM
89071999-08-13 Keith Seitz <keiths@cygnus.com>
8908
8909 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
8910 (dbx_gdb_load): Remove. Use gdb_load instead, since that
8911 proc knows about targets other than the natives.
8912 (test_assign): Use "gdb_run_cmd" to "run" the target.
8913 Check that we've actually hit the breakpoint at main.
8914 When we attempt to assign a value to a local variable, check
8915 that the variable is in the current scope, i.e., don't use
8916 a test with an empty result.
8917
8918Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
8919
8920 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
8921 command.
8922
89231999-08-09 Stan Shebs <shebs@andros.cygnus.com>
8924
8925 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8926 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
8927 gdb.compat, gdb.threads-hp.
8928 gdb.hp/configure, gdb.hp/configure.in: New files.
8929 gdb.hp/Makefile.in: Recurse into new subdirs.
8930 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
8931 gdb.hp/gdb.objdbg: New directory, tests for debugging info
8932 in object files.
8933 gdb.hp/tools: New directory, aux tools for HP-specific tests.
8934
96baa820
JM
89351999-08-05 Stan Shebs <shebs@andros.cygnus.com>
8936
8937 * gdb.base/display.exp: Help expect by putting a newline in the
8938 funky printf, remove a bogus p/a test.
8939
89401999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8941
8942 * gdb.base/display.exp: Make sure that when we say 'run', we are
8943 connected to the target. This is necessary when running not
8944 natively.
8945
89461999-08-03 Stan Shebs <shebs@andros.cygnus.com>
8947
8948 * gdb.base/step-test.exp: Removed some extraneous messages.
8949
8950 * gdb.base/long_long.exp: Don't run memory examination tests
8951 on little-endian targets (they will need a different set of
8952 results to match).
8953
89541999-08-02 Stan Shebs <shebs@andros.cygnus.com>
8955
8956 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
8957 until somebody decides to fix GDB.
8958
8959 * gdb.base/long_long.c: Stop compiler complaint by specifying long
8960 constant as "ULL".
8961 * gdb.base/long_long.exp: Loosen x/c test, add partial result
8962 matches for a couple x/2 commands.
8963
a0b3c4fd
JM
89641999-07-30 Stan Shebs <shebs@andros.cygnus.com>
8965
8966 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
8967 by merging in ref-types2 tests.
8968 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
8969
8970 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8971 * gdb.c++/Makefile.in: Add standard actions.
8972 (EXECUTABLES): Rename from PROGS, update list.
8973 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
8974 from gdb.hp.
8975 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
8976 foo and bar locals.
8977 * gdb.c++/anon-union.exp: Fix tests to match.
8978 * gdb.c++/classes.exp: Run if HP compiler used, add extra
8979 expect matches to handle output variations.
8980 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
8981 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
8982 output, add HP alternatives for new and delete prints.
8983 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
8984 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
8985 * gdb.c++/demangle.exp: Use $style when reporting failure.
8986 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
8987 * gdb.c++/inherit.exp: Run if HP compiler used, add some
8988 match alternatives.
8989 * gdb.c++/local.exp: Add match alternatives or xfails for HP
8990 compilers.
8991 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
8992 * gdb.c++/method.exp: Add match alternatives.
8993 * gdb.c++/misc.cc: Add bool types.
8994 * gdb.c++/misc.exp: Add tests for bool types.
8995 * gdb.c++/overload.exp: Add xfails.
8996 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
8997 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
8998 add some more template parameter tests (only for HP currently).
8999 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
9000 * gdb.c++/virtfunc.cc: Add return type and value for main.
9001 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
9002 match alternatives.
d63a86f8 9003
a0b3c4fd
JM
90041999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9005
9006 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
9007
90081999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
9009
9010 * gdb.base/signals.exp: Don't expect getting a backtrace from
9011 within a signal handler to fail on Linux.
9012
90131999-07-29 Stan Shebs <shebs@andros.cygnus.com>
9014
9015 From Jimmy Guo <guo@cup.hp.com> and others at HP:
9016 * lib/gdb.exp: Remove some gratuitious semicolons.
9017 (delete_breakpoints): Increase timeout.
9018 (gdb_expect): Add -notransfer option.
9019 (gdb_test): Use -notransfer option.
9020 (get_compiler_info): Add f77 case.
9021 (get_compiler): New proc, split out from gdb_preprocess, add f77
9022 case.
9023 (gdb_preprocess): Call get_compiler.
9024
9025 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
9026 * gdb.base/attach.exp, gdb.base/display.exp,
9027 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
9028 gdb.base/long_long.exp, gdb.base/printcmds.exp,
9029 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
9030 third arg to gdb_test.
9031 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
9032 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
9033 HP-UX xfails, add others.
9034 * gdb.base/completion.exp: Reflect name change of self-test.
9035 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
9036 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
9037 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
9038 HP failure number.
9039 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
9040 useless HP-UX 10.30 references.
9041 * gdb.base/maint.exp: Loosen matches.
9042 * gdb.base/pointers.c (main): Declare more_code.
9043 * gdb.base/pointers.exp: Match on output of a `next'.
9044 * gdb.base/structs.c: Add prototypes.
9045 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
9046 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
9047
90481999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9049
9050 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
9051 command.
9052
90531999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9054
9055 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
9056 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
9057
9058 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
9059 debug info. Deal with lack of signal hanlder info in stack.
9060
9061 From Jim Kingdon <kingdon@redhat.com>:
9062 * gdb.base/annota1.exp: If printf has debug info, deal with it.
9063
5a2468f5
JM
90641999-07-19 Stan Shebs <shebs@andros.cygnus.com>
9065
9066 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
9067 gdb.base/foll-vfork.exp: Don't run for crosses.
9068
adf40b2e
JM
9069Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
9070
9071 * gdb.base/configure.in: Check for gdbvars.exp instead of
9072 a1-selftest.exp.
9073 * gdb.base/configure: Re-generate.
9074
90751999-07-12 Stan Shebs <shebs@andros.cygnus.com>
9076
9077 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
9078 in trying to run first and name is too long.
9079
9080 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
9081 pointers2.c and pointers2.exp, respectively.
9082 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
9083 doschk happier.
9084
43e526b9
JM
90851999-07-08 Stan Shebs <shebs@andros.cygnus.com>
9086
9087 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
9088 callfuncs2.c and callfuncs2.exp.
9089
9090 * gdb.base/list.exp: Remove mistaken xfails.
9091 * gdb.base/list0.h: Add optional prototypes.
9092
9846de1b
JM
9093Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
9094
9095 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
9096 calling malloc.
9097 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
9098 * ptype.exp: Move test for get_debug_format to before its first
9099 use.
9100
91011999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9102
9103 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
9104 * gdb.base/annota2.cc, annota2.exp: Move from here.
9105 * gdb.c++/annota2.cc, annota2.exp: To here.
9106 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
9107
43ff13b4
JM
9108Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
9109
9110 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
9111 a consistent format.
9112
085dd6e6
JM
91131999-06-25 Stan Shebs <shebs@andros.cygnus.com>
9114
9115 From Jimmy Guo <guo@cup.hp.com> and others at HP:
9116 * lib/gdb.exp (get_compiler_info): Add detection for assorted
9117 HP compilers, also set the globals $true and $false.
9118
9119 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
9120 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
9121 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
9122 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
9123 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
9124 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
9125 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
9126 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
9127 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
9128 whatis.c} Add C++ compatible function definitions and return
9129 types, add includes for library functions.
9130 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
9131 * gdb.base/step-test.c (myglob): Rename from glob.
9132 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
9133 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
9134 files, move here from gdb.hp.
9135 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
9136 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
9137 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
9138 Adjust line numbers in regexps.
9139
9140 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
9141 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
9142 instead of 0/1.
9143
9144 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
9145 foll-vfork.exp: New files, move here from gdb.hp.
9146 * gdb.base/page.exp: New file, test of pagination command.
9147
9148 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
9149 recursion test.
9150 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
9151
9152 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
9153 gdb.base/solib.exp: Fix compiler invocation process.
9154
9155 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
9156 HP-UX 11, turn off overload resolution explicitly.
9157 * gdb.base/commands.exp: Set argument list explicitly, add
9158 watchpoint test.
9159 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
9160 them work.
9161 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
9162 expressions properly.
9163 * gdb.base/corefile.exp: Loosen the match slightly.
9164 * gdb.base/default.exp: Allow "Error accessing memory" message
9165 also.
9166 * gdb.base/display.exp: Skip over x/0 j if PA64.
9167 * gdb.base/funcargs.exp: Add xfails for HP-UX.
9168 * gdb.base/interrupt.exp: Ditto.
9169 * gdb.base/langs.exp: Add symbolic matches governed by compiler
9170 in use.
9171 * gdb.base/list.exp: Add xfails for HP-UX.
9172 * gdb.base/long_long.exp: Refine some of the numeric matches.
9173 * gdb.base/mips_pro.exp: Xfail on HP-UX.
9174 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
9175 * gdb.base/nodebug.exp: Succeed on more varieties of output.
9176 * gdb.base/opaque.exp: Remove some HP-UX xfails.
9177 * gdb.base/ptype.exp: Succeed on more varieties of output.
9178 * gdb.base/scope.exp: Add xfails for HP-UX.
9179 * gdb.base/sect-cmd.exp: Add more cases.
9180 * gdb.base/setvar.exp: Add xfails for HP-UX.
9181 * gdb.base/shlib-call.exp: Loosen some matches slightly.
9182 * gdb.base/signals.exp: Match on void symbolically.
9183 * gdb.base/step-test.exp: Add case for PA64.
9184 * gdb.base/term.exp: Add exit and restart.
9185 * gdb.base/twice.exp: Clean up after self.
9186 * gdb.base/varargs.exp: Disable overload resolution explicitly.
9187 * gdb.base/whatis.exp: Allow more ways to pass tests.
9188
9189 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
9190 no longer useful.
9191
9192Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
9193
9194 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
9195 list of patterns.
9196 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
9197 print_double_array(double_array)", "continuing to breakpoint
9198 1018", "print print_double_array(array_d)" and "continuing to
9199 1034" tests.
d63a86f8 9200
085dd6e6
JM
92011999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
9202
9203 * Makefile.in: Add empty html and install-html targets.
9204
92051999-06-24 Stan Shebs <shebs@andros.cygnus.com>
9206
9207 * config/mt-*: Remove, these haven't been used since 1996.
9208
92091999-06-22 Stan Shebs <shebs@andros.cygnus.com>
9210
9211 * gdb.base/call-strs.c, gdb.base/ending-run.c,
9212 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
9213 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
9214
9e0b60a8
JM
92151999-06-18 Stan Shebs <shebs@andros.cygnus.com>
9216
9217 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
9218 simpler match case for the ptype of the big class.
9219
92201999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
9221
9222 * gdb.exp: Fix test for gdb_prompt existence.
9223
92241999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
9225
9226 * gdb.exp (gdb_test): Add fail after calls to perror.
9227
92281999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
9229
9230 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
9231
92321999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
9233
9234 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
9235
0f71a2f6
JM
9236Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
9237
9238 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
9239 malloc() is linked in.
9240
92411999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
9242
9243 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
9244 step at end.
9245
9246 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
9247
92481999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
9249
9250 * gdb.java/jv-print.exp: New file. (Our first Java test!)
9251
cce74817
JM
9252Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
9253
9254 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
9255 * gdb.base/mips_pro.exp: Likewise.
9256
92571999-06-02 Keith Seitz <keiths@cygnus.com>
9258
9259 * gdb.c++/templates.cc: Change all "new" operators to throw
9260 an exception.
9261 * gdb.c++/cplusfuncs.cc: Likewise.
9262
9263 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
9264
9265Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
9266
9267 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
9268 * gdb.base/ending-run.exp: When stepping out of main, accept a
9269 step into an arbitrary assembler file.
9270
392a587b
JM
92711999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9272
d63a86f8 9273 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 9274 "breakpoint-invalid" to be printed.
d63a86f8 9275 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
9276 number of "frames-invalid" and "breakpoint-invalid" to be printed.
9277 * gdb.base/annota2.cc: Initialize a.x to 0.
9278
9e086581
JM
92791999-05-17 Keith Seitz <keiths@cygnus.com>
9280
9281 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
9282 when "skip_float_tests" set.
9283 Ditto for "print print_double_array(array_d)", "print print_small_structs",
9284 "print print_ten_doubles", and "step into print_long_arg_list".
9285 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
9286 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
9287 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
9288 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
9289 "skip_float_tests" is set.
9290 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
9291 when "skip_float_tests" set.
d63a86f8 9292
cd0fc7c3
SS
92931999-05-06 Keith Seitz <keiths@cygnus.com>
9294
9295 * gdb.base/annota2.cc: Include stdio.h.
9296
9297Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
9298
9299 * gdb.base/crossload.exp: Remove, this has been disabled ever
9300 since BFD stopped including all targets, and cross-GDB gets
9301 plenty of testing anyway.
9302 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
9303 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
9304 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
9305 * gdb.base/README: Remove, was doc for this.
9306 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
9307 needed.
9308
b83266a0
SS
93091999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9310
9311 * gdb.base/call-ar-st.exp: Fix one regular expression in test
9312 output.
9313
9314 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
9315 * gdb.base/annota2.exp: New file. More annotation tests.
9316 * gdb.base/annota1.c: New file. Source file for annota1.exp.
9317 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
9318
93191999-04-23 Angela Marie Thomas <angela@cygnus.com>
9320
9321 * config/cfdbug.exp: New file.
9322
7a292a7a
SS
93231999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
9324
9325 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
9326 Marcus Daniel's and Dale Hawkins's demangler crashes.
9327
9328 * gdb.c++/demangle.exp (test_gnu_style_demangling,
9329 test_lucid_style_demangling, test_arm_style_demangling,
9330 test_hp_style_demangling): Try Tom Tromey's core-dumping
9331 identifier under each demangling style.
9332
93331999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
9334
9335 * gdb.c++/demangle.exp: Include the current demangling style
9336 in all test names.
9337 (current_demangling_style): New global variable.
9338 (set_demangling_style, test_demangling_core, test_demangling,
9339 test_demangling_exact): New functions.
9340 (test_gnu_style_demangling, test_lucid_style_demangling,
9341 test_arm_style_demangling, test_hp_style_demangling): Use those,
9342 instead of calling gdb_test and gdb_test_exact directly.
9343 (catch_demangling_errors): New function, which reports errors
9344 signalled by the demangling test functions in an orderly way.
9345 (do_tests): Use catch_demangling_errors.
9346
93471999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
9348
9349 * gdb.base/signals.exp (test_handle_all_print): Use () for
9350 grouping in expressions, not {}.
9351
9352 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
9353 initialized yet.
9354
93551999-04-01 Stan Shebs <shebs@andros.cygnus.com>
9356
9357 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
9358 are listed.
9359
93601999-03-26 Stan Shebs <shebs@andros.cygnus.com>
9361
9362 * gdb.stabs/weird.exp: Test for CC being defined before
9363 looking at its value.
9364
93651999-03-25 Stan Shebs <shebs@andros.cygnus.com>
9366
9367 * gdb.base/call-ar-st.exp: Remove stray '#'.
9368 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
9369 "short int" and "long int".
9370 * gdb.c++/overload.cc: Cast the string added in the previous
9371 change, to mollify finicky HP compiler.
9372 * gdb.hp/reg-test.exp (testfile): Fix file name.
9373 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 9374
7a292a7a
SS
9375 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
9376 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
9377 alternate form of enum ptype.
9378
c906108c
SS
93791999-03-23 Stan Shebs <shebs@andros.cygnus.com>
9380
7a292a7a
SS
9381 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
9382 * gdb.hp/*.exp: Change all to run compiler probe only after
9383 passing skip_hp_tests, so as not to waste time on guaranteed
9384 failure.
9385
c906108c
SS
9386 * gdb.c++/overload.cc: Pass string instead of char addr, always
9387 init ccpfoo.
9388 * gdb.c++/templates.cc: Fix syntax error.
9389
7a292a7a
SS
9390Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9391
9392 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 9393 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
9394 command.
9395
93961999-03-18 James Ingham <jingham@cygnus.com>
9397
9398 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
9399
9400 * gdb.c++/method.exp: It was testing an uninitialized int on the
9401 stack and assuming it was positive.
9402
9403 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
9404
9405 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 9406 keep it from killing the rest of the tests.
7a292a7a
SS
9407 Use gdb_continue_to_end.
9408
9409 * gdb.base/sigall.exp: use gdb_continue_to_end.
9410
9411 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
9412
9413 * gdb.base/display.exp: use runto_main, not run.
9414
d63a86f8
RM
9415 * gdb.base/default.exp: Check for the current error message in the
9416 r abbreviation test.
7a292a7a
SS
9417 Add strongarm to the targets that know info float.
9418
d63a86f8 9419 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
9420 run which doesn't work with monitors.
9421
9422 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
9423
9424 * gdb.base/break.exp: use the gdb_continue_to_end proc.
9425
9426 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
9427 program. Traps the case (in Cygmon) when the program never really
9428 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
9429 more places, so I used my name. Sorry Mark...
9430
9431 * config/monitor.exp (gdb_target_monitor): added another
9432 target_info parameter: remotebinarydownload. This will set the
9433 remotebinarydownload flag if this is causing some boards trouble.
9434
94351999-03-18 Mark Salter <msalter@cygnus.com>
9436
9437 * lib/gdb.exp (continue_to_exit): New function.
9438
9439 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
9440 * gdb.base/ending-run.exp: Ditto.
9441 * gdb.base/step-test.exp: Ditto.
9442
94431999-03-16 Stan Shebs <shebs@andros.cygnus.com>
9444
9445 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
9446 (suggested by Art Haas <ahaas@neosoft.com>).
9447
94481999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
9449
9450 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
9451
9452Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
9453
9454 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
9455 descriptions of types (short unsigned int vs unsigned short, etc).
9456
94571999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
9458
9459 * gdb.base/call-strs.exp: Don't assume that `step' will step over
9460 a call to strlen; sometimes we do have sources.
9461
94621999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
9463
9464 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
9465 character, so GDB won't print garbage after its end.
d63a86f8 9466
c906108c
SS
9467 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
9468 breakpoint there instead. Sometimes GCC emits memcpy to handle
9469 the large structures being passed by value, so we step into that
9470 instead of sum_array_print, which obscures what we're really testing.
9471 * gdb.base/step-test.exp: However, we do want a test that notices
9472 the bizarre steps into memcpy, so do that here. Add check for
9473 stepping into function calls that pass large structures by value.
9474 ("Is that a noun clause, or are you just happy to see me?")
9475 Remove all references to specific line numbers.
9476 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
9477 New type and function.
9478 (main): Call large_struct_by_value, passing it a large struct by value.
9479 * lib/gdb.exp (gdb_get_line_number): New function.
9480
9481 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
9482 more portable.
9483
7a292a7a
SS
94841999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
9485
c906108c
SS
9486 * lib/gdb.exp: Doc fixes.
9487
7a292a7a
SS
94881999-03-05 Nick Clifton <nickc@cygnus.com>
9489
d63a86f8 9490 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
9491
94921999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
9493
c906108c
SS
9494 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
9495 commands. They're not germane to this test, and they don't work
9496 that way on remote targets.
9497
3fc11d3e
JM
94981999-03-01 James Ingham <jingham@cygnus.com>
9499
9500 * Changelog entries merged over from gdb development branch.
9501
3fc11d3e
JM
9502 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
9503
9504 * lib/gdb.exp (gdbtk_analyze_results): Generic function
9505 for outputting results of test run.
9506
2d4a1622 9507 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
9508
9509 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 9510
7a292a7a
SS
95111999-02-25 Felix Lee <flee@cygnus.com>
9512
9513 * lib/gdb.exp (debug_format): initialize
9514
c906108c
SS
95151999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
9516
9517 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
9518 * gdb.base/call-rt-st.c: Ditto.
9519
c906108c
SS
95201999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
9521
9522 * gdb.threads/pthreads.exp (horiz): New variable.
9523 (test_startup): Fix regexps that capture thread numbers.
9524
95251999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
9526
9527 * gdb.base/smoke.exp: Disambiguate two test case names (both
9528 called ``print'').
9529
9530Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
9531
9532 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
9533 compilation.
9534
95351999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
9536
9537 * gdb.base/miscexprs.exp: Change patterns to match GDB's
9538 actual output formatting.
9539 * gdb.base/smoke.exp: GDB removes leading 0's.
9540 * gdb.base/volatile.exp: Don't check type of remuneration;
9541 that variable is no longer defined in constvars.c.
9542 * gdb.base/step-test.c (main): Exit with explicit exit code.
9543 * gdb.base/step-test.exp: Remove two nexti checks--they are
9544 not portable.
9545
95461999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
9547
9548 * gdb.base/help.exp ("help delete display"): Fix test to match
9549 gdb's output.
9550
9551 * gdb.base/long_long.c (known_types): Initialize values to zero.
9552 * gdb.base/long_long.exp: Step one more line
9553 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 9554 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
9555 unique test case names.
9556
9557Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9558
d63a86f8 9559 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
9560
9561 * gdb.c++/method.exp: Add missing close brace.
9562
95631999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
9564
9565 * gdb.base/maint.exp: Use 'set height 0' to disable page
9566 prompting, not 'set height 400'.
9567
9568 Fix a bunch of timeouts.
9569 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
9570 four separate tests, so expect doesn't take forever to match a ton
9571 of text against a regexp with lots of .* forms.
9572 ("maint print psymbols", "maint print symbols"): Make some of
9573 these greps more selective, so that expect doesn't try to wade
9574 through huge piles of output and time out.
9575
9576 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
9577
9578 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
9579 tests: one which doesn't expect shlib events to be reported, and
9580 another which does, but is XFAIL for all platforms other than
9581 HP/UX.
9582
9583 * gdb.base/break.exp: Teach the test suite that the `catch
9584 fork', `catch vfork', and `catch exec' commands produce error
9585 messages on platforms that don't provide these features.
9586
9587Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
9588
9589 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
9590 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
9591 (shortening names from solib_threshold.exp etc), won't run on
9592 anything but HP-UX for the foreseeable future.
9593 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
9594 reflect move.
9595
9596Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
9597
9598 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9599 gdb.trace/Makefile.in (clean): Remove all test executables.
9600
9601Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
9602
9603 * gdb.base/shlib-call.exp: add test cases to verify that gdb
9604 successfully re-sets breakpoints in shared libraries.
9605 * gdb.base/shmain.c (main): return 0, don't fall off the end.
9606
9607Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9608
d63a86f8
RM
9609 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
9610 and compiled w/o GCC.
c906108c
SS
9611
9612 * gdb.hp/watch-cmd.exp: ditto.
9613
9614 * gdb.hp/watch-hp.exp: ditto.
9615
9616 * gdb.hp/xdb1.exp: ditto.
9617
9618 * gdb.hp/xdb2.exp: ditto.
9619
9620 * gdb.hp/dbx.exp: ditto.
9621
9622Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
9623
9624 * constvars.c: Remove C++-isms.
9625 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
9626 with GCC.
9627
9628Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
9629
9630 The following changes are part of the HP merge.
9631
9632 * gdb.base/break.exp: new tests to verify that catchpoints for
9633 fork, vfork, and exec don't trigger inappropriately.
9634
9635 * gdb.base/opaque.exp: compile one file at a time, then link.
9636
9637 * gdb.base/signals.exp: be more restrictive about which hppa
9638 systems receive a setup_xfail. new tests.
9639
9640 * gdb.base/solib_threshold.build: new file.
9641 * gdb.base/solib_threshold.exp: new file.
9642 * gdb.base/solib_threshold.link_opts: new file.
9643 * gdb.base/solib_threshold.mk: new file.
9644 * gdb.base/gen_solib_threshold.c: new file.
9645
9646 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
9647 tests. New tests for enums inside classes.
9648
9649 * gdb.c++/compiler.cc: indicate support of template debugging.
9650
9651 * gdb.c++/demangle.exp: run hp style demangling tests.
9652
9653 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
9654 tests.
9655
9656 * gdb.c++/misc.cc: changes to support new tests.
9657
9658 * gdb.c++/templates.cc: changes to support HP's compiler; changes
9659 to support new tests.
9660
9661 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
9662 gcc, then skip these tests.
9663
9664Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
9665
9666 The following files are part of the HP merge; some had longer
9667 names at HP, but have been renamed to be no more than 14
9668 characters in length.
9669
9670 * gdb.hp/ambiguous.cc: new file.
9671 * gdb.hp/ambiguous.exp: new file.
9672 * gdb.hp/attach.exp: new file.
9673 * gdb.hp/attach2.exp: new file.
9674 * gdb.hp/classes-hp.exp: new file.
9675 * gdb.hp/ctti.exp: new file.
9676 * gdb.hp/ctti-add.cc: new file.
9677 * gdb.hp/ctti-add1.cc: new file.
9678 * gdb.hp/ctti-add2.cc: new file.
9679 * gdb.hp/ctti-add3.cc: new file.
9680 * gdb.hp/dbx.exp: new file.
9681 * gdb.hp/exception.cc: new file.
9682 * gdb.hp/exception.exp: new file.
9683 * gdb.hp/foll-exec.c: new file.
9684 * gdb.hp/foll-exec.exp: new file.
9685 * gdb.hp/foll-fork.c: new file.
9686 * gdb.hp/foll-fork.exp: new file.
9687 * gdb.hp/foll-vfork.c: new file.
9688 * gdb.hp/foll-vfork.exp: new file.
9689 * gdb.hp/inherit-hp.exp: new file.
9690 * gdb.hp/more-steps.exp: new file.
9691 * gdb.hp/namespace.cc: new file.
9692 * gdb.hp/namespace.exp: new file.
9693 * gdb.hp/optimize.exp: new file.
9694 * gdb.hp/pxdb.c: new file.
9695 * gdb.hp/pxdb.exp: new file.
9696 * gdb.hp/quicksort.exp: new file.
9697 * gdb.hp/reg-test.exp: new file.
9698 * gdb.hp/reg-test.s: new file.
9699 * gdb.hp/sized-enum.c: new file.
9700 * gdb.hp/sized-enum.exp: new file.
9701 * gdb.hp/start-stop.exp: new file.
9702 * gdb.hp/templ-hp.cc: new file.
9703 * gdb.hp/templ-hp.exp: new file.
9704 * gdb.hp/thr-lib.c: new file.
9705 * gdb.hp/thr-lib.exp: new file.
9706 * gdb.hp/thr-lib.h: new file.
9707 * gdb.hp/thr-liblib.c: new file.
9708 * gdb.hp/virtfun-hp.c: new file.
9709 * gdb.hp/virtfun-hp.exp: new file.
9710 * gdb.hp/watch-cmd.exp: new file.
9711 * gdb.hp/watch-hp.exp: new file.
9712 * gdb.hp/xdb1.exp: new file.
9713 * gdb.hp/xdb2.exp: new file.
9714 * gdb.hp/xdb3.exp: new file.
9715
9716Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
9717
9718 The following files are part of the HP merge; some had longer
9719 names at HP, but have been renamed to be no more than 14
9720 characters in length.
9721
9722 * gdb.base/ss.h: new file.
9723 * gdb.base/call-ar-st.c: new file.
9724 * gdb.base/call-ar-st.exp: new file.
9725 * gdb.base/call-rt-st.c: new file.
9726 * gdb.base/call-rt-st-exp: new file.
9727 * gdb.base/call-strs.exp: new file.
9728 * gdb.base/ena-dis-br.exp: new file.
9729 * gdb.base/environ.exp: new file.
9730 * gdb.base/long_long.exp: new file.
9731 * gdb.base/sect-cmd.exp: new file.
9732 * gdb.base/shlib-cl2.exp: new file.
9733 * gdb.base/smoke.exp: new file.
9734 * gdb.base/so-impl-ld.c: new file.
9735 * gdb.base/so-impl-ld.exp: new file.
9736 * gdb.base/so-indr-cl.c: new file.
9737 * gdb.base/so-indr-cl.exp: new file.
9738 * gdb.base/varargs.exp: new file.
9739 * gdb.base/volatile.exp: new file.
9740 * gdb.base/whatis-exp.exp: new file.
7a292a7a 9741 * gdb.base/display.exp: new file.
c906108c
SS
9742 * gdb.c++/derivation.exp: new file.
9743 * gdb.c++/local.exp: new file.
9744 * gdb.c++/member-ptr.exp: new file.
9745 * gdb.c++/overload.exp: new file.
9746 * gdb.c++/ovldbreak.exp: new file.
9747 * gdb.c++/ref-types.exp: new file.
9748 * gdb.c++/ref-types2.exp: new file.
9749 * gdb.c++/userdef.exp: new file.
d63a86f8 9750
c906108c
SS
9751Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
9752
9753 * gdb.base/default.exp: Reflect wording change in remote.c.
9754
dc96c6c7 9755Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9756
9757 * gdb.base/help.exp: Update to reflect current text.
9758
9759Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
9760
9761 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
9762 they're stack variables and contain garbage.
9763 * gdb.c++/anon-union.exp: new file.
9764
9765 The following changes were made by David Taylor
9766 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
9767 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
9768 in changes by HP.
9769
9770 * gdb.base/bitops.exp: new file.
9771 * gdb.base/default.exp: change expected messages for catch and
9772 info catch tests to reflect HP merge changes.
9773 * gdb.base/enable-disable-break.exp
9774 * gdb.base/ending-run.c: new file.
9775 * gdb.base/long_long.c: new file.
9776 * gdb.base/maint.exp: new file.
9777 * gdb.base/pointers2.exp: new file.
9778 * gdb.base/shlib-call2.exp: new file.
9779 * gdb.base/solib.exp: new file.
9780 * gdb.base/step-test.c: new file.
9781 * gdb.c++/anon-union.cc: new file.
9782 * gdb.c++/local.cc: new file.
9783 * gdb.c++/member-pointer.cc: new file.
9784 * gdb.c++/method.cc: new file.
9785 * gdb.c++/ref-types.cc: new file.
9786 * gdb.c++/ref-types2.cc: new file.
9787 * gdb.c++/userdef.cc: new file.
d63a86f8 9788
c906108c
SS
9789 * gdb.base/scope.exp: compile one file at a time, then link.
9790 * gdb.base/langs.exp: ditto.
9791 * gdb.base/list.exp: ditto.
d63a86f8 9792
c906108c
SS
9793Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
9794
9795 The following changes were made by David Taylor
9796 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
9797 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
9798 in changes by HP.
d63a86f8 9799
c906108c
SS
9800 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
9801 skip tests. When compiling pass c++ flag to gdb_compile.
9802 * gdb.c++/
d63a86f8 9803
c906108c
SS
9804 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
9805 test for on hppa*-*-hpux*; use args to see if c++ was specified.
9806 (skip_hp_tests): new function.
9807 (gdb_preprocess): new function.
9808
9809 * configure.in (hpdir): decide whether to configure gdb.hp.
9810 * configure: regenerated.
9811
9812 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
9813 to delete on clean.
9814 (EXECUTABLES): update to reflect new additions.
9815 * gdb.base/commands.exp: update message expected.
9816 * gdb.base/default.exp: add copyright notice.
9817 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
9818 * gdb.base/help.exp: update messages to reflect current text.
9819 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
9820 targets for recurse tests.
9821 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
9822 skip this file.
9823
9824 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
9825 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
9826 compilation.
9827 * gdb.c++/misc.exp: ditto.
9828 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
9829 run the tests. tell gdb_compile that it's a c++ compilation.
9830
9831 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 9832
c906108c
SS
9833 * gdb.base/all-bin.exp: new file.
9834 * gdb.base/arithmet.exp: new file.
9835 * gdb.base/assign.exp: new file.
9836 * gdb.base/completion.exp: new file.
9837 * gdb.base/cond-expr.exp: new file.
9838 * gdb.base/condbreak.exp: new file.
9839 * gdb.base/define.exp: new file.
9840 * gdb.base/dollar.exp: new file.
9841 * gdb.base/environment.exp: new file.
9842 * gdb.base/eval-skip.exp: new file.
9843 * gdb.base/jump.exp: new file.
9844 * gdb.base/logical.exp: new file.
9845 * gdb.base/pointers.exp: new file.
9846 * gdb.base/relational.exp: new file.
9847 * gdb.base/section_command.exp: new file.
9848 * gdb.base/whatis-expr.exp: new file.
9849
9850 * gdb.base/all-types.c: new file.
9851 * gdb.base/call-array-struct.c: new file.
9852 * gdb.base/call-return-struct.c: new file.
9853 * gdb.base/call-strings.c: new file.
9854 * gdb.base/callfuncs2.c: new file.
9855 * gdb.base/condbreak.c: new file.
9856 * gdb.base/constvars.c: new file.
9857 * gdb.base/display.c: new file.
9858 * gdb.base/int-type.c: new file.
9859 * gdb.base/jump.c: new file.
9860 * gdb.base/miscexprs.c: new file.
9861 * gdb.base/pointers.c: new file.
9862 * gdb.base/pointers2.c: new file.
9863 * gdb.base/shmain.c: new file.
9864 * gdb.base/shr1.c: new file.
9865 * gdb.base/shr2.c: new file.
9866 * gdb.base/solib.c: new file.
9867 * gdb.base/solib1.c: new file.
9868 * gdb.base/solib2.c: new file.
9869 * gdb.base/varargs.c: new file.
9870 * gdb.c++/derivation.cc: new file.
9871 * gdb.c++/overload.cc: new file.
9872 * gdb.c++/ovldbreak.cc: new file.
9873 * gdb.hp/attach.c: new file.
9874 * gdb.hp/attach2.c: new file.
9875 * gdb.hp/average.c: new file.
9876 * gdb.hp/compiler.c: new file.
9877 * gdb.hp/compiler.cc: new file.
9878 * gdb.hp/execd-program.c: new file.
9879 * gdb.hp/follow-exec.c: new file.
9880 * gdb.hp/follow-fork.c: new file.
9881 * gdb.hp/follow-vfork-and-exec.c: new file.
9882 * gdb.hp/misc-hp.cc: new file.
9883 * gdb.hp/more-steps.c: new file.
9884 * gdb.hp/optimize.c: new file.
9885 * gdb.hp/quicksort.c: new file.
9886 * gdb.hp/run-hp.c: new file.
9887 * gdb.hp/start-stop.c: new file.
9888 * gdb.hp/sum.c: new file.
9889 * gdb.hp/templates-hp.cc: new file.
9890 * gdb.hp/thread-local-in-lib.c: new file.
9891 * gdb.hp/thread-local-in-lib.h: new file.
9892 * gdb.hp/thread-local-in-lib.lib.c: new file.
9893 * gdb.hp/vforked-program.c: new file.
9894 * gdb.hp/virtfunc-hp.cc: new file.
9895 * gdb.hp/watchpoint-hp.c: new file.
9896 * gdb.hp/xdb.c: new file.
9897 * gdb.hp/xdb0.c: new file.
9898 * gdb.hp/xdb0.h: new file.
9899 * gdb.hp/xdb1.c: new file.
9900
9901Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
9902
9903 The following change was made by Edith Epstein
9904 <eepstein@cygnus.com> as part of a project to merge in changes
9905 originally made by HP; HP did not create ChangeLog entries.
9906
9907 * gdb.c++/demangle.exp: changed the expected output for some
9908 ARM-style mangling -- removed second reference to datatype.
9909 For example, maint demangle __dt__11T1__pt__2_cFv
9910 T1<char>::~T1<char>(void)
9911 becomes,
9912 maint demangle __dt__11T1__pt__2_cFv
9913 T1<char>::~T1(void)
9914
9915 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 9916
c906108c
SS
9917Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
9918
9919 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
9920 * gdb.trace/backtrace.exp: Likewise.
9921 * gdb.trace/circ.exp: Likewise.
9922 * gdb.trace/collection.exp: Likewise.
9923 * gdb.trace/deltrace.exp: Likewise.
9924 * gdb.trace/infotrace.exp: Likewise.
9925 * gdb.trace/limits.exp: Likewise.
9926 * gdb.trace/packetlen.exp: Likewise.
9927 * gdb.trace/passc-dyn.exp: Likewise.
9928 * gdb.trace/passcount.exp: Likewise.
9929 * gdb.trace/report.exp: Likewise.
9930 * gdb.trace/save-trace.exp: Likewise.
9931 * gdb.trace/tfind.exp: Likewise.
9932 * gdb.trace/tracecmd.exp: Likewise.
9933 * gdb.trace/while-dyn.exp: Likewise.
9934 * gdb.trace/while-stepping.exp: Likewise.
9935
99361998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
9937
9938 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
9939
9940Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
9941
9942 From Brendan Kehoe:
9943 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
9944 int return types.
9945
9946Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
9947
9948 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
9949 remote dos host testing right.
9950
9951Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
9952
9953 * gdb.base/corefile.exp: remove some xfails.
9954
9955Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
9956
9957 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
9958 have different timestamps.
9959
9960Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
9961
9962 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
9963 gdb.base/default.exp: Replace "exec" with "executable".
9964
9965Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
9966
9967 * gdb.base/default.exp: Change else if to elseif from previous
9968 delta.
9969
9970Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
9971
9972 * gdb.base/default.exp: Add brace missing from previous delta.
9973
9974Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
9975
9976 * gdb.base/default.exp: Support test for info float for all
9977 varieties of arm toolchain.
9978
dc96c6c7 9979Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9980
9981 * gdb.trace/*.exp: remove "remote_download" command.
9982
dc96c6c7 9983Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9984
9985 * gdb.trace/*.exp: remove -gdwarf from compile.
9986
9987Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
9988
9989 * gdb.trace/configure.in(AC_INIT): typo
9990 * gdb.trace/configure: regenerated
9991
dc96c6c7 9992Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9993
9994 * config/m68k-emc.exp: New file.
9995 * lib/<emc-support.exp trace-support.exp}: New files.
9996 * configure.in: add new test directory gdb.trace.
9997 * gdb.trace/{configure configure.in Makefile.in}: New files.
9998 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
9999 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
10000 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
10001 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
10002 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
10003 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
10004 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 10005
dc96c6c7 10006Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10007
10008 * gdb.c++/classes.exp: Change all regular expressions to match
10009 arbitrary combinations of newline/carriage-return, so that they
10010 will work equally well on Unix and Windows.
10011 * gdb.c++/inherit.exp: ditto.
10012 * gdb.c++/virtfunc.exp: ditto.
10013
100141998-08-11 Dawn Perchik <dawn@cygnus.com>
10015
10016 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
10017
c2d11a7d
JM
10018Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
10019
10020 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
10021 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
10022 to use a0-a3/d0-d3 as needed.
10023
10024Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
10025
10026 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
10027 * gdb.disasm/am33.exp: Corresponding changes.
10028
c906108c
SS
100291998-07-11 Felix Lee <flee@cygnus.com>
10030
10031 * gdb.base/callfuncs.exp: add cmp10 test.
10032 * gdb.base/callfuncs.c (cmp10): new function.
10033
10034Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
10035
d63a86f8 10036 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
10037 into two parts to get around a synchronization problem in expect.
10038
3fc11d3e
JM
10039Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
10040
10041 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
10042
10043 * configure.in: Add options for gdbtk testsuite.
10044
10045 * configure: Regenerate.
10046
10047 * gdb.gdbtk: New directory to hold gdbtk tests.
10048
c906108c
SS
10049Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
10050
10051 * gdb.fortran/types.exp: Escape brackets in expect patterns
10052 for test_float_literal_types_accepted tests.
10053 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
10054 before run test.
10055
c2d11a7d
JM
10056Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
10057
10058 * am33.exp: Just compile, do not link the testcase.
10059 * am33.s: Add ".am33" pseudoop to force am33 mode.
10060
c906108c
SS
100611998-06-25 Felix Lee <flee@cygnus.com>
10062
10063 * gdb.base/setshow.exp: make sure $pc is sane.
10064
10065 * gdb.stabs/weird.exp: split expect patterns properly.
10066
c2d11a7d
JM
10067Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
10068
10069 * gdb.disasm/am33.s: New disassembler testfile for the am33.
10070 * gdb.disasm/am33.exp: Run it.
10071
dc96c6c7 10072Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10073
10074 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
10075 match processing (and eliminate spurious timeouts when running).
10076
dc96c6c7 10077Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10078
10079 * gdb.base/signals.exp (test_handle_all_print): put back Mach
10080 exception test, but conditionalize it on target [mach | gnu].
10081
dc96c6c7 10082Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10083
10084 * gdb.base/overlays.exp: fixup compile line for linker script.
10085
10086Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
10087
10088 * gdb.fortran/types.exp: don't guess at float size.
10089
10090Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
10091
10092 * gdb.base/exprs.exp: delete test that depends on int size.
10093
10094Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
10095
10096 * config/sim.exp: Removed checks for target triplets.
10097 (gdb_target_sim): Use gdb,target_sim_options.
10098
10099Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
10100
10101 * gdb.base/reread.exp: New file.
10102 * gdb.base/reread1.c: New file.
10103 * gdb.base/reread2.c: New file.
10104
10105Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
10106
10107 * config/sim.exp: Use 'target sim -sparclite' when running
10108 SPARClite programs.
10109
10110Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
10111
10112 * gdb.base/structs2.exp: New file.
10113 * gdb.base/structs2.c: New file.
10114
10115Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
10116
10117 * gdb.asm/common.inc: New file.
10118 * gdb.asm/d10v.inc: New file.
10119 * asm-source.exp: Pass -I's to gas to find .inc files.
10120 Update line numbers in expected output.
10121 * asmsrc1.s: Rewrite.
10122 * asmsrc2.s: Rewrite.
10123 * configure.in: Create arch.inc symlink.
10124 * configure: Regenerate.
10125 * Makefile.in (distclean): Delete arch.inc.
10126
10127Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
10128
10129 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
10130 (t_enum_value2): ditto
10131 (t_enum_value3): ditto
10132 (main): ditto
10133Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
10134
10135 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
10136 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
10137 change.
10138 Use gdb_test instead of send_gdb/gdb_expect sequences.
10139
10140Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
10141
10142 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
10143 not void.
10144
10145Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
10146
10147 * gdb.base/branches.c: Code with lots of loops and
10148 subroutines. Used to test gdbs ability to single step through PC
10149 changes, especially to test mips-tdep.c:mips_next_pc
10150
10151Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
10152
10153 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
10154 more rigorous EGCS C++ error checking.
10155
10156Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10157
10158 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 10159 tests.
c906108c 10160 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 10161 function when asleep.
c906108c 10162 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
10163 for i*86 Linux and SVR4 signal handling problems.
10164 Remove linux xfail for `next to handler in signals_tests_1', fixed
10165 by recent infrun.c change.
c906108c 10166 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 10167 stack backtraces.
c906108c
SS
10168 Adjust expect pattern in `handle all print' test to match Apr 28 1997
10169 target.[ch] change.
10170
10171Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
10172
10173 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
10174 for a newline from gdb before continuing.
10175 (default_gdb_exit): Just look for y or n.
10176 (gdb_test): Detect abnormal exit from GDB running on DOS; if
10177 it does, fail the rests of the tests in the file.
10178
10179Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
10180
10181 * config/cygmon.exp: New file.
10182
10183Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
10184
10185 * gdb.base/list.exp: Fix problem with "list default lines around
10186 main" test on remote targets.
10187
10188 * gdb.base/scope.exp: Fix problem with filelocal_bss before
10189 run test on remote targets.
10190
10191Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
10192
10193 * gdb.asm: New directory.
10194 * configure.in: Configure it.
10195 * configure: Regenerate.
10196 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
10197 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
10198
10199Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
10200
10201 * config/mn10300-eval.exp: New file to support MN10300 eval board.
10202
dc96c6c7 10203Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 10204
c906108c
SS
10205 * gdb.base/overlays (several files): Merge the two overlay
10206 managers into one. Change variables (foox, barx, bazx, grbxx)
10207 back into ints but force them to load in their proper sections.
10208
10209Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
10210
10211 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
10212 on-chip insn memory and IMAP1 to upper 128k.
10213 (D10VCopy): Handle memory regions crossing 16k boundaries.
10214 (D10VCopy): Transfer data in 32 bit chunks.
10215
10216Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
10217
10218 * gdb.base/overlays.c (main): Exit normally when result is
10219 correct.
10220
10221 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
10222 map. Include space for printf in .text segment.
10223
10224 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
10225 updated d10v memory VMA/LMA map.
10226 (D10VCopy): Call D10VTranslate.
d63a86f8 10227
c906108c
SS
10228Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
10229
10230 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
10231
10232 * gdb.base/bar.c (barx, bar): Change variable to small array so
10233 that it won't be put into the .sdata - small data -
10234 section. Update reference.
10235 * gdb.base/baz.c (bazx, baz): Ditto.
10236 * gdb.base/foo.c (foox, foo): Ditto.
10237 * gdb.base/grbx.c (grbxx, grbx): Ditto.
10238
10239 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
10240 to be arrays.
d63a86f8 10241
dc96c6c7 10242Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 10243
c906108c
SS
10244 * gdb.base/overlays.exp: fix up and get working again.
10245 Add tests for backtraces from an overlay function.
d63a86f8 10246
c906108c
SS
10247Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
10248
10249 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
10250 "calling function with watchpoint enabled".
10251
10252Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
10253
10254 * gdb.base/break.exp (test_next_with_recursion): Remove
10255 gdb_suppress_tests for d10v-*-*.
10256 * lib/gdb.exp (gdb_suppress_tests): Disable this function
10257 pending review of whether it is useful or not.
10258
10259Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
10260
10261 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
10262
10263Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
10264
10265 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
10266 * config/dve.exp: New file to support Densan boards.
10267
10268Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
10269
10270 * gdb.base/interrupt.exp: Document problem of simulators, signals,
10271 reads and BSD.
10272
10273Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
10274
10275 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
10276 response.
10277
10278 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
10279
10280Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
10281
10282 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
10283 test.
10284
10285 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
10286 target_sizeof_long and target_bigendian_p.
10287 (structs_by_value, structs_by_reference): Check values according
10288 to targets word size and endianess.
d63a86f8 10289
c906108c
SS
10290Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
10291
10292 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
10293 output.
10294
10295Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
10296
10297 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
10298 Update test of set args help to match source change.
10299
10300Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
10301
10302 * gdb.base/default.exp: Expect help system output to be in
10303 alphabetical order.
10304 * gdb.base/help.exp: Ditto.
10305
10306Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
10307
10308 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
10309 "i*86-pc-linux-gnu*".
10310 * gdb.base/interrupt.exp: Ditto.
10311 * gdb.base/corefile.exp: Ditto.
10312
10313 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
10314 define vxworks when building the testcase.
10315
10316 * gdb.base/ptype.exp: Fix testnames to be unique.
10317 * gdb.base/radix.exp: Ditto.
10318 * gdb.base/term.exp: Ditto.
10319 * gdb.base/whatis.exp: Ditto.
10320 * gdb.c++/classes.exp: Ditto.
10321
10322Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
10323
10324 * gdb.base/callfuncs.exp: Fix indentation.
10325
10326 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
10327 suppress_flag has been set.
10328 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
10329 target feature.
10330
10331Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
10332
10333 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
10334 the testcase.
10335
10336 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
10337 set_debug_traps() and breakpoint().
10338 * gdb.c++/misc.cc (main): Ditto.
10339 * gdb.c++/templates.cc (main): Ditto.
10340 * gdb.c++/virtfunc.cc (main): Ditto.
10341
10342Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
10343
10344 * lib/gdb.exp(gdb_step_for_stub): New function.
10345 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
10346 exists, reload the executable and do a "continue" instead of
10347 doing a jump.
10348 (runto_main): Use gdb_step_for_stub.
d63a86f8 10349
c906108c
SS
10350 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
10351 tests to have unique names.
10352 * gdb.base/callfuncs.exp: Ditto.
10353 * gdb.base/commands.exp: Ditto.
10354 * gdb.base/default.exp: Ditto.
10355 * gdb.base/help.exp: Ditto.
10356 * gdb.base/list.exp: Ditto.
10357 * gdb.base/opaque.exp: Ditto.
10358 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
10359 similar tests.
d63a86f8 10360
c906108c
SS
10361 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
10362 * gdb.c++/cplusfuncs.cc: Ditto.
10363 * gdb.c++/virtfunc.cc: Ditto.
10364
10365 * config/monitor.exp: Keep track of the last file we saw, rather
10366 than trying to get the info from gdb.
10367
10368 * gdb.fortran/types.exp: Move comment to previous line.
10369
10370Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
10371
10372 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
10373 target mode.
10374
10375Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
10376
10377 From Bob Manson:
10378 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
10379 string from GDB when it connects.
10380
10381 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
10382
10383Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
10384
10385 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
10386 if we can't get a debug format from GDB (we may be testing an
10387 older GDB). Use a 10 second timeout when checking for the format.
10388
10389 * gdb.stabs/weird.exp: Fix quoting.
10390
10391 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
10392
10393Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
10394
10395 * config/arm-ice.exp: New file.
10396
10397Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
10398
10399 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
10400 until it has been modified to work with the new testsuite.
10401
99707966 10402 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
10403 testcase won't compile, cause all of the testcases in the file to
10404 fail instead.
10405
10406 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
10407 (gdb_clear_suppressed): New procedure.
10408 (gdb_stop_suppressing_tests): Only clear suppress_flag if
10409 it contains a positive value.
10410
10411Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
10412
10413 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
10414
10415 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
10416
10417Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
10418
10419 * lib/gdb.exp (setup_xfail_format): New function.
10420 (get_debug_format): New function to get debug format.
10421 (debug_format): New global variable to hold last value set
10422 by get_debug_format.
10423 * gdb.base/list.exp: Call get_debug_format and expect some
10424 tests to fail for DWARF 1 and COFF formats.
10425 * gdb.c++/ptype.exp: Ditto.
10426 * gdb.c++/classes.exp: Ditto.
10427 * gdb.c++/cplusfuncs.exp: Ditto.
10428 * gdb.c++/inherit.exp: Ditto.
10429 * gdb.c++/templates.exp: Ditto.
10430 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 10431
c906108c
SS
10432Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
10433
10434 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
10435 host doesn't have a currently-open connection.
10436
10437 * config/sparclet.exp: Cleanups and fixes to make it generic for
10438 any gdb stub target. Handle cases where gdb doesn't respond when
10439 interrupted in a sane fashion.
10440
10441 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
10442 same thing in a totally different way.
10443
10444 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
10445 setting "timeout".
10446 (gdb_start): We set the global gdb_prompt variable in
10447 default_gdb_init now.
10448
10449Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
10450
10451 * gdb.base/printcmds.exp: Fix "check for floating addition"
10452 regexp to accept results within approx +/- .01 of exact value.
10453 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
10454
10455Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
10456
10457 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
10458 properly.
10459 (gdb_expect): Add optional timeout parameter, and add timeout
10460 value to various calls.
10461 (gdb_suppress_tests): Only give one warning message per group.
10462
10463Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
10464
10465 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
10466 global variables. Handle getting a value for $timeout more
10467 gracefully.
10468
10469Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
10470
10471 * lib/gdb.exp: Close connection to remote host if gdb doesn't
10472 initialize.
10473 (default_gdb_init): New procedure; allow gdb_init to be overridden
10474 by a target configuration file.
10475 (gdb_expect): Pass the timeout to remote_expect.
10476
10477 * config/monitor.exp(gdb_load): Fix typo in regexp.
10478
10479Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
10480
10481 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
10482
10483Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
10484
10485 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
10486 here. Call gdb_target_exec before rebooting the target, to make
10487 sure the connection to the target is closed.
10488 (gdb_load): Pass the name of the executable to gdb_target_monitor.
10489 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
10490 Also detect "Timeout reading from remote" error.
10491
10492 * config/gdbserver.exp: Pass the executable being loaded to
10493 gdb_target_monitor. Don't call gdb_file_cmd here; let
10494 gdb_target_monitor do it.
10495
10496 * gdb.disasm/hppa.exp: Don't use exec_output.
10497
10498Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
10499
10500 * gdb.base/list.exp: If we're debugging a non-native target,
10501 try to set the pc register to point to the start of the
10502 program before doing the first list command.
10503
10504 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
10505 test_calls after restarting.
10506
10507 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
10508 reloading.
10509
10510 * gdb.base/watchpoint.exp: Fix typo.
10511
10512 * gdb.base/setshow.exp: Check for use_gdb_stub.
10513
10514 * gdb.base/break.exp: Fix continue until exit test for the gdb
10515 stub case.
10516 * gdb.base/langs.exp: Ditto.
10517
10518 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
10519 gdb_load_offset. If we weren't given a file to load, figure out
10520 what the current file is and use it.
10521
10522 * config/i386-bozo.exp: New file.
10523
10524Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
10525
10526 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
10527 feature.
10528
10529 * config/proelf.exp: New entry.
10530
10531Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
10532
10533 * lib/gdb.exp: Remove spurious .* patterns at the beginning
10534 of regexps.
10535
10536 * gdb.base/watchpoint.exp: Don't run the test_stepping
10537 tests if gdb can't call functions on the target.
10538
10539 * gdb.base/setshow.exp: Don't run the set prompt tests if
10540 the board has gdb_prompt set.
10541
10542Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
10543
10544 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
10545 * gdb.base/commands.exp: Likewise.
10546 * gdb.base/setshow.exp: Likewise.
10547
10548Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
10549
10550 * config/monitor.exp(gdb_start): Look for gdb_prompt target
10551 feature.
10552
10553 * config/i960.exp: New file.
10554
10555Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
10556
10557 * gdb.base/funcargs.exp: Check for gdb,short_int target
10558 feature instead of looking for explicit target triplets.
10559
dc96c6c7 10560Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 10561
d63a86f8 10562 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
10563 "p 123DEADBEEF", to check parse_number.
10564 * top.c: change "to enable to enable" to "to enable" in a couple
10565 of help strings.
10566
10567Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
10568
10569 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
10570 on the mn10300.
d63a86f8 10571
c906108c
SS
10572Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
10573
10574 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
10575 where the test executable is run with explicit args.
10576 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
10577
10578Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
10579
10580 * gdb.base/run.c: Use FAKEARGV to build test executable that
10581 does not require a command line arg, since most simulators
10582 don't currently support passing such an arg into the simulated
10583 program.
10584 * gdb.base/commands.exp: Change tests to insert the proper
10585 value as the arg to the first recursive factorial call. Change
10586 compilation line to define FAKEARGV at compile time.
10587
10588Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
10589
10590 * gdb.base/recurse.exp: Enable these tests for the mn10300.
10591 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
10592 function with watchpoint enabled" test.
10593
10594Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
10595
10596 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
10597 Don't call gdb_test when the command doesn't return to a gdb prompt.
10598
10599 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
10600 "Tests restarted" messages.
10601
10602Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
10603
10604 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
10605
dc96c6c7 10606Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10607
10608 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
10609 for INFO SYMBOL; add help tests for OVERLAY commands.
10610 * gdb.base/default.exp: add tests for INFO SYMBOL command;
10611 add tests for OVERLAY commands
10612 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
10613 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
10614 * gdb.base/sigall.c: add usestubs code frag
10615 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 10616
c906108c
SS
10617Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
10618
10619 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
10620 failures.
10621 (gdb_stop_suppressing_tests): Note that tests have restarted.
10622
10623Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
10624
10625 * config/h8300.exp: New file.
10626
10627Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
10628
10629 * gdb.base/setshow.exp: Check for the existence of a
10630 feature, not its value.
10631
10632Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
10633
10634 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
10635
10636 * gdb.base/scope.exp: It's now init0(), not init().
10637
10638 * gdb.base/scope0.c: For now, change init() to be init0().
10639
10640 * config/monitor.exp: Use gdb_serial in preference to serial
10641 or netport.
10642
10643 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
10644 and it's not already set.
10645
10646Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
10647
10648 * gdb.base/setshow.exp: Only test the run command if the target
10649 isn't using a stub and if it supports argument passing.
10650
10651Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
10652
10653 * config/udi.exp(gdb_start): Make sure UDICONF is set
10654 properly before starting gdb.
10655
10656Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
10657
10658 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
10659 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
10660 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
10661
10662Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
10663
10664 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
10665 specialized code to reboot the board, use remote_reboot instead.
10666
10667 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
10668
10669 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
10670
10671 * config/monitor.exp: Make sure we disconnect from the target.
10672 Also, try a reboot/reload cycle instead of failing if the
10673 load fails.
10674
10675Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
10676
10677 * gdb.base/default.exp: Don't set match_max.
10678 * gdb.base/help.exp: Ditto.
10679 * gdb.base/list.exp: Ditto.
10680 * gdb.base/signals.exp: Ditto.
10681
10682 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
10683 set, use remote_ld to download the testcase instead of
10684 the GDB loader.
10685
10686Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
10687
10688 * config/vr5000.exp: New file.
10689
10690 * config/monitor.exp(gdb_target_monitor): Add pattern for
10691 "Ending remote" to detect errors in connecting.
10692
10693 * gdb.base/setshow.exp: Add .* within auto language test.
10694
10695 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
10696 target feature.
10697
10698 * config/monitor.exp(gdb_load): Check for a failure when loading,
10699 and reboot the board if necessary.
10700
10701 * gdb.base/setvar.exp(test_set): Handle multiple prints within
10702 a set of tests. Remove print.* from the patterns being checked.
10703
10704Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
10705
10706 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
10707 refer to gdb_spawn_id.
10708
10709 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
10710 longer used.
10711 * config/sparclet.exp: Ditto.
10712 * config/sparclet-old.exp: Ditto.
10713 * config/slite.exp: Ditto.
10714 * config/sim.exp: Ditto.
10715 * gdb.base/funcargs.exp: Ditto.
10716
10717 * lib/gdb.exp:Remove references to gdb_spawn_id.
10718 (gdb_expect): Move to remote.exp.
10719
10720Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
10721
10722 * config/monitor.exp: Detect the "Couldn't establish connection"
10723 message from GDB.
10724
10725Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
10726
10727 * gdb.base/bitfields.exp: Use runto instead of explicit
10728 gdb_run_cmd/gdb_expect sequences.
10729
10730 * gdb.base/break.exp(text_next_with_recursion): Add match for
10731 gdb_expect call.
10732
10733 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
10734 We also need to handle the "A program is being debugged already"
10735 prompt from gdb. Use gdb_test to set the baud rate.
10736
10737 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
10738 to 20000. Really. I mean it.
10739
10740Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
10741
10742 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
10743 fails. If suppress_flag is set, skip perror message about not
10744 being able to send to GDB.
10745 (send_gdb): If suppress_flag is set, don't try to send commands to
10746 GDB.
10747 (gdb_expect): If suppress_flag is set, always fail immediately.
10748 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
10749 (gdb_init): Call gdb_stop_suppressing_tests.
10750 (default_gdb_exit): Ditto.
10751 (default_gdb_start): Ditto.
10752
10753 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
10754 gdb_stop_suppressing_tests as appropriate.
10755 * gdb.base/break.exp: Ditto.
10756 * gdb.base/callfuncs.exp: Ditto.
10757 * gdb.base/commands.exp: Ditto.
10758 * gdb.base/exprs.exp: Ditto.
10759 * gdb.base/funcargs.exp: Ditto.
10760 * gdb.base/list.exp: Ditto.
10761 * gdb.base/recurse.exp: Ditto.
10762 * gdb.base/scope.exp: Ditto.
10763 * gdb.base/structs.exp: Ditto.
10764 * gdb.c++/inherit.exp: Ditto.
10765
10766Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
10767
10768 * config/vr4300.exp: New file.
10769
99707966 10770 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 10771
99707966 10772 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
10773
10774Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
10775
10776 * lib/gdb.exp(gdb_init): New function.
10777
10778 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
10779 for each individual variable set.
10780
10781 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
10782 name.
10783
10784 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
10785
10786 * gdb.base/scope.exp: Use gdb_test.
10787
10788 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
10789 aborting; the testsuite driver will do that for us (see
10790 gdb_finish). Also, use gdb_test in a few more places.
10791
10792Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
10793
10794 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
10795
10796Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
10797
10798 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
10799 and "add_tests" are not at the same address.
10800
10801Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
10802
10803 * gdb.base/ptype.exp: Use gdb_test.
10804
10805Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
10806
10807 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
10808 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
10809 left in. No longer expect them to fail.
10810
10811 * gdb.stabs/*.mt; Deleted, no longer used.
10812 * gdb.stabs/configure.in: Remove references to target makefile
10813 frags.
10814 * gdb.stabs/configure: Rebuilt.
10815
10816 * gdb.disasm/*.mt: Deleted, no longer used.
10817 * gdb.disasm/configure.in: Remove references to target makefile
10818 frags. Use "sh3.s" as the unique filename for this directory.
10819 * gdb.disasm/configure: Rebuilt.
10820
10821 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
10822 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
10823 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
10824
10825Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
10826
10827 * config/udi.exp: Use mondfe,name instead of remote_host.
10828
10829Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
10830
10831 * gdb.base/watchpoint.exp: Don't expect a failure when calling
10832 a function with a watchpoint enabled on the mn10200.
10833
10834 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
10835 before trying to create it!
10836
10837Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
10838
10839 * config/vx.exp: Use hostname instead of netport.
10840
10841 * config/vxworks.exp: New file.
10842
10843 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
10844
10845 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
10846 gdb before assuming everything worked. Send a ^C if a timeout
10847 occurs.
10848
10849 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
10850 $gdb_spawn_id directly.
10851 (gdb_run_cmd): Try _start as well as start. Use the target feature
10852 gdb,start_symbol as the symbol to start from when jumping.
10853
10854Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
10855
10856 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
10857 redundant) test.
10858
10859 * gdb.base/recurse.exp: Relax final value test for 'b' so that
10860 it doesn't lose for 16bit integer systems.
10861
10862Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
10863
10864 * gdb.fortran/types.exp: If the target doesn't support "double"
10865 data types, then expect "real" types to only be 4 bytes.
10866
10867 * gdb.c++/virtfunc.exp: Expect failure for virtual function
10868 call tests if the target doesn't support inferior function calls.
10869
10870 * gdb.base/printcmds.exp: Allow minor deviation in FP values
10871 in printf tests.
10872
10873Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
10874
10875 * gdb.base/help.exp: Disable "help set", "help show", and
10876 "help support". Simplify regexp for "help stack".
10877
10878 * gdb.base/default.exp: Set match_max to 5000 and the timeout
10879 to 60 seconds. Temporarily set match_max to 15000 around the
10880 "info copying" test.
10881
10882 * gdb.base/nodebug.exp: Don't try to do an inferior function
10883 call if the target doesn't support them.
10884 * gdb.base/printcmds.exp: Likewise.
10885 * gdb.base/setvar.exp: Likewise.
10886 * gdb.base/structs.exp: Likewise.
10887 * gdb.c++/templates.exp: Likewise.
10888 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
10889
10890 * gdb.base/recurse.exp: Enable for the mn10200.
10891
10892 * configure.in: Do configure gdb.stabs directory for *-*-elf
10893 targets.
10894 * configure: Rebuilt.
10895
10896 * gdb.base/break.exp: Check for gdb,noresults before testing
10897 exit status and/or results from the target.
10898 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
10899 * lib/gdb.exp: Remove old (now bogus) initialization of
10900 noinferior, noargs, noresults and nosignals.
10901
10902Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
10903
10904 * config/sh.exp: New file.
10905
10906 * config/slite.exp: Try to connect multiple times to the board
10907 before rebooting. Only send a "monitor run" if need_monitor_run
10908 is set.
10909
10910 * gdb.base/break.exp: Don't do the "stub continue" test if
10911 the target has gdb_stub set.
10912
10913 * gdb.base/callfuncs.exp: Increase the timeout.
10914
10915 * gdb.base/interrupt.exp: Don't even try to compile the testcase
10916 if the target has gdb,noinferiorio set.
10917
10918 * gdb.base/list.exp: Increase match_max to 10000 characters.
10919
10920 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
10921
10922 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
10923 target.
10924
10925 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
10926
10927Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
10928
10929 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
10930 trying to delete the copy of gdb. Catch the file delete so we
10931 don't die if the delete fails; also, the file should be copied to
10932 the host, not to the build.
10933
10934Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
10935
10936 * lib/gdb.exp(gdb_test): Surround the result pattern with
10937 parenthesis in case it contains multiple regexps separated
10938 with |.
10939
10940 * gdb.base/watchpoint.exp: Use gdb_test.
10941 * gdb.base/default.exp: Ditto.
10942
10943Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
10944
99707966 10945 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 10946
c906108c
SS
10947 * gdb.base/scope.exp: Use gdb_test.
10948 * gdb.c++/classes.exp: Ditto.
10949 * gdb.c++/inherit.exp: Ditto.
10950
10951Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
10952
10953 * gdb.base/crossload.exp: Don't use execute_anywhere, use
10954 remote_exec instead.
10955 * gdb.base/corefile.exp: Don't be ridiculous.
10956 * gdb.base/*.c: Add missing stub invocations.
10957
10958Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
10959
10960 * config/slite.exp: Miscellaneous fixes.
10961
10962 * lib/gdb.exp: Fix runto.
10963
10964 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
10965 the target.
10966
10967 * gdb.base/watchpoint.exp: Fix regexp.
10968
10969 * lib/gdb.exp(default_gdb_exit): Add a catch to the
10970 close and wait commands, as the descriptor may now be
10971 invalid. Always call "remote_close host".
10972
10973Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
10974
10975 Major rewrite for testsuite revision.
d63a86f8 10976
c906108c
SS
10977 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
10978 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
10979 instead of relying on spawn_id to always contain a valid
10980 spawn id.
10981 (get_compiler_info): New procedure to build the ${binfile}.ci
10982 file, instead of replicating this in N different places.
10983 (gdb_compile): New procedure.
d63a86f8 10984
c906108c
SS
10985 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
10986 appropriate arguments) instead of compile. Use gdb_test in a lot
10987 more places. Use send_gdb instead of send. Always run gdb_start
10988 at the start of a testcase, as this is no longer done magically.
10989
10990 config/*-gdb.exp: Rename without the -gdb suffix.
10991
10992 config/mips.exp: Use remote_close instead of exit_remote_shell.
10993 config/monitor.exp: Use target_info instead of looking at
10994 baud, timeout, etc.
10995 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
10996
10997Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10998
10999 * gdb.c++/templates.exp (test_ptype_of_templates),
11000 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
11001 Update expect patterns for destructors and assignment operators
11002 to match corresponding c-typeprint.c changes.
11003 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
11004 to destructor breakpoint test, GDB should be able to set the
11005 destructor breakpoint without specifying arguments.
11006
11007Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
11008
11009 * gdb.threads/pthreads.exp: Change result for failure to compile due
11010 to lack of pthreads runtime support from an error to simply an
11011 unsupported test, per dejagnu standards.
11012
11013Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11014
11015 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
11016 where GDB exits to reduce pattern match time.
11017 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
11018
11019 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
11020
dc96c6c7 11021Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11022
11023 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
11024 * gdb.base/default.exp: ditto.
11025 * gdb.base/nodebug.exp: ditto.
11026 * gdb.base/printcmds.exp: ditto.
11027 * gdb.base/ptype.exp: ditto.
11028 * gdb.base/setvar.exp: ditto.
11029 * gdb.base/structs.exp: ditto.
11030 * gdb.base/setshow.c: Guard against uninitialized values of argc.
11031
11032Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
11033
11034 * configure, */configure: Rebuild with autoconf 2.12.
11035
11036Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
11037
11038 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
11039 use new i*86-pc-linux*-gnu quads.
11040 * gdb.base/corefile.exp: Ditto.
11041 * gdb.base/signals.exp: Ditto.
11042 * gdb.base/sigall.exp: Ditto.
11043 * gdb.base/interrupt.exp: Ditto.
11044
11045 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
11046 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
11047 RedHat 4.0.
d63a86f8 11048
c906108c
SS
11049 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
11050 linux. This allows the test case to at least compile on latest
11051 linux, but still not run due to missing the threads runtime library.
11052
11053Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11054
11055 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
11056 directory to search gdb directory. Accept and step over conditional
11057 stack alignment code. Consume $prompt in failure cases.
11058 Reset timeout to $oldtimeout instead of some arbitrary value.
11059 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
11060 timeout problems with infinite stack backtraces.
11061 * gdb.base/ptype.exp (ptype struct link, union tu_link):
11062 Accept function parameters for linkfunc member.
11063
11064Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
11065
11066 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
11067 (CXXFLAGS): Remove, unreferenced.
11068 (B_OPTIONS): Add for -B options and add code to initialize with
11069 previous -B options and also add -B option to pick up cross compiled
11070 runtime.
11071 (TARGET_INCLUDES): Add for -I options and add code to initialize when
11072 doing cross compiles.
11073 (target_alias): Declare global.
11074 (xgcc): Set variable to full path of gcc in build tree. Use findfile
11075 to verify that gcc exists in build tree, and if so set CC to that
11076 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 11077
c906108c
SS
11078Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
11079
11080 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
11081 ptype test for anonymous union. Fixup testcase to match
11082 current gcc debug output.
11083
11084Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
11085
11086 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
11087 force argument to an unsigned long type.
11088
11089Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
11090
11091 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
11092 tests and anonymous union print/ptype tests.
11093 * gdb.base/list.exp (test_forward-search): Increase timeout by
11094 5 minutes for the "search extremely long line" case.
11095 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
11096 completely optional and that the pass/fail messages use the command as
11097 the message if that third arg is a null string.
11098 (gdb_test_exact): Arrange that a null string pattern means match a
11099 null string output rather than any output, which might include random
11100 errors.
11101 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
11102 backtrace test.
11103 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
11104 always failing and failure is now exposed by gdb.exp changes.
11105
11106Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
11107
11108 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
11109 weren't being noted.
11110
11111Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11112
11113 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
11114 * gdb.stabs/weird.exp: Remove v_comb xfails.
11115
dc96c6c7 11116Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11117
11118 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
11119 list.exp scope.exp watchpoint.exp]
11120 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 11121
dc96c6c7 11122Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11123
11124 * config/monitor.exp: Increase download timeout to 1000 seconds.
11125
dc96c6c7 11126Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11127
11128 * config/m32r.exp: Increase timeout to 120 seconds.
11129
11130Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
11131
11132 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
11133 and accept older ordering as obsolescent gcc or gdb.
11134 * gdb.c++/templates.exp: Ditto.
11135 * gdb.c++/virtfunc.exp: Ditto.
11136
11137Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
11138
11139 * gdb.base/coremaker.c: Add code to mmap some data so we
11140 can check that it ends up in the core file.
11141 * gdb.base/corefile.exp: Add test to read mmapped data
11142 from core file.
11143
dc96c6c7 11144Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11145
11146 * config/m32r.exp: New file.
11147
11148Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
11149
11150 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
11151 that cflags can contains -gstabs, and work correctly for other tests.
11152
dc96c6c7 11153Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11154
11155 * gdb.base/setshow.exp: New file, tests show and set.
11156 * gdb.base/setshow.c: New file, tests show and set.
11157 * gdb.base/help.exp: Add test for help set|show annotate.
11158 * gdb.base/default.exp: Add test for set|show annotate.
11159
11160Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
11161
11162 * testsuite/gdb.base/break.exp: Make backtrace from factorial
11163 errors unique.
11164 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
11165 explicitly.
11166
11167Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
11168
11169 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
11170 and width commands. This is done elsewhere.
11171 * (gdb_start): Don't call gdb_start_sim here. That's already
11172 done in gdb_load. This fixes lots of failures in default.exp.
11173
11174Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
11175
11176 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
11177 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
11178 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
11179 in the same we we treat other failures (since it may be an expected
11180 condition), rather than as an error.
11181 * gdb.base/signals.exp (test_handle_all_print): Revert back to
11182 old test format.
11183
11184Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
11185
11186 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
11187 (distclean maintainer-clean realclean): No need to remove files
11188 twice. Nuke the duplicates.
11189 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 11190 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
11191 Remove config.h along with other config files.
11192
11193Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
11194
11195 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
11196 "p func1 ()" and note that rests of tests are skipped.
11197 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
11198 setup_xfails for "print func2::coremaker_local".
11199 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
11200 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
11201 affected by the previous run test.
11202 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
11203 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
11204 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
11205 "pass int powerset tuple" and "pass modeless int powerset tuple".
11206 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
11207 "real write 4" and "real write 8".
11208 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
11209 setup_xfails for "print vs1 after tuple assign 2",
11210 "print \$i after tuple assign 2", and
11211 "print vs2 after tuple assign 2".
11212 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
11213 meaningful error message and return -1 so the caller can
11214 suppress further tests and avoid a cascade of errors.
d63a86f8 11215
c906108c
SS
11216Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
11217
11218 * gdb.base/a1-selftest.exp: Tweak tests to account for new
11219 format for printing version.
11220 * gdb.base/default.exp: Ditto.
11221 * gdb.base/interrupt.exp: Fix problem with cascade of
11222 errors if child process dies while calling a function.
d63a86f8 11223
c906108c
SS
11224Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
11225
11226 * Makefile.in (VPATH): Add
11227 * Makefile.in (Makefile, config.status): Fix rules so things get
11228 remade when necessary.
11229
11230Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
11231
11232 * Makefile.in (just-check): Add path to sibling expect dir
11233 to environment variable specified by RPATH_ENVVAR.
11234
11235Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
11236
11237 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
11238 (just-check): Add shared library paths for libstdc++, tk,
11239 tcl, bfd, and opcodes to the environment variable specified
11240 in RPATH_ENVVAR.
11241 * configure.in: Add support to recognize --enable-shared flag
11242 and generate correct value for RPATH_ENVVAR.
11243 * configure: Regenerated with autoconf.
11244
11245Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
11246
11247 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
11248 include all osf versions.
11249 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
11250 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
11251 when target is linux. When failing to build pthreads test
11252 executable, give more meaningful message.
11253 * gdb.threads/pthreads.c: Hpux also uses old definition of second
11254 arg for pthread_create.
d63a86f8 11255
c906108c
SS
11256Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
11257
11258 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
11259 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
11260 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
11261 and -lpthreads (everybody else).
11262 (test_startup): Fail gracefully if threads are not supported.
11263 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
11264 "p/c array_index("abcdef",2)" when not gcc compiled.
11265 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
11266 "print func2::coremaker_local" when not gcc compiled.
11267 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
11268 "ptype on opaque struct tagname (statically)",
11269 "ptype on opaque struct tagname (dynamically) 1", and
11270 "ptype on opaque struct tagname (dynamically) 2"
11271 for not compiled with gcc.
11272 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
11273 backtrace when compiled with gcc.
d63a86f8 11274 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
11275 than always return success.
11276
11277Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
11278
11279 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
11280
11281Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
11282
11283 * gdb.base/structs.exp: Undo last change.
11284
11285Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
11286
11287 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
11288 encapsulate all the steps/nexts done during self test, starting
11289 at main, and makes them less sensitive to optimization issues.
11290 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
11291 signal handler" test.
11292 * gdb.threads/pthreads.exp: Only run this for native configs.
11293 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
11294 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
11295 tests.
11296 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
11297 for "runto test_calls(void)" test.
d63a86f8 11298
c906108c
SS
11299Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
11300
11301 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
11302 and don't expect address info in breakpoint confirmations.
11303
11304Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
11305
11306 * gdb.base/list.exp (test_forward_search): Increase timeout
11307 temporarily by 60 seconds for searching extremely long line,
11308 and then reset to old value when done. Increase expect input
11309 buffer to 10000.
11310
11311Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
11312
11313 * gdb.base/list.exp (test_forward_search): Fix to handle very
11314 long source line without overflowing expect's input buffer.
11315
11316Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
11317
11318 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
11319 "buffer_full".
11320
11321 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
11322 "buffer_full".
11323
11324 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
11325 "buffer_full".
11326
11327 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
11328 "buffer_full".
11329
11330Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
11331
11332 * configure.in (configdirs): Add gdb.threads.
11333 * configure: Regenerated with autoconf.
11334 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
11335 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
11336 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 11337
c906108c
SS
11338Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
11339
11340 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
11341
11342Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
11343
11344 * gdb.base/signals.exp (test_handle_all_print): Test separately for
11345 each signal's status in the output of "handle all print".
11346 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
11347 the \r\n sequence that immediately precedes the gdb prompt.
11348 * gdb.base/a1-selftest.exp: Save original timeout and restore
11349 after test.
11350
11351Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
11352
11353 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
11354 symbol.
11355
11356Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
11357
11358 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
11359
11360Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
11361
11362 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
11363 timeout by 60 seconds.
11364
11365Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
11366
11367 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
11368 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
11369 error return.
11370
11371Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
11372
11373 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
11374 gdb initialization, also report how long dejagnu waited. Restore
11375 old timeout before doing error return. Temporarily increase timeout
11376 by 3 minutes to allow for slow startups over heavy NFS use.
11377
11378Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
11379
11380 * lib/gdb.exp: Report timeout value for verbosity level 2.
11381 * config/gdbserver.exp: Ditto.
11382 * config/hppro.exp: Ditto.
11383 * config/mips-gdb.exp: Ditto.
11384 * config/monitor.exp: Ditto.
11385 * config/netware.exp: Ditto.
11386 * config/sim-gdb.exp: Ditto.
11387 * config/slite-gdb.exp: Ditto.
11388 * config/udi-gdb.exp: Ditto.
11389 * config/unix-gdb.exp: Ditto.
11390 * config/vx-gdb.exp: Ditto.
11391 * gdb.base/a1-selftest.exp: Ditto.
11392 * gdb.base/a2-run.exp: Ditto.
11393 * gdb.base/break.exp: Ditto.
11394 * gdb.base/corefile.exp: Ditto.
11395 * gdb.base/list.exp: Ditto.
11396 * gdb.base/recurse.exp: Ditto.
11397 * gdb.base/scope.exp: Ditto.
11398 * gdb.base/signals.exp: Ditto.
11399
11400Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11401
11402 * gdb.threads/Makefile.in (docdir): Removed.
11403
11404Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11405
11406 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 11407 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 11408 @srcdir@.
d63a86f8 11409 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
11410 autoconf 2.5 or higher.
11411 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
11412
11413Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
11414
11415 * configure: Regenerated.
11416 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
11417 avoid name clashes with SunOS headers.
11418
11419Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
11420
11421 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
11422
11423Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
11424
11425 * gdb.base/callfuncs.exp: Finish last change -- make sure the
11426 prototype information ends up in the compiler info file.
11427
11428Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
11429
11430 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
11431 attempting to regenerate it. Eliminate use of a temporary file
11432 and just generate the info file directly. Source it immediately,
11433 for consistency of use.
11434 * gdb.base/corefile.exp: Ditto
11435 * gdb.base/exprs.exp: Ditto.
11436 * gdb.base/funcargs.exp: Ditto.
11437 * gdb.base/langs.exp: Ditto.
11438 * gdb.base/list.exp: Ditto.
11439 * gdb.base/mips_pro.exp: Ditto.
11440 * gdb.base/nodebug.exp: Ditto.
11441 * gdb.base/opaque.exp: Ditto.
11442 * gdb.base/ptype.exp: Ditto.
11443 * gdb.base/scope.exp: Ditto.
11444 * gdb.base/setvar.exp: Ditto.
11445 * gdb.base/signals.exp: Ditto.
11446 * gdb.base/whatis.exp: Ditto.
11447 * gdb.c++/templates.exp: Ditto.
11448 * gdb.c++/virtfunc.exp: Ditto.
11449 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
11450 whether or not to add -lstdc++ to the compile command line args.
11451
11452Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11453
11454 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
11455 it got fixed by the recent lookup_minimal_symbol_by_pc change.
11456 Increase timeout, a lot of single stepping might be needed if the
11457 target has no hardware watchpoints.
11458
11459Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
11460
11461 * gdb.base/break.exp: Ignore compiler warnings when compiling
11462 break.c.
11463 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
11464 * gdb.base/default.exp: Add h8300 xfails. Handle messages
11465 from remote-sim.
11466 * gdb.base/exprs.exp: Add h8300 xfails.
11467 * gdb.base/funcargs.exp: Likewise.
11468 * gdb.base/nodebug.exp: Likewise.
11469 * gdb.base/printcmds.exp: Likewise.
11470 * gdb.base/ptype.exp: Likewise.
11471 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
11472 h8300 xfails.
d63a86f8 11473 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
11474 on the h8300.
11475 * gdb.base/funcargs.c: Explicitly make last constant argument to
11476 call_after_alloca_subr an unsigned long type.
11477 * gdb.base/return.c: Include stdio.h.
11478
11479Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
11480
11481 * config/abug.exp: New file for the older Motorola Bug monitor
11482 that runs on the mvme13x series VME boards.
11483 * config/monitor.exp: Use the new config array for target settings
11484 if they exist.
11485
11486Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
11487
11488 * sim-gdb.exp: Make the SH simulator allocate less space when
11489 it is targeted.
11490
11491Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
11492
11493 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
11494 test.
11495
11496Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
11497
11498 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
11499 "rs6000-*-*" for "list function in include file" when gcc compiled.
11500 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
11501 for "p ctable1[120]".
11502 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
11503 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
11504 Remove setup_xfail for "rs6000-*-*" for
11505 "print 'scope0.c'::filelocal before run".
11506 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
11507 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
11508 since some compilers don't allow both options to be given
11509 on the same command line. Create object file and move it.
d63a86f8 11510
c906108c
SS
11511Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
11512
11513 * gdb.base/corefile.exp: Always regenerate the core file, since
11514 we always regenerate the coremaker program. Detect special case
11515 where registers cannot be read from core file.
d63a86f8 11516
c906108c
SS
11517Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
11518
11519 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
11520 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
11521 * gdb.c++/templates.exp: Only match on basename of file since
11522 some formats like xcoff don't encode directory information.
11523 * gdb.stabs/weird.exp: Use the right sed script for powerpc
11524 and rs6000 AIX xcoff targets.
11525 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
11526 * configure: Regenerate.
11527 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
11528 here, rather than in distclean.
d63a86f8 11529
c906108c
SS
11530Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
11531
11532 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
11533 defined, and use it to compile the test case with -O2. The
11534 native compilation still uses no optimization.
11535 * gdb.base/mips_pro.c: Remove inline assembly code since
11536 it is compiled PIC by default, which results in assembler
11537 warnings that make the testsuite think the compilation
11538 was unsuccessful.
11539
11540Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
11541
11542 * gdb.c++/misc.exp: Add note to message for
11543 "print s.a for foo struct" that this is a known gcc 2.7.2
11544 and earlier bug.
11545
11546Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
11547
11548 * gdb.base/break.exp: Fix pattern for matching "Delete all
11549 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
11550 setup_xfail for deleting all breakpoints test. Fix various
11551 timeout messages to include "(timeout)".
11552 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
11553 for "p t_float_values2(3.14159,float_val2)".
11554 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
11555 for "continue to call2g" when gcc compiled.
11556 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
11557 "up to foo in langs.exp", "show language at foo in langs.exp",
11558 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
11559 and "show language at fsub in langs.exp".
11560 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
11561 "list line 1 in include file", "list message for lines past EOF",
11562 "list function in include file", "list list0.h:foo", and
11563 "list filename:function; nonexistant function".
11564 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
11565 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
11566 and "ptype t_char_array" to be for native cc only.
d63a86f8 11567
c906108c
SS
11568Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
11569
d63a86f8 11570 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
11571 setup_xfail for "print coremaker_bss", "print coremaker_ro",
11572 "print func2::coremaker_local", and "backtrace in corefile.exp".
11573
11574Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
11575
11576 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
11577 "bt in signals.exp". This problem only appears when running
11578 the testsuite, and then only intermittently.
11579
11580Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
11581
11582 * gdb.base/return.exp (return_tests): Differentiate between
11583 two tests of continuing.
11584
11585Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
11586
11587 * */Makefile.in (maintainer-clean): Remove config.log.
11588 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
11589 * gdb.c++/Makefile.in (PROGS): Add inherit.
11590 (clean): Remove *.ci.
11591
11592Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
11593
11594 * gdb.c++/misc.cc: Add test code from Mike Stump.
11595 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
11596
11597Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
11598
11599 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
11600 to "alpha-*-osf2*" and add comment.
11601 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
11602 setup_xfail for "step over execarg initialization" and
11603 "step over corearg initialization".
11604 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
11605 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
11606 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
11607 gcc compiled for "print coremaker_bss", "print coremaker_ro",
11608 "print func2::coremaker_local", and "backtrace in corefile.exp".
11609 * gdb.base/signals.exp: Build and source signals.ci.
11610 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
11611 to be for gcc only.
11612 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 11613
c906108c
SS
11614Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11615
11616 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
11617 Feb 3 procfs.c change.
11618
11619Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
11620
11621 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
11622
11623Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
11624
11625 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
11626 from dejagnu's apparent default of 10 seconds, which gives random
11627 results when running the tests over NFS on moderately loaded systems.
11628 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
11629
11630Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
11631
11632 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
11633 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
11634 result reports.
11635
11636Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
11637
11638 * configure.in (CY_AC_PATH_TCLH): Remove.
11639 * configure: Regenerate.
11640
11641Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
11642
11643 * gdb.c++/Makefile.in (clean): Add missing '{'.
11644
11645Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
11646
11647 * lib/gdb.exp: Provide a default value for noinferior.
11648
11649 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
11650 Load libgloss.exp.
11651
11652Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
11653
11654 * gdb.disasm/hppa.exp: Compile directly into an executable, use
11655 the executable, not the .o to run the tests from.
11656
11657Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
11658
11659 * gdb.base/break.exp: Don't test for program exit or exit status
11660 if $noresults if nonzero.
11661 * gdb.base/langs.exp: Likewise.
11662 * gdb.base/watchpoint.exp: Likewise.
11663
11664 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
11665 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
11666 trying to compile the testcase.
11667
11668Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
11669
11670 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
11671 * gdb.base/signals.exp (continue to handler): Likewise.
11672
11673Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
11674
11675 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
11676
11677 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
11678
11679Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
11680
11681 * gdb.base/corefile.exp: Recognize "not found" as failure
11682 when trying to determine if a core file was generated.
11683 If no core file was generate the first time, try again without
11684 the ulimit -c to work around braindamaged shells.
11685
11686Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
11687
11688 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
11689 [] tests with "test" and enclose string in quotes.
11690 * gdb.stabs/configure: Rebuild
d63a86f8 11691
c906108c
SS
11692Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
11693
11694 Changes in sync with expect:
11695 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
11696 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
11697 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
11698 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
11699 argument to AC_REQUIRE.
11700 * configure: Regenerated.
11701
11702Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
11703
11704 * gdb.base/corefile.exp: When generating a core, discard any
11705 error messages about ulimit not found and the "core dumped"
11706 message from the shell that runs the coredumper.
11707
11708Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
11709
11710 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
11711
11712 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
11713 which sed script to run. Expect failure for v_comb test
11714 on PA targets too.
d63a86f8 11715
c906108c
SS
11716Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
11717
11718 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
11719 "print func2::coremaker_local" and for "backtrace in corefile.exp"
11720
11721Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
11722
11723 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
11724 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
11725 "sparc-sun-solaris*" xfails for "p v_comb".
11726 * lib/gdb.exp (default_gdb_start): Fix typo.
11727 * gdb.base/corefile.exp: Allow "Core was generated by ..."
11728 messages to not include the full program name that caused
11729 the core dump since some systems (such as solaris) apparently
11730 truncate this path to about 80 characters.
11731 When generating a core file first try increasing the core file
11732 size limit to unlimited since some systems may default it to
11733 zero, and it is harmless to try it. Move the test for failing
11734 to generate a core file to where it will actually get executed.
11735 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
11736 new gdb result from g++ debug info improvements and make old
11737 pattern obsolescent. Also account for size_t differences
11738 (may be int or long).
11739 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
11740 initialization before function call is placed in the delay slot
11741 and thus appears to be skipped over by commands such as "next".
11742
11743Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
11744
11745 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
11746
11747Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
11748
11749 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
11750 input source file; fix code to compile test to deal with this
11751 convention.
11752 * gdb.c++/*.exp: Likewise.
11753
11754Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
11755
11756 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
11757 "bt in signals.exp".
11758
11759Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
11760
11761 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
11762 "step over execarg initialization" and
11763 "step over corearg initialization".
11764
11765Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
11766
11767 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
11768 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
11769
11770Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
11771
11772 From Rob Savoye (rob@poseidon.cygnus.com)
11773 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
11774 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
11775 configure.in}, gdb.disasm/{Makefile.in, configure.in},
11776 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
11777 configure.in}: Major reworking for autoconfig.
11778 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
11779 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
11780 New files.
11781 * config/unix-gdb.exp: Make GDB global.
11782 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
11783 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
11784 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
11785 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
11786 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
11787 term.exp, twice.exp, watchpoint.exp, whatis.exp},
11788 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
11789 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
11790 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
11791 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
11792 pr-8136.exp, result.exp, string.exp, tuples.exp},
11793 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
11794 to returns as necessary, arrange for test to compile own testcase
11795 executable.
11796 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 11797
c906108c
SS
11798Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
11799
11800 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
11801 clear_xfail at end of test which might not call either pass or fail.
11802 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
11803 "backtrace through signal handler".
11804
11805Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11806
11807 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
11808 continuing from a job control stop signal.
11809 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
11810
11811Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
11812
11813 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
11814 * gdb.base/corefile.exp: Likewise.
11815 * gdb.base/funcargs.exp: Likewise.
11816
11817Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
11818
11819 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
11820 * config/monitor.exp: Add support for setting baud rate.
11821
11822Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
11823
11824 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
11825 i*86-*-linux* xfails for "backtrace through signal handler".
11826 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
11827 "print func2::coremaker_local".
11828 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
11829 alpha-dec-osf2* xfail for
11830 "delete all breakpoints when none".
11831
11832Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
11833
11834 * gdb.base/break.exp: Change test that deletes all breakpoints
11835 when no user breakpoints are installed. A post 4.15 change
11836 causes gdb to no longer prompt in this case.
11837
11838Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
11839
11840 * gdb.base/return.exp (return_tests): Change xfail for test
11841 "correct value returned double test" to stop xfailing at
11842 Solaris 2.5. Apparently the bug has been fixed.
11843
11844Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
11845
11846 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
11847 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
11848
11849Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
11850
11851 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
11852 * gdb.disasm/hppa.s: Corresponding changes.
11853
11854Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
11855
11856 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
11857 makefile fragment.
11858 * config/mt-hpux: Deleted.
11859
11860Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
11861
d63a86f8 11862 * Many files: When warning about suppressed tests due to a
c906108c
SS
11863 nonexistant test binary, avoid incrementing the warning count.
11864
11865Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
11866
11867 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 11868
c906108c
SS
11869Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11870
11871 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
11872 "sparc-*-solaris2*".
11873
11874Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11875
11876 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
11877 Add global and local variables and initialize them.
11878 * gdb.base/corefile.exp: Test correct mapping of corefile sections
11879 by printing variables. Remove rs6000 and powerpc xfails, BFD now
11880 extracts the file name and terminating signal from the core file.
11881 * TODO: Remove note about tests for correct mapping of corefile.
11882 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
11883 from optimizing it away.
11884 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
11885 handles common blocks.
11886
11887Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
11888
11889 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
11890 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
11891
11892Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
11893
11894 * Makefile.in (maintainer-clean): New target, synonym for
11895 realclean.
11896 * gdb.base/Makefile.in (maintainer-clean): Likewise.
11897 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
11898 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
11899 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
11900 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
11901 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
11902
11903Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
11904
11905 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
11906 xfails when not gcc compiled for "print foo::funclocal".
11907 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
11908 "print foo::funclocal at foo",
11909 "print 'scope1.c'::foo::funclocal at foo",
11910 "print foo::funclocal_bss at foo",
11911 "print 'scope1.c'::foo::funclocal_bss at foo",
11912 "print foo::funclocal_ro at foo",
11913 "print 'scope1.c'::foo::funclocal_ro at foo",
11914 "print bar::funclocal at foo" and
11915 "print 'scope1.c'::bar::funclocal at foo".
11916 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
11917 gcc compiled for "print foo::funclocal at bar".
11918 Expand all messages to ensure that they identify that
11919 the test is at bar().
11920 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
11921 gcc compiled for:
11922 "ptype on opaque struct pointer (statically)",
11923 "ptype on opaque struct tagname (statically)",
11924 "ptype on opaque struct pointer (dynamically) 1",
11925 "ptype on opaque struct tagname (dynamically) 1",
11926 "ptype on opaque struct pointer (dynamically) 2" and
11927 "ptype on opaque struct tagname (dynamically) 2
11928 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
11929 gcc compiled for:
11930 "p datalocal"
11931 "whatis datalocal",
11932 "ptype datalocal",
11933 "p bsslocal",
11934 "whatis bsslocal", and
11935 "ptype bsslocal".
11936 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
11937 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
11938 when not gcc compiled.
11939 * gdb.base/funcargs.exp (float_and_integral_args): Add
11940 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
11941 compiled.
11942 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
11943 "backtrace from call6a" when not gcc compiled.
11944 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
11945 "backtrace from call7a" when not gcc compiled.
11946 * gdb.base/callfuncs.exp (do_function_calls):
11947 Add "hppa*-*-hpux*" xfail when not gcc compiled for
11948 "p t_char_array_values(char_array_val2,char_array_val1)",
11949 "p t_char_array_values(char_array_val1,char_array_val2)",
11950 "p t_char_array_values("carray 1","carray 2")",
11951 "p t_char_array_values("carray 1",char_array_val2)",
11952 "p t_char_array_values(char_array_val1,"carray 2")",
11953 "p sum_args(1,{2})",
11954 "p sum_args(2,{2,3})",
11955 "p sum_args(3,{2,3,4})",
11956 "p sum_args(4,{2,3,4,5})"
11957 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
11958 "backtrace in corefile.exp" when not gcc compiled.
11959
11960Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11961
11962 * gdb.base/signals.exp: Rewrite `handle all print' test as
11963 a procedure. Accept blanks or TABs as whitespace, increase
11964 timeout and expect input buffer size for the large output
11965 from the command. Remove "i*86-*-bsdi2.0" xfail.
11966
11967Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11968
11969 * gdb.base/setvar.exp: Add new testcases for truncation when
11970 assigning invalid values to bitfields.
11971
11972Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
11973
d63a86f8 11974 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
11975 mips-sgi-irix* xfail for
11976 "call inferior func with struct - returns char *"
11977 and fix test so that an optional (unsigned char *) cast is
11978 accepted in the result.
11979
11980Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
11981
11982 * gdb.base/funcargs.exp (float_and_integral_args): Remove
11983 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
11984 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
11985 * gdb.base/signals.exp: Remove duplicate "handle all print" test
11986 that accidentally got checked in.
11987
11988Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
11989
d63a86f8 11990 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
11991 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
11992 compiled test.
11993 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
11994 Add mips-sgi-irix5* xfail for not gcc compiled.
11995 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
11996 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
11997 "p top", "whatis top", "p middle", and "whatis middle".
11998 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
11999 "whatis signed char" for not gcc compiled.
12000 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
12001 "set variable signed char=-1 (-1)" and
12002 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
12003 * gdb.base/funcargs.exp (float_and_integral_args):
12004 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
12005 Add mips-sgi-irix* xfail when not gcc compiled for
12006 "continue to call2b".
12007 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
12008 "continue to call2g".
12009 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
12010 "backtrace from call6a"
12011 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
12012 "backtrace from call7k".
12013 Add mips-sgi-irix5* xfail when not gcc compiled for
12014 "backtrace from call7a".
12015 (localvars_after_alloca): Fix gdb_test cmds for
12016 "print * after runto ...".
12017 Remove rs6000-*-* xfails for
12018 "print i after runto localvars_after_alloca" and
12019 "print l after runto localvars_after_alloca"
12020 for all compilers.
12021 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
12022 when not compiled with gcc, for:
12023 "print signed char == (minus)",
12024 "print signed char != (minus)",
12025 "print signed char < (minus)",
12026 "print signed char > (minus)".
12027 * gdb.base/callfuncs.exp (do_function_calls):
12028 Add mips-sgi-irix* xfail, when compiled with native compiler, for
12029 "call inferior func with struct - returns char *".
d63a86f8 12030 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
12031 "correct value returned double test" to include Solaris 2.4.
12032 * gdb.base/funcargs.exp (float_and_integral_args):
12033 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 12034
c906108c
SS
12035Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12036
12037 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
12038 enumeration bitfields if compiling with GNU C.
12039 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
12040 to empty' prompt.
12041
12042Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
12043
12044 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
12045 test for PRO targets.
12046
12047 * gdb.base/funcargs.exp: Avoid ever setting more than 8
12048 breakpoints in the inferior at any given time by making
12049 two groups of breakpoints for call2*, call6* and call7*
12050 tests.
12051
12052Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12053
12054 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
12055 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
12056 from optimizing it away.
12057 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
12058 "call inferior func with struct".
12059
12060Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
12061
12062 * configure.in: Only configure gdb.chill for particular targets.
12063
12064Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
12065
12066 * gdb.base/Makefile.in: Add action to .c.o transformation
12067 rule that generates a .ci file for each .o file and remove
12068 explicit .c.o rules except for callfuncs.o.
12069 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
12070 generates a .ci file for each .o file and remove explicit
12071 .cc.o rules.
12072 (clean): Remove *.tmp *.ci files.
12073 (EXECUTABLES): Remove templ-info.exp.
12074 * gdb.base/compiler.c: New file.
12075 * gdb.c++/compiler.cc: New file
12076 * gdb.base/scope.exp: Source gdb.base/scope.ci.
12077 Change rs6000-*-* xfail for
12078 "print 'scope0.c'::filelocal_ro" and
12079 "print 'scope1.c'::filelocal" and
12080 "print 'scope1.c'::filelocal_bss" and
12081 "print 'scope1.c'::filelocal_ro" and
12082 "print 'scope1.c'::foo::funclocal" and
12083 "print 'scope1.c'::foo::funclocal_ro" and
12084 "print 'scope1.c'::bar::funclocal" and
12085 "print 'scope0.c'::filelocal_ro" and
12086 "print 'scope1.c'::filelocal at foo" and
12087 "print 'scope1.c'::filelocal_bss at foo" and
12088 "print 'scope1.c'::filelocal_ro at foo" and
12089 "print 'scope1.c'::foo::funclocal at foo" and
12090 "print 'scope1.c'::foo::funclocal_bss at foo" and
12091 "print 'scope1.c'::foo::funclocal_ro at foo" and
12092 "print 'scope1.c'::bar::funclocal at foo" and
12093 "print 'scope0.c'::filelocal_ro" and
12094 "print 'scope1.c'::filelocal" and
12095 "print 'scope1.c'::filelocal_bss" and
12096 "print 'scope1.c'::filelocal_ro" and
12097 "print 'scope1.c'::foo::funclocal" and
12098 "print 'scope1.c'::foo::funclocal_bss" and
12099 "print 'scope1.c'::foo::funclocal_ro" and
12100 "print 'scope1.c'::bar::funclocal" and
12101 "print 'scope1.c'::bar::funclocal_bss"
12102 to only be xfail'd when not compiled with gcc.
d63a86f8 12103 Add rs6000-*-* xfail for
c906108c
SS
12104 "print 'scope0.c'::filelocal_bss before run"
12105 when compiled with gcc.
12106 (test_at_main): Add rs6000-*-* xfail for
12107 "print filelocal_ro in test_at_main"
12108 when compiled with gcc.
12109 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 12110 Add rs6000-*-aix* xfail for
c906108c
SS
12111 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
12112 "ptype t_char_array", not compiled with gcc.
12113 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
12114 xfail for "list foo (in include file)" when gcc compiled.
12115 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
12116 (integral_args): Add rs6000-*-* xfail for
12117 "run to call0a" if not compiled with gcc.
12118 (unsigned_integral_args): Add rs6000-*-* xfail for
12119 "run to call1a" if not compiled with gcc.
12120 (float_and_integral_args): Add rs6000-*-* xfail for
12121 "run to call2a" if not compiled with gcc and for
12122 "continue to call2b" for any compiler.
12123 Add rs6000-*-* xfail to
12124 "print f1 after run to call2a" for gcc compiled.
12125 (discard_and_shuffle): Add rs6000-*-* xfail for
12126 "run to call6a".
12127 (shuffle_round_robin): Add rs6000-*-* xfail for
12128 "backtrace from call7a" if not compiled with gcc.
12129 Add rs6000-*-* xfail for
12130 "backtrace from call7b" if compiled with gcc.
12131 (call_after_alloca): Add rs6000-*-* xfail for
12132 "print c in call_after_alloca" and
12133 "print s in call_after_alloca" and
12134 "backtrace from call_after_alloca_subr"
12135 if not compiled with gcc.
12136 (localvars_in_indirect_call): Add rs6000-*-* xfail for
12137 "print c in localvars_in_indirect_call" and
12138 "print c in localvars_in_indirect_call" and
12139 "backtrace in indirectly called function" and
12140 "stepping into indirectly called function"
12141 if not compiled with gcc.
12142 (localvars_after_alloca): Add rs6000-*-* xfail for
12143 "print c after runto localvars_after_alloca" and
12144 "print s after runto localvars_after_alloca" and
12145 "print i after runto localvars_after_alloca" and
12146 "print l after runto localvars_after_alloca"
12147 for all compilers.
12148 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
12149 than whatis-info.exp.
12150 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
12151 than opaque-info.exp.
12152 Setup rs6000-*-* xfail for
d63a86f8 12153 "ptype on opaque struct pointer (statically)" and
c906108c
SS
12154 "ptype on opaque struct pointer (dynamically)" when
12155 not compiled with gcc.
12156 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
12157 rather than callf-info.exp.
12158 (do_function_calls): Add clear_xfail for rs6000-*-* for
12159 "p t_float_values2(3.14159,float_val2)". Seems to work
12160 fine there, both with xlc and gcc. Need to find out what
12161 it is doing right and fix other platforms.
12162 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
12163 "call inferior func with struct - returns int",
12164 "call inferior func with struct - returns long",
12165 "call inferior func with struct - returns float",
12166 "call inferior func with struct - returns double",
12167 "call inferior func with struct - returns char *",
12168 but only if not gcc compiled (presumes xlc compiled).
12169 Change rs6000-*-* xfails for
12170 "call inferior func with struct - returns char" and
12171 " call inferior func with struct - returns short" to only
12172 xfail if not using gcc.
12173 (clean mostlyclean): Remove *.ci and *.tmp files.
12174 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
12175 than templ-info.exp.
12176 * gdb.base/langs.exp: Source gdb.base/langs.ci.
12177 Add rs6000-*-* xfail for "up to foo in langs.exp"
12178 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
12179 when not gcc compiled.
d63a86f8 12180
c906108c
SS
12181Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12182
12183 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
12184 * gdb.base/corefile.exp: Likewise.
12185 * gdb.base/list.exp: Likewise.
12186 * gdb.base/scope.exp: Likewise.
12187 * gdb.base/siganls.exp: Likewise.
12188
12189 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
12190 compiler output.
12191 * gdb.base/whatis.exp: Likewise.
12192
12193Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
12194
12195 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
12196 failure (opcode table has been fixed to match reality).
12197
12198Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
12199
12200 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
12201 "call inferior func with struct - returns char",
12202 "call inferior func with struct - returns short"
12203
12204 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
12205 "print 'scope0.c'::filelocal at main",
12206 "print 'scope0.c'::filelocal_bss in test_at_main",
12207 "print 'scope0.c'::filelocal at foo",
12208 "print 'scope0.c'::filelocal_bss in test_at_foo",
12209 "print 'scope0.c'::filelocal at bar",
12210 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 12211
c906108c
SS
12212 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
12213 in source file 1". This bug seems to have been fixed with both
12214 gcc and native cc (was native assembler bug?).
12215
12216Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
12217
12218 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
12219 "backtrace through signal handler" to "i*86-*-sysv4*".
12220 * gdb.base/signals.exp: Add xfail for "'next' behaved as
12221 continue" case. Add "known SVR4 bug" to fail message.
12222 Add "i*86-*-bsdi2.0" xfail for "handle all print".
12223 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
12224 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
12225 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
12226 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
12227 "up to foo in langs.exp", "show language at foo in
12228 langs.exp", "up to cppsub_ in langs.exp", "show
12229 language at cppsub_ in langs.exp", "up to fsub in
12230 langs.exp", and "show language at fsub in langs.exp".
12231 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
12232 "bactrace in corefile.exp".
12233 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
12234 "call inferior function with struct - returns float" and
12235 "call inferior function with struct - returns double".
d63a86f8 12236
c906108c
SS
12237Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
12238
12239 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
12240 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
12241 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
12242 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
12243
12244Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
12245
12246 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
12247 (or overriden) "CHILL" macro rather then bare "gcc".
12248 Also look for ../../gcc/xgcc since that is what we will
12249 actually need, not "Makefile". Remove following assignment
12250 of CHILL to CHILL_FOR_TARGET because that results in
12251 recursive definition.
12252
12253Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
12254
12255 * gdb.base/corefile.exp: Change xfail for backtrace in
12256 corefile.exp from linuxaout to all linux.
12257 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
12258 cases where we miss the breakpoint at the signal handler
12259 for some reason. Setup xfail for linuxoldld/linuxaout and
12260 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
12261 hitting SIGURG breakpoint.
12262 * gdb.base/signals.exp: Setup xfail for "next" acting like
12263 continue to add linuxoldld. Setup xfail for all linux for
12264 "next to handler in signals_tests_1", "backtrace in
12265 signals_tests_1", "continue to func1", "pass SIGUSR1",
12266 and continue to handler".
12267
12268Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
12269
12270 * Update all FSF addresses except those in COPYING* files.
12271
12272Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
12273
12274 * gdb.base/a2-run.exp: Change messages to be more explicit about
12275 the status of args, and quote binfile in results.
12276
12277Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
12278
12279 * gdb.base/callfuncs.exp: Add tests for passing structs to
12280 inferior functions and return various types.
12281 * gdb.base/callfuncs.c: Add functions to receive a struct
12282 and return a member of the struct, in various types.
12283
12284Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12285
12286 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
12287
12288Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
12289
12290 * config/vxworks29k.exp: New file, sources vxworks.exp.
12291
12292Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12293
12294 * config/gdbremote.exp: New file. Testing framework using
12295 gdbserver.
12296
12297Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
12298
12299 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
12300 "call function when asleep" and "send end of file".
12301 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
12302 for "backtrace in corefile.exp".
12303 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
12304 for "backtrace through signal handler".
12305 * gdb.base/corefile.exp: Make sure we actually generate a core file
12306 before trying the core tests. Some systems allow the user to suppress
12307 generation of core files and default to that (linux for example).
12308 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
12309 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
12310
12311Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12312
12313 * gdb.threads: New directory with some crude multi-threaded
12314 gdb tests (step.exp and step2.exp).
12315 * config/mt-lynx (STEP_EXECUTABLE): Define.
12316 (THREADFLAGS): Define.
12317
12318Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
12319
12320 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
12321
12322 * gdb.base/signals.exp: Disable whole file for lynx until
12323 further notice.
12324
12325 * gdb.base/signals.exp: xfail test where "next" acts like
12326 "continue" for lynx.
12327
12328 * gdb.base/interrupt.exp: xfail test for calling function while
12329 inferior is asleep for lynx.
12330
12331 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
12332 than one cr-lf after each command.
12333
12334Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12335
12336 * configure.in: Reinstate setting of stabsdirs variable, fix
12337 typo in setting up configdirs for native builds.
12338
12339 * gdb.base/return.exp: Fix typo in return double test.
12340 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
12341 compiler from optimizing them away.
12342
12343Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
12344
12345 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
12346 sequences to be echo'd by gdb when using gdb_test.
12347 * gdb.chill/chexp.exp: Likewise.
12348 * gdb.fortran/exprs.exp: Likewise
12349
12350Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12351
12352 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
12353 after the inferior gdb has started.
12354
12355 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
12356 after each command.
12357 * gdb.base/funcargs.exp: Likewise.
12358 * gdb.base/gdbvars.exp: Likewise.
12359 * gdb.base/interrupt.exp: Likewise.
12360 * gdb.base/list.exp: Likewise.
12361 * gdb.base/watchpoint.exp: Likewise.
12362 * gdb.c++/demangle.exp: Likewise.
12363 * gdb.c++/inherit.exp: Likewise.
12364 * gdb.chill/chexp.exp: Likewise.
12365 * gdb.fortran/exprs.exp: Likewise.
12366
12367 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
12368 test if we can't handle IO to/from the inferior.
12369
12370 * gdb.c++/misc.exp: Always check for a program already being
12371 started after sending a "run" command to gdb.
12372
12373 * gdb.base/twice.exp: Start with a fresh gdb.
12374
12375 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
12376 only depend on gdb's expression code, not the chill runtime.
12377
12378 * gdb.base/return.c: Put return values into variables so we
12379 can have gdb print them rather than depending on the program
12380 to print them.
12381 * gdb.base/return.exp: Corresponding changes.
12382
12383 * lib/gdb.exp: Provide default value for noinferiorio.
12384 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
12385 the inferior.
12386
12387 * gdb.base/break.exp: Always check for a program already being
12388 started after sending a "run" command to gdb.
12389 (text_next_with_recursion): Don't check the output from the
12390 program's printf statement. Instead just make sure the program
12391 exited.
12392
12393 * gdb.base/commands.exp: Protect tests which need arguments with
12394 $noargs conditionals.
12395
12396Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12397
12398 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
12399 of structure member arrays to match gdb/valops.c:value_addr change.
12400
12401Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
12402
12403 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
12404 cases.
12405
12406Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
12407
12408 * configure.in (configdirs): Remove gdb.chill from default list
12409 of subdirs and then add it back in only if doing a native build.
12410 The current chill compiler does not yet work in any cross build.
12411 * Revert all signal changes from Jul 6.
12412 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
12413 for sh-hms targets, allowing these tests to link, with no other
12414 changes. Testing is suppressed by setting "nosignals" in site.exp.
12415
12416Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
12417
12418 * configure.in (signaldirs): Define and add to configdirs for all
12419 targets except some specific ones that are known to not support signals.
12420 Also clean up formatting.
12421 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
12422 (signals, sigall): Remove rules to build.
12423 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
12424 Moved to new gdb.signals directory.
12425 * gdb.signals: New test directory.
12426 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
12427 signals.c signals.exp}: New or moved files.
12428
12429Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
12430
12431 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
12432
12433Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
12434
12435 * gdb.base/return.exp: Xfail `return double' test failure
12436 on at least Solaris 2.3 and handle future/past versions on
12437 a case by case basis as appropriate. Also update message
12438 to include i*86 failures.
12439
12440Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12441
12442 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
12443
12444 * lib/gdb.exp: Fix comment which erroneously identified
12445 gdb_file_cmd as gdb_load (the 19 May change was in fact to
12446 gdb_file_cmd not gdb_load).
12447 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
12448
12449 * gdb.base/setvar.exp: Make test names consistent between pass and
12450 fail cases. Use gdb_test more.
12451
12452Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12453
12454 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
12455
12456Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12457
12458 * gdb.base/help.exp: Fix expected help string for `show commands'.
12459
12460Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
12461
12462 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
12463
12464 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
12465 of a text section.
12466
12467Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
12468
12469 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
12470 that loop eventually terminates. Fix Connection refused logic so
12471 that testsuite will expire nicely.
12472
12473Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
12474
12475 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
12476 config/rom68k.exp: New tcl glue for the appropriate monitors.
12477 These all just end up calling monitor.exp.
12478 * config/monitor.exp (gdb_target_monitor): Handle `Connection
12479 refused' by retrying. Cleanup some timeout issues.
12480 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
12481 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
12482 callers don't have to set/restore global timeout variable.
12483
12484 * The following set of changes centralizes management of the global
12485 timeout variable. This way, it can be set in one target dependent
12486 place instead of dozens of places scattered throughout the test suite.
12487 If you need to lengthen a timeout, then you should either set timeout
12488 in one of the config/{target}.exp files, or multiply it by a factor.
12489 Setting it to an absolute value is always going to lose for some
12490 targets.
12491 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
12492 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
12493 * gdb.base/funcargs.exp: Don't set timeout.
12494 * gdb.base/list.exp (test_forward_search): Only use local timeout.
12495 * gdb.base/printcmds.exp (test_print_string_constants
12496 test_print_array_constants): Don't set timeout.
12497 * gdb.base/ptype.exp: Don't set timeout.
12498 * gdb.base/recurse.exp: Don't set timeout.
12499 * gdb.base/return.exp: Don't set timeout.
12500 * gdb.base/watchpoint.exp: Don't set timeout.
12501 * gdb.c++/classes.exp (do_tests): Don't set timeout.
12502 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
12503
12504Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
12505
12506 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
12507
12508Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12509
12510 * lib/gdb.exp: Disable chill tests for irix5.
12511
12512Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12513
12514 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
12515 each test pass or fail.
12516
12517Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12518
12519 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
12520 xlc not gcc.
12521
12522Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
12523
12524 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
12525
12526Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
12527
12528 * config/est.exp: Fix copyright and comments. Remove dead code.
12529 Use targetname, serialport and baud variables instead of fixed
12530 constants.
12531 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
12532 * config/cpu32bug.exp: New file to support cpu32bug monitors.
12533
12534Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12535
12536 * gdb.base/watchpoint.exp: Don't run
12537 test_watchpoint_triggered_in_syscall for sunos.
12538
12539Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12540
12541 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
12542 they don't seem to exist. Do include stdio.h.
12543
12544Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12545
12546 * gdb.base/a1-selftest.exp: Add alpha xfail.
12547
12548Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12549
12550 * gdb.base/watchpoint.c (main): Prompt before calling read().
12551 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
12552 Revise accordingly. Remove cruft about sending "123" several
12553 times, until it gets noticed. Clean up the "print buf[0]" stuff
12554 so that it passes or fails, and waits for prompts in the usual way.
12555
12556Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12557
12558 * gdb.base/recurse.exp: Fix comment.
12559
12560 * TODO: Remove item about printing variables in nodebug.exp. Add
12561 item about enabling tests which are only run on some targets.
12562
12563 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
12564 fail, make test names unique, use new gdb_test convention
12565 regarding pattern, use gdb_test more, etc.).
12566
12567 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
12568 fail, make test names unique, etc.).
12569
12570Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12571
12572 * gdb.base/nodebug.c: Change return type of top and middle to
12573 short.
12574 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
12575 are fixed by the recent mdebugread.c changes. Allow `short ()'
12576 as type for top and middle.
12577
12578Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12579
12580 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
12581 nearly as I can tell, the whole thing was an accident in Stu's
12582 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
12583 to replace a send/expect pair with gdb_test, but ended up only
12584 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
12585 of 30 Mar 1995 took care of it, but left this vestigial comment
12586 which I am now nuking.
12587
12588Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12589
12590 * gdb.base/break.exp: Look for different line number for
12591 breakpoint at main depending on usestubs.
12592
12593Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12594
12595 * gdb.base/list.exp: Adjust some alternate expect patterns to
12596 match recent list0.c change. Add alternate expect pattern for
12597 output from `list default lines around main' for optimizing
12598 compilers.
12599
12600Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12601
12602 * lib/gdb.exp: If nosignals is not set, set it to 0.
12603
12604Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
12605
12606 * config/slite-gdb.exp: Responds to load symbol table prompt.
12607 * gdb.base/break.exp: Adjust line number, fix rerun.
12608 * gdb.base/langs0.c: Add #ifdef usestubs.
12609
12610Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
12611
12612 * gdb.base/list.exp: Adjust line contents after adding new lines in
12613 list0.c. Also fix a syntax error.
12614
12615 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
12616 * gdb.base/break.exp: ditto.
12617 * gdb.base/list.exp: ditto.
12618 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
12619 * gdb.base/run.c: ditto.
12620 * gdb.base/list0.c: ditto.
12621 * gdb.base/funcargs.c: ditto.
12622
12623Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
12624
12625 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
12626 $targetname, $serialport and $baud instead of hardwired variables.
12627 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
12628 target doesn't support signals.
12629
12630Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
12631
12632 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
12633
12634Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12635
12636 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
12637 Don't rely on the value of an auto variable before it has been
12638 initialized. Use gdb_test more.
12639
12640Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12641
12642 * lib/gdb.exp (default_gdb_version): A version number must start
12643 with a digit, but other than that contains all characters up to
12644 the first whitespace character.
12645
12646Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12647
12648 * gdb.base/commands.exp (breakpoint_command_test): New tests.
12649
12650Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12651
12652 * gdb.c++/*.exp: Warn if executable does not exist. The original
12653 reason for skipping the warning was that configure.in sometimes
12654 intentionally skipped building the executables but the tcl code
12655 had no way of knowing. That (a) was always bogus with respect to
12656 error handling, (b) is no longer true (right now there is no way
12657 to skip C++ tests).
12658
12659 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
12660
12661Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12662
12663 * gdb.base/list.exp: Add expect patterns for output from
12664 SunPRO compiled executables.
12665 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
12666 types.
12667
12668Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12669
12670 * gdb.base/break.exp (test_next_with_recursion): Accept any line
12671 number (we are already testing that the correct source line text
12672 gets printed).
12673
12674 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
12675 that is what is intended, but something needed to be done to get
12676 sunos4 native working again.
12677
12678 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
12679
12680 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
12681 apparently went with a (very) old xfail.
12682
12683Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
12684
12685 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
12686 runto_main is a proc in gdb.exp that will do 'step' for target use
12687 stubs.
12688 * gdb.base/exprs.exp: ditto.
12689 * gdb.base/interrupt.exp: ditto.
12690 * gdb.base/opaque.exp: ditto.
12691 * gdb.base/printcmds.exp: ditto.
12692 * gdb.base/ptype.exp: ditto.
12693 * gdb.base/scope.exp: ditto.
12694 * gdb.base/setvar.exp: ditto.
12695 * gdb.base/signals.exp: ditto.
12696 * gdb.base/twice.exp: ditto.
12697 * gdb.c++/classes.exp: ditto.
12698 * gdb.c++/inherit.exp: ditto.
12699 * gdb.c++/templates.exp: ditto.
12700 * gdb.base/break.exp: no run and hit main for stubs. Change line
12701 numbers for breakpoints and info breakpoint.
12702 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
12703 breakpoint().
12704 * gdb.base/callfuncs.c: ditto.
12705 * gdb.base/exprs: ditto.
12706 * gdb.base/interrupt.c: ditto.
12707 * gdb.base/opaque0.c: ditto.
12708 * gdb.base/printcmds.c: ditto.
12709 * gdb.base/ptype.c: ditto.
12710 * gdb.base/scope0.c: ditto.
12711 * gdb.base/setvar.c: ditto.
12712 * gdb.base/signals.c: ditto.
12713 * gdb.base/twice.c: ditto.
12714 * gdb.c++/misc.cc: ditto.
12715 * gdb.c++/templates.cc: ditto.
12716
12717Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12718
12719 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
12720
12721 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
12722 somewhere between `read' and `main.c'. I'm pretty sure the
12723 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
12724 and it isn't particularly useful.
12725
12726 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
12727
12728Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12729
12730 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
12731
12732Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
12733
12734 * config/mt-slite: add LIBS and -nostdlib.
12735 * config/slite-gdb.exp: add this new file to support sparclite target.
12736
12737Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
12738
12739 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
12740
12741 * gdb.base/a2-run.exp: Change argument to istarget from
12742 "*-*-vxworks" to "*-*-vxworks*".
12743 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
12744
12745Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
12746
12747 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
12748 will not runto main but do a 'step' to step out of breakpoint().
12749 * config/mt-slite: add -Dusestubs.
12750
12751Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12752
12753 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
12754 instead of just @.
12755
12756 * gdb.base/signals.exp: Add test for "handle all print".
12757 * TODO: Remove "handle all print". Also remove item about
12758 checking copyright date (I don't like the idea of a spurious FAIL
12759 based on when we run the tests).
12760
12761 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
12762 for SunOS4 (reason for failure not investigated). Remove
12763 redundant test for $binfile.
12764
12765 * gdb.base/nodebug.c (array_index): Call malloc.
12766
12767 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
12768
12769Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
12770
12771 * gdb.base/recurse.exp: Update gdb_test invocation to use new
12772 conventions and slightly simplify the matching regexp.
12773
12774Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12775
12776 * gdb.base/break.exp: Update gdb_test invocation to use new
12777 convention.
12778
12779 * lib/gdb.exp: If noargs is not set, set it to 0.
12780
12781 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
12782 tests unique.
12783
12784 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
12785
12786Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12787
12788 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
12789 one argument of type "<non-float parameter>".
12790
12791Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
12792
12793 * config/rom68k.exp: New file to support Motorola IDP board.
12794 * gdb.base/a2-run.exp: Skip this file if noargs is set.
12795 * gdb.base/break.c: Change things around so that this program
12796 doesn't depend upon args. This is necessary to make remote
12797 targets work (in general, they can't take args).
12798 * gdb.base/break.exp: Don't try to send args to program. Don't
12799 expect output. Also, replace lots of code with gdb_test.
12800
12801Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12802
12803 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
12804 printing of '\'' (which is what the comment says we are testing,
12805 even though we were not), not '''.
12806 (test_integer_literals_rejected): Test that printing ''' is an error.
12807
12808 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12809 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
12810 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
12811 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
12812 Use gdb_test not test_print_accept.
12813 * lib/gdb.exp: Remove test_print_accept.
12814
12815 * gdb.base/signals.exp (signal_tests_1): Make pass message
12816 consistent with fail message.
12817
12818 * gdb.base/whatis.exp: Remove xfails for printing char vs.
12819 unsigned char; the bug (PR 1821) is fixed.
12820
12821 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
12822
12823 * gdb.base/scope.exp (test_at_localscopes): Call pass for
12824 successful tests--makes xfailing them work right.
12825
12826Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12827
12828 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
12829 only \r\n, not .*. The test can pass .* as the last thing in
12830 $pattern if that is what it wants. In addition to providing this
12831 flexibility, this change should speed up pattern matching in cases
12832 where the pattern already ended with .* (there were a number of
12833 them). This change also helps catch bad patterns--in the old
12834 scheme the typo "char \*" instead of "char \\*" would pass. Now
12835 it is caught.
12836 * Many .exp files: Update callers.
12837
12838 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
12839 clearer and does not spuriously match multiple ('s. Likewise for
12840 ) and *.
12841
12842 * gdb.base/nodebug.exp: Test ability to call a function and pass
12843 it a string (even with no debugging info).
12844
12845 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
12846 "p '\'", which is the same as "p ''" once tcl gets done with
12847 quoting, to "p '\\'", which I suspect is what is intended (one
12848 backslash gets sent to GDB).
12849
12850 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
12851
12852Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12853
12854 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
12855 1817) was fixed literally years ago.
12856
12857Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12858
12859 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
12860 test, it causes stepping out of call_after_alloca_subr with
12861 optimizing compilers.
12862 (localvars_in_indirect_call): Consume GDB prompt if `finish'
12863 fails.
12864
12865 * gdb.c++/templates.exp: Source templ-info.exp only if
12866 the templates executable exists.
12867
12868 * gdb.c++/misc.cc (class Contains_static_instance,
12869 class Contains_nested_static_instance),
12870 gdb.c++/classes.exp (test_static_members): Test printing of
12871 a class that contains a static instance of the class.
12872
12873Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12874
12875 * gdb.base/langs2.c (cppsub_): Don't prototype.
12876 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
12877 only, I believe).
12878
12879Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12880
12881 * lib/gdb.exp (skip_chill_tests): New procedure.
12882
12883 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
12884
12885Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
12886
12887 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
12888 each expect pattern. Cuts runtime from 12 to about 4 seconds.
12889
12890Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12891
12892 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
12893
12894 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
12895 disassemble 8, not 16, instructions for part 4.
12896
12897 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
12898 support the latter anymore.
12899
12900 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
12901 -DNO_PROTOTYPES.
12902 * gdb.base/callfuncs.c: Control use of prototypes based on
12903 NO_PROTOTYPES, not __STDC__.
12904 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
12905 t_float_values2 tests if prototypes in use.
12906
12907 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
12908 t_double_values): When checking differences against DELTA, check
12909 that difference is within the range (-DELTA,DELTA), not just
12910 (-infinity,DELTA).
12911
12912Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
12913
12914 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
12915 'file' command firts, then 'target', then 'load', this is due to gdb
12916 target set up.
12917 * config/mips-gdb.exp: Fix a couple regular exp bugs.
12918
12919Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
12920
12921 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
12922 FP load/store variants.
12923 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
12924
12925Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
12926
12927 * gdb.base/term.exp: Do not give a warning if not native, it is
12928 not an abnormal condition.
12929
12930Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
12931
12932 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
12933 t_char_array".
12934
12935Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
12936
12937 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
12938 are getting the version number.
12939
12940 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
12941 if not native, it is not an abnormal condition.
12942
12943Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12944
12945 * lib/gdb.exp: Just use "file exists", rather than undocumented
12946 dejagnu procedure "findfile".
12947
12948Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12949
12950 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
12951 (LDFLAGS): Set to -Xlinker -Ur.
12952
12953 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
12954 Removed, these values are set by lib/gdb.exp.
12955
12956 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
12957
12958Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12959
12960 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
12961 of replicating gdb startup code.
12962
12963 * config/mt-vxworks (LDFLAGS): Set to -r.
12964 (CFLAGS_FOR_TARGET): Removed.
12965
12966 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
12967 (gdb) and gdb for vxworks uses (vxgdb).
12968
12969 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
12970 executable is not in the tree and host != target, use sed and
12971 program_transform_name to determine the gdb name used by the
12972 target.
12973
12974 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
12975 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
12976
12977Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12978
12979 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
12980 floats, chars, and shorts where there are ANSI-style function
12981 definitions.
12982
12983 * gdb.base/langs.exp, gdb.base/langs*: New test.
12984 * gdb.base/Makefile.in: Build it.
12985 * TODO: Remove item about checking that C names don't get C++
12986 demangling applied; this test tests it.
12987
12988Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12989
12990 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
12991 went with the const70 xfail. The xfail went away a year ago.
12992
12993 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
12994
12995 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
12996 for hp300.
12997
12998 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
12999
13000 * gdb.base/a1-selftest.exp: Don't run on hp300.
13001
13002Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13003
13004 * Makefile.in (site.exp): Set host_alias and target_alias as well
13005 as host_triplet and target_triplet.
13006
13007Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13008
13009 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
13010
13011 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
13012 places as other ecoff systems).
13013
13014 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
13015 ultrix.
13016
13017Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13018
13019 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
13020 remove them.
13021 * gdb.base/nodebug.exp: Accept "function" in addition to "text
13022 variable and "variable" in addition to "data variable".
13023 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
13024
13025 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
13026 2.
13027 * gdb.base/list1.c (long_line): Add additional statement at start
13028 of function.
13029 * gdb.base/list.exp (test_forward_search): Update line number to
13030 reflect new statement.
13031
13032Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13033
13034 * gdb.base/signals.exp: Reinitialize searched source directories
13035 after gdb_start call.
13036
13037Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
13038
13039 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
13040 * gdb.stabs/Makefile.in: Likewise.
13041
13042 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
13043 change. Instead split the tests into smaller pieces.
13044 * gdb.disasm/hppa.s: Corresponding changes.
13045
13046Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13047
13048 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
13049 Quote ^C when passing it to stty. For some shells ^ is a pipe.
13050
13051 * gdb.base/funcargs.exp: Modify many tests so that every test
13052 either passes or fails. Make some test names unique.
13053
13054Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13055
13056 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
13057 Call stty to set interrupt character.
13058
13059 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
13060 for HP assembler versus GNU assembler based on actual behavior of
13061 $(CC), rather than assuming that $(AS) is always the GNU assembler.
13062
13063 * TODO: Suggest a few more stepping tests.
13064
13065Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
13066
13067 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
13068 restart GDB for h8300 after a continue.
13069 (return): Add pattern to match a29k-udi behavior.
13070 * gdb.base/nodebug.exp: Remove obsolete comment.
13071 * gdb.base/regs.exp: New file, testing of register displays.
13072 * gdb.base/return.exp: Fix typo in reference to $objdir.
13073 * gdb.base/whatis.exp: Always start with a fresh GDB.
13074
13075Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13076
13077 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
13078 higher, these tests generate a lot of output.
13079
13080Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13081
13082 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
13083 code following the catch silently ignored some errors; without the
13084 catch they should be thrown like any other tcl error. Also, the
13085 catch used "" instead of {} which meant all the callers who wanted
13086 to include one of the characters "[]$ had to quote it an extra time.
13087 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
13088 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
13089 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
13090 Remove extra quoting.
13091
13092Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
13093
13094 * gdb.base/commands.exp: Make test names unique; every test either
13095 passes or fails. Update some comments.
13096
13097 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
13098
13099Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13100
13101 The following fixes a FAIL caused by the fact that the alpha stabs
13102 configuration didn't use the ".if alpha" code in weird.def.
13103 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
13104 bit pointer, so the 32 bit version works even on the alpha.
13105 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
13106 Remove the stuff which allowed us to have separate versions for
13107 alpha and everything else.
13108
13109 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
13110 regexp which "info func operator\[\](" is supposed to match. Fix
13111 string to send to GDB. Note that GDB still doesn't work right. Add a
13112 new test for "info func .perator\[\](" which GDB does handle correctly.
13113
13114 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
13115
13116Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13117
13118 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
13119 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
13120 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
13121 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
13122 it makes the tests harder to understand and confuses test-o-matic.
13123 The preferred style is that each test provides a PASS or a FAIL,
13124 and has a unique message (e.g. "continue #54" not just "continue")
13125 which is the same for the pass and the fail.
13126 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
13127 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
13128 to lib/gdb.exp.
13129 * gdb.base/printcmds.exp: Use test_print_accept. Remove
13130 prt_accept which was basically the same thing. Likewise for
13131 test_print_reject and prt_reject.
13132 * lib/gdb.exp (test_print_reject): Add some more error message
13133 patterns to match from the former printcmds.exp (prt_reject).
13134 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
13135 One defect of the passcount stuff is that some of it failed to
13136 report XPASS where appropriate.
13137 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
13138 stuff before and after arg in expected pattern.
13139 (test_paddr_operator_functions): Re-do test without print_addr_of;
13140 this is the only test which seems to want extra stuff there.
13141
13142Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13143
13144 * gdb.base/nodebug.exp: Update new tests to reflect improved
13145 wording of gdb output.
13146
13147 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
13148 and "ptype" work on variables in files compiled without -g.
13149 Replaces commented out "maint print msymbol" tests.
13150
13151Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13152
13153 * gdb.base/setvar.c (dummy): Call malloc.
13154
13155 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
13156 losing with the irix4 sed.
13157
13158 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
13159 ALRM" on irix4.
13160
13161Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13162
13163 * TODO: Remove items about corefile.exp testing new exec-file and
13164 backtrace; both are now done. Add items about printing enums.
13165
13166Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13167
13168 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
13169 "get signal $thissig" test fails.
13170
13171 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
13172
13173Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13174
13175 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
13176 compiler warning with dec alpha compiler.
13177
13178 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
13179 extra \n from gdb_test call (this explains why the prompt test
13180 that I removed yesterday was there).
13181 (user_defined_command_test): Remove extra \n and prompt test.
13182
13183 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
13184 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
13185 doesn't exist.
13186 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
13187 Also remove alpha workaround, which turns out to be because
13188 SIGABRT == SIGLOST.
13189
13190 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
13191
13192 * gdb.base/help.exp: Don't test "help show".
13193
13194Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13195
13196 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
13197 "set print address" is on.
13198 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
13199 pass prompt to gdb_test; gdb_test already looks for the prompt.
13200
13201 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
13202
13203 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
13204 was a vestige of the manual TESTSTRATEGY, and the purpose of it
13205 was to make sure that gdb can read a core file. But (a) the "read
13206 the corefile" part didn't make it to a1-selftest.exp, we just
13207 delete the corefile after creating it, and (b) we test reading
13208 corefiles in corefile.exp anyway. Also, this test left around a
13209 xgdb process on Solaris.
13210
13211 * gdb.base/corefile.exp: Also test backtrace.
13212
13213Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
13214
13215 * gdb.base/commands.exp: Test a simple user defined command with
13216 arguments and if/while statements; verify the full user command is
13217 printed by "show user".
13218
13219 * gdb.base/commands.exp: Test if/while commands as part of a
13220 breakpoint command list; verify they appear in breakpoint
13221 information.
13222
13223Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13224
13225 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
13226 than by dividing by zero.
13227
13228Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
13229
13230 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
13231 performing an inferior call with watchpoints enabled.
13232 * gdb.base/watchpoint.c (main): Delete second unnecessary read
13233 call.
13234
13235Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13236
13237 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
13238 of "file" command.
13239
13240 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
13241 Add additional pattern for when "int operator int(void);" appears
13242 in a different order.
13243
13244Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13245
13246 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
13247
13248 * gdb.base/help.exp: Replace most of docstrings for "info signals"
13249 and "signal" with ".*".
13250
13251Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13252
13253 * TODO: Add note about "handle all nostop".
13254
13255 * gdb.base/{sigall.c, sigall.exp}: New test.
13256 * gdb.base/Makefile.in: Add it.
13257
13258Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
13259
13260 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
13261 when invoking GDB, suppresses any windowing interface.
13262
13263Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
13264
13265 * config/sim-gdb: New file, simulator testing support.
13266
13267Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
13268
13269 * gdb.base/interrupt.exp: Test calling func1 twice.
13270
13271Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
13272
13273 * gdb.base/list.exp (test_forward_search): Set timeout higher
13274 when we'll be getting lots of output from gdb.
13275
13276 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
13277 "init_malloc" to after the expect statement. Run it if that
13278 regexp is taken, but also for two others which happen if source
13279 cannot be found.
13280
13281Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13282
13283 * gdb.base/printcmds.exp: New test, for printing register before
13284 program is running.
13285
13286Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13287
13288 * gdb.base/list.exp: Correct some alternate expect patterns
13289 to reflect changes in list1.c.
13290
13291Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13292
13293 * TODO: Add item regarding large frames.
13294
13295 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
13296
13297 * TODO: Remove item about enabling return.exp; it
13298 is enabled. Suggest a few more "return" tests.
13299
13300Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13301
13302 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
13303 anonymous unions.
13304
13305Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13306
13307 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
13308 and pr-5646.o, so "make" is the same as "make all", not "make
13309 pr-4975.o".
13310
13311Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
13312
13313 * gdb.base/list.exp: Adjust expectations to reflect changes in
13314 list1.c.
13315 (test_forward_search): New test proc.
13316 * gdb.base/list1.c (long_line): New function, has long source line.
13317
13318Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
13319
13320 * gdb.base/a1-selftest.exp: Change initial stepping to know about
13321 additional line of code that was added.
13322
13323Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
13324
13325 * gdb.disasm/hppa.s: Break the large branching tests into smaller
13326 tests so as not to overflow expect's input buffers.
13327 * gdb.disasm/hppa.exp: Corresponding changes.
13328
13329Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13330
13331 Beginnings of template debugging tests.
13332 * gdb.c++/templ-info.cc: New file to test for template
13333 debugging capability of the compiler.
13334 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
13335 templ-info.cc.
13336 * gdb.c++/templates.cc: Add explicit template instantiations
13337 to enable compiling with -fno-implicit-templates. Add destructor
13338 and 'value' method to T5 class for template tests.
13339 * gdb.c++/templates.exp: Add testcases for printing of template
13340 types, setting breakpoints on template methods and calling a
d63a86f8 13341 template method.
c906108c
SS
13342
13343Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
13344
13345 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
13346 branch target since some assemblers (gas-2.5) may emit a
13347 relocation for the branch instead of resolving it in the
13348 assembler.
13349
13350Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13351
13352 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
13353 through signal handler.
13354
13355Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13356
13357 * configure.in (*-*-netware): Use config/mt-netware.
13358
13359 * config/mt-netware: New file.
13360 * config/mt-i386-netware: Removed, separate configs for different
13361 netware architectures are no longer needed now that we have
13362 --with-headers.
13363
13364Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13365
13366 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
13367 by the recent changes to use ANSI C arithmetic conversions.
13368
13369Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13370
13371 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
13372 bug involving using inferior_pid to figure out whether to select a
13373 frame.
13374
13375Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
13376
13377 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
13378 match the current disassembler output.
13379
13380Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
13381
13382 * gdb.fortran/exprs.exp: Expect VOID instead of void.
13383 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
13384 types, expect "int" as type of integer values (for now).
13385
13386Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
13387
13388 * gdb.base/commands.exp: New tests for if/while commands.
13389
13390Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
13391
13392 * lib/gdb.exp (runto): Replace sub-pattern for hex value
13393 by .*, since hex values have different syntax in Chill mode.
13394
13395Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13396
13397 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
13398 linefeed from expect pattern for repeated types with indices > 9.
13399
13400Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
13401
13402 First part of Fortran test suite.
13403 * gdb.fortran: New directory.
13404 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
13405
13406Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13407
13408 * gdb.base/default.exp: Update expect pattern for load command
13409 without arguments.
13410
13411Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13412
13413 * configure.in: Change i386 to i[345]86.
13414 * gdb.base/configure.in: Likewise.
13415 * gdb.c++/configure.in: Likewise.
13416 * gdb.chill/configure.in: Likewise.
13417
13418Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
13419
13420 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
13421 patterns, since that is not a valid context for comments.
13422
13423Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
13424
13425 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
13426 repeated types and repeated types with indices > 9.
13427
13428Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
13429
13430 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
13431 2417; old bug has been fixed.
13432
13433Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
13434
13435 * gdb.base/interrupt.exp: When trying to wake up the inferior,
13436 send the newline ourselves instead of assuming gdb_test will do
13437 so when passed an empty input string.
13438
13439 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
13440 stabs testcode.
13441
13442Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13443
13444 * lib/gdb.exp (gdb_test): Don't send anything if the first
13445 argument is an empty string. This makes cases where we want to
13446 match output that is already in expect's buffers (for example,
13447 matching a breakpoint after gdb_run_cmd has been called) work
13448 reliably.
13449
13450Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13451
13452 * config/netware.exp: New file.
13453
13454Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13455
13456 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
13457 the -B and -L prefixes so we can find the debugging stub.
13458
13459 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
13460 there and we are using the gcc from the tree.
13461
13462 * gdb.base/types.c: Removed.
13463
13464 * gdb.base/configure.in: Look for makefile fragments in ../config.
13465 Recognize i386-*-netware.
13466 * gdb.c++/configure.in: Likewise.
13467
13468Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13469
13470 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
13471 the correct TCL syntax.
13472
13473Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13474
13475 * gdb.base/opaque.exp: use runto instead of messing around with
13476 breakpoints. Simplify by using gdb_test.
13477
13478 * gdb.base/bitfields.exp: restart between tests on netware targets
13479 because breakpoints aren't relocated after target death. Run
13480 processes to completion.
13481
13482 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
13483
13484Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
13485
13486 * Makefile.in: Remove extra tabs that confuse some versions
13487 of "make". Use the newly built gdb to test with by default,
13488 rather than the first one in the tester's search path.
13489
13490Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
13491
13492 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
13493
13494 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
13495 condition help.
13496
13497Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13498
13499 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
13500
13501 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
13502 running.
13503 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
13504 * gdb.base/funcargs.exp: Likewise.
13505
13506 * gdb.base/bitfields.exp: Simplify by using gdb_test.
13507 * gdb.base/funcargs.exp: Likewise.
13508
13509 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
13510 message is "".
13511
13512Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13513
13514 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
13515 return,signals,twice}.exp: Handle non-existant binaries
13516 consistantly.
13517
13518 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
13519 * gdb.base/Makefile.in: Don't try to generate a core dump, we
13520 might testing a cross development system.
13521
13522Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13523
13524 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
13525 runtest script is relative to ${srcdir}, not ${rootdir}.
13526
13527Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
13528
13529 * gdb.base/signals.exp: Allow for optionality of breakpoint
13530 address.
13531
13532Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13533
13534 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
13535
13536Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13537
13538 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
13539 for size_t definition.
13540 * gdb.c++/templates.cc: Likewise
13541
13542 * config/mt-i386-netware: New file.
13543
13544 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
13545 defined.
13546
13547 * gdb.base/Makefile.in: Added support for systems that name core
13548 files by appending "core" to the program name.
13549 * gdb.base/a1-selftest.exp: Likewise.
13550
13551Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13552
13553 * gdb.base/return.exp: Add comment and message for `return double'
13554 test failure on Sparc Solaris.
13555
13556Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
13557
13558 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
13559
13560Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13561
13562 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
13563 from optimizing them away.
13564 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
13565 patterns to include default constructors and assignment operators,
13566 to match gcc versions beyond 2.5.8. Accept any cplus demangling
13567 character in the output of the virtual base pointer.
13568
13569Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13570
13571 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
13572 expression match in print_addr_of to avoid unintented matches.
13573 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
13574 versions up to 2.5.8.
13575
13576Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13577
13578 * gdb.base/list.exp: Tweak alternate pattern for listing of an
13579 included file to run under newer versions of expect.
13580 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
13581 consecutive >'s in templates to accomodate recent cplus-dem.c change.
13582 Remove xfail for the virtual table of BDDHookV.
13583
13584Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
13585
13586 * lib/gdb.exp (string_to_regexp): Set a default result.
13587 (default_gdb_start): Fix misleading message.
13588
13589Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
13590
13591 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
13592 Remove all CC, etc definitions.
13593 * config/mt-hpux: New file.
13594 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
13595 (CFLAGS, LDFLAGS): Define.
13596 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
13597
13598 * Makefile.in (site.exp): Don't insert host_os, etc.
13599 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
13600 (distclean): Check existence of subdir.
13601 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
13602 * gdb.base/Makefile.in: General cleanup and simplification.
13603 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
13604 to build executables. Use default rule to build .o files.
13605 (EXPECT, RUNTEST, CC): Fix relative pathname.
13606 (site.exp): Don't insert host_os, etc.
13607 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
13608 and/or SIGUSR1 defined.
13609 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
13610 * gdb.c++/Makefile.in: General cleanup and simplification.
13611 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
13612 (CFLAGS): Remove.
13613 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
13614
13615Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
13616
13617 * gdb.base/recurse.exp: Misc changes to get tests running again
13618 after Kung's changes to the watchpoint code.
13619 * gdb.base/watchpoint.exp: Likewise.
13620
13621Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
13622
13623 * lib/gdb.exp (string_to_regexp): Convert {\} also.
13624
13625Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
13626
13627 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
13628 * lib/gdb.exp (default_gdb_start): Define.
13629 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
13630 gdb.base/funcargs.exp, gdb.base/opaque.exp,
13631 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
13632 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
13633 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
13634 Don't call gdb_target_udi in between tests.
13635
13636Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13637
13638 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
13639 (which was basically just a local version of the same thing). In
13640 addition to avoiding duplication, gdb_test_exact is faster.
13641 * lib/gdb.exp (gdb_test_exact): Fix typo.
13642
13643 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
13644 don't give an error.
13645
13646 * gdb.base/term.exp: Call delete_breakpoints before starting.
13647
13648 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
13649 (t10): Add comment.
13650
13651Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
13652
13653 Reorganization of the GDB Test Suite.
13654
13655 * gdb.base: New directory, contains all the basic tests.
13656 * gdb.c++: New directory, tests specific to C++.
13657 * gdb.chill: New directory, tests specific to Chill.
13658 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
13659 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
13660 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
13661 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
13662 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
13663 t30-31 to chill).
13664 * */gdbme.*: Rename to match appropriate expect scripts.
13665 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
13666 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
13667 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
13668 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
13669 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
13670 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
13671 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
13672 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
13673 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
13674 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
13675 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
13676 gdb.c++/virtfunc.cc: New names of C++ files.
13677 * gdb.chill/chillvars.ch: New name of Chill file.
13678 * gdb.base/configure.in, gdb.c++/configure.in,
13679 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
13680 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
13681 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
13682 * configure.in (configdirs): Update to reflect directory changes.
13683 (target_abbrev): No longer define for any configuration.
13684 * Makefile.in: Cosmetic improvements to header comments.
13685
13686Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
13687
13688 Various changes to gdb.t31:
13689
13690 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
13691 * gdbme.ch: Make all key-words and predefineds be upper-case.
13692 * chillvars.exp: Expect key-words and predefinds in upper-case.
13693
13694 * chillvars.exp: Use gdb_test_exact many places.
13695 Change expected output for arrays (which now includes index labels).
13696
13697 * pr-5020.exp, gdme.ch (module PR_5020):
13698 New test, for PR-5020.
13699
13700Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
13701
13702 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
13703 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
13704
13705Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
13706
13707 * Makefile.in: Fix bit-rot in definitions of CHILL,
13708 CHILL_FOR_TARGET and Chill_LIB.
13709 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
13710 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
13711 CHILL, and CHILL_LIB.
13712
13713Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
13714
13715 * Revert the previous changes. Please see Rob's directory
13716 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
13717
13718Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
13719
13720 * Makefile.in, configure.in, config/mips-gdb.exp,
13721 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
13722 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
13723 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
13724 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
13725 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
13726 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
13727 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
13728 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
13729 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
13730 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
13731 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
13732 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
13733 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
13734 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
13735 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
13736 changes from 94Q1.
13737
13738Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
13739
13740 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
13741 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
13742 Rob's new testing fragments.
13743
13744Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
13745
13746 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
13747 lib/gdb.exp: Replace error proc calls with perror.
13748
13749Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
13750
13751 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
13752 version also, match on casted version strings, and match on
13753 gdb startup case where the line numbers might be messed up.
13754
13755Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
13756
13757 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
13758 (CFLAGS): Delete it from here.
13759
13760Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
13761
13762 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
13763
13764Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
13765
13766 * Makefile.in (RUNTEST): Default to just "runtest".
13767
13768Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13769
13770 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
13771 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
13772 the code has been restructured.
13773
13774Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13775
13776 * gdb.t00/default.exp (set write): Allow any number of \r and/or
13777 \n, not just one of each.
13778
13779 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
13780 /bin/cc gives a warning if you do.
13781
13782Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
13783
d63a86f8 13784 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
13785 __t10ListS_link1ZUiRCUiPT0
13786
13787Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13788
13789 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
13790 on local variables in recursive functions.
13791
13792 * gdb.t07/Makefile.in: Build the new test.
13793
13794Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13795
13796 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
13797 directly. Instead compare the return values from actual calls.
13798
13799Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
13800
13801 * Makefile.in (check): Set TCL_LIBRARY for runtest.
13802
13803Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13804
13805 * From Peter Schauer with minor modifications.
13806 * gdb.t15/return.exp (return_tests): Handle targets where "return"
13807 stops in mid-line in the caller. Add xfail for returning a float
13808 value on X86 targets.
13809
13810Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13811
13812 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
13813 to avoid expect lossage.
13814 (fmem_LRbug_tests): Likewise.
13815 * gdb.disasm/hppa.s: Corresponding changes.
13816
13817 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
13818 conditions to work with latest dejagnu/expect.
13819
13820 * gdb.t15/funcargs.exp (finish from indirect call): No longer
13821 expected to fail on the PA.
13822 (backtrace in call with trampolines): Explicitly require main
13823 to be frame #1 (no trampolines should show up in backtrace).
13824
13825 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
13826 "continue -expect".
13827 * gdb.t06/break.exp: Likewise.
13828 * gdb.t07/watchpoint.exp: Likewise.
13829 * gdb.t13/bitfields.exp: Likewise.
13830 * gdb.t15/{funcargs,return}.exp: Likewise.
13831 * gdb.stabs/weird.exp: Likewise.
13832 * config/{mips,udi}-gdb.exp: Likewise.
13833
13834 * hppa.sed: Enclose comments within a sed command to avoid
13835 losing with the old OSF1 sed.
13836
13837Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13838
13839 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
13840 sequent dynix.
13841 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
13842 * gdb.t15/funcargs.exp: Conditionally step again to really
13843 finish from marker_call_with_trampolines. Handle the case where
13844 the first step from within call_with_trampolines already steps
13845 us back to main.
13846 * gdb.t15/gdbme.c: Add comment to closing brace of
13847 call_with_trampolines for funcargs.exp.
13848
13849Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13850
d63a86f8 13851 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
13852 Fix typo(s).
13853
13854Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13855
13856 * gdb.t07/gdbme.c: More code for watchpoint testing.
13857
13858 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
13859 "Hardware watchpoint" throughout file.
13860 (test_watchpoint_triggered_in_syscall): New test.
13861 (test_complex_watchpoint): New test.
13862
13863Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13864
13865 * gdbme.c (call_with_trampolines): New function to try and step
13866 into. Tests trampoline problems on the PA.
13867
13868 * funcargs.exp (localvars_in_indirect_call): No longer expect
13869 stepping into indirect call to fail on PAs.
13870 (test_stepping_over_trampolines): New test.
13871
13872Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13873
13874 * TODO: Add suggestions for static member function tests, and
13875 completion tests.
13876
13877Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13878
13879 * TODO: Add suggestions for "p/a" tests.
13880
13881 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
13882 (default_gdb_exit): Replace all the hair with sending "quit" to
13883 the process with a simple close.
13884
13885Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13886
13887 * TODO: Add suggestions for shared library tests.
13888
13889Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13890
13891 * TODO: Add suggestions for x/s tests.
13892
13893Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13894
13895 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
13896 "enable once", and "enable breakpoints once" with ".*".
13897
13898Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13899
13900 * TODO: Add suggestions about structure passing tests.
13901
13902Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13903
13904 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
13905 the primary1 test, use work around if __GNUC__ < 2.
13906 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
13907 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
13908 Test for bad output rather than waiting for timeout. Issue
13909 second continue only if first continue failed.
13910
13911Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13912
13913 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
13914 operator[] test with gdb_test because the old code didn't seem to
13915 be getting the quoting right with the new dejagnu.
13916
13917Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
13918
13919 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
13920 one from the path.
13921 * Makefile.in: Use a fresh expect if there is one, use runtest
13922 from the src tree if there is one.
d63a86f8 13923
c906108c
SS
13924Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13925
13926 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
13927 next over recursive call. Revise the tests from that point on
13928 (which had been skipped) to match GDB's actual (correct) output.
13929
13930 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
13931 with next over a breakpoint whose condition is false.
13932
13933 * gdb.t00/help.exp: Comment out "help set print" tests just like
13934 (and for same reason as) "help set" test.
13935
13936Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13937
13938 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
13939 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
13940
13941Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13942
13943 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
13944 necessary gdb_target_udi.
13945
13946 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
13947
13948 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
13949 1838 and 2417; they are fixed.
13950
13951 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
13952 gdb.t03/ptype.exp (ptype structure, ptype union):
13953 Remove xfails; the test is looser than when the xfails were added.
13954
13955 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
13956 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
13957
13958 * gdb.t01/run.exp: Only run shell test if isnative.
13959
13960 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
13961 since "run" automatically loads if necessary. Call gdb_target_udi
13962 after the "file" since "file" kills any execution target.
13963
13964 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
13965 GDB. GDB doesn't work that way (not anymore at least) on UDI.
13966 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
13967 argument for UDI.
13968
13969Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13970
13971 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
13972
13973 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
13974
13975Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13976
13977 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
13978 properly quoting regexps. This makes the second argument to
13979 demangle a fixed string, which matches the callers, instead of a
13980 shell-style pattern which is what the previous implementation
13981 used. Update some of the callers.
13982
13983Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13984
13985 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
13986 (comib_nullified_tests): Fix typo.
13987 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
13988 strings. No longer expected to fail.
13989
13990 * gdb.disasm/hppa.s (addib_tests): Fix typo.
13991 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
13992 strings. No longer expected to fail.
13993
13994 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
13995 string. No longer expected to fail.
13996
13997Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13998
13999 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
14000 No longer expected to fail.
14001
14002 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
14003 string. No longer expected to fail.
14004
14005Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14006
14007 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
14008 only in the names (I probably got most of them). I was even
14009 generous with some which differed in underscores in names, and
14010 probably missed a few, and I *still* was able to remove almost a
14011 third of the file with almost no impact on testsuite coverage.
14012
14013Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14014
14015 * gdb.t00/default.exp: Match udi_attach error message as well as
14016 the one from child_attach.
14017
14018 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
14019
14020 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
14021
14022 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
14023 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
14024
14025 * Move test with enums and partial symbols back to
14026 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
14027 Reverts the change of 26 May 93. Per today's change to
14028 stabs.texinfo, the behavior that weird.exp was expecting was
14029 unreasonable; what is important is that the compiler+gdb get
14030 things right, which happens with a recent gcc. Also fix the test
14031 to deal with native compilers which put out the stab gdb can't
14032 deal with.
14033
14034Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14035
14036 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
14037 in the names. The main thing these accomplish is to slow things down.
14038 Many more such duplicates surely remain.
14039
14040 * gdb.t00/help.exp: Comment out "help support" test just like
14041 (and for same reason as) "help set" test.
14042
14043Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
14044
14045 * gdb.t06/break.exp: Remove setup_xfails for
14046 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
14047 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
14048 about known bug in gcc to include up through 2.5.8.
14049 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
14050 well as "_vb$".
14051 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
14052 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
14053 with latest gcc and gdb.
14054 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
14055 well as "_vb$".
14056
14057Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14058
14059 * configure.in (hppa*-*-*): Also configure and build stabs-only
14060 tests.
14061
14062Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14063
14064 * gdb.t10/hppa.mt: A makefile fragment for the PA.
14065 * gdb.t10/configure.in (hppa*-*-*): Use it.
14066
14067Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14068
14069 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
14070
14071Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14072
14073 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
14074 versions prior to 1.13.5.
14075
14076Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14077
14078 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
14079 the prompt is at the start of a line.
14080
14081Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14082
14083 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
14084 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
14085 in the copr tests now.
14086 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
14087 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
14088 expected to fail.
14089
14090Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
14091
14092 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
14093 gdb.t31/chillvars.exp, lib/gdb.exp:
14094 Tweak to run under either version of expect.
14095 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
14096 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
14097 * gdb.t11/list.exp: Remove extraneous whitespace.
14098
14099Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14100
14101 * gdb.t16/printcmds.exp (test_print_strings): Accept
14102 "(unsigned char *) " before the string.
14103
14104 * TODO: Add notes about printing of fancy types and GDB expressions.
14105
14106Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
14107
14108 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
14109 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 14110 if doing mips-idt-ecoff.
c906108c
SS
14111
14112Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
14113
14114 * Most .exp files: Tweak to run under either version of expect.
14115
14116Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14117
14118 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
14119 xfails; I'm not sure why they are failing, but not because of PR 1806.
14120
14121Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
14122
14123 * config/unix-gdb.exp: Remove gdb_unload cause it's already
14124 defined in lib/gdb.exp.
14125
14126Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14127
14128 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
14129 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
14130 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
14131 have to be typeless.
14132
14133Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14134
14135 * TODO: Add suggestion for copyright year test.
14136
14137Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
14138
14139 * configure.in (*-*-lynxos*): Add stabs tests.
14140
14141Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
14142
14143 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
14144 so insert a tab before any assembler directive in column zero.
14145
14146 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
14147 stores.
14148 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
14149 stores.
14150 (fpu_short_memory_tests): Likewise.
14151
14152Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14153
14154 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
14155 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
14156 .stabs directives in comments.
14157
14158Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14159
14160 * TODO: New file, describing tests we could write.
14161 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
14162
14163Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14164
14165 * gdb.t06/signals.exp: Add kludge to force re-sync.
14166
14167 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
14168 to xgdb instead of gdb, get out of gdb.
14169
14170Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
14171
14172 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
14173 for info.
14174
14175Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
14176
14177 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
14178 * gdb.stabs/configure.in (hppa*-*-*): Use it.
14179 * gdb.stabs/hppa.sed: New sed script for the PA.
14180
14181Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14182
14183 * gdb.stabs: Re-write weird.def and configuration to use sed
14184 instead of cpp. sed is portable and POSIX; cpp is neither.
14185
14186Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14187
14188 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
14189
14190Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14191
14192 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
14193
14194Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14195
14196 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
14197 "_vb$".
14198 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
14199 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
14200
14201Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14202
14203 * lib/gdb.exp: Comment out code which depends on non-existent
14204 `transform' procedure.
14205
14206Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
14207
14208 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
14209 * lib/gdb.exp: Transform tool name.
14210 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
14211 1.1's new error handling system.
14212
14213Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14214
14215 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
14216
14217Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14218
14219 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
14220 They made pattern matching so slow that timeouts happened on
14221 heavily loaded systems. Now any output from "show print" which
14222 gets us back to the GDB prompt is a PASS.
14223
14224Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
14225
14226 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
14227
14228Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14229
14230 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
14231
14232 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
14233 It is not from PR 3220.
14234
14235Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14236
14237 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
14238 just started failing because they depended on the order the
14239 subcommands are presented, or exact docstring text. This kind of
14240 test is a pain and has minimal benefit.
14241
14242Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14243
14244 * gdb.t09/corefile.exp: At end of test, use "core" command with
14245 no arguments.
14246
14247Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
14248
14249 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
14250 17}/Makefile.in: Make it possible to run the testsuite with Sun
14251 make and CC = cross gcc by adding explicit build rules for .o
14252 files.
14253
14254Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14255
14256 * gdb.t15/funcargs.exp: Don't put comments on same line as
14257 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 14258
c906108c
SS
14259Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14260
14261 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
14262
14263Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
14264
14265 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
14266 * gdb.t20/inherit.exp: remove three dumplicate entries.
14267
14268Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14269
14270 * gdb.t06/break.exp: For "next over recursive call", fail on any
14271 incorrect output, not just on "factorial (value=2)".
14272
14273Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14274
14275 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
14276 working now. Add an xfail if accesing a bss variable causes
14277 a memory error if the target is not yet run.
14278
14279Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14280
14281 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
14282 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
14283 name of __st* demangling (2 strings). Did Kung really get the
14284 more than 95 others right without testing them?
14285
14286Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
14287
14288 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
14289
14290Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
14291
14292 * configure.in (configdirs): Add gdb.disasm
14293 * gdb.disasm: New directory for GDB disassembler tests.
14294 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
14295
14296Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14297
14298 * gdb.t00/help.exp: Don't test "help set".
14299
14300 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
14301 from within expect statements. None of these happen anymore and
14302 they cause regressions to be silently unnoticed.
14303
14304 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
14305 messages) about known failures with gcc cygnus-2.4.5-930417.
14306
14307 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
14308 comp-info.exp so it gets built if it doesn't exist.
14309
14310 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
14311 it is no longer used.
14312 * gdb.t13/comp-info.c: Removed.
14313
14314Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
14315
14316 * gdb.t06/signals.exp: Add xfail for sun3.
14317
14318Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14319
14320 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
14321 relevant because ^C doesn't get sent but failure can be reproduced
14322 interactively).
14323
14324Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14325
14326 * gdb.stabs/alpha.mt: New configuration file for alpha.
14327 * gdb.stabs/configure.in: Use it.
14328 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
14329 sharing with alpha.mt, redefine long to word via preprocessor.
14330 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
14331 for alpha.
14332 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
14333 native cc.
14334 * gdb.t00/teststrategy.exp: Change expect string so that we
14335 consume the `(xgdb)' from the command echo and from the gdb prompt.
14336 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
14337 gdb currently compares all values as long, so this failure probably
14338 applies to any configuration where LONGEST is bigger than a target int.
14339 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
14340 with gcc.
14341 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
14342 to handle opaque pointers, gcc is.
14343 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
14344 as first argument. Include <sys/types.h> and change all operator
14345 new definitions to use size_t.
14346 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
14347 now that we use size_t.
14348
14349Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14350
14351 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
14352 a long or float array cast all array members to the same type.
14353 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
14354 with 64 bit longs.
14355 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
14356 on alpha.
14357 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
14358
14359Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14360
14361 * gdb.t24 (demangle.exp): Constructors of templates have names like
14362 vector<int>::vector(int) not vector<int>::vector<int>(int). See
14363 section 14.6 of the ARM.
14364
14365 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
14366 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
14367 accomplish little and slow down the testsuite.
14368
14369 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
14370 Accept spaces various places.
14371
14372Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14373
14374 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
14375 with watchpoint enabled.
14376
14377 * Makefile.in: Remove definition of CC and remove the second
14378 definition of CXX (the "CXX = gcc" one remains). These definitions
14379 were causing backquotes to be expanded within backquotes, which
14380 doesn't work.
14381
14382Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
14383
14384 * gdb.t17/callfuncs.exp: Add "return 0" to end.
14385
14386Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14387
14388 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
14389 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
14390 by mips cc and contains no stabs entries.
14391
14392Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
14393
14394 * config/vx-gdb.exp: Use fake device to load files rather than
14395 NFS.
14396 * lib/gdb.exp: New proc to do "file" command.
14397 * config/unix-gdb.exp: Use new "file" proc.
14398
14399Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14400
14401 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
14402 Rework board rebooting slightly.
14403 (gdb_exit): Don't exit from the remote shell; there isn't one.
14404 * gdb.stabs/weird.exp: If a program is being debugged already,
14405 kill it.
14406 * gdb.t04/setvar.exp: Stop and restart gdb.
14407 * gdb.t05/expr.exp: Likewise.
14408 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
14409 restart gdb and reload the program.
14410 * gdb.t08/opaque.exp: Likewise.
14411 * gdb.t12/scope.exp: Likewise.
14412 * gdb.t13/bitfields.exp: Likewise.
14413 * gdb.t15/funcargs.exp: Likewise.
14414 * gdb.t20/classes.exp: Likewise.
14415 * gdb.t03/ptype.exp: Increase timeout.
14416 * gdb.t16/printcmds.exp (test_print_string_constants,
14417 test_print_array_constants): Likewise.
14418 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
14419 * gdb.t20/classes.exp (do_tests): Likewise.
14420 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
14421
14422Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
14423
14424 * gdb.stabs: Renamed *wierd* to *weird*.
14425
14426Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
14427
14428 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
14429 for timeout. Add "known gcc 2.4.5 bug" to failure message.
14430
14431Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
14432
14433 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
14434 (do_tests): Remove xfail for whatis on one_var and two_var.
14435
14436Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
14437
14438 * Makefile.in: Made cross building work better by adding
14439 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
14440
14441Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14442
14443 * gdb.t15/{return.c,return.exp,Makefile.in}:
14444 New test, currently commented out.
14445
14446Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
14447
14448 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
14449 still running and removes the leftover named socket so GDb can do
14450 clean restarts.
14451
14452Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
14453
14454 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
14455 console, not GDB.
14456 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
14457 cross testing works better with "make check"
14458 * config/unix-gdb: Use default procedures for exit and version.
14459 * config/vx-gdb.exp: Cleaned up and massaged back to working order
14460 with the newest VxWorks.
14461
14462Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14463
14464 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
14465 old form.
14466
14467 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
14468 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
14469
14470 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
14471
14472 * config/unix-gdb.exp: Remove this version of gdb_exit
14473 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
14474 Rob says he'll look at it when he gets back to testing boards.
14475
14476Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
14477
14478 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
14479 an expected fail for certain ptype commands.
14480
14481 * gdb.t20/classes.exp: Update expected results of "ptype class
14482 Base1" to account for the constructor that now appears in the type.
14483
14484Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
14485
14486 * configure.in (configdirs): Restore gdb.t04, which mysteriously
14487 disappeared from list.
14488 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
14489 "alldone" proc with call to cleanup and exit.
14490 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
14491 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
14492 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
14493 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
14494 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
14495 "alldone" proc with simple returns that suppress remaining
14496 tests. The alldone proc went away many months ago.
14497
14498Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14499
14500 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
14501
14502 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
14503
14504Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14505
14506 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
14507 as vax gdb will display them.
14508
14509Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14510
14511 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
14512 optimizers.
14513
14514 * scope.exp: Change "bad value for localval" messages so each one
14515 is unique.
14516
14517 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
14518 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
14519
14520 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
14521
14522Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14523
14524 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
14525 doesn't exist (due to optimization).
14526
14527Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14528
14529 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
14530 contains \r because the filename is long.
14531
14532 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
14533 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
14534
14535Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14536
14537 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
14538 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
14539 Ultrix.
14540 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
14541 int tests.
14542 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
14543
14544Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
14545
14546 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
14547
14548 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 14549 to match does not match the passing case but still matches the
c906108c
SS
14550 failing case.
14551
14552Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14553
14554 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
14555
14556Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
14557
14558 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
14559 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
14560 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
14561 Remove various versions of gdb_exit.
14562 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
14563 gdb_exit.
14564 * config/unix-gdb.exp: gdb_exit remains here, and should override
14565 the generic version, since it's doing a lot of wierd stuff that
14566 the other versions aren't. FIXME, fold it in, or abandon this
14567 version.
14568
14569Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14570
14571 * gdb.t24/demangle.exp: Add tests for PR 3220.
14572
14573Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14574
14575 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
14576
14577Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
14578
14579 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
14580 "i386-*-*". Works for i486 as well.
14581
14582 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
14583 bug, and expand domain of xfail to all SVR4 systems, since the
14584 actual problem is likely to be in generic SVR4 /proc support.
14585
14586Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14587
14588 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
14589
14590Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
14591
14592 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
14593 xfails for other systems. Match a missing 'Continuing.' as an
14594 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
14595
14596 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
14597 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
14598 Only issue warning for missing executables if -all option is used.
14599
14600 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
14601 file if -all option is used. It's like an unpredictable XFAIL.
14602
14603Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14604
14605 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
14606 for dynamically linked binaries.
14607
14608 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
14609
14610Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14611
14612 * gdb.t20/inherit.exp: Change message for "print tagless struct"
14613 to state that this is a known bug in old versions of g++.
14614
14615Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14616
14617 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
14618 while waiting for `Continuing'.
14619
14620Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
14621
14622 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
14623 in text, data, and bss.
14624 * gdb.t10/nodebug.c: Add local and global test variables for
14625 initialized and uninitialized data.
14626
14627Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14628
14629 * config/unix-gdb.exp (gdb_exit): Add "wait".
14630
14631Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14632
14633 * gdb.t06/signals.exp: xfail the continue from the handler for all
14634 targets.
14635
14636 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
14637 function with watchpoints enabled, the i386 call dummy starts with
14638 a call.
14639
14640 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
14641 386 bsd names its corefiles.
14642
14643Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
14644
14645 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
14646 compilers don't grok it.
14647 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
14648 with small octal ints rather than character constants, which
14649 are signed and might not fit if first promoted to int.
14650
14651Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
14652
14653 * gdb.t09/Makefile.in (clean): Remove corefile.
14654
14655Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14656
14657 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
14658
14659Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14660 and Jim Kingdon (kingdon@cygnus.com)
14661
14662 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
14663 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
14664 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
14665
14666Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14667
14668 * gdb.t17/interrupt.exp: Add xfail for hppa.
14669
14670Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14671
14672 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
14673 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
14674 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
14675 to determine signed-ness of bitfields and use the result to setup
14676 the xfail.
14677 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
14678 * gdb.t15/funcargs.exp: Use them to step until the second indirect
14679 call line is reached if necessary.
14680
14681Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14682
14683 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
14684
14685Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14686
14687 * gdb.t06/break.exp: Also test `clear' command.
14688
14689Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
14690
14691 * gdb.t00/teststrategy.exp: Remove extra quote.
14692
14693 * gdb.t07/watchpoint.exp: Change xfail for calling function with
14694 watchpoint enabled to be for all non-68k machines.
14695
14696 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
14697
14698Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14699
14700 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
14701 targets use aout.mt instead of ecoff.mt as gas understands
14702 standard aout format.
14703
14704Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
14705
14706 * lib/gdb.exp (runto): Don't insist that function we are running to
14707 was compiled with -g.
14708
14709 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
14710
14711 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
14712 to get back into the read system call.
14713 Accept leading newline in case where we woke it up.
14714
14715Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14716
14717 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
14718 to make the stabs test work on ecoff systems using gcc and -with-stabs.
14719 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
14720 enable ecoff configuration.
14721
14722Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14723
14724 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
14725
14726Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14727
14728 * gdb.t16/printcmds.exp: Add another printf test.
14729
14730Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
14731
14732 * configure.in: If configured -with-stabs on any target, add
14733 stabsdirs to configdirs.
14734
14735Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14736
14737 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
14738 fun" so pattern does not match the command itself.
14739
14740Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14741
14742 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
14743
14744Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14745
14746 * gdb.t17/interrupt.exp: Test for more things.
14747
14748Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14749
14750 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
14751 compiler arranges the code and line numbers.
14752
14753 * gdb.t17/interrupt.exp: Don't send \n after ^C.
14754
14755Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14756
14757 * gdb.t00/help.exp: Increase expect input buffer size.
14758
14759Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14760
14761 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
14762
14763 * gdb.t07/watchpoint.exp: Add xfail for hppa.
14764
14765 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
14766
14767 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
14768 [0-9]*, not just [0-9].
14769
14770Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14771
14772 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
14773
14774 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
14775
14776Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14777
14778 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
14779
14780Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14781
14782 * gdb.t06/signals.c: Add xfails for sun3.
14783
14784 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
14785
14786 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
14787 test_stepping tests.
14788
14789Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14790
14791 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
14792
14793 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
14794
14795 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
14796 rather than actually putting it through cpp twice.
14797
14798 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
14799
14800Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
14801
14802 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
14803 no longer needed.
14804
14805Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14806
14807 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
14808
14809 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
14810 C++ features prints as "struct", make it a pass, not an xfail.
14811
14812Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14813
14814 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
14815 Don't require VA to print as "class" rather than "struct".
14816
14817Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
14818
14819 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
14820
14821Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14822
14823 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
14824
14825Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14826
14827 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
14828 order.
14829
14830Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14831
14832 * gdb.t16/printcmds.exp: Add printf tests.
14833
14834 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
14835
14836 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
14837
14838Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
14839
14840 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
14841 pass counts, to counteract any existing or future setup_xfails.
14842
14843Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14844
14845 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
14846 {BEGIN,END}_COMMON for common block instead of STAB.
14847 * gdb.stabs/wierd.exp: Add xfail for rs6000.
14848
14849 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
14850 intp_var should be N_GSYM not N_LSYM.
14851 wierd-aout.S: Use a label for the value of the N_SO.
14852 wierd.def: Remove all backslashes.
14853 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
14854
14855Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14856
14857 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
14858 get the expected next to inheritance3.
14859
14860Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14861
14862 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
14863 now that gcc-2.4 gets it right.
14864
14865Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14866
14867 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
14868
14869 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
14870 generating comp-info.exp which works for cross-compilation.
14871
14872Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
14873
14874 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
14875 "*-*-sysv4.*".
14876
14877Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
14878
14879 * gdb.t01/run.exp: Start with a fresh gdb.
14880 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
14881 SVR4.x.
14882
14883Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
14884
14885 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
14886 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
14887 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
14888 Makefile.in (distclean, realclean): Remove gdbme.c from list of
14889 things to remove.
14890
14891Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
14892
14893 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
14894 test cases from bug reports.
14895
14896Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
14897
14898 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
14899 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
14900 avoid spurious xfails.
14901 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
14902 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
14903 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
14904
14905Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
14906
14907 * gdb.t00/teststrategy.exp: Rework to provide more useful
14908 description of each test, fix problem with systems that define
14909 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
14910 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
14911 results for "next over recursive call" so timeouts aren't taken
14912 by error.
14913
14914Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
14915
14916 * gdb.t12/scope.exp: Test printing of variables before run.
14917
14918 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
14919 printed in wrong order due to sorting.
14920
14921Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
14922
14923 * gdb.t00/teststrategy.exp: Fix expected results for printing
14924 user entered string constant. Is array of char, prints with no
14925 address.
14926
14927 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
14928 commands.
14929 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
14930 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
14931 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
14932 of struct of char arrays.
14933 * gdb.t00/radix.exp: New tests for radix commands.
14934
14935Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
14936
14937 * gdb.t16/printcmd.exp: Print a variable before running program
14938 (with xfail for AIX).
14939
14940Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
14941
14942 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
14943
14944 * gdb.t16/printcmd.exp: Don't print variables before running program.
14945
14946 * gdb.t06/break.exp: Don't require envp argument to main.
14947
14948 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
14949
14950 * gdb.t02/whatis.exp, gdb.t11/list.exp:
14951 Add xfails for rs6000.
14952
14953 * gdb.t02/whatis.exp: Change other tests not to re-test something
14954 we already tested.
14955
14956 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
14957 each type used has a variable of that type.
14958
14959Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
14960
14961 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
14962
14963Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14964
14965 * configure.in: change srctrigger to be a file, not a directory
14966
14967Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
14968
14969 * configure.in (mips-idt-ecoff*): Added trailing '*'.
14970
14971 * gdb.t11/list.exp: Fixed a couple of typos.
14972
14973Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
14974
14975 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
14976 is fixed and PR is closed.
14977 * gdb.t16 (gdbme.c): Add simple test string variable.
14978 * gdb.t16 (printcmds.exp): Add tests with simple test string
14979 variable, primarily for boundaries on "set print elements".
14980
14981Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
14982
14983 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
14984 Make leading 0's optional and don't expect a tab in the middle
14985 of the number.
14986
14987 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
14988
14989 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
14990 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
14991 don't end command passed to gdb_test with newline.
14992
14993 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
14994 signed keyword away, don't expect signed bitfields to be signed.
14995
14996 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
14997 printing with only as many 1's as are in the field as well as printing
14998 with 32 1's (see comment).
14999
15000Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
15001
15002 * gdb.t00/default.exp: Start with a fresh gdb.
15003 * configure.in (configdirs): Remove gdb.t31 until the chill
15004 compiler works again. It no longer is able to find chillrt0
15005 since it isn't in libchill.a anymore.
15006 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
15007 wierd.o, make more modular.
15008 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
15009 spurious newlines that caused problems.
15010
15011Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15012
15013 * Move test with enums and partial symbols from gdb.t03/ptype.exp
15014 to gdb.stabs/wierd.exp since GCC has worked around the bug.
15015 gdb.stabs/wierd.{exp,def}: Many new tests.
15016
15017 * gdb.t00/default.exp: update info line for new message.
15018
15019 * gdb.t02/{whatis.exp,gdbme.c}:
15020 Test that "char *" doesn't print as "caddr_t".
15021
15022Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15023
15024 * gdb.t00/help.exp: Use .* in place of some help messages which
15025 just changed.
15026 gdb.t00/default.exp: Update "info frame" test for new message.
15027 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
15028 Remove some xfails
15029
15030Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15031
15032 * gdb.t03/{gdbme.c,ptype.exp}:
15033 Add tests for typedef'd struct and union without tags.
15034 Also check "whatis" on a variable of a typedef'd enum without a tag.
15035
15036 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
15037 PRMS 1823; the bug still exists but isn't reproduced by this test
15038 anymore), and remove rs6000 XFAIL (the bug is fixed).
15039
15040 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
15041 duplicated from whatis.exp. For those that are left, accept
15042 "long", "long int", or "int" for long variables (whatis.exp already
15043 has an XFAIL for "int", so no need to fail it here).
15044
15045 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
15046 Deal with GCC's names for types now that GDB uses the compiler's names.
15047
15048 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
15049 setup_xfail's for sunos4. If we #defined the signed keyword away,
15050 don't expect GDB to know that char it is signed.
15051
15052 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
15053
15054Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
15055
15056 * configure.in (configdirs): Add gdb.t24 for C++ tests that
15057 should work on any system, regardless of debugging format.
15058 * gdb.t21/demangle.exp: Move to gdb.t24.
15059 * gdb.t24/demangle.exp: Move from gdb.t21.
15060 * gdb.t24/{Makefile.in, configure.in}: New files.
15061
15062Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15063
15064 * configure.in: Do gdb.stabs and C++ tests only for stabs.
15065 * gdb.stabs: New directory.
15066
15067Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15068
15069 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
15070 not just "Quit anyway?".
15071
15072Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
15073
15074 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
15075 that all setup_xfails are immediately followed by clear_xfails.
15076
15077Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
15078
15079 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
15080 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
15081 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
15082 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
15083 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
15084 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
15085 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
15086 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
15087 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
15088 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
15089 gdb.t31/chillvars.exp, lib/gdb.exp:
15090 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
15091 bug-gdb@prep.ai.mit.edu.
15092
15093Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
15094
15095 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
15096 with 0.0, not integer 0.
15097
15098Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
15099
15100 * gdb.t06/break.exp: Update for "Kill the program" message change.
15101
15102Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
15103
15104 * Makefile.in (GDBFLAGS): Set to -nx.
15105 * Makefile.in (site.exp): Use GDBFLAGS.
15106
15107Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
15108
15109 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
15110 Makefiles.
15111 (check): depend on just-check.
15112 (just-check): added so that tests can be run without a noop
15113 build pass.
15114
15115Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
15116
15117 Switch to using configure's configdirs.
15118 * Makefile.in (Makefile): add configure.in dependency.
15119 (SUBDIRS): removed redundant assignment.
15120 * configure.in: switch subdirs assignment to configdirs.
15121 * gdb.t*/configure.in: new files.
15122
15123Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
15124
15125 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
15126 works.
15127
15128Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
15129
15130 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
15131 in explicit rules. Apparently this is not supported by some makes.
15132
15133Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
15134
15135 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
15136
15137Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15138
15139 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
15140 disappeared.
15141
15142Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
15143
15144 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
15145
15146Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
15147
15148 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
15149 watchpoint problem that is now fixed.
15150 * gdb.t30/chexp.exp: Remove setup_xfail for printing
15151 uninitialized convenience variables.
15152 * gdb.t31/chillvars.exp: Fix expected patterns for printing
15153 structures.
15154
15155Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15156
15157 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
15158 which causes expect to get out of sync with gdb on long output
15159 from help set.
15160 * gdb.t09/corefile.exp: Make expected pattern for core file
15161 failing signal and frame output format less sun specific.
15162
15163Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
15164
15165 * gdb.t31/chillvars.exp: Add and remove initial dummy
15166 breakpoint, so that symbol table is forced in.
15167 (Needed at least on Sunos4, though it seems not SVR4.)
15168 * gdb.t31/chillvars.exp: Update for changed output format.
15169
15170Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
15171
15172 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
15173
15174Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
15175
15176 * Makefile.in: Added --srcdir when invoking runtest, removed the
15177 need for a local config file. (optional now)
15178
15179Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
15180
15181 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
15182 failure count used to force early termination. Add some more
15183 expected failures for gnu style demangling.
15184
15185Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15186
15187 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
15188 pmi variable from gdb.t20/gdbme to get optimized away.
15189 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
15190 Check for written corefile upon timeout _and_ eof.
15191
15192Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15193
15194 * config/unix-gdb.exp: Add missing return 0.
15195
15196Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15197
15198 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
15199 test termination.
15200
15201Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
15202
15203 * configure.in (subdirs): Put back gdb.t17 which mysteriously
15204 disappeared.
15205
15206Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
15207
15208 * gdb.t10/crossload.exp: Disable the i860-elf test until such
15209 time as i860 support works.
15210
d63a86f8 15211 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
15212 "backtrace 100\r" rather than just "backtrace\r", to match last
15213 change.
15214
15215Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
15216
15217 * config/udi-gdb.exp (gdb_exit): Remove close command.
15218 (gdb_target_udi): New procedure to set the UDI target.
15219 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
15220 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
15221 Added waits for prompts after several question responses. Added
15222 some more responses used by a29k-amd-udi-gdb.
15223 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
15224 pass different arguments, restart UDI connection after program
15225 completion.
15226 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
15227 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
15228 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
15229 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
15230 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
15231 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
15232 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
15233 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
15234 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
15235 after program completion.
15236 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
15237 compiled with a SELECT_VECS setting.
15238 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
15239 infinite recursion.
15240
15241 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
15242 Added checks for COFF results, and made them expected failures for
15243 all targets. It would be better to make them expected failures
15244 for COFF targets only.
15245
15246Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
15247
15248 * Makefile.in: add null dvi target, don't bother to recurse
15249 through test directories for info and install-info; rename
15250 $(datadir) to be dejagnu instead of deja-gnu
15251
15252Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
15253
15254 * gdb.t31/gdbme.ch: Re-enable code that previously caused
15255 compiler to coredump.
15256 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
15257 code.
15258
15259Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
15260
15261 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
15262 coredump.
15263 * gdb.t31/chillvars.exp: Comment out tests that depend on that
15264 code.
15265
15266Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
15267
15268 * gdb.t03/ptype.exp: tests for return code from gdb_test.
15269 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
15270 which in a shell. Deletes xgdb when done.
15271 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
15272 Tests the return from the "set height" or "set width" commands.
15273 Added a few return codes where needed.
15274
15275Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
15276
15277 * Makefile.in (SUBDIRS): Add gdb.t17.
15278 * configure.in (subdirs): Add gdb.t17.
15279 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
15280 files to test gdb's calling of functions in the inferior with
15281 the correct arguments and gdb's ability to retrieve any
15282 result returned.
15283
15284Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
15285
15286 * config/unix-gdb.exp (gdb_exit): Remove close commands that
15287 may be called after gdb goes away. Previous versions of expect
15288 needed these to avoid file descriptor leaks, but they cause
15289 errors with the current revision of expect.
15290 * gdb.t00/gdbvars.exp: Use -re on expected output after
15291 setting sevenbit-strings.
15292 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
15293 to set sevenbit-strings consistent across tests.
15294 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
15295 set sevenbit-strings consistent across tests.
15296
15297Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
15298
15299 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
15300 expected output to match current "expect" expectations.
15301
15302Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
15303
15304 * gdb.t00/default.exp: Change expected output for default "source"
15305 command, to match new gdb behavior which requires a filename to
15306 source.
15307
15308Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
15309
15310 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
15311 expected fail for i486-*-* that misses the marker2 function.
15312 * gdb.t10/crossload.exp (bfddefault): Allow successful
15313 recognition of a format to pass even if no symbols are found.
15314 Explicitly catch failures where the format is not recognized
15315 or is ambiguous, and add the reason to the fail message.
15316 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
15317 the cause is and invalid target and add reason to failure message.
15318 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
15319 elf32-i386, elf32-sparc, and elf32-i860.
15320 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
15321 Set up expected failure for 'filename'::variable scope resolution,
15322 which is now apparently broken on all targets.
15323 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
15324 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
15325 gdb.t23/templates.exp: Change failure for missing binfile into
15326 just a warning.
15327 gdb.t21/demangle.exp: Change all cfront references to 'arm'
15328 references.
15329
15330Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
15331
15332 * gdb.t00/default.exp: Add expected output for default "source"
15333 command, to match new gdb behavior.
15334 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
15335
15336Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
15337
15338 * config/*-gdb.exp: returns an error, rather than exiting on
15339 internal errors.
15340
15341Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
15342
15343 * gdb.t03/gdbme.c: Add pointer to struct variable.
15344 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
15345 referencing struct members.
15346
15347Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
15348
15349 * configure.in (mips-idt-ecoff): New target.
15350 * config/mips-gdb.exp: New file for remote board using MIPS remote
15351 debugging protocol.
15352
15353 * Redid configuration scheme. Removed gdb.t*/configure.in.
15354 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
15355 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
15356 distclean targets. Built executables via .o files. Adjusted
15357 tests to account for source files in $(srcdir) rather than
15358 $(objdir).
15359 * lib/gdb.exp (runto): Don't expect () after the function name,
15360 because it may have arguments.
15361
15362Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
15363
15364 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
15365 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
15366 expected failures for mips-idt-* and mips-sgi-*.
15367 * gdb.t00/default.exp (attach): Kill process if requested.
15368 * gdb.t00/help.exp (help target core, help target): Accept a gdb
15369 that does not read core files.
15370 * gdb.t01/run.exp: Removed checks for exit status code.
15371 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
15372 it is linked in.
15373 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
15374 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
15375 appropriate, rather than doing it by hand.
15376 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
15377 execution.
15378 * gdb.t10/crossload.exp: Kill existing program if needed.
15379 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
15380 appropriate, rather than doing it by hand. Always increase
15381 timeout for this test, not just for VxWorks.
15382
15383Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
15384
15385 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
15386 of Chill STRUCT types and STRUCT values.
15387 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
15388 than "char".
15389 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 15390 struct2): New struct definitions and initializations to test
c906108c
SS
15391 simple Chill STRUCT types.
15392
15393Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
15394
15395 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
15396 the null byte at the end of strings.
15397 * gdb.t00/default.exp: Make show version insensitive to copyright
15398 date.
15399 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
15400 to avoid dependencies on target char signedness.
15401 * gdb.t16/printcmds.exp: Update expected results for explicitly
15402 unsigned char.
15403 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
15404 now work.
15405 * gdb.t21/demangle.exp: Add many more patterns for template
15406 demangling, most of them being expected failures.
15407 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
15408 string we are matching for, to match on the whole string.
15409 * gdb.t21/demangle.exp: Add many new test strings to demangle,
15410 and fix a whole bunch that had incorrect expected output but were
15411 passing anyway because of the bug in "proc demangle".
15412 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
15413 type.
15414 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
15415
15416Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
15417
15418 * gdb/testsuite: made modifications to testcases, etc., to allow
15419 them to work properly given the reorganization of deja-gnu and the
15420 relocation of the testcases from deja-gnu to a "tool" subdirectory.
15421
15422Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
15423
15424 * gdb/testsuite: Initial creation of gdb/testsuite.
15425 Migrated dejagnu testcases and support files for testing nm to
15426 gdb/testsuite from deja-gnu. These files were moved "as is"
15427 with no modifications. This migration is part of a major overhaul
15428 of dejagnu. The modifications to these testcases, etc., which
15429 will allow them to work with the new version of dejagnu will be
15430 made in a future update.
48efe704 15431
8d8cb839 15432 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 15433\f
8d8cb839
EZ
15434;; Local Variables:
15435;; mode: change-log
15436;; left-margin: 8
15437;; fill-column: 74
15438;; version-control: never
15439;; End:
902f2ccb
MC
15440
15441 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 15442 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
15443 Copying and distribution of this file, with or without modification,
15444 are permitted provided the copyright notice and this notice are preserved.