* gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
44efa07a
KB
12007-07-18 Kevin Buettner <kevinb@redhat.com>
2
3 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
4 prior to `gdb_start'.
5
7b5ebade
KB
62007-07-18 Kevin Buettner <kevinb@redhat.com>
7
8 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
10 Remove call to gdb_unload.
11
255e7678
DJ
122007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
13 Daniel Jacobowitz <dan@codesourcery.com>
14
15 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16 for __WIN32__.
17 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
18 * gdb.base/unload.exp: Use shared library test routines.
19
3a40aaa0
UW
202007-07-03 Markus Deuling <deuling@de.ibm.com>
21
22 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
23 * gdb.base/solib-symbol-lib.c: Likewise.
24 * gdb.base/solib-symbol-main.c: Likewise.
25
b0f4b84b
DJ
262007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
27
28 * config/gdbserver.exp (gdb_reconnect): New.
29 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
30 gdb.base/solib-disc.exp: New files.
31 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
32 remote debugging".
33 (gdb_compile): Add shlib_load flag.
34 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
35 port.
36 (gdbserver_reconnect): New.
37
1b05479a
DJ
382007-07-01 Nick Roberts <nickrob@snap.net.nz>
39 Daniel Jacobowitz <dan@codesourcery.com>
40
41 * gdb.base/annota3.exp: Test for if construct.
42
86f78eb2
DJ
432007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
44
45 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
46
6a2eb474
MR
472007-06-21 Chris Dearman <chris@mips.com>
48 Maciej W. Rozycki <macro@mips.com>
49
50 * gdb.base/display.exp: Allow a newline after display/i.
51 * gdb.base/pc-fp.exp: Likewise.
52 * gdb.base/sigbpt.exp: Likewise.
53
f8b73d13
DJ
542007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
55
56 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
57 required features to be included.
58
4339e69e
DJ
592007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
60
61 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
62 in info threads output.
63
23d964e7
UW
642007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
65 Markus Deuling <deuling@de.ibm.com>
66
67 * gdb.arch/spu-info.exp: New testcase.
68 * gdb.arch/spu-info.c: New file.
69
fd20f75b
DJ
702007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
71
72 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
73 tpcs_offset. Restore lr after the call.
74 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
75
2226f861
DJ
762007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
77
78 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
79 (gdbserver_run): Kill any running gdbserver.
80 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
81
d12371a9
MR
822007-05-17 Maciej W. Rozycki <macro@mips.com>
83
84 * gdb.base/sigbpt.exp: Preset segv_addr.
85
93f02886
DJ
862007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
87
88 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
89 (gdb_compile_shlib): Likewise.
90 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
91 (default_gdb_init): Clear cleanfiles.
92 (gdb_finish): Delete recorded cleanfiles.
93 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
94
95 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
96 Do not use isnative.
97 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
98 gdb.base/so-impl-ld.exp: Likewise.
99 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
100 * gdb.base/unload.exp: Likewise. Do not pass empty option to
101 gdb_compile.
102
b04e06d7
VP
1032007-05-15 Vladimir Prus <vladimir@codesourcery.com>
104
105 * config/unknown.exp: Remove.
106
069ed931
UW
1072007-05-15 Markus Deuling <deuling@de.ibm.com>
108
109 * gdb.base/info-proc.exp: Check is_remote.
110
09db0d03
UW
1112007-05-14 Markus Deuling <deuling@de.ibm.com>
112
113 * gdb.base/gcore.exp: Initialize variable core_supported.
114
af2cbe8c
DJ
1152007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
116
117 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
118
027c0295
DJ
1192007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
120
121 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
122 * gdb.threads/print-threads.exp (test_all_threads): Allow
123 negative and hexadecimal thread IDs.
124
dc5000e7
DJ
1252007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
126
127 * gdb.java/jprint.java (public): Avoid invalid call to static
128 method.
129
2e74ed18
DP
1302007-05-14 Denis Pilat <denis.pilat@st.com>
131
132 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
133 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
134 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
135 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
136 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
137
83547f02
UW
1382007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
139
140 * gdb.base/overlays.exp: Add support for targets with only code
141 overlay support, not data overlay. Support spu-*-* target in
142 this mode.
143 * gdb.base/ovlymgr.c: Provide stubs for spu target.
144 * gdb.base/spu.ld: New file.
145
b18be20d
DJ
1462007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
147
148 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
149
be444858
DJ
1502007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
151
152 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
153
b1d53152
DJ
1542007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
155
156 * gdb.java/jmain.exp: Handle demangled names with and without method
157 signatures.
158
d084b331
DJ
1592007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
160
161 * gdb.mi/mi-syn-frame.c (main, foo, bar)
162 (have_a_very_merry_interrupt): Remove calls to puts.
163 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
164 inferior output.
165 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
166 test names.
167
db9d7fc5
DJ
1682007-04-29 Markus Deuling <deuling@de.ibm.com>
169 Daniel Jacobowitz <dan@codesourcery.com>
170
171 * gdb.base/auxv.exp (core_works): Also check is_remote.
172 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
173
ef783a7d
VP
1742007-04-25 Vladimir Prus <vladimir@codesourcery.com>
175
176 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
177 message, not the undefined 'module' variable.
178 * gdb.base/siginfo.exp: Likewise.
179 * gdb.base/sigstep.exp: Likewise.
180 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
181 serialport.
182 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
183
b7b73cae
CV
1842007-04-25 Corinna Vinschen <vinschen@redhat.com>
185
186 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
187 target sim fails. Return 0 otherwise.
188 (gdb_load): Return prematurely if gdb_target_sim fails.
189
7d90fdfa
DP
1902007-04-16 Denis Pilat <denis.pilat@st.com>
191
192 * gdb.base/setshow.exp: Reset height after having set it to 100.
193
5d3e9c85
DP
1942007-04-16 Denis Pilat <denis.pilat@st.com>
195
196 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
197
18e75969
DP
1982007-04-16 Denis Pilat <denis.pilat@st.com>
199
200 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
201
25d5ea92
VP
2022007-04-14 Vladimir Prus <vladimir@codesourcery.com>
203
204 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
205 tests. Run the frozen varobjs test.
206 * gdb.mi/var-cmd.c (do_frozen_tests): New.
207 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
208
0b49cb80
JK
2092007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
210
211 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
212 gdb.base/type-opaque.exp: New files.
213
a73bafbc
VP
2142007-04-01 Vladimir Prus <vladimir@codesourcery.com>
215
216 * gdb.mi/mi-var-child.c
217 (do_children_tests): User char[2] instead of
218 char so that automatic printing of pointers to char
219 don't give unpredicable result.
220 * gdb.mi/var-cmd.c (do_locals_test): Initialize
221 local variables.
222 * gdb.mi/mi-var-child.exp: Step to right line
223 of do_children_tests.
224 * gdb.mi/mi2-var-child.exp: Likewise.
225 * gdb.mi/mi-var-cmd.exp: Step to right line of
226 do_locals_tests.
227 (do_children_tests): User char[2] instead of
228 char so that automatic printing of pointers to char
229 don't give unpredicable result.
230 * gdb.mi/mi2-var-cmd.exp: Likewise.
231 * lib/mi-support.exp (mi_continue_to_line):
232 Pass test name to mi_wait_for_stop.
233
7ce59000
DJ
2342007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
235
236 * gdb.asm/asm-source.exp: Remove d10v case.
237 * lib/gdb.exp (skip_cplus_tests): Likewise.
238 * gdb.asm/d10v.inc: Deleted.
239
20389057
DJ
2402007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
241
242 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
243
8807d78b
DJ
2442007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
245
246 * config/netware.exp: Delete file.
247
aa3edb8e
JB
2482007-03-29 Joel Brobecker <brobecker@adacore.com>
249
250 * gdb.dwarf2/dw2-noloc.S: New file.
251 * gdb.dwarf2/dw2-noloc.exp: New file.
252
297561ac
PA
2532007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
254
255 * gdb.cp/method2.cc: New test.
256 * gdb.cp/method2.exp: New test.
257 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
258
1f81bd39
DJ
2592007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
260
261 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
262
9453113a
DJ
2632007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
264
265 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
266
b741e217
DJ
2672007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
268
269 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
270 (gdb_load): Delete, replace with...
271 (gdb_reload): ...this.
272 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
273 * gdb.server/server-mon.exp: Likewise.
274 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
275 (gdb_start_cmd): New.
276 (gdb_file_cmd): Save the last loaded file.
277 (gdb_reload): New.
278 (gdb_gnu_strip_debug): Use transform.
279 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
280 support here. Use new $last_loaded_file. Check mtime.
281 (gdb_target_cmd): Handle ObjC failure case.
282 (infer_host_exec): Delete.
283 (gdbserver_load): Rename to...
284 (gdbserver_run): ...this. Simplify.
285 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
286 (mi_gdb_load): Move most contents to a new function...
287 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
288 (mi_run_cmd): Use mi_gdb_target_load.
289 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
290 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
291 Use gdb_run_cmd.
292 * gdb.base/charsign.exp: Remove incorrect comment.
293 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
294 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
295 gdb.base/start.exp: Use gdb_start_cmd.
296
446ab585
MR
2972007-03-23 Nigel Stephens <nigel@mips.com>
298 Maciej W. Rozycki <macro@mips.com>
299
300 * gdb.base/sigbpt.exp: Fix the message when skipping test.
301 * gdb.base/signull.exp: Similarly.
302
bbb88ebf
UW
3032007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
304
305 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
306 messages available to test cases (like chng-sym.exp).
307
cb8c4a99
AS
3082007-03-14 Andreas Schwab <schwab@suse.de>
309
310 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
311 format changes.
312
4e463ff5
DJ
3132007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
314
315 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
316 (optimized_1): New.
317 (main): Call optimized_1.
318 (gdb2029): Correct typos. Call gdb2029_marker.
319 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
320 for gdb2029.
321
b6db2c47
MK
3222007-03-12 Mark Kettenis <kettenis@gnu.org>
323
324 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
325 as tabs. Remove redundant test pattern.
326
70ed3737
UW
3272007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
328
329 * gdb.base/long_long.exp: Accept optional symbol name in <...>
330 for /a format output.
331
47b67b60
DJ
3322007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
333
334 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
335 collect output incrementally.
336
b8953b0e
UW
3372007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
338
339 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
340 for -var-create lpcharacter test.
341 * gdb.mi/mi2-var-cmd.exp: Likewise.
342
7acd5c40
UW
3432007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
344
345 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
346 pass on targets where address zero is readable.
347
9c6759c1
UW
3482007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
349
350 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
351 just a single architecture.
352
a2f1aeb4
UW
3532007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
354
355 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
356 (fetch_all_registers): New function, uses gdb_test_multiple and
357 exp_continue to fetch inferior output line-by-line.
358 Replace all uses of do_get_all_registers by fetch_all_registers.
359
46579ac2
UW
3602007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
361
362 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
363 in target_info.
364
fc133f24
MS
3652007-03-02 Michael Snyder <michael.snyder@palmsource.com>
366
367 * gdb.threads/manythreads.exp: Use $message string for
368 consistancy; add a default (timeout) case.
369
7646a51d
MS
3702007-03-02 Michael Snyder <michael.snyder@palmsource.com>
371
372 * gdb.base/watchpoint.exp: Fix truncated comment.
373
dcfff61f
MS
3742007-03-02 Michael Snyder <michael.snyder@palmsource.com>
375
376 * Makefile.in: Remove spurious single-quotes from sed command.
377
664e3ee9
DJ
3782007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
379
380 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
381 func.
382 * gdb.mi/mi2-var-cmd.exp: Likewise.
383
d7cc6f2f
JB
3842007-02-27 Joel Brobecker <brobecker@adacore.com>
385
386 * gdb.dwarf2/dw2-producer.S: New file.
387 * gdb.dwarf2/dw2-producer.exp: New testcase.
388
3892007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
390
391 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
392 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
393 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
394 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
395 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
396 Revert tests to use mi_gdb_test and include value field in output
397 of -var-create.
398
93d42b30
DJ
3992007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
400
401 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
402
c499ed39
DJ
4032007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
404
405 * gdb.base/maint.exp: Remove full paths from test names.
406 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
407 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
408
9836f81b
JB
4092007-02-27 Joel Brobecker <brobecker@adacore.com>
410
411 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
412
c74d0ad8
DJ
4132007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
414
415 * gdb.server/server-mon.exp: New test.
416
2711e456
DJ
4172007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
418
419 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
420
ff6f572f
DJ
4212007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
422
423 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
424 register capitalization.
425
fada3feb
DP
4262007-02-13 Denis Pilat <denis.pilat@st.com>
427
428 * gdb.mi/mi-var-invalidate.exp: New file.
429
fb1e4ffc
DJ
4302007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
431
432 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
433
3da939d7
DJ
4342007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
435
436 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
437
123dc839
DJ
4382007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
439
440 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
441 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
442
877e3645 4432007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
444
445 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
446 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
447 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
448 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
449 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 450 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222
NR
451 Update tests to include value field in output of -var-create.
452
3c0a2960
AS
4532007-02-08 Andreas Schwab <schwab@suse.de>
454
455 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
456
108546a0
DJ
4572007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
458
459 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
460 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
461
d701dcab
DP
4622007-02-02 Denis Pilat <denis.pilat@st.com>
463
464 * gdb.threads/threadapply.exp: check that frame is not changed by
465 the thread apply all command.
466
783e3e2f
AS
4672007-01-31 Andreas Schwab <schwab@suse.de>
468
6d9c3a87
AS
469 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
470
3c50d7b9
AS
471 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
472 in the dwarf sections.
473 * gdb.dwarf2/mac-fileno.S: Likewise.
474
783e3e2f
AS
475 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
476 bspstore register on ia64.
477
78ff580e
AS
4782007-01-29 Andreas Schwab <schwab@suse.de>
479
cc8e9b12
AS
480 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
481 "frame-begin" annotation.
482
78ff580e
AS
483 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
484 number of "frames-invalid" annotations.
485
704a4f78
DJ
4862007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
487
488 * gdb.base/commands.exp: Call if_commands_test.
489 (gdb_test_no_prompt, if_commands_test): New.
490
e741bf94
MK
4912007-01-28 Mark Kettenis <kettenis@gnu.org>
492
493 * gdb.threads/sigthread.c (NSIGS): Make bigger.
494
474d0ad3
AS
4952007-01-27 Andreas Schwab <schwab@suse.de>
496
497 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
498 .short/.int/.quad in the dwarf sections.
499 * gdb.dwarf2/dw2-intercu.S: Likewise.
500 * gdb.dwarf2/dw2-intermix.S: Likewise.
501
e784b426
JK
5022007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
503
504 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
505 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
506 array.
e784b426
JK
507 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
508 * gdb.base/setvar.exp: Likewise.
509
37f08e04
AS
5102007-01-26 Andreas Schwab <schwab@suse.de>
511
9a01813a
AS
512 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
513 test.
514
37f08e04
AS
515 * gdb.base/multi-forks.exp ("restart $i"): Also match
516 __kernel_syscall_via_break.
517
6e2a9270
VP
5182007-01-24 Vladimir Prus <vladimir@codesourcery.com>
519
520 * lib/mi-support.exp (mi_delete_varobj): New.
521 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
522 testcase.
523 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
524 (main): Call the above.
525 (reference_update_test, base_in_reference_test)
526 (reference_to_pointer): Delete the created varobjs.
527
e515b470
DJ
5282007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
529
530 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
531 * configure: Regenerated.
532 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
533 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
534 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
535 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
536 * lib/gdb.exp (gdb_skip_xml_test): New function.
537
08d8bcd7
DJ
5382007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
539
540 * gdb.base/sigrepeat.exp: Correct error message.
541
5422007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
543 Daniel Jacobowitz <dan@codesourcery.com>
544
545 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
546 gdb.arch/i386-gnu-cfi-asm.S: New files.
547
97c3f1f3
JK
5482007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
549
550 * lib/gdb.exp: Abort on missing `site.exp'.
551
cb1df416
DJ
5522007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
553 Daniel Jacobowitz <dan@codesourcery.com>
554
555 * gdb.base/included.c, gdb.base/included.exp,
556 gdb.base/included.h: New files.
557
35990120
DJ
5582007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
559
560 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
561 (maximize_rlimit): Reduce limits on 64-bit systems.
562
6e81a116 5632007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
564
565 From Marcus Deuling <deuling@de.ibm.com>:
566 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
567 every case.
568
6c3c41f3
NR
5692007-01-13 Nick Roberts <nickrob@snap.net.nz>
570
571 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
572 (test_path_specification): Use objdir instead of srcdir to always
573 get an absolute filename.
574
2f12c312
DJ
5752007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
576
577 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
578
81121995
VP
5792007-01-11 Vladimir Prus <vladimir@codesourcery.com>
580
581 * gdb.mi/mi-var-cp.cc (reference_update_tests):
582 Make sure the variable we're using is in scope.
583 (reference_to_pointer): Likewise.
584
4741b737
DJ
5852007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
586
587 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
588 has no debug information.
589
054410c3
DJ
5902007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
591
592 * gdb.base/annota1.exp: Remove extra send_gdb.
593
818f79f6
DJ
5942007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
595
596 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
597
f7a6bb70
DJ
5982007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
599
600 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
601
57e66780
DJ
6022007-01-08 Nick Roberts <nickrob@snap.net.nz>
603 Daniel Jacobowitz <dan@codesourcery.com>
604
605 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
606 lcharacter or linteger change. Correct duplicated test name.
607 * gdb.mi/mi2-var-cmd.exp: Likewise.
608
3d799a95
DJ
6092007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
610
611 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
612
6132007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9
JB
614
615 * gdb.base/nofield.c: New file.
616 * gdb.base/nofield.exp: New testcase.
617
eafb94e8
NR
6182007-01-05 Nick Roberts <nickrob@snap.net.nz>
619
620 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
621
622 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
623 test.
624
5e572bb4
DJ
6252007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
626
627 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
628
74a44383
DJ
6292007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
630
631 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
632 when continuing.
633
1b572db9
DJ
6342007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
635
636 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
637 Expect ".exe" extension.
638
381bc39b
DJ
6392007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
640
641 * gdb.base/charset.exp: Add explicit filename to break.
642 * gdb.base/dbx.exp: Add explicit filename to breaks.
643
2b70e4c6
DJ
6442007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
645
646 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
647 * gdb.mi/mi2-file.exp: Likewise.
648
303b6f5d
DJ
6492007-01-04 Vladimir Prus <vladimir@codesourcery.com>
650
651 Implement specification of MI tests as comments
652 in C and C++ sources.
653 * lib/mi-support.exp (mi_autotest_data): New variable.
654 (mi_autotest_source): New variable.
655 (count_newlines, mi_prepare_inline_tests)
656 (mi_get_inline_test, mi_continue_to_line)
657 (mi_run_inline_test, mi_tbreak)
658 (mi_send_resuming_command, mi_wait_for_stop): New functions.
659 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
660 Run inline tests.
661 * gdb.mi/mi-var-cp.cc: Define tests here.
662
23da0d94
VP
6632007-01-04 Vladimir Prus <vladimir@codesourcery.com>
664
665 Simplify usage of mi_continue_to.
666 * lib/mi-support.exp (mi_runto_helper): Renamed
667 from mi_runto, added new parameter 'run_or_continue'.
668 (mi_runto): Use mi_runto_helper.
669 (mi_continue_to): Accept just function name as parameter.
670 Use mi_runto_helper.
671 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
672 * gdb.mi/mi2-var-cmd.exp: Likewise.
673
f9e18282
JB
6742006-01-04 Joel Brobecker <brobecker@adacore.com>
675
676 Make this testcase a bit more realistic. The current code
677 is too simplistic, and allows the compiler to optimize out
678 some of the entities we need for this testcase.
679 * gdb.ada/null_record/bar.ads (Void_Star): New type.
680 (Do_Nothing): Add extra parameter.
681 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
682 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
683 by using a variable of type Void_Star.
684
fd678c65
JB
6852006-01-04 Joel Brobecker <brobecker@adacore.com>
686
687 * gdb.ada/catch_ex/foo.adb: New file.
688 * gdb.ada/catch_ex.exp: New testcase.
689
05cfdb42
DJ
6902007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
691
692 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
693 pass --image-base to linker.
694
2e03ee74
DJ
6952007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
696 Daniel Jacobowitz <dan@codesourcery.com>
697
698 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
699 secondary prompts.
700
0d5de010
DJ
7012007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
702
703 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
704 output. Test the types of members and member pointers.
705 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
706 gdb/2092.
707 * gdb.cp/member-ptr.exp: Search for a comment instead of a
708 statement. Enable for GCC. Update expected output for some tests
709 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
710 layout.
711 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
712 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
713 (Diamond::vget_base): New.
714 (main): Add new tests.
715 * gdb.cp/printmethod.exp: Update expected output for member functions.
716 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
717 print pEe->D::vg().
718
61a771aa
DJ
7192007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
720
721 * gdb.threads/tls.exp: Allow stops in sem_post.
722
2fa63963
DJ
7232006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
724
725 * gdb.base/annota1.exp: Allow .*printf in backtraces.
726 * gdb.base/annota3.exp: Likewise.
727 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
728 again (instead of timing out).
729 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
730 GCC bug 26475.
731 * gdb.java/jmisc.exp: Adjust to work with method signatures including
732 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
733 test from jmisc1.exp.
734 * gdb.java/jmisc1.exp: Delete.
735 * gdb.java/jprint.exp: Adjust to work with method signatures including
736 return types.
737 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
738 * gdb.threads/linux-dp.exp: Don't be confused by program output.
739 * lib/java.exp (compile_java_from_source): Pass the correct type
740 to target_compile.
741
5eefc2b7
JB
7422006-12-31 Joel Brobecker <brobecker@adacore.com>
743
744 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
745 (stack_align_edx): New function.
746 (stack_align_eax): New function.
747 (main): Add calls to stack_align_edx and stack_align_eax.
748 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
749 Add testing for the cases where the register used during a stack
750 realignment is edx. Same for eax.
751
227c54da
DJ
7522006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
753
754 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
755 and generic PE targets.
756
cab8ac94
JB
7572006-12-29 Joel Brobecker <brobecker@adacore.com>
758
759 * gdb.ada/array_return.exp: Update copyright date list.
760
ba54f318
JB
7612006-12-27 Joel Brobecker <brobecker@adacore.com>
762
763 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
764 (Create_Small_Float_Vector): New function.
765 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
766 function body.
767 * gdb.ada/array_return/p.adb: Use new type and function from
768 package Pck.
769 * gdb.ada/array_return.exp: Add a test verifying that GDB is
770 able to print the value returned by a function returning an
771 array of float.
772
6b7a35dd
JB
7732006-12-20 Joel Brobecker <brobecker@adacore.com>
774
775 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
776 The associated tests should be PASSing.
777
038224f6
VP
7782006-12-08 Vladimir Prus <vladimir@codesourcery.com>
779
780 Test for base in references.
781 * gdb.mi/mi-var-cp.cc: Add test code.
782 * gdb.mi/mi-var-cp.exp: Test for bases in references.
783 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
784 * gdb.mi/mi2-watch.exp: Likewise.
785 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
786 (mi_list_varobj_children): New function.
787
b26ed50d
VP
7882006-12-08 Vladimir Prus <vladimir@codesourcery.com>
789
790 * lib/mi-support.exp
791 (mi_runto): Accept "()" after function name.
792 (mi_create_varobj): New function.
793 (mi_varobj_update): New function.
794 (mi_Check_varobj_value): New function.
795 * gdb.mi/mi-var-cp.exp: New file.
796 * gdb.mi/mi-var-cp.cc: New file.
797
08232497
DJ
7982006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
799
800 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
801 gdb.base/weaklib2.c: New files.
802
d394c993 8032006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 804
ac6c2fba
NS
805 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
806 info. Adjust test names.
807
8ec659a0 808 * gdb.base/break.c (main): Move position of malloc.
d394c993 809 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 810
acd65feb
VP
8112006-11-28 Vladimir Prus <vladimir@codesourcery.com>
812
813 * gdb.mi/mi-var-cmd.exp: Check -var-update after
814 assignement of arrays and function pointers.
815 * gdb.mi/var-cmd.c: Add declaration necessary for above
816 tests.
817
f556d5e5
NS
8182006-11-27 Nathan Sidwell <nathan@codesourcery.com>
819
820 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
821
822 * gdb.threads/linux-dp.exp: Read thread table before and after
823 creating each philosopher and verify it.
824
697bc68d
NS
8252006-11-27 Nathan Sidwell <nathan@codesourcery.com>
826 Paul Brook <paul@codesourcery.com>
827 Daniel Jacobowitz <dan@codesourcery.com>
828
829 * gdb.base/ending-run.exp: Flatten expect script stepping out of
830 main to remove duplication. Add start function of the form
831 '_*start[1-9]*'. Add RVDS start function.
832
29d73ae4
DJ
8332006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
834
835 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
836
c1d88655
UW
8372006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
838
839 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
840 * gdb.asm/spu.inc: New file.
841 * gdb.base/term.exp: Disable if [target_info exists noargs].
842 * gdb.gdb/complaints.exp: Disable if ![isnative].
843 * gdb.gdb/selftest.exp: Likewise.
844 * gdb.gdb/observer.exp: Likewise.
845 * gdb.gdb/xfullpath.exp: Likewise.
846 * gdb.base/attach.exp: Disable on SPU target.
847 * gdb.cp/bs145503.exp: Likewise.
848 * gdb.cp/exception.exp: Likewise.
849 * gdb.cp/userdef.exp: Likewise.
850
32a13b1a
DJ
8512006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
852
853 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
854
d8295fe9
VP
8552006-11-10 Vladimir Prus <vladimir@codesourcery.com>
856
857 * gdb.base/completion.exp: Fix completion tests for
858 'info' and 'info '.
859 * gdb.base/help.exp (help_test_raw, test_class_help)
860 (test_prefix_command_help): Move...
861 * lib/gdb.exp: Here.
862 * gdb.base/main.exp: Adjust.
863 * gdb.cp/maint.exp: Adjust.
864 * gdb.trace/tracecmd.exp: Use test_help_class.
865
8c394015
VP
8662006-11-09 Vladimir Prus <vladimir@codesourcery.com>
867
868 * gdb.stabs/weird.exp (print_weird_var): Use
869 gdb_test_multiple instead of gdb_expect.
870
027fc1bc
VP
8712006-11-09 Vladimir Prus <vladimir@codesourcery.com>
872
873 * gdb.base/help.exp (help_test_raw): New.
874 (test_class_help): New.
875 (test_prefix_command_help): New.
876 Adjust testcases.
877
67609209
FR
8782006-11-09 Christophe Lyon <christophe.lyon@st.com>
879
880 * gdb.base/constvars.c (main): Write to crass and crips, so that
881 they are allocated by the compiler.
882
f73adfeb
AS
8832006-10-27 Andreas Schwab <schwab@suse.de>
884
885 * gdb.base/multi-forks.exp: Use "detach fork" instead of
886 "detach-fork".
887
2f83a18e
DJ
8882006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
889
890 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
891 of patterns.
892
94277a38
DJ
8932006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
894
895 * gdb.base/sepdebug.exp: Remove debug format test.
896 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
897 Handle no-symtab.
898 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
899
5bd2f6e2
DJ
9002006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
901
902 * gdb.threads/manythreads.c (thread_function, main): Don't cast
903 int to pointer or pointer to int.
904 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
905
8c008720
DJ
9062006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
907
908 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
909
9e35dae4
DJ
9102006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
911
912 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
913
d9639e13
DJ
9142006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
915
916 PR c++/2116
917 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
918
390a1bd0
JB
9192006-10-06 Joel Brobecker <brobecker@adacore.com>
920
921 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
922 the corresponding bug has been fixed in GDB (PR/2018).
923
dd920c33
JB
9242006-10-06 Joel Brobecker <brobecker@adacore.com>
925
926 * gdb.base/subst.exp: New testcase.
927
53bbefe9
JB
9282006-10-06 Joel Brobecker <brobecker@adacore.com>
929
930 * gdb.ada/array_return/pck.ads: Add copyright notice.
931 * gdb.ada/array_return/pck.adb: Likewise.
932 * gdb.ada/array_return/p.adb: Likewise.
933 * gdb.ada/exec_changed/first.adb: Likewise.
934 * gdb.ada/exec_changed/second.adb: Likewise.
935
09851417
JB
9362006-10-06 Joel Brobecker <brobecker@adacore.com>
937
938 * gdb.ada/watch_arg/watch.adb: New file.
939 * gdb.ada/watch_arg.exp: New testcase.
940
041bf30d
VP
9412006-10-02 Vladimir Prus <vladimir@codesourcery.com>
942
943 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
944 via string_to_regexp.
945 * gdb.mi/mi2-basics.exp: Likewise.
946
f286fbdd 9472006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
948
949 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
950 Remove unused / obsolete files.
951
7c07f349
NR
9522006-09-19 Nick Roberts <nickrob@snap.net.nz>
953
954 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
955
cd5ff84a
VP
9562006-09-17 Vladimir Prus <vladimir@codesourcery.com>
957
958 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
959 HIGH_FRAME argument to -stack-list-arguments can be larger than
960 the number of frames.
961
ae018d1a
DJ
9622006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
963
964 * gdb.base/args.c (main): Add breakpoint marker.
965 * gdb.base/args.exp: Use args_test for tests. Add new tests which
966 really test empty arguments.
967 (args_load): Delete.
968 (args_test): New.
969
b399c549
NR
9702006-09-13 Nick Roberts <nickrob@snap.net.nz>
971
972 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
973 check for one file.
974
2ab1eb7a
VP
9752006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
976
977 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
978 HIGH_FRAME argument to -stack-list-locals can be larger than
979 the number of frames.
980
476308bf
FF
9812006-08-18 Fred Fish <fnf@specifix.com>
982
983 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
984 '$' in front of skip_vmx_tests_saved when setting that.
985
8625200f
AS
9862006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
987
988 * gdb.base/trace-commands.exp: New file.
989
089ec8f1
DJ
9902006-08-10 Joel Brobecker <brobecker@adacore.com>
991 Daniel Jacobowitz <dan@codesourcery.com>
992
993 * gdb.base/step-bt.exp: Make hexadecimal address optional in
994 expected output of the backtrace commands.
995
b60f0898
JB
9962006-08-09 Joel Brobecker <brobecker@adacore.com>
997
998 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
999 untested followed by return combination.
1000 * gdb.arch/altivec-regs.exp: Likewise.
1001 * gdb.arch/e500-abi.exp: Likewise.
1002 * gdb.arch/e500-regs.exp: Likewise.
1003 * gdb.arch/gdb1291.exp: Likewise.
1004 * gdb.arch/gdb1431.exp: Likewise.
1005 * gdb.arch/gdb1558.exp: Likewise.
1006 * gdb.arch/i386-prologue.exp: Likewise.
1007 * gdb.arch/i386-unwind.exp: Likewise.
1008 * gdb.asm/asm-source.exp: Likewise.
1009 * gdb.base/a2-run.exp: Likewise.
1010 * gdb.base/advance.exp: Likewise.
1011 * gdb.base/all-bin.exp: Likewise.
1012 * gdb.base/annota1.exp: Likewise.
1013 * gdb.base/annota3.exp: Likewise.
1014 * gdb.base/args.exp: Likewise.
1015 * gdb.base/arithmet.exp: Likewise.
1016 * gdb.base/assign.exp: Likewise.
1017 * gdb.base/async.exp: Likewise.
1018 * gdb.base/attach.exp: Likewise.
1019 * gdb.base/bang.exp: Likewise.
1020 * gdb.base/bigcore.exp: Likewise.
1021 * gdb.base/bitfields.exp: Likewise.
1022 * gdb.base/bitfields2.exp: Likewise.
1023 * gdb.base/break.exp: Likewise.
1024 * gdb.base/call-sc.exp: Likewise.
1025 * gdb.base/call-strs.exp: Likewise.
1026 * gdb.base/callfuncs.exp: Likewise.
1027 * gdb.base/checkpoint.exp: Likewise.
1028 * gdb.base/chng-syms.exp: Likewise.
1029 * gdb.base/code-expr.exp: Likewise.
1030 * gdb.base/commands.exp: Likewise.
1031 * gdb.base/completion.exp: Likewise.
1032 * gdb.base/cond-expr.exp: Likewise.
1033 * gdb.base/condbreak.exp: Likewise.
1034 * gdb.base/consecutive.exp: Likewise.
1035 * gdb.base/constvars.exp: Likewise.
1036 * gdb.base/corefile.exp: Likewise.
1037 * gdb.base/cvexpr.exp: Likewise.
1038 * gdb.base/dbx.exp: Likewise.
1039 * gdb.base/define.exp: Likewise.
1040 * gdb.base/detach.exp: Likewise.
1041 * gdb.base/display.exp: Likewise.
1042 * gdb.base/dump.exp: Likewise.
1043 * gdb.base/ena-dis-br.exp: Likewise.
1044 * gdb.base/ending-run.exp: Likewise.
1045 * gdb.base/environ.exp: Likewise.
1046 * gdb.base/eval-skip.exp: Likewise.
1047 * gdb.base/exprs.exp: Likewise.
1048 * gdb.base/fileio.exp: Likewise.
1049 * gdb.base/finish.exp: Likewise.
1050 * gdb.base/float.exp: Likewise.
1051 * gdb.base/foll-exec.exp: Likewise.
1052 * gdb.base/foll-fork.exp: Likewise.
1053 * gdb.base/foll-vfork.exp: Likewise.
1054 * gdb.base/freebpcmd.exp: Likewise.
1055 * gdb.base/funcargs.exp: Likewise.
1056 * gdb.base/gcore.exp: Likewise.
1057 * gdb.base/gdb1090.exp: Likewise.
1058 * gdb.base/gdb1250.exp: Likewise.
1059 * gdb.base/huge.exp: Likewise.
1060 * gdb.base/info-proc.exp: Likewise.
1061 * gdb.base/interrupt.exp: Likewise.
1062 * gdb.base/jump.exp: Likewise.
1063 * gdb.base/langs.exp: Likewise.
1064 * gdb.base/lineinc.exp: Likewise.
1065 * gdb.base/list.exp: Likewise.
1066 * gdb.base/logical.exp: Likewise.
1067 * gdb.base/long_long.exp: Likewise.
1068 * gdb.base/macscp.exp: Likewise.
1069 * gdb.base/maint.exp: Likewise.
1070 * gdb.base/mips_pro.exp: Likewise.
1071 * gdb.base/miscexprs.exp: Likewise.
1072 * gdb.base/multi-forks.exp: Likewise.
1073 * gdb.base/opaque.exp: Likewise.
1074 * gdb.base/overlays.exp: Likewise.
1075 * gdb.base/pc-fp.exp: Likewise.
1076 * gdb.base/pointers.exp: Likewise.
1077 * gdb.base/printcmds.exp: Likewise.
1078 * gdb.base/psymtab.exp: Likewise.
1079 * gdb.base/ptype.exp: Likewise.
1080 * gdb.base/recurse.exp: Likewise.
1081 * gdb.base/relational.exp: Likewise.
1082 * gdb.base/relocate.exp: Likewise.
1083 * gdb.base/remote.exp: Likewise.
1084 * gdb.base/reread.exp: Likewise.
1085 * gdb.base/restore.exp: Likewise.
1086 * gdb.base/return.exp: Likewise.
1087 * gdb.base/return2.exp: Likewise.
1088 * gdb.base/scope.exp: Likewise.
1089 * gdb.base/sect-cmd.exp: Likewise.
1090 * gdb.base/sep.exp: Likewise.
1091 * gdb.base/sepdebug.exp: Likewise.
1092 * gdb.base/setshow.exp: Likewise.
1093 * gdb.base/setvar.exp: Likewise.
1094 * gdb.base/sigall.exp: Likewise.
1095 * gdb.base/sigbpt.exp: Likewise.
1096 * gdb.base/signals.exp: Likewise.
1097 * gdb.base/signull.exp: Likewise.
1098 * gdb.base/sizeof.exp: Likewise.
1099 * gdb.base/solib.exp: Likewise.
1100 * gdb.base/step-line.exp: Likewise.
1101 * gdb.base/step-test.exp: Likewise.
1102 * gdb.base/structs.exp: Likewise.
1103 * gdb.base/structs2.exp: Likewise.
1104 * gdb.base/term.exp: Likewise.
1105 * gdb.base/twice.exp: Likewise.
1106 * gdb.base/until.exp: Likewise.
1107 * gdb.base/varargs.exp: Likewise.
1108 * gdb.base/volatile.exp: Likewise.
1109 * gdb.base/watchpoint.exp: Likewise.
1110 * gdb.base/whatis-exp.exp: Likewise.
1111 * gdb.base/whatis.exp: Likewise.
1112 * gdb.cp/ambiguous.exp: Likewise.
1113 * gdb.cp/annota2.exp: Likewise.
1114 * gdb.cp/annota3.exp: Likewise.
1115 * gdb.cp/bool.exp: Likewise.
1116 * gdb.cp/breakpoint.exp: Likewise.
1117 * gdb.cp/casts.exp: Likewise.
1118 * gdb.cp/class2.exp: Likewise.
1119 * gdb.cp/classes.exp: Likewise.
1120 * gdb.cp/cplusfuncs.exp: Likewise.
1121 * gdb.cp/ctti.exp: Likewise.
1122 * gdb.cp/derivation.exp: Likewise.
1123 * gdb.cp/exception.exp: Likewise.
1124 * gdb.cp/gdb1355.exp: Likewise.
1125 * gdb.cp/hang.exp: Likewise.
1126 * gdb.cp/inherit.exp: Likewise.
1127 * gdb.cp/local.exp: Likewise.
1128 * gdb.cp/m-data.exp: Likewise.
1129 * gdb.cp/m-static.exp: Likewise.
1130 * gdb.cp/member-ptr.exp: Likewise.
1131 * gdb.cp/method.exp: Likewise.
1132 * gdb.cp/misc.exp: Likewise.
1133 * gdb.cp/namespace.exp: Likewise.
1134 * gdb.cp/overload.exp: Likewise.
1135 * gdb.cp/ovldbreak.exp: Likewise.
1136 * gdb.cp/pr-1023.exp: Likewise.
1137 * gdb.cp/pr-1210.exp: Likewise.
1138 * gdb.cp/pr-574.exp: Likewise.
1139 * gdb.cp/printmethod.exp: Likewise.
1140 * gdb.cp/psmang.exp: Likewise.
1141 * gdb.cp/ref-params.exp: Likewise.
1142 * gdb.cp/ref-types.exp: Likewise.
1143 * gdb.cp/rtti.exp: Likewise.
1144 * gdb.cp/templates.exp: Likewise.
1145 * gdb.cp/try_catch.exp: Likewise.
1146 * gdb.cp/userdef.exp: Likewise.
1147 * gdb.cp/virtfunc.exp: Likewise.
1148 * gdb.disasm/am33.exp: Likewise.
1149 * gdb.disasm/h8300s.exp: Likewise.
1150 * gdb.disasm/mn10300.exp: Likewise.
1151 * gdb.disasm/sh3.exp: Likewise.
1152 * gdb.disasm/t01_mov.exp: Likewise.
1153 * gdb.disasm/t02_mova.exp: Likewise.
1154 * gdb.disasm/t03_add.exp: Likewise.
1155 * gdb.disasm/t04_sub.exp: Likewise.
1156 * gdb.disasm/t05_cmp.exp: Likewise.
1157 * gdb.disasm/t06_ari2.exp: Likewise.
1158 * gdb.disasm/t07_ari3.exp: Likewise.
1159 * gdb.disasm/t08_or.exp: Likewise.
1160 * gdb.disasm/t09_xor.exp: Likewise.
1161 * gdb.disasm/t10_and.exp: Likewise.
1162 * gdb.disasm/t11_logs.exp: Likewise.
1163 * gdb.disasm/t12_bit.exp: Likewise.
1164 * gdb.disasm/t13_otr.exp: Likewise.
1165 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1166 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1167 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1168 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
1169 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
1170 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1171 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1172 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1173 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
1174 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1175 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1176 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1177 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1178 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1179 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1180 * gdb.mi/gdb701.exp: Likewise.
1181 * gdb.mi/gdb792.exp: Likewise.
1182 * gdb.mi/mi-basics.exp: Likewise.
1183 * gdb.mi/mi-break.exp: Likewise.
1184 * gdb.mi/mi-cli.exp: Likewise.
1185 * gdb.mi/mi-console.exp: Likewise.
1186 * gdb.mi/mi-disassemble.exp: Likewise.
1187 * gdb.mi/mi-eval.exp: Likewise.
1188 * gdb.mi/mi-file.exp: Likewise.
1189 * gdb.mi/mi-read-memory.exp: Likewise.
1190 * gdb.mi/mi-regs.exp: Likewise.
1191 * gdb.mi/mi-return.exp: Likewise.
1192 * gdb.mi/mi-simplerun.exp: Likewise.
1193 * gdb.mi/mi-stack.exp: Likewise.
1194 * gdb.mi/mi-stepi.exp: Likewise.
1195 * gdb.mi/mi-syn-frame.exp: Likewise.
1196 * gdb.mi/mi-until.exp: Likewise.
1197 * gdb.mi/mi-var-block.exp: Likewise.
1198 * gdb.mi/mi-var-child.exp: Likewise.
1199 * gdb.mi/mi-var-cmd.exp: Likewise.
1200 * gdb.mi/mi-var-display.exp: Likewise.
1201 * gdb.mi/mi-watch.exp: Likewise.
1202 * gdb.mi/mi2-basics.exp: Likewise.
1203 * gdb.mi/mi2-break.exp: Likewise.
1204 * gdb.mi/mi2-cli.exp: Likewise.
1205 * gdb.mi/mi2-console.exp: Likewise.
1206 * gdb.mi/mi2-disassemble.exp: Likewise.
1207 * gdb.mi/mi2-eval.exp: Likewise.
1208 * gdb.mi/mi2-file.exp: Likewise.
1209 * gdb.mi/mi2-read-memory.exp: Likewise.
1210 * gdb.mi/mi2-regs.exp: Likewise.
1211 * gdb.mi/mi2-return.exp: Likewise.
1212 * gdb.mi/mi2-simplerun.exp: Likewise.
1213 * gdb.mi/mi2-stack.exp: Likewise.
1214 * gdb.mi/mi2-stepi.exp: Likewise.
1215 * gdb.mi/mi2-syn-frame.exp: Likewise.
1216 * gdb.mi/mi2-until.exp: Likewise.
1217 * gdb.mi/mi2-var-block.exp: Likewise.
1218 * gdb.mi/mi2-var-child.exp: Likewise.
1219 * gdb.mi/mi2-var-cmd.exp: Likewise.
1220 * gdb.mi/mi2-var-display.exp: Likewise.
1221 * gdb.mi/mi2-watch.exp: Likewise.
1222 * gdb.stabs/exclfwd.exp: Likewise.
1223 * gdb.stabs/weird.exp: Likewise.
1224 * gdb.threads/gcore-thread.exp: Likewise.
1225 * gdb.trace/actions.exp: Likewise.
1226 * gdb.trace/backtrace.exp: Likewise.
1227 * gdb.trace/circ.exp: Likewise.
1228 * gdb.trace/collection.exp: Likewise.
1229 * gdb.trace/deltrace.exp: Likewise.
1230 * gdb.trace/infotrace.exp: Likewise.
1231 * gdb.trace/limits.exp: Likewise.
1232 * gdb.trace/packetlen.exp: Likewise.
1233 * gdb.trace/passc-dyn.exp: Likewise.
1234 * gdb.trace/passcount.exp: Likewise.
1235 * gdb.trace/report.exp: Likewise.
1236 * gdb.trace/save-trace.exp: Likewise.
1237 * gdb.trace/tfind.exp: Likewise.
1238 * gdb.trace/tracecmd.exp: Likewise.
1239 * gdb.trace/while-dyn.exp: Likewise.
1240 * gdb.trace/while-stepping.exp: Likewise.
1241
f4b618d1
JB
12422006-08-08 Joel Brobecker <brobecker@adacore.com>
1243
1244 * gdb.base/step-bt.c: New file.
1245 * gdb.base/step-bt.exp: New testcase.
1246
3d00d119
DJ
12472006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
1248
1249 * config/monitor.exp (gdb_load): Remove support for obsolete
1250 download-write-size.
1251 * gdb.base/remote.exp: Likewise. Update all callers of
1252 gdb_timed_load.
1253
017b5bd4
DJ
12542006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
1255
1256 * cursal.exp: Pass binfile to gdb_load.
1257
837c599d
DJ
12582006-08-01 Nathan Sidwell <nathan@codesourcery.com>
1259
1260 * gdb.base/cursal.exp: Add "" to gdb_load call.
1261
8dd4540b
MK
12622006-07-29 Mark Kettenis <kettenis@gnu.org>
1263
1264 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
1265 NetBSD/ELF targets.
1266
ab5c9f60
DJ
12672006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
1268
1269 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
1270 operator*.
1271
4c42eaff
DJ
12722006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
1273
1274 * gdb.base/completion.exp: Update for change in "file" behavior.
1275 * gdb.stabs/weird.exp: Likewise.
1276 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
1277 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
1278
0155cc76
NS
12792006-07-24 Nathan Sidwell <nathan@codesourcery.com>
1280
1281 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
1282 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
1283
16026cd7
AS
12842006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
1285
1286 * gdb.base/default.exp: Update source command error message.
1287 * gdb.base/help.exp: Update 'help source' message.
1288
16963cb6
DJ
12892006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
1290
1291 * gdb.cp/bs15503.exp: Update comment for no longer crashing
1292 test.
1293
6d7fd486
AS
12942006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
1295
1296 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
1297
29e8a844
DJ
12982006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
1299
1300 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
1301
6afcfa39
DJ
13022006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
1303
1304 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
1305
267a692b
MK
13062006-07-17 Mark Kettenis <kettenis@gnu.org>
1307
1308 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
1309 *-*-openbsd* from targets for wich we expect ARM FPA floating
1310 point format.
1311
85d2fec4
NR
13122006-07-17 Nick Roberts <nickrob@snap.net.nz>
1313
1314 * gdb.cp/annota3.exp: Expect frame-begin annotation.
1315
13162006-07-17 Mark Kettenis <kettenis@gnu.org>
1317
1318 * gdb.base/annota3.exp: Expect frame-begin annotation.
1319
85b4c6e8
JB
13202006-07-14 Joel Brobecker <brobecker@adacore.com>
1321
1322 * gdb.base/help.exp: Adjust "help unset" test to accept
1323 any list of unset commands.
1324
fb933624
DJ
13252006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
1326 Daniel Jacobowitz <dan@codesourcery.com>
1327
1328 * gdb.cp/ref-params.exp: New test.
1329 * gdb.cp/ref-params.cc: New source file.
1330 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
1331
1dff4b64
MK
13322006-07-08 Mark Kettenis <kettenis@gnu.org>
1333
1334 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
1335 spaces/tabs in regular expressions since they might not be there.
1336
40d2e0e3
AS
13372006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
1338
1339 * gdb.base/ifelse.exp: New file.
1340
f6c957d2
NS
13412006-07-04 Nathan Sidwell <nathan@codesourcery.com>
1342
1343 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
1344 line.
1345 * gdb.base/huge.exp: Loop over compilation to find a size that
1346 is acceptable.
1347 * gdb.base/remote.exp: Correct expected strings.
1348 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
1349
b9c5a23d
DJ
13502006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1351
1352 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
1353
9af2e58d
DJ
13542006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1355
1356 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
1357 native.
1358
30930ca5
DJ
13592006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1360
1361 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
1362 enable stabs testing.
1363
aa32fa1d
DJ
13642006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1365
bd4a4c80 1366 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
1367 gdb_test_multiple does.
1368
321fef15
DJ
13692006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1370
1371 * Makefile.in (host_alias): Remove.
1372 (target_alias): Use @target_noncanonical@.
1373 (site.exp): Don't set host_alias.
1374 * aclocal.m4: Remove contents. Include acx.m4.
1375 * configure: Regenerated.
1376 * configure.ac: Use ACX_NONCANONICAL_TARGET.
1377
e1c2defa
NS
13782006-06-13 Nathan Sidwell <nathan@codesourcery.com>
1379
e63b55d1
NS
1380 * lib/gdb.exp (gdb_load_cmd): New.
1381
5600ea19
NS
1382 * gdb.base/fileio.c: Add system(NULL) test.
1383 * gdb.base/fileio.exp: Check it.
1384
e1c2defa
NS
1385 * gdb.base/break.c: Add 10a breakpoint at }
1386 * gdb.base/break.exp: Add test for breakpoint at }
1387 * gdb.cp/anon-union.cc: Add code at end of function.
1388 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
1389 * gdb.mi/var-cmd.c: Add code at end of function.
1390 * gdb.mi/mi-var-display.exp: Adjust end of next.
1391 * gdb.mi/mi2-var-display.exp: Likewise.
1392 * gdb.base/fileio.c: Add stop function and insert calls at
1393 stopping places.
1394 * gdb.base/fileio.exp: Breakpoint stop function and remove
1395 explicit line number references.
1396
6c0112ec
JB
13972006-05-19 Joel Brobecker <brobecker@adacore.com>
1398
1399 * gdb.base/del.exp (test_delete_alias): New function.
1400 Now check that both "del" and "d" work as aliases for "delete".
1401
154189a4
FF
14022006-05-18 Fred Fish <fnf@specifix.com>
1403
1404 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
1405 required. Check for spurious output after program exits normally.
1406
582e64c2
FF
14072006-05-17 Fred Fish <fnf@specifix.com>
1408
1409 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
1410 gdb_load, so it works in the simulator.
1411
8ef6493a
FF
14122006-05-11 Fred Fish <fnf@specifix.com>
1413
1414 * gdb.base/bang.exp: Ignore unexpected output between the
1415 "program exited normally" and the gdb prompt, as many other
1416 tests do.
1417
692b141c
MK
14182006-05-07 Mark Kettenis <kettenis@gnu.org>
1419
1420 * gdb.base/help.exp: Make "delete checkpoint" part option for
1421 "help d" and "help delete" tests.
1422
540b8a30
UW
14232006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1424
1425 * gdb.mi/mi-basics.exp: Add missing serial number to
1426 expected output in some mi_gdb_test statements.
1427 * gdb.mi/mi2-basics.exp: Likewise.
1428
9b6462d9
JB
14292006-05-05 Joel Brobecker <brobecker@adacore.com>
1430
1431 * gdb.base/del.c: New file.
1432 * gdb.base/del.exp: New testcase.
1433
954de43b
DM
14342006-05-05 David S. Miller <davem@sunset.davemloft.net>
1435
1436 * gdb.base/break.exp: Do not assume a breakpoint on
1437 main will actually be in $srcfile when optimizing.
1303f75e
DM
1438 * gdb.base/savedregs.exp: Do not require that the dummy
1439 frame location match up to a symbol and source file location.
c3242428
DM
1440 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
1441 will get printed without a mi_cmd_data_list_register_values prefix.
1442 (*-data-list-register-*): Correct regular expressions to expect the new
1443 pseudo d? floating point registers.
1444 * gdb.mi/mi2-regs.exp: Likewise.
1445
c7e64c9a
DJ
14462006-05-05 Christophe Lyon <christophe.lyon@st.com>
1447
1448 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
1449 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
1450 is allocated by the compiler.
1451 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
1452 anons, e, anone to force their allocation by the compiler.
1453
14542006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
1455
1456 * gdb.base/help.exp: Update expected text for help d and
1457 help delete.
1458
27ce9a6d
MK
14592006-05-02 Mark Kettenis <kettenis@gnu.org>
1460
1461 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
1462 NetBSD/ELF targets.
1463
8608915f
MK
14642006-04-30 Mark Kettenis <kettenis@gnu.org>
1465
1466 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
1467 single-step breakpoint fails; make this a KFAIL on
1468 sparc*-*-openbsd*.
1469 * gdb.base/siginfo.exp: Likewise.
1470 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1471
b8db102d
MS
14722006-04-26 Michael Snyder <msnyder@redhat.com>
1473
1474 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
1475 which may have to consume output from other forks.
1476 Add tests to make sure that "delete fork" succeeded.
1477
c702009a
MS
14782006-04-20 Michael Snyder <msnyder@redhat.com>
1479
1480 * 2006-03-22 Jim Blandy <jimb@redhat.com>
1481 Add support for the Renesas M32C and M16C.
1482
1483 * gdb.asm/asm-source.exp: Add m32c target.
1484 * gdb.asm/m32c.inc: Support for m32c target.
1485
e28493f2
AS
14862006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
1487
1488 * gdb.base/commands.exp (recursive_source_test): New test.
1489
880da185
DM
14902006-04-04 David S. Miller <davem@sunset.davemloft.net>
1491
1492 * gdb.base/float.exp: Add pattern for sparc targets.
1493
61d9b92f
DJ
14942006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1495
1496 * gdb.base/commands.exp (stray_arg0_test): New test.
1497
bd717df8
PB
14982006-03-30 Paul Brook <paul@codesourcery.com>
1499
1500 * gdb.mi/mi-until.exp: kfail broken until command.
1501 * gdb.mi/mi2-until.exp: Ditto.
1502
ec793d3c
NR
15032006-03-27 Nick Roberts <nickrob@snap.net.nz>
1504
1505 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
1506
831004b7
AO
15072006-03-08 Alexandre Oliva <aoliva@redhat.com>
1508
1509 * gdb.base/prelink.exp: Anchor tested-for regular expression
1510 on gdb prompt.
1511
effe49a0
PB
15122006-03-07 Paul Brook <paul@codesourcery.com>
1513
1514 * gdb.base/assign.exp: Correct fail message.
1515
e5461016
PB
15162006-03-07 Paul Brook <paul@codesourcery.com>
1517
1518 * lib/compiler.c: Extract armcc version number.
1519 * lib/compiler.cc: Ditto.
1520
fc91c6c2
PB
15212006-03-07 Paul Brook <paul@codesourcery.com>
1522
1523 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
1524 additional_flags=-w.
1525 * gdb.arch/altivec-regs.exp: Ditto.
1526 * gdb.arch/e500-abi.exp: Ditto.
1527 * gdb.arch/e500-regs.exp: Ditto.
1528 * gdb.base/all-bin.exp: Ditto.
1529 * gdb.base/annota1.exp: Ditto.
1530 * gdb.base/annota3.exp: Ditto.
1531 * gdb.base/args.exp: Ditto.
1532 * gdb.base/arithmet.exp: Ditto.
1533 * gdb.base/assign.exp: Ditto.
1534 * gdb.base/async.exp: Ditto.
1535 * gdb.base/bang.exp: Ditto.
1536 * gdb.base/break.exp: Ditto.
1537 * gdb.base/call-rt-st.exp: Ditto.
1538 * gdb.base/completion.exp: Ditto.
1539 * gdb.base/cond-expr.exp: Ditto.
1540 * gdb.base/condbreak.exp: Ditto.
1541 * gdb.base/consecutive.exp: Ditto.
1542 * gdb.base/define.exp: Ditto.
1543 * gdb.base/display.exp: Ditto.
1544 * gdb.base/ena-dis-br.exp: Ditto.
1545 * gdb.base/environ.exp: Ditto.
1546 * gdb.base/eval-skip.exp: Ditto.
1547 * gdb.base/info-proc.exp: Ditto.
1548 * gdb.base/jump.exp: Ditto.
1549 * gdb.base/logical.exp: Ditto.
1550 * gdb.base/long_long.exp: Ditto.
1551 * gdb.base/maint.exp: Ditto.
1552 * gdb.base/miscexprs.exp: Ditto.
1553 * gdb.base/pc-fp.exp: Ditto.
1554 * gdb.base/pointers.exp: Ditto.
1555 * gdb.base/relational.exp: Ditto.
1556 * gdb.base/reread.exp: Ditto.
1557 * gdb.base/sect-cmd.exp: Ditto.
1558 * gdb.base/sep.exp: Ditto.
1559 * gdb.base/sepdebug.exp: Ditto.
1560 * gdb.base/until.exp: Ditto.
1561 * gdb.base/whatis-exp.exp: Ditto.
1562 * gdb.cp/annota2.exp: Ditto.
1563 * gdb.cp/annota3.exp: Ditto.
1564 * gdb.trace/actions.exp: Ditto.
1565 * gdb.trace/backtrace.exp: Ditto.
1566 * gdb.trace/circ.exp: Ditto.
1567 * gdb.trace/collection.exp: Ditto.
1568 * gdb.trace/deltrace.exp: Ditto.
1569 * gdb.trace/infotrace.exp: Ditto.
1570 * gdb.trace/limits.exp: Ditto.
1571 * gdb.trace/packetlen.exp: Ditto.
1572 * gdb.trace/passc-dyn.exp: Ditto.
1573 * gdb.trace/passcount.exp: Ditto.
1574 * gdb.trace/report.exp: Ditto.
1575 * gdb.trace/save-trace.exp: Ditto.
1576 * gdb.trace/tfind.exp: Ditto.
1577 * gdb.trace/tracecmd.exp: Ditto.
1578 * gdb.trace/while-dyn.exp: Ditto.
1579 * gdb.trace/while-stepping.exp: Ditto.
1580 * lib/gdb.exp: Ditto.
1581 (gdb_compile): Handle nowarning option.
1582
5f4a23d9
AO
15832006-03-07 Alexandre Oliva <aoliva@redhat.com>
1584
1585 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
1586 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
1587 Rename executable to prelinkt. Don't re-prelink if we didn't
1588 get a core file. Test prelink -u exit status to tell whether
1589 prelinking failed. Use gdb_test_multiple.
1590
9733fc94
DJ
15912006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
1592
1593 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
1594 (do_tests): Call it.
1595
cc10cae3
AO
15962006-02-28 Alexandre Oliva <aoliva@redhat.com>
1597
1598 * gdb.base/prelink.exp: New test.
1599 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
1600
15c46491
WZ
16012006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
1602
1603 * gdb.fortran/derived-type.f90: New file.
1604 * gdb.fortran/derived-type.exp: New testcase.
1605
5c9f7ded
DJ
16062006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
1607
1608 * gdb.base/default.exp: Allow ';' as a directory separator.
1609
5b96932b
AS
16102006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
1611
1612 * gdb.base/help.exp (help add-symbol-file): Update.
1613
1986bccd
AS
16142006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
1615
1616 * gdb.base/help.exp (help load): Update expected results.
1617
a8b7528f
FF
16182006-02-19 Fred Fish <fnf@specifix.com>
1619
1620 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
1621 specifix hex value as part of results.
1622 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
1623
f8261448
FF
16242006-02-16 Fred Fish <fnf@specifix.com>
1625
1626 * gdb.base/whatis.c: Define variables using typedefs char_addr,
1627 ushort_addr, and slong_addr, so the typedefs are not optimized
1628 away.
1629 * gdb.base/whatis.exp: Add tests using type name for struct type,
1630 union type, enum type, and typedef.
1631
31d8bdd2
MK
16322006-02-13 Mark Kettenis <kettenis@gnu.org>
1633
1634 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
1635
34e41e63
JB
16362006-02-13 Jim Blandy <jimb@redhat.com>
1637
1638 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
1639 case where it takes two "next" commands to skip past the init
1640 call.
1641
ac6e4f31
FF
16422006-02-12 Fred Fish <fnf@specifix.com>
1643
1644 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
1645 to handle cases where it takes two "next" commands to skip
1646 past the init call.
1647
2db2d571
JB
16482006-02-07 Joel Brobecker <brobecker@adacore.com>
1649
1650 * gdb.ada/array_return.exp: Mark the last test as expected to fail
1651 on hppa32 targets.
1652
38fcd64c
DJ
16532006-02-06 Vladimir Prus <ghost@cs.msu.su>
1654
1655 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
1656 field.
1657
1315ad46
MK
16582006-01-29 Mark Kettenis <kettenis@gnu.org>
1659
1660 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
1661
5625b943
DJ
16622006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
1663
1664 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
1665 files.
1666
80df1bbe
DJ
16672006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1668
1669 * gdb.cp/maint.exp: Set complaints to a positive value.
1670
9078e690
DJ
16712006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
1672
1673 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
1674 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
1675 function name.
1676
9c903399
DJ
16772006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
1678
1679 * gdb.base/checkpoint.c: Update copyright notice. Include
1680 <stdlib.h>.
1681
761ae4d6
JB
16822006-01-04 Jim Blandy <jimb@redhat.com>
1683
1684 * gdb.asm/asm-source.exp: Independently provide default values for
1685 asm-flags and debug-flags. Use 'string equal' to do the
1686 comparison, not the implicit expr's '==' operator. Remove
1687 now-unneeded assignments to asm-flags. In h8300 case, place
1688 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
1689
099ac3dd
MS
16902006-01-04 Michael Snyder <msnyder@redhat.com>
1691
1692 * gdb.base/checkpoint.c: New file.
1693 * gdb.base/checkpoint.exp: New file.
1694 * gdb.base/multi-fork.c: New file.
1695 * gdb.base/multi-fork.exp: New file.
1696 * gdb.base/pi.txt: New file (data for checkpoint.c test).
1697
f4d85314
FF
16982006-01-04 Fred Fish <fnf@specifix.com>
1699
1700 * gdb.base/ptype.c (foo): Add typedef.
1701 (intfoo): Add function.
1702 * gdb.base/ptype1.c: New file.
1703 * gdb.base/ptype.exp: Handle compilation and linking with two
1704 source files. Test that proper type for "foo" is found based
1705 on source context rather than first match found in symtabs.
1706
a1b06f35
MK
17072005-12-28 Mark Kettenis <kettenis@gnu.org>
1708
1709 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
1710 * gdb.asm/openbsd.inc: Indent commands.
1711
d082a1e2
MK
17122005-12-26 Mark Kettenis <kettenis@gnu.org>
1713
c65016bd
MK
1714 * gdb.base/freebpcmd.exp: Increase timeout.
1715
d082a1e2
MK
1716 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
1717
d3c32a0e
DJ
17182005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
1719
1720 * gdb.base/default.exp: Update check for "show version".
1721
9fdb1f50
RC
17222005-12-09 Randolph Chung <tausq@debian.org>
1723
1724 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
1725 * gdb.asm/pa64.inc: New file.
1726
5f2c56f7
RC
17272005-12-09 Randolph Chung <tausq@debian.org>
1728
1729 * gdb.asm/common.inc: Indent commands.
1730 * gdb.asm/asmsrc1.s: Likewise.
1731 * gdb.asm/asmsrc2.s: Likewise.
1732
8117349c
RC
17332005-12-09 Randolph Chung <tausq@debian.org>
1734
1735 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
1736 (get_addr_of_sym): Remove duplicate print.
1737 (gen_core): xfail hppa*-*-hpux*, update expected output.
1738 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
1739 * gdb.arch/pa64-nullify.s: New file.
1740
8f07f25a
RC
17412005-12-09 Randolph Chung <tausq@debian.org>
1742
1743 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
1744
55b39184
DJ
17452005-12-07 Christophe Lyon <christophe.lyon@st.com>
1746
1747 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
1748 code generation for these functions.
1749 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
1750 error message.
1751
31e2b00f
AS
17522005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
1753
1754 * gdb.base/help.exp (help b, help br, help bre, help brea)
1755 (help break): Update the expected message.
1756
c3d0b56e
SC
17572005-11-11 Stephane Carrez <stcarrez@nerim.fr>
1758
1759 * gdb.asm/m68hc11.inc: Setup the data section.
1760 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
1761 script for this test.
1762 (m6812-*-*): Likewise.
1763
36ae0ea9
RC
17642005-11-09 Randolph Chung <tausq@debian.org>
1765
1766 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
1767
9d6f42e9
WZ
17682005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
1769
1770 * gdb.base/break.exp: Fix a comment typo.
1771
e2126a14
EZ
17722005-11-03 Jim Blandy <jimb@redhat.com>
1773
1774 Checked in by Elena Zannoni <ezannoni@redhat.com>
1775
1776 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
1777
e0ac7199
CV
17782005-11-02 Corinna Vinschen <vinschen@redhat.com>
1779
1780 * gdb.arch/gdb1558.c: Include stdio.h.
1781
31d3fb18
MK
17822005-10-31 Mark Kettenis <kettenis@gnu.org>
1783
1784 * gdb.asm/asm-source.exp: Use -e instead of --entry.
1785
e52b687c
MK
17862005-10-31 Mark Kettenis <kettenis@gnu.org>
1787
1788 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
1789
f4711d79
PG
17902005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
1791
1792 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
1793 vscr" tests to better match output.
1794
987a9106
JB
17952005-10-12 Jim Blandy <jimb@redhat.com>
1796
1797 * gdb.base/structs.exp (any): New function.
1798 (test_struct_returns): Don't make any assumptions at all about
1799 what value the function returns when GDB can't set the return
1800 value.
1801
2336bb58
JB
18022005-10-09 Joel Brobecker <brobecker@adacore.com>
1803
1804 * gdb.ada/arrayidx/p.adb: New file.
1805 * gdb.ada/arrayidx.exp: New testcase
1806
18072005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
1808
1809 * gdb.ada/array_return/pck.ads: New file.
1810 * gdb.ada/array_return/pck.adb: New file.
1811 * gdb.ada/array_return/p.adb: New file.
1812 * gdb.ada/array_return.exp: New testcase.
1813
705335ea
JB
18142005-10-03 Joel Brobecker <brobecker@adacore.com>
1815
1816 * gdb.base/arrayidx.c: New file.
1817 * gdb.base/arrayidx.exp: New testcase.
1818
11ee9940
NR
18192005-09-29 Nick Roberts <nickrob@snap.net.nz>
1820
1821 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
1822 frames-invalid and breakpoints-invalid are no longer generated
1823 with level 3 so don't expect them in the output.
1824
39fb8e9e
BR
18252005-09-27 Bob Rossi <bob@brasko.net>
1826
1827 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
1828 from test. Escape the | in mi_gdb_test call.
1829 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
1830 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
1831 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
1832 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
1833 expected regex's in mi_gdb_test calls.
1834 * lib/mi-support.exp: Remove arbitrary .* from tests.
1835 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
1836 Fully anchor GDB/MI expected results in mi_gdb_test.
1837 * lib/gdb.exp (string_to_regexp): Escape the ] character.
1838 * gdb.base/sizeof.exp: Remove escape character. Correct test.
1839
2af48f68
PB
18402005-09-26 Paul Brook <paul@codesourcery.com>
1841
1842 * long_long.exp: Exclude eabi targets from arm FPA float format test.
1843
f34502bc
WZ
18442005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
1845
1846 * bfp-test.c: New file.
1847 * bfp-test.exp: New testcase.
1848
ca929517
WZ
18492005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
1850
1851 * gdb.fortran/subarray.exp: New testcase to test the evaluation
1852 of subarray and substring variable.
1853 * gdb.fortran/subarray.f: New source file for the test of subarray
1854 and substring variable evaluation.
1855 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
1856 of string constant.
1857
c761af65
DJ
18582005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
1859
1860 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
1861 copyright dates.
1862
561d7a1d
PG
18632005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
1864
1865 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
1866 powerpc altivec' test with an almost identical 'info vector' test.
1867
b2b64cc9
PG
18682005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
1869
1870 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
1871 vscr" tests to match output.
1872
6ac4d15a
PG
18732005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
1874
1875 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
1876 output.
1877
40e55bef
BR
18782005-09-11 Bob Rossi <bob@brasko.net>
1879
1880 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
1881 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
1882 commands that return an MI output command and an asyncronous MI output
1883 command.
1884 * gdb.mi/mi-console.exp: Ditto.
1885
3c7385ec
BR
18862005-09-11 Bob Rossi <bob@brasko.net>
1887
1888 * gdb.mi/mi-var-child.c: Include <string.h>.
1889
a6cd0eb3
DJ
18902005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
1891
1892 * killed.exp: Correct gdb_expect syntax.
1893
2f168eed
CV
18942005-08-09 Corinna Vinschen <vinschen@redhat.com>
1895
1896 * lib/mi-support.exp (mi_gdb_load): Fix typo.
1897
ecd3fd0f
BR
18982005-08-02 Bob Rossi <bob@brasko.net>
1899
1900 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
1901 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
1902 Change tests to inferior-tty-set/show.
1903 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
1904 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
1905 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
1906 inferior. Use mi_gdb_test to get GDB and Inferior output.
1907 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
1908 descriptor.
1909 (mi_inferior_tty_name): Add inferior PTY file name.
1910 (mi_gdb_start): Add INFERIOR_PTY parameter.
1911 (mi_gdb_test): Add IPATTERN parameter.
1912
f1ea48cb
BR
19132005-08-02 Bob Rossi <bob@brasko.net>
1914
1915 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
1916 parameter to mi_gdb_test.
1917 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
1918
6e650a67
DJ
19192005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
1920
1921 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
1922 struct_declarations.
1923 * gdb.mi/mi-var-child.exp: Step over the initialization of
1924 struct_declarations.
1925
8be260b6
DJ
19262005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
1927
1928 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
1929 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
1930 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
1931 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
1932 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
1933 file.
1934
4e660f07
NR
19352005-07-27 Nick Roberts <nickrob@snap.net.nz>
1936
1937 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
1938 (do_children_tests): Assign values to the extra elements.
1939
1940 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
1941 them for tests for "-var-update --no-values" and
1942 "-var-update --all-values".
1943 Add test for "-var-list-children --simple-values".
1944
1945 * gdb.mi/basics.c (callee4): Add integer array D[3]...
1946
1947 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
1948 "-stack-list-locals --simple-values" Improve doc strings and
1949 comments.
1950
6bdae935
MK
19512005-07-18 Mark Kettenis <kettenis@gnu.org>
1952
598b7a6f
MK
1953 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
1954 *-*-openbsd*.
1955 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
1956
6bdae935
MK
1957 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
1958 sigaltsatck'.
1959
1323e929
BR
19602005-07-14 Bob Rossi <bob@brasko.net>
1961
1962 * gdb.base/default.exp (tty): Changed output of command.
1963 * gdb.base/help.exp (help tty): Ditto.
1964
b1a9c082
MK
19652005-07-12 Mark Kettenis <kettenis@gnu.org>
1966
1967 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
1968
10a844a2
MK
19692005-07-10 Mark Kettenis <kettenis@gnu.org>
1970
1971 * gdb.mi/mi2-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
3cb3b8df
BR
19762005-07-06 Bob Rossi <bob@brasko.net>
1977
1978 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
1979 command.
1980 (Copyright): Update copyright.
1981
a0c5fbcf
WZ
19822005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
1983
1984 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
1985 tests to evaluate exponentiation expression.
1986
984971d0
AS
19872005-06-29 Andreas Schwab <schwab@suse.de>
1988
1989 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
1990 main to avoid warnings.
1991
1992 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
1993
fe03833f
NR
19942005-06-20 Nick Roberts <nickrob@snap.net.nz>
1995
1996 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
1997 -stack-select-frame without arguments.
1998 (test_stack_frame_listing): Add test for newly implemented command
1999 -stack-info-frame.
2000
7a55f279
WZ
20012005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
2002
0ffa0ea5
DJ
2003 * gdb.fortran/array-element.f: New file.
2004 * gdb.fortran/array-element.exp: New testcase.
7a55f279 2005
26585198
DJ
20062005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
2007
2008 * gdb.base/bigcore.exp: Correct checks for systems which can
2009 not dump a large core file.
2010
c1bd25fd
DJ
20112005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
2012
2013 * gdb.base/relocate.c: Add a copyright notice.
2014 (dummy): Remove.
2015 * gdb.base/relocate.exp: Test printing the values of variables
2016 from a relocatable file.
2017
589e074d
DJ
20182005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
2019
2020 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
2021 excess MI output after an error.
2022
0915f927
JB
20232005-05-29 Joel Brobecker <brobecker@adacore.com>
2024
2025 * gdb.arch/alpha-step.c: New file.
2026 * gdb.arch/alpha-step.exp: New testcase.
2027
76ff342d
DJ
20282005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
2029 Dennis Brueni <dennis@slickedit.com>
2030
2031 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
2032 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
2033 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
2034 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
2035 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
2036 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
2037 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
2038
96b0c7ac
DJ
20392005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
2040 Wu Zhou <woodzltc@cn.ibm.com>
2041
2042 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
2043 IBM's xlc compiler.
2044 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
2045 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
2046
f21565d2
JB
20472005-05-13 Jim Blandy <jimb@redhat.com>
2048
2049 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
2050 calling gdb_suppress_entire_file.
2051 * gdb.base/charset.exp: Same.
2052 * gdb.base/call-rt-st.exp: Same.
2053
6006a3a1
BR
20542005-05-05 Bob Rossi <bob_rossi@cox.net>
2055
2056 * lib/gdb.exp (fullname_syntax): Added global regex.
2057 (fullname_syntax_POSIX): Ditto.
2058 (fullname_syntax_UNC): Ditto.
2059 (fullname_syntax_DOS_CASE): Ditto.
2060 (fullname_syntax_DOS): Ditto.
2061 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
2062 fullname_syntax variable to scope and use it.
2063 (test_file_list_exec_source_files): Ditto.
2064 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
2065
c3b69c04
DJ
20662005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
2067
2068 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
2069
3c95e6af
PG
20702004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
2071
2072 * lib/gdb.exp (skip_altivec_tests): New function, based on
2073 check_vmx_hw_available from the GCC testsuite.
2074 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
2075 * lib/gdb.arch/altivec-regs.exp: Likewise.
2076
78df6c56
JB
20772005-05-02 Jim Blandy <jimb@redhat.com>
2078
2079 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
2080 calling gdb_suppress_entire_file.
2081
1690f9cf
DJ
20822005-04-30 Randolph Chung <tausq@debian.org>
2083
2084 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
2085 Slightly relax "sem_post" name checking.
2086
5ea106f7
PG
20872005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
2088
2089 * gdb.base/unload.exp: Use new shared library infrastructure.
2090
bf7234cf
PG
20912005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
2092
2093 * gdb.base/so-impl-ld.exp: Use new shared library
2094 infrastructure.
2095
547b869a
CV
20962005-04-29 Corinna Vinschen <vinschen@redhat.com>
2097
2098 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
2099 * gdb.asm/h8300.inc: New file.
2100
f07e55f0
PG
21012005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
2102
2103 * gdb.base/shlib-call.exp: Change to use new shared library
2104 infrastructure.
2105
3cbba3d1
PG
21062005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
2107
2108 * gdb.base/pending.exp: Change to use new shared library
2109 infrastructure.
2110
ed6df200
PG
21112005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
2112
2113 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
2114 use test_compiler_info instead of gcc_compiled, and update copyright.
2115
8c8f4ebe
PG
21162005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
2117
2118 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
2119 shared objects being adjusted and update copyright years.
2120
607fbc54
DJ
21212005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
2122
2123 * ChangeLog: Correct some 2003-01-13 dates.
2124 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
2125 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
2126 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
2127 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
2128 gdb.trace/tfind.exp: Update copyright years.
2129
57bf0e56
DJ
21302005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
2131 Daniel Jacobowitz <dan@codesourcery.com>
2132
2133 * lib/gdb.exp (gdb_compile): Handle shlib=.
2134 (gdb_compile_shlib): New function.
2135
9b593790
PG
21362005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
2137
2138 * lib/gdb.exp (test_compiler_info): Give argument a default value.
2139
9494c6a5
DJ
21402005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
2141
2142 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
2143 gdb.server.
2144 * configure.ac: Likewise.
2145 * configure: Regenerated.
2146 * gdb.gdbserver/Makefile.in: Moved to...
2147 * gdb.server/Makefile.in: ... here.
2148 * gdb.gdbserver/server.c: Moved to...
2149 * gdb.server/server.c: ... here.
2150 * gdb.gdbserver/server-run.exp: Moved to...
2151 * gdb.server/server-run.exp: ... here.
2152
6f8eac0e
DJ
21532005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
2154
2155 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
2156 * configure.ac: Create gdb.gdbserver/Makefile.
2157 * configure: Regenerated.
2158 * lib/gdbserver-support.exp: New file, derived from
2159 config/gdbserver.exp.
2160 * config/gdbserver.exp: Use gdbserver-support.exp.
2161 * gdb.gdbserver/Makefile.in: New file.
2162 * gdb.gdbserver/server.c: New file.
2163 * gdb.gdbserver/server-run.exp: New file.
2164
6e87504d
PG
21652005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
2166
2167 * lib/gdb.exp (test_compiler_info): Return compiler_info
2168 if no arguments are given.
2169
d1779be4
PG
21702005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
2171
2172 * gdb.arch/altivec-abi.exp: Check for compiler and set
2173 use altivec' flag accordingly.
2174 * gdb.arch/altivec-regs.exp: Likewise.
2175
88750304
DJ
21762005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2177
2178 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
2179
f3fb768d
AS
21802005-03-27 Andreas Schwab <schwab@suse.de>
2181
2182 * gdb.base/bigcore.c (main): Add missing mode argument in open
2183 call.
2184
7e813ac5
DJ
21852005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
2186
2187 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
2188 downloads.
2189 * config/gdbserver.exp (gdb_load): Likewise.
2190
8e3049aa
PB
21912005-03-14 Paul Brook <paul@codesourcery.com>
2192
2193 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
2194 targets.
2195
a9df7c44
JB
21962005-03-09 Joel Brobecker <brobecker@adacore.com>
2197
2198 * gdb.dwarf2/dup-psym.S: New file.
2199 * gdb.dwarf2/dup-psym.exp: New testcase.
2200
9f0d94e8
JB
22012005-03-09 Joel Brobecker <brobecker@adacore.com>
2202
2203 * gdb.ada/exec_changed/first.adb: New file.
2204 * gdb.ada/exec_changed/second.adb: New file.
2205 * gdb.ada/exec_changed.exp: New testcase.
2206
5f579bc5
NS
22072005-03-08 Nathan Sidwell <nathan@codesourcery.com>
2208
36e9969c
NS
2209 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
2210 (A2): New class.
2211 (main): Test operator+.
2212 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
2213 breakpoint test.
2214
5f579bc5
NS
2215 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
2216 * gdb.base/signull.exp: Disable if gdb,nosignals.
2217 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
2218 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
2219 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
2220 * gdb.mi/mi2-console.exp: Likewise.
2221 * gdb.trace/collection.exp (run_trace_experiment): Consume the
2222 continue output at start.
2223 (gdb_collect_locals_test): Robustify regexp.
2224 * gdb.trace/passc-dyn.exp: Fix comment typo.
2225 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
2226
be46087e
CV
22272005-03-08 Corinna Vinschen <vinschen@redhat.com>
2228
2229 * gdb.asm/asm-source.exp: Add iq2000 case.
2230 * gdb.asm/iq2000.inc: New file.
2231
384e1a61
MI
22322005-03-07 Manoj Iyer <manjo@austin.ibm.com>
2233
2234 * gdb.base/command.exp: Change hardcoded value to regular expression.
2235 * gdb.base/float.exp: Add powerpc to the list of targets checked.
2236
584b6e9e
DJ
22372005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
2238
2239 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
2240 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
2241 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
2242 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
2243 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
2244
ab5b5d61
MK
22452005-03-05 Mark Kettenis <kettenis@gnu.org>
2246
2247 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
2248 changes.
2249
ae051c1b
PG
22502004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
2251
2252 * lib/compiler.c: Add test for IBM's xlc compiler.
2253 * lib/compiler.cc: Likewise.
2254
3f0f6ed2
JB
22552004-02-24 Joel Brobecker <brobecker@adacore.com>
2256
2257 * gdb.ada/fixed_points.exp: Create compilation object directory
2258 before running the test.
2259 * gdb.ada/null_record.exp: Likewise.
2260 * gdb.ada/packed_array.exp: Likewise.
2261 * gdb.ada/start.exp: Likewise.
2262
724f452b
JB
22632005-02-15 Joel Brobecker <brobecker@adacore.com>
2264
2265 * gdb.ada/packed_array/pa.adb: New file.
2266 * gdb.ada/packed_array.exp: New testcase.
2267
57f5cdfb 22682005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 2269
1f393151
MK
2270 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
2271 files.
2272
ebdda337
MK
2273 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
2274 on *-*-openbsd*. Correctly match whitespace in regukar
2275 expressions.
2276
cf309262
DJ
22772005-02-10 Daniel Jacobowitz <dan@debian.org>
2278
2279 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
2280 PR exp/1821
2281 * gdb.base/gdb1821.c: New test file.
2282 * gdb.base/gdb1821.exp: New test file.
2283
3be49e7a
JB
22842005-02-09 Joel Brobecker <brobecker@adacore.com>
2285
2286 * gdb.base/start.c: New file.
2287 * gdb.base/start.exp: New testcase.
2288
e292e67d
JB
22892005-02-09 Joel Brobecker <brobecker@adacore.com>
2290
2291 * gdb.ada/start/dummy.adb: New file.
2292 * gdb.ada/start.exp: New testcase.
2293
dbdfa66c
CV
22942005-02-09 Corinna Vinschen <vinschen@redhat.com>
2295
2296 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
2297 for printing symbols and statistics.
2298 Add test for using relative pathnames in "maint print msymbols" test.
2299 Mark "maint info sections DATA" XFAIL on Cygwin.
2300 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
2301 tests.
2302
d7941671
AC
23032005-02-09 Andreas Schwab <schwab@suse.de>
2304
2305 Committed by Andrew Cagney <cagney@gnu.org>
2306 * gdb.base/remotetimeout.exp: New file.
2307
74e5ef44
MK
23082005-02-07 Mark Kettenis <kettenis@gnu.org>
2309
2310 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
2311
464dd14d
JB
23122005-02-03 Joel Brobecker <brobecker@adacore.com>
2313
2314 * gdb.ada/gnat_ada.gpr: New file.
2315 * gdb.ada/gnat_ada.gin: Delete, no longer used.
2316 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
2317 * configure.ac: No longer generate gnat_ada.gpr.
2318 * configure: Regenerate.
2319 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
2320 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
2321 * gdb.ada/null_record/bar.ads: Likewise.
2322 * gdb.ada/null_record/bar.adb: Likewise.
2323 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
2324 * gdb.ada/null_record.exp (testdir): New variable.
2325 (testfile): executable is now in testdir subdirectory.
2326 (srcfile): Use full path to the main compilation unit.
2327 * gdb.ada/fixed_points.exp: Same changes as above.
2328
30d756ae
NR
23292005-02-03 Nick Roberts <nickrob@snap.net.nz>
2330
2331 * gdb.base/interp.exp: New test.
2332
9d799f85
AC
23332005-01-24 Andrew Cagney <cagney@gnu.org>
2334
2335 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
2336
15656118
AC
23372005-01-19 Andrew Cagney <cagney@gnu.org>
2338
a892c31b
AC
2339 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
2340 configure.ac not configure.in.
2341
15656118
AC
2342 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
2343 of powerpc*-*-*.
2344 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
2345 * gdb.base/list.exp (test_list_function)
2346 (test_list_filename_and_function): Ditto.
2347 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
2348
a7b01baf
AC
23492005-01-16 Andrew Cagney <cagney@gnu.org>
2350
17d92a02
AC
2351 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
2352
a7b01baf
AC
2353 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
2354
bc8332bb
AC
23552005-01-14 Andrew Cagney <cagney@gnu.org>
2356
2357 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
2358 * gdb.mi/mi2-var-cmd.exp: Ditto.
2359
4d074752
CV
23602005-01-10 Corinna Vinschen <vinschen@redhat.com>
2361
2362 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
2363
bec39cab
AC
23642005-01-07 Andrew Cagney <cagney@gnu.org>
2365
2366 * configure.ac: Rename configure.in, require autoconf 2.59.
2367 * configure: Re-generate.
2368 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
2369 * gdb.stabs/configure: Re-generate.
2370 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
2371 * gdb.hp/configure: Re-generate.
2372 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
2373 autoconf 2.59.
2374 * gdb.hp/gdb.objdbg/configure: Re-generate.
2375 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
2376 autoconf 2.59.
2377 * gdb.hp/gdb.defects/configure: Re-generate.
2378 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
2379 autoconf 2.59.
2380 * gdb.hp/gdb.compat/configure: Re-generate.
2381 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
2382 autoconf 2.59.
2383 * gdb.hp/gdb.base-hp/configure: Re-generate.
2384 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
2385 autoconf 2.59.
2386 * gdb.hp/gdb.aCC/configure: Re-generate.
2387
f10b16d4
JB
23882004-12-15 Jim Blandy <jimb@redhat.com>
2389
2390 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
2391 under NPTL when there is debugging info available for libpthread.
2392
fb6e1814
JG
23932004-12-13 Jerome Guitton <guitton@gnat.com>
2394
2395 * gdb.ada/fixed_points.c: New file.
2396 * gdb.ada/fixed_points.exp: New file.
2397
fe46cd3a
RC
23982004-12-03 Randolph Chung <tausq@debian.org>
2399
2400 * gdb.arch/pa-nullify.exp: New file.
2401 * gdb.arch/pa-nullify.s: New file.
2402
8de0841b
RC
24032004-11-30 Randolph Chung <tausq@debian.org>
2404
2405 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
2406 instead of "tbug". Fix regexp to work properly with gdb_test.
2407
c8170782
PH
24082004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
2409
2410 * gdb.base/bitfields2.exp: New test.
2411 * gdb.base/bitfields2.c: New file.
2412
954269c2
RE
24132004-11-28 Richard Earnshaw <rearnsha@arm.com>
2414
2415 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
2416
0107feed
RC
24172004-11-16 Randolph Chung <tausq@debian.org>
2418
2419 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
2420
f073ae8c
DJ
24212004-11-14 Daniel Jacobowitz <dan@debian.org>
2422
2423 * gdb.threads/threadapply.exp: Correct "macro details" test.
2424
19ad59e7
JJ
24252004-11-11 Jeff Johnston <jjohnstn@redhat.com>
2426
2427 * gdb.threads/threadapply.exp: New test.
2428 * gdb.threads/threadapply.c: New file.
2429
9cf0961b
MK
24302004-11-07 Mark Kettenis <kettenis@gnu.org>
2431
2432 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
2433 frames.
2434
c789492a
FL
24352004-11-05 Felix Lee <felix+log1@specifixinc.com>
2436
2437 * gdb.base/cursal.exp: New file.
2438 * gdb.base/cursal.c: New file.
2439
a1e167bb
AC
24402004-11-03 Andrew Cagney <cagney@gnu.org>
2441
2442 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
2443
b7cbf173
MK
24442004-10-30 Mark Kettenis <kettenis@gnu.org>
2445
2446 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
2447 NetBSD/ELF targets.
2448
88f9d34f
JB
24492004-10-29 Joel Brobecker <brobecker@gnat.com>
2450
2451 * gdb.threads/bp_in_thread.c: New file, copied from
2452 pthread_cond_wait.c.
2453 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
2454 file, rather than reusing the .c file from another testcase.
2455
ca7d6a0c
JB
24562004-10-20 Joel Brobecker <brobecker@gnat.com>
2457
2458 * gdb.ada/null_record.exp: Check where we stopped after
2459 sending the start command, instead of where the associated
2460 temporary breakpoint was inserted.
2461
0d863d03
AC
24622004-10-14 Andrew Cagney <cagney@gnu.org>
2463
2464 * gdb.mi/gdb701.c (main): Return 0.
2465
d11e72cb
DJ
24662004-10-13 Daniel Jacobowitz <dan@debian.org>
2467
d40539a4 2468 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 2469
e1923096
JJ
24702004-10-12 Jeff Johnston <jjohnstn@redhat.com>
2471
2472 * gdb.threads/schedlock.c: Add comment markers to use to find
2473 line numbers.
2474 * gdb.threads/schedlock.exp: Adjust regex to handle the new
2475 comments.
2476 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
2477 breakpoint lines.
2478
ec8ba2c9
DJ
24792004-10-12 Daniel Jacobowitz <dan@debian.org>
2480
2481 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
2482
0eb3658b
DJ
24832004-10-12 Daniel Jacobowitz <dan@debian.org>
2484
2485 * configure.in: Add gdb.dwarf2.
2486 * configure: Regenerated.
2487 * Makefile.in: Add gdb.dwarf2.
2488 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
2489 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
2490 gdb.dwarf2/file1.txt: New files.
2491
a271cc33
OF
24922004-10-11 Orjan Friberg <orjanf@axis.com>
2493
2494 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
2495 of "run", since the latter doesn't work with remote targets. Adjust
2496 the breakpoint numbering accordingly.
2497 * gdb.threads/pthread_cond_wait.exp: Ditto.
2498
895ce074
MC
24992004-10-08 Michael Chastain <mec.gnu@mindspring.com>
2500
2501 * gdb.base/overlays.exp: Update copyright years.
2502
6be3092d
KI
25032004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
2504
2505 * gdb.base/overlays.exp: Disable if target is Linux.
2506
e05389b8
FL
25072004-10-06 Felix Lee <felix+log1@specifixinc.com>
2508
2509 * config/gdbserver.exp (gdb_load): Use right filename on remote.
2510
73cb587d
KI
25112004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
2512
2513 * gdb.asm/asm-source.exp: Add m32r-linux target.
2514 * gdb.asm/m32r-linux.inc: New file.
2515
3c0edcdc
AC
25162004-09-24 Andrew Cagney <cagney@redhat.com>
2517 David Anderson <anderson@redhat.com>
2518
2519 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
2520 command fails, assume things will work.
2521 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
2522 (_GNU_SOURCE): Define.
2523 (print_unsigned, print_hex): Change parameter to "long long".
2524 (print_byte_count): New function, use to print byte counts.
2525 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
2526 O_LARGEFILE.
2527 (main): Compute an upper bound on a corefile in max_core_size.
2528 Limit memory chunk size to max_core_size. Limit total memory
2529 allocated to max_core_size.
2530
4bb3667f
AC
25312004-09-23 Andrew Cagney <cagney@gnu.org>
2532
2533 * gdb.base/bigcore.exp: Replace the code that creates a corefile
2534 from a separate process with code that creates a corefile by
2535 making the inferior dump core.
2536
60fe1a51
MK
25372004-09-23 Mark Kettenis <kettenis@gnu.org>
2538
2539 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
2540 block.
2541
8e937346
MC
25422004-09-23 Michael Chastain <mec.gnu@mindspring.com>
2543
2544 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
2545 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
2546 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
2547 Likewise.
2548
7213f6d6
JJ
25492004-09-20 Jeff Johnston <jjohnstn@redhat.com>
2550
2551 * gdb.java/jprint.exp: New test case for java inferior call.
2552 * gdb.java/jprint.java: Ditto.
2553
eac69dca
JB
25542004-09-15 Joel Brobecker <brobecker@gnat.com>
2555
2556 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
2557
22227696
MC
25582004-09-14 Michael Chastain <mec.gnu@mindspring.com>
2559
2560 * gdb.threads/killed.c: Include <stdlib.h>.
2561 * gdb.threads/pthreads.c: Likewise.
2562
7dd403a4
MC
25632004-09-14 Michael Chastain <mec.gnu@mindspring.com>
2564
2565 * gdb.threads/killed.c: Add copyright notice.
2566
33f2d567
JM
25672004-09-10 Jason Molenda (jmolenda@apple.com)
2568
2569 * gdb.base/define.exp: Two new tests to verify zero space chars
2570 after 'if' and 'while' commands in a user-defined command is correctly
2571 parsed.
2572
e05b62ac
AC
25732004-09-08 Andrew Cagney <cagney@gnu.org>
2574
2575 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
2576 delivery test with duplicate at end of file.
2577
9cbe82da
MK
25782004-09-06 Mark Kettenis <kettenis@jive.nl>
2579
2580 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
2581
564803d9
MC
25822004-09-05 Michael Chastain <mec.gnu@mindspring.com>
2583
2584 * config/hppro.exp: Removed.
2585
7c6807ce
MC
25862004-09-05 Michael Chastain <mec.gnu@mindspring.com>
2587
2588 * config/sparclet.exp: Removed.
2589
bf7e26dd
MC
25902004-09-05 Michael Chastain <mec.gnu@mindspring.com>
2591
2592 * config/udi.exp: Removed.
2593
714e341b
MC
25942004-09-02 Michael Chastain <mec.gnu@mindspring.com>
2595
2596 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
2597 of "exp_continue".
2598 (advancei): Likewise.
2599
1236e623
JJ
26002004-09-01 Jeff Johnston <jjohnstn@redhat.com>
2601
2602 * gdb.base/unload.exp: Fix so messages aren't duplicated.
2603
3bdcad15
MI
26042004-09-01 Manoj Iyer <manjo@austin.ibm.com>
2605
228af206 2606 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
2607 to check for nodebug in executable.
2608 * gdb.gdb/observer.exp (setup_test): Likewise.
2609 * gdb.gdb/selftest.exp (test_with_self): Likewise.
2610 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
2611
c72b934c
AC
26122004-09-01 Andrew Cagney <cagney@gnu.org>
2613
2614 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
2615 files.
2616
edd9b715
JJ
26172004-09-01 Jeff Johnston <jjohnstn@redhat.com>
2618
2619 * gdb.base/unload.exp: Fix expected warning message to match
2620 latest format.
2621
fb4ce06b
CV
26222004-09-01 Corinna Vinschen <vinschen@redhat.com>
2623
2624 * gdb.base/call-rt-st.exp: Fix typos.
2625
ce78e7c3
MI
26262004-08-31 Manoj Iyer <manjo@austin.ibm.com>
2627
2628 * gdb.threads/thread_check.exp: New testcase.
2629 * gdb.threads/thread_check.c: New testcase.
2630
2dedb159
AC
26312004-08-31 Andrew Cagney <cagney@gnu.org>
2632
2633 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
2634 (skip_to_handler_entry): New procedures. Test stepping into a
2635 handler when the breakpoint is at the handler's entry point.
2636
68f53502
AC
26372004-08-30 Andrew Cagney <cagney@gnu.org>
2638
2639 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
2640 gdb/1757.
2641
3e3ffd2b
MC
26422004-08-27 Michael Chastain <mec.gnu@mindspring.com>
2643
2644 With code from Manoj Iyer <manjo@austin.ibm.com>:
2645 * lib/gdb.exp (gdb_file_cmd): Return more information in the
2646 return value. Add an arm for "no debugging symbols found".
2647 Change a stray "error" to "perror".
2648 (gdb_run_cmd): Adapt to new return value.
2649 * gdb.base/remote.exp: Adapt to new return value.
2650 * gdb.gdb/complaints.exp: Likewise.
2651 * gdb.gdb/observer.exp: Likewise.
2652 * gdb.gdb/selftest.exp: Likewise.
2653 * gdb.gdb/xfullpath.exp: Likewise.
2654
4b6f5fd2
JB
26552004-08-27 Joel Brobecker <brobecker@gnat.com>
2656
2657 * gdb.threads/bp_in_thread.exp: New testcase.
2658
e5b25496
MC
26592004-08-27 Michael Chastain <mec.gnu@mindspring.com>
2660
2661 Fix PR testsuite/1735.
2662 * gdb.threads/schedlock.c (thread_function): Add a cast
2663 to suppress a gcc warning.
2664 * gdb.threads/thread-specific.c (thread_function): Likewise.
2665
934353d6
MC
26662004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2667
2668 * gdb.base/unload.c: Include <stdlib.h>.
2669
f98a0aef 26702004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 2671
f98a0aef 2672 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
2673 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
2674 synchronized after the "return".
2675
5a2e8882
MC
26762004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2677
2678 * gdb.mi/basics.c: Include <stdio.h>.
2679 * gdb.mi/pthreads.c: Include <stdlib.h>.
2680 * gdb.mi/var-cmd.c: Include <stdlib.h>.
2681
a9640423
MC
26822004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2683
2684 * gdb.threads/schedlock.c: Add copyright notice.
2685
b04e311d
AC
26862004-08-25 Andrew Cagney <cagney@gnu.org>
2687
2688 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
2689 (skip_over_handler, breakpoint_over_hander): New test procedures.
2690 (advance, advancei): Add a proper prefix, do not use
2691 rerun_to_main.
2692 * gdb.base/sigstep.c (main): Change to use an infinite loop.
2693
7c27f15b
MC
26942004-08-24 Michael Chastain <mec.gnu@mindspring.com>
2695
2696 * gdb.mi/basics.c: Add copyright notice.
2697 * gdb.mi/var-cmd.c: Add copyright notice.
2698
fffc87ae
MC
26992004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2700
2701 * lib/gdb.exp: Remove signed_keyword_not_used.
2702 * lib/compiler.c: Likewise.
2703 * lib/compiler.cc: Likewise.
2704
d782e0bf
MC
27052004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2706
2707 * gdb.base/whatis.c: Remove conditional disabling of "signed".
2708 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
2709
96033e83
MC
27102004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2711
2712 * gdb.base/whatis.c: Add copyright notice.
2713
cf38c229
MK
27142004-08-20 Mark Kettenis <kettenis@gnu.org>
2715
2716 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
2717 it to skip the breakpoints encoded in the inline assembly.
2718
f4b49756
MC
27192004-08-20 Michael Chastain <mec.gnu@mindspring.com>
2720
2721 * Makefile.in: Add gdb.fortran.
2722
2f193b69
MC
27232004-08-20 Michael Chastain <mec.gnu@mindspring.com>
2724
2725 * gdb.base/call-sc.exp (test_scalar_returns):
2726 Fix cut-and-paste glitch in "Make fun return now".
2727
89a237cb
MC
27282004-08-17 Michael Chastain <mec.gnu@mindspring.com>
2729
2730 * configure.in: Add gdb.fortran.
2731 * configure: Regenerate.
2732 * gdb.fortran/Makefile.in: New file.
2733 * lib/gdb.exp (skip_fortran_tests): New procedure.
2734
469aff8e
MC
27352004-08-17 Michael Chastain <mec.gnu@mindspring.com>
2736
2737 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
2738 reference to bug-gnu@prep.ai.mit.edu.
2739 * gdb.mi/mi-var-child.exp: Likewise.
2740 * gdb.mi/mi-var-cmd.exp: Likewise.
2741 * gdb.mi/mi-var-display.exp: Likewise.
2742 * gdb.mi/mi2-var-block.exp: Likewise.
2743 * gdb.mi/mi2-var-child.exp: Likewise.
2744 * gdb.mi/mi2-var-cmd.exp: Likewise.
2745 * gdb.mi/mi2-var-display.exp: Likewise.
2746
00b51b9f
MK
27472004-08-15 Mark Kettenis <kettenis@gnu.org>
2748
2749 * gdb.base/unload.c (main): Make local variable msg const.
2750
45f07fef
MC
27512004-08-15 Michael Chastain <mec.gnu@mindspring.com>
2752
2753 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
2754 to bug-gnu@prep.ai.mit.edu.
2755 * gdb.mi/mi-disassemble.exp: Likewise.
2756 * gdb.mi/mi-eval.exp: Likewise.
2757 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
2758 default line number.
2759 * gdb.mi/mi-return.exp: Likewise.
2760 * gdb.mi/mi-simplerun.exp: Likewise.
2761 * gdb.mi/mi-stack.exp: Likewise.
2762 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
2763 number with explicit range test.
2764 * gdb.mi/mi-watch.exp: Likewise.
2765 * gdb.mi/mi2-break.exp: Likewise.
2766 * gdb.mi/mi2-cli.exp: Likewise.
2767 * gdb.mi/mi2-disassemble.exp: Likewise.
2768 * gdb.mi/mi2-eval.exp: Likewise.
2769 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
2770 default line number.
2771 * gdb.mi/mi2-return.exp: Likewise.
2772 * gdb.mi/mi2-simplerun.exp: Likewise.
2773 * gdb.mi/mi2-stack.exp: Likewise.
2774 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
2775 number with explicit range test.
2776 * gdb.mi/mi2-watch.exp: Likewise.
2777
dd8c8ee7
MC
27782004-08-15 Michael Chastain <mec.gnu@mindspring.com>
2779
2780 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
2781 * gdb.cp/m-static.exp: Likewise.
2782 * gdb.cp/rtti.exp: Likewise.
2783
4e838464
MK
27842004-08-14 Mark Kettenis <kettenis@gnu.org>
2785
2786 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
2787
8d8cb839
EZ
27882004-08-14 Eli Zaretskii <eliz@gnu.org>
2789
2790 * ChangeLog: Prefix Local Variables with semi-colons and indent
2791 the reference to older ChangeLog files, to fix fontification in
2792 Emacs.
2793
deea8bb0
MC
27942004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2795
2796 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
2797 * gdb.mi/mi2-break.exp: Likewise.
2798
c3297504
MC
27992004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2800
2801 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
2802
25808999
MC
28032004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2804
2805 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
2806
226a8d71
MC
28072004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2808
2809 * gdb.cp/classes.exp: Remove unused declarations. Just let
2810 test names default instead of providing special names. Remove
2811 extraneous demangler test.
2812
37fdf854
JJ
28132004-08-12 Jeff Johnston <jjohnstn@redhat.com>
2814
2815 * gdb.base/unload.exp: New test for breakpoints in dynamically
2816 loaded libraries.
2817 * gdb.base/unload.c: Ditto.
2818 * gdb.base/unloadshr.c: Ditto.
2819
2d3a7986
MC
28202004-08-12 Michael Chastain <mec.gnu@mindspring.com>
2821
2822 * gdb.cp/classes.exp (test_ptype_class_objects): Call
2823 cp_test_ptype_class.
2824 (test_enums): Likewise.
2825
c72b934c
AC
28262004-08-10 Andrew Cagney <cagney@gnu.org>
2827
2828 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
2829 files.
2830
cc503c8a
AC
28312004-08-10 Andrew Cagney <cagney@gnu.org>
2832
2833 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
2834 init_malloc call.
2835
902f2ccb
MC
28362004-08-10 Michael Chastain <mec.gnu@mindspring.com>
2837
2838 * ChangeLog: Add copyright notice. The notice is copied
2839 from emacs 21.3 top level ChangeLog.
2840
78c90502
MC
28412004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2842
2843 * lib/cp-support.exp: New file.
2844 * lib/cp-support.exp (cp_test_type_class): New function.
2845 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
2846 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
2847 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
2848 cp_test_ptype_class.
2849
88e5ea78
MC
28502004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2851
2852 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
2853 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
2854 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
2855 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
2856 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
2857 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
2858 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
2859 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
2860 gdb.mi/mi2-watch.exp: Update copyright years.
2861
6a89fc9c
MK
28622004-08-09 Mark Kettenis <kettenis@gnu.org>
2863
2864 * gdb.base/sigaltstack.exp: Provide proper anchoring.
2865
1482e0de
MC
28662004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2867
2868 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
2869 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
2870 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
2871 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
2872 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
2873 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
2874 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
2875 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
2876 gdb.mi/mi-watch.exp: Update copyright years.
2877
1a5ce3f3
DJ
28782004-08-08 Daniel Jacobowitz <dan@debian.org>
2879
2880 PR gdb/1738
2881 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
2882 from a breakpoint with a pending signal.
2883
04f6ecf2
DJ
28842004-08-08 Daniel Jacobowitz <dan@debian.org>
2885
2886 PR gdb/1736
2887 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
2888 * gdb.base/sigaltstack.exp (finish_test): Consume output until
2889 the prompt.
2890 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
2891
54d90d35
DJ
28922004-08-08 Daniel Jacobowitz <dan@debian.org>
2893
2894 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
2895
d2f6abb0
DJ
28962004-08-08 Daniel Jacobowitz <dan@debian.org>
2897
2898 PR gdb/1736
2899 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
2900 for i?86-*-linux*.
2901
5598c03d
DJ
29022004-08-08 Daniel Jacobowitz <dan@debian.org>
2903
2904 * gdb.arch/i386-prologue.exp: Compile without debug information.
2905
c6fee705
MC
29062004-08-08 Michael Chastain <mec.gnu@mindspring.com>
2907
2908 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
2909 rather than asking gdb to search.
2910
dd90efdb
MC
29112004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2912
2913 * gdb.base/gcore.c: Include <string.h>.
2914
1e84bec1
MC
29152004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2916
2917 * gdb.base/gcore.c: Add copyright notice.
2918
e425eb2b
MC
29192004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2920
2921 * gdb.base/freebpcmd.c: Include <stdio.h>.
2922 * gdb.base/long_long.c: Include <string.h>.
2923 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
2924 * gdb.base/siginfo.c: Include <string.h>.
2925 * gdb.base/sigstep.c: Include <string.h>.
2926
cb9aaed5
MC
29272004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2928
2929 * gdb.base/complex.c: Include <stdlib.h>.
2930
55944f3d
MC
29312004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2932
2933 * gdb.base/complex.c: Add copyright notice.
2934
7b2953d9
MC
29352004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2936
2937 * gdb.base/charset.c: Include <stdlib.h>.
2938
c9133d23
MC
29392004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2940
2941 * gdb.base/auxv.c: Include <stdlib.h>.
2942
0a8490ad
MC
29432004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2944
2945 * gdb.base/auxv.c: Add copyright notice.
2946
3426d5ec
MC
29472004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2948
2949 * gdb.base/coremaker.c: Add copyright notice.
2950 * gdb.base/coremaker2.c: Add copyright notice.
2951
8da195dd
AC
29522004-08-04 Andrew Cagney <cagney@gnu.org>
2953
2954 * gdb.base/store.exp: Update copyright.
2955 (check_set, up_set, check_struct, up_struct): Add a prefix to test
2956 names, do not import gdb_prompt.
2957
8d394f98
AC
29582004-08-01 Andrew Cagney <cagney@gnu.org>
2959
2960 Fix PR testsuite/1729.
2961 * gdb.base/dump.exp: Add test name to callers of capture_value, do
2962 not use capture_value with value 4.
2963 (capture_value): Add optional test name parameter.
2964 (test_reload_saved_value, test_restore_saved_value): Use $msg as
2965 the prefix, pass to capture_value.
2966
b6702b23
MK
29672004-08-01 Mark Kettenis <kettenis@gnu.org>
2968
2969 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
2970 * gdb.arch/i386-prologue.c (standard): New prototype and function.
2971 (main): Call new function.
2972
c203e0ca
MC
29732004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2974
2975 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
2976
a7995a30
MC
29772004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2978
2979 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
2980
9366563b
MC
29812004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2982
b6eeaf26 2983 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
2984 Accept more values of vtbl pointer. Remove some messages
2985 about "obsolete gcc or gdb".
2986
2fc1f950
MC
29872004-07-30 Michael Chastain <mec.gnu@mindspring.com>
2988
2989 * gdb.cp/classes.exp: Accept more varieties of ptype output.
2990
c724d49b
MC
29912004-07-30 Michael Chastain <mec.gnu@mindspring.com>
2992
2993 * gdb.base/asm-source.exp: Properly convert target board
2994 debug flags from gcc format to binutils format.
2995
736b0fce
MK
29962004-07-28 Mark Kettenis <kettenis@gnu.org>
2997
2998 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
2999 gdb1718". PR backtrace/1718 partially fixed.
3000
5633ea5c
JJ
30012004-07-27 Jeff Johnston <jjohnstn@redhat.com>
3002
3003 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
3004
575eebb1
NC
30052004-07-26 Nick Clifton <nickc@redhat.com>
3006
3007 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
3008 good default value for a specific architecture is available then
3009 set it to that value. Otherwise default to the -gstabs switch.
3010 Remove the -g... switches from the asm-flags variable. Allow the
3011 target board info to override the value if it wants to. Pass the
3012 switch on the assembler command line.
3013
62104619
MK
30142004-07-23 Mark Kettenis <kettenis@gnu.org>
3015
3016 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
3017 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
3018 (main): Call new function.
3019
4a1135b8
MC
30202004-07-22 Michael Chastain <mec.gnu@mindspring.com>
3021
3022 Test for PR exp/1715.
3023 * gdb.base/radix.exp: Refactor common procedures. Make all
3024 test names unique. Change XFAIL to KFAIL.
3025
8a12c1f0
MC
30262004-07-20 Michael Chastain <mec.gnu@mindspring.com>
3027
3028 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
3029 * gdb.ada/gnat_ada.gin: ... to here.
3030 * configure.in: Use gnat_ada.gin.
3031 * configure: Regenerate.
3032
23b451cf
AC
30332004-07-20 Andrew Cagney <cagney@gnu.org>
3034
3035 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
3036 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
3037 XFAILs. Clean up test messages and comments. Check backtraces.
3038 Delete re-sync code.
3039
ab618a02
MC
30402004-07-19 Michael Chastain <mec.gnu@mindspring.com>
3041
3042 Fix PR cli/740.
3043 * gdb.base/annota1.exp: Honor gdb,nosignals.
3044 * gdb.base/annota3.exp: Likewise.
3045
46dad340
MC
30462004-07-19 Michael Chastain <mec.gnu@mindspring.com>
3047
3048 * lib/java.exp: Update copyright notice.
3049
756d8c70
AC
30502004-07-19 Andrew Cagney <cagney@gnu.org>
3051
3052 * gdb.base/selftest.exp: Copy file from here ...
3053 * gdb.gdb/selftest.exp: ... to here.
3054
586027e6
AC
30552004-07-16 Andrew Cagney <cagney@redhat.com>
3056
3057 * lib/insight-support.exp: Delete file.
3058 * lib/java.exp (java_init): Fix copyright.
3059
029d2200
AC
30602004-07-16 Andrew Cagney <cagney@gnu.org>
3061
3062 * gdb.base/restore.c: Append "prologue" to comments marking the a
3063 function's prologue.
3064 * gdb.base/restore.exp: Update copyright, re-indent.
3065 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
3066 callerN" prefix where needed. Update patterns that match a
3067 function's prologue.
3068
653b62c5
MC
30692004-07-16 Michael Chastain <mec.gnu@mindspring.com>
3070
3071 * gdb.base/restore.c: Add copyright notice.
3072
f7d690e5
AC
30732004-07-16 Andrew Cagney <cagney@gnu.org>
3074
3075 * gdb.base/logical.exp: Update copyright.
3076 (evaluate): New procedure. Use to re-implement tests using
3077 several tables.
3078
d629a7cb
MH
30792004-07-14 Martin Hunt <hunt@redhat.com>
3080
3081 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
3082 which fixes some problems where init.tcl was not found.
3083
9c7bb332
AC
30842004-07-13 Andrew Cagney <cagney@gnu.org>
3085
6bf46641
AC
3086 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
3087 (check_sizeof, check_valueof): Do not include the output in the
3088 test name. Use gdb_test.
3089 (get_valueof): Use gdb_test_multiple.
3090
c4ffd4c0
AC
3091 * gdb.base/step-test.exp: Update copyright. Use
3092 gdb_test_multiple. Ensure that test names do not include
3093 architecture dependent output.
3094
ab89363a
AC
3095 * gdb.gdb/observer.exp: Update copyright.
3096 (setup_test): Use gdb_test_multiple.
3097 (attach_first_observer, attach_second_observer)
3098 (attach_third_observer, detach_first_observer)
3099 (detach_second_observer, detach_third_observer)
3100 (reset_counters, check_counters): Make $message a prefix.
3101 (test_normal_stop_notifications): Add "args" parameter - a list of
3102 init functions to be called. Make $message a prefix,
3103 (test_observer_normal_stop): Change the message prefixes so that
3104 they are unique, pass the attach / detach procedures to
3105 test_normal_stop_notifications.
3106
ec58997a
AC
3107 * gdb.base/signull.exp (test_segv): Prefix all tests with
3108 "${name}". Clean up test messages.
3109
b475183b
AC
3110 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
3111
9c7bb332
AC
3112 * gdb.base/ena-dis-br.exp: Update copyright.
3113 (break_at): New function. Replace send_gdb with gdb_test,
3114 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
3115 ignore count, not stopped at bpt", with KFAIL.
3116
2dd95497
CV
31172004-07-13 Corinna Vinschen <vinschen@redhat.com>
3118
3119 * gdb.base/attach.exp: Remove cleanupfile handling.
3120
419e626b
AC
31212004-07-12 Andrew Cagney <cagney@gnu.org>
3122
3123 * gdb.base/annota1.exp: Cleanup corefile test name.
3124 * gdb.base/annota3.exp: Ditto.
3125
8b1b3228
AC
31262004-07-12 Andrew Cagney <cagney@gnu.org>
3127
78650829
AC
3128 * gdb.base/signals.exp: Clean up copyright, re-indent.
3129
8b1b3228
AC
3130 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
3131 gdb_test and gdb_test_multiple.
3132
935c2760
JJ
31332004-07-08 Jeff Johnston <jjohnstn@redhat.com>
3134
3135 * gdb.java/jmain.exp: Fix expected line number for main to
3136 break at. Set XFAIL for break at main test since gcj does not
3137 provide line number info for first statement in main.
3138
1544280f
AC
31392004-07-08 Andrew Cagney <cagney@gnu.org>
3140
1279f4ff
AC
3141 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
3142
1544280f
AC
3143 * gdb.base/sigbpt.exp: Make the common part of each test name a
3144 prefix instead of suffix.
3145
bcc82369
BR
31462004-07-07 Bob Rossi <bob_rossi@cox.net>
3147
3148 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
3149 test from test_tbreak_creation_and_listing to
3150 test_file_list_exec_source_file
3151 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
3152 Changed name of test from test_tbreak_creation_and_listing to
3153 test_file_list_exec_source_file
3154
23f4b0aa
JJ
31552004-07-07 Jeff Johnston <jjohnstn@redhat.com>
3156
3157 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
3158 the jmisc() constructor instead of <init>.
3159 * gdb.java/jmisc1.exp: Ditto.
3160
56401cd5
AC
31612004-07-07 Andrew Cagney <cagney@gnu.org>
3162
3163 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
3164 corrupting the PC.
3165
44ae2f6a
MC
31662004-07-06 Michael Chastain <mec.gnu@mindspring.com>
3167
3168 * gdb.cp/templates.exp: Accept whitespace change in demangler
3169 output.
3170
45a83408
AC
31712004-07-06 Andrew Cagney <cagney@gnu.org>
3172
3173 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
3174
d205ad70
MC
31752004-07-02 Michael Chastain <mec.gnu@mindspring.com>
3176
3177 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
3178 * lib/compiler.cc: Likewise.
3179
06ea1a61
MC
31802004-06-30 Michael Chastain <mec.gnu@mindspring.com>
3181
3182 * lib/compiler.cc: Work around string preprocessing problem
3183 with old hp c++ compiler.
3184 * lib/compiler.c: Likewise.
3185
daab1251
CV
31862004-06-29 Corinna Vinschen <vinschen@redhat.com>
3187
3188 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
3189 directives to conditionalize symbol prefixing.
3190 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
3191 additional_flags handling. Add underscore prefix for Cygwin.
3192 * gdb.arch/i386-unwind.c: Use preprocessor directives to
3193 conditionalize symbol prefixing.
3194 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
3195 additional_flags handling. Add underscore prefix for Cygwin.
3196
cc984116
CV
31972004-06-29 Corinna Vinschen <vinschen@redhat.com>
3198
3199 * gdb.base/bigcore.exp: Skip test on Cygwin.
3200
c279b077
MC
32012004-06-28 Michael Chastain <mec.gnu@mindspring.com>
3202
3203 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
3204 formats for "info register". Use gdb_test_multiple. Fix
3205 the "invalid register" test.
3206
0e915747
CV
32072004-06-28 Corinna Vinschen <vinschen@redhat.com>
3208
3209 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
3210 PID for Cygwin. Add Cygwin specific strings to check for in some
3211 tests.
3212 (do_attach_tests): Add a test for user interaction when attaching
3213 to a process with no matching symbol table already loaded.
3214
11422c86
AC
32152004-06-26 Andrew Cagney <cagney@gnu.org>
3216
3217 Test PR java/1567 and PR java/1565.
3218 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
3219 * gdb.java/jmisc2.exp: Delete file.
3220
cefbce26
MC
32212004-06-26 Michael Chastain <mec.gnu@mindspring.com>
3222
3223 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
3224
e19f872c
CV
32252004-06-25 Corinna Vinschen <vinschen@redhat.com>
3226
3227 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
3228 attach process.
3229
d931ba3b
MC
32302004-06-23 Michael Chastain <mec.gnu@mindspring.com>
3231
3232 * gdb.cp/pr-1553.exp: Remove.
3233
aef68c48
MC
32342004-06-22 Michael Chastain <mec.gnu@mindspring.com>
3235
3236 * gdb.cp/pr-1553.cc: Remove.
3237 * gdb.cp/pr-1553.exp: Disable this test.
3238
8d5df71a
JB
32392004-06-20 Jim Blandy <jimb@redhat.com>
3240
3241 Fix PR testsuite/1680.
3242 * gdb.arch/i386-sse.exp: Properly quote curly braces in
3243 regular expressions.
3244
4ac6f39d
MC
32452004-06-19 Michael Chastain <mec.gnu@mindspring.com>
3246
3247 Fix PR testsuite/1679.
3248 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
3249 Issue an UNSUPPORTED result instead.
3250
1b413552
JB
32512004-06-18 Jim Blandy <jimb@redhat.com>
3252
3253 * gdb.base/charset.exp: Only send a control-C if we see a new
3254 prompt and incomplete command.
3255
6daa6ebd
MC
32562004-06-18 Michael Chastain <mec.gnu@mindspring.com>
3257
3258 * gdb.cp/pr-574.cc: Add copyright notice.
3259
51fa4ae0
JB
32602004-06-17 Jim Blandy <jimb@redhat.com>
3261
3262 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
3263 cases where the regexp has no groups; this grabs random text from
3264 the previous test suite, whatever that was.
3265
8fea26c5
MC
32662004-06-17 Michael Chastain <mec.gnu@mindspring.com>
3267
3268 * gdb.cp/printmethod.cc: Add copyright notice.
3269
1e3aeb41
MC
32702004-06-16 Michael Chastain <mec.gnu@mindspring.com>
3271
3272 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
3273
9d9030bc
AC
32742004-06-16 Andrew Cagney <cagney@gnu.org>
3275
3276 * gdb.base/signull.c: Update copyright. Include <string.h>.
3277 (bowler): Replace data_pointer with data_read
3278 and data_write cases. Add code_descriptor case.
3279 (zero, desc): New array and pointer.
3280 (data, code): Change to simple pointers.
3281 * gdb.base/signull.exp: Fix probe pattern matching a function
3282 descriptor SIGSEGV. Replace data_pointer with data_read and
3283 data_write tests.
3284
acd4ad44
AC
32852004-06-16 Andrew Cagney <cagney@gnu.org>
3286
3287 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
3288
08fd625c
MC
32892004-06-15 Michael Chastain <mec.gnu@mindspring.com>
3290
3291 * gdb.base/long_long.c: Add copyright notice.
3292
1903502c
MC
32932004-06-15 Michael Chastain <mec.gnu@mindspring.com>
3294
3295 * gdb.base/long_long.exp: Remove reference to
3296 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
3297 to gdb_breakpoint and gdb_continue_to_breakpoint.
3298
83313cb1
JB
32992004-06-14 Jim Blandy <jimb@redhat.com>
3300
3301 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
3302 endian case.
3303
1bf404ef
AC
33042004-06-14 Andrew Cagney <cagney@gnu.org>
3305
3306 * gdb.base/gcore.exp (capture_command_output): Delete the always
3307 passing tests containing inferior values.
3308 * gdb.base/ending-run.exp: Do not include the breakpoint address
3309 in the test message. Update copyright.
3310 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
3311 size in the test name, use gdb_test_multiple. Update copyright.
3312
ef220b33
MC
33132004-06-14 Michael Chastain <mec.gnu@mindspring.com>
3314
3315 * gdb.cp/ref-types.cc: Add copyright notice.
3316
4f70a4c9
MC
33172004-06-14 Michael Chastain <mec.gnu@mindspring.com>
3318
3319 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
3320 hp_aCC_compiler.
3321 * lib/compiler.cc: Likewise.
3322 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
3323 'set' commands. Log diagnostics for other lines. Set
3324 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
3325
335928ac
MC
33262004-06-13 Michael Chastain <mec.gnu@mindspring.com>
3327
3328 * gdb.cp/try_catch.cc: Add copyright notice.
3329
2efb12e8
MC
33302004-06-12 Michael Chastain <mec.gnu@mindspring.com>
3331
3332 * gdb.cp/userdef.cc: Add copyright notice.
3333
0bbed51a
MC
33342004-06-11 Michael Chastain <mec.gnu@mindspring.com>
3335
3336 * gdb.cp/virtfunc.cc: Add copyright notice.
3337
e12a46c9
RC
33382004-06-11 Randolph Chung <tausq@debian.org>
3339
3340 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
3341 problem.
3342
338e05af
AC
33432004-06-10 Andrew Cagney <cagney@gnu.org>
3344
3345 * lib/compiler.cc, lib/compiler.c: Append either
3346 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
3347 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
3348 instead of gcc-3-3.
3349
dc3f10cb
AC
33502004-06-09 Andrew Cagney <cagney@gnu.org>
3351
b4d946af
AC
3352 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
3353 gdb/1455, bug is specific to "long long" and "double".
3354
dc3f10cb
AC
3355 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
3356 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
3357 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
3358 fixed.
3359
b5c0bfa2
AC
33602004-06-09 Andrew Cagney <cagney@gnu.org>
3361
3362 * gdb.base/structs.exp (test_struct_returns): Replace
3363 "return_value_unknown" and "finish_value_unknown" by
3364 "return_value_known" and "finish_value_known". Instead of
3365 "return_value_unknown" iff "finish_value_unknown", check
3366 "return_value_known" implies "finish_value_known".
3367
caeb605f
MH
33682004-06-08 Martin Hunt <hunt@redhat.com>
3369
3370 * gdb.base/float.exp: Add pattern for mips targets.
3371
c892bb64
RC
33722004-06-08 Randolph Chung <tausq@debian.org>
3373
3374 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
3375 message for unknown architectures more clear.
3376
48306d3e
JB
33772004-06-08 Joel Brobecker <brobecker@gnat.com>
3378
3379 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
3380 start the execution of the program.
3381
83ecb59f
JB
33822004-06-07 Jim Blandy <jimb@redhat.com>
3383
3384 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
3385 * gdb.arch/i386-cpuid.h: New helper file.
3386
55264cb4
RC
33872004-06-07 Randolph Chung <tausq@debian.org>
3388
3389 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
3390 has started.
3391
23cadb28
RM
33922004-06-04 Roland McGrath <roland@redhat.com>
3393
3394 Fix PR gdb/1647.
3395 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
3396 differently to be robust to output buffering differences.
3397
51d01eda
MC
33982004-06-04 Michael Chastain <mec.gnu@mindspring.com>
3399
3400 * gdb.threads/pthreads.exp: Update copyright years.
3401 (check_control_c): Change asynchronous 'after' to synchronous.
3402
f4fc3b93
RM
34032004-06-04 Roland McGrath <roland@redhat.com>
3404
3405 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
3406 next gdb prompt.
3407
4013522b
MC
34082004-06-02 Michael Chastain <mec.gnu@mindspring.com>
3409
3410 Fix PR gdb/1636.
3411 * gdb.threads/manythreads.exp: Change asynchronous 'after'
3412 calls to synchronous.
3413
7a8f1e6b
JB
34142004-05-26 Jim Blandy <jimb@redhat.com>
3415
3416 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
3417
81bb3443
RC
34182004-05-24 Randolph Chung <tausq@debian.org>
3419
3420 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
3421 * gdb.asm/pa.inc: New file.
3422
8f5a3103
MK
34232004-05-22 Mark Kettenis <kettenis@gnu.org>
3424
3425 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
3426
734b8fe8
JB
34272004-05-21 Joel Brobecker <brobecker@gnat.com>
3428 Daniel Jacobowitz <drow@mvista.com>
3429
3430 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
3431 GDB prompt.
3432
725603e1
UW
34332004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3434
f4fc3b93 3435 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
3436 setjmp/longjmp. Use sigaction instead of signal.
3437
8b923272
JB
34382004-05-19 J. Brobecker <brobecker@gnat.com>
3439 Michael Snyder <msnyder@redhat.com>
3440
3441 * gdb.threads/pthread_cond_wait.c: New file.
3442 * gdb.threads/pthread_cond_wait.exp: New testcase.
3443
8bfabb04
AC
34442004-05-13 Andrew Cagney <cagney@redhat.com>
3445
3446 * gdb.base/signull.exp, gdb.base/signull.c: New files.
3447 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
3448
42edda50
AC
34492004-05-11 Andrew Cagney <cagney@redhat.com>
3450
3451 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
3452 fixed but revealed gdb/1639.
3453
d303a6c7
AC
34542004-05-10 Andrew Cagney <cagney@redhat.com>
3455
3456 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
3457 func1" and "next to 2nd alarm", kernel bug avoided.
3458
bf08c2a1
DJ
34592004-05-10 Daniel Jacobowitz <dan@debian.org>
3460
3461 PR external/1568
3462 * gdb.base/bigcore.exp: Check the size of the dumped core file.
3463 XFAIL if it is smaller than bytes_allocated.
3464 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
3465 (main): Make chunks_allocated unsigned. Correct comment.
3466
c0586a34
JB
34672004-05-07 Joel Brobecker <brobecker@gnat.com>
3468
3469 * gdb.arch/powerpc-aix-prologue.c: New file.
3470 * gdb.arch/powerpc-aix-prologue.exp: New file.
3471
f2785d12
JB
34722004-05-07 Jim Blandy <jimb@redhat.com>
3473
3474 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
3475 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
3476
bd7f6e30
JB
34772004-05-06 Joel Brobecker <brobecker@gnat.com>
3478
3479 * gdb.base/sep.exp: No longer setup_kfail when the program was
3480 built with dwarf2.
3481
0a5e7efe
JI
34822004-05-05 Jim Ingham <jingham@apple.com>
3483
3484 * gdb.base/pending.exp: Make sure pending breakpoints
3485 preserve the ignore count.
f4fc3b93 3486
a8958849
MK
34872004-04-27 Jerome Guitton <guitton@gnat.com>
3488
3489 * i386-prologue.exp: Add testcase for jump instruction as first
3490 instruction of the real code.
3491 * i386-prologue.c (jump_at_beginning): New function.
3492
7e103f5b
MK
34932004-04-28 Mark Kettenis <kettenis@gnu.org>
3494
3495 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
3496 x86_64-*-*.
3497
5d38b224
MK
34982004-04-28 Mark Kettenis <kettenis@gnu.org>
3499
3500 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
3501 i*86-*-*.
3502
0ef32fd9
MK
35032004-04-25 Mark Kettenis <kettenis@gnu.org>
3504
3505 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
3506 expression that checks the return type.
3507
71d7dd7c
AC
35082004-04-23 Andrew Cagney <cagney@redhat.com>
3509
3510 * gdb.base/call-sc.exp: New test of scalar call/return values.
3511 * gdb.base/call-sc.c: Ditto.
3512
1e9f977e
JJ
35132004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3514
3515 * gdb.threads/manythreads.c: Reduce thread stack size.
3516
899d9e3a
JJ
35172004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3518
3519 * gdb.threads/manythreads.c: Add copyright notice.
3520
61bcae62
AC
35212004-04-23 Andrew Cagney <cagney@redhat.com>
3522
3523 * gdb.base/siginfo.exp: Better handle step out of signal.
3524 * gdb.base/sigstep.exp: Ditto.
3525
7339a42e
JJ
35262004-04-22 Jeff Johnston <jjohnstn@redhat.com>
3527 Daniel Jacobowitz <drow@mvista.com>
3528
3529 * gdb.threads/manythreads.c: New testcase.
3530 * gdb.threads/manythreads.exp: Ditto.
3531
5c98409b
JB
35322004-04-22 Jim Blandy <jimb@redhat.com>
3533
3534 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
3535 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
3536
3b611f1a
MC
35372004-04-21 Michael Chastain <mec.gnu@mindspring.com>
3538
3539 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
3540
f0fd9238
AC
35412004-04-21 Andrew Cagney <cagney@redhat.com>
3542
3543 * gdb.base/sigstep.c: New file.
3544 * gdb.base/sigstep.exp: New file.
3545
90990674
JB
35462004-04-16 Joel Brobecker <brobecker@gnat.com>
3547
3548 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
3549 call to observer_notify_normal_stop.
3550
78cef34b
AC
35512004-04-15 Andrew Cagney <cagney@redhat.com>
3552
3553 * gdb.base/siginfo.c: New file.
3554 * gdb.base/siginfo.exp: New file.
3555
d2343407
JB
35562004-04-12 J. Brobecker <brobecker@gnat.com>
3557
3558 * gdb.base/sep.exp: Fix typo in comment.
3559
a2dba3c8
JB
35602004-04-12 J. Brobecker <brobecker@gnat.com>
3561
3562 * gdb.base/sep.c: New file.
3563 * gdb.base/sep-proc.c: New file.
3564 * gdb.base/sep.exp: New testcase.
3565
15f7b60e
MK
35662004-04-09 Mark Kettenis <kettenis@gnu.org>
3567
3568 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
3569 support.
3570
44f4de1a
AC
35712004-04-05 Andrew Cagney <cagney@redhat.com>
3572
3573 * gdb.base/sigaltstack.c: New file.
3574 * gdb.base/sigaltstack.exp: New file.
3575
ef04f396
JB
35762004-04-04 Joel Brobecker <brobecker@gnat.com>
3577
3578 * gdb.base/foll-fork.exp: Update the expected output for
3579 "help set follow-fork-mode", to match a change that was made
3580 to the help of this variable on 2004-01-13.
3581
d40d2c92
JB
35822004-04-01 Joel Brobecker <brobecker@gnat.com>
3583
3584 * lib/ada.exp: Add copyright notice.
3585 * bar.ads: Likewise.
3586 * bar.adb: Likewise.
3587 * null_record.adb: Likewise.
3588 * null_record.exp: Likewise.
3589 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
3590
f86ef5a3
JB
35912004-04-01 Joel Brobecker <brobecker@gnat.com>
3592
3593 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
3594 * configure: Regenerate.
3595
414e70e3
JB
35962004-04-01 Joel Brobecker <brobecker@gnat.com>
3597
3598 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
3599 to build the application. Remove the message printed when in
3600 verbose mode, redundant with the UNSUPPORTED message above.
3601
f0aaee49
JB
36022004-03-31 Joel Brobecker <brobecker@gnat.com>
3603
3604 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
3605 * gdb.ada (null_record.exp): New testcase.
3606
ac81cb54
JB
36072004-03-31 Joel Brobecker <brobecker@gnat.com>
3608
3609 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
3610
854af2f7
JB
36112004-03-31 Joel Brobecker <brobecker@gnat.com>
3612
3613 * gdb.ada: New subdirectory.
3614 * gdb.ada/Makefile.in: New file.
3615 * gdb.ada/gnat_ada.gpr.in: New file.
3616
034cb681
JB
36172004-03-31 Joel Brobecker <brobecker@gnat.com>
3618
3619 * lib/ada.exp: New file.
3620
78a1a894
DJ
36212004-03-24 Daniel Jacobowitz <drow@mvista.com>
3622
3623 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
3624 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
3625
4b2b3b3e
AC
36262004-03-22 Andrew Cagney <cagney@redhat.com>
3627
3628 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
3629 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
3630 Problem identified by Ulrich Weigand.
3631
23c73aa3
DC
36322004-03-17 David Carlton <carlton@kealia.com>
3633
3634 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
3635 PR c++/826.
3636
d63a86f8
RM
36372004-03-16 Roland McGrath <roland@redhat.com>
3638
3639 * gdb.base/auxv.exp: New file.
3640 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
3641
0e02aa50
DC
36422004-03-12 David Carlton <carlton@kealia.com>
3643
3644 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
3645 * gdb.cp/pr-1553.cc: Ditto.
3646 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
3647 pass branch.
3648
c20b71be
MC
36492004-03-12 Michael Chastain <mec.gnu@mindspring.com>
3650
3651 * gdb.cp/templates.exp: Accept more template types.
3652
c7414a01
MC
36532004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3654
3655 From Corinna Vinschen with modifications.
3656 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
3657 local variable obj_with_enum.
3658 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
3659 results with obj_with_enum.
3660
ed69573c
MC
36612004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3662
3663 * gdb.cp/classes.cc: New file, copied from misc.cc.
3664 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
3665
28301461
MC
36662004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3667
3668 * gdb.cp/misc.cc: Add copyright notice.
3669
1198ecbe
DC
36702004-03-05 David Carlton <carlton@kealia.com>
3671
3672 * gdb.cp/rtti.exp: Add 'print *obj3' test.
3673 * gdb.cp/rtti.h: Update copyright.
3674 (namespace n2::n3): New.
3675 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
3676 (n2::n3::func3): New.
3677 (main): Call n2::n3::func3.
3678 * gdb.cp/rtti2.cc: Update copyright.
3679 (n2::create3): New.
3680
9e08c470
MK
36812004-03-04 Mark Kettenis <kettenis@gnu.org>
3682
3683 * gdb.asm/openbsd.inc: Fix typo.
3684
4bebc3aa
FF
36852004-03-03 Fred Fish <fnf@redhat.com>
3686
3687 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
3688 "val" instead of unused "size". Update copyright year.
3689
6ea9fb37
DJ
36902004-02-29 Daniel Jacobowitz <drow@mvista.com>
3691
3692 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
3693 to use unsigned char.
3694 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
3695 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
3696
23b23974
DJ
36972004-02-29 Daniel Jacobowitz <drow@mvista.com>
3698
3699 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
3700 line of output.
3701
7574fd53
DJ
37022004-02-28 Daniel Jacobowitz <drow@mvista.com>
3703
3704 * gdb.base/relocate.c (dummy): Initialize.
3705
a195357f
DJ
37062004-02-28 Daniel Jacobowitz <drow@mvista.com>
3707
3708 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
3709 a breakpoint at exit.
3710
72fd54a9
FF
37112004-02-27 Fred Fish <fnf@redhat.com>
3712
3713 * gdb.base/chng-syms.exp: Add expect condition to match failing
3714 case that isn't a timeout.
3715
b9d23137
AC
37162004-02-27 Andrew Cagney <cagney@redhat.com>
3717
3718 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
3719 support.
3720
15d208f6 37212004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 3722
15d208f6
FF
3723 * gdb.arch/gdb1431.c: Remove.
3724 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
3725 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
3726 of "until" incorrectly.
3727
98f9cd2d
JB
37282004-02-26 J. Brobecker <brobecker@gnat.com>
3729
3730 * gdb.cp/class2.cc (empty): New class.
3731 (refer): New function.
3732 (main): Declare an object of type empty and use it.
3733 * gdb.cp/class2.exp: Print the value of an object of type empty.
3734
9b50c11b
JJ
37352004-02-26 Jeff Johnston <jjohnstn@redhat.com>
3736
3737 * gdb.base/langs.exp: Update query string to match the
3738 new nquery format used for pending breakpoints.
3739
0dcd613f
AC
37402004-02-26 Andrew Cagney <cagney@redhat.com>
3741
3742 Fix PR i18n/1570.
3743 * gdb.base/charset.c: Update copyright notice.
3744 (main, init_string): Remove the escape character '\e' tests.
3745 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
3746 * gdb.base/charset.exp (valid_host_charset): Ditto.
3747 * gdb.base/setvar.exp: Ditto.
3748
b8a56647
AC
37492004-02-24 Andrew Cagney <cagney@redhat.com>
3750
90d59e34
AC
3751 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
3752 mmapped data in core file" PASS and FAIL messages consistent.
3753
b8a56647
AC
3754 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
3755 setting a breakpoint. Work around PR java/1565.
3756
9f27c604
JJ
37572004-02-23 Jeff Johnston <jjohnstn@redhat.com>
3758
3759 * lib/gdb.exp (gdb_breakpoint): Update query string to match
3760 new nquery format.
3761 * gdb.base/pending.exp: Ditto.
3762
3224a706
MK
37632004-02-22 Mark Kettenis <kettenis@gnu.org>
3764
3765 * configure.in: Run stabs tests on *BSD.
3766 * configure: Regenerated.
3767
41e0a9ca
MK
37682004-02-21 Mark Kettenis <kettenis@gnu.org>
3769
3770 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
3771
1e1b3428
FF
37722004-02-20 Fred Fish <fnf@redhat.com>
3773
3774 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
3775 blank in test for "returns short", for consistency with other
3776 "returns xxx" tests. Update copyright year.
3777
f9a7572a
FF
37782004-02-19 Fred Fish <fnf@redhat.com>
3779
3780 New testcase for PR breakpoint/1558.
3781 * gdb.arch/gdb1558.exp: New file.
3782 * gdb.arch/gdb1558.c: New file.
3783
b2ce2854
EZ
37842004-02-19 Elena Zannoni <ezannoni@redhat.com>
3785
3786 * gdb.base/nodebug.exp: Fix typo.
3787
e7c9ff01
JB
37882004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3789
3790 Committed by Jim Blandy <jimb@redhat.com>.
3791
62f4b920
JB
3792 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
3793
2db536a1
JB
3794 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
3795
e7c9ff01
JB
3796 * gdb.base/float.exp: Support s390*-*-* targets.
3797
f3205b34
AF
37982004-02-17 Adam Fedor <fedor@gnu.org>
3799
3800 * gdb.base/gdb1555.exp: New file.
3801 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
3802
9d62932d
EZ
38032004-02-17 Elena Zannoni <ezannoni@redhat.com>
3804
3805 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
3806
344c9711
FF
38072004-02-16 Fred Fish <fnf@redhat.com>
3808
3809 * gdb.arch/gdb1291.c: Remove
3810 * gdb.arch/gdb1291.s: New test input file.
3811 * gdb.arch/gdb1291.exp: Expand test to check case that should not
3812 fail. Test for correct result, known incorrect result, other
3813 failures and timeouts.
3814
2d822687
AC
38152004-02-16 Andrew Cagney <cagney@redhat.com>
3816
3817 * gdb.base/bigcore.exp: New file.
3818 * gdb.base/bigcore.c: New file.
3819
dac15b66
AC
38202004-02-13 Andrew Cagney <cagney@redhat.com>
3821
3822 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
3823 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
3824 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
3825 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
3826 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
3827 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
3828 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
3829 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
3830 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
3831 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
3832
6bdfc2c4
JJ
38332004-02-11 Jeff Johnston <jjohnstn@redhat.com>
3834
3835 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
3836 executed is an alloc instruction.
3837
87b3ede8
DC
38382004-02-11 David Carlton <carlton@kealia.com>
3839
3840 * gdb.cp/breakpoint.exp: New.
3841 * gdb.cp/breakpoint.cc: New.
3842
6e19e2bf
MC
38432004-02-11 Michael Chastain <mec.gnu@mindspring.com>
3844
3845 Partial fix for PR gdb/1543.
3846 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
3847 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
3848 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
3849 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
3850 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
3851 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
3852 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
3853 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
3854 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
3855 to bug-gdb@prep.ai.mit.edu .
3856 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
3857 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
3858 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
3859 Likewise.
3860
5c5455dc
AC
38612004-02-10 Andrew Cagney <cagney@redhat.com>
3862
3863 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
3864 using gdb_internal_error_resync.
3865
9cf689d7
DJ
38662004-02-09 Daniel Jacobowitz <drow@mvista.com>
3867
3868 * gdb.threads/thread-specific.exp: Stop early if no threads are
3869 found.
3870
d2dc51db
MC
38712004-02-09 Michael Chastain <mec.gnu@mindspring.com>
3872
3873 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
3874
14b1a056
DJ
38752004-02-08 Daniel Jacobowitz <drow@mvista.com>
3876
3877 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
3878 breakpoints.
3879
83f66e8f
DJ
38802004-02-07 Daniel Jacobowitz <drow@mvista.com>
3881
3882 * config/sim.exp (gdb_load): Handle $arg == "".
3883 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
3884 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
3885
30fc0091
EZ
38862004-02-07 Elena Zannoni <ezannoni@redhat.com>
3887
3888 * gdb.base/maint.exp: Update test to reflect
3889 obstack changes.
3890
4d806929
JJ
38912004-02-04 Jeff Johnston <jjohnstn@redhat.com>
3892
3893 * gdb.base/pendshr.c (pendfunc): New function that calls
3894 pendfunc1.
3895 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
3896
7bfdd688
FF
38972004-02-04 Fred Fish <fnf@redhat.com>
3898
3899 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
3900 function symbols and update copyright years.
3901 * gdb.arch/gdb1291.c: Ditto.
3902
aaa08ee4
MC
39032004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3904
3905 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
3906
dbad7755
MC
39072004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3908
3909 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
3910
ec4646ef
MC
39112004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3912
3913 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
3914
1b802196
FF
39152004-02-02 Fred Fish <fnf@redhat.com>
3916
3917 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
3918 remote targets. Update copyright years.
3919
18fe2033
JJ
39202004-02-02 Jeff Johnston <jjohnstn@redhat.com>
3921
3922 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
3923 support.
3924 * gdb.base/langs.exp: Fix test which attempts to create
3925 breakpoint on non-existent function to handle new pending
3926 support.
3927 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
3928 a breakpoint.
3929 * gdb.base/pending.exp: New test.
3930 * gdb.base/pending.c: New file.
3931 * gdb.base/pendshr.c: Ditto.
3932
8d577d32
DC
39332004-02-02 David Carlton <carlton@kealia.com>
3934
3935 * gdb.cp/overload.exp: Add overloadNamespace tests.
3936 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
3937 (overloadNamespace, XXX): New.
3938 (main): Call XXX::marker2.
3939
3ad13771
FF
39402004-02-01 Fred Fish <fnf@redhat.com>
3941
3942 * gdb.base/dump.exp: Use runto_main instead of "runto main".
3943 * gdb.base/finish.exp: Ditto.
3944 * gdb.base/gcore.exp: Ditto.
3945 * gdb.base/huge.exp: Ditto.
3946 * gdb.base/info-proc.exp: Ditto.
3947 * gdb.base/return2.exp: Ditto.
3948 * gdb.threads/gcore-thread.exp: Ditto.
3949
44c75849
DJ
39502004-02-01 Daniel Jacobowitz <drow@mvista.com>
3951
3952 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
3953
005bc093
MK
39542004-02-01 Mark Kettenis <kettenis@gnu.org>
3955
3956 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
3957 that opening the file succeeds on OpenBSD.
3958
c47cebdb
DJ
39592004-02-01 Daniel Jacobowitz <drow@mvista.com>
3960
3961 * gdb.threads/thread-specific.c: New file.
3962 * gdb.threads/threads-specific.exp: New test script.
3963 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
3964 to expect_out.
3965
5a01311c
MK
39662004-02-01 Mark Kettenis <kettenis@gnu.org>
3967
3968 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
3969 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
3970 only on the "print_small_structs from print_long_arg_list" test.
3971
ce22a4f1
DJ
39722004-02-01 Daniel Jacobowitz <drow@mvista.com>
3973
3974 * gdb.base/completion.exp: Kill a stray backslash.
3975
3976 From Jim Ingham <jingham@apple.com>:
3977 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
3978 agrees with the result from sending a tab.
3979
abbab9d3
DJ
39802004-01-31 Daniel Jacobowitz <drow@mvista.com>
3981
3982 * gdb.base/chng-syms.exp: Remove stray newline.
3983
53904d1e
MK
39842004-01-31 Mark Kettenis <kettenis@gnu.org>
3985
3986 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
3987 *-*-openbsd*.
3988 * gdb.asm/openbsd.inc: New file.
3989
3a4b3aac
MK
39902004-01-30 Mark Kettenis <kettenis@gnu.org>
3991
3992 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
3993 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
3994 *-*solaris2*. Remove commented out default settings for
3995 asm-flags. Replace gdb_compile with target_link.
3996
ebac27b4
MC
39972004-01-29 Michael Chastain <mec.gnu@mindspring.com>
3998
3999 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
4000 for all tests. Remove old hp-ux and cygnus xfail cases.
4001
d8679d84
PH
40022004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
4003
4004 * gdb.base/chng-syms.exp: New file.
4005 * gdb.base/chng-syms.c: New file.
4006
0a55bc22
MC
40072004-01-24 Michael Chastain <mec.gnu@mindspring.com>
4008
4009 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
4010 Provide arms for current output in all my configurations.
4011
94b8e876
MC
40122004-01-24 Michael Chastain <mec.gnu@mindspring.com>
4013
4014 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
4015 * lib/compiler.cc: Likewise.
4016 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
4017 get the right preprocessor. Eval the output directly. Remove
4018 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
4019 hp_f77_compiler and hp_f90_compiler completely.
4020 (gdb_preprocess): Delete.
4021 (get_compiler): Delete.
4022
7cf03d44
MK
40232004-01-24 Mark Kettenis <kettenis@gnu.org>
4024
4025 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
4026 <string.h>.
4027
68b6dce9
NR
40282004-01-24 Nick Roberts <nick@nick.uklinux.net>
4029
4030 * gdb.mi/mi-stack.exp: Update copyright.
4031
b368761e
DC
40322004-01-23 David Carlton <carlton@kealia.com>
4033
4034 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
4035 test for cp_lookup_transparent_type.
4036 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
4037 call them.
4038
f2061b53
DJ
40392004-01-23 Daniel Jacobowitz <drow@mvista.com>
4040
4041 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
4042 after -var-update.
4043
37fc574a
DC
40442004-01-23 David Carlton <carlton@kealia.com>
4045
4046 * gdb.cp/namespace.cc (C::ensureRefs): New.
4047 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
4048
8e94b928
NR
40492004-01-20 Nick Roberts <nick@nick.uklinux.net>
4050
4051 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
4052 case "-stack-list-locals 2".
4053 * gdb.mi/mi-var-child.exp: Test for case
4054 "-var-list-children --all-values NAME".
4055
997b0952
MC
40562004-01-18 Michael Chastain <mec.gnu@mindspring.com>
4057
4058 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
4059
52470da3
MK
40602004-01-18 Mark Kettenis <kettenis@gnu.org>
4061
7049b4b8
MK
4062 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
4063 used with gdb_test_multiple.
4064
52470da3
MK
4065 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
4066 read at address 0. This fixes PR testsuite/1504.
4067
da6012e5
DJ
40682004-01-18 Daniel Jacobowitz <drow@mvista.com>
4069
4070 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
4071 Remove downloading, guessing the host executable, the calls to
4072 gdb_file_cmd and gdb_target_cmd, and "load" support.
4073 (infer_host_exec): New function broken out from gdb_load.
4074 (gdb_load): New wrapper for gdbserver_gdb_load.
4075 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
4076 gdb_target_cmd. Use -target-select.
4077 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
4078 Download binaries to the host. Clear last_mi_remote_file when
4079 we load a new binary.
4080 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
4081 call gdbserver_gdb_load and mi_gdb_target_cmd.
4082
32c70722
MC
40832004-01-17 Michael Chastain <mec.gnu@mindspring.com>
4084
4085 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
4086 type patterns.
4087
b0cecf36
MC
40882004-01-17 Michael Chastain <mec.gnu@mindspring.com>
4089
4090 * gdb.cp/templates.exp: Fix typo in test name of
4091 "print Foo<volatile char*>::foo".
4092
4120d7e6
MC
40932004-01-15 Michael Chastain <mec.gnu@mindspring.com>
4094
4095 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
4096
f679e530
BE
40972004-01-16 Ben Elliston <bje@wasabisystems.com>
4098
4099 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
4100 (clean mostlyclean): Remove empty rm.
4101
091c48f6
MC
41022004-01-15 Michael Chastain <mec.gnu@mindspring.com>
4103
4104 * gdb.base/setvar.exp: Add copyright years.
4105
3e5fc8d2
DC
41062004-01-14 David Carlton <carlton@bactrian.org>
4107
4108 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
4109 PR c++/1511 and update coment.
4110 * gdb.cp/templates.exp: Update patterns to match current output.
4111 If changes involve something other than whitespace, KFAIL
4112 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
4113
63d06c5c
DC
41142004-01-14 David Carlton <carlton@kealia.com>
4115
4116 * gdb.cp/namespace.exp: Add tests involving classes defined within
4117 namespaces.
4118 * gdb.cp/namespace.cc (C::CClass): New.
4119 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
4120
a51dab88
EZ
41212004-01-14 Elena Zannoni <ezannoni@redhat.com>
4122
4123 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
4124 what debug info we have. Print a better message if something goes
4125 wrong while producing the separate debug info file.
4126
a476ccc9
MC
41272004-01-14 Michael Chastain <mec.gnu@mindspring.com>
4128
4129 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
4130
f453692c
MC
41312004-01-14 Michael Chastain <mec.gnu@mindspring.com>
4132
4133 * gdb.base/callfuncs.c: Add copyright notice.
4134
f40063a5
MC
41352004-01-13 Michael Chastain <mec.gnu@mindspring.com>
4136
4137 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
4138 inheritance. PR gdb/1498, PR gcc/13539.
4139
19ac3974
EZ
41402004-01-13 Elena Zannoni <ezannoni@redhat.com>
4141
4142 * gdb.threads/gcore-thread.exp: Prefix name of binary with
4143 test specific name.
4144 * gdb.mi/gdb669.exp: Ditto.
4145 * gdb.mi/mi-pthreads.exp: Ditto.
4146 * gdb.mi/mi1-pthreads.exp: Ditto.
4147 * gdb.mi/mi2-pthreads.exp: Ditto.
4148
56c97c6e
MC
41492004-01-12 Michael Chastain <mec.gnu@mindspring.com>
4150
4151 * gdb.cp/member-ptr.cc: Add copyright notice.
4152
a0644324
MC
41532004-01-12 Michael Chastain <mec.gnu@mindspring.com>
4154
4155 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
4156 some patterns for recent versions of gcc and hpacc. Delete
4157 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
4158 Delete tests that access a NULL pointer-to-member-data. This
4159 script is still disabled for gcc.
4160
32fabe09
EZ
41612004-01-12 Elena Zannoni <ezannoni@redhat.com>
4162
4163 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
4164 escaped correctly.
4165
1f8a6abb
EZ
41662004-01-12 Elena Zannoni <ezannoni@redhat.com>
4167
4168 * gdb.base/sepdebug.exp: New file.
4169 * gdb.base/sepdebug.c: New file.
4170 * lib/gdb.exp (separate_debug_filename): New procedure.
4171 (gdb_gnu_strip_debug): New procedure.
4172
48efe704
AC
41732004-01-12 Andrew Cagney <cagney@redhat.com>
4174
4175 * gdb.mi/ChangeLog: Delete file. Renamed to ...
4176 * gdb.mi/ChangeLog-1999-2003: New file.
4177
a9415475
AC
41782004-01-12 Andrew Cagney <cagney@redhat.com>
4179
4180 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
4181 "Renaming a directory to a non-empty directory returns ENOTEMPTY
4182 or EEXIST", treat EBUSY as an XFAIL.
4183
83b8cf9d
MC
41842004-01-11 Michael Chastain <mec.gnu@mindspring.com>
4185
4186 * gdb.base/scope.exp: Remove obsolete setup_xfail for
4187 hp_cc_compiler.
4188
9939d2a8
MC
41892004-01-10 Michael Chastain <mec.gnu@mindspring.com>
4190
4191 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
4192 decorations.
4193
1ff8cadf
MC
41942004-01-10 Michael Chastain <mec.gnu@mindspring.com>
4195
4196 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
4197 and "(aCC)" decorations. Remove obsolete doco about old
4198 test results.
4199
6fa9022e
MC
42002004-01-09 Michael Chastain <mec.gnu@mindspring.com>
4201
4202 * gdb.cp/exception.exp: Fix typo in doco.
4203
209721fe
MK
42042004-01-09 Mark Kettenis <kettenis@gnu.org>
4205
4206 * gdb.base/gdb1476.exp: Fix typo.
4207
ef11303e
MC
42082004-01-09 Michael Chastain <mec.gnu@mindspring.com>
4209
4210 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
4211 file.
4212
041ab88c
MC
42132004-01-09 Michael Chastain <mec.gnu@mindspring.com>
4214
4215 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
4216 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
4217 Use gdb_compile. Remove restriction on gcc. Add some patterns
4218 for recent version of gdb. Delete second half, which was a copy
4219 of the first half with different build flags. This test is
4220 still disabled because it is still not ready for production.
4221
e36d075a
MC
42222004-01-08 Michael Chastain <mec.gnu@mindspring.com>
4223
4224 * gdb.cp/exception.cc: Add copyright notice.
4225 * gdb.cp/exception.exp: Add a notice that this file is broken
4226 because of line number changes caused by addition of copyright
4227 notice.
4228
42b190ad
MC
42292004-01-08 Michael Chastain <mec.gnu@mindspring.com>
4230
4231 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
4232 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
4233
8f25f06b
MC
42342004-01-08 Michael Chastain <mec.gnu@mindspring.com>
4235
4236 * gdb.cp/classes.exp: Accept gnu abi 2.
4237 * gdb.cp/derivation.exp: Likewise.
4238 * gdb.cp/overload.exp: Likewise.
4239 * gdb.cp/virtfunc.exp: Likewise.
4240
06ded8b8
MC
42412004-01-08 Michael Chastain <mec.gnu@mindspring.com>
4242
4243 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
4244 semicolon after end of function.
4245
77c26ae3
MC
42462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4247
4248 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
4249 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
4250 boilerplate code for compiling and running the program under
4251 test. Add some string method tests.
4252
20757486
MC
42532004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4254
4255 * gdb.cp/bs15503.cc: Add copyright notice.
4256 * gdb.cp/bs15503.exp: Adjust line number.
4257
0fd3b503
MC
42582004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4259
4260 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
4261 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
4262
10d1bea8
MC
42632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4264
4265 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
4266 hp_cc_compiler.
4267
2789202a
MC
42682004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4269
4270 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
4271 * gdb.cp/ctti.exp: Use the marker instead of "next".
4272 With gcc, run further before bailing.
4273
b862f14c
MC
42742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4275
4276 * gdb.cp/cttiadd.cc: Add copyright notice.
4277 * gdb.cp/cttiadd1.cc: Likewise.
4278 * gdb.cp/cttiadd2.cc: Likewise.
4279 * gdb.cp/cttiadd3.cc: Likewise.
4280
96da2469
MC
42812004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4282
4283 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
4284 Use gdb_test, gdb_test_multiple. Use floating-point values that
4285 have exact representations in IEEE-ish formats.
4286
053248ff
MC
42872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4288
4289 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
4290 compilers. Delete duplicate call to get_compiler_info.
4291 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
4292 * gdb.base/volatile.exp: Likewise.
4293
84acecdd
MK
42942004-01-07 Mark Kettenis <kettenis@gnu.org>
4295
4296 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
4297 memory at address 0.
4298
fe11a27f
MC
42992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4300
4301 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
4302 to test for hp-ux assembler. Fix copyright years.
4303
60ad077b
AC
43042004-01-07 Andrew Cagney <cagney@redhat.com>
4305
4306 * gdb.base/fileio.c (strerrno): Add "EBUSY".
4307
1c9b8f33
AC
43082004-01-07 Andrew Cagney <cagney@redhat.com>
4309
4310 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
4311 when creating the read-only file. From analysis by Roland McGrath
4312 and Elena Zannoni.
4313
753ccc7a
MC
43142004-01-06 Michael Chastain <mec.gnu@mindspring.com>
4315
4316 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
4317
eca3e36b
MC
43182004-01-06 Michael Chastain <mec.gnu@mindspring.com>
4319
4320 * gdb.base/cvexpr.c: Be type-safe with function pointers and
4321 data pointers.
4322
f8d4bac4
MC
43232004-01-06 Michael Chastain <mec.gnu@mindspring.com>
4324
4325 * gdb.cp/m-static.exp: Compile one source file at a time.
4326 Delete unused call to get_compiler_info.
4327
9b4e0f94
MC
43282004-01-06 Michael Chastain <mec.gnu@mindspring.com>
4329
4330 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
4331 * gdb.base/call-rt-st.exp: Likewise.
4332 * gdb.base/nodebug.exp: Likewise.
4333 * gdb.base/volatile.exp: Likewise.
4334 * gdb.cp/ref-types.exp: Likewise.
4335 * gdb.cp/templates.exp: Likewise.
4336
023c1024
MK
43372004-01-05 Mark Kettenis <kettenis@gnu.org>
4338
4339 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
4340
19703c4a
MC
43412004-01-05 Michael Chastain <mec.gnu@mindspring.com>
4342
4343 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
4344 hppa*-hp-hpux*.
4345
18b67037
MK
43462004-01-04 Mark Kettenis <kettenis@gnu.org>
4347
ba6219c8
MK
4348 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
4349 x86_64-*-*.
4350
18b67037
MK
4351 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
4352 sparc64-*-* and sparc*-solaris2*.
4353
1bfbbb9d
MK
43542004-01-04 Mark Kettenis <kettenis@gnu.org>
4355
4356 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
4357 return ${tests}" test. The ${tests} already mentions the
4358 filename.
4359
06846494
MC
43602004-01-02 Michael Chastain <mec.gnu@mindspring.com>
4361
4362 * gdb.cp/local.exp: Accept gcc abi 2.
4363
3b0cb202
MC
43642004-01-02 Michael Chastain <mec.gnu@mindspring.com>
4365
4366 * gdb.cp/templates.exp: Accept gcc abi 2.
4367
0643ec3f
MC
43682004-01-02 Michael Chastain <mec.gnu@mindspring.com>
4369
4370 * lib/compiler.cc: Remove supports_template_debugging.
4371 * gdb.cp/templates.exp: Do not test supports_template_debugging.
4372
d231d0b1
MC
43732004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4374
4375 * gdb.cp/namespace.exp: Accept gcc abi 2.
4376
44ffb27c
MC
43772004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4378
4379 * gdb.cp/method.exp: Accept gcc abi 2.
4380
184ad485
MC
43812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4382
4383 * gdb.cp/classes.exp: Generate identical results as old version.
4384 * gdb.cp/derivation.exp: Likewise.
4385 * gdb.cp/overload.exp: Likewise.
4386 * gdb.cp/virtfunc.exp: Likewise.
4387
116f09e7
MC
43882004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4389
4390 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
4391 mysterious bug with sourceware version of expect.
4392
b1379776
MC
43932004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4394
4395 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
4396 current versions of gcc, including gcc abi 2. Remove gratuitous
4397 restart of test program. Use gdb_test_multiple and gdb_test for
4398 all tests. Add patterns to xfail missing "const" in "const char *"
4399 and kfail PR gdb/1155.
4400
6b7a4c0e
MC
44012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
4402
4403 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
4404 current versions of gcc, including gcc abi 2. Remove gratuitous
4405 restart of test program. Use gdb_test_multiple and gdb_test for
4406 all tests. Add patterns to kfail PR gdb/1498.
4407
51615d72
MC
44082003-12-31 Michael Chastain <mec.gnu@mindspring.com>
4409
4410 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
4411 current versions of gcc, including gcc abi 2. Use "breakpoint"
4412 and "continue" instead of restarting the target program. Use
4413 gdb_test_multiple and gdb_test for all tests.
4414
7b79a9d7
MK
44152004-01-01 Mark Kettenis <kettenis@gnu.org>
4416
4417 * gdb.asm/asm-source.exp: Update copyright year. Link statically
4418 for *-*-solaris2*.
4419
1cd3489f
MC
44202003-12-31 Michael Chastain <mec.gnu@mindspring.com>
4421
4422 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
4423 current versions of gcc, including gcc abi 2. Use "breakpoint"
4424 and "continue" instead of restarting the target program several
4425 times. Use gdb_test_multiple and gdb_test for all tests.
4426
850742db
MC
44272003-12-18 Michael Chastain <mec.gnu@mindspring.com>
4428
4429 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
4430 source files.
4431
eb4bbda8
MC
44322003-12-16 Michael Chastain <mec.gnu@mindspring.com>
4433
4434 * gdb.base/environ.exp: Handle compiling test case from multiple
4435 source files.
4436
e42c7771
MC
44372003-12-16 Michael Chastain <mec.gnu@mindspring.com>
4438
4439 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
4440
80e4b428
JB
44412003-12-17 Jim Blandy <jimb@redhat.com>
4442
5f06973a
JB
4443 * gdb.base/freebpcmd.c: Add copyright notice.
4444
80e4b428
JB
4445 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
4446
0ab84fb7
MC
44472003-12-16 Michael Chastain <mec.gnu@mindspring.com>
4448
4449 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
4450
1b3bb3d0
JB
44512003-12-13 Jim Blandy <jimb@redhat.com>
4452
4453 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
4454
3a4c9371
KB
44552003-12-12 Kevin Buettner <kevinb@redhat.com>
4456
4457 * gdb.asm/frv.inc: New file.
4458 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
4459
a1dea79a
FF
44602003-12-09 Fred Fish <fnf@redhat.com>
4461
4462 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
4463 functions to break1.c and leave prototypes behind. Add more
4464 "set breakpoint NN here" comments.
4465 * gdb.base/break1.c: New file.
4466
4467 * gdb.base/break.exp: Handle compiling test case from multiple
4468 source files and change source file references as needed.
4469 * gdb.base/completion.exp: Ditto.
4470 * gdb.base/condbreak.exp: Ditto.
4471 * gdb.base/define.exp: Ditto.
4472 * gdb.base/ena-dis-br.exp: Ditto.
4473 * gdb.base/info-proc.exp: Ditto.
4474 * gdb.base/maint.exp: Ditto.
4475 * gdb.base/until.exp: Ditto.
4476
4477 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
4478 hardcoded line numbers.
4479 * gdb.base/define.exp: Ditto.
4480 * gdb.base/ena-dis-br.exp: Ditto.
4481 * gdb.base/maint.exp: Ditto.
4482 * gdb.base/until.exp: Ditto.
4483
4484 * gdb.base/completion.exp: Use "break1" for completion tests since
4485 "break" is no longer a unique prefix.
4486
5266b69c
AC
44872003-12-06 Andrew Cagney <cagney@redhat.com>
4488
4489 * gdb.base/structs.exp (test_struct_returns): When applicable, set
4490 "return_value_unimplemented". When an unimplemented struct return
4491 architecture, report incorrect values as a KFAIL
4492
374451f0
MC
44932003-12-05 Michael Chastain <mec.gnu@mindspring.com>
4494
4495 * gdb.cp/rtti.exp: Accept new wording of warning from
4496 cp_lookup_rtti_type.
4497
ba9b20a7
MC
44982003-12-05 Michael Chastain <mec.gnu@mindspring.com>
4499
4500 Partial fix for PR testsuite/1456.
4501 * gdb.base/scope.exp (test_at_main): Replace references to
4502 gcc_compiled with calls to test_compiler_info.
4503 (test_at_foo): Likewise.
4504 (test_at_bar): Likewise.
4505
b74b6d0b
MC
45062003-12-04 Michael Chastain <mec.gnu@mindspring.com>
4507
4508 Partial fix for PR testsuite/1456.
4509 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
4510 to test_compiler_info.
4511
ccfa3402
MC
45122003-12-03 Michael Chastain <mec.gnu@mindspring.com>
4513
4514 * gdb.base/so-impl-ld.exp: Update copyright notice.
4515
f6246aba
MC
45162003-12-02 Michael Chastain <mec.gnu@mindspring.com>
4517
4518 Partial fix for PR testsuite/1456.
4519 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
4520 to test_compiler_info.
4521
13ae734a
MC
45222003-11-28 Michael Chastain <mec.gnu@mindspring.com>
4523
4524 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
4525 from current versions of gdb. Clean up regular expressions.
4526 Delete redundant timeout case.
4527
d8e1cdee
MC
45282003-11-28 Michael Chastain <mec.gnu@mindspring.com>
4529
4530 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
4531 from current versions of gdb. Clean up regular expressions.
4532 Delete redundant timeout case.
4533
96457b64
MC
45342003-12-01 Michael Chastain <mec.gnu@mindspring.com>
4535
4536 Partial fix for PR testsuite/1456.
4537 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
4538 gcc_compiled with call to test_compiler_info.
4539
f35309fc
MC
45402003-11-30 Michael Chastain <mec.gnu@mindspring.com>
4541
4542 Partial fix for PR testsuite/1456.
4543 * gdb.base/list.exp (test_list_function): Delete unused declaration
4544 of gcc_compiled.
4545
d7afdf9b
MC
45462003-11-29 Michael Chastain <mec.gnu@mindspring.com>
4547
4548 Partial fix for PR testsuite/1456.
4549 * gdb.base/complex.exp: Replace reference to gcc_compiled with
4550 call to test_compiler_info.
4551
71507b56
MK
45522003-11-29 Mark Kettenis <kettenis@gnu.org>
4553
4554 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
4555 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
4556 it to create the appropriate note.inc.
4557 * gdb.asm/asmsrc1.s: Include "note.inc".
4558 * gdb.asm/netbsd.inc: New file.
4559 * gdb.asm/empty.inc: New file.
4560
f81f93f7
MC
45612003-11-28 Michael Chastain <mec.gnu@mindspring.com>
4562
4563 Partial fix for PR testsuite/1456.
4564 * gdb.base/constvars.exp: Replace references to gcc_compiled with
4565 calls to test_compiler_info.
4566
9a77938e
MC
45672003-11-27 Michael Chastain <mec.gnu@mindspring.com>
4568
4569 Partial fix for PR testsuite/1456.
4570 * gdb.base/volatile.exp: Replace references to gcc_compiled with
4571 calls to test_compiler_info.
4572
e8367dc7
MK
45732003-11-27 Mark Kettenis <kettenis@gnu.org>
4574
4575 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
4576 pattern for the KFAILs.
4577
526c61ee
AF
45782003-11-25 Adam Fedor <fedor@gnu.org>
4579
4580 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
4581 * gdb.objc/objcdecode.m: New file.
4582
28f2d600
AF
45832003-11-25 Adam Fedor <fedor@gnu.org>
4584
4585 * gdb.objc/nondebug.exp: Test for PR objc/1236.
4586 * gdb.objc/nondebug.m: New file.
4587
a3895cee
BE
45882003-11-26 Ben Elliston <bje@wasabisystems.com>
4589
4590 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
4591 NetBSD as it does on FreeBSD. Modelled on a similar change by
4592 Mark Kettenis on 2003-05-30.
4593 (link-flags): Set to "--entry _start" regardless of target.
4594 Special linker flags are to be appended to $link-flags.
4595 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
4596
c9f2c8a3
MC
45972003-11-25 Michael Chastain <mec.gnu@mindspring.com>
4598
4599 * gdb.cp/method.exp: Accept output of new demangler.
4600
15a0587a 46012003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
4602
4603 * gdb/class2.exp: New file.
4604 * gdb/class2.cc: New file.
4605
3c00b570
MC
46062003-11-25 Michael Chastain <mec.gnu@mindspring.com>
4607
4608 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
4609 of new demangler.
4610
7027acc7
MK
46112003-11-23 Mark Kettenis <kettenis@gnu.org>
4612
4613 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
4614 of gdb_test "run".
4615
b0e1598a
MK
46162003-11-23 Mark Kettenis <kettenis@gnu.org>
4617
4618 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
4619 "continue" into "run".
4620
4d9eda44
MC
46212003-11-23 Michael Chastain <mec.gnu@mindspring.com>
4622
4623 Partial fix for PR testsuite/1456.
4624 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
4625 call to test_compiler_info.
4626 * gdb.cp/ctti.exp: Likewise.
4627 * gdb.cp/derivation.exp: Likewise.
4628 * gdb.cp/member-ptr.exp: Likewise.
4629 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
4630 reference to gcc_compiled.
4631
46322003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
4633
4634 Fix PR testsuite/1463.
4635 * gdb.base/structs.exp (start_structs_test): Call
4636 get_debug_format before using the debug format.
4637
d422fe19
AC
46382003-11-22 Andrew Cagney <cagney@redhat.com>
4639
4640 * lib/gdb.exp (gdb_test_multiple): Add simple example.
4641 * gdb.base/structs.exp: Use gdb_test_multiple.
4642
039cf96d
AC
46432003-11-20 Andrew Cagney <cagney@redhat.com>
4644
6882279b
AC
4645 * gdb.base/structs.exp: Handle and recover from internal errors.
4646 Replace "foo${n}" with "foo<n>" in test messages.
4647
e53890ae
AC
4648 * gdb.base/structs.exp: Update copyright. Rewrite.
4649 * gdb.base/structs.c: Update copyright. Rewrite.
4650
2b211c59
AC
4651 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
4652 resync count exceeded.
d63a86f8 4653
039cf96d
AC
4654 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
4655 from the internal error.
4656 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
4657 Original from Jim Blandy.
4658 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 4659
eac98b22
AC
46602003-11-19 Andrew Cagney <cagney@redhat.com>
4661
4662 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
4663 KFAIL.
4664
67455b2a
MK
46652003-11-17 Mark Kettenis <kettenis@gnu.org>
4666
4667 New testcase for PR backtrace/1435.
4668 * gdb.arch/i386-unwind.exp: New file.
4669 * gdb.arch/i386-unwind.c: New file.
4670
853d6e5b
AC
46712003-11-17 Andrew Cagney <cagney@redhat.com>
4672
4673 * lib/gdb.exp (compiler_info): New global.
4674 (test_compiler_info): New function.
4675 (get_compiler_info): Set compiler_info.
4676 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
4677 "compiler_info" to gcc-<major>-<minor>.
4678
38cf6e11
MC
46792003-11-15 Michael Chastain <mec.gnu@mindspring.com>
4680
4681 * gdb.trace/configure: Remove.
4682
a50d3602
EZ
46832003-11-13 Elena Zannoni <ezannoni@redhat.com>
4684
4685 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 4686 breakpoints.
a50d3602
EZ
4687 * gdb.base/break.exp: Remove all references to explicit line
4688 numbers.
4689
d9407aaa
NC
46902003-11-11 Nick Clifton <nickc@redhat.com>
4691
4692 * gdb.base/shreloc.exp: Do not run for targets which do not
4693 support shared objects.
4694
db488fc1
CV
46952003-11-10 Corinna Vinschen <vinschen@redhat.com>
4696
4697 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
4698 Don't run tests if nofileio flag is given.
4699
6a90a18e
EZ
47002003-11-07 Elena Zannoni <ezannoni@redhat.com>
4701
4702 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
4703 as well as 'Watchpoint'.
4704
0b915e9c
EZ
47052003-11-06 Elena Zannoni <ezannoni@redhat.com>
4706
4707 Reported by Jim Ingham <jingham@apple.com>:
4708 * gdb.base/annota1.exp: Match at least one occurrence of the
4709 signal handler annotation.
4710
d7e4b55f
EZ
47112003-11-06 Elena Zannoni <ezannoni@redhat.com>
4712
4713 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
4714 as well as 'Watchpoint'.
4715
2fe4e8d0
MC
47162003-11-05 Michael Chastain <mec@shout.net>
4717
4718 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
4719
6ef88553
KW
47202003-11-03 Kris Warkentin <kewarken@qnx.com>
4721
4722 * gdb.arch/gdb1291.c: New test file.
4723 * gdb.arch/gdb1291.exp: New test script.
4724 * gdb.arch/gdb1431.c: New test file.
4725 * gdb.arch/gdb1431.exp: New test script.
4726
ae7dc4d8
MC
47272003-10-22 Michael Chastain <mec@shout.net>
4728
4729 * gdb.mi/pthreads.c: Add copyright notice.
4730
c39d7427
MC
47312003-10-22 Michael Chastain <mec@shout.net>
4732
4733 * gdb.threads/pthreads.c: Add copyright notice.
4734
8b7d96c1
MC
47352003-10-20 Michael Chastain <mec@shout.net>
4736
4737 * gdb.base/gdb1056.exp: New test script.
4738
d1d69fdd
DJ
47392003-10-13 Daniel Jacobowitz <drow@mvista.com>
4740
4741 * gdb.threads/killed.exp: Use gdb_run_cmd.
4742
7d605576
DJ
47432003-10-13 Daniel Jacobowitz <drow@mvista.com>
4744
4745 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
4746 create a core file.
4747 * gdb.threads/gcore-thread.exp: Likewise.
4748
618ec112
CV
47492003-10-13 Corinna Vinschen <vinschen@redhat.com>
4750
4751 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
4752 type, based on char type.
4753 (struct bit_flags_short_t): New bitfield type, based on short type.
4754 (init_bit_flags_char): New fuction.
4755 (init_bit_flags_short): Ditto.
4756 (print_bit_flags_char): Ditto.
4757 (print_bit_flags_short): Ditto.
4758 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
4759
9367a73c
MC
47602003-10-11 Michael Chastain <mec@shout.net>
4761
4762 * gdb.base/call-rt-st.exp: Update copyright year.
4763
1decf120
KI
47642003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
4765
4766 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
4767 * gdb.disasm/sh3.s: Ditto.
4768
5445b2ae
DJ
47692003-10-07 Daniel Jacobowitz <drow@mvista.com>
4770
4771 * gdb.threads/switch-threads.exp: New test.
4772 * gdb.threads/switch-threads.c: New source file.
4773
aec24853
CV
47742003-10-07 Corinna Vinschen <vinschen@redhat.com>
4775
4776 * gdb.base/ending-run.exp: Add sh specific case.
4777
adc7428d
AC
47782003-10-06 Andrew Cagney <cagney@redhat.com>
4779
4780 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
4781 * gdb.disasm/mn10200.exp: Delete obsolete file.
4782
c9d37158
DJ
47832003-09-29 Daniel Jacobowitz <drow@mvista.com>
4784
4785 * ChangeLog: Correct an entry command.exp -> commands.exp.
4786 * gdb.base/commands.exp (bp_deleted_in_command_test)
4787 (temporary_breakpoint_commands): Check noargs.
4788
79c2c32d
DC
47892003-09-25 David Carlton <carlton@kealia.com>
4790
4791 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
4792 of some print tests, where appropriate. Add tests for C::D::cd,
4793 E::ce, F::cXfX, G::XgX.
4794 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
4795
594e6d67
RE
47962003-09-25 Richard Earnshaw <rearnsha@arm.com>
4797
4798 * lib/java.exp (java_init): Import target_alias before using it.
4799
10f0d451
DC
48002003-09-25 David Carlton <carlton@kealia.com>
4801
4802 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
4803
274bcba0
EZ
48042003-09-23 Elena Zannoni <ezannoni@redhat.com>
4805
d63a86f8 4806 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
4807 weirdness.
4808
cdbf20f7
MC
48092003-09-17 Michael Chastain <mec@shout.net>
4810
4811 * gdb.cp/gdb1355.exp: New file.
4812 * gdb.cp/gdb1355.c: New file.
4813
71e06f80
CV
48142003-09-15 Corinna Vinschen <vinschen@redhat.com>
4815
4816 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
4817 * gdb.asm/sh.inc: New file.
4818
5c4e30ca
DC
48192003-09-11 David Carlton <carlton@kealia.com>
4820
bd45b7af
DC
4821 * gdb.cp/namespace.exp: Add tests for namespace types.
4822 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
4823 (test_namespace): New.
4824
1c199746
EZ
48252003-09-11 Elena Zannoni <ezannoni@redhat.com>
4826
4827 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 4828 * gdb.stabs/weird.exp: Ditto.
1c199746 4829
04ed252f
MC
48302003-09-08 Michael Chastain <mec@shout.net>
4831
4832 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
4833
d8a2d9e7
MC
48342003-09-07 Michael Chastain <mec@shout.net>
4835
4836 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
4837 'parse error'.
4838
161afb24
MK
48392003-09-07 Mark Kettenis <m.kettenis@osp.nl>
4840
4841 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
4842
49f2741a
MC
48432003-08-30 Michael Chastain <mec@shout.net>
4844
4845 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
4846 * gdb.gdb/observer.exp: Ditto.
4847 * gdb.gdb/xfullpath.exp: Ditto.
4848
8afa723e
MK
48492003-08-29 Mark Kettenis <kettenis@gnu.org>
4850
4851 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
4852 *-*-*bsd*.
4853
f31dfe3b
JJ
48542003-08-28 Jeff Johnston <jjohnstn@redhat.com>
4855
4856 * gdb.base/dump.exp: Skip for ia64.
4857
4630e498
JJ
48582003-08-25 Jeff Johnston <jjohnstn@redhat.com>
4859
4860 * gdb.asm/asm-source.exp: Add ia64 support.
4861 * gdb.asm/ia64.inc: New file.
4862
1105b7ef
MC
48632003-08-22 Michael Chastain <mec@shout.net>
4864
4865 * gdb.cp: New directory.
4866 * gdb.cp/*: Copy from gdb.c++/*.
4867 * gdb.c++/*: Remove.
4868 * Makefile.in: Change gdb.c++ to gdb.cp.
4869 * configure.in: Ditto.
4870 * configure: Regnerate.
4871
c945b932
MK
48722003-08-18 Mark Kettenis <kettenis@gnu.org>
4873
4874 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
4875 * gdb.arch/i386-prologue.c (gdb1338): Add function.
4876
2b66634b
DJ
48772003-08-17 Daniel Jacobowitz <drow@mvista.com>
4878
4879 * mi-var-display.exp (-var-list-children weird): Accept function
4880 pointers with argument types.
4881 * mi1-var-display.exp (-var-list-children weird): Likewise.
4882 * mi2-var-display.exp (-var-list-children weird): Likewise.
4883
a356f73b
DJ
48842003-08-17 Daniel Jacobowitz <drow@mvista.com>
4885
4886 * gdb.base/annota3.exp: Add missing newline.
4887
483417b8
MC
48882003-08-06 Michael Chastain <mec@shout.net>
4889
4890 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
4891
c99c59c3
MS
48922003-08-12 Michael Snyder <msnyder@redhat.com>
4893
4894 * gdb.base/float.exp: Add test for SH.
4895
55ed7501
MK
48962003-08-10 Mark Kettenis <kettenis@gnu.org>
4897
4898 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
4899
1a371f2e
EZ
49002003-08-07 Elena Zannoni <ezannoni@redhat.com>
4901
4902 * gdb.base/completion.exp: Remove reduntant completion test
4903 on filename.
4904
e0f353ce
EZ
49052003-08-07 Elena Zannoni <ezannoni@redhat.com>
4906
4907 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
4908 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
4909 gdb.trace/save-trace.exp: Make sure that full pathnames are
4910 escaped correctly.
4911
5710a1af 49122003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 4913
5710a1af
EZ
4914 * configure.in: Don't generate config.h from config.hin.
4915 * configure: Regenerate.
4916 * config.hin: Remove file.
4917 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
4918 * gdb.threads/pthreads.c: Ditto.
4919
dcd81ce9
DJ
49202003-08-07 Daniel Jacobowitz <drow@mvista.com>
4921
4922 From Kei Sakamoto <sakamoto.kei@renesas.com>:
4923 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
4924 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
4925 Replace ld24 with seth/add3.
4926
6009d884
AC
49272003-08-02 Andrew Cagney <cagney@redhat.com>
4928
4929 * gdb.base/annota3.exp: New file.
4930 * gdb.base/annota3.c: New file.
4931 * gdb.c++/annota3.exp: New file.
4932 * gdb.c++/annota3.cc: New file.
4933
51514e06
MC
49342003-07-29 Michael Chastain <mec@shout.net>
4935
4936 * gdb.threads/tls.c (spin): Check errno only if sem_wait
4937 actually failed.
4938 (do_pass): Likewise.
4939 * gdb.threads/tls.exp: Always initialize no_of_threads.
4940
4ee6625b
DJ
49412003-07-27 Daniel Jacobowitz <drow@mvista.com>
4942
4943 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
4944 pattern.
4945 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
4946 * gdb.threads/tls.exp: Recognize one case of the host library not
4947 supporting TLS.
4948
225f2bf6
AC
49492003-07-27 Andrew Cagney <cagney@redhat.com>
4950
4951 * gdb.base/fileio.exp: Use SH when running commands using
4952 remote_exec.
4953
bcb27c9f
DJ
49542003-07-24 Daniel Jacobowitz <drow@mvista.com>
4955
4956 From Kei Sakamoto <sakamoto.kei@renesas.com>:
4957 * gdb.base/relocate.c (dummy): New padding array.
4958
3d67be83
MS
49592003-07-22 Michael Snyder <msnyder@redhat.com>
4960
d63a86f8 4961 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
4962
4963 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
4964 patterns to be more general, accepting old and new output.
4965 Some output chars (such as '+') also must be quoted.
d63a86f8 4966 Some addresses are displayed numerically instead of
3d67be83
MS
4967 symbolically.
4968
57ba3b85
MS
49692003-07-23 Michael Snyder <msnyder@redhat.com>
4970
686d097c
MS
4971 * gdb.base/return2.exp: Don't test long-long return.
4972
57ba3b85
MS
4973 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
4974 * gdb.disasm/t01_mov.exp: Ditto.
4975 * gdb.disasm/t02_mova.s: Ditto.
4976 * gdb.disasm/t02_mova.exp: Ditto.
4977 * gdb.disasm/t03_add.s: Ditto.
4978 * gdb.disasm/t03_add.exp: Ditto.
4979 * gdb.disasm/t04_sub.s: Ditto.
4980 * gdb.disasm/t04_sub.exp: Ditto.
4981 * gdb.disasm/t05_cmp.s: Ditto.
4982 * gdb.disasm/t05_cmp.exp: Ditto.
4983 * gdb.disasm/t06_ari2.s: Ditto.
4984 * gdb.disasm/t06_ari2.exp: Ditto.
4985 * gdb.disasm/t07_ari3.s: Ditto.
4986 * gdb.disasm/t07_ari3.exp: Ditto.
4987 * gdb.disasm/t08_or.s: Ditto.
4988 * gdb.disasm/t08_or.exp: Ditto.
4989 * gdb.disasm/t09_xor.s: Ditto.
4990 * gdb.disasm/t09_xor.exp: Ditto.
4991 * gdb.disasm/t10_and.s: Ditto.
4992 * gdb.disasm/t10_and.exp: Ditto.
4993 * gdb.disasm/t11_logs.s: Ditto.
4994 * gdb.disasm/t11_logs.exp: Ditto.
4995 * gdb.disasm/t12_bit.s: Ditto.
4996 * gdb.disasm/t12_bit.exp: Ditto.
4997 * gdb.disasm/t13_otr.s: Ditto.
4998 * gdb.disasm/t13_otr.exp: Ditto.
4999
e00759ef
EZ
50002003-07-22 Elena Zannoni <ezannoni@redhat.com>
5001
5002 * gdb.threads/tls.exp :Add kfail for 'info address' case.
5003
8bc2021f
EZ
50042003-07-22 Elena Zannoni <ezannoni@redhat.com>
5005
5006 * gdb.threads/tls.c : New file.
5007 * gdb.threads/tls.exp : New file.
5008 * gdb.threads/tls-main.c : New file.
5009 * gdb.threads/tls-shared.c : New file.
5010 * gdb.threads/tls-shared.exp : New file.
5011
89320c4c
AS
50122003-07-22 Andreas Schwab <schwab@suse.de>
5013
5014 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
5015
180dea7c
AS
50162003-07-20 Andreas Schwab <schwab@suse.de>
5017
5018 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
5019 due to insn reordering.
5020
0714963c
AC
50212003-07-15 Andrew Cagney <cagney@redhat.com>
5022
5023 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
5024
98a23b3f
MC
50252003-07-15 Michael Chastain <mec@shout.net>
5026
5027 * gdb.base/gdb1250.exp: New file.
5028 * gdb.base/gdb1250.c: New file.
5029
27e417a2
ML
50302003-07-09 Michal Ludvig <mludvig@suse.cz>
5031
5032 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
5033 expansion of size_t to 'unsigned long', not only to 'unsigned'.
5034
8bc2021f
EZ
50352003-07-09 Elena Zannoni <ezannoni@redhat.com>
5036
5037 * gdb.threads/tls.c: New file.
5038 * gdb.threads/tls.exp: New file.
5039 * gdb.threads/tls-main.c: New file.
5040 * gdb.threads/tls-shared.c: New file.
5041 * gdb.threads/tls-shared.exp: New file.
5042
d99968dc
EZ
50432003-07-09 Elena Zannoni <ezannoni@redhat.com>
5044
5045 * gdb.base/annota1.exp: Make sure that we properly escape the
5046 full path of the source file. Xfail more permissive patterns,
d63a86f8 5047 due to a compiler debug info problem.
d99968dc 5048
83876b3b
AS
50492003-07-07 Andreas Schwab <schwab@suse.de>
5050
2705e972
AS
5051 * gdb.asm/m68k.inc: New file.
5052 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
5053
83876b3b
AS
5054 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
5055 arguments"): Also match negative number.
5056
5057 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
5058
3a871b37
DJ
50592003-07-03 Daniel Jacobowitz <drow@mvista.com>
5060
5061 * gdb.base/store.c (charest): New typedef.
5062 (add_char): Rename to add_charest, update.
5063 (wack_char): Rename to wack_charest, update types. Return l + r
5064 to keep r live across the call.
5065 (wack_short, wack_int, wack_long, wack_longest, wack_float)
5066 (wack_double, wack_doublest): Return l + r to keep r live across
5067 the call.
5068 * gdb.base/store.exp: Accomodate store.c changes.
5069
b2a7f303
DC
50702003-06-30 David Carlton <carlton@kealia.com>
5071
5072 * gdb.c++/maint.exp (test_invalid_name): New.
5073 (test_first_component): Add tests for invalid names.
5074
3c6cb4a1
MC
50752003-06-29 Michael Chastain <mec@shout.net>
5076
5077 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
5078 output of '<VTT for class>' for virtual base classes.
5079
f1c2644b
DJ
50802003-06-29 Daniel Jacobowitz <drow@mvista.com>
5081
5082 * gdb.base/completion.exp: Tab-complete "complet" instead of
5083 "compl".
5084 * gdb.base/complex.exp, gdb.base/complex.c: New files.
5085
18080350
DJ
50862003-06-29 Daniel Jacobowitz <drow@mvista.com>
5087
5088 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
5089 * gdb.base/volatile.exp: Likewise.
5090
f56973f8
DJ
50912003-06-29 Daniel Jacobowitz <drow@mvista.com>
5092
5093 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
5094 gdb/1265.
5095
50962003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
5097 Daniel Jacobowitz <drow@mvista.com>
5098
5099 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
5100 initial line count of 'captured_main' from 26 to 32.
5101 (test_with_self): Allow xmalloc call to be interleaved with the
5102 preceding two lines.
5103
e766d4d6
JB
51042003-06-24 Joel Brobecker <brobecker@gnat.com>
5105
5106 * gdb.base/bang.exp: New testcase.
5107
f125c9a4
JB
51082003-06-23 Joel Brobecker <brobecker@gnat.com>
5109
5110 * gdb.base/langs.exp: Add some tests for the "minimal" language
5111 support.
5112
6e25beaf
EZ
51132003-06-23 Elena Zannoni <ezannoni@redhat.com>
5114
5115 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
5116 the testcase.
5117
2f816dda
DJ
51182003-06-22 Daniel Jacobowitz <drow@mvista.com>
5119
5120 * gdb.base/relocate.exp: Test add-symbol-file with a variable
5121 offset.
5122
db5a5748
DJ
51232003-06-22 Daniel Jacobowitz <drow@mvista.com>
5124
5125 * gdb.c++/pr-1210.cc: New file.
5126 * gdb.c++/pr-1210.exp: New file.
5127
1df0c130
DJ
51282003-06-21 Daniel Jacobowitz <drow@mvista.com>
5129
5130 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
5131 000-exec-continue.
5132
a92feac0
MK
51332003-06-15 Mark Kettenis <kettenis@gnu.org>
5134
5135 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
5136 on *-*-*bsd* instead of *-*-freebsd*.
5137
81a58f5b
AC
51382003-06-14 Andrew Cagney <cagney@redhat.com>
5139
5140 * gdb.base/store.exp: Test longest and doublest. Test all
5141 parameters. Weaken return statement match.
5142 * gdb.base/store.c: Add longest and doublest - aka long long and
5143 long double functions. Put all parameters into local register
5144 variables. Use negative values.
5145
b257a0d3
AC
51462003-06-14 Andrew Cagney <cagney@redhat.com>
5147
5148 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
5149 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
5150 exit status.
5151 * gdb.base/fileio.exp: Disable target when nointerrupts and
5152 noinferiorio, instead of limiting it to remote. Use remote_exec
5153 instead of system.
d63a86f8 5154
21c38304
JJ
51552003-06-12 Jeff Johnston <jjohnstn@redhat.com>
5156
5157 * gdb.base/float.exp: Add ia64 support.
5158
1bcdb424
CV
51592003-06-12 Corinna Vinschen <vinschen@redhat.com>
5160
5161 * gdb.base/fileio.exp: Run only on remote targets.
5162
6aeb981f
CV
51632003-06-10 Corinna Vinschen <vinschen@redhat.com>
5164
5165 * gdb.base/fileio.c: New file, testing File-I/O.
5166 * gdb.base/fileio.exp: Ditto.
5167
53df362e
RG
51682003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
5169
5170 * gdb.base/shreloc.exp: New file, check symbol values obtained from
5171 shared objects after relocation at load time (gdb PR/1132).
5172 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
5173 as above, part of the shared object relocation test.
5174
ffee1b46
MK
51752003-06-08 Mark Kettenis <kettenis@gnu.org>
5176
b5ca3722
MK
5177 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
5178 fully filled history list.
5179 * gdb.base/gdb_history: New file.
5180
03ed860d
MK
5181 * gdb.base/signals.exp: XFAIL "continue to func1" on
5182 i*86-*-freebsd*.
5183
ffee1b46
MK
5184 * gdb.base/attach.exp: When trying to attach to a nonexistent
5185 process, make it possible to specify the PID based on the target,
5186 and do so for *-*-freebsd*.
5187
d80dbb52
RH
51882003-06-02 Richard Henderson <rth@redhat.com>
5189
5190 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
5191
6dd77b81
RH
51922003-06-02 Richard Henderson <rth@redhat.com>
5193
5194 * gdb.base/selftest.exp: Next over lim_at_start initialization.
5195
f6347e16
RH
51962003-06-02 Richard Henderson <rth@redhat.com>
5197
5198 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
5199
2c161407
DJ
52002003-06-01 Daniel Jacobowitz <drow@mvista.com>
5201
5202 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
5203 of globalvar.
5204
572eb746
MK
52052003-06-01 Mark Kettenis <kettenis@gnu.org>
5206
5207 * gdb.asm/asm-source.exp: Check for memory read errors in
5208 disassembler test on *BSD too.
5209
9e9617a5
RH
52102003-06-01 Richard Henderson <rth@redhat.com>
5211
5212 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
5213 for .frame.
5214 (gdbasm_call): Lose ldgp.
5215 (gdbasm_startup): Add frame information.
5216 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
5217
7b34ad4e
MK
52182003-05-31 Mark Kettenis <kettenis@gnu.org>
5219
5220 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
5221 i?86-*-*.
5222
10059fdf
MK
52232003-05-30 Mark Kettenis <kettenis@gnu.org>
5224
5225 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
5226 FreeBSD.
5227
acf4b816
RH
52282003-05-29 Richard Henderson <rth@redhat.com>
5229
5230 * gdb.asm/alpha.inc: New file.
5231 * gdb.asm/asm-source.exp: Use it.
5232
e9ecd949
JB
52332003-05-29 Jim Blandy <jimb@redhat.com>
5234
5235 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
5236 'core.PID'.
5237
e3e5a4f3
JB
52382003-05-22 Jim Blandy <jimb@redhat.com>
5239
5240 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
5241 backtrace.
d63a86f8 5242
72fe3d25
DC
52432003-05-20 David Carlton <carlton@math.stanford.edu>
5244
5245 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
5246 this time.
5247
58da2eb2
DC
52482003-05-19 David Carlton <carlton@bactrian.org>
5249
5250 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
5251 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
5252
1fcb5155
DC
52532003-05-19 David Carlton <carlton@bactrian.org>
5254
5255 * gdb.c++/namespace.exp: Add namespace scope and anonymous
5256 namespace tests.
5257 Bump copyright date.
5258 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
5259 (main): Call C::D::marker2.
5260 * gdb.c++/namespace1.cc: New file.
5261
85e85163
JJ
52622003-05-14 Jeff Johnston <jjohnstn@redhat.com>
5263
5264 Roland McGrath <roland@redhat.com>
d63a86f8 5265 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
5266 there is no manager thread.
5267
a25fbfec
JJ
52682003-05-08 Jeff Johnston <jjohnstn@redhat.com>
5269
d63a86f8
RM
5270 * gdb.threads/schedlock.exp: Remove assumption that all threads
5271 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
5272 in one of the child threads rather than the main thread.
5273
be375bae
JB
52742003-05-07 Jim Blandy <jimb@redhat.com>
5275
09bf6082
JB
5276 Add support for assembly source testing on the s390x.
5277 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
5278 architecture.
5279 * gdb.asm/s390x.inc: New file.
5280
be375bae
JB
5281 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
5282 succession of 'if' statements.
5283
00905d52
AC
52842003-05-05 Andrew Cagney <cagney@redhat.com>
5285
5286 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
5287
b1e29e33
AC
52882003-05-05 Andrew Cagney <cagney@redhat.com>
5289
5290 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
5291 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
5292
e33d66ec
EZ
52932003-05-02 Elena Zannoni <ezannoni@redhat.com>
5294
5295 * gdb.base/charset.exp: Update based on new behavior of set/show
5296 charset commands.
5297
2b6fd0d8
AC
52982003-05-01 Andrew Cagney <cagney@redhat.com>
5299
5300 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
5301 variable do not give memory errors.
5302
130cacce
AF
53032003-04-30 Adam Fedor <fedor@gnu.org>
5304
5305 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
5306 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
5307 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
5308 gdb.objc/basicclass.m: : New files
5309
5310 * lib/gdb.exp (gdb_compile_objc): New procedure.
5311
bea71854
DJ
53122003-04-27 Daniel Jacobowitz <drow@mvista.com>
5313
5314 * gdb.base/signals.exp: Make backtrace tests more specific.
5315
0f20eeea
DC
53162003-04-23 David Carlton <carlton@bactrian.org>
5317
5318 * gdb.c++/maint.exp (test_first_component): Add tests for
5319 'operator' in more locations.
5320
c8c4d8dc
KB
53212003-04-16 Kevin Buettner <kevinb@redhat.com>
5322
5323 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
5324
3fe60e3c
EZ
53252003-04-16 Elena Zannoni <ezannoni@redhat.com>
5326
5327 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
5328 func marke' instead. Update test name.
5329
9219021c
DC
53302003-04-15 David Carlton <carlton@math.stanford.edu>
5331
5332 * gdb.c++/maint.exp: New file.
5333
5dd55bdd
EZ
53342003-04-14 Elena Zannoni <ezannoni@redhat.com>
5335
5336 * gdb.threads/schedlock.c: Change type of thread function argument
5337 to long, to avoid warnings on 64-bit platforms.
5338
00890572
EZ
53392003-04-14 Elena Zannoni <ezannoni@redhat.com>
5340
5341 * gdb.base/attach.exp: Add new message from ptrace in case of
5342 attaching to nonexistent process.
d63a86f8 5343
93201743
JB
53442003-04-11 Jim Blandy <jimb@redhat.com>
5345
5346 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
5347 gdb.c++/userdef.cc: Place comments on the lines to which the
5348 marker function might return.
5349 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
5350 gdb.c++/userdef.exp: Look for those comments to check that we've
5351 returned to the right place, instead of checking line numbers.
5352
2a11c64d
EZ
53532003-04-11 Elena Zannoni <ezannoni@redhat.com>
5354
5355 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
5356 match on sourcefile name, instead of directory name.
5357
68ab8fc5
EZ
53582003-04-10 Elena Zannoni <ezannoni@redhat.com>
5359
d63a86f8 5360 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
5361 working directory name.
5362
5624293a
JB
53632003-04-09 Jim Blandy <jimb@redhat.com>
5364
5365 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
5366 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
5367 after an inferior function call, report the failure, but allow the
5368 test to continue.
5369
f1f02ee4
SC
53702003-04-05 Stephane Carrez <stcarrez@nerim.fr>
5371
5372 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
5373 with -DPROTOTYPES.
5374
6eb79af0
SC
53752003-04-05 Stephane Carrez <stcarrez@nerim.fr>
5376
5377 * gdb.base/break.exp: Revert last patch.
5378
8dfb4cf0
SC
53792003-04-04 Stephane Carrez <stcarrez@nerim.fr>
5380
5381 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
5382 with -DPROTOTYPES.
5383
ed4c619a
AC
53842003-04-02 Andrew Cagney <cagney@redhat.com>
5385
5386 * gdb.base/callfuncs.exp: Make "print add" messages unique.
5387 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
5388 matching directories by the name breakpoint.
5389 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
5390 Make "continue to marker1" consistent.
5391 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
5392 message consistent.
5393 * lib/gdb.exp: Put "the program is no longer running", and "the
5394 program exited" in parenthesis.
5395 * lib/mi-support.exp: Ditto.
d63a86f8 5396
4e35d5f0 53972003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 5398
4e35d5f0
BR
5399 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
5400
71900fe8
AC
54012003-03-29 Andrew Cagney <cagney@redhat.com>
5402
5403 * gdb.base/sizeof.c (main): Print the value of '\377'.
5404 * gdb.base/sizeof.exp: Check the sign of '\377'.
5405
c0655a16
MC
54062003-03-27 Michael Chastain <mec@shout.net>
5407
5408 * gdb.base/gdb1090.exp: New file.
5409 * gdb.base/gdb1090.cc: New file.
5410
5b2a3989
JB
54112003-03-27 J. Brobecker <brobecker@gnat.com>
5412
5413 * gdb.gdb/observer.exp: New regression test.
5414
79876890
MC
54152003-03-27 Michael Chastain <mec@shout.net>
5416
5417 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
5418 * gdb.base/ptype.exp: Likewise.
5419
6eac95e3
CV
54202003-03-27 Corinna Vinschen <vinschen@redhat.com>
5421
5422 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
5423
e8c71839
MC
54242003-03-26 Michael Chastain <mec@shout.net>
5425
5426 * gdb.base/ptype.exp: Actually use some typedef'd types.
5427
71b10041
SC
54282003-03-21 Stephane Carrez <stcarrez@nerim.fr>
5429
5430 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
5431 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
5432
2512cf80
CV
54332003-03-20 Corinna Vinschen <vinschen@redhat.com>
5434
5435 * gdb.base/default.exp: Fix regular expression.
5436
0d195a4f
CV
54372003-03-20 Corinna Vinschen <vinschen@redhat.com>
5438
5439 * gdb.base/args.exp: Fix regular expression.
5440
8a2dbca8
CV
54412003-03-20 Corinna Vinschen <vinschen@redhat.com>
5442
5443 * gdb.base/help.exp: Allow Win32 child process.
5444
bf028682
CV
54452003-03-20 Corinna Vinschen <vinschen@redhat.com>
5446
5447 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
5448 when stepping out of main().
5449
182dbe85
CV
54502003-03-20 Corinna Vinschen <vinschen@redhat.com>
5451
5452 * gdb.base/default.exp: Check for win32 specific message when calling
5453 "run" without executable.
5454
d67a6ba5
CV
54552003-03-20 Corinna Vinschen <vinschen@redhat.com>
5456
5457 * gdb.base/args.exp: Expect .exe in output.
5458
a955b5bb
CV
54592003-03-20 Corinna Vinschen <vinschen@redhat.com>
5460
5461 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
5462 Cygwin native.
5463
bf6bad4b
AC
54642003-03-17 Andrew Cagney <cagney@redhat.com>
5465
5466 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
5467 vector registes.
5468 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
5469 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
5470
293e9a31
DC
54712003-03-17 David Carlton <carlton@math.stanford.edu>
5472
5473 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
5474 test, for PR breakpoints/38.
5475 Call test_watchpoint_and_breakpoint.
5476 * gdb.base/watchpoint.c (func3): New function.
5477 (main): Call func3.
5478
5330f2db
DC
54792003-03-04 David Carlton <carlton@math.stanford.edu>
5480
5481 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
5482 Garply<Garply<char> >:: garply".
5483 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
5484 with respect to PR c++/1111; note also PR c++/1113.
5485 (test_template_breakpoints): KFAIL "constructor breakpoint" with
5486 respect to PR c++/1062.
5487 KFAIL "destructor breakpoint" with respect to PR c++/1112.
5488
6ece72da
DC
54892003-03-03 David Carlton <carlton@math.stanford.edu>
5490
5491 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
5492 with respect to PR c++/57.
5493 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
5494 c++/826.
5495 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
5496 respect to PR c++/57.
5497
85ca1584
DC
54982003-03-03 David Carlton <carlton@math.stanford.edu>
5499
5500 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
5501 respect to PR c++/33 into FAILs.
5502
98e9c5b8
MC
55032003-03-03 Michael Chastain <mec@shout.net>
5504
7bedbf27
MC
5505 * configure.in: Update copyright years.
5506
55072003-03-03 Michael Chastain <mec@shout.net>
5508
5509 * Makefile.in: Update copyright years.
98e9c5b8 5510
f683e100
DC
55112003-02-28 David Carlton <carlton@math.stanford.edu>
5512
5513 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
5514 print class instead of struct and/or superfluous protection
5515 specifiers, as long as the resulting output is equivalent to the
5516 source code.
5517 Delete FIXME from end of messages on tests that don't need
5518 fixing.
5519
a9e0cf2c
DC
55202003-02-28 David Carlton <carlton@math.stanford.edu>
5521
5522 * gdb.c++/templates.exp (do_tests): Allow const in the two
5523 Foo<volatile char *>::foo tests.
5524
e8d359df
MS
55252003-02-27 Michael Snyder <msnyder@redhat.com>
5526
d63a86f8 5527 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
5528 will be consistant.
5529
0b71dc91
DC
55302003-02-26 David Carlton <carlton@math.stanford.edu>
5531
5532 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
5533 char *>::foo" test with respect to PR c++/33. Create a new test
5534 which is identical to that one except that it doesn't put the
5535 space between the "char" and the "*"; KFAIL it, too.
5536
dd14ab43
DC
55372003-02-26 David Carlton <carlton@math.stanford.edu>
5538
5539 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
5540 template types into either PASSes or KFAILs (corresponding to PR
5541 c++/57). Tweak indentation. Update copyright.
5542
1146c7f1
SC
55432003-02-23 Stephane Carrez <stcarrez@nerim.fr>
5544
5545 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
5546
74641dfb
MC
55472003-02-13 Michael Chastain <mec@shout.net>
5548
5549 * gdb.base/exprs.exp: Remove i960 remnants.
5550 * gdb.base/funcargs.exp: Likewise.
5551 * gdb.base/list.exp: Likewise.
5552 * gdb.base/ptype.exp: Likewise.
5553
559cd2d0
DC
55542003-02-14 David Carlton <carlton@math.stanford.edu>
5555
5556 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
5557 pEe->D::vg()" from XFAIL to KFAIL.
5558
c4f90d87
JM
55592003-02-13 Jason Molenda (jmolenda@apple.com)
5560
5561 * gdb.base/maint.exp: Update maint print statistics regexp to include
5562 new entries.
5563
cbc4d97c
MC
55642003-02-13 Michael Chastain <mec@shout.net>
5565
5566 * gdb.c++/inherit.exp: Remove call to get_debug_format.
5567
40f235b7
MC
55682003-02-12 Michael Chastain <mec@shout.net>
5569
5570 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
5571 * gdb.c++/inherit.exp: Likewise.
5572 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
5573 * gdb.c++/templates.exp: Likewise.
5574 * gdb.c++/virtfunc.exp: Likewise.
5575
c56716b0
JM
55762003-02-06 Jason Molenda (jason-cl@molenda.com)
5577
5578 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
5579 why the code is written that way.
5580
070afcf8
MC
55812003-02-05 Michael Chastain <mec@shout.net>
5582
5583 * gdb.base/dump.exp: Add missing copyright line.
5584
5d0331e5
JM
55852003-02-05 Jason Molenda (jason-cl@molenda.com)
5586
f7ae6d3e 5587 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
5588 at the beginning so the breakpoint doesn't get set on the loop.
5589
92851186
MC
55902003-02-05 Michael Chastain <mec@shout.net>
5591
5592 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
5593 output for configurations with gcc 2.95.3.
5594
cbf1e085
AC
55952003-02-05 Keith Seitz <keiths@redhat.com>
5596 Andrew Cagney <ac131313@redhat.com>
5597
5598 * gdb.mi/mi-cli.exp: New file.
d63a86f8 5599
29518e1e
MC
56002003-02-04 Michael Chastain <mec@shout.net>
5601
5602 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
5603 Call perror and then continue.
5604
5af1d5f3
MC
56052003-02-03 Michael Chastain <mec@shout.net>
5606
5607 * gdb.c++/pr-1023.cc: New file.
5608 * gdb.c++/pr-1023.exp: New file.
5609
6b549786
JB
56102003-02-05 Jim Blandy <jimb@redhat.com>
5611
5612 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
5613 it's local to foobar. Check for it there, and check that it's not
5614 present in main.
5615 * gdb.c++/local.cc (marker2): New function.
5616 (foobar): Call marker1.
5617 (main): Call marker2 instead of marker1.
5618
67f16606
AC
56192003-02-04 Andrew Cagney <ac131313@redhat.com>
5620
5621 * gdb.disasm/mn10200.exp: Obsolete file.
5622 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
5623 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
5624 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
5625
1c5cb38e
DC
56262003-02-04 David Carlton <carlton@math.stanford.edu>
5627
5628 * gdb.c++/overload.exp: Test intToChar(1).
5629 * gdb.c++/overload.cc (intToChar): New.
5630 (main): Call intToChar.
5631
d1fe6965
DC
56322003-02-03 David Carlton <carlton@math.stanford.edu>
5633
5634 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
5635 'might_kfail' arg.
5636 KFAIL some of the continue_to_bp_overloaded calls, according to
5637 PR c++/1025.
5638
9ba61c5d
MC
56392003-02-01 Michael Chastain <mec@shout.net>
5640
5641 * gdb.base/advance.c (marker1): New marker function.
5642 * gdb.base/advance.exp: When the 'advance' command lands on the
5643 return breakpoint, it can legitimately stop on either the
5644 current line or the next line. Accommodate both outcomes.
5645 * gdb.base/until.exp: Likewise.
5646
e7494ffb
AC
56472003-02-02 Andrew Cagney <ac131313@redhat.com>
5648
5649 2002-11-10 Jason Molenda (jason-cl@molenda.com):
5650 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
5651 now a list, not a tuple.
5652 * gdb.mi/mi-var-display.exp: Ditto.
5653 * gdb.mi/gdb792.exp: Ditto.
5654
075559bc
AC
56552003-02-01 Andrew Cagney <ac131313@redhat.com>
5656
5657 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
5658 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
5659 stack backtraces.
5660 * gdb.mi/mi-syn-frame.c: Part of same.
5661
2bd4c7b1
MK
56622003-02-01 Mark Kettenis <kettenis@gnu.org>
5663
5664 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
5665 gdb.mi/mi1-pthreads.exp: Return instead of calling
5666 gdb_suppress_entire_file.
5667
eabd8992
MS
56682003-02-01 Mark Salter <msalter@redhat.com>
5669
5670 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
5671
71469e2f
MS
56722003-01-31 Mark Salter <msalter@redhat.com>
5673
5674 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
5675 Support empty arg.
5676
38a94d44
MC
56772003-01-30 Michael Chastain <mec@shout.net>
5678
5679 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
5680 This was a workaround for a UTF-8 bug in readline 4.3. The bug
5681 has been fixed in gdb/readline on 2003-01-09.
5682
19ea9e73
MS
56832003-01-29 Michael Snyder <msnyder@redhat.com>
5684
e8d359df
MS
5685 * gdb.base/maint.exp: Allow for leading underscore in symbol.
5686 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
5687 * gdb.base/args.exp: Skip if target does not support args passing.
5688
2307bd6a
DJ
56892003-01-22 Daniel Jacobowitz <drow@mvista.com>
5690
19ea9e73 5691 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
5692 gdb_test. Accept a list of expect arguments as the third
5693 parameter.
5694 (gdb_test): Use it.
5695
f2dd3617
EZ
56962003-01-20 Elena Zannoni <ezannoni@redhat.com>
5697
5698 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
5699 allow for different test tree configurations. Update some
5700 tescases accordingly.
5701 * gdb.arch/altivec-regs.exp: Ditto.
5702 * gdb.asm/asm-source.exp: Ditto.
5703 * gdb.base/advance.exp: Ditto.
5704 * gdb.base/display.exp: Ditto.
d63a86f8 5705 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
5706 * gdb.base/mips_pro.exp: Ditto.
5707 * gdb.base/overlays.exp: Ditto.
5708 * gdb.base/relocate.exp: Ditto.
5709 * gdb.base/setshow.exp: Ditto.
5710 * gdb.base/step-line.exp: Ditto.
5711 * gdb.base/step-test.exp: Ditto.
5712 * gdb.base/until.exp: Ditto.
5713 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
5714
c71cdefd
DC
57152003-01-17 David Carlton <carlton@math.stanford.edu>
5716
5717 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
5718 corresponding to PR c++/945.
5719 Update copyright.
5720
fdba05d7
DC
57212003-01-17 David Carlton <carlton@math.stanford.edu>
5722
5723 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
5724 corresponding to PR c++/68.
5725
57262003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
5727
5728 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
5729 (test_paddr_hairy_functions): Call print_addr_2_kfail for
5730 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
5731
c362c33a
EZ
57322003-01-15 Elena Zannoni <ezannoni@redhat.com>
5733
0fbc361c
EZ
5734 * gdb.base/break.exp: Fix change of default location, because of
5735 removal of until tests.
5736 * gdb.base/help.exp: Update test for new 'until' help message.
5737 Add test for help on 'advance'.
c362c33a
EZ
5738 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
5739
dabf8a35
MK
57402003-01-15 Mark Kettenis <kettenis@gnu.org>
5741
5742 * gdb.base/default.exp: Adapt "info float" test for recent changes
5743 to that command. Add test for "info vector".
5744 * gdb.base/float.exp: New file. Add test for "info float" that
5745 resembles the old test in gdb.base/default.exp.
5746
a1769aca
DC
57472003-01-15 David Carlton <carlton@math.stanford.edu>
5748
5749 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
5750
82025e13
EZ
57512003-01-15 Elena Zannoni <ezannoni@redhat.com>
5752
5753 * gdb.base/break.exp: Move the tests of until command from here...
5754 * gdb.base/until.exp: ... to here. New file. Add other tests.
5755 * gdb.base/advance.c: New file.
5756 * gdb.base/advance.exp: New file.
5757
8f9ab801
EZ
57582003-01-14 Elena Zannoni <ezannoni@redhat.com>
5759
5760 * gdb.base/args.c: New file.
5761 * gdb.base/args.exp: New file.
5762
9ae66589
DJ
57632003-01-14 Daniel Jacobowitz <drow@mvista.com>
5764
5765 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
5766
8d77e5c3
DJ
57672003-01-14 Daniel Jacobowitz <drow@mvista.com>
5768
5769 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
5770
12d2f0a1
DJ
57712003-01-14 Daniel Jacobowitz <drow@mvista.com>
5772
5773 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
5774 dates.
5775
6ca37014
DJ
57762003-01-13 Daniel Jacobowitz <drow@mvista.com>
5777
5778 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
5779
b0023472
DJ
57802003-01-13 Daniel Jacobowitz <drow@mvista.com>
5781
5782 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
5783 (ptype &*"foo").
5784 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
5785
607fbc54 57862003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
5787
5788 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
5789 * gdb.mi/mi1-console.exp: Likewise.
5790
607fbc54 57912003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
5792
5793 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
5794 * gdb.mi/mi1-console.exp: Likewise.
5795
a1fb14a2
DJ
57962003-01-13 Daniel Jacobowitz <drow@mvista.com>
5797
5798 * gdb.c++/overload.exp: Remove some fixed XFAILs.
5799
c4cf40b7
DJ
58002003-01-09 Daniel Jacobowitz <drow@mvista.com>
5801
5802 * gdb.base/detach.exp: New test.
5803
696d5a5b
DJ
58042003-01-09 Daniel Jacobowitz <drow@mvista.com>
5805
5806 * Makefile.in (ALL_SUBDIRS): New variable.
5807 (subdirs, clean, distclean): Use it.
5808 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
5809 regenerating Makefile, since it is generated from the top level.
5810 * gdb.asm/Makefile.in: Likewise.
5811 * gdb.base/Makefile.in: Likewise.
5812 * gdb.c++/Makefile.in: Likewise.
5813 * gdb.disasm/Makefile.in: Likewise.
5814 * gdb.java/Makefile.in: Likewise.
5815 * gdb.mi/Makefile.in: Likewise.
5816 * gdb.threads/Makefile.in: Likewise.
5817 * gdb.trace/Makefile.in: Likewise.
5818
754533e4
DC
58192003-01-09 David Carlton <carlton@math.stanford.edu>
5820
5821 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
5822 Add copyright year 2003.
5823
d8b3e9ee
MC
58242003-01-06 Michael Chastain <mec@shout.net>
5825
5826 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
5827 When selecting a thread, 'line' and 'file' are optional.
5828 * gdb.mi/mi1-pthreads.exp: Likewise.
5829
8e9e0fe6
AS
58302003-01-06 Andreas Schwab <schwab@suse.de>
5831
5832 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
5833 failures.
5834
b5ab8ff3
DJ
58352003-01-04 Daniel Jacobowitz <drow@mvista.com>
5836
5837 Fix PR gdb/844
5838 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
5839 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
5840
5841 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
5842 instead of calling gdb_suppress_entire_file.
5843 * gdb.threads/print-threads.exp: Likewise.
5844 * gdb.threads/schedlock.exp: Likewise.
5845
5846 * gdb.threads/killed.exp: Return instead of calling
5847 gdb_suppress_entire_file.
5848 * gdb.threads/linux-dp.exp: Likewise.
5849 * gdb.threads/pthreads.exp: Likewise.
5850
1e698235
DJ
58512003-01-04 Daniel Jacobowitz <drow@mvista.com>
5852
5853 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
5854 stabs.
5855 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
5856 * gdb.base/whatis.exp: Always allow (void) after function names.
5857
147ff08c
DJ
58582003-01-04 Daniel Jacobowitz <drow@mvista.com>
5859
5860 * gdb.c++/casts.exp: Correct regexp.
5861
dc62bfc2
MK
58622003-01-04 Mark Kettenis <kettenis@gnu.org>
5863
5864 * configure.in: Call AC_CONFIG_HEADER. Don't call
5865 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
5866 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
5867 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
5868 aforementioned directories in the AC_OUPUT call.
5869 * config.hin: New file.
5870 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
5871 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
5872 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
5873 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
5874 pass -I$objdir instead of -I$objdir/$subdir in compilation.
5875 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
5876 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
5877 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
5878 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
5879 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
5880 gdb.threads/configure.in, gdb.threads/configure,
5881 gdb.threads/config.in, gdb.trace/configure.in,
5882 gdb.trace/configure: Removed.
5883
77afa639
MC
58842003-01-03 Michael Chastain <mec@shout.net>
5885
5886 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
5887 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
5888
7634bb6e
DJ
58892003-01-03 Daniel Jacobowitz <drow@mvista.com>
5890
5891 * gdb.base/store.exp: Fix regular expressions.
5892
b39c905e
MK
58932002-12-28 Mark Kettenis <kettenis@gnu.org>
5894
5895 * configure.in: Rewrite.
5896 * configure: Regenerated.
5897
0a8551dd
DC
58982003-01-03 David Carlton <carlton@math.stanford.edu>
5899
5900 * gdb.base/psymtab.exp: New file.
5901 * gdb.base/psymtab1.c: Ditto.
5902 * gdb.base/psymtab2.c: Ditto.
5903
c60b7188
AF
59042002-12-23 Adam Fedor <fedor@gnu.org>
5905
5906 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
5907
ee73db83
DC
59082002-12-23 David Carlton <carlton@math.stanford.edu>
5909
5910 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
5911 and current_directory initialization.
5912
d6c1774e
JB
59132002-12-22 Jim Blandy <jimb@redhat.com>
5914
f0a847b8
JB
5915 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
5916 rather than as part of the output file name.
5917
d6c1774e
JB
5918 * gdb.base/attach.exp: There's no need to copy the test program to
5919 /tmp; that was only ever necessary on HP/UX, and this test is
5920 entirely disabled there anyway.
5921
f0708dbb
JB
59222002-12-21 Jim Blandy <jimb@redhat.com>
5923
4c2acfea
JB
5924 * gdb.c++/psmang.exp: Doc fix.
5925
f0708dbb
JB
5926 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
5927 test.
5928
9579e000
DC
59292002-12-20 David Carlton <carlton@math.stanford.edu>
5930
5931 * gdb.c++/annota2.exp: KFAIL annotate-quit.
5932
d1810171
MC
59332002-12-18 Michael Chastain <mec@shout.net>
5934
5935 * gdb.c++/annota2.exp: Add copyright year 2002.
5936
76565097
DC
59372002-12-17 David Carlton <carlton@math.stanford.edu>
5938
5939 * gdb.c++/try_catch.cc: Add marker comments.
5940 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
5941 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
5942 * gdb.c++/m-static.cc: Ditto.
5943 * gdb.c++/m-static1.cc: Ditto.
5944 * gdb.c++/try_catch.cc: Ditto.
5945
da81390b
JJ
59462002-12-16 Jeff Johnston <jjohnstn@redhat.com>
5947
5948 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
5949 to see whether we are using the new -environment-directory
5950 command which resets via -r or the old version of the command
5951 which may prompt the user. Part of fix for gdb/741.
5952
b304d130
AC
59532002-12-13 Andrew Cagney <ac131313@redhat.com>
5954
5955 * gdb.fortran/types.exp: Update obsolete comment.
5956 * gdb.fortran/exprs.exp: Ditto.
5957 * lib/gdb.exp: Delete obsolete code.
5958 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
5959 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
5960 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
5961 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
5962 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
5963 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
5964 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
5965 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
5966 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
5967 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
5968 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
5969 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
5970 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
5971 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
5972 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
5973 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
5974 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
5975 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
5976 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
5977 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
5978 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
5979 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
5980 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
5981 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
5982 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
5983 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
5984 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
5985 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
5986 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
5987 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
5988 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
5989 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
5990 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
5991 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
5992 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
5993 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
5994 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
5995
a23b6e6a
DC
59962002-12-11 David Carlton <carlton@math.stanford.edu>
5997
5998 * gdb.c++/m-data.exp: Add test for members that shadow global
5999 variables: see PR gdb/804.
6000 * gdb.c++/m-data.cc: Ditto.
6001
6604731b
DJ
60022002-12-10 Daniel Jacobowitz <drow@mvista.com>
6003
6004 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
6005
de46ecd7
DC
60062002-12-06 David Carlton <carlton@math.stanford.edu>
6007
6008 * gdb.base/store.c: Don't declare functions static.
6009
27e829d0
AC
60102002-12-04 Andrew Cagney <ac131313@redhat.com>
6011
6012 * gdb.base/store.exp, gdb.base/store.c: New files.
6013
92806416
DJ
60142002-12-03 Daniel Jacobowitz <drow@mvista.com>
6015
6016 * gdb.base/selftest.exp: Update for current gdb.
6017
3bcbaac5
DJ
60182002-12-03 Daniel Jacobowitz <drow@mvista.com>
6019
6020 * gdb.base/maint.exp: Only dump symbols from one source file
6021 or objfile.
6022
f4f00b1f
DJ
60232002-12-03 Daniel Jacobowitz <drow@mvista.com>
6024
6025 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
6026 function call.
6027
f1c8a949
JB
60282002-11-25 Jim Blandy <jimb@redhat.com>
6029
6030 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
6031 function appearing in error message.
6032
9e297a97
DJ
60332002-11-21 Daniel Jacobowitz <drow@mvista.com>
6034
6035 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
6036
1f312e79
JJ
60372002-11-08 Jeff Johnston <jjohnstn@redhat.com>
6038
d63a86f8
RM
6039 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
6040 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
6041 should be in mi console format. This is part of fix for PR gdb/604.
6042
83c31e7d
FN
60432002-09-18 Fernando Nasser <fnasser@redhat.com>
6044
6045 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
6046 which explicitly prints the zero offset as "+0".
6047
322b3f65
DJ
60482002-10-22 Daniel Jacobowitz <drow@mvista.com>
6049
6050 * gdb.threads/schedlock.c (args): Make unsigned.
6051
60522002-10-21 Daniel Jacobowitz <drow@mvista.com>
6053
6054 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
6055 numbers. Allow "foo2|selected stack frame".
6056 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
6057 * gdb.asm/asmsrc2.s: Likewise.
6058 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
6059 comments.
6060 * gdb.asm/mips.inc: New file.
6061
5e2fe5b8
AF
60622002-10-18 Adam Fedor <fedor@gnu.org>
6063
6064 * gdb.base/default.exp: Update expected output to include 'ObjC'.
6065 * gdb.base/help.exp: Likewise.
6066
abe1a5d0
KB
60672002-10-17 Kevin Buettner <kevinb@redhat.com>
6068
6069 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
6070 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
6071
10abb1d4
JB
60722002-10-02 Jim Blandy <jimb@redhat.com>
6073
6074 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
6075
1f609b42
AC
60762002-10-01 Andrew Cagney <ac131313@redhat.com>
6077
6078 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
6079 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
6080 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
6081 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
6082 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
6083 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
6084 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
6085
0aee02e4
AC
60862002-09-29 Andrew Cagney <ac131313@redhat.com>
6087
6088 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
6089 * mi0-disassemble.exp, mi0-eval.exp: Delete.
6090 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
6091 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
6092 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
6093 * mi0-var-block.exp, mi0-var-child.exp: Delete.
6094 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 6095
6fde09ad
KB
60962002-09-27 Kevin Buettner <kevinb@redhat.com>
6097
6098 * gdb.base/annota1.exp (info break): Make directory components of
6099 path optional since not all compilers emit this debug information.
6100
6101 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
6102 step ends up stepping out of the function instead of stopping on
6103 the epilogue.
6104
9e8aab75
KS
61052002-09-26 Keith Seitz <keiths@redhat.com>
6106
6107 * lib/insight-support.exp (gdbtk_start): Figure out where
6108 the insight executable is based on where gdb is. Use this
6109 executable to start insight instead of gdb.
6110
e36180d7
AC
61112002-09-25 Andrew Cagney <cagney@redhat.com>
6112
6113 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
6114
9dd34b2b
AC
61152002-09-24 Andrew Cagney <ac131313@redhat.com>
6116
6117 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
6118 test_isolated_complaints.
6119 (test_empty_complaint): New function.
6120 (test_empty_complaints): New function. Check no output when no
6121 complaints.
d63a86f8 6122
dea97812
KB
61232002-09-19 Jim Blandy <jimb@redhat.com>
6124
6125 * gdb.base/charset.exp, gdb.base/charset.c: New files.
6126
54951bd7
AC
61272002-09-19 Andrew Cagney <ac131313@redhat.com>
6128
6129 * gdb.gdb/complaints.exp: New file.
6130
dec43320
AC
61312002-09-18 Andrew Cagney <ac131313@redhat.com>
6132
6133 * gdb.base/maint.exp: Check `help maint internal-warning'.
6134
e70d6e3f
DC
61352002-09-18 David Carlton <carlton@math.stanford.edu>
6136
6137 * gdb.c++/m-static.exp: Remove breakpoints depending on line
6138 numbers, and replace them by a single breakpoint after the
6139 constructors are all finished.
6140 Add test 4.
6141 * gdb.c++/m-static.cc: Add test 4.
6142 * gdb.c++/m-static.h: New file.
6143 * gdb.c++/m-static1.cc: New file.
6144
6145 * gdb.c++/printmethod.exp: New file.
6146 * gdb.c++/printmethod.cc: New file.
6147
6148 * gdb.c++/pr-574.exp: New file.
6149 * gdb.c++/pr-574.cc: New file.
6150
afb5c968
CV
61512002-09-18 Corinna Vinschen <vinschen@redhat.com>
6152
6153 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
6154 embedded targets which never actually exit.
6155
31e45dee
FN
61562002-09-18 Fernando Nasser <fnasser@redhat.com>
6157
6158 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
6159 "don't step after run" as unresolved or unsupported, instead of xfail.
6160
a283c5a1
CV
61612002-09-18 Corinna Vinschen <vinschen@redhat.com>
6162
6163 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
6164 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
6165 Add newline to expected string in "step out of main (status wrapper)"
6166 case.
6167
11350d2a
CV
61682002-09-18 Corinna Vinschen <vinschen@redhat.com>
6169
6170 * lib/gdb.exp (rerun_to_main): Allow restarting application.
6171 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
6172
0deec7d6
TT
61732002-09-17 Tom Tromey <tromey@redhat.com>
6174
6175 * gdb.base/printcmds.exp (test_print_string_constants): Expect
6176 \000, not \0, in double-quoted string.
6177
b2b4a1b5
CV
61782002-09-14 Corinna Vinschen <vinschen@redhat.com>
6179
c9d37158 6180 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
6181 string after running the commands execution on breakpoint tests.
6182
1c56143a
CV
61832002-09-13 Corinna Vinschen <vinschen@redhat.com>
6184
6185 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
6186
37f8da45
JB
61872002-09-12 Joel Brobecker <brobecker@gnat.com>
6188
6189 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
6190
08b468e0
KS
61912002-09-10 Keith Seitz <keiths@redhat.com>
6192
6193 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
6194 runto proc.
6195 (mi_run_to_main): Use mi_runto.
6196 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
6197
dc360f58
KS
61982002-09-10 Keith Seitz <keiths@redhat.com>
6199
6200 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
6201 regexp for stopping at main. Could have multiple event notifications.
6202 Don't assume that main was declared with no parameters.
6203 (mi_next): Use mi_step_to.
6204 (mi_step): Use mi_next_to.
6205
ce3abcfb
CV
62062002-09-09 Corinna Vinschen <vinschen@redhat.com>
6207
6208 * gdb.base/default.exp: Fix expected string in `info float' test.
6209
d1f5b980
BE
62102002-09-09 Ben Elliston <bje@redhat.com>
6211
6212 * config/mips.exp: Update comments.
6213 * config/mips-idt.exp: Likewise.
6214 * config/nind.exp: Likewise.
6215 * config/slite.exp: Likewise.
6216 * config/sparclet.exp: Likewise.
6217 * config/udi.exp: Likewise.
6218 * config/vx.exp: Likewise.
6219 * config/vxworks29k.exp: Likewise.
6220
2f71430b
JB
62212002-09-05 Jim Blandy <jimb@redhat.com>
6222
6223 * gdb.threads/killed.exp: Fix test failure message.
6224
7ddebc7e
KS
62252002-09-04 Keith Seitz <keiths@redhat.com>
6226
6227 * lib/mi-support.exp: Update copyright.
6228 (mi_gdb_test): Increase the priority of the expected pattern
6229 so that it matches gdb_test.
6230
0ae67eb3
KS
62312002-09-03 Keith Seitz <keiths@redhat.com>
6232
6233 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
6234 Use integer comparison instead of string comparison for testing
6235 whether binary was built.
6236
38fc42c8
JB
62372002-09-03 Jim Blandy <jimb@redhat.com>
6238
6239 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
6240
b6ff0e81
JB
62412002-08-29 Jim Blandy <jimb@redhat.com>
6242
6243 * gdb.threads/pthreads.exp: Move the portable thread compilation
6244 code into a function in lib/gdb.exp, and call that from here.
6245 * lib/gdb.exp (gdb_compile_pthreads): New function.
6246
07c98896
KS
62472002-08-29 Keith Seitz <keiths@redhat.com>
6248
6249 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
6250 expect_out so that callers can get at it.
6251
0312286c
DJ
62522002-08-23 Daniel Jacobowitz <drow@mvista.com>
6253
6254 * gdb.threads/print-threads.c: New file.
6255 * gdb.threads/print-threads.exp: New file.
6256 * gdb.threads/schedlock.c: New file.
6257 * gdb.threads/schedlock.exp: New file.
6258
dd039bc4
EZ
62592002-08-22 Elena Zannoni <ezannoni@redhat.com>
6260
6261 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
6262 not altivec.c.
6263
1f36144c
MK
62642002-08-17 Mark Kettenis <kettenis@gnu.org>
6265
6266 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
6267 targets. The problem should be fixed now.
6268
16057ec7 62692002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
6270
6271 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
6272 2002-07-24 change that removes final dots from error messages.
6273
3c1499ad
TT
62742002-08-13 Tom Tromey <tromey@redhat.com>
6275
6276 * gdb.base/readline.exp: New file.
6277
a20ce2c3
AC
62782002-08-01 Andrew Cagney <ac131313@redhat.com>
6279
6280 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
6281 supress message.
6282
db034ac5
AC
62832002-08-01 Andrew Cagney <cagney@redhat.com>
6284
6285 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
6286 CHILL_FOR_TARGET and CHILL_LIB.
6287 * configure.in (configdirs): Remove gdb.chill.
6288 * configure: Regenerate.
6289 * lib/gdb.exp: Obsolete references to chill.
6290 * gdb.fortran/types.exp: Ditto.
6291 * gdb.fortran/exprs.exp: Ditto.
6292
3e000b18
KB
62932002-07-30 Kevin Buettner <kevinb@redhat.com>
6294
6295 * gdb.base/shlib-call.exp (additional_flags): Conditionally
6296 set Irix-specific compile and link flags.
6297
28f4966b
KB
62982002-07-29 Kevin Buettner <kevinb@redhat.com>
6299
6300 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
6301 source files. The ``-o'' option doesn't work with the ``-E'' option
6302 when using the Irix compiler.
6303
46c0d5a6
DJ
63042002-07-19 Daniel Jacobowitz <drow@mvista.com>
6305
6306 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
6307 Improve support for reusing an exec file. Copy exec file
6308 to target, and run gdbserver on the target instead of on the host.
6309
eecf4bed
JB
63102002-07-18 Jim Blandy <jimb@redhat.com>
6311
0f815cdf
JB
6312 * gdb.base/ending-run.exp: Don't expect to see the program end in
6313 some orderly fashion when we're running on a real stand-alone
6314 board.
6315
eecf4bed
JB
6316 * gdb.base/interrupt.exp: Correct logic for skipping tests on
6317 targets that don't support interrupts.
6318
52d309e4
JB
63192002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
6320
6321 * gdb.base/attach.exp: Add patterns to match output from /proc-based
6322 systems.
6323 Move comments in expect statements to inside the actions, so that they
6324 don't get matched against.
6325
ff683d9e
MK
63262002-07-10 Mark Kettenis <kettenis@gnu.org>
6327
6328 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
6329 function when asleep" test.
6330
b5356753
AC
63312002-07-10 Andrew Cagney <ac131313@redhat.com>
6332
6333 * gdb.base/page.exp: Rewrite to handle problems with very long
6334 `info set' output. Update copyright.
6335
6aa4d13a
AC
63362002-06-26 Andrew Cagney <ac131313@redhat.com>
6337
6338 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
6339 gdb.threads-hp.
6340 * gdb.hp/configure: Regenerate.
6341 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
6342 * gdb.hp/gdb.threads-hp/configure: Delete file.
6343 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
6344
8cf8c2b8
AC
63452002-06-22 Andrew Cagney <ac131313@redhat.com>
6346
6347 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
6348 setlocale, bindtextdomain and textdomain.
6349
6827a8f8
JB
63502002-06-11 Jim Blandy <jimb@redhat.com>
6351
919d772c
JB
6352 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
6353 preprocessor macro information is present.
6354
6827a8f8
JB
6355 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
6356 tests.
6357
c15b0d21
MS
63582002-06-06 Michael Snyder <msnyder@redhat.com>
6359
c5984d70
MS
6360 * gdb.base/overlays.exp: Record addresses of overlay
6361 functions in TCL variables rather than in GDB variables,
6362 to avoid having GDB convert them to pointers (with loss
6363 of information).
6364
d63a86f8 6365 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 6366 default linker script changes.
c15b0d21
MS
6367 * gdb.base/long_long.exp: Add check for sizeof (long double).
6368
be26fe0d
ML
63692002-06-06 Michal Ludvig <mludvig@suse.cz>
6370
6371 * gdb.asm/asm-source.exp: Add x86-64 target.
6372 * gdb.asm/x86_64.inc: New.
d63a86f8 6373
258093ca 63742002-05-30 Michael Chastain <mec@shout.net>
258093ca 6375
4b3153f1 6376 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
6377 * gdb.c++/m-static.cc: New file.
6378 * gdb.c++/m-static.exp: New file.
6379
241264c6
MS
63802002-05-28 Michael Snyder <msnyder@redhat.com>
6381
6382 * gdb.base/call-ar-st.exp: Allow for reduced floating point
6383 precision.
6384
9bba8c8f 63852002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 6386
4b3153f1 6387 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
6388 * gdb.c++/m-data.cc: New file.
6389 * gdb.c++/m-data.exp: New file.
6390
63912002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 6392
4b3153f1 6393 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 6394 * gdb.c++/try_catch.cc: New file.
d63a86f8 6395 * gdb.c++/try_catch.exp: New file.
9bba8c8f 6396
def1b996
MC
63972002-05-27 Michael Chastain <mec@shout.net>
6398
6399 * gdb.c++/local.exp: Accept more nested types in output.
6400
522ba268
MC
64012002-05-26 Michael Chastain <mec@shout.net>
6402
6403 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
6404
277254ba
MS
64052002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
6406
6407 * lib/gdb.exp (gdb_wrapper_init): Just because
6408 gdb_wrapper_file exists, this does not mean that the file
6409 should not be rebuilt. That is what gdb_wrapper_initialized
6410 is for.
6411 (default_gdb_init): Reset gdb_wrapper_initialized.
6412
b61a8733
MS
64132002-05-23 Michael Snyder <msnyder@redhat.com>
6414
d63a86f8 6415 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
6416 the precision of the floating point test results.
6417 * gdb.base/call-rt-st.exp: Ditto.
6418
b61a8733
MS
6419 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
6420 * gdb.base/call-rt-st.exp: Ditto.
6421
56f6e910
MC
64222002-05-19 Michael Chastain <mec@shout.net>
6423
6424 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
6425
ad0b0016
EZ
64262002-05-19 Elena Zannoni <ezannoni@redhat.com>
6427
6428 * configure.in (configdirs): Add gdb.arch.
6429 * configure: Regenerate.
6430
f617d2b6
JB
64312002-05-17 Jim Blandy <jimb@redhat.com>
6432
6433 * gdb.base/completion.exp: Recognize the more detailed error
6434 messages produced by the macro expander's lexical analyzer.
6435
eac2a696
EZ
64362002-05-14 Elena Zannoni <ezannoni@redhat.com>
6437
6438 * gdb.arch/altivec-abi.c: New file.
6439 * gdb.arch/altivec-abi.exp: New file.
6440 * gdb.arch/altivec-regs.c: New file.
6441 * gdb.arch/altivec-regs.exp: New file.
6442
2fdde8f8
DJ
64432002-05-14 Daniel Jacobowitz <drow@mvista.com>
6444
6445 * gdb.base/maint.exp (maint print type): Update for new type
6446 structure.
d63a86f8 6447
e31f1a7c
EZ
64482002-05-14 Elena Zannoni <ezannoni@redhat.com>
6449
6450 * gdb.arch: New directory.
6451 * gdb.arch/configure.in: New file.
6452 * gdb.arch/configure: New file.
6453 * gdb.arch/Makefile.in: New file.
6454
db589741
CV
64552002-05-13 Corinna Vinschen <vinschen@redhat.com>
6456
6457 * gdb.asm/asm-source.exp: Add v850 as supported target.
6458 * gdb.asm/v850.inc: New file.
6459
8ce2a7dc
DJ
64602002-05-13 Daniel Jacobowitz <drow@mvista.com>
6461
6462 * gdb.c++/annota2.exp (annotate-quit): Add comment.
6463
df763c7f
DJ
64642002-05-12 Daniel Jacobowitz <drow@mvista.com>
6465
6466 * gdb.base/break.exp: Check 'break "marker2"'.
6467
377daeed
MS
64682002-05-10 Michael Snyder <msnyder@redhat.com>
6469
6470 * gdb.base/long_long.exp: Fix typo.
6471
c4b7bc2b
JB
64722002-05-10 Jim Blandy <jimb@redhat.com>
6473
ecac9a4e
JB
6474 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
6475 a bug.
6476
c4b7bc2b
JB
6477 * gdb.base/printcmds.exp (test_integer_literals_rejected):
6478 Recognize more detailed error message produced by the macro
6479 expander's lexical analyzer.
6480 * lib/gdb.exp (test_print_reject): Same.
6481
e71019a1
MK
64822002-05-09 Mark Kettenis <kettenis@gnu.org>
6483
6484 * gdb.c++/method.exp: Fix typo.
6485
fedfc8e6
MS
64862002-05-08 Michael Snyder <msnyder@redhat.com>
6487
166a1957
MS
6488 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
6489 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 6490 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
6491 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
6492 Add iftarget clause for strongarm.
d63a86f8 6493
f1c47eb2
MS
64942002-05-06 Michael Snyder <msnyder@redhat.com>
6495
cb9a9d3e
MS
6496 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
6497 (gdb_continue_to_end): Accept output from status wrapper.
6498 * gdb.base/ending-run.exp: Add case for output from status wrapper.
6499 Clean up fail messages to match pass messages.
6500
f1c47eb2
MS
6501 Enable the "needs_status_wrapper" testsuite feature.
6502 * lib/gdb.exp (gdb_wrapper_init): New procedure.
6503 (gdb_compile): Conditionally call gdb_wrapper_init.
6504 * gdb.base/a2-run.exp: Recognize output from status wrapper.
6505 * gdb.c++/method.exp: Recognize output from status wrapper.
6506
6079c749
BE
65072002-05-06 Ben Elliston <bje@redhat.com>
6508From Graydon Hoare <graydon@redhat.com>
6509
6510 * config/sid.exp: Include support for "rawsid" protocol.
6511
188baff3
JB
65122002-05-03 Jim Blandy <jimb@redhat.com>
6513
6514 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
6515 * gdb.c++/hang3.C: New file.
6516
b9c07f0f
AC
65172002-05-04 Andrew Cagney <ac131313@redhat.com>
6518
6519 * gdb.base/default.exp: Remove obsolete code.
6520 * gdb.c++/misc.exp: Ditto. Update copyright.
6521 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
6522 * gdb.base/whatis.exp: Ditto. Update copyright.
6523 * gdb.base/scope.exp: Ditto. Update copyright.
6524 * gdb.base/ptype.exp: Ditto. Update copyright.
6525 * gdb.base/printcmds.exp: Ditto. Update copyright.
6526 * gdb.base/opaque.exp: Ditto. Update copyright.
6527 * gdb.base/list.exp: Ditto.
6528 * gdb.base/funcargs.exp: Ditto. Update copyright.
6529 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
6530 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
6531 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
6532 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
6533 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
6534 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
6535
5c7a0397
MS
65362002-05-02 Michael Snyder <msnyder@redhat.com>
6537
d6dcc264 6538 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
6539 * gdb.base/long_long.exp: Add xscale target.
6540 * gdb.base/default.exp: Add xscale target.
6541
eb7f1c48
JB
65422002-05-01 Jim Blandy <jimb@redhat.com>
6543
6544 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
6545 gdb.c++/hang.exp: New test.
6546
a6befae8
FF
65472002-05-01 Fred Fish <fnf@redhat.com>
6548
6549 * gdb.base/completion.exp: Handle completions of "./Make" for
6550 more than one completion possibility, as is the case when we
6551 build and test in the source tree.
6552
0a310277
AG
65532002-04-29 Anthony Green <green@redhat.com>
6554
6555 * gdb.java/jmisc1.exp: New file.
6556 * gdb.java/jmisc2.exp: New file.
6557
6ff9af88
DJ
65582002-04-24 Daniel Jacobowitz <drow@mvista.com>
6559
6560 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
6561
96b3d632
EZ
65622002-04-23 Elena Zannoni <ezannoni@redhat.com>
6563
6564 * gdb.base/help.exp: Change 'help status' to allow for target
6565 dependent output differences.
6566
5019bb54
MC
65672002-04-22 Michael Chastain <mec@shout.net>
6568
6569 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
6570
a805a116
MC
65712002-04-22 Michael Chastain <mec@shout.net>
6572
6573 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
6574
a1706bfd
DM
65752002-04-17 David S. Miller <davem@redhat.com>
6576
6577 * gdb.asm/sparc64.inc: New file.
6578 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
6579
a73a20a2
EZ
65802002-04-19 Elena Zannoni <ezannoni@redhat.com>
6581
6582 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
6583 instruction file directly into the build tree. Clean up at end of
6584 test.
6585
ba678339
DM
65862002-04-18 David S. Miller <davem@redhat.com>
6587
6588 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
6589 handle 64-bit platforms correctly.
6590 * gdb.base/maint.exp: Likewise.
6591
b03399da
KB
65922002-04-18 Kevin Buettner <kevinb@redhat.com>
6593
6594 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
6595 ``-fpic'' when compiling files comprising a shared library, but
6596 it does need additional linker flags in order to find shared
6597 libraries at run time.
6598
e2004992
KB
65992002-04-18 Kevin Buettner <kevinb@redhat.com>
6600
6601 * gdb.base/cvexpr.c (use): New function.
6602 (main): Invoke use() on all global variables to prevent
6603 some linkers from deleting these otherwise unused symbols.
6604
d8937120
MC
66052002-04-17 Michael Chastain <mec@shout.net>
6606From David S. Miller <davem@redhat.com>
6607
6608 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
6609 handle 64-bit platforms correctly.
6610
ffd61a58
MS
66112002-04-12 Michael Snyder <msnyder@redhat.com>
6612From Jim Blandy <jimb@redhat.com>
6613 * gdb.base/foo.c (foox): Remove section attribute; the linker
6614 script can handle this instead.
6615 * gdb.base/bar.c (barx): Same.
6616 * gdb.base/baz.c (bazx): Same.
6617 * gdb.base/grbx.c (grbxx): Same.
6618
6619 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
6620 manager doesn't automatically unmap overlays unnecessarily.
6621
6b8426a6
MH
66222002-04-10 Martin M. Hunt <hunt@redhat.com>
6623
6624 * gdb.base/ending-run.exp: Fix pattern for Mips targets
6625 stepping out of main.
6626
34af4875
MC
66272002-04-09 Michael Chastain <mec@shout.net>
6628
6629 * gdb.c++/local.cc (main): Move call to marker1() inside nested
6630 scope so that the nested scope tests will make sense.
6631 * gdb.c++/local.exp: Write patterns that actually work with gcc
6632 (the HP patterns "were never known to work with gcc").
6633 Keep the old aCC patterns too.
6634
2d1676a0
DJ
66352002-04-09 Daniel Jacobowitz <drow@mvista.com>
6636
6637 * gdb.base/attach.exp: Correct target board test.
6638
3a63e3f9
MC
66392002-04-08 Michael Chastain <mec@shout.net>
6640
6641 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
6642 in a const method. Add some xfail and fail cases for configurations
6643 that do not emit the "const ...".
6644
f18dabd2
MC
66452002-04-07 Michael Chastain <mec@shout.net>
6646
6647 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
6648 Accept "A * const" and "const A * const" as type of "this".
6649 Fix spelling of getFunky throughout. Make messages uniform.
6650
0fcddd82
EZ
66512002-04-07 Elena Zannoni <ezannoni@redhat.com>
6652
6653 Work around for PR gdb/285:
6654 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
6655
16a8534a
EZ
66562002-04-07 Elena Zannoni <ezannoni@redhat.com>
6657
6658 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
6659 instructions file at run time instead of configure time.
6660 Sometimes we run the test in a directory that is not the one we
6661 configured in.
6662 * gdb.asm/configure.in: Delete creation of symlink.
6663 * gdb.asm/configure: Regenerate.
6664
24181d81
JB
66652002-04-05 J. Brobecker <brobecker@gnat.com>
6666
6667 * gdb.gdb/xfullpath.exp: New test, to exercise the new
6668 xfullpath () function.
6669
7cdb7107
DJ
66702002-04-04 Daniel Jacobowitz <drow@mvista.com>
6671
6672 * gdb.asm/Makefile.in: Correct dependencies.
6673
6674 * gdb.asm/powerpc.inc: New file.
6675 * gdb.asm/asm-source.exp: Add PowerPC.
6676 * gdb.asm/configure.in: Likewise.
6677 * gdb.asm/configure: Regenerated.
6678
a7d17088
DJ
66792002-04-04 Daniel Jacobowitz <drow@mvista.com>
6680
6681 * gdb.base/relocate.exp: New file.
6682 * gdb.base/relocate.c: New file.
6683
cd721503
FF
66842002-04-04 Fred Fish <fnf@redhat.com>
6685
6686 * gdb.base/step-test.exp: Update comment regarding stopping in
6687 memcpy/bcopy calls inserted as part of the compiler runtime.
6688
b22ad7a7
MS
66892002-04-04 Michael Snyder <msnyder@redhat.com>
6690
6691 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
6692
5f279fa6
DJ
66932002-04-03 Daniel Jacobowitz <drow@mvista.com>
6694
6695 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
6696 (gdb_expect): Remove $notransfer hack.
6697
dd0fd3ce
DJ
66982002-04-02 Daniel Jacobowitz <drow@mvista.com>
6699
6700 * gdb.c++/classes.exp ("calling method for small class"): Match
6701 updated register output.
6702
1e50cda1
DJ
67032002-03-30 Daniel Jacobowitz <drow@mvista.com>
6704
6705 Fix PR gdb/452
6706 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
6707 when finished. Make gdb_file_cmd send "exec-file" when
6708 appropriate.
6709
24015922
DJ
67102002-03-30 Daniel Jacobowitz <drow@mvista.com>
6711
6712 * gdb.base/attach.exp: Remove extra setup_xfail.
6713
dd7dfd64
MS
67142002-03-26 Michael Snyder <msnyder@redhat.com>
6715
6716 * gdb.base/default.exp: Add tests for dump, append, and restore.
6717 * gdb.base/help.exp: Add tests for dump, append, and restore.
6718 * gdb.base/dump.exp: New file, test dump, append and restore.
6719 * gdb.base/dump.c: New file.
6720
48b2f8d7
MS
67212002-03-27 Michael Snyder <msnyder@redhat.com>
6722
d63a86f8 6723 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
6724 clean-ups in help messages.
6725
05b4d525
FF
67262002-03-26 Fred Fish <fnf@redhat.com>
6727
6728 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
6729 have debugging info for those functions and the compiler uses them
6730 internally to copy structs around.
6731
d7679631
FF
67322002-03-26 Fred Fish <fnf@redhat.com>
6733
6734 * gdb.base/list.exp: Revert the change made yesterday and add note
6735 about why we don't list the default lines for remote targets.
6736
523ac3f9
MS
67372002-03-25 Michael Snyder <msnyder@redhat.com>
6738
6739 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
6740
754b2b8d
FF
67412002-03-25 Fred Fish <fnf@redhat.com>
6742
6743 * gdb.base/list.exp: This test works on remote targets so remove
6744 the short circuit for remote targets. Update copyright.
6745
33c3e192
FF
67462002-03-25 Fred Fish <fnf@redhat.com>
6747
6748 * gdb.base/attach.exp: Fix logic error that was suppressing this
6749 test for all non hppa*-*-hpux* targets, instead of the hp target.
6750 Move comments closer to the suppression point. Also now need to
6751 check that we are running natively.
6752
d43e73ee
MS
67532002-03-22 Michael Snyder <msnyder@redhat.com>
6754
882c8f02
MS
6755 * gdb.base/default.exp: Add test for gcore. Update copyright.
6756 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 6757
04c12f60
FF
67582002-03-06 Fred Fish <fnf@redhat.com>
6759
6760 * gdb.base/funcargs.c: Remove extraneous ';' character.
6761 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
6762
b43df995
MC
67632002-03-04 Michael Chastain <mec@shout.net>
6764
6765 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
6766 accommodate gcc v3 function signature.
6767 * gdb.mi/mi0-var-cmd-exp: Ditto.
6768
92362027
AC
67692002-02-24 Andrew Cagney <ac131313@redhat.com>
6770
6771 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
6772 ``GNU/Linux'' or ``Linux kernel''
6773 * testsuite/gdb.threads/pthreads.c: Ditto.
6774
258ad32d
MC
67752002-02-24 Michael Chastain <mec@shout.net>
6776
6777 * gdb.threads/pthreads.c (thread1): Add a return statement.
6778 (thread2): Likewise.
6779 (foo): Likewise.
6780
04c3b3d4
MC
67812002-02-23 Michael Chastain <mec@shout.net>
6782
6783 * gdb.threads/linux-dp.c (philosopher): Add a return statement
6784 to placate gcc.
6785
5a2a0a20
MC
67862002-02-23 Michael Chastain <mec@shout.net>
6787
6788 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
6789 test "ptype bint". The test passes on all my stabs configurations.
6790
a640f7fc
JB
67912002-02-21 Jim Blandy <jimb@redhat.com>
6792
27924826
JB
6793 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
6794 filename at a time, and watch for the ones we want to see.
6795
a640f7fc
JB
6796 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
6797 types of pointers to prototyped functions.
6798
edcc8c75
AC
67992002-02-20 Andrew Cagney <ac131313@redhat.com>
6800
6801 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
6802 signed, unsigned and straight char.
6803 (padding_char, padding_short, padding_int, padding_long,
6804 padding_long_long, padding_float, padding_double,
6805 padding_long_double): New global variables.
6806 (fill, fill_structs): New functions.
6807
6808 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
6809 for correctly sized writes. Update copyright.
6810 (get_valueof): New procedure.
6811 (get_sizeof): Call get_valueof.
6812 (check_valueof): New procedure.
6813 (check_padding): New procedure.
6814
ac57ea44
MC
68152002-02-20 Michael Chastain <mec@shout.net>
6816
6817 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
6818 to setup_xfail. Document some of the remaining calls.
6819
7a10c941
MC
68202002-02-18 Michael Chastain <mec@shout.net>
6821
6822 * gdb.c++/userdef.exp: Update copyright year.
6823
fb8acdcc
DJ
68242002-02-18 Daniel Jacobowitz <drow@mvista.com>
6825
6826 * gdb.c++/userdef.exp: Test overloaded operators properly.
6827 Remove xfails.
6828
fda6ae12
MS
68292002-02-14 Michael Snyder <msnyder@redhat.com>
6830
6831 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
6832
676a0442
DJ
68332002-02-14 Daniel Jacobowitz <drow@mvista.com>
6834
6835 * gdb.base/a2-run.exp: Check for a remote target properly.
6836 * gdb.base/annota1.exp: Likewise.
6837 * gdb.base/list.exp: Likewise.
6838 * gdb.base/reread.exp: Likewise.
6839 * gdb.base/scope.exp: Likewise.
6840 * gdb.base/shlib-call.exp: Likewise.
6841 * gdb.base/term.exp: Likewise.
6842 * gdb.c++/annota2.exp: Likewise.
6843
78b4f468
RE
68442002-02-13 Richard Earnshaw <rearnsha@arm.com>
6845
6846 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
6847
9a81ba51
MC
68482002-02-10 Michael Chastain <mec@shout.net>
6849
6850 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
6851 (call_after_alloca): Ditto.
6852
004af6c7
DJ
68532002-02-10 Daniel Jacobowitz <drow@mvista.com>
6854
6855 * gdb.base/ending-run.exp: Guard "cont" test with
6856 gdb_skip_stdio_test.
6857
37225f62
JB
68582002-02-06 Jim Blandy <jimb@redhat.com>
6859
6860 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
6861 from here...
6862 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
6863 To here. Disable this test on non-HP platforms. Add big comment.
6864
fe6fdd96
MS
68652002-02-04 Michael Snyder <msnyder@redhat.com>
6866
6867 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
6868 other than d10v and m32r.
6869
036fad3f
RE
68702002-02-02 Richard Earnshaw <rearnsha@arm.com>
6871
6872 * gdb.base/default.exp: Rewrite test patterns to reduce time
6873 taken to match them.
6874
7148ab62
DJ
68752002-01-30 Daniel Jacobowitz <drow@mvista.com>
6876
6877 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
6878 Allow a start function above main.
6879 * gdb.threads/linux-dp.exp: Fix copyright date.
6880
396cc255
DJ
68812002-01-30 Daniel Jacobowitz <drow@mvista.com>
6882
6883 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
6884 (check_philosopher_stack): Check for manager thread before checking
6885 for a just-starting thread.
6886
f038d31b
DJ
68872002-01-30 Daniel Jacobowitz <drow@mvista.com>
6888
6889 From Neil Booth <neil@daikokuya.demon.co.uk>:
6890 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
6891 warnings.
6892
b3ff9d9a
FF
68932002-01-21 Fred Fish <fnf@redhat.com>
6894
6895 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
6896 not caller.
6897
39ad761d
JB
68982002-01-21 Jim Blandy <jimb@redhat.com>
6899
6900 * gdb.base/reread.exp: Check that GDB properly re-reads the
6901 executable file when it changes while no inferior is running.
6902
aaf320fa
FF
69032002-01-21 Fred Fish <fnf@redhat.com>
6904
6905 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
6906 optionally accept the "shlib events" variation.
6907
808a31f5
JB
69082002-01-21 Jim Blandy <jimb@redhat.com>
6909
6910 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
6911 call `fflush' after every `printf', so that the output is produced
6912 at predictable points, regardless of whatever buffering does (or
6913 doesn't) take place.
6914 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
6915 at different points.
6916
4420d5e2
DJ
69172002-01-20 Daniel Jacobowitz <drow@mvista.com>
6918
6919 * gdb.c++/inherit.exp: Update copyright years.
6920 * gdb.c++/method.exp: Likewise.
6921
3e36a0f4
DJ
69222002-01-20 Daniel Jacobowitz <drow@mvista.com>
6923
6924 * gdb.c++/classes.exp: Update for improved v3 support and skipping
6925 artificial methods/arguments.
6926 * gdb.c++/derivation.exp: Likewise.
6927 * gdb.c++/inherit.exp: Likewise.
6928 * gdb.c++/method.exp: Likewise.
6929 * gdb.c++/virtfunc.exp: Likewise.
6930
b4ceaee6
AC
69312002-01-18 Andrew Cagney <ac131313@redhat.com>
6932
6933 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
6934 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
6935 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
6936 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
6937 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
6938 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
6939
ecace851
JB
69402002-01-17 Jim Blandy <jimb@redhat.com>
6941
6942 * gdb.asm/asm-source.exp (info symbol): Take another shot at
6943 anchoring the pattern matching the entry point symbol's name.
6944
375fc983
AC
69452002-01-17 Andrew Cagney <ac131313@redhat.com>
6946
6947 * gdb.base/maint.exp: Update ``maint internal-error'' to match
6948 continue/quit query. Update copyright.
6949
fe6fdd96
MS
69502002-01-14 Michael Snyder <msnyder@redhat.com>
6951
6952 * gdb.base/gcore.exp: Remove extra debugging output.
6953
e017c81f
DJ
69542002-01-13 Daniel Jacobowitz <drow@mvista.com>
6955
6956 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
6957 for slightly dubious v2 mangled string.
6958
37ab3bf8
DJ
69592002-01-13 Daniel Jacobowitz <drow@mvista.com>
6960
6961 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
6962
1bc05c3a 69632002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 6964
1bc05c3a 6965 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 6966
1bc05c3a
JM
6967 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
6968 constructors.
6969 * gdb.c++/derivation.exp: Likewise.
6970 * gdb.c++/templates.exp: Likewise.
6971 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 6972
1bc05c3a
JM
69732002-01-10 Michael Snyder <msnyder@redhat.com>
6974
6975 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 6976
a911c360
MS
69772002-01-08 Michael Snyder <msnyder@redhat.com>
6978
6979 * gdb.base/gcore.exp: New test for generate-core-file command.
6980 * gdb.base/gcore.c: Testcase for above.
6981 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
6982
ea2119ec
JM
69832002-01-08 Jason Merrill <jason@redhat.com>
6984
6985 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
6986
68203136
FF
69872002-01-07 Fred Fish <fnf@redhat.com>
6988
6989 * gdb.c++/overload.exp: Remove unconditional xfails for:
6990 print foo_instance1.overloadargs(1)
6991 print foo_instance1.overloadargs(1, 2)
6992 print foo_instance1.overloadargs(1, 2, 3)
6993 print foo_instance1.overloadargs(1, 2, 3, 4)
6994 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
6995 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
6996 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
6997 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
6998 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
6999 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
7000 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
7001 print foo_instance1.overload1arg()
7002 print foo_instance1.overload1arg((char)arg2)
7003 print foo_instance1.overload1arg((signed char)arg3)
7004 print foo_instance1.overload1arg((unsigned char)arg4)
7005 print foo_instance1.overload1arg((int)arg7)
7006 print foo_instance1.overload1arg((unsigned int)arg8)
7007 print foo_instance1.overload1arg((float)arg11)
7008 print foo_instance1.overload1arg((double)arg12)
d63a86f8 7009
21b9b5b1
MS
70102002-01-07 Michael Snyder <msnyder@redhat.com>
7011
7012 * gdb.base/huge.exp: New test. Print a very large target data object.
7013 (skip_huge_test): New test variable. Define if you want to skip this
7014 test. The test reads an 8 megabyte data object from the target, so it
7015 might be very time consuming on remote targets with a slow connection.
7016 * gdb.base/huge.c: New file. Test case for above.
7017
725f922e
FF
70182002-01-07 Fred Fish <fnf@redhat.com>
7019
7020 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
7021 g_instance.bfoo, and g_instance.cfoo.
7022
634d57ec
JL
7023Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
7024
f286b2c3
JL
7025 * gdb.base/break.c (multi_line_if_conditional): New function.
7026 (multi_ilne_while_conditional): Likewise.
7027 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
7028 IF or WHILE condition puts the breakpoint at the start of
7029 the condition.
7030
634d57ec
JL
7031 * gdb.base/selftest.exp (backtrace through signal handler): Remove
7032 hppa*-*-hpux* expected failure.
7033 * gdb.base/structs.exp (do_function_calls): Similarly.
7034
7035 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
7036 watchpoints.
7037
9fbfe2dc
AC
70382002-01-06 Andrew Cagney <ac131313@redhat.com>
7039
7040 Fix PR gdb/66.
7041 * gdb.base/structs.exp: Replace skip for a29k with skip for
7042 gdb,cannot_call_functions.
7043 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
7044 * gdb.base/callfuncs.exp: Ditto.
7045 * gdb.base/call-rt-st.exp: Ditto.
7046 * gdb.base/call-strs.exp: Ditto.
7047 * gdb.base/callfwmall.exp: Ditto.
7048 * gdb.base/scope.exp: Obsolete xfail a29k.
7049 * gdb.c++/misc.exp: Ditto.
7050 * gdb.c++/cplusfuncs.exp: Ditto.
7051 * gdb.base/ptype.exp: Ditto.
7052 * gdb.base/printcmds.exp: Ditto.
7053 * gdb.base/opaque.exp: Ditto.
7054 * gdb.base/list.exp: Ditto.
7055 * gdb.base/funcargs.exp: Ditto.
7056 * gdb.base/default.exp: Ditto.
7057
8ddad156
MS
70582002-01-04 Michael Snyder <msnyder@redhat.com>
7059
ca4976a6 7060 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
7061 * gdb.base/maint.exp: Add tests for maint info sections options.
7062
1b074332
JL
7063Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
7064
7065 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
7066
7d159115
CV
70672001-12-20 Corinna Vinschen <vinschen@redhat.com>
7068
7069 * gdb.asm/arm.inc: New file.
7070 * gdb.asm/asm-source.exp: Add arm targets.
7071 * gdb.asm/configure.in: Ditto.
7072 * gdb.asm/configure: Recreated from configure.in.
7073
8fb87725
JL
7074Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
7075
afabe08c
JL
7076 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
7077 with HP's compiler.
7078 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
7079 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
7080 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
7081 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
7082
7083 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
7084 either HP's compilers or GCC.
7085
db521deb
JL
7086 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
7087 a SIGBUS or SIGSEGV.
7088
7089 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
7090
7091 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
7092 can be compiled with either HP's compiler or GCC.
7093
cfa88ab7
JL
7094 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
7095 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
7096 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
7097
ca344dff
JL
7098 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
7099 to match current gdb output. Update due to using auto-solib-limit
7100 for limiting instead of overloading auto-solib-add.
7101 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
7102 test program.
7103
3f3c6e55 7104 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
7105 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
7106 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
7107 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
7108 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
7109 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
7110 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
7111 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
7112 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
7113 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
7114 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
7115 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
7116 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 7117
8fb87725
JL
7118 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
7119 a SIGTRAP to the inferior.
7120
cf599fa7
CV
71212001-12-19 Corinna Vinschen <vinschen@redhat.com>
7122
7123 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
7124 Substitute call to target_link by call to gdb_compile.
7125
2cd045cd
JL
7126Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
7127
7128 * gdb.base/break.exp: Fix HP specific search string when testing
7129 backtracing in a called function.
7130
d63a86f8 7131 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
7132 compiling the test with HP's compilers.
7133 * gdb.base/volatile.exp: Similarly.
7134
99ebe9ac
JB
71352001-12-19 Jim Blandy <jimb@redhat.com>
7136
7137 * gdb.base/printcmds.exp: Expect the null character to be printed
7138 as '\0', and the '\013' to be printed as '\v'.
7139 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
7140 * gdb.base/setvar.exp: Same.
7141
b9891b29
JB
71422001-12-17 Jim Blandy <jimb@redhat.com>
7143
0eba65ab
JB
7144 * gdb.base/completion.exp: Rather than completing very long
7145 filenames, which can make the readline library produce output we
7146 don't recognize, cd to the directory first, and then complete
7147 using nice, short relative paths.
7148
6970b5b1
JB
7149 * gdb.base/completion.exp: On some systems, there is, in fact, a
7150 variable named `b' in scope, since GDB treats all static
7151 variables as being in scope. So use `no_var_named_this'
7152 instead of `b'.
7153
b9891b29
JB
7154 * gdb.base/corefile.exp: Recognize the message saying that GDB
7155 can't find the core file's registers as a failure.
7156
e6ccd35f
JSC
71572001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
7158
7159 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
7160 test expect string more specific.
7161
105ba819
CV
71622001-12-13 Corinna Vinschen <vinschen@redhat.com>
7163
7164 * gdb.asm/asm-source.exp: Add support for xstormy16.
7165 * gdb.asm/configure.in: Ditto.
7166 * gdb.asm/configure: Rebuild.
7167 * gdb.asm/xstormy16.inc: New file.
7168
e9e79dd9
FF
71692001-12-10 Fred Fish <fnf@redhat.com>
7170
7171 * gdb.base/maint.exp: Update to match changes in type dumping code.
7172
347dc97d
JB
71732001-12-10 Jim Blandy <jimb@redhat.com>
7174
7175 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
7176 matching the entry point symbol's name at the beginning of the
7177 line.
7178
5178b9d6
DJ
71792001-12-07 Daniel Jacobowitz <drow@mvista.com>
7180
7181 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
7182 gdb.c++/inherit.exp, gdb.c++/method.exp,
7183 gdb.c++/namespace.exp, gdb.c++/templates.exp,
7184 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
7185 and class layout support.
7186
af890c52
DJ
71872001-12-07 Daniel Jacobowitz <drow@mvista.com>
7188
7189 * gdb.c++/classes.exp: Add test for static member function.
7190 * gdb.c++/misc.cc: Add class with static member function.
7191
7a345fb3
JB
71922001-12-07 Jim Blandy <jimb@redhat.com>
7193
f2e54a80 7194 If GDB says it can't find the struct the function returned, report
8032bf31
JB
7195 those tests as `unsupported'.
7196 * gdb.base/call-rt-st.exp (print_struct_call): New function.
7197 Rewrite subsequent tests to use it.
7198
7199 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
7200 those tests as `unsupported'.
7201 * gdb.base/structs.exp (call_struct_func): New function.
7202 (do_function_calls): Use call_struct_func to call the functions
7203 returning structs.
7204
0bc69509
JB
7205 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
7206 whether functions are prototyped or not, so we can't possibly pass
7207 arguments to t_float_values2 properly.
7208
7a345fb3
JB
7209 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
7210 value of `timeout' for targets other than the mips*tx39-*.
7211
edb6ede1
MS
72122001-12-06 Michael Snyder <msnyder@redhat.com>
7213
d63a86f8 7214 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
7215 and detect whether the start symbol has a leading underscore.
7216
2d842f13
JB
72172001-12-04 Jim Blandy <jimb@redhat.com>
7218
7219 * gdb.base/completion.exp: Clarify indentation.
7220
68550daf
JB
72212001-12-03 Jim Blandy <jimb@redhat.com>
7222
7223 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
7224 variables on the S/390, not `.word'.
7225
cd5195a8
JB
72262001-11-30 Jim Blandy <jimb@redhat.com>
7227
7228 Add assembly-source tests for s390-ibm-linux.
7229 * gdb.asm/s390.inc: New file.
7230 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
7231 the S/390 architecture.
7232 * gdb.asm/configure: Regenerated.
7233
ca9efc90
MS
72342001-11-30 Michael Snyder <msnyder@redhat.com>
7235
7236 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
7237 next, info source, info sources, info line, global and static
7238 variables, and static functions.
7239 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
7240 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
7241 * gdb.asm/asmsrc1.s: Add a static function and some variables.
7242 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
7243 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
7244 (gdbasm_leave): Restore frame pointer.
7245 (gdbasm_startup): Copy stack set-up from crt0.S.
7246
d0e66976
FN
72472001-11-26 Fernando Nasser <fnasser@redhat.com>
7248
7249 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
7250 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
7251 to a local (non-static) variable. Copy tstruct.a to a static buffer
7252 and return a pointer to that buffer.
7253 * gdb.base/callfwmall.c (t_structs_a): Ditto.
7254
e2334072
MK
72552001-11-24 Mark Kettenis <kettenis@gnu.org>
7256
7257 * gdb.asm/configure.in: Fix recognition of ix86 target.
7258 * gdb.asm/configure: Regenerate.
7259
756caa3d
MS
72602001-11-21 Michael Snyder <msnyder@redhat.com>
7261
7262 * gdb.asm/sparc.inc: New file.
7263 * gdb.asm/asm-source.exp: Recognize sparc target.
7264 * gdb.asm/configure.in: Recognize sparc target.
7265 * gdb.asm/configure: Regenerate.
d63a86f8 7266
9a4d72d5
MS
72672001-11-21 Michael Snyder <msnyder@redhat.com>
7268
7269 * gdb.asm/m32r.inc: New file.
7270 * gdb.asm/asm-source.exp: Recognize m32r target.
7271 * gdb.asm/configure.in: Recognize m32r target.
7272 * gdb.asm/configure: Regenerate.
7273
a773d1cd
MS
72742001-11-20 Michael Snyder <msnyder@redhat.com>
7275
017ac23d
MS
7276 * gdb.asm/i386.inc: New file.
7277 * gdb.asm/asm-source.exp: Recognize ix86 target.
7278 * gdb.asm/configure.in: Recognize ix86 target.
7279 * gdb.asm/configure: Regenerate.
7280
a773d1cd
MS
7281 * gdb.c++/namespace.exp: Fix quotes in output messages.
7282
bb632afb
MS
72832001-11-14 Michael Snyder <msnyder@redhat.com>
7284
25d559ca 7285 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
7286 qualifier in a type cast expression, to designate an address
7287 in the instruction space (Harvard architecture).
7288
4749e309
MS
72892001-11-13 Michael Snyder <msnyder@redhat.com>
7290
7291 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
7292 Tests for expressions using 'const' and 'volatile'.
7293
25050984
CV
72942001-11-13 Corinna Vinschen <vinschen@redhat.com>
7295
7296 * gdb.asm/asm-sources.exp: Allow defining linker flags.
7297
1902c51f
DJ
72982001-11-12 Daniel Jacobowitz <drow@mvista.com>
7299
7300 * lib/mi-support.exp (mi_run_to_helper): Move comments
7301 outside of gdb_expect.
7302
dcf95b47
DJ
73032001-11-11 Daniel Jacobowitz <drow@mvista.com>
7304
7305 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
7306 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
7307 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
7308 mi0_run_to): New functions.
7309 * gdb.mi/mi-simplerun.exp: Use them.
7310 * gdb.mi/mi0-simplerun.exp: Likewise.
7311 * gdb.mi/mi-var-cmd.exp: Likewise.
7312 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 7313
45b074e1
AC
73142001-11-10 Andrew Cagney <ac131313@redhat.com>
7315
7316 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
7317 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
7318
bf50d346
AC
73192001-11-09 Andrew Cagney <ac131313@redhat.com>
7320
7321 * gdb.base/restore.exp: Include $expected value in restored test
7322 message.
7323
9383332c
AC
73242001-11-09 Andrew Cagney <ac131313@redhat.com>
7325
7326 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
7327 implemented.
7328
db62520a
MS
73292001-11-08 Michael Snyder <msnyder@redhat.com>
7330
7331 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
7332 Add pass/fail message for stop at breakpoint in call dummy function.
7333
b5703437
MS
73342001-11-07 Michael Snyder <msnyder@redhat.com>
7335
d63a86f8
RM
7336 * gdb.c++/templates.exp (test_template_breakpoints):
7337 If we get an overload menu, but it does not match what
760f6330 7338 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
7339 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
7340 making the whitespace optional. Argument for "new" may be
7341 "unsigned" as well as "unsigned int/long".
d63a86f8 7342 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
7343 making the whitespace optional. Also replace "(void) with
7344 "((void|)), making the keyword "void" optional.
d63a86f8 7345 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
7346 making the whitespace optional. Also replace "(void) with
7347 "((void|)), making the keyword "void" optional.
3bf40917
MS
7348 * gdb.base/callfuncs.c (t_float_values): This function must
7349 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 7350 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
7351 can be tested against both cases. Usually one case involves
7352 promotion of float to double, while the other does not.
7353 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
7354 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
7355 includes a stack frame for "start".
7356
c8ab4e6d
JB
73572001-11-05 Jim Blandy <jimb@redhat.com>
7358
7359 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
7360 pointers are 32 bits long, and that offsets of relocs are always
7361 stored in the data (REL-style), and not in the reloc entry itself
7362 (RELA-style).
7363 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
7364 stabs.
7365
3f08ced9
MS
73662001-11-01 Michael Snyder <msnyder@redhat.com>
7367
7368 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
7369 and regular expression operators by using quoting.
7370
cbfa24cd
MS
73712001-10-31 Michael Snyder <msnyder@redhat.com>
7372
7373 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
7374 depending on what the symbol table contains.
7375 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
7376 the output of the ptype command. Similarly, accept both "const &"
7377 and "const&".
7378
aaa68313
CV
73792001-10-31 Corinna Vinschen <vinschen@redhat.com>
7380
7381 * gdb.base/miscexprs.c (main): Add usage of preprocessor
7382 symbol `STORAGE' to allow to choose the storage class of
7383 the local datastructures.
7384 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
7385 compiler directive.
7386
91740388
MS
73872001-10-30 Michael Snyder <msnyder@redhat.com>
7388
7389 * gdb.base/jump.exp: Allow it to run for all targets.
7390
1b7c05e7
CV
73912001-10-29 Corinna Vinschen <vinschen@redhat.com>
7392
7393 * gdb.base/call-ar-st.c (print_double_array): Match for loop
7394 with new double_array size.
7395 (main): Change storage class of all local variables to static.
7396 Reduce size of double_array to 9.
7397 * gdb.base/call-ar-st.exp: Increase timeout value.
7398 Change expected output for double array to match new size in
7399 call-ar-st.c.
7400
36a22261
CV
74012001-10-29 Corinna Vinschen <vinschen@redhat.com>
7402
7403 * gdb.base/ending-run.exp: Create identical output when passing
7404 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 7405 Stormy16 target.
36a22261 7406
92b8ae91
MK
74072001-10-28 Mark Kettenis <kettenis@gnu.org>
7408
7409 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
7410 that we catch the expected failure under Linux/x86.
7411
cb135b83
OF
74122001-10-29 Orjan Friberg <orjanf@axis.com>
7413
7414 * gdb.base/setvar.exp: Escape curly braces.
7415 * gdb.stabs/weird.exp: Ditto.
7416
6884aa54
DJ
74172001-10-27 Daniel Jacobowitz <drow@mvista.com>
7418
7419 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
7420 * gdm.mi/mi0-hack-cli.exp: Likewise.
7421
0398c9aa
AC
74222001-10-25 Andrew Cagney <ac131313@redhat.com>
7423
7424 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
7425 messages.
7426
d20bf2e8
AC
74272001-10-21 Andrew Cagney <ac131313@redhat.com>
7428
7429 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
7430 checking MI enabled.
7431
03dd63aa
CV
74322001-10-09 Corinna Vinschen <vinschen@redhat.com>
7433
7434 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
7435
1d9d99f3
FCE
74362001-10-04 Frank Ch. Eigler <fche@redhat.com>
7437
7438 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
7439 if gdb child process crashes, just signal an error.
7440
838ae6c4
JB
74412001-10-02 Jim Blandy <jimb@redhat.com>
7442
7443 * lib/gdb.exp (test_xfail_format): Simplify.
7444
7445 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
7446 front of the variable name `format'. Simplify `if'.
7447
8f0cbc1c
DJ
74482001-10-01 Daniel Jacobowitz <drow@mvista.com>
7449
7450 * gdb.threads/pthreads.exp: Wait for output and delay
7451 before sending ^C.
7452
1f08dafd
DJ
74532001-10-01 Daniel Jacobowitz <drow@mvista.com>
7454
7455 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
7456 some incorrect output instead of timing out.
7457 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
7458
674f90ff
CV
74592001-09-28 Corinna Vinschen <vinschen@redhat.com>
7460
7461 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
7462 check to allow additional `int'.
7463
9b284272
DJ
74642001-09-27 Daniel Jacobowitz <drow@mvista.com>
7465
7466 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
7467 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
7468
b55a4771
MS
74692001-09-27 Michael Snyder <msnyder@redhat.com>
7470
7471 * lib/gdb.exp (test_debug_format): New proc.
7472 (setup_xfail_format): Use new proc test_debug_format.
7473 * gdb.base/constvars.exp (local_compiler_xfail_check): New
7474 proc; use new service proc test_debug_format.
7475 Replace all other "gcc_compiled" tests with this test.
7476 * gdb.base/volatile.exp (local_compiler_xfail_check): New
7477 proc; use new service proc test_debug_format.
7478 Replace all other "gcc_compiled" tests with this test.
7479
74802001-09-27 Michael Snyder <msnyder@redhat.com>
7481
7482 * gdb.base/cvexpr.exp: New file.
7483 * gdb.base/cvexpr.c: New file
7484 Test for expressions using const and volatile keywords.
7485
4e6667ac
CV
74862001-09-26 Corinna Vinschen <vinschen@redhat.com>
7487
7488 * gdb.base/constvars.exp: Check for different orders of keywords
7489 and additional "int" strings in output.
7490
4f337972
AC
74912001-09-22 Andrew Cagney <ac131313@redhat.com>
7492
7493 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
7494 responses from "help maint".
7495
2015650d
FCE
74962001-09-19 Frank Ch. Eigler <fche@redhat.com>
7497
7498 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
7499 to localhost:NNN instead of :NNN, in case Xvfb is listening
7500 only on TCP.
7501
f3bcedc1
CV
75022001-09-19 Corinna Vinschen <vinschen@redhat.com>
7503
7504 * gdb.base/recurse.exp: When checking leaving the watchpoint
7505 scope, recognize when gdb is in function's epilogue and pass.
7506
6b819c92
KS
75072001-09-18 Keith Seitz <keiths@redhat.com>
7508
7509 * lib/insight-support.exp (_gdbtk_export_target_info): Add
7510 support for running tests against sid targets.
7511 (gdbtk_done): Ditto.
7512
a10c9419
CV
75132001-09-18 Corinna Vinschen <vinschen@redhat.com>
7514
7515 * gdb.base/ending-run.c (main): Set stdout buffersize
7516 to the same reasonable value for any target.
7517 * gdb.base/ending-run.exp: Add a regular expression
7518 to make testsuite happy on Sanyo Stormy16 target.
7519
739d0d99
CV
75202001-09-17 Corinna Vinschen <vinschen@redhat.com>
7521
7522 * gdb.base/display.c (do_loops): Add float variable `f'.
7523 Increment f in loop.
7524 * gdb.base/display.exp: Increment timeout by 60 seconds.
7525 Change float display test to use variable `f'.
7526
1b8947f0
JB
75272001-09-17 Jim Blandy <jimb@redhat.com>
7528
7529 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
7530 overflowing the limited breakpoint tables on some ROM monitors
7531 (like the ROM68K).
7532
9890ac81
FCE
75332001-09-15 Frank Ch. Eigler <fche@redhat.com>
7534
7535 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
7536 the "-ac" (disable access control) flag.
7537
6db765ea
JH
75382001-08-30 Jeff Holcomb <jeffh@redhat.com>
7539
7540 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
7541 ints.
7542
4c32cc04
KS
75432001-08-30 Keith Seitz <keiths@redhat.com>
7544
7545 * lib/gdb.exp: Move all insight-related functionality into
7546 separate file.
7547 * lib/insight-support.exp: New file.
7548
8d6e6f81
FCE
75492001-08-29 Frank Ch. Eigler <fche@redhat.com>
7550
7551 * config/sid.exp (sid_start): Never set sid verbosity; disable
7552 expect_background {} that consumed its stdout; tolerate </dev/null.
7553 Attempt to set endianness override in "sid" protocol mode. Cleanup.
7554
6a90e1d0
AC
75552001-08-18 Andrew Cagney <ac131313@redhat.com>
7556
7557 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
7558 CLI jump command to start it.
7559 (mi_run_to_main): Fail immediatly when unexpected output.
7560
1759b3c3
AC
75612001-08-18 Andrew Cagney <ac131313@redhat.com>
7562
7563 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
7564 beginning of function. Fix PR gdb/191.
7565
61d11d80
FCE
75662001-08-16 Frank Ch. Eigler <fche@redhat.com>
7567
7568 * config/sid.exp (sid_start): Don't warn if we cannot figure out
7569 what to force sid endianness to.
7570
942a4df2
KS
75712001-08-15 Keith Seitz <keiths@redhat.com>
7572
7573 * lib/gdb.exp (gdbtk_start): Don't set environment
7574 variables for TCL_LIBRARY and friends. Insight will
7575 now figure these out for itself.
7576
0521c418
MS
75772001-08-02 Michael Snyder <msnyder@redhat.com>
7578
7579 * gdb.base/completion.exp: Remove the symbol "a64l" from
7580 the expect string; this is target-specific, and not related
7581 to what is being tested.
7582
74a9a58a
DB
75832001-08-02 Dave Brolley <brolley@redhat.com>
7584
7585 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
7586
c70819fa
MS
75872001-07-25 Michael Snyder <msnyder@redhat.com>
7588
c2b8fa57
MS
7589 * gdb.base/consecutive.exp: New file. Test stepping over
7590 breakpoints on consecutive instructions.
7591 * gdb.base/consecutive.c: New file.
7592
c70819fa
MS
7593 * gdb.base/call-rt-st.exp: Use double-backslash to quote
7594 curly braces in regular expressions.
7595
2b1a1355
MS
75962001-07-25 Michael Snyder <msnyder@redhat.com>
7597
7598 * gdb.base/ending-run.exp: Accept "Program exited normally" as
7599 legitimate output from stepping out of main.
7600
413eca6f
KS
76012001-07-22 Keith Seitz <keiths@redhat.com>
7602
7603 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
7604 the empty string, do not run the tests.
7605
7e5a9322
SC
76062001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7607
7608 * gdb.base/long_long.exp: Detect size of pointer. Take into
7609 account 2-byte pointers when testing for p/a results.
7610
de58f10f
SC
76112001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7612
d63a86f8 7613 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
7614 and defined to 1K for m68hc11.
7615 (random_data): Reduce table to 1K for embedded platforms (68hc11).
7616 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
7617 (sizeof_random_data): New variable to tell the size of the data table;
7618 don't test past this size; always run to main.
7619
d6f5fea1
SC
76202001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7621
7622 * gdb.base/return2.exp: return of long long and double fails for
7623 68HC11; don't execute these tests on that platform.
7624 * gdb.base/return.exp: Return of a double fails for 68hc11.
7625
c477543d
SC
76262001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7627
7628 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
7629 tests that print a float.
7630 * call-rt-st.exp: Likewise.
7631
63cf1c79
MK
76322001-07-12 Mark Kettenis <kettenis@gnu.org>
7633
7634 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
7635 running this test on Linux.
7636
112f9ab5
MC
76372001-06-24 Michael Chastain <chastain@redhat.com>
7638
7639 * gdb.base/arithmet.exp: Remove some tests to make all test names
7640 unique.
7641
4970cb0f
MS
76422001-07-03 Michael Snyder <msnyder@redhat.com>
7643
7644 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
7645 the output of the ptype command.
7646
d85da69f
MS
76472001-07-02 Michael Snyder <msnyder@redhat.com>
7648
4c8a82de
MS
7649 * gdb.base/completion.exp: Don't assume that break.c is the only
7650 source file that may contain functions named "marker".
d85da69f
MS
7651 * gdb.base/corefile.exp: Quote the curly braces in regexp.
7652
8afc772b
AC
76532001-06-28 Andrew Cagney <ac131313@redhat.com>
7654
7655 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
7656 of files to delete.
7657
7658 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
7659 * gdb.disasm/h8300s.exp: New file.
7660 gdb.disasm/h8300s.s: Likewise.
7661
cff22675
AC
76622001-06-27 Andrew Cagney <ac131313@redhat.com>
7663
7664 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
7665 empty breakpoint tables.
7666
68c81b54
AC
76672001-06-25 Andrew Cagney <ac131313@redhat.com>
7668
7669 * lib/mi-support.exp: Update args=... part of stop-reason
7670 patterns. Accept either a list or a tuple.
7671
2dd62704
AC
76722001-06-23 Andrew Cagney <ac131313@redhat.com>
7673
7674 * lib/mi-support.exp: Remove local emacs variable defining
7675 change-log-default-name.
7676
b4127474
MC
76772001-06-22 Michael Chastain <chastain@redhat.com>
7678
7679 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
7680 This is operationally compatible with the previous version.
7681
8dbfb380
JB
76822001-06-13 Jim Blandy <jimb@redhat.com>
7683
7684 * lib/gdb.exp (gdb_test): Doc fix.
7685
f2d8c86d
MC
76862001-06-10 Michael Chastain <chastain@redhat.com>
7687
7688 * gdb.base/exprs.exp: Remove a duplicate test.
7689
81564d34
JB
76902001-06-06 Jim Blandy <jimb@redhat.com>
7691
7692 * gdb.base/return2.exp (main): Use values to test float and double
7693 returns that are not NaN's, to avoid being confused by IEEE
7694 comparison rules.
7695
da55addb
MS
76962001-06-04 Michael Snyder <msnyder@redhat.com>
7697
7698 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 7699 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
7700 rather than wait for 12 more tests to time out.
7701
42c65987
JB
77022001-06-06 Jim Blandy <jimb@redhat.com>
7703
b18bced9 7704 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 7705 Don't forget to match the GDB prompt.
b18bced9 7706
42c65987
JB
7707 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
7708
5b41e5f0
JB
77092001-06-04 Jim Blandy <jimb@redhat.com>
7710
7711 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
7712 command.
7713
015e046f
KB
77142001-05-31 Kevin Buettner <kevinb@redhat.com>
7715
7716 * gdb.base/annota1.exp (info break): Match four or more spaces
7717 after "Address".
7718
fb1ffbbe
MC
77192001-05-31 Michael Chastain <chastain@redhat.com>
7720
7721 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
7722 (dm_type_int_star): Likewise.
7723 (dm_type_long_star): Likewise.
7724 (dm_type_void_star): Likewise.
7725
5ea2a32c
KB
77262001-05-29 Kevin Buettner <kevinb@redhat.com>
7727
7728 * gdb.base/completion.exp (INPUTRC): Set this environment variable
7729 to a known value in order to get consistent results regardless
7730 of the setting of INPUTRC or the presence or contents of .inputrc.
7731
ae23c492
MS
77322001-05-24 Michael Snyder <msnyder@redhat.com>
7733
ac55707e
MS
7734 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
7735 Don't require that the main thread and the manager thread are the
7736 first in the list.
7737
ae23c492
MS
7738 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
7739 debugging. If test fails, issue an "unsupported" not a "fail".
7740
400071f1
JB
77412001-05-24 Jim Blandy <jimb@redhat.com>
7742
7743 Don't assume that short is shorter than int.
7744 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
7745 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 7746 this isn't true.
400071f1
JB
7747 ("print unsigned char == (~0)"): Add test that verifies that ~0,
7748 an int, is not equal to ~0 stored in an unsigned char. This tests
7749 the same thing that the previous test meant to, but works on
7750 16-bit machines, too.
7751 ("print unsigned char != (~0)"): Same test, complemented.
7752
0816a3e5
MS
77532001-05-24 Michael Snyder <msnyder@redhat.com>
7754
7755 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 7756 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
7757 and prevents dejagnu getting out of step.
7758
f6dc23a9
KB
77592001-05-23 Kevin Buettner <kevinb@redhat.com>
7760
7761 * gdb.base/finish.exp (finish_void): Revise pattern for
7762 stopping on the call statement to not permit stopping at
7763 the start of the instructions comprising the call sequence.
7764
7dbd117d
MC
77652001-05-19 Michael Chastain <chastain@redhat.com>
7766
7767 * gdb.base/callfuncs.exp: Make all test names unique.
7768 * gdb.base/commands.exp: Make all test names unique.
7769 * gdb.base/condbreak.exp: Make all test names unique.
7770 * gdb.base/dbx.exp: Make all test names unique.
7771 * gdb.base/default.exp: Make all test names unique.
7772 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
7773 and TIMEOUT messages to their corresponding PASS message.
7774 * gdb.base/ending-run.exp: Make all test names unique.
7775 * gdb.base/long_long.exp: Remove duplicate test.
7776
6b0b0a9e
KB
77772001-05-21 Kevin Buettner <kevinb@redhat.com>
7778
7779 * gdb.base/finish.exp (finish_void): Allow "finish" command to
7780 stop on the call statement as well as the statement after the
7781 call.
7782
2caa35cb
MS
77832001-05-21 Michael Snyder <msnyder@redhat.com>
7784
7785 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
7786
40713331
EZ
77872001-05-10 Elena Zannoni <ezannoni@redhat.com>
7788
7789 * gdb.base/completion.exp: Revamp test. Make it execute on all
7790 platforms.
7791
c2c1be8d
EZ
77922001-05-10 Elena Zannoni <ezannoni@redhat.com>
7793
2c9cd303
EZ
7794 * config/gdbserver.exp (gdb_load): Handle the case
7795 in which the arguments to gdbserver are given in the
7796 baseboard configuration file.
7797 Also handle the case in which the server needs to do a
7798 load.
7799
9671de48
KS
78002001-05-07 Keith Seitz <keiths@cygnus.com>
7801
7802 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
7803 set up the display for testing.
7804 (gdbtk_start): Convert all paths to paths that tcl will like.
7805 Export target information to environment.
7806 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
7807 necessary.
7808 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
7809 (to_tcl_path): New proc to convert a given pathname into
7810 a path acceptible as an argument to a tcl command.
7811 (_gdbtk_export_target_info): New proc to export target info
7812 into the environment for gdbtk testing.
7813 (gdbtk_done): New proc to signal end-of-test.
7814
5a360f47
JB
78152001-05-06 Jim Blandy <jimb@redhat.com>
7816
7817 * restore.c: Make the code of caller0 correspond to its comment.
7818
66c756c6
MS
78192001-05-03 Michael Snyder <msnyder@redhat.com>
7820
7821 * config/sid.exp (gdb_target_sid): Check for error messages.
7822 On error or timeout, don't make expect exit (which will terminate
7823 all subsequent tests); instead just make gdb exit.
d63a86f8 7824 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
7825 return a negative value.
7826
a966fde5
JB
78272001-04-24 Jim Blandy <jimb@redhat.com>
7828
851c18e0
JB
7829 * gdb.c++/templates.exp: If we see the prompt for the overload
7830 list, but we haven't recognized any of the longer patterns,
7831 arrange for this test to fail, not hang.
7832
a966fde5
JB
7833 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
7834 variations.
7835
db144853
MC
78362001-04-22 Michael Chastain <chastain@redhat.com>
7837
7838 * gdb.c++/local.exp: Use the 'runto' library function.
7839 * gdb.c++/namespace.exp: Likewise.
7840 * gdb.c++/overload.exp: Likewise.
7841
3207ec21
KB
78422001-03-26 Kevin Buettner <kevinb@redhat.com>
7843
7844 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
7845 * gdb.base/step-line.exp: New file. Test step/next in presence of
7846 #line directives.
7847 * gdb.base/step-line.c: New file. Test program for the above.
7848 * gdb.base/step-line.inp: New file. We pretend that this file has
7849 been transformed by some other tool into step-line.c.
7850
13b57657
JB
78512001-03-21 Jim Blandy <jimb@redhat.com>
7852
7853 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
7854 unmangled operator names.
7855
754cbe1c
JB
78562001-03-20 Jim Blandy <jimb@redhat.com>
7857
7858 * gdb.threads/linux-dp.exp: Recognize an additional message
7859 generated by GDB when it doesn't understand how to debug threads
7860 on the target system.
7861
177495c9
AC
78622001-03-19 Andrew Cagney <ac131313@redhat.com>
7863
7864 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
7865
f266096b
MC
78662001-03-12 Michael Chastain <chastain@redhat.com>
7867
7868 * gdb.c++/derivation.exp: Use the 'runto' library function.
7869
cac3c2ff
MC
78702001-03-12 Michael Chastain <chastain@redhat.com>
7871
7872 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
7873
b6c11a24
MC
78742001-02-24 Michael Chastain <chastain@redhat.com>
7875
7876 * gdb.c++/ref-types.exp: Change handwritten code to library
7877 function 'runto'.
7878
6bae5bce
OF
78792001-03-16 Orjan Friberg <orjanf@axis.com>
7880
7881 * gdb.base/signals.exp: Set count to 0 explicitly.
7882
0015fd9a
MS
78832001-03-15 Mark Salter <msalter@redhat.com>
7884
7885 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
7886 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
7887 (gdb_load): Add support for additional target_info: gdb_download_size
7888 and gdb_load_timeout.
0015fd9a 7889
fc33412a
DT
7890Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
7891
7892 * gdb.base/annota1.exp: Move test of isnative to earlier in the
7893 file -- to prevent failing when the compile fails but we have no
7894 intention of running the tests anyway.
7895
7896 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
7897 tests if set.
7898
7899 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
7900 integers.
7901
7902 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
7903 * gdb.c++/namespace.exp: Ditto.
7904
115f06de
OF
79052001-03-07 Orjan Friberg <orjanf@axis.com>
7906
7907 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
7908 * gdb.base/pointers.exp: Relax pattern match of decimals.
7909
b6ba6518
KB
79102001-03-06 Kevin Buettner <kevinb@redhat.com>
7911
7912 * Makefile.in, config/abug.exp, config/cfdbug.exp,
7913 config/cpu32bug.exp, config/dve.exp, config/est.exp,
7914 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
7915 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
7916 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
7917 config/sh.exp, config/sid.exp, config/slite.exp,
7918 config/sparclet.exp, config/udi.exp, config/unknown.exp,
7919 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
7920 config/vxworks.exp, config/vxworks29k.exp,
7921 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
7922 gdb.base/all-bin.exp, gdb.base/annota1.exp,
7923 gdb.base/arithmet.exp, gdb.base/assign.exp,
7924 gdb.base/async.exp, gdb.base/attach.exp,
7925 gdb.base/bitfields.exp, gdb.base/bitops.exp,
7926 gdb.base/break.exp, gdb.base/call-ar-st.exp,
7927 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
7928 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
7929 gdb.base/commands.exp, gdb.base/completion.exp,
7930 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7931 gdb.base/constvars.exp, gdb.base/corefile.exp,
7932 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
7933 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
7934 gdb.base/ending-run.exp, gdb.base/environ.exp,
7935 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7936 gdb.base/finish.exp, gdb.base/foll-exec.exp,
7937 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
7938 gdb.base/funcargs.exp, gdb.base/help.exp,
7939 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
7940 gdb.base/logical.exp, gdb.base/long_long.exp,
7941 gdb.base/maint.exp, gdb.base/mips_pro.exp,
7942 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
7943 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
7944 gdb.base/pointers.exp, gdb.base/printcmds.exp,
7945 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
7946 gdb.base/regs.exp, gdb.base/relational.exp,
7947 gdb.base/remote.exp, gdb.base/reread.exp,
7948 gdb.base/restore.exp, gdb.base/return2.exp,
7949 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
7950 gdb.base/selftest.exp, gdb.base/setshow.exp,
7951 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
7952 gdb.base/sigall.exp, gdb.base/signals.exp,
7953 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
7954 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7955 gdb.base/step-test.exp, gdb.base/structs.c,
7956 gdb.base/structs.exp, gdb.base/structs2.exp,
7957 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
7958 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
7959 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
7960 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
7961 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
7962 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
7963 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
7964 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
7965 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
7966 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
7967 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
7968 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
7969 gdb.fortran/types.exp, gdb.java/jmisc.exp,
7970 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7971 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
7972 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7973 gdb.trace/circ.exp, gdb.trace/collection.exp,
7974 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7975 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7976 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
7977 gdb.trace/report.exp, gdb.trace/save-trace.exp,
7978 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7979 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7980 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
7981 notices.
7982
dc96c6c7 79832001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
7984
7985 * gdb.base/varargs.c (find_max_double): Fix printf format string:
7986 first arg is int not float.
7987
dc96c6c7 79882001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
7989
7990 * gdb.base/reread.exp: Unsupported for non-native targets;
7991 doesn't work for remote debugging.
7992
9b0c4aeb
FN
79932001-02-19 Fernando Nasser <fnasser@redhat.com>
7994
7995 From Drew Moseley <dmoseley@redhat.com>
7996 * gdb.base/ending-run.exp: Properly handle the BSP state when
7997 stepping past the end of main.
7998
02aa71d5
MC
79992001-02-19 John Moore <jmoore@redhat.com>
8000
8001 * gdb.base/commands.exp (infrun_breakpoint_command_test):
8002 Converted HPUX fix for non-expected items following multiple
8003 step commands into general solution for all platforms.
8004
1fa449a4
MC
80052001-02-18 Michael Chastain <chastain@redhat.com>
8006
8007 * gdb.c++/classes.exp (do_tests): Change runto statements
8008 from "runto 'foo(void)'" to "runto 'foo'". This makes the
8009 statements demangler agnostic.
8010 * gdb.c++/virtfunc.exp (do_tests): Likewise.
8011 (gdb_virtfunc_restart): Likewise.
8012
b2f9ec70
MC
80132001-02-14 Michael Chastain <chastain@redhat.com>
8014
8015 * gdb.c++/inherit.exp (do_tests): Change runto statements
8016 from "runto 'foo(void)'" to "runto 'foo'". This makes the
8017 statements demangler agnostic.
8018
cf74b8ca
AC
8019Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
8020
8021 * gdb.threads/pthreads.exp: Unify pass/fail messages for
8022 ``continue to bkpt at common_routine in thread 2'' and ``stopped
8023 before calling common_routine 15 times'' tests.
8024
99f78f56
MC
80252001-02-11 Michael Chastain <chastain@redhat.com>
8026
8027 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
8028 Helps the test script figure out which demangler is in use.
8029 (dm_type_foo_ref): Ditto.
8030 (dm_type_int_star): Ditto.
8031 (dm_type_long_star): Ditto.
8032 (dm_type_unsigned_int): Ditto.
8033 (dm_type_void): Ditto.
8034 (dm_type_void_star): Ditto.
99707966 8035 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
8036 Probe the gdb demangler and set variables to accommodate
8037 formatting differences.
8038 (info_func_regexp): New function. Same as info_func, but
8039 matches against a regexp.
8040 (info_func): Match against a literal string.
8041 (print_addr_2): New function. Match against a literal string,
8042 which can be different from the input to gdb.
8043 (print_addr): Simply call print_addr_2 with the same argument twice.
8044 (test_lookup_operator_functions): Use demangler formatting variables.
8045 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
8046 the tests in the same order as the C++ class declaration.
8047 (test_paddr_operator_functions): Ditto.
8048 (test_paddr_overloaded_functions): Ditto.
8049 (test_paddr_hairy_functions): Use demangler formatting variables.
8050 Add reference to gdb/19 for related tests.
8051 (do_tests): Call probe_demangler.
8052
1de8f023
KB
80532001-01-30 Kevin Buettner <kevinb@redhat.com>
8054
8055 * gdb.c++/templates.cc (printf): Remove unused function definition.
8056
ca3f91ed
MS
80572001-01-26 Felix Lee <flee@redhat.com>
8058
8059 * sid.exp (sid_exit): Pass host, not target, to remote_close.
8060
80612001-01-25 matthew green <mrg@redhat.com>
8062
8063 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
8064 up sid.
8065 (sid_exit): Call `remote_pop_conn' after GDB is gone.
8066
80672001-01-25 matthew green <mrg@redhat.com>
8068
8069 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 8070 Deprecate $sid_spawn_id.
ca3f91ed
MS
8071 (sid_exit): Remove code necessary only for `spawn.'
8072
80732001-01-25 matthew green <mrg@redhat.com>
8074
8075 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
8076
fb18ec4a
MC
80772001-01-28 Michael Chastain <chastain@redhat.com>
8078
8079 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
8080 to call when tests fail. It takes gdb out of the overloaded
8081 function choice menu back to the main prompt, so that the test
8082 program stays synchronized.
8083 (set_bp_overloaded): New proc to collect all the common
8084 code for setting a breakpoint on an overloaded name. Calls
8085 take_gdb_out_of_choice_menu when needed.
8086 (menu_overload1arg): New variable to collect the repeated
8087 instances of the expected menu for an overloaded name. Change
8088 the regular expression to handle changes in g++ type encoding:
8089 "void" can be either "void" or "", and "unsigned int" can be
8090 either "unsigned int" or "unsigned".
8091 (continue_to_bp_overloaded): Change regular expressions to handle
8092 changes in g++ type encoding.
8093 (no proc): Call take_gdb_out_of_choice_menu when needed.
8094 Remove redundant calls to "info break". Accept either "canceled"
8095 or "cancelled". Change regular expressions in "info break"
8096 calls to handle changes in g++ type encoding. Give all tests
8097 unique strings.
8098
9c646a6e
BE
80992001-01-17 Ben Elliston <bje@redhat.com>
8100
8101 * config/sid.exp: New file.
8102
9549d9c1
AC
8103Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
8104
8105 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
8106
dc96c6c7 81072000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
8108
8109 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
8110 Add a RE to accept a non-ascii char if one is ever presented.
8111
b4df4f68
FN
81122000-12-20 Fernando Nasser <fnasser@redhat.com>
8113
297dd0fd 8114 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 8115
dc96c6c7 81162000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 8117
d63a86f8 8118 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
8119 in regexp. One '\' does not suffice on Linux.
8120
4a7bddb6
MC
81212000-12-09 Michael Chastain <chastain@redhat.com>
8122
8123 * gdb.base/break.exp (test_clear_command): Use a marker function
8124 rather than 'main' for the test function. Also move this
8125 test to an execution point where the marker function names are
8126 guaranteed to be bound to functions. (Executing tests after a
8127 'finish' from main runs into name conflicts with local names
8128 in __libc_start_main).
8129
dc96c6c7 81302000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
8131
8132 * gdb.base/finish.exp: New test for gdb's "finish" command.
8133 * gdb.base/return2.exp: New test for gdb's "return" command.
8134 * gdb.base/return2.c: New source file for above.
8135
dc96c6c7 81362000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
8137
8138 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
8139 * gdb.base/miscexprs.exp: Ditto.
8140 * gdb.base/pointers.exp: Ditto.
8141 * gdb.c++/derivation.exp: Ditto.
8142 * gdb.c++/local.exp: Ditto.
8143 * gdb.c++/namespace.exp: Ditto.
8144 * gdb.c++/overload.exp: Ditto.
8145 * gdb.c++/ref-types.exp: Ditto.
8146
dc96c6c7 81472000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
8148
8149 * gdb.base/constvars.exp: Test result of "up" command.
8150 * gdb.base/miscexprs.exp: Ditto.
8151 * gdb.base/pointers.exp: Ditto.
8152 * gdb.base/scope.exp: Ditto.
8153 * gdb.c++/derivation.exp: Ditto.
8154 * gdb.c++/local.exp: Ditto.
8155 * gdb.c++/namespace.exp: Ditto.
8156 * gdb.c++/overload.exp: Ditto.
8157 * gdb.c++/ref-types.exp: Ditto.
8158
44097287
FN
81592000-11-22 Michael Chastain <chastain@redhat.com>
8160
8161 * mips_pro.exp: Accept either "middle -> top -> main" or
8162 "middle -> main" in the backtrace, because gcc can optimize
8163 tail calls to jumps. Remove setup_xfail for the hppa case.
8164 Add a comment with the original warning messages from PR 3016,
8165 which was filed in 1993, to preserve them for posterity.
8166
9d2e1bab
ND
81672000-11-17 Nick Duffek <nsd@redhat.com>
8168
8169 * lib/gdb.exp (gdb_test): Override timeout with board info.
8170
1aca8eb7
ND
81712000-11-17 Nick Duffek <nsd@redhat.com>
8172
8173 * gdb.base/display.exp: Don't kill running stub. Add "again" to
8174 the second kill and detach messages.
8175
93076499
ND
81762000-11-17 Nick Duffek <nsd@redhat.com>
8177
8178 * configure.in: Add AC_EXEEXT.
8179 * configure: Regenerate.
8180 * Makefile.in (just-check): Export EXEEXT.
8181 * lib/gdb.exp ($EXEEXT): Import from environment.
8182 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
8183 expect "maint dump-me" on Cygwin.
8184 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
8185 $EXEEXT.
8186
30e87cd3
ND
81872000-11-17 Nick Duffek <nsd@redhat.com>
8188
8189 * gdb.base/break.exp: Test backtrace and finish from called
8190 function on all platforms, not just HP-UX.
8191
dc96c6c7 81922000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
8193
8194 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
8195 code from gdb_target_monitor, so it can be used independantly
8196 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 8197
dc96c6c7 81982000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
8199
8200 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
8201 * gdb.base/corefile.exp: Expect the message "Program is being
8202 debugged already" when we send the "corefile" command, since
8203 the preceeding gdb_load may have connected gdb to a remote target.
8204 * gdb.base/display.exp: Disable hardware watchpoints if new
8205 board info variable "no_hardware_watchpoints" is true.
8206 Replace single-letter commands with more readable ones.
8207 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
8208 if new board info variable "no_hardware_watchpoints" is true.
8209 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
8210 to see if stdio (printf) testing is possible.
8211 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
8212 board info variable "no_hardware_watchpoints" is true. Use new
8213 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
8214
39124dea
FN
82152000-11-13 Fernando Nasser <fnasser@redhat.com>
8216
8217 From Orjan Friberg <orjanf@axis.com>:
8218 * gdb.base/printcmds.exp: Escape curly braces followed by a number
8219 in array print pattern match.
8220
a9e2e984
FN
82212000-11-09 Fernando Nasser <fnasser@redhat.com>
8222
8223 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
8224 spelling "cancelled" to U.S. spelling "canceled" to match changes
8225 made to gdb.
8226 * gdb.c++/ovldbreak.exp: Ditto.
8227
c7db355b
PS
82282000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8229
8230 * gdb.base/callfuncs.c (main): Moved to end of file, call
8231 t_double_values to initialize the FPU before inferior calls are made.
8232 * gdb.base/callfuncs.exp: Test for register preservation after calling
8233 inferior functions. Add tests for continuining, finishing and
8234 returning from a stop in a call dummy.
8235
dc96c6c7 82362000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
8237
8238 * gdb.base/commands.exp: Break up long lines, and re-indent.
8239
dc96c6c7 82402000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
8241
8242 * config/gdbserver.exp: Rewritten from the ground up, to make it
8243 compatible with the current dejagnu tree, and to make it work with
8244 the new "gdbserver" in libremote.
8245
dc96c6c7 82462000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
8247
8248 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
8249 * gdb.base/varargs.exp: Skip entire test if no printf support.
8250 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
8251 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
8252
dc96c6c7 82532000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
8254
8255 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
8256 no floating point support.
8257 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
8258 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
8259 * gdb.base/call-rt-st.exp: Ditto.
8260 * gdb.base/call-strs.exp: Ditto.
8261
bac5fc66
JG
82622000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
8263
8264 * gdb.base/sizeof.c: include <stdio.h>.
8265
8266 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
8267 'finish', otherwise uncaptured gdb_prompt would potentially
8268 throw remaining test points out of sync.
8269
b22a6027
SB
82702000-07-26 Scott Bambrough <scottb@netwinder.org>
8271
8272 * gdb.base/recurse.exp: Run tests for all targets.
8273 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
8274 gnu-oldld case on ARM.
8275 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
8276 for ARM targets.
d63a86f8 8277
d8231941
AG
8278Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
8279
8280 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
8281 * gdb.java/configure: Rebuild.
8282
8caabe69
AG
8283Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
8284
8285 * gdb.java/jv-exp.exp: New file.
8286
9d273ca3
AG
8287Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
8288
8289 * configure: Rebuilt.
8290 * configure.in (configdirs): Add gdb.java.
8291 * gdb.java/jmisc.java: New file.
8292 * gdb.java/jmisc.exp: New file.
8293 * gdb.java/Makefile.in: New file.
8294 * gdb.java/configure: Rebuilt.
8295 * gdb.java/configure.in: New file.
8296 * lib/java.exp: New file.
8297
4f823a66
AC
8298Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
8299
8300 * gdb.base/exprs.exp: Test casts to a pointer including over and
8301 underflow.
8302
2391e11d
AC
8303Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
8304
8305 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
8306 and the compilers sizes.
8307
54602222
ND
83082000-07-09 Nick Duffek <nsd@redhat.com>
8309
8310 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
8311 (use_methods): New function.
8312 (main): Call use_methods().
8313 * gdb.c++/classes.exp (test_method_param_class): New procedure.
8314 (do_tests): Call test_method_param_class.
8315
2bec0572
ND
83162000-07-09 Nick Duffek <nsd@redhat.com>
8317
8318 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
8319 spelling.
8320 (test_enums): New procedure. Move enum tests from end of script
8321 to here. Set breakpoint on function name instead of line number.
8322 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
8323 (enums2): New marker function.
8324 (enums1): New function.
8325 (main): Call enums1(). Move enum tests to enums1().
8326
78492fde
AC
8327Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
8328
8329 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
8330 compile/link program. Update line numbers.
8331 * gdb.asm/d10v.inc: Define ``startup''.
8332 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 8333
49a2cef8
AC
8334Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
8335
8336 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
8337
3e6c8688
EZ
83382000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8339
8340 * gdb.base/maint.exp: Add 'maint print architecture' item to output
8341 of 'help maint print' command.
8342
9ff5cbe9
AC
8343Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
8344
8345 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
8346 they use gdb_expect_list.
8347
17c579bd
AC
8348Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
8349
8350 * gdb.base/commands.exp: Use ``set remote
8351 memory-read-packet-size'' instead of ``set endian big'' to test
8352 long commands.
8353
e6d71bf3
DB
83542000-06-03 Daniel Berlin <dan@cgsoftware.com>
8355
8356 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 8357 g++, and stop skipping them.
e6d71bf3
DB
8358
8359 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
8360 work under g++.
8361
d63a86f8 8362 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
8363 initialization.
8364
dc96c6c7 83652000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
8366
8367 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
8368 the regular expression: accept an (almost) arbitrary sequence of
8369 "frames-invalid" and "breakpoints-invalid" messages both before
8370 and after the "starting" message.
8371
dc96c6c7 83722000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
8373
8374 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 8375
dc96c6c7 83762000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
8377
8378 * gdb.base/annota1.exp (annotate-signal-handler-caller):
8379 Relax the regular expression a little, make it pass on Solaris 8.
8380
8216cda9
KB
83812000-05-12 Kevin Buettner <kevinb@redhat.com>
8382
8383 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 8384 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
8385 Instead, it is permissible for gdb to stop on the line of the
8386 call itself.
8387
1a570b2f
MS
83882000-05-12 Michael Snyder <msnyder@.cygnus.com>
8389
8390 * gdb.base/break.exp (bp on small function, optimized file):
8391 Add a second pass pattern. The behavior differs here between stabs
8392 and dwarf for one-line functions. Stabs preserves two line symbols
8393 (one before the prologue and one after) with the same line number,
8394 but dwarf regards these as duplicates and discards one of them.
8395 Therefore the address after the prologue (where the breakpoint is)
8396 has no exactly matching line symbol, and GDB reports the breakpoint
8397 as if it were in the middle of a line rather than at the beginning.
8398
dc96c6c7 83992000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 8400
d63a86f8 8401 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
8402 rather than "send_gdb" (for consistancy).
8403
7d418785
AC
8404Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
8405
8406 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
8407 * gdb.c++/templates.cc: Properly check for GCC version number.
8408 * lib/compiler.cc: Likewise
8409
dc96c6c7 84102000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 8411
d63a86f8 8412 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
8413 gdb may not stop at the first line of main, due to code motion.
8414
dc96c6c7 84152000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
8416
8417 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
8418 This test depends on parsing the printf output from the target.
8419 Since the sparclet stub doesn't do stdio, this will never work.
8420 * gdb.base/call-rt-st.exp: ditto.
8421 * gdb.base/call-strs: ditto.
8422
dc96c6c7 84232000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
8424
8425 * gdb.base/miscexprs.exp: make sizeof long array test portable.
8426
8427 * gdb.base/ending-run.exp: After connecting to a remote target,
8428 but before running, the target will appear to be in a random
8429 location. Specify both a file and a line for breakpoints.
8430 Also, the function that calls main may be called 'init'
8431 rather than 'start'.
8432
a5a51225
EZ
84332000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8434
8435 * gdb.base/help.exp: Update output for add-symbol-file command.
8436
7930cc7c
FN
84372000-04-10 Fernando Nasser <fnasser@cygnus.com>
8438
8439 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8440 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
8441
23e37ab1
C
84422000-04-07 J.T. Conklin <jtc@redback.com>
8443
e93c542c
C
8444 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
8445
23e37ab1
C
8446 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
8447
591b8fa3
PDM
8448Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
8449
8450 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
8451 values that can be represented exactly.
8452 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
8453 above change, and to not check against the directory part of the source
8454 file name.
8455 (step into print_long_arg_list): Likewise.
8456 (print print_small_structs from print_long_arg_list): Likewise.
8457 (print print_long_arg_list): Likewise.
8458
7a495180
EZ
84592000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8460
30b53638 8461 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 8462
beb998c6
AC
8463Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
8464
8465 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
8466
1c689132
DB
84672000-03-25 Daniel Berlin <dan@cgsoftware.com>
8468
8469 * gdb.base/commands.exp (deprecated_command_test): Add test for
8470 deprecate with no arguments.
8471
c1790a9d
JL
84722000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
8473
8474 * gdb.base/break.exp: Add new test for setting breakpoints on
8475 optimized code so we can test breakpoints work even when function
8476 prologues may be optimized away
8477
003ba290
FN
84782000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
8479
8480 From David Whedon <dwhedon@gordian.com>
8481 * gdb.base/commands.exp : Added command deprecator tests.
8482
6837a0a2
DB
84832000-03-22 Daniel Berlin <dan@cgsoftware.com>
8484
8485 * gdb.base/help.exp: Added test for new apropos command.
8486
b9593231
KB
84872000-03-21 Kevin Buettner <kevinb@redhat.com>
8488
8489 * gdb.base/pointers.c (usevar): New function.
8490 (main): Make sure that global variables v_int_pointer2, rptr,
8491 and y are all referenced someplace in the program by calling
8492 usevar() on them. [Some linkers delete symbols which are
8493 never referenced. The space remains, but there's no way to
8494 get a (symbolic) handle on the variable from the debugger.]
8495
751a959b
EZ
84962000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8497
8498 * gdb.base/printcmds.c: Add typedeffed arrays.
8499
8500 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
8501 procedure to test arrays that are typedef'd.
8502
73a93a32
JI
85032000-03-13 James Ingham <jingham@leda.cygnus.com>
8504
8505 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 8506 the library directories.
73a93a32 8507
fb40c209
AC
8508Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
8509
8510 * configure.in (configdirs): Add sub directory gdb.mi.
8511 * configure: Re-generate.
8512
8513 * gdb.mi: New directory.
d63a86f8 8514
ee4dd2c9
AC
85152000-02-25 Scott Bambrough <scottb@netwinder.org>
8516
8517 * gdb.base/long_long.exp: Correct test suite failure when printing
8518 a long long value as a double on ARM platforms.
8519
70f0cc22
JB
85202000-02-16 Jim Blandy <jimb@redhat.com>
8521
8522 * gdb.base/break.exp ("breakpoint line number"): Make sure the
8523 default source file is set properly before running this test.
8524
853819b8
EZ
85252000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8526
8527 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
8528 gdbtk/library directory, not in gdbtcl2.
8529
dfcd3bfb
JM
85302000-02-04 Jim Blandy <jimb@redhat.com>
8531
8532 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
8533 backslash from regexp pattern.
8534
8535 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
8536 procedure. Use it to run all the "continue to bp overloaded"
8537 tests. Note that this changes the names of the tests slightly.
8538 If the breakpoint hit message includes a hex PC value, because
8539 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
8540 from the real source code, still consider that a pass.
8541
8542 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
8543 XFAIL here if the breakpoint message contains a hex address. Note
8544 similar change on 1999-11-02.
8545
8546 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
8547
8548 * gdb.base/ptype.exp: Establish a default source file before
8549 calling get_debug_format.
8550
85512000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
8552
8553 * gdb.base/watchpoint.exp: Remove duplication of test messages.
8554
8b93c638
JM
85552000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
8556
8557 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
8558 of successive stepi commands -- while in the prologue we should see
8559 the function entry bracket.
8560
85612000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
8562
8563 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
8564 reach __change_mode() when stepping through the end of main().
8565
c5394b80
JM
85662000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
8567
8568 * gdb.base/default.exp: Fix expected pattern.
8569 * gdb.base/help.exp: Same.
8570
0d06e24b
JM
85712000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8572
8573 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
8574 Don't use xfail's because that affects only the following test.
d63a86f8 8575
0d06e24b
JM
8576 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
8577 solaris or linux.
8578
8579 * gdb.base/selftest.exp: Update to reflect changes to main.c.
8580
dc96c6c7 85812000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 8582
d63a86f8 8583 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
8584 "A syntax error" rather than "A parse error". Accept both.
8585
85862000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
8587
8588 * gdb.base/default.exp: Remove OS dependent string from "target
8589 remote" test.
8590 * gdb.base/help.exp: Same for "help target remote" test.
8591
c3f6f71d
JM
85922000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8593
8594 From Jim Kingdon <kingdon@redhat.com>:
8595
8596 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
8597 prompt (cleanup rather than necessity, but still might keep output
8598 from spilling to next test).
8599
86002000-01-02 Fred Fish <fnf@cygnus.com>
8601
8602 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
8603 AIX, which defines them in <sys/types.h>.
8604
ed9a39eb 86051999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 8606
ed9a39eb
JM
8607 * gdb.base/default.exp: Match arm* etc instead of arm in "info
8608 float" test.
8609
86101999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 8611
ed9a39eb 8612 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
8613
8614 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
8615 outermost frame disallowed".
8616
86171999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
8618
8619 * gdb.base/setvar.exp: New tests for setting the value of a struct
8620 with a constant list.
8621
86221999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
8623
8624 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
8625 require the user to type a cast before setting the value of a struct.
8626
de57eccd
JM
86271999-12-06 Jim Blandy <jimb@cygnus.com>
8628
8629 * gdb.base/default.exp: Expect the new 'info float' command on
8630 all i386 platforms.
8631
8632 * gdb.threads/linux-dp.exp: Expand our ability to recognize
8633 LinuxThreads libraries that don't support debugging.
8634
c2d11a7d
JM
8635Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
8636
8637 * gdb.base/remote.c: Fill the buffer with truely random data.
8638 Change the buffer type to ``unsigned char'' to simplify size
8639 arithmetic.
8640
8641 * gdb.base/remote.exp: Reduce download numbers by one. Typical
8642 stub only handles 400-1 byte packets. Verify that the download
8643 worked.
8644
86451999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
8646
8647 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
8648 tests, using UNRESOLVED for the untested cases. Also, does not wait
8649 for a timeout if the prompt was received before a recognizable pattern.
8650
86511999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
8652
8653 * lib/gdb.exp (gdb_expect_list): Fix spelling.
8654
86551999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8656
8657 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
8658 watchpoints.
8659
86601999-11-24 Jason Merrill <jason@casey.cygnus.com>
8661
8662 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
8663
8664 * gdb.c++/local.exp: Be more flexible in recognizing local class
8665 name mangling. Don't allow horribly truncated method names.
8666 * gdb.c++/derivation.exp: Expect protected inheritance.
8667 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
8668 * gdb.c++/virtfunc.exp: Likewise.
8669 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
8670 when printing a nested enum.
8671
86721999-11-22 Jim Blandy <jimb@cygnus.com>
8673
8674 * gdb.base/step-test.exp: Properly await GDB's response to setting
8675 a breakpoint on the call to large_struct_by_value.
8676
8677 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
8678 just because we have debug info for the `start' function.
8679
86801999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
8681
8682 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
8683 "Unknown signal" messages, which indicate (on LinuxThreads) that
8684 GDB doesn't know how to debug threads on this system. This is
8685 better than hanging while philosopher 0 dumps chatter into gdb.log.
8686
86871999-11-18 Tom Tromey <tromey@cygnus.com>
8688
8689 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
8690
86911999-11-18 Fred Fish <fnf@cygnus.com>
8692
8693 * gdb.base/coremaker2.c: Add sample program for generating
8694 cores that is more self contained than coremaker.c. Eventually
8695 I'll add more code to this and tie it into the testsuite.
8696
4ce44c66
JM
86971999-11-12 Stan Shebs <shebs@andros.cygnus.com>
8698
8699 * gdb.base/dollar.exp: Remove, now in gdb.hp.
8700
87011999-11-10 Jimmy Guo <guo@cup.hp.com>
8702
8703 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
8704 from $srcdir/lib/.
8705 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
8706 and gdb.c++/.
8707
8708 * gdb.c++/derivation.exp: remove redundant get compiler info code.
8709
d63a86f8 8710 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
8711 'continue with watch' test point.
8712
87131999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
8714
8715 Merged from p2linux-990323-branch:
d63a86f8 8716
4ce44c66
JM
8717 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
8718
11cf8741
JM
8719Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
8720
8721 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
8722 {limit,fixed}''. Test ``set download-write-size''.
8723
8724Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
8725
8726 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
8727 gdb_expect_list.
8728
8729Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
8730
8731 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
8732
87331999-11-03 Mark Salter <msalter@cygnus.com>
8734
8735 * gdb.base/break.exp: Fix "stub continue" pattern.
8736
87371999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
8738
8739 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
8740
87411999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
8742
8743 * gdb.base/display.exp ("finish"): Add timeout clause.
8744
8745 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
8746 plain prompt clause, so this doesn't have to time out in order to
8747 fail.
8748
8749 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
8750 breakpoint hit messages include an address.
8751
8752 * gdb.base/display.exp: Don't forget to escape parens in regular
8753 expressions. Unix regexp notatation sucks.
8754
87551999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8756
8757 * gdb.base/annota1.exp: Test for annotate-signalled: change output
8758 order for 'signalled' message.
8759
5c44784c
JM
87601999-11-01 Stan Shebs <shebs@andros.cygnus.com>
8761
8762 From Jimmy Guo <guo@cup.hp.com>:
8763 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
8764 * gdb.base/annota1.c: Add code for tests to work with.
8765
87661999-10-26 Frank Ch. Eigler <fche@cygnus.com>
8767
8768 * gdb.base/remote.exp: New test for remote downloading settings.
8769 * gdb.base/remote.c: New file with large .data.
8770
917317f4
JM
87711999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
8772
8773 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
8774 for LinuxThreads support, merged from the Code Fusion branch.
8775
8776Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
8777
8778 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
8779 containing exp_continue into a while within an expect. Don't
8780 attempt a start more than three times. Check return value from
8781 gdb_load.
d63a86f8 8782
2df3850c
JM
8783Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
8784
8785 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
8786 a pass case.
8787
2acceee2
JM
87881999-10-01 Kevin Buettner <kevinb@cygnus.com>
8789
8790 * gdb.base/break.c (main): Added a statement that we can step
8791 off of.
8792 * gdb.base/break.exp: Added tests for setting a breakpoint
8793 at an offset and stepping onto a breakpoint.
8794
87951999-10-01 Fred Fish <fnf@cygnus.com>
8796
d63a86f8 8797 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
8798 gdb output.
8799
c2c6d25f
JM
88001999-09-18 Jim Blandy <jimb@cris.red-bean.com>
8801
8802 * gdb.base/break.exp: Code locations are in hex, don't forget!
8803 (For HP-UX.)
8804
88051999-09-17 Stan Shebs <shebs@andros.cygnus.com>
8806
8807 * condbreak.exp: Use break.c as test program.
8808 * condbreak.c: Remove, redundant with break.c.
8809
88101999-09-15 Stan Shebs <shebs@andros.cygnus.com>
8811
8812 * config/monitor.exp (gdb_target_monitor): Disable X- and
8813 Z-packets if the target needs it.
8814
88151999-09-13 James Ingham <jingham@leda.cygnus.com>
8816
8817 * gdb.c++/overload.exp: Added tests for listing overloaded
8818 functions with function pointers in the arg, explicitly calling
8819 out the version you want.
8820
cff3e48b
JM
88211999-09-09 Stan Shebs <shebs@andros.cygnus.com>
8822
8823 * long_long.exp: Add variations of test cases that work for
8824 targets with 16-bit ints and 32-bit doubles.
8825
d4f3574e
SS
88261999-09-08 Stan Shebs <shebs@andros.cygnus.com>
8827
8828 * break.c (main): Compare a possibly-uninitialized argc with an
8829 unlikely value that fits in 16 bits.
8830
88311999-09-07 Stan Shebs <shebs@andros.cygnus.com>
8832
8833 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
8834 0xfeeb, don't want negative numbers if ints are 16 bits.
8835
8836 * lib/gdb.exp (skip_cplus_tests): New proc.
8837 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
8838 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
8839 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
8840 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
8841 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
8842 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
8843 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
8844 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
8845
8846 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
8847
8848Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
8849
8850 * gdb.base/corefile.exp (up): Allow a parameter to appear
8851 in the frame that we're going up to.
8852
8853 From Jim Blandy <jimb@cygnus.com>:
8854
8855 * gdb.base/default.exp (info float): Expect some output now.
8856
8857 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
8858 returning floating-point values to fail on the x86.
8859 * gdb.base/callfwmall.exp (do_function_calls): Same.
8860
8861 * gdb.base/list.exp (test_listsize): Correct expectations for
8862 listing line 1 with listsize 2. Also, listing a single line
8863 works now, as does listing three lines. [Kevin's note: There
8864 were a number of other cases fixed too where the expectations
8865 differed...]
8866
88671999-09-02 Stan Shebs <shebs@andros.cygnus.com>
8868
8869 * gdb.base/selftest.exp: Add case for when version prints as
8870 constant string instead of char pointer.
8871
104c1213
JM
88721999-08-25 Stan Shebs <shebs@andros.cygnus.com>
8873
8874 * gdb.base/ending-run.exp: Add Solaris case for what happens when
8875 stepping out of main.
8876
8877 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
8878 G++ used.
8879
8880 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
8881 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
8882
8883 * gdb.c++/ovldbreak.exp: Update match string in test that
8884 includes a warning of multiple breakpoints.
8885
88861999-08-24 Stan Shebs <shebs@andros.cygnus.com>
8887
8888 * gdb.base/display.exp: Improve precision of step-after-finish
8889 added yesterday.
8890
8891 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
8892 test.
8893
8894 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
8895 configs when using G++, not just hppa*.
8896
88971999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8898
8899 * gdb.base/async.c: New file.
8900 * gdb.base/async.exp: New file.
8901
8902Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
8903
8904 * gdb.base/break.exp: Tweak PA specific tests to properly handle
8905 PA64.
8906
53a5351d
JM
8907Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
8908
104c1213
JM
8909 * gdb.base/display.exp: "finish" can leave us mid-line on many
8910 targets, deal with it. Add a small constant to main, instead of
8911 1000 since main+1000 may not be a valid address in the target.
8912
53a5351d
JM
8913 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
8914 on hpux11.
8915
8916 * gdb.base/attach.exp: Handle another hpux11 error message variant
8917 when attaching to a process that does not exist.
8918
89191999-08-19 J.T. Conklin <jtc@redback.com>
8920
8921 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
8922 characters in 'continue to 1241' test.
8923
89241999-08-17 Stan Shebs <shebs@andros.cygnus.com>
8925
8926 * gdb.base/call-ar-st.exp: Add a shorter match case for the
8927 stop in print_long_arg_list, define and use a whitespace
8928 variable in print_small_structs test, add an XFAIL for Solaris.
8929 * gdb.base/dbx.exp: XFAIL func commands until somebody is
8930 interested enough to fix.
8931
7be570e7
JM
89321999-08-13 Keith Seitz <keiths@cygnus.com>
8933
8934 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
8935 (dbx_gdb_load): Remove. Use gdb_load instead, since that
8936 proc knows about targets other than the natives.
8937 (test_assign): Use "gdb_run_cmd" to "run" the target.
8938 Check that we've actually hit the breakpoint at main.
8939 When we attempt to assign a value to a local variable, check
8940 that the variable is in the current scope, i.e., don't use
8941 a test with an empty result.
8942
8943Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
8944
8945 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
8946 command.
8947
89481999-08-09 Stan Shebs <shebs@andros.cygnus.com>
8949
8950 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8951 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
8952 gdb.compat, gdb.threads-hp.
8953 gdb.hp/configure, gdb.hp/configure.in: New files.
8954 gdb.hp/Makefile.in: Recurse into new subdirs.
8955 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
8956 gdb.hp/gdb.objdbg: New directory, tests for debugging info
8957 in object files.
8958 gdb.hp/tools: New directory, aux tools for HP-specific tests.
8959
96baa820
JM
89601999-08-05 Stan Shebs <shebs@andros.cygnus.com>
8961
8962 * gdb.base/display.exp: Help expect by putting a newline in the
8963 funky printf, remove a bogus p/a test.
8964
89651999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8966
8967 * gdb.base/display.exp: Make sure that when we say 'run', we are
8968 connected to the target. This is necessary when running not
8969 natively.
8970
89711999-08-03 Stan Shebs <shebs@andros.cygnus.com>
8972
8973 * gdb.base/step-test.exp: Removed some extraneous messages.
8974
8975 * gdb.base/long_long.exp: Don't run memory examination tests
8976 on little-endian targets (they will need a different set of
8977 results to match).
8978
89791999-08-02 Stan Shebs <shebs@andros.cygnus.com>
8980
8981 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
8982 until somebody decides to fix GDB.
8983
8984 * gdb.base/long_long.c: Stop compiler complaint by specifying long
8985 constant as "ULL".
8986 * gdb.base/long_long.exp: Loosen x/c test, add partial result
8987 matches for a couple x/2 commands.
8988
a0b3c4fd
JM
89891999-07-30 Stan Shebs <shebs@andros.cygnus.com>
8990
8991 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
8992 by merging in ref-types2 tests.
8993 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
8994
8995 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8996 * gdb.c++/Makefile.in: Add standard actions.
8997 (EXECUTABLES): Rename from PROGS, update list.
8998 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
8999 from gdb.hp.
9000 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
9001 foo and bar locals.
9002 * gdb.c++/anon-union.exp: Fix tests to match.
9003 * gdb.c++/classes.exp: Run if HP compiler used, add extra
9004 expect matches to handle output variations.
9005 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
9006 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
9007 output, add HP alternatives for new and delete prints.
9008 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
9009 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
9010 * gdb.c++/demangle.exp: Use $style when reporting failure.
9011 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
9012 * gdb.c++/inherit.exp: Run if HP compiler used, add some
9013 match alternatives.
9014 * gdb.c++/local.exp: Add match alternatives or xfails for HP
9015 compilers.
9016 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
9017 * gdb.c++/method.exp: Add match alternatives.
9018 * gdb.c++/misc.cc: Add bool types.
9019 * gdb.c++/misc.exp: Add tests for bool types.
9020 * gdb.c++/overload.exp: Add xfails.
9021 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
9022 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
9023 add some more template parameter tests (only for HP currently).
9024 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
9025 * gdb.c++/virtfunc.cc: Add return type and value for main.
9026 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
9027 match alternatives.
d63a86f8 9028
a0b3c4fd
JM
90291999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9030
9031 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
9032
90331999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
9034
9035 * gdb.base/signals.exp: Don't expect getting a backtrace from
9036 within a signal handler to fail on Linux.
9037
90381999-07-29 Stan Shebs <shebs@andros.cygnus.com>
9039
9040 From Jimmy Guo <guo@cup.hp.com> and others at HP:
9041 * lib/gdb.exp: Remove some gratuitious semicolons.
9042 (delete_breakpoints): Increase timeout.
9043 (gdb_expect): Add -notransfer option.
9044 (gdb_test): Use -notransfer option.
9045 (get_compiler_info): Add f77 case.
9046 (get_compiler): New proc, split out from gdb_preprocess, add f77
9047 case.
9048 (gdb_preprocess): Call get_compiler.
9049
9050 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
9051 * gdb.base/attach.exp, gdb.base/display.exp,
9052 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
9053 gdb.base/long_long.exp, gdb.base/printcmds.exp,
9054 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
9055 third arg to gdb_test.
9056 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
9057 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
9058 HP-UX xfails, add others.
9059 * gdb.base/completion.exp: Reflect name change of self-test.
9060 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
9061 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
9062 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
9063 HP failure number.
9064 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
9065 useless HP-UX 10.30 references.
9066 * gdb.base/maint.exp: Loosen matches.
9067 * gdb.base/pointers.c (main): Declare more_code.
9068 * gdb.base/pointers.exp: Match on output of a `next'.
9069 * gdb.base/structs.c: Add prototypes.
9070 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
9071 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
9072
90731999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9074
9075 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
9076 command.
9077
90781999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9079
9080 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
9081 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
9082
9083 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
9084 debug info. Deal with lack of signal hanlder info in stack.
9085
9086 From Jim Kingdon <kingdon@redhat.com>:
9087 * gdb.base/annota1.exp: If printf has debug info, deal with it.
9088
5a2468f5
JM
90891999-07-19 Stan Shebs <shebs@andros.cygnus.com>
9090
9091 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
9092 gdb.base/foll-vfork.exp: Don't run for crosses.
9093
adf40b2e
JM
9094Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
9095
9096 * gdb.base/configure.in: Check for gdbvars.exp instead of
9097 a1-selftest.exp.
9098 * gdb.base/configure: Re-generate.
9099
91001999-07-12 Stan Shebs <shebs@andros.cygnus.com>
9101
9102 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
9103 in trying to run first and name is too long.
9104
9105 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
9106 pointers2.c and pointers2.exp, respectively.
9107 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
9108 doschk happier.
9109
43e526b9
JM
91101999-07-08 Stan Shebs <shebs@andros.cygnus.com>
9111
9112 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
9113 callfuncs2.c and callfuncs2.exp.
9114
9115 * gdb.base/list.exp: Remove mistaken xfails.
9116 * gdb.base/list0.h: Add optional prototypes.
9117
9846de1b
JM
9118Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
9119
9120 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
9121 calling malloc.
9122 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
9123 * ptype.exp: Move test for get_debug_format to before its first
9124 use.
9125
91261999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9127
9128 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
9129 * gdb.base/annota2.cc, annota2.exp: Move from here.
9130 * gdb.c++/annota2.cc, annota2.exp: To here.
9131 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
9132
43ff13b4
JM
9133Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
9134
9135 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
9136 a consistent format.
9137
085dd6e6
JM
91381999-06-25 Stan Shebs <shebs@andros.cygnus.com>
9139
9140 From Jimmy Guo <guo@cup.hp.com> and others at HP:
9141 * lib/gdb.exp (get_compiler_info): Add detection for assorted
9142 HP compilers, also set the globals $true and $false.
9143
9144 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
9145 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
9146 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
9147 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
9148 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
9149 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
9150 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
9151 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
9152 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
9153 whatis.c} Add C++ compatible function definitions and return
9154 types, add includes for library functions.
9155 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
9156 * gdb.base/step-test.c (myglob): Rename from glob.
9157 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
9158 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
9159 files, move here from gdb.hp.
9160 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
9161 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
9162 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
9163 Adjust line numbers in regexps.
9164
9165 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
9166 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
9167 instead of 0/1.
9168
9169 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
9170 foll-vfork.exp: New files, move here from gdb.hp.
9171 * gdb.base/page.exp: New file, test of pagination command.
9172
9173 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
9174 recursion test.
9175 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
9176
9177 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
9178 gdb.base/solib.exp: Fix compiler invocation process.
9179
9180 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
9181 HP-UX 11, turn off overload resolution explicitly.
9182 * gdb.base/commands.exp: Set argument list explicitly, add
9183 watchpoint test.
9184 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
9185 them work.
9186 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
9187 expressions properly.
9188 * gdb.base/corefile.exp: Loosen the match slightly.
9189 * gdb.base/default.exp: Allow "Error accessing memory" message
9190 also.
9191 * gdb.base/display.exp: Skip over x/0 j if PA64.
9192 * gdb.base/funcargs.exp: Add xfails for HP-UX.
9193 * gdb.base/interrupt.exp: Ditto.
9194 * gdb.base/langs.exp: Add symbolic matches governed by compiler
9195 in use.
9196 * gdb.base/list.exp: Add xfails for HP-UX.
9197 * gdb.base/long_long.exp: Refine some of the numeric matches.
9198 * gdb.base/mips_pro.exp: Xfail on HP-UX.
9199 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
9200 * gdb.base/nodebug.exp: Succeed on more varieties of output.
9201 * gdb.base/opaque.exp: Remove some HP-UX xfails.
9202 * gdb.base/ptype.exp: Succeed on more varieties of output.
9203 * gdb.base/scope.exp: Add xfails for HP-UX.
9204 * gdb.base/sect-cmd.exp: Add more cases.
9205 * gdb.base/setvar.exp: Add xfails for HP-UX.
9206 * gdb.base/shlib-call.exp: Loosen some matches slightly.
9207 * gdb.base/signals.exp: Match on void symbolically.
9208 * gdb.base/step-test.exp: Add case for PA64.
9209 * gdb.base/term.exp: Add exit and restart.
9210 * gdb.base/twice.exp: Clean up after self.
9211 * gdb.base/varargs.exp: Disable overload resolution explicitly.
9212 * gdb.base/whatis.exp: Allow more ways to pass tests.
9213
9214 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
9215 no longer useful.
9216
9217Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
9218
9219 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
9220 list of patterns.
9221 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
9222 print_double_array(double_array)", "continuing to breakpoint
9223 1018", "print print_double_array(array_d)" and "continuing to
9224 1034" tests.
d63a86f8 9225
085dd6e6
JM
92261999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
9227
9228 * Makefile.in: Add empty html and install-html targets.
9229
92301999-06-24 Stan Shebs <shebs@andros.cygnus.com>
9231
9232 * config/mt-*: Remove, these haven't been used since 1996.
9233
92341999-06-22 Stan Shebs <shebs@andros.cygnus.com>
9235
9236 * gdb.base/call-strs.c, gdb.base/ending-run.c,
9237 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
9238 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
9239
9e0b60a8
JM
92401999-06-18 Stan Shebs <shebs@andros.cygnus.com>
9241
9242 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
9243 simpler match case for the ptype of the big class.
9244
92451999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
9246
9247 * gdb.exp: Fix test for gdb_prompt existence.
9248
92491999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
9250
9251 * gdb.exp (gdb_test): Add fail after calls to perror.
9252
92531999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
9254
9255 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
9256
92571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
9258
9259 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
9260
0f71a2f6
JM
9261Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
9262
9263 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
9264 malloc() is linked in.
9265
92661999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
9267
9268 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
9269 step at end.
9270
9271 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
9272
92731999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
9274
9275 * gdb.java/jv-print.exp: New file. (Our first Java test!)
9276
cce74817
JM
9277Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
9278
9279 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
9280 * gdb.base/mips_pro.exp: Likewise.
9281
92821999-06-02 Keith Seitz <keiths@cygnus.com>
9283
9284 * gdb.c++/templates.cc: Change all "new" operators to throw
9285 an exception.
9286 * gdb.c++/cplusfuncs.cc: Likewise.
9287
9288 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
9289
9290Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
9291
9292 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
9293 * gdb.base/ending-run.exp: When stepping out of main, accept a
9294 step into an arbitrary assembler file.
9295
392a587b
JM
92961999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9297
d63a86f8 9298 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 9299 "breakpoint-invalid" to be printed.
d63a86f8 9300 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
9301 number of "frames-invalid" and "breakpoint-invalid" to be printed.
9302 * gdb.base/annota2.cc: Initialize a.x to 0.
9303
9e086581
JM
93041999-05-17 Keith Seitz <keiths@cygnus.com>
9305
9306 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
9307 when "skip_float_tests" set.
9308 Ditto for "print print_double_array(array_d)", "print print_small_structs",
9309 "print print_ten_doubles", and "step into print_long_arg_list".
9310 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
9311 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
9312 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
9313 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
9314 "skip_float_tests" is set.
9315 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
9316 when "skip_float_tests" set.
d63a86f8 9317
cd0fc7c3
SS
93181999-05-06 Keith Seitz <keiths@cygnus.com>
9319
9320 * gdb.base/annota2.cc: Include stdio.h.
9321
9322Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
9323
9324 * gdb.base/crossload.exp: Remove, this has been disabled ever
9325 since BFD stopped including all targets, and cross-GDB gets
9326 plenty of testing anyway.
9327 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
9328 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
9329 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
9330 * gdb.base/README: Remove, was doc for this.
9331 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
9332 needed.
9333
b83266a0
SS
93341999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9335
9336 * gdb.base/call-ar-st.exp: Fix one regular expression in test
9337 output.
9338
9339 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
9340 * gdb.base/annota2.exp: New file. More annotation tests.
9341 * gdb.base/annota1.c: New file. Source file for annota1.exp.
9342 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
9343
93441999-04-23 Angela Marie Thomas <angela@cygnus.com>
9345
9346 * config/cfdbug.exp: New file.
9347
7a292a7a
SS
93481999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
9349
9350 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
9351 Marcus Daniel's and Dale Hawkins's demangler crashes.
9352
9353 * gdb.c++/demangle.exp (test_gnu_style_demangling,
9354 test_lucid_style_demangling, test_arm_style_demangling,
9355 test_hp_style_demangling): Try Tom Tromey's core-dumping
9356 identifier under each demangling style.
9357
93581999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
9359
9360 * gdb.c++/demangle.exp: Include the current demangling style
9361 in all test names.
9362 (current_demangling_style): New global variable.
9363 (set_demangling_style, test_demangling_core, test_demangling,
9364 test_demangling_exact): New functions.
9365 (test_gnu_style_demangling, test_lucid_style_demangling,
9366 test_arm_style_demangling, test_hp_style_demangling): Use those,
9367 instead of calling gdb_test and gdb_test_exact directly.
9368 (catch_demangling_errors): New function, which reports errors
9369 signalled by the demangling test functions in an orderly way.
9370 (do_tests): Use catch_demangling_errors.
9371
93721999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
9373
9374 * gdb.base/signals.exp (test_handle_all_print): Use () for
9375 grouping in expressions, not {}.
9376
9377 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
9378 initialized yet.
9379
93801999-04-01 Stan Shebs <shebs@andros.cygnus.com>
9381
9382 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
9383 are listed.
9384
93851999-03-26 Stan Shebs <shebs@andros.cygnus.com>
9386
9387 * gdb.stabs/weird.exp: Test for CC being defined before
9388 looking at its value.
9389
93901999-03-25 Stan Shebs <shebs@andros.cygnus.com>
9391
9392 * gdb.base/call-ar-st.exp: Remove stray '#'.
9393 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
9394 "short int" and "long int".
9395 * gdb.c++/overload.cc: Cast the string added in the previous
9396 change, to mollify finicky HP compiler.
9397 * gdb.hp/reg-test.exp (testfile): Fix file name.
9398 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 9399
7a292a7a
SS
9400 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
9401 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
9402 alternate form of enum ptype.
9403
c906108c
SS
94041999-03-23 Stan Shebs <shebs@andros.cygnus.com>
9405
7a292a7a
SS
9406 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
9407 * gdb.hp/*.exp: Change all to run compiler probe only after
9408 passing skip_hp_tests, so as not to waste time on guaranteed
9409 failure.
9410
c906108c
SS
9411 * gdb.c++/overload.cc: Pass string instead of char addr, always
9412 init ccpfoo.
9413 * gdb.c++/templates.cc: Fix syntax error.
9414
7a292a7a
SS
9415Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9416
9417 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 9418 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
9419 command.
9420
94211999-03-18 James Ingham <jingham@cygnus.com>
9422
9423 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
9424
9425 * gdb.c++/method.exp: It was testing an uninitialized int on the
9426 stack and assuming it was positive.
9427
9428 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
9429
9430 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 9431 keep it from killing the rest of the tests.
7a292a7a
SS
9432 Use gdb_continue_to_end.
9433
9434 * gdb.base/sigall.exp: use gdb_continue_to_end.
9435
9436 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
9437
9438 * gdb.base/display.exp: use runto_main, not run.
9439
d63a86f8
RM
9440 * gdb.base/default.exp: Check for the current error message in the
9441 r abbreviation test.
7a292a7a
SS
9442 Add strongarm to the targets that know info float.
9443
d63a86f8 9444 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
9445 run which doesn't work with monitors.
9446
9447 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
9448
9449 * gdb.base/break.exp: use the gdb_continue_to_end proc.
9450
9451 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
9452 program. Traps the case (in Cygmon) when the program never really
9453 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
9454 more places, so I used my name. Sorry Mark...
9455
9456 * config/monitor.exp (gdb_target_monitor): added another
9457 target_info parameter: remotebinarydownload. This will set the
9458 remotebinarydownload flag if this is causing some boards trouble.
9459
94601999-03-18 Mark Salter <msalter@cygnus.com>
9461
9462 * lib/gdb.exp (continue_to_exit): New function.
9463
9464 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
9465 * gdb.base/ending-run.exp: Ditto.
9466 * gdb.base/step-test.exp: Ditto.
9467
94681999-03-16 Stan Shebs <shebs@andros.cygnus.com>
9469
9470 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
9471 (suggested by Art Haas <ahaas@neosoft.com>).
9472
94731999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
9474
9475 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
9476
9477Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
9478
9479 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
9480 descriptions of types (short unsigned int vs unsigned short, etc).
9481
94821999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
9483
9484 * gdb.base/call-strs.exp: Don't assume that `step' will step over
9485 a call to strlen; sometimes we do have sources.
9486
94871999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
9488
9489 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
9490 character, so GDB won't print garbage after its end.
d63a86f8 9491
c906108c
SS
9492 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
9493 breakpoint there instead. Sometimes GCC emits memcpy to handle
9494 the large structures being passed by value, so we step into that
9495 instead of sum_array_print, which obscures what we're really testing.
9496 * gdb.base/step-test.exp: However, we do want a test that notices
9497 the bizarre steps into memcpy, so do that here. Add check for
9498 stepping into function calls that pass large structures by value.
9499 ("Is that a noun clause, or are you just happy to see me?")
9500 Remove all references to specific line numbers.
9501 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
9502 New type and function.
9503 (main): Call large_struct_by_value, passing it a large struct by value.
9504 * lib/gdb.exp (gdb_get_line_number): New function.
9505
9506 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
9507 more portable.
9508
7a292a7a
SS
95091999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
9510
c906108c
SS
9511 * lib/gdb.exp: Doc fixes.
9512
7a292a7a
SS
95131999-03-05 Nick Clifton <nickc@cygnus.com>
9514
d63a86f8 9515 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
9516
95171999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
9518
c906108c
SS
9519 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
9520 commands. They're not germane to this test, and they don't work
9521 that way on remote targets.
9522
3fc11d3e
JM
95231999-03-01 James Ingham <jingham@cygnus.com>
9524
9525 * Changelog entries merged over from gdb development branch.
9526
3fc11d3e
JM
9527 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
9528
9529 * lib/gdb.exp (gdbtk_analyze_results): Generic function
9530 for outputting results of test run.
9531
2d4a1622 9532 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
9533
9534 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 9535
7a292a7a
SS
95361999-02-25 Felix Lee <flee@cygnus.com>
9537
9538 * lib/gdb.exp (debug_format): initialize
9539
c906108c
SS
95401999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
9541
9542 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
9543 * gdb.base/call-rt-st.c: Ditto.
9544
c906108c
SS
95451999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
9546
9547 * gdb.threads/pthreads.exp (horiz): New variable.
9548 (test_startup): Fix regexps that capture thread numbers.
9549
95501999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
9551
9552 * gdb.base/smoke.exp: Disambiguate two test case names (both
9553 called ``print'').
9554
9555Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
9556
9557 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
9558 compilation.
9559
95601999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
9561
9562 * gdb.base/miscexprs.exp: Change patterns to match GDB's
9563 actual output formatting.
9564 * gdb.base/smoke.exp: GDB removes leading 0's.
9565 * gdb.base/volatile.exp: Don't check type of remuneration;
9566 that variable is no longer defined in constvars.c.
9567 * gdb.base/step-test.c (main): Exit with explicit exit code.
9568 * gdb.base/step-test.exp: Remove two nexti checks--they are
9569 not portable.
9570
95711999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
9572
9573 * gdb.base/help.exp ("help delete display"): Fix test to match
9574 gdb's output.
9575
9576 * gdb.base/long_long.c (known_types): Initialize values to zero.
9577 * gdb.base/long_long.exp: Step one more line
9578 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 9579 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
9580 unique test case names.
9581
9582Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9583
d63a86f8 9584 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
9585
9586 * gdb.c++/method.exp: Add missing close brace.
9587
95881999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
9589
9590 * gdb.base/maint.exp: Use 'set height 0' to disable page
9591 prompting, not 'set height 400'.
9592
9593 Fix a bunch of timeouts.
9594 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
9595 four separate tests, so expect doesn't take forever to match a ton
9596 of text against a regexp with lots of .* forms.
9597 ("maint print psymbols", "maint print symbols"): Make some of
9598 these greps more selective, so that expect doesn't try to wade
9599 through huge piles of output and time out.
9600
9601 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
9602
9603 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
9604 tests: one which doesn't expect shlib events to be reported, and
9605 another which does, but is XFAIL for all platforms other than
9606 HP/UX.
9607
9608 * gdb.base/break.exp: Teach the test suite that the `catch
9609 fork', `catch vfork', and `catch exec' commands produce error
9610 messages on platforms that don't provide these features.
9611
9612Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
9613
9614 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
9615 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
9616 (shortening names from solib_threshold.exp etc), won't run on
9617 anything but HP-UX for the foreseeable future.
9618 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
9619 reflect move.
9620
9621Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
9622
9623 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9624 gdb.trace/Makefile.in (clean): Remove all test executables.
9625
9626Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
9627
9628 * gdb.base/shlib-call.exp: add test cases to verify that gdb
9629 successfully re-sets breakpoints in shared libraries.
9630 * gdb.base/shmain.c (main): return 0, don't fall off the end.
9631
9632Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9633
d63a86f8
RM
9634 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
9635 and compiled w/o GCC.
c906108c
SS
9636
9637 * gdb.hp/watch-cmd.exp: ditto.
9638
9639 * gdb.hp/watch-hp.exp: ditto.
9640
9641 * gdb.hp/xdb1.exp: ditto.
9642
9643 * gdb.hp/xdb2.exp: ditto.
9644
9645 * gdb.hp/dbx.exp: ditto.
9646
9647Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
9648
9649 * constvars.c: Remove C++-isms.
9650 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
9651 with GCC.
9652
9653Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
9654
9655 The following changes are part of the HP merge.
9656
9657 * gdb.base/break.exp: new tests to verify that catchpoints for
9658 fork, vfork, and exec don't trigger inappropriately.
9659
9660 * gdb.base/opaque.exp: compile one file at a time, then link.
9661
9662 * gdb.base/signals.exp: be more restrictive about which hppa
9663 systems receive a setup_xfail. new tests.
9664
9665 * gdb.base/solib_threshold.build: new file.
9666 * gdb.base/solib_threshold.exp: new file.
9667 * gdb.base/solib_threshold.link_opts: new file.
9668 * gdb.base/solib_threshold.mk: new file.
9669 * gdb.base/gen_solib_threshold.c: new file.
9670
9671 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
9672 tests. New tests for enums inside classes.
9673
9674 * gdb.c++/compiler.cc: indicate support of template debugging.
9675
9676 * gdb.c++/demangle.exp: run hp style demangling tests.
9677
9678 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
9679 tests.
9680
9681 * gdb.c++/misc.cc: changes to support new tests.
9682
9683 * gdb.c++/templates.cc: changes to support HP's compiler; changes
9684 to support new tests.
9685
9686 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
9687 gcc, then skip these tests.
9688
9689Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
9690
9691 The following files are part of the HP merge; some had longer
9692 names at HP, but have been renamed to be no more than 14
9693 characters in length.
9694
9695 * gdb.hp/ambiguous.cc: new file.
9696 * gdb.hp/ambiguous.exp: new file.
9697 * gdb.hp/attach.exp: new file.
9698 * gdb.hp/attach2.exp: new file.
9699 * gdb.hp/classes-hp.exp: new file.
9700 * gdb.hp/ctti.exp: new file.
9701 * gdb.hp/ctti-add.cc: new file.
9702 * gdb.hp/ctti-add1.cc: new file.
9703 * gdb.hp/ctti-add2.cc: new file.
9704 * gdb.hp/ctti-add3.cc: new file.
9705 * gdb.hp/dbx.exp: new file.
9706 * gdb.hp/exception.cc: new file.
9707 * gdb.hp/exception.exp: new file.
9708 * gdb.hp/foll-exec.c: new file.
9709 * gdb.hp/foll-exec.exp: new file.
9710 * gdb.hp/foll-fork.c: new file.
9711 * gdb.hp/foll-fork.exp: new file.
9712 * gdb.hp/foll-vfork.c: new file.
9713 * gdb.hp/foll-vfork.exp: new file.
9714 * gdb.hp/inherit-hp.exp: new file.
9715 * gdb.hp/more-steps.exp: new file.
9716 * gdb.hp/namespace.cc: new file.
9717 * gdb.hp/namespace.exp: new file.
9718 * gdb.hp/optimize.exp: new file.
9719 * gdb.hp/pxdb.c: new file.
9720 * gdb.hp/pxdb.exp: new file.
9721 * gdb.hp/quicksort.exp: new file.
9722 * gdb.hp/reg-test.exp: new file.
9723 * gdb.hp/reg-test.s: new file.
9724 * gdb.hp/sized-enum.c: new file.
9725 * gdb.hp/sized-enum.exp: new file.
9726 * gdb.hp/start-stop.exp: new file.
9727 * gdb.hp/templ-hp.cc: new file.
9728 * gdb.hp/templ-hp.exp: new file.
9729 * gdb.hp/thr-lib.c: new file.
9730 * gdb.hp/thr-lib.exp: new file.
9731 * gdb.hp/thr-lib.h: new file.
9732 * gdb.hp/thr-liblib.c: new file.
9733 * gdb.hp/virtfun-hp.c: new file.
9734 * gdb.hp/virtfun-hp.exp: new file.
9735 * gdb.hp/watch-cmd.exp: new file.
9736 * gdb.hp/watch-hp.exp: new file.
9737 * gdb.hp/xdb1.exp: new file.
9738 * gdb.hp/xdb2.exp: new file.
9739 * gdb.hp/xdb3.exp: new file.
9740
9741Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
9742
9743 The following files are part of the HP merge; some had longer
9744 names at HP, but have been renamed to be no more than 14
9745 characters in length.
9746
9747 * gdb.base/ss.h: new file.
9748 * gdb.base/call-ar-st.c: new file.
9749 * gdb.base/call-ar-st.exp: new file.
9750 * gdb.base/call-rt-st.c: new file.
9751 * gdb.base/call-rt-st-exp: new file.
9752 * gdb.base/call-strs.exp: new file.
9753 * gdb.base/ena-dis-br.exp: new file.
9754 * gdb.base/environ.exp: new file.
9755 * gdb.base/long_long.exp: new file.
9756 * gdb.base/sect-cmd.exp: new file.
9757 * gdb.base/shlib-cl2.exp: new file.
9758 * gdb.base/smoke.exp: new file.
9759 * gdb.base/so-impl-ld.c: new file.
9760 * gdb.base/so-impl-ld.exp: new file.
9761 * gdb.base/so-indr-cl.c: new file.
9762 * gdb.base/so-indr-cl.exp: new file.
9763 * gdb.base/varargs.exp: new file.
9764 * gdb.base/volatile.exp: new file.
9765 * gdb.base/whatis-exp.exp: new file.
7a292a7a 9766 * gdb.base/display.exp: new file.
c906108c
SS
9767 * gdb.c++/derivation.exp: new file.
9768 * gdb.c++/local.exp: new file.
9769 * gdb.c++/member-ptr.exp: new file.
9770 * gdb.c++/overload.exp: new file.
9771 * gdb.c++/ovldbreak.exp: new file.
9772 * gdb.c++/ref-types.exp: new file.
9773 * gdb.c++/ref-types2.exp: new file.
9774 * gdb.c++/userdef.exp: new file.
d63a86f8 9775
c906108c
SS
9776Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
9777
9778 * gdb.base/default.exp: Reflect wording change in remote.c.
9779
dc96c6c7 9780Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9781
9782 * gdb.base/help.exp: Update to reflect current text.
9783
9784Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
9785
9786 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
9787 they're stack variables and contain garbage.
9788 * gdb.c++/anon-union.exp: new file.
9789
9790 The following changes were made by David Taylor
9791 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
9792 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
9793 in changes by HP.
9794
9795 * gdb.base/bitops.exp: new file.
9796 * gdb.base/default.exp: change expected messages for catch and
9797 info catch tests to reflect HP merge changes.
9798 * gdb.base/enable-disable-break.exp
9799 * gdb.base/ending-run.c: new file.
9800 * gdb.base/long_long.c: new file.
9801 * gdb.base/maint.exp: new file.
9802 * gdb.base/pointers2.exp: new file.
9803 * gdb.base/shlib-call2.exp: new file.
9804 * gdb.base/solib.exp: new file.
9805 * gdb.base/step-test.c: new file.
9806 * gdb.c++/anon-union.cc: new file.
9807 * gdb.c++/local.cc: new file.
9808 * gdb.c++/member-pointer.cc: new file.
9809 * gdb.c++/method.cc: new file.
9810 * gdb.c++/ref-types.cc: new file.
9811 * gdb.c++/ref-types2.cc: new file.
9812 * gdb.c++/userdef.cc: new file.
d63a86f8 9813
c906108c
SS
9814 * gdb.base/scope.exp: compile one file at a time, then link.
9815 * gdb.base/langs.exp: ditto.
9816 * gdb.base/list.exp: ditto.
d63a86f8 9817
c906108c
SS
9818Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
9819
9820 The following changes were made by David Taylor
9821 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
9822 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
9823 in changes by HP.
d63a86f8 9824
c906108c
SS
9825 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
9826 skip tests. When compiling pass c++ flag to gdb_compile.
9827 * gdb.c++/
d63a86f8 9828
c906108c
SS
9829 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
9830 test for on hppa*-*-hpux*; use args to see if c++ was specified.
9831 (skip_hp_tests): new function.
9832 (gdb_preprocess): new function.
9833
9834 * configure.in (hpdir): decide whether to configure gdb.hp.
9835 * configure: regenerated.
9836
9837 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
9838 to delete on clean.
9839 (EXECUTABLES): update to reflect new additions.
9840 * gdb.base/commands.exp: update message expected.
9841 * gdb.base/default.exp: add copyright notice.
9842 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
9843 * gdb.base/help.exp: update messages to reflect current text.
9844 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
9845 targets for recurse tests.
9846 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
9847 skip this file.
9848
9849 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
9850 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
9851 compilation.
9852 * gdb.c++/misc.exp: ditto.
9853 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
9854 run the tests. tell gdb_compile that it's a c++ compilation.
9855
9856 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 9857
c906108c
SS
9858 * gdb.base/all-bin.exp: new file.
9859 * gdb.base/arithmet.exp: new file.
9860 * gdb.base/assign.exp: new file.
9861 * gdb.base/completion.exp: new file.
9862 * gdb.base/cond-expr.exp: new file.
9863 * gdb.base/condbreak.exp: new file.
9864 * gdb.base/define.exp: new file.
9865 * gdb.base/dollar.exp: new file.
9866 * gdb.base/environment.exp: new file.
9867 * gdb.base/eval-skip.exp: new file.
9868 * gdb.base/jump.exp: new file.
9869 * gdb.base/logical.exp: new file.
9870 * gdb.base/pointers.exp: new file.
9871 * gdb.base/relational.exp: new file.
9872 * gdb.base/section_command.exp: new file.
9873 * gdb.base/whatis-expr.exp: new file.
9874
9875 * gdb.base/all-types.c: new file.
9876 * gdb.base/call-array-struct.c: new file.
9877 * gdb.base/call-return-struct.c: new file.
9878 * gdb.base/call-strings.c: new file.
9879 * gdb.base/callfuncs2.c: new file.
9880 * gdb.base/condbreak.c: new file.
9881 * gdb.base/constvars.c: new file.
9882 * gdb.base/display.c: new file.
9883 * gdb.base/int-type.c: new file.
9884 * gdb.base/jump.c: new file.
9885 * gdb.base/miscexprs.c: new file.
9886 * gdb.base/pointers.c: new file.
9887 * gdb.base/pointers2.c: new file.
9888 * gdb.base/shmain.c: new file.
9889 * gdb.base/shr1.c: new file.
9890 * gdb.base/shr2.c: new file.
9891 * gdb.base/solib.c: new file.
9892 * gdb.base/solib1.c: new file.
9893 * gdb.base/solib2.c: new file.
9894 * gdb.base/varargs.c: new file.
9895 * gdb.c++/derivation.cc: new file.
9896 * gdb.c++/overload.cc: new file.
9897 * gdb.c++/ovldbreak.cc: new file.
9898 * gdb.hp/attach.c: new file.
9899 * gdb.hp/attach2.c: new file.
9900 * gdb.hp/average.c: new file.
9901 * gdb.hp/compiler.c: new file.
9902 * gdb.hp/compiler.cc: new file.
9903 * gdb.hp/execd-program.c: new file.
9904 * gdb.hp/follow-exec.c: new file.
9905 * gdb.hp/follow-fork.c: new file.
9906 * gdb.hp/follow-vfork-and-exec.c: new file.
9907 * gdb.hp/misc-hp.cc: new file.
9908 * gdb.hp/more-steps.c: new file.
9909 * gdb.hp/optimize.c: new file.
9910 * gdb.hp/quicksort.c: new file.
9911 * gdb.hp/run-hp.c: new file.
9912 * gdb.hp/start-stop.c: new file.
9913 * gdb.hp/sum.c: new file.
9914 * gdb.hp/templates-hp.cc: new file.
9915 * gdb.hp/thread-local-in-lib.c: new file.
9916 * gdb.hp/thread-local-in-lib.h: new file.
9917 * gdb.hp/thread-local-in-lib.lib.c: new file.
9918 * gdb.hp/vforked-program.c: new file.
9919 * gdb.hp/virtfunc-hp.cc: new file.
9920 * gdb.hp/watchpoint-hp.c: new file.
9921 * gdb.hp/xdb.c: new file.
9922 * gdb.hp/xdb0.c: new file.
9923 * gdb.hp/xdb0.h: new file.
9924 * gdb.hp/xdb1.c: new file.
9925
9926Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
9927
9928 The following change was made by Edith Epstein
9929 <eepstein@cygnus.com> as part of a project to merge in changes
9930 originally made by HP; HP did not create ChangeLog entries.
9931
9932 * gdb.c++/demangle.exp: changed the expected output for some
9933 ARM-style mangling -- removed second reference to datatype.
9934 For example, maint demangle __dt__11T1__pt__2_cFv
9935 T1<char>::~T1<char>(void)
9936 becomes,
9937 maint demangle __dt__11T1__pt__2_cFv
9938 T1<char>::~T1(void)
9939
9940 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 9941
c906108c
SS
9942Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
9943
9944 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
9945 * gdb.trace/backtrace.exp: Likewise.
9946 * gdb.trace/circ.exp: Likewise.
9947 * gdb.trace/collection.exp: Likewise.
9948 * gdb.trace/deltrace.exp: Likewise.
9949 * gdb.trace/infotrace.exp: Likewise.
9950 * gdb.trace/limits.exp: Likewise.
9951 * gdb.trace/packetlen.exp: Likewise.
9952 * gdb.trace/passc-dyn.exp: Likewise.
9953 * gdb.trace/passcount.exp: Likewise.
9954 * gdb.trace/report.exp: Likewise.
9955 * gdb.trace/save-trace.exp: Likewise.
9956 * gdb.trace/tfind.exp: Likewise.
9957 * gdb.trace/tracecmd.exp: Likewise.
9958 * gdb.trace/while-dyn.exp: Likewise.
9959 * gdb.trace/while-stepping.exp: Likewise.
9960
99611998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
9962
9963 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
9964
9965Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
9966
9967 From Brendan Kehoe:
9968 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
9969 int return types.
9970
9971Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
9972
9973 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
9974 remote dos host testing right.
9975
9976Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
9977
9978 * gdb.base/corefile.exp: remove some xfails.
9979
9980Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
9981
9982 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
9983 have different timestamps.
9984
9985Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
9986
9987 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
9988 gdb.base/default.exp: Replace "exec" with "executable".
9989
9990Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
9991
9992 * gdb.base/default.exp: Change else if to elseif from previous
9993 delta.
9994
9995Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
9996
9997 * gdb.base/default.exp: Add brace missing from previous delta.
9998
9999Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
10000
10001 * gdb.base/default.exp: Support test for info float for all
10002 varieties of arm toolchain.
10003
dc96c6c7 10004Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10005
10006 * gdb.trace/*.exp: remove "remote_download" command.
10007
dc96c6c7 10008Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10009
10010 * gdb.trace/*.exp: remove -gdwarf from compile.
10011
10012Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
10013
10014 * gdb.trace/configure.in(AC_INIT): typo
10015 * gdb.trace/configure: regenerated
10016
dc96c6c7 10017Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10018
10019 * config/m68k-emc.exp: New file.
10020 * lib/<emc-support.exp trace-support.exp}: New files.
10021 * configure.in: add new test directory gdb.trace.
10022 * gdb.trace/{configure configure.in Makefile.in}: New files.
10023 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
10024 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
10025 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
10026 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
10027 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
10028 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
10029 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 10030
dc96c6c7 10031Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10032
10033 * gdb.c++/classes.exp: Change all regular expressions to match
10034 arbitrary combinations of newline/carriage-return, so that they
10035 will work equally well on Unix and Windows.
10036 * gdb.c++/inherit.exp: ditto.
10037 * gdb.c++/virtfunc.exp: ditto.
10038
100391998-08-11 Dawn Perchik <dawn@cygnus.com>
10040
10041 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
10042
c2d11a7d
JM
10043Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
10044
10045 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
10046 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
10047 to use a0-a3/d0-d3 as needed.
10048
10049Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
10050
10051 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
10052 * gdb.disasm/am33.exp: Corresponding changes.
10053
c906108c
SS
100541998-07-11 Felix Lee <flee@cygnus.com>
10055
10056 * gdb.base/callfuncs.exp: add cmp10 test.
10057 * gdb.base/callfuncs.c (cmp10): new function.
10058
10059Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
10060
d63a86f8 10061 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
10062 into two parts to get around a synchronization problem in expect.
10063
3fc11d3e
JM
10064Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
10065
10066 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
10067
10068 * configure.in: Add options for gdbtk testsuite.
10069
10070 * configure: Regenerate.
10071
10072 * gdb.gdbtk: New directory to hold gdbtk tests.
10073
c906108c
SS
10074Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
10075
10076 * gdb.fortran/types.exp: Escape brackets in expect patterns
10077 for test_float_literal_types_accepted tests.
10078 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
10079 before run test.
10080
c2d11a7d
JM
10081Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
10082
10083 * am33.exp: Just compile, do not link the testcase.
10084 * am33.s: Add ".am33" pseudoop to force am33 mode.
10085
c906108c
SS
100861998-06-25 Felix Lee <flee@cygnus.com>
10087
10088 * gdb.base/setshow.exp: make sure $pc is sane.
10089
10090 * gdb.stabs/weird.exp: split expect patterns properly.
10091
c2d11a7d
JM
10092Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
10093
10094 * gdb.disasm/am33.s: New disassembler testfile for the am33.
10095 * gdb.disasm/am33.exp: Run it.
10096
dc96c6c7 10097Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10098
10099 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
10100 match processing (and eliminate spurious timeouts when running).
10101
dc96c6c7 10102Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10103
10104 * gdb.base/signals.exp (test_handle_all_print): put back Mach
10105 exception test, but conditionalize it on target [mach | gnu].
10106
dc96c6c7 10107Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10108
10109 * gdb.base/overlays.exp: fixup compile line for linker script.
10110
10111Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
10112
10113 * gdb.fortran/types.exp: don't guess at float size.
10114
10115Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
10116
10117 * gdb.base/exprs.exp: delete test that depends on int size.
10118
10119Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
10120
10121 * config/sim.exp: Removed checks for target triplets.
10122 (gdb_target_sim): Use gdb,target_sim_options.
10123
10124Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
10125
10126 * gdb.base/reread.exp: New file.
10127 * gdb.base/reread1.c: New file.
10128 * gdb.base/reread2.c: New file.
10129
10130Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
10131
10132 * config/sim.exp: Use 'target sim -sparclite' when running
10133 SPARClite programs.
10134
10135Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
10136
10137 * gdb.base/structs2.exp: New file.
10138 * gdb.base/structs2.c: New file.
10139
10140Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
10141
10142 * gdb.asm/common.inc: New file.
10143 * gdb.asm/d10v.inc: New file.
10144 * asm-source.exp: Pass -I's to gas to find .inc files.
10145 Update line numbers in expected output.
10146 * asmsrc1.s: Rewrite.
10147 * asmsrc2.s: Rewrite.
10148 * configure.in: Create arch.inc symlink.
10149 * configure: Regenerate.
10150 * Makefile.in (distclean): Delete arch.inc.
10151
10152Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
10153
10154 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
10155 (t_enum_value2): ditto
10156 (t_enum_value3): ditto
10157 (main): ditto
10158Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
10159
10160 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
10161 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
10162 change.
10163 Use gdb_test instead of send_gdb/gdb_expect sequences.
10164
10165Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
10166
10167 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
10168 not void.
10169
10170Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
10171
10172 * gdb.base/branches.c: Code with lots of loops and
10173 subroutines. Used to test gdbs ability to single step through PC
10174 changes, especially to test mips-tdep.c:mips_next_pc
10175
10176Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
10177
10178 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
10179 more rigorous EGCS C++ error checking.
10180
10181Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10182
10183 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 10184 tests.
c906108c 10185 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 10186 function when asleep.
c906108c 10187 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
10188 for i*86 Linux and SVR4 signal handling problems.
10189 Remove linux xfail for `next to handler in signals_tests_1', fixed
10190 by recent infrun.c change.
c906108c 10191 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 10192 stack backtraces.
c906108c
SS
10193 Adjust expect pattern in `handle all print' test to match Apr 28 1997
10194 target.[ch] change.
10195
10196Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
10197
10198 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
10199 for a newline from gdb before continuing.
10200 (default_gdb_exit): Just look for y or n.
10201 (gdb_test): Detect abnormal exit from GDB running on DOS; if
10202 it does, fail the rests of the tests in the file.
10203
10204Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
10205
10206 * config/cygmon.exp: New file.
10207
10208Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
10209
10210 * gdb.base/list.exp: Fix problem with "list default lines around
10211 main" test on remote targets.
10212
10213 * gdb.base/scope.exp: Fix problem with filelocal_bss before
10214 run test on remote targets.
10215
10216Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
10217
10218 * gdb.asm: New directory.
10219 * configure.in: Configure it.
10220 * configure: Regenerate.
10221 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
10222 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
10223
10224Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
10225
10226 * config/mn10300-eval.exp: New file to support MN10300 eval board.
10227
dc96c6c7 10228Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 10229
c906108c
SS
10230 * gdb.base/overlays (several files): Merge the two overlay
10231 managers into one. Change variables (foox, barx, bazx, grbxx)
10232 back into ints but force them to load in their proper sections.
10233
10234Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
10235
10236 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
10237 on-chip insn memory and IMAP1 to upper 128k.
10238 (D10VCopy): Handle memory regions crossing 16k boundaries.
10239 (D10VCopy): Transfer data in 32 bit chunks.
10240
10241Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
10242
10243 * gdb.base/overlays.c (main): Exit normally when result is
10244 correct.
10245
10246 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
10247 map. Include space for printf in .text segment.
10248
10249 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
10250 updated d10v memory VMA/LMA map.
10251 (D10VCopy): Call D10VTranslate.
d63a86f8 10252
c906108c
SS
10253Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
10254
10255 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
10256
10257 * gdb.base/bar.c (barx, bar): Change variable to small array so
10258 that it won't be put into the .sdata - small data -
10259 section. Update reference.
10260 * gdb.base/baz.c (bazx, baz): Ditto.
10261 * gdb.base/foo.c (foox, foo): Ditto.
10262 * gdb.base/grbx.c (grbxx, grbx): Ditto.
10263
10264 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
10265 to be arrays.
d63a86f8 10266
dc96c6c7 10267Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 10268
c906108c
SS
10269 * gdb.base/overlays.exp: fix up and get working again.
10270 Add tests for backtraces from an overlay function.
d63a86f8 10271
c906108c
SS
10272Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
10273
10274 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
10275 "calling function with watchpoint enabled".
10276
10277Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
10278
10279 * gdb.base/break.exp (test_next_with_recursion): Remove
10280 gdb_suppress_tests for d10v-*-*.
10281 * lib/gdb.exp (gdb_suppress_tests): Disable this function
10282 pending review of whether it is useful or not.
10283
10284Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
10285
10286 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
10287
10288Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
10289
10290 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
10291 * config/dve.exp: New file to support Densan boards.
10292
10293Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
10294
10295 * gdb.base/interrupt.exp: Document problem of simulators, signals,
10296 reads and BSD.
10297
10298Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
10299
10300 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
10301 response.
10302
10303 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
10304
10305Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
10306
10307 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
10308 test.
10309
10310 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
10311 target_sizeof_long and target_bigendian_p.
10312 (structs_by_value, structs_by_reference): Check values according
10313 to targets word size and endianess.
d63a86f8 10314
c906108c
SS
10315Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
10316
10317 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
10318 output.
10319
10320Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
10321
10322 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
10323 Update test of set args help to match source change.
10324
10325Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
10326
10327 * gdb.base/default.exp: Expect help system output to be in
10328 alphabetical order.
10329 * gdb.base/help.exp: Ditto.
10330
10331Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
10332
10333 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
10334 "i*86-pc-linux-gnu*".
10335 * gdb.base/interrupt.exp: Ditto.
10336 * gdb.base/corefile.exp: Ditto.
10337
10338 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
10339 define vxworks when building the testcase.
10340
10341 * gdb.base/ptype.exp: Fix testnames to be unique.
10342 * gdb.base/radix.exp: Ditto.
10343 * gdb.base/term.exp: Ditto.
10344 * gdb.base/whatis.exp: Ditto.
10345 * gdb.c++/classes.exp: Ditto.
10346
10347Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
10348
10349 * gdb.base/callfuncs.exp: Fix indentation.
10350
10351 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
10352 suppress_flag has been set.
10353 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
10354 target feature.
10355
10356Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
10357
10358 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
10359 the testcase.
10360
10361 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
10362 set_debug_traps() and breakpoint().
10363 * gdb.c++/misc.cc (main): Ditto.
10364 * gdb.c++/templates.cc (main): Ditto.
10365 * gdb.c++/virtfunc.cc (main): Ditto.
10366
10367Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
10368
10369 * lib/gdb.exp(gdb_step_for_stub): New function.
10370 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
10371 exists, reload the executable and do a "continue" instead of
10372 doing a jump.
10373 (runto_main): Use gdb_step_for_stub.
d63a86f8 10374
c906108c
SS
10375 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
10376 tests to have unique names.
10377 * gdb.base/callfuncs.exp: Ditto.
10378 * gdb.base/commands.exp: Ditto.
10379 * gdb.base/default.exp: Ditto.
10380 * gdb.base/help.exp: Ditto.
10381 * gdb.base/list.exp: Ditto.
10382 * gdb.base/opaque.exp: Ditto.
10383 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
10384 similar tests.
d63a86f8 10385
c906108c
SS
10386 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
10387 * gdb.c++/cplusfuncs.cc: Ditto.
10388 * gdb.c++/virtfunc.cc: Ditto.
10389
10390 * config/monitor.exp: Keep track of the last file we saw, rather
10391 than trying to get the info from gdb.
10392
10393 * gdb.fortran/types.exp: Move comment to previous line.
10394
10395Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
10396
10397 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
10398 target mode.
10399
10400Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
10401
10402 From Bob Manson:
10403 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
10404 string from GDB when it connects.
10405
10406 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
10407
10408Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
10409
10410 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
10411 if we can't get a debug format from GDB (we may be testing an
10412 older GDB). Use a 10 second timeout when checking for the format.
10413
10414 * gdb.stabs/weird.exp: Fix quoting.
10415
10416 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
10417
10418Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
10419
10420 * config/arm-ice.exp: New file.
10421
10422Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
10423
10424 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
10425 until it has been modified to work with the new testsuite.
10426
99707966 10427 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
10428 testcase won't compile, cause all of the testcases in the file to
10429 fail instead.
10430
10431 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
10432 (gdb_clear_suppressed): New procedure.
10433 (gdb_stop_suppressing_tests): Only clear suppress_flag if
10434 it contains a positive value.
10435
10436Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
10437
10438 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
10439
10440 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
10441
10442Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
10443
10444 * lib/gdb.exp (setup_xfail_format): New function.
10445 (get_debug_format): New function to get debug format.
10446 (debug_format): New global variable to hold last value set
10447 by get_debug_format.
10448 * gdb.base/list.exp: Call get_debug_format and expect some
10449 tests to fail for DWARF 1 and COFF formats.
10450 * gdb.c++/ptype.exp: Ditto.
10451 * gdb.c++/classes.exp: Ditto.
10452 * gdb.c++/cplusfuncs.exp: Ditto.
10453 * gdb.c++/inherit.exp: Ditto.
10454 * gdb.c++/templates.exp: Ditto.
10455 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 10456
c906108c
SS
10457Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
10458
10459 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
10460 host doesn't have a currently-open connection.
10461
10462 * config/sparclet.exp: Cleanups and fixes to make it generic for
10463 any gdb stub target. Handle cases where gdb doesn't respond when
10464 interrupted in a sane fashion.
10465
10466 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
10467 same thing in a totally different way.
10468
10469 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
10470 setting "timeout".
10471 (gdb_start): We set the global gdb_prompt variable in
10472 default_gdb_init now.
10473
10474Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
10475
10476 * gdb.base/printcmds.exp: Fix "check for floating addition"
10477 regexp to accept results within approx +/- .01 of exact value.
10478 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
10479
10480Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
10481
10482 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
10483 properly.
10484 (gdb_expect): Add optional timeout parameter, and add timeout
10485 value to various calls.
10486 (gdb_suppress_tests): Only give one warning message per group.
10487
10488Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
10489
10490 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
10491 global variables. Handle getting a value for $timeout more
10492 gracefully.
10493
10494Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
10495
10496 * lib/gdb.exp: Close connection to remote host if gdb doesn't
10497 initialize.
10498 (default_gdb_init): New procedure; allow gdb_init to be overridden
10499 by a target configuration file.
10500 (gdb_expect): Pass the timeout to remote_expect.
10501
10502 * config/monitor.exp(gdb_load): Fix typo in regexp.
10503
10504Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
10505
10506 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
10507
10508Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
10509
10510 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
10511 here. Call gdb_target_exec before rebooting the target, to make
10512 sure the connection to the target is closed.
10513 (gdb_load): Pass the name of the executable to gdb_target_monitor.
10514 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
10515 Also detect "Timeout reading from remote" error.
10516
10517 * config/gdbserver.exp: Pass the executable being loaded to
10518 gdb_target_monitor. Don't call gdb_file_cmd here; let
10519 gdb_target_monitor do it.
10520
10521 * gdb.disasm/hppa.exp: Don't use exec_output.
10522
10523Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
10524
10525 * gdb.base/list.exp: If we're debugging a non-native target,
10526 try to set the pc register to point to the start of the
10527 program before doing the first list command.
10528
10529 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
10530 test_calls after restarting.
10531
10532 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
10533 reloading.
10534
10535 * gdb.base/watchpoint.exp: Fix typo.
10536
10537 * gdb.base/setshow.exp: Check for use_gdb_stub.
10538
10539 * gdb.base/break.exp: Fix continue until exit test for the gdb
10540 stub case.
10541 * gdb.base/langs.exp: Ditto.
10542
10543 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
10544 gdb_load_offset. If we weren't given a file to load, figure out
10545 what the current file is and use it.
10546
10547 * config/i386-bozo.exp: New file.
10548
10549Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
10550
10551 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
10552 feature.
10553
10554 * config/proelf.exp: New entry.
10555
10556Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
10557
10558 * lib/gdb.exp: Remove spurious .* patterns at the beginning
10559 of regexps.
10560
10561 * gdb.base/watchpoint.exp: Don't run the test_stepping
10562 tests if gdb can't call functions on the target.
10563
10564 * gdb.base/setshow.exp: Don't run the set prompt tests if
10565 the board has gdb_prompt set.
10566
10567Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
10568
10569 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
10570 * gdb.base/commands.exp: Likewise.
10571 * gdb.base/setshow.exp: Likewise.
10572
10573Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
10574
10575 * config/monitor.exp(gdb_start): Look for gdb_prompt target
10576 feature.
10577
10578 * config/i960.exp: New file.
10579
10580Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
10581
10582 * gdb.base/funcargs.exp: Check for gdb,short_int target
10583 feature instead of looking for explicit target triplets.
10584
dc96c6c7 10585Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 10586
d63a86f8 10587 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
10588 "p 123DEADBEEF", to check parse_number.
10589 * top.c: change "to enable to enable" to "to enable" in a couple
10590 of help strings.
10591
10592Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
10593
10594 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
10595 on the mn10300.
d63a86f8 10596
c906108c
SS
10597Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
10598
10599 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
10600 where the test executable is run with explicit args.
10601 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
10602
10603Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
10604
10605 * gdb.base/run.c: Use FAKEARGV to build test executable that
10606 does not require a command line arg, since most simulators
10607 don't currently support passing such an arg into the simulated
10608 program.
10609 * gdb.base/commands.exp: Change tests to insert the proper
10610 value as the arg to the first recursive factorial call. Change
10611 compilation line to define FAKEARGV at compile time.
10612
10613Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
10614
10615 * gdb.base/recurse.exp: Enable these tests for the mn10300.
10616 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
10617 function with watchpoint enabled" test.
10618
10619Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
10620
10621 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
10622 Don't call gdb_test when the command doesn't return to a gdb prompt.
10623
10624 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
10625 "Tests restarted" messages.
10626
10627Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
10628
10629 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
10630
dc96c6c7 10631Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10632
10633 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
10634 for INFO SYMBOL; add help tests for OVERLAY commands.
10635 * gdb.base/default.exp: add tests for INFO SYMBOL command;
10636 add tests for OVERLAY commands
10637 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
10638 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
10639 * gdb.base/sigall.c: add usestubs code frag
10640 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 10641
c906108c
SS
10642Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
10643
10644 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
10645 failures.
10646 (gdb_stop_suppressing_tests): Note that tests have restarted.
10647
10648Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
10649
10650 * config/h8300.exp: New file.
10651
10652Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
10653
10654 * gdb.base/setshow.exp: Check for the existence of a
10655 feature, not its value.
10656
10657Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
10658
10659 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
10660
10661 * gdb.base/scope.exp: It's now init0(), not init().
10662
10663 * gdb.base/scope0.c: For now, change init() to be init0().
10664
10665 * config/monitor.exp: Use gdb_serial in preference to serial
10666 or netport.
10667
10668 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
10669 and it's not already set.
10670
10671Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
10672
10673 * gdb.base/setshow.exp: Only test the run command if the target
10674 isn't using a stub and if it supports argument passing.
10675
10676Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
10677
10678 * config/udi.exp(gdb_start): Make sure UDICONF is set
10679 properly before starting gdb.
10680
10681Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
10682
10683 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
10684 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
10685 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
10686
10687Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
10688
10689 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
10690 specialized code to reboot the board, use remote_reboot instead.
10691
10692 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
10693
10694 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
10695
10696 * config/monitor.exp: Make sure we disconnect from the target.
10697 Also, try a reboot/reload cycle instead of failing if the
10698 load fails.
10699
10700Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
10701
10702 * gdb.base/default.exp: Don't set match_max.
10703 * gdb.base/help.exp: Ditto.
10704 * gdb.base/list.exp: Ditto.
10705 * gdb.base/signals.exp: Ditto.
10706
10707 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
10708 set, use remote_ld to download the testcase instead of
10709 the GDB loader.
10710
10711Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
10712
10713 * config/vr5000.exp: New file.
10714
10715 * config/monitor.exp(gdb_target_monitor): Add pattern for
10716 "Ending remote" to detect errors in connecting.
10717
10718 * gdb.base/setshow.exp: Add .* within auto language test.
10719
10720 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
10721 target feature.
10722
10723 * config/monitor.exp(gdb_load): Check for a failure when loading,
10724 and reboot the board if necessary.
10725
10726 * gdb.base/setvar.exp(test_set): Handle multiple prints within
10727 a set of tests. Remove print.* from the patterns being checked.
10728
10729Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
10730
10731 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
10732 refer to gdb_spawn_id.
10733
10734 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
10735 longer used.
10736 * config/sparclet.exp: Ditto.
10737 * config/sparclet-old.exp: Ditto.
10738 * config/slite.exp: Ditto.
10739 * config/sim.exp: Ditto.
10740 * gdb.base/funcargs.exp: Ditto.
10741
10742 * lib/gdb.exp:Remove references to gdb_spawn_id.
10743 (gdb_expect): Move to remote.exp.
10744
10745Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
10746
10747 * config/monitor.exp: Detect the "Couldn't establish connection"
10748 message from GDB.
10749
10750Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
10751
10752 * gdb.base/bitfields.exp: Use runto instead of explicit
10753 gdb_run_cmd/gdb_expect sequences.
10754
10755 * gdb.base/break.exp(text_next_with_recursion): Add match for
10756 gdb_expect call.
10757
10758 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
10759 We also need to handle the "A program is being debugged already"
10760 prompt from gdb. Use gdb_test to set the baud rate.
10761
10762 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
10763 to 20000. Really. I mean it.
10764
10765Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
10766
10767 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
10768 fails. If suppress_flag is set, skip perror message about not
10769 being able to send to GDB.
10770 (send_gdb): If suppress_flag is set, don't try to send commands to
10771 GDB.
10772 (gdb_expect): If suppress_flag is set, always fail immediately.
10773 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
10774 (gdb_init): Call gdb_stop_suppressing_tests.
10775 (default_gdb_exit): Ditto.
10776 (default_gdb_start): Ditto.
10777
10778 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
10779 gdb_stop_suppressing_tests as appropriate.
10780 * gdb.base/break.exp: Ditto.
10781 * gdb.base/callfuncs.exp: Ditto.
10782 * gdb.base/commands.exp: Ditto.
10783 * gdb.base/exprs.exp: Ditto.
10784 * gdb.base/funcargs.exp: Ditto.
10785 * gdb.base/list.exp: Ditto.
10786 * gdb.base/recurse.exp: Ditto.
10787 * gdb.base/scope.exp: Ditto.
10788 * gdb.base/structs.exp: Ditto.
10789 * gdb.c++/inherit.exp: Ditto.
10790
10791Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
10792
10793 * config/vr4300.exp: New file.
10794
99707966 10795 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 10796
99707966 10797 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
10798
10799Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
10800
10801 * lib/gdb.exp(gdb_init): New function.
10802
10803 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
10804 for each individual variable set.
10805
10806 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
10807 name.
10808
10809 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
10810
10811 * gdb.base/scope.exp: Use gdb_test.
10812
10813 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
10814 aborting; the testsuite driver will do that for us (see
10815 gdb_finish). Also, use gdb_test in a few more places.
10816
10817Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
10818
10819 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
10820
10821Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
10822
10823 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
10824 and "add_tests" are not at the same address.
10825
10826Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
10827
10828 * gdb.base/ptype.exp: Use gdb_test.
10829
10830Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
10831
10832 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
10833 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
10834 left in. No longer expect them to fail.
10835
10836 * gdb.stabs/*.mt; Deleted, no longer used.
10837 * gdb.stabs/configure.in: Remove references to target makefile
10838 frags.
10839 * gdb.stabs/configure: Rebuilt.
10840
10841 * gdb.disasm/*.mt: Deleted, no longer used.
10842 * gdb.disasm/configure.in: Remove references to target makefile
10843 frags. Use "sh3.s" as the unique filename for this directory.
10844 * gdb.disasm/configure: Rebuilt.
10845
10846 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
10847 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
10848 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
10849
10850Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
10851
10852 * config/udi.exp: Use mondfe,name instead of remote_host.
10853
10854Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
10855
10856 * gdb.base/watchpoint.exp: Don't expect a failure when calling
10857 a function with a watchpoint enabled on the mn10200.
10858
10859 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
10860 before trying to create it!
10861
10862Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
10863
10864 * config/vx.exp: Use hostname instead of netport.
10865
10866 * config/vxworks.exp: New file.
10867
10868 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
10869
10870 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
10871 gdb before assuming everything worked. Send a ^C if a timeout
10872 occurs.
10873
10874 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
10875 $gdb_spawn_id directly.
10876 (gdb_run_cmd): Try _start as well as start. Use the target feature
10877 gdb,start_symbol as the symbol to start from when jumping.
10878
10879Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
10880
10881 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
10882 redundant) test.
10883
10884 * gdb.base/recurse.exp: Relax final value test for 'b' so that
10885 it doesn't lose for 16bit integer systems.
10886
10887Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
10888
10889 * gdb.fortran/types.exp: If the target doesn't support "double"
10890 data types, then expect "real" types to only be 4 bytes.
10891
10892 * gdb.c++/virtfunc.exp: Expect failure for virtual function
10893 call tests if the target doesn't support inferior function calls.
10894
10895 * gdb.base/printcmds.exp: Allow minor deviation in FP values
10896 in printf tests.
10897
10898Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
10899
10900 * gdb.base/help.exp: Disable "help set", "help show", and
10901 "help support". Simplify regexp for "help stack".
10902
10903 * gdb.base/default.exp: Set match_max to 5000 and the timeout
10904 to 60 seconds. Temporarily set match_max to 15000 around the
10905 "info copying" test.
10906
10907 * gdb.base/nodebug.exp: Don't try to do an inferior function
10908 call if the target doesn't support them.
10909 * gdb.base/printcmds.exp: Likewise.
10910 * gdb.base/setvar.exp: Likewise.
10911 * gdb.base/structs.exp: Likewise.
10912 * gdb.c++/templates.exp: Likewise.
10913 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
10914
10915 * gdb.base/recurse.exp: Enable for the mn10200.
10916
10917 * configure.in: Do configure gdb.stabs directory for *-*-elf
10918 targets.
10919 * configure: Rebuilt.
10920
10921 * gdb.base/break.exp: Check for gdb,noresults before testing
10922 exit status and/or results from the target.
10923 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
10924 * lib/gdb.exp: Remove old (now bogus) initialization of
10925 noinferior, noargs, noresults and nosignals.
10926
10927Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
10928
10929 * config/sh.exp: New file.
10930
10931 * config/slite.exp: Try to connect multiple times to the board
10932 before rebooting. Only send a "monitor run" if need_monitor_run
10933 is set.
10934
10935 * gdb.base/break.exp: Don't do the "stub continue" test if
10936 the target has gdb_stub set.
10937
10938 * gdb.base/callfuncs.exp: Increase the timeout.
10939
10940 * gdb.base/interrupt.exp: Don't even try to compile the testcase
10941 if the target has gdb,noinferiorio set.
10942
10943 * gdb.base/list.exp: Increase match_max to 10000 characters.
10944
10945 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
10946
10947 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
10948 target.
10949
10950 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
10951
10952Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
10953
10954 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
10955 trying to delete the copy of gdb. Catch the file delete so we
10956 don't die if the delete fails; also, the file should be copied to
10957 the host, not to the build.
10958
10959Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
10960
10961 * lib/gdb.exp(gdb_test): Surround the result pattern with
10962 parenthesis in case it contains multiple regexps separated
10963 with |.
10964
10965 * gdb.base/watchpoint.exp: Use gdb_test.
10966 * gdb.base/default.exp: Ditto.
10967
10968Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
10969
99707966 10970 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 10971
c906108c
SS
10972 * gdb.base/scope.exp: Use gdb_test.
10973 * gdb.c++/classes.exp: Ditto.
10974 * gdb.c++/inherit.exp: Ditto.
10975
10976Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
10977
10978 * gdb.base/crossload.exp: Don't use execute_anywhere, use
10979 remote_exec instead.
10980 * gdb.base/corefile.exp: Don't be ridiculous.
10981 * gdb.base/*.c: Add missing stub invocations.
10982
10983Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
10984
10985 * config/slite.exp: Miscellaneous fixes.
10986
10987 * lib/gdb.exp: Fix runto.
10988
10989 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
10990 the target.
10991
10992 * gdb.base/watchpoint.exp: Fix regexp.
10993
10994 * lib/gdb.exp(default_gdb_exit): Add a catch to the
10995 close and wait commands, as the descriptor may now be
10996 invalid. Always call "remote_close host".
10997
10998Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
10999
11000 Major rewrite for testsuite revision.
d63a86f8 11001
c906108c
SS
11002 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
11003 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
11004 instead of relying on spawn_id to always contain a valid
11005 spawn id.
11006 (get_compiler_info): New procedure to build the ${binfile}.ci
11007 file, instead of replicating this in N different places.
11008 (gdb_compile): New procedure.
d63a86f8 11009
c906108c
SS
11010 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
11011 appropriate arguments) instead of compile. Use gdb_test in a lot
11012 more places. Use send_gdb instead of send. Always run gdb_start
11013 at the start of a testcase, as this is no longer done magically.
11014
11015 config/*-gdb.exp: Rename without the -gdb suffix.
11016
11017 config/mips.exp: Use remote_close instead of exit_remote_shell.
11018 config/monitor.exp: Use target_info instead of looking at
11019 baud, timeout, etc.
11020 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
11021
11022Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11023
11024 * gdb.c++/templates.exp (test_ptype_of_templates),
11025 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
11026 Update expect patterns for destructors and assignment operators
11027 to match corresponding c-typeprint.c changes.
11028 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
11029 to destructor breakpoint test, GDB should be able to set the
11030 destructor breakpoint without specifying arguments.
11031
11032Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
11033
11034 * gdb.threads/pthreads.exp: Change result for failure to compile due
11035 to lack of pthreads runtime support from an error to simply an
11036 unsupported test, per dejagnu standards.
11037
11038Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11039
11040 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
11041 where GDB exits to reduce pattern match time.
11042 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
11043
11044 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
11045
dc96c6c7 11046Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11047
11048 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
11049 * gdb.base/default.exp: ditto.
11050 * gdb.base/nodebug.exp: ditto.
11051 * gdb.base/printcmds.exp: ditto.
11052 * gdb.base/ptype.exp: ditto.
11053 * gdb.base/setvar.exp: ditto.
11054 * gdb.base/structs.exp: ditto.
11055 * gdb.base/setshow.c: Guard against uninitialized values of argc.
11056
11057Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
11058
11059 * configure, */configure: Rebuild with autoconf 2.12.
11060
11061Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
11062
11063 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
11064 use new i*86-pc-linux*-gnu quads.
11065 * gdb.base/corefile.exp: Ditto.
11066 * gdb.base/signals.exp: Ditto.
11067 * gdb.base/sigall.exp: Ditto.
11068 * gdb.base/interrupt.exp: Ditto.
11069
11070 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
11071 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
11072 RedHat 4.0.
d63a86f8 11073
c906108c
SS
11074 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
11075 linux. This allows the test case to at least compile on latest
11076 linux, but still not run due to missing the threads runtime library.
11077
11078Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11079
11080 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
11081 directory to search gdb directory. Accept and step over conditional
11082 stack alignment code. Consume $prompt in failure cases.
11083 Reset timeout to $oldtimeout instead of some arbitrary value.
11084 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
11085 timeout problems with infinite stack backtraces.
11086 * gdb.base/ptype.exp (ptype struct link, union tu_link):
11087 Accept function parameters for linkfunc member.
11088
11089Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
11090
11091 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
11092 (CXXFLAGS): Remove, unreferenced.
11093 (B_OPTIONS): Add for -B options and add code to initialize with
11094 previous -B options and also add -B option to pick up cross compiled
11095 runtime.
11096 (TARGET_INCLUDES): Add for -I options and add code to initialize when
11097 doing cross compiles.
11098 (target_alias): Declare global.
11099 (xgcc): Set variable to full path of gcc in build tree. Use findfile
11100 to verify that gcc exists in build tree, and if so set CC to that
11101 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 11102
c906108c
SS
11103Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
11104
11105 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
11106 ptype test for anonymous union. Fixup testcase to match
11107 current gcc debug output.
11108
11109Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
11110
11111 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
11112 force argument to an unsigned long type.
11113
11114Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
11115
11116 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
11117 tests and anonymous union print/ptype tests.
11118 * gdb.base/list.exp (test_forward-search): Increase timeout by
11119 5 minutes for the "search extremely long line" case.
11120 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
11121 completely optional and that the pass/fail messages use the command as
11122 the message if that third arg is a null string.
11123 (gdb_test_exact): Arrange that a null string pattern means match a
11124 null string output rather than any output, which might include random
11125 errors.
11126 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
11127 backtrace test.
11128 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
11129 always failing and failure is now exposed by gdb.exp changes.
11130
11131Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
11132
11133 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
11134 weren't being noted.
11135
11136Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11137
11138 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
11139 * gdb.stabs/weird.exp: Remove v_comb xfails.
11140
dc96c6c7 11141Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11142
11143 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
11144 list.exp scope.exp watchpoint.exp]
11145 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 11146
dc96c6c7 11147Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11148
11149 * config/monitor.exp: Increase download timeout to 1000 seconds.
11150
dc96c6c7 11151Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11152
11153 * config/m32r.exp: Increase timeout to 120 seconds.
11154
11155Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
11156
11157 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
11158 and accept older ordering as obsolescent gcc or gdb.
11159 * gdb.c++/templates.exp: Ditto.
11160 * gdb.c++/virtfunc.exp: Ditto.
11161
11162Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
11163
11164 * gdb.base/coremaker.c: Add code to mmap some data so we
11165 can check that it ends up in the core file.
11166 * gdb.base/corefile.exp: Add test to read mmapped data
11167 from core file.
11168
dc96c6c7 11169Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11170
11171 * config/m32r.exp: New file.
11172
11173Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
11174
11175 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
11176 that cflags can contains -gstabs, and work correctly for other tests.
11177
dc96c6c7 11178Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11179
11180 * gdb.base/setshow.exp: New file, tests show and set.
11181 * gdb.base/setshow.c: New file, tests show and set.
11182 * gdb.base/help.exp: Add test for help set|show annotate.
11183 * gdb.base/default.exp: Add test for set|show annotate.
11184
11185Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
11186
11187 * testsuite/gdb.base/break.exp: Make backtrace from factorial
11188 errors unique.
11189 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
11190 explicitly.
11191
11192Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
11193
11194 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
11195 and width commands. This is done elsewhere.
11196 * (gdb_start): Don't call gdb_start_sim here. That's already
11197 done in gdb_load. This fixes lots of failures in default.exp.
11198
11199Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
11200
11201 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
11202 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
11203 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
11204 in the same we we treat other failures (since it may be an expected
11205 condition), rather than as an error.
11206 * gdb.base/signals.exp (test_handle_all_print): Revert back to
11207 old test format.
11208
11209Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
11210
11211 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
11212 (distclean maintainer-clean realclean): No need to remove files
11213 twice. Nuke the duplicates.
11214 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 11215 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
11216 Remove config.h along with other config files.
11217
11218Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
11219
11220 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
11221 "p func1 ()" and note that rests of tests are skipped.
11222 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
11223 setup_xfails for "print func2::coremaker_local".
11224 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
11225 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
11226 affected by the previous run test.
11227 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
11228 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
11229 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
11230 "pass int powerset tuple" and "pass modeless int powerset tuple".
11231 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
11232 "real write 4" and "real write 8".
11233 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
11234 setup_xfails for "print vs1 after tuple assign 2",
11235 "print \$i after tuple assign 2", and
11236 "print vs2 after tuple assign 2".
11237 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
11238 meaningful error message and return -1 so the caller can
11239 suppress further tests and avoid a cascade of errors.
d63a86f8 11240
c906108c
SS
11241Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
11242
11243 * gdb.base/a1-selftest.exp: Tweak tests to account for new
11244 format for printing version.
11245 * gdb.base/default.exp: Ditto.
11246 * gdb.base/interrupt.exp: Fix problem with cascade of
11247 errors if child process dies while calling a function.
d63a86f8 11248
c906108c
SS
11249Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
11250
11251 * Makefile.in (VPATH): Add
11252 * Makefile.in (Makefile, config.status): Fix rules so things get
11253 remade when necessary.
11254
11255Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
11256
11257 * Makefile.in (just-check): Add path to sibling expect dir
11258 to environment variable specified by RPATH_ENVVAR.
11259
11260Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
11261
11262 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
11263 (just-check): Add shared library paths for libstdc++, tk,
11264 tcl, bfd, and opcodes to the environment variable specified
11265 in RPATH_ENVVAR.
11266 * configure.in: Add support to recognize --enable-shared flag
11267 and generate correct value for RPATH_ENVVAR.
11268 * configure: Regenerated with autoconf.
11269
11270Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
11271
11272 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
11273 include all osf versions.
11274 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
11275 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
11276 when target is linux. When failing to build pthreads test
11277 executable, give more meaningful message.
11278 * gdb.threads/pthreads.c: Hpux also uses old definition of second
11279 arg for pthread_create.
d63a86f8 11280
c906108c
SS
11281Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
11282
11283 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
11284 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
11285 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
11286 and -lpthreads (everybody else).
11287 (test_startup): Fail gracefully if threads are not supported.
11288 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
11289 "p/c array_index("abcdef",2)" when not gcc compiled.
11290 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
11291 "print func2::coremaker_local" when not gcc compiled.
11292 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
11293 "ptype on opaque struct tagname (statically)",
11294 "ptype on opaque struct tagname (dynamically) 1", and
11295 "ptype on opaque struct tagname (dynamically) 2"
11296 for not compiled with gcc.
11297 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
11298 backtrace when compiled with gcc.
d63a86f8 11299 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
11300 than always return success.
11301
11302Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
11303
11304 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
11305
11306Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
11307
11308 * gdb.base/structs.exp: Undo last change.
11309
11310Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
11311
11312 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
11313 encapsulate all the steps/nexts done during self test, starting
11314 at main, and makes them less sensitive to optimization issues.
11315 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
11316 signal handler" test.
11317 * gdb.threads/pthreads.exp: Only run this for native configs.
11318 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
11319 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
11320 tests.
11321 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
11322 for "runto test_calls(void)" test.
d63a86f8 11323
c906108c
SS
11324Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
11325
11326 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
11327 and don't expect address info in breakpoint confirmations.
11328
11329Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
11330
11331 * gdb.base/list.exp (test_forward_search): Increase timeout
11332 temporarily by 60 seconds for searching extremely long line,
11333 and then reset to old value when done. Increase expect input
11334 buffer to 10000.
11335
11336Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
11337
11338 * gdb.base/list.exp (test_forward_search): Fix to handle very
11339 long source line without overflowing expect's input buffer.
11340
11341Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
11342
11343 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
11344 "buffer_full".
11345
11346 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
11347 "buffer_full".
11348
11349 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
11350 "buffer_full".
11351
11352 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
11353 "buffer_full".
11354
11355Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
11356
11357 * configure.in (configdirs): Add gdb.threads.
11358 * configure: Regenerated with autoconf.
11359 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
11360 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
11361 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 11362
c906108c
SS
11363Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
11364
11365 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
11366
11367Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
11368
11369 * gdb.base/signals.exp (test_handle_all_print): Test separately for
11370 each signal's status in the output of "handle all print".
11371 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
11372 the \r\n sequence that immediately precedes the gdb prompt.
11373 * gdb.base/a1-selftest.exp: Save original timeout and restore
11374 after test.
11375
11376Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
11377
11378 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
11379 symbol.
11380
11381Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
11382
11383 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
11384
11385Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
11386
11387 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
11388 timeout by 60 seconds.
11389
11390Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
11391
11392 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
11393 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
11394 error return.
11395
11396Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
11397
11398 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
11399 gdb initialization, also report how long dejagnu waited. Restore
11400 old timeout before doing error return. Temporarily increase timeout
11401 by 3 minutes to allow for slow startups over heavy NFS use.
11402
11403Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
11404
11405 * lib/gdb.exp: Report timeout value for verbosity level 2.
11406 * config/gdbserver.exp: Ditto.
11407 * config/hppro.exp: Ditto.
11408 * config/mips-gdb.exp: Ditto.
11409 * config/monitor.exp: Ditto.
11410 * config/netware.exp: Ditto.
11411 * config/sim-gdb.exp: Ditto.
11412 * config/slite-gdb.exp: Ditto.
11413 * config/udi-gdb.exp: Ditto.
11414 * config/unix-gdb.exp: Ditto.
11415 * config/vx-gdb.exp: Ditto.
11416 * gdb.base/a1-selftest.exp: Ditto.
11417 * gdb.base/a2-run.exp: Ditto.
11418 * gdb.base/break.exp: Ditto.
11419 * gdb.base/corefile.exp: Ditto.
11420 * gdb.base/list.exp: Ditto.
11421 * gdb.base/recurse.exp: Ditto.
11422 * gdb.base/scope.exp: Ditto.
11423 * gdb.base/signals.exp: Ditto.
11424
11425Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11426
11427 * gdb.threads/Makefile.in (docdir): Removed.
11428
11429Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11430
11431 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 11432 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 11433 @srcdir@.
d63a86f8 11434 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
11435 autoconf 2.5 or higher.
11436 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
11437
11438Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
11439
11440 * configure: Regenerated.
11441 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
11442 avoid name clashes with SunOS headers.
11443
11444Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
11445
11446 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
11447
11448Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
11449
11450 * gdb.base/callfuncs.exp: Finish last change -- make sure the
11451 prototype information ends up in the compiler info file.
11452
11453Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
11454
11455 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
11456 attempting to regenerate it. Eliminate use of a temporary file
11457 and just generate the info file directly. Source it immediately,
11458 for consistency of use.
11459 * gdb.base/corefile.exp: Ditto
11460 * gdb.base/exprs.exp: Ditto.
11461 * gdb.base/funcargs.exp: Ditto.
11462 * gdb.base/langs.exp: Ditto.
11463 * gdb.base/list.exp: Ditto.
11464 * gdb.base/mips_pro.exp: Ditto.
11465 * gdb.base/nodebug.exp: Ditto.
11466 * gdb.base/opaque.exp: Ditto.
11467 * gdb.base/ptype.exp: Ditto.
11468 * gdb.base/scope.exp: Ditto.
11469 * gdb.base/setvar.exp: Ditto.
11470 * gdb.base/signals.exp: Ditto.
11471 * gdb.base/whatis.exp: Ditto.
11472 * gdb.c++/templates.exp: Ditto.
11473 * gdb.c++/virtfunc.exp: Ditto.
11474 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
11475 whether or not to add -lstdc++ to the compile command line args.
11476
11477Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11478
11479 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
11480 it got fixed by the recent lookup_minimal_symbol_by_pc change.
11481 Increase timeout, a lot of single stepping might be needed if the
11482 target has no hardware watchpoints.
11483
11484Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
11485
11486 * gdb.base/break.exp: Ignore compiler warnings when compiling
11487 break.c.
11488 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
11489 * gdb.base/default.exp: Add h8300 xfails. Handle messages
11490 from remote-sim.
11491 * gdb.base/exprs.exp: Add h8300 xfails.
11492 * gdb.base/funcargs.exp: Likewise.
11493 * gdb.base/nodebug.exp: Likewise.
11494 * gdb.base/printcmds.exp: Likewise.
11495 * gdb.base/ptype.exp: Likewise.
11496 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
11497 h8300 xfails.
d63a86f8 11498 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
11499 on the h8300.
11500 * gdb.base/funcargs.c: Explicitly make last constant argument to
11501 call_after_alloca_subr an unsigned long type.
11502 * gdb.base/return.c: Include stdio.h.
11503
11504Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
11505
11506 * config/abug.exp: New file for the older Motorola Bug monitor
11507 that runs on the mvme13x series VME boards.
11508 * config/monitor.exp: Use the new config array for target settings
11509 if they exist.
11510
11511Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
11512
11513 * sim-gdb.exp: Make the SH simulator allocate less space when
11514 it is targeted.
11515
11516Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
11517
11518 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
11519 test.
11520
11521Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
11522
11523 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
11524 "rs6000-*-*" for "list function in include file" when gcc compiled.
11525 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
11526 for "p ctable1[120]".
11527 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
11528 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
11529 Remove setup_xfail for "rs6000-*-*" for
11530 "print 'scope0.c'::filelocal before run".
11531 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
11532 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
11533 since some compilers don't allow both options to be given
11534 on the same command line. Create object file and move it.
d63a86f8 11535
c906108c
SS
11536Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
11537
11538 * gdb.base/corefile.exp: Always regenerate the core file, since
11539 we always regenerate the coremaker program. Detect special case
11540 where registers cannot be read from core file.
d63a86f8 11541
c906108c
SS
11542Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
11543
11544 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
11545 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
11546 * gdb.c++/templates.exp: Only match on basename of file since
11547 some formats like xcoff don't encode directory information.
11548 * gdb.stabs/weird.exp: Use the right sed script for powerpc
11549 and rs6000 AIX xcoff targets.
11550 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
11551 * configure: Regenerate.
11552 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
11553 here, rather than in distclean.
d63a86f8 11554
c906108c
SS
11555Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
11556
11557 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
11558 defined, and use it to compile the test case with -O2. The
11559 native compilation still uses no optimization.
11560 * gdb.base/mips_pro.c: Remove inline assembly code since
11561 it is compiled PIC by default, which results in assembler
11562 warnings that make the testsuite think the compilation
11563 was unsuccessful.
11564
11565Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
11566
11567 * gdb.c++/misc.exp: Add note to message for
11568 "print s.a for foo struct" that this is a known gcc 2.7.2
11569 and earlier bug.
11570
11571Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
11572
11573 * gdb.base/break.exp: Fix pattern for matching "Delete all
11574 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
11575 setup_xfail for deleting all breakpoints test. Fix various
11576 timeout messages to include "(timeout)".
11577 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
11578 for "p t_float_values2(3.14159,float_val2)".
11579 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
11580 for "continue to call2g" when gcc compiled.
11581 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
11582 "up to foo in langs.exp", "show language at foo in langs.exp",
11583 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
11584 and "show language at fsub in langs.exp".
11585 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
11586 "list line 1 in include file", "list message for lines past EOF",
11587 "list function in include file", "list list0.h:foo", and
11588 "list filename:function; nonexistant function".
11589 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
11590 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
11591 and "ptype t_char_array" to be for native cc only.
d63a86f8 11592
c906108c
SS
11593Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
11594
d63a86f8 11595 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
11596 setup_xfail for "print coremaker_bss", "print coremaker_ro",
11597 "print func2::coremaker_local", and "backtrace in corefile.exp".
11598
11599Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
11600
11601 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
11602 "bt in signals.exp". This problem only appears when running
11603 the testsuite, and then only intermittently.
11604
11605Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
11606
11607 * gdb.base/return.exp (return_tests): Differentiate between
11608 two tests of continuing.
11609
11610Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
11611
11612 * */Makefile.in (maintainer-clean): Remove config.log.
11613 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
11614 * gdb.c++/Makefile.in (PROGS): Add inherit.
11615 (clean): Remove *.ci.
11616
11617Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
11618
11619 * gdb.c++/misc.cc: Add test code from Mike Stump.
11620 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
11621
11622Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
11623
11624 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
11625 to "alpha-*-osf2*" and add comment.
11626 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
11627 setup_xfail for "step over execarg initialization" and
11628 "step over corearg initialization".
11629 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
11630 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
11631 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
11632 gcc compiled for "print coremaker_bss", "print coremaker_ro",
11633 "print func2::coremaker_local", and "backtrace in corefile.exp".
11634 * gdb.base/signals.exp: Build and source signals.ci.
11635 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
11636 to be for gcc only.
11637 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 11638
c906108c
SS
11639Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11640
11641 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
11642 Feb 3 procfs.c change.
11643
11644Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
11645
11646 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
11647
11648Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
11649
11650 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
11651 from dejagnu's apparent default of 10 seconds, which gives random
11652 results when running the tests over NFS on moderately loaded systems.
11653 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
11654
11655Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
11656
11657 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
11658 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
11659 result reports.
11660
11661Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
11662
11663 * configure.in (CY_AC_PATH_TCLH): Remove.
11664 * configure: Regenerate.
11665
11666Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
11667
11668 * gdb.c++/Makefile.in (clean): Add missing '{'.
11669
11670Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
11671
11672 * lib/gdb.exp: Provide a default value for noinferior.
11673
11674 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
11675 Load libgloss.exp.
11676
11677Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
11678
11679 * gdb.disasm/hppa.exp: Compile directly into an executable, use
11680 the executable, not the .o to run the tests from.
11681
11682Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
11683
11684 * gdb.base/break.exp: Don't test for program exit or exit status
11685 if $noresults if nonzero.
11686 * gdb.base/langs.exp: Likewise.
11687 * gdb.base/watchpoint.exp: Likewise.
11688
11689 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
11690 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
11691 trying to compile the testcase.
11692
11693Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
11694
11695 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
11696 * gdb.base/signals.exp (continue to handler): Likewise.
11697
11698Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
11699
11700 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
11701
11702 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
11703
11704Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
11705
11706 * gdb.base/corefile.exp: Recognize "not found" as failure
11707 when trying to determine if a core file was generated.
11708 If no core file was generate the first time, try again without
11709 the ulimit -c to work around braindamaged shells.
11710
11711Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
11712
11713 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
11714 [] tests with "test" and enclose string in quotes.
11715 * gdb.stabs/configure: Rebuild
d63a86f8 11716
c906108c
SS
11717Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
11718
11719 Changes in sync with expect:
11720 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
11721 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
11722 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
11723 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
11724 argument to AC_REQUIRE.
11725 * configure: Regenerated.
11726
11727Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
11728
11729 * gdb.base/corefile.exp: When generating a core, discard any
11730 error messages about ulimit not found and the "core dumped"
11731 message from the shell that runs the coredumper.
11732
11733Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
11734
11735 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
11736
11737 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
11738 which sed script to run. Expect failure for v_comb test
11739 on PA targets too.
d63a86f8 11740
c906108c
SS
11741Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
11742
11743 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
11744 "print func2::coremaker_local" and for "backtrace in corefile.exp"
11745
11746Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
11747
11748 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
11749 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
11750 "sparc-sun-solaris*" xfails for "p v_comb".
11751 * lib/gdb.exp (default_gdb_start): Fix typo.
11752 * gdb.base/corefile.exp: Allow "Core was generated by ..."
11753 messages to not include the full program name that caused
11754 the core dump since some systems (such as solaris) apparently
11755 truncate this path to about 80 characters.
11756 When generating a core file first try increasing the core file
11757 size limit to unlimited since some systems may default it to
11758 zero, and it is harmless to try it. Move the test for failing
11759 to generate a core file to where it will actually get executed.
11760 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
11761 new gdb result from g++ debug info improvements and make old
11762 pattern obsolescent. Also account for size_t differences
11763 (may be int or long).
11764 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
11765 initialization before function call is placed in the delay slot
11766 and thus appears to be skipped over by commands such as "next".
11767
11768Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
11769
11770 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
11771
11772Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
11773
11774 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
11775 input source file; fix code to compile test to deal with this
11776 convention.
11777 * gdb.c++/*.exp: Likewise.
11778
11779Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
11780
11781 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
11782 "bt in signals.exp".
11783
11784Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
11785
11786 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
11787 "step over execarg initialization" and
11788 "step over corearg initialization".
11789
11790Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
11791
11792 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
11793 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
11794
11795Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
11796
11797 From Rob Savoye (rob@poseidon.cygnus.com)
11798 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
11799 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
11800 configure.in}, gdb.disasm/{Makefile.in, configure.in},
11801 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
11802 configure.in}: Major reworking for autoconfig.
11803 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
11804 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
11805 New files.
11806 * config/unix-gdb.exp: Make GDB global.
11807 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
11808 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
11809 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
11810 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
11811 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
11812 term.exp, twice.exp, watchpoint.exp, whatis.exp},
11813 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
11814 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
11815 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
11816 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
11817 pr-8136.exp, result.exp, string.exp, tuples.exp},
11818 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
11819 to returns as necessary, arrange for test to compile own testcase
11820 executable.
11821 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 11822
c906108c
SS
11823Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
11824
11825 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
11826 clear_xfail at end of test which might not call either pass or fail.
11827 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
11828 "backtrace through signal handler".
11829
11830Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11831
11832 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
11833 continuing from a job control stop signal.
11834 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
11835
11836Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
11837
11838 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
11839 * gdb.base/corefile.exp: Likewise.
11840 * gdb.base/funcargs.exp: Likewise.
11841
11842Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
11843
11844 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
11845 * config/monitor.exp: Add support for setting baud rate.
11846
11847Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
11848
11849 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
11850 i*86-*-linux* xfails for "backtrace through signal handler".
11851 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
11852 "print func2::coremaker_local".
11853 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
11854 alpha-dec-osf2* xfail for
11855 "delete all breakpoints when none".
11856
11857Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
11858
11859 * gdb.base/break.exp: Change test that deletes all breakpoints
11860 when no user breakpoints are installed. A post 4.15 change
11861 causes gdb to no longer prompt in this case.
11862
11863Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
11864
11865 * gdb.base/return.exp (return_tests): Change xfail for test
11866 "correct value returned double test" to stop xfailing at
11867 Solaris 2.5. Apparently the bug has been fixed.
11868
11869Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
11870
11871 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
11872 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
11873
11874Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
11875
11876 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
11877 * gdb.disasm/hppa.s: Corresponding changes.
11878
11879Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
11880
11881 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
11882 makefile fragment.
11883 * config/mt-hpux: Deleted.
11884
11885Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
11886
d63a86f8 11887 * Many files: When warning about suppressed tests due to a
c906108c
SS
11888 nonexistant test binary, avoid incrementing the warning count.
11889
11890Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
11891
11892 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 11893
c906108c
SS
11894Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11895
11896 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
11897 "sparc-*-solaris2*".
11898
11899Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11900
11901 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
11902 Add global and local variables and initialize them.
11903 * gdb.base/corefile.exp: Test correct mapping of corefile sections
11904 by printing variables. Remove rs6000 and powerpc xfails, BFD now
11905 extracts the file name and terminating signal from the core file.
11906 * TODO: Remove note about tests for correct mapping of corefile.
11907 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
11908 from optimizing it away.
11909 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
11910 handles common blocks.
11911
11912Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
11913
11914 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
11915 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
11916
11917Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
11918
11919 * Makefile.in (maintainer-clean): New target, synonym for
11920 realclean.
11921 * gdb.base/Makefile.in (maintainer-clean): Likewise.
11922 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
11923 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
11924 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
11925 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
11926 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
11927
11928Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
11929
11930 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
11931 xfails when not gcc compiled for "print foo::funclocal".
11932 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
11933 "print foo::funclocal at foo",
11934 "print 'scope1.c'::foo::funclocal at foo",
11935 "print foo::funclocal_bss at foo",
11936 "print 'scope1.c'::foo::funclocal_bss at foo",
11937 "print foo::funclocal_ro at foo",
11938 "print 'scope1.c'::foo::funclocal_ro at foo",
11939 "print bar::funclocal at foo" and
11940 "print 'scope1.c'::bar::funclocal at foo".
11941 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
11942 gcc compiled for "print foo::funclocal at bar".
11943 Expand all messages to ensure that they identify that
11944 the test is at bar().
11945 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
11946 gcc compiled for:
11947 "ptype on opaque struct pointer (statically)",
11948 "ptype on opaque struct tagname (statically)",
11949 "ptype on opaque struct pointer (dynamically) 1",
11950 "ptype on opaque struct tagname (dynamically) 1",
11951 "ptype on opaque struct pointer (dynamically) 2" and
11952 "ptype on opaque struct tagname (dynamically) 2
11953 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
11954 gcc compiled for:
11955 "p datalocal"
11956 "whatis datalocal",
11957 "ptype datalocal",
11958 "p bsslocal",
11959 "whatis bsslocal", and
11960 "ptype bsslocal".
11961 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
11962 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
11963 when not gcc compiled.
11964 * gdb.base/funcargs.exp (float_and_integral_args): Add
11965 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
11966 compiled.
11967 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
11968 "backtrace from call6a" when not gcc compiled.
11969 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
11970 "backtrace from call7a" when not gcc compiled.
11971 * gdb.base/callfuncs.exp (do_function_calls):
11972 Add "hppa*-*-hpux*" xfail when not gcc compiled for
11973 "p t_char_array_values(char_array_val2,char_array_val1)",
11974 "p t_char_array_values(char_array_val1,char_array_val2)",
11975 "p t_char_array_values("carray 1","carray 2")",
11976 "p t_char_array_values("carray 1",char_array_val2)",
11977 "p t_char_array_values(char_array_val1,"carray 2")",
11978 "p sum_args(1,{2})",
11979 "p sum_args(2,{2,3})",
11980 "p sum_args(3,{2,3,4})",
11981 "p sum_args(4,{2,3,4,5})"
11982 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
11983 "backtrace in corefile.exp" when not gcc compiled.
11984
11985Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11986
11987 * gdb.base/signals.exp: Rewrite `handle all print' test as
11988 a procedure. Accept blanks or TABs as whitespace, increase
11989 timeout and expect input buffer size for the large output
11990 from the command. Remove "i*86-*-bsdi2.0" xfail.
11991
11992Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11993
11994 * gdb.base/setvar.exp: Add new testcases for truncation when
11995 assigning invalid values to bitfields.
11996
11997Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
11998
d63a86f8 11999 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
12000 mips-sgi-irix* xfail for
12001 "call inferior func with struct - returns char *"
12002 and fix test so that an optional (unsigned char *) cast is
12003 accepted in the result.
12004
12005Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
12006
12007 * gdb.base/funcargs.exp (float_and_integral_args): Remove
12008 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
12009 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
12010 * gdb.base/signals.exp: Remove duplicate "handle all print" test
12011 that accidentally got checked in.
12012
12013Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
12014
d63a86f8 12015 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
12016 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
12017 compiled test.
12018 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
12019 Add mips-sgi-irix5* xfail for not gcc compiled.
12020 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
12021 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
12022 "p top", "whatis top", "p middle", and "whatis middle".
12023 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
12024 "whatis signed char" for not gcc compiled.
12025 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
12026 "set variable signed char=-1 (-1)" and
12027 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
12028 * gdb.base/funcargs.exp (float_and_integral_args):
12029 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
12030 Add mips-sgi-irix* xfail when not gcc compiled for
12031 "continue to call2b".
12032 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
12033 "continue to call2g".
12034 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
12035 "backtrace from call6a"
12036 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
12037 "backtrace from call7k".
12038 Add mips-sgi-irix5* xfail when not gcc compiled for
12039 "backtrace from call7a".
12040 (localvars_after_alloca): Fix gdb_test cmds for
12041 "print * after runto ...".
12042 Remove rs6000-*-* xfails for
12043 "print i after runto localvars_after_alloca" and
12044 "print l after runto localvars_after_alloca"
12045 for all compilers.
12046 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
12047 when not compiled with gcc, for:
12048 "print signed char == (minus)",
12049 "print signed char != (minus)",
12050 "print signed char < (minus)",
12051 "print signed char > (minus)".
12052 * gdb.base/callfuncs.exp (do_function_calls):
12053 Add mips-sgi-irix* xfail, when compiled with native compiler, for
12054 "call inferior func with struct - returns char *".
d63a86f8 12055 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
12056 "correct value returned double test" to include Solaris 2.4.
12057 * gdb.base/funcargs.exp (float_and_integral_args):
12058 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 12059
c906108c
SS
12060Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12061
12062 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
12063 enumeration bitfields if compiling with GNU C.
12064 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
12065 to empty' prompt.
12066
12067Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
12068
12069 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
12070 test for PRO targets.
12071
12072 * gdb.base/funcargs.exp: Avoid ever setting more than 8
12073 breakpoints in the inferior at any given time by making
12074 two groups of breakpoints for call2*, call6* and call7*
12075 tests.
12076
12077Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12078
12079 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
12080 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
12081 from optimizing it away.
12082 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
12083 "call inferior func with struct".
12084
12085Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
12086
12087 * configure.in: Only configure gdb.chill for particular targets.
12088
12089Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
12090
12091 * gdb.base/Makefile.in: Add action to .c.o transformation
12092 rule that generates a .ci file for each .o file and remove
12093 explicit .c.o rules except for callfuncs.o.
12094 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
12095 generates a .ci file for each .o file and remove explicit
12096 .cc.o rules.
12097 (clean): Remove *.tmp *.ci files.
12098 (EXECUTABLES): Remove templ-info.exp.
12099 * gdb.base/compiler.c: New file.
12100 * gdb.c++/compiler.cc: New file
12101 * gdb.base/scope.exp: Source gdb.base/scope.ci.
12102 Change rs6000-*-* xfail for
12103 "print 'scope0.c'::filelocal_ro" and
12104 "print 'scope1.c'::filelocal" and
12105 "print 'scope1.c'::filelocal_bss" and
12106 "print 'scope1.c'::filelocal_ro" and
12107 "print 'scope1.c'::foo::funclocal" and
12108 "print 'scope1.c'::foo::funclocal_ro" and
12109 "print 'scope1.c'::bar::funclocal" and
12110 "print 'scope0.c'::filelocal_ro" and
12111 "print 'scope1.c'::filelocal at foo" and
12112 "print 'scope1.c'::filelocal_bss at foo" and
12113 "print 'scope1.c'::filelocal_ro at foo" and
12114 "print 'scope1.c'::foo::funclocal at foo" and
12115 "print 'scope1.c'::foo::funclocal_bss at foo" and
12116 "print 'scope1.c'::foo::funclocal_ro at foo" and
12117 "print 'scope1.c'::bar::funclocal at foo" and
12118 "print 'scope0.c'::filelocal_ro" and
12119 "print 'scope1.c'::filelocal" and
12120 "print 'scope1.c'::filelocal_bss" and
12121 "print 'scope1.c'::filelocal_ro" and
12122 "print 'scope1.c'::foo::funclocal" and
12123 "print 'scope1.c'::foo::funclocal_bss" and
12124 "print 'scope1.c'::foo::funclocal_ro" and
12125 "print 'scope1.c'::bar::funclocal" and
12126 "print 'scope1.c'::bar::funclocal_bss"
12127 to only be xfail'd when not compiled with gcc.
d63a86f8 12128 Add rs6000-*-* xfail for
c906108c
SS
12129 "print 'scope0.c'::filelocal_bss before run"
12130 when compiled with gcc.
12131 (test_at_main): Add rs6000-*-* xfail for
12132 "print filelocal_ro in test_at_main"
12133 when compiled with gcc.
12134 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 12135 Add rs6000-*-aix* xfail for
c906108c
SS
12136 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
12137 "ptype t_char_array", not compiled with gcc.
12138 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
12139 xfail for "list foo (in include file)" when gcc compiled.
12140 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
12141 (integral_args): Add rs6000-*-* xfail for
12142 "run to call0a" if not compiled with gcc.
12143 (unsigned_integral_args): Add rs6000-*-* xfail for
12144 "run to call1a" if not compiled with gcc.
12145 (float_and_integral_args): Add rs6000-*-* xfail for
12146 "run to call2a" if not compiled with gcc and for
12147 "continue to call2b" for any compiler.
12148 Add rs6000-*-* xfail to
12149 "print f1 after run to call2a" for gcc compiled.
12150 (discard_and_shuffle): Add rs6000-*-* xfail for
12151 "run to call6a".
12152 (shuffle_round_robin): Add rs6000-*-* xfail for
12153 "backtrace from call7a" if not compiled with gcc.
12154 Add rs6000-*-* xfail for
12155 "backtrace from call7b" if compiled with gcc.
12156 (call_after_alloca): Add rs6000-*-* xfail for
12157 "print c in call_after_alloca" and
12158 "print s in call_after_alloca" and
12159 "backtrace from call_after_alloca_subr"
12160 if not compiled with gcc.
12161 (localvars_in_indirect_call): Add rs6000-*-* xfail for
12162 "print c in localvars_in_indirect_call" and
12163 "print c in localvars_in_indirect_call" and
12164 "backtrace in indirectly called function" and
12165 "stepping into indirectly called function"
12166 if not compiled with gcc.
12167 (localvars_after_alloca): Add rs6000-*-* xfail for
12168 "print c after runto localvars_after_alloca" and
12169 "print s after runto localvars_after_alloca" and
12170 "print i after runto localvars_after_alloca" and
12171 "print l after runto localvars_after_alloca"
12172 for all compilers.
12173 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
12174 than whatis-info.exp.
12175 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
12176 than opaque-info.exp.
12177 Setup rs6000-*-* xfail for
d63a86f8 12178 "ptype on opaque struct pointer (statically)" and
c906108c
SS
12179 "ptype on opaque struct pointer (dynamically)" when
12180 not compiled with gcc.
12181 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
12182 rather than callf-info.exp.
12183 (do_function_calls): Add clear_xfail for rs6000-*-* for
12184 "p t_float_values2(3.14159,float_val2)". Seems to work
12185 fine there, both with xlc and gcc. Need to find out what
12186 it is doing right and fix other platforms.
12187 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
12188 "call inferior func with struct - returns int",
12189 "call inferior func with struct - returns long",
12190 "call inferior func with struct - returns float",
12191 "call inferior func with struct - returns double",
12192 "call inferior func with struct - returns char *",
12193 but only if not gcc compiled (presumes xlc compiled).
12194 Change rs6000-*-* xfails for
12195 "call inferior func with struct - returns char" and
12196 " call inferior func with struct - returns short" to only
12197 xfail if not using gcc.
12198 (clean mostlyclean): Remove *.ci and *.tmp files.
12199 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
12200 than templ-info.exp.
12201 * gdb.base/langs.exp: Source gdb.base/langs.ci.
12202 Add rs6000-*-* xfail for "up to foo in langs.exp"
12203 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
12204 when not gcc compiled.
d63a86f8 12205
c906108c
SS
12206Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12207
12208 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
12209 * gdb.base/corefile.exp: Likewise.
12210 * gdb.base/list.exp: Likewise.
12211 * gdb.base/scope.exp: Likewise.
12212 * gdb.base/siganls.exp: Likewise.
12213
12214 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
12215 compiler output.
12216 * gdb.base/whatis.exp: Likewise.
12217
12218Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
12219
12220 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
12221 failure (opcode table has been fixed to match reality).
12222
12223Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
12224
12225 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
12226 "call inferior func with struct - returns char",
12227 "call inferior func with struct - returns short"
12228
12229 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
12230 "print 'scope0.c'::filelocal at main",
12231 "print 'scope0.c'::filelocal_bss in test_at_main",
12232 "print 'scope0.c'::filelocal at foo",
12233 "print 'scope0.c'::filelocal_bss in test_at_foo",
12234 "print 'scope0.c'::filelocal at bar",
12235 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 12236
c906108c
SS
12237 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
12238 in source file 1". This bug seems to have been fixed with both
12239 gcc and native cc (was native assembler bug?).
12240
12241Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
12242
12243 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
12244 "backtrace through signal handler" to "i*86-*-sysv4*".
12245 * gdb.base/signals.exp: Add xfail for "'next' behaved as
12246 continue" case. Add "known SVR4 bug" to fail message.
12247 Add "i*86-*-bsdi2.0" xfail for "handle all print".
12248 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
12249 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
12250 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
12251 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
12252 "up to foo in langs.exp", "show language at foo in
12253 langs.exp", "up to cppsub_ in langs.exp", "show
12254 language at cppsub_ in langs.exp", "up to fsub in
12255 langs.exp", and "show language at fsub in langs.exp".
12256 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
12257 "bactrace in corefile.exp".
12258 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
12259 "call inferior function with struct - returns float" and
12260 "call inferior function with struct - returns double".
d63a86f8 12261
c906108c
SS
12262Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
12263
12264 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
12265 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
12266 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
12267 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
12268
12269Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
12270
12271 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
12272 (or overriden) "CHILL" macro rather then bare "gcc".
12273 Also look for ../../gcc/xgcc since that is what we will
12274 actually need, not "Makefile". Remove following assignment
12275 of CHILL to CHILL_FOR_TARGET because that results in
12276 recursive definition.
12277
12278Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
12279
12280 * gdb.base/corefile.exp: Change xfail for backtrace in
12281 corefile.exp from linuxaout to all linux.
12282 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
12283 cases where we miss the breakpoint at the signal handler
12284 for some reason. Setup xfail for linuxoldld/linuxaout and
12285 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
12286 hitting SIGURG breakpoint.
12287 * gdb.base/signals.exp: Setup xfail for "next" acting like
12288 continue to add linuxoldld. Setup xfail for all linux for
12289 "next to handler in signals_tests_1", "backtrace in
12290 signals_tests_1", "continue to func1", "pass SIGUSR1",
12291 and continue to handler".
12292
12293Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
12294
12295 * Update all FSF addresses except those in COPYING* files.
12296
12297Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
12298
12299 * gdb.base/a2-run.exp: Change messages to be more explicit about
12300 the status of args, and quote binfile in results.
12301
12302Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
12303
12304 * gdb.base/callfuncs.exp: Add tests for passing structs to
12305 inferior functions and return various types.
12306 * gdb.base/callfuncs.c: Add functions to receive a struct
12307 and return a member of the struct, in various types.
12308
12309Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12310
12311 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
12312
12313Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
12314
12315 * config/vxworks29k.exp: New file, sources vxworks.exp.
12316
12317Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12318
12319 * config/gdbremote.exp: New file. Testing framework using
12320 gdbserver.
12321
12322Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
12323
12324 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
12325 "call function when asleep" and "send end of file".
12326 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
12327 for "backtrace in corefile.exp".
12328 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
12329 for "backtrace through signal handler".
12330 * gdb.base/corefile.exp: Make sure we actually generate a core file
12331 before trying the core tests. Some systems allow the user to suppress
12332 generation of core files and default to that (linux for example).
12333 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
12334 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
12335
12336Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12337
12338 * gdb.threads: New directory with some crude multi-threaded
12339 gdb tests (step.exp and step2.exp).
12340 * config/mt-lynx (STEP_EXECUTABLE): Define.
12341 (THREADFLAGS): Define.
12342
12343Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
12344
12345 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
12346
12347 * gdb.base/signals.exp: Disable whole file for lynx until
12348 further notice.
12349
12350 * gdb.base/signals.exp: xfail test where "next" acts like
12351 "continue" for lynx.
12352
12353 * gdb.base/interrupt.exp: xfail test for calling function while
12354 inferior is asleep for lynx.
12355
12356 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
12357 than one cr-lf after each command.
12358
12359Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12360
12361 * configure.in: Reinstate setting of stabsdirs variable, fix
12362 typo in setting up configdirs for native builds.
12363
12364 * gdb.base/return.exp: Fix typo in return double test.
12365 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
12366 compiler from optimizing them away.
12367
12368Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
12369
12370 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
12371 sequences to be echo'd by gdb when using gdb_test.
12372 * gdb.chill/chexp.exp: Likewise.
12373 * gdb.fortran/exprs.exp: Likewise
12374
12375Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
12376
12377 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
12378 after the inferior gdb has started.
12379
12380 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
12381 after each command.
12382 * gdb.base/funcargs.exp: Likewise.
12383 * gdb.base/gdbvars.exp: Likewise.
12384 * gdb.base/interrupt.exp: Likewise.
12385 * gdb.base/list.exp: Likewise.
12386 * gdb.base/watchpoint.exp: Likewise.
12387 * gdb.c++/demangle.exp: Likewise.
12388 * gdb.c++/inherit.exp: Likewise.
12389 * gdb.chill/chexp.exp: Likewise.
12390 * gdb.fortran/exprs.exp: Likewise.
12391
12392 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
12393 test if we can't handle IO to/from the inferior.
12394
12395 * gdb.c++/misc.exp: Always check for a program already being
12396 started after sending a "run" command to gdb.
12397
12398 * gdb.base/twice.exp: Start with a fresh gdb.
12399
12400 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
12401 only depend on gdb's expression code, not the chill runtime.
12402
12403 * gdb.base/return.c: Put return values into variables so we
12404 can have gdb print them rather than depending on the program
12405 to print them.
12406 * gdb.base/return.exp: Corresponding changes.
12407
12408 * lib/gdb.exp: Provide default value for noinferiorio.
12409 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
12410 the inferior.
12411
12412 * gdb.base/break.exp: Always check for a program already being
12413 started after sending a "run" command to gdb.
12414 (text_next_with_recursion): Don't check the output from the
12415 program's printf statement. Instead just make sure the program
12416 exited.
12417
12418 * gdb.base/commands.exp: Protect tests which need arguments with
12419 $noargs conditionals.
12420
12421Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12422
12423 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
12424 of structure member arrays to match gdb/valops.c:value_addr change.
12425
12426Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
12427
12428 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
12429 cases.
12430
12431Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
12432
12433 * configure.in (configdirs): Remove gdb.chill from default list
12434 of subdirs and then add it back in only if doing a native build.
12435 The current chill compiler does not yet work in any cross build.
12436 * Revert all signal changes from Jul 6.
12437 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
12438 for sh-hms targets, allowing these tests to link, with no other
12439 changes. Testing is suppressed by setting "nosignals" in site.exp.
12440
12441Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
12442
12443 * configure.in (signaldirs): Define and add to configdirs for all
12444 targets except some specific ones that are known to not support signals.
12445 Also clean up formatting.
12446 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
12447 (signals, sigall): Remove rules to build.
12448 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
12449 Moved to new gdb.signals directory.
12450 * gdb.signals: New test directory.
12451 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
12452 signals.c signals.exp}: New or moved files.
12453
12454Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
12455
12456 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
12457
12458Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
12459
12460 * gdb.base/return.exp: Xfail `return double' test failure
12461 on at least Solaris 2.3 and handle future/past versions on
12462 a case by case basis as appropriate. Also update message
12463 to include i*86 failures.
12464
12465Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12466
12467 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
12468
12469 * lib/gdb.exp: Fix comment which erroneously identified
12470 gdb_file_cmd as gdb_load (the 19 May change was in fact to
12471 gdb_file_cmd not gdb_load).
12472 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
12473
12474 * gdb.base/setvar.exp: Make test names consistent between pass and
12475 fail cases. Use gdb_test more.
12476
12477Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12478
12479 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
12480
12481Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12482
12483 * gdb.base/help.exp: Fix expected help string for `show commands'.
12484
12485Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
12486
12487 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
12488
12489 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
12490 of a text section.
12491
12492Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
12493
12494 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
12495 that loop eventually terminates. Fix Connection refused logic so
12496 that testsuite will expire nicely.
12497
12498Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
12499
12500 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
12501 config/rom68k.exp: New tcl glue for the appropriate monitors.
12502 These all just end up calling monitor.exp.
12503 * config/monitor.exp (gdb_target_monitor): Handle `Connection
12504 refused' by retrying. Cleanup some timeout issues.
12505 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
12506 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
12507 callers don't have to set/restore global timeout variable.
12508
12509 * The following set of changes centralizes management of the global
12510 timeout variable. This way, it can be set in one target dependent
12511 place instead of dozens of places scattered throughout the test suite.
12512 If you need to lengthen a timeout, then you should either set timeout
12513 in one of the config/{target}.exp files, or multiply it by a factor.
12514 Setting it to an absolute value is always going to lose for some
12515 targets.
12516 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
12517 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
12518 * gdb.base/funcargs.exp: Don't set timeout.
12519 * gdb.base/list.exp (test_forward_search): Only use local timeout.
12520 * gdb.base/printcmds.exp (test_print_string_constants
12521 test_print_array_constants): Don't set timeout.
12522 * gdb.base/ptype.exp: Don't set timeout.
12523 * gdb.base/recurse.exp: Don't set timeout.
12524 * gdb.base/return.exp: Don't set timeout.
12525 * gdb.base/watchpoint.exp: Don't set timeout.
12526 * gdb.c++/classes.exp (do_tests): Don't set timeout.
12527 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
12528
12529Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
12530
12531 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
12532
12533Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12534
12535 * lib/gdb.exp: Disable chill tests for irix5.
12536
12537Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12538
12539 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
12540 each test pass or fail.
12541
12542Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12543
12544 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
12545 xlc not gcc.
12546
12547Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
12548
12549 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
12550
12551Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
12552
12553 * config/est.exp: Fix copyright and comments. Remove dead code.
12554 Use targetname, serialport and baud variables instead of fixed
12555 constants.
12556 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
12557 * config/cpu32bug.exp: New file to support cpu32bug monitors.
12558
12559Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12560
12561 * gdb.base/watchpoint.exp: Don't run
12562 test_watchpoint_triggered_in_syscall for sunos.
12563
12564Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12565
12566 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
12567 they don't seem to exist. Do include stdio.h.
12568
12569Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12570
12571 * gdb.base/a1-selftest.exp: Add alpha xfail.
12572
12573Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12574
12575 * gdb.base/watchpoint.c (main): Prompt before calling read().
12576 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
12577 Revise accordingly. Remove cruft about sending "123" several
12578 times, until it gets noticed. Clean up the "print buf[0]" stuff
12579 so that it passes or fails, and waits for prompts in the usual way.
12580
12581Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12582
12583 * gdb.base/recurse.exp: Fix comment.
12584
12585 * TODO: Remove item about printing variables in nodebug.exp. Add
12586 item about enabling tests which are only run on some targets.
12587
12588 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
12589 fail, make test names unique, use new gdb_test convention
12590 regarding pattern, use gdb_test more, etc.).
12591
12592 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
12593 fail, make test names unique, etc.).
12594
12595Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12596
12597 * gdb.base/nodebug.c: Change return type of top and middle to
12598 short.
12599 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
12600 are fixed by the recent mdebugread.c changes. Allow `short ()'
12601 as type for top and middle.
12602
12603Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12604
12605 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
12606 nearly as I can tell, the whole thing was an accident in Stu's
12607 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
12608 to replace a send/expect pair with gdb_test, but ended up only
12609 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
12610 of 30 Mar 1995 took care of it, but left this vestigial comment
12611 which I am now nuking.
12612
12613Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12614
12615 * gdb.base/break.exp: Look for different line number for
12616 breakpoint at main depending on usestubs.
12617
12618Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12619
12620 * gdb.base/list.exp: Adjust some alternate expect patterns to
12621 match recent list0.c change. Add alternate expect pattern for
12622 output from `list default lines around main' for optimizing
12623 compilers.
12624
12625Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12626
12627 * lib/gdb.exp: If nosignals is not set, set it to 0.
12628
12629Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
12630
12631 * config/slite-gdb.exp: Responds to load symbol table prompt.
12632 * gdb.base/break.exp: Adjust line number, fix rerun.
12633 * gdb.base/langs0.c: Add #ifdef usestubs.
12634
12635Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
12636
12637 * gdb.base/list.exp: Adjust line contents after adding new lines in
12638 list0.c. Also fix a syntax error.
12639
12640 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
12641 * gdb.base/break.exp: ditto.
12642 * gdb.base/list.exp: ditto.
12643 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
12644 * gdb.base/run.c: ditto.
12645 * gdb.base/list0.c: ditto.
12646 * gdb.base/funcargs.c: ditto.
12647
12648Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
12649
12650 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
12651 $targetname, $serialport and $baud instead of hardwired variables.
12652 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
12653 target doesn't support signals.
12654
12655Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
12656
12657 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
12658
12659Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12660
12661 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
12662 Don't rely on the value of an auto variable before it has been
12663 initialized. Use gdb_test more.
12664
12665Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12666
12667 * lib/gdb.exp (default_gdb_version): A version number must start
12668 with a digit, but other than that contains all characters up to
12669 the first whitespace character.
12670
12671Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12672
12673 * gdb.base/commands.exp (breakpoint_command_test): New tests.
12674
12675Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12676
12677 * gdb.c++/*.exp: Warn if executable does not exist. The original
12678 reason for skipping the warning was that configure.in sometimes
12679 intentionally skipped building the executables but the tcl code
12680 had no way of knowing. That (a) was always bogus with respect to
12681 error handling, (b) is no longer true (right now there is no way
12682 to skip C++ tests).
12683
12684 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
12685
12686Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12687
12688 * gdb.base/list.exp: Add expect patterns for output from
12689 SunPRO compiled executables.
12690 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
12691 types.
12692
12693Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12694
12695 * gdb.base/break.exp (test_next_with_recursion): Accept any line
12696 number (we are already testing that the correct source line text
12697 gets printed).
12698
12699 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
12700 that is what is intended, but something needed to be done to get
12701 sunos4 native working again.
12702
12703 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
12704
12705 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
12706 apparently went with a (very) old xfail.
12707
12708Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
12709
12710 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
12711 runto_main is a proc in gdb.exp that will do 'step' for target use
12712 stubs.
12713 * gdb.base/exprs.exp: ditto.
12714 * gdb.base/interrupt.exp: ditto.
12715 * gdb.base/opaque.exp: ditto.
12716 * gdb.base/printcmds.exp: ditto.
12717 * gdb.base/ptype.exp: ditto.
12718 * gdb.base/scope.exp: ditto.
12719 * gdb.base/setvar.exp: ditto.
12720 * gdb.base/signals.exp: ditto.
12721 * gdb.base/twice.exp: ditto.
12722 * gdb.c++/classes.exp: ditto.
12723 * gdb.c++/inherit.exp: ditto.
12724 * gdb.c++/templates.exp: ditto.
12725 * gdb.base/break.exp: no run and hit main for stubs. Change line
12726 numbers for breakpoints and info breakpoint.
12727 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
12728 breakpoint().
12729 * gdb.base/callfuncs.c: ditto.
12730 * gdb.base/exprs: ditto.
12731 * gdb.base/interrupt.c: ditto.
12732 * gdb.base/opaque0.c: ditto.
12733 * gdb.base/printcmds.c: ditto.
12734 * gdb.base/ptype.c: ditto.
12735 * gdb.base/scope0.c: ditto.
12736 * gdb.base/setvar.c: ditto.
12737 * gdb.base/signals.c: ditto.
12738 * gdb.base/twice.c: ditto.
12739 * gdb.c++/misc.cc: ditto.
12740 * gdb.c++/templates.cc: ditto.
12741
12742Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12743
12744 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
12745
12746 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
12747 somewhere between `read' and `main.c'. I'm pretty sure the
12748 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
12749 and it isn't particularly useful.
12750
12751 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
12752
12753Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12754
12755 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
12756
12757Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
12758
12759 * config/mt-slite: add LIBS and -nostdlib.
12760 * config/slite-gdb.exp: add this new file to support sparclite target.
12761
12762Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
12763
12764 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
12765
12766 * gdb.base/a2-run.exp: Change argument to istarget from
12767 "*-*-vxworks" to "*-*-vxworks*".
12768 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
12769
12770Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
12771
12772 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
12773 will not runto main but do a 'step' to step out of breakpoint().
12774 * config/mt-slite: add -Dusestubs.
12775
12776Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12777
12778 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
12779 instead of just @.
12780
12781 * gdb.base/signals.exp: Add test for "handle all print".
12782 * TODO: Remove "handle all print". Also remove item about
12783 checking copyright date (I don't like the idea of a spurious FAIL
12784 based on when we run the tests).
12785
12786 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
12787 for SunOS4 (reason for failure not investigated). Remove
12788 redundant test for $binfile.
12789
12790 * gdb.base/nodebug.c (array_index): Call malloc.
12791
12792 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
12793
12794Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
12795
12796 * gdb.base/recurse.exp: Update gdb_test invocation to use new
12797 conventions and slightly simplify the matching regexp.
12798
12799Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12800
12801 * gdb.base/break.exp: Update gdb_test invocation to use new
12802 convention.
12803
12804 * lib/gdb.exp: If noargs is not set, set it to 0.
12805
12806 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
12807 tests unique.
12808
12809 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
12810
12811Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12812
12813 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
12814 one argument of type "<non-float parameter>".
12815
12816Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
12817
12818 * config/rom68k.exp: New file to support Motorola IDP board.
12819 * gdb.base/a2-run.exp: Skip this file if noargs is set.
12820 * gdb.base/break.c: Change things around so that this program
12821 doesn't depend upon args. This is necessary to make remote
12822 targets work (in general, they can't take args).
12823 * gdb.base/break.exp: Don't try to send args to program. Don't
12824 expect output. Also, replace lots of code with gdb_test.
12825
12826Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12827
12828 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
12829 printing of '\'' (which is what the comment says we are testing,
12830 even though we were not), not '''.
12831 (test_integer_literals_rejected): Test that printing ''' is an error.
12832
12833 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12834 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
12835 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
12836 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
12837 Use gdb_test not test_print_accept.
12838 * lib/gdb.exp: Remove test_print_accept.
12839
12840 * gdb.base/signals.exp (signal_tests_1): Make pass message
12841 consistent with fail message.
12842
12843 * gdb.base/whatis.exp: Remove xfails for printing char vs.
12844 unsigned char; the bug (PR 1821) is fixed.
12845
12846 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
12847
12848 * gdb.base/scope.exp (test_at_localscopes): Call pass for
12849 successful tests--makes xfailing them work right.
12850
12851Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12852
12853 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
12854 only \r\n, not .*. The test can pass .* as the last thing in
12855 $pattern if that is what it wants. In addition to providing this
12856 flexibility, this change should speed up pattern matching in cases
12857 where the pattern already ended with .* (there were a number of
12858 them). This change also helps catch bad patterns--in the old
12859 scheme the typo "char \*" instead of "char \\*" would pass. Now
12860 it is caught.
12861 * Many .exp files: Update callers.
12862
12863 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
12864 clearer and does not spuriously match multiple ('s. Likewise for
12865 ) and *.
12866
12867 * gdb.base/nodebug.exp: Test ability to call a function and pass
12868 it a string (even with no debugging info).
12869
12870 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
12871 "p '\'", which is the same as "p ''" once tcl gets done with
12872 quoting, to "p '\\'", which I suspect is what is intended (one
12873 backslash gets sent to GDB).
12874
12875 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
12876
12877Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12878
12879 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
12880 1817) was fixed literally years ago.
12881
12882Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12883
12884 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
12885 test, it causes stepping out of call_after_alloca_subr with
12886 optimizing compilers.
12887 (localvars_in_indirect_call): Consume GDB prompt if `finish'
12888 fails.
12889
12890 * gdb.c++/templates.exp: Source templ-info.exp only if
12891 the templates executable exists.
12892
12893 * gdb.c++/misc.cc (class Contains_static_instance,
12894 class Contains_nested_static_instance),
12895 gdb.c++/classes.exp (test_static_members): Test printing of
12896 a class that contains a static instance of the class.
12897
12898Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12899
12900 * gdb.base/langs2.c (cppsub_): Don't prototype.
12901 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
12902 only, I believe).
12903
12904Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12905
12906 * lib/gdb.exp (skip_chill_tests): New procedure.
12907
12908 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
12909
12910Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
12911
12912 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
12913 each expect pattern. Cuts runtime from 12 to about 4 seconds.
12914
12915Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12916
12917 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
12918
12919 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
12920 disassemble 8, not 16, instructions for part 4.
12921
12922 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
12923 support the latter anymore.
12924
12925 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
12926 -DNO_PROTOTYPES.
12927 * gdb.base/callfuncs.c: Control use of prototypes based on
12928 NO_PROTOTYPES, not __STDC__.
12929 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
12930 t_float_values2 tests if prototypes in use.
12931
12932 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
12933 t_double_values): When checking differences against DELTA, check
12934 that difference is within the range (-DELTA,DELTA), not just
12935 (-infinity,DELTA).
12936
12937Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
12938
12939 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
12940 'file' command firts, then 'target', then 'load', this is due to gdb
12941 target set up.
12942 * config/mips-gdb.exp: Fix a couple regular exp bugs.
12943
12944Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
12945
12946 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
12947 FP load/store variants.
12948 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
12949
12950Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
12951
12952 * gdb.base/term.exp: Do not give a warning if not native, it is
12953 not an abnormal condition.
12954
12955Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
12956
12957 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
12958 t_char_array".
12959
12960Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
12961
12962 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
12963 are getting the version number.
12964
12965 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
12966 if not native, it is not an abnormal condition.
12967
12968Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12969
12970 * lib/gdb.exp: Just use "file exists", rather than undocumented
12971 dejagnu procedure "findfile".
12972
12973Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12974
12975 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
12976 (LDFLAGS): Set to -Xlinker -Ur.
12977
12978 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
12979 Removed, these values are set by lib/gdb.exp.
12980
12981 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
12982
12983Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12984
12985 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
12986 of replicating gdb startup code.
12987
12988 * config/mt-vxworks (LDFLAGS): Set to -r.
12989 (CFLAGS_FOR_TARGET): Removed.
12990
12991 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
12992 (gdb) and gdb for vxworks uses (vxgdb).
12993
12994 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
12995 executable is not in the tree and host != target, use sed and
12996 program_transform_name to determine the gdb name used by the
12997 target.
12998
12999 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
13000 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
13001
13002Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13003
13004 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
13005 floats, chars, and shorts where there are ANSI-style function
13006 definitions.
13007
13008 * gdb.base/langs.exp, gdb.base/langs*: New test.
13009 * gdb.base/Makefile.in: Build it.
13010 * TODO: Remove item about checking that C names don't get C++
13011 demangling applied; this test tests it.
13012
13013Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13014
13015 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
13016 went with the const70 xfail. The xfail went away a year ago.
13017
13018 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
13019
13020 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
13021 for hp300.
13022
13023 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
13024
13025 * gdb.base/a1-selftest.exp: Don't run on hp300.
13026
13027Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13028
13029 * Makefile.in (site.exp): Set host_alias and target_alias as well
13030 as host_triplet and target_triplet.
13031
13032Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13033
13034 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
13035
13036 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
13037 places as other ecoff systems).
13038
13039 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
13040 ultrix.
13041
13042Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13043
13044 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
13045 remove them.
13046 * gdb.base/nodebug.exp: Accept "function" in addition to "text
13047 variable and "variable" in addition to "data variable".
13048 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
13049
13050 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
13051 2.
13052 * gdb.base/list1.c (long_line): Add additional statement at start
13053 of function.
13054 * gdb.base/list.exp (test_forward_search): Update line number to
13055 reflect new statement.
13056
13057Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13058
13059 * gdb.base/signals.exp: Reinitialize searched source directories
13060 after gdb_start call.
13061
13062Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
13063
13064 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
13065 * gdb.stabs/Makefile.in: Likewise.
13066
13067 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
13068 change. Instead split the tests into smaller pieces.
13069 * gdb.disasm/hppa.s: Corresponding changes.
13070
13071Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13072
13073 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
13074 Quote ^C when passing it to stty. For some shells ^ is a pipe.
13075
13076 * gdb.base/funcargs.exp: Modify many tests so that every test
13077 either passes or fails. Make some test names unique.
13078
13079Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13080
13081 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
13082 Call stty to set interrupt character.
13083
13084 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
13085 for HP assembler versus GNU assembler based on actual behavior of
13086 $(CC), rather than assuming that $(AS) is always the GNU assembler.
13087
13088 * TODO: Suggest a few more stepping tests.
13089
13090Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
13091
13092 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
13093 restart GDB for h8300 after a continue.
13094 (return): Add pattern to match a29k-udi behavior.
13095 * gdb.base/nodebug.exp: Remove obsolete comment.
13096 * gdb.base/regs.exp: New file, testing of register displays.
13097 * gdb.base/return.exp: Fix typo in reference to $objdir.
13098 * gdb.base/whatis.exp: Always start with a fresh GDB.
13099
13100Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13101
13102 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
13103 higher, these tests generate a lot of output.
13104
13105Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13106
13107 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
13108 code following the catch silently ignored some errors; without the
13109 catch they should be thrown like any other tcl error. Also, the
13110 catch used "" instead of {} which meant all the callers who wanted
13111 to include one of the characters "[]$ had to quote it an extra time.
13112 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
13113 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
13114 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
13115 Remove extra quoting.
13116
13117Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
13118
13119 * gdb.base/commands.exp: Make test names unique; every test either
13120 passes or fails. Update some comments.
13121
13122 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
13123
13124Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13125
13126 The following fixes a FAIL caused by the fact that the alpha stabs
13127 configuration didn't use the ".if alpha" code in weird.def.
13128 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
13129 bit pointer, so the 32 bit version works even on the alpha.
13130 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
13131 Remove the stuff which allowed us to have separate versions for
13132 alpha and everything else.
13133
13134 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
13135 regexp which "info func operator\[\](" is supposed to match. Fix
13136 string to send to GDB. Note that GDB still doesn't work right. Add a
13137 new test for "info func .perator\[\](" which GDB does handle correctly.
13138
13139 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
13140
13141Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13142
13143 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
13144 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
13145 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
13146 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
13147 it makes the tests harder to understand and confuses test-o-matic.
13148 The preferred style is that each test provides a PASS or a FAIL,
13149 and has a unique message (e.g. "continue #54" not just "continue")
13150 which is the same for the pass and the fail.
13151 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
13152 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
13153 to lib/gdb.exp.
13154 * gdb.base/printcmds.exp: Use test_print_accept. Remove
13155 prt_accept which was basically the same thing. Likewise for
13156 test_print_reject and prt_reject.
13157 * lib/gdb.exp (test_print_reject): Add some more error message
13158 patterns to match from the former printcmds.exp (prt_reject).
13159 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
13160 One defect of the passcount stuff is that some of it failed to
13161 report XPASS where appropriate.
13162 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
13163 stuff before and after arg in expected pattern.
13164 (test_paddr_operator_functions): Re-do test without print_addr_of;
13165 this is the only test which seems to want extra stuff there.
13166
13167Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13168
13169 * gdb.base/nodebug.exp: Update new tests to reflect improved
13170 wording of gdb output.
13171
13172 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
13173 and "ptype" work on variables in files compiled without -g.
13174 Replaces commented out "maint print msymbol" tests.
13175
13176Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13177
13178 * gdb.base/setvar.c (dummy): Call malloc.
13179
13180 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
13181 losing with the irix4 sed.
13182
13183 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
13184 ALRM" on irix4.
13185
13186Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13187
13188 * TODO: Remove items about corefile.exp testing new exec-file and
13189 backtrace; both are now done. Add items about printing enums.
13190
13191Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13192
13193 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
13194 "get signal $thissig" test fails.
13195
13196 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
13197
13198Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13199
13200 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
13201 compiler warning with dec alpha compiler.
13202
13203 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
13204 extra \n from gdb_test call (this explains why the prompt test
13205 that I removed yesterday was there).
13206 (user_defined_command_test): Remove extra \n and prompt test.
13207
13208 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
13209 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
13210 doesn't exist.
13211 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
13212 Also remove alpha workaround, which turns out to be because
13213 SIGABRT == SIGLOST.
13214
13215 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
13216
13217 * gdb.base/help.exp: Don't test "help show".
13218
13219Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13220
13221 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
13222 "set print address" is on.
13223 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
13224 pass prompt to gdb_test; gdb_test already looks for the prompt.
13225
13226 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
13227
13228 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
13229 was a vestige of the manual TESTSTRATEGY, and the purpose of it
13230 was to make sure that gdb can read a core file. But (a) the "read
13231 the corefile" part didn't make it to a1-selftest.exp, we just
13232 delete the corefile after creating it, and (b) we test reading
13233 corefiles in corefile.exp anyway. Also, this test left around a
13234 xgdb process on Solaris.
13235
13236 * gdb.base/corefile.exp: Also test backtrace.
13237
13238Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
13239
13240 * gdb.base/commands.exp: Test a simple user defined command with
13241 arguments and if/while statements; verify the full user command is
13242 printed by "show user".
13243
13244 * gdb.base/commands.exp: Test if/while commands as part of a
13245 breakpoint command list; verify they appear in breakpoint
13246 information.
13247
13248Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13249
13250 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
13251 than by dividing by zero.
13252
13253Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
13254
13255 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
13256 performing an inferior call with watchpoints enabled.
13257 * gdb.base/watchpoint.c (main): Delete second unnecessary read
13258 call.
13259
13260Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13261
13262 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
13263 of "file" command.
13264
13265 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
13266 Add additional pattern for when "int operator int(void);" appears
13267 in a different order.
13268
13269Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
13270
13271 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
13272
13273 * gdb.base/help.exp: Replace most of docstrings for "info signals"
13274 and "signal" with ".*".
13275
13276Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13277
13278 * TODO: Add note about "handle all nostop".
13279
13280 * gdb.base/{sigall.c, sigall.exp}: New test.
13281 * gdb.base/Makefile.in: Add it.
13282
13283Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
13284
13285 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
13286 when invoking GDB, suppresses any windowing interface.
13287
13288Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
13289
13290 * config/sim-gdb: New file, simulator testing support.
13291
13292Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
13293
13294 * gdb.base/interrupt.exp: Test calling func1 twice.
13295
13296Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
13297
13298 * gdb.base/list.exp (test_forward_search): Set timeout higher
13299 when we'll be getting lots of output from gdb.
13300
13301 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
13302 "init_malloc" to after the expect statement. Run it if that
13303 regexp is taken, but also for two others which happen if source
13304 cannot be found.
13305
13306Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13307
13308 * gdb.base/printcmds.exp: New test, for printing register before
13309 program is running.
13310
13311Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13312
13313 * gdb.base/list.exp: Correct some alternate expect patterns
13314 to reflect changes in list1.c.
13315
13316Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13317
13318 * TODO: Add item regarding large frames.
13319
13320 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
13321
13322 * TODO: Remove item about enabling return.exp; it
13323 is enabled. Suggest a few more "return" tests.
13324
13325Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13326
13327 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
13328 anonymous unions.
13329
13330Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13331
13332 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
13333 and pr-5646.o, so "make" is the same as "make all", not "make
13334 pr-4975.o".
13335
13336Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
13337
13338 * gdb.base/list.exp: Adjust expectations to reflect changes in
13339 list1.c.
13340 (test_forward_search): New test proc.
13341 * gdb.base/list1.c (long_line): New function, has long source line.
13342
13343Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
13344
13345 * gdb.base/a1-selftest.exp: Change initial stepping to know about
13346 additional line of code that was added.
13347
13348Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
13349
13350 * gdb.disasm/hppa.s: Break the large branching tests into smaller
13351 tests so as not to overflow expect's input buffers.
13352 * gdb.disasm/hppa.exp: Corresponding changes.
13353
13354Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13355
13356 Beginnings of template debugging tests.
13357 * gdb.c++/templ-info.cc: New file to test for template
13358 debugging capability of the compiler.
13359 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
13360 templ-info.cc.
13361 * gdb.c++/templates.cc: Add explicit template instantiations
13362 to enable compiling with -fno-implicit-templates. Add destructor
13363 and 'value' method to T5 class for template tests.
13364 * gdb.c++/templates.exp: Add testcases for printing of template
13365 types, setting breakpoints on template methods and calling a
d63a86f8 13366 template method.
c906108c
SS
13367
13368Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
13369
13370 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
13371 branch target since some assemblers (gas-2.5) may emit a
13372 relocation for the branch instead of resolving it in the
13373 assembler.
13374
13375Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13376
13377 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
13378 through signal handler.
13379
13380Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13381
13382 * configure.in (*-*-netware): Use config/mt-netware.
13383
13384 * config/mt-netware: New file.
13385 * config/mt-i386-netware: Removed, separate configs for different
13386 netware architectures are no longer needed now that we have
13387 --with-headers.
13388
13389Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13390
13391 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
13392 by the recent changes to use ANSI C arithmetic conversions.
13393
13394Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13395
13396 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
13397 bug involving using inferior_pid to figure out whether to select a
13398 frame.
13399
13400Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
13401
13402 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
13403 match the current disassembler output.
13404
13405Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
13406
13407 * gdb.fortran/exprs.exp: Expect VOID instead of void.
13408 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
13409 types, expect "int" as type of integer values (for now).
13410
13411Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
13412
13413 * gdb.base/commands.exp: New tests for if/while commands.
13414
13415Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
13416
13417 * lib/gdb.exp (runto): Replace sub-pattern for hex value
13418 by .*, since hex values have different syntax in Chill mode.
13419
13420Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13421
13422 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
13423 linefeed from expect pattern for repeated types with indices > 9.
13424
13425Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
13426
13427 First part of Fortran test suite.
13428 * gdb.fortran: New directory.
13429 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
13430
13431Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13432
13433 * gdb.base/default.exp: Update expect pattern for load command
13434 without arguments.
13435
13436Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13437
13438 * configure.in: Change i386 to i[345]86.
13439 * gdb.base/configure.in: Likewise.
13440 * gdb.c++/configure.in: Likewise.
13441 * gdb.chill/configure.in: Likewise.
13442
13443Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
13444
13445 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
13446 patterns, since that is not a valid context for comments.
13447
13448Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
13449
13450 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
13451 repeated types and repeated types with indices > 9.
13452
13453Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
13454
13455 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
13456 2417; old bug has been fixed.
13457
13458Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
13459
13460 * gdb.base/interrupt.exp: When trying to wake up the inferior,
13461 send the newline ourselves instead of assuming gdb_test will do
13462 so when passed an empty input string.
13463
13464 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
13465 stabs testcode.
13466
13467Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13468
13469 * lib/gdb.exp (gdb_test): Don't send anything if the first
13470 argument is an empty string. This makes cases where we want to
13471 match output that is already in expect's buffers (for example,
13472 matching a breakpoint after gdb_run_cmd has been called) work
13473 reliably.
13474
13475Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13476
13477 * config/netware.exp: New file.
13478
13479Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13480
13481 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
13482 the -B and -L prefixes so we can find the debugging stub.
13483
13484 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
13485 there and we are using the gcc from the tree.
13486
13487 * gdb.base/types.c: Removed.
13488
13489 * gdb.base/configure.in: Look for makefile fragments in ../config.
13490 Recognize i386-*-netware.
13491 * gdb.c++/configure.in: Likewise.
13492
13493Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13494
13495 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
13496 the correct TCL syntax.
13497
13498Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13499
13500 * gdb.base/opaque.exp: use runto instead of messing around with
13501 breakpoints. Simplify by using gdb_test.
13502
13503 * gdb.base/bitfields.exp: restart between tests on netware targets
13504 because breakpoints aren't relocated after target death. Run
13505 processes to completion.
13506
13507 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
13508
13509Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
13510
13511 * Makefile.in: Remove extra tabs that confuse some versions
13512 of "make". Use the newly built gdb to test with by default,
13513 rather than the first one in the tester's search path.
13514
13515Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
13516
13517 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
13518
13519 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
13520 condition help.
13521
13522Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13523
13524 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
13525
13526 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
13527 running.
13528 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
13529 * gdb.base/funcargs.exp: Likewise.
13530
13531 * gdb.base/bitfields.exp: Simplify by using gdb_test.
13532 * gdb.base/funcargs.exp: Likewise.
13533
13534 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
13535 message is "".
13536
13537Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13538
13539 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
13540 return,signals,twice}.exp: Handle non-existant binaries
13541 consistantly.
13542
13543 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
13544 * gdb.base/Makefile.in: Don't try to generate a core dump, we
13545 might testing a cross development system.
13546
13547Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13548
13549 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
13550 runtest script is relative to ${srcdir}, not ${rootdir}.
13551
13552Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
13553
13554 * gdb.base/signals.exp: Allow for optionality of breakpoint
13555 address.
13556
13557Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13558
13559 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
13560
13561Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13562
13563 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
13564 for size_t definition.
13565 * gdb.c++/templates.cc: Likewise
13566
13567 * config/mt-i386-netware: New file.
13568
13569 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
13570 defined.
13571
13572 * gdb.base/Makefile.in: Added support for systems that name core
13573 files by appending "core" to the program name.
13574 * gdb.base/a1-selftest.exp: Likewise.
13575
13576Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13577
13578 * gdb.base/return.exp: Add comment and message for `return double'
13579 test failure on Sparc Solaris.
13580
13581Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
13582
13583 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
13584
13585Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13586
13587 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
13588 from optimizing them away.
13589 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
13590 patterns to include default constructors and assignment operators,
13591 to match gcc versions beyond 2.5.8. Accept any cplus demangling
13592 character in the output of the virtual base pointer.
13593
13594Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13595
13596 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
13597 expression match in print_addr_of to avoid unintented matches.
13598 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
13599 versions up to 2.5.8.
13600
13601Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13602
13603 * gdb.base/list.exp: Tweak alternate pattern for listing of an
13604 included file to run under newer versions of expect.
13605 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
13606 consecutive >'s in templates to accomodate recent cplus-dem.c change.
13607 Remove xfail for the virtual table of BDDHookV.
13608
13609Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
13610
13611 * lib/gdb.exp (string_to_regexp): Set a default result.
13612 (default_gdb_start): Fix misleading message.
13613
13614Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
13615
13616 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
13617 Remove all CC, etc definitions.
13618 * config/mt-hpux: New file.
13619 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
13620 (CFLAGS, LDFLAGS): Define.
13621 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
13622
13623 * Makefile.in (site.exp): Don't insert host_os, etc.
13624 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
13625 (distclean): Check existence of subdir.
13626 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
13627 * gdb.base/Makefile.in: General cleanup and simplification.
13628 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
13629 to build executables. Use default rule to build .o files.
13630 (EXPECT, RUNTEST, CC): Fix relative pathname.
13631 (site.exp): Don't insert host_os, etc.
13632 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
13633 and/or SIGUSR1 defined.
13634 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
13635 * gdb.c++/Makefile.in: General cleanup and simplification.
13636 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
13637 (CFLAGS): Remove.
13638 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
13639
13640Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
13641
13642 * gdb.base/recurse.exp: Misc changes to get tests running again
13643 after Kung's changes to the watchpoint code.
13644 * gdb.base/watchpoint.exp: Likewise.
13645
13646Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
13647
13648 * lib/gdb.exp (string_to_regexp): Convert {\} also.
13649
13650Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
13651
13652 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
13653 * lib/gdb.exp (default_gdb_start): Define.
13654 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
13655 gdb.base/funcargs.exp, gdb.base/opaque.exp,
13656 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
13657 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
13658 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
13659 Don't call gdb_target_udi in between tests.
13660
13661Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13662
13663 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
13664 (which was basically just a local version of the same thing). In
13665 addition to avoiding duplication, gdb_test_exact is faster.
13666 * lib/gdb.exp (gdb_test_exact): Fix typo.
13667
13668 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
13669 don't give an error.
13670
13671 * gdb.base/term.exp: Call delete_breakpoints before starting.
13672
13673 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
13674 (t10): Add comment.
13675
13676Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
13677
13678 Reorganization of the GDB Test Suite.
13679
13680 * gdb.base: New directory, contains all the basic tests.
13681 * gdb.c++: New directory, tests specific to C++.
13682 * gdb.chill: New directory, tests specific to Chill.
13683 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
13684 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
13685 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
13686 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
13687 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
13688 t30-31 to chill).
13689 * */gdbme.*: Rename to match appropriate expect scripts.
13690 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
13691 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
13692 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
13693 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
13694 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
13695 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
13696 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
13697 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
13698 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
13699 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
13700 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
13701 gdb.c++/virtfunc.cc: New names of C++ files.
13702 * gdb.chill/chillvars.ch: New name of Chill file.
13703 * gdb.base/configure.in, gdb.c++/configure.in,
13704 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
13705 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
13706 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
13707 * configure.in (configdirs): Update to reflect directory changes.
13708 (target_abbrev): No longer define for any configuration.
13709 * Makefile.in: Cosmetic improvements to header comments.
13710
13711Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
13712
13713 Various changes to gdb.t31:
13714
13715 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
13716 * gdbme.ch: Make all key-words and predefineds be upper-case.
13717 * chillvars.exp: Expect key-words and predefinds in upper-case.
13718
13719 * chillvars.exp: Use gdb_test_exact many places.
13720 Change expected output for arrays (which now includes index labels).
13721
13722 * pr-5020.exp, gdme.ch (module PR_5020):
13723 New test, for PR-5020.
13724
13725Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
13726
13727 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
13728 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
13729
13730Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
13731
13732 * Makefile.in: Fix bit-rot in definitions of CHILL,
13733 CHILL_FOR_TARGET and Chill_LIB.
13734 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
13735 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
13736 CHILL, and CHILL_LIB.
13737
13738Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
13739
13740 * Revert the previous changes. Please see Rob's directory
13741 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
13742
13743Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
13744
13745 * Makefile.in, configure.in, config/mips-gdb.exp,
13746 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
13747 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
13748 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
13749 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
13750 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
13751 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
13752 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
13753 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
13754 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
13755 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
13756 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
13757 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
13758 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
13759 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
13760 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
13761 changes from 94Q1.
13762
13763Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
13764
13765 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
13766 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
13767 Rob's new testing fragments.
13768
13769Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
13770
13771 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
13772 lib/gdb.exp: Replace error proc calls with perror.
13773
13774Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
13775
13776 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
13777 version also, match on casted version strings, and match on
13778 gdb startup case where the line numbers might be messed up.
13779
13780Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
13781
13782 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
13783 (CFLAGS): Delete it from here.
13784
13785Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
13786
13787 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
13788
13789Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
13790
13791 * Makefile.in (RUNTEST): Default to just "runtest".
13792
13793Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13794
13795 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
13796 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
13797 the code has been restructured.
13798
13799Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13800
13801 * gdb.t00/default.exp (set write): Allow any number of \r and/or
13802 \n, not just one of each.
13803
13804 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
13805 /bin/cc gives a warning if you do.
13806
13807Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
13808
d63a86f8 13809 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
13810 __t10ListS_link1ZUiRCUiPT0
13811
13812Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13813
13814 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
13815 on local variables in recursive functions.
13816
13817 * gdb.t07/Makefile.in: Build the new test.
13818
13819Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13820
13821 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
13822 directly. Instead compare the return values from actual calls.
13823
13824Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
13825
13826 * Makefile.in (check): Set TCL_LIBRARY for runtest.
13827
13828Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13829
13830 * From Peter Schauer with minor modifications.
13831 * gdb.t15/return.exp (return_tests): Handle targets where "return"
13832 stops in mid-line in the caller. Add xfail for returning a float
13833 value on X86 targets.
13834
13835Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13836
13837 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
13838 to avoid expect lossage.
13839 (fmem_LRbug_tests): Likewise.
13840 * gdb.disasm/hppa.s: Corresponding changes.
13841
13842 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
13843 conditions to work with latest dejagnu/expect.
13844
13845 * gdb.t15/funcargs.exp (finish from indirect call): No longer
13846 expected to fail on the PA.
13847 (backtrace in call with trampolines): Explicitly require main
13848 to be frame #1 (no trampolines should show up in backtrace).
13849
13850 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
13851 "continue -expect".
13852 * gdb.t06/break.exp: Likewise.
13853 * gdb.t07/watchpoint.exp: Likewise.
13854 * gdb.t13/bitfields.exp: Likewise.
13855 * gdb.t15/{funcargs,return}.exp: Likewise.
13856 * gdb.stabs/weird.exp: Likewise.
13857 * config/{mips,udi}-gdb.exp: Likewise.
13858
13859 * hppa.sed: Enclose comments within a sed command to avoid
13860 losing with the old OSF1 sed.
13861
13862Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13863
13864 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
13865 sequent dynix.
13866 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
13867 * gdb.t15/funcargs.exp: Conditionally step again to really
13868 finish from marker_call_with_trampolines. Handle the case where
13869 the first step from within call_with_trampolines already steps
13870 us back to main.
13871 * gdb.t15/gdbme.c: Add comment to closing brace of
13872 call_with_trampolines for funcargs.exp.
13873
13874Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13875
d63a86f8 13876 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
13877 Fix typo(s).
13878
13879Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13880
13881 * gdb.t07/gdbme.c: More code for watchpoint testing.
13882
13883 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
13884 "Hardware watchpoint" throughout file.
13885 (test_watchpoint_triggered_in_syscall): New test.
13886 (test_complex_watchpoint): New test.
13887
13888Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13889
13890 * gdbme.c (call_with_trampolines): New function to try and step
13891 into. Tests trampoline problems on the PA.
13892
13893 * funcargs.exp (localvars_in_indirect_call): No longer expect
13894 stepping into indirect call to fail on PAs.
13895 (test_stepping_over_trampolines): New test.
13896
13897Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13898
13899 * TODO: Add suggestions for static member function tests, and
13900 completion tests.
13901
13902Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13903
13904 * TODO: Add suggestions for "p/a" tests.
13905
13906 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
13907 (default_gdb_exit): Replace all the hair with sending "quit" to
13908 the process with a simple close.
13909
13910Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13911
13912 * TODO: Add suggestions for shared library tests.
13913
13914Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13915
13916 * TODO: Add suggestions for x/s tests.
13917
13918Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13919
13920 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
13921 "enable once", and "enable breakpoints once" with ".*".
13922
13923Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13924
13925 * TODO: Add suggestions about structure passing tests.
13926
13927Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13928
13929 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
13930 the primary1 test, use work around if __GNUC__ < 2.
13931 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
13932 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
13933 Test for bad output rather than waiting for timeout. Issue
13934 second continue only if first continue failed.
13935
13936Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13937
13938 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
13939 operator[] test with gdb_test because the old code didn't seem to
13940 be getting the quoting right with the new dejagnu.
13941
13942Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
13943
13944 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
13945 one from the path.
13946 * Makefile.in: Use a fresh expect if there is one, use runtest
13947 from the src tree if there is one.
d63a86f8 13948
c906108c
SS
13949Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13950
13951 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
13952 next over recursive call. Revise the tests from that point on
13953 (which had been skipped) to match GDB's actual (correct) output.
13954
13955 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
13956 with next over a breakpoint whose condition is false.
13957
13958 * gdb.t00/help.exp: Comment out "help set print" tests just like
13959 (and for same reason as) "help set" test.
13960
13961Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13962
13963 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
13964 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
13965
13966Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13967
13968 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
13969 necessary gdb_target_udi.
13970
13971 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
13972
13973 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
13974 1838 and 2417; they are fixed.
13975
13976 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
13977 gdb.t03/ptype.exp (ptype structure, ptype union):
13978 Remove xfails; the test is looser than when the xfails were added.
13979
13980 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
13981 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
13982
13983 * gdb.t01/run.exp: Only run shell test if isnative.
13984
13985 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
13986 since "run" automatically loads if necessary. Call gdb_target_udi
13987 after the "file" since "file" kills any execution target.
13988
13989 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
13990 GDB. GDB doesn't work that way (not anymore at least) on UDI.
13991 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
13992 argument for UDI.
13993
13994Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13995
13996 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
13997
13998 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
13999
14000Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14001
14002 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
14003 properly quoting regexps. This makes the second argument to
14004 demangle a fixed string, which matches the callers, instead of a
14005 shell-style pattern which is what the previous implementation
14006 used. Update some of the callers.
14007
14008Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14009
14010 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
14011 (comib_nullified_tests): Fix typo.
14012 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
14013 strings. No longer expected to fail.
14014
14015 * gdb.disasm/hppa.s (addib_tests): Fix typo.
14016 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
14017 strings. No longer expected to fail.
14018
14019 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
14020 string. No longer expected to fail.
14021
14022Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14023
14024 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
14025 No longer expected to fail.
14026
14027 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
14028 string. No longer expected to fail.
14029
14030Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14031
14032 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
14033 only in the names (I probably got most of them). I was even
14034 generous with some which differed in underscores in names, and
14035 probably missed a few, and I *still* was able to remove almost a
14036 third of the file with almost no impact on testsuite coverage.
14037
14038Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14039
14040 * gdb.t00/default.exp: Match udi_attach error message as well as
14041 the one from child_attach.
14042
14043 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
14044
14045 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
14046
14047 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
14048 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
14049
14050 * Move test with enums and partial symbols back to
14051 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
14052 Reverts the change of 26 May 93. Per today's change to
14053 stabs.texinfo, the behavior that weird.exp was expecting was
14054 unreasonable; what is important is that the compiler+gdb get
14055 things right, which happens with a recent gcc. Also fix the test
14056 to deal with native compilers which put out the stab gdb can't
14057 deal with.
14058
14059Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14060
14061 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
14062 in the names. The main thing these accomplish is to slow things down.
14063 Many more such duplicates surely remain.
14064
14065 * gdb.t00/help.exp: Comment out "help support" test just like
14066 (and for same reason as) "help set" test.
14067
14068Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
14069
14070 * gdb.t06/break.exp: Remove setup_xfails for
14071 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
14072 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
14073 about known bug in gcc to include up through 2.5.8.
14074 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
14075 well as "_vb$".
14076 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
14077 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
14078 with latest gcc and gdb.
14079 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
14080 well as "_vb$".
14081
14082Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14083
14084 * configure.in (hppa*-*-*): Also configure and build stabs-only
14085 tests.
14086
14087Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14088
14089 * gdb.t10/hppa.mt: A makefile fragment for the PA.
14090 * gdb.t10/configure.in (hppa*-*-*): Use it.
14091
14092Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14093
14094 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
14095
14096Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14097
14098 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
14099 versions prior to 1.13.5.
14100
14101Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14102
14103 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
14104 the prompt is at the start of a line.
14105
14106Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14107
14108 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
14109 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
14110 in the copr tests now.
14111 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
14112 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
14113 expected to fail.
14114
14115Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
14116
14117 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
14118 gdb.t31/chillvars.exp, lib/gdb.exp:
14119 Tweak to run under either version of expect.
14120 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
14121 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
14122 * gdb.t11/list.exp: Remove extraneous whitespace.
14123
14124Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14125
14126 * gdb.t16/printcmds.exp (test_print_strings): Accept
14127 "(unsigned char *) " before the string.
14128
14129 * TODO: Add notes about printing of fancy types and GDB expressions.
14130
14131Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
14132
14133 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
14134 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 14135 if doing mips-idt-ecoff.
c906108c
SS
14136
14137Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
14138
14139 * Most .exp files: Tweak to run under either version of expect.
14140
14141Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14142
14143 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
14144 xfails; I'm not sure why they are failing, but not because of PR 1806.
14145
14146Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
14147
14148 * config/unix-gdb.exp: Remove gdb_unload cause it's already
14149 defined in lib/gdb.exp.
14150
14151Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14152
14153 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
14154 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
14155 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
14156 have to be typeless.
14157
14158Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14159
14160 * TODO: Add suggestion for copyright year test.
14161
14162Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
14163
14164 * configure.in (*-*-lynxos*): Add stabs tests.
14165
14166Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
14167
14168 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
14169 so insert a tab before any assembler directive in column zero.
14170
14171 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
14172 stores.
14173 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
14174 stores.
14175 (fpu_short_memory_tests): Likewise.
14176
14177Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14178
14179 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
14180 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
14181 .stabs directives in comments.
14182
14183Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14184
14185 * TODO: New file, describing tests we could write.
14186 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
14187
14188Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14189
14190 * gdb.t06/signals.exp: Add kludge to force re-sync.
14191
14192 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
14193 to xgdb instead of gdb, get out of gdb.
14194
14195Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
14196
14197 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
14198 for info.
14199
14200Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
14201
14202 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
14203 * gdb.stabs/configure.in (hppa*-*-*): Use it.
14204 * gdb.stabs/hppa.sed: New sed script for the PA.
14205
14206Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14207
14208 * gdb.stabs: Re-write weird.def and configuration to use sed
14209 instead of cpp. sed is portable and POSIX; cpp is neither.
14210
14211Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14212
14213 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
14214
14215Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14216
14217 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
14218
14219Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14220
14221 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
14222 "_vb$".
14223 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
14224 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
14225
14226Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14227
14228 * lib/gdb.exp: Comment out code which depends on non-existent
14229 `transform' procedure.
14230
14231Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
14232
14233 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
14234 * lib/gdb.exp: Transform tool name.
14235 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
14236 1.1's new error handling system.
14237
14238Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14239
14240 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
14241
14242Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14243
14244 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
14245 They made pattern matching so slow that timeouts happened on
14246 heavily loaded systems. Now any output from "show print" which
14247 gets us back to the GDB prompt is a PASS.
14248
14249Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
14250
14251 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
14252
14253Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14254
14255 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
14256
14257 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
14258 It is not from PR 3220.
14259
14260Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14261
14262 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
14263 just started failing because they depended on the order the
14264 subcommands are presented, or exact docstring text. This kind of
14265 test is a pain and has minimal benefit.
14266
14267Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14268
14269 * gdb.t09/corefile.exp: At end of test, use "core" command with
14270 no arguments.
14271
14272Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
14273
14274 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
14275 17}/Makefile.in: Make it possible to run the testsuite with Sun
14276 make and CC = cross gcc by adding explicit build rules for .o
14277 files.
14278
14279Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14280
14281 * gdb.t15/funcargs.exp: Don't put comments on same line as
14282 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 14283
c906108c
SS
14284Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14285
14286 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
14287
14288Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
14289
14290 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
14291 * gdb.t20/inherit.exp: remove three dumplicate entries.
14292
14293Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14294
14295 * gdb.t06/break.exp: For "next over recursive call", fail on any
14296 incorrect output, not just on "factorial (value=2)".
14297
14298Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14299
14300 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
14301 working now. Add an xfail if accesing a bss variable causes
14302 a memory error if the target is not yet run.
14303
14304Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14305
14306 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
14307 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
14308 name of __st* demangling (2 strings). Did Kung really get the
14309 more than 95 others right without testing them?
14310
14311Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
14312
14313 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
14314
14315Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
14316
14317 * configure.in (configdirs): Add gdb.disasm
14318 * gdb.disasm: New directory for GDB disassembler tests.
14319 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
14320
14321Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14322
14323 * gdb.t00/help.exp: Don't test "help set".
14324
14325 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
14326 from within expect statements. None of these happen anymore and
14327 they cause regressions to be silently unnoticed.
14328
14329 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
14330 messages) about known failures with gcc cygnus-2.4.5-930417.
14331
14332 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
14333 comp-info.exp so it gets built if it doesn't exist.
14334
14335 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
14336 it is no longer used.
14337 * gdb.t13/comp-info.c: Removed.
14338
14339Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
14340
14341 * gdb.t06/signals.exp: Add xfail for sun3.
14342
14343Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14344
14345 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
14346 relevant because ^C doesn't get sent but failure can be reproduced
14347 interactively).
14348
14349Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14350
14351 * gdb.stabs/alpha.mt: New configuration file for alpha.
14352 * gdb.stabs/configure.in: Use it.
14353 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
14354 sharing with alpha.mt, redefine long to word via preprocessor.
14355 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
14356 for alpha.
14357 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
14358 native cc.
14359 * gdb.t00/teststrategy.exp: Change expect string so that we
14360 consume the `(xgdb)' from the command echo and from the gdb prompt.
14361 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
14362 gdb currently compares all values as long, so this failure probably
14363 applies to any configuration where LONGEST is bigger than a target int.
14364 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
14365 with gcc.
14366 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
14367 to handle opaque pointers, gcc is.
14368 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
14369 as first argument. Include <sys/types.h> and change all operator
14370 new definitions to use size_t.
14371 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
14372 now that we use size_t.
14373
14374Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14375
14376 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
14377 a long or float array cast all array members to the same type.
14378 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
14379 with 64 bit longs.
14380 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
14381 on alpha.
14382 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
14383
14384Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14385
14386 * gdb.t24 (demangle.exp): Constructors of templates have names like
14387 vector<int>::vector(int) not vector<int>::vector<int>(int). See
14388 section 14.6 of the ARM.
14389
14390 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
14391 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
14392 accomplish little and slow down the testsuite.
14393
14394 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
14395 Accept spaces various places.
14396
14397Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14398
14399 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
14400 with watchpoint enabled.
14401
14402 * Makefile.in: Remove definition of CC and remove the second
14403 definition of CXX (the "CXX = gcc" one remains). These definitions
14404 were causing backquotes to be expanded within backquotes, which
14405 doesn't work.
14406
14407Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
14408
14409 * gdb.t17/callfuncs.exp: Add "return 0" to end.
14410
14411Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14412
14413 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
14414 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
14415 by mips cc and contains no stabs entries.
14416
14417Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
14418
14419 * config/vx-gdb.exp: Use fake device to load files rather than
14420 NFS.
14421 * lib/gdb.exp: New proc to do "file" command.
14422 * config/unix-gdb.exp: Use new "file" proc.
14423
14424Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14425
14426 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
14427 Rework board rebooting slightly.
14428 (gdb_exit): Don't exit from the remote shell; there isn't one.
14429 * gdb.stabs/weird.exp: If a program is being debugged already,
14430 kill it.
14431 * gdb.t04/setvar.exp: Stop and restart gdb.
14432 * gdb.t05/expr.exp: Likewise.
14433 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
14434 restart gdb and reload the program.
14435 * gdb.t08/opaque.exp: Likewise.
14436 * gdb.t12/scope.exp: Likewise.
14437 * gdb.t13/bitfields.exp: Likewise.
14438 * gdb.t15/funcargs.exp: Likewise.
14439 * gdb.t20/classes.exp: Likewise.
14440 * gdb.t03/ptype.exp: Increase timeout.
14441 * gdb.t16/printcmds.exp (test_print_string_constants,
14442 test_print_array_constants): Likewise.
14443 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
14444 * gdb.t20/classes.exp (do_tests): Likewise.
14445 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
14446
14447Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
14448
14449 * gdb.stabs: Renamed *wierd* to *weird*.
14450
14451Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
14452
14453 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
14454 for timeout. Add "known gcc 2.4.5 bug" to failure message.
14455
14456Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
14457
14458 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
14459 (do_tests): Remove xfail for whatis on one_var and two_var.
14460
14461Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
14462
14463 * Makefile.in: Made cross building work better by adding
14464 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
14465
14466Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14467
14468 * gdb.t15/{return.c,return.exp,Makefile.in}:
14469 New test, currently commented out.
14470
14471Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
14472
14473 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
14474 still running and removes the leftover named socket so GDb can do
14475 clean restarts.
14476
14477Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
14478
14479 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
14480 console, not GDB.
14481 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
14482 cross testing works better with "make check"
14483 * config/unix-gdb: Use default procedures for exit and version.
14484 * config/vx-gdb.exp: Cleaned up and massaged back to working order
14485 with the newest VxWorks.
14486
14487Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14488
14489 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
14490 old form.
14491
14492 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
14493 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
14494
14495 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
14496
14497 * config/unix-gdb.exp: Remove this version of gdb_exit
14498 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
14499 Rob says he'll look at it when he gets back to testing boards.
14500
14501Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
14502
14503 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
14504 an expected fail for certain ptype commands.
14505
14506 * gdb.t20/classes.exp: Update expected results of "ptype class
14507 Base1" to account for the constructor that now appears in the type.
14508
14509Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
14510
14511 * configure.in (configdirs): Restore gdb.t04, which mysteriously
14512 disappeared from list.
14513 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
14514 "alldone" proc with call to cleanup and exit.
14515 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
14516 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
14517 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
14518 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
14519 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
14520 "alldone" proc with simple returns that suppress remaining
14521 tests. The alldone proc went away many months ago.
14522
14523Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14524
14525 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
14526
14527 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
14528
14529Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14530
14531 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
14532 as vax gdb will display them.
14533
14534Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14535
14536 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
14537 optimizers.
14538
14539 * scope.exp: Change "bad value for localval" messages so each one
14540 is unique.
14541
14542 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
14543 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
14544
14545 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
14546
14547Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14548
14549 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
14550 doesn't exist (due to optimization).
14551
14552Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14553
14554 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
14555 contains \r because the filename is long.
14556
14557 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
14558 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
14559
14560Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14561
14562 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
14563 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
14564 Ultrix.
14565 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
14566 int tests.
14567 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
14568
14569Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
14570
14571 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
14572
14573 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 14574 to match does not match the passing case but still matches the
c906108c
SS
14575 failing case.
14576
14577Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14578
14579 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
14580
14581Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
14582
14583 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
14584 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
14585 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
14586 Remove various versions of gdb_exit.
14587 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
14588 gdb_exit.
14589 * config/unix-gdb.exp: gdb_exit remains here, and should override
14590 the generic version, since it's doing a lot of wierd stuff that
14591 the other versions aren't. FIXME, fold it in, or abandon this
14592 version.
14593
14594Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14595
14596 * gdb.t24/demangle.exp: Add tests for PR 3220.
14597
14598Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14599
14600 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
14601
14602Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
14603
14604 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
14605 "i386-*-*". Works for i486 as well.
14606
14607 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
14608 bug, and expand domain of xfail to all SVR4 systems, since the
14609 actual problem is likely to be in generic SVR4 /proc support.
14610
14611Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14612
14613 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
14614
14615Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
14616
14617 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
14618 xfails for other systems. Match a missing 'Continuing.' as an
14619 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
14620
14621 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
14622 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
14623 Only issue warning for missing executables if -all option is used.
14624
14625 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
14626 file if -all option is used. It's like an unpredictable XFAIL.
14627
14628Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14629
14630 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
14631 for dynamically linked binaries.
14632
14633 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
14634
14635Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14636
14637 * gdb.t20/inherit.exp: Change message for "print tagless struct"
14638 to state that this is a known bug in old versions of g++.
14639
14640Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14641
14642 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
14643 while waiting for `Continuing'.
14644
14645Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
14646
14647 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
14648 in text, data, and bss.
14649 * gdb.t10/nodebug.c: Add local and global test variables for
14650 initialized and uninitialized data.
14651
14652Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14653
14654 * config/unix-gdb.exp (gdb_exit): Add "wait".
14655
14656Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14657
14658 * gdb.t06/signals.exp: xfail the continue from the handler for all
14659 targets.
14660
14661 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
14662 function with watchpoints enabled, the i386 call dummy starts with
14663 a call.
14664
14665 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
14666 386 bsd names its corefiles.
14667
14668Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
14669
14670 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
14671 compilers don't grok it.
14672 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
14673 with small octal ints rather than character constants, which
14674 are signed and might not fit if first promoted to int.
14675
14676Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
14677
14678 * gdb.t09/Makefile.in (clean): Remove corefile.
14679
14680Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14681
14682 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
14683
14684Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14685 and Jim Kingdon (kingdon@cygnus.com)
14686
14687 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
14688 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
14689 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
14690
14691Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14692
14693 * gdb.t17/interrupt.exp: Add xfail for hppa.
14694
14695Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14696
14697 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
14698 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
14699 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
14700 to determine signed-ness of bitfields and use the result to setup
14701 the xfail.
14702 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
14703 * gdb.t15/funcargs.exp: Use them to step until the second indirect
14704 call line is reached if necessary.
14705
14706Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14707
14708 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
14709
14710Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14711
14712 * gdb.t06/break.exp: Also test `clear' command.
14713
14714Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
14715
14716 * gdb.t00/teststrategy.exp: Remove extra quote.
14717
14718 * gdb.t07/watchpoint.exp: Change xfail for calling function with
14719 watchpoint enabled to be for all non-68k machines.
14720
14721 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
14722
14723Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14724
14725 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
14726 targets use aout.mt instead of ecoff.mt as gas understands
14727 standard aout format.
14728
14729Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
14730
14731 * lib/gdb.exp (runto): Don't insist that function we are running to
14732 was compiled with -g.
14733
14734 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
14735
14736 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
14737 to get back into the read system call.
14738 Accept leading newline in case where we woke it up.
14739
14740Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14741
14742 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
14743 to make the stabs test work on ecoff systems using gcc and -with-stabs.
14744 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
14745 enable ecoff configuration.
14746
14747Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14748
14749 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
14750
14751Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14752
14753 * gdb.t16/printcmds.exp: Add another printf test.
14754
14755Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
14756
14757 * configure.in: If configured -with-stabs on any target, add
14758 stabsdirs to configdirs.
14759
14760Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14761
14762 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
14763 fun" so pattern does not match the command itself.
14764
14765Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14766
14767 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
14768
14769Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14770
14771 * gdb.t17/interrupt.exp: Test for more things.
14772
14773Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14774
14775 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
14776 compiler arranges the code and line numbers.
14777
14778 * gdb.t17/interrupt.exp: Don't send \n after ^C.
14779
14780Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14781
14782 * gdb.t00/help.exp: Increase expect input buffer size.
14783
14784Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14785
14786 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
14787
14788 * gdb.t07/watchpoint.exp: Add xfail for hppa.
14789
14790 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
14791
14792 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
14793 [0-9]*, not just [0-9].
14794
14795Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14796
14797 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
14798
14799 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
14800
14801Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14802
14803 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
14804
14805Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14806
14807 * gdb.t06/signals.c: Add xfails for sun3.
14808
14809 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
14810
14811 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
14812 test_stepping tests.
14813
14814Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14815
14816 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
14817
14818 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
14819
14820 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
14821 rather than actually putting it through cpp twice.
14822
14823 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
14824
14825Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
14826
14827 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
14828 no longer needed.
14829
14830Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14831
14832 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
14833
14834 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
14835 C++ features prints as "struct", make it a pass, not an xfail.
14836
14837Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14838
14839 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
14840 Don't require VA to print as "class" rather than "struct".
14841
14842Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
14843
14844 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
14845
14846Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14847
14848 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
14849
14850Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14851
14852 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
14853 order.
14854
14855Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14856
14857 * gdb.t16/printcmds.exp: Add printf tests.
14858
14859 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
14860
14861 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
14862
14863Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
14864
14865 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
14866 pass counts, to counteract any existing or future setup_xfails.
14867
14868Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14869
14870 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
14871 {BEGIN,END}_COMMON for common block instead of STAB.
14872 * gdb.stabs/wierd.exp: Add xfail for rs6000.
14873
14874 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
14875 intp_var should be N_GSYM not N_LSYM.
14876 wierd-aout.S: Use a label for the value of the N_SO.
14877 wierd.def: Remove all backslashes.
14878 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
14879
14880Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14881
14882 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
14883 get the expected next to inheritance3.
14884
14885Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14886
14887 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
14888 now that gcc-2.4 gets it right.
14889
14890Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14891
14892 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
14893
14894 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
14895 generating comp-info.exp which works for cross-compilation.
14896
14897Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
14898
14899 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
14900 "*-*-sysv4.*".
14901
14902Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
14903
14904 * gdb.t01/run.exp: Start with a fresh gdb.
14905 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
14906 SVR4.x.
14907
14908Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
14909
14910 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
14911 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
14912 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
14913 Makefile.in (distclean, realclean): Remove gdbme.c from list of
14914 things to remove.
14915
14916Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
14917
14918 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
14919 test cases from bug reports.
14920
14921Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
14922
14923 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
14924 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
14925 avoid spurious xfails.
14926 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
14927 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
14928 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
14929
14930Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
14931
14932 * gdb.t00/teststrategy.exp: Rework to provide more useful
14933 description of each test, fix problem with systems that define
14934 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
14935 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
14936 results for "next over recursive call" so timeouts aren't taken
14937 by error.
14938
14939Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
14940
14941 * gdb.t12/scope.exp: Test printing of variables before run.
14942
14943 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
14944 printed in wrong order due to sorting.
14945
14946Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
14947
14948 * gdb.t00/teststrategy.exp: Fix expected results for printing
14949 user entered string constant. Is array of char, prints with no
14950 address.
14951
14952 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
14953 commands.
14954 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
14955 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
14956 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
14957 of struct of char arrays.
14958 * gdb.t00/radix.exp: New tests for radix commands.
14959
14960Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
14961
14962 * gdb.t16/printcmd.exp: Print a variable before running program
14963 (with xfail for AIX).
14964
14965Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
14966
14967 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
14968
14969 * gdb.t16/printcmd.exp: Don't print variables before running program.
14970
14971 * gdb.t06/break.exp: Don't require envp argument to main.
14972
14973 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
14974
14975 * gdb.t02/whatis.exp, gdb.t11/list.exp:
14976 Add xfails for rs6000.
14977
14978 * gdb.t02/whatis.exp: Change other tests not to re-test something
14979 we already tested.
14980
14981 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
14982 each type used has a variable of that type.
14983
14984Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
14985
14986 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
14987
14988Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14989
14990 * configure.in: change srctrigger to be a file, not a directory
14991
14992Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
14993
14994 * configure.in (mips-idt-ecoff*): Added trailing '*'.
14995
14996 * gdb.t11/list.exp: Fixed a couple of typos.
14997
14998Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
14999
15000 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
15001 is fixed and PR is closed.
15002 * gdb.t16 (gdbme.c): Add simple test string variable.
15003 * gdb.t16 (printcmds.exp): Add tests with simple test string
15004 variable, primarily for boundaries on "set print elements".
15005
15006Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
15007
15008 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
15009 Make leading 0's optional and don't expect a tab in the middle
15010 of the number.
15011
15012 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
15013
15014 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
15015 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
15016 don't end command passed to gdb_test with newline.
15017
15018 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
15019 signed keyword away, don't expect signed bitfields to be signed.
15020
15021 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
15022 printing with only as many 1's as are in the field as well as printing
15023 with 32 1's (see comment).
15024
15025Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
15026
15027 * gdb.t00/default.exp: Start with a fresh gdb.
15028 * configure.in (configdirs): Remove gdb.t31 until the chill
15029 compiler works again. It no longer is able to find chillrt0
15030 since it isn't in libchill.a anymore.
15031 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
15032 wierd.o, make more modular.
15033 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
15034 spurious newlines that caused problems.
15035
15036Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15037
15038 * Move test with enums and partial symbols from gdb.t03/ptype.exp
15039 to gdb.stabs/wierd.exp since GCC has worked around the bug.
15040 gdb.stabs/wierd.{exp,def}: Many new tests.
15041
15042 * gdb.t00/default.exp: update info line for new message.
15043
15044 * gdb.t02/{whatis.exp,gdbme.c}:
15045 Test that "char *" doesn't print as "caddr_t".
15046
15047Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15048
15049 * gdb.t00/help.exp: Use .* in place of some help messages which
15050 just changed.
15051 gdb.t00/default.exp: Update "info frame" test for new message.
15052 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
15053 Remove some xfails
15054
15055Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15056
15057 * gdb.t03/{gdbme.c,ptype.exp}:
15058 Add tests for typedef'd struct and union without tags.
15059 Also check "whatis" on a variable of a typedef'd enum without a tag.
15060
15061 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
15062 PRMS 1823; the bug still exists but isn't reproduced by this test
15063 anymore), and remove rs6000 XFAIL (the bug is fixed).
15064
15065 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
15066 duplicated from whatis.exp. For those that are left, accept
15067 "long", "long int", or "int" for long variables (whatis.exp already
15068 has an XFAIL for "int", so no need to fail it here).
15069
15070 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
15071 Deal with GCC's names for types now that GDB uses the compiler's names.
15072
15073 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
15074 setup_xfail's for sunos4. If we #defined the signed keyword away,
15075 don't expect GDB to know that char it is signed.
15076
15077 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
15078
15079Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
15080
15081 * configure.in (configdirs): Add gdb.t24 for C++ tests that
15082 should work on any system, regardless of debugging format.
15083 * gdb.t21/demangle.exp: Move to gdb.t24.
15084 * gdb.t24/demangle.exp: Move from gdb.t21.
15085 * gdb.t24/{Makefile.in, configure.in}: New files.
15086
15087Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15088
15089 * configure.in: Do gdb.stabs and C++ tests only for stabs.
15090 * gdb.stabs: New directory.
15091
15092Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15093
15094 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
15095 not just "Quit anyway?".
15096
15097Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
15098
15099 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
15100 that all setup_xfails are immediately followed by clear_xfails.
15101
15102Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
15103
15104 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
15105 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
15106 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
15107 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
15108 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
15109 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
15110 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
15111 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
15112 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
15113 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
15114 gdb.t31/chillvars.exp, lib/gdb.exp:
15115 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
15116 bug-gdb@prep.ai.mit.edu.
15117
15118Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
15119
15120 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
15121 with 0.0, not integer 0.
15122
15123Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
15124
15125 * gdb.t06/break.exp: Update for "Kill the program" message change.
15126
15127Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
15128
15129 * Makefile.in (GDBFLAGS): Set to -nx.
15130 * Makefile.in (site.exp): Use GDBFLAGS.
15131
15132Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
15133
15134 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
15135 Makefiles.
15136 (check): depend on just-check.
15137 (just-check): added so that tests can be run without a noop
15138 build pass.
15139
15140Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
15141
15142 Switch to using configure's configdirs.
15143 * Makefile.in (Makefile): add configure.in dependency.
15144 (SUBDIRS): removed redundant assignment.
15145 * configure.in: switch subdirs assignment to configdirs.
15146 * gdb.t*/configure.in: new files.
15147
15148Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
15149
15150 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
15151 works.
15152
15153Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
15154
15155 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
15156 in explicit rules. Apparently this is not supported by some makes.
15157
15158Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
15159
15160 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
15161
15162Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15163
15164 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
15165 disappeared.
15166
15167Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
15168
15169 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
15170
15171Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
15172
15173 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
15174 watchpoint problem that is now fixed.
15175 * gdb.t30/chexp.exp: Remove setup_xfail for printing
15176 uninitialized convenience variables.
15177 * gdb.t31/chillvars.exp: Fix expected patterns for printing
15178 structures.
15179
15180Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15181
15182 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
15183 which causes expect to get out of sync with gdb on long output
15184 from help set.
15185 * gdb.t09/corefile.exp: Make expected pattern for core file
15186 failing signal and frame output format less sun specific.
15187
15188Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
15189
15190 * gdb.t31/chillvars.exp: Add and remove initial dummy
15191 breakpoint, so that symbol table is forced in.
15192 (Needed at least on Sunos4, though it seems not SVR4.)
15193 * gdb.t31/chillvars.exp: Update for changed output format.
15194
15195Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
15196
15197 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
15198
15199Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
15200
15201 * Makefile.in: Added --srcdir when invoking runtest, removed the
15202 need for a local config file. (optional now)
15203
15204Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
15205
15206 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
15207 failure count used to force early termination. Add some more
15208 expected failures for gnu style demangling.
15209
15210Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15211
15212 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
15213 pmi variable from gdb.t20/gdbme to get optimized away.
15214 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
15215 Check for written corefile upon timeout _and_ eof.
15216
15217Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15218
15219 * config/unix-gdb.exp: Add missing return 0.
15220
15221Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15222
15223 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
15224 test termination.
15225
15226Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
15227
15228 * configure.in (subdirs): Put back gdb.t17 which mysteriously
15229 disappeared.
15230
15231Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
15232
15233 * gdb.t10/crossload.exp: Disable the i860-elf test until such
15234 time as i860 support works.
15235
d63a86f8 15236 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
15237 "backtrace 100\r" rather than just "backtrace\r", to match last
15238 change.
15239
15240Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
15241
15242 * config/udi-gdb.exp (gdb_exit): Remove close command.
15243 (gdb_target_udi): New procedure to set the UDI target.
15244 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
15245 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
15246 Added waits for prompts after several question responses. Added
15247 some more responses used by a29k-amd-udi-gdb.
15248 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
15249 pass different arguments, restart UDI connection after program
15250 completion.
15251 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
15252 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
15253 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
15254 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
15255 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
15256 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
15257 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
15258 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
15259 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
15260 after program completion.
15261 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
15262 compiled with a SELECT_VECS setting.
15263 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
15264 infinite recursion.
15265
15266 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
15267 Added checks for COFF results, and made them expected failures for
15268 all targets. It would be better to make them expected failures
15269 for COFF targets only.
15270
15271Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
15272
15273 * Makefile.in: add null dvi target, don't bother to recurse
15274 through test directories for info and install-info; rename
15275 $(datadir) to be dejagnu instead of deja-gnu
15276
15277Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
15278
15279 * gdb.t31/gdbme.ch: Re-enable code that previously caused
15280 compiler to coredump.
15281 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
15282 code.
15283
15284Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
15285
15286 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
15287 coredump.
15288 * gdb.t31/chillvars.exp: Comment out tests that depend on that
15289 code.
15290
15291Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
15292
15293 * gdb.t03/ptype.exp: tests for return code from gdb_test.
15294 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
15295 which in a shell. Deletes xgdb when done.
15296 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
15297 Tests the return from the "set height" or "set width" commands.
15298 Added a few return codes where needed.
15299
15300Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
15301
15302 * Makefile.in (SUBDIRS): Add gdb.t17.
15303 * configure.in (subdirs): Add gdb.t17.
15304 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
15305 files to test gdb's calling of functions in the inferior with
15306 the correct arguments and gdb's ability to retrieve any
15307 result returned.
15308
15309Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
15310
15311 * config/unix-gdb.exp (gdb_exit): Remove close commands that
15312 may be called after gdb goes away. Previous versions of expect
15313 needed these to avoid file descriptor leaks, but they cause
15314 errors with the current revision of expect.
15315 * gdb.t00/gdbvars.exp: Use -re on expected output after
15316 setting sevenbit-strings.
15317 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
15318 to set sevenbit-strings consistent across tests.
15319 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
15320 set sevenbit-strings consistent across tests.
15321
15322Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
15323
15324 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
15325 expected output to match current "expect" expectations.
15326
15327Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
15328
15329 * gdb.t00/default.exp: Change expected output for default "source"
15330 command, to match new gdb behavior which requires a filename to
15331 source.
15332
15333Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
15334
15335 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
15336 expected fail for i486-*-* that misses the marker2 function.
15337 * gdb.t10/crossload.exp (bfddefault): Allow successful
15338 recognition of a format to pass even if no symbols are found.
15339 Explicitly catch failures where the format is not recognized
15340 or is ambiguous, and add the reason to the fail message.
15341 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
15342 the cause is and invalid target and add reason to failure message.
15343 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
15344 elf32-i386, elf32-sparc, and elf32-i860.
15345 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
15346 Set up expected failure for 'filename'::variable scope resolution,
15347 which is now apparently broken on all targets.
15348 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
15349 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
15350 gdb.t23/templates.exp: Change failure for missing binfile into
15351 just a warning.
15352 gdb.t21/demangle.exp: Change all cfront references to 'arm'
15353 references.
15354
15355Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
15356
15357 * gdb.t00/default.exp: Add expected output for default "source"
15358 command, to match new gdb behavior.
15359 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
15360
15361Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
15362
15363 * config/*-gdb.exp: returns an error, rather than exiting on
15364 internal errors.
15365
15366Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
15367
15368 * gdb.t03/gdbme.c: Add pointer to struct variable.
15369 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
15370 referencing struct members.
15371
15372Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
15373
15374 * configure.in (mips-idt-ecoff): New target.
15375 * config/mips-gdb.exp: New file for remote board using MIPS remote
15376 debugging protocol.
15377
15378 * Redid configuration scheme. Removed gdb.t*/configure.in.
15379 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
15380 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
15381 distclean targets. Built executables via .o files. Adjusted
15382 tests to account for source files in $(srcdir) rather than
15383 $(objdir).
15384 * lib/gdb.exp (runto): Don't expect () after the function name,
15385 because it may have arguments.
15386
15387Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
15388
15389 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
15390 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
15391 expected failures for mips-idt-* and mips-sgi-*.
15392 * gdb.t00/default.exp (attach): Kill process if requested.
15393 * gdb.t00/help.exp (help target core, help target): Accept a gdb
15394 that does not read core files.
15395 * gdb.t01/run.exp: Removed checks for exit status code.
15396 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
15397 it is linked in.
15398 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
15399 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
15400 appropriate, rather than doing it by hand.
15401 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
15402 execution.
15403 * gdb.t10/crossload.exp: Kill existing program if needed.
15404 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
15405 appropriate, rather than doing it by hand. Always increase
15406 timeout for this test, not just for VxWorks.
15407
15408Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
15409
15410 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
15411 of Chill STRUCT types and STRUCT values.
15412 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
15413 than "char".
15414 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 15415 struct2): New struct definitions and initializations to test
c906108c
SS
15416 simple Chill STRUCT types.
15417
15418Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
15419
15420 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
15421 the null byte at the end of strings.
15422 * gdb.t00/default.exp: Make show version insensitive to copyright
15423 date.
15424 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
15425 to avoid dependencies on target char signedness.
15426 * gdb.t16/printcmds.exp: Update expected results for explicitly
15427 unsigned char.
15428 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
15429 now work.
15430 * gdb.t21/demangle.exp: Add many more patterns for template
15431 demangling, most of them being expected failures.
15432 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
15433 string we are matching for, to match on the whole string.
15434 * gdb.t21/demangle.exp: Add many new test strings to demangle,
15435 and fix a whole bunch that had incorrect expected output but were
15436 passing anyway because of the bug in "proc demangle".
15437 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
15438 type.
15439 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
15440
15441Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
15442
15443 * gdb/testsuite: made modifications to testcases, etc., to allow
15444 them to work properly given the reorganization of deja-gnu and the
15445 relocation of the testcases from deja-gnu to a "tool" subdirectory.
15446
15447Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
15448
15449 * gdb/testsuite: Initial creation of gdb/testsuite.
15450 Migrated dejagnu testcases and support files for testing nm to
15451 gdb/testsuite from deja-gnu. These files were moved "as is"
15452 with no modifications. This migration is part of a major overhaul
15453 of dejagnu. The modifications to these testcases, etc., which
15454 will allow them to work with the new version of dejagnu will be
15455 made in a future update.
48efe704 15456
8d8cb839 15457 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 15458\f
8d8cb839
EZ
15459;; Local Variables:
15460;; mode: change-log
15461;; left-margin: 8
15462;; fill-column: 74
15463;; version-control: never
15464;; End:
902f2ccb
MC
15465
15466 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 15467 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
15468 Copying and distribution of this file, with or without modification,
15469 are permitted provided the copyright notice and this notice are preserved.
This page took 1.454158 seconds and 4 git commands to generate.