]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
daily update
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3d799a95
DJ
12007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
4
52007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9
JB
6
7 * gdb.base/nofield.c: New file.
8 * gdb.base/nofield.exp: New testcase.
9
eafb94e8
NR
102007-01-05 Nick Roberts <nickrob@snap.net.nz>
11
12 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
13
14 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
15 test.
16
5e572bb4
DJ
172007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18
19 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
20
74a44383
DJ
212007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
22
23 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
24 when continuing.
25
1b572db9
DJ
262007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
27
28 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
29 Expect ".exe" extension.
30
381bc39b
DJ
312007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
32
33 * gdb.base/charset.exp: Add explicit filename to break.
34 * gdb.base/dbx.exp: Add explicit filename to breaks.
35
2b70e4c6
DJ
362007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
37
38 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
39 * gdb.mi/mi2-file.exp: Likewise.
40
303b6f5d
DJ
412007-01-04 Vladimir Prus <vladimir@codesourcery.com>
42
43 Implement specification of MI tests as comments
44 in C and C++ sources.
45 * lib/mi-support.exp (mi_autotest_data): New variable.
46 (mi_autotest_source): New variable.
47 (count_newlines, mi_prepare_inline_tests)
48 (mi_get_inline_test, mi_continue_to_line)
49 (mi_run_inline_test, mi_tbreak)
50 (mi_send_resuming_command, mi_wait_for_stop): New functions.
51 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
52 Run inline tests.
53 * gdb.mi/mi-var-cp.cc: Define tests here.
54
f9e18282
JB
552006-01-04 Joel Brobecker <brobecker@adacore.com>
56
57 Make this testcase a bit more realistic. The current code
58 is too simplistic, and allows the compiler to optimize out
59 some of the entities we need for this testcase.
60 * gdb.ada/null_record/bar.ads (Void_Star): New type.
61 (Do_Nothing): Add extra parameter.
62 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
63 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
64 by using a variable of type Void_Star.
65
fd678c65
JB
662006-01-04 Joel Brobecker <brobecker@adacore.com>
67
68 * gdb.ada/catch_ex/foo.adb: New file.
69 * gdb.ada/catch_ex.exp: New testcase.
70
05cfdb42
DJ
712007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
72
73 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
74 pass --image-base to linker.
75
2e03ee74
DJ
762007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
77 Daniel Jacobowitz <dan@codesourcery.com>
78
79 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
80 secondary prompts.
81
0d5de010
DJ
822007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
83
84 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
85 output. Test the types of members and member pointers.
86 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
87 gdb/2092.
88 * gdb.cp/member-ptr.exp: Search for a comment instead of a
89 statement. Enable for GCC. Update expected output for some tests
90 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
91 layout.
92 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
93 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
94 (Diamond::vget_base): New.
95 (main): Add new tests.
96 * gdb.cp/printmethod.exp: Update expected output for member functions.
97 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
98 print pEe->D::vg().
99
61a771aa
DJ
1002007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
101
102 * gdb.threads/tls.exp: Allow stops in sem_post.
103
2fa63963
DJ
1042006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
105
106 * gdb.base/annota1.exp: Allow .*printf in backtraces.
107 * gdb.base/annota3.exp: Likewise.
108 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
109 again (instead of timing out).
110 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
111 GCC bug 26475.
112 * gdb.java/jmisc.exp: Adjust to work with method signatures including
113 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
114 test from jmisc1.exp.
115 * gdb.java/jmisc1.exp: Delete.
116 * gdb.java/jprint.exp: Adjust to work with method signatures including
117 return types.
118 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
119 * gdb.threads/linux-dp.exp: Don't be confused by program output.
120 * lib/java.exp (compile_java_from_source): Pass the correct type
121 to target_compile.
122
5eefc2b7
JB
1232006-12-31 Joel Brobecker <brobecker@adacore.com>
124
125 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
126 (stack_align_edx): New function.
127 (stack_align_eax): New function.
128 (main): Add calls to stack_align_edx and stack_align_eax.
129 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
130 Add testing for the cases where the register used during a stack
131 realignment is edx. Same for eax.
132
227c54da
DJ
1332006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
134
135 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
136 and generic PE targets.
137
cab8ac94
JB
1382006-12-29 Joel Brobecker <brobecker@adacore.com>
139
140 * gdb.ada/array_return.exp: Update copyright date list.
141
ba54f318
JB
1422006-12-27 Joel Brobecker <brobecker@adacore.com>
143
144 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
145 (Create_Small_Float_Vector): New function.
146 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
147 function body.
148 * gdb.ada/array_return/p.adb: Use new type and function from
149 package Pck.
150 * gdb.ada/array_return.exp: Add a test verifying that GDB is
151 able to print the value returned by a function returning an
152 array of float.
153
6b7a35dd
JB
1542006-12-20 Joel Brobecker <brobecker@adacore.com>
155
156 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
157 The associated tests should be PASSing.
158
038224f6
VP
1592006-12-08 Vladimir Prus <vladimir@codesourcery.com>
160
161 Test for base in references.
162 * gdb.mi/mi-var-cp.cc: Add test code.
163 * gdb.mi/mi-var-cp.exp: Test for bases in references.
164 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
165 * gdb.mi/mi2-watch.exp: Likewise.
166 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
167 (mi_list_varobj_children): New function.
168
b26ed50d
VP
1692006-12-08 Vladimir Prus <vladimir@codesourcery.com>
170
171 * lib/mi-support.exp
172 (mi_runto): Accept "()" after function name.
173 (mi_create_varobj): New function.
174 (mi_varobj_update): New function.
175 (mi_Check_varobj_value): New function.
176 * gdb.mi/mi-var-cp.exp: New file.
177 * gdb.mi/mi-var-cp.cc: New file.
178
08232497
DJ
1792006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
180
181 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
182 gdb.base/weaklib2.c: New files.
183
d394c993 1842006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 185
ac6c2fba
NS
186 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
187 info. Adjust test names.
188
8ec659a0 189 * gdb.base/break.c (main): Move position of malloc.
d394c993 190 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 191
acd65feb
VP
1922006-11-28 Vladimir Prus <vladimir@codesourcery.com>
193
194 * gdb.mi/mi-var-cmd.exp: Check -var-update after
195 assignement of arrays and function pointers.
196 * gdb.mi/var-cmd.c: Add declaration necessary for above
197 tests.
198
f556d5e5
NS
1992006-11-27 Nathan Sidwell <nathan@codesourcery.com>
200
201 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
202
203 * gdb.threads/linux-dp.exp: Read thread table before and after
204 creating each philosopher and verify it.
205
697bc68d
NS
2062006-11-27 Nathan Sidwell <nathan@codesourcery.com>
207 Paul Brook <paul@codesourcery.com>
208 Daniel Jacobowitz <dan@codesourcery.com>
209
210 * gdb.base/ending-run.exp: Flatten expect script stepping out of
211 main to remove duplication. Add start function of the form
212 '_*start[1-9]*'. Add RVDS start function.
213
29d73ae4
DJ
2142006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
215
216 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
217
c1d88655
UW
2182006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
219
220 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
221 * gdb.asm/spu.inc: New file.
222 * gdb.base/term.exp: Disable if [target_info exists noargs].
223 * gdb.gdb/complaints.exp: Disable if ![isnative].
224 * gdb.gdb/selftest.exp: Likewise.
225 * gdb.gdb/observer.exp: Likewise.
226 * gdb.gdb/xfullpath.exp: Likewise.
227 * gdb.base/attach.exp: Disable on SPU target.
228 * gdb.cp/bs145503.exp: Likewise.
229 * gdb.cp/exception.exp: Likewise.
230 * gdb.cp/userdef.exp: Likewise.
231
32a13b1a
DJ
2322006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
233
234 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
235
d8295fe9
VP
2362006-11-10 Vladimir Prus <vladimir@codesourcery.com>
237
238 * gdb.base/completion.exp: Fix completion tests for
239 'info' and 'info '.
240 * gdb.base/help.exp (help_test_raw, test_class_help)
241 (test_prefix_command_help): Move...
242 * lib/gdb.exp: Here.
243 * gdb.base/main.exp: Adjust.
244 * gdb.cp/maint.exp: Adjust.
245 * gdb.trace/tracecmd.exp: Use test_help_class.
246
8c394015
VP
2472006-11-09 Vladimir Prus <vladimir@codesourcery.com>
248
249 * gdb.stabs/weird.exp (print_weird_var): Use
250 gdb_test_multiple instead of gdb_expect.
251
027fc1bc
VP
2522006-11-09 Vladimir Prus <vladimir@codesourcery.com>
253
254 * gdb.base/help.exp (help_test_raw): New.
255 (test_class_help): New.
256 (test_prefix_command_help): New.
257 Adjust testcases.
258
67609209
FR
2592006-11-09 Christophe Lyon <christophe.lyon@st.com>
260
261 * gdb.base/constvars.c (main): Write to crass and crips, so that
262 they are allocated by the compiler.
263
f73adfeb
AS
2642006-10-27 Andreas Schwab <schwab@suse.de>
265
266 * gdb.base/multi-forks.exp: Use "detach fork" instead of
267 "detach-fork".
268
2f83a18e
DJ
2692006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
270
271 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
272 of patterns.
273
94277a38
DJ
2742006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
275
276 * gdb.base/sepdebug.exp: Remove debug format test.
277 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
278 Handle no-symtab.
279 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
280
5bd2f6e2
DJ
2812006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
282
283 * gdb.threads/manythreads.c (thread_function, main): Don't cast
284 int to pointer or pointer to int.
285 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
286
8c008720
DJ
2872006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
288
289 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
290
9e35dae4
DJ
2912006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
292
293 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
294
d9639e13
DJ
2952006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
296
297 PR c++/2116
298 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
299
390a1bd0
JB
3002006-10-06 Joel Brobecker <brobecker@adacore.com>
301
302 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
303 the corresponding bug has been fixed in GDB (PR/2018).
304
dd920c33
JB
3052006-10-06 Joel Brobecker <brobecker@adacore.com>
306
307 * gdb.base/subst.exp: New testcase.
308
53bbefe9
JB
3092006-10-06 Joel Brobecker <brobecker@adacore.com>
310
311 * gdb.ada/array_return/pck.ads: Add copyright notice.
312 * gdb.ada/array_return/pck.adb: Likewise.
313 * gdb.ada/array_return/p.adb: Likewise.
314 * gdb.ada/exec_changed/first.adb: Likewise.
315 * gdb.ada/exec_changed/second.adb: Likewise.
316
09851417
JB
3172006-10-06 Joel Brobecker <brobecker@adacore.com>
318
319 * gdb.ada/watch_arg/watch.adb: New file.
320 * gdb.ada/watch_arg.exp: New testcase.
321
041bf30d
VP
3222006-10-02 Vladimir Prus <vladimir@codesourcery.com>
323
324 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
325 via string_to_regexp.
326 * gdb.mi/mi2-basics.exp: Likewise.
327
f286fbdd 3282006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
329
330 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
331 Remove unused / obsolete files.
332
7c07f349
NR
3332006-09-19 Nick Roberts <nickrob@snap.net.nz>
334
335 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
336
cd5ff84a
VP
3372006-09-17 Vladimir Prus <vladimir@codesourcery.com>
338
339 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
340 HIGH_FRAME argument to -stack-list-arguments can be larger than
341 the number of frames.
342
ae018d1a
DJ
3432006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
344
345 * gdb.base/args.c (main): Add breakpoint marker.
346 * gdb.base/args.exp: Use args_test for tests. Add new tests which
347 really test empty arguments.
348 (args_load): Delete.
349 (args_test): New.
350
b399c549
NR
3512006-09-13 Nick Roberts <nickrob@snap.net.nz>
352
353 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
354 check for one file.
355
2ab1eb7a
VP
3562006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
357
358 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
359 HIGH_FRAME argument to -stack-list-locals can be larger than
360 the number of frames.
361
476308bf
FF
3622006-08-18 Fred Fish <fnf@specifix.com>
363
364 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
365 '$' in front of skip_vmx_tests_saved when setting that.
366
8625200f
AS
3672006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
368
369 * gdb.base/trace-commands.exp: New file.
370
089ec8f1
DJ
3712006-08-10 Joel Brobecker <brobecker@adacore.com>
372 Daniel Jacobowitz <dan@codesourcery.com>
373
374 * gdb.base/step-bt.exp: Make hexadecimal address optional in
375 expected output of the backtrace commands.
376
b60f0898
JB
3772006-08-09 Joel Brobecker <brobecker@adacore.com>
378
379 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
380 untested followed by return combination.
381 * gdb.arch/altivec-regs.exp: Likewise.
382 * gdb.arch/e500-abi.exp: Likewise.
383 * gdb.arch/e500-regs.exp: Likewise.
384 * gdb.arch/gdb1291.exp: Likewise.
385 * gdb.arch/gdb1431.exp: Likewise.
386 * gdb.arch/gdb1558.exp: Likewise.
387 * gdb.arch/i386-prologue.exp: Likewise.
388 * gdb.arch/i386-unwind.exp: Likewise.
389 * gdb.asm/asm-source.exp: Likewise.
390 * gdb.base/a2-run.exp: Likewise.
391 * gdb.base/advance.exp: Likewise.
392 * gdb.base/all-bin.exp: Likewise.
393 * gdb.base/annota1.exp: Likewise.
394 * gdb.base/annota3.exp: Likewise.
395 * gdb.base/args.exp: Likewise.
396 * gdb.base/arithmet.exp: Likewise.
397 * gdb.base/assign.exp: Likewise.
398 * gdb.base/async.exp: Likewise.
399 * gdb.base/attach.exp: Likewise.
400 * gdb.base/bang.exp: Likewise.
401 * gdb.base/bigcore.exp: Likewise.
402 * gdb.base/bitfields.exp: Likewise.
403 * gdb.base/bitfields2.exp: Likewise.
404 * gdb.base/break.exp: Likewise.
405 * gdb.base/call-sc.exp: Likewise.
406 * gdb.base/call-strs.exp: Likewise.
407 * gdb.base/callfuncs.exp: Likewise.
408 * gdb.base/checkpoint.exp: Likewise.
409 * gdb.base/chng-syms.exp: Likewise.
410 * gdb.base/code-expr.exp: Likewise.
411 * gdb.base/commands.exp: Likewise.
412 * gdb.base/completion.exp: Likewise.
413 * gdb.base/cond-expr.exp: Likewise.
414 * gdb.base/condbreak.exp: Likewise.
415 * gdb.base/consecutive.exp: Likewise.
416 * gdb.base/constvars.exp: Likewise.
417 * gdb.base/corefile.exp: Likewise.
418 * gdb.base/cvexpr.exp: Likewise.
419 * gdb.base/dbx.exp: Likewise.
420 * gdb.base/define.exp: Likewise.
421 * gdb.base/detach.exp: Likewise.
422 * gdb.base/display.exp: Likewise.
423 * gdb.base/dump.exp: Likewise.
424 * gdb.base/ena-dis-br.exp: Likewise.
425 * gdb.base/ending-run.exp: Likewise.
426 * gdb.base/environ.exp: Likewise.
427 * gdb.base/eval-skip.exp: Likewise.
428 * gdb.base/exprs.exp: Likewise.
429 * gdb.base/fileio.exp: Likewise.
430 * gdb.base/finish.exp: Likewise.
431 * gdb.base/float.exp: Likewise.
432 * gdb.base/foll-exec.exp: Likewise.
433 * gdb.base/foll-fork.exp: Likewise.
434 * gdb.base/foll-vfork.exp: Likewise.
435 * gdb.base/freebpcmd.exp: Likewise.
436 * gdb.base/funcargs.exp: Likewise.
437 * gdb.base/gcore.exp: Likewise.
438 * gdb.base/gdb1090.exp: Likewise.
439 * gdb.base/gdb1250.exp: Likewise.
440 * gdb.base/huge.exp: Likewise.
441 * gdb.base/info-proc.exp: Likewise.
442 * gdb.base/interrupt.exp: Likewise.
443 * gdb.base/jump.exp: Likewise.
444 * gdb.base/langs.exp: Likewise.
445 * gdb.base/lineinc.exp: Likewise.
446 * gdb.base/list.exp: Likewise.
447 * gdb.base/logical.exp: Likewise.
448 * gdb.base/long_long.exp: Likewise.
449 * gdb.base/macscp.exp: Likewise.
450 * gdb.base/maint.exp: Likewise.
451 * gdb.base/mips_pro.exp: Likewise.
452 * gdb.base/miscexprs.exp: Likewise.
453 * gdb.base/multi-forks.exp: Likewise.
454 * gdb.base/opaque.exp: Likewise.
455 * gdb.base/overlays.exp: Likewise.
456 * gdb.base/pc-fp.exp: Likewise.
457 * gdb.base/pointers.exp: Likewise.
458 * gdb.base/printcmds.exp: Likewise.
459 * gdb.base/psymtab.exp: Likewise.
460 * gdb.base/ptype.exp: Likewise.
461 * gdb.base/recurse.exp: Likewise.
462 * gdb.base/relational.exp: Likewise.
463 * gdb.base/relocate.exp: Likewise.
464 * gdb.base/remote.exp: Likewise.
465 * gdb.base/reread.exp: Likewise.
466 * gdb.base/restore.exp: Likewise.
467 * gdb.base/return.exp: Likewise.
468 * gdb.base/return2.exp: Likewise.
469 * gdb.base/scope.exp: Likewise.
470 * gdb.base/sect-cmd.exp: Likewise.
471 * gdb.base/sep.exp: Likewise.
472 * gdb.base/sepdebug.exp: Likewise.
473 * gdb.base/setshow.exp: Likewise.
474 * gdb.base/setvar.exp: Likewise.
475 * gdb.base/sigall.exp: Likewise.
476 * gdb.base/sigbpt.exp: Likewise.
477 * gdb.base/signals.exp: Likewise.
478 * gdb.base/signull.exp: Likewise.
479 * gdb.base/sizeof.exp: Likewise.
480 * gdb.base/solib.exp: Likewise.
481 * gdb.base/step-line.exp: Likewise.
482 * gdb.base/step-test.exp: Likewise.
483 * gdb.base/structs.exp: Likewise.
484 * gdb.base/structs2.exp: Likewise.
485 * gdb.base/term.exp: Likewise.
486 * gdb.base/twice.exp: Likewise.
487 * gdb.base/until.exp: Likewise.
488 * gdb.base/varargs.exp: Likewise.
489 * gdb.base/volatile.exp: Likewise.
490 * gdb.base/watchpoint.exp: Likewise.
491 * gdb.base/whatis-exp.exp: Likewise.
492 * gdb.base/whatis.exp: Likewise.
493 * gdb.cp/ambiguous.exp: Likewise.
494 * gdb.cp/annota2.exp: Likewise.
495 * gdb.cp/annota3.exp: Likewise.
496 * gdb.cp/bool.exp: Likewise.
497 * gdb.cp/breakpoint.exp: Likewise.
498 * gdb.cp/casts.exp: Likewise.
499 * gdb.cp/class2.exp: Likewise.
500 * gdb.cp/classes.exp: Likewise.
501 * gdb.cp/cplusfuncs.exp: Likewise.
502 * gdb.cp/ctti.exp: Likewise.
503 * gdb.cp/derivation.exp: Likewise.
504 * gdb.cp/exception.exp: Likewise.
505 * gdb.cp/gdb1355.exp: Likewise.
506 * gdb.cp/hang.exp: Likewise.
507 * gdb.cp/inherit.exp: Likewise.
508 * gdb.cp/local.exp: Likewise.
509 * gdb.cp/m-data.exp: Likewise.
510 * gdb.cp/m-static.exp: Likewise.
511 * gdb.cp/member-ptr.exp: Likewise.
512 * gdb.cp/method.exp: Likewise.
513 * gdb.cp/misc.exp: Likewise.
514 * gdb.cp/namespace.exp: Likewise.
515 * gdb.cp/overload.exp: Likewise.
516 * gdb.cp/ovldbreak.exp: Likewise.
517 * gdb.cp/pr-1023.exp: Likewise.
518 * gdb.cp/pr-1210.exp: Likewise.
519 * gdb.cp/pr-574.exp: Likewise.
520 * gdb.cp/printmethod.exp: Likewise.
521 * gdb.cp/psmang.exp: Likewise.
522 * gdb.cp/ref-params.exp: Likewise.
523 * gdb.cp/ref-types.exp: Likewise.
524 * gdb.cp/rtti.exp: Likewise.
525 * gdb.cp/templates.exp: Likewise.
526 * gdb.cp/try_catch.exp: Likewise.
527 * gdb.cp/userdef.exp: Likewise.
528 * gdb.cp/virtfunc.exp: Likewise.
529 * gdb.disasm/am33.exp: Likewise.
530 * gdb.disasm/h8300s.exp: Likewise.
531 * gdb.disasm/mn10300.exp: Likewise.
532 * gdb.disasm/sh3.exp: Likewise.
533 * gdb.disasm/t01_mov.exp: Likewise.
534 * gdb.disasm/t02_mova.exp: Likewise.
535 * gdb.disasm/t03_add.exp: Likewise.
536 * gdb.disasm/t04_sub.exp: Likewise.
537 * gdb.disasm/t05_cmp.exp: Likewise.
538 * gdb.disasm/t06_ari2.exp: Likewise.
539 * gdb.disasm/t07_ari3.exp: Likewise.
540 * gdb.disasm/t08_or.exp: Likewise.
541 * gdb.disasm/t09_xor.exp: Likewise.
542 * gdb.disasm/t10_and.exp: Likewise.
543 * gdb.disasm/t11_logs.exp: Likewise.
544 * gdb.disasm/t12_bit.exp: Likewise.
545 * gdb.disasm/t13_otr.exp: Likewise.
546 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
547 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
548 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
549 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
550 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
551 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
552 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
553 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
554 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
555 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
556 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
557 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
558 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
559 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
560 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
561 * gdb.mi/gdb701.exp: Likewise.
562 * gdb.mi/gdb792.exp: Likewise.
563 * gdb.mi/mi-basics.exp: Likewise.
564 * gdb.mi/mi-break.exp: Likewise.
565 * gdb.mi/mi-cli.exp: Likewise.
566 * gdb.mi/mi-console.exp: Likewise.
567 * gdb.mi/mi-disassemble.exp: Likewise.
568 * gdb.mi/mi-eval.exp: Likewise.
569 * gdb.mi/mi-file.exp: Likewise.
570 * gdb.mi/mi-read-memory.exp: Likewise.
571 * gdb.mi/mi-regs.exp: Likewise.
572 * gdb.mi/mi-return.exp: Likewise.
573 * gdb.mi/mi-simplerun.exp: Likewise.
574 * gdb.mi/mi-stack.exp: Likewise.
575 * gdb.mi/mi-stepi.exp: Likewise.
576 * gdb.mi/mi-syn-frame.exp: Likewise.
577 * gdb.mi/mi-until.exp: Likewise.
578 * gdb.mi/mi-var-block.exp: Likewise.
579 * gdb.mi/mi-var-child.exp: Likewise.
580 * gdb.mi/mi-var-cmd.exp: Likewise.
581 * gdb.mi/mi-var-display.exp: Likewise.
582 * gdb.mi/mi-watch.exp: Likewise.
583 * gdb.mi/mi2-basics.exp: Likewise.
584 * gdb.mi/mi2-break.exp: Likewise.
585 * gdb.mi/mi2-cli.exp: Likewise.
586 * gdb.mi/mi2-console.exp: Likewise.
587 * gdb.mi/mi2-disassemble.exp: Likewise.
588 * gdb.mi/mi2-eval.exp: Likewise.
589 * gdb.mi/mi2-file.exp: Likewise.
590 * gdb.mi/mi2-read-memory.exp: Likewise.
591 * gdb.mi/mi2-regs.exp: Likewise.
592 * gdb.mi/mi2-return.exp: Likewise.
593 * gdb.mi/mi2-simplerun.exp: Likewise.
594 * gdb.mi/mi2-stack.exp: Likewise.
595 * gdb.mi/mi2-stepi.exp: Likewise.
596 * gdb.mi/mi2-syn-frame.exp: Likewise.
597 * gdb.mi/mi2-until.exp: Likewise.
598 * gdb.mi/mi2-var-block.exp: Likewise.
599 * gdb.mi/mi2-var-child.exp: Likewise.
600 * gdb.mi/mi2-var-cmd.exp: Likewise.
601 * gdb.mi/mi2-var-display.exp: Likewise.
602 * gdb.mi/mi2-watch.exp: Likewise.
603 * gdb.stabs/exclfwd.exp: Likewise.
604 * gdb.stabs/weird.exp: Likewise.
605 * gdb.threads/gcore-thread.exp: Likewise.
606 * gdb.trace/actions.exp: Likewise.
607 * gdb.trace/backtrace.exp: Likewise.
608 * gdb.trace/circ.exp: Likewise.
609 * gdb.trace/collection.exp: Likewise.
610 * gdb.trace/deltrace.exp: Likewise.
611 * gdb.trace/infotrace.exp: Likewise.
612 * gdb.trace/limits.exp: Likewise.
613 * gdb.trace/packetlen.exp: Likewise.
614 * gdb.trace/passc-dyn.exp: Likewise.
615 * gdb.trace/passcount.exp: Likewise.
616 * gdb.trace/report.exp: Likewise.
617 * gdb.trace/save-trace.exp: Likewise.
618 * gdb.trace/tfind.exp: Likewise.
619 * gdb.trace/tracecmd.exp: Likewise.
620 * gdb.trace/while-dyn.exp: Likewise.
621 * gdb.trace/while-stepping.exp: Likewise.
622
f4b618d1
JB
6232006-08-08 Joel Brobecker <brobecker@adacore.com>
624
625 * gdb.base/step-bt.c: New file.
626 * gdb.base/step-bt.exp: New testcase.
627
3d00d119
DJ
6282006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
629
630 * config/monitor.exp (gdb_load): Remove support for obsolete
631 download-write-size.
632 * gdb.base/remote.exp: Likewise. Update all callers of
633 gdb_timed_load.
634
017b5bd4
DJ
6352006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
636
637 * cursal.exp: Pass binfile to gdb_load.
638
837c599d
DJ
6392006-08-01 Nathan Sidwell <nathan@codesourcery.com>
640
641 * gdb.base/cursal.exp: Add "" to gdb_load call.
642
8dd4540b
MK
6432006-07-29 Mark Kettenis <kettenis@gnu.org>
644
645 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
646 NetBSD/ELF targets.
647
ab5c9f60
DJ
6482006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
649
650 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
651 operator*.
652
4c42eaff
DJ
6532006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
654
655 * gdb.base/completion.exp: Update for change in "file" behavior.
656 * gdb.stabs/weird.exp: Likewise.
657 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
658 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
659
0155cc76
NS
6602006-07-24 Nathan Sidwell <nathan@codesourcery.com>
661
662 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
663 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
664
16026cd7
AS
6652006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
666
667 * gdb.base/default.exp: Update source command error message.
668 * gdb.base/help.exp: Update 'help source' message.
669
16963cb6
DJ
6702006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
671
672 * gdb.cp/bs15503.exp: Update comment for no longer crashing
673 test.
674
6d7fd486
AS
6752006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
676
677 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
678
29e8a844
DJ
6792006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
680
681 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
682
6afcfa39
DJ
6832006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
684
685 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
686
267a692b
MK
6872006-07-17 Mark Kettenis <kettenis@gnu.org>
688
689 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
690 *-*-openbsd* from targets for wich we expect ARM FPA floating
691 point format.
692
85d2fec4
NR
6932006-07-17 Nick Roberts <nickrob@snap.net.nz>
694
695 * gdb.cp/annota3.exp: Expect frame-begin annotation.
696
6972006-07-17 Mark Kettenis <kettenis@gnu.org>
698
699 * gdb.base/annota3.exp: Expect frame-begin annotation.
700
85b4c6e8
JB
7012006-07-14 Joel Brobecker <brobecker@adacore.com>
702
703 * gdb.base/help.exp: Adjust "help unset" test to accept
704 any list of unset commands.
705
fb933624
DJ
7062006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
707 Daniel Jacobowitz <dan@codesourcery.com>
708
709 * gdb.cp/ref-params.exp: New test.
710 * gdb.cp/ref-params.cc: New source file.
711 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
712
1dff4b64
MK
7132006-07-08 Mark Kettenis <kettenis@gnu.org>
714
715 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
716 spaces/tabs in regular expressions since they might not be there.
717
40d2e0e3
AS
7182006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
719
720 * gdb.base/ifelse.exp: New file.
721
f6c957d2
NS
7222006-07-04 Nathan Sidwell <nathan@codesourcery.com>
723
724 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
725 line.
726 * gdb.base/huge.exp: Loop over compilation to find a size that
727 is acceptable.
728 * gdb.base/remote.exp: Correct expected strings.
729 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
730
b9c5a23d
DJ
7312006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
732
733 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
734
9af2e58d
DJ
7352006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
736
737 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
738 native.
739
30930ca5
DJ
7402006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
741
742 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
743 enable stabs testing.
744
aa32fa1d
DJ
7452006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
746
bd4a4c80 747 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
748 gdb_test_multiple does.
749
321fef15
DJ
7502006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
751
752 * Makefile.in (host_alias): Remove.
753 (target_alias): Use @target_noncanonical@.
754 (site.exp): Don't set host_alias.
755 * aclocal.m4: Remove contents. Include acx.m4.
756 * configure: Regenerated.
757 * configure.ac: Use ACX_NONCANONICAL_TARGET.
758
e1c2defa
NS
7592006-06-13 Nathan Sidwell <nathan@codesourcery.com>
760
e63b55d1
NS
761 * lib/gdb.exp (gdb_load_cmd): New.
762
5600ea19
NS
763 * gdb.base/fileio.c: Add system(NULL) test.
764 * gdb.base/fileio.exp: Check it.
765
e1c2defa
NS
766 * gdb.base/break.c: Add 10a breakpoint at }
767 * gdb.base/break.exp: Add test for breakpoint at }
768 * gdb.cp/anon-union.cc: Add code at end of function.
769 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
770 * gdb.mi/var-cmd.c: Add code at end of function.
771 * gdb.mi/mi-var-display.exp: Adjust end of next.
772 * gdb.mi/mi2-var-display.exp: Likewise.
773 * gdb.base/fileio.c: Add stop function and insert calls at
774 stopping places.
775 * gdb.base/fileio.exp: Breakpoint stop function and remove
776 explicit line number references.
777
6c0112ec
JB
7782006-05-19 Joel Brobecker <brobecker@adacore.com>
779
780 * gdb.base/del.exp (test_delete_alias): New function.
781 Now check that both "del" and "d" work as aliases for "delete".
782
154189a4
FF
7832006-05-18 Fred Fish <fnf@specifix.com>
784
785 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
786 required. Check for spurious output after program exits normally.
787
582e64c2
FF
7882006-05-17 Fred Fish <fnf@specifix.com>
789
790 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
791 gdb_load, so it works in the simulator.
792
8ef6493a
FF
7932006-05-11 Fred Fish <fnf@specifix.com>
794
795 * gdb.base/bang.exp: Ignore unexpected output between the
796 "program exited normally" and the gdb prompt, as many other
797 tests do.
798
692b141c
MK
7992006-05-07 Mark Kettenis <kettenis@gnu.org>
800
801 * gdb.base/help.exp: Make "delete checkpoint" part option for
802 "help d" and "help delete" tests.
803
540b8a30
UW
8042006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
805
806 * gdb.mi/mi-basics.exp: Add missing serial number to
807 expected output in some mi_gdb_test statements.
808 * gdb.mi/mi2-basics.exp: Likewise.
809
9b6462d9
JB
8102006-05-05 Joel Brobecker <brobecker@adacore.com>
811
812 * gdb.base/del.c: New file.
813 * gdb.base/del.exp: New testcase.
814
954de43b
DM
8152006-05-05 David S. Miller <davem@sunset.davemloft.net>
816
817 * gdb.base/break.exp: Do not assume a breakpoint on
818 main will actually be in $srcfile when optimizing.
1303f75e
DM
819 * gdb.base/savedregs.exp: Do not require that the dummy
820 frame location match up to a symbol and source file location.
c3242428
DM
821 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
822 will get printed without a mi_cmd_data_list_register_values prefix.
823 (*-data-list-register-*): Correct regular expressions to expect the new
824 pseudo d? floating point registers.
825 * gdb.mi/mi2-regs.exp: Likewise.
826
c7e64c9a
DJ
8272006-05-05 Christophe Lyon <christophe.lyon@st.com>
828
829 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
830 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
831 is allocated by the compiler.
832 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
833 anons, e, anone to force their allocation by the compiler.
834
8352006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
836
837 * gdb.base/help.exp: Update expected text for help d and
838 help delete.
839
27ce9a6d
MK
8402006-05-02 Mark Kettenis <kettenis@gnu.org>
841
842 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
843 NetBSD/ELF targets.
844
8608915f
MK
8452006-04-30 Mark Kettenis <kettenis@gnu.org>
846
847 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
848 single-step breakpoint fails; make this a KFAIL on
849 sparc*-*-openbsd*.
850 * gdb.base/siginfo.exp: Likewise.
851 * gdb.base/sigstep.exp (advance, advancei): Likewise.
852
b8db102d
MS
8532006-04-26 Michael Snyder <msnyder@redhat.com>
854
855 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
856 which may have to consume output from other forks.
857 Add tests to make sure that "delete fork" succeeded.
858
c702009a
MS
8592006-04-20 Michael Snyder <msnyder@redhat.com>
860
861 * 2006-03-22 Jim Blandy <jimb@redhat.com>
862 Add support for the Renesas M32C and M16C.
863
864 * gdb.asm/asm-source.exp: Add m32c target.
865 * gdb.asm/m32c.inc: Support for m32c target.
866
e28493f2
AS
8672006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
868
869 * gdb.base/commands.exp (recursive_source_test): New test.
870
880da185
DM
8712006-04-04 David S. Miller <davem@sunset.davemloft.net>
872
873 * gdb.base/float.exp: Add pattern for sparc targets.
874
61d9b92f
DJ
8752006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
876
877 * gdb.base/commands.exp (stray_arg0_test): New test.
878
bd717df8
PB
8792006-03-30 Paul Brook <paul@codesourcery.com>
880
881 * gdb.mi/mi-until.exp: kfail broken until command.
882 * gdb.mi/mi2-until.exp: Ditto.
883
ec793d3c
NR
8842006-03-27 Nick Roberts <nickrob@snap.net.nz>
885
886 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
887
831004b7
AO
8882006-03-08 Alexandre Oliva <aoliva@redhat.com>
889
890 * gdb.base/prelink.exp: Anchor tested-for regular expression
891 on gdb prompt.
892
effe49a0
PB
8932006-03-07 Paul Brook <paul@codesourcery.com>
894
895 * gdb.base/assign.exp: Correct fail message.
896
e5461016
PB
8972006-03-07 Paul Brook <paul@codesourcery.com>
898
899 * lib/compiler.c: Extract armcc version number.
900 * lib/compiler.cc: Ditto.
901
fc91c6c2
PB
9022006-03-07 Paul Brook <paul@codesourcery.com>
903
904 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
905 additional_flags=-w.
906 * gdb.arch/altivec-regs.exp: Ditto.
907 * gdb.arch/e500-abi.exp: Ditto.
908 * gdb.arch/e500-regs.exp: Ditto.
909 * gdb.base/all-bin.exp: Ditto.
910 * gdb.base/annota1.exp: Ditto.
911 * gdb.base/annota3.exp: Ditto.
912 * gdb.base/args.exp: Ditto.
913 * gdb.base/arithmet.exp: Ditto.
914 * gdb.base/assign.exp: Ditto.
915 * gdb.base/async.exp: Ditto.
916 * gdb.base/bang.exp: Ditto.
917 * gdb.base/break.exp: Ditto.
918 * gdb.base/call-rt-st.exp: Ditto.
919 * gdb.base/completion.exp: Ditto.
920 * gdb.base/cond-expr.exp: Ditto.
921 * gdb.base/condbreak.exp: Ditto.
922 * gdb.base/consecutive.exp: Ditto.
923 * gdb.base/define.exp: Ditto.
924 * gdb.base/display.exp: Ditto.
925 * gdb.base/ena-dis-br.exp: Ditto.
926 * gdb.base/environ.exp: Ditto.
927 * gdb.base/eval-skip.exp: Ditto.
928 * gdb.base/info-proc.exp: Ditto.
929 * gdb.base/jump.exp: Ditto.
930 * gdb.base/logical.exp: Ditto.
931 * gdb.base/long_long.exp: Ditto.
932 * gdb.base/maint.exp: Ditto.
933 * gdb.base/miscexprs.exp: Ditto.
934 * gdb.base/pc-fp.exp: Ditto.
935 * gdb.base/pointers.exp: Ditto.
936 * gdb.base/relational.exp: Ditto.
937 * gdb.base/reread.exp: Ditto.
938 * gdb.base/sect-cmd.exp: Ditto.
939 * gdb.base/sep.exp: Ditto.
940 * gdb.base/sepdebug.exp: Ditto.
941 * gdb.base/until.exp: Ditto.
942 * gdb.base/whatis-exp.exp: Ditto.
943 * gdb.cp/annota2.exp: Ditto.
944 * gdb.cp/annota3.exp: Ditto.
945 * gdb.trace/actions.exp: Ditto.
946 * gdb.trace/backtrace.exp: Ditto.
947 * gdb.trace/circ.exp: Ditto.
948 * gdb.trace/collection.exp: Ditto.
949 * gdb.trace/deltrace.exp: Ditto.
950 * gdb.trace/infotrace.exp: Ditto.
951 * gdb.trace/limits.exp: Ditto.
952 * gdb.trace/packetlen.exp: Ditto.
953 * gdb.trace/passc-dyn.exp: Ditto.
954 * gdb.trace/passcount.exp: Ditto.
955 * gdb.trace/report.exp: Ditto.
956 * gdb.trace/save-trace.exp: Ditto.
957 * gdb.trace/tfind.exp: Ditto.
958 * gdb.trace/tracecmd.exp: Ditto.
959 * gdb.trace/while-dyn.exp: Ditto.
960 * gdb.trace/while-stepping.exp: Ditto.
961 * lib/gdb.exp: Ditto.
962 (gdb_compile): Handle nowarning option.
963
5f4a23d9
AO
9642006-03-07 Alexandre Oliva <aoliva@redhat.com>
965
966 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
967 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
968 Rename executable to prelinkt. Don't re-prelink if we didn't
969 get a core file. Test prelink -u exit status to tell whether
970 prelinking failed. Use gdb_test_multiple.
971
9733fc94
DJ
9722006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
973
974 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
975 (do_tests): Call it.
976
cc10cae3
AO
9772006-02-28 Alexandre Oliva <aoliva@redhat.com>
978
979 * gdb.base/prelink.exp: New test.
980 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
981
15c46491
WZ
9822006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
983
984 * gdb.fortran/derived-type.f90: New file.
985 * gdb.fortran/derived-type.exp: New testcase.
986
5c9f7ded
DJ
9872006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
988
989 * gdb.base/default.exp: Allow ';' as a directory separator.
990
5b96932b
AS
9912006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
992
993 * gdb.base/help.exp (help add-symbol-file): Update.
994
1986bccd
AS
9952006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
996
997 * gdb.base/help.exp (help load): Update expected results.
998
a8b7528f
FF
9992006-02-19 Fred Fish <fnf@specifix.com>
1000
1001 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
1002 specifix hex value as part of results.
1003 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
1004
f8261448
FF
10052006-02-16 Fred Fish <fnf@specifix.com>
1006
1007 * gdb.base/whatis.c: Define variables using typedefs char_addr,
1008 ushort_addr, and slong_addr, so the typedefs are not optimized
1009 away.
1010 * gdb.base/whatis.exp: Add tests using type name for struct type,
1011 union type, enum type, and typedef.
1012
31d8bdd2
MK
10132006-02-13 Mark Kettenis <kettenis@gnu.org>
1014
1015 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
1016
34e41e63
JB
10172006-02-13 Jim Blandy <jimb@redhat.com>
1018
1019 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
1020 case where it takes two "next" commands to skip past the init
1021 call.
1022
ac6e4f31
FF
10232006-02-12 Fred Fish <fnf@specifix.com>
1024
1025 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
1026 to handle cases where it takes two "next" commands to skip
1027 past the init call.
1028
2db2d571
JB
10292006-02-07 Joel Brobecker <brobecker@adacore.com>
1030
1031 * gdb.ada/array_return.exp: Mark the last test as expected to fail
1032 on hppa32 targets.
1033
38fcd64c
DJ
10342006-02-06 Vladimir Prus <ghost@cs.msu.su>
1035
1036 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
1037 field.
1038
1315ad46
MK
10392006-01-29 Mark Kettenis <kettenis@gnu.org>
1040
1041 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
1042
5625b943
DJ
10432006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
1044
1045 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
1046 files.
1047
80df1bbe
DJ
10482006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1049
1050 * gdb.cp/maint.exp: Set complaints to a positive value.
1051
9078e690
DJ
10522006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
1053
1054 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
1055 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
1056 function name.
1057
9c903399
DJ
10582006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
1059
1060 * gdb.base/checkpoint.c: Update copyright notice. Include
1061 <stdlib.h>.
1062
761ae4d6
JB
10632006-01-04 Jim Blandy <jimb@redhat.com>
1064
1065 * gdb.asm/asm-source.exp: Independently provide default values for
1066 asm-flags and debug-flags. Use 'string equal' to do the
1067 comparison, not the implicit expr's '==' operator. Remove
1068 now-unneeded assignments to asm-flags. In h8300 case, place
1069 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
1070
099ac3dd
MS
10712006-01-04 Michael Snyder <msnyder@redhat.com>
1072
1073 * gdb.base/checkpoint.c: New file.
1074 * gdb.base/checkpoint.exp: New file.
1075 * gdb.base/multi-fork.c: New file.
1076 * gdb.base/multi-fork.exp: New file.
1077 * gdb.base/pi.txt: New file (data for checkpoint.c test).
1078
f4d85314
FF
10792006-01-04 Fred Fish <fnf@specifix.com>
1080
1081 * gdb.base/ptype.c (foo): Add typedef.
1082 (intfoo): Add function.
1083 * gdb.base/ptype1.c: New file.
1084 * gdb.base/ptype.exp: Handle compilation and linking with two
1085 source files. Test that proper type for "foo" is found based
1086 on source context rather than first match found in symtabs.
1087
a1b06f35
MK
10882005-12-28 Mark Kettenis <kettenis@gnu.org>
1089
1090 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
1091 * gdb.asm/openbsd.inc: Indent commands.
1092
d082a1e2
MK
10932005-12-26 Mark Kettenis <kettenis@gnu.org>
1094
c65016bd
MK
1095 * gdb.base/freebpcmd.exp: Increase timeout.
1096
d082a1e2
MK
1097 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
1098
d3c32a0e
DJ
10992005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
1100
1101 * gdb.base/default.exp: Update check for "show version".
1102
9fdb1f50
RC
11032005-12-09 Randolph Chung <tausq@debian.org>
1104
1105 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
1106 * gdb.asm/pa64.inc: New file.
1107
5f2c56f7
RC
11082005-12-09 Randolph Chung <tausq@debian.org>
1109
1110 * gdb.asm/common.inc: Indent commands.
1111 * gdb.asm/asmsrc1.s: Likewise.
1112 * gdb.asm/asmsrc2.s: Likewise.
1113
8117349c
RC
11142005-12-09 Randolph Chung <tausq@debian.org>
1115
1116 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
1117 (get_addr_of_sym): Remove duplicate print.
1118 (gen_core): xfail hppa*-*-hpux*, update expected output.
1119 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
1120 * gdb.arch/pa64-nullify.s: New file.
1121
8f07f25a
RC
11222005-12-09 Randolph Chung <tausq@debian.org>
1123
1124 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
1125
55b39184
DJ
11262005-12-07 Christophe Lyon <christophe.lyon@st.com>
1127
1128 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
1129 code generation for these functions.
1130 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
1131 error message.
1132
31e2b00f
AS
11332005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
1134
1135 * gdb.base/help.exp (help b, help br, help bre, help brea)
1136 (help break): Update the expected message.
1137
c3d0b56e
SC
11382005-11-11 Stephane Carrez <stcarrez@nerim.fr>
1139
1140 * gdb.asm/m68hc11.inc: Setup the data section.
1141 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
1142 script for this test.
1143 (m6812-*-*): Likewise.
1144
36ae0ea9
RC
11452005-11-09 Randolph Chung <tausq@debian.org>
1146
1147 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
1148
9d6f42e9
WZ
11492005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
1150
1151 * gdb.base/break.exp: Fix a comment typo.
1152
e2126a14
EZ
11532005-11-03 Jim Blandy <jimb@redhat.com>
1154
1155 Checked in by Elena Zannoni <ezannoni@redhat.com>
1156
1157 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
1158
e0ac7199
CV
11592005-11-02 Corinna Vinschen <vinschen@redhat.com>
1160
1161 * gdb.arch/gdb1558.c: Include stdio.h.
1162
31d3fb18
MK
11632005-10-31 Mark Kettenis <kettenis@gnu.org>
1164
1165 * gdb.asm/asm-source.exp: Use -e instead of --entry.
1166
e52b687c
MK
11672005-10-31 Mark Kettenis <kettenis@gnu.org>
1168
1169 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
1170
f4711d79
PG
11712005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
1172
1173 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
1174 vscr" tests to better match output.
1175
987a9106
JB
11762005-10-12 Jim Blandy <jimb@redhat.com>
1177
1178 * gdb.base/structs.exp (any): New function.
1179 (test_struct_returns): Don't make any assumptions at all about
1180 what value the function returns when GDB can't set the return
1181 value.
1182
2336bb58
JB
11832005-10-09 Joel Brobecker <brobecker@adacore.com>
1184
1185 * gdb.ada/arrayidx/p.adb: New file.
1186 * gdb.ada/arrayidx.exp: New testcase
1187
11882005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
1189
1190 * gdb.ada/array_return/pck.ads: New file.
1191 * gdb.ada/array_return/pck.adb: New file.
1192 * gdb.ada/array_return/p.adb: New file.
1193 * gdb.ada/array_return.exp: New testcase.
1194
705335ea
JB
11952005-10-03 Joel Brobecker <brobecker@adacore.com>
1196
1197 * gdb.base/arrayidx.c: New file.
1198 * gdb.base/arrayidx.exp: New testcase.
1199
11ee9940
NR
12002005-09-29 Nick Roberts <nickrob@snap.net.nz>
1201
1202 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
1203 frames-invalid and breakpoints-invalid are no longer generated
1204 with level 3 so don't expect them in the output.
1205
39fb8e9e
BR
12062005-09-27 Bob Rossi <bob@brasko.net>
1207
1208 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
1209 from test. Escape the | in mi_gdb_test call.
1210 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
1211 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
1212 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
1213 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
1214 expected regex's in mi_gdb_test calls.
1215 * lib/mi-support.exp: Remove arbitrary .* from tests.
1216 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
1217 Fully anchor GDB/MI expected results in mi_gdb_test.
1218 * lib/gdb.exp (string_to_regexp): Escape the ] character.
1219 * gdb.base/sizeof.exp: Remove escape character. Correct test.
1220
2af48f68
PB
12212005-09-26 Paul Brook <paul@codesourcery.com>
1222
1223 * long_long.exp: Exclude eabi targets from arm FPA float format test.
1224
f34502bc
WZ
12252005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
1226
1227 * bfp-test.c: New file.
1228 * bfp-test.exp: New testcase.
1229
ca929517
WZ
12302005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
1231
1232 * gdb.fortran/subarray.exp: New testcase to test the evaluation
1233 of subarray and substring variable.
1234 * gdb.fortran/subarray.f: New source file for the test of subarray
1235 and substring variable evaluation.
1236 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
1237 of string constant.
1238
c761af65
DJ
12392005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
1240
1241 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
1242 copyright dates.
1243
561d7a1d
PG
12442005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
1245
1246 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
1247 powerpc altivec' test with an almost identical 'info vector' test.
1248
b2b64cc9
PG
12492005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
1250
1251 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
1252 vscr" tests to match output.
1253
6ac4d15a
PG
12542005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
1255
1256 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
1257 output.
1258
40e55bef
BR
12592005-09-11 Bob Rossi <bob@brasko.net>
1260
1261 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
1262 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
1263 commands that return an MI output command and an asyncronous MI output
1264 command.
1265 * gdb.mi/mi-console.exp: Ditto.
1266
3c7385ec
BR
12672005-09-11 Bob Rossi <bob@brasko.net>
1268
1269 * gdb.mi/mi-var-child.c: Include <string.h>.
1270
a6cd0eb3
DJ
12712005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
1272
1273 * killed.exp: Correct gdb_expect syntax.
1274
2f168eed
CV
12752005-08-09 Corinna Vinschen <vinschen@redhat.com>
1276
1277 * lib/mi-support.exp (mi_gdb_load): Fix typo.
1278
ecd3fd0f
BR
12792005-08-02 Bob Rossi <bob@brasko.net>
1280
1281 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
1282 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
1283 Change tests to inferior-tty-set/show.
1284 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
1285 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
1286 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
1287 inferior. Use mi_gdb_test to get GDB and Inferior output.
1288 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
1289 descriptor.
1290 (mi_inferior_tty_name): Add inferior PTY file name.
1291 (mi_gdb_start): Add INFERIOR_PTY parameter.
1292 (mi_gdb_test): Add IPATTERN parameter.
1293
f1ea48cb
BR
12942005-08-02 Bob Rossi <bob@brasko.net>
1295
1296 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
1297 parameter to mi_gdb_test.
1298 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
1299
6e650a67
DJ
13002005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
1301
1302 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
1303 struct_declarations.
1304 * gdb.mi/mi-var-child.exp: Step over the initialization of
1305 struct_declarations.
1306
8be260b6
DJ
13072005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
1308
1309 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
1310 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
1311 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
1312 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
1313 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
1314 file.
1315
4e660f07
NR
13162005-07-27 Nick Roberts <nickrob@snap.net.nz>
1317
1318 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
1319 (do_children_tests): Assign values to the extra elements.
1320
1321 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
1322 them for tests for "-var-update --no-values" and
1323 "-var-update --all-values".
1324 Add test for "-var-list-children --simple-values".
1325
1326 * gdb.mi/basics.c (callee4): Add integer array D[3]...
1327
1328 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
1329 "-stack-list-locals --simple-values" Improve doc strings and
1330 comments.
1331
6bdae935
MK
13322005-07-18 Mark Kettenis <kettenis@gnu.org>
1333
598b7a6f
MK
1334 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
1335 *-*-openbsd*.
1336 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
1337
6bdae935
MK
1338 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
1339 sigaltsatck'.
1340
1323e929
BR
13412005-07-14 Bob Rossi <bob@brasko.net>
1342
1343 * gdb.base/default.exp (tty): Changed output of command.
1344 * gdb.base/help.exp (help tty): Ditto.
1345
b1a9c082
MK
13462005-07-12 Mark Kettenis <kettenis@gnu.org>
1347
1348 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
1349
10a844a2
MK
13502005-07-10 Mark Kettenis <kettenis@gnu.org>
1351
1352 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
1353 -stack-select-frame without arguments.
1354 (test_stack_frame_listing): Add test for newly implemented command
1355 -stack-info-frame.
1356
3cb3b8df
BR
13572005-07-06 Bob Rossi <bob@brasko.net>
1358
1359 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
1360 command.
1361 (Copyright): Update copyright.
1362
a0c5fbcf
WZ
13632005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
1364
1365 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
1366 tests to evaluate exponentiation expression.
1367
984971d0
AS
13682005-06-29 Andreas Schwab <schwab@suse.de>
1369
1370 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
1371 main to avoid warnings.
1372
1373 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
1374
fe03833f
NR
13752005-06-20 Nick Roberts <nickrob@snap.net.nz>
1376
1377 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
1378 -stack-select-frame without arguments.
1379 (test_stack_frame_listing): Add test for newly implemented command
1380 -stack-info-frame.
1381
7a55f279
WZ
13822005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
1383
0ffa0ea5
DJ
1384 * gdb.fortran/array-element.f: New file.
1385 * gdb.fortran/array-element.exp: New testcase.
7a55f279 1386
26585198
DJ
13872005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1388
1389 * gdb.base/bigcore.exp: Correct checks for systems which can
1390 not dump a large core file.
1391
c1bd25fd
DJ
13922005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1393
1394 * gdb.base/relocate.c: Add a copyright notice.
1395 (dummy): Remove.
1396 * gdb.base/relocate.exp: Test printing the values of variables
1397 from a relocatable file.
1398
589e074d
DJ
13992005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
1400
1401 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
1402 excess MI output after an error.
1403
0915f927
JB
14042005-05-29 Joel Brobecker <brobecker@adacore.com>
1405
1406 * gdb.arch/alpha-step.c: New file.
1407 * gdb.arch/alpha-step.exp: New testcase.
1408
76ff342d
DJ
14092005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1410 Dennis Brueni <dennis@slickedit.com>
1411
1412 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
1413 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
1414 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
1415 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
1416 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
1417 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
1418 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
1419
96b0c7ac
DJ
14202005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
1421 Wu Zhou <woodzltc@cn.ibm.com>
1422
1423 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
1424 IBM's xlc compiler.
1425 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
1426 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
1427
f21565d2
JB
14282005-05-13 Jim Blandy <jimb@redhat.com>
1429
1430 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
1431 calling gdb_suppress_entire_file.
1432 * gdb.base/charset.exp: Same.
1433 * gdb.base/call-rt-st.exp: Same.
1434
6006a3a1
BR
14352005-05-05 Bob Rossi <bob_rossi@cox.net>
1436
1437 * lib/gdb.exp (fullname_syntax): Added global regex.
1438 (fullname_syntax_POSIX): Ditto.
1439 (fullname_syntax_UNC): Ditto.
1440 (fullname_syntax_DOS_CASE): Ditto.
1441 (fullname_syntax_DOS): Ditto.
1442 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
1443 fullname_syntax variable to scope and use it.
1444 (test_file_list_exec_source_files): Ditto.
1445 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
1446
c3b69c04
DJ
14472005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
1448
1449 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
1450
3c95e6af
PG
14512004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
1452
1453 * lib/gdb.exp (skip_altivec_tests): New function, based on
1454 check_vmx_hw_available from the GCC testsuite.
1455 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
1456 * lib/gdb.arch/altivec-regs.exp: Likewise.
1457
78df6c56
JB
14582005-05-02 Jim Blandy <jimb@redhat.com>
1459
1460 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
1461 calling gdb_suppress_entire_file.
1462
1690f9cf
DJ
14632005-04-30 Randolph Chung <tausq@debian.org>
1464
1465 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
1466 Slightly relax "sem_post" name checking.
1467
5ea106f7
PG
14682005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
1469
1470 * gdb.base/unload.exp: Use new shared library infrastructure.
1471
bf7234cf
PG
14722005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
1473
1474 * gdb.base/so-impl-ld.exp: Use new shared library
1475 infrastructure.
1476
547b869a
CV
14772005-04-29 Corinna Vinschen <vinschen@redhat.com>
1478
1479 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
1480 * gdb.asm/h8300.inc: New file.
1481
f07e55f0
PG
14822005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
1483
1484 * gdb.base/shlib-call.exp: Change to use new shared library
1485 infrastructure.
1486
3cbba3d1
PG
14872005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
1488
1489 * gdb.base/pending.exp: Change to use new shared library
1490 infrastructure.
1491
ed6df200
PG
14922005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
1493
1494 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
1495 use test_compiler_info instead of gcc_compiled, and update copyright.
1496
8c8f4ebe
PG
14972005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
1498
1499 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
1500 shared objects being adjusted and update copyright years.
1501
607fbc54
DJ
15022005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
1503
1504 * ChangeLog: Correct some 2003-01-13 dates.
1505 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
1506 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
1507 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
1508 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
1509 gdb.trace/tfind.exp: Update copyright years.
1510
57bf0e56
DJ
15112005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
1512 Daniel Jacobowitz <dan@codesourcery.com>
1513
1514 * lib/gdb.exp (gdb_compile): Handle shlib=.
1515 (gdb_compile_shlib): New function.
1516
9b593790
PG
15172005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
1518
1519 * lib/gdb.exp (test_compiler_info): Give argument a default value.
1520
9494c6a5
DJ
15212005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
1522
1523 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
1524 gdb.server.
1525 * configure.ac: Likewise.
1526 * configure: Regenerated.
1527 * gdb.gdbserver/Makefile.in: Moved to...
1528 * gdb.server/Makefile.in: ... here.
1529 * gdb.gdbserver/server.c: Moved to...
1530 * gdb.server/server.c: ... here.
1531 * gdb.gdbserver/server-run.exp: Moved to...
1532 * gdb.server/server-run.exp: ... here.
1533
6f8eac0e
DJ
15342005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
1535
1536 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
1537 * configure.ac: Create gdb.gdbserver/Makefile.
1538 * configure: Regenerated.
1539 * lib/gdbserver-support.exp: New file, derived from
1540 config/gdbserver.exp.
1541 * config/gdbserver.exp: Use gdbserver-support.exp.
1542 * gdb.gdbserver/Makefile.in: New file.
1543 * gdb.gdbserver/server.c: New file.
1544 * gdb.gdbserver/server-run.exp: New file.
1545
6e87504d
PG
15462005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
1547
1548 * lib/gdb.exp (test_compiler_info): Return compiler_info
1549 if no arguments are given.
1550
d1779be4
PG
15512005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
1552
1553 * gdb.arch/altivec-abi.exp: Check for compiler and set
1554 use altivec' flag accordingly.
1555 * gdb.arch/altivec-regs.exp: Likewise.
1556
88750304
DJ
15572005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1558
1559 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
1560
f3fb768d
AS
15612005-03-27 Andreas Schwab <schwab@suse.de>
1562
1563 * gdb.base/bigcore.c (main): Add missing mode argument in open
1564 call.
1565
7e813ac5
DJ
15662005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
1567
1568 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
1569 downloads.
1570 * config/gdbserver.exp (gdb_load): Likewise.
1571
8e3049aa
PB
15722005-03-14 Paul Brook <paul@codesourcery.com>
1573
1574 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
1575 targets.
1576
a9df7c44
JB
15772005-03-09 Joel Brobecker <brobecker@adacore.com>
1578
1579 * gdb.dwarf2/dup-psym.S: New file.
1580 * gdb.dwarf2/dup-psym.exp: New testcase.
1581
9f0d94e8
JB
15822005-03-09 Joel Brobecker <brobecker@adacore.com>
1583
1584 * gdb.ada/exec_changed/first.adb: New file.
1585 * gdb.ada/exec_changed/second.adb: New file.
1586 * gdb.ada/exec_changed.exp: New testcase.
1587
5f579bc5
NS
15882005-03-08 Nathan Sidwell <nathan@codesourcery.com>
1589
36e9969c
NS
1590 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
1591 (A2): New class.
1592 (main): Test operator+.
1593 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
1594 breakpoint test.
1595
5f579bc5
NS
1596 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
1597 * gdb.base/signull.exp: Disable if gdb,nosignals.
1598 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
1599 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
1600 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
1601 * gdb.mi/mi2-console.exp: Likewise.
1602 * gdb.trace/collection.exp (run_trace_experiment): Consume the
1603 continue output at start.
1604 (gdb_collect_locals_test): Robustify regexp.
1605 * gdb.trace/passc-dyn.exp: Fix comment typo.
1606 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
1607
be46087e
CV
16082005-03-08 Corinna Vinschen <vinschen@redhat.com>
1609
1610 * gdb.asm/asm-source.exp: Add iq2000 case.
1611 * gdb.asm/iq2000.inc: New file.
1612
384e1a61
MI
16132005-03-07 Manoj Iyer <manjo@austin.ibm.com>
1614
1615 * gdb.base/command.exp: Change hardcoded value to regular expression.
1616 * gdb.base/float.exp: Add powerpc to the list of targets checked.
1617
584b6e9e
DJ
16182005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
1619
1620 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
1621 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
1622 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
1623 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
1624 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
1625
ab5b5d61
MK
16262005-03-05 Mark Kettenis <kettenis@gnu.org>
1627
1628 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
1629 changes.
1630
ae051c1b
PG
16312004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
1632
1633 * lib/compiler.c: Add test for IBM's xlc compiler.
1634 * lib/compiler.cc: Likewise.
1635
3f0f6ed2
JB
16362004-02-24 Joel Brobecker <brobecker@adacore.com>
1637
1638 * gdb.ada/fixed_points.exp: Create compilation object directory
1639 before running the test.
1640 * gdb.ada/null_record.exp: Likewise.
1641 * gdb.ada/packed_array.exp: Likewise.
1642 * gdb.ada/start.exp: Likewise.
1643
724f452b
JB
16442005-02-15 Joel Brobecker <brobecker@adacore.com>
1645
1646 * gdb.ada/packed_array/pa.adb: New file.
1647 * gdb.ada/packed_array.exp: New testcase.
1648
57f5cdfb 16492005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 1650
1f393151
MK
1651 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
1652 files.
1653
ebdda337
MK
1654 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
1655 on *-*-openbsd*. Correctly match whitespace in regukar
1656 expressions.
1657
cf309262
DJ
16582005-02-10 Daniel Jacobowitz <dan@debian.org>
1659
1660 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
1661 PR exp/1821
1662 * gdb.base/gdb1821.c: New test file.
1663 * gdb.base/gdb1821.exp: New test file.
1664
3be49e7a
JB
16652005-02-09 Joel Brobecker <brobecker@adacore.com>
1666
1667 * gdb.base/start.c: New file.
1668 * gdb.base/start.exp: New testcase.
1669
e292e67d
JB
16702005-02-09 Joel Brobecker <brobecker@adacore.com>
1671
1672 * gdb.ada/start/dummy.adb: New file.
1673 * gdb.ada/start.exp: New testcase.
1674
dbdfa66c
CV
16752005-02-09 Corinna Vinschen <vinschen@redhat.com>
1676
1677 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
1678 for printing symbols and statistics.
1679 Add test for using relative pathnames in "maint print msymbols" test.
1680 Mark "maint info sections DATA" XFAIL on Cygwin.
1681 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
1682 tests.
1683
d7941671
AC
16842005-02-09 Andreas Schwab <schwab@suse.de>
1685
1686 Committed by Andrew Cagney <cagney@gnu.org>
1687 * gdb.base/remotetimeout.exp: New file.
1688
74e5ef44
MK
16892005-02-07 Mark Kettenis <kettenis@gnu.org>
1690
1691 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
1692
464dd14d
JB
16932005-02-03 Joel Brobecker <brobecker@adacore.com>
1694
1695 * gdb.ada/gnat_ada.gpr: New file.
1696 * gdb.ada/gnat_ada.gin: Delete, no longer used.
1697 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
1698 * configure.ac: No longer generate gnat_ada.gpr.
1699 * configure: Regenerate.
1700 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
1701 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
1702 * gdb.ada/null_record/bar.ads: Likewise.
1703 * gdb.ada/null_record/bar.adb: Likewise.
1704 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
1705 * gdb.ada/null_record.exp (testdir): New variable.
1706 (testfile): executable is now in testdir subdirectory.
1707 (srcfile): Use full path to the main compilation unit.
1708 * gdb.ada/fixed_points.exp: Same changes as above.
1709
30d756ae
NR
17102005-02-03 Nick Roberts <nickrob@snap.net.nz>
1711
1712 * gdb.base/interp.exp: New test.
1713
9d799f85
AC
17142005-01-24 Andrew Cagney <cagney@gnu.org>
1715
1716 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
1717
15656118
AC
17182005-01-19 Andrew Cagney <cagney@gnu.org>
1719
a892c31b
AC
1720 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
1721 configure.ac not configure.in.
1722
15656118
AC
1723 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
1724 of powerpc*-*-*.
1725 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
1726 * gdb.base/list.exp (test_list_function)
1727 (test_list_filename_and_function): Ditto.
1728 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
1729
a7b01baf
AC
17302005-01-16 Andrew Cagney <cagney@gnu.org>
1731
17d92a02
AC
1732 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
1733
a7b01baf
AC
1734 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
1735
bc8332bb
AC
17362005-01-14 Andrew Cagney <cagney@gnu.org>
1737
1738 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
1739 * gdb.mi/mi2-var-cmd.exp: Ditto.
1740
4d074752
CV
17412005-01-10 Corinna Vinschen <vinschen@redhat.com>
1742
1743 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
1744
bec39cab
AC
17452005-01-07 Andrew Cagney <cagney@gnu.org>
1746
1747 * configure.ac: Rename configure.in, require autoconf 2.59.
1748 * configure: Re-generate.
1749 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
1750 * gdb.stabs/configure: Re-generate.
1751 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
1752 * gdb.hp/configure: Re-generate.
1753 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
1754 autoconf 2.59.
1755 * gdb.hp/gdb.objdbg/configure: Re-generate.
1756 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
1757 autoconf 2.59.
1758 * gdb.hp/gdb.defects/configure: Re-generate.
1759 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
1760 autoconf 2.59.
1761 * gdb.hp/gdb.compat/configure: Re-generate.
1762 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
1763 autoconf 2.59.
1764 * gdb.hp/gdb.base-hp/configure: Re-generate.
1765 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
1766 autoconf 2.59.
1767 * gdb.hp/gdb.aCC/configure: Re-generate.
1768
f10b16d4
JB
17692004-12-15 Jim Blandy <jimb@redhat.com>
1770
1771 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
1772 under NPTL when there is debugging info available for libpthread.
1773
fb6e1814
JG
17742004-12-13 Jerome Guitton <guitton@gnat.com>
1775
1776 * gdb.ada/fixed_points.c: New file.
1777 * gdb.ada/fixed_points.exp: New file.
1778
fe46cd3a
RC
17792004-12-03 Randolph Chung <tausq@debian.org>
1780
1781 * gdb.arch/pa-nullify.exp: New file.
1782 * gdb.arch/pa-nullify.s: New file.
1783
8de0841b
RC
17842004-11-30 Randolph Chung <tausq@debian.org>
1785
1786 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
1787 instead of "tbug". Fix regexp to work properly with gdb_test.
1788
c8170782
PH
17892004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
1790
1791 * gdb.base/bitfields2.exp: New test.
1792 * gdb.base/bitfields2.c: New file.
1793
954269c2
RE
17942004-11-28 Richard Earnshaw <rearnsha@arm.com>
1795
1796 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
1797
0107feed
RC
17982004-11-16 Randolph Chung <tausq@debian.org>
1799
1800 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
1801
f073ae8c
DJ
18022004-11-14 Daniel Jacobowitz <dan@debian.org>
1803
1804 * gdb.threads/threadapply.exp: Correct "macro details" test.
1805
19ad59e7
JJ
18062004-11-11 Jeff Johnston <jjohnstn@redhat.com>
1807
1808 * gdb.threads/threadapply.exp: New test.
1809 * gdb.threads/threadapply.c: New file.
1810
9cf0961b
MK
18112004-11-07 Mark Kettenis <kettenis@gnu.org>
1812
1813 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
1814 frames.
1815
c789492a
FL
18162004-11-05 Felix Lee <felix+log1@specifixinc.com>
1817
1818 * gdb.base/cursal.exp: New file.
1819 * gdb.base/cursal.c: New file.
1820
a1e167bb
AC
18212004-11-03 Andrew Cagney <cagney@gnu.org>
1822
1823 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
1824
b7cbf173
MK
18252004-10-30 Mark Kettenis <kettenis@gnu.org>
1826
1827 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
1828 NetBSD/ELF targets.
1829
88f9d34f
JB
18302004-10-29 Joel Brobecker <brobecker@gnat.com>
1831
1832 * gdb.threads/bp_in_thread.c: New file, copied from
1833 pthread_cond_wait.c.
1834 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
1835 file, rather than reusing the .c file from another testcase.
1836
ca7d6a0c
JB
18372004-10-20 Joel Brobecker <brobecker@gnat.com>
1838
1839 * gdb.ada/null_record.exp: Check where we stopped after
1840 sending the start command, instead of where the associated
1841 temporary breakpoint was inserted.
1842
0d863d03
AC
18432004-10-14 Andrew Cagney <cagney@gnu.org>
1844
1845 * gdb.mi/gdb701.c (main): Return 0.
1846
d11e72cb
DJ
18472004-10-13 Daniel Jacobowitz <dan@debian.org>
1848
d40539a4 1849 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 1850
e1923096
JJ
18512004-10-12 Jeff Johnston <jjohnstn@redhat.com>
1852
1853 * gdb.threads/schedlock.c: Add comment markers to use to find
1854 line numbers.
1855 * gdb.threads/schedlock.exp: Adjust regex to handle the new
1856 comments.
1857 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
1858 breakpoint lines.
1859
ec8ba2c9
DJ
18602004-10-12 Daniel Jacobowitz <dan@debian.org>
1861
1862 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
1863
0eb3658b
DJ
18642004-10-12 Daniel Jacobowitz <dan@debian.org>
1865
1866 * configure.in: Add gdb.dwarf2.
1867 * configure: Regenerated.
1868 * Makefile.in: Add gdb.dwarf2.
1869 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
1870 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
1871 gdb.dwarf2/file1.txt: New files.
1872
a271cc33
OF
18732004-10-11 Orjan Friberg <orjanf@axis.com>
1874
1875 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
1876 of "run", since the latter doesn't work with remote targets. Adjust
1877 the breakpoint numbering accordingly.
1878 * gdb.threads/pthread_cond_wait.exp: Ditto.
1879
895ce074
MC
18802004-10-08 Michael Chastain <mec.gnu@mindspring.com>
1881
1882 * gdb.base/overlays.exp: Update copyright years.
1883
6be3092d
KI
18842004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
1885
1886 * gdb.base/overlays.exp: Disable if target is Linux.
1887
e05389b8
FL
18882004-10-06 Felix Lee <felix+log1@specifixinc.com>
1889
1890 * config/gdbserver.exp (gdb_load): Use right filename on remote.
1891
73cb587d
KI
18922004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
1893
1894 * gdb.asm/asm-source.exp: Add m32r-linux target.
1895 * gdb.asm/m32r-linux.inc: New file.
1896
3c0edcdc
AC
18972004-09-24 Andrew Cagney <cagney@redhat.com>
1898 David Anderson <anderson@redhat.com>
1899
1900 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
1901 command fails, assume things will work.
1902 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
1903 (_GNU_SOURCE): Define.
1904 (print_unsigned, print_hex): Change parameter to "long long".
1905 (print_byte_count): New function, use to print byte counts.
1906 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
1907 O_LARGEFILE.
1908 (main): Compute an upper bound on a corefile in max_core_size.
1909 Limit memory chunk size to max_core_size. Limit total memory
1910 allocated to max_core_size.
1911
4bb3667f
AC
19122004-09-23 Andrew Cagney <cagney@gnu.org>
1913
1914 * gdb.base/bigcore.exp: Replace the code that creates a corefile
1915 from a separate process with code that creates a corefile by
1916 making the inferior dump core.
1917
60fe1a51
MK
19182004-09-23 Mark Kettenis <kettenis@gnu.org>
1919
1920 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
1921 block.
1922
8e937346
MC
19232004-09-23 Michael Chastain <mec.gnu@mindspring.com>
1924
1925 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
1926 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
1927 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
1928 Likewise.
1929
7213f6d6
JJ
19302004-09-20 Jeff Johnston <jjohnstn@redhat.com>
1931
1932 * gdb.java/jprint.exp: New test case for java inferior call.
1933 * gdb.java/jprint.java: Ditto.
1934
eac69dca
JB
19352004-09-15 Joel Brobecker <brobecker@gnat.com>
1936
1937 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
1938
22227696
MC
19392004-09-14 Michael Chastain <mec.gnu@mindspring.com>
1940
1941 * gdb.threads/killed.c: Include <stdlib.h>.
1942 * gdb.threads/pthreads.c: Likewise.
1943
7dd403a4
MC
19442004-09-14 Michael Chastain <mec.gnu@mindspring.com>
1945
1946 * gdb.threads/killed.c: Add copyright notice.
1947
33f2d567
JM
19482004-09-10 Jason Molenda (jmolenda@apple.com)
1949
1950 * gdb.base/define.exp: Two new tests to verify zero space chars
1951 after 'if' and 'while' commands in a user-defined command is correctly
1952 parsed.
1953
e05b62ac
AC
19542004-09-08 Andrew Cagney <cagney@gnu.org>
1955
1956 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
1957 delivery test with duplicate at end of file.
1958
9cbe82da
MK
19592004-09-06 Mark Kettenis <kettenis@jive.nl>
1960
1961 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
1962
564803d9
MC
19632004-09-05 Michael Chastain <mec.gnu@mindspring.com>
1964
1965 * config/hppro.exp: Removed.
1966
7c6807ce
MC
19672004-09-05 Michael Chastain <mec.gnu@mindspring.com>
1968
1969 * config/sparclet.exp: Removed.
1970
bf7e26dd
MC
19712004-09-05 Michael Chastain <mec.gnu@mindspring.com>
1972
1973 * config/udi.exp: Removed.
1974
714e341b
MC
19752004-09-02 Michael Chastain <mec.gnu@mindspring.com>
1976
1977 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
1978 of "exp_continue".
1979 (advancei): Likewise.
1980
1236e623
JJ
19812004-09-01 Jeff Johnston <jjohnstn@redhat.com>
1982
1983 * gdb.base/unload.exp: Fix so messages aren't duplicated.
1984
3bdcad15
MI
19852004-09-01 Manoj Iyer <manjo@austin.ibm.com>
1986
228af206 1987 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
1988 to check for nodebug in executable.
1989 * gdb.gdb/observer.exp (setup_test): Likewise.
1990 * gdb.gdb/selftest.exp (test_with_self): Likewise.
1991 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
1992
c72b934c
AC
19932004-09-01 Andrew Cagney <cagney@gnu.org>
1994
1995 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
1996 files.
1997
edd9b715
JJ
19982004-09-01 Jeff Johnston <jjohnstn@redhat.com>
1999
2000 * gdb.base/unload.exp: Fix expected warning message to match
2001 latest format.
2002
fb4ce06b
CV
20032004-09-01 Corinna Vinschen <vinschen@redhat.com>
2004
2005 * gdb.base/call-rt-st.exp: Fix typos.
2006
ce78e7c3
MI
20072004-08-31 Manoj Iyer <manjo@austin.ibm.com>
2008
2009 * gdb.threads/thread_check.exp: New testcase.
2010 * gdb.threads/thread_check.c: New testcase.
2011
2dedb159
AC
20122004-08-31 Andrew Cagney <cagney@gnu.org>
2013
2014 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
2015 (skip_to_handler_entry): New procedures. Test stepping into a
2016 handler when the breakpoint is at the handler's entry point.
2017
68f53502
AC
20182004-08-30 Andrew Cagney <cagney@gnu.org>
2019
2020 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
2021 gdb/1757.
2022
3e3ffd2b
MC
20232004-08-27 Michael Chastain <mec.gnu@mindspring.com>
2024
2025 With code from Manoj Iyer <manjo@austin.ibm.com>:
2026 * lib/gdb.exp (gdb_file_cmd): Return more information in the
2027 return value. Add an arm for "no debugging symbols found".
2028 Change a stray "error" to "perror".
2029 (gdb_run_cmd): Adapt to new return value.
2030 * gdb.base/remote.exp: Adapt to new return value.
2031 * gdb.gdb/complaints.exp: Likewise.
2032 * gdb.gdb/observer.exp: Likewise.
2033 * gdb.gdb/selftest.exp: Likewise.
2034 * gdb.gdb/xfullpath.exp: Likewise.
2035
4b6f5fd2
JB
20362004-08-27 Joel Brobecker <brobecker@gnat.com>
2037
2038 * gdb.threads/bp_in_thread.exp: New testcase.
2039
e5b25496
MC
20402004-08-27 Michael Chastain <mec.gnu@mindspring.com>
2041
2042 Fix PR testsuite/1735.
2043 * gdb.threads/schedlock.c (thread_function): Add a cast
2044 to suppress a gcc warning.
2045 * gdb.threads/thread-specific.c (thread_function): Likewise.
2046
934353d6
MC
20472004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2048
2049 * gdb.base/unload.c: Include <stdlib.h>.
2050
f98a0aef 20512004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 2052
f98a0aef 2053 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
2054 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
2055 synchronized after the "return".
2056
5a2e8882
MC
20572004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2058
2059 * gdb.mi/basics.c: Include <stdio.h>.
2060 * gdb.mi/pthreads.c: Include <stdlib.h>.
2061 * gdb.mi/var-cmd.c: Include <stdlib.h>.
2062
a9640423
MC
20632004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2064
2065 * gdb.threads/schedlock.c: Add copyright notice.
2066
b04e311d
AC
20672004-08-25 Andrew Cagney <cagney@gnu.org>
2068
2069 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
2070 (skip_over_handler, breakpoint_over_hander): New test procedures.
2071 (advance, advancei): Add a proper prefix, do not use
2072 rerun_to_main.
2073 * gdb.base/sigstep.c (main): Change to use an infinite loop.
2074
7c27f15b
MC
20752004-08-24 Michael Chastain <mec.gnu@mindspring.com>
2076
2077 * gdb.mi/basics.c: Add copyright notice.
2078 * gdb.mi/var-cmd.c: Add copyright notice.
2079
fffc87ae
MC
20802004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2081
2082 * lib/gdb.exp: Remove signed_keyword_not_used.
2083 * lib/compiler.c: Likewise.
2084 * lib/compiler.cc: Likewise.
2085
d782e0bf
MC
20862004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2087
2088 * gdb.base/whatis.c: Remove conditional disabling of "signed".
2089 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
2090
96033e83
MC
20912004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2092
2093 * gdb.base/whatis.c: Add copyright notice.
2094
cf38c229
MK
20952004-08-20 Mark Kettenis <kettenis@gnu.org>
2096
2097 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
2098 it to skip the breakpoints encoded in the inline assembly.
2099
f4b49756
MC
21002004-08-20 Michael Chastain <mec.gnu@mindspring.com>
2101
2102 * Makefile.in: Add gdb.fortran.
2103
2f193b69
MC
21042004-08-20 Michael Chastain <mec.gnu@mindspring.com>
2105
2106 * gdb.base/call-sc.exp (test_scalar_returns):
2107 Fix cut-and-paste glitch in "Make fun return now".
2108
89a237cb
MC
21092004-08-17 Michael Chastain <mec.gnu@mindspring.com>
2110
2111 * configure.in: Add gdb.fortran.
2112 * configure: Regenerate.
2113 * gdb.fortran/Makefile.in: New file.
2114 * lib/gdb.exp (skip_fortran_tests): New procedure.
2115
469aff8e
MC
21162004-08-17 Michael Chastain <mec.gnu@mindspring.com>
2117
2118 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
2119 reference to bug-gnu@prep.ai.mit.edu.
2120 * gdb.mi/mi-var-child.exp: Likewise.
2121 * gdb.mi/mi-var-cmd.exp: Likewise.
2122 * gdb.mi/mi-var-display.exp: Likewise.
2123 * gdb.mi/mi2-var-block.exp: Likewise.
2124 * gdb.mi/mi2-var-child.exp: Likewise.
2125 * gdb.mi/mi2-var-cmd.exp: Likewise.
2126 * gdb.mi/mi2-var-display.exp: Likewise.
2127
00b51b9f
MK
21282004-08-15 Mark Kettenis <kettenis@gnu.org>
2129
2130 * gdb.base/unload.c (main): Make local variable msg const.
2131
45f07fef
MC
21322004-08-15 Michael Chastain <mec.gnu@mindspring.com>
2133
2134 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
2135 to bug-gnu@prep.ai.mit.edu.
2136 * gdb.mi/mi-disassemble.exp: Likewise.
2137 * gdb.mi/mi-eval.exp: Likewise.
2138 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
2139 default line number.
2140 * gdb.mi/mi-return.exp: Likewise.
2141 * gdb.mi/mi-simplerun.exp: Likewise.
2142 * gdb.mi/mi-stack.exp: Likewise.
2143 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
2144 number with explicit range test.
2145 * gdb.mi/mi-watch.exp: Likewise.
2146 * gdb.mi/mi2-break.exp: Likewise.
2147 * gdb.mi/mi2-cli.exp: Likewise.
2148 * gdb.mi/mi2-disassemble.exp: Likewise.
2149 * gdb.mi/mi2-eval.exp: Likewise.
2150 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
2151 default line number.
2152 * gdb.mi/mi2-return.exp: Likewise.
2153 * gdb.mi/mi2-simplerun.exp: Likewise.
2154 * gdb.mi/mi2-stack.exp: Likewise.
2155 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
2156 number with explicit range test.
2157 * gdb.mi/mi2-watch.exp: Likewise.
2158
dd8c8ee7
MC
21592004-08-15 Michael Chastain <mec.gnu@mindspring.com>
2160
2161 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
2162 * gdb.cp/m-static.exp: Likewise.
2163 * gdb.cp/rtti.exp: Likewise.
2164
4e838464
MK
21652004-08-14 Mark Kettenis <kettenis@gnu.org>
2166
2167 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
2168
8d8cb839
EZ
21692004-08-14 Eli Zaretskii <eliz@gnu.org>
2170
2171 * ChangeLog: Prefix Local Variables with semi-colons and indent
2172 the reference to older ChangeLog files, to fix fontification in
2173 Emacs.
2174
deea8bb0
MC
21752004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2176
2177 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
2178 * gdb.mi/mi2-break.exp: Likewise.
2179
c3297504
MC
21802004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2181
2182 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
2183
25808999
MC
21842004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2185
2186 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
2187
226a8d71
MC
21882004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2189
2190 * gdb.cp/classes.exp: Remove unused declarations. Just let
2191 test names default instead of providing special names. Remove
2192 extraneous demangler test.
2193
37fdf854
JJ
21942004-08-12 Jeff Johnston <jjohnstn@redhat.com>
2195
2196 * gdb.base/unload.exp: New test for breakpoints in dynamically
2197 loaded libraries.
2198 * gdb.base/unload.c: Ditto.
2199 * gdb.base/unloadshr.c: Ditto.
2200
2d3a7986
MC
22012004-08-12 Michael Chastain <mec.gnu@mindspring.com>
2202
2203 * gdb.cp/classes.exp (test_ptype_class_objects): Call
2204 cp_test_ptype_class.
2205 (test_enums): Likewise.
2206
c72b934c
AC
22072004-08-10 Andrew Cagney <cagney@gnu.org>
2208
2209 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
2210 files.
2211
cc503c8a
AC
22122004-08-10 Andrew Cagney <cagney@gnu.org>
2213
2214 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
2215 init_malloc call.
2216
902f2ccb
MC
22172004-08-10 Michael Chastain <mec.gnu@mindspring.com>
2218
2219 * ChangeLog: Add copyright notice. The notice is copied
2220 from emacs 21.3 top level ChangeLog.
2221
78c90502
MC
22222004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2223
2224 * lib/cp-support.exp: New file.
2225 * lib/cp-support.exp (cp_test_type_class): New function.
2226 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
2227 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
2228 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
2229 cp_test_ptype_class.
2230
88e5ea78
MC
22312004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2232
2233 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
2234 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
2235 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
2236 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
2237 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
2238 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
2239 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
2240 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
2241 gdb.mi/mi2-watch.exp: Update copyright years.
2242
6a89fc9c
MK
22432004-08-09 Mark Kettenis <kettenis@gnu.org>
2244
2245 * gdb.base/sigaltstack.exp: Provide proper anchoring.
2246
1482e0de
MC
22472004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2248
2249 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
2250 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
2251 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
2252 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
2253 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
2254 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
2255 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
2256 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
2257 gdb.mi/mi-watch.exp: Update copyright years.
2258
1a5ce3f3
DJ
22592004-08-08 Daniel Jacobowitz <dan@debian.org>
2260
2261 PR gdb/1738
2262 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
2263 from a breakpoint with a pending signal.
2264
04f6ecf2
DJ
22652004-08-08 Daniel Jacobowitz <dan@debian.org>
2266
2267 PR gdb/1736
2268 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
2269 * gdb.base/sigaltstack.exp (finish_test): Consume output until
2270 the prompt.
2271 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
2272
54d90d35
DJ
22732004-08-08 Daniel Jacobowitz <dan@debian.org>
2274
2275 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
2276
d2f6abb0
DJ
22772004-08-08 Daniel Jacobowitz <dan@debian.org>
2278
2279 PR gdb/1736
2280 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
2281 for i?86-*-linux*.
2282
5598c03d
DJ
22832004-08-08 Daniel Jacobowitz <dan@debian.org>
2284
2285 * gdb.arch/i386-prologue.exp: Compile without debug information.
2286
c6fee705
MC
22872004-08-08 Michael Chastain <mec.gnu@mindspring.com>
2288
2289 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
2290 rather than asking gdb to search.
2291
dd90efdb
MC
22922004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2293
2294 * gdb.base/gcore.c: Include <string.h>.
2295
1e84bec1
MC
22962004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2297
2298 * gdb.base/gcore.c: Add copyright notice.
2299
e425eb2b
MC
23002004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2301
2302 * gdb.base/freebpcmd.c: Include <stdio.h>.
2303 * gdb.base/long_long.c: Include <string.h>.
2304 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
2305 * gdb.base/siginfo.c: Include <string.h>.
2306 * gdb.base/sigstep.c: Include <string.h>.
2307
cb9aaed5
MC
23082004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2309
2310 * gdb.base/complex.c: Include <stdlib.h>.
2311
55944f3d
MC
23122004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2313
2314 * gdb.base/complex.c: Add copyright notice.
2315
7b2953d9
MC
23162004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2317
2318 * gdb.base/charset.c: Include <stdlib.h>.
2319
c9133d23
MC
23202004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2321
2322 * gdb.base/auxv.c: Include <stdlib.h>.
2323
0a8490ad
MC
23242004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2325
2326 * gdb.base/auxv.c: Add copyright notice.
2327
3426d5ec
MC
23282004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2329
2330 * gdb.base/coremaker.c: Add copyright notice.
2331 * gdb.base/coremaker2.c: Add copyright notice.
2332
8da195dd
AC
23332004-08-04 Andrew Cagney <cagney@gnu.org>
2334
2335 * gdb.base/store.exp: Update copyright.
2336 (check_set, up_set, check_struct, up_struct): Add a prefix to test
2337 names, do not import gdb_prompt.
2338
8d394f98
AC
23392004-08-01 Andrew Cagney <cagney@gnu.org>
2340
2341 Fix PR testsuite/1729.
2342 * gdb.base/dump.exp: Add test name to callers of capture_value, do
2343 not use capture_value with value 4.
2344 (capture_value): Add optional test name parameter.
2345 (test_reload_saved_value, test_restore_saved_value): Use $msg as
2346 the prefix, pass to capture_value.
2347
b6702b23
MK
23482004-08-01 Mark Kettenis <kettenis@gnu.org>
2349
2350 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
2351 * gdb.arch/i386-prologue.c (standard): New prototype and function.
2352 (main): Call new function.
2353
c203e0ca
MC
23542004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2355
2356 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
2357
a7995a30
MC
23582004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2359
2360 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
2361
9366563b
MC
23622004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2363
b6eeaf26 2364 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
2365 Accept more values of vtbl pointer. Remove some messages
2366 about "obsolete gcc or gdb".
2367
2fc1f950
MC
23682004-07-30 Michael Chastain <mec.gnu@mindspring.com>
2369
2370 * gdb.cp/classes.exp: Accept more varieties of ptype output.
2371
c724d49b
MC
23722004-07-30 Michael Chastain <mec.gnu@mindspring.com>
2373
2374 * gdb.base/asm-source.exp: Properly convert target board
2375 debug flags from gcc format to binutils format.
2376
736b0fce
MK
23772004-07-28 Mark Kettenis <kettenis@gnu.org>
2378
2379 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
2380 gdb1718". PR backtrace/1718 partially fixed.
2381
5633ea5c
JJ
23822004-07-27 Jeff Johnston <jjohnstn@redhat.com>
2383
2384 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
2385
575eebb1
NC
23862004-07-26 Nick Clifton <nickc@redhat.com>
2387
2388 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
2389 good default value for a specific architecture is available then
2390 set it to that value. Otherwise default to the -gstabs switch.
2391 Remove the -g... switches from the asm-flags variable. Allow the
2392 target board info to override the value if it wants to. Pass the
2393 switch on the assembler command line.
2394
62104619
MK
23952004-07-23 Mark Kettenis <kettenis@gnu.org>
2396
2397 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
2398 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
2399 (main): Call new function.
2400
4a1135b8
MC
24012004-07-22 Michael Chastain <mec.gnu@mindspring.com>
2402
2403 Test for PR exp/1715.
2404 * gdb.base/radix.exp: Refactor common procedures. Make all
2405 test names unique. Change XFAIL to KFAIL.
2406
8a12c1f0
MC
24072004-07-20 Michael Chastain <mec.gnu@mindspring.com>
2408
2409 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
2410 * gdb.ada/gnat_ada.gin: ... to here.
2411 * configure.in: Use gnat_ada.gin.
2412 * configure: Regenerate.
2413
23b451cf
AC
24142004-07-20 Andrew Cagney <cagney@gnu.org>
2415
2416 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
2417 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
2418 XFAILs. Clean up test messages and comments. Check backtraces.
2419 Delete re-sync code.
2420
ab618a02
MC
24212004-07-19 Michael Chastain <mec.gnu@mindspring.com>
2422
2423 Fix PR cli/740.
2424 * gdb.base/annota1.exp: Honor gdb,nosignals.
2425 * gdb.base/annota3.exp: Likewise.
2426
46dad340
MC
24272004-07-19 Michael Chastain <mec.gnu@mindspring.com>
2428
2429 * lib/java.exp: Update copyright notice.
2430
756d8c70
AC
24312004-07-19 Andrew Cagney <cagney@gnu.org>
2432
2433 * gdb.base/selftest.exp: Copy file from here ...
2434 * gdb.gdb/selftest.exp: ... to here.
2435
586027e6
AC
24362004-07-16 Andrew Cagney <cagney@redhat.com>
2437
2438 * lib/insight-support.exp: Delete file.
2439 * lib/java.exp (java_init): Fix copyright.
2440
029d2200
AC
24412004-07-16 Andrew Cagney <cagney@gnu.org>
2442
2443 * gdb.base/restore.c: Append "prologue" to comments marking the a
2444 function's prologue.
2445 * gdb.base/restore.exp: Update copyright, re-indent.
2446 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
2447 callerN" prefix where needed. Update patterns that match a
2448 function's prologue.
2449
653b62c5
MC
24502004-07-16 Michael Chastain <mec.gnu@mindspring.com>
2451
2452 * gdb.base/restore.c: Add copyright notice.
2453
f7d690e5
AC
24542004-07-16 Andrew Cagney <cagney@gnu.org>
2455
2456 * gdb.base/logical.exp: Update copyright.
2457 (evaluate): New procedure. Use to re-implement tests using
2458 several tables.
2459
d629a7cb
MH
24602004-07-14 Martin Hunt <hunt@redhat.com>
2461
2462 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
2463 which fixes some problems where init.tcl was not found.
2464
9c7bb332
AC
24652004-07-13 Andrew Cagney <cagney@gnu.org>
2466
6bf46641
AC
2467 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
2468 (check_sizeof, check_valueof): Do not include the output in the
2469 test name. Use gdb_test.
2470 (get_valueof): Use gdb_test_multiple.
2471
c4ffd4c0
AC
2472 * gdb.base/step-test.exp: Update copyright. Use
2473 gdb_test_multiple. Ensure that test names do not include
2474 architecture dependent output.
2475
ab89363a
AC
2476 * gdb.gdb/observer.exp: Update copyright.
2477 (setup_test): Use gdb_test_multiple.
2478 (attach_first_observer, attach_second_observer)
2479 (attach_third_observer, detach_first_observer)
2480 (detach_second_observer, detach_third_observer)
2481 (reset_counters, check_counters): Make $message a prefix.
2482 (test_normal_stop_notifications): Add "args" parameter - a list of
2483 init functions to be called. Make $message a prefix,
2484 (test_observer_normal_stop): Change the message prefixes so that
2485 they are unique, pass the attach / detach procedures to
2486 test_normal_stop_notifications.
2487
ec58997a
AC
2488 * gdb.base/signull.exp (test_segv): Prefix all tests with
2489 "${name}". Clean up test messages.
2490
b475183b
AC
2491 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
2492
9c7bb332
AC
2493 * gdb.base/ena-dis-br.exp: Update copyright.
2494 (break_at): New function. Replace send_gdb with gdb_test,
2495 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
2496 ignore count, not stopped at bpt", with KFAIL.
2497
2dd95497
CV
24982004-07-13 Corinna Vinschen <vinschen@redhat.com>
2499
2500 * gdb.base/attach.exp: Remove cleanupfile handling.
2501
419e626b
AC
25022004-07-12 Andrew Cagney <cagney@gnu.org>
2503
2504 * gdb.base/annota1.exp: Cleanup corefile test name.
2505 * gdb.base/annota3.exp: Ditto.
2506
8b1b3228
AC
25072004-07-12 Andrew Cagney <cagney@gnu.org>
2508
78650829
AC
2509 * gdb.base/signals.exp: Clean up copyright, re-indent.
2510
8b1b3228
AC
2511 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
2512 gdb_test and gdb_test_multiple.
2513
935c2760
JJ
25142004-07-08 Jeff Johnston <jjohnstn@redhat.com>
2515
2516 * gdb.java/jmain.exp: Fix expected line number for main to
2517 break at. Set XFAIL for break at main test since gcj does not
2518 provide line number info for first statement in main.
2519
1544280f
AC
25202004-07-08 Andrew Cagney <cagney@gnu.org>
2521
1279f4ff
AC
2522 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
2523
1544280f
AC
2524 * gdb.base/sigbpt.exp: Make the common part of each test name a
2525 prefix instead of suffix.
2526
bcc82369
BR
25272004-07-07 Bob Rossi <bob_rossi@cox.net>
2528
2529 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
2530 test from test_tbreak_creation_and_listing to
2531 test_file_list_exec_source_file
2532 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
2533 Changed name of test from test_tbreak_creation_and_listing to
2534 test_file_list_exec_source_file
2535
23f4b0aa
JJ
25362004-07-07 Jeff Johnston <jjohnstn@redhat.com>
2537
2538 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
2539 the jmisc() constructor instead of <init>.
2540 * gdb.java/jmisc1.exp: Ditto.
2541
56401cd5
AC
25422004-07-07 Andrew Cagney <cagney@gnu.org>
2543
2544 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
2545 corrupting the PC.
2546
44ae2f6a
MC
25472004-07-06 Michael Chastain <mec.gnu@mindspring.com>
2548
2549 * gdb.cp/templates.exp: Accept whitespace change in demangler
2550 output.
2551
45a83408
AC
25522004-07-06 Andrew Cagney <cagney@gnu.org>
2553
2554 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
2555
d205ad70
MC
25562004-07-02 Michael Chastain <mec.gnu@mindspring.com>
2557
2558 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
2559 * lib/compiler.cc: Likewise.
2560
06ea1a61
MC
25612004-06-30 Michael Chastain <mec.gnu@mindspring.com>
2562
2563 * lib/compiler.cc: Work around string preprocessing problem
2564 with old hp c++ compiler.
2565 * lib/compiler.c: Likewise.
2566
daab1251
CV
25672004-06-29 Corinna Vinschen <vinschen@redhat.com>
2568
2569 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
2570 directives to conditionalize symbol prefixing.
2571 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
2572 additional_flags handling. Add underscore prefix for Cygwin.
2573 * gdb.arch/i386-unwind.c: Use preprocessor directives to
2574 conditionalize symbol prefixing.
2575 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
2576 additional_flags handling. Add underscore prefix for Cygwin.
2577
cc984116
CV
25782004-06-29 Corinna Vinschen <vinschen@redhat.com>
2579
2580 * gdb.base/bigcore.exp: Skip test on Cygwin.
2581
c279b077
MC
25822004-06-28 Michael Chastain <mec.gnu@mindspring.com>
2583
2584 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
2585 formats for "info register". Use gdb_test_multiple. Fix
2586 the "invalid register" test.
2587
0e915747
CV
25882004-06-28 Corinna Vinschen <vinschen@redhat.com>
2589
2590 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
2591 PID for Cygwin. Add Cygwin specific strings to check for in some
2592 tests.
2593 (do_attach_tests): Add a test for user interaction when attaching
2594 to a process with no matching symbol table already loaded.
2595
11422c86
AC
25962004-06-26 Andrew Cagney <cagney@gnu.org>
2597
2598 Test PR java/1567 and PR java/1565.
2599 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
2600 * gdb.java/jmisc2.exp: Delete file.
2601
cefbce26
MC
26022004-06-26 Michael Chastain <mec.gnu@mindspring.com>
2603
2604 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
2605
e19f872c
CV
26062004-06-25 Corinna Vinschen <vinschen@redhat.com>
2607
2608 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
2609 attach process.
2610
d931ba3b
MC
26112004-06-23 Michael Chastain <mec.gnu@mindspring.com>
2612
2613 * gdb.cp/pr-1553.exp: Remove.
2614
aef68c48
MC
26152004-06-22 Michael Chastain <mec.gnu@mindspring.com>
2616
2617 * gdb.cp/pr-1553.cc: Remove.
2618 * gdb.cp/pr-1553.exp: Disable this test.
2619
8d5df71a
JB
26202004-06-20 Jim Blandy <jimb@redhat.com>
2621
2622 Fix PR testsuite/1680.
2623 * gdb.arch/i386-sse.exp: Properly quote curly braces in
2624 regular expressions.
2625
4ac6f39d
MC
26262004-06-19 Michael Chastain <mec.gnu@mindspring.com>
2627
2628 Fix PR testsuite/1679.
2629 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
2630 Issue an UNSUPPORTED result instead.
2631
1b413552
JB
26322004-06-18 Jim Blandy <jimb@redhat.com>
2633
2634 * gdb.base/charset.exp: Only send a control-C if we see a new
2635 prompt and incomplete command.
2636
6daa6ebd
MC
26372004-06-18 Michael Chastain <mec.gnu@mindspring.com>
2638
2639 * gdb.cp/pr-574.cc: Add copyright notice.
2640
51fa4ae0
JB
26412004-06-17 Jim Blandy <jimb@redhat.com>
2642
2643 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
2644 cases where the regexp has no groups; this grabs random text from
2645 the previous test suite, whatever that was.
2646
8fea26c5
MC
26472004-06-17 Michael Chastain <mec.gnu@mindspring.com>
2648
2649 * gdb.cp/printmethod.cc: Add copyright notice.
2650
1e3aeb41
MC
26512004-06-16 Michael Chastain <mec.gnu@mindspring.com>
2652
2653 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
2654
9d9030bc
AC
26552004-06-16 Andrew Cagney <cagney@gnu.org>
2656
2657 * gdb.base/signull.c: Update copyright. Include <string.h>.
2658 (bowler): Replace data_pointer with data_read
2659 and data_write cases. Add code_descriptor case.
2660 (zero, desc): New array and pointer.
2661 (data, code): Change to simple pointers.
2662 * gdb.base/signull.exp: Fix probe pattern matching a function
2663 descriptor SIGSEGV. Replace data_pointer with data_read and
2664 data_write tests.
2665
acd4ad44
AC
26662004-06-16 Andrew Cagney <cagney@gnu.org>
2667
2668 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
2669
08fd625c
MC
26702004-06-15 Michael Chastain <mec.gnu@mindspring.com>
2671
2672 * gdb.base/long_long.c: Add copyright notice.
2673
1903502c
MC
26742004-06-15 Michael Chastain <mec.gnu@mindspring.com>
2675
2676 * gdb.base/long_long.exp: Remove reference to
2677 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
2678 to gdb_breakpoint and gdb_continue_to_breakpoint.
2679
83313cb1
JB
26802004-06-14 Jim Blandy <jimb@redhat.com>
2681
2682 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
2683 endian case.
2684
1bf404ef
AC
26852004-06-14 Andrew Cagney <cagney@gnu.org>
2686
2687 * gdb.base/gcore.exp (capture_command_output): Delete the always
2688 passing tests containing inferior values.
2689 * gdb.base/ending-run.exp: Do not include the breakpoint address
2690 in the test message. Update copyright.
2691 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
2692 size in the test name, use gdb_test_multiple. Update copyright.
2693
ef220b33
MC
26942004-06-14 Michael Chastain <mec.gnu@mindspring.com>
2695
2696 * gdb.cp/ref-types.cc: Add copyright notice.
2697
4f70a4c9
MC
26982004-06-14 Michael Chastain <mec.gnu@mindspring.com>
2699
2700 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
2701 hp_aCC_compiler.
2702 * lib/compiler.cc: Likewise.
2703 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
2704 'set' commands. Log diagnostics for other lines. Set
2705 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
2706
335928ac
MC
27072004-06-13 Michael Chastain <mec.gnu@mindspring.com>
2708
2709 * gdb.cp/try_catch.cc: Add copyright notice.
2710
2efb12e8
MC
27112004-06-12 Michael Chastain <mec.gnu@mindspring.com>
2712
2713 * gdb.cp/userdef.cc: Add copyright notice.
2714
0bbed51a
MC
27152004-06-11 Michael Chastain <mec.gnu@mindspring.com>
2716
2717 * gdb.cp/virtfunc.cc: Add copyright notice.
2718
e12a46c9
RC
27192004-06-11 Randolph Chung <tausq@debian.org>
2720
2721 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
2722 problem.
2723
338e05af
AC
27242004-06-10 Andrew Cagney <cagney@gnu.org>
2725
2726 * lib/compiler.cc, lib/compiler.c: Append either
2727 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
2728 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
2729 instead of gcc-3-3.
2730
dc3f10cb
AC
27312004-06-09 Andrew Cagney <cagney@gnu.org>
2732
b4d946af
AC
2733 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
2734 gdb/1455, bug is specific to "long long" and "double".
2735
dc3f10cb
AC
2736 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
2737 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
2738 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
2739 fixed.
2740
b5c0bfa2
AC
27412004-06-09 Andrew Cagney <cagney@gnu.org>
2742
2743 * gdb.base/structs.exp (test_struct_returns): Replace
2744 "return_value_unknown" and "finish_value_unknown" by
2745 "return_value_known" and "finish_value_known". Instead of
2746 "return_value_unknown" iff "finish_value_unknown", check
2747 "return_value_known" implies "finish_value_known".
2748
caeb605f
MH
27492004-06-08 Martin Hunt <hunt@redhat.com>
2750
2751 * gdb.base/float.exp: Add pattern for mips targets.
2752
c892bb64
RC
27532004-06-08 Randolph Chung <tausq@debian.org>
2754
2755 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
2756 message for unknown architectures more clear.
2757
48306d3e
JB
27582004-06-08 Joel Brobecker <brobecker@gnat.com>
2759
2760 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
2761 start the execution of the program.
2762
83ecb59f
JB
27632004-06-07 Jim Blandy <jimb@redhat.com>
2764
2765 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
2766 * gdb.arch/i386-cpuid.h: New helper file.
2767
55264cb4
RC
27682004-06-07 Randolph Chung <tausq@debian.org>
2769
2770 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
2771 has started.
2772
23cadb28
RM
27732004-06-04 Roland McGrath <roland@redhat.com>
2774
2775 Fix PR gdb/1647.
2776 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
2777 differently to be robust to output buffering differences.
2778
51d01eda
MC
27792004-06-04 Michael Chastain <mec.gnu@mindspring.com>
2780
2781 * gdb.threads/pthreads.exp: Update copyright years.
2782 (check_control_c): Change asynchronous 'after' to synchronous.
2783
f4fc3b93
RM
27842004-06-04 Roland McGrath <roland@redhat.com>
2785
2786 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
2787 next gdb prompt.
2788
4013522b
MC
27892004-06-02 Michael Chastain <mec.gnu@mindspring.com>
2790
2791 Fix PR gdb/1636.
2792 * gdb.threads/manythreads.exp: Change asynchronous 'after'
2793 calls to synchronous.
2794
7a8f1e6b
JB
27952004-05-26 Jim Blandy <jimb@redhat.com>
2796
2797 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
2798
81bb3443
RC
27992004-05-24 Randolph Chung <tausq@debian.org>
2800
2801 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
2802 * gdb.asm/pa.inc: New file.
2803
8f5a3103
MK
28042004-05-22 Mark Kettenis <kettenis@gnu.org>
2805
2806 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
2807
734b8fe8
JB
28082004-05-21 Joel Brobecker <brobecker@gnat.com>
2809 Daniel Jacobowitz <drow@mvista.com>
2810
2811 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
2812 GDB prompt.
2813
725603e1
UW
28142004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2815
f4fc3b93 2816 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
2817 setjmp/longjmp. Use sigaction instead of signal.
2818
8b923272
JB
28192004-05-19 J. Brobecker <brobecker@gnat.com>
2820 Michael Snyder <msnyder@redhat.com>
2821
2822 * gdb.threads/pthread_cond_wait.c: New file.
2823 * gdb.threads/pthread_cond_wait.exp: New testcase.
2824
8bfabb04
AC
28252004-05-13 Andrew Cagney <cagney@redhat.com>
2826
2827 * gdb.base/signull.exp, gdb.base/signull.c: New files.
2828 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
2829
42edda50
AC
28302004-05-11 Andrew Cagney <cagney@redhat.com>
2831
2832 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
2833 fixed but revealed gdb/1639.
2834
d303a6c7
AC
28352004-05-10 Andrew Cagney <cagney@redhat.com>
2836
2837 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
2838 func1" and "next to 2nd alarm", kernel bug avoided.
2839
bf08c2a1
DJ
28402004-05-10 Daniel Jacobowitz <dan@debian.org>
2841
2842 PR external/1568
2843 * gdb.base/bigcore.exp: Check the size of the dumped core file.
2844 XFAIL if it is smaller than bytes_allocated.
2845 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
2846 (main): Make chunks_allocated unsigned. Correct comment.
2847
c0586a34
JB
28482004-05-07 Joel Brobecker <brobecker@gnat.com>
2849
2850 * gdb.arch/powerpc-aix-prologue.c: New file.
2851 * gdb.arch/powerpc-aix-prologue.exp: New file.
2852
f2785d12
JB
28532004-05-07 Jim Blandy <jimb@redhat.com>
2854
2855 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
2856 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
2857
bd7f6e30
JB
28582004-05-06 Joel Brobecker <brobecker@gnat.com>
2859
2860 * gdb.base/sep.exp: No longer setup_kfail when the program was
2861 built with dwarf2.
2862
0a5e7efe
JI
28632004-05-05 Jim Ingham <jingham@apple.com>
2864
2865 * gdb.base/pending.exp: Make sure pending breakpoints
2866 preserve the ignore count.
f4fc3b93 2867
a8958849
MK
28682004-04-27 Jerome Guitton <guitton@gnat.com>
2869
2870 * i386-prologue.exp: Add testcase for jump instruction as first
2871 instruction of the real code.
2872 * i386-prologue.c (jump_at_beginning): New function.
2873
7e103f5b
MK
28742004-04-28 Mark Kettenis <kettenis@gnu.org>
2875
2876 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
2877 x86_64-*-*.
2878
5d38b224
MK
28792004-04-28 Mark Kettenis <kettenis@gnu.org>
2880
2881 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
2882 i*86-*-*.
2883
0ef32fd9
MK
28842004-04-25 Mark Kettenis <kettenis@gnu.org>
2885
2886 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
2887 expression that checks the return type.
2888
71d7dd7c
AC
28892004-04-23 Andrew Cagney <cagney@redhat.com>
2890
2891 * gdb.base/call-sc.exp: New test of scalar call/return values.
2892 * gdb.base/call-sc.c: Ditto.
2893
1e9f977e
JJ
28942004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2895
2896 * gdb.threads/manythreads.c: Reduce thread stack size.
2897
899d9e3a
JJ
28982004-04-23 Jeff Johnston <jjohnstn@redhat.com>
2899
2900 * gdb.threads/manythreads.c: Add copyright notice.
2901
61bcae62
AC
29022004-04-23 Andrew Cagney <cagney@redhat.com>
2903
2904 * gdb.base/siginfo.exp: Better handle step out of signal.
2905 * gdb.base/sigstep.exp: Ditto.
2906
7339a42e
JJ
29072004-04-22 Jeff Johnston <jjohnstn@redhat.com>
2908 Daniel Jacobowitz <drow@mvista.com>
2909
2910 * gdb.threads/manythreads.c: New testcase.
2911 * gdb.threads/manythreads.exp: Ditto.
2912
5c98409b
JB
29132004-04-22 Jim Blandy <jimb@redhat.com>
2914
2915 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
2916 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
2917
3b611f1a
MC
29182004-04-21 Michael Chastain <mec.gnu@mindspring.com>
2919
2920 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
2921
f0fd9238
AC
29222004-04-21 Andrew Cagney <cagney@redhat.com>
2923
2924 * gdb.base/sigstep.c: New file.
2925 * gdb.base/sigstep.exp: New file.
2926
90990674
JB
29272004-04-16 Joel Brobecker <brobecker@gnat.com>
2928
2929 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
2930 call to observer_notify_normal_stop.
2931
78cef34b
AC
29322004-04-15 Andrew Cagney <cagney@redhat.com>
2933
2934 * gdb.base/siginfo.c: New file.
2935 * gdb.base/siginfo.exp: New file.
2936
d2343407
JB
29372004-04-12 J. Brobecker <brobecker@gnat.com>
2938
2939 * gdb.base/sep.exp: Fix typo in comment.
2940
a2dba3c8
JB
29412004-04-12 J. Brobecker <brobecker@gnat.com>
2942
2943 * gdb.base/sep.c: New file.
2944 * gdb.base/sep-proc.c: New file.
2945 * gdb.base/sep.exp: New testcase.
2946
15f7b60e
MK
29472004-04-09 Mark Kettenis <kettenis@gnu.org>
2948
2949 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
2950 support.
2951
44f4de1a
AC
29522004-04-05 Andrew Cagney <cagney@redhat.com>
2953
2954 * gdb.base/sigaltstack.c: New file.
2955 * gdb.base/sigaltstack.exp: New file.
2956
ef04f396
JB
29572004-04-04 Joel Brobecker <brobecker@gnat.com>
2958
2959 * gdb.base/foll-fork.exp: Update the expected output for
2960 "help set follow-fork-mode", to match a change that was made
2961 to the help of this variable on 2004-01-13.
2962
d40d2c92
JB
29632004-04-01 Joel Brobecker <brobecker@gnat.com>
2964
2965 * lib/ada.exp: Add copyright notice.
2966 * bar.ads: Likewise.
2967 * bar.adb: Likewise.
2968 * null_record.adb: Likewise.
2969 * null_record.exp: Likewise.
2970 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
2971
f86ef5a3
JB
29722004-04-01 Joel Brobecker <brobecker@gnat.com>
2973
2974 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
2975 * configure: Regenerate.
2976
414e70e3
JB
29772004-04-01 Joel Brobecker <brobecker@gnat.com>
2978
2979 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
2980 to build the application. Remove the message printed when in
2981 verbose mode, redundant with the UNSUPPORTED message above.
2982
f0aaee49
JB
29832004-03-31 Joel Brobecker <brobecker@gnat.com>
2984
2985 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
2986 * gdb.ada (null_record.exp): New testcase.
2987
ac81cb54
JB
29882004-03-31 Joel Brobecker <brobecker@gnat.com>
2989
2990 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
2991
854af2f7
JB
29922004-03-31 Joel Brobecker <brobecker@gnat.com>
2993
2994 * gdb.ada: New subdirectory.
2995 * gdb.ada/Makefile.in: New file.
2996 * gdb.ada/gnat_ada.gpr.in: New file.
2997
034cb681
JB
29982004-03-31 Joel Brobecker <brobecker@gnat.com>
2999
3000 * lib/ada.exp: New file.
3001
78a1a894
DJ
30022004-03-24 Daniel Jacobowitz <drow@mvista.com>
3003
3004 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
3005 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
3006
4b2b3b3e
AC
30072004-03-22 Andrew Cagney <cagney@redhat.com>
3008
3009 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
3010 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
3011 Problem identified by Ulrich Weigand.
3012
23c73aa3
DC
30132004-03-17 David Carlton <carlton@kealia.com>
3014
3015 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
3016 PR c++/826.
3017
d63a86f8
RM
30182004-03-16 Roland McGrath <roland@redhat.com>
3019
3020 * gdb.base/auxv.exp: New file.
3021 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
3022
0e02aa50
DC
30232004-03-12 David Carlton <carlton@kealia.com>
3024
3025 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
3026 * gdb.cp/pr-1553.cc: Ditto.
3027 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
3028 pass branch.
3029
c20b71be
MC
30302004-03-12 Michael Chastain <mec.gnu@mindspring.com>
3031
3032 * gdb.cp/templates.exp: Accept more template types.
3033
c7414a01
MC
30342004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3035
3036 From Corinna Vinschen with modifications.
3037 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
3038 local variable obj_with_enum.
3039 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
3040 results with obj_with_enum.
3041
ed69573c
MC
30422004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3043
3044 * gdb.cp/classes.cc: New file, copied from misc.cc.
3045 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
3046
28301461
MC
30472004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3048
3049 * gdb.cp/misc.cc: Add copyright notice.
3050
1198ecbe
DC
30512004-03-05 David Carlton <carlton@kealia.com>
3052
3053 * gdb.cp/rtti.exp: Add 'print *obj3' test.
3054 * gdb.cp/rtti.h: Update copyright.
3055 (namespace n2::n3): New.
3056 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
3057 (n2::n3::func3): New.
3058 (main): Call n2::n3::func3.
3059 * gdb.cp/rtti2.cc: Update copyright.
3060 (n2::create3): New.
3061
9e08c470
MK
30622004-03-04 Mark Kettenis <kettenis@gnu.org>
3063
3064 * gdb.asm/openbsd.inc: Fix typo.
3065
4bebc3aa
FF
30662004-03-03 Fred Fish <fnf@redhat.com>
3067
3068 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
3069 "val" instead of unused "size". Update copyright year.
3070
6ea9fb37
DJ
30712004-02-29 Daniel Jacobowitz <drow@mvista.com>
3072
3073 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
3074 to use unsigned char.
3075 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
3076 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
3077
23b23974
DJ
30782004-02-29 Daniel Jacobowitz <drow@mvista.com>
3079
3080 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
3081 line of output.
3082
7574fd53
DJ
30832004-02-28 Daniel Jacobowitz <drow@mvista.com>
3084
3085 * gdb.base/relocate.c (dummy): Initialize.
3086
a195357f
DJ
30872004-02-28 Daniel Jacobowitz <drow@mvista.com>
3088
3089 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
3090 a breakpoint at exit.
3091
72fd54a9
FF
30922004-02-27 Fred Fish <fnf@redhat.com>
3093
3094 * gdb.base/chng-syms.exp: Add expect condition to match failing
3095 case that isn't a timeout.
3096
b9d23137
AC
30972004-02-27 Andrew Cagney <cagney@redhat.com>
3098
3099 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
3100 support.
3101
15d208f6 31022004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 3103
15d208f6
FF
3104 * gdb.arch/gdb1431.c: Remove.
3105 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
3106 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
3107 of "until" incorrectly.
3108
98f9cd2d
JB
31092004-02-26 J. Brobecker <brobecker@gnat.com>
3110
3111 * gdb.cp/class2.cc (empty): New class.
3112 (refer): New function.
3113 (main): Declare an object of type empty and use it.
3114 * gdb.cp/class2.exp: Print the value of an object of type empty.
3115
9b50c11b
JJ
31162004-02-26 Jeff Johnston <jjohnstn@redhat.com>
3117
3118 * gdb.base/langs.exp: Update query string to match the
3119 new nquery format used for pending breakpoints.
3120
0dcd613f
AC
31212004-02-26 Andrew Cagney <cagney@redhat.com>
3122
3123 Fix PR i18n/1570.
3124 * gdb.base/charset.c: Update copyright notice.
3125 (main, init_string): Remove the escape character '\e' tests.
3126 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
3127 * gdb.base/charset.exp (valid_host_charset): Ditto.
3128 * gdb.base/setvar.exp: Ditto.
3129
b8a56647
AC
31302004-02-24 Andrew Cagney <cagney@redhat.com>
3131
90d59e34
AC
3132 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
3133 mmapped data in core file" PASS and FAIL messages consistent.
3134
b8a56647
AC
3135 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
3136 setting a breakpoint. Work around PR java/1565.
3137
9f27c604
JJ
31382004-02-23 Jeff Johnston <jjohnstn@redhat.com>
3139
3140 * lib/gdb.exp (gdb_breakpoint): Update query string to match
3141 new nquery format.
3142 * gdb.base/pending.exp: Ditto.
3143
3224a706
MK
31442004-02-22 Mark Kettenis <kettenis@gnu.org>
3145
3146 * configure.in: Run stabs tests on *BSD.
3147 * configure: Regenerated.
3148
41e0a9ca
MK
31492004-02-21 Mark Kettenis <kettenis@gnu.org>
3150
3151 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
3152
1e1b3428
FF
31532004-02-20 Fred Fish <fnf@redhat.com>
3154
3155 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
3156 blank in test for "returns short", for consistency with other
3157 "returns xxx" tests. Update copyright year.
3158
f9a7572a
FF
31592004-02-19 Fred Fish <fnf@redhat.com>
3160
3161 New testcase for PR breakpoint/1558.
3162 * gdb.arch/gdb1558.exp: New file.
3163 * gdb.arch/gdb1558.c: New file.
3164
b2ce2854
EZ
31652004-02-19 Elena Zannoni <ezannoni@redhat.com>
3166
3167 * gdb.base/nodebug.exp: Fix typo.
3168
e7c9ff01
JB
31692004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3170
3171 Committed by Jim Blandy <jimb@redhat.com>.
3172
62f4b920
JB
3173 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
3174
2db536a1
JB
3175 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
3176
e7c9ff01
JB
3177 * gdb.base/float.exp: Support s390*-*-* targets.
3178
f3205b34
AF
31792004-02-17 Adam Fedor <fedor@gnu.org>
3180
3181 * gdb.base/gdb1555.exp: New file.
3182 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
3183
9d62932d
EZ
31842004-02-17 Elena Zannoni <ezannoni@redhat.com>
3185
3186 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
3187
344c9711
FF
31882004-02-16 Fred Fish <fnf@redhat.com>
3189
3190 * gdb.arch/gdb1291.c: Remove
3191 * gdb.arch/gdb1291.s: New test input file.
3192 * gdb.arch/gdb1291.exp: Expand test to check case that should not
3193 fail. Test for correct result, known incorrect result, other
3194 failures and timeouts.
3195
2d822687
AC
31962004-02-16 Andrew Cagney <cagney@redhat.com>
3197
3198 * gdb.base/bigcore.exp: New file.
3199 * gdb.base/bigcore.c: New file.
3200
dac15b66
AC
32012004-02-13 Andrew Cagney <cagney@redhat.com>
3202
3203 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
3204 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
3205 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
3206 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
3207 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
3208 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
3209 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
3210 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
3211 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
3212 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
3213
6bdfc2c4
JJ
32142004-02-11 Jeff Johnston <jjohnstn@redhat.com>
3215
3216 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
3217 executed is an alloc instruction.
3218
87b3ede8
DC
32192004-02-11 David Carlton <carlton@kealia.com>
3220
3221 * gdb.cp/breakpoint.exp: New.
3222 * gdb.cp/breakpoint.cc: New.
3223
6e19e2bf
MC
32242004-02-11 Michael Chastain <mec.gnu@mindspring.com>
3225
3226 Partial fix for PR gdb/1543.
3227 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
3228 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
3229 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
3230 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
3231 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
3232 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
3233 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
3234 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
3235 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
3236 to bug-gdb@prep.ai.mit.edu .
3237 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
3238 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
3239 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
3240 Likewise.
3241
5c5455dc
AC
32422004-02-10 Andrew Cagney <cagney@redhat.com>
3243
3244 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
3245 using gdb_internal_error_resync.
3246
9cf689d7
DJ
32472004-02-09 Daniel Jacobowitz <drow@mvista.com>
3248
3249 * gdb.threads/thread-specific.exp: Stop early if no threads are
3250 found.
3251
d2dc51db
MC
32522004-02-09 Michael Chastain <mec.gnu@mindspring.com>
3253
3254 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
3255
14b1a056
DJ
32562004-02-08 Daniel Jacobowitz <drow@mvista.com>
3257
3258 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
3259 breakpoints.
3260
83f66e8f
DJ
32612004-02-07 Daniel Jacobowitz <drow@mvista.com>
3262
3263 * config/sim.exp (gdb_load): Handle $arg == "".
3264 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
3265 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
3266
30fc0091
EZ
32672004-02-07 Elena Zannoni <ezannoni@redhat.com>
3268
3269 * gdb.base/maint.exp: Update test to reflect
3270 obstack changes.
3271
4d806929
JJ
32722004-02-04 Jeff Johnston <jjohnstn@redhat.com>
3273
3274 * gdb.base/pendshr.c (pendfunc): New function that calls
3275 pendfunc1.
3276 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
3277
7bfdd688
FF
32782004-02-04 Fred Fish <fnf@redhat.com>
3279
3280 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
3281 function symbols and update copyright years.
3282 * gdb.arch/gdb1291.c: Ditto.
3283
aaa08ee4
MC
32842004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3285
3286 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
3287
dbad7755
MC
32882004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3289
3290 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
3291
ec4646ef
MC
32922004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3293
3294 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
3295
1b802196
FF
32962004-02-02 Fred Fish <fnf@redhat.com>
3297
3298 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
3299 remote targets. Update copyright years.
3300
18fe2033
JJ
33012004-02-02 Jeff Johnston <jjohnstn@redhat.com>
3302
3303 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
3304 support.
3305 * gdb.base/langs.exp: Fix test which attempts to create
3306 breakpoint on non-existent function to handle new pending
3307 support.
3308 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
3309 a breakpoint.
3310 * gdb.base/pending.exp: New test.
3311 * gdb.base/pending.c: New file.
3312 * gdb.base/pendshr.c: Ditto.
3313
8d577d32
DC
33142004-02-02 David Carlton <carlton@kealia.com>
3315
3316 * gdb.cp/overload.exp: Add overloadNamespace tests.
3317 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
3318 (overloadNamespace, XXX): New.
3319 (main): Call XXX::marker2.
3320
3ad13771
FF
33212004-02-01 Fred Fish <fnf@redhat.com>
3322
3323 * gdb.base/dump.exp: Use runto_main instead of "runto main".
3324 * gdb.base/finish.exp: Ditto.
3325 * gdb.base/gcore.exp: Ditto.
3326 * gdb.base/huge.exp: Ditto.
3327 * gdb.base/info-proc.exp: Ditto.
3328 * gdb.base/return2.exp: Ditto.
3329 * gdb.threads/gcore-thread.exp: Ditto.
3330
44c75849
DJ
33312004-02-01 Daniel Jacobowitz <drow@mvista.com>
3332
3333 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
3334
005bc093
MK
33352004-02-01 Mark Kettenis <kettenis@gnu.org>
3336
3337 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
3338 that opening the file succeeds on OpenBSD.
3339
c47cebdb
DJ
33402004-02-01 Daniel Jacobowitz <drow@mvista.com>
3341
3342 * gdb.threads/thread-specific.c: New file.
3343 * gdb.threads/threads-specific.exp: New test script.
3344 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
3345 to expect_out.
3346
5a01311c
MK
33472004-02-01 Mark Kettenis <kettenis@gnu.org>
3348
3349 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
3350 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
3351 only on the "print_small_structs from print_long_arg_list" test.
3352
ce22a4f1
DJ
33532004-02-01 Daniel Jacobowitz <drow@mvista.com>
3354
3355 * gdb.base/completion.exp: Kill a stray backslash.
3356
3357 From Jim Ingham <jingham@apple.com>:
3358 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
3359 agrees with the result from sending a tab.
3360
abbab9d3
DJ
33612004-01-31 Daniel Jacobowitz <drow@mvista.com>
3362
3363 * gdb.base/chng-syms.exp: Remove stray newline.
3364
53904d1e
MK
33652004-01-31 Mark Kettenis <kettenis@gnu.org>
3366
3367 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
3368 *-*-openbsd*.
3369 * gdb.asm/openbsd.inc: New file.
3370
3a4b3aac
MK
33712004-01-30 Mark Kettenis <kettenis@gnu.org>
3372
3373 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
3374 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
3375 *-*solaris2*. Remove commented out default settings for
3376 asm-flags. Replace gdb_compile with target_link.
3377
ebac27b4
MC
33782004-01-29 Michael Chastain <mec.gnu@mindspring.com>
3379
3380 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
3381 for all tests. Remove old hp-ux and cygnus xfail cases.
3382
d8679d84
PH
33832004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
3384
3385 * gdb.base/chng-syms.exp: New file.
3386 * gdb.base/chng-syms.c: New file.
3387
0a55bc22
MC
33882004-01-24 Michael Chastain <mec.gnu@mindspring.com>
3389
3390 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
3391 Provide arms for current output in all my configurations.
3392
94b8e876
MC
33932004-01-24 Michael Chastain <mec.gnu@mindspring.com>
3394
3395 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
3396 * lib/compiler.cc: Likewise.
3397 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
3398 get the right preprocessor. Eval the output directly. Remove
3399 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
3400 hp_f77_compiler and hp_f90_compiler completely.
3401 (gdb_preprocess): Delete.
3402 (get_compiler): Delete.
3403
7cf03d44
MK
34042004-01-24 Mark Kettenis <kettenis@gnu.org>
3405
3406 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
3407 <string.h>.
3408
68b6dce9
NR
34092004-01-24 Nick Roberts <nick@nick.uklinux.net>
3410
3411 * gdb.mi/mi-stack.exp: Update copyright.
3412
b368761e
DC
34132004-01-23 David Carlton <carlton@kealia.com>
3414
3415 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
3416 test for cp_lookup_transparent_type.
3417 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
3418 call them.
3419
f2061b53
DJ
34202004-01-23 Daniel Jacobowitz <drow@mvista.com>
3421
3422 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
3423 after -var-update.
3424
37fc574a
DC
34252004-01-23 David Carlton <carlton@kealia.com>
3426
3427 * gdb.cp/namespace.cc (C::ensureRefs): New.
3428 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
3429
8e94b928
NR
34302004-01-20 Nick Roberts <nick@nick.uklinux.net>
3431
3432 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
3433 case "-stack-list-locals 2".
3434 * gdb.mi/mi-var-child.exp: Test for case
3435 "-var-list-children --all-values NAME".
3436
997b0952
MC
34372004-01-18 Michael Chastain <mec.gnu@mindspring.com>
3438
3439 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
3440
52470da3
MK
34412004-01-18 Mark Kettenis <kettenis@gnu.org>
3442
7049b4b8
MK
3443 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
3444 used with gdb_test_multiple.
3445
52470da3
MK
3446 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
3447 read at address 0. This fixes PR testsuite/1504.
3448
da6012e5
DJ
34492004-01-18 Daniel Jacobowitz <drow@mvista.com>
3450
3451 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
3452 Remove downloading, guessing the host executable, the calls to
3453 gdb_file_cmd and gdb_target_cmd, and "load" support.
3454 (infer_host_exec): New function broken out from gdb_load.
3455 (gdb_load): New wrapper for gdbserver_gdb_load.
3456 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
3457 gdb_target_cmd. Use -target-select.
3458 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
3459 Download binaries to the host. Clear last_mi_remote_file when
3460 we load a new binary.
3461 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
3462 call gdbserver_gdb_load and mi_gdb_target_cmd.
3463
32c70722
MC
34642004-01-17 Michael Chastain <mec.gnu@mindspring.com>
3465
3466 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
3467 type patterns.
3468
b0cecf36
MC
34692004-01-17 Michael Chastain <mec.gnu@mindspring.com>
3470
3471 * gdb.cp/templates.exp: Fix typo in test name of
3472 "print Foo<volatile char*>::foo".
3473
4120d7e6
MC
34742004-01-15 Michael Chastain <mec.gnu@mindspring.com>
3475
3476 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
3477
f679e530
BE
34782004-01-16 Ben Elliston <bje@wasabisystems.com>
3479
3480 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
3481 (clean mostlyclean): Remove empty rm.
3482
091c48f6
MC
34832004-01-15 Michael Chastain <mec.gnu@mindspring.com>
3484
3485 * gdb.base/setvar.exp: Add copyright years.
3486
3e5fc8d2
DC
34872004-01-14 David Carlton <carlton@bactrian.org>
3488
3489 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
3490 PR c++/1511 and update coment.
3491 * gdb.cp/templates.exp: Update patterns to match current output.
3492 If changes involve something other than whitespace, KFAIL
3493 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
3494
63d06c5c
DC
34952004-01-14 David Carlton <carlton@kealia.com>
3496
3497 * gdb.cp/namespace.exp: Add tests involving classes defined within
3498 namespaces.
3499 * gdb.cp/namespace.cc (C::CClass): New.
3500 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
3501
a51dab88
EZ
35022004-01-14 Elena Zannoni <ezannoni@redhat.com>
3503
3504 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
3505 what debug info we have. Print a better message if something goes
3506 wrong while producing the separate debug info file.
3507
a476ccc9
MC
35082004-01-14 Michael Chastain <mec.gnu@mindspring.com>
3509
3510 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
3511
f453692c
MC
35122004-01-14 Michael Chastain <mec.gnu@mindspring.com>
3513
3514 * gdb.base/callfuncs.c: Add copyright notice.
3515
f40063a5
MC
35162004-01-13 Michael Chastain <mec.gnu@mindspring.com>
3517
3518 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
3519 inheritance. PR gdb/1498, PR gcc/13539.
3520
19ac3974
EZ
35212004-01-13 Elena Zannoni <ezannoni@redhat.com>
3522
3523 * gdb.threads/gcore-thread.exp: Prefix name of binary with
3524 test specific name.
3525 * gdb.mi/gdb669.exp: Ditto.
3526 * gdb.mi/mi-pthreads.exp: Ditto.
3527 * gdb.mi/mi1-pthreads.exp: Ditto.
3528 * gdb.mi/mi2-pthreads.exp: Ditto.
3529
56c97c6e
MC
35302004-01-12 Michael Chastain <mec.gnu@mindspring.com>
3531
3532 * gdb.cp/member-ptr.cc: Add copyright notice.
3533
a0644324
MC
35342004-01-12 Michael Chastain <mec.gnu@mindspring.com>
3535
3536 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
3537 some patterns for recent versions of gcc and hpacc. Delete
3538 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
3539 Delete tests that access a NULL pointer-to-member-data. This
3540 script is still disabled for gcc.
3541
32fabe09
EZ
35422004-01-12 Elena Zannoni <ezannoni@redhat.com>
3543
3544 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
3545 escaped correctly.
3546
1f8a6abb
EZ
35472004-01-12 Elena Zannoni <ezannoni@redhat.com>
3548
3549 * gdb.base/sepdebug.exp: New file.
3550 * gdb.base/sepdebug.c: New file.
3551 * lib/gdb.exp (separate_debug_filename): New procedure.
3552 (gdb_gnu_strip_debug): New procedure.
3553
48efe704
AC
35542004-01-12 Andrew Cagney <cagney@redhat.com>
3555
3556 * gdb.mi/ChangeLog: Delete file. Renamed to ...
3557 * gdb.mi/ChangeLog-1999-2003: New file.
3558
a9415475
AC
35592004-01-12 Andrew Cagney <cagney@redhat.com>
3560
3561 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
3562 "Renaming a directory to a non-empty directory returns ENOTEMPTY
3563 or EEXIST", treat EBUSY as an XFAIL.
3564
83b8cf9d
MC
35652004-01-11 Michael Chastain <mec.gnu@mindspring.com>
3566
3567 * gdb.base/scope.exp: Remove obsolete setup_xfail for
3568 hp_cc_compiler.
3569
9939d2a8
MC
35702004-01-10 Michael Chastain <mec.gnu@mindspring.com>
3571
3572 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
3573 decorations.
3574
1ff8cadf
MC
35752004-01-10 Michael Chastain <mec.gnu@mindspring.com>
3576
3577 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
3578 and "(aCC)" decorations. Remove obsolete doco about old
3579 test results.
3580
6fa9022e
MC
35812004-01-09 Michael Chastain <mec.gnu@mindspring.com>
3582
3583 * gdb.cp/exception.exp: Fix typo in doco.
3584
209721fe
MK
35852004-01-09 Mark Kettenis <kettenis@gnu.org>
3586
3587 * gdb.base/gdb1476.exp: Fix typo.
3588
ef11303e
MC
35892004-01-09 Michael Chastain <mec.gnu@mindspring.com>
3590
3591 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
3592 file.
3593
041ab88c
MC
35942004-01-09 Michael Chastain <mec.gnu@mindspring.com>
3595
3596 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
3597 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
3598 Use gdb_compile. Remove restriction on gcc. Add some patterns
3599 for recent version of gdb. Delete second half, which was a copy
3600 of the first half with different build flags. This test is
3601 still disabled because it is still not ready for production.
3602
e36d075a
MC
36032004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3604
3605 * gdb.cp/exception.cc: Add copyright notice.
3606 * gdb.cp/exception.exp: Add a notice that this file is broken
3607 because of line number changes caused by addition of copyright
3608 notice.
3609
42b190ad
MC
36102004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3611
3612 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
3613 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
3614
8f25f06b
MC
36152004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3616
3617 * gdb.cp/classes.exp: Accept gnu abi 2.
3618 * gdb.cp/derivation.exp: Likewise.
3619 * gdb.cp/overload.exp: Likewise.
3620 * gdb.cp/virtfunc.exp: Likewise.
3621
06ded8b8
MC
36222004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3623
3624 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
3625 semicolon after end of function.
3626
77c26ae3
MC
36272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3628
3629 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
3630 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
3631 boilerplate code for compiling and running the program under
3632 test. Add some string method tests.
3633
20757486
MC
36342004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3635
3636 * gdb.cp/bs15503.cc: Add copyright notice.
3637 * gdb.cp/bs15503.exp: Adjust line number.
3638
0fd3b503
MC
36392004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3640
3641 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
3642 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
3643
10d1bea8
MC
36442004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3645
3646 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
3647 hp_cc_compiler.
3648
2789202a
MC
36492004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3650
3651 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
3652 * gdb.cp/ctti.exp: Use the marker instead of "next".
3653 With gcc, run further before bailing.
3654
b862f14c
MC
36552004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3656
3657 * gdb.cp/cttiadd.cc: Add copyright notice.
3658 * gdb.cp/cttiadd1.cc: Likewise.
3659 * gdb.cp/cttiadd2.cc: Likewise.
3660 * gdb.cp/cttiadd3.cc: Likewise.
3661
96da2469
MC
36622004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3663
3664 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
3665 Use gdb_test, gdb_test_multiple. Use floating-point values that
3666 have exact representations in IEEE-ish formats.
3667
053248ff
MC
36682004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3669
3670 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
3671 compilers. Delete duplicate call to get_compiler_info.
3672 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
3673 * gdb.base/volatile.exp: Likewise.
3674
84acecdd
MK
36752004-01-07 Mark Kettenis <kettenis@gnu.org>
3676
3677 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
3678 memory at address 0.
3679
fe11a27f
MC
36802004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3681
3682 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
3683 to test for hp-ux assembler. Fix copyright years.
3684
60ad077b
AC
36852004-01-07 Andrew Cagney <cagney@redhat.com>
3686
3687 * gdb.base/fileio.c (strerrno): Add "EBUSY".
3688
1c9b8f33
AC
36892004-01-07 Andrew Cagney <cagney@redhat.com>
3690
3691 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
3692 when creating the read-only file. From analysis by Roland McGrath
3693 and Elena Zannoni.
3694
753ccc7a
MC
36952004-01-06 Michael Chastain <mec.gnu@mindspring.com>
3696
3697 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
3698
eca3e36b
MC
36992004-01-06 Michael Chastain <mec.gnu@mindspring.com>
3700
3701 * gdb.base/cvexpr.c: Be type-safe with function pointers and
3702 data pointers.
3703
f8d4bac4
MC
37042004-01-06 Michael Chastain <mec.gnu@mindspring.com>
3705
3706 * gdb.cp/m-static.exp: Compile one source file at a time.
3707 Delete unused call to get_compiler_info.
3708
9b4e0f94
MC
37092004-01-06 Michael Chastain <mec.gnu@mindspring.com>
3710
3711 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
3712 * gdb.base/call-rt-st.exp: Likewise.
3713 * gdb.base/nodebug.exp: Likewise.
3714 * gdb.base/volatile.exp: Likewise.
3715 * gdb.cp/ref-types.exp: Likewise.
3716 * gdb.cp/templates.exp: Likewise.
3717
023c1024
MK
37182004-01-05 Mark Kettenis <kettenis@gnu.org>
3719
3720 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
3721
19703c4a
MC
37222004-01-05 Michael Chastain <mec.gnu@mindspring.com>
3723
3724 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
3725 hppa*-hp-hpux*.
3726
18b67037
MK
37272004-01-04 Mark Kettenis <kettenis@gnu.org>
3728
ba6219c8
MK
3729 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
3730 x86_64-*-*.
3731
18b67037
MK
3732 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
3733 sparc64-*-* and sparc*-solaris2*.
3734
1bfbbb9d
MK
37352004-01-04 Mark Kettenis <kettenis@gnu.org>
3736
3737 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
3738 return ${tests}" test. The ${tests} already mentions the
3739 filename.
3740
06846494
MC
37412004-01-02 Michael Chastain <mec.gnu@mindspring.com>
3742
3743 * gdb.cp/local.exp: Accept gcc abi 2.
3744
3b0cb202
MC
37452004-01-02 Michael Chastain <mec.gnu@mindspring.com>
3746
3747 * gdb.cp/templates.exp: Accept gcc abi 2.
3748
0643ec3f
MC
37492004-01-02 Michael Chastain <mec.gnu@mindspring.com>
3750
3751 * lib/compiler.cc: Remove supports_template_debugging.
3752 * gdb.cp/templates.exp: Do not test supports_template_debugging.
3753
d231d0b1
MC
37542004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3755
3756 * gdb.cp/namespace.exp: Accept gcc abi 2.
3757
44ffb27c
MC
37582004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3759
3760 * gdb.cp/method.exp: Accept gcc abi 2.
3761
184ad485
MC
37622004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3763
3764 * gdb.cp/classes.exp: Generate identical results as old version.
3765 * gdb.cp/derivation.exp: Likewise.
3766 * gdb.cp/overload.exp: Likewise.
3767 * gdb.cp/virtfunc.exp: Likewise.
3768
116f09e7
MC
37692004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3770
3771 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
3772 mysterious bug with sourceware version of expect.
3773
b1379776
MC
37742004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3775
3776 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
3777 current versions of gcc, including gcc abi 2. Remove gratuitous
3778 restart of test program. Use gdb_test_multiple and gdb_test for
3779 all tests. Add patterns to xfail missing "const" in "const char *"
3780 and kfail PR gdb/1155.
3781
6b7a4c0e
MC
37822004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3783
3784 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
3785 current versions of gcc, including gcc abi 2. Remove gratuitous
3786 restart of test program. Use gdb_test_multiple and gdb_test for
3787 all tests. Add patterns to kfail PR gdb/1498.
3788
51615d72
MC
37892003-12-31 Michael Chastain <mec.gnu@mindspring.com>
3790
3791 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
3792 current versions of gcc, including gcc abi 2. Use "breakpoint"
3793 and "continue" instead of restarting the target program. Use
3794 gdb_test_multiple and gdb_test for all tests.
3795
7b79a9d7
MK
37962004-01-01 Mark Kettenis <kettenis@gnu.org>
3797
3798 * gdb.asm/asm-source.exp: Update copyright year. Link statically
3799 for *-*-solaris2*.
3800
1cd3489f
MC
38012003-12-31 Michael Chastain <mec.gnu@mindspring.com>
3802
3803 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
3804 current versions of gcc, including gcc abi 2. Use "breakpoint"
3805 and "continue" instead of restarting the target program several
3806 times. Use gdb_test_multiple and gdb_test for all tests.
3807
850742db
MC
38082003-12-18 Michael Chastain <mec.gnu@mindspring.com>
3809
3810 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
3811 source files.
3812
eb4bbda8
MC
38132003-12-16 Michael Chastain <mec.gnu@mindspring.com>
3814
3815 * gdb.base/environ.exp: Handle compiling test case from multiple
3816 source files.
3817
e42c7771
MC
38182003-12-16 Michael Chastain <mec.gnu@mindspring.com>
3819
3820 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
3821
80e4b428
JB
38222003-12-17 Jim Blandy <jimb@redhat.com>
3823
5f06973a
JB
3824 * gdb.base/freebpcmd.c: Add copyright notice.
3825
80e4b428
JB
3826 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
3827
0ab84fb7
MC
38282003-12-16 Michael Chastain <mec.gnu@mindspring.com>
3829
3830 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
3831
1b3bb3d0
JB
38322003-12-13 Jim Blandy <jimb@redhat.com>
3833
3834 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
3835
3a4c9371
KB
38362003-12-12 Kevin Buettner <kevinb@redhat.com>
3837
3838 * gdb.asm/frv.inc: New file.
3839 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
3840
a1dea79a
FF
38412003-12-09 Fred Fish <fnf@redhat.com>
3842
3843 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
3844 functions to break1.c and leave prototypes behind. Add more
3845 "set breakpoint NN here" comments.
3846 * gdb.base/break1.c: New file.
3847
3848 * gdb.base/break.exp: Handle compiling test case from multiple
3849 source files and change source file references as needed.
3850 * gdb.base/completion.exp: Ditto.
3851 * gdb.base/condbreak.exp: Ditto.
3852 * gdb.base/define.exp: Ditto.
3853 * gdb.base/ena-dis-br.exp: Ditto.
3854 * gdb.base/info-proc.exp: Ditto.
3855 * gdb.base/maint.exp: Ditto.
3856 * gdb.base/until.exp: Ditto.
3857
3858 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
3859 hardcoded line numbers.
3860 * gdb.base/define.exp: Ditto.
3861 * gdb.base/ena-dis-br.exp: Ditto.
3862 * gdb.base/maint.exp: Ditto.
3863 * gdb.base/until.exp: Ditto.
3864
3865 * gdb.base/completion.exp: Use "break1" for completion tests since
3866 "break" is no longer a unique prefix.
3867
5266b69c
AC
38682003-12-06 Andrew Cagney <cagney@redhat.com>
3869
3870 * gdb.base/structs.exp (test_struct_returns): When applicable, set
3871 "return_value_unimplemented". When an unimplemented struct return
3872 architecture, report incorrect values as a KFAIL
3873
374451f0
MC
38742003-12-05 Michael Chastain <mec.gnu@mindspring.com>
3875
3876 * gdb.cp/rtti.exp: Accept new wording of warning from
3877 cp_lookup_rtti_type.
3878
ba9b20a7
MC
38792003-12-05 Michael Chastain <mec.gnu@mindspring.com>
3880
3881 Partial fix for PR testsuite/1456.
3882 * gdb.base/scope.exp (test_at_main): Replace references to
3883 gcc_compiled with calls to test_compiler_info.
3884 (test_at_foo): Likewise.
3885 (test_at_bar): Likewise.
3886
b74b6d0b
MC
38872003-12-04 Michael Chastain <mec.gnu@mindspring.com>
3888
3889 Partial fix for PR testsuite/1456.
3890 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
3891 to test_compiler_info.
3892
ccfa3402
MC
38932003-12-03 Michael Chastain <mec.gnu@mindspring.com>
3894
3895 * gdb.base/so-impl-ld.exp: Update copyright notice.
3896
f6246aba
MC
38972003-12-02 Michael Chastain <mec.gnu@mindspring.com>
3898
3899 Partial fix for PR testsuite/1456.
3900 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
3901 to test_compiler_info.
3902
13ae734a
MC
39032003-11-28 Michael Chastain <mec.gnu@mindspring.com>
3904
3905 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
3906 from current versions of gdb. Clean up regular expressions.
3907 Delete redundant timeout case.
3908
d8e1cdee
MC
39092003-11-28 Michael Chastain <mec.gnu@mindspring.com>
3910
3911 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
3912 from current versions of gdb. Clean up regular expressions.
3913 Delete redundant timeout case.
3914
96457b64
MC
39152003-12-01 Michael Chastain <mec.gnu@mindspring.com>
3916
3917 Partial fix for PR testsuite/1456.
3918 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
3919 gcc_compiled with call to test_compiler_info.
3920
f35309fc
MC
39212003-11-30 Michael Chastain <mec.gnu@mindspring.com>
3922
3923 Partial fix for PR testsuite/1456.
3924 * gdb.base/list.exp (test_list_function): Delete unused declaration
3925 of gcc_compiled.
3926
d7afdf9b
MC
39272003-11-29 Michael Chastain <mec.gnu@mindspring.com>
3928
3929 Partial fix for PR testsuite/1456.
3930 * gdb.base/complex.exp: Replace reference to gcc_compiled with
3931 call to test_compiler_info.
3932
71507b56
MK
39332003-11-29 Mark Kettenis <kettenis@gnu.org>
3934
3935 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
3936 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
3937 it to create the appropriate note.inc.
3938 * gdb.asm/asmsrc1.s: Include "note.inc".
3939 * gdb.asm/netbsd.inc: New file.
3940 * gdb.asm/empty.inc: New file.
3941
f81f93f7
MC
39422003-11-28 Michael Chastain <mec.gnu@mindspring.com>
3943
3944 Partial fix for PR testsuite/1456.
3945 * gdb.base/constvars.exp: Replace references to gcc_compiled with
3946 calls to test_compiler_info.
3947
9a77938e
MC
39482003-11-27 Michael Chastain <mec.gnu@mindspring.com>
3949
3950 Partial fix for PR testsuite/1456.
3951 * gdb.base/volatile.exp: Replace references to gcc_compiled with
3952 calls to test_compiler_info.
3953
e8367dc7
MK
39542003-11-27 Mark Kettenis <kettenis@gnu.org>
3955
3956 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
3957 pattern for the KFAILs.
3958
526c61ee
AF
39592003-11-25 Adam Fedor <fedor@gnu.org>
3960
3961 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
3962 * gdb.objc/objcdecode.m: New file.
3963
28f2d600
AF
39642003-11-25 Adam Fedor <fedor@gnu.org>
3965
3966 * gdb.objc/nondebug.exp: Test for PR objc/1236.
3967 * gdb.objc/nondebug.m: New file.
3968
a3895cee
BE
39692003-11-26 Ben Elliston <bje@wasabisystems.com>
3970
3971 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
3972 NetBSD as it does on FreeBSD. Modelled on a similar change by
3973 Mark Kettenis on 2003-05-30.
3974 (link-flags): Set to "--entry _start" regardless of target.
3975 Special linker flags are to be appended to $link-flags.
3976 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
3977
c9f2c8a3
MC
39782003-11-25 Michael Chastain <mec.gnu@mindspring.com>
3979
3980 * gdb.cp/method.exp: Accept output of new demangler.
3981
15a0587a 39822003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
3983
3984 * gdb/class2.exp: New file.
3985 * gdb/class2.cc: New file.
3986
3c00b570
MC
39872003-11-25 Michael Chastain <mec.gnu@mindspring.com>
3988
3989 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
3990 of new demangler.
3991
7027acc7
MK
39922003-11-23 Mark Kettenis <kettenis@gnu.org>
3993
3994 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
3995 of gdb_test "run".
3996
b0e1598a
MK
39972003-11-23 Mark Kettenis <kettenis@gnu.org>
3998
3999 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
4000 "continue" into "run".
4001
4d9eda44
MC
40022003-11-23 Michael Chastain <mec.gnu@mindspring.com>
4003
4004 Partial fix for PR testsuite/1456.
4005 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
4006 call to test_compiler_info.
4007 * gdb.cp/ctti.exp: Likewise.
4008 * gdb.cp/derivation.exp: Likewise.
4009 * gdb.cp/member-ptr.exp: Likewise.
4010 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
4011 reference to gcc_compiled.
4012
40132003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
4014
4015 Fix PR testsuite/1463.
4016 * gdb.base/structs.exp (start_structs_test): Call
4017 get_debug_format before using the debug format.
4018
d422fe19
AC
40192003-11-22 Andrew Cagney <cagney@redhat.com>
4020
4021 * lib/gdb.exp (gdb_test_multiple): Add simple example.
4022 * gdb.base/structs.exp: Use gdb_test_multiple.
4023
039cf96d
AC
40242003-11-20 Andrew Cagney <cagney@redhat.com>
4025
6882279b
AC
4026 * gdb.base/structs.exp: Handle and recover from internal errors.
4027 Replace "foo${n}" with "foo<n>" in test messages.
4028
e53890ae
AC
4029 * gdb.base/structs.exp: Update copyright. Rewrite.
4030 * gdb.base/structs.c: Update copyright. Rewrite.
4031
2b211c59
AC
4032 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
4033 resync count exceeded.
d63a86f8 4034
039cf96d
AC
4035 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
4036 from the internal error.
4037 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
4038 Original from Jim Blandy.
4039 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 4040
eac98b22
AC
40412003-11-19 Andrew Cagney <cagney@redhat.com>
4042
4043 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
4044 KFAIL.
4045
67455b2a
MK
40462003-11-17 Mark Kettenis <kettenis@gnu.org>
4047
4048 New testcase for PR backtrace/1435.
4049 * gdb.arch/i386-unwind.exp: New file.
4050 * gdb.arch/i386-unwind.c: New file.
4051
853d6e5b
AC
40522003-11-17 Andrew Cagney <cagney@redhat.com>
4053
4054 * lib/gdb.exp (compiler_info): New global.
4055 (test_compiler_info): New function.
4056 (get_compiler_info): Set compiler_info.
4057 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
4058 "compiler_info" to gcc-<major>-<minor>.
4059
38cf6e11
MC
40602003-11-15 Michael Chastain <mec.gnu@mindspring.com>
4061
4062 * gdb.trace/configure: Remove.
4063
a50d3602
EZ
40642003-11-13 Elena Zannoni <ezannoni@redhat.com>
4065
4066 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 4067 breakpoints.
a50d3602
EZ
4068 * gdb.base/break.exp: Remove all references to explicit line
4069 numbers.
4070
d9407aaa
NC
40712003-11-11 Nick Clifton <nickc@redhat.com>
4072
4073 * gdb.base/shreloc.exp: Do not run for targets which do not
4074 support shared objects.
4075
db488fc1
CV
40762003-11-10 Corinna Vinschen <vinschen@redhat.com>
4077
4078 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
4079 Don't run tests if nofileio flag is given.
4080
6a90a18e
EZ
40812003-11-07 Elena Zannoni <ezannoni@redhat.com>
4082
4083 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
4084 as well as 'Watchpoint'.
4085
0b915e9c
EZ
40862003-11-06 Elena Zannoni <ezannoni@redhat.com>
4087
4088 Reported by Jim Ingham <jingham@apple.com>:
4089 * gdb.base/annota1.exp: Match at least one occurrence of the
4090 signal handler annotation.
4091
d7e4b55f
EZ
40922003-11-06 Elena Zannoni <ezannoni@redhat.com>
4093
4094 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
4095 as well as 'Watchpoint'.
4096
2fe4e8d0
MC
40972003-11-05 Michael Chastain <mec@shout.net>
4098
4099 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
4100
6ef88553
KW
41012003-11-03 Kris Warkentin <kewarken@qnx.com>
4102
4103 * gdb.arch/gdb1291.c: New test file.
4104 * gdb.arch/gdb1291.exp: New test script.
4105 * gdb.arch/gdb1431.c: New test file.
4106 * gdb.arch/gdb1431.exp: New test script.
4107
ae7dc4d8
MC
41082003-10-22 Michael Chastain <mec@shout.net>
4109
4110 * gdb.mi/pthreads.c: Add copyright notice.
4111
c39d7427
MC
41122003-10-22 Michael Chastain <mec@shout.net>
4113
4114 * gdb.threads/pthreads.c: Add copyright notice.
4115
8b7d96c1
MC
41162003-10-20 Michael Chastain <mec@shout.net>
4117
4118 * gdb.base/gdb1056.exp: New test script.
4119
d1d69fdd
DJ
41202003-10-13 Daniel Jacobowitz <drow@mvista.com>
4121
4122 * gdb.threads/killed.exp: Use gdb_run_cmd.
4123
7d605576
DJ
41242003-10-13 Daniel Jacobowitz <drow@mvista.com>
4125
4126 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
4127 create a core file.
4128 * gdb.threads/gcore-thread.exp: Likewise.
4129
618ec112
CV
41302003-10-13 Corinna Vinschen <vinschen@redhat.com>
4131
4132 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
4133 type, based on char type.
4134 (struct bit_flags_short_t): New bitfield type, based on short type.
4135 (init_bit_flags_char): New fuction.
4136 (init_bit_flags_short): Ditto.
4137 (print_bit_flags_char): Ditto.
4138 (print_bit_flags_short): Ditto.
4139 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
4140
9367a73c
MC
41412003-10-11 Michael Chastain <mec@shout.net>
4142
4143 * gdb.base/call-rt-st.exp: Update copyright year.
4144
1decf120
KI
41452003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
4146
4147 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
4148 * gdb.disasm/sh3.s: Ditto.
4149
5445b2ae
DJ
41502003-10-07 Daniel Jacobowitz <drow@mvista.com>
4151
4152 * gdb.threads/switch-threads.exp: New test.
4153 * gdb.threads/switch-threads.c: New source file.
4154
aec24853
CV
41552003-10-07 Corinna Vinschen <vinschen@redhat.com>
4156
4157 * gdb.base/ending-run.exp: Add sh specific case.
4158
adc7428d
AC
41592003-10-06 Andrew Cagney <cagney@redhat.com>
4160
4161 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
4162 * gdb.disasm/mn10200.exp: Delete obsolete file.
4163
c9d37158
DJ
41642003-09-29 Daniel Jacobowitz <drow@mvista.com>
4165
4166 * ChangeLog: Correct an entry command.exp -> commands.exp.
4167 * gdb.base/commands.exp (bp_deleted_in_command_test)
4168 (temporary_breakpoint_commands): Check noargs.
4169
79c2c32d
DC
41702003-09-25 David Carlton <carlton@kealia.com>
4171
4172 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
4173 of some print tests, where appropriate. Add tests for C::D::cd,
4174 E::ce, F::cXfX, G::XgX.
4175 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
4176
594e6d67
RE
41772003-09-25 Richard Earnshaw <rearnsha@arm.com>
4178
4179 * lib/java.exp (java_init): Import target_alias before using it.
4180
10f0d451
DC
41812003-09-25 David Carlton <carlton@kealia.com>
4182
4183 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
4184
274bcba0
EZ
41852003-09-23 Elena Zannoni <ezannoni@redhat.com>
4186
d63a86f8 4187 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
4188 weirdness.
4189
cdbf20f7
MC
41902003-09-17 Michael Chastain <mec@shout.net>
4191
4192 * gdb.cp/gdb1355.exp: New file.
4193 * gdb.cp/gdb1355.c: New file.
4194
71e06f80
CV
41952003-09-15 Corinna Vinschen <vinschen@redhat.com>
4196
4197 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
4198 * gdb.asm/sh.inc: New file.
4199
5c4e30ca
DC
42002003-09-11 David Carlton <carlton@kealia.com>
4201
bd45b7af
DC
4202 * gdb.cp/namespace.exp: Add tests for namespace types.
4203 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
4204 (test_namespace): New.
4205
1c199746
EZ
42062003-09-11 Elena Zannoni <ezannoni@redhat.com>
4207
4208 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 4209 * gdb.stabs/weird.exp: Ditto.
1c199746 4210
04ed252f
MC
42112003-09-08 Michael Chastain <mec@shout.net>
4212
4213 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
4214
d8a2d9e7
MC
42152003-09-07 Michael Chastain <mec@shout.net>
4216
4217 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
4218 'parse error'.
4219
161afb24
MK
42202003-09-07 Mark Kettenis <m.kettenis@osp.nl>
4221
4222 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
4223
49f2741a
MC
42242003-08-30 Michael Chastain <mec@shout.net>
4225
4226 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
4227 * gdb.gdb/observer.exp: Ditto.
4228 * gdb.gdb/xfullpath.exp: Ditto.
4229
8afa723e
MK
42302003-08-29 Mark Kettenis <kettenis@gnu.org>
4231
4232 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
4233 *-*-*bsd*.
4234
f31dfe3b
JJ
42352003-08-28 Jeff Johnston <jjohnstn@redhat.com>
4236
4237 * gdb.base/dump.exp: Skip for ia64.
4238
4630e498
JJ
42392003-08-25 Jeff Johnston <jjohnstn@redhat.com>
4240
4241 * gdb.asm/asm-source.exp: Add ia64 support.
4242 * gdb.asm/ia64.inc: New file.
4243
1105b7ef
MC
42442003-08-22 Michael Chastain <mec@shout.net>
4245
4246 * gdb.cp: New directory.
4247 * gdb.cp/*: Copy from gdb.c++/*.
4248 * gdb.c++/*: Remove.
4249 * Makefile.in: Change gdb.c++ to gdb.cp.
4250 * configure.in: Ditto.
4251 * configure: Regnerate.
4252
c945b932
MK
42532003-08-18 Mark Kettenis <kettenis@gnu.org>
4254
4255 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
4256 * gdb.arch/i386-prologue.c (gdb1338): Add function.
4257
2b66634b
DJ
42582003-08-17 Daniel Jacobowitz <drow@mvista.com>
4259
4260 * mi-var-display.exp (-var-list-children weird): Accept function
4261 pointers with argument types.
4262 * mi1-var-display.exp (-var-list-children weird): Likewise.
4263 * mi2-var-display.exp (-var-list-children weird): Likewise.
4264
a356f73b
DJ
42652003-08-17 Daniel Jacobowitz <drow@mvista.com>
4266
4267 * gdb.base/annota3.exp: Add missing newline.
4268
483417b8
MC
42692003-08-06 Michael Chastain <mec@shout.net>
4270
4271 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
4272
c99c59c3
MS
42732003-08-12 Michael Snyder <msnyder@redhat.com>
4274
4275 * gdb.base/float.exp: Add test for SH.
4276
55ed7501
MK
42772003-08-10 Mark Kettenis <kettenis@gnu.org>
4278
4279 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
4280
1a371f2e
EZ
42812003-08-07 Elena Zannoni <ezannoni@redhat.com>
4282
4283 * gdb.base/completion.exp: Remove reduntant completion test
4284 on filename.
4285
e0f353ce
EZ
42862003-08-07 Elena Zannoni <ezannoni@redhat.com>
4287
4288 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
4289 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
4290 gdb.trace/save-trace.exp: Make sure that full pathnames are
4291 escaped correctly.
4292
5710a1af 42932003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 4294
5710a1af
EZ
4295 * configure.in: Don't generate config.h from config.hin.
4296 * configure: Regenerate.
4297 * config.hin: Remove file.
4298 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
4299 * gdb.threads/pthreads.c: Ditto.
4300
dcd81ce9
DJ
43012003-08-07 Daniel Jacobowitz <drow@mvista.com>
4302
4303 From Kei Sakamoto <sakamoto.kei@renesas.com>:
4304 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
4305 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
4306 Replace ld24 with seth/add3.
4307
6009d884
AC
43082003-08-02 Andrew Cagney <cagney@redhat.com>
4309
4310 * gdb.base/annota3.exp: New file.
4311 * gdb.base/annota3.c: New file.
4312 * gdb.c++/annota3.exp: New file.
4313 * gdb.c++/annota3.cc: New file.
4314
51514e06
MC
43152003-07-29 Michael Chastain <mec@shout.net>
4316
4317 * gdb.threads/tls.c (spin): Check errno only if sem_wait
4318 actually failed.
4319 (do_pass): Likewise.
4320 * gdb.threads/tls.exp: Always initialize no_of_threads.
4321
4ee6625b
DJ
43222003-07-27 Daniel Jacobowitz <drow@mvista.com>
4323
4324 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
4325 pattern.
4326 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
4327 * gdb.threads/tls.exp: Recognize one case of the host library not
4328 supporting TLS.
4329
225f2bf6
AC
43302003-07-27 Andrew Cagney <cagney@redhat.com>
4331
4332 * gdb.base/fileio.exp: Use SH when running commands using
4333 remote_exec.
4334
bcb27c9f
DJ
43352003-07-24 Daniel Jacobowitz <drow@mvista.com>
4336
4337 From Kei Sakamoto <sakamoto.kei@renesas.com>:
4338 * gdb.base/relocate.c (dummy): New padding array.
4339
3d67be83
MS
43402003-07-22 Michael Snyder <msnyder@redhat.com>
4341
d63a86f8 4342 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
4343
4344 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
4345 patterns to be more general, accepting old and new output.
4346 Some output chars (such as '+') also must be quoted.
d63a86f8 4347 Some addresses are displayed numerically instead of
3d67be83
MS
4348 symbolically.
4349
57ba3b85
MS
43502003-07-23 Michael Snyder <msnyder@redhat.com>
4351
686d097c
MS
4352 * gdb.base/return2.exp: Don't test long-long return.
4353
57ba3b85
MS
4354 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
4355 * gdb.disasm/t01_mov.exp: Ditto.
4356 * gdb.disasm/t02_mova.s: Ditto.
4357 * gdb.disasm/t02_mova.exp: Ditto.
4358 * gdb.disasm/t03_add.s: Ditto.
4359 * gdb.disasm/t03_add.exp: Ditto.
4360 * gdb.disasm/t04_sub.s: Ditto.
4361 * gdb.disasm/t04_sub.exp: Ditto.
4362 * gdb.disasm/t05_cmp.s: Ditto.
4363 * gdb.disasm/t05_cmp.exp: Ditto.
4364 * gdb.disasm/t06_ari2.s: Ditto.
4365 * gdb.disasm/t06_ari2.exp: Ditto.
4366 * gdb.disasm/t07_ari3.s: Ditto.
4367 * gdb.disasm/t07_ari3.exp: Ditto.
4368 * gdb.disasm/t08_or.s: Ditto.
4369 * gdb.disasm/t08_or.exp: Ditto.
4370 * gdb.disasm/t09_xor.s: Ditto.
4371 * gdb.disasm/t09_xor.exp: Ditto.
4372 * gdb.disasm/t10_and.s: Ditto.
4373 * gdb.disasm/t10_and.exp: Ditto.
4374 * gdb.disasm/t11_logs.s: Ditto.
4375 * gdb.disasm/t11_logs.exp: Ditto.
4376 * gdb.disasm/t12_bit.s: Ditto.
4377 * gdb.disasm/t12_bit.exp: Ditto.
4378 * gdb.disasm/t13_otr.s: Ditto.
4379 * gdb.disasm/t13_otr.exp: Ditto.
4380
e00759ef
EZ
43812003-07-22 Elena Zannoni <ezannoni@redhat.com>
4382
4383 * gdb.threads/tls.exp :Add kfail for 'info address' case.
4384
8bc2021f
EZ
43852003-07-22 Elena Zannoni <ezannoni@redhat.com>
4386
4387 * gdb.threads/tls.c : New file.
4388 * gdb.threads/tls.exp : New file.
4389 * gdb.threads/tls-main.c : New file.
4390 * gdb.threads/tls-shared.c : New file.
4391 * gdb.threads/tls-shared.exp : New file.
4392
89320c4c
AS
43932003-07-22 Andreas Schwab <schwab@suse.de>
4394
4395 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
4396
180dea7c
AS
43972003-07-20 Andreas Schwab <schwab@suse.de>
4398
4399 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
4400 due to insn reordering.
4401
0714963c
AC
44022003-07-15 Andrew Cagney <cagney@redhat.com>
4403
4404 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
4405
98a23b3f
MC
44062003-07-15 Michael Chastain <mec@shout.net>
4407
4408 * gdb.base/gdb1250.exp: New file.
4409 * gdb.base/gdb1250.c: New file.
4410
27e417a2
ML
44112003-07-09 Michal Ludvig <mludvig@suse.cz>
4412
4413 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
4414 expansion of size_t to 'unsigned long', not only to 'unsigned'.
4415
8bc2021f
EZ
44162003-07-09 Elena Zannoni <ezannoni@redhat.com>
4417
4418 * gdb.threads/tls.c: New file.
4419 * gdb.threads/tls.exp: New file.
4420 * gdb.threads/tls-main.c: New file.
4421 * gdb.threads/tls-shared.c: New file.
4422 * gdb.threads/tls-shared.exp: New file.
4423
d99968dc
EZ
44242003-07-09 Elena Zannoni <ezannoni@redhat.com>
4425
4426 * gdb.base/annota1.exp: Make sure that we properly escape the
4427 full path of the source file. Xfail more permissive patterns,
d63a86f8 4428 due to a compiler debug info problem.
d99968dc 4429
83876b3b
AS
44302003-07-07 Andreas Schwab <schwab@suse.de>
4431
2705e972
AS
4432 * gdb.asm/m68k.inc: New file.
4433 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
4434
83876b3b
AS
4435 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
4436 arguments"): Also match negative number.
4437
4438 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
4439
3a871b37
DJ
44402003-07-03 Daniel Jacobowitz <drow@mvista.com>
4441
4442 * gdb.base/store.c (charest): New typedef.
4443 (add_char): Rename to add_charest, update.
4444 (wack_char): Rename to wack_charest, update types. Return l + r
4445 to keep r live across the call.
4446 (wack_short, wack_int, wack_long, wack_longest, wack_float)
4447 (wack_double, wack_doublest): Return l + r to keep r live across
4448 the call.
4449 * gdb.base/store.exp: Accomodate store.c changes.
4450
b2a7f303
DC
44512003-06-30 David Carlton <carlton@kealia.com>
4452
4453 * gdb.c++/maint.exp (test_invalid_name): New.
4454 (test_first_component): Add tests for invalid names.
4455
3c6cb4a1
MC
44562003-06-29 Michael Chastain <mec@shout.net>
4457
4458 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
4459 output of '<VTT for class>' for virtual base classes.
4460
f1c2644b
DJ
44612003-06-29 Daniel Jacobowitz <drow@mvista.com>
4462
4463 * gdb.base/completion.exp: Tab-complete "complet" instead of
4464 "compl".
4465 * gdb.base/complex.exp, gdb.base/complex.c: New files.
4466
18080350
DJ
44672003-06-29 Daniel Jacobowitz <drow@mvista.com>
4468
4469 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
4470 * gdb.base/volatile.exp: Likewise.
4471
f56973f8
DJ
44722003-06-29 Daniel Jacobowitz <drow@mvista.com>
4473
4474 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
4475 gdb/1265.
4476
44772003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
4478 Daniel Jacobowitz <drow@mvista.com>
4479
4480 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
4481 initial line count of 'captured_main' from 26 to 32.
4482 (test_with_self): Allow xmalloc call to be interleaved with the
4483 preceding two lines.
4484
e766d4d6
JB
44852003-06-24 Joel Brobecker <brobecker@gnat.com>
4486
4487 * gdb.base/bang.exp: New testcase.
4488
f125c9a4
JB
44892003-06-23 Joel Brobecker <brobecker@gnat.com>
4490
4491 * gdb.base/langs.exp: Add some tests for the "minimal" language
4492 support.
4493
6e25beaf
EZ
44942003-06-23 Elena Zannoni <ezannoni@redhat.com>
4495
4496 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
4497 the testcase.
4498
2f816dda
DJ
44992003-06-22 Daniel Jacobowitz <drow@mvista.com>
4500
4501 * gdb.base/relocate.exp: Test add-symbol-file with a variable
4502 offset.
4503
db5a5748
DJ
45042003-06-22 Daniel Jacobowitz <drow@mvista.com>
4505
4506 * gdb.c++/pr-1210.cc: New file.
4507 * gdb.c++/pr-1210.exp: New file.
4508
1df0c130
DJ
45092003-06-21 Daniel Jacobowitz <drow@mvista.com>
4510
4511 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
4512 000-exec-continue.
4513
a92feac0
MK
45142003-06-15 Mark Kettenis <kettenis@gnu.org>
4515
4516 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
4517 on *-*-*bsd* instead of *-*-freebsd*.
4518
81a58f5b
AC
45192003-06-14 Andrew Cagney <cagney@redhat.com>
4520
4521 * gdb.base/store.exp: Test longest and doublest. Test all
4522 parameters. Weaken return statement match.
4523 * gdb.base/store.c: Add longest and doublest - aka long long and
4524 long double functions. Put all parameters into local register
4525 variables. Use negative values.
4526
b257a0d3
AC
45272003-06-14 Andrew Cagney <cagney@redhat.com>
4528
4529 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
4530 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
4531 exit status.
4532 * gdb.base/fileio.exp: Disable target when nointerrupts and
4533 noinferiorio, instead of limiting it to remote. Use remote_exec
4534 instead of system.
d63a86f8 4535
21c38304
JJ
45362003-06-12 Jeff Johnston <jjohnstn@redhat.com>
4537
4538 * gdb.base/float.exp: Add ia64 support.
4539
1bcdb424
CV
45402003-06-12 Corinna Vinschen <vinschen@redhat.com>
4541
4542 * gdb.base/fileio.exp: Run only on remote targets.
4543
6aeb981f
CV
45442003-06-10 Corinna Vinschen <vinschen@redhat.com>
4545
4546 * gdb.base/fileio.c: New file, testing File-I/O.
4547 * gdb.base/fileio.exp: Ditto.
4548
53df362e
RG
45492003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
4550
4551 * gdb.base/shreloc.exp: New file, check symbol values obtained from
4552 shared objects after relocation at load time (gdb PR/1132).
4553 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
4554 as above, part of the shared object relocation test.
4555
ffee1b46
MK
45562003-06-08 Mark Kettenis <kettenis@gnu.org>
4557
b5ca3722
MK
4558 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
4559 fully filled history list.
4560 * gdb.base/gdb_history: New file.
4561
03ed860d
MK
4562 * gdb.base/signals.exp: XFAIL "continue to func1" on
4563 i*86-*-freebsd*.
4564
ffee1b46
MK
4565 * gdb.base/attach.exp: When trying to attach to a nonexistent
4566 process, make it possible to specify the PID based on the target,
4567 and do so for *-*-freebsd*.
4568
d80dbb52
RH
45692003-06-02 Richard Henderson <rth@redhat.com>
4570
4571 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
4572
6dd77b81
RH
45732003-06-02 Richard Henderson <rth@redhat.com>
4574
4575 * gdb.base/selftest.exp: Next over lim_at_start initialization.
4576
f6347e16
RH
45772003-06-02 Richard Henderson <rth@redhat.com>
4578
4579 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
4580
2c161407
DJ
45812003-06-01 Daniel Jacobowitz <drow@mvista.com>
4582
4583 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
4584 of globalvar.
4585
572eb746
MK
45862003-06-01 Mark Kettenis <kettenis@gnu.org>
4587
4588 * gdb.asm/asm-source.exp: Check for memory read errors in
4589 disassembler test on *BSD too.
4590
9e9617a5
RH
45912003-06-01 Richard Henderson <rth@redhat.com>
4592
4593 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
4594 for .frame.
4595 (gdbasm_call): Lose ldgp.
4596 (gdbasm_startup): Add frame information.
4597 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
4598
7b34ad4e
MK
45992003-05-31 Mark Kettenis <kettenis@gnu.org>
4600
4601 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
4602 i?86-*-*.
4603
10059fdf
MK
46042003-05-30 Mark Kettenis <kettenis@gnu.org>
4605
4606 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
4607 FreeBSD.
4608
acf4b816
RH
46092003-05-29 Richard Henderson <rth@redhat.com>
4610
4611 * gdb.asm/alpha.inc: New file.
4612 * gdb.asm/asm-source.exp: Use it.
4613
e9ecd949
JB
46142003-05-29 Jim Blandy <jimb@redhat.com>
4615
4616 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
4617 'core.PID'.
4618
e3e5a4f3
JB
46192003-05-22 Jim Blandy <jimb@redhat.com>
4620
4621 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
4622 backtrace.
d63a86f8 4623
72fe3d25
DC
46242003-05-20 David Carlton <carlton@math.stanford.edu>
4625
4626 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
4627 this time.
4628
58da2eb2
DC
46292003-05-19 David Carlton <carlton@bactrian.org>
4630
4631 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
4632 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
4633
1fcb5155
DC
46342003-05-19 David Carlton <carlton@bactrian.org>
4635
4636 * gdb.c++/namespace.exp: Add namespace scope and anonymous
4637 namespace tests.
4638 Bump copyright date.
4639 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
4640 (main): Call C::D::marker2.
4641 * gdb.c++/namespace1.cc: New file.
4642
85e85163
JJ
46432003-05-14 Jeff Johnston <jjohnstn@redhat.com>
4644
4645 Roland McGrath <roland@redhat.com>
d63a86f8 4646 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
4647 there is no manager thread.
4648
a25fbfec
JJ
46492003-05-08 Jeff Johnston <jjohnstn@redhat.com>
4650
d63a86f8
RM
4651 * gdb.threads/schedlock.exp: Remove assumption that all threads
4652 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
4653 in one of the child threads rather than the main thread.
4654
be375bae
JB
46552003-05-07 Jim Blandy <jimb@redhat.com>
4656
09bf6082
JB
4657 Add support for assembly source testing on the s390x.
4658 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
4659 architecture.
4660 * gdb.asm/s390x.inc: New file.
4661
be375bae
JB
4662 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
4663 succession of 'if' statements.
4664
00905d52
AC
46652003-05-05 Andrew Cagney <cagney@redhat.com>
4666
4667 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
4668
b1e29e33
AC
46692003-05-05 Andrew Cagney <cagney@redhat.com>
4670
4671 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
4672 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
4673
e33d66ec
EZ
46742003-05-02 Elena Zannoni <ezannoni@redhat.com>
4675
4676 * gdb.base/charset.exp: Update based on new behavior of set/show
4677 charset commands.
4678
2b6fd0d8
AC
46792003-05-01 Andrew Cagney <cagney@redhat.com>
4680
4681 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
4682 variable do not give memory errors.
4683
130cacce
AF
46842003-04-30 Adam Fedor <fedor@gnu.org>
4685
4686 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
4687 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
4688 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
4689 gdb.objc/basicclass.m: : New files
4690
4691 * lib/gdb.exp (gdb_compile_objc): New procedure.
4692
bea71854
DJ
46932003-04-27 Daniel Jacobowitz <drow@mvista.com>
4694
4695 * gdb.base/signals.exp: Make backtrace tests more specific.
4696
0f20eeea
DC
46972003-04-23 David Carlton <carlton@bactrian.org>
4698
4699 * gdb.c++/maint.exp (test_first_component): Add tests for
4700 'operator' in more locations.
4701
c8c4d8dc
KB
47022003-04-16 Kevin Buettner <kevinb@redhat.com>
4703
4704 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
4705
3fe60e3c
EZ
47062003-04-16 Elena Zannoni <ezannoni@redhat.com>
4707
4708 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
4709 func marke' instead. Update test name.
4710
9219021c
DC
47112003-04-15 David Carlton <carlton@math.stanford.edu>
4712
4713 * gdb.c++/maint.exp: New file.
4714
5dd55bdd
EZ
47152003-04-14 Elena Zannoni <ezannoni@redhat.com>
4716
4717 * gdb.threads/schedlock.c: Change type of thread function argument
4718 to long, to avoid warnings on 64-bit platforms.
4719
00890572
EZ
47202003-04-14 Elena Zannoni <ezannoni@redhat.com>
4721
4722 * gdb.base/attach.exp: Add new message from ptrace in case of
4723 attaching to nonexistent process.
d63a86f8 4724
93201743
JB
47252003-04-11 Jim Blandy <jimb@redhat.com>
4726
4727 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
4728 gdb.c++/userdef.cc: Place comments on the lines to which the
4729 marker function might return.
4730 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
4731 gdb.c++/userdef.exp: Look for those comments to check that we've
4732 returned to the right place, instead of checking line numbers.
4733
2a11c64d
EZ
47342003-04-11 Elena Zannoni <ezannoni@redhat.com>
4735
4736 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
4737 match on sourcefile name, instead of directory name.
4738
68ab8fc5
EZ
47392003-04-10 Elena Zannoni <ezannoni@redhat.com>
4740
d63a86f8 4741 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
4742 working directory name.
4743
5624293a
JB
47442003-04-09 Jim Blandy <jimb@redhat.com>
4745
4746 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
4747 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
4748 after an inferior function call, report the failure, but allow the
4749 test to continue.
4750
f1f02ee4
SC
47512003-04-05 Stephane Carrez <stcarrez@nerim.fr>
4752
4753 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
4754 with -DPROTOTYPES.
4755
6eb79af0
SC
47562003-04-05 Stephane Carrez <stcarrez@nerim.fr>
4757
4758 * gdb.base/break.exp: Revert last patch.
4759
8dfb4cf0
SC
47602003-04-04 Stephane Carrez <stcarrez@nerim.fr>
4761
4762 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
4763 with -DPROTOTYPES.
4764
ed4c619a
AC
47652003-04-02 Andrew Cagney <cagney@redhat.com>
4766
4767 * gdb.base/callfuncs.exp: Make "print add" messages unique.
4768 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
4769 matching directories by the name breakpoint.
4770 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
4771 Make "continue to marker1" consistent.
4772 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
4773 message consistent.
4774 * lib/gdb.exp: Put "the program is no longer running", and "the
4775 program exited" in parenthesis.
4776 * lib/mi-support.exp: Ditto.
d63a86f8 4777
4e35d5f0 47782003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 4779
4e35d5f0
BR
4780 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
4781
71900fe8
AC
47822003-03-29 Andrew Cagney <cagney@redhat.com>
4783
4784 * gdb.base/sizeof.c (main): Print the value of '\377'.
4785 * gdb.base/sizeof.exp: Check the sign of '\377'.
4786
c0655a16
MC
47872003-03-27 Michael Chastain <mec@shout.net>
4788
4789 * gdb.base/gdb1090.exp: New file.
4790 * gdb.base/gdb1090.cc: New file.
4791
5b2a3989
JB
47922003-03-27 J. Brobecker <brobecker@gnat.com>
4793
4794 * gdb.gdb/observer.exp: New regression test.
4795
79876890
MC
47962003-03-27 Michael Chastain <mec@shout.net>
4797
4798 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
4799 * gdb.base/ptype.exp: Likewise.
4800
6eac95e3
CV
48012003-03-27 Corinna Vinschen <vinschen@redhat.com>
4802
4803 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
4804
e8c71839
MC
48052003-03-26 Michael Chastain <mec@shout.net>
4806
4807 * gdb.base/ptype.exp: Actually use some typedef'd types.
4808
71b10041
SC
48092003-03-21 Stephane Carrez <stcarrez@nerim.fr>
4810
4811 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
4812 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
4813
2512cf80
CV
48142003-03-20 Corinna Vinschen <vinschen@redhat.com>
4815
4816 * gdb.base/default.exp: Fix regular expression.
4817
0d195a4f
CV
48182003-03-20 Corinna Vinschen <vinschen@redhat.com>
4819
4820 * gdb.base/args.exp: Fix regular expression.
4821
8a2dbca8
CV
48222003-03-20 Corinna Vinschen <vinschen@redhat.com>
4823
4824 * gdb.base/help.exp: Allow Win32 child process.
4825
bf028682
CV
48262003-03-20 Corinna Vinschen <vinschen@redhat.com>
4827
4828 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
4829 when stepping out of main().
4830
182dbe85
CV
48312003-03-20 Corinna Vinschen <vinschen@redhat.com>
4832
4833 * gdb.base/default.exp: Check for win32 specific message when calling
4834 "run" without executable.
4835
d67a6ba5
CV
48362003-03-20 Corinna Vinschen <vinschen@redhat.com>
4837
4838 * gdb.base/args.exp: Expect .exe in output.
4839
a955b5bb
CV
48402003-03-20 Corinna Vinschen <vinschen@redhat.com>
4841
4842 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
4843 Cygwin native.
4844
bf6bad4b
AC
48452003-03-17 Andrew Cagney <cagney@redhat.com>
4846
4847 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
4848 vector registes.
4849 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
4850 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
4851
293e9a31
DC
48522003-03-17 David Carlton <carlton@math.stanford.edu>
4853
4854 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
4855 test, for PR breakpoints/38.
4856 Call test_watchpoint_and_breakpoint.
4857 * gdb.base/watchpoint.c (func3): New function.
4858 (main): Call func3.
4859
5330f2db
DC
48602003-03-04 David Carlton <carlton@math.stanford.edu>
4861
4862 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
4863 Garply<Garply<char> >:: garply".
4864 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
4865 with respect to PR c++/1111; note also PR c++/1113.
4866 (test_template_breakpoints): KFAIL "constructor breakpoint" with
4867 respect to PR c++/1062.
4868 KFAIL "destructor breakpoint" with respect to PR c++/1112.
4869
6ece72da
DC
48702003-03-03 David Carlton <carlton@math.stanford.edu>
4871
4872 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
4873 with respect to PR c++/57.
4874 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
4875 c++/826.
4876 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
4877 respect to PR c++/57.
4878
85ca1584
DC
48792003-03-03 David Carlton <carlton@math.stanford.edu>
4880
4881 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
4882 respect to PR c++/33 into FAILs.
4883
98e9c5b8
MC
48842003-03-03 Michael Chastain <mec@shout.net>
4885
7bedbf27
MC
4886 * configure.in: Update copyright years.
4887
48882003-03-03 Michael Chastain <mec@shout.net>
4889
4890 * Makefile.in: Update copyright years.
98e9c5b8 4891
f683e100
DC
48922003-02-28 David Carlton <carlton@math.stanford.edu>
4893
4894 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
4895 print class instead of struct and/or superfluous protection
4896 specifiers, as long as the resulting output is equivalent to the
4897 source code.
4898 Delete FIXME from end of messages on tests that don't need
4899 fixing.
4900
a9e0cf2c
DC
49012003-02-28 David Carlton <carlton@math.stanford.edu>
4902
4903 * gdb.c++/templates.exp (do_tests): Allow const in the two
4904 Foo<volatile char *>::foo tests.
4905
e8d359df
MS
49062003-02-27 Michael Snyder <msnyder@redhat.com>
4907
d63a86f8 4908 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
4909 will be consistant.
4910
0b71dc91
DC
49112003-02-26 David Carlton <carlton@math.stanford.edu>
4912
4913 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
4914 char *>::foo" test with respect to PR c++/33. Create a new test
4915 which is identical to that one except that it doesn't put the
4916 space between the "char" and the "*"; KFAIL it, too.
4917
dd14ab43
DC
49182003-02-26 David Carlton <carlton@math.stanford.edu>
4919
4920 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
4921 template types into either PASSes or KFAILs (corresponding to PR
4922 c++/57). Tweak indentation. Update copyright.
4923
1146c7f1
SC
49242003-02-23 Stephane Carrez <stcarrez@nerim.fr>
4925
4926 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
4927
74641dfb
MC
49282003-02-13 Michael Chastain <mec@shout.net>
4929
4930 * gdb.base/exprs.exp: Remove i960 remnants.
4931 * gdb.base/funcargs.exp: Likewise.
4932 * gdb.base/list.exp: Likewise.
4933 * gdb.base/ptype.exp: Likewise.
4934
559cd2d0
DC
49352003-02-14 David Carlton <carlton@math.stanford.edu>
4936
4937 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
4938 pEe->D::vg()" from XFAIL to KFAIL.
4939
c4f90d87
JM
49402003-02-13 Jason Molenda (jmolenda@apple.com)
4941
4942 * gdb.base/maint.exp: Update maint print statistics regexp to include
4943 new entries.
4944
cbc4d97c
MC
49452003-02-13 Michael Chastain <mec@shout.net>
4946
4947 * gdb.c++/inherit.exp: Remove call to get_debug_format.
4948
40f235b7
MC
49492003-02-12 Michael Chastain <mec@shout.net>
4950
4951 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
4952 * gdb.c++/inherit.exp: Likewise.
4953 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
4954 * gdb.c++/templates.exp: Likewise.
4955 * gdb.c++/virtfunc.exp: Likewise.
4956
c56716b0
JM
49572003-02-06 Jason Molenda (jason-cl@molenda.com)
4958
4959 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
4960 why the code is written that way.
4961
070afcf8
MC
49622003-02-05 Michael Chastain <mec@shout.net>
4963
4964 * gdb.base/dump.exp: Add missing copyright line.
4965
5d0331e5
JM
49662003-02-05 Jason Molenda (jason-cl@molenda.com)
4967
f7ae6d3e 4968 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
4969 at the beginning so the breakpoint doesn't get set on the loop.
4970
92851186
MC
49712003-02-05 Michael Chastain <mec@shout.net>
4972
4973 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
4974 output for configurations with gcc 2.95.3.
4975
cbf1e085
AC
49762003-02-05 Keith Seitz <keiths@redhat.com>
4977 Andrew Cagney <ac131313@redhat.com>
4978
4979 * gdb.mi/mi-cli.exp: New file.
d63a86f8 4980
29518e1e
MC
49812003-02-04 Michael Chastain <mec@shout.net>
4982
4983 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
4984 Call perror and then continue.
4985
5af1d5f3
MC
49862003-02-03 Michael Chastain <mec@shout.net>
4987
4988 * gdb.c++/pr-1023.cc: New file.
4989 * gdb.c++/pr-1023.exp: New file.
4990
6b549786
JB
49912003-02-05 Jim Blandy <jimb@redhat.com>
4992
4993 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
4994 it's local to foobar. Check for it there, and check that it's not
4995 present in main.
4996 * gdb.c++/local.cc (marker2): New function.
4997 (foobar): Call marker1.
4998 (main): Call marker2 instead of marker1.
4999
67f16606
AC
50002003-02-04 Andrew Cagney <ac131313@redhat.com>
5001
5002 * gdb.disasm/mn10200.exp: Obsolete file.
5003 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
5004 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
5005 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
5006
1c5cb38e
DC
50072003-02-04 David Carlton <carlton@math.stanford.edu>
5008
5009 * gdb.c++/overload.exp: Test intToChar(1).
5010 * gdb.c++/overload.cc (intToChar): New.
5011 (main): Call intToChar.
5012
d1fe6965
DC
50132003-02-03 David Carlton <carlton@math.stanford.edu>
5014
5015 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
5016 'might_kfail' arg.
5017 KFAIL some of the continue_to_bp_overloaded calls, according to
5018 PR c++/1025.
5019
9ba61c5d
MC
50202003-02-01 Michael Chastain <mec@shout.net>
5021
5022 * gdb.base/advance.c (marker1): New marker function.
5023 * gdb.base/advance.exp: When the 'advance' command lands on the
5024 return breakpoint, it can legitimately stop on either the
5025 current line or the next line. Accommodate both outcomes.
5026 * gdb.base/until.exp: Likewise.
5027
e7494ffb
AC
50282003-02-02 Andrew Cagney <ac131313@redhat.com>
5029
5030 2002-11-10 Jason Molenda (jason-cl@molenda.com):
5031 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
5032 now a list, not a tuple.
5033 * gdb.mi/mi-var-display.exp: Ditto.
5034 * gdb.mi/gdb792.exp: Ditto.
5035
075559bc
AC
50362003-02-01 Andrew Cagney <ac131313@redhat.com>
5037
5038 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
5039 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
5040 stack backtraces.
5041 * gdb.mi/mi-syn-frame.c: Part of same.
5042
2bd4c7b1
MK
50432003-02-01 Mark Kettenis <kettenis@gnu.org>
5044
5045 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
5046 gdb.mi/mi1-pthreads.exp: Return instead of calling
5047 gdb_suppress_entire_file.
5048
eabd8992
MS
50492003-02-01 Mark Salter <msalter@redhat.com>
5050
5051 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
5052
71469e2f
MS
50532003-01-31 Mark Salter <msalter@redhat.com>
5054
5055 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
5056 Support empty arg.
5057
38a94d44
MC
50582003-01-30 Michael Chastain <mec@shout.net>
5059
5060 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
5061 This was a workaround for a UTF-8 bug in readline 4.3. The bug
5062 has been fixed in gdb/readline on 2003-01-09.
5063
19ea9e73
MS
50642003-01-29 Michael Snyder <msnyder@redhat.com>
5065
e8d359df
MS
5066 * gdb.base/maint.exp: Allow for leading underscore in symbol.
5067 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
5068 * gdb.base/args.exp: Skip if target does not support args passing.
5069
2307bd6a
DJ
50702003-01-22 Daniel Jacobowitz <drow@mvista.com>
5071
19ea9e73 5072 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
5073 gdb_test. Accept a list of expect arguments as the third
5074 parameter.
5075 (gdb_test): Use it.
5076
f2dd3617
EZ
50772003-01-20 Elena Zannoni <ezannoni@redhat.com>
5078
5079 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
5080 allow for different test tree configurations. Update some
5081 tescases accordingly.
5082 * gdb.arch/altivec-regs.exp: Ditto.
5083 * gdb.asm/asm-source.exp: Ditto.
5084 * gdb.base/advance.exp: Ditto.
5085 * gdb.base/display.exp: Ditto.
d63a86f8 5086 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
5087 * gdb.base/mips_pro.exp: Ditto.
5088 * gdb.base/overlays.exp: Ditto.
5089 * gdb.base/relocate.exp: Ditto.
5090 * gdb.base/setshow.exp: Ditto.
5091 * gdb.base/step-line.exp: Ditto.
5092 * gdb.base/step-test.exp: Ditto.
5093 * gdb.base/until.exp: Ditto.
5094 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
5095
c71cdefd
DC
50962003-01-17 David Carlton <carlton@math.stanford.edu>
5097
5098 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
5099 corresponding to PR c++/945.
5100 Update copyright.
5101
fdba05d7
DC
51022003-01-17 David Carlton <carlton@math.stanford.edu>
5103
5104 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
5105 corresponding to PR c++/68.
5106
51072003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
5108
5109 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
5110 (test_paddr_hairy_functions): Call print_addr_2_kfail for
5111 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
5112
c362c33a
EZ
51132003-01-15 Elena Zannoni <ezannoni@redhat.com>
5114
0fbc361c
EZ
5115 * gdb.base/break.exp: Fix change of default location, because of
5116 removal of until tests.
5117 * gdb.base/help.exp: Update test for new 'until' help message.
5118 Add test for help on 'advance'.
c362c33a
EZ
5119 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
5120
dabf8a35
MK
51212003-01-15 Mark Kettenis <kettenis@gnu.org>
5122
5123 * gdb.base/default.exp: Adapt "info float" test for recent changes
5124 to that command. Add test for "info vector".
5125 * gdb.base/float.exp: New file. Add test for "info float" that
5126 resembles the old test in gdb.base/default.exp.
5127
a1769aca
DC
51282003-01-15 David Carlton <carlton@math.stanford.edu>
5129
5130 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
5131
82025e13
EZ
51322003-01-15 Elena Zannoni <ezannoni@redhat.com>
5133
5134 * gdb.base/break.exp: Move the tests of until command from here...
5135 * gdb.base/until.exp: ... to here. New file. Add other tests.
5136 * gdb.base/advance.c: New file.
5137 * gdb.base/advance.exp: New file.
5138
8f9ab801
EZ
51392003-01-14 Elena Zannoni <ezannoni@redhat.com>
5140
5141 * gdb.base/args.c: New file.
5142 * gdb.base/args.exp: New file.
5143
9ae66589
DJ
51442003-01-14 Daniel Jacobowitz <drow@mvista.com>
5145
5146 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
5147
8d77e5c3
DJ
51482003-01-14 Daniel Jacobowitz <drow@mvista.com>
5149
5150 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
5151
12d2f0a1
DJ
51522003-01-14 Daniel Jacobowitz <drow@mvista.com>
5153
5154 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
5155 dates.
5156
6ca37014
DJ
51572003-01-13 Daniel Jacobowitz <drow@mvista.com>
5158
5159 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
5160
b0023472
DJ
51612003-01-13 Daniel Jacobowitz <drow@mvista.com>
5162
5163 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
5164 (ptype &*"foo").
5165 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
5166
607fbc54 51672003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
5168
5169 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
5170 * gdb.mi/mi1-console.exp: Likewise.
5171
607fbc54 51722003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
5173
5174 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
5175 * gdb.mi/mi1-console.exp: Likewise.
5176
a1fb14a2
DJ
51772003-01-13 Daniel Jacobowitz <drow@mvista.com>
5178
5179 * gdb.c++/overload.exp: Remove some fixed XFAILs.
5180
c4cf40b7
DJ
51812003-01-09 Daniel Jacobowitz <drow@mvista.com>
5182
5183 * gdb.base/detach.exp: New test.
5184
696d5a5b
DJ
51852003-01-09 Daniel Jacobowitz <drow@mvista.com>
5186
5187 * Makefile.in (ALL_SUBDIRS): New variable.
5188 (subdirs, clean, distclean): Use it.
5189 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
5190 regenerating Makefile, since it is generated from the top level.
5191 * gdb.asm/Makefile.in: Likewise.
5192 * gdb.base/Makefile.in: Likewise.
5193 * gdb.c++/Makefile.in: Likewise.
5194 * gdb.disasm/Makefile.in: Likewise.
5195 * gdb.java/Makefile.in: Likewise.
5196 * gdb.mi/Makefile.in: Likewise.
5197 * gdb.threads/Makefile.in: Likewise.
5198 * gdb.trace/Makefile.in: Likewise.
5199
754533e4
DC
52002003-01-09 David Carlton <carlton@math.stanford.edu>
5201
5202 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
5203 Add copyright year 2003.
5204
d8b3e9ee
MC
52052003-01-06 Michael Chastain <mec@shout.net>
5206
5207 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
5208 When selecting a thread, 'line' and 'file' are optional.
5209 * gdb.mi/mi1-pthreads.exp: Likewise.
5210
8e9e0fe6
AS
52112003-01-06 Andreas Schwab <schwab@suse.de>
5212
5213 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
5214 failures.
5215
b5ab8ff3
DJ
52162003-01-04 Daniel Jacobowitz <drow@mvista.com>
5217
5218 Fix PR gdb/844
5219 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
5220 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
5221
5222 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
5223 instead of calling gdb_suppress_entire_file.
5224 * gdb.threads/print-threads.exp: Likewise.
5225 * gdb.threads/schedlock.exp: Likewise.
5226
5227 * gdb.threads/killed.exp: Return instead of calling
5228 gdb_suppress_entire_file.
5229 * gdb.threads/linux-dp.exp: Likewise.
5230 * gdb.threads/pthreads.exp: Likewise.
5231
1e698235
DJ
52322003-01-04 Daniel Jacobowitz <drow@mvista.com>
5233
5234 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
5235 stabs.
5236 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
5237 * gdb.base/whatis.exp: Always allow (void) after function names.
5238
147ff08c
DJ
52392003-01-04 Daniel Jacobowitz <drow@mvista.com>
5240
5241 * gdb.c++/casts.exp: Correct regexp.
5242
dc62bfc2
MK
52432003-01-04 Mark Kettenis <kettenis@gnu.org>
5244
5245 * configure.in: Call AC_CONFIG_HEADER. Don't call
5246 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
5247 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
5248 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
5249 aforementioned directories in the AC_OUPUT call.
5250 * config.hin: New file.
5251 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
5252 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
5253 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
5254 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
5255 pass -I$objdir instead of -I$objdir/$subdir in compilation.
5256 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
5257 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
5258 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
5259 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
5260 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
5261 gdb.threads/configure.in, gdb.threads/configure,
5262 gdb.threads/config.in, gdb.trace/configure.in,
5263 gdb.trace/configure: Removed.
5264
77afa639
MC
52652003-01-03 Michael Chastain <mec@shout.net>
5266
5267 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
5268 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
5269
7634bb6e
DJ
52702003-01-03 Daniel Jacobowitz <drow@mvista.com>
5271
5272 * gdb.base/store.exp: Fix regular expressions.
5273
b39c905e
MK
52742002-12-28 Mark Kettenis <kettenis@gnu.org>
5275
5276 * configure.in: Rewrite.
5277 * configure: Regenerated.
5278
0a8551dd
DC
52792003-01-03 David Carlton <carlton@math.stanford.edu>
5280
5281 * gdb.base/psymtab.exp: New file.
5282 * gdb.base/psymtab1.c: Ditto.
5283 * gdb.base/psymtab2.c: Ditto.
5284
c60b7188
AF
52852002-12-23 Adam Fedor <fedor@gnu.org>
5286
5287 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
5288
ee73db83
DC
52892002-12-23 David Carlton <carlton@math.stanford.edu>
5290
5291 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
5292 and current_directory initialization.
5293
d6c1774e
JB
52942002-12-22 Jim Blandy <jimb@redhat.com>
5295
f0a847b8
JB
5296 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
5297 rather than as part of the output file name.
5298
d6c1774e
JB
5299 * gdb.base/attach.exp: There's no need to copy the test program to
5300 /tmp; that was only ever necessary on HP/UX, and this test is
5301 entirely disabled there anyway.
5302
f0708dbb
JB
53032002-12-21 Jim Blandy <jimb@redhat.com>
5304
4c2acfea
JB
5305 * gdb.c++/psmang.exp: Doc fix.
5306
f0708dbb
JB
5307 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
5308 test.
5309
9579e000
DC
53102002-12-20 David Carlton <carlton@math.stanford.edu>
5311
5312 * gdb.c++/annota2.exp: KFAIL annotate-quit.
5313
d1810171
MC
53142002-12-18 Michael Chastain <mec@shout.net>
5315
5316 * gdb.c++/annota2.exp: Add copyright year 2002.
5317
76565097
DC
53182002-12-17 David Carlton <carlton@math.stanford.edu>
5319
5320 * gdb.c++/try_catch.cc: Add marker comments.
5321 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
5322 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
5323 * gdb.c++/m-static.cc: Ditto.
5324 * gdb.c++/m-static1.cc: Ditto.
5325 * gdb.c++/try_catch.cc: Ditto.
5326
da81390b
JJ
53272002-12-16 Jeff Johnston <jjohnstn@redhat.com>
5328
5329 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
5330 to see whether we are using the new -environment-directory
5331 command which resets via -r or the old version of the command
5332 which may prompt the user. Part of fix for gdb/741.
5333
b304d130
AC
53342002-12-13 Andrew Cagney <ac131313@redhat.com>
5335
5336 * gdb.fortran/types.exp: Update obsolete comment.
5337 * gdb.fortran/exprs.exp: Ditto.
5338 * lib/gdb.exp: Delete obsolete code.
5339 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
5340 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
5341 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
5342 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
5343 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
5344 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
5345 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
5346 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
5347 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
5348 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
5349 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
5350 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
5351 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
5352 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
5353 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
5354 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
5355 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
5356 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
5357 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
5358 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
5359 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
5360 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
5361 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
5362 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
5363 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
5364 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
5365 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
5366 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
5367 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
5368 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
5369 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
5370 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
5371 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
5372 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
5373 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
5374 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
5375 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
5376
a23b6e6a
DC
53772002-12-11 David Carlton <carlton@math.stanford.edu>
5378
5379 * gdb.c++/m-data.exp: Add test for members that shadow global
5380 variables: see PR gdb/804.
5381 * gdb.c++/m-data.cc: Ditto.
5382
6604731b
DJ
53832002-12-10 Daniel Jacobowitz <drow@mvista.com>
5384
5385 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
5386
de46ecd7
DC
53872002-12-06 David Carlton <carlton@math.stanford.edu>
5388
5389 * gdb.base/store.c: Don't declare functions static.
5390
27e829d0
AC
53912002-12-04 Andrew Cagney <ac131313@redhat.com>
5392
5393 * gdb.base/store.exp, gdb.base/store.c: New files.
5394
92806416
DJ
53952002-12-03 Daniel Jacobowitz <drow@mvista.com>
5396
5397 * gdb.base/selftest.exp: Update for current gdb.
5398
3bcbaac5
DJ
53992002-12-03 Daniel Jacobowitz <drow@mvista.com>
5400
5401 * gdb.base/maint.exp: Only dump symbols from one source file
5402 or objfile.
5403
f4f00b1f
DJ
54042002-12-03 Daniel Jacobowitz <drow@mvista.com>
5405
5406 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
5407 function call.
5408
f1c8a949
JB
54092002-11-25 Jim Blandy <jimb@redhat.com>
5410
5411 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
5412 function appearing in error message.
5413
9e297a97
DJ
54142002-11-21 Daniel Jacobowitz <drow@mvista.com>
5415
5416 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
5417
1f312e79
JJ
54182002-11-08 Jeff Johnston <jjohnstn@redhat.com>
5419
d63a86f8
RM
5420 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
5421 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
5422 should be in mi console format. This is part of fix for PR gdb/604.
5423
83c31e7d
FN
54242002-09-18 Fernando Nasser <fnasser@redhat.com>
5425
5426 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
5427 which explicitly prints the zero offset as "+0".
5428
322b3f65
DJ
54292002-10-22 Daniel Jacobowitz <drow@mvista.com>
5430
5431 * gdb.threads/schedlock.c (args): Make unsigned.
5432
54332002-10-21 Daniel Jacobowitz <drow@mvista.com>
5434
5435 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
5436 numbers. Allow "foo2|selected stack frame".
5437 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
5438 * gdb.asm/asmsrc2.s: Likewise.
5439 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
5440 comments.
5441 * gdb.asm/mips.inc: New file.
5442
5e2fe5b8
AF
54432002-10-18 Adam Fedor <fedor@gnu.org>
5444
5445 * gdb.base/default.exp: Update expected output to include 'ObjC'.
5446 * gdb.base/help.exp: Likewise.
5447
abe1a5d0
KB
54482002-10-17 Kevin Buettner <kevinb@redhat.com>
5449
5450 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
5451 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
5452
10abb1d4
JB
54532002-10-02 Jim Blandy <jimb@redhat.com>
5454
5455 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
5456
1f609b42
AC
54572002-10-01 Andrew Cagney <ac131313@redhat.com>
5458
5459 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
5460 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
5461 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
5462 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
5463 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
5464 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
5465 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
5466
0aee02e4
AC
54672002-09-29 Andrew Cagney <ac131313@redhat.com>
5468
5469 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
5470 * mi0-disassemble.exp, mi0-eval.exp: Delete.
5471 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
5472 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
5473 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
5474 * mi0-var-block.exp, mi0-var-child.exp: Delete.
5475 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 5476
6fde09ad
KB
54772002-09-27 Kevin Buettner <kevinb@redhat.com>
5478
5479 * gdb.base/annota1.exp (info break): Make directory components of
5480 path optional since not all compilers emit this debug information.
5481
5482 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
5483 step ends up stepping out of the function instead of stopping on
5484 the epilogue.
5485
9e8aab75
KS
54862002-09-26 Keith Seitz <keiths@redhat.com>
5487
5488 * lib/insight-support.exp (gdbtk_start): Figure out where
5489 the insight executable is based on where gdb is. Use this
5490 executable to start insight instead of gdb.
5491
e36180d7
AC
54922002-09-25 Andrew Cagney <cagney@redhat.com>
5493
5494 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
5495
9dd34b2b
AC
54962002-09-24 Andrew Cagney <ac131313@redhat.com>
5497
5498 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
5499 test_isolated_complaints.
5500 (test_empty_complaint): New function.
5501 (test_empty_complaints): New function. Check no output when no
5502 complaints.
d63a86f8 5503
dea97812
KB
55042002-09-19 Jim Blandy <jimb@redhat.com>
5505
5506 * gdb.base/charset.exp, gdb.base/charset.c: New files.
5507
54951bd7
AC
55082002-09-19 Andrew Cagney <ac131313@redhat.com>
5509
5510 * gdb.gdb/complaints.exp: New file.
5511
dec43320
AC
55122002-09-18 Andrew Cagney <ac131313@redhat.com>
5513
5514 * gdb.base/maint.exp: Check `help maint internal-warning'.
5515
e70d6e3f
DC
55162002-09-18 David Carlton <carlton@math.stanford.edu>
5517
5518 * gdb.c++/m-static.exp: Remove breakpoints depending on line
5519 numbers, and replace them by a single breakpoint after the
5520 constructors are all finished.
5521 Add test 4.
5522 * gdb.c++/m-static.cc: Add test 4.
5523 * gdb.c++/m-static.h: New file.
5524 * gdb.c++/m-static1.cc: New file.
5525
5526 * gdb.c++/printmethod.exp: New file.
5527 * gdb.c++/printmethod.cc: New file.
5528
5529 * gdb.c++/pr-574.exp: New file.
5530 * gdb.c++/pr-574.cc: New file.
5531
afb5c968
CV
55322002-09-18 Corinna Vinschen <vinschen@redhat.com>
5533
5534 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
5535 embedded targets which never actually exit.
5536
31e45dee
FN
55372002-09-18 Fernando Nasser <fnasser@redhat.com>
5538
5539 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
5540 "don't step after run" as unresolved or unsupported, instead of xfail.
5541
a283c5a1
CV
55422002-09-18 Corinna Vinschen <vinschen@redhat.com>
5543
5544 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
5545 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
5546 Add newline to expected string in "step out of main (status wrapper)"
5547 case.
5548
11350d2a
CV
55492002-09-18 Corinna Vinschen <vinschen@redhat.com>
5550
5551 * lib/gdb.exp (rerun_to_main): Allow restarting application.
5552 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
5553
0deec7d6
TT
55542002-09-17 Tom Tromey <tromey@redhat.com>
5555
5556 * gdb.base/printcmds.exp (test_print_string_constants): Expect
5557 \000, not \0, in double-quoted string.
5558
b2b4a1b5
CV
55592002-09-14 Corinna Vinschen <vinschen@redhat.com>
5560
c9d37158 5561 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
5562 string after running the commands execution on breakpoint tests.
5563
1c56143a
CV
55642002-09-13 Corinna Vinschen <vinschen@redhat.com>
5565
5566 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
5567
37f8da45
JB
55682002-09-12 Joel Brobecker <brobecker@gnat.com>
5569
5570 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
5571
08b468e0
KS
55722002-09-10 Keith Seitz <keiths@redhat.com>
5573
5574 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
5575 runto proc.
5576 (mi_run_to_main): Use mi_runto.
5577 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
5578
dc360f58
KS
55792002-09-10 Keith Seitz <keiths@redhat.com>
5580
5581 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
5582 regexp for stopping at main. Could have multiple event notifications.
5583 Don't assume that main was declared with no parameters.
5584 (mi_next): Use mi_step_to.
5585 (mi_step): Use mi_next_to.
5586
ce3abcfb
CV
55872002-09-09 Corinna Vinschen <vinschen@redhat.com>
5588
5589 * gdb.base/default.exp: Fix expected string in `info float' test.
5590
d1f5b980
BE
55912002-09-09 Ben Elliston <bje@redhat.com>
5592
5593 * config/mips.exp: Update comments.
5594 * config/mips-idt.exp: Likewise.
5595 * config/nind.exp: Likewise.
5596 * config/slite.exp: Likewise.
5597 * config/sparclet.exp: Likewise.
5598 * config/udi.exp: Likewise.
5599 * config/vx.exp: Likewise.
5600 * config/vxworks29k.exp: Likewise.
5601
2f71430b
JB
56022002-09-05 Jim Blandy <jimb@redhat.com>
5603
5604 * gdb.threads/killed.exp: Fix test failure message.
5605
7ddebc7e
KS
56062002-09-04 Keith Seitz <keiths@redhat.com>
5607
5608 * lib/mi-support.exp: Update copyright.
5609 (mi_gdb_test): Increase the priority of the expected pattern
5610 so that it matches gdb_test.
5611
0ae67eb3
KS
56122002-09-03 Keith Seitz <keiths@redhat.com>
5613
5614 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
5615 Use integer comparison instead of string comparison for testing
5616 whether binary was built.
5617
38fc42c8
JB
56182002-09-03 Jim Blandy <jimb@redhat.com>
5619
5620 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
5621
b6ff0e81
JB
56222002-08-29 Jim Blandy <jimb@redhat.com>
5623
5624 * gdb.threads/pthreads.exp: Move the portable thread compilation
5625 code into a function in lib/gdb.exp, and call that from here.
5626 * lib/gdb.exp (gdb_compile_pthreads): New function.
5627
07c98896
KS
56282002-08-29 Keith Seitz <keiths@redhat.com>
5629
5630 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
5631 expect_out so that callers can get at it.
5632
0312286c
DJ
56332002-08-23 Daniel Jacobowitz <drow@mvista.com>
5634
5635 * gdb.threads/print-threads.c: New file.
5636 * gdb.threads/print-threads.exp: New file.
5637 * gdb.threads/schedlock.c: New file.
5638 * gdb.threads/schedlock.exp: New file.
5639
dd039bc4
EZ
56402002-08-22 Elena Zannoni <ezannoni@redhat.com>
5641
5642 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
5643 not altivec.c.
5644
1f36144c
MK
56452002-08-17 Mark Kettenis <kettenis@gnu.org>
5646
5647 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
5648 targets. The problem should be fixed now.
5649
16057ec7 56502002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
5651
5652 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
5653 2002-07-24 change that removes final dots from error messages.
5654
3c1499ad
TT
56552002-08-13 Tom Tromey <tromey@redhat.com>
5656
5657 * gdb.base/readline.exp: New file.
5658
a20ce2c3
AC
56592002-08-01 Andrew Cagney <ac131313@redhat.com>
5660
5661 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
5662 supress message.
5663
db034ac5
AC
56642002-08-01 Andrew Cagney <cagney@redhat.com>
5665
5666 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
5667 CHILL_FOR_TARGET and CHILL_LIB.
5668 * configure.in (configdirs): Remove gdb.chill.
5669 * configure: Regenerate.
5670 * lib/gdb.exp: Obsolete references to chill.
5671 * gdb.fortran/types.exp: Ditto.
5672 * gdb.fortran/exprs.exp: Ditto.
5673
3e000b18
KB
56742002-07-30 Kevin Buettner <kevinb@redhat.com>
5675
5676 * gdb.base/shlib-call.exp (additional_flags): Conditionally
5677 set Irix-specific compile and link flags.
5678
28f4966b
KB
56792002-07-29 Kevin Buettner <kevinb@redhat.com>
5680
5681 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
5682 source files. The ``-o'' option doesn't work with the ``-E'' option
5683 when using the Irix compiler.
5684
46c0d5a6
DJ
56852002-07-19 Daniel Jacobowitz <drow@mvista.com>
5686
5687 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
5688 Improve support for reusing an exec file. Copy exec file
5689 to target, and run gdbserver on the target instead of on the host.
5690
eecf4bed
JB
56912002-07-18 Jim Blandy <jimb@redhat.com>
5692
0f815cdf
JB
5693 * gdb.base/ending-run.exp: Don't expect to see the program end in
5694 some orderly fashion when we're running on a real stand-alone
5695 board.
5696
eecf4bed
JB
5697 * gdb.base/interrupt.exp: Correct logic for skipping tests on
5698 targets that don't support interrupts.
5699
52d309e4
JB
57002002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
5701
5702 * gdb.base/attach.exp: Add patterns to match output from /proc-based
5703 systems.
5704 Move comments in expect statements to inside the actions, so that they
5705 don't get matched against.
5706
ff683d9e
MK
57072002-07-10 Mark Kettenis <kettenis@gnu.org>
5708
5709 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
5710 function when asleep" test.
5711
b5356753
AC
57122002-07-10 Andrew Cagney <ac131313@redhat.com>
5713
5714 * gdb.base/page.exp: Rewrite to handle problems with very long
5715 `info set' output. Update copyright.
5716
6aa4d13a
AC
57172002-06-26 Andrew Cagney <ac131313@redhat.com>
5718
5719 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
5720 gdb.threads-hp.
5721 * gdb.hp/configure: Regenerate.
5722 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
5723 * gdb.hp/gdb.threads-hp/configure: Delete file.
5724 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
5725
8cf8c2b8
AC
57262002-06-22 Andrew Cagney <ac131313@redhat.com>
5727
5728 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
5729 setlocale, bindtextdomain and textdomain.
5730
6827a8f8
JB
57312002-06-11 Jim Blandy <jimb@redhat.com>
5732
919d772c
JB
5733 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
5734 preprocessor macro information is present.
5735
6827a8f8
JB
5736 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
5737 tests.
5738
c15b0d21
MS
57392002-06-06 Michael Snyder <msnyder@redhat.com>
5740
c5984d70
MS
5741 * gdb.base/overlays.exp: Record addresses of overlay
5742 functions in TCL variables rather than in GDB variables,
5743 to avoid having GDB convert them to pointers (with loss
5744 of information).
5745
d63a86f8 5746 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 5747 default linker script changes.
c15b0d21
MS
5748 * gdb.base/long_long.exp: Add check for sizeof (long double).
5749
be26fe0d
ML
57502002-06-06 Michal Ludvig <mludvig@suse.cz>
5751
5752 * gdb.asm/asm-source.exp: Add x86-64 target.
5753 * gdb.asm/x86_64.inc: New.
d63a86f8 5754
258093ca 57552002-05-30 Michael Chastain <mec@shout.net>
258093ca 5756
4b3153f1 5757 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
5758 * gdb.c++/m-static.cc: New file.
5759 * gdb.c++/m-static.exp: New file.
5760
241264c6
MS
57612002-05-28 Michael Snyder <msnyder@redhat.com>
5762
5763 * gdb.base/call-ar-st.exp: Allow for reduced floating point
5764 precision.
5765
9bba8c8f 57662002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 5767
4b3153f1 5768 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
5769 * gdb.c++/m-data.cc: New file.
5770 * gdb.c++/m-data.exp: New file.
5771
57722002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 5773
4b3153f1 5774 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 5775 * gdb.c++/try_catch.cc: New file.
d63a86f8 5776 * gdb.c++/try_catch.exp: New file.
9bba8c8f 5777
def1b996
MC
57782002-05-27 Michael Chastain <mec@shout.net>
5779
5780 * gdb.c++/local.exp: Accept more nested types in output.
5781
522ba268
MC
57822002-05-26 Michael Chastain <mec@shout.net>
5783
5784 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
5785
277254ba
MS
57862002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
5787
5788 * lib/gdb.exp (gdb_wrapper_init): Just because
5789 gdb_wrapper_file exists, this does not mean that the file
5790 should not be rebuilt. That is what gdb_wrapper_initialized
5791 is for.
5792 (default_gdb_init): Reset gdb_wrapper_initialized.
5793
b61a8733
MS
57942002-05-23 Michael Snyder <msnyder@redhat.com>
5795
d63a86f8 5796 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
5797 the precision of the floating point test results.
5798 * gdb.base/call-rt-st.exp: Ditto.
5799
b61a8733
MS
5800 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
5801 * gdb.base/call-rt-st.exp: Ditto.
5802
56f6e910
MC
58032002-05-19 Michael Chastain <mec@shout.net>
5804
5805 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
5806
ad0b0016
EZ
58072002-05-19 Elena Zannoni <ezannoni@redhat.com>
5808
5809 * configure.in (configdirs): Add gdb.arch.
5810 * configure: Regenerate.
5811
f617d2b6
JB
58122002-05-17 Jim Blandy <jimb@redhat.com>
5813
5814 * gdb.base/completion.exp: Recognize the more detailed error
5815 messages produced by the macro expander's lexical analyzer.
5816
eac2a696
EZ
58172002-05-14 Elena Zannoni <ezannoni@redhat.com>
5818
5819 * gdb.arch/altivec-abi.c: New file.
5820 * gdb.arch/altivec-abi.exp: New file.
5821 * gdb.arch/altivec-regs.c: New file.
5822 * gdb.arch/altivec-regs.exp: New file.
5823
2fdde8f8
DJ
58242002-05-14 Daniel Jacobowitz <drow@mvista.com>
5825
5826 * gdb.base/maint.exp (maint print type): Update for new type
5827 structure.
d63a86f8 5828
e31f1a7c
EZ
58292002-05-14 Elena Zannoni <ezannoni@redhat.com>
5830
5831 * gdb.arch: New directory.
5832 * gdb.arch/configure.in: New file.
5833 * gdb.arch/configure: New file.
5834 * gdb.arch/Makefile.in: New file.
5835
db589741
CV
58362002-05-13 Corinna Vinschen <vinschen@redhat.com>
5837
5838 * gdb.asm/asm-source.exp: Add v850 as supported target.
5839 * gdb.asm/v850.inc: New file.
5840
8ce2a7dc
DJ
58412002-05-13 Daniel Jacobowitz <drow@mvista.com>
5842
5843 * gdb.c++/annota2.exp (annotate-quit): Add comment.
5844
df763c7f
DJ
58452002-05-12 Daniel Jacobowitz <drow@mvista.com>
5846
5847 * gdb.base/break.exp: Check 'break "marker2"'.
5848
377daeed
MS
58492002-05-10 Michael Snyder <msnyder@redhat.com>
5850
5851 * gdb.base/long_long.exp: Fix typo.
5852
c4b7bc2b
JB
58532002-05-10 Jim Blandy <jimb@redhat.com>
5854
ecac9a4e
JB
5855 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
5856 a bug.
5857
c4b7bc2b
JB
5858 * gdb.base/printcmds.exp (test_integer_literals_rejected):
5859 Recognize more detailed error message produced by the macro
5860 expander's lexical analyzer.
5861 * lib/gdb.exp (test_print_reject): Same.
5862
e71019a1
MK
58632002-05-09 Mark Kettenis <kettenis@gnu.org>
5864
5865 * gdb.c++/method.exp: Fix typo.
5866
fedfc8e6
MS
58672002-05-08 Michael Snyder <msnyder@redhat.com>
5868
166a1957
MS
5869 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
5870 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 5871 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
5872 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
5873 Add iftarget clause for strongarm.
d63a86f8 5874
f1c47eb2
MS
58752002-05-06 Michael Snyder <msnyder@redhat.com>
5876
cb9a9d3e
MS
5877 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
5878 (gdb_continue_to_end): Accept output from status wrapper.
5879 * gdb.base/ending-run.exp: Add case for output from status wrapper.
5880 Clean up fail messages to match pass messages.
5881
f1c47eb2
MS
5882 Enable the "needs_status_wrapper" testsuite feature.
5883 * lib/gdb.exp (gdb_wrapper_init): New procedure.
5884 (gdb_compile): Conditionally call gdb_wrapper_init.
5885 * gdb.base/a2-run.exp: Recognize output from status wrapper.
5886 * gdb.c++/method.exp: Recognize output from status wrapper.
5887
6079c749
BE
58882002-05-06 Ben Elliston <bje@redhat.com>
5889From Graydon Hoare <graydon@redhat.com>
5890
5891 * config/sid.exp: Include support for "rawsid" protocol.
5892
188baff3
JB
58932002-05-03 Jim Blandy <jimb@redhat.com>
5894
5895 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
5896 * gdb.c++/hang3.C: New file.
5897
b9c07f0f
AC
58982002-05-04 Andrew Cagney <ac131313@redhat.com>
5899
5900 * gdb.base/default.exp: Remove obsolete code.
5901 * gdb.c++/misc.exp: Ditto. Update copyright.
5902 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
5903 * gdb.base/whatis.exp: Ditto. Update copyright.
5904 * gdb.base/scope.exp: Ditto. Update copyright.
5905 * gdb.base/ptype.exp: Ditto. Update copyright.
5906 * gdb.base/printcmds.exp: Ditto. Update copyright.
5907 * gdb.base/opaque.exp: Ditto. Update copyright.
5908 * gdb.base/list.exp: Ditto.
5909 * gdb.base/funcargs.exp: Ditto. Update copyright.
5910 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
5911 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
5912 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
5913 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
5914 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
5915 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
5916
5c7a0397
MS
59172002-05-02 Michael Snyder <msnyder@redhat.com>
5918
d6dcc264 5919 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
5920 * gdb.base/long_long.exp: Add xscale target.
5921 * gdb.base/default.exp: Add xscale target.
5922
eb7f1c48
JB
59232002-05-01 Jim Blandy <jimb@redhat.com>
5924
5925 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
5926 gdb.c++/hang.exp: New test.
5927
a6befae8
FF
59282002-05-01 Fred Fish <fnf@redhat.com>
5929
5930 * gdb.base/completion.exp: Handle completions of "./Make" for
5931 more than one completion possibility, as is the case when we
5932 build and test in the source tree.
5933
0a310277
AG
59342002-04-29 Anthony Green <green@redhat.com>
5935
5936 * gdb.java/jmisc1.exp: New file.
5937 * gdb.java/jmisc2.exp: New file.
5938
6ff9af88
DJ
59392002-04-24 Daniel Jacobowitz <drow@mvista.com>
5940
5941 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
5942
96b3d632
EZ
59432002-04-23 Elena Zannoni <ezannoni@redhat.com>
5944
5945 * gdb.base/help.exp: Change 'help status' to allow for target
5946 dependent output differences.
5947
5019bb54
MC
59482002-04-22 Michael Chastain <mec@shout.net>
5949
5950 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
5951
a805a116
MC
59522002-04-22 Michael Chastain <mec@shout.net>
5953
5954 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
5955
a1706bfd
DM
59562002-04-17 David S. Miller <davem@redhat.com>
5957
5958 * gdb.asm/sparc64.inc: New file.
5959 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
5960
a73a20a2
EZ
59612002-04-19 Elena Zannoni <ezannoni@redhat.com>
5962
5963 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
5964 instruction file directly into the build tree. Clean up at end of
5965 test.
5966
ba678339
DM
59672002-04-18 David S. Miller <davem@redhat.com>
5968
5969 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
5970 handle 64-bit platforms correctly.
5971 * gdb.base/maint.exp: Likewise.
5972
b03399da
KB
59732002-04-18 Kevin Buettner <kevinb@redhat.com>
5974
5975 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
5976 ``-fpic'' when compiling files comprising a shared library, but
5977 it does need additional linker flags in order to find shared
5978 libraries at run time.
5979
e2004992
KB
59802002-04-18 Kevin Buettner <kevinb@redhat.com>
5981
5982 * gdb.base/cvexpr.c (use): New function.
5983 (main): Invoke use() on all global variables to prevent
5984 some linkers from deleting these otherwise unused symbols.
5985
d8937120
MC
59862002-04-17 Michael Chastain <mec@shout.net>
5987From David S. Miller <davem@redhat.com>
5988
5989 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
5990 handle 64-bit platforms correctly.
5991
ffd61a58
MS
59922002-04-12 Michael Snyder <msnyder@redhat.com>
5993From Jim Blandy <jimb@redhat.com>
5994 * gdb.base/foo.c (foox): Remove section attribute; the linker
5995 script can handle this instead.
5996 * gdb.base/bar.c (barx): Same.
5997 * gdb.base/baz.c (bazx): Same.
5998 * gdb.base/grbx.c (grbxx): Same.
5999
6000 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
6001 manager doesn't automatically unmap overlays unnecessarily.
6002
6b8426a6
MH
60032002-04-10 Martin M. Hunt <hunt@redhat.com>
6004
6005 * gdb.base/ending-run.exp: Fix pattern for Mips targets
6006 stepping out of main.
6007
34af4875
MC
60082002-04-09 Michael Chastain <mec@shout.net>
6009
6010 * gdb.c++/local.cc (main): Move call to marker1() inside nested
6011 scope so that the nested scope tests will make sense.
6012 * gdb.c++/local.exp: Write patterns that actually work with gcc
6013 (the HP patterns "were never known to work with gcc").
6014 Keep the old aCC patterns too.
6015
2d1676a0
DJ
60162002-04-09 Daniel Jacobowitz <drow@mvista.com>
6017
6018 * gdb.base/attach.exp: Correct target board test.
6019
3a63e3f9
MC
60202002-04-08 Michael Chastain <mec@shout.net>
6021
6022 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
6023 in a const method. Add some xfail and fail cases for configurations
6024 that do not emit the "const ...".
6025
f18dabd2
MC
60262002-04-07 Michael Chastain <mec@shout.net>
6027
6028 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
6029 Accept "A * const" and "const A * const" as type of "this".
6030 Fix spelling of getFunky throughout. Make messages uniform.
6031
0fcddd82
EZ
60322002-04-07 Elena Zannoni <ezannoni@redhat.com>
6033
6034 Work around for PR gdb/285:
6035 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
6036
16a8534a
EZ
60372002-04-07 Elena Zannoni <ezannoni@redhat.com>
6038
6039 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
6040 instructions file at run time instead of configure time.
6041 Sometimes we run the test in a directory that is not the one we
6042 configured in.
6043 * gdb.asm/configure.in: Delete creation of symlink.
6044 * gdb.asm/configure: Regenerate.
6045
24181d81
JB
60462002-04-05 J. Brobecker <brobecker@gnat.com>
6047
6048 * gdb.gdb/xfullpath.exp: New test, to exercise the new
6049 xfullpath () function.
6050
7cdb7107
DJ
60512002-04-04 Daniel Jacobowitz <drow@mvista.com>
6052
6053 * gdb.asm/Makefile.in: Correct dependencies.
6054
6055 * gdb.asm/powerpc.inc: New file.
6056 * gdb.asm/asm-source.exp: Add PowerPC.
6057 * gdb.asm/configure.in: Likewise.
6058 * gdb.asm/configure: Regenerated.
6059
a7d17088
DJ
60602002-04-04 Daniel Jacobowitz <drow@mvista.com>
6061
6062 * gdb.base/relocate.exp: New file.
6063 * gdb.base/relocate.c: New file.
6064
cd721503
FF
60652002-04-04 Fred Fish <fnf@redhat.com>
6066
6067 * gdb.base/step-test.exp: Update comment regarding stopping in
6068 memcpy/bcopy calls inserted as part of the compiler runtime.
6069
b22ad7a7
MS
60702002-04-04 Michael Snyder <msnyder@redhat.com>
6071
6072 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
6073
5f279fa6
DJ
60742002-04-03 Daniel Jacobowitz <drow@mvista.com>
6075
6076 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
6077 (gdb_expect): Remove $notransfer hack.
6078
dd0fd3ce
DJ
60792002-04-02 Daniel Jacobowitz <drow@mvista.com>
6080
6081 * gdb.c++/classes.exp ("calling method for small class"): Match
6082 updated register output.
6083
1e50cda1
DJ
60842002-03-30 Daniel Jacobowitz <drow@mvista.com>
6085
6086 Fix PR gdb/452
6087 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
6088 when finished. Make gdb_file_cmd send "exec-file" when
6089 appropriate.
6090
24015922
DJ
60912002-03-30 Daniel Jacobowitz <drow@mvista.com>
6092
6093 * gdb.base/attach.exp: Remove extra setup_xfail.
6094
dd7dfd64
MS
60952002-03-26 Michael Snyder <msnyder@redhat.com>
6096
6097 * gdb.base/default.exp: Add tests for dump, append, and restore.
6098 * gdb.base/help.exp: Add tests for dump, append, and restore.
6099 * gdb.base/dump.exp: New file, test dump, append and restore.
6100 * gdb.base/dump.c: New file.
6101
48b2f8d7
MS
61022002-03-27 Michael Snyder <msnyder@redhat.com>
6103
d63a86f8 6104 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
6105 clean-ups in help messages.
6106
05b4d525
FF
61072002-03-26 Fred Fish <fnf@redhat.com>
6108
6109 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
6110 have debugging info for those functions and the compiler uses them
6111 internally to copy structs around.
6112
d7679631
FF
61132002-03-26 Fred Fish <fnf@redhat.com>
6114
6115 * gdb.base/list.exp: Revert the change made yesterday and add note
6116 about why we don't list the default lines for remote targets.
6117
523ac3f9
MS
61182002-03-25 Michael Snyder <msnyder@redhat.com>
6119
6120 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
6121
754b2b8d
FF
61222002-03-25 Fred Fish <fnf@redhat.com>
6123
6124 * gdb.base/list.exp: This test works on remote targets so remove
6125 the short circuit for remote targets. Update copyright.
6126
33c3e192
FF
61272002-03-25 Fred Fish <fnf@redhat.com>
6128
6129 * gdb.base/attach.exp: Fix logic error that was suppressing this
6130 test for all non hppa*-*-hpux* targets, instead of the hp target.
6131 Move comments closer to the suppression point. Also now need to
6132 check that we are running natively.
6133
d43e73ee
MS
61342002-03-22 Michael Snyder <msnyder@redhat.com>
6135
882c8f02
MS
6136 * gdb.base/default.exp: Add test for gcore. Update copyright.
6137 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 6138
04c12f60
FF
61392002-03-06 Fred Fish <fnf@redhat.com>
6140
6141 * gdb.base/funcargs.c: Remove extraneous ';' character.
6142 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
6143
b43df995
MC
61442002-03-04 Michael Chastain <mec@shout.net>
6145
6146 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
6147 accommodate gcc v3 function signature.
6148 * gdb.mi/mi0-var-cmd-exp: Ditto.
6149
92362027
AC
61502002-02-24 Andrew Cagney <ac131313@redhat.com>
6151
6152 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
6153 ``GNU/Linux'' or ``Linux kernel''
6154 * testsuite/gdb.threads/pthreads.c: Ditto.
6155
258ad32d
MC
61562002-02-24 Michael Chastain <mec@shout.net>
6157
6158 * gdb.threads/pthreads.c (thread1): Add a return statement.
6159 (thread2): Likewise.
6160 (foo): Likewise.
6161
04c3b3d4
MC
61622002-02-23 Michael Chastain <mec@shout.net>
6163
6164 * gdb.threads/linux-dp.c (philosopher): Add a return statement
6165 to placate gcc.
6166
5a2a0a20
MC
61672002-02-23 Michael Chastain <mec@shout.net>
6168
6169 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
6170 test "ptype bint". The test passes on all my stabs configurations.
6171
a640f7fc
JB
61722002-02-21 Jim Blandy <jimb@redhat.com>
6173
27924826
JB
6174 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
6175 filename at a time, and watch for the ones we want to see.
6176
a640f7fc
JB
6177 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
6178 types of pointers to prototyped functions.
6179
edcc8c75
AC
61802002-02-20 Andrew Cagney <ac131313@redhat.com>
6181
6182 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
6183 signed, unsigned and straight char.
6184 (padding_char, padding_short, padding_int, padding_long,
6185 padding_long_long, padding_float, padding_double,
6186 padding_long_double): New global variables.
6187 (fill, fill_structs): New functions.
6188
6189 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
6190 for correctly sized writes. Update copyright.
6191 (get_valueof): New procedure.
6192 (get_sizeof): Call get_valueof.
6193 (check_valueof): New procedure.
6194 (check_padding): New procedure.
6195
ac57ea44
MC
61962002-02-20 Michael Chastain <mec@shout.net>
6197
6198 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
6199 to setup_xfail. Document some of the remaining calls.
6200
7a10c941
MC
62012002-02-18 Michael Chastain <mec@shout.net>
6202
6203 * gdb.c++/userdef.exp: Update copyright year.
6204
fb8acdcc
DJ
62052002-02-18 Daniel Jacobowitz <drow@mvista.com>
6206
6207 * gdb.c++/userdef.exp: Test overloaded operators properly.
6208 Remove xfails.
6209
fda6ae12
MS
62102002-02-14 Michael Snyder <msnyder@redhat.com>
6211
6212 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
6213
676a0442
DJ
62142002-02-14 Daniel Jacobowitz <drow@mvista.com>
6215
6216 * gdb.base/a2-run.exp: Check for a remote target properly.
6217 * gdb.base/annota1.exp: Likewise.
6218 * gdb.base/list.exp: Likewise.
6219 * gdb.base/reread.exp: Likewise.
6220 * gdb.base/scope.exp: Likewise.
6221 * gdb.base/shlib-call.exp: Likewise.
6222 * gdb.base/term.exp: Likewise.
6223 * gdb.c++/annota2.exp: Likewise.
6224
78b4f468
RE
62252002-02-13 Richard Earnshaw <rearnsha@arm.com>
6226
6227 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
6228
9a81ba51
MC
62292002-02-10 Michael Chastain <mec@shout.net>
6230
6231 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
6232 (call_after_alloca): Ditto.
6233
004af6c7
DJ
62342002-02-10 Daniel Jacobowitz <drow@mvista.com>
6235
6236 * gdb.base/ending-run.exp: Guard "cont" test with
6237 gdb_skip_stdio_test.
6238
37225f62
JB
62392002-02-06 Jim Blandy <jimb@redhat.com>
6240
6241 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
6242 from here...
6243 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
6244 To here. Disable this test on non-HP platforms. Add big comment.
6245
fe6fdd96
MS
62462002-02-04 Michael Snyder <msnyder@redhat.com>
6247
6248 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
6249 other than d10v and m32r.
6250
036fad3f
RE
62512002-02-02 Richard Earnshaw <rearnsha@arm.com>
6252
6253 * gdb.base/default.exp: Rewrite test patterns to reduce time
6254 taken to match them.
6255
7148ab62
DJ
62562002-01-30 Daniel Jacobowitz <drow@mvista.com>
6257
6258 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
6259 Allow a start function above main.
6260 * gdb.threads/linux-dp.exp: Fix copyright date.
6261
396cc255
DJ
62622002-01-30 Daniel Jacobowitz <drow@mvista.com>
6263
6264 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
6265 (check_philosopher_stack): Check for manager thread before checking
6266 for a just-starting thread.
6267
f038d31b
DJ
62682002-01-30 Daniel Jacobowitz <drow@mvista.com>
6269
6270 From Neil Booth <neil@daikokuya.demon.co.uk>:
6271 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
6272 warnings.
6273
b3ff9d9a
FF
62742002-01-21 Fred Fish <fnf@redhat.com>
6275
6276 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
6277 not caller.
6278
39ad761d
JB
62792002-01-21 Jim Blandy <jimb@redhat.com>
6280
6281 * gdb.base/reread.exp: Check that GDB properly re-reads the
6282 executable file when it changes while no inferior is running.
6283
aaf320fa
FF
62842002-01-21 Fred Fish <fnf@redhat.com>
6285
6286 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
6287 optionally accept the "shlib events" variation.
6288
808a31f5
JB
62892002-01-21 Jim Blandy <jimb@redhat.com>
6290
6291 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
6292 call `fflush' after every `printf', so that the output is produced
6293 at predictable points, regardless of whatever buffering does (or
6294 doesn't) take place.
6295 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
6296 at different points.
6297
4420d5e2
DJ
62982002-01-20 Daniel Jacobowitz <drow@mvista.com>
6299
6300 * gdb.c++/inherit.exp: Update copyright years.
6301 * gdb.c++/method.exp: Likewise.
6302
3e36a0f4
DJ
63032002-01-20 Daniel Jacobowitz <drow@mvista.com>
6304
6305 * gdb.c++/classes.exp: Update for improved v3 support and skipping
6306 artificial methods/arguments.
6307 * gdb.c++/derivation.exp: Likewise.
6308 * gdb.c++/inherit.exp: Likewise.
6309 * gdb.c++/method.exp: Likewise.
6310 * gdb.c++/virtfunc.exp: Likewise.
6311
b4ceaee6
AC
63122002-01-18 Andrew Cagney <ac131313@redhat.com>
6313
6314 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
6315 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
6316 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
6317 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
6318 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
6319 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
6320
ecace851
JB
63212002-01-17 Jim Blandy <jimb@redhat.com>
6322
6323 * gdb.asm/asm-source.exp (info symbol): Take another shot at
6324 anchoring the pattern matching the entry point symbol's name.
6325
375fc983
AC
63262002-01-17 Andrew Cagney <ac131313@redhat.com>
6327
6328 * gdb.base/maint.exp: Update ``maint internal-error'' to match
6329 continue/quit query. Update copyright.
6330
fe6fdd96
MS
63312002-01-14 Michael Snyder <msnyder@redhat.com>
6332
6333 * gdb.base/gcore.exp: Remove extra debugging output.
6334
e017c81f
DJ
63352002-01-13 Daniel Jacobowitz <drow@mvista.com>
6336
6337 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
6338 for slightly dubious v2 mangled string.
6339
37ab3bf8
DJ
63402002-01-13 Daniel Jacobowitz <drow@mvista.com>
6341
6342 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
6343
1bc05c3a 63442002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 6345
1bc05c3a 6346 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 6347
1bc05c3a
JM
6348 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
6349 constructors.
6350 * gdb.c++/derivation.exp: Likewise.
6351 * gdb.c++/templates.exp: Likewise.
6352 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 6353
1bc05c3a
JM
63542002-01-10 Michael Snyder <msnyder@redhat.com>
6355
6356 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 6357
a911c360
MS
63582002-01-08 Michael Snyder <msnyder@redhat.com>
6359
6360 * gdb.base/gcore.exp: New test for generate-core-file command.
6361 * gdb.base/gcore.c: Testcase for above.
6362 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
6363
ea2119ec
JM
63642002-01-08 Jason Merrill <jason@redhat.com>
6365
6366 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
6367
68203136
FF
63682002-01-07 Fred Fish <fnf@redhat.com>
6369
6370 * gdb.c++/overload.exp: Remove unconditional xfails for:
6371 print foo_instance1.overloadargs(1)
6372 print foo_instance1.overloadargs(1, 2)
6373 print foo_instance1.overloadargs(1, 2, 3)
6374 print foo_instance1.overloadargs(1, 2, 3, 4)
6375 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
6376 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
6377 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
6378 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
6379 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
6380 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
6381 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
6382 print foo_instance1.overload1arg()
6383 print foo_instance1.overload1arg((char)arg2)
6384 print foo_instance1.overload1arg((signed char)arg3)
6385 print foo_instance1.overload1arg((unsigned char)arg4)
6386 print foo_instance1.overload1arg((int)arg7)
6387 print foo_instance1.overload1arg((unsigned int)arg8)
6388 print foo_instance1.overload1arg((float)arg11)
6389 print foo_instance1.overload1arg((double)arg12)
d63a86f8 6390
21b9b5b1
MS
63912002-01-07 Michael Snyder <msnyder@redhat.com>
6392
6393 * gdb.base/huge.exp: New test. Print a very large target data object.
6394 (skip_huge_test): New test variable. Define if you want to skip this
6395 test. The test reads an 8 megabyte data object from the target, so it
6396 might be very time consuming on remote targets with a slow connection.
6397 * gdb.base/huge.c: New file. Test case for above.
6398
725f922e
FF
63992002-01-07 Fred Fish <fnf@redhat.com>
6400
6401 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
6402 g_instance.bfoo, and g_instance.cfoo.
6403
634d57ec
JL
6404Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
6405
f286b2c3
JL
6406 * gdb.base/break.c (multi_line_if_conditional): New function.
6407 (multi_ilne_while_conditional): Likewise.
6408 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
6409 IF or WHILE condition puts the breakpoint at the start of
6410 the condition.
6411
634d57ec
JL
6412 * gdb.base/selftest.exp (backtrace through signal handler): Remove
6413 hppa*-*-hpux* expected failure.
6414 * gdb.base/structs.exp (do_function_calls): Similarly.
6415
6416 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
6417 watchpoints.
6418
9fbfe2dc
AC
64192002-01-06 Andrew Cagney <ac131313@redhat.com>
6420
6421 Fix PR gdb/66.
6422 * gdb.base/structs.exp: Replace skip for a29k with skip for
6423 gdb,cannot_call_functions.
6424 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
6425 * gdb.base/callfuncs.exp: Ditto.
6426 * gdb.base/call-rt-st.exp: Ditto.
6427 * gdb.base/call-strs.exp: Ditto.
6428 * gdb.base/callfwmall.exp: Ditto.
6429 * gdb.base/scope.exp: Obsolete xfail a29k.
6430 * gdb.c++/misc.exp: Ditto.
6431 * gdb.c++/cplusfuncs.exp: Ditto.
6432 * gdb.base/ptype.exp: Ditto.
6433 * gdb.base/printcmds.exp: Ditto.
6434 * gdb.base/opaque.exp: Ditto.
6435 * gdb.base/list.exp: Ditto.
6436 * gdb.base/funcargs.exp: Ditto.
6437 * gdb.base/default.exp: Ditto.
6438
8ddad156
MS
64392002-01-04 Michael Snyder <msnyder@redhat.com>
6440
ca4976a6 6441 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
6442 * gdb.base/maint.exp: Add tests for maint info sections options.
6443
1b074332
JL
6444Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
6445
6446 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
6447
7d159115
CV
64482001-12-20 Corinna Vinschen <vinschen@redhat.com>
6449
6450 * gdb.asm/arm.inc: New file.
6451 * gdb.asm/asm-source.exp: Add arm targets.
6452 * gdb.asm/configure.in: Ditto.
6453 * gdb.asm/configure: Recreated from configure.in.
6454
8fb87725
JL
6455Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
6456
afabe08c
JL
6457 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
6458 with HP's compiler.
6459 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
6460 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
6461 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
6462 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
6463
6464 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
6465 either HP's compilers or GCC.
6466
db521deb
JL
6467 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
6468 a SIGBUS or SIGSEGV.
6469
6470 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
6471
6472 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
6473 can be compiled with either HP's compiler or GCC.
6474
cfa88ab7
JL
6475 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
6476 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
6477 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
6478
ca344dff
JL
6479 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
6480 to match current gdb output. Update due to using auto-solib-limit
6481 for limiting instead of overloading auto-solib-add.
6482 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
6483 test program.
6484
3f3c6e55 6485 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
6486 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
6487 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
6488 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
6489 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
6490 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
6491 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
6492 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
6493 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
6494 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
6495 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
6496 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
6497 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 6498
8fb87725
JL
6499 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
6500 a SIGTRAP to the inferior.
6501
cf599fa7
CV
65022001-12-19 Corinna Vinschen <vinschen@redhat.com>
6503
6504 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
6505 Substitute call to target_link by call to gdb_compile.
6506
2cd045cd
JL
6507Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
6508
6509 * gdb.base/break.exp: Fix HP specific search string when testing
6510 backtracing in a called function.
6511
d63a86f8 6512 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
6513 compiling the test with HP's compilers.
6514 * gdb.base/volatile.exp: Similarly.
6515
99ebe9ac
JB
65162001-12-19 Jim Blandy <jimb@redhat.com>
6517
6518 * gdb.base/printcmds.exp: Expect the null character to be printed
6519 as '\0', and the '\013' to be printed as '\v'.
6520 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
6521 * gdb.base/setvar.exp: Same.
6522
b9891b29
JB
65232001-12-17 Jim Blandy <jimb@redhat.com>
6524
0eba65ab
JB
6525 * gdb.base/completion.exp: Rather than completing very long
6526 filenames, which can make the readline library produce output we
6527 don't recognize, cd to the directory first, and then complete
6528 using nice, short relative paths.
6529
6970b5b1
JB
6530 * gdb.base/completion.exp: On some systems, there is, in fact, a
6531 variable named `b' in scope, since GDB treats all static
6532 variables as being in scope. So use `no_var_named_this'
6533 instead of `b'.
6534
b9891b29
JB
6535 * gdb.base/corefile.exp: Recognize the message saying that GDB
6536 can't find the core file's registers as a failure.
6537
e6ccd35f
JSC
65382001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
6539
6540 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
6541 test expect string more specific.
6542
105ba819
CV
65432001-12-13 Corinna Vinschen <vinschen@redhat.com>
6544
6545 * gdb.asm/asm-source.exp: Add support for xstormy16.
6546 * gdb.asm/configure.in: Ditto.
6547 * gdb.asm/configure: Rebuild.
6548 * gdb.asm/xstormy16.inc: New file.
6549
e9e79dd9
FF
65502001-12-10 Fred Fish <fnf@redhat.com>
6551
6552 * gdb.base/maint.exp: Update to match changes in type dumping code.
6553
347dc97d
JB
65542001-12-10 Jim Blandy <jimb@redhat.com>
6555
6556 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
6557 matching the entry point symbol's name at the beginning of the
6558 line.
6559
5178b9d6
DJ
65602001-12-07 Daniel Jacobowitz <drow@mvista.com>
6561
6562 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
6563 gdb.c++/inherit.exp, gdb.c++/method.exp,
6564 gdb.c++/namespace.exp, gdb.c++/templates.exp,
6565 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
6566 and class layout support.
6567
af890c52
DJ
65682001-12-07 Daniel Jacobowitz <drow@mvista.com>
6569
6570 * gdb.c++/classes.exp: Add test for static member function.
6571 * gdb.c++/misc.cc: Add class with static member function.
6572
7a345fb3
JB
65732001-12-07 Jim Blandy <jimb@redhat.com>
6574
f2e54a80 6575 If GDB says it can't find the struct the function returned, report
8032bf31
JB
6576 those tests as `unsupported'.
6577 * gdb.base/call-rt-st.exp (print_struct_call): New function.
6578 Rewrite subsequent tests to use it.
6579
6580 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
6581 those tests as `unsupported'.
6582 * gdb.base/structs.exp (call_struct_func): New function.
6583 (do_function_calls): Use call_struct_func to call the functions
6584 returning structs.
6585
0bc69509
JB
6586 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
6587 whether functions are prototyped or not, so we can't possibly pass
6588 arguments to t_float_values2 properly.
6589
7a345fb3
JB
6590 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
6591 value of `timeout' for targets other than the mips*tx39-*.
6592
edb6ede1
MS
65932001-12-06 Michael Snyder <msnyder@redhat.com>
6594
d63a86f8 6595 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
6596 and detect whether the start symbol has a leading underscore.
6597
2d842f13
JB
65982001-12-04 Jim Blandy <jimb@redhat.com>
6599
6600 * gdb.base/completion.exp: Clarify indentation.
6601
68550daf
JB
66022001-12-03 Jim Blandy <jimb@redhat.com>
6603
6604 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
6605 variables on the S/390, not `.word'.
6606
cd5195a8
JB
66072001-11-30 Jim Blandy <jimb@redhat.com>
6608
6609 Add assembly-source tests for s390-ibm-linux.
6610 * gdb.asm/s390.inc: New file.
6611 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
6612 the S/390 architecture.
6613 * gdb.asm/configure: Regenerated.
6614
ca9efc90
MS
66152001-11-30 Michael Snyder <msnyder@redhat.com>
6616
6617 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
6618 next, info source, info sources, info line, global and static
6619 variables, and static functions.
6620 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
6621 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
6622 * gdb.asm/asmsrc1.s: Add a static function and some variables.
6623 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
6624 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
6625 (gdbasm_leave): Restore frame pointer.
6626 (gdbasm_startup): Copy stack set-up from crt0.S.
6627
d0e66976
FN
66282001-11-26 Fernando Nasser <fnasser@redhat.com>
6629
6630 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
6631 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
6632 to a local (non-static) variable. Copy tstruct.a to a static buffer
6633 and return a pointer to that buffer.
6634 * gdb.base/callfwmall.c (t_structs_a): Ditto.
6635
e2334072
MK
66362001-11-24 Mark Kettenis <kettenis@gnu.org>
6637
6638 * gdb.asm/configure.in: Fix recognition of ix86 target.
6639 * gdb.asm/configure: Regenerate.
6640
756caa3d
MS
66412001-11-21 Michael Snyder <msnyder@redhat.com>
6642
6643 * gdb.asm/sparc.inc: New file.
6644 * gdb.asm/asm-source.exp: Recognize sparc target.
6645 * gdb.asm/configure.in: Recognize sparc target.
6646 * gdb.asm/configure: Regenerate.
d63a86f8 6647
9a4d72d5
MS
66482001-11-21 Michael Snyder <msnyder@redhat.com>
6649
6650 * gdb.asm/m32r.inc: New file.
6651 * gdb.asm/asm-source.exp: Recognize m32r target.
6652 * gdb.asm/configure.in: Recognize m32r target.
6653 * gdb.asm/configure: Regenerate.
6654
a773d1cd
MS
66552001-11-20 Michael Snyder <msnyder@redhat.com>
6656
017ac23d
MS
6657 * gdb.asm/i386.inc: New file.
6658 * gdb.asm/asm-source.exp: Recognize ix86 target.
6659 * gdb.asm/configure.in: Recognize ix86 target.
6660 * gdb.asm/configure: Regenerate.
6661
a773d1cd
MS
6662 * gdb.c++/namespace.exp: Fix quotes in output messages.
6663
bb632afb
MS
66642001-11-14 Michael Snyder <msnyder@redhat.com>
6665
25d559ca 6666 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
6667 qualifier in a type cast expression, to designate an address
6668 in the instruction space (Harvard architecture).
6669
4749e309
MS
66702001-11-13 Michael Snyder <msnyder@redhat.com>
6671
6672 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
6673 Tests for expressions using 'const' and 'volatile'.
6674
25050984
CV
66752001-11-13 Corinna Vinschen <vinschen@redhat.com>
6676
6677 * gdb.asm/asm-sources.exp: Allow defining linker flags.
6678
1902c51f
DJ
66792001-11-12 Daniel Jacobowitz <drow@mvista.com>
6680
6681 * lib/mi-support.exp (mi_run_to_helper): Move comments
6682 outside of gdb_expect.
6683
dcf95b47
DJ
66842001-11-11 Daniel Jacobowitz <drow@mvista.com>
6685
6686 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
6687 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
6688 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
6689 mi0_run_to): New functions.
6690 * gdb.mi/mi-simplerun.exp: Use them.
6691 * gdb.mi/mi0-simplerun.exp: Likewise.
6692 * gdb.mi/mi-var-cmd.exp: Likewise.
6693 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 6694
45b074e1
AC
66952001-11-10 Andrew Cagney <ac131313@redhat.com>
6696
6697 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
6698 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
6699
bf50d346
AC
67002001-11-09 Andrew Cagney <ac131313@redhat.com>
6701
6702 * gdb.base/restore.exp: Include $expected value in restored test
6703 message.
6704
9383332c
AC
67052001-11-09 Andrew Cagney <ac131313@redhat.com>
6706
6707 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
6708 implemented.
6709
db62520a
MS
67102001-11-08 Michael Snyder <msnyder@redhat.com>
6711
6712 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
6713 Add pass/fail message for stop at breakpoint in call dummy function.
6714
b5703437
MS
67152001-11-07 Michael Snyder <msnyder@redhat.com>
6716
d63a86f8
RM
6717 * gdb.c++/templates.exp (test_template_breakpoints):
6718 If we get an overload menu, but it does not match what
760f6330 6719 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
6720 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
6721 making the whitespace optional. Argument for "new" may be
6722 "unsigned" as well as "unsigned int/long".
d63a86f8 6723 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
6724 making the whitespace optional. Also replace "(void) with
6725 "((void|)), making the keyword "void" optional.
d63a86f8 6726 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
6727 making the whitespace optional. Also replace "(void) with
6728 "((void|)), making the keyword "void" optional.
3bf40917
MS
6729 * gdb.base/callfuncs.c (t_float_values): This function must
6730 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 6731 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
6732 can be tested against both cases. Usually one case involves
6733 promotion of float to double, while the other does not.
6734 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
6735 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
6736 includes a stack frame for "start".
6737
c8ab4e6d
JB
67382001-11-05 Jim Blandy <jimb@redhat.com>
6739
6740 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
6741 pointers are 32 bits long, and that offsets of relocs are always
6742 stored in the data (REL-style), and not in the reloc entry itself
6743 (RELA-style).
6744 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
6745 stabs.
6746
3f08ced9
MS
67472001-11-01 Michael Snyder <msnyder@redhat.com>
6748
6749 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
6750 and regular expression operators by using quoting.
6751
cbfa24cd
MS
67522001-10-31 Michael Snyder <msnyder@redhat.com>
6753
6754 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
6755 depending on what the symbol table contains.
6756 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
6757 the output of the ptype command. Similarly, accept both "const &"
6758 and "const&".
6759
aaa68313
CV
67602001-10-31 Corinna Vinschen <vinschen@redhat.com>
6761
6762 * gdb.base/miscexprs.c (main): Add usage of preprocessor
6763 symbol `STORAGE' to allow to choose the storage class of
6764 the local datastructures.
6765 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
6766 compiler directive.
6767
91740388
MS
67682001-10-30 Michael Snyder <msnyder@redhat.com>
6769
6770 * gdb.base/jump.exp: Allow it to run for all targets.
6771
1b7c05e7
CV
67722001-10-29 Corinna Vinschen <vinschen@redhat.com>
6773
6774 * gdb.base/call-ar-st.c (print_double_array): Match for loop
6775 with new double_array size.
6776 (main): Change storage class of all local variables to static.
6777 Reduce size of double_array to 9.
6778 * gdb.base/call-ar-st.exp: Increase timeout value.
6779 Change expected output for double array to match new size in
6780 call-ar-st.c.
6781
36a22261
CV
67822001-10-29 Corinna Vinschen <vinschen@redhat.com>
6783
6784 * gdb.base/ending-run.exp: Create identical output when passing
6785 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 6786 Stormy16 target.
36a22261 6787
92b8ae91
MK
67882001-10-28 Mark Kettenis <kettenis@gnu.org>
6789
6790 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
6791 that we catch the expected failure under Linux/x86.
6792
cb135b83
OF
67932001-10-29 Orjan Friberg <orjanf@axis.com>
6794
6795 * gdb.base/setvar.exp: Escape curly braces.
6796 * gdb.stabs/weird.exp: Ditto.
6797
6884aa54
DJ
67982001-10-27 Daniel Jacobowitz <drow@mvista.com>
6799
6800 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
6801 * gdm.mi/mi0-hack-cli.exp: Likewise.
6802
0398c9aa
AC
68032001-10-25 Andrew Cagney <ac131313@redhat.com>
6804
6805 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
6806 messages.
6807
d20bf2e8
AC
68082001-10-21 Andrew Cagney <ac131313@redhat.com>
6809
6810 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
6811 checking MI enabled.
6812
03dd63aa
CV
68132001-10-09 Corinna Vinschen <vinschen@redhat.com>
6814
6815 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
6816
1d9d99f3
FCE
68172001-10-04 Frank Ch. Eigler <fche@redhat.com>
6818
6819 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
6820 if gdb child process crashes, just signal an error.
6821
838ae6c4
JB
68222001-10-02 Jim Blandy <jimb@redhat.com>
6823
6824 * lib/gdb.exp (test_xfail_format): Simplify.
6825
6826 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
6827 front of the variable name `format'. Simplify `if'.
6828
8f0cbc1c
DJ
68292001-10-01 Daniel Jacobowitz <drow@mvista.com>
6830
6831 * gdb.threads/pthreads.exp: Wait for output and delay
6832 before sending ^C.
6833
1f08dafd
DJ
68342001-10-01 Daniel Jacobowitz <drow@mvista.com>
6835
6836 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
6837 some incorrect output instead of timing out.
6838 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
6839
674f90ff
CV
68402001-09-28 Corinna Vinschen <vinschen@redhat.com>
6841
6842 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
6843 check to allow additional `int'.
6844
9b284272
DJ
68452001-09-27 Daniel Jacobowitz <drow@mvista.com>
6846
6847 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
6848 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
6849
b55a4771
MS
68502001-09-27 Michael Snyder <msnyder@redhat.com>
6851
6852 * lib/gdb.exp (test_debug_format): New proc.
6853 (setup_xfail_format): Use new proc test_debug_format.
6854 * gdb.base/constvars.exp (local_compiler_xfail_check): New
6855 proc; use new service proc test_debug_format.
6856 Replace all other "gcc_compiled" tests with this test.
6857 * gdb.base/volatile.exp (local_compiler_xfail_check): New
6858 proc; use new service proc test_debug_format.
6859 Replace all other "gcc_compiled" tests with this test.
6860
68612001-09-27 Michael Snyder <msnyder@redhat.com>
6862
6863 * gdb.base/cvexpr.exp: New file.
6864 * gdb.base/cvexpr.c: New file
6865 Test for expressions using const and volatile keywords.
6866
4e6667ac
CV
68672001-09-26 Corinna Vinschen <vinschen@redhat.com>
6868
6869 * gdb.base/constvars.exp: Check for different orders of keywords
6870 and additional "int" strings in output.
6871
4f337972
AC
68722001-09-22 Andrew Cagney <ac131313@redhat.com>
6873
6874 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
6875 responses from "help maint".
6876
2015650d
FCE
68772001-09-19 Frank Ch. Eigler <fche@redhat.com>
6878
6879 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
6880 to localhost:NNN instead of :NNN, in case Xvfb is listening
6881 only on TCP.
6882
f3bcedc1
CV
68832001-09-19 Corinna Vinschen <vinschen@redhat.com>
6884
6885 * gdb.base/recurse.exp: When checking leaving the watchpoint
6886 scope, recognize when gdb is in function's epilogue and pass.
6887
6b819c92
KS
68882001-09-18 Keith Seitz <keiths@redhat.com>
6889
6890 * lib/insight-support.exp (_gdbtk_export_target_info): Add
6891 support for running tests against sid targets.
6892 (gdbtk_done): Ditto.
6893
a10c9419
CV
68942001-09-18 Corinna Vinschen <vinschen@redhat.com>
6895
6896 * gdb.base/ending-run.c (main): Set stdout buffersize
6897 to the same reasonable value for any target.
6898 * gdb.base/ending-run.exp: Add a regular expression
6899 to make testsuite happy on Sanyo Stormy16 target.
6900
739d0d99
CV
69012001-09-17 Corinna Vinschen <vinschen@redhat.com>
6902
6903 * gdb.base/display.c (do_loops): Add float variable `f'.
6904 Increment f in loop.
6905 * gdb.base/display.exp: Increment timeout by 60 seconds.
6906 Change float display test to use variable `f'.
6907
1b8947f0
JB
69082001-09-17 Jim Blandy <jimb@redhat.com>
6909
6910 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
6911 overflowing the limited breakpoint tables on some ROM monitors
6912 (like the ROM68K).
6913
9890ac81
FCE
69142001-09-15 Frank Ch. Eigler <fche@redhat.com>
6915
6916 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
6917 the "-ac" (disable access control) flag.
6918
6db765ea
JH
69192001-08-30 Jeff Holcomb <jeffh@redhat.com>
6920
6921 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
6922 ints.
6923
4c32cc04
KS
69242001-08-30 Keith Seitz <keiths@redhat.com>
6925
6926 * lib/gdb.exp: Move all insight-related functionality into
6927 separate file.
6928 * lib/insight-support.exp: New file.
6929
8d6e6f81
FCE
69302001-08-29 Frank Ch. Eigler <fche@redhat.com>
6931
6932 * config/sid.exp (sid_start): Never set sid verbosity; disable
6933 expect_background {} that consumed its stdout; tolerate </dev/null.
6934 Attempt to set endianness override in "sid" protocol mode. Cleanup.
6935
6a90e1d0
AC
69362001-08-18 Andrew Cagney <ac131313@redhat.com>
6937
6938 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
6939 CLI jump command to start it.
6940 (mi_run_to_main): Fail immediatly when unexpected output.
6941
1759b3c3
AC
69422001-08-18 Andrew Cagney <ac131313@redhat.com>
6943
6944 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
6945 beginning of function. Fix PR gdb/191.
6946
61d11d80
FCE
69472001-08-16 Frank Ch. Eigler <fche@redhat.com>
6948
6949 * config/sid.exp (sid_start): Don't warn if we cannot figure out
6950 what to force sid endianness to.
6951
942a4df2
KS
69522001-08-15 Keith Seitz <keiths@redhat.com>
6953
6954 * lib/gdb.exp (gdbtk_start): Don't set environment
6955 variables for TCL_LIBRARY and friends. Insight will
6956 now figure these out for itself.
6957
0521c418
MS
69582001-08-02 Michael Snyder <msnyder@redhat.com>
6959
6960 * gdb.base/completion.exp: Remove the symbol "a64l" from
6961 the expect string; this is target-specific, and not related
6962 to what is being tested.
6963
74a9a58a
DB
69642001-08-02 Dave Brolley <brolley@redhat.com>
6965
6966 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
6967
c70819fa
MS
69682001-07-25 Michael Snyder <msnyder@redhat.com>
6969
c2b8fa57
MS
6970 * gdb.base/consecutive.exp: New file. Test stepping over
6971 breakpoints on consecutive instructions.
6972 * gdb.base/consecutive.c: New file.
6973
c70819fa
MS
6974 * gdb.base/call-rt-st.exp: Use double-backslash to quote
6975 curly braces in regular expressions.
6976
2b1a1355
MS
69772001-07-25 Michael Snyder <msnyder@redhat.com>
6978
6979 * gdb.base/ending-run.exp: Accept "Program exited normally" as
6980 legitimate output from stepping out of main.
6981
413eca6f
KS
69822001-07-22 Keith Seitz <keiths@redhat.com>
6983
6984 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
6985 the empty string, do not run the tests.
6986
7e5a9322
SC
69872001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6988
6989 * gdb.base/long_long.exp: Detect size of pointer. Take into
6990 account 2-byte pointers when testing for p/a results.
6991
de58f10f
SC
69922001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6993
d63a86f8 6994 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
6995 and defined to 1K for m68hc11.
6996 (random_data): Reduce table to 1K for embedded platforms (68hc11).
6997 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
6998 (sizeof_random_data): New variable to tell the size of the data table;
6999 don't test past this size; always run to main.
7000
d6f5fea1
SC
70012001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7002
7003 * gdb.base/return2.exp: return of long long and double fails for
7004 68HC11; don't execute these tests on that platform.
7005 * gdb.base/return.exp: Return of a double fails for 68hc11.
7006
c477543d
SC
70072001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7008
7009 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
7010 tests that print a float.
7011 * call-rt-st.exp: Likewise.
7012
63cf1c79
MK
70132001-07-12 Mark Kettenis <kettenis@gnu.org>
7014
7015 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
7016 running this test on Linux.
7017
112f9ab5
MC
70182001-06-24 Michael Chastain <chastain@redhat.com>
7019
7020 * gdb.base/arithmet.exp: Remove some tests to make all test names
7021 unique.
7022
4970cb0f
MS
70232001-07-03 Michael Snyder <msnyder@redhat.com>
7024
7025 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
7026 the output of the ptype command.
7027
d85da69f
MS
70282001-07-02 Michael Snyder <msnyder@redhat.com>
7029
4c8a82de
MS
7030 * gdb.base/completion.exp: Don't assume that break.c is the only
7031 source file that may contain functions named "marker".
d85da69f
MS
7032 * gdb.base/corefile.exp: Quote the curly braces in regexp.
7033
8afc772b
AC
70342001-06-28 Andrew Cagney <ac131313@redhat.com>
7035
7036 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
7037 of files to delete.
7038
7039 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
7040 * gdb.disasm/h8300s.exp: New file.
7041 gdb.disasm/h8300s.s: Likewise.
7042
cff22675
AC
70432001-06-27 Andrew Cagney <ac131313@redhat.com>
7044
7045 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
7046 empty breakpoint tables.
7047
68c81b54
AC
70482001-06-25 Andrew Cagney <ac131313@redhat.com>
7049
7050 * lib/mi-support.exp: Update args=... part of stop-reason
7051 patterns. Accept either a list or a tuple.
7052
2dd62704
AC
70532001-06-23 Andrew Cagney <ac131313@redhat.com>
7054
7055 * lib/mi-support.exp: Remove local emacs variable defining
7056 change-log-default-name.
7057
b4127474
MC
70582001-06-22 Michael Chastain <chastain@redhat.com>
7059
7060 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
7061 This is operationally compatible with the previous version.
7062
8dbfb380
JB
70632001-06-13 Jim Blandy <jimb@redhat.com>
7064
7065 * lib/gdb.exp (gdb_test): Doc fix.
7066
f2d8c86d
MC
70672001-06-10 Michael Chastain <chastain@redhat.com>
7068
7069 * gdb.base/exprs.exp: Remove a duplicate test.
7070
81564d34
JB
70712001-06-06 Jim Blandy <jimb@redhat.com>
7072
7073 * gdb.base/return2.exp (main): Use values to test float and double
7074 returns that are not NaN's, to avoid being confused by IEEE
7075 comparison rules.
7076
da55addb
MS
70772001-06-04 Michael Snyder <msnyder@redhat.com>
7078
7079 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 7080 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
7081 rather than wait for 12 more tests to time out.
7082
42c65987
JB
70832001-06-06 Jim Blandy <jimb@redhat.com>
7084
b18bced9 7085 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 7086 Don't forget to match the GDB prompt.
b18bced9 7087
42c65987
JB
7088 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
7089
5b41e5f0
JB
70902001-06-04 Jim Blandy <jimb@redhat.com>
7091
7092 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
7093 command.
7094
015e046f
KB
70952001-05-31 Kevin Buettner <kevinb@redhat.com>
7096
7097 * gdb.base/annota1.exp (info break): Match four or more spaces
7098 after "Address".
7099
fb1ffbbe
MC
71002001-05-31 Michael Chastain <chastain@redhat.com>
7101
7102 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
7103 (dm_type_int_star): Likewise.
7104 (dm_type_long_star): Likewise.
7105 (dm_type_void_star): Likewise.
7106
5ea2a32c
KB
71072001-05-29 Kevin Buettner <kevinb@redhat.com>
7108
7109 * gdb.base/completion.exp (INPUTRC): Set this environment variable
7110 to a known value in order to get consistent results regardless
7111 of the setting of INPUTRC or the presence or contents of .inputrc.
7112
ae23c492
MS
71132001-05-24 Michael Snyder <msnyder@redhat.com>
7114
ac55707e
MS
7115 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
7116 Don't require that the main thread and the manager thread are the
7117 first in the list.
7118
ae23c492
MS
7119 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
7120 debugging. If test fails, issue an "unsupported" not a "fail".
7121
400071f1
JB
71222001-05-24 Jim Blandy <jimb@redhat.com>
7123
7124 Don't assume that short is shorter than int.
7125 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
7126 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 7127 this isn't true.
400071f1
JB
7128 ("print unsigned char == (~0)"): Add test that verifies that ~0,
7129 an int, is not equal to ~0 stored in an unsigned char. This tests
7130 the same thing that the previous test meant to, but works on
7131 16-bit machines, too.
7132 ("print unsigned char != (~0)"): Same test, complemented.
7133
0816a3e5
MS
71342001-05-24 Michael Snyder <msnyder@redhat.com>
7135
7136 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 7137 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
7138 and prevents dejagnu getting out of step.
7139
f6dc23a9
KB
71402001-05-23 Kevin Buettner <kevinb@redhat.com>
7141
7142 * gdb.base/finish.exp (finish_void): Revise pattern for
7143 stopping on the call statement to not permit stopping at
7144 the start of the instructions comprising the call sequence.
7145
7dbd117d
MC
71462001-05-19 Michael Chastain <chastain@redhat.com>
7147
7148 * gdb.base/callfuncs.exp: Make all test names unique.
7149 * gdb.base/commands.exp: Make all test names unique.
7150 * gdb.base/condbreak.exp: Make all test names unique.
7151 * gdb.base/dbx.exp: Make all test names unique.
7152 * gdb.base/default.exp: Make all test names unique.
7153 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
7154 and TIMEOUT messages to their corresponding PASS message.
7155 * gdb.base/ending-run.exp: Make all test names unique.
7156 * gdb.base/long_long.exp: Remove duplicate test.
7157
6b0b0a9e
KB
71582001-05-21 Kevin Buettner <kevinb@redhat.com>
7159
7160 * gdb.base/finish.exp (finish_void): Allow "finish" command to
7161 stop on the call statement as well as the statement after the
7162 call.
7163
2caa35cb
MS
71642001-05-21 Michael Snyder <msnyder@redhat.com>
7165
7166 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
7167
40713331
EZ
71682001-05-10 Elena Zannoni <ezannoni@redhat.com>
7169
7170 * gdb.base/completion.exp: Revamp test. Make it execute on all
7171 platforms.
7172
c2c1be8d
EZ
71732001-05-10 Elena Zannoni <ezannoni@redhat.com>
7174
2c9cd303
EZ
7175 * config/gdbserver.exp (gdb_load): Handle the case
7176 in which the arguments to gdbserver are given in the
7177 baseboard configuration file.
7178 Also handle the case in which the server needs to do a
7179 load.
7180
9671de48
KS
71812001-05-07 Keith Seitz <keiths@cygnus.com>
7182
7183 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
7184 set up the display for testing.
7185 (gdbtk_start): Convert all paths to paths that tcl will like.
7186 Export target information to environment.
7187 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
7188 necessary.
7189 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
7190 (to_tcl_path): New proc to convert a given pathname into
7191 a path acceptible as an argument to a tcl command.
7192 (_gdbtk_export_target_info): New proc to export target info
7193 into the environment for gdbtk testing.
7194 (gdbtk_done): New proc to signal end-of-test.
7195
5a360f47
JB
71962001-05-06 Jim Blandy <jimb@redhat.com>
7197
7198 * restore.c: Make the code of caller0 correspond to its comment.
7199
66c756c6
MS
72002001-05-03 Michael Snyder <msnyder@redhat.com>
7201
7202 * config/sid.exp (gdb_target_sid): Check for error messages.
7203 On error or timeout, don't make expect exit (which will terminate
7204 all subsequent tests); instead just make gdb exit.
d63a86f8 7205 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
7206 return a negative value.
7207
a966fde5
JB
72082001-04-24 Jim Blandy <jimb@redhat.com>
7209
851c18e0
JB
7210 * gdb.c++/templates.exp: If we see the prompt for the overload
7211 list, but we haven't recognized any of the longer patterns,
7212 arrange for this test to fail, not hang.
7213
a966fde5
JB
7214 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
7215 variations.
7216
db144853
MC
72172001-04-22 Michael Chastain <chastain@redhat.com>
7218
7219 * gdb.c++/local.exp: Use the 'runto' library function.
7220 * gdb.c++/namespace.exp: Likewise.
7221 * gdb.c++/overload.exp: Likewise.
7222
3207ec21
KB
72232001-03-26 Kevin Buettner <kevinb@redhat.com>
7224
7225 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
7226 * gdb.base/step-line.exp: New file. Test step/next in presence of
7227 #line directives.
7228 * gdb.base/step-line.c: New file. Test program for the above.
7229 * gdb.base/step-line.inp: New file. We pretend that this file has
7230 been transformed by some other tool into step-line.c.
7231
13b57657
JB
72322001-03-21 Jim Blandy <jimb@redhat.com>
7233
7234 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
7235 unmangled operator names.
7236
754cbe1c
JB
72372001-03-20 Jim Blandy <jimb@redhat.com>
7238
7239 * gdb.threads/linux-dp.exp: Recognize an additional message
7240 generated by GDB when it doesn't understand how to debug threads
7241 on the target system.
7242
177495c9
AC
72432001-03-19 Andrew Cagney <ac131313@redhat.com>
7244
7245 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
7246
f266096b
MC
72472001-03-12 Michael Chastain <chastain@redhat.com>
7248
7249 * gdb.c++/derivation.exp: Use the 'runto' library function.
7250
cac3c2ff
MC
72512001-03-12 Michael Chastain <chastain@redhat.com>
7252
7253 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
7254
b6c11a24
MC
72552001-02-24 Michael Chastain <chastain@redhat.com>
7256
7257 * gdb.c++/ref-types.exp: Change handwritten code to library
7258 function 'runto'.
7259
6bae5bce
OF
72602001-03-16 Orjan Friberg <orjanf@axis.com>
7261
7262 * gdb.base/signals.exp: Set count to 0 explicitly.
7263
0015fd9a
MS
72642001-03-15 Mark Salter <msalter@redhat.com>
7265
7266 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
7267 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
7268 (gdb_load): Add support for additional target_info: gdb_download_size
7269 and gdb_load_timeout.
0015fd9a 7270
fc33412a
DT
7271Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
7272
7273 * gdb.base/annota1.exp: Move test of isnative to earlier in the
7274 file -- to prevent failing when the compile fails but we have no
7275 intention of running the tests anyway.
7276
7277 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
7278 tests if set.
7279
7280 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
7281 integers.
7282
7283 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
7284 * gdb.c++/namespace.exp: Ditto.
7285
115f06de
OF
72862001-03-07 Orjan Friberg <orjanf@axis.com>
7287
7288 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
7289 * gdb.base/pointers.exp: Relax pattern match of decimals.
7290
b6ba6518
KB
72912001-03-06 Kevin Buettner <kevinb@redhat.com>
7292
7293 * Makefile.in, config/abug.exp, config/cfdbug.exp,
7294 config/cpu32bug.exp, config/dve.exp, config/est.exp,
7295 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
7296 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
7297 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
7298 config/sh.exp, config/sid.exp, config/slite.exp,
7299 config/sparclet.exp, config/udi.exp, config/unknown.exp,
7300 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
7301 config/vxworks.exp, config/vxworks29k.exp,
7302 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
7303 gdb.base/all-bin.exp, gdb.base/annota1.exp,
7304 gdb.base/arithmet.exp, gdb.base/assign.exp,
7305 gdb.base/async.exp, gdb.base/attach.exp,
7306 gdb.base/bitfields.exp, gdb.base/bitops.exp,
7307 gdb.base/break.exp, gdb.base/call-ar-st.exp,
7308 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
7309 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
7310 gdb.base/commands.exp, gdb.base/completion.exp,
7311 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7312 gdb.base/constvars.exp, gdb.base/corefile.exp,
7313 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
7314 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
7315 gdb.base/ending-run.exp, gdb.base/environ.exp,
7316 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7317 gdb.base/finish.exp, gdb.base/foll-exec.exp,
7318 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
7319 gdb.base/funcargs.exp, gdb.base/help.exp,
7320 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
7321 gdb.base/logical.exp, gdb.base/long_long.exp,
7322 gdb.base/maint.exp, gdb.base/mips_pro.exp,
7323 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
7324 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
7325 gdb.base/pointers.exp, gdb.base/printcmds.exp,
7326 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
7327 gdb.base/regs.exp, gdb.base/relational.exp,
7328 gdb.base/remote.exp, gdb.base/reread.exp,
7329 gdb.base/restore.exp, gdb.base/return2.exp,
7330 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
7331 gdb.base/selftest.exp, gdb.base/setshow.exp,
7332 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
7333 gdb.base/sigall.exp, gdb.base/signals.exp,
7334 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
7335 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7336 gdb.base/step-test.exp, gdb.base/structs.c,
7337 gdb.base/structs.exp, gdb.base/structs2.exp,
7338 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
7339 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
7340 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
7341 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
7342 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
7343 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
7344 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
7345 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
7346 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
7347 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
7348 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
7349 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
7350 gdb.fortran/types.exp, gdb.java/jmisc.exp,
7351 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7352 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
7353 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7354 gdb.trace/circ.exp, gdb.trace/collection.exp,
7355 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7356 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7357 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
7358 gdb.trace/report.exp, gdb.trace/save-trace.exp,
7359 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7360 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7361 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
7362 notices.
7363
dc96c6c7 73642001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
7365
7366 * gdb.base/varargs.c (find_max_double): Fix printf format string:
7367 first arg is int not float.
7368
dc96c6c7 73692001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
7370
7371 * gdb.base/reread.exp: Unsupported for non-native targets;
7372 doesn't work for remote debugging.
7373
9b0c4aeb
FN
73742001-02-19 Fernando Nasser <fnasser@redhat.com>
7375
7376 From Drew Moseley <dmoseley@redhat.com>
7377 * gdb.base/ending-run.exp: Properly handle the BSP state when
7378 stepping past the end of main.
7379
02aa71d5
MC
73802001-02-19 John Moore <jmoore@redhat.com>
7381
7382 * gdb.base/commands.exp (infrun_breakpoint_command_test):
7383 Converted HPUX fix for non-expected items following multiple
7384 step commands into general solution for all platforms.
7385
1fa449a4
MC
73862001-02-18 Michael Chastain <chastain@redhat.com>
7387
7388 * gdb.c++/classes.exp (do_tests): Change runto statements
7389 from "runto 'foo(void)'" to "runto 'foo'". This makes the
7390 statements demangler agnostic.
7391 * gdb.c++/virtfunc.exp (do_tests): Likewise.
7392 (gdb_virtfunc_restart): Likewise.
7393
b2f9ec70
MC
73942001-02-14 Michael Chastain <chastain@redhat.com>
7395
7396 * gdb.c++/inherit.exp (do_tests): Change runto statements
7397 from "runto 'foo(void)'" to "runto 'foo'". This makes the
7398 statements demangler agnostic.
7399
cf74b8ca
AC
7400Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
7401
7402 * gdb.threads/pthreads.exp: Unify pass/fail messages for
7403 ``continue to bkpt at common_routine in thread 2'' and ``stopped
7404 before calling common_routine 15 times'' tests.
7405
99f78f56
MC
74062001-02-11 Michael Chastain <chastain@redhat.com>
7407
7408 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
7409 Helps the test script figure out which demangler is in use.
7410 (dm_type_foo_ref): Ditto.
7411 (dm_type_int_star): Ditto.
7412 (dm_type_long_star): Ditto.
7413 (dm_type_unsigned_int): Ditto.
7414 (dm_type_void): Ditto.
7415 (dm_type_void_star): Ditto.
99707966 7416 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
7417 Probe the gdb demangler and set variables to accommodate
7418 formatting differences.
7419 (info_func_regexp): New function. Same as info_func, but
7420 matches against a regexp.
7421 (info_func): Match against a literal string.
7422 (print_addr_2): New function. Match against a literal string,
7423 which can be different from the input to gdb.
7424 (print_addr): Simply call print_addr_2 with the same argument twice.
7425 (test_lookup_operator_functions): Use demangler formatting variables.
7426 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
7427 the tests in the same order as the C++ class declaration.
7428 (test_paddr_operator_functions): Ditto.
7429 (test_paddr_overloaded_functions): Ditto.
7430 (test_paddr_hairy_functions): Use demangler formatting variables.
7431 Add reference to gdb/19 for related tests.
7432 (do_tests): Call probe_demangler.
7433
1de8f023
KB
74342001-01-30 Kevin Buettner <kevinb@redhat.com>
7435
7436 * gdb.c++/templates.cc (printf): Remove unused function definition.
7437
ca3f91ed
MS
74382001-01-26 Felix Lee <flee@redhat.com>
7439
7440 * sid.exp (sid_exit): Pass host, not target, to remote_close.
7441
74422001-01-25 matthew green <mrg@redhat.com>
7443
7444 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
7445 up sid.
7446 (sid_exit): Call `remote_pop_conn' after GDB is gone.
7447
74482001-01-25 matthew green <mrg@redhat.com>
7449
7450 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 7451 Deprecate $sid_spawn_id.
ca3f91ed
MS
7452 (sid_exit): Remove code necessary only for `spawn.'
7453
74542001-01-25 matthew green <mrg@redhat.com>
7455
7456 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
7457
fb18ec4a
MC
74582001-01-28 Michael Chastain <chastain@redhat.com>
7459
7460 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
7461 to call when tests fail. It takes gdb out of the overloaded
7462 function choice menu back to the main prompt, so that the test
7463 program stays synchronized.
7464 (set_bp_overloaded): New proc to collect all the common
7465 code for setting a breakpoint on an overloaded name. Calls
7466 take_gdb_out_of_choice_menu when needed.
7467 (menu_overload1arg): New variable to collect the repeated
7468 instances of the expected menu for an overloaded name. Change
7469 the regular expression to handle changes in g++ type encoding:
7470 "void" can be either "void" or "", and "unsigned int" can be
7471 either "unsigned int" or "unsigned".
7472 (continue_to_bp_overloaded): Change regular expressions to handle
7473 changes in g++ type encoding.
7474 (no proc): Call take_gdb_out_of_choice_menu when needed.
7475 Remove redundant calls to "info break". Accept either "canceled"
7476 or "cancelled". Change regular expressions in "info break"
7477 calls to handle changes in g++ type encoding. Give all tests
7478 unique strings.
7479
9c646a6e
BE
74802001-01-17 Ben Elliston <bje@redhat.com>
7481
7482 * config/sid.exp: New file.
7483
9549d9c1
AC
7484Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
7485
7486 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
7487
dc96c6c7 74882000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
7489
7490 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
7491 Add a RE to accept a non-ascii char if one is ever presented.
7492
b4df4f68
FN
74932000-12-20 Fernando Nasser <fnasser@redhat.com>
7494
297dd0fd 7495 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 7496
dc96c6c7 74972000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 7498
d63a86f8 7499 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
7500 in regexp. One '\' does not suffice on Linux.
7501
4a7bddb6
MC
75022000-12-09 Michael Chastain <chastain@redhat.com>
7503
7504 * gdb.base/break.exp (test_clear_command): Use a marker function
7505 rather than 'main' for the test function. Also move this
7506 test to an execution point where the marker function names are
7507 guaranteed to be bound to functions. (Executing tests after a
7508 'finish' from main runs into name conflicts with local names
7509 in __libc_start_main).
7510
dc96c6c7 75112000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
7512
7513 * gdb.base/finish.exp: New test for gdb's "finish" command.
7514 * gdb.base/return2.exp: New test for gdb's "return" command.
7515 * gdb.base/return2.c: New source file for above.
7516
dc96c6c7 75172000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
7518
7519 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
7520 * gdb.base/miscexprs.exp: Ditto.
7521 * gdb.base/pointers.exp: Ditto.
7522 * gdb.c++/derivation.exp: Ditto.
7523 * gdb.c++/local.exp: Ditto.
7524 * gdb.c++/namespace.exp: Ditto.
7525 * gdb.c++/overload.exp: Ditto.
7526 * gdb.c++/ref-types.exp: Ditto.
7527
dc96c6c7 75282000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
7529
7530 * gdb.base/constvars.exp: Test result of "up" command.
7531 * gdb.base/miscexprs.exp: Ditto.
7532 * gdb.base/pointers.exp: Ditto.
7533 * gdb.base/scope.exp: Ditto.
7534 * gdb.c++/derivation.exp: Ditto.
7535 * gdb.c++/local.exp: Ditto.
7536 * gdb.c++/namespace.exp: Ditto.
7537 * gdb.c++/overload.exp: Ditto.
7538 * gdb.c++/ref-types.exp: Ditto.
7539
44097287
FN
75402000-11-22 Michael Chastain <chastain@redhat.com>
7541
7542 * mips_pro.exp: Accept either "middle -> top -> main" or
7543 "middle -> main" in the backtrace, because gcc can optimize
7544 tail calls to jumps. Remove setup_xfail for the hppa case.
7545 Add a comment with the original warning messages from PR 3016,
7546 which was filed in 1993, to preserve them for posterity.
7547
9d2e1bab
ND
75482000-11-17 Nick Duffek <nsd@redhat.com>
7549
7550 * lib/gdb.exp (gdb_test): Override timeout with board info.
7551
1aca8eb7
ND
75522000-11-17 Nick Duffek <nsd@redhat.com>
7553
7554 * gdb.base/display.exp: Don't kill running stub. Add "again" to
7555 the second kill and detach messages.
7556
93076499
ND
75572000-11-17 Nick Duffek <nsd@redhat.com>
7558
7559 * configure.in: Add AC_EXEEXT.
7560 * configure: Regenerate.
7561 * Makefile.in (just-check): Export EXEEXT.
7562 * lib/gdb.exp ($EXEEXT): Import from environment.
7563 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
7564 expect "maint dump-me" on Cygwin.
7565 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
7566 $EXEEXT.
7567
30e87cd3
ND
75682000-11-17 Nick Duffek <nsd@redhat.com>
7569
7570 * gdb.base/break.exp: Test backtrace and finish from called
7571 function on all platforms, not just HP-UX.
7572
dc96c6c7 75732000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
7574
7575 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
7576 code from gdb_target_monitor, so it can be used independantly
7577 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 7578
dc96c6c7 75792000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
7580
7581 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
7582 * gdb.base/corefile.exp: Expect the message "Program is being
7583 debugged already" when we send the "corefile" command, since
7584 the preceeding gdb_load may have connected gdb to a remote target.
7585 * gdb.base/display.exp: Disable hardware watchpoints if new
7586 board info variable "no_hardware_watchpoints" is true.
7587 Replace single-letter commands with more readable ones.
7588 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
7589 if new board info variable "no_hardware_watchpoints" is true.
7590 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
7591 to see if stdio (printf) testing is possible.
7592 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
7593 board info variable "no_hardware_watchpoints" is true. Use new
7594 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
7595
39124dea
FN
75962000-11-13 Fernando Nasser <fnasser@redhat.com>
7597
7598 From Orjan Friberg <orjanf@axis.com>:
7599 * gdb.base/printcmds.exp: Escape curly braces followed by a number
7600 in array print pattern match.
7601
a9e2e984
FN
76022000-11-09 Fernando Nasser <fnasser@redhat.com>
7603
7604 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
7605 spelling "cancelled" to U.S. spelling "canceled" to match changes
7606 made to gdb.
7607 * gdb.c++/ovldbreak.exp: Ditto.
7608
c7db355b
PS
76092000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7610
7611 * gdb.base/callfuncs.c (main): Moved to end of file, call
7612 t_double_values to initialize the FPU before inferior calls are made.
7613 * gdb.base/callfuncs.exp: Test for register preservation after calling
7614 inferior functions. Add tests for continuining, finishing and
7615 returning from a stop in a call dummy.
7616
dc96c6c7 76172000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
7618
7619 * gdb.base/commands.exp: Break up long lines, and re-indent.
7620
dc96c6c7 76212000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
7622
7623 * config/gdbserver.exp: Rewritten from the ground up, to make it
7624 compatible with the current dejagnu tree, and to make it work with
7625 the new "gdbserver" in libremote.
7626
dc96c6c7 76272000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
7628
7629 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
7630 * gdb.base/varargs.exp: Skip entire test if no printf support.
7631 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
7632 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
7633
dc96c6c7 76342000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
7635
7636 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
7637 no floating point support.
7638 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
7639 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
7640 * gdb.base/call-rt-st.exp: Ditto.
7641 * gdb.base/call-strs.exp: Ditto.
7642
bac5fc66
JG
76432000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
7644
7645 * gdb.base/sizeof.c: include <stdio.h>.
7646
7647 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
7648 'finish', otherwise uncaptured gdb_prompt would potentially
7649 throw remaining test points out of sync.
7650
b22a6027
SB
76512000-07-26 Scott Bambrough <scottb@netwinder.org>
7652
7653 * gdb.base/recurse.exp: Run tests for all targets.
7654 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
7655 gnu-oldld case on ARM.
7656 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
7657 for ARM targets.
d63a86f8 7658
d8231941
AG
7659Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
7660
7661 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
7662 * gdb.java/configure: Rebuild.
7663
8caabe69
AG
7664Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
7665
7666 * gdb.java/jv-exp.exp: New file.
7667
9d273ca3
AG
7668Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
7669
7670 * configure: Rebuilt.
7671 * configure.in (configdirs): Add gdb.java.
7672 * gdb.java/jmisc.java: New file.
7673 * gdb.java/jmisc.exp: New file.
7674 * gdb.java/Makefile.in: New file.
7675 * gdb.java/configure: Rebuilt.
7676 * gdb.java/configure.in: New file.
7677 * lib/java.exp: New file.
7678
4f823a66
AC
7679Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
7680
7681 * gdb.base/exprs.exp: Test casts to a pointer including over and
7682 underflow.
7683
2391e11d
AC
7684Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
7685
7686 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
7687 and the compilers sizes.
7688
54602222
ND
76892000-07-09 Nick Duffek <nsd@redhat.com>
7690
7691 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
7692 (use_methods): New function.
7693 (main): Call use_methods().
7694 * gdb.c++/classes.exp (test_method_param_class): New procedure.
7695 (do_tests): Call test_method_param_class.
7696
2bec0572
ND
76972000-07-09 Nick Duffek <nsd@redhat.com>
7698
7699 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
7700 spelling.
7701 (test_enums): New procedure. Move enum tests from end of script
7702 to here. Set breakpoint on function name instead of line number.
7703 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
7704 (enums2): New marker function.
7705 (enums1): New function.
7706 (main): Call enums1(). Move enum tests to enums1().
7707
78492fde
AC
7708Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
7709
7710 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
7711 compile/link program. Update line numbers.
7712 * gdb.asm/d10v.inc: Define ``startup''.
7713 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 7714
49a2cef8
AC
7715Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
7716
7717 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
7718
3e6c8688
EZ
77192000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7720
7721 * gdb.base/maint.exp: Add 'maint print architecture' item to output
7722 of 'help maint print' command.
7723
9ff5cbe9
AC
7724Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
7725
7726 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
7727 they use gdb_expect_list.
7728
17c579bd
AC
7729Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
7730
7731 * gdb.base/commands.exp: Use ``set remote
7732 memory-read-packet-size'' instead of ``set endian big'' to test
7733 long commands.
7734
e6d71bf3
DB
77352000-06-03 Daniel Berlin <dan@cgsoftware.com>
7736
7737 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 7738 g++, and stop skipping them.
e6d71bf3
DB
7739
7740 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
7741 work under g++.
7742
d63a86f8 7743 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
7744 initialization.
7745
dc96c6c7 77462000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
7747
7748 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
7749 the regular expression: accept an (almost) arbitrary sequence of
7750 "frames-invalid" and "breakpoints-invalid" messages both before
7751 and after the "starting" message.
7752
dc96c6c7 77532000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
7754
7755 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 7756
dc96c6c7 77572000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
7758
7759 * gdb.base/annota1.exp (annotate-signal-handler-caller):
7760 Relax the regular expression a little, make it pass on Solaris 8.
7761
8216cda9
KB
77622000-05-12 Kevin Buettner <kevinb@redhat.com>
7763
7764 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 7765 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
7766 Instead, it is permissible for gdb to stop on the line of the
7767 call itself.
7768
1a570b2f
MS
77692000-05-12 Michael Snyder <msnyder@.cygnus.com>
7770
7771 * gdb.base/break.exp (bp on small function, optimized file):
7772 Add a second pass pattern. The behavior differs here between stabs
7773 and dwarf for one-line functions. Stabs preserves two line symbols
7774 (one before the prologue and one after) with the same line number,
7775 but dwarf regards these as duplicates and discards one of them.
7776 Therefore the address after the prologue (where the breakpoint is)
7777 has no exactly matching line symbol, and GDB reports the breakpoint
7778 as if it were in the middle of a line rather than at the beginning.
7779
dc96c6c7 77802000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 7781
d63a86f8 7782 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
7783 rather than "send_gdb" (for consistancy).
7784
7d418785
AC
7785Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
7786
7787 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
7788 * gdb.c++/templates.cc: Properly check for GCC version number.
7789 * lib/compiler.cc: Likewise
7790
dc96c6c7 77912000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 7792
d63a86f8 7793 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
7794 gdb may not stop at the first line of main, due to code motion.
7795
dc96c6c7 77962000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
7797
7798 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
7799 This test depends on parsing the printf output from the target.
7800 Since the sparclet stub doesn't do stdio, this will never work.
7801 * gdb.base/call-rt-st.exp: ditto.
7802 * gdb.base/call-strs: ditto.
7803
dc96c6c7 78042000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
7805
7806 * gdb.base/miscexprs.exp: make sizeof long array test portable.
7807
7808 * gdb.base/ending-run.exp: After connecting to a remote target,
7809 but before running, the target will appear to be in a random
7810 location. Specify both a file and a line for breakpoints.
7811 Also, the function that calls main may be called 'init'
7812 rather than 'start'.
7813
a5a51225
EZ
78142000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7815
7816 * gdb.base/help.exp: Update output for add-symbol-file command.
7817
7930cc7c
FN
78182000-04-10 Fernando Nasser <fnasser@cygnus.com>
7819
7820 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7821 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
7822
23e37ab1
C
78232000-04-07 J.T. Conklin <jtc@redback.com>
7824
e93c542c
C
7825 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
7826
23e37ab1
C
7827 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
7828
591b8fa3
PDM
7829Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
7830
7831 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
7832 values that can be represented exactly.
7833 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
7834 above change, and to not check against the directory part of the source
7835 file name.
7836 (step into print_long_arg_list): Likewise.
7837 (print print_small_structs from print_long_arg_list): Likewise.
7838 (print print_long_arg_list): Likewise.
7839
7a495180
EZ
78402000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7841
30b53638 7842 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 7843
beb998c6
AC
7844Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
7845
7846 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
7847
1c689132
DB
78482000-03-25 Daniel Berlin <dan@cgsoftware.com>
7849
7850 * gdb.base/commands.exp (deprecated_command_test): Add test for
7851 deprecate with no arguments.
7852
c1790a9d
JL
78532000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
7854
7855 * gdb.base/break.exp: Add new test for setting breakpoints on
7856 optimized code so we can test breakpoints work even when function
7857 prologues may be optimized away
7858
003ba290
FN
78592000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
7860
7861 From David Whedon <dwhedon@gordian.com>
7862 * gdb.base/commands.exp : Added command deprecator tests.
7863
6837a0a2
DB
78642000-03-22 Daniel Berlin <dan@cgsoftware.com>
7865
7866 * gdb.base/help.exp: Added test for new apropos command.
7867
b9593231
KB
78682000-03-21 Kevin Buettner <kevinb@redhat.com>
7869
7870 * gdb.base/pointers.c (usevar): New function.
7871 (main): Make sure that global variables v_int_pointer2, rptr,
7872 and y are all referenced someplace in the program by calling
7873 usevar() on them. [Some linkers delete symbols which are
7874 never referenced. The space remains, but there's no way to
7875 get a (symbolic) handle on the variable from the debugger.]
7876
751a959b
EZ
78772000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7878
7879 * gdb.base/printcmds.c: Add typedeffed arrays.
7880
7881 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
7882 procedure to test arrays that are typedef'd.
7883
73a93a32
JI
78842000-03-13 James Ingham <jingham@leda.cygnus.com>
7885
7886 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 7887 the library directories.
73a93a32 7888
fb40c209
AC
7889Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
7890
7891 * configure.in (configdirs): Add sub directory gdb.mi.
7892 * configure: Re-generate.
7893
7894 * gdb.mi: New directory.
d63a86f8 7895
ee4dd2c9
AC
78962000-02-25 Scott Bambrough <scottb@netwinder.org>
7897
7898 * gdb.base/long_long.exp: Correct test suite failure when printing
7899 a long long value as a double on ARM platforms.
7900
70f0cc22
JB
79012000-02-16 Jim Blandy <jimb@redhat.com>
7902
7903 * gdb.base/break.exp ("breakpoint line number"): Make sure the
7904 default source file is set properly before running this test.
7905
853819b8
EZ
79062000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7907
7908 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
7909 gdbtk/library directory, not in gdbtcl2.
7910
dfcd3bfb
JM
79112000-02-04 Jim Blandy <jimb@redhat.com>
7912
7913 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
7914 backslash from regexp pattern.
7915
7916 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
7917 procedure. Use it to run all the "continue to bp overloaded"
7918 tests. Note that this changes the names of the tests slightly.
7919 If the breakpoint hit message includes a hex PC value, because
7920 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
7921 from the real source code, still consider that a pass.
7922
7923 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
7924 XFAIL here if the breakpoint message contains a hex address. Note
7925 similar change on 1999-11-02.
7926
7927 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
7928
7929 * gdb.base/ptype.exp: Establish a default source file before
7930 calling get_debug_format.
7931
79322000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
7933
7934 * gdb.base/watchpoint.exp: Remove duplication of test messages.
7935
8b93c638
JM
79362000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
7937
7938 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
7939 of successive stepi commands -- while in the prologue we should see
7940 the function entry bracket.
7941
79422000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
7943
7944 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
7945 reach __change_mode() when stepping through the end of main().
7946
c5394b80
JM
79472000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
7948
7949 * gdb.base/default.exp: Fix expected pattern.
7950 * gdb.base/help.exp: Same.
7951
0d06e24b
JM
79522000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7953
7954 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
7955 Don't use xfail's because that affects only the following test.
d63a86f8 7956
0d06e24b
JM
7957 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
7958 solaris or linux.
7959
7960 * gdb.base/selftest.exp: Update to reflect changes to main.c.
7961
dc96c6c7 79622000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 7963
d63a86f8 7964 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
7965 "A syntax error" rather than "A parse error". Accept both.
7966
79672000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
7968
7969 * gdb.base/default.exp: Remove OS dependent string from "target
7970 remote" test.
7971 * gdb.base/help.exp: Same for "help target remote" test.
7972
c3f6f71d
JM
79732000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7974
7975 From Jim Kingdon <kingdon@redhat.com>:
7976
7977 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
7978 prompt (cleanup rather than necessity, but still might keep output
7979 from spilling to next test).
7980
79812000-01-02 Fred Fish <fnf@cygnus.com>
7982
7983 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
7984 AIX, which defines them in <sys/types.h>.
7985
ed9a39eb 79861999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 7987
ed9a39eb
JM
7988 * gdb.base/default.exp: Match arm* etc instead of arm in "info
7989 float" test.
7990
79911999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 7992
ed9a39eb 7993 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
7994
7995 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
7996 outermost frame disallowed".
7997
79981999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
7999
8000 * gdb.base/setvar.exp: New tests for setting the value of a struct
8001 with a constant list.
8002
80031999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
8004
8005 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
8006 require the user to type a cast before setting the value of a struct.
8007
de57eccd
JM
80081999-12-06 Jim Blandy <jimb@cygnus.com>
8009
8010 * gdb.base/default.exp: Expect the new 'info float' command on
8011 all i386 platforms.
8012
8013 * gdb.threads/linux-dp.exp: Expand our ability to recognize
8014 LinuxThreads libraries that don't support debugging.
8015
c2d11a7d
JM
8016Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
8017
8018 * gdb.base/remote.c: Fill the buffer with truely random data.
8019 Change the buffer type to ``unsigned char'' to simplify size
8020 arithmetic.
8021
8022 * gdb.base/remote.exp: Reduce download numbers by one. Typical
8023 stub only handles 400-1 byte packets. Verify that the download
8024 worked.
8025
80261999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
8027
8028 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
8029 tests, using UNRESOLVED for the untested cases. Also, does not wait
8030 for a timeout if the prompt was received before a recognizable pattern.
8031
80321999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
8033
8034 * lib/gdb.exp (gdb_expect_list): Fix spelling.
8035
80361999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8037
8038 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
8039 watchpoints.
8040
80411999-11-24 Jason Merrill <jason@casey.cygnus.com>
8042
8043 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
8044
8045 * gdb.c++/local.exp: Be more flexible in recognizing local class
8046 name mangling. Don't allow horribly truncated method names.
8047 * gdb.c++/derivation.exp: Expect protected inheritance.
8048 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
8049 * gdb.c++/virtfunc.exp: Likewise.
8050 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
8051 when printing a nested enum.
8052
80531999-11-22 Jim Blandy <jimb@cygnus.com>
8054
8055 * gdb.base/step-test.exp: Properly await GDB's response to setting
8056 a breakpoint on the call to large_struct_by_value.
8057
8058 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
8059 just because we have debug info for the `start' function.
8060
80611999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
8062
8063 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
8064 "Unknown signal" messages, which indicate (on LinuxThreads) that
8065 GDB doesn't know how to debug threads on this system. This is
8066 better than hanging while philosopher 0 dumps chatter into gdb.log.
8067
80681999-11-18 Tom Tromey <tromey@cygnus.com>
8069
8070 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
8071
80721999-11-18 Fred Fish <fnf@cygnus.com>
8073
8074 * gdb.base/coremaker2.c: Add sample program for generating
8075 cores that is more self contained than coremaker.c. Eventually
8076 I'll add more code to this and tie it into the testsuite.
8077
4ce44c66
JM
80781999-11-12 Stan Shebs <shebs@andros.cygnus.com>
8079
8080 * gdb.base/dollar.exp: Remove, now in gdb.hp.
8081
80821999-11-10 Jimmy Guo <guo@cup.hp.com>
8083
8084 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
8085 from $srcdir/lib/.
8086 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
8087 and gdb.c++/.
8088
8089 * gdb.c++/derivation.exp: remove redundant get compiler info code.
8090
d63a86f8 8091 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
8092 'continue with watch' test point.
8093
80941999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
8095
8096 Merged from p2linux-990323-branch:
d63a86f8 8097
4ce44c66
JM
8098 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
8099
11cf8741
JM
8100Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
8101
8102 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
8103 {limit,fixed}''. Test ``set download-write-size''.
8104
8105Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
8106
8107 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
8108 gdb_expect_list.
8109
8110Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
8111
8112 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
8113
81141999-11-03 Mark Salter <msalter@cygnus.com>
8115
8116 * gdb.base/break.exp: Fix "stub continue" pattern.
8117
81181999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
8119
8120 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
8121
81221999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
8123
8124 * gdb.base/display.exp ("finish"): Add timeout clause.
8125
8126 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
8127 plain prompt clause, so this doesn't have to time out in order to
8128 fail.
8129
8130 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
8131 breakpoint hit messages include an address.
8132
8133 * gdb.base/display.exp: Don't forget to escape parens in regular
8134 expressions. Unix regexp notatation sucks.
8135
81361999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8137
8138 * gdb.base/annota1.exp: Test for annotate-signalled: change output
8139 order for 'signalled' message.
8140
5c44784c
JM
81411999-11-01 Stan Shebs <shebs@andros.cygnus.com>
8142
8143 From Jimmy Guo <guo@cup.hp.com>:
8144 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
8145 * gdb.base/annota1.c: Add code for tests to work with.
8146
81471999-10-26 Frank Ch. Eigler <fche@cygnus.com>
8148
8149 * gdb.base/remote.exp: New test for remote downloading settings.
8150 * gdb.base/remote.c: New file with large .data.
8151
917317f4
JM
81521999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
8153
8154 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
8155 for LinuxThreads support, merged from the Code Fusion branch.
8156
8157Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
8158
8159 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
8160 containing exp_continue into a while within an expect. Don't
8161 attempt a start more than three times. Check return value from
8162 gdb_load.
d63a86f8 8163
2df3850c
JM
8164Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
8165
8166 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
8167 a pass case.
8168
2acceee2
JM
81691999-10-01 Kevin Buettner <kevinb@cygnus.com>
8170
8171 * gdb.base/break.c (main): Added a statement that we can step
8172 off of.
8173 * gdb.base/break.exp: Added tests for setting a breakpoint
8174 at an offset and stepping onto a breakpoint.
8175
81761999-10-01 Fred Fish <fnf@cygnus.com>
8177
d63a86f8 8178 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
8179 gdb output.
8180
c2c6d25f
JM
81811999-09-18 Jim Blandy <jimb@cris.red-bean.com>
8182
8183 * gdb.base/break.exp: Code locations are in hex, don't forget!
8184 (For HP-UX.)
8185
81861999-09-17 Stan Shebs <shebs@andros.cygnus.com>
8187
8188 * condbreak.exp: Use break.c as test program.
8189 * condbreak.c: Remove, redundant with break.c.
8190
81911999-09-15 Stan Shebs <shebs@andros.cygnus.com>
8192
8193 * config/monitor.exp (gdb_target_monitor): Disable X- and
8194 Z-packets if the target needs it.
8195
81961999-09-13 James Ingham <jingham@leda.cygnus.com>
8197
8198 * gdb.c++/overload.exp: Added tests for listing overloaded
8199 functions with function pointers in the arg, explicitly calling
8200 out the version you want.
8201
cff3e48b
JM
82021999-09-09 Stan Shebs <shebs@andros.cygnus.com>
8203
8204 * long_long.exp: Add variations of test cases that work for
8205 targets with 16-bit ints and 32-bit doubles.
8206
d4f3574e
SS
82071999-09-08 Stan Shebs <shebs@andros.cygnus.com>
8208
8209 * break.c (main): Compare a possibly-uninitialized argc with an
8210 unlikely value that fits in 16 bits.
8211
82121999-09-07 Stan Shebs <shebs@andros.cygnus.com>
8213
8214 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
8215 0xfeeb, don't want negative numbers if ints are 16 bits.
8216
8217 * lib/gdb.exp (skip_cplus_tests): New proc.
8218 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
8219 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
8220 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
8221 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
8222 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
8223 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
8224 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
8225 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
8226
8227 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
8228
8229Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
8230
8231 * gdb.base/corefile.exp (up): Allow a parameter to appear
8232 in the frame that we're going up to.
8233
8234 From Jim Blandy <jimb@cygnus.com>:
8235
8236 * gdb.base/default.exp (info float): Expect some output now.
8237
8238 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
8239 returning floating-point values to fail on the x86.
8240 * gdb.base/callfwmall.exp (do_function_calls): Same.
8241
8242 * gdb.base/list.exp (test_listsize): Correct expectations for
8243 listing line 1 with listsize 2. Also, listing a single line
8244 works now, as does listing three lines. [Kevin's note: There
8245 were a number of other cases fixed too where the expectations
8246 differed...]
8247
82481999-09-02 Stan Shebs <shebs@andros.cygnus.com>
8249
8250 * gdb.base/selftest.exp: Add case for when version prints as
8251 constant string instead of char pointer.
8252
104c1213
JM
82531999-08-25 Stan Shebs <shebs@andros.cygnus.com>
8254
8255 * gdb.base/ending-run.exp: Add Solaris case for what happens when
8256 stepping out of main.
8257
8258 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
8259 G++ used.
8260
8261 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
8262 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
8263
8264 * gdb.c++/ovldbreak.exp: Update match string in test that
8265 includes a warning of multiple breakpoints.
8266
82671999-08-24 Stan Shebs <shebs@andros.cygnus.com>
8268
8269 * gdb.base/display.exp: Improve precision of step-after-finish
8270 added yesterday.
8271
8272 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
8273 test.
8274
8275 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
8276 configs when using G++, not just hppa*.
8277
82781999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8279
8280 * gdb.base/async.c: New file.
8281 * gdb.base/async.exp: New file.
8282
8283Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
8284
8285 * gdb.base/break.exp: Tweak PA specific tests to properly handle
8286 PA64.
8287
53a5351d
JM
8288Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
8289
104c1213
JM
8290 * gdb.base/display.exp: "finish" can leave us mid-line on many
8291 targets, deal with it. Add a small constant to main, instead of
8292 1000 since main+1000 may not be a valid address in the target.
8293
53a5351d
JM
8294 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
8295 on hpux11.
8296
8297 * gdb.base/attach.exp: Handle another hpux11 error message variant
8298 when attaching to a process that does not exist.
8299
83001999-08-19 J.T. Conklin <jtc@redback.com>
8301
8302 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
8303 characters in 'continue to 1241' test.
8304
83051999-08-17 Stan Shebs <shebs@andros.cygnus.com>
8306
8307 * gdb.base/call-ar-st.exp: Add a shorter match case for the
8308 stop in print_long_arg_list, define and use a whitespace
8309 variable in print_small_structs test, add an XFAIL for Solaris.
8310 * gdb.base/dbx.exp: XFAIL func commands until somebody is
8311 interested enough to fix.
8312
7be570e7
JM
83131999-08-13 Keith Seitz <keiths@cygnus.com>
8314
8315 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
8316 (dbx_gdb_load): Remove. Use gdb_load instead, since that
8317 proc knows about targets other than the natives.
8318 (test_assign): Use "gdb_run_cmd" to "run" the target.
8319 Check that we've actually hit the breakpoint at main.
8320 When we attempt to assign a value to a local variable, check
8321 that the variable is in the current scope, i.e., don't use
8322 a test with an empty result.
8323
8324Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
8325
8326 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
8327 command.
8328
83291999-08-09 Stan Shebs <shebs@andros.cygnus.com>
8330
8331 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8332 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
8333 gdb.compat, gdb.threads-hp.
8334 gdb.hp/configure, gdb.hp/configure.in: New files.
8335 gdb.hp/Makefile.in: Recurse into new subdirs.
8336 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
8337 gdb.hp/gdb.objdbg: New directory, tests for debugging info
8338 in object files.
8339 gdb.hp/tools: New directory, aux tools for HP-specific tests.
8340
96baa820
JM
83411999-08-05 Stan Shebs <shebs@andros.cygnus.com>
8342
8343 * gdb.base/display.exp: Help expect by putting a newline in the
8344 funky printf, remove a bogus p/a test.
8345
83461999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8347
8348 * gdb.base/display.exp: Make sure that when we say 'run', we are
8349 connected to the target. This is necessary when running not
8350 natively.
8351
83521999-08-03 Stan Shebs <shebs@andros.cygnus.com>
8353
8354 * gdb.base/step-test.exp: Removed some extraneous messages.
8355
8356 * gdb.base/long_long.exp: Don't run memory examination tests
8357 on little-endian targets (they will need a different set of
8358 results to match).
8359
83601999-08-02 Stan Shebs <shebs@andros.cygnus.com>
8361
8362 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
8363 until somebody decides to fix GDB.
8364
8365 * gdb.base/long_long.c: Stop compiler complaint by specifying long
8366 constant as "ULL".
8367 * gdb.base/long_long.exp: Loosen x/c test, add partial result
8368 matches for a couple x/2 commands.
8369
a0b3c4fd
JM
83701999-07-30 Stan Shebs <shebs@andros.cygnus.com>
8371
8372 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
8373 by merging in ref-types2 tests.
8374 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
8375
8376 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8377 * gdb.c++/Makefile.in: Add standard actions.
8378 (EXECUTABLES): Rename from PROGS, update list.
8379 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
8380 from gdb.hp.
8381 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
8382 foo and bar locals.
8383 * gdb.c++/anon-union.exp: Fix tests to match.
8384 * gdb.c++/classes.exp: Run if HP compiler used, add extra
8385 expect matches to handle output variations.
8386 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
8387 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
8388 output, add HP alternatives for new and delete prints.
8389 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
8390 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
8391 * gdb.c++/demangle.exp: Use $style when reporting failure.
8392 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
8393 * gdb.c++/inherit.exp: Run if HP compiler used, add some
8394 match alternatives.
8395 * gdb.c++/local.exp: Add match alternatives or xfails for HP
8396 compilers.
8397 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
8398 * gdb.c++/method.exp: Add match alternatives.
8399 * gdb.c++/misc.cc: Add bool types.
8400 * gdb.c++/misc.exp: Add tests for bool types.
8401 * gdb.c++/overload.exp: Add xfails.
8402 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
8403 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
8404 add some more template parameter tests (only for HP currently).
8405 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
8406 * gdb.c++/virtfunc.cc: Add return type and value for main.
8407 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
8408 match alternatives.
d63a86f8 8409
a0b3c4fd
JM
84101999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8411
8412 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
8413
84141999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
8415
8416 * gdb.base/signals.exp: Don't expect getting a backtrace from
8417 within a signal handler to fail on Linux.
8418
84191999-07-29 Stan Shebs <shebs@andros.cygnus.com>
8420
8421 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8422 * lib/gdb.exp: Remove some gratuitious semicolons.
8423 (delete_breakpoints): Increase timeout.
8424 (gdb_expect): Add -notransfer option.
8425 (gdb_test): Use -notransfer option.
8426 (get_compiler_info): Add f77 case.
8427 (get_compiler): New proc, split out from gdb_preprocess, add f77
8428 case.
8429 (gdb_preprocess): Call get_compiler.
8430
8431 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
8432 * gdb.base/attach.exp, gdb.base/display.exp,
8433 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
8434 gdb.base/long_long.exp, gdb.base/printcmds.exp,
8435 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
8436 third arg to gdb_test.
8437 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
8438 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
8439 HP-UX xfails, add others.
8440 * gdb.base/completion.exp: Reflect name change of self-test.
8441 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
8442 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
8443 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
8444 HP failure number.
8445 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
8446 useless HP-UX 10.30 references.
8447 * gdb.base/maint.exp: Loosen matches.
8448 * gdb.base/pointers.c (main): Declare more_code.
8449 * gdb.base/pointers.exp: Match on output of a `next'.
8450 * gdb.base/structs.c: Add prototypes.
8451 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
8452 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
8453
84541999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8455
8456 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
8457 command.
8458
84591999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8460
8461 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
8462 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
8463
8464 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
8465 debug info. Deal with lack of signal hanlder info in stack.
8466
8467 From Jim Kingdon <kingdon@redhat.com>:
8468 * gdb.base/annota1.exp: If printf has debug info, deal with it.
8469
5a2468f5
JM
84701999-07-19 Stan Shebs <shebs@andros.cygnus.com>
8471
8472 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
8473 gdb.base/foll-vfork.exp: Don't run for crosses.
8474
adf40b2e
JM
8475Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
8476
8477 * gdb.base/configure.in: Check for gdbvars.exp instead of
8478 a1-selftest.exp.
8479 * gdb.base/configure: Re-generate.
8480
84811999-07-12 Stan Shebs <shebs@andros.cygnus.com>
8482
8483 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
8484 in trying to run first and name is too long.
8485
8486 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
8487 pointers2.c and pointers2.exp, respectively.
8488 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
8489 doschk happier.
8490
43e526b9
JM
84911999-07-08 Stan Shebs <shebs@andros.cygnus.com>
8492
8493 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
8494 callfuncs2.c and callfuncs2.exp.
8495
8496 * gdb.base/list.exp: Remove mistaken xfails.
8497 * gdb.base/list0.h: Add optional prototypes.
8498
9846de1b
JM
8499Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
8500
8501 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
8502 calling malloc.
8503 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
8504 * ptype.exp: Move test for get_debug_format to before its first
8505 use.
8506
85071999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8508
8509 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
8510 * gdb.base/annota2.cc, annota2.exp: Move from here.
8511 * gdb.c++/annota2.cc, annota2.exp: To here.
8512 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
8513
43ff13b4
JM
8514Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
8515
8516 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
8517 a consistent format.
8518
085dd6e6
JM
85191999-06-25 Stan Shebs <shebs@andros.cygnus.com>
8520
8521 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8522 * lib/gdb.exp (get_compiler_info): Add detection for assorted
8523 HP compilers, also set the globals $true and $false.
8524
8525 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
8526 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
8527 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
8528 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
8529 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
8530 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
8531 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
8532 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
8533 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
8534 whatis.c} Add C++ compatible function definitions and return
8535 types, add includes for library functions.
8536 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
8537 * gdb.base/step-test.c (myglob): Rename from glob.
8538 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
8539 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
8540 files, move here from gdb.hp.
8541 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
8542 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
8543 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
8544 Adjust line numbers in regexps.
8545
8546 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
8547 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
8548 instead of 0/1.
8549
8550 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
8551 foll-vfork.exp: New files, move here from gdb.hp.
8552 * gdb.base/page.exp: New file, test of pagination command.
8553
8554 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
8555 recursion test.
8556 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
8557
8558 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
8559 gdb.base/solib.exp: Fix compiler invocation process.
8560
8561 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
8562 HP-UX 11, turn off overload resolution explicitly.
8563 * gdb.base/commands.exp: Set argument list explicitly, add
8564 watchpoint test.
8565 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
8566 them work.
8567 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
8568 expressions properly.
8569 * gdb.base/corefile.exp: Loosen the match slightly.
8570 * gdb.base/default.exp: Allow "Error accessing memory" message
8571 also.
8572 * gdb.base/display.exp: Skip over x/0 j if PA64.
8573 * gdb.base/funcargs.exp: Add xfails for HP-UX.
8574 * gdb.base/interrupt.exp: Ditto.
8575 * gdb.base/langs.exp: Add symbolic matches governed by compiler
8576 in use.
8577 * gdb.base/list.exp: Add xfails for HP-UX.
8578 * gdb.base/long_long.exp: Refine some of the numeric matches.
8579 * gdb.base/mips_pro.exp: Xfail on HP-UX.
8580 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
8581 * gdb.base/nodebug.exp: Succeed on more varieties of output.
8582 * gdb.base/opaque.exp: Remove some HP-UX xfails.
8583 * gdb.base/ptype.exp: Succeed on more varieties of output.
8584 * gdb.base/scope.exp: Add xfails for HP-UX.
8585 * gdb.base/sect-cmd.exp: Add more cases.
8586 * gdb.base/setvar.exp: Add xfails for HP-UX.
8587 * gdb.base/shlib-call.exp: Loosen some matches slightly.
8588 * gdb.base/signals.exp: Match on void symbolically.
8589 * gdb.base/step-test.exp: Add case for PA64.
8590 * gdb.base/term.exp: Add exit and restart.
8591 * gdb.base/twice.exp: Clean up after self.
8592 * gdb.base/varargs.exp: Disable overload resolution explicitly.
8593 * gdb.base/whatis.exp: Allow more ways to pass tests.
8594
8595 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
8596 no longer useful.
8597
8598Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
8599
8600 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
8601 list of patterns.
8602 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
8603 print_double_array(double_array)", "continuing to breakpoint
8604 1018", "print print_double_array(array_d)" and "continuing to
8605 1034" tests.
d63a86f8 8606
085dd6e6
JM
86071999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
8608
8609 * Makefile.in: Add empty html and install-html targets.
8610
86111999-06-24 Stan Shebs <shebs@andros.cygnus.com>
8612
8613 * config/mt-*: Remove, these haven't been used since 1996.
8614
86151999-06-22 Stan Shebs <shebs@andros.cygnus.com>
8616
8617 * gdb.base/call-strs.c, gdb.base/ending-run.c,
8618 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
8619 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
8620
9e0b60a8
JM
86211999-06-18 Stan Shebs <shebs@andros.cygnus.com>
8622
8623 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
8624 simpler match case for the ptype of the big class.
8625
86261999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
8627
8628 * gdb.exp: Fix test for gdb_prompt existence.
8629
86301999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
8631
8632 * gdb.exp (gdb_test): Add fail after calls to perror.
8633
86341999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
8635
8636 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
8637
86381999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
8639
8640 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
8641
0f71a2f6
JM
8642Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
8643
8644 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
8645 malloc() is linked in.
8646
86471999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
8648
8649 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
8650 step at end.
8651
8652 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
8653
86541999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
8655
8656 * gdb.java/jv-print.exp: New file. (Our first Java test!)
8657
cce74817
JM
8658Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
8659
8660 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
8661 * gdb.base/mips_pro.exp: Likewise.
8662
86631999-06-02 Keith Seitz <keiths@cygnus.com>
8664
8665 * gdb.c++/templates.cc: Change all "new" operators to throw
8666 an exception.
8667 * gdb.c++/cplusfuncs.cc: Likewise.
8668
8669 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
8670
8671Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
8672
8673 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
8674 * gdb.base/ending-run.exp: When stepping out of main, accept a
8675 step into an arbitrary assembler file.
8676
392a587b
JM
86771999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8678
d63a86f8 8679 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 8680 "breakpoint-invalid" to be printed.
d63a86f8 8681 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
8682 number of "frames-invalid" and "breakpoint-invalid" to be printed.
8683 * gdb.base/annota2.cc: Initialize a.x to 0.
8684
9e086581
JM
86851999-05-17 Keith Seitz <keiths@cygnus.com>
8686
8687 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
8688 when "skip_float_tests" set.
8689 Ditto for "print print_double_array(array_d)", "print print_small_structs",
8690 "print print_ten_doubles", and "step into print_long_arg_list".
8691 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
8692 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
8693 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
8694 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
8695 "skip_float_tests" is set.
8696 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
8697 when "skip_float_tests" set.
d63a86f8 8698
cd0fc7c3
SS
86991999-05-06 Keith Seitz <keiths@cygnus.com>
8700
8701 * gdb.base/annota2.cc: Include stdio.h.
8702
8703Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
8704
8705 * gdb.base/crossload.exp: Remove, this has been disabled ever
8706 since BFD stopped including all targets, and cross-GDB gets
8707 plenty of testing anyway.
8708 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
8709 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
8710 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
8711 * gdb.base/README: Remove, was doc for this.
8712 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
8713 needed.
8714
b83266a0
SS
87151999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8716
8717 * gdb.base/call-ar-st.exp: Fix one regular expression in test
8718 output.
8719
8720 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
8721 * gdb.base/annota2.exp: New file. More annotation tests.
8722 * gdb.base/annota1.c: New file. Source file for annota1.exp.
8723 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
8724
87251999-04-23 Angela Marie Thomas <angela@cygnus.com>
8726
8727 * config/cfdbug.exp: New file.
8728
7a292a7a
SS
87291999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
8730
8731 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
8732 Marcus Daniel's and Dale Hawkins's demangler crashes.
8733
8734 * gdb.c++/demangle.exp (test_gnu_style_demangling,
8735 test_lucid_style_demangling, test_arm_style_demangling,
8736 test_hp_style_demangling): Try Tom Tromey's core-dumping
8737 identifier under each demangling style.
8738
87391999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
8740
8741 * gdb.c++/demangle.exp: Include the current demangling style
8742 in all test names.
8743 (current_demangling_style): New global variable.
8744 (set_demangling_style, test_demangling_core, test_demangling,
8745 test_demangling_exact): New functions.
8746 (test_gnu_style_demangling, test_lucid_style_demangling,
8747 test_arm_style_demangling, test_hp_style_demangling): Use those,
8748 instead of calling gdb_test and gdb_test_exact directly.
8749 (catch_demangling_errors): New function, which reports errors
8750 signalled by the demangling test functions in an orderly way.
8751 (do_tests): Use catch_demangling_errors.
8752
87531999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
8754
8755 * gdb.base/signals.exp (test_handle_all_print): Use () for
8756 grouping in expressions, not {}.
8757
8758 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
8759 initialized yet.
8760
87611999-04-01 Stan Shebs <shebs@andros.cygnus.com>
8762
8763 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
8764 are listed.
8765
87661999-03-26 Stan Shebs <shebs@andros.cygnus.com>
8767
8768 * gdb.stabs/weird.exp: Test for CC being defined before
8769 looking at its value.
8770
87711999-03-25 Stan Shebs <shebs@andros.cygnus.com>
8772
8773 * gdb.base/call-ar-st.exp: Remove stray '#'.
8774 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
8775 "short int" and "long int".
8776 * gdb.c++/overload.cc: Cast the string added in the previous
8777 change, to mollify finicky HP compiler.
8778 * gdb.hp/reg-test.exp (testfile): Fix file name.
8779 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 8780
7a292a7a
SS
8781 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
8782 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
8783 alternate form of enum ptype.
8784
c906108c
SS
87851999-03-23 Stan Shebs <shebs@andros.cygnus.com>
8786
7a292a7a
SS
8787 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
8788 * gdb.hp/*.exp: Change all to run compiler probe only after
8789 passing skip_hp_tests, so as not to waste time on guaranteed
8790 failure.
8791
c906108c
SS
8792 * gdb.c++/overload.cc: Pass string instead of char addr, always
8793 init ccpfoo.
8794 * gdb.c++/templates.cc: Fix syntax error.
8795
7a292a7a
SS
8796Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8797
8798 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 8799 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
8800 command.
8801
88021999-03-18 James Ingham <jingham@cygnus.com>
8803
8804 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
8805
8806 * gdb.c++/method.exp: It was testing an uninitialized int on the
8807 stack and assuming it was positive.
8808
8809 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
8810
8811 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 8812 keep it from killing the rest of the tests.
7a292a7a
SS
8813 Use gdb_continue_to_end.
8814
8815 * gdb.base/sigall.exp: use gdb_continue_to_end.
8816
8817 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
8818
8819 * gdb.base/display.exp: use runto_main, not run.
8820
d63a86f8
RM
8821 * gdb.base/default.exp: Check for the current error message in the
8822 r abbreviation test.
7a292a7a
SS
8823 Add strongarm to the targets that know info float.
8824
d63a86f8 8825 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
8826 run which doesn't work with monitors.
8827
8828 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
8829
8830 * gdb.base/break.exp: use the gdb_continue_to_end proc.
8831
8832 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
8833 program. Traps the case (in Cygmon) when the program never really
8834 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
8835 more places, so I used my name. Sorry Mark...
8836
8837 * config/monitor.exp (gdb_target_monitor): added another
8838 target_info parameter: remotebinarydownload. This will set the
8839 remotebinarydownload flag if this is causing some boards trouble.
8840
88411999-03-18 Mark Salter <msalter@cygnus.com>
8842
8843 * lib/gdb.exp (continue_to_exit): New function.
8844
8845 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
8846 * gdb.base/ending-run.exp: Ditto.
8847 * gdb.base/step-test.exp: Ditto.
8848
88491999-03-16 Stan Shebs <shebs@andros.cygnus.com>
8850
8851 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
8852 (suggested by Art Haas <ahaas@neosoft.com>).
8853
88541999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
8855
8856 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
8857
8858Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
8859
8860 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
8861 descriptions of types (short unsigned int vs unsigned short, etc).
8862
88631999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
8864
8865 * gdb.base/call-strs.exp: Don't assume that `step' will step over
8866 a call to strlen; sometimes we do have sources.
8867
88681999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
8869
8870 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
8871 character, so GDB won't print garbage after its end.
d63a86f8 8872
c906108c
SS
8873 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
8874 breakpoint there instead. Sometimes GCC emits memcpy to handle
8875 the large structures being passed by value, so we step into that
8876 instead of sum_array_print, which obscures what we're really testing.
8877 * gdb.base/step-test.exp: However, we do want a test that notices
8878 the bizarre steps into memcpy, so do that here. Add check for
8879 stepping into function calls that pass large structures by value.
8880 ("Is that a noun clause, or are you just happy to see me?")
8881 Remove all references to specific line numbers.
8882 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
8883 New type and function.
8884 (main): Call large_struct_by_value, passing it a large struct by value.
8885 * lib/gdb.exp (gdb_get_line_number): New function.
8886
8887 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
8888 more portable.
8889
7a292a7a
SS
88901999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
8891
c906108c
SS
8892 * lib/gdb.exp: Doc fixes.
8893
7a292a7a
SS
88941999-03-05 Nick Clifton <nickc@cygnus.com>
8895
d63a86f8 8896 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
8897
88981999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
8899
c906108c
SS
8900 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
8901 commands. They're not germane to this test, and they don't work
8902 that way on remote targets.
8903
3fc11d3e
JM
89041999-03-01 James Ingham <jingham@cygnus.com>
8905
8906 * Changelog entries merged over from gdb development branch.
8907
3fc11d3e
JM
8908 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
8909
8910 * lib/gdb.exp (gdbtk_analyze_results): Generic function
8911 for outputting results of test run.
8912
2d4a1622 8913 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
8914
8915 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 8916
7a292a7a
SS
89171999-02-25 Felix Lee <flee@cygnus.com>
8918
8919 * lib/gdb.exp (debug_format): initialize
8920
c906108c
SS
89211999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
8922
8923 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
8924 * gdb.base/call-rt-st.c: Ditto.
8925
c906108c
SS
89261999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
8927
8928 * gdb.threads/pthreads.exp (horiz): New variable.
8929 (test_startup): Fix regexps that capture thread numbers.
8930
89311999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
8932
8933 * gdb.base/smoke.exp: Disambiguate two test case names (both
8934 called ``print'').
8935
8936Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
8937
8938 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
8939 compilation.
8940
89411999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
8942
8943 * gdb.base/miscexprs.exp: Change patterns to match GDB's
8944 actual output formatting.
8945 * gdb.base/smoke.exp: GDB removes leading 0's.
8946 * gdb.base/volatile.exp: Don't check type of remuneration;
8947 that variable is no longer defined in constvars.c.
8948 * gdb.base/step-test.c (main): Exit with explicit exit code.
8949 * gdb.base/step-test.exp: Remove two nexti checks--they are
8950 not portable.
8951
89521999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
8953
8954 * gdb.base/help.exp ("help delete display"): Fix test to match
8955 gdb's output.
8956
8957 * gdb.base/long_long.c (known_types): Initialize values to zero.
8958 * gdb.base/long_long.exp: Step one more line
8959 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 8960 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
8961 unique test case names.
8962
8963Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8964
d63a86f8 8965 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
8966
8967 * gdb.c++/method.exp: Add missing close brace.
8968
89691999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
8970
8971 * gdb.base/maint.exp: Use 'set height 0' to disable page
8972 prompting, not 'set height 400'.
8973
8974 Fix a bunch of timeouts.
8975 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
8976 four separate tests, so expect doesn't take forever to match a ton
8977 of text against a regexp with lots of .* forms.
8978 ("maint print psymbols", "maint print symbols"): Make some of
8979 these greps more selective, so that expect doesn't try to wade
8980 through huge piles of output and time out.
8981
8982 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
8983
8984 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
8985 tests: one which doesn't expect shlib events to be reported, and
8986 another which does, but is XFAIL for all platforms other than
8987 HP/UX.
8988
8989 * gdb.base/break.exp: Teach the test suite that the `catch
8990 fork', `catch vfork', and `catch exec' commands produce error
8991 messages on platforms that don't provide these features.
8992
8993Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
8994
8995 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
8996 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
8997 (shortening names from solib_threshold.exp etc), won't run on
8998 anything but HP-UX for the foreseeable future.
8999 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
9000 reflect move.
9001
9002Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
9003
9004 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9005 gdb.trace/Makefile.in (clean): Remove all test executables.
9006
9007Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
9008
9009 * gdb.base/shlib-call.exp: add test cases to verify that gdb
9010 successfully re-sets breakpoints in shared libraries.
9011 * gdb.base/shmain.c (main): return 0, don't fall off the end.
9012
9013Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9014
d63a86f8
RM
9015 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
9016 and compiled w/o GCC.
c906108c
SS
9017
9018 * gdb.hp/watch-cmd.exp: ditto.
9019
9020 * gdb.hp/watch-hp.exp: ditto.
9021
9022 * gdb.hp/xdb1.exp: ditto.
9023
9024 * gdb.hp/xdb2.exp: ditto.
9025
9026 * gdb.hp/dbx.exp: ditto.
9027
9028Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
9029
9030 * constvars.c: Remove C++-isms.
9031 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
9032 with GCC.
9033
9034Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
9035
9036 The following changes are part of the HP merge.
9037
9038 * gdb.base/break.exp: new tests to verify that catchpoints for
9039 fork, vfork, and exec don't trigger inappropriately.
9040
9041 * gdb.base/opaque.exp: compile one file at a time, then link.
9042
9043 * gdb.base/signals.exp: be more restrictive about which hppa
9044 systems receive a setup_xfail. new tests.
9045
9046 * gdb.base/solib_threshold.build: new file.
9047 * gdb.base/solib_threshold.exp: new file.
9048 * gdb.base/solib_threshold.link_opts: new file.
9049 * gdb.base/solib_threshold.mk: new file.
9050 * gdb.base/gen_solib_threshold.c: new file.
9051
9052 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
9053 tests. New tests for enums inside classes.
9054
9055 * gdb.c++/compiler.cc: indicate support of template debugging.
9056
9057 * gdb.c++/demangle.exp: run hp style demangling tests.
9058
9059 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
9060 tests.
9061
9062 * gdb.c++/misc.cc: changes to support new tests.
9063
9064 * gdb.c++/templates.cc: changes to support HP's compiler; changes
9065 to support new tests.
9066
9067 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
9068 gcc, then skip these tests.
9069
9070Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
9071
9072 The following files are part of the HP merge; some had longer
9073 names at HP, but have been renamed to be no more than 14
9074 characters in length.
9075
9076 * gdb.hp/ambiguous.cc: new file.
9077 * gdb.hp/ambiguous.exp: new file.
9078 * gdb.hp/attach.exp: new file.
9079 * gdb.hp/attach2.exp: new file.
9080 * gdb.hp/classes-hp.exp: new file.
9081 * gdb.hp/ctti.exp: new file.
9082 * gdb.hp/ctti-add.cc: new file.
9083 * gdb.hp/ctti-add1.cc: new file.
9084 * gdb.hp/ctti-add2.cc: new file.
9085 * gdb.hp/ctti-add3.cc: new file.
9086 * gdb.hp/dbx.exp: new file.
9087 * gdb.hp/exception.cc: new file.
9088 * gdb.hp/exception.exp: new file.
9089 * gdb.hp/foll-exec.c: new file.
9090 * gdb.hp/foll-exec.exp: new file.
9091 * gdb.hp/foll-fork.c: new file.
9092 * gdb.hp/foll-fork.exp: new file.
9093 * gdb.hp/foll-vfork.c: new file.
9094 * gdb.hp/foll-vfork.exp: new file.
9095 * gdb.hp/inherit-hp.exp: new file.
9096 * gdb.hp/more-steps.exp: new file.
9097 * gdb.hp/namespace.cc: new file.
9098 * gdb.hp/namespace.exp: new file.
9099 * gdb.hp/optimize.exp: new file.
9100 * gdb.hp/pxdb.c: new file.
9101 * gdb.hp/pxdb.exp: new file.
9102 * gdb.hp/quicksort.exp: new file.
9103 * gdb.hp/reg-test.exp: new file.
9104 * gdb.hp/reg-test.s: new file.
9105 * gdb.hp/sized-enum.c: new file.
9106 * gdb.hp/sized-enum.exp: new file.
9107 * gdb.hp/start-stop.exp: new file.
9108 * gdb.hp/templ-hp.cc: new file.
9109 * gdb.hp/templ-hp.exp: new file.
9110 * gdb.hp/thr-lib.c: new file.
9111 * gdb.hp/thr-lib.exp: new file.
9112 * gdb.hp/thr-lib.h: new file.
9113 * gdb.hp/thr-liblib.c: new file.
9114 * gdb.hp/virtfun-hp.c: new file.
9115 * gdb.hp/virtfun-hp.exp: new file.
9116 * gdb.hp/watch-cmd.exp: new file.
9117 * gdb.hp/watch-hp.exp: new file.
9118 * gdb.hp/xdb1.exp: new file.
9119 * gdb.hp/xdb2.exp: new file.
9120 * gdb.hp/xdb3.exp: new file.
9121
9122Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
9123
9124 The following files are part of the HP merge; some had longer
9125 names at HP, but have been renamed to be no more than 14
9126 characters in length.
9127
9128 * gdb.base/ss.h: new file.
9129 * gdb.base/call-ar-st.c: new file.
9130 * gdb.base/call-ar-st.exp: new file.
9131 * gdb.base/call-rt-st.c: new file.
9132 * gdb.base/call-rt-st-exp: new file.
9133 * gdb.base/call-strs.exp: new file.
9134 * gdb.base/ena-dis-br.exp: new file.
9135 * gdb.base/environ.exp: new file.
9136 * gdb.base/long_long.exp: new file.
9137 * gdb.base/sect-cmd.exp: new file.
9138 * gdb.base/shlib-cl2.exp: new file.
9139 * gdb.base/smoke.exp: new file.
9140 * gdb.base/so-impl-ld.c: new file.
9141 * gdb.base/so-impl-ld.exp: new file.
9142 * gdb.base/so-indr-cl.c: new file.
9143 * gdb.base/so-indr-cl.exp: new file.
9144 * gdb.base/varargs.exp: new file.
9145 * gdb.base/volatile.exp: new file.
9146 * gdb.base/whatis-exp.exp: new file.
7a292a7a 9147 * gdb.base/display.exp: new file.
c906108c
SS
9148 * gdb.c++/derivation.exp: new file.
9149 * gdb.c++/local.exp: new file.
9150 * gdb.c++/member-ptr.exp: new file.
9151 * gdb.c++/overload.exp: new file.
9152 * gdb.c++/ovldbreak.exp: new file.
9153 * gdb.c++/ref-types.exp: new file.
9154 * gdb.c++/ref-types2.exp: new file.
9155 * gdb.c++/userdef.exp: new file.
d63a86f8 9156
c906108c
SS
9157Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
9158
9159 * gdb.base/default.exp: Reflect wording change in remote.c.
9160
dc96c6c7 9161Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9162
9163 * gdb.base/help.exp: Update to reflect current text.
9164
9165Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
9166
9167 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
9168 they're stack variables and contain garbage.
9169 * gdb.c++/anon-union.exp: new file.
9170
9171 The following changes were made by David Taylor
9172 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
9173 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
9174 in changes by HP.
9175
9176 * gdb.base/bitops.exp: new file.
9177 * gdb.base/default.exp: change expected messages for catch and
9178 info catch tests to reflect HP merge changes.
9179 * gdb.base/enable-disable-break.exp
9180 * gdb.base/ending-run.c: new file.
9181 * gdb.base/long_long.c: new file.
9182 * gdb.base/maint.exp: new file.
9183 * gdb.base/pointers2.exp: new file.
9184 * gdb.base/shlib-call2.exp: new file.
9185 * gdb.base/solib.exp: new file.
9186 * gdb.base/step-test.c: new file.
9187 * gdb.c++/anon-union.cc: new file.
9188 * gdb.c++/local.cc: new file.
9189 * gdb.c++/member-pointer.cc: new file.
9190 * gdb.c++/method.cc: new file.
9191 * gdb.c++/ref-types.cc: new file.
9192 * gdb.c++/ref-types2.cc: new file.
9193 * gdb.c++/userdef.cc: new file.
d63a86f8 9194
c906108c
SS
9195 * gdb.base/scope.exp: compile one file at a time, then link.
9196 * gdb.base/langs.exp: ditto.
9197 * gdb.base/list.exp: ditto.
d63a86f8 9198
c906108c
SS
9199Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
9200
9201 The following changes were made by David Taylor
9202 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
9203 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
9204 in changes by HP.
d63a86f8 9205
c906108c
SS
9206 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
9207 skip tests. When compiling pass c++ flag to gdb_compile.
9208 * gdb.c++/
d63a86f8 9209
c906108c
SS
9210 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
9211 test for on hppa*-*-hpux*; use args to see if c++ was specified.
9212 (skip_hp_tests): new function.
9213 (gdb_preprocess): new function.
9214
9215 * configure.in (hpdir): decide whether to configure gdb.hp.
9216 * configure: regenerated.
9217
9218 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
9219 to delete on clean.
9220 (EXECUTABLES): update to reflect new additions.
9221 * gdb.base/commands.exp: update message expected.
9222 * gdb.base/default.exp: add copyright notice.
9223 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
9224 * gdb.base/help.exp: update messages to reflect current text.
9225 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
9226 targets for recurse tests.
9227 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
9228 skip this file.
9229
9230 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
9231 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
9232 compilation.
9233 * gdb.c++/misc.exp: ditto.
9234 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
9235 run the tests. tell gdb_compile that it's a c++ compilation.
9236
9237 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 9238
c906108c
SS
9239 * gdb.base/all-bin.exp: new file.
9240 * gdb.base/arithmet.exp: new file.
9241 * gdb.base/assign.exp: new file.
9242 * gdb.base/completion.exp: new file.
9243 * gdb.base/cond-expr.exp: new file.
9244 * gdb.base/condbreak.exp: new file.
9245 * gdb.base/define.exp: new file.
9246 * gdb.base/dollar.exp: new file.
9247 * gdb.base/environment.exp: new file.
9248 * gdb.base/eval-skip.exp: new file.
9249 * gdb.base/jump.exp: new file.
9250 * gdb.base/logical.exp: new file.
9251 * gdb.base/pointers.exp: new file.
9252 * gdb.base/relational.exp: new file.
9253 * gdb.base/section_command.exp: new file.
9254 * gdb.base/whatis-expr.exp: new file.
9255
9256 * gdb.base/all-types.c: new file.
9257 * gdb.base/call-array-struct.c: new file.
9258 * gdb.base/call-return-struct.c: new file.
9259 * gdb.base/call-strings.c: new file.
9260 * gdb.base/callfuncs2.c: new file.
9261 * gdb.base/condbreak.c: new file.
9262 * gdb.base/constvars.c: new file.
9263 * gdb.base/display.c: new file.
9264 * gdb.base/int-type.c: new file.
9265 * gdb.base/jump.c: new file.
9266 * gdb.base/miscexprs.c: new file.
9267 * gdb.base/pointers.c: new file.
9268 * gdb.base/pointers2.c: new file.
9269 * gdb.base/shmain.c: new file.
9270 * gdb.base/shr1.c: new file.
9271 * gdb.base/shr2.c: new file.
9272 * gdb.base/solib.c: new file.
9273 * gdb.base/solib1.c: new file.
9274 * gdb.base/solib2.c: new file.
9275 * gdb.base/varargs.c: new file.
9276 * gdb.c++/derivation.cc: new file.
9277 * gdb.c++/overload.cc: new file.
9278 * gdb.c++/ovldbreak.cc: new file.
9279 * gdb.hp/attach.c: new file.
9280 * gdb.hp/attach2.c: new file.
9281 * gdb.hp/average.c: new file.
9282 * gdb.hp/compiler.c: new file.
9283 * gdb.hp/compiler.cc: new file.
9284 * gdb.hp/execd-program.c: new file.
9285 * gdb.hp/follow-exec.c: new file.
9286 * gdb.hp/follow-fork.c: new file.
9287 * gdb.hp/follow-vfork-and-exec.c: new file.
9288 * gdb.hp/misc-hp.cc: new file.
9289 * gdb.hp/more-steps.c: new file.
9290 * gdb.hp/optimize.c: new file.
9291 * gdb.hp/quicksort.c: new file.
9292 * gdb.hp/run-hp.c: new file.
9293 * gdb.hp/start-stop.c: new file.
9294 * gdb.hp/sum.c: new file.
9295 * gdb.hp/templates-hp.cc: new file.
9296 * gdb.hp/thread-local-in-lib.c: new file.
9297 * gdb.hp/thread-local-in-lib.h: new file.
9298 * gdb.hp/thread-local-in-lib.lib.c: new file.
9299 * gdb.hp/vforked-program.c: new file.
9300 * gdb.hp/virtfunc-hp.cc: new file.
9301 * gdb.hp/watchpoint-hp.c: new file.
9302 * gdb.hp/xdb.c: new file.
9303 * gdb.hp/xdb0.c: new file.
9304 * gdb.hp/xdb0.h: new file.
9305 * gdb.hp/xdb1.c: new file.
9306
9307Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
9308
9309 The following change was made by Edith Epstein
9310 <eepstein@cygnus.com> as part of a project to merge in changes
9311 originally made by HP; HP did not create ChangeLog entries.
9312
9313 * gdb.c++/demangle.exp: changed the expected output for some
9314 ARM-style mangling -- removed second reference to datatype.
9315 For example, maint demangle __dt__11T1__pt__2_cFv
9316 T1<char>::~T1<char>(void)
9317 becomes,
9318 maint demangle __dt__11T1__pt__2_cFv
9319 T1<char>::~T1(void)
9320
9321 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 9322
c906108c
SS
9323Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
9324
9325 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
9326 * gdb.trace/backtrace.exp: Likewise.
9327 * gdb.trace/circ.exp: Likewise.
9328 * gdb.trace/collection.exp: Likewise.
9329 * gdb.trace/deltrace.exp: Likewise.
9330 * gdb.trace/infotrace.exp: Likewise.
9331 * gdb.trace/limits.exp: Likewise.
9332 * gdb.trace/packetlen.exp: Likewise.
9333 * gdb.trace/passc-dyn.exp: Likewise.
9334 * gdb.trace/passcount.exp: Likewise.
9335 * gdb.trace/report.exp: Likewise.
9336 * gdb.trace/save-trace.exp: Likewise.
9337 * gdb.trace/tfind.exp: Likewise.
9338 * gdb.trace/tracecmd.exp: Likewise.
9339 * gdb.trace/while-dyn.exp: Likewise.
9340 * gdb.trace/while-stepping.exp: Likewise.
9341
93421998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
9343
9344 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
9345
9346Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
9347
9348 From Brendan Kehoe:
9349 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
9350 int return types.
9351
9352Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
9353
9354 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
9355 remote dos host testing right.
9356
9357Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
9358
9359 * gdb.base/corefile.exp: remove some xfails.
9360
9361Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
9362
9363 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
9364 have different timestamps.
9365
9366Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
9367
9368 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
9369 gdb.base/default.exp: Replace "exec" with "executable".
9370
9371Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
9372
9373 * gdb.base/default.exp: Change else if to elseif from previous
9374 delta.
9375
9376Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
9377
9378 * gdb.base/default.exp: Add brace missing from previous delta.
9379
9380Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
9381
9382 * gdb.base/default.exp: Support test for info float for all
9383 varieties of arm toolchain.
9384
dc96c6c7 9385Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9386
9387 * gdb.trace/*.exp: remove "remote_download" command.
9388
dc96c6c7 9389Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9390
9391 * gdb.trace/*.exp: remove -gdwarf from compile.
9392
9393Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
9394
9395 * gdb.trace/configure.in(AC_INIT): typo
9396 * gdb.trace/configure: regenerated
9397
dc96c6c7 9398Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9399
9400 * config/m68k-emc.exp: New file.
9401 * lib/<emc-support.exp trace-support.exp}: New files.
9402 * configure.in: add new test directory gdb.trace.
9403 * gdb.trace/{configure configure.in Makefile.in}: New files.
9404 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
9405 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
9406 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
9407 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
9408 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
9409 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
9410 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 9411
dc96c6c7 9412Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9413
9414 * gdb.c++/classes.exp: Change all regular expressions to match
9415 arbitrary combinations of newline/carriage-return, so that they
9416 will work equally well on Unix and Windows.
9417 * gdb.c++/inherit.exp: ditto.
9418 * gdb.c++/virtfunc.exp: ditto.
9419
94201998-08-11 Dawn Perchik <dawn@cygnus.com>
9421
9422 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
9423
c2d11a7d
JM
9424Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
9425
9426 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
9427 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
9428 to use a0-a3/d0-d3 as needed.
9429
9430Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
9431
9432 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
9433 * gdb.disasm/am33.exp: Corresponding changes.
9434
c906108c
SS
94351998-07-11 Felix Lee <flee@cygnus.com>
9436
9437 * gdb.base/callfuncs.exp: add cmp10 test.
9438 * gdb.base/callfuncs.c (cmp10): new function.
9439
9440Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
9441
d63a86f8 9442 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
9443 into two parts to get around a synchronization problem in expect.
9444
3fc11d3e
JM
9445Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
9446
9447 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
9448
9449 * configure.in: Add options for gdbtk testsuite.
9450
9451 * configure: Regenerate.
9452
9453 * gdb.gdbtk: New directory to hold gdbtk tests.
9454
c906108c
SS
9455Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
9456
9457 * gdb.fortran/types.exp: Escape brackets in expect patterns
9458 for test_float_literal_types_accepted tests.
9459 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
9460 before run test.
9461
c2d11a7d
JM
9462Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
9463
9464 * am33.exp: Just compile, do not link the testcase.
9465 * am33.s: Add ".am33" pseudoop to force am33 mode.
9466
c906108c
SS
94671998-06-25 Felix Lee <flee@cygnus.com>
9468
9469 * gdb.base/setshow.exp: make sure $pc is sane.
9470
9471 * gdb.stabs/weird.exp: split expect patterns properly.
9472
c2d11a7d
JM
9473Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
9474
9475 * gdb.disasm/am33.s: New disassembler testfile for the am33.
9476 * gdb.disasm/am33.exp: Run it.
9477
dc96c6c7 9478Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9479
9480 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
9481 match processing (and eliminate spurious timeouts when running).
9482
dc96c6c7 9483Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9484
9485 * gdb.base/signals.exp (test_handle_all_print): put back Mach
9486 exception test, but conditionalize it on target [mach | gnu].
9487
dc96c6c7 9488Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9489
9490 * gdb.base/overlays.exp: fixup compile line for linker script.
9491
9492Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
9493
9494 * gdb.fortran/types.exp: don't guess at float size.
9495
9496Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
9497
9498 * gdb.base/exprs.exp: delete test that depends on int size.
9499
9500Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
9501
9502 * config/sim.exp: Removed checks for target triplets.
9503 (gdb_target_sim): Use gdb,target_sim_options.
9504
9505Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
9506
9507 * gdb.base/reread.exp: New file.
9508 * gdb.base/reread1.c: New file.
9509 * gdb.base/reread2.c: New file.
9510
9511Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
9512
9513 * config/sim.exp: Use 'target sim -sparclite' when running
9514 SPARClite programs.
9515
9516Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
9517
9518 * gdb.base/structs2.exp: New file.
9519 * gdb.base/structs2.c: New file.
9520
9521Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
9522
9523 * gdb.asm/common.inc: New file.
9524 * gdb.asm/d10v.inc: New file.
9525 * asm-source.exp: Pass -I's to gas to find .inc files.
9526 Update line numbers in expected output.
9527 * asmsrc1.s: Rewrite.
9528 * asmsrc2.s: Rewrite.
9529 * configure.in: Create arch.inc symlink.
9530 * configure: Regenerate.
9531 * Makefile.in (distclean): Delete arch.inc.
9532
9533Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
9534
9535 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
9536 (t_enum_value2): ditto
9537 (t_enum_value3): ditto
9538 (main): ditto
9539Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
9540
9541 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
9542 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
9543 change.
9544 Use gdb_test instead of send_gdb/gdb_expect sequences.
9545
9546Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
9547
9548 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
9549 not void.
9550
9551Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
9552
9553 * gdb.base/branches.c: Code with lots of loops and
9554 subroutines. Used to test gdbs ability to single step through PC
9555 changes, especially to test mips-tdep.c:mips_next_pc
9556
9557Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
9558
9559 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
9560 more rigorous EGCS C++ error checking.
9561
9562Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9563
9564 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 9565 tests.
c906108c 9566 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 9567 function when asleep.
c906108c 9568 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
9569 for i*86 Linux and SVR4 signal handling problems.
9570 Remove linux xfail for `next to handler in signals_tests_1', fixed
9571 by recent infrun.c change.
c906108c 9572 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 9573 stack backtraces.
c906108c
SS
9574 Adjust expect pattern in `handle all print' test to match Apr 28 1997
9575 target.[ch] change.
9576
9577Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
9578
9579 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
9580 for a newline from gdb before continuing.
9581 (default_gdb_exit): Just look for y or n.
9582 (gdb_test): Detect abnormal exit from GDB running on DOS; if
9583 it does, fail the rests of the tests in the file.
9584
9585Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
9586
9587 * config/cygmon.exp: New file.
9588
9589Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
9590
9591 * gdb.base/list.exp: Fix problem with "list default lines around
9592 main" test on remote targets.
9593
9594 * gdb.base/scope.exp: Fix problem with filelocal_bss before
9595 run test on remote targets.
9596
9597Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
9598
9599 * gdb.asm: New directory.
9600 * configure.in: Configure it.
9601 * configure: Regenerate.
9602 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
9603 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
9604
9605Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
9606
9607 * config/mn10300-eval.exp: New file to support MN10300 eval board.
9608
dc96c6c7 9609Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 9610
c906108c
SS
9611 * gdb.base/overlays (several files): Merge the two overlay
9612 managers into one. Change variables (foox, barx, bazx, grbxx)
9613 back into ints but force them to load in their proper sections.
9614
9615Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
9616
9617 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
9618 on-chip insn memory and IMAP1 to upper 128k.
9619 (D10VCopy): Handle memory regions crossing 16k boundaries.
9620 (D10VCopy): Transfer data in 32 bit chunks.
9621
9622Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
9623
9624 * gdb.base/overlays.c (main): Exit normally when result is
9625 correct.
9626
9627 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
9628 map. Include space for printf in .text segment.
9629
9630 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
9631 updated d10v memory VMA/LMA map.
9632 (D10VCopy): Call D10VTranslate.
d63a86f8 9633
c906108c
SS
9634Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
9635
9636 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
9637
9638 * gdb.base/bar.c (barx, bar): Change variable to small array so
9639 that it won't be put into the .sdata - small data -
9640 section. Update reference.
9641 * gdb.base/baz.c (bazx, baz): Ditto.
9642 * gdb.base/foo.c (foox, foo): Ditto.
9643 * gdb.base/grbx.c (grbxx, grbx): Ditto.
9644
9645 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
9646 to be arrays.
d63a86f8 9647
dc96c6c7 9648Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 9649
c906108c
SS
9650 * gdb.base/overlays.exp: fix up and get working again.
9651 Add tests for backtraces from an overlay function.
d63a86f8 9652
c906108c
SS
9653Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
9654
9655 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
9656 "calling function with watchpoint enabled".
9657
9658Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
9659
9660 * gdb.base/break.exp (test_next_with_recursion): Remove
9661 gdb_suppress_tests for d10v-*-*.
9662 * lib/gdb.exp (gdb_suppress_tests): Disable this function
9663 pending review of whether it is useful or not.
9664
9665Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
9666
9667 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
9668
9669Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
9670
9671 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
9672 * config/dve.exp: New file to support Densan boards.
9673
9674Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
9675
9676 * gdb.base/interrupt.exp: Document problem of simulators, signals,
9677 reads and BSD.
9678
9679Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
9680
9681 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
9682 response.
9683
9684 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
9685
9686Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
9687
9688 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
9689 test.
9690
9691 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
9692 target_sizeof_long and target_bigendian_p.
9693 (structs_by_value, structs_by_reference): Check values according
9694 to targets word size and endianess.
d63a86f8 9695
c906108c
SS
9696Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
9697
9698 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
9699 output.
9700
9701Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
9702
9703 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
9704 Update test of set args help to match source change.
9705
9706Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
9707
9708 * gdb.base/default.exp: Expect help system output to be in
9709 alphabetical order.
9710 * gdb.base/help.exp: Ditto.
9711
9712Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
9713
9714 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
9715 "i*86-pc-linux-gnu*".
9716 * gdb.base/interrupt.exp: Ditto.
9717 * gdb.base/corefile.exp: Ditto.
9718
9719 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
9720 define vxworks when building the testcase.
9721
9722 * gdb.base/ptype.exp: Fix testnames to be unique.
9723 * gdb.base/radix.exp: Ditto.
9724 * gdb.base/term.exp: Ditto.
9725 * gdb.base/whatis.exp: Ditto.
9726 * gdb.c++/classes.exp: Ditto.
9727
9728Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
9729
9730 * gdb.base/callfuncs.exp: Fix indentation.
9731
9732 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
9733 suppress_flag has been set.
9734 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
9735 target feature.
9736
9737Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
9738
9739 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
9740 the testcase.
9741
9742 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
9743 set_debug_traps() and breakpoint().
9744 * gdb.c++/misc.cc (main): Ditto.
9745 * gdb.c++/templates.cc (main): Ditto.
9746 * gdb.c++/virtfunc.cc (main): Ditto.
9747
9748Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
9749
9750 * lib/gdb.exp(gdb_step_for_stub): New function.
9751 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
9752 exists, reload the executable and do a "continue" instead of
9753 doing a jump.
9754 (runto_main): Use gdb_step_for_stub.
d63a86f8 9755
c906108c
SS
9756 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
9757 tests to have unique names.
9758 * gdb.base/callfuncs.exp: Ditto.
9759 * gdb.base/commands.exp: Ditto.
9760 * gdb.base/default.exp: Ditto.
9761 * gdb.base/help.exp: Ditto.
9762 * gdb.base/list.exp: Ditto.
9763 * gdb.base/opaque.exp: Ditto.
9764 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
9765 similar tests.
d63a86f8 9766
c906108c
SS
9767 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
9768 * gdb.c++/cplusfuncs.cc: Ditto.
9769 * gdb.c++/virtfunc.cc: Ditto.
9770
9771 * config/monitor.exp: Keep track of the last file we saw, rather
9772 than trying to get the info from gdb.
9773
9774 * gdb.fortran/types.exp: Move comment to previous line.
9775
9776Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
9777
9778 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
9779 target mode.
9780
9781Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
9782
9783 From Bob Manson:
9784 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
9785 string from GDB when it connects.
9786
9787 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
9788
9789Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
9790
9791 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
9792 if we can't get a debug format from GDB (we may be testing an
9793 older GDB). Use a 10 second timeout when checking for the format.
9794
9795 * gdb.stabs/weird.exp: Fix quoting.
9796
9797 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
9798
9799Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
9800
9801 * config/arm-ice.exp: New file.
9802
9803Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
9804
9805 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
9806 until it has been modified to work with the new testsuite.
9807
99707966 9808 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
9809 testcase won't compile, cause all of the testcases in the file to
9810 fail instead.
9811
9812 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
9813 (gdb_clear_suppressed): New procedure.
9814 (gdb_stop_suppressing_tests): Only clear suppress_flag if
9815 it contains a positive value.
9816
9817Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
9818
9819 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
9820
9821 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
9822
9823Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
9824
9825 * lib/gdb.exp (setup_xfail_format): New function.
9826 (get_debug_format): New function to get debug format.
9827 (debug_format): New global variable to hold last value set
9828 by get_debug_format.
9829 * gdb.base/list.exp: Call get_debug_format and expect some
9830 tests to fail for DWARF 1 and COFF formats.
9831 * gdb.c++/ptype.exp: Ditto.
9832 * gdb.c++/classes.exp: Ditto.
9833 * gdb.c++/cplusfuncs.exp: Ditto.
9834 * gdb.c++/inherit.exp: Ditto.
9835 * gdb.c++/templates.exp: Ditto.
9836 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 9837
c906108c
SS
9838Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
9839
9840 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
9841 host doesn't have a currently-open connection.
9842
9843 * config/sparclet.exp: Cleanups and fixes to make it generic for
9844 any gdb stub target. Handle cases where gdb doesn't respond when
9845 interrupted in a sane fashion.
9846
9847 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
9848 same thing in a totally different way.
9849
9850 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
9851 setting "timeout".
9852 (gdb_start): We set the global gdb_prompt variable in
9853 default_gdb_init now.
9854
9855Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
9856
9857 * gdb.base/printcmds.exp: Fix "check for floating addition"
9858 regexp to accept results within approx +/- .01 of exact value.
9859 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
9860
9861Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
9862
9863 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
9864 properly.
9865 (gdb_expect): Add optional timeout parameter, and add timeout
9866 value to various calls.
9867 (gdb_suppress_tests): Only give one warning message per group.
9868
9869Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
9870
9871 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
9872 global variables. Handle getting a value for $timeout more
9873 gracefully.
9874
9875Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
9876
9877 * lib/gdb.exp: Close connection to remote host if gdb doesn't
9878 initialize.
9879 (default_gdb_init): New procedure; allow gdb_init to be overridden
9880 by a target configuration file.
9881 (gdb_expect): Pass the timeout to remote_expect.
9882
9883 * config/monitor.exp(gdb_load): Fix typo in regexp.
9884
9885Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
9886
9887 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
9888
9889Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
9890
9891 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
9892 here. Call gdb_target_exec before rebooting the target, to make
9893 sure the connection to the target is closed.
9894 (gdb_load): Pass the name of the executable to gdb_target_monitor.
9895 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
9896 Also detect "Timeout reading from remote" error.
9897
9898 * config/gdbserver.exp: Pass the executable being loaded to
9899 gdb_target_monitor. Don't call gdb_file_cmd here; let
9900 gdb_target_monitor do it.
9901
9902 * gdb.disasm/hppa.exp: Don't use exec_output.
9903
9904Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
9905
9906 * gdb.base/list.exp: If we're debugging a non-native target,
9907 try to set the pc register to point to the start of the
9908 program before doing the first list command.
9909
9910 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
9911 test_calls after restarting.
9912
9913 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
9914 reloading.
9915
9916 * gdb.base/watchpoint.exp: Fix typo.
9917
9918 * gdb.base/setshow.exp: Check for use_gdb_stub.
9919
9920 * gdb.base/break.exp: Fix continue until exit test for the gdb
9921 stub case.
9922 * gdb.base/langs.exp: Ditto.
9923
9924 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
9925 gdb_load_offset. If we weren't given a file to load, figure out
9926 what the current file is and use it.
9927
9928 * config/i386-bozo.exp: New file.
9929
9930Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
9931
9932 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
9933 feature.
9934
9935 * config/proelf.exp: New entry.
9936
9937Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
9938
9939 * lib/gdb.exp: Remove spurious .* patterns at the beginning
9940 of regexps.
9941
9942 * gdb.base/watchpoint.exp: Don't run the test_stepping
9943 tests if gdb can't call functions on the target.
9944
9945 * gdb.base/setshow.exp: Don't run the set prompt tests if
9946 the board has gdb_prompt set.
9947
9948Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
9949
9950 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
9951 * gdb.base/commands.exp: Likewise.
9952 * gdb.base/setshow.exp: Likewise.
9953
9954Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
9955
9956 * config/monitor.exp(gdb_start): Look for gdb_prompt target
9957 feature.
9958
9959 * config/i960.exp: New file.
9960
9961Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
9962
9963 * gdb.base/funcargs.exp: Check for gdb,short_int target
9964 feature instead of looking for explicit target triplets.
9965
dc96c6c7 9966Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 9967
d63a86f8 9968 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
9969 "p 123DEADBEEF", to check parse_number.
9970 * top.c: change "to enable to enable" to "to enable" in a couple
9971 of help strings.
9972
9973Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
9974
9975 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
9976 on the mn10300.
d63a86f8 9977
c906108c
SS
9978Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
9979
9980 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
9981 where the test executable is run with explicit args.
9982 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
9983
9984Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
9985
9986 * gdb.base/run.c: Use FAKEARGV to build test executable that
9987 does not require a command line arg, since most simulators
9988 don't currently support passing such an arg into the simulated
9989 program.
9990 * gdb.base/commands.exp: Change tests to insert the proper
9991 value as the arg to the first recursive factorial call. Change
9992 compilation line to define FAKEARGV at compile time.
9993
9994Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
9995
9996 * gdb.base/recurse.exp: Enable these tests for the mn10300.
9997 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
9998 function with watchpoint enabled" test.
9999
10000Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
10001
10002 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
10003 Don't call gdb_test when the command doesn't return to a gdb prompt.
10004
10005 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
10006 "Tests restarted" messages.
10007
10008Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
10009
10010 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
10011
dc96c6c7 10012Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10013
10014 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
10015 for INFO SYMBOL; add help tests for OVERLAY commands.
10016 * gdb.base/default.exp: add tests for INFO SYMBOL command;
10017 add tests for OVERLAY commands
10018 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
10019 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
10020 * gdb.base/sigall.c: add usestubs code frag
10021 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 10022
c906108c
SS
10023Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
10024
10025 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
10026 failures.
10027 (gdb_stop_suppressing_tests): Note that tests have restarted.
10028
10029Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
10030
10031 * config/h8300.exp: New file.
10032
10033Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
10034
10035 * gdb.base/setshow.exp: Check for the existence of a
10036 feature, not its value.
10037
10038Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
10039
10040 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
10041
10042 * gdb.base/scope.exp: It's now init0(), not init().
10043
10044 * gdb.base/scope0.c: For now, change init() to be init0().
10045
10046 * config/monitor.exp: Use gdb_serial in preference to serial
10047 or netport.
10048
10049 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
10050 and it's not already set.
10051
10052Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
10053
10054 * gdb.base/setshow.exp: Only test the run command if the target
10055 isn't using a stub and if it supports argument passing.
10056
10057Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
10058
10059 * config/udi.exp(gdb_start): Make sure UDICONF is set
10060 properly before starting gdb.
10061
10062Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
10063
10064 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
10065 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
10066 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
10067
10068Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
10069
10070 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
10071 specialized code to reboot the board, use remote_reboot instead.
10072
10073 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
10074
10075 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
10076
10077 * config/monitor.exp: Make sure we disconnect from the target.
10078 Also, try a reboot/reload cycle instead of failing if the
10079 load fails.
10080
10081Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
10082
10083 * gdb.base/default.exp: Don't set match_max.
10084 * gdb.base/help.exp: Ditto.
10085 * gdb.base/list.exp: Ditto.
10086 * gdb.base/signals.exp: Ditto.
10087
10088 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
10089 set, use remote_ld to download the testcase instead of
10090 the GDB loader.
10091
10092Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
10093
10094 * config/vr5000.exp: New file.
10095
10096 * config/monitor.exp(gdb_target_monitor): Add pattern for
10097 "Ending remote" to detect errors in connecting.
10098
10099 * gdb.base/setshow.exp: Add .* within auto language test.
10100
10101 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
10102 target feature.
10103
10104 * config/monitor.exp(gdb_load): Check for a failure when loading,
10105 and reboot the board if necessary.
10106
10107 * gdb.base/setvar.exp(test_set): Handle multiple prints within
10108 a set of tests. Remove print.* from the patterns being checked.
10109
10110Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
10111
10112 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
10113 refer to gdb_spawn_id.
10114
10115 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
10116 longer used.
10117 * config/sparclet.exp: Ditto.
10118 * config/sparclet-old.exp: Ditto.
10119 * config/slite.exp: Ditto.
10120 * config/sim.exp: Ditto.
10121 * gdb.base/funcargs.exp: Ditto.
10122
10123 * lib/gdb.exp:Remove references to gdb_spawn_id.
10124 (gdb_expect): Move to remote.exp.
10125
10126Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
10127
10128 * config/monitor.exp: Detect the "Couldn't establish connection"
10129 message from GDB.
10130
10131Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
10132
10133 * gdb.base/bitfields.exp: Use runto instead of explicit
10134 gdb_run_cmd/gdb_expect sequences.
10135
10136 * gdb.base/break.exp(text_next_with_recursion): Add match for
10137 gdb_expect call.
10138
10139 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
10140 We also need to handle the "A program is being debugged already"
10141 prompt from gdb. Use gdb_test to set the baud rate.
10142
10143 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
10144 to 20000. Really. I mean it.
10145
10146Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
10147
10148 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
10149 fails. If suppress_flag is set, skip perror message about not
10150 being able to send to GDB.
10151 (send_gdb): If suppress_flag is set, don't try to send commands to
10152 GDB.
10153 (gdb_expect): If suppress_flag is set, always fail immediately.
10154 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
10155 (gdb_init): Call gdb_stop_suppressing_tests.
10156 (default_gdb_exit): Ditto.
10157 (default_gdb_start): Ditto.
10158
10159 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
10160 gdb_stop_suppressing_tests as appropriate.
10161 * gdb.base/break.exp: Ditto.
10162 * gdb.base/callfuncs.exp: Ditto.
10163 * gdb.base/commands.exp: Ditto.
10164 * gdb.base/exprs.exp: Ditto.
10165 * gdb.base/funcargs.exp: Ditto.
10166 * gdb.base/list.exp: Ditto.
10167 * gdb.base/recurse.exp: Ditto.
10168 * gdb.base/scope.exp: Ditto.
10169 * gdb.base/structs.exp: Ditto.
10170 * gdb.c++/inherit.exp: Ditto.
10171
10172Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
10173
10174 * config/vr4300.exp: New file.
10175
99707966 10176 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 10177
99707966 10178 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
10179
10180Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
10181
10182 * lib/gdb.exp(gdb_init): New function.
10183
10184 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
10185 for each individual variable set.
10186
10187 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
10188 name.
10189
10190 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
10191
10192 * gdb.base/scope.exp: Use gdb_test.
10193
10194 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
10195 aborting; the testsuite driver will do that for us (see
10196 gdb_finish). Also, use gdb_test in a few more places.
10197
10198Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
10199
10200 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
10201
10202Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
10203
10204 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
10205 and "add_tests" are not at the same address.
10206
10207Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
10208
10209 * gdb.base/ptype.exp: Use gdb_test.
10210
10211Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
10212
10213 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
10214 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
10215 left in. No longer expect them to fail.
10216
10217 * gdb.stabs/*.mt; Deleted, no longer used.
10218 * gdb.stabs/configure.in: Remove references to target makefile
10219 frags.
10220 * gdb.stabs/configure: Rebuilt.
10221
10222 * gdb.disasm/*.mt: Deleted, no longer used.
10223 * gdb.disasm/configure.in: Remove references to target makefile
10224 frags. Use "sh3.s" as the unique filename for this directory.
10225 * gdb.disasm/configure: Rebuilt.
10226
10227 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
10228 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
10229 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
10230
10231Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
10232
10233 * config/udi.exp: Use mondfe,name instead of remote_host.
10234
10235Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
10236
10237 * gdb.base/watchpoint.exp: Don't expect a failure when calling
10238 a function with a watchpoint enabled on the mn10200.
10239
10240 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
10241 before trying to create it!
10242
10243Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
10244
10245 * config/vx.exp: Use hostname instead of netport.
10246
10247 * config/vxworks.exp: New file.
10248
10249 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
10250
10251 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
10252 gdb before assuming everything worked. Send a ^C if a timeout
10253 occurs.
10254
10255 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
10256 $gdb_spawn_id directly.
10257 (gdb_run_cmd): Try _start as well as start. Use the target feature
10258 gdb,start_symbol as the symbol to start from when jumping.
10259
10260Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
10261
10262 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
10263 redundant) test.
10264
10265 * gdb.base/recurse.exp: Relax final value test for 'b' so that
10266 it doesn't lose for 16bit integer systems.
10267
10268Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
10269
10270 * gdb.fortran/types.exp: If the target doesn't support "double"
10271 data types, then expect "real" types to only be 4 bytes.
10272
10273 * gdb.c++/virtfunc.exp: Expect failure for virtual function
10274 call tests if the target doesn't support inferior function calls.
10275
10276 * gdb.base/printcmds.exp: Allow minor deviation in FP values
10277 in printf tests.
10278
10279Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
10280
10281 * gdb.base/help.exp: Disable "help set", "help show", and
10282 "help support". Simplify regexp for "help stack".
10283
10284 * gdb.base/default.exp: Set match_max to 5000 and the timeout
10285 to 60 seconds. Temporarily set match_max to 15000 around the
10286 "info copying" test.
10287
10288 * gdb.base/nodebug.exp: Don't try to do an inferior function
10289 call if the target doesn't support them.
10290 * gdb.base/printcmds.exp: Likewise.
10291 * gdb.base/setvar.exp: Likewise.
10292 * gdb.base/structs.exp: Likewise.
10293 * gdb.c++/templates.exp: Likewise.
10294 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
10295
10296 * gdb.base/recurse.exp: Enable for the mn10200.
10297
10298 * configure.in: Do configure gdb.stabs directory for *-*-elf
10299 targets.
10300 * configure: Rebuilt.
10301
10302 * gdb.base/break.exp: Check for gdb,noresults before testing
10303 exit status and/or results from the target.
10304 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
10305 * lib/gdb.exp: Remove old (now bogus) initialization of
10306 noinferior, noargs, noresults and nosignals.
10307
10308Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
10309
10310 * config/sh.exp: New file.
10311
10312 * config/slite.exp: Try to connect multiple times to the board
10313 before rebooting. Only send a "monitor run" if need_monitor_run
10314 is set.
10315
10316 * gdb.base/break.exp: Don't do the "stub continue" test if
10317 the target has gdb_stub set.
10318
10319 * gdb.base/callfuncs.exp: Increase the timeout.
10320
10321 * gdb.base/interrupt.exp: Don't even try to compile the testcase
10322 if the target has gdb,noinferiorio set.
10323
10324 * gdb.base/list.exp: Increase match_max to 10000 characters.
10325
10326 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
10327
10328 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
10329 target.
10330
10331 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
10332
10333Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
10334
10335 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
10336 trying to delete the copy of gdb. Catch the file delete so we
10337 don't die if the delete fails; also, the file should be copied to
10338 the host, not to the build.
10339
10340Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
10341
10342 * lib/gdb.exp(gdb_test): Surround the result pattern with
10343 parenthesis in case it contains multiple regexps separated
10344 with |.
10345
10346 * gdb.base/watchpoint.exp: Use gdb_test.
10347 * gdb.base/default.exp: Ditto.
10348
10349Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
10350
99707966 10351 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 10352
c906108c
SS
10353 * gdb.base/scope.exp: Use gdb_test.
10354 * gdb.c++/classes.exp: Ditto.
10355 * gdb.c++/inherit.exp: Ditto.
10356
10357Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
10358
10359 * gdb.base/crossload.exp: Don't use execute_anywhere, use
10360 remote_exec instead.
10361 * gdb.base/corefile.exp: Don't be ridiculous.
10362 * gdb.base/*.c: Add missing stub invocations.
10363
10364Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
10365
10366 * config/slite.exp: Miscellaneous fixes.
10367
10368 * lib/gdb.exp: Fix runto.
10369
10370 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
10371 the target.
10372
10373 * gdb.base/watchpoint.exp: Fix regexp.
10374
10375 * lib/gdb.exp(default_gdb_exit): Add a catch to the
10376 close and wait commands, as the descriptor may now be
10377 invalid. Always call "remote_close host".
10378
10379Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
10380
10381 Major rewrite for testsuite revision.
d63a86f8 10382
c906108c
SS
10383 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
10384 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
10385 instead of relying on spawn_id to always contain a valid
10386 spawn id.
10387 (get_compiler_info): New procedure to build the ${binfile}.ci
10388 file, instead of replicating this in N different places.
10389 (gdb_compile): New procedure.
d63a86f8 10390
c906108c
SS
10391 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
10392 appropriate arguments) instead of compile. Use gdb_test in a lot
10393 more places. Use send_gdb instead of send. Always run gdb_start
10394 at the start of a testcase, as this is no longer done magically.
10395
10396 config/*-gdb.exp: Rename without the -gdb suffix.
10397
10398 config/mips.exp: Use remote_close instead of exit_remote_shell.
10399 config/monitor.exp: Use target_info instead of looking at
10400 baud, timeout, etc.
10401 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
10402
10403Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10404
10405 * gdb.c++/templates.exp (test_ptype_of_templates),
10406 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
10407 Update expect patterns for destructors and assignment operators
10408 to match corresponding c-typeprint.c changes.
10409 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
10410 to destructor breakpoint test, GDB should be able to set the
10411 destructor breakpoint without specifying arguments.
10412
10413Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
10414
10415 * gdb.threads/pthreads.exp: Change result for failure to compile due
10416 to lack of pthreads runtime support from an error to simply an
10417 unsupported test, per dejagnu standards.
10418
10419Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10420
10421 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
10422 where GDB exits to reduce pattern match time.
10423 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
10424
10425 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
10426
dc96c6c7 10427Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10428
10429 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
10430 * gdb.base/default.exp: ditto.
10431 * gdb.base/nodebug.exp: ditto.
10432 * gdb.base/printcmds.exp: ditto.
10433 * gdb.base/ptype.exp: ditto.
10434 * gdb.base/setvar.exp: ditto.
10435 * gdb.base/structs.exp: ditto.
10436 * gdb.base/setshow.c: Guard against uninitialized values of argc.
10437
10438Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
10439
10440 * configure, */configure: Rebuild with autoconf 2.12.
10441
10442Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
10443
10444 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
10445 use new i*86-pc-linux*-gnu quads.
10446 * gdb.base/corefile.exp: Ditto.
10447 * gdb.base/signals.exp: Ditto.
10448 * gdb.base/sigall.exp: Ditto.
10449 * gdb.base/interrupt.exp: Ditto.
10450
10451 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
10452 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
10453 RedHat 4.0.
d63a86f8 10454
c906108c
SS
10455 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
10456 linux. This allows the test case to at least compile on latest
10457 linux, but still not run due to missing the threads runtime library.
10458
10459Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10460
10461 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
10462 directory to search gdb directory. Accept and step over conditional
10463 stack alignment code. Consume $prompt in failure cases.
10464 Reset timeout to $oldtimeout instead of some arbitrary value.
10465 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
10466 timeout problems with infinite stack backtraces.
10467 * gdb.base/ptype.exp (ptype struct link, union tu_link):
10468 Accept function parameters for linkfunc member.
10469
10470Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
10471
10472 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
10473 (CXXFLAGS): Remove, unreferenced.
10474 (B_OPTIONS): Add for -B options and add code to initialize with
10475 previous -B options and also add -B option to pick up cross compiled
10476 runtime.
10477 (TARGET_INCLUDES): Add for -I options and add code to initialize when
10478 doing cross compiles.
10479 (target_alias): Declare global.
10480 (xgcc): Set variable to full path of gcc in build tree. Use findfile
10481 to verify that gcc exists in build tree, and if so set CC to that
10482 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 10483
c906108c
SS
10484Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
10485
10486 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
10487 ptype test for anonymous union. Fixup testcase to match
10488 current gcc debug output.
10489
10490Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
10491
10492 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
10493 force argument to an unsigned long type.
10494
10495Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
10496
10497 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
10498 tests and anonymous union print/ptype tests.
10499 * gdb.base/list.exp (test_forward-search): Increase timeout by
10500 5 minutes for the "search extremely long line" case.
10501 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
10502 completely optional and that the pass/fail messages use the command as
10503 the message if that third arg is a null string.
10504 (gdb_test_exact): Arrange that a null string pattern means match a
10505 null string output rather than any output, which might include random
10506 errors.
10507 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
10508 backtrace test.
10509 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
10510 always failing and failure is now exposed by gdb.exp changes.
10511
10512Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
10513
10514 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
10515 weren't being noted.
10516
10517Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10518
10519 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
10520 * gdb.stabs/weird.exp: Remove v_comb xfails.
10521
dc96c6c7 10522Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10523
10524 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
10525 list.exp scope.exp watchpoint.exp]
10526 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 10527
dc96c6c7 10528Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10529
10530 * config/monitor.exp: Increase download timeout to 1000 seconds.
10531
dc96c6c7 10532Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10533
10534 * config/m32r.exp: Increase timeout to 120 seconds.
10535
10536Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
10537
10538 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
10539 and accept older ordering as obsolescent gcc or gdb.
10540 * gdb.c++/templates.exp: Ditto.
10541 * gdb.c++/virtfunc.exp: Ditto.
10542
10543Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
10544
10545 * gdb.base/coremaker.c: Add code to mmap some data so we
10546 can check that it ends up in the core file.
10547 * gdb.base/corefile.exp: Add test to read mmapped data
10548 from core file.
10549
dc96c6c7 10550Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10551
10552 * config/m32r.exp: New file.
10553
10554Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
10555
10556 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
10557 that cflags can contains -gstabs, and work correctly for other tests.
10558
dc96c6c7 10559Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10560
10561 * gdb.base/setshow.exp: New file, tests show and set.
10562 * gdb.base/setshow.c: New file, tests show and set.
10563 * gdb.base/help.exp: Add test for help set|show annotate.
10564 * gdb.base/default.exp: Add test for set|show annotate.
10565
10566Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
10567
10568 * testsuite/gdb.base/break.exp: Make backtrace from factorial
10569 errors unique.
10570 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
10571 explicitly.
10572
10573Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
10574
10575 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
10576 and width commands. This is done elsewhere.
10577 * (gdb_start): Don't call gdb_start_sim here. That's already
10578 done in gdb_load. This fixes lots of failures in default.exp.
10579
10580Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
10581
10582 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
10583 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
10584 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
10585 in the same we we treat other failures (since it may be an expected
10586 condition), rather than as an error.
10587 * gdb.base/signals.exp (test_handle_all_print): Revert back to
10588 old test format.
10589
10590Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
10591
10592 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
10593 (distclean maintainer-clean realclean): No need to remove files
10594 twice. Nuke the duplicates.
10595 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 10596 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
10597 Remove config.h along with other config files.
10598
10599Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
10600
10601 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
10602 "p func1 ()" and note that rests of tests are skipped.
10603 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
10604 setup_xfails for "print func2::coremaker_local".
10605 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
10606 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
10607 affected by the previous run test.
10608 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
10609 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
10610 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
10611 "pass int powerset tuple" and "pass modeless int powerset tuple".
10612 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
10613 "real write 4" and "real write 8".
10614 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
10615 setup_xfails for "print vs1 after tuple assign 2",
10616 "print \$i after tuple assign 2", and
10617 "print vs2 after tuple assign 2".
10618 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
10619 meaningful error message and return -1 so the caller can
10620 suppress further tests and avoid a cascade of errors.
d63a86f8 10621
c906108c
SS
10622Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
10623
10624 * gdb.base/a1-selftest.exp: Tweak tests to account for new
10625 format for printing version.
10626 * gdb.base/default.exp: Ditto.
10627 * gdb.base/interrupt.exp: Fix problem with cascade of
10628 errors if child process dies while calling a function.
d63a86f8 10629
c906108c
SS
10630Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
10631
10632 * Makefile.in (VPATH): Add
10633 * Makefile.in (Makefile, config.status): Fix rules so things get
10634 remade when necessary.
10635
10636Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
10637
10638 * Makefile.in (just-check): Add path to sibling expect dir
10639 to environment variable specified by RPATH_ENVVAR.
10640
10641Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
10642
10643 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
10644 (just-check): Add shared library paths for libstdc++, tk,
10645 tcl, bfd, and opcodes to the environment variable specified
10646 in RPATH_ENVVAR.
10647 * configure.in: Add support to recognize --enable-shared flag
10648 and generate correct value for RPATH_ENVVAR.
10649 * configure: Regenerated with autoconf.
10650
10651Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
10652
10653 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
10654 include all osf versions.
10655 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
10656 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
10657 when target is linux. When failing to build pthreads test
10658 executable, give more meaningful message.
10659 * gdb.threads/pthreads.c: Hpux also uses old definition of second
10660 arg for pthread_create.
d63a86f8 10661
c906108c
SS
10662Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
10663
10664 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
10665 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
10666 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
10667 and -lpthreads (everybody else).
10668 (test_startup): Fail gracefully if threads are not supported.
10669 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
10670 "p/c array_index("abcdef",2)" when not gcc compiled.
10671 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
10672 "print func2::coremaker_local" when not gcc compiled.
10673 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
10674 "ptype on opaque struct tagname (statically)",
10675 "ptype on opaque struct tagname (dynamically) 1", and
10676 "ptype on opaque struct tagname (dynamically) 2"
10677 for not compiled with gcc.
10678 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
10679 backtrace when compiled with gcc.
d63a86f8 10680 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
10681 than always return success.
10682
10683Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
10684
10685 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
10686
10687Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
10688
10689 * gdb.base/structs.exp: Undo last change.
10690
10691Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
10692
10693 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
10694 encapsulate all the steps/nexts done during self test, starting
10695 at main, and makes them less sensitive to optimization issues.
10696 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
10697 signal handler" test.
10698 * gdb.threads/pthreads.exp: Only run this for native configs.
10699 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
10700 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
10701 tests.
10702 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
10703 for "runto test_calls(void)" test.
d63a86f8 10704
c906108c
SS
10705Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
10706
10707 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
10708 and don't expect address info in breakpoint confirmations.
10709
10710Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
10711
10712 * gdb.base/list.exp (test_forward_search): Increase timeout
10713 temporarily by 60 seconds for searching extremely long line,
10714 and then reset to old value when done. Increase expect input
10715 buffer to 10000.
10716
10717Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
10718
10719 * gdb.base/list.exp (test_forward_search): Fix to handle very
10720 long source line without overflowing expect's input buffer.
10721
10722Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
10723
10724 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
10725 "buffer_full".
10726
10727 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
10728 "buffer_full".
10729
10730 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
10731 "buffer_full".
10732
10733 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
10734 "buffer_full".
10735
10736Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
10737
10738 * configure.in (configdirs): Add gdb.threads.
10739 * configure: Regenerated with autoconf.
10740 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
10741 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
10742 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 10743
c906108c
SS
10744Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
10745
10746 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
10747
10748Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
10749
10750 * gdb.base/signals.exp (test_handle_all_print): Test separately for
10751 each signal's status in the output of "handle all print".
10752 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
10753 the \r\n sequence that immediately precedes the gdb prompt.
10754 * gdb.base/a1-selftest.exp: Save original timeout and restore
10755 after test.
10756
10757Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
10758
10759 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
10760 symbol.
10761
10762Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
10763
10764 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
10765
10766Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
10767
10768 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
10769 timeout by 60 seconds.
10770
10771Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
10772
10773 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
10774 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
10775 error return.
10776
10777Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
10778
10779 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
10780 gdb initialization, also report how long dejagnu waited. Restore
10781 old timeout before doing error return. Temporarily increase timeout
10782 by 3 minutes to allow for slow startups over heavy NFS use.
10783
10784Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
10785
10786 * lib/gdb.exp: Report timeout value for verbosity level 2.
10787 * config/gdbserver.exp: Ditto.
10788 * config/hppro.exp: Ditto.
10789 * config/mips-gdb.exp: Ditto.
10790 * config/monitor.exp: Ditto.
10791 * config/netware.exp: Ditto.
10792 * config/sim-gdb.exp: Ditto.
10793 * config/slite-gdb.exp: Ditto.
10794 * config/udi-gdb.exp: Ditto.
10795 * config/unix-gdb.exp: Ditto.
10796 * config/vx-gdb.exp: Ditto.
10797 * gdb.base/a1-selftest.exp: Ditto.
10798 * gdb.base/a2-run.exp: Ditto.
10799 * gdb.base/break.exp: Ditto.
10800 * gdb.base/corefile.exp: Ditto.
10801 * gdb.base/list.exp: Ditto.
10802 * gdb.base/recurse.exp: Ditto.
10803 * gdb.base/scope.exp: Ditto.
10804 * gdb.base/signals.exp: Ditto.
10805
10806Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
10807
10808 * gdb.threads/Makefile.in (docdir): Removed.
10809
10810Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
10811
10812 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 10813 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 10814 @srcdir@.
d63a86f8 10815 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
10816 autoconf 2.5 or higher.
10817 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
10818
10819Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
10820
10821 * configure: Regenerated.
10822 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
10823 avoid name clashes with SunOS headers.
10824
10825Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
10826
10827 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
10828
10829Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
10830
10831 * gdb.base/callfuncs.exp: Finish last change -- make sure the
10832 prototype information ends up in the compiler info file.
10833
10834Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
10835
10836 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
10837 attempting to regenerate it. Eliminate use of a temporary file
10838 and just generate the info file directly. Source it immediately,
10839 for consistency of use.
10840 * gdb.base/corefile.exp: Ditto
10841 * gdb.base/exprs.exp: Ditto.
10842 * gdb.base/funcargs.exp: Ditto.
10843 * gdb.base/langs.exp: Ditto.
10844 * gdb.base/list.exp: Ditto.
10845 * gdb.base/mips_pro.exp: Ditto.
10846 * gdb.base/nodebug.exp: Ditto.
10847 * gdb.base/opaque.exp: Ditto.
10848 * gdb.base/ptype.exp: Ditto.
10849 * gdb.base/scope.exp: Ditto.
10850 * gdb.base/setvar.exp: Ditto.
10851 * gdb.base/signals.exp: Ditto.
10852 * gdb.base/whatis.exp: Ditto.
10853 * gdb.c++/templates.exp: Ditto.
10854 * gdb.c++/virtfunc.exp: Ditto.
10855 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
10856 whether or not to add -lstdc++ to the compile command line args.
10857
10858Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10859
10860 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
10861 it got fixed by the recent lookup_minimal_symbol_by_pc change.
10862 Increase timeout, a lot of single stepping might be needed if the
10863 target has no hardware watchpoints.
10864
10865Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
10866
10867 * gdb.base/break.exp: Ignore compiler warnings when compiling
10868 break.c.
10869 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
10870 * gdb.base/default.exp: Add h8300 xfails. Handle messages
10871 from remote-sim.
10872 * gdb.base/exprs.exp: Add h8300 xfails.
10873 * gdb.base/funcargs.exp: Likewise.
10874 * gdb.base/nodebug.exp: Likewise.
10875 * gdb.base/printcmds.exp: Likewise.
10876 * gdb.base/ptype.exp: Likewise.
10877 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
10878 h8300 xfails.
d63a86f8 10879 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
10880 on the h8300.
10881 * gdb.base/funcargs.c: Explicitly make last constant argument to
10882 call_after_alloca_subr an unsigned long type.
10883 * gdb.base/return.c: Include stdio.h.
10884
10885Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
10886
10887 * config/abug.exp: New file for the older Motorola Bug monitor
10888 that runs on the mvme13x series VME boards.
10889 * config/monitor.exp: Use the new config array for target settings
10890 if they exist.
10891
10892Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
10893
10894 * sim-gdb.exp: Make the SH simulator allocate less space when
10895 it is targeted.
10896
10897Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
10898
10899 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
10900 test.
10901
10902Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
10903
10904 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
10905 "rs6000-*-*" for "list function in include file" when gcc compiled.
10906 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
10907 for "p ctable1[120]".
10908 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
10909 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
10910 Remove setup_xfail for "rs6000-*-*" for
10911 "print 'scope0.c'::filelocal before run".
10912 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
10913 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
10914 since some compilers don't allow both options to be given
10915 on the same command line. Create object file and move it.
d63a86f8 10916
c906108c
SS
10917Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
10918
10919 * gdb.base/corefile.exp: Always regenerate the core file, since
10920 we always regenerate the coremaker program. Detect special case
10921 where registers cannot be read from core file.
d63a86f8 10922
c906108c
SS
10923Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
10924
10925 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
10926 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
10927 * gdb.c++/templates.exp: Only match on basename of file since
10928 some formats like xcoff don't encode directory information.
10929 * gdb.stabs/weird.exp: Use the right sed script for powerpc
10930 and rs6000 AIX xcoff targets.
10931 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
10932 * configure: Regenerate.
10933 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
10934 here, rather than in distclean.
d63a86f8 10935
c906108c
SS
10936Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
10937
10938 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
10939 defined, and use it to compile the test case with -O2. The
10940 native compilation still uses no optimization.
10941 * gdb.base/mips_pro.c: Remove inline assembly code since
10942 it is compiled PIC by default, which results in assembler
10943 warnings that make the testsuite think the compilation
10944 was unsuccessful.
10945
10946Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
10947
10948 * gdb.c++/misc.exp: Add note to message for
10949 "print s.a for foo struct" that this is a known gcc 2.7.2
10950 and earlier bug.
10951
10952Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
10953
10954 * gdb.base/break.exp: Fix pattern for matching "Delete all
10955 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
10956 setup_xfail for deleting all breakpoints test. Fix various
10957 timeout messages to include "(timeout)".
10958 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
10959 for "p t_float_values2(3.14159,float_val2)".
10960 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
10961 for "continue to call2g" when gcc compiled.
10962 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
10963 "up to foo in langs.exp", "show language at foo in langs.exp",
10964 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
10965 and "show language at fsub in langs.exp".
10966 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
10967 "list line 1 in include file", "list message for lines past EOF",
10968 "list function in include file", "list list0.h:foo", and
10969 "list filename:function; nonexistant function".
10970 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
10971 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
10972 and "ptype t_char_array" to be for native cc only.
d63a86f8 10973
c906108c
SS
10974Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
10975
d63a86f8 10976 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
10977 setup_xfail for "print coremaker_bss", "print coremaker_ro",
10978 "print func2::coremaker_local", and "backtrace in corefile.exp".
10979
10980Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
10981
10982 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
10983 "bt in signals.exp". This problem only appears when running
10984 the testsuite, and then only intermittently.
10985
10986Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
10987
10988 * gdb.base/return.exp (return_tests): Differentiate between
10989 two tests of continuing.
10990
10991Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
10992
10993 * */Makefile.in (maintainer-clean): Remove config.log.
10994 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
10995 * gdb.c++/Makefile.in (PROGS): Add inherit.
10996 (clean): Remove *.ci.
10997
10998Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
10999
11000 * gdb.c++/misc.cc: Add test code from Mike Stump.
11001 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
11002
11003Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
11004
11005 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
11006 to "alpha-*-osf2*" and add comment.
11007 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
11008 setup_xfail for "step over execarg initialization" and
11009 "step over corearg initialization".
11010 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
11011 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
11012 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
11013 gcc compiled for "print coremaker_bss", "print coremaker_ro",
11014 "print func2::coremaker_local", and "backtrace in corefile.exp".
11015 * gdb.base/signals.exp: Build and source signals.ci.
11016 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
11017 to be for gcc only.
11018 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 11019
c906108c
SS
11020Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11021
11022 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
11023 Feb 3 procfs.c change.
11024
11025Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
11026
11027 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
11028
11029Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
11030
11031 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
11032 from dejagnu's apparent default of 10 seconds, which gives random
11033 results when running the tests over NFS on moderately loaded systems.
11034 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
11035
11036Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
11037
11038 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
11039 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
11040 result reports.
11041
11042Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
11043
11044 * configure.in (CY_AC_PATH_TCLH): Remove.
11045 * configure: Regenerate.
11046
11047Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
11048
11049 * gdb.c++/Makefile.in (clean): Add missing '{'.
11050
11051Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
11052
11053 * lib/gdb.exp: Provide a default value for noinferior.
11054
11055 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
11056 Load libgloss.exp.
11057
11058Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
11059
11060 * gdb.disasm/hppa.exp: Compile directly into an executable, use
11061 the executable, not the .o to run the tests from.
11062
11063Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
11064
11065 * gdb.base/break.exp: Don't test for program exit or exit status
11066 if $noresults if nonzero.
11067 * gdb.base/langs.exp: Likewise.
11068 * gdb.base/watchpoint.exp: Likewise.
11069
11070 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
11071 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
11072 trying to compile the testcase.
11073
11074Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
11075
11076 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
11077 * gdb.base/signals.exp (continue to handler): Likewise.
11078
11079Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
11080
11081 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
11082
11083 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
11084
11085Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
11086
11087 * gdb.base/corefile.exp: Recognize "not found" as failure
11088 when trying to determine if a core file was generated.
11089 If no core file was generate the first time, try again without
11090 the ulimit -c to work around braindamaged shells.
11091
11092Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
11093
11094 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
11095 [] tests with "test" and enclose string in quotes.
11096 * gdb.stabs/configure: Rebuild
d63a86f8 11097
c906108c
SS
11098Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
11099
11100 Changes in sync with expect:
11101 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
11102 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
11103 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
11104 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
11105 argument to AC_REQUIRE.
11106 * configure: Regenerated.
11107
11108Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
11109
11110 * gdb.base/corefile.exp: When generating a core, discard any
11111 error messages about ulimit not found and the "core dumped"
11112 message from the shell that runs the coredumper.
11113
11114Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
11115
11116 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
11117
11118 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
11119 which sed script to run. Expect failure for v_comb test
11120 on PA targets too.
d63a86f8 11121
c906108c
SS
11122Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
11123
11124 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
11125 "print func2::coremaker_local" and for "backtrace in corefile.exp"
11126
11127Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
11128
11129 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
11130 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
11131 "sparc-sun-solaris*" xfails for "p v_comb".
11132 * lib/gdb.exp (default_gdb_start): Fix typo.
11133 * gdb.base/corefile.exp: Allow "Core was generated by ..."
11134 messages to not include the full program name that caused
11135 the core dump since some systems (such as solaris) apparently
11136 truncate this path to about 80 characters.
11137 When generating a core file first try increasing the core file
11138 size limit to unlimited since some systems may default it to
11139 zero, and it is harmless to try it. Move the test for failing
11140 to generate a core file to where it will actually get executed.
11141 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
11142 new gdb result from g++ debug info improvements and make old
11143 pattern obsolescent. Also account for size_t differences
11144 (may be int or long).
11145 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
11146 initialization before function call is placed in the delay slot
11147 and thus appears to be skipped over by commands such as "next".
11148
11149Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
11150
11151 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
11152
11153Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
11154
11155 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
11156 input source file; fix code to compile test to deal with this
11157 convention.
11158 * gdb.c++/*.exp: Likewise.
11159
11160Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
11161
11162 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
11163 "bt in signals.exp".
11164
11165Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
11166
11167 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
11168 "step over execarg initialization" and
11169 "step over corearg initialization".
11170
11171Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
11172
11173 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
11174 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
11175
11176Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
11177
11178 From Rob Savoye (rob@poseidon.cygnus.com)
11179 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
11180 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
11181 configure.in}, gdb.disasm/{Makefile.in, configure.in},
11182 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
11183 configure.in}: Major reworking for autoconfig.
11184 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
11185 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
11186 New files.
11187 * config/unix-gdb.exp: Make GDB global.
11188 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
11189 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
11190 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
11191 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
11192 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
11193 term.exp, twice.exp, watchpoint.exp, whatis.exp},
11194 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
11195 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
11196 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
11197 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
11198 pr-8136.exp, result.exp, string.exp, tuples.exp},
11199 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
11200 to returns as necessary, arrange for test to compile own testcase
11201 executable.
11202 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 11203
c906108c
SS
11204Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
11205
11206 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
11207 clear_xfail at end of test which might not call either pass or fail.
11208 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
11209 "backtrace through signal handler".
11210
11211Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11212
11213 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
11214 continuing from a job control stop signal.
11215 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
11216
11217Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
11218
11219 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
11220 * gdb.base/corefile.exp: Likewise.
11221 * gdb.base/funcargs.exp: Likewise.
11222
11223Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
11224
11225 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
11226 * config/monitor.exp: Add support for setting baud rate.
11227
11228Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
11229
11230 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
11231 i*86-*-linux* xfails for "backtrace through signal handler".
11232 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
11233 "print func2::coremaker_local".
11234 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
11235 alpha-dec-osf2* xfail for
11236 "delete all breakpoints when none".
11237
11238Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
11239
11240 * gdb.base/break.exp: Change test that deletes all breakpoints
11241 when no user breakpoints are installed. A post 4.15 change
11242 causes gdb to no longer prompt in this case.
11243
11244Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
11245
11246 * gdb.base/return.exp (return_tests): Change xfail for test
11247 "correct value returned double test" to stop xfailing at
11248 Solaris 2.5. Apparently the bug has been fixed.
11249
11250Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
11251
11252 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
11253 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
11254
11255Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
11256
11257 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
11258 * gdb.disasm/hppa.s: Corresponding changes.
11259
11260Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
11261
11262 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
11263 makefile fragment.
11264 * config/mt-hpux: Deleted.
11265
11266Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
11267
d63a86f8 11268 * Many files: When warning about suppressed tests due to a
c906108c
SS
11269 nonexistant test binary, avoid incrementing the warning count.
11270
11271Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
11272
11273 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 11274
c906108c
SS
11275Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11276
11277 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
11278 "sparc-*-solaris2*".
11279
11280Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11281
11282 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
11283 Add global and local variables and initialize them.
11284 * gdb.base/corefile.exp: Test correct mapping of corefile sections
11285 by printing variables. Remove rs6000 and powerpc xfails, BFD now
11286 extracts the file name and terminating signal from the core file.
11287 * TODO: Remove note about tests for correct mapping of corefile.
11288 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
11289 from optimizing it away.
11290 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
11291 handles common blocks.
11292
11293Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
11294
11295 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
11296 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
11297
11298Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
11299
11300 * Makefile.in (maintainer-clean): New target, synonym for
11301 realclean.
11302 * gdb.base/Makefile.in (maintainer-clean): Likewise.
11303 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
11304 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
11305 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
11306 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
11307 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
11308
11309Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
11310
11311 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
11312 xfails when not gcc compiled for "print foo::funclocal".
11313 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
11314 "print foo::funclocal at foo",
11315 "print 'scope1.c'::foo::funclocal at foo",
11316 "print foo::funclocal_bss at foo",
11317 "print 'scope1.c'::foo::funclocal_bss at foo",
11318 "print foo::funclocal_ro at foo",
11319 "print 'scope1.c'::foo::funclocal_ro at foo",
11320 "print bar::funclocal at foo" and
11321 "print 'scope1.c'::bar::funclocal at foo".
11322 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
11323 gcc compiled for "print foo::funclocal at bar".
11324 Expand all messages to ensure that they identify that
11325 the test is at bar().
11326 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
11327 gcc compiled for:
11328 "ptype on opaque struct pointer (statically)",
11329 "ptype on opaque struct tagname (statically)",
11330 "ptype on opaque struct pointer (dynamically) 1",
11331 "ptype on opaque struct tagname (dynamically) 1",
11332 "ptype on opaque struct pointer (dynamically) 2" and
11333 "ptype on opaque struct tagname (dynamically) 2
11334 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
11335 gcc compiled for:
11336 "p datalocal"
11337 "whatis datalocal",
11338 "ptype datalocal",
11339 "p bsslocal",
11340 "whatis bsslocal", and
11341 "ptype bsslocal".
11342 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
11343 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
11344 when not gcc compiled.
11345 * gdb.base/funcargs.exp (float_and_integral_args): Add
11346 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
11347 compiled.
11348 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
11349 "backtrace from call6a" when not gcc compiled.
11350 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
11351 "backtrace from call7a" when not gcc compiled.
11352 * gdb.base/callfuncs.exp (do_function_calls):
11353 Add "hppa*-*-hpux*" xfail when not gcc compiled for
11354 "p t_char_array_values(char_array_val2,char_array_val1)",
11355 "p t_char_array_values(char_array_val1,char_array_val2)",
11356 "p t_char_array_values("carray 1","carray 2")",
11357 "p t_char_array_values("carray 1",char_array_val2)",
11358 "p t_char_array_values(char_array_val1,"carray 2")",
11359 "p sum_args(1,{2})",
11360 "p sum_args(2,{2,3})",
11361 "p sum_args(3,{2,3,4})",
11362 "p sum_args(4,{2,3,4,5})"
11363 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
11364 "backtrace in corefile.exp" when not gcc compiled.
11365
11366Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11367
11368 * gdb.base/signals.exp: Rewrite `handle all print' test as
11369 a procedure. Accept blanks or TABs as whitespace, increase
11370 timeout and expect input buffer size for the large output
11371 from the command. Remove "i*86-*-bsdi2.0" xfail.
11372
11373Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11374
11375 * gdb.base/setvar.exp: Add new testcases for truncation when
11376 assigning invalid values to bitfields.
11377
11378Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
11379
d63a86f8 11380 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
11381 mips-sgi-irix* xfail for
11382 "call inferior func with struct - returns char *"
11383 and fix test so that an optional (unsigned char *) cast is
11384 accepted in the result.
11385
11386Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
11387
11388 * gdb.base/funcargs.exp (float_and_integral_args): Remove
11389 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
11390 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
11391 * gdb.base/signals.exp: Remove duplicate "handle all print" test
11392 that accidentally got checked in.
11393
11394Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
11395
d63a86f8 11396 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
11397 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
11398 compiled test.
11399 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
11400 Add mips-sgi-irix5* xfail for not gcc compiled.
11401 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
11402 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
11403 "p top", "whatis top", "p middle", and "whatis middle".
11404 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
11405 "whatis signed char" for not gcc compiled.
11406 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
11407 "set variable signed char=-1 (-1)" and
11408 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
11409 * gdb.base/funcargs.exp (float_and_integral_args):
11410 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
11411 Add mips-sgi-irix* xfail when not gcc compiled for
11412 "continue to call2b".
11413 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
11414 "continue to call2g".
11415 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
11416 "backtrace from call6a"
11417 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
11418 "backtrace from call7k".
11419 Add mips-sgi-irix5* xfail when not gcc compiled for
11420 "backtrace from call7a".
11421 (localvars_after_alloca): Fix gdb_test cmds for
11422 "print * after runto ...".
11423 Remove rs6000-*-* xfails for
11424 "print i after runto localvars_after_alloca" and
11425 "print l after runto localvars_after_alloca"
11426 for all compilers.
11427 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
11428 when not compiled with gcc, for:
11429 "print signed char == (minus)",
11430 "print signed char != (minus)",
11431 "print signed char < (minus)",
11432 "print signed char > (minus)".
11433 * gdb.base/callfuncs.exp (do_function_calls):
11434 Add mips-sgi-irix* xfail, when compiled with native compiler, for
11435 "call inferior func with struct - returns char *".
d63a86f8 11436 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
11437 "correct value returned double test" to include Solaris 2.4.
11438 * gdb.base/funcargs.exp (float_and_integral_args):
11439 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 11440
c906108c
SS
11441Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11442
11443 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
11444 enumeration bitfields if compiling with GNU C.
11445 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
11446 to empty' prompt.
11447
11448Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
11449
11450 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
11451 test for PRO targets.
11452
11453 * gdb.base/funcargs.exp: Avoid ever setting more than 8
11454 breakpoints in the inferior at any given time by making
11455 two groups of breakpoints for call2*, call6* and call7*
11456 tests.
11457
11458Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11459
11460 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
11461 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
11462 from optimizing it away.
11463 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
11464 "call inferior func with struct".
11465
11466Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
11467
11468 * configure.in: Only configure gdb.chill for particular targets.
11469
11470Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
11471
11472 * gdb.base/Makefile.in: Add action to .c.o transformation
11473 rule that generates a .ci file for each .o file and remove
11474 explicit .c.o rules except for callfuncs.o.
11475 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
11476 generates a .ci file for each .o file and remove explicit
11477 .cc.o rules.
11478 (clean): Remove *.tmp *.ci files.
11479 (EXECUTABLES): Remove templ-info.exp.
11480 * gdb.base/compiler.c: New file.
11481 * gdb.c++/compiler.cc: New file
11482 * gdb.base/scope.exp: Source gdb.base/scope.ci.
11483 Change rs6000-*-* xfail for
11484 "print 'scope0.c'::filelocal_ro" and
11485 "print 'scope1.c'::filelocal" and
11486 "print 'scope1.c'::filelocal_bss" and
11487 "print 'scope1.c'::filelocal_ro" and
11488 "print 'scope1.c'::foo::funclocal" and
11489 "print 'scope1.c'::foo::funclocal_ro" and
11490 "print 'scope1.c'::bar::funclocal" and
11491 "print 'scope0.c'::filelocal_ro" and
11492 "print 'scope1.c'::filelocal at foo" and
11493 "print 'scope1.c'::filelocal_bss at foo" and
11494 "print 'scope1.c'::filelocal_ro at foo" and
11495 "print 'scope1.c'::foo::funclocal at foo" and
11496 "print 'scope1.c'::foo::funclocal_bss at foo" and
11497 "print 'scope1.c'::foo::funclocal_ro at foo" and
11498 "print 'scope1.c'::bar::funclocal at foo" and
11499 "print 'scope0.c'::filelocal_ro" and
11500 "print 'scope1.c'::filelocal" and
11501 "print 'scope1.c'::filelocal_bss" and
11502 "print 'scope1.c'::filelocal_ro" and
11503 "print 'scope1.c'::foo::funclocal" and
11504 "print 'scope1.c'::foo::funclocal_bss" and
11505 "print 'scope1.c'::foo::funclocal_ro" and
11506 "print 'scope1.c'::bar::funclocal" and
11507 "print 'scope1.c'::bar::funclocal_bss"
11508 to only be xfail'd when not compiled with gcc.
d63a86f8 11509 Add rs6000-*-* xfail for
c906108c
SS
11510 "print 'scope0.c'::filelocal_bss before run"
11511 when compiled with gcc.
11512 (test_at_main): Add rs6000-*-* xfail for
11513 "print filelocal_ro in test_at_main"
11514 when compiled with gcc.
11515 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 11516 Add rs6000-*-aix* xfail for
c906108c
SS
11517 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
11518 "ptype t_char_array", not compiled with gcc.
11519 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
11520 xfail for "list foo (in include file)" when gcc compiled.
11521 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
11522 (integral_args): Add rs6000-*-* xfail for
11523 "run to call0a" if not compiled with gcc.
11524 (unsigned_integral_args): Add rs6000-*-* xfail for
11525 "run to call1a" if not compiled with gcc.
11526 (float_and_integral_args): Add rs6000-*-* xfail for
11527 "run to call2a" if not compiled with gcc and for
11528 "continue to call2b" for any compiler.
11529 Add rs6000-*-* xfail to
11530 "print f1 after run to call2a" for gcc compiled.
11531 (discard_and_shuffle): Add rs6000-*-* xfail for
11532 "run to call6a".
11533 (shuffle_round_robin): Add rs6000-*-* xfail for
11534 "backtrace from call7a" if not compiled with gcc.
11535 Add rs6000-*-* xfail for
11536 "backtrace from call7b" if compiled with gcc.
11537 (call_after_alloca): Add rs6000-*-* xfail for
11538 "print c in call_after_alloca" and
11539 "print s in call_after_alloca" and
11540 "backtrace from call_after_alloca_subr"
11541 if not compiled with gcc.
11542 (localvars_in_indirect_call): Add rs6000-*-* xfail for
11543 "print c in localvars_in_indirect_call" and
11544 "print c in localvars_in_indirect_call" and
11545 "backtrace in indirectly called function" and
11546 "stepping into indirectly called function"
11547 if not compiled with gcc.
11548 (localvars_after_alloca): Add rs6000-*-* xfail for
11549 "print c after runto localvars_after_alloca" and
11550 "print s after runto localvars_after_alloca" and
11551 "print i after runto localvars_after_alloca" and
11552 "print l after runto localvars_after_alloca"
11553 for all compilers.
11554 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
11555 than whatis-info.exp.
11556 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
11557 than opaque-info.exp.
11558 Setup rs6000-*-* xfail for
d63a86f8 11559 "ptype on opaque struct pointer (statically)" and
c906108c
SS
11560 "ptype on opaque struct pointer (dynamically)" when
11561 not compiled with gcc.
11562 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
11563 rather than callf-info.exp.
11564 (do_function_calls): Add clear_xfail for rs6000-*-* for
11565 "p t_float_values2(3.14159,float_val2)". Seems to work
11566 fine there, both with xlc and gcc. Need to find out what
11567 it is doing right and fix other platforms.
11568 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
11569 "call inferior func with struct - returns int",
11570 "call inferior func with struct - returns long",
11571 "call inferior func with struct - returns float",
11572 "call inferior func with struct - returns double",
11573 "call inferior func with struct - returns char *",
11574 but only if not gcc compiled (presumes xlc compiled).
11575 Change rs6000-*-* xfails for
11576 "call inferior func with struct - returns char" and
11577 " call inferior func with struct - returns short" to only
11578 xfail if not using gcc.
11579 (clean mostlyclean): Remove *.ci and *.tmp files.
11580 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
11581 than templ-info.exp.
11582 * gdb.base/langs.exp: Source gdb.base/langs.ci.
11583 Add rs6000-*-* xfail for "up to foo in langs.exp"
11584 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
11585 when not gcc compiled.
d63a86f8 11586
c906108c
SS
11587Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11588
11589 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
11590 * gdb.base/corefile.exp: Likewise.
11591 * gdb.base/list.exp: Likewise.
11592 * gdb.base/scope.exp: Likewise.
11593 * gdb.base/siganls.exp: Likewise.
11594
11595 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
11596 compiler output.
11597 * gdb.base/whatis.exp: Likewise.
11598
11599Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
11600
11601 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
11602 failure (opcode table has been fixed to match reality).
11603
11604Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
11605
11606 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
11607 "call inferior func with struct - returns char",
11608 "call inferior func with struct - returns short"
11609
11610 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
11611 "print 'scope0.c'::filelocal at main",
11612 "print 'scope0.c'::filelocal_bss in test_at_main",
11613 "print 'scope0.c'::filelocal at foo",
11614 "print 'scope0.c'::filelocal_bss in test_at_foo",
11615 "print 'scope0.c'::filelocal at bar",
11616 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 11617
c906108c
SS
11618 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
11619 in source file 1". This bug seems to have been fixed with both
11620 gcc and native cc (was native assembler bug?).
11621
11622Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
11623
11624 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
11625 "backtrace through signal handler" to "i*86-*-sysv4*".
11626 * gdb.base/signals.exp: Add xfail for "'next' behaved as
11627 continue" case. Add "known SVR4 bug" to fail message.
11628 Add "i*86-*-bsdi2.0" xfail for "handle all print".
11629 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
11630 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
11631 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
11632 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
11633 "up to foo in langs.exp", "show language at foo in
11634 langs.exp", "up to cppsub_ in langs.exp", "show
11635 language at cppsub_ in langs.exp", "up to fsub in
11636 langs.exp", and "show language at fsub in langs.exp".
11637 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
11638 "bactrace in corefile.exp".
11639 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
11640 "call inferior function with struct - returns float" and
11641 "call inferior function with struct - returns double".
d63a86f8 11642
c906108c
SS
11643Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
11644
11645 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
11646 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
11647 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
11648 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
11649
11650Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
11651
11652 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
11653 (or overriden) "CHILL" macro rather then bare "gcc".
11654 Also look for ../../gcc/xgcc since that is what we will
11655 actually need, not "Makefile". Remove following assignment
11656 of CHILL to CHILL_FOR_TARGET because that results in
11657 recursive definition.
11658
11659Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
11660
11661 * gdb.base/corefile.exp: Change xfail for backtrace in
11662 corefile.exp from linuxaout to all linux.
11663 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
11664 cases where we miss the breakpoint at the signal handler
11665 for some reason. Setup xfail for linuxoldld/linuxaout and
11666 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
11667 hitting SIGURG breakpoint.
11668 * gdb.base/signals.exp: Setup xfail for "next" acting like
11669 continue to add linuxoldld. Setup xfail for all linux for
11670 "next to handler in signals_tests_1", "backtrace in
11671 signals_tests_1", "continue to func1", "pass SIGUSR1",
11672 and continue to handler".
11673
11674Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
11675
11676 * Update all FSF addresses except those in COPYING* files.
11677
11678Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
11679
11680 * gdb.base/a2-run.exp: Change messages to be more explicit about
11681 the status of args, and quote binfile in results.
11682
11683Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
11684
11685 * gdb.base/callfuncs.exp: Add tests for passing structs to
11686 inferior functions and return various types.
11687 * gdb.base/callfuncs.c: Add functions to receive a struct
11688 and return a member of the struct, in various types.
11689
11690Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11691
11692 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
11693
11694Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
11695
11696 * config/vxworks29k.exp: New file, sources vxworks.exp.
11697
11698Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11699
11700 * config/gdbremote.exp: New file. Testing framework using
11701 gdbserver.
11702
11703Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
11704
11705 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
11706 "call function when asleep" and "send end of file".
11707 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
11708 for "backtrace in corefile.exp".
11709 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
11710 for "backtrace through signal handler".
11711 * gdb.base/corefile.exp: Make sure we actually generate a core file
11712 before trying the core tests. Some systems allow the user to suppress
11713 generation of core files and default to that (linux for example).
11714 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
11715 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
11716
11717Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11718
11719 * gdb.threads: New directory with some crude multi-threaded
11720 gdb tests (step.exp and step2.exp).
11721 * config/mt-lynx (STEP_EXECUTABLE): Define.
11722 (THREADFLAGS): Define.
11723
11724Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
11725
11726 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
11727
11728 * gdb.base/signals.exp: Disable whole file for lynx until
11729 further notice.
11730
11731 * gdb.base/signals.exp: xfail test where "next" acts like
11732 "continue" for lynx.
11733
11734 * gdb.base/interrupt.exp: xfail test for calling function while
11735 inferior is asleep for lynx.
11736
11737 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
11738 than one cr-lf after each command.
11739
11740Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11741
11742 * configure.in: Reinstate setting of stabsdirs variable, fix
11743 typo in setting up configdirs for native builds.
11744
11745 * gdb.base/return.exp: Fix typo in return double test.
11746 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
11747 compiler from optimizing them away.
11748
11749Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
11750
11751 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
11752 sequences to be echo'd by gdb when using gdb_test.
11753 * gdb.chill/chexp.exp: Likewise.
11754 * gdb.fortran/exprs.exp: Likewise
11755
11756Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11757
11758 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
11759 after the inferior gdb has started.
11760
11761 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
11762 after each command.
11763 * gdb.base/funcargs.exp: Likewise.
11764 * gdb.base/gdbvars.exp: Likewise.
11765 * gdb.base/interrupt.exp: Likewise.
11766 * gdb.base/list.exp: Likewise.
11767 * gdb.base/watchpoint.exp: Likewise.
11768 * gdb.c++/demangle.exp: Likewise.
11769 * gdb.c++/inherit.exp: Likewise.
11770 * gdb.chill/chexp.exp: Likewise.
11771 * gdb.fortran/exprs.exp: Likewise.
11772
11773 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
11774 test if we can't handle IO to/from the inferior.
11775
11776 * gdb.c++/misc.exp: Always check for a program already being
11777 started after sending a "run" command to gdb.
11778
11779 * gdb.base/twice.exp: Start with a fresh gdb.
11780
11781 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
11782 only depend on gdb's expression code, not the chill runtime.
11783
11784 * gdb.base/return.c: Put return values into variables so we
11785 can have gdb print them rather than depending on the program
11786 to print them.
11787 * gdb.base/return.exp: Corresponding changes.
11788
11789 * lib/gdb.exp: Provide default value for noinferiorio.
11790 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
11791 the inferior.
11792
11793 * gdb.base/break.exp: Always check for a program already being
11794 started after sending a "run" command to gdb.
11795 (text_next_with_recursion): Don't check the output from the
11796 program's printf statement. Instead just make sure the program
11797 exited.
11798
11799 * gdb.base/commands.exp: Protect tests which need arguments with
11800 $noargs conditionals.
11801
11802Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11803
11804 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
11805 of structure member arrays to match gdb/valops.c:value_addr change.
11806
11807Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
11808
11809 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
11810 cases.
11811
11812Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
11813
11814 * configure.in (configdirs): Remove gdb.chill from default list
11815 of subdirs and then add it back in only if doing a native build.
11816 The current chill compiler does not yet work in any cross build.
11817 * Revert all signal changes from Jul 6.
11818 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
11819 for sh-hms targets, allowing these tests to link, with no other
11820 changes. Testing is suppressed by setting "nosignals" in site.exp.
11821
11822Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
11823
11824 * configure.in (signaldirs): Define and add to configdirs for all
11825 targets except some specific ones that are known to not support signals.
11826 Also clean up formatting.
11827 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
11828 (signals, sigall): Remove rules to build.
11829 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
11830 Moved to new gdb.signals directory.
11831 * gdb.signals: New test directory.
11832 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
11833 signals.c signals.exp}: New or moved files.
11834
11835Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
11836
11837 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
11838
11839Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
11840
11841 * gdb.base/return.exp: Xfail `return double' test failure
11842 on at least Solaris 2.3 and handle future/past versions on
11843 a case by case basis as appropriate. Also update message
11844 to include i*86 failures.
11845
11846Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11847
11848 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
11849
11850 * lib/gdb.exp: Fix comment which erroneously identified
11851 gdb_file_cmd as gdb_load (the 19 May change was in fact to
11852 gdb_file_cmd not gdb_load).
11853 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
11854
11855 * gdb.base/setvar.exp: Make test names consistent between pass and
11856 fail cases. Use gdb_test more.
11857
11858Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11859
11860 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
11861
11862Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11863
11864 * gdb.base/help.exp: Fix expected help string for `show commands'.
11865
11866Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
11867
11868 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
11869
11870 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
11871 of a text section.
11872
11873Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
11874
11875 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
11876 that loop eventually terminates. Fix Connection refused logic so
11877 that testsuite will expire nicely.
11878
11879Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
11880
11881 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
11882 config/rom68k.exp: New tcl glue for the appropriate monitors.
11883 These all just end up calling monitor.exp.
11884 * config/monitor.exp (gdb_target_monitor): Handle `Connection
11885 refused' by retrying. Cleanup some timeout issues.
11886 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
11887 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
11888 callers don't have to set/restore global timeout variable.
11889
11890 * The following set of changes centralizes management of the global
11891 timeout variable. This way, it can be set in one target dependent
11892 place instead of dozens of places scattered throughout the test suite.
11893 If you need to lengthen a timeout, then you should either set timeout
11894 in one of the config/{target}.exp files, or multiply it by a factor.
11895 Setting it to an absolute value is always going to lose for some
11896 targets.
11897 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
11898 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
11899 * gdb.base/funcargs.exp: Don't set timeout.
11900 * gdb.base/list.exp (test_forward_search): Only use local timeout.
11901 * gdb.base/printcmds.exp (test_print_string_constants
11902 test_print_array_constants): Don't set timeout.
11903 * gdb.base/ptype.exp: Don't set timeout.
11904 * gdb.base/recurse.exp: Don't set timeout.
11905 * gdb.base/return.exp: Don't set timeout.
11906 * gdb.base/watchpoint.exp: Don't set timeout.
11907 * gdb.c++/classes.exp (do_tests): Don't set timeout.
11908 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
11909
11910Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
11911
11912 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
11913
11914Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11915
11916 * lib/gdb.exp: Disable chill tests for irix5.
11917
11918Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11919
11920 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
11921 each test pass or fail.
11922
11923Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11924
11925 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
11926 xlc not gcc.
11927
11928Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
11929
11930 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
11931
11932Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
11933
11934 * config/est.exp: Fix copyright and comments. Remove dead code.
11935 Use targetname, serialport and baud variables instead of fixed
11936 constants.
11937 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
11938 * config/cpu32bug.exp: New file to support cpu32bug monitors.
11939
11940Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11941
11942 * gdb.base/watchpoint.exp: Don't run
11943 test_watchpoint_triggered_in_syscall for sunos.
11944
11945Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11946
11947 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
11948 they don't seem to exist. Do include stdio.h.
11949
11950Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11951
11952 * gdb.base/a1-selftest.exp: Add alpha xfail.
11953
11954Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11955
11956 * gdb.base/watchpoint.c (main): Prompt before calling read().
11957 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
11958 Revise accordingly. Remove cruft about sending "123" several
11959 times, until it gets noticed. Clean up the "print buf[0]" stuff
11960 so that it passes or fails, and waits for prompts in the usual way.
11961
11962Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11963
11964 * gdb.base/recurse.exp: Fix comment.
11965
11966 * TODO: Remove item about printing variables in nodebug.exp. Add
11967 item about enabling tests which are only run on some targets.
11968
11969 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
11970 fail, make test names unique, use new gdb_test convention
11971 regarding pattern, use gdb_test more, etc.).
11972
11973 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
11974 fail, make test names unique, etc.).
11975
11976Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11977
11978 * gdb.base/nodebug.c: Change return type of top and middle to
11979 short.
11980 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
11981 are fixed by the recent mdebugread.c changes. Allow `short ()'
11982 as type for top and middle.
11983
11984Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11985
11986 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
11987 nearly as I can tell, the whole thing was an accident in Stu's
11988 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
11989 to replace a send/expect pair with gdb_test, but ended up only
11990 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
11991 of 30 Mar 1995 took care of it, but left this vestigial comment
11992 which I am now nuking.
11993
11994Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11995
11996 * gdb.base/break.exp: Look for different line number for
11997 breakpoint at main depending on usestubs.
11998
11999Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12000
12001 * gdb.base/list.exp: Adjust some alternate expect patterns to
12002 match recent list0.c change. Add alternate expect pattern for
12003 output from `list default lines around main' for optimizing
12004 compilers.
12005
12006Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12007
12008 * lib/gdb.exp: If nosignals is not set, set it to 0.
12009
12010Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
12011
12012 * config/slite-gdb.exp: Responds to load symbol table prompt.
12013 * gdb.base/break.exp: Adjust line number, fix rerun.
12014 * gdb.base/langs0.c: Add #ifdef usestubs.
12015
12016Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
12017
12018 * gdb.base/list.exp: Adjust line contents after adding new lines in
12019 list0.c. Also fix a syntax error.
12020
12021 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
12022 * gdb.base/break.exp: ditto.
12023 * gdb.base/list.exp: ditto.
12024 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
12025 * gdb.base/run.c: ditto.
12026 * gdb.base/list0.c: ditto.
12027 * gdb.base/funcargs.c: ditto.
12028
12029Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
12030
12031 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
12032 $targetname, $serialport and $baud instead of hardwired variables.
12033 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
12034 target doesn't support signals.
12035
12036Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
12037
12038 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
12039
12040Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12041
12042 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
12043 Don't rely on the value of an auto variable before it has been
12044 initialized. Use gdb_test more.
12045
12046Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12047
12048 * lib/gdb.exp (default_gdb_version): A version number must start
12049 with a digit, but other than that contains all characters up to
12050 the first whitespace character.
12051
12052Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12053
12054 * gdb.base/commands.exp (breakpoint_command_test): New tests.
12055
12056Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12057
12058 * gdb.c++/*.exp: Warn if executable does not exist. The original
12059 reason for skipping the warning was that configure.in sometimes
12060 intentionally skipped building the executables but the tcl code
12061 had no way of knowing. That (a) was always bogus with respect to
12062 error handling, (b) is no longer true (right now there is no way
12063 to skip C++ tests).
12064
12065 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
12066
12067Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12068
12069 * gdb.base/list.exp: Add expect patterns for output from
12070 SunPRO compiled executables.
12071 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
12072 types.
12073
12074Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12075
12076 * gdb.base/break.exp (test_next_with_recursion): Accept any line
12077 number (we are already testing that the correct source line text
12078 gets printed).
12079
12080 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
12081 that is what is intended, but something needed to be done to get
12082 sunos4 native working again.
12083
12084 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
12085
12086 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
12087 apparently went with a (very) old xfail.
12088
12089Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
12090
12091 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
12092 runto_main is a proc in gdb.exp that will do 'step' for target use
12093 stubs.
12094 * gdb.base/exprs.exp: ditto.
12095 * gdb.base/interrupt.exp: ditto.
12096 * gdb.base/opaque.exp: ditto.
12097 * gdb.base/printcmds.exp: ditto.
12098 * gdb.base/ptype.exp: ditto.
12099 * gdb.base/scope.exp: ditto.
12100 * gdb.base/setvar.exp: ditto.
12101 * gdb.base/signals.exp: ditto.
12102 * gdb.base/twice.exp: ditto.
12103 * gdb.c++/classes.exp: ditto.
12104 * gdb.c++/inherit.exp: ditto.
12105 * gdb.c++/templates.exp: ditto.
12106 * gdb.base/break.exp: no run and hit main for stubs. Change line
12107 numbers for breakpoints and info breakpoint.
12108 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
12109 breakpoint().
12110 * gdb.base/callfuncs.c: ditto.
12111 * gdb.base/exprs: ditto.
12112 * gdb.base/interrupt.c: ditto.
12113 * gdb.base/opaque0.c: ditto.
12114 * gdb.base/printcmds.c: ditto.
12115 * gdb.base/ptype.c: ditto.
12116 * gdb.base/scope0.c: ditto.
12117 * gdb.base/setvar.c: ditto.
12118 * gdb.base/signals.c: ditto.
12119 * gdb.base/twice.c: ditto.
12120 * gdb.c++/misc.cc: ditto.
12121 * gdb.c++/templates.cc: ditto.
12122
12123Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12124
12125 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
12126
12127 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
12128 somewhere between `read' and `main.c'. I'm pretty sure the
12129 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
12130 and it isn't particularly useful.
12131
12132 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
12133
12134Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12135
12136 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
12137
12138Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
12139
12140 * config/mt-slite: add LIBS and -nostdlib.
12141 * config/slite-gdb.exp: add this new file to support sparclite target.
12142
12143Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
12144
12145 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
12146
12147 * gdb.base/a2-run.exp: Change argument to istarget from
12148 "*-*-vxworks" to "*-*-vxworks*".
12149 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
12150
12151Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
12152
12153 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
12154 will not runto main but do a 'step' to step out of breakpoint().
12155 * config/mt-slite: add -Dusestubs.
12156
12157Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12158
12159 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
12160 instead of just @.
12161
12162 * gdb.base/signals.exp: Add test for "handle all print".
12163 * TODO: Remove "handle all print". Also remove item about
12164 checking copyright date (I don't like the idea of a spurious FAIL
12165 based on when we run the tests).
12166
12167 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
12168 for SunOS4 (reason for failure not investigated). Remove
12169 redundant test for $binfile.
12170
12171 * gdb.base/nodebug.c (array_index): Call malloc.
12172
12173 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
12174
12175Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
12176
12177 * gdb.base/recurse.exp: Update gdb_test invocation to use new
12178 conventions and slightly simplify the matching regexp.
12179
12180Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12181
12182 * gdb.base/break.exp: Update gdb_test invocation to use new
12183 convention.
12184
12185 * lib/gdb.exp: If noargs is not set, set it to 0.
12186
12187 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
12188 tests unique.
12189
12190 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
12191
12192Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12193
12194 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
12195 one argument of type "<non-float parameter>".
12196
12197Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
12198
12199 * config/rom68k.exp: New file to support Motorola IDP board.
12200 * gdb.base/a2-run.exp: Skip this file if noargs is set.
12201 * gdb.base/break.c: Change things around so that this program
12202 doesn't depend upon args. This is necessary to make remote
12203 targets work (in general, they can't take args).
12204 * gdb.base/break.exp: Don't try to send args to program. Don't
12205 expect output. Also, replace lots of code with gdb_test.
12206
12207Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12208
12209 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
12210 printing of '\'' (which is what the comment says we are testing,
12211 even though we were not), not '''.
12212 (test_integer_literals_rejected): Test that printing ''' is an error.
12213
12214 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12215 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
12216 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
12217 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
12218 Use gdb_test not test_print_accept.
12219 * lib/gdb.exp: Remove test_print_accept.
12220
12221 * gdb.base/signals.exp (signal_tests_1): Make pass message
12222 consistent with fail message.
12223
12224 * gdb.base/whatis.exp: Remove xfails for printing char vs.
12225 unsigned char; the bug (PR 1821) is fixed.
12226
12227 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
12228
12229 * gdb.base/scope.exp (test_at_localscopes): Call pass for
12230 successful tests--makes xfailing them work right.
12231
12232Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12233
12234 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
12235 only \r\n, not .*. The test can pass .* as the last thing in
12236 $pattern if that is what it wants. In addition to providing this
12237 flexibility, this change should speed up pattern matching in cases
12238 where the pattern already ended with .* (there were a number of
12239 them). This change also helps catch bad patterns--in the old
12240 scheme the typo "char \*" instead of "char \\*" would pass. Now
12241 it is caught.
12242 * Many .exp files: Update callers.
12243
12244 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
12245 clearer and does not spuriously match multiple ('s. Likewise for
12246 ) and *.
12247
12248 * gdb.base/nodebug.exp: Test ability to call a function and pass
12249 it a string (even with no debugging info).
12250
12251 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
12252 "p '\'", which is the same as "p ''" once tcl gets done with
12253 quoting, to "p '\\'", which I suspect is what is intended (one
12254 backslash gets sent to GDB).
12255
12256 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
12257
12258Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12259
12260 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
12261 1817) was fixed literally years ago.
12262
12263Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12264
12265 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
12266 test, it causes stepping out of call_after_alloca_subr with
12267 optimizing compilers.
12268 (localvars_in_indirect_call): Consume GDB prompt if `finish'
12269 fails.
12270
12271 * gdb.c++/templates.exp: Source templ-info.exp only if
12272 the templates executable exists.
12273
12274 * gdb.c++/misc.cc (class Contains_static_instance,
12275 class Contains_nested_static_instance),
12276 gdb.c++/classes.exp (test_static_members): Test printing of
12277 a class that contains a static instance of the class.
12278
12279Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12280
12281 * gdb.base/langs2.c (cppsub_): Don't prototype.
12282 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
12283 only, I believe).
12284
12285Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12286
12287 * lib/gdb.exp (skip_chill_tests): New procedure.
12288
12289 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
12290
12291Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
12292
12293 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
12294 each expect pattern. Cuts runtime from 12 to about 4 seconds.
12295
12296Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12297
12298 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
12299
12300 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
12301 disassemble 8, not 16, instructions for part 4.
12302
12303 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
12304 support the latter anymore.
12305
12306 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
12307 -DNO_PROTOTYPES.
12308 * gdb.base/callfuncs.c: Control use of prototypes based on
12309 NO_PROTOTYPES, not __STDC__.
12310 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
12311 t_float_values2 tests if prototypes in use.
12312
12313 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
12314 t_double_values): When checking differences against DELTA, check
12315 that difference is within the range (-DELTA,DELTA), not just
12316 (-infinity,DELTA).
12317
12318Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
12319
12320 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
12321 'file' command firts, then 'target', then 'load', this is due to gdb
12322 target set up.
12323 * config/mips-gdb.exp: Fix a couple regular exp bugs.
12324
12325Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
12326
12327 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
12328 FP load/store variants.
12329 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
12330
12331Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
12332
12333 * gdb.base/term.exp: Do not give a warning if not native, it is
12334 not an abnormal condition.
12335
12336Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
12337
12338 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
12339 t_char_array".
12340
12341Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
12342
12343 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
12344 are getting the version number.
12345
12346 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
12347 if not native, it is not an abnormal condition.
12348
12349Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12350
12351 * lib/gdb.exp: Just use "file exists", rather than undocumented
12352 dejagnu procedure "findfile".
12353
12354Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12355
12356 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
12357 (LDFLAGS): Set to -Xlinker -Ur.
12358
12359 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
12360 Removed, these values are set by lib/gdb.exp.
12361
12362 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
12363
12364Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12365
12366 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
12367 of replicating gdb startup code.
12368
12369 * config/mt-vxworks (LDFLAGS): Set to -r.
12370 (CFLAGS_FOR_TARGET): Removed.
12371
12372 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
12373 (gdb) and gdb for vxworks uses (vxgdb).
12374
12375 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
12376 executable is not in the tree and host != target, use sed and
12377 program_transform_name to determine the gdb name used by the
12378 target.
12379
12380 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
12381 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
12382
12383Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12384
12385 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
12386 floats, chars, and shorts where there are ANSI-style function
12387 definitions.
12388
12389 * gdb.base/langs.exp, gdb.base/langs*: New test.
12390 * gdb.base/Makefile.in: Build it.
12391 * TODO: Remove item about checking that C names don't get C++
12392 demangling applied; this test tests it.
12393
12394Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12395
12396 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
12397 went with the const70 xfail. The xfail went away a year ago.
12398
12399 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
12400
12401 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
12402 for hp300.
12403
12404 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
12405
12406 * gdb.base/a1-selftest.exp: Don't run on hp300.
12407
12408Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12409
12410 * Makefile.in (site.exp): Set host_alias and target_alias as well
12411 as host_triplet and target_triplet.
12412
12413Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12414
12415 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
12416
12417 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
12418 places as other ecoff systems).
12419
12420 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
12421 ultrix.
12422
12423Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12424
12425 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
12426 remove them.
12427 * gdb.base/nodebug.exp: Accept "function" in addition to "text
12428 variable and "variable" in addition to "data variable".
12429 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
12430
12431 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
12432 2.
12433 * gdb.base/list1.c (long_line): Add additional statement at start
12434 of function.
12435 * gdb.base/list.exp (test_forward_search): Update line number to
12436 reflect new statement.
12437
12438Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12439
12440 * gdb.base/signals.exp: Reinitialize searched source directories
12441 after gdb_start call.
12442
12443Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
12444
12445 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
12446 * gdb.stabs/Makefile.in: Likewise.
12447
12448 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
12449 change. Instead split the tests into smaller pieces.
12450 * gdb.disasm/hppa.s: Corresponding changes.
12451
12452Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12453
12454 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
12455 Quote ^C when passing it to stty. For some shells ^ is a pipe.
12456
12457 * gdb.base/funcargs.exp: Modify many tests so that every test
12458 either passes or fails. Make some test names unique.
12459
12460Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12461
12462 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
12463 Call stty to set interrupt character.
12464
12465 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
12466 for HP assembler versus GNU assembler based on actual behavior of
12467 $(CC), rather than assuming that $(AS) is always the GNU assembler.
12468
12469 * TODO: Suggest a few more stepping tests.
12470
12471Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
12472
12473 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
12474 restart GDB for h8300 after a continue.
12475 (return): Add pattern to match a29k-udi behavior.
12476 * gdb.base/nodebug.exp: Remove obsolete comment.
12477 * gdb.base/regs.exp: New file, testing of register displays.
12478 * gdb.base/return.exp: Fix typo in reference to $objdir.
12479 * gdb.base/whatis.exp: Always start with a fresh GDB.
12480
12481Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12482
12483 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
12484 higher, these tests generate a lot of output.
12485
12486Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12487
12488 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
12489 code following the catch silently ignored some errors; without the
12490 catch they should be thrown like any other tcl error. Also, the
12491 catch used "" instead of {} which meant all the callers who wanted
12492 to include one of the characters "[]$ had to quote it an extra time.
12493 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
12494 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
12495 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
12496 Remove extra quoting.
12497
12498Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
12499
12500 * gdb.base/commands.exp: Make test names unique; every test either
12501 passes or fails. Update some comments.
12502
12503 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
12504
12505Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12506
12507 The following fixes a FAIL caused by the fact that the alpha stabs
12508 configuration didn't use the ".if alpha" code in weird.def.
12509 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
12510 bit pointer, so the 32 bit version works even on the alpha.
12511 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
12512 Remove the stuff which allowed us to have separate versions for
12513 alpha and everything else.
12514
12515 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
12516 regexp which "info func operator\[\](" is supposed to match. Fix
12517 string to send to GDB. Note that GDB still doesn't work right. Add a
12518 new test for "info func .perator\[\](" which GDB does handle correctly.
12519
12520 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
12521
12522Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12523
12524 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
12525 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
12526 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
12527 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
12528 it makes the tests harder to understand and confuses test-o-matic.
12529 The preferred style is that each test provides a PASS or a FAIL,
12530 and has a unique message (e.g. "continue #54" not just "continue")
12531 which is the same for the pass and the fail.
12532 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12533 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
12534 to lib/gdb.exp.
12535 * gdb.base/printcmds.exp: Use test_print_accept. Remove
12536 prt_accept which was basically the same thing. Likewise for
12537 test_print_reject and prt_reject.
12538 * lib/gdb.exp (test_print_reject): Add some more error message
12539 patterns to match from the former printcmds.exp (prt_reject).
12540 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
12541 One defect of the passcount stuff is that some of it failed to
12542 report XPASS where appropriate.
12543 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
12544 stuff before and after arg in expected pattern.
12545 (test_paddr_operator_functions): Re-do test without print_addr_of;
12546 this is the only test which seems to want extra stuff there.
12547
12548Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12549
12550 * gdb.base/nodebug.exp: Update new tests to reflect improved
12551 wording of gdb output.
12552
12553 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
12554 and "ptype" work on variables in files compiled without -g.
12555 Replaces commented out "maint print msymbol" tests.
12556
12557Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12558
12559 * gdb.base/setvar.c (dummy): Call malloc.
12560
12561 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
12562 losing with the irix4 sed.
12563
12564 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
12565 ALRM" on irix4.
12566
12567Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12568
12569 * TODO: Remove items about corefile.exp testing new exec-file and
12570 backtrace; both are now done. Add items about printing enums.
12571
12572Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12573
12574 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
12575 "get signal $thissig" test fails.
12576
12577 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
12578
12579Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12580
12581 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
12582 compiler warning with dec alpha compiler.
12583
12584 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
12585 extra \n from gdb_test call (this explains why the prompt test
12586 that I removed yesterday was there).
12587 (user_defined_command_test): Remove extra \n and prompt test.
12588
12589 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
12590 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
12591 doesn't exist.
12592 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
12593 Also remove alpha workaround, which turns out to be because
12594 SIGABRT == SIGLOST.
12595
12596 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
12597
12598 * gdb.base/help.exp: Don't test "help show".
12599
12600Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12601
12602 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
12603 "set print address" is on.
12604 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
12605 pass prompt to gdb_test; gdb_test already looks for the prompt.
12606
12607 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
12608
12609 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
12610 was a vestige of the manual TESTSTRATEGY, and the purpose of it
12611 was to make sure that gdb can read a core file. But (a) the "read
12612 the corefile" part didn't make it to a1-selftest.exp, we just
12613 delete the corefile after creating it, and (b) we test reading
12614 corefiles in corefile.exp anyway. Also, this test left around a
12615 xgdb process on Solaris.
12616
12617 * gdb.base/corefile.exp: Also test backtrace.
12618
12619Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
12620
12621 * gdb.base/commands.exp: Test a simple user defined command with
12622 arguments and if/while statements; verify the full user command is
12623 printed by "show user".
12624
12625 * gdb.base/commands.exp: Test if/while commands as part of a
12626 breakpoint command list; verify they appear in breakpoint
12627 information.
12628
12629Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12630
12631 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
12632 than by dividing by zero.
12633
12634Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
12635
12636 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
12637 performing an inferior call with watchpoints enabled.
12638 * gdb.base/watchpoint.c (main): Delete second unnecessary read
12639 call.
12640
12641Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12642
12643 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
12644 of "file" command.
12645
12646 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
12647 Add additional pattern for when "int operator int(void);" appears
12648 in a different order.
12649
12650Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12651
12652 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
12653
12654 * gdb.base/help.exp: Replace most of docstrings for "info signals"
12655 and "signal" with ".*".
12656
12657Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12658
12659 * TODO: Add note about "handle all nostop".
12660
12661 * gdb.base/{sigall.c, sigall.exp}: New test.
12662 * gdb.base/Makefile.in: Add it.
12663
12664Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
12665
12666 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
12667 when invoking GDB, suppresses any windowing interface.
12668
12669Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
12670
12671 * config/sim-gdb: New file, simulator testing support.
12672
12673Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
12674
12675 * gdb.base/interrupt.exp: Test calling func1 twice.
12676
12677Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
12678
12679 * gdb.base/list.exp (test_forward_search): Set timeout higher
12680 when we'll be getting lots of output from gdb.
12681
12682 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
12683 "init_malloc" to after the expect statement. Run it if that
12684 regexp is taken, but also for two others which happen if source
12685 cannot be found.
12686
12687Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12688
12689 * gdb.base/printcmds.exp: New test, for printing register before
12690 program is running.
12691
12692Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12693
12694 * gdb.base/list.exp: Correct some alternate expect patterns
12695 to reflect changes in list1.c.
12696
12697Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12698
12699 * TODO: Add item regarding large frames.
12700
12701 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
12702
12703 * TODO: Remove item about enabling return.exp; it
12704 is enabled. Suggest a few more "return" tests.
12705
12706Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12707
12708 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
12709 anonymous unions.
12710
12711Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12712
12713 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
12714 and pr-5646.o, so "make" is the same as "make all", not "make
12715 pr-4975.o".
12716
12717Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
12718
12719 * gdb.base/list.exp: Adjust expectations to reflect changes in
12720 list1.c.
12721 (test_forward_search): New test proc.
12722 * gdb.base/list1.c (long_line): New function, has long source line.
12723
12724Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
12725
12726 * gdb.base/a1-selftest.exp: Change initial stepping to know about
12727 additional line of code that was added.
12728
12729Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
12730
12731 * gdb.disasm/hppa.s: Break the large branching tests into smaller
12732 tests so as not to overflow expect's input buffers.
12733 * gdb.disasm/hppa.exp: Corresponding changes.
12734
12735Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12736
12737 Beginnings of template debugging tests.
12738 * gdb.c++/templ-info.cc: New file to test for template
12739 debugging capability of the compiler.
12740 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
12741 templ-info.cc.
12742 * gdb.c++/templates.cc: Add explicit template instantiations
12743 to enable compiling with -fno-implicit-templates. Add destructor
12744 and 'value' method to T5 class for template tests.
12745 * gdb.c++/templates.exp: Add testcases for printing of template
12746 types, setting breakpoints on template methods and calling a
d63a86f8 12747 template method.
c906108c
SS
12748
12749Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
12750
12751 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
12752 branch target since some assemblers (gas-2.5) may emit a
12753 relocation for the branch instead of resolving it in the
12754 assembler.
12755
12756Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12757
12758 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
12759 through signal handler.
12760
12761Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12762
12763 * configure.in (*-*-netware): Use config/mt-netware.
12764
12765 * config/mt-netware: New file.
12766 * config/mt-i386-netware: Removed, separate configs for different
12767 netware architectures are no longer needed now that we have
12768 --with-headers.
12769
12770Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12771
12772 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
12773 by the recent changes to use ANSI C arithmetic conversions.
12774
12775Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12776
12777 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
12778 bug involving using inferior_pid to figure out whether to select a
12779 frame.
12780
12781Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
12782
12783 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
12784 match the current disassembler output.
12785
12786Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
12787
12788 * gdb.fortran/exprs.exp: Expect VOID instead of void.
12789 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
12790 types, expect "int" as type of integer values (for now).
12791
12792Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
12793
12794 * gdb.base/commands.exp: New tests for if/while commands.
12795
12796Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
12797
12798 * lib/gdb.exp (runto): Replace sub-pattern for hex value
12799 by .*, since hex values have different syntax in Chill mode.
12800
12801Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12802
12803 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
12804 linefeed from expect pattern for repeated types with indices > 9.
12805
12806Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
12807
12808 First part of Fortran test suite.
12809 * gdb.fortran: New directory.
12810 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
12811
12812Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12813
12814 * gdb.base/default.exp: Update expect pattern for load command
12815 without arguments.
12816
12817Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12818
12819 * configure.in: Change i386 to i[345]86.
12820 * gdb.base/configure.in: Likewise.
12821 * gdb.c++/configure.in: Likewise.
12822 * gdb.chill/configure.in: Likewise.
12823
12824Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
12825
12826 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
12827 patterns, since that is not a valid context for comments.
12828
12829Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
12830
12831 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
12832 repeated types and repeated types with indices > 9.
12833
12834Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
12835
12836 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
12837 2417; old bug has been fixed.
12838
12839Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
12840
12841 * gdb.base/interrupt.exp: When trying to wake up the inferior,
12842 send the newline ourselves instead of assuming gdb_test will do
12843 so when passed an empty input string.
12844
12845 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
12846 stabs testcode.
12847
12848Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12849
12850 * lib/gdb.exp (gdb_test): Don't send anything if the first
12851 argument is an empty string. This makes cases where we want to
12852 match output that is already in expect's buffers (for example,
12853 matching a breakpoint after gdb_run_cmd has been called) work
12854 reliably.
12855
12856Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12857
12858 * config/netware.exp: New file.
12859
12860Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12861
12862 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
12863 the -B and -L prefixes so we can find the debugging stub.
12864
12865 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
12866 there and we are using the gcc from the tree.
12867
12868 * gdb.base/types.c: Removed.
12869
12870 * gdb.base/configure.in: Look for makefile fragments in ../config.
12871 Recognize i386-*-netware.
12872 * gdb.c++/configure.in: Likewise.
12873
12874Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12875
12876 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
12877 the correct TCL syntax.
12878
12879Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12880
12881 * gdb.base/opaque.exp: use runto instead of messing around with
12882 breakpoints. Simplify by using gdb_test.
12883
12884 * gdb.base/bitfields.exp: restart between tests on netware targets
12885 because breakpoints aren't relocated after target death. Run
12886 processes to completion.
12887
12888 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
12889
12890Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
12891
12892 * Makefile.in: Remove extra tabs that confuse some versions
12893 of "make". Use the newly built gdb to test with by default,
12894 rather than the first one in the tester's search path.
12895
12896Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
12897
12898 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
12899
12900 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
12901 condition help.
12902
12903Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12904
12905 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
12906
12907 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
12908 running.
12909 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
12910 * gdb.base/funcargs.exp: Likewise.
12911
12912 * gdb.base/bitfields.exp: Simplify by using gdb_test.
12913 * gdb.base/funcargs.exp: Likewise.
12914
12915 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
12916 message is "".
12917
12918Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12919
12920 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
12921 return,signals,twice}.exp: Handle non-existant binaries
12922 consistantly.
12923
12924 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
12925 * gdb.base/Makefile.in: Don't try to generate a core dump, we
12926 might testing a cross development system.
12927
12928Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12929
12930 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
12931 runtest script is relative to ${srcdir}, not ${rootdir}.
12932
12933Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
12934
12935 * gdb.base/signals.exp: Allow for optionality of breakpoint
12936 address.
12937
12938Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12939
12940 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
12941
12942Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12943
12944 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
12945 for size_t definition.
12946 * gdb.c++/templates.cc: Likewise
12947
12948 * config/mt-i386-netware: New file.
12949
12950 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
12951 defined.
12952
12953 * gdb.base/Makefile.in: Added support for systems that name core
12954 files by appending "core" to the program name.
12955 * gdb.base/a1-selftest.exp: Likewise.
12956
12957Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12958
12959 * gdb.base/return.exp: Add comment and message for `return double'
12960 test failure on Sparc Solaris.
12961
12962Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
12963
12964 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
12965
12966Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12967
12968 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
12969 from optimizing them away.
12970 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
12971 patterns to include default constructors and assignment operators,
12972 to match gcc versions beyond 2.5.8. Accept any cplus demangling
12973 character in the output of the virtual base pointer.
12974
12975Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12976
12977 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
12978 expression match in print_addr_of to avoid unintented matches.
12979 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
12980 versions up to 2.5.8.
12981
12982Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12983
12984 * gdb.base/list.exp: Tweak alternate pattern for listing of an
12985 included file to run under newer versions of expect.
12986 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
12987 consecutive >'s in templates to accomodate recent cplus-dem.c change.
12988 Remove xfail for the virtual table of BDDHookV.
12989
12990Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
12991
12992 * lib/gdb.exp (string_to_regexp): Set a default result.
12993 (default_gdb_start): Fix misleading message.
12994
12995Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
12996
12997 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
12998 Remove all CC, etc definitions.
12999 * config/mt-hpux: New file.
13000 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
13001 (CFLAGS, LDFLAGS): Define.
13002 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
13003
13004 * Makefile.in (site.exp): Don't insert host_os, etc.
13005 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
13006 (distclean): Check existence of subdir.
13007 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
13008 * gdb.base/Makefile.in: General cleanup and simplification.
13009 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
13010 to build executables. Use default rule to build .o files.
13011 (EXPECT, RUNTEST, CC): Fix relative pathname.
13012 (site.exp): Don't insert host_os, etc.
13013 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
13014 and/or SIGUSR1 defined.
13015 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
13016 * gdb.c++/Makefile.in: General cleanup and simplification.
13017 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
13018 (CFLAGS): Remove.
13019 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
13020
13021Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
13022
13023 * gdb.base/recurse.exp: Misc changes to get tests running again
13024 after Kung's changes to the watchpoint code.
13025 * gdb.base/watchpoint.exp: Likewise.
13026
13027Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
13028
13029 * lib/gdb.exp (string_to_regexp): Convert {\} also.
13030
13031Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
13032
13033 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
13034 * lib/gdb.exp (default_gdb_start): Define.
13035 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
13036 gdb.base/funcargs.exp, gdb.base/opaque.exp,
13037 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
13038 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
13039 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
13040 Don't call gdb_target_udi in between tests.
13041
13042Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13043
13044 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
13045 (which was basically just a local version of the same thing). In
13046 addition to avoiding duplication, gdb_test_exact is faster.
13047 * lib/gdb.exp (gdb_test_exact): Fix typo.
13048
13049 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
13050 don't give an error.
13051
13052 * gdb.base/term.exp: Call delete_breakpoints before starting.
13053
13054 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
13055 (t10): Add comment.
13056
13057Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
13058
13059 Reorganization of the GDB Test Suite.
13060
13061 * gdb.base: New directory, contains all the basic tests.
13062 * gdb.c++: New directory, tests specific to C++.
13063 * gdb.chill: New directory, tests specific to Chill.
13064 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
13065 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
13066 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
13067 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
13068 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
13069 t30-31 to chill).
13070 * */gdbme.*: Rename to match appropriate expect scripts.
13071 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
13072 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
13073 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
13074 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
13075 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
13076 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
13077 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
13078 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
13079 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
13080 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
13081 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
13082 gdb.c++/virtfunc.cc: New names of C++ files.
13083 * gdb.chill/chillvars.ch: New name of Chill file.
13084 * gdb.base/configure.in, gdb.c++/configure.in,
13085 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
13086 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
13087 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
13088 * configure.in (configdirs): Update to reflect directory changes.
13089 (target_abbrev): No longer define for any configuration.
13090 * Makefile.in: Cosmetic improvements to header comments.
13091
13092Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
13093
13094 Various changes to gdb.t31:
13095
13096 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
13097 * gdbme.ch: Make all key-words and predefineds be upper-case.
13098 * chillvars.exp: Expect key-words and predefinds in upper-case.
13099
13100 * chillvars.exp: Use gdb_test_exact many places.
13101 Change expected output for arrays (which now includes index labels).
13102
13103 * pr-5020.exp, gdme.ch (module PR_5020):
13104 New test, for PR-5020.
13105
13106Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
13107
13108 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
13109 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
13110
13111Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
13112
13113 * Makefile.in: Fix bit-rot in definitions of CHILL,
13114 CHILL_FOR_TARGET and Chill_LIB.
13115 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
13116 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
13117 CHILL, and CHILL_LIB.
13118
13119Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
13120
13121 * Revert the previous changes. Please see Rob's directory
13122 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
13123
13124Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
13125
13126 * Makefile.in, configure.in, config/mips-gdb.exp,
13127 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
13128 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
13129 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
13130 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
13131 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
13132 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
13133 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
13134 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
13135 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
13136 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
13137 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
13138 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
13139 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
13140 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
13141 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
13142 changes from 94Q1.
13143
13144Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
13145
13146 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
13147 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
13148 Rob's new testing fragments.
13149
13150Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
13151
13152 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
13153 lib/gdb.exp: Replace error proc calls with perror.
13154
13155Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
13156
13157 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
13158 version also, match on casted version strings, and match on
13159 gdb startup case where the line numbers might be messed up.
13160
13161Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
13162
13163 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
13164 (CFLAGS): Delete it from here.
13165
13166Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
13167
13168 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
13169
13170Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
13171
13172 * Makefile.in (RUNTEST): Default to just "runtest".
13173
13174Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13175
13176 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
13177 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
13178 the code has been restructured.
13179
13180Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13181
13182 * gdb.t00/default.exp (set write): Allow any number of \r and/or
13183 \n, not just one of each.
13184
13185 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
13186 /bin/cc gives a warning if you do.
13187
13188Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
13189
d63a86f8 13190 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
13191 __t10ListS_link1ZUiRCUiPT0
13192
13193Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13194
13195 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
13196 on local variables in recursive functions.
13197
13198 * gdb.t07/Makefile.in: Build the new test.
13199
13200Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13201
13202 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
13203 directly. Instead compare the return values from actual calls.
13204
13205Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
13206
13207 * Makefile.in (check): Set TCL_LIBRARY for runtest.
13208
13209Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13210
13211 * From Peter Schauer with minor modifications.
13212 * gdb.t15/return.exp (return_tests): Handle targets where "return"
13213 stops in mid-line in the caller. Add xfail for returning a float
13214 value on X86 targets.
13215
13216Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13217
13218 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
13219 to avoid expect lossage.
13220 (fmem_LRbug_tests): Likewise.
13221 * gdb.disasm/hppa.s: Corresponding changes.
13222
13223 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
13224 conditions to work with latest dejagnu/expect.
13225
13226 * gdb.t15/funcargs.exp (finish from indirect call): No longer
13227 expected to fail on the PA.
13228 (backtrace in call with trampolines): Explicitly require main
13229 to be frame #1 (no trampolines should show up in backtrace).
13230
13231 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
13232 "continue -expect".
13233 * gdb.t06/break.exp: Likewise.
13234 * gdb.t07/watchpoint.exp: Likewise.
13235 * gdb.t13/bitfields.exp: Likewise.
13236 * gdb.t15/{funcargs,return}.exp: Likewise.
13237 * gdb.stabs/weird.exp: Likewise.
13238 * config/{mips,udi}-gdb.exp: Likewise.
13239
13240 * hppa.sed: Enclose comments within a sed command to avoid
13241 losing with the old OSF1 sed.
13242
13243Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13244
13245 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
13246 sequent dynix.
13247 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
13248 * gdb.t15/funcargs.exp: Conditionally step again to really
13249 finish from marker_call_with_trampolines. Handle the case where
13250 the first step from within call_with_trampolines already steps
13251 us back to main.
13252 * gdb.t15/gdbme.c: Add comment to closing brace of
13253 call_with_trampolines for funcargs.exp.
13254
13255Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13256
d63a86f8 13257 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
13258 Fix typo(s).
13259
13260Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13261
13262 * gdb.t07/gdbme.c: More code for watchpoint testing.
13263
13264 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
13265 "Hardware watchpoint" throughout file.
13266 (test_watchpoint_triggered_in_syscall): New test.
13267 (test_complex_watchpoint): New test.
13268
13269Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13270
13271 * gdbme.c (call_with_trampolines): New function to try and step
13272 into. Tests trampoline problems on the PA.
13273
13274 * funcargs.exp (localvars_in_indirect_call): No longer expect
13275 stepping into indirect call to fail on PAs.
13276 (test_stepping_over_trampolines): New test.
13277
13278Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13279
13280 * TODO: Add suggestions for static member function tests, and
13281 completion tests.
13282
13283Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13284
13285 * TODO: Add suggestions for "p/a" tests.
13286
13287 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
13288 (default_gdb_exit): Replace all the hair with sending "quit" to
13289 the process with a simple close.
13290
13291Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13292
13293 * TODO: Add suggestions for shared library tests.
13294
13295Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13296
13297 * TODO: Add suggestions for x/s tests.
13298
13299Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13300
13301 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
13302 "enable once", and "enable breakpoints once" with ".*".
13303
13304Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13305
13306 * TODO: Add suggestions about structure passing tests.
13307
13308Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13309
13310 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
13311 the primary1 test, use work around if __GNUC__ < 2.
13312 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
13313 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
13314 Test for bad output rather than waiting for timeout. Issue
13315 second continue only if first continue failed.
13316
13317Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13318
13319 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
13320 operator[] test with gdb_test because the old code didn't seem to
13321 be getting the quoting right with the new dejagnu.
13322
13323Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
13324
13325 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
13326 one from the path.
13327 * Makefile.in: Use a fresh expect if there is one, use runtest
13328 from the src tree if there is one.
d63a86f8 13329
c906108c
SS
13330Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13331
13332 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
13333 next over recursive call. Revise the tests from that point on
13334 (which had been skipped) to match GDB's actual (correct) output.
13335
13336 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
13337 with next over a breakpoint whose condition is false.
13338
13339 * gdb.t00/help.exp: Comment out "help set print" tests just like
13340 (and for same reason as) "help set" test.
13341
13342Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13343
13344 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
13345 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
13346
13347Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13348
13349 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
13350 necessary gdb_target_udi.
13351
13352 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
13353
13354 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
13355 1838 and 2417; they are fixed.
13356
13357 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
13358 gdb.t03/ptype.exp (ptype structure, ptype union):
13359 Remove xfails; the test is looser than when the xfails were added.
13360
13361 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
13362 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
13363
13364 * gdb.t01/run.exp: Only run shell test if isnative.
13365
13366 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
13367 since "run" automatically loads if necessary. Call gdb_target_udi
13368 after the "file" since "file" kills any execution target.
13369
13370 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
13371 GDB. GDB doesn't work that way (not anymore at least) on UDI.
13372 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
13373 argument for UDI.
13374
13375Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13376
13377 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
13378
13379 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
13380
13381Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13382
13383 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
13384 properly quoting regexps. This makes the second argument to
13385 demangle a fixed string, which matches the callers, instead of a
13386 shell-style pattern which is what the previous implementation
13387 used. Update some of the callers.
13388
13389Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13390
13391 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
13392 (comib_nullified_tests): Fix typo.
13393 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
13394 strings. No longer expected to fail.
13395
13396 * gdb.disasm/hppa.s (addib_tests): Fix typo.
13397 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
13398 strings. No longer expected to fail.
13399
13400 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
13401 string. No longer expected to fail.
13402
13403Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13404
13405 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
13406 No longer expected to fail.
13407
13408 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
13409 string. No longer expected to fail.
13410
13411Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13412
13413 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
13414 only in the names (I probably got most of them). I was even
13415 generous with some which differed in underscores in names, and
13416 probably missed a few, and I *still* was able to remove almost a
13417 third of the file with almost no impact on testsuite coverage.
13418
13419Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13420
13421 * gdb.t00/default.exp: Match udi_attach error message as well as
13422 the one from child_attach.
13423
13424 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
13425
13426 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
13427
13428 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
13429 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
13430
13431 * Move test with enums and partial symbols back to
13432 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
13433 Reverts the change of 26 May 93. Per today's change to
13434 stabs.texinfo, the behavior that weird.exp was expecting was
13435 unreasonable; what is important is that the compiler+gdb get
13436 things right, which happens with a recent gcc. Also fix the test
13437 to deal with native compilers which put out the stab gdb can't
13438 deal with.
13439
13440Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13441
13442 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
13443 in the names. The main thing these accomplish is to slow things down.
13444 Many more such duplicates surely remain.
13445
13446 * gdb.t00/help.exp: Comment out "help support" test just like
13447 (and for same reason as) "help set" test.
13448
13449Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
13450
13451 * gdb.t06/break.exp: Remove setup_xfails for
13452 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
13453 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
13454 about known bug in gcc to include up through 2.5.8.
13455 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
13456 well as "_vb$".
13457 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
13458 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
13459 with latest gcc and gdb.
13460 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
13461 well as "_vb$".
13462
13463Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13464
13465 * configure.in (hppa*-*-*): Also configure and build stabs-only
13466 tests.
13467
13468Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13469
13470 * gdb.t10/hppa.mt: A makefile fragment for the PA.
13471 * gdb.t10/configure.in (hppa*-*-*): Use it.
13472
13473Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13474
13475 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
13476
13477Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13478
13479 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
13480 versions prior to 1.13.5.
13481
13482Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13483
13484 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
13485 the prompt is at the start of a line.
13486
13487Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13488
13489 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
13490 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
13491 in the copr tests now.
13492 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
13493 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
13494 expected to fail.
13495
13496Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
13497
13498 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
13499 gdb.t31/chillvars.exp, lib/gdb.exp:
13500 Tweak to run under either version of expect.
13501 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
13502 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
13503 * gdb.t11/list.exp: Remove extraneous whitespace.
13504
13505Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13506
13507 * gdb.t16/printcmds.exp (test_print_strings): Accept
13508 "(unsigned char *) " before the string.
13509
13510 * TODO: Add notes about printing of fancy types and GDB expressions.
13511
13512Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
13513
13514 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
13515 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 13516 if doing mips-idt-ecoff.
c906108c
SS
13517
13518Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
13519
13520 * Most .exp files: Tweak to run under either version of expect.
13521
13522Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13523
13524 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
13525 xfails; I'm not sure why they are failing, but not because of PR 1806.
13526
13527Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
13528
13529 * config/unix-gdb.exp: Remove gdb_unload cause it's already
13530 defined in lib/gdb.exp.
13531
13532Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13533
13534 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
13535 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
13536 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
13537 have to be typeless.
13538
13539Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13540
13541 * TODO: Add suggestion for copyright year test.
13542
13543Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
13544
13545 * configure.in (*-*-lynxos*): Add stabs tests.
13546
13547Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
13548
13549 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
13550 so insert a tab before any assembler directive in column zero.
13551
13552 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
13553 stores.
13554 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
13555 stores.
13556 (fpu_short_memory_tests): Likewise.
13557
13558Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13559
13560 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
13561 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
13562 .stabs directives in comments.
13563
13564Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13565
13566 * TODO: New file, describing tests we could write.
13567 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
13568
13569Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13570
13571 * gdb.t06/signals.exp: Add kludge to force re-sync.
13572
13573 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
13574 to xgdb instead of gdb, get out of gdb.
13575
13576Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
13577
13578 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
13579 for info.
13580
13581Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
13582
13583 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
13584 * gdb.stabs/configure.in (hppa*-*-*): Use it.
13585 * gdb.stabs/hppa.sed: New sed script for the PA.
13586
13587Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13588
13589 * gdb.stabs: Re-write weird.def and configuration to use sed
13590 instead of cpp. sed is portable and POSIX; cpp is neither.
13591
13592Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13593
13594 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
13595
13596Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13597
13598 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
13599
13600Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13601
13602 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
13603 "_vb$".
13604 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
13605 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
13606
13607Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13608
13609 * lib/gdb.exp: Comment out code which depends on non-existent
13610 `transform' procedure.
13611
13612Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
13613
13614 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
13615 * lib/gdb.exp: Transform tool name.
13616 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
13617 1.1's new error handling system.
13618
13619Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13620
13621 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
13622
13623Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13624
13625 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
13626 They made pattern matching so slow that timeouts happened on
13627 heavily loaded systems. Now any output from "show print" which
13628 gets us back to the GDB prompt is a PASS.
13629
13630Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
13631
13632 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
13633
13634Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13635
13636 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
13637
13638 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
13639 It is not from PR 3220.
13640
13641Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13642
13643 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
13644 just started failing because they depended on the order the
13645 subcommands are presented, or exact docstring text. This kind of
13646 test is a pain and has minimal benefit.
13647
13648Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13649
13650 * gdb.t09/corefile.exp: At end of test, use "core" command with
13651 no arguments.
13652
13653Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
13654
13655 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
13656 17}/Makefile.in: Make it possible to run the testsuite with Sun
13657 make and CC = cross gcc by adding explicit build rules for .o
13658 files.
13659
13660Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13661
13662 * gdb.t15/funcargs.exp: Don't put comments on same line as
13663 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 13664
c906108c
SS
13665Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13666
13667 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
13668
13669Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
13670
13671 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
13672 * gdb.t20/inherit.exp: remove three dumplicate entries.
13673
13674Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13675
13676 * gdb.t06/break.exp: For "next over recursive call", fail on any
13677 incorrect output, not just on "factorial (value=2)".
13678
13679Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13680
13681 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
13682 working now. Add an xfail if accesing a bss variable causes
13683 a memory error if the target is not yet run.
13684
13685Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13686
13687 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
13688 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
13689 name of __st* demangling (2 strings). Did Kung really get the
13690 more than 95 others right without testing them?
13691
13692Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
13693
13694 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
13695
13696Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
13697
13698 * configure.in (configdirs): Add gdb.disasm
13699 * gdb.disasm: New directory for GDB disassembler tests.
13700 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
13701
13702Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13703
13704 * gdb.t00/help.exp: Don't test "help set".
13705
13706 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
13707 from within expect statements. None of these happen anymore and
13708 they cause regressions to be silently unnoticed.
13709
13710 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
13711 messages) about known failures with gcc cygnus-2.4.5-930417.
13712
13713 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
13714 comp-info.exp so it gets built if it doesn't exist.
13715
13716 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
13717 it is no longer used.
13718 * gdb.t13/comp-info.c: Removed.
13719
13720Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
13721
13722 * gdb.t06/signals.exp: Add xfail for sun3.
13723
13724Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13725
13726 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
13727 relevant because ^C doesn't get sent but failure can be reproduced
13728 interactively).
13729
13730Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13731
13732 * gdb.stabs/alpha.mt: New configuration file for alpha.
13733 * gdb.stabs/configure.in: Use it.
13734 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
13735 sharing with alpha.mt, redefine long to word via preprocessor.
13736 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
13737 for alpha.
13738 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
13739 native cc.
13740 * gdb.t00/teststrategy.exp: Change expect string so that we
13741 consume the `(xgdb)' from the command echo and from the gdb prompt.
13742 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
13743 gdb currently compares all values as long, so this failure probably
13744 applies to any configuration where LONGEST is bigger than a target int.
13745 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
13746 with gcc.
13747 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
13748 to handle opaque pointers, gcc is.
13749 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
13750 as first argument. Include <sys/types.h> and change all operator
13751 new definitions to use size_t.
13752 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
13753 now that we use size_t.
13754
13755Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13756
13757 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
13758 a long or float array cast all array members to the same type.
13759 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
13760 with 64 bit longs.
13761 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
13762 on alpha.
13763 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
13764
13765Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13766
13767 * gdb.t24 (demangle.exp): Constructors of templates have names like
13768 vector<int>::vector(int) not vector<int>::vector<int>(int). See
13769 section 14.6 of the ARM.
13770
13771 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
13772 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
13773 accomplish little and slow down the testsuite.
13774
13775 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
13776 Accept spaces various places.
13777
13778Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13779
13780 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
13781 with watchpoint enabled.
13782
13783 * Makefile.in: Remove definition of CC and remove the second
13784 definition of CXX (the "CXX = gcc" one remains). These definitions
13785 were causing backquotes to be expanded within backquotes, which
13786 doesn't work.
13787
13788Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
13789
13790 * gdb.t17/callfuncs.exp: Add "return 0" to end.
13791
13792Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13793
13794 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
13795 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
13796 by mips cc and contains no stabs entries.
13797
13798Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
13799
13800 * config/vx-gdb.exp: Use fake device to load files rather than
13801 NFS.
13802 * lib/gdb.exp: New proc to do "file" command.
13803 * config/unix-gdb.exp: Use new "file" proc.
13804
13805Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13806
13807 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
13808 Rework board rebooting slightly.
13809 (gdb_exit): Don't exit from the remote shell; there isn't one.
13810 * gdb.stabs/weird.exp: If a program is being debugged already,
13811 kill it.
13812 * gdb.t04/setvar.exp: Stop and restart gdb.
13813 * gdb.t05/expr.exp: Likewise.
13814 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
13815 restart gdb and reload the program.
13816 * gdb.t08/opaque.exp: Likewise.
13817 * gdb.t12/scope.exp: Likewise.
13818 * gdb.t13/bitfields.exp: Likewise.
13819 * gdb.t15/funcargs.exp: Likewise.
13820 * gdb.t20/classes.exp: Likewise.
13821 * gdb.t03/ptype.exp: Increase timeout.
13822 * gdb.t16/printcmds.exp (test_print_string_constants,
13823 test_print_array_constants): Likewise.
13824 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
13825 * gdb.t20/classes.exp (do_tests): Likewise.
13826 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
13827
13828Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
13829
13830 * gdb.stabs: Renamed *wierd* to *weird*.
13831
13832Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
13833
13834 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
13835 for timeout. Add "known gcc 2.4.5 bug" to failure message.
13836
13837Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
13838
13839 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
13840 (do_tests): Remove xfail for whatis on one_var and two_var.
13841
13842Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
13843
13844 * Makefile.in: Made cross building work better by adding
13845 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
13846
13847Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13848
13849 * gdb.t15/{return.c,return.exp,Makefile.in}:
13850 New test, currently commented out.
13851
13852Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
13853
13854 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
13855 still running and removes the leftover named socket so GDb can do
13856 clean restarts.
13857
13858Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
13859
13860 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
13861 console, not GDB.
13862 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
13863 cross testing works better with "make check"
13864 * config/unix-gdb: Use default procedures for exit and version.
13865 * config/vx-gdb.exp: Cleaned up and massaged back to working order
13866 with the newest VxWorks.
13867
13868Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13869
13870 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
13871 old form.
13872
13873 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
13874 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
13875
13876 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
13877
13878 * config/unix-gdb.exp: Remove this version of gdb_exit
13879 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
13880 Rob says he'll look at it when he gets back to testing boards.
13881
13882Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
13883
13884 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
13885 an expected fail for certain ptype commands.
13886
13887 * gdb.t20/classes.exp: Update expected results of "ptype class
13888 Base1" to account for the constructor that now appears in the type.
13889
13890Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
13891
13892 * configure.in (configdirs): Restore gdb.t04, which mysteriously
13893 disappeared from list.
13894 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
13895 "alldone" proc with call to cleanup and exit.
13896 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
13897 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
13898 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
13899 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
13900 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
13901 "alldone" proc with simple returns that suppress remaining
13902 tests. The alldone proc went away many months ago.
13903
13904Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13905
13906 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
13907
13908 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
13909
13910Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13911
13912 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
13913 as vax gdb will display them.
13914
13915Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13916
13917 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
13918 optimizers.
13919
13920 * scope.exp: Change "bad value for localval" messages so each one
13921 is unique.
13922
13923 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
13924 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
13925
13926 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
13927
13928Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13929
13930 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
13931 doesn't exist (due to optimization).
13932
13933Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13934
13935 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
13936 contains \r because the filename is long.
13937
13938 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
13939 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
13940
13941Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13942
13943 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
13944 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
13945 Ultrix.
13946 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
13947 int tests.
13948 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
13949
13950Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
13951
13952 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
13953
13954 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 13955 to match does not match the passing case but still matches the
c906108c
SS
13956 failing case.
13957
13958Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13959
13960 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
13961
13962Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
13963
13964 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
13965 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
13966 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
13967 Remove various versions of gdb_exit.
13968 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
13969 gdb_exit.
13970 * config/unix-gdb.exp: gdb_exit remains here, and should override
13971 the generic version, since it's doing a lot of wierd stuff that
13972 the other versions aren't. FIXME, fold it in, or abandon this
13973 version.
13974
13975Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13976
13977 * gdb.t24/demangle.exp: Add tests for PR 3220.
13978
13979Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13980
13981 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
13982
13983Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
13984
13985 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
13986 "i386-*-*". Works for i486 as well.
13987
13988 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
13989 bug, and expand domain of xfail to all SVR4 systems, since the
13990 actual problem is likely to be in generic SVR4 /proc support.
13991
13992Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13993
13994 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
13995
13996Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
13997
13998 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
13999 xfails for other systems. Match a missing 'Continuing.' as an
14000 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
14001
14002 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
14003 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
14004 Only issue warning for missing executables if -all option is used.
14005
14006 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
14007 file if -all option is used. It's like an unpredictable XFAIL.
14008
14009Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14010
14011 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
14012 for dynamically linked binaries.
14013
14014 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
14015
14016Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14017
14018 * gdb.t20/inherit.exp: Change message for "print tagless struct"
14019 to state that this is a known bug in old versions of g++.
14020
14021Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14022
14023 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
14024 while waiting for `Continuing'.
14025
14026Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
14027
14028 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
14029 in text, data, and bss.
14030 * gdb.t10/nodebug.c: Add local and global test variables for
14031 initialized and uninitialized data.
14032
14033Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14034
14035 * config/unix-gdb.exp (gdb_exit): Add "wait".
14036
14037Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14038
14039 * gdb.t06/signals.exp: xfail the continue from the handler for all
14040 targets.
14041
14042 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
14043 function with watchpoints enabled, the i386 call dummy starts with
14044 a call.
14045
14046 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
14047 386 bsd names its corefiles.
14048
14049Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
14050
14051 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
14052 compilers don't grok it.
14053 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
14054 with small octal ints rather than character constants, which
14055 are signed and might not fit if first promoted to int.
14056
14057Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
14058
14059 * gdb.t09/Makefile.in (clean): Remove corefile.
14060
14061Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14062
14063 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
14064
14065Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14066 and Jim Kingdon (kingdon@cygnus.com)
14067
14068 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
14069 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
14070 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
14071
14072Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14073
14074 * gdb.t17/interrupt.exp: Add xfail for hppa.
14075
14076Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14077
14078 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
14079 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
14080 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
14081 to determine signed-ness of bitfields and use the result to setup
14082 the xfail.
14083 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
14084 * gdb.t15/funcargs.exp: Use them to step until the second indirect
14085 call line is reached if necessary.
14086
14087Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14088
14089 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
14090
14091Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14092
14093 * gdb.t06/break.exp: Also test `clear' command.
14094
14095Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
14096
14097 * gdb.t00/teststrategy.exp: Remove extra quote.
14098
14099 * gdb.t07/watchpoint.exp: Change xfail for calling function with
14100 watchpoint enabled to be for all non-68k machines.
14101
14102 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
14103
14104Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14105
14106 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
14107 targets use aout.mt instead of ecoff.mt as gas understands
14108 standard aout format.
14109
14110Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
14111
14112 * lib/gdb.exp (runto): Don't insist that function we are running to
14113 was compiled with -g.
14114
14115 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
14116
14117 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
14118 to get back into the read system call.
14119 Accept leading newline in case where we woke it up.
14120
14121Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14122
14123 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
14124 to make the stabs test work on ecoff systems using gcc and -with-stabs.
14125 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
14126 enable ecoff configuration.
14127
14128Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14129
14130 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
14131
14132Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14133
14134 * gdb.t16/printcmds.exp: Add another printf test.
14135
14136Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
14137
14138 * configure.in: If configured -with-stabs on any target, add
14139 stabsdirs to configdirs.
14140
14141Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14142
14143 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
14144 fun" so pattern does not match the command itself.
14145
14146Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14147
14148 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
14149
14150Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14151
14152 * gdb.t17/interrupt.exp: Test for more things.
14153
14154Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14155
14156 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
14157 compiler arranges the code and line numbers.
14158
14159 * gdb.t17/interrupt.exp: Don't send \n after ^C.
14160
14161Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14162
14163 * gdb.t00/help.exp: Increase expect input buffer size.
14164
14165Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14166
14167 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
14168
14169 * gdb.t07/watchpoint.exp: Add xfail for hppa.
14170
14171 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
14172
14173 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
14174 [0-9]*, not just [0-9].
14175
14176Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14177
14178 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
14179
14180 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
14181
14182Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14183
14184 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
14185
14186Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14187
14188 * gdb.t06/signals.c: Add xfails for sun3.
14189
14190 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
14191
14192 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
14193 test_stepping tests.
14194
14195Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14196
14197 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
14198
14199 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
14200
14201 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
14202 rather than actually putting it through cpp twice.
14203
14204 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
14205
14206Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
14207
14208 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
14209 no longer needed.
14210
14211Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14212
14213 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
14214
14215 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
14216 C++ features prints as "struct", make it a pass, not an xfail.
14217
14218Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14219
14220 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
14221 Don't require VA to print as "class" rather than "struct".
14222
14223Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
14224
14225 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
14226
14227Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14228
14229 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
14230
14231Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14232
14233 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
14234 order.
14235
14236Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14237
14238 * gdb.t16/printcmds.exp: Add printf tests.
14239
14240 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
14241
14242 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
14243
14244Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
14245
14246 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
14247 pass counts, to counteract any existing or future setup_xfails.
14248
14249Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14250
14251 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
14252 {BEGIN,END}_COMMON for common block instead of STAB.
14253 * gdb.stabs/wierd.exp: Add xfail for rs6000.
14254
14255 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
14256 intp_var should be N_GSYM not N_LSYM.
14257 wierd-aout.S: Use a label for the value of the N_SO.
14258 wierd.def: Remove all backslashes.
14259 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
14260
14261Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14262
14263 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
14264 get the expected next to inheritance3.
14265
14266Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14267
14268 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
14269 now that gcc-2.4 gets it right.
14270
14271Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14272
14273 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
14274
14275 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
14276 generating comp-info.exp which works for cross-compilation.
14277
14278Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
14279
14280 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
14281 "*-*-sysv4.*".
14282
14283Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
14284
14285 * gdb.t01/run.exp: Start with a fresh gdb.
14286 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
14287 SVR4.x.
14288
14289Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
14290
14291 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
14292 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
14293 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
14294 Makefile.in (distclean, realclean): Remove gdbme.c from list of
14295 things to remove.
14296
14297Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
14298
14299 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
14300 test cases from bug reports.
14301
14302Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
14303
14304 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
14305 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
14306 avoid spurious xfails.
14307 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
14308 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
14309 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
14310
14311Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
14312
14313 * gdb.t00/teststrategy.exp: Rework to provide more useful
14314 description of each test, fix problem with systems that define
14315 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
14316 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
14317 results for "next over recursive call" so timeouts aren't taken
14318 by error.
14319
14320Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
14321
14322 * gdb.t12/scope.exp: Test printing of variables before run.
14323
14324 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
14325 printed in wrong order due to sorting.
14326
14327Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
14328
14329 * gdb.t00/teststrategy.exp: Fix expected results for printing
14330 user entered string constant. Is array of char, prints with no
14331 address.
14332
14333 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
14334 commands.
14335 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
14336 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
14337 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
14338 of struct of char arrays.
14339 * gdb.t00/radix.exp: New tests for radix commands.
14340
14341Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
14342
14343 * gdb.t16/printcmd.exp: Print a variable before running program
14344 (with xfail for AIX).
14345
14346Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
14347
14348 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
14349
14350 * gdb.t16/printcmd.exp: Don't print variables before running program.
14351
14352 * gdb.t06/break.exp: Don't require envp argument to main.
14353
14354 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
14355
14356 * gdb.t02/whatis.exp, gdb.t11/list.exp:
14357 Add xfails for rs6000.
14358
14359 * gdb.t02/whatis.exp: Change other tests not to re-test something
14360 we already tested.
14361
14362 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
14363 each type used has a variable of that type.
14364
14365Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
14366
14367 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
14368
14369Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14370
14371 * configure.in: change srctrigger to be a file, not a directory
14372
14373Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
14374
14375 * configure.in (mips-idt-ecoff*): Added trailing '*'.
14376
14377 * gdb.t11/list.exp: Fixed a couple of typos.
14378
14379Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
14380
14381 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
14382 is fixed and PR is closed.
14383 * gdb.t16 (gdbme.c): Add simple test string variable.
14384 * gdb.t16 (printcmds.exp): Add tests with simple test string
14385 variable, primarily for boundaries on "set print elements".
14386
14387Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
14388
14389 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
14390 Make leading 0's optional and don't expect a tab in the middle
14391 of the number.
14392
14393 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
14394
14395 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
14396 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
14397 don't end command passed to gdb_test with newline.
14398
14399 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
14400 signed keyword away, don't expect signed bitfields to be signed.
14401
14402 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
14403 printing with only as many 1's as are in the field as well as printing
14404 with 32 1's (see comment).
14405
14406Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
14407
14408 * gdb.t00/default.exp: Start with a fresh gdb.
14409 * configure.in (configdirs): Remove gdb.t31 until the chill
14410 compiler works again. It no longer is able to find chillrt0
14411 since it isn't in libchill.a anymore.
14412 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
14413 wierd.o, make more modular.
14414 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
14415 spurious newlines that caused problems.
14416
14417Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14418
14419 * Move test with enums and partial symbols from gdb.t03/ptype.exp
14420 to gdb.stabs/wierd.exp since GCC has worked around the bug.
14421 gdb.stabs/wierd.{exp,def}: Many new tests.
14422
14423 * gdb.t00/default.exp: update info line for new message.
14424
14425 * gdb.t02/{whatis.exp,gdbme.c}:
14426 Test that "char *" doesn't print as "caddr_t".
14427
14428Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14429
14430 * gdb.t00/help.exp: Use .* in place of some help messages which
14431 just changed.
14432 gdb.t00/default.exp: Update "info frame" test for new message.
14433 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
14434 Remove some xfails
14435
14436Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14437
14438 * gdb.t03/{gdbme.c,ptype.exp}:
14439 Add tests for typedef'd struct and union without tags.
14440 Also check "whatis" on a variable of a typedef'd enum without a tag.
14441
14442 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
14443 PRMS 1823; the bug still exists but isn't reproduced by this test
14444 anymore), and remove rs6000 XFAIL (the bug is fixed).
14445
14446 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
14447 duplicated from whatis.exp. For those that are left, accept
14448 "long", "long int", or "int" for long variables (whatis.exp already
14449 has an XFAIL for "int", so no need to fail it here).
14450
14451 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
14452 Deal with GCC's names for types now that GDB uses the compiler's names.
14453
14454 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
14455 setup_xfail's for sunos4. If we #defined the signed keyword away,
14456 don't expect GDB to know that char it is signed.
14457
14458 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
14459
14460Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
14461
14462 * configure.in (configdirs): Add gdb.t24 for C++ tests that
14463 should work on any system, regardless of debugging format.
14464 * gdb.t21/demangle.exp: Move to gdb.t24.
14465 * gdb.t24/demangle.exp: Move from gdb.t21.
14466 * gdb.t24/{Makefile.in, configure.in}: New files.
14467
14468Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14469
14470 * configure.in: Do gdb.stabs and C++ tests only for stabs.
14471 * gdb.stabs: New directory.
14472
14473Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14474
14475 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
14476 not just "Quit anyway?".
14477
14478Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
14479
14480 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
14481 that all setup_xfails are immediately followed by clear_xfails.
14482
14483Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
14484
14485 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
14486 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
14487 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
14488 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
14489 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
14490 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
14491 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
14492 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
14493 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
14494 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
14495 gdb.t31/chillvars.exp, lib/gdb.exp:
14496 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
14497 bug-gdb@prep.ai.mit.edu.
14498
14499Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
14500
14501 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
14502 with 0.0, not integer 0.
14503
14504Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
14505
14506 * gdb.t06/break.exp: Update for "Kill the program" message change.
14507
14508Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
14509
14510 * Makefile.in (GDBFLAGS): Set to -nx.
14511 * Makefile.in (site.exp): Use GDBFLAGS.
14512
14513Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
14514
14515 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
14516 Makefiles.
14517 (check): depend on just-check.
14518 (just-check): added so that tests can be run without a noop
14519 build pass.
14520
14521Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
14522
14523 Switch to using configure's configdirs.
14524 * Makefile.in (Makefile): add configure.in dependency.
14525 (SUBDIRS): removed redundant assignment.
14526 * configure.in: switch subdirs assignment to configdirs.
14527 * gdb.t*/configure.in: new files.
14528
14529Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
14530
14531 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
14532 works.
14533
14534Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
14535
14536 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
14537 in explicit rules. Apparently this is not supported by some makes.
14538
14539Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
14540
14541 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
14542
14543Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14544
14545 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
14546 disappeared.
14547
14548Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
14549
14550 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
14551
14552Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
14553
14554 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
14555 watchpoint problem that is now fixed.
14556 * gdb.t30/chexp.exp: Remove setup_xfail for printing
14557 uninitialized convenience variables.
14558 * gdb.t31/chillvars.exp: Fix expected patterns for printing
14559 structures.
14560
14561Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14562
14563 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
14564 which causes expect to get out of sync with gdb on long output
14565 from help set.
14566 * gdb.t09/corefile.exp: Make expected pattern for core file
14567 failing signal and frame output format less sun specific.
14568
14569Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
14570
14571 * gdb.t31/chillvars.exp: Add and remove initial dummy
14572 breakpoint, so that symbol table is forced in.
14573 (Needed at least on Sunos4, though it seems not SVR4.)
14574 * gdb.t31/chillvars.exp: Update for changed output format.
14575
14576Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
14577
14578 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
14579
14580Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
14581
14582 * Makefile.in: Added --srcdir when invoking runtest, removed the
14583 need for a local config file. (optional now)
14584
14585Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
14586
14587 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
14588 failure count used to force early termination. Add some more
14589 expected failures for gnu style demangling.
14590
14591Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14592
14593 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
14594 pmi variable from gdb.t20/gdbme to get optimized away.
14595 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
14596 Check for written corefile upon timeout _and_ eof.
14597
14598Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14599
14600 * config/unix-gdb.exp: Add missing return 0.
14601
14602Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14603
14604 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
14605 test termination.
14606
14607Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
14608
14609 * configure.in (subdirs): Put back gdb.t17 which mysteriously
14610 disappeared.
14611
14612Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
14613
14614 * gdb.t10/crossload.exp: Disable the i860-elf test until such
14615 time as i860 support works.
14616
d63a86f8 14617 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
14618 "backtrace 100\r" rather than just "backtrace\r", to match last
14619 change.
14620
14621Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
14622
14623 * config/udi-gdb.exp (gdb_exit): Remove close command.
14624 (gdb_target_udi): New procedure to set the UDI target.
14625 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
14626 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
14627 Added waits for prompts after several question responses. Added
14628 some more responses used by a29k-amd-udi-gdb.
14629 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
14630 pass different arguments, restart UDI connection after program
14631 completion.
14632 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
14633 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
14634 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
14635 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
14636 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
14637 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
14638 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
14639 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
14640 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
14641 after program completion.
14642 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
14643 compiled with a SELECT_VECS setting.
14644 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
14645 infinite recursion.
14646
14647 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
14648 Added checks for COFF results, and made them expected failures for
14649 all targets. It would be better to make them expected failures
14650 for COFF targets only.
14651
14652Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
14653
14654 * Makefile.in: add null dvi target, don't bother to recurse
14655 through test directories for info and install-info; rename
14656 $(datadir) to be dejagnu instead of deja-gnu
14657
14658Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
14659
14660 * gdb.t31/gdbme.ch: Re-enable code that previously caused
14661 compiler to coredump.
14662 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
14663 code.
14664
14665Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
14666
14667 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
14668 coredump.
14669 * gdb.t31/chillvars.exp: Comment out tests that depend on that
14670 code.
14671
14672Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
14673
14674 * gdb.t03/ptype.exp: tests for return code from gdb_test.
14675 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
14676 which in a shell. Deletes xgdb when done.
14677 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
14678 Tests the return from the "set height" or "set width" commands.
14679 Added a few return codes where needed.
14680
14681Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
14682
14683 * Makefile.in (SUBDIRS): Add gdb.t17.
14684 * configure.in (subdirs): Add gdb.t17.
14685 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
14686 files to test gdb's calling of functions in the inferior with
14687 the correct arguments and gdb's ability to retrieve any
14688 result returned.
14689
14690Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
14691
14692 * config/unix-gdb.exp (gdb_exit): Remove close commands that
14693 may be called after gdb goes away. Previous versions of expect
14694 needed these to avoid file descriptor leaks, but they cause
14695 errors with the current revision of expect.
14696 * gdb.t00/gdbvars.exp: Use -re on expected output after
14697 setting sevenbit-strings.
14698 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
14699 to set sevenbit-strings consistent across tests.
14700 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
14701 set sevenbit-strings consistent across tests.
14702
14703Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
14704
14705 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
14706 expected output to match current "expect" expectations.
14707
14708Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
14709
14710 * gdb.t00/default.exp: Change expected output for default "source"
14711 command, to match new gdb behavior which requires a filename to
14712 source.
14713
14714Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
14715
14716 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
14717 expected fail for i486-*-* that misses the marker2 function.
14718 * gdb.t10/crossload.exp (bfddefault): Allow successful
14719 recognition of a format to pass even if no symbols are found.
14720 Explicitly catch failures where the format is not recognized
14721 or is ambiguous, and add the reason to the fail message.
14722 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
14723 the cause is and invalid target and add reason to failure message.
14724 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
14725 elf32-i386, elf32-sparc, and elf32-i860.
14726 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
14727 Set up expected failure for 'filename'::variable scope resolution,
14728 which is now apparently broken on all targets.
14729 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
14730 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
14731 gdb.t23/templates.exp: Change failure for missing binfile into
14732 just a warning.
14733 gdb.t21/demangle.exp: Change all cfront references to 'arm'
14734 references.
14735
14736Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
14737
14738 * gdb.t00/default.exp: Add expected output for default "source"
14739 command, to match new gdb behavior.
14740 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
14741
14742Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
14743
14744 * config/*-gdb.exp: returns an error, rather than exiting on
14745 internal errors.
14746
14747Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
14748
14749 * gdb.t03/gdbme.c: Add pointer to struct variable.
14750 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
14751 referencing struct members.
14752
14753Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
14754
14755 * configure.in (mips-idt-ecoff): New target.
14756 * config/mips-gdb.exp: New file for remote board using MIPS remote
14757 debugging protocol.
14758
14759 * Redid configuration scheme. Removed gdb.t*/configure.in.
14760 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
14761 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
14762 distclean targets. Built executables via .o files. Adjusted
14763 tests to account for source files in $(srcdir) rather than
14764 $(objdir).
14765 * lib/gdb.exp (runto): Don't expect () after the function name,
14766 because it may have arguments.
14767
14768Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
14769
14770 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
14771 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
14772 expected failures for mips-idt-* and mips-sgi-*.
14773 * gdb.t00/default.exp (attach): Kill process if requested.
14774 * gdb.t00/help.exp (help target core, help target): Accept a gdb
14775 that does not read core files.
14776 * gdb.t01/run.exp: Removed checks for exit status code.
14777 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
14778 it is linked in.
14779 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
14780 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
14781 appropriate, rather than doing it by hand.
14782 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
14783 execution.
14784 * gdb.t10/crossload.exp: Kill existing program if needed.
14785 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
14786 appropriate, rather than doing it by hand. Always increase
14787 timeout for this test, not just for VxWorks.
14788
14789Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
14790
14791 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
14792 of Chill STRUCT types and STRUCT values.
14793 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
14794 than "char".
14795 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 14796 struct2): New struct definitions and initializations to test
c906108c
SS
14797 simple Chill STRUCT types.
14798
14799Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
14800
14801 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
14802 the null byte at the end of strings.
14803 * gdb.t00/default.exp: Make show version insensitive to copyright
14804 date.
14805 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
14806 to avoid dependencies on target char signedness.
14807 * gdb.t16/printcmds.exp: Update expected results for explicitly
14808 unsigned char.
14809 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
14810 now work.
14811 * gdb.t21/demangle.exp: Add many more patterns for template
14812 demangling, most of them being expected failures.
14813 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
14814 string we are matching for, to match on the whole string.
14815 * gdb.t21/demangle.exp: Add many new test strings to demangle,
14816 and fix a whole bunch that had incorrect expected output but were
14817 passing anyway because of the bug in "proc demangle".
14818 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
14819 type.
14820 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
14821
14822Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
14823
14824 * gdb/testsuite: made modifications to testcases, etc., to allow
14825 them to work properly given the reorganization of deja-gnu and the
14826 relocation of the testcases from deja-gnu to a "tool" subdirectory.
14827
14828Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
14829
14830 * gdb/testsuite: Initial creation of gdb/testsuite.
14831 Migrated dejagnu testcases and support files for testing nm to
14832 gdb/testsuite from deja-gnu. These files were moved "as is"
14833 with no modifications. This migration is part of a major overhaul
14834 of dejagnu. The modifications to these testcases, etc., which
14835 will allow them to work with the new version of dejagnu will be
14836 made in a future update.
48efe704 14837
8d8cb839 14838 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 14839\f
8d8cb839
EZ
14840;; Local Variables:
14841;; mode: change-log
14842;; left-margin: 8
14843;; fill-column: 74
14844;; version-control: never
14845;; End:
902f2ccb
MC
14846
14847 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 14848 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
14849 Copying and distribution of this file, with or without modification,
14850 are permitted provided the copyright notice and this notice are preserved.