* remote-utils.c [USE_WIN32API] (read, write): Define.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e741bf94
MK
12007-01-28 Mark Kettenis <kettenis@gnu.org>
2
3 * gdb.threads/sigthread.c (NSIGS): Make bigger.
4
474d0ad3
AS
52007-01-27 Andreas Schwab <schwab@suse.de>
6
7 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8 .short/.int/.quad in the dwarf sections.
9 * gdb.dwarf2/dw2-intercu.S: Likewise.
10 * gdb.dwarf2/dw2-intermix.S: Likewise.
11
e784b426
JK
122007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13
14 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
15 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16 array.
e784b426
JK
17 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
18 * gdb.base/setvar.exp: Likewise.
19
37f08e04
AS
202007-01-26 Andreas Schwab <schwab@suse.de>
21
9a01813a
AS
22 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
23 test.
24
37f08e04
AS
25 * gdb.base/multi-forks.exp ("restart $i"): Also match
26 __kernel_syscall_via_break.
27
6e2a9270
VP
282007-01-24 Vladimir Prus <vladimir@codesourcery.com>
29
30 * lib/mi-support.exp (mi_delete_varobj): New.
31 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
32 testcase.
33 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
34 (main): Call the above.
35 (reference_update_test, base_in_reference_test)
36 (reference_to_pointer): Delete the created varobjs.
37
e515b470
DJ
382007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
39
40 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
41 * configure: Regenerated.
42 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
43 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
44 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
45 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
46 * lib/gdb.exp (gdb_skip_xml_test): New function.
47
08d8bcd7
DJ
482007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
49
50 * gdb.base/sigrepeat.exp: Correct error message.
51
522007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
53 Daniel Jacobowitz <dan@codesourcery.com>
54
55 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
56 gdb.arch/i386-gnu-cfi-asm.S: New files.
57
97c3f1f3
JK
582007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
59
60 * lib/gdb.exp: Abort on missing `site.exp'.
61
cb1df416
DJ
622007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
63 Daniel Jacobowitz <dan@codesourcery.com>
64
65 * gdb.base/included.c, gdb.base/included.exp,
66 gdb.base/included.h: New files.
67
35990120
DJ
682007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
69
70 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
71 (maximize_rlimit): Reduce limits on 64-bit systems.
72
6e81a116 732007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
74
75 From Marcus Deuling <deuling@de.ibm.com>:
76 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
77 every case.
78
6c3c41f3
NR
792007-01-13 Nick Roberts <nickrob@snap.net.nz>
80
81 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
82 (test_path_specification): Use objdir instead of srcdir to always
83 get an absolute filename.
84
2f12c312
DJ
852007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
86
87 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
88
81121995
VP
892007-01-11 Vladimir Prus <vladimir@codesourcery.com>
90
91 * gdb.mi/mi-var-cp.cc (reference_update_tests):
92 Make sure the variable we're using is in scope.
93 (reference_to_pointer): Likewise.
94
4741b737
DJ
952007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
96
97 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
98 has no debug information.
99
054410c3
DJ
1002007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
101
102 * gdb.base/annota1.exp: Remove extra send_gdb.
103
818f79f6
DJ
1042007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
105
106 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
107
f7a6bb70
DJ
1082007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
109
110 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
111
57e66780
DJ
1122007-01-08 Nick Roberts <nickrob@snap.net.nz>
113 Daniel Jacobowitz <dan@codesourcery.com>
114
115 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
116 lcharacter or linteger change. Correct duplicated test name.
117 * gdb.mi/mi2-var-cmd.exp: Likewise.
118
3d799a95
DJ
1192007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
120
121 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
122
1232007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9
JB
124
125 * gdb.base/nofield.c: New file.
126 * gdb.base/nofield.exp: New testcase.
127
eafb94e8
NR
1282007-01-05 Nick Roberts <nickrob@snap.net.nz>
129
130 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
131
132 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
133 test.
134
5e572bb4
DJ
1352007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
136
137 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
138
74a44383
DJ
1392007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
140
141 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
142 when continuing.
143
1b572db9
DJ
1442007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
145
146 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
147 Expect ".exe" extension.
148
381bc39b
DJ
1492007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
150
151 * gdb.base/charset.exp: Add explicit filename to break.
152 * gdb.base/dbx.exp: Add explicit filename to breaks.
153
2b70e4c6
DJ
1542007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
155
156 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
157 * gdb.mi/mi2-file.exp: Likewise.
158
303b6f5d
DJ
1592007-01-04 Vladimir Prus <vladimir@codesourcery.com>
160
161 Implement specification of MI tests as comments
162 in C and C++ sources.
163 * lib/mi-support.exp (mi_autotest_data): New variable.
164 (mi_autotest_source): New variable.
165 (count_newlines, mi_prepare_inline_tests)
166 (mi_get_inline_test, mi_continue_to_line)
167 (mi_run_inline_test, mi_tbreak)
168 (mi_send_resuming_command, mi_wait_for_stop): New functions.
169 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
170 Run inline tests.
171 * gdb.mi/mi-var-cp.cc: Define tests here.
172
23da0d94
VP
1732007-01-04 Vladimir Prus <vladimir@codesourcery.com>
174
175 Simplify usage of mi_continue_to.
176 * lib/mi-support.exp (mi_runto_helper): Renamed
177 from mi_runto, added new parameter 'run_or_continue'.
178 (mi_runto): Use mi_runto_helper.
179 (mi_continue_to): Accept just function name as parameter.
180 Use mi_runto_helper.
181 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
182 * gdb.mi/mi2-var-cmd.exp: Likewise.
183
f9e18282
JB
1842006-01-04 Joel Brobecker <brobecker@adacore.com>
185
186 Make this testcase a bit more realistic. The current code
187 is too simplistic, and allows the compiler to optimize out
188 some of the entities we need for this testcase.
189 * gdb.ada/null_record/bar.ads (Void_Star): New type.
190 (Do_Nothing): Add extra parameter.
191 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
192 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
193 by using a variable of type Void_Star.
194
fd678c65
JB
1952006-01-04 Joel Brobecker <brobecker@adacore.com>
196
197 * gdb.ada/catch_ex/foo.adb: New file.
198 * gdb.ada/catch_ex.exp: New testcase.
199
05cfdb42
DJ
2002007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
201
202 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
203 pass --image-base to linker.
204
2e03ee74
DJ
2052007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
206 Daniel Jacobowitz <dan@codesourcery.com>
207
208 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
209 secondary prompts.
210
0d5de010
DJ
2112007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
212
213 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
214 output. Test the types of members and member pointers.
215 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
216 gdb/2092.
217 * gdb.cp/member-ptr.exp: Search for a comment instead of a
218 statement. Enable for GCC. Update expected output for some tests
219 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
220 layout.
221 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
222 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
223 (Diamond::vget_base): New.
224 (main): Add new tests.
225 * gdb.cp/printmethod.exp: Update expected output for member functions.
226 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
227 print pEe->D::vg().
228
61a771aa
DJ
2292007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
230
231 * gdb.threads/tls.exp: Allow stops in sem_post.
232
2fa63963
DJ
2332006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
234
235 * gdb.base/annota1.exp: Allow .*printf in backtraces.
236 * gdb.base/annota3.exp: Likewise.
237 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
238 again (instead of timing out).
239 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
240 GCC bug 26475.
241 * gdb.java/jmisc.exp: Adjust to work with method signatures including
242 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
243 test from jmisc1.exp.
244 * gdb.java/jmisc1.exp: Delete.
245 * gdb.java/jprint.exp: Adjust to work with method signatures including
246 return types.
247 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
248 * gdb.threads/linux-dp.exp: Don't be confused by program output.
249 * lib/java.exp (compile_java_from_source): Pass the correct type
250 to target_compile.
251
5eefc2b7
JB
2522006-12-31 Joel Brobecker <brobecker@adacore.com>
253
254 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
255 (stack_align_edx): New function.
256 (stack_align_eax): New function.
257 (main): Add calls to stack_align_edx and stack_align_eax.
258 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
259 Add testing for the cases where the register used during a stack
260 realignment is edx. Same for eax.
261
227c54da
DJ
2622006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
263
264 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
265 and generic PE targets.
266
cab8ac94
JB
2672006-12-29 Joel Brobecker <brobecker@adacore.com>
268
269 * gdb.ada/array_return.exp: Update copyright date list.
270
ba54f318
JB
2712006-12-27 Joel Brobecker <brobecker@adacore.com>
272
273 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
274 (Create_Small_Float_Vector): New function.
275 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
276 function body.
277 * gdb.ada/array_return/p.adb: Use new type and function from
278 package Pck.
279 * gdb.ada/array_return.exp: Add a test verifying that GDB is
280 able to print the value returned by a function returning an
281 array of float.
282
6b7a35dd
JB
2832006-12-20 Joel Brobecker <brobecker@adacore.com>
284
285 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
286 The associated tests should be PASSing.
287
038224f6
VP
2882006-12-08 Vladimir Prus <vladimir@codesourcery.com>
289
290 Test for base in references.
291 * gdb.mi/mi-var-cp.cc: Add test code.
292 * gdb.mi/mi-var-cp.exp: Test for bases in references.
293 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
294 * gdb.mi/mi2-watch.exp: Likewise.
295 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
296 (mi_list_varobj_children): New function.
297
b26ed50d
VP
2982006-12-08 Vladimir Prus <vladimir@codesourcery.com>
299
300 * lib/mi-support.exp
301 (mi_runto): Accept "()" after function name.
302 (mi_create_varobj): New function.
303 (mi_varobj_update): New function.
304 (mi_Check_varobj_value): New function.
305 * gdb.mi/mi-var-cp.exp: New file.
306 * gdb.mi/mi-var-cp.cc: New file.
307
08232497
DJ
3082006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
309
310 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
311 gdb.base/weaklib2.c: New files.
312
d394c993 3132006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 314
ac6c2fba
NS
315 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
316 info. Adjust test names.
317
8ec659a0 318 * gdb.base/break.c (main): Move position of malloc.
d394c993 319 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 320
acd65feb
VP
3212006-11-28 Vladimir Prus <vladimir@codesourcery.com>
322
323 * gdb.mi/mi-var-cmd.exp: Check -var-update after
324 assignement of arrays and function pointers.
325 * gdb.mi/var-cmd.c: Add declaration necessary for above
326 tests.
327
f556d5e5
NS
3282006-11-27 Nathan Sidwell <nathan@codesourcery.com>
329
330 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
331
332 * gdb.threads/linux-dp.exp: Read thread table before and after
333 creating each philosopher and verify it.
334
697bc68d
NS
3352006-11-27 Nathan Sidwell <nathan@codesourcery.com>
336 Paul Brook <paul@codesourcery.com>
337 Daniel Jacobowitz <dan@codesourcery.com>
338
339 * gdb.base/ending-run.exp: Flatten expect script stepping out of
340 main to remove duplication. Add start function of the form
341 '_*start[1-9]*'. Add RVDS start function.
342
29d73ae4
DJ
3432006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
344
345 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
346
c1d88655
UW
3472006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
348
349 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
350 * gdb.asm/spu.inc: New file.
351 * gdb.base/term.exp: Disable if [target_info exists noargs].
352 * gdb.gdb/complaints.exp: Disable if ![isnative].
353 * gdb.gdb/selftest.exp: Likewise.
354 * gdb.gdb/observer.exp: Likewise.
355 * gdb.gdb/xfullpath.exp: Likewise.
356 * gdb.base/attach.exp: Disable on SPU target.
357 * gdb.cp/bs145503.exp: Likewise.
358 * gdb.cp/exception.exp: Likewise.
359 * gdb.cp/userdef.exp: Likewise.
360
32a13b1a
DJ
3612006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
362
363 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
364
d8295fe9
VP
3652006-11-10 Vladimir Prus <vladimir@codesourcery.com>
366
367 * gdb.base/completion.exp: Fix completion tests for
368 'info' and 'info '.
369 * gdb.base/help.exp (help_test_raw, test_class_help)
370 (test_prefix_command_help): Move...
371 * lib/gdb.exp: Here.
372 * gdb.base/main.exp: Adjust.
373 * gdb.cp/maint.exp: Adjust.
374 * gdb.trace/tracecmd.exp: Use test_help_class.
375
8c394015
VP
3762006-11-09 Vladimir Prus <vladimir@codesourcery.com>
377
378 * gdb.stabs/weird.exp (print_weird_var): Use
379 gdb_test_multiple instead of gdb_expect.
380
027fc1bc
VP
3812006-11-09 Vladimir Prus <vladimir@codesourcery.com>
382
383 * gdb.base/help.exp (help_test_raw): New.
384 (test_class_help): New.
385 (test_prefix_command_help): New.
386 Adjust testcases.
387
67609209
FR
3882006-11-09 Christophe Lyon <christophe.lyon@st.com>
389
390 * gdb.base/constvars.c (main): Write to crass and crips, so that
391 they are allocated by the compiler.
392
f73adfeb
AS
3932006-10-27 Andreas Schwab <schwab@suse.de>
394
395 * gdb.base/multi-forks.exp: Use "detach fork" instead of
396 "detach-fork".
397
2f83a18e
DJ
3982006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
399
400 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
401 of patterns.
402
94277a38
DJ
4032006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
404
405 * gdb.base/sepdebug.exp: Remove debug format test.
406 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
407 Handle no-symtab.
408 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
409
5bd2f6e2
DJ
4102006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
411
412 * gdb.threads/manythreads.c (thread_function, main): Don't cast
413 int to pointer or pointer to int.
414 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
415
8c008720
DJ
4162006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
417
418 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
419
9e35dae4
DJ
4202006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
421
422 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
423
d9639e13
DJ
4242006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
425
426 PR c++/2116
427 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
428
390a1bd0
JB
4292006-10-06 Joel Brobecker <brobecker@adacore.com>
430
431 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
432 the corresponding bug has been fixed in GDB (PR/2018).
433
dd920c33
JB
4342006-10-06 Joel Brobecker <brobecker@adacore.com>
435
436 * gdb.base/subst.exp: New testcase.
437
53bbefe9
JB
4382006-10-06 Joel Brobecker <brobecker@adacore.com>
439
440 * gdb.ada/array_return/pck.ads: Add copyright notice.
441 * gdb.ada/array_return/pck.adb: Likewise.
442 * gdb.ada/array_return/p.adb: Likewise.
443 * gdb.ada/exec_changed/first.adb: Likewise.
444 * gdb.ada/exec_changed/second.adb: Likewise.
445
09851417
JB
4462006-10-06 Joel Brobecker <brobecker@adacore.com>
447
448 * gdb.ada/watch_arg/watch.adb: New file.
449 * gdb.ada/watch_arg.exp: New testcase.
450
041bf30d
VP
4512006-10-02 Vladimir Prus <vladimir@codesourcery.com>
452
453 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
454 via string_to_regexp.
455 * gdb.mi/mi2-basics.exp: Likewise.
456
f286fbdd 4572006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
458
459 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
460 Remove unused / obsolete files.
461
7c07f349
NR
4622006-09-19 Nick Roberts <nickrob@snap.net.nz>
463
464 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
465
cd5ff84a
VP
4662006-09-17 Vladimir Prus <vladimir@codesourcery.com>
467
468 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
469 HIGH_FRAME argument to -stack-list-arguments can be larger than
470 the number of frames.
471
ae018d1a
DJ
4722006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
473
474 * gdb.base/args.c (main): Add breakpoint marker.
475 * gdb.base/args.exp: Use args_test for tests. Add new tests which
476 really test empty arguments.
477 (args_load): Delete.
478 (args_test): New.
479
b399c549
NR
4802006-09-13 Nick Roberts <nickrob@snap.net.nz>
481
482 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
483 check for one file.
484
2ab1eb7a
VP
4852006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
486
487 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
488 HIGH_FRAME argument to -stack-list-locals can be larger than
489 the number of frames.
490
476308bf
FF
4912006-08-18 Fred Fish <fnf@specifix.com>
492
493 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
494 '$' in front of skip_vmx_tests_saved when setting that.
495
8625200f
AS
4962006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
497
498 * gdb.base/trace-commands.exp: New file.
499
089ec8f1
DJ
5002006-08-10 Joel Brobecker <brobecker@adacore.com>
501 Daniel Jacobowitz <dan@codesourcery.com>
502
503 * gdb.base/step-bt.exp: Make hexadecimal address optional in
504 expected output of the backtrace commands.
505
b60f0898
JB
5062006-08-09 Joel Brobecker <brobecker@adacore.com>
507
508 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
509 untested followed by return combination.
510 * gdb.arch/altivec-regs.exp: Likewise.
511 * gdb.arch/e500-abi.exp: Likewise.
512 * gdb.arch/e500-regs.exp: Likewise.
513 * gdb.arch/gdb1291.exp: Likewise.
514 * gdb.arch/gdb1431.exp: Likewise.
515 * gdb.arch/gdb1558.exp: Likewise.
516 * gdb.arch/i386-prologue.exp: Likewise.
517 * gdb.arch/i386-unwind.exp: Likewise.
518 * gdb.asm/asm-source.exp: Likewise.
519 * gdb.base/a2-run.exp: Likewise.
520 * gdb.base/advance.exp: Likewise.
521 * gdb.base/all-bin.exp: Likewise.
522 * gdb.base/annota1.exp: Likewise.
523 * gdb.base/annota3.exp: Likewise.
524 * gdb.base/args.exp: Likewise.
525 * gdb.base/arithmet.exp: Likewise.
526 * gdb.base/assign.exp: Likewise.
527 * gdb.base/async.exp: Likewise.
528 * gdb.base/attach.exp: Likewise.
529 * gdb.base/bang.exp: Likewise.
530 * gdb.base/bigcore.exp: Likewise.
531 * gdb.base/bitfields.exp: Likewise.
532 * gdb.base/bitfields2.exp: Likewise.
533 * gdb.base/break.exp: Likewise.
534 * gdb.base/call-sc.exp: Likewise.
535 * gdb.base/call-strs.exp: Likewise.
536 * gdb.base/callfuncs.exp: Likewise.
537 * gdb.base/checkpoint.exp: Likewise.
538 * gdb.base/chng-syms.exp: Likewise.
539 * gdb.base/code-expr.exp: Likewise.
540 * gdb.base/commands.exp: Likewise.
541 * gdb.base/completion.exp: Likewise.
542 * gdb.base/cond-expr.exp: Likewise.
543 * gdb.base/condbreak.exp: Likewise.
544 * gdb.base/consecutive.exp: Likewise.
545 * gdb.base/constvars.exp: Likewise.
546 * gdb.base/corefile.exp: Likewise.
547 * gdb.base/cvexpr.exp: Likewise.
548 * gdb.base/dbx.exp: Likewise.
549 * gdb.base/define.exp: Likewise.
550 * gdb.base/detach.exp: Likewise.
551 * gdb.base/display.exp: Likewise.
552 * gdb.base/dump.exp: Likewise.
553 * gdb.base/ena-dis-br.exp: Likewise.
554 * gdb.base/ending-run.exp: Likewise.
555 * gdb.base/environ.exp: Likewise.
556 * gdb.base/eval-skip.exp: Likewise.
557 * gdb.base/exprs.exp: Likewise.
558 * gdb.base/fileio.exp: Likewise.
559 * gdb.base/finish.exp: Likewise.
560 * gdb.base/float.exp: Likewise.
561 * gdb.base/foll-exec.exp: Likewise.
562 * gdb.base/foll-fork.exp: Likewise.
563 * gdb.base/foll-vfork.exp: Likewise.
564 * gdb.base/freebpcmd.exp: Likewise.
565 * gdb.base/funcargs.exp: Likewise.
566 * gdb.base/gcore.exp: Likewise.
567 * gdb.base/gdb1090.exp: Likewise.
568 * gdb.base/gdb1250.exp: Likewise.
569 * gdb.base/huge.exp: Likewise.
570 * gdb.base/info-proc.exp: Likewise.
571 * gdb.base/interrupt.exp: Likewise.
572 * gdb.base/jump.exp: Likewise.
573 * gdb.base/langs.exp: Likewise.
574 * gdb.base/lineinc.exp: Likewise.
575 * gdb.base/list.exp: Likewise.
576 * gdb.base/logical.exp: Likewise.
577 * gdb.base/long_long.exp: Likewise.
578 * gdb.base/macscp.exp: Likewise.
579 * gdb.base/maint.exp: Likewise.
580 * gdb.base/mips_pro.exp: Likewise.
581 * gdb.base/miscexprs.exp: Likewise.
582 * gdb.base/multi-forks.exp: Likewise.
583 * gdb.base/opaque.exp: Likewise.
584 * gdb.base/overlays.exp: Likewise.
585 * gdb.base/pc-fp.exp: Likewise.
586 * gdb.base/pointers.exp: Likewise.
587 * gdb.base/printcmds.exp: Likewise.
588 * gdb.base/psymtab.exp: Likewise.
589 * gdb.base/ptype.exp: Likewise.
590 * gdb.base/recurse.exp: Likewise.
591 * gdb.base/relational.exp: Likewise.
592 * gdb.base/relocate.exp: Likewise.
593 * gdb.base/remote.exp: Likewise.
594 * gdb.base/reread.exp: Likewise.
595 * gdb.base/restore.exp: Likewise.
596 * gdb.base/return.exp: Likewise.
597 * gdb.base/return2.exp: Likewise.
598 * gdb.base/scope.exp: Likewise.
599 * gdb.base/sect-cmd.exp: Likewise.
600 * gdb.base/sep.exp: Likewise.
601 * gdb.base/sepdebug.exp: Likewise.
602 * gdb.base/setshow.exp: Likewise.
603 * gdb.base/setvar.exp: Likewise.
604 * gdb.base/sigall.exp: Likewise.
605 * gdb.base/sigbpt.exp: Likewise.
606 * gdb.base/signals.exp: Likewise.
607 * gdb.base/signull.exp: Likewise.
608 * gdb.base/sizeof.exp: Likewise.
609 * gdb.base/solib.exp: Likewise.
610 * gdb.base/step-line.exp: Likewise.
611 * gdb.base/step-test.exp: Likewise.
612 * gdb.base/structs.exp: Likewise.
613 * gdb.base/structs2.exp: Likewise.
614 * gdb.base/term.exp: Likewise.
615 * gdb.base/twice.exp: Likewise.
616 * gdb.base/until.exp: Likewise.
617 * gdb.base/varargs.exp: Likewise.
618 * gdb.base/volatile.exp: Likewise.
619 * gdb.base/watchpoint.exp: Likewise.
620 * gdb.base/whatis-exp.exp: Likewise.
621 * gdb.base/whatis.exp: Likewise.
622 * gdb.cp/ambiguous.exp: Likewise.
623 * gdb.cp/annota2.exp: Likewise.
624 * gdb.cp/annota3.exp: Likewise.
625 * gdb.cp/bool.exp: Likewise.
626 * gdb.cp/breakpoint.exp: Likewise.
627 * gdb.cp/casts.exp: Likewise.
628 * gdb.cp/class2.exp: Likewise.
629 * gdb.cp/classes.exp: Likewise.
630 * gdb.cp/cplusfuncs.exp: Likewise.
631 * gdb.cp/ctti.exp: Likewise.
632 * gdb.cp/derivation.exp: Likewise.
633 * gdb.cp/exception.exp: Likewise.
634 * gdb.cp/gdb1355.exp: Likewise.
635 * gdb.cp/hang.exp: Likewise.
636 * gdb.cp/inherit.exp: Likewise.
637 * gdb.cp/local.exp: Likewise.
638 * gdb.cp/m-data.exp: Likewise.
639 * gdb.cp/m-static.exp: Likewise.
640 * gdb.cp/member-ptr.exp: Likewise.
641 * gdb.cp/method.exp: Likewise.
642 * gdb.cp/misc.exp: Likewise.
643 * gdb.cp/namespace.exp: Likewise.
644 * gdb.cp/overload.exp: Likewise.
645 * gdb.cp/ovldbreak.exp: Likewise.
646 * gdb.cp/pr-1023.exp: Likewise.
647 * gdb.cp/pr-1210.exp: Likewise.
648 * gdb.cp/pr-574.exp: Likewise.
649 * gdb.cp/printmethod.exp: Likewise.
650 * gdb.cp/psmang.exp: Likewise.
651 * gdb.cp/ref-params.exp: Likewise.
652 * gdb.cp/ref-types.exp: Likewise.
653 * gdb.cp/rtti.exp: Likewise.
654 * gdb.cp/templates.exp: Likewise.
655 * gdb.cp/try_catch.exp: Likewise.
656 * gdb.cp/userdef.exp: Likewise.
657 * gdb.cp/virtfunc.exp: Likewise.
658 * gdb.disasm/am33.exp: Likewise.
659 * gdb.disasm/h8300s.exp: Likewise.
660 * gdb.disasm/mn10300.exp: Likewise.
661 * gdb.disasm/sh3.exp: Likewise.
662 * gdb.disasm/t01_mov.exp: Likewise.
663 * gdb.disasm/t02_mova.exp: Likewise.
664 * gdb.disasm/t03_add.exp: Likewise.
665 * gdb.disasm/t04_sub.exp: Likewise.
666 * gdb.disasm/t05_cmp.exp: Likewise.
667 * gdb.disasm/t06_ari2.exp: Likewise.
668 * gdb.disasm/t07_ari3.exp: Likewise.
669 * gdb.disasm/t08_or.exp: Likewise.
670 * gdb.disasm/t09_xor.exp: Likewise.
671 * gdb.disasm/t10_and.exp: Likewise.
672 * gdb.disasm/t11_logs.exp: Likewise.
673 * gdb.disasm/t12_bit.exp: Likewise.
674 * gdb.disasm/t13_otr.exp: Likewise.
675 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
676 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
677 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
678 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
679 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
680 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
681 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
682 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
683 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
684 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
685 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
686 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
687 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
688 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
689 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
690 * gdb.mi/gdb701.exp: Likewise.
691 * gdb.mi/gdb792.exp: Likewise.
692 * gdb.mi/mi-basics.exp: Likewise.
693 * gdb.mi/mi-break.exp: Likewise.
694 * gdb.mi/mi-cli.exp: Likewise.
695 * gdb.mi/mi-console.exp: Likewise.
696 * gdb.mi/mi-disassemble.exp: Likewise.
697 * gdb.mi/mi-eval.exp: Likewise.
698 * gdb.mi/mi-file.exp: Likewise.
699 * gdb.mi/mi-read-memory.exp: Likewise.
700 * gdb.mi/mi-regs.exp: Likewise.
701 * gdb.mi/mi-return.exp: Likewise.
702 * gdb.mi/mi-simplerun.exp: Likewise.
703 * gdb.mi/mi-stack.exp: Likewise.
704 * gdb.mi/mi-stepi.exp: Likewise.
705 * gdb.mi/mi-syn-frame.exp: Likewise.
706 * gdb.mi/mi-until.exp: Likewise.
707 * gdb.mi/mi-var-block.exp: Likewise.
708 * gdb.mi/mi-var-child.exp: Likewise.
709 * gdb.mi/mi-var-cmd.exp: Likewise.
710 * gdb.mi/mi-var-display.exp: Likewise.
711 * gdb.mi/mi-watch.exp: Likewise.
712 * gdb.mi/mi2-basics.exp: Likewise.
713 * gdb.mi/mi2-break.exp: Likewise.
714 * gdb.mi/mi2-cli.exp: Likewise.
715 * gdb.mi/mi2-console.exp: Likewise.
716 * gdb.mi/mi2-disassemble.exp: Likewise.
717 * gdb.mi/mi2-eval.exp: Likewise.
718 * gdb.mi/mi2-file.exp: Likewise.
719 * gdb.mi/mi2-read-memory.exp: Likewise.
720 * gdb.mi/mi2-regs.exp: Likewise.
721 * gdb.mi/mi2-return.exp: Likewise.
722 * gdb.mi/mi2-simplerun.exp: Likewise.
723 * gdb.mi/mi2-stack.exp: Likewise.
724 * gdb.mi/mi2-stepi.exp: Likewise.
725 * gdb.mi/mi2-syn-frame.exp: Likewise.
726 * gdb.mi/mi2-until.exp: Likewise.
727 * gdb.mi/mi2-var-block.exp: Likewise.
728 * gdb.mi/mi2-var-child.exp: Likewise.
729 * gdb.mi/mi2-var-cmd.exp: Likewise.
730 * gdb.mi/mi2-var-display.exp: Likewise.
731 * gdb.mi/mi2-watch.exp: Likewise.
732 * gdb.stabs/exclfwd.exp: Likewise.
733 * gdb.stabs/weird.exp: Likewise.
734 * gdb.threads/gcore-thread.exp: Likewise.
735 * gdb.trace/actions.exp: Likewise.
736 * gdb.trace/backtrace.exp: Likewise.
737 * gdb.trace/circ.exp: Likewise.
738 * gdb.trace/collection.exp: Likewise.
739 * gdb.trace/deltrace.exp: Likewise.
740 * gdb.trace/infotrace.exp: Likewise.
741 * gdb.trace/limits.exp: Likewise.
742 * gdb.trace/packetlen.exp: Likewise.
743 * gdb.trace/passc-dyn.exp: Likewise.
744 * gdb.trace/passcount.exp: Likewise.
745 * gdb.trace/report.exp: Likewise.
746 * gdb.trace/save-trace.exp: Likewise.
747 * gdb.trace/tfind.exp: Likewise.
748 * gdb.trace/tracecmd.exp: Likewise.
749 * gdb.trace/while-dyn.exp: Likewise.
750 * gdb.trace/while-stepping.exp: Likewise.
751
f4b618d1
JB
7522006-08-08 Joel Brobecker <brobecker@adacore.com>
753
754 * gdb.base/step-bt.c: New file.
755 * gdb.base/step-bt.exp: New testcase.
756
3d00d119
DJ
7572006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
758
759 * config/monitor.exp (gdb_load): Remove support for obsolete
760 download-write-size.
761 * gdb.base/remote.exp: Likewise. Update all callers of
762 gdb_timed_load.
763
017b5bd4
DJ
7642006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
765
766 * cursal.exp: Pass binfile to gdb_load.
767
837c599d
DJ
7682006-08-01 Nathan Sidwell <nathan@codesourcery.com>
769
770 * gdb.base/cursal.exp: Add "" to gdb_load call.
771
8dd4540b
MK
7722006-07-29 Mark Kettenis <kettenis@gnu.org>
773
774 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
775 NetBSD/ELF targets.
776
ab5c9f60
DJ
7772006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
778
779 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
780 operator*.
781
4c42eaff
DJ
7822006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
783
784 * gdb.base/completion.exp: Update for change in "file" behavior.
785 * gdb.stabs/weird.exp: Likewise.
786 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
787 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
788
0155cc76
NS
7892006-07-24 Nathan Sidwell <nathan@codesourcery.com>
790
791 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
792 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
793
16026cd7
AS
7942006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
795
796 * gdb.base/default.exp: Update source command error message.
797 * gdb.base/help.exp: Update 'help source' message.
798
16963cb6
DJ
7992006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
800
801 * gdb.cp/bs15503.exp: Update comment for no longer crashing
802 test.
803
6d7fd486
AS
8042006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
805
806 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
807
29e8a844
DJ
8082006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
809
810 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
811
6afcfa39
DJ
8122006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
813
814 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
815
267a692b
MK
8162006-07-17 Mark Kettenis <kettenis@gnu.org>
817
818 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
819 *-*-openbsd* from targets for wich we expect ARM FPA floating
820 point format.
821
85d2fec4
NR
8222006-07-17 Nick Roberts <nickrob@snap.net.nz>
823
824 * gdb.cp/annota3.exp: Expect frame-begin annotation.
825
8262006-07-17 Mark Kettenis <kettenis@gnu.org>
827
828 * gdb.base/annota3.exp: Expect frame-begin annotation.
829
85b4c6e8
JB
8302006-07-14 Joel Brobecker <brobecker@adacore.com>
831
832 * gdb.base/help.exp: Adjust "help unset" test to accept
833 any list of unset commands.
834
fb933624
DJ
8352006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
836 Daniel Jacobowitz <dan@codesourcery.com>
837
838 * gdb.cp/ref-params.exp: New test.
839 * gdb.cp/ref-params.cc: New source file.
840 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
841
1dff4b64
MK
8422006-07-08 Mark Kettenis <kettenis@gnu.org>
843
844 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
845 spaces/tabs in regular expressions since they might not be there.
846
40d2e0e3
AS
8472006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
848
849 * gdb.base/ifelse.exp: New file.
850
f6c957d2
NS
8512006-07-04 Nathan Sidwell <nathan@codesourcery.com>
852
853 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
854 line.
855 * gdb.base/huge.exp: Loop over compilation to find a size that
856 is acceptable.
857 * gdb.base/remote.exp: Correct expected strings.
858 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
859
b9c5a23d
DJ
8602006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
861
862 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
863
9af2e58d
DJ
8642006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
865
866 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
867 native.
868
30930ca5
DJ
8692006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
870
871 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
872 enable stabs testing.
873
aa32fa1d
DJ
8742006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
875
bd4a4c80 876 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
877 gdb_test_multiple does.
878
321fef15
DJ
8792006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
880
881 * Makefile.in (host_alias): Remove.
882 (target_alias): Use @target_noncanonical@.
883 (site.exp): Don't set host_alias.
884 * aclocal.m4: Remove contents. Include acx.m4.
885 * configure: Regenerated.
886 * configure.ac: Use ACX_NONCANONICAL_TARGET.
887
e1c2defa
NS
8882006-06-13 Nathan Sidwell <nathan@codesourcery.com>
889
e63b55d1
NS
890 * lib/gdb.exp (gdb_load_cmd): New.
891
5600ea19
NS
892 * gdb.base/fileio.c: Add system(NULL) test.
893 * gdb.base/fileio.exp: Check it.
894
e1c2defa
NS
895 * gdb.base/break.c: Add 10a breakpoint at }
896 * gdb.base/break.exp: Add test for breakpoint at }
897 * gdb.cp/anon-union.cc: Add code at end of function.
898 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
899 * gdb.mi/var-cmd.c: Add code at end of function.
900 * gdb.mi/mi-var-display.exp: Adjust end of next.
901 * gdb.mi/mi2-var-display.exp: Likewise.
902 * gdb.base/fileio.c: Add stop function and insert calls at
903 stopping places.
904 * gdb.base/fileio.exp: Breakpoint stop function and remove
905 explicit line number references.
906
6c0112ec
JB
9072006-05-19 Joel Brobecker <brobecker@adacore.com>
908
909 * gdb.base/del.exp (test_delete_alias): New function.
910 Now check that both "del" and "d" work as aliases for "delete".
911
154189a4
FF
9122006-05-18 Fred Fish <fnf@specifix.com>
913
914 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
915 required. Check for spurious output after program exits normally.
916
582e64c2
FF
9172006-05-17 Fred Fish <fnf@specifix.com>
918
919 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
920 gdb_load, so it works in the simulator.
921
8ef6493a
FF
9222006-05-11 Fred Fish <fnf@specifix.com>
923
924 * gdb.base/bang.exp: Ignore unexpected output between the
925 "program exited normally" and the gdb prompt, as many other
926 tests do.
927
692b141c
MK
9282006-05-07 Mark Kettenis <kettenis@gnu.org>
929
930 * gdb.base/help.exp: Make "delete checkpoint" part option for
931 "help d" and "help delete" tests.
932
540b8a30
UW
9332006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
934
935 * gdb.mi/mi-basics.exp: Add missing serial number to
936 expected output in some mi_gdb_test statements.
937 * gdb.mi/mi2-basics.exp: Likewise.
938
9b6462d9
JB
9392006-05-05 Joel Brobecker <brobecker@adacore.com>
940
941 * gdb.base/del.c: New file.
942 * gdb.base/del.exp: New testcase.
943
954de43b
DM
9442006-05-05 David S. Miller <davem@sunset.davemloft.net>
945
946 * gdb.base/break.exp: Do not assume a breakpoint on
947 main will actually be in $srcfile when optimizing.
1303f75e
DM
948 * gdb.base/savedregs.exp: Do not require that the dummy
949 frame location match up to a symbol and source file location.
c3242428
DM
950 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
951 will get printed without a mi_cmd_data_list_register_values prefix.
952 (*-data-list-register-*): Correct regular expressions to expect the new
953 pseudo d? floating point registers.
954 * gdb.mi/mi2-regs.exp: Likewise.
955
c7e64c9a
DJ
9562006-05-05 Christophe Lyon <christophe.lyon@st.com>
957
958 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
959 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
960 is allocated by the compiler.
961 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
962 anons, e, anone to force their allocation by the compiler.
963
9642006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
965
966 * gdb.base/help.exp: Update expected text for help d and
967 help delete.
968
27ce9a6d
MK
9692006-05-02 Mark Kettenis <kettenis@gnu.org>
970
971 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
972 NetBSD/ELF targets.
973
8608915f
MK
9742006-04-30 Mark Kettenis <kettenis@gnu.org>
975
976 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
977 single-step breakpoint fails; make this a KFAIL on
978 sparc*-*-openbsd*.
979 * gdb.base/siginfo.exp: Likewise.
980 * gdb.base/sigstep.exp (advance, advancei): Likewise.
981
b8db102d
MS
9822006-04-26 Michael Snyder <msnyder@redhat.com>
983
984 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
985 which may have to consume output from other forks.
986 Add tests to make sure that "delete fork" succeeded.
987
c702009a
MS
9882006-04-20 Michael Snyder <msnyder@redhat.com>
989
990 * 2006-03-22 Jim Blandy <jimb@redhat.com>
991 Add support for the Renesas M32C and M16C.
992
993 * gdb.asm/asm-source.exp: Add m32c target.
994 * gdb.asm/m32c.inc: Support for m32c target.
995
e28493f2
AS
9962006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
997
998 * gdb.base/commands.exp (recursive_source_test): New test.
999
880da185
DM
10002006-04-04 David S. Miller <davem@sunset.davemloft.net>
1001
1002 * gdb.base/float.exp: Add pattern for sparc targets.
1003
61d9b92f
DJ
10042006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1005
1006 * gdb.base/commands.exp (stray_arg0_test): New test.
1007
bd717df8
PB
10082006-03-30 Paul Brook <paul@codesourcery.com>
1009
1010 * gdb.mi/mi-until.exp: kfail broken until command.
1011 * gdb.mi/mi2-until.exp: Ditto.
1012
ec793d3c
NR
10132006-03-27 Nick Roberts <nickrob@snap.net.nz>
1014
1015 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
1016
831004b7
AO
10172006-03-08 Alexandre Oliva <aoliva@redhat.com>
1018
1019 * gdb.base/prelink.exp: Anchor tested-for regular expression
1020 on gdb prompt.
1021
effe49a0
PB
10222006-03-07 Paul Brook <paul@codesourcery.com>
1023
1024 * gdb.base/assign.exp: Correct fail message.
1025
e5461016
PB
10262006-03-07 Paul Brook <paul@codesourcery.com>
1027
1028 * lib/compiler.c: Extract armcc version number.
1029 * lib/compiler.cc: Ditto.
1030
fc91c6c2
PB
10312006-03-07 Paul Brook <paul@codesourcery.com>
1032
1033 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
1034 additional_flags=-w.
1035 * gdb.arch/altivec-regs.exp: Ditto.
1036 * gdb.arch/e500-abi.exp: Ditto.
1037 * gdb.arch/e500-regs.exp: Ditto.
1038 * gdb.base/all-bin.exp: Ditto.
1039 * gdb.base/annota1.exp: Ditto.
1040 * gdb.base/annota3.exp: Ditto.
1041 * gdb.base/args.exp: Ditto.
1042 * gdb.base/arithmet.exp: Ditto.
1043 * gdb.base/assign.exp: Ditto.
1044 * gdb.base/async.exp: Ditto.
1045 * gdb.base/bang.exp: Ditto.
1046 * gdb.base/break.exp: Ditto.
1047 * gdb.base/call-rt-st.exp: Ditto.
1048 * gdb.base/completion.exp: Ditto.
1049 * gdb.base/cond-expr.exp: Ditto.
1050 * gdb.base/condbreak.exp: Ditto.
1051 * gdb.base/consecutive.exp: Ditto.
1052 * gdb.base/define.exp: Ditto.
1053 * gdb.base/display.exp: Ditto.
1054 * gdb.base/ena-dis-br.exp: Ditto.
1055 * gdb.base/environ.exp: Ditto.
1056 * gdb.base/eval-skip.exp: Ditto.
1057 * gdb.base/info-proc.exp: Ditto.
1058 * gdb.base/jump.exp: Ditto.
1059 * gdb.base/logical.exp: Ditto.
1060 * gdb.base/long_long.exp: Ditto.
1061 * gdb.base/maint.exp: Ditto.
1062 * gdb.base/miscexprs.exp: Ditto.
1063 * gdb.base/pc-fp.exp: Ditto.
1064 * gdb.base/pointers.exp: Ditto.
1065 * gdb.base/relational.exp: Ditto.
1066 * gdb.base/reread.exp: Ditto.
1067 * gdb.base/sect-cmd.exp: Ditto.
1068 * gdb.base/sep.exp: Ditto.
1069 * gdb.base/sepdebug.exp: Ditto.
1070 * gdb.base/until.exp: Ditto.
1071 * gdb.base/whatis-exp.exp: Ditto.
1072 * gdb.cp/annota2.exp: Ditto.
1073 * gdb.cp/annota3.exp: Ditto.
1074 * gdb.trace/actions.exp: Ditto.
1075 * gdb.trace/backtrace.exp: Ditto.
1076 * gdb.trace/circ.exp: Ditto.
1077 * gdb.trace/collection.exp: Ditto.
1078 * gdb.trace/deltrace.exp: Ditto.
1079 * gdb.trace/infotrace.exp: Ditto.
1080 * gdb.trace/limits.exp: Ditto.
1081 * gdb.trace/packetlen.exp: Ditto.
1082 * gdb.trace/passc-dyn.exp: Ditto.
1083 * gdb.trace/passcount.exp: Ditto.
1084 * gdb.trace/report.exp: Ditto.
1085 * gdb.trace/save-trace.exp: Ditto.
1086 * gdb.trace/tfind.exp: Ditto.
1087 * gdb.trace/tracecmd.exp: Ditto.
1088 * gdb.trace/while-dyn.exp: Ditto.
1089 * gdb.trace/while-stepping.exp: Ditto.
1090 * lib/gdb.exp: Ditto.
1091 (gdb_compile): Handle nowarning option.
1092
5f4a23d9
AO
10932006-03-07 Alexandre Oliva <aoliva@redhat.com>
1094
1095 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
1096 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
1097 Rename executable to prelinkt. Don't re-prelink if we didn't
1098 get a core file. Test prelink -u exit status to tell whether
1099 prelinking failed. Use gdb_test_multiple.
1100
9733fc94
DJ
11012006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
1102
1103 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
1104 (do_tests): Call it.
1105
cc10cae3
AO
11062006-02-28 Alexandre Oliva <aoliva@redhat.com>
1107
1108 * gdb.base/prelink.exp: New test.
1109 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
1110
15c46491
WZ
11112006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
1112
1113 * gdb.fortran/derived-type.f90: New file.
1114 * gdb.fortran/derived-type.exp: New testcase.
1115
5c9f7ded
DJ
11162006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
1117
1118 * gdb.base/default.exp: Allow ';' as a directory separator.
1119
5b96932b
AS
11202006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
1121
1122 * gdb.base/help.exp (help add-symbol-file): Update.
1123
1986bccd
AS
11242006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
1125
1126 * gdb.base/help.exp (help load): Update expected results.
1127
a8b7528f
FF
11282006-02-19 Fred Fish <fnf@specifix.com>
1129
1130 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
1131 specifix hex value as part of results.
1132 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
1133
f8261448
FF
11342006-02-16 Fred Fish <fnf@specifix.com>
1135
1136 * gdb.base/whatis.c: Define variables using typedefs char_addr,
1137 ushort_addr, and slong_addr, so the typedefs are not optimized
1138 away.
1139 * gdb.base/whatis.exp: Add tests using type name for struct type,
1140 union type, enum type, and typedef.
1141
31d8bdd2
MK
11422006-02-13 Mark Kettenis <kettenis@gnu.org>
1143
1144 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
1145
34e41e63
JB
11462006-02-13 Jim Blandy <jimb@redhat.com>
1147
1148 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
1149 case where it takes two "next" commands to skip past the init
1150 call.
1151
ac6e4f31
FF
11522006-02-12 Fred Fish <fnf@specifix.com>
1153
1154 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
1155 to handle cases where it takes two "next" commands to skip
1156 past the init call.
1157
2db2d571
JB
11582006-02-07 Joel Brobecker <brobecker@adacore.com>
1159
1160 * gdb.ada/array_return.exp: Mark the last test as expected to fail
1161 on hppa32 targets.
1162
38fcd64c
DJ
11632006-02-06 Vladimir Prus <ghost@cs.msu.su>
1164
1165 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
1166 field.
1167
1315ad46
MK
11682006-01-29 Mark Kettenis <kettenis@gnu.org>
1169
1170 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
1171
5625b943
DJ
11722006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
1173
1174 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
1175 files.
1176
80df1bbe
DJ
11772006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1178
1179 * gdb.cp/maint.exp: Set complaints to a positive value.
1180
9078e690
DJ
11812006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
1182
1183 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
1184 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
1185 function name.
1186
9c903399
DJ
11872006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
1188
1189 * gdb.base/checkpoint.c: Update copyright notice. Include
1190 <stdlib.h>.
1191
761ae4d6
JB
11922006-01-04 Jim Blandy <jimb@redhat.com>
1193
1194 * gdb.asm/asm-source.exp: Independently provide default values for
1195 asm-flags and debug-flags. Use 'string equal' to do the
1196 comparison, not the implicit expr's '==' operator. Remove
1197 now-unneeded assignments to asm-flags. In h8300 case, place
1198 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
1199
099ac3dd
MS
12002006-01-04 Michael Snyder <msnyder@redhat.com>
1201
1202 * gdb.base/checkpoint.c: New file.
1203 * gdb.base/checkpoint.exp: New file.
1204 * gdb.base/multi-fork.c: New file.
1205 * gdb.base/multi-fork.exp: New file.
1206 * gdb.base/pi.txt: New file (data for checkpoint.c test).
1207
f4d85314
FF
12082006-01-04 Fred Fish <fnf@specifix.com>
1209
1210 * gdb.base/ptype.c (foo): Add typedef.
1211 (intfoo): Add function.
1212 * gdb.base/ptype1.c: New file.
1213 * gdb.base/ptype.exp: Handle compilation and linking with two
1214 source files. Test that proper type for "foo" is found based
1215 on source context rather than first match found in symtabs.
1216
a1b06f35
MK
12172005-12-28 Mark Kettenis <kettenis@gnu.org>
1218
1219 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
1220 * gdb.asm/openbsd.inc: Indent commands.
1221
d082a1e2
MK
12222005-12-26 Mark Kettenis <kettenis@gnu.org>
1223
c65016bd
MK
1224 * gdb.base/freebpcmd.exp: Increase timeout.
1225
d082a1e2
MK
1226 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
1227
d3c32a0e
DJ
12282005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
1229
1230 * gdb.base/default.exp: Update check for "show version".
1231
9fdb1f50
RC
12322005-12-09 Randolph Chung <tausq@debian.org>
1233
1234 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
1235 * gdb.asm/pa64.inc: New file.
1236
5f2c56f7
RC
12372005-12-09 Randolph Chung <tausq@debian.org>
1238
1239 * gdb.asm/common.inc: Indent commands.
1240 * gdb.asm/asmsrc1.s: Likewise.
1241 * gdb.asm/asmsrc2.s: Likewise.
1242
8117349c
RC
12432005-12-09 Randolph Chung <tausq@debian.org>
1244
1245 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
1246 (get_addr_of_sym): Remove duplicate print.
1247 (gen_core): xfail hppa*-*-hpux*, update expected output.
1248 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
1249 * gdb.arch/pa64-nullify.s: New file.
1250
8f07f25a
RC
12512005-12-09 Randolph Chung <tausq@debian.org>
1252
1253 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
1254
55b39184
DJ
12552005-12-07 Christophe Lyon <christophe.lyon@st.com>
1256
1257 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
1258 code generation for these functions.
1259 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
1260 error message.
1261
31e2b00f
AS
12622005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
1263
1264 * gdb.base/help.exp (help b, help br, help bre, help brea)
1265 (help break): Update the expected message.
1266
c3d0b56e
SC
12672005-11-11 Stephane Carrez <stcarrez@nerim.fr>
1268
1269 * gdb.asm/m68hc11.inc: Setup the data section.
1270 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
1271 script for this test.
1272 (m6812-*-*): Likewise.
1273
36ae0ea9
RC
12742005-11-09 Randolph Chung <tausq@debian.org>
1275
1276 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
1277
9d6f42e9
WZ
12782005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
1279
1280 * gdb.base/break.exp: Fix a comment typo.
1281
e2126a14
EZ
12822005-11-03 Jim Blandy <jimb@redhat.com>
1283
1284 Checked in by Elena Zannoni <ezannoni@redhat.com>
1285
1286 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
1287
e0ac7199
CV
12882005-11-02 Corinna Vinschen <vinschen@redhat.com>
1289
1290 * gdb.arch/gdb1558.c: Include stdio.h.
1291
31d3fb18
MK
12922005-10-31 Mark Kettenis <kettenis@gnu.org>
1293
1294 * gdb.asm/asm-source.exp: Use -e instead of --entry.
1295
e52b687c
MK
12962005-10-31 Mark Kettenis <kettenis@gnu.org>
1297
1298 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
1299
f4711d79
PG
13002005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
1301
1302 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
1303 vscr" tests to better match output.
1304
987a9106
JB
13052005-10-12 Jim Blandy <jimb@redhat.com>
1306
1307 * gdb.base/structs.exp (any): New function.
1308 (test_struct_returns): Don't make any assumptions at all about
1309 what value the function returns when GDB can't set the return
1310 value.
1311
2336bb58
JB
13122005-10-09 Joel Brobecker <brobecker@adacore.com>
1313
1314 * gdb.ada/arrayidx/p.adb: New file.
1315 * gdb.ada/arrayidx.exp: New testcase
1316
13172005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
1318
1319 * gdb.ada/array_return/pck.ads: New file.
1320 * gdb.ada/array_return/pck.adb: New file.
1321 * gdb.ada/array_return/p.adb: New file.
1322 * gdb.ada/array_return.exp: New testcase.
1323
705335ea
JB
13242005-10-03 Joel Brobecker <brobecker@adacore.com>
1325
1326 * gdb.base/arrayidx.c: New file.
1327 * gdb.base/arrayidx.exp: New testcase.
1328
11ee9940
NR
13292005-09-29 Nick Roberts <nickrob@snap.net.nz>
1330
1331 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
1332 frames-invalid and breakpoints-invalid are no longer generated
1333 with level 3 so don't expect them in the output.
1334
39fb8e9e
BR
13352005-09-27 Bob Rossi <bob@brasko.net>
1336
1337 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
1338 from test. Escape the | in mi_gdb_test call.
1339 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
1340 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
1341 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
1342 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
1343 expected regex's in mi_gdb_test calls.
1344 * lib/mi-support.exp: Remove arbitrary .* from tests.
1345 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
1346 Fully anchor GDB/MI expected results in mi_gdb_test.
1347 * lib/gdb.exp (string_to_regexp): Escape the ] character.
1348 * gdb.base/sizeof.exp: Remove escape character. Correct test.
1349
2af48f68
PB
13502005-09-26 Paul Brook <paul@codesourcery.com>
1351
1352 * long_long.exp: Exclude eabi targets from arm FPA float format test.
1353
f34502bc
WZ
13542005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
1355
1356 * bfp-test.c: New file.
1357 * bfp-test.exp: New testcase.
1358
ca929517
WZ
13592005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
1360
1361 * gdb.fortran/subarray.exp: New testcase to test the evaluation
1362 of subarray and substring variable.
1363 * gdb.fortran/subarray.f: New source file for the test of subarray
1364 and substring variable evaluation.
1365 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
1366 of string constant.
1367
c761af65
DJ
13682005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
1369
1370 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
1371 copyright dates.
1372
561d7a1d
PG
13732005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
1374
1375 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
1376 powerpc altivec' test with an almost identical 'info vector' test.
1377
b2b64cc9
PG
13782005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
1379
1380 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
1381 vscr" tests to match output.
1382
6ac4d15a
PG
13832005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
1384
1385 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
1386 output.
1387
40e55bef
BR
13882005-09-11 Bob Rossi <bob@brasko.net>
1389
1390 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
1391 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
1392 commands that return an MI output command and an asyncronous MI output
1393 command.
1394 * gdb.mi/mi-console.exp: Ditto.
1395
3c7385ec
BR
13962005-09-11 Bob Rossi <bob@brasko.net>
1397
1398 * gdb.mi/mi-var-child.c: Include <string.h>.
1399
a6cd0eb3
DJ
14002005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
1401
1402 * killed.exp: Correct gdb_expect syntax.
1403
2f168eed
CV
14042005-08-09 Corinna Vinschen <vinschen@redhat.com>
1405
1406 * lib/mi-support.exp (mi_gdb_load): Fix typo.
1407
ecd3fd0f
BR
14082005-08-02 Bob Rossi <bob@brasko.net>
1409
1410 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
1411 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
1412 Change tests to inferior-tty-set/show.
1413 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
1414 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
1415 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
1416 inferior. Use mi_gdb_test to get GDB and Inferior output.
1417 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
1418 descriptor.
1419 (mi_inferior_tty_name): Add inferior PTY file name.
1420 (mi_gdb_start): Add INFERIOR_PTY parameter.
1421 (mi_gdb_test): Add IPATTERN parameter.
1422
f1ea48cb
BR
14232005-08-02 Bob Rossi <bob@brasko.net>
1424
1425 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
1426 parameter to mi_gdb_test.
1427 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
1428
6e650a67
DJ
14292005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
1430
1431 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
1432 struct_declarations.
1433 * gdb.mi/mi-var-child.exp: Step over the initialization of
1434 struct_declarations.
1435
8be260b6
DJ
14362005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
1437
1438 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
1439 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
1440 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
1441 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
1442 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
1443 file.
1444
4e660f07
NR
14452005-07-27 Nick Roberts <nickrob@snap.net.nz>
1446
1447 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
1448 (do_children_tests): Assign values to the extra elements.
1449
1450 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
1451 them for tests for "-var-update --no-values" and
1452 "-var-update --all-values".
1453 Add test for "-var-list-children --simple-values".
1454
1455 * gdb.mi/basics.c (callee4): Add integer array D[3]...
1456
1457 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
1458 "-stack-list-locals --simple-values" Improve doc strings and
1459 comments.
1460
6bdae935
MK
14612005-07-18 Mark Kettenis <kettenis@gnu.org>
1462
598b7a6f
MK
1463 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
1464 *-*-openbsd*.
1465 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
1466
6bdae935
MK
1467 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
1468 sigaltsatck'.
1469
1323e929
BR
14702005-07-14 Bob Rossi <bob@brasko.net>
1471
1472 * gdb.base/default.exp (tty): Changed output of command.
1473 * gdb.base/help.exp (help tty): Ditto.
1474
b1a9c082
MK
14752005-07-12 Mark Kettenis <kettenis@gnu.org>
1476
1477 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
1478
10a844a2
MK
14792005-07-10 Mark Kettenis <kettenis@gnu.org>
1480
1481 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
1482 -stack-select-frame without arguments.
1483 (test_stack_frame_listing): Add test for newly implemented command
1484 -stack-info-frame.
1485
3cb3b8df
BR
14862005-07-06 Bob Rossi <bob@brasko.net>
1487
1488 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
1489 command.
1490 (Copyright): Update copyright.
1491
a0c5fbcf
WZ
14922005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
1493
1494 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
1495 tests to evaluate exponentiation expression.
1496
984971d0
AS
14972005-06-29 Andreas Schwab <schwab@suse.de>
1498
1499 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
1500 main to avoid warnings.
1501
1502 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
1503
fe03833f
NR
15042005-06-20 Nick Roberts <nickrob@snap.net.nz>
1505
1506 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
1507 -stack-select-frame without arguments.
1508 (test_stack_frame_listing): Add test for newly implemented command
1509 -stack-info-frame.
1510
7a55f279
WZ
15112005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
1512
0ffa0ea5
DJ
1513 * gdb.fortran/array-element.f: New file.
1514 * gdb.fortran/array-element.exp: New testcase.
7a55f279 1515
26585198
DJ
15162005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1517
1518 * gdb.base/bigcore.exp: Correct checks for systems which can
1519 not dump a large core file.
1520
c1bd25fd
DJ
15212005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1522
1523 * gdb.base/relocate.c: Add a copyright notice.
1524 (dummy): Remove.
1525 * gdb.base/relocate.exp: Test printing the values of variables
1526 from a relocatable file.
1527
589e074d
DJ
15282005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
1529
1530 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
1531 excess MI output after an error.
1532
0915f927
JB
15332005-05-29 Joel Brobecker <brobecker@adacore.com>
1534
1535 * gdb.arch/alpha-step.c: New file.
1536 * gdb.arch/alpha-step.exp: New testcase.
1537
76ff342d
DJ
15382005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1539 Dennis Brueni <dennis@slickedit.com>
1540
1541 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
1542 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
1543 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
1544 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
1545 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
1546 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
1547 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
1548
96b0c7ac
DJ
15492005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
1550 Wu Zhou <woodzltc@cn.ibm.com>
1551
1552 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
1553 IBM's xlc compiler.
1554 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
1555 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
1556
f21565d2
JB
15572005-05-13 Jim Blandy <jimb@redhat.com>
1558
1559 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
1560 calling gdb_suppress_entire_file.
1561 * gdb.base/charset.exp: Same.
1562 * gdb.base/call-rt-st.exp: Same.
1563
6006a3a1
BR
15642005-05-05 Bob Rossi <bob_rossi@cox.net>
1565
1566 * lib/gdb.exp (fullname_syntax): Added global regex.
1567 (fullname_syntax_POSIX): Ditto.
1568 (fullname_syntax_UNC): Ditto.
1569 (fullname_syntax_DOS_CASE): Ditto.
1570 (fullname_syntax_DOS): Ditto.
1571 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
1572 fullname_syntax variable to scope and use it.
1573 (test_file_list_exec_source_files): Ditto.
1574 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
1575
c3b69c04
DJ
15762005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
1577
1578 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
1579
3c95e6af
PG
15802004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
1581
1582 * lib/gdb.exp (skip_altivec_tests): New function, based on
1583 check_vmx_hw_available from the GCC testsuite.
1584 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
1585 * lib/gdb.arch/altivec-regs.exp: Likewise.
1586
78df6c56
JB
15872005-05-02 Jim Blandy <jimb@redhat.com>
1588
1589 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
1590 calling gdb_suppress_entire_file.
1591
1690f9cf
DJ
15922005-04-30 Randolph Chung <tausq@debian.org>
1593
1594 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
1595 Slightly relax "sem_post" name checking.
1596
5ea106f7
PG
15972005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
1598
1599 * gdb.base/unload.exp: Use new shared library infrastructure.
1600
bf7234cf
PG
16012005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
1602
1603 * gdb.base/so-impl-ld.exp: Use new shared library
1604 infrastructure.
1605
547b869a
CV
16062005-04-29 Corinna Vinschen <vinschen@redhat.com>
1607
1608 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
1609 * gdb.asm/h8300.inc: New file.
1610
f07e55f0
PG
16112005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
1612
1613 * gdb.base/shlib-call.exp: Change to use new shared library
1614 infrastructure.
1615
3cbba3d1
PG
16162005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
1617
1618 * gdb.base/pending.exp: Change to use new shared library
1619 infrastructure.
1620
ed6df200
PG
16212005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
1622
1623 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
1624 use test_compiler_info instead of gcc_compiled, and update copyright.
1625
8c8f4ebe
PG
16262005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
1627
1628 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
1629 shared objects being adjusted and update copyright years.
1630
607fbc54
DJ
16312005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
1632
1633 * ChangeLog: Correct some 2003-01-13 dates.
1634 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
1635 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
1636 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
1637 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
1638 gdb.trace/tfind.exp: Update copyright years.
1639
57bf0e56
DJ
16402005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
1641 Daniel Jacobowitz <dan@codesourcery.com>
1642
1643 * lib/gdb.exp (gdb_compile): Handle shlib=.
1644 (gdb_compile_shlib): New function.
1645
9b593790
PG
16462005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
1647
1648 * lib/gdb.exp (test_compiler_info): Give argument a default value.
1649
9494c6a5
DJ
16502005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
1651
1652 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
1653 gdb.server.
1654 * configure.ac: Likewise.
1655 * configure: Regenerated.
1656 * gdb.gdbserver/Makefile.in: Moved to...
1657 * gdb.server/Makefile.in: ... here.
1658 * gdb.gdbserver/server.c: Moved to...
1659 * gdb.server/server.c: ... here.
1660 * gdb.gdbserver/server-run.exp: Moved to...
1661 * gdb.server/server-run.exp: ... here.
1662
6f8eac0e
DJ
16632005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
1664
1665 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
1666 * configure.ac: Create gdb.gdbserver/Makefile.
1667 * configure: Regenerated.
1668 * lib/gdbserver-support.exp: New file, derived from
1669 config/gdbserver.exp.
1670 * config/gdbserver.exp: Use gdbserver-support.exp.
1671 * gdb.gdbserver/Makefile.in: New file.
1672 * gdb.gdbserver/server.c: New file.
1673 * gdb.gdbserver/server-run.exp: New file.
1674
6e87504d
PG
16752005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
1676
1677 * lib/gdb.exp (test_compiler_info): Return compiler_info
1678 if no arguments are given.
1679
d1779be4
PG
16802005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
1681
1682 * gdb.arch/altivec-abi.exp: Check for compiler and set
1683 use altivec' flag accordingly.
1684 * gdb.arch/altivec-regs.exp: Likewise.
1685
88750304
DJ
16862005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1687
1688 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
1689
f3fb768d
AS
16902005-03-27 Andreas Schwab <schwab@suse.de>
1691
1692 * gdb.base/bigcore.c (main): Add missing mode argument in open
1693 call.
1694
7e813ac5
DJ
16952005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
1696
1697 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
1698 downloads.
1699 * config/gdbserver.exp (gdb_load): Likewise.
1700
8e3049aa
PB
17012005-03-14 Paul Brook <paul@codesourcery.com>
1702
1703 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
1704 targets.
1705
a9df7c44
JB
17062005-03-09 Joel Brobecker <brobecker@adacore.com>
1707
1708 * gdb.dwarf2/dup-psym.S: New file.
1709 * gdb.dwarf2/dup-psym.exp: New testcase.
1710
9f0d94e8
JB
17112005-03-09 Joel Brobecker <brobecker@adacore.com>
1712
1713 * gdb.ada/exec_changed/first.adb: New file.
1714 * gdb.ada/exec_changed/second.adb: New file.
1715 * gdb.ada/exec_changed.exp: New testcase.
1716
5f579bc5
NS
17172005-03-08 Nathan Sidwell <nathan@codesourcery.com>
1718
36e9969c
NS
1719 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
1720 (A2): New class.
1721 (main): Test operator+.
1722 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
1723 breakpoint test.
1724
5f579bc5
NS
1725 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
1726 * gdb.base/signull.exp: Disable if gdb,nosignals.
1727 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
1728 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
1729 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
1730 * gdb.mi/mi2-console.exp: Likewise.
1731 * gdb.trace/collection.exp (run_trace_experiment): Consume the
1732 continue output at start.
1733 (gdb_collect_locals_test): Robustify regexp.
1734 * gdb.trace/passc-dyn.exp: Fix comment typo.
1735 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
1736
be46087e
CV
17372005-03-08 Corinna Vinschen <vinschen@redhat.com>
1738
1739 * gdb.asm/asm-source.exp: Add iq2000 case.
1740 * gdb.asm/iq2000.inc: New file.
1741
384e1a61
MI
17422005-03-07 Manoj Iyer <manjo@austin.ibm.com>
1743
1744 * gdb.base/command.exp: Change hardcoded value to regular expression.
1745 * gdb.base/float.exp: Add powerpc to the list of targets checked.
1746
584b6e9e
DJ
17472005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
1748
1749 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
1750 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
1751 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
1752 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
1753 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
1754
ab5b5d61
MK
17552005-03-05 Mark Kettenis <kettenis@gnu.org>
1756
1757 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
1758 changes.
1759
ae051c1b
PG
17602004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
1761
1762 * lib/compiler.c: Add test for IBM's xlc compiler.
1763 * lib/compiler.cc: Likewise.
1764
3f0f6ed2
JB
17652004-02-24 Joel Brobecker <brobecker@adacore.com>
1766
1767 * gdb.ada/fixed_points.exp: Create compilation object directory
1768 before running the test.
1769 * gdb.ada/null_record.exp: Likewise.
1770 * gdb.ada/packed_array.exp: Likewise.
1771 * gdb.ada/start.exp: Likewise.
1772
724f452b
JB
17732005-02-15 Joel Brobecker <brobecker@adacore.com>
1774
1775 * gdb.ada/packed_array/pa.adb: New file.
1776 * gdb.ada/packed_array.exp: New testcase.
1777
57f5cdfb 17782005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 1779
1f393151
MK
1780 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
1781 files.
1782
ebdda337
MK
1783 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
1784 on *-*-openbsd*. Correctly match whitespace in regukar
1785 expressions.
1786
cf309262
DJ
17872005-02-10 Daniel Jacobowitz <dan@debian.org>
1788
1789 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
1790 PR exp/1821
1791 * gdb.base/gdb1821.c: New test file.
1792 * gdb.base/gdb1821.exp: New test file.
1793
3be49e7a
JB
17942005-02-09 Joel Brobecker <brobecker@adacore.com>
1795
1796 * gdb.base/start.c: New file.
1797 * gdb.base/start.exp: New testcase.
1798
e292e67d
JB
17992005-02-09 Joel Brobecker <brobecker@adacore.com>
1800
1801 * gdb.ada/start/dummy.adb: New file.
1802 * gdb.ada/start.exp: New testcase.
1803
dbdfa66c
CV
18042005-02-09 Corinna Vinschen <vinschen@redhat.com>
1805
1806 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
1807 for printing symbols and statistics.
1808 Add test for using relative pathnames in "maint print msymbols" test.
1809 Mark "maint info sections DATA" XFAIL on Cygwin.
1810 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
1811 tests.
1812
d7941671
AC
18132005-02-09 Andreas Schwab <schwab@suse.de>
1814
1815 Committed by Andrew Cagney <cagney@gnu.org>
1816 * gdb.base/remotetimeout.exp: New file.
1817
74e5ef44
MK
18182005-02-07 Mark Kettenis <kettenis@gnu.org>
1819
1820 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
1821
464dd14d
JB
18222005-02-03 Joel Brobecker <brobecker@adacore.com>
1823
1824 * gdb.ada/gnat_ada.gpr: New file.
1825 * gdb.ada/gnat_ada.gin: Delete, no longer used.
1826 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
1827 * configure.ac: No longer generate gnat_ada.gpr.
1828 * configure: Regenerate.
1829 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
1830 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
1831 * gdb.ada/null_record/bar.ads: Likewise.
1832 * gdb.ada/null_record/bar.adb: Likewise.
1833 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
1834 * gdb.ada/null_record.exp (testdir): New variable.
1835 (testfile): executable is now in testdir subdirectory.
1836 (srcfile): Use full path to the main compilation unit.
1837 * gdb.ada/fixed_points.exp: Same changes as above.
1838
30d756ae
NR
18392005-02-03 Nick Roberts <nickrob@snap.net.nz>
1840
1841 * gdb.base/interp.exp: New test.
1842
9d799f85
AC
18432005-01-24 Andrew Cagney <cagney@gnu.org>
1844
1845 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
1846
15656118
AC
18472005-01-19 Andrew Cagney <cagney@gnu.org>
1848
a892c31b
AC
1849 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
1850 configure.ac not configure.in.
1851
15656118
AC
1852 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
1853 of powerpc*-*-*.
1854 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
1855 * gdb.base/list.exp (test_list_function)
1856 (test_list_filename_and_function): Ditto.
1857 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
1858
a7b01baf
AC
18592005-01-16 Andrew Cagney <cagney@gnu.org>
1860
17d92a02
AC
1861 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
1862
a7b01baf
AC
1863 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
1864
bc8332bb
AC
18652005-01-14 Andrew Cagney <cagney@gnu.org>
1866
1867 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
1868 * gdb.mi/mi2-var-cmd.exp: Ditto.
1869
4d074752
CV
18702005-01-10 Corinna Vinschen <vinschen@redhat.com>
1871
1872 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
1873
bec39cab
AC
18742005-01-07 Andrew Cagney <cagney@gnu.org>
1875
1876 * configure.ac: Rename configure.in, require autoconf 2.59.
1877 * configure: Re-generate.
1878 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
1879 * gdb.stabs/configure: Re-generate.
1880 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
1881 * gdb.hp/configure: Re-generate.
1882 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
1883 autoconf 2.59.
1884 * gdb.hp/gdb.objdbg/configure: Re-generate.
1885 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
1886 autoconf 2.59.
1887 * gdb.hp/gdb.defects/configure: Re-generate.
1888 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
1889 autoconf 2.59.
1890 * gdb.hp/gdb.compat/configure: Re-generate.
1891 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
1892 autoconf 2.59.
1893 * gdb.hp/gdb.base-hp/configure: Re-generate.
1894 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
1895 autoconf 2.59.
1896 * gdb.hp/gdb.aCC/configure: Re-generate.
1897
f10b16d4
JB
18982004-12-15 Jim Blandy <jimb@redhat.com>
1899
1900 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
1901 under NPTL when there is debugging info available for libpthread.
1902
fb6e1814
JG
19032004-12-13 Jerome Guitton <guitton@gnat.com>
1904
1905 * gdb.ada/fixed_points.c: New file.
1906 * gdb.ada/fixed_points.exp: New file.
1907
fe46cd3a
RC
19082004-12-03 Randolph Chung <tausq@debian.org>
1909
1910 * gdb.arch/pa-nullify.exp: New file.
1911 * gdb.arch/pa-nullify.s: New file.
1912
8de0841b
RC
19132004-11-30 Randolph Chung <tausq@debian.org>
1914
1915 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
1916 instead of "tbug". Fix regexp to work properly with gdb_test.
1917
c8170782
PH
19182004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
1919
1920 * gdb.base/bitfields2.exp: New test.
1921 * gdb.base/bitfields2.c: New file.
1922
954269c2
RE
19232004-11-28 Richard Earnshaw <rearnsha@arm.com>
1924
1925 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
1926
0107feed
RC
19272004-11-16 Randolph Chung <tausq@debian.org>
1928
1929 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
1930
f073ae8c
DJ
19312004-11-14 Daniel Jacobowitz <dan@debian.org>
1932
1933 * gdb.threads/threadapply.exp: Correct "macro details" test.
1934
19ad59e7
JJ
19352004-11-11 Jeff Johnston <jjohnstn@redhat.com>
1936
1937 * gdb.threads/threadapply.exp: New test.
1938 * gdb.threads/threadapply.c: New file.
1939
9cf0961b
MK
19402004-11-07 Mark Kettenis <kettenis@gnu.org>
1941
1942 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
1943 frames.
1944
c789492a
FL
19452004-11-05 Felix Lee <felix+log1@specifixinc.com>
1946
1947 * gdb.base/cursal.exp: New file.
1948 * gdb.base/cursal.c: New file.
1949
a1e167bb
AC
19502004-11-03 Andrew Cagney <cagney@gnu.org>
1951
1952 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
1953
b7cbf173
MK
19542004-10-30 Mark Kettenis <kettenis@gnu.org>
1955
1956 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
1957 NetBSD/ELF targets.
1958
88f9d34f
JB
19592004-10-29 Joel Brobecker <brobecker@gnat.com>
1960
1961 * gdb.threads/bp_in_thread.c: New file, copied from
1962 pthread_cond_wait.c.
1963 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
1964 file, rather than reusing the .c file from another testcase.
1965
ca7d6a0c
JB
19662004-10-20 Joel Brobecker <brobecker@gnat.com>
1967
1968 * gdb.ada/null_record.exp: Check where we stopped after
1969 sending the start command, instead of where the associated
1970 temporary breakpoint was inserted.
1971
0d863d03
AC
19722004-10-14 Andrew Cagney <cagney@gnu.org>
1973
1974 * gdb.mi/gdb701.c (main): Return 0.
1975
d11e72cb
DJ
19762004-10-13 Daniel Jacobowitz <dan@debian.org>
1977
d40539a4 1978 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 1979
e1923096
JJ
19802004-10-12 Jeff Johnston <jjohnstn@redhat.com>
1981
1982 * gdb.threads/schedlock.c: Add comment markers to use to find
1983 line numbers.
1984 * gdb.threads/schedlock.exp: Adjust regex to handle the new
1985 comments.
1986 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
1987 breakpoint lines.
1988
ec8ba2c9
DJ
19892004-10-12 Daniel Jacobowitz <dan@debian.org>
1990
1991 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
1992
0eb3658b
DJ
19932004-10-12 Daniel Jacobowitz <dan@debian.org>
1994
1995 * configure.in: Add gdb.dwarf2.
1996 * configure: Regenerated.
1997 * Makefile.in: Add gdb.dwarf2.
1998 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
1999 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
2000 gdb.dwarf2/file1.txt: New files.
2001
a271cc33
OF
20022004-10-11 Orjan Friberg <orjanf@axis.com>
2003
2004 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
2005 of "run", since the latter doesn't work with remote targets. Adjust
2006 the breakpoint numbering accordingly.
2007 * gdb.threads/pthread_cond_wait.exp: Ditto.
2008
895ce074
MC
20092004-10-08 Michael Chastain <mec.gnu@mindspring.com>
2010
2011 * gdb.base/overlays.exp: Update copyright years.
2012
6be3092d
KI
20132004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
2014
2015 * gdb.base/overlays.exp: Disable if target is Linux.
2016
e05389b8
FL
20172004-10-06 Felix Lee <felix+log1@specifixinc.com>
2018
2019 * config/gdbserver.exp (gdb_load): Use right filename on remote.
2020
73cb587d
KI
20212004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
2022
2023 * gdb.asm/asm-source.exp: Add m32r-linux target.
2024 * gdb.asm/m32r-linux.inc: New file.
2025
3c0edcdc
AC
20262004-09-24 Andrew Cagney <cagney@redhat.com>
2027 David Anderson <anderson@redhat.com>
2028
2029 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
2030 command fails, assume things will work.
2031 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
2032 (_GNU_SOURCE): Define.
2033 (print_unsigned, print_hex): Change parameter to "long long".
2034 (print_byte_count): New function, use to print byte counts.
2035 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
2036 O_LARGEFILE.
2037 (main): Compute an upper bound on a corefile in max_core_size.
2038 Limit memory chunk size to max_core_size. Limit total memory
2039 allocated to max_core_size.
2040
4bb3667f
AC
20412004-09-23 Andrew Cagney <cagney@gnu.org>
2042
2043 * gdb.base/bigcore.exp: Replace the code that creates a corefile
2044 from a separate process with code that creates a corefile by
2045 making the inferior dump core.
2046
60fe1a51
MK
20472004-09-23 Mark Kettenis <kettenis@gnu.org>
2048
2049 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
2050 block.
2051
8e937346
MC
20522004-09-23 Michael Chastain <mec.gnu@mindspring.com>
2053
2054 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
2055 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
2056 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
2057 Likewise.
2058
7213f6d6
JJ
20592004-09-20 Jeff Johnston <jjohnstn@redhat.com>
2060
2061 * gdb.java/jprint.exp: New test case for java inferior call.
2062 * gdb.java/jprint.java: Ditto.
2063
eac69dca
JB
20642004-09-15 Joel Brobecker <brobecker@gnat.com>
2065
2066 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
2067
22227696
MC
20682004-09-14 Michael Chastain <mec.gnu@mindspring.com>
2069
2070 * gdb.threads/killed.c: Include <stdlib.h>.
2071 * gdb.threads/pthreads.c: Likewise.
2072
7dd403a4
MC
20732004-09-14 Michael Chastain <mec.gnu@mindspring.com>
2074
2075 * gdb.threads/killed.c: Add copyright notice.
2076
33f2d567
JM
20772004-09-10 Jason Molenda (jmolenda@apple.com)
2078
2079 * gdb.base/define.exp: Two new tests to verify zero space chars
2080 after 'if' and 'while' commands in a user-defined command is correctly
2081 parsed.
2082
e05b62ac
AC
20832004-09-08 Andrew Cagney <cagney@gnu.org>
2084
2085 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
2086 delivery test with duplicate at end of file.
2087
9cbe82da
MK
20882004-09-06 Mark Kettenis <kettenis@jive.nl>
2089
2090 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
2091
564803d9
MC
20922004-09-05 Michael Chastain <mec.gnu@mindspring.com>
2093
2094 * config/hppro.exp: Removed.
2095
7c6807ce
MC
20962004-09-05 Michael Chastain <mec.gnu@mindspring.com>
2097
2098 * config/sparclet.exp: Removed.
2099
bf7e26dd
MC
21002004-09-05 Michael Chastain <mec.gnu@mindspring.com>
2101
2102 * config/udi.exp: Removed.
2103
714e341b
MC
21042004-09-02 Michael Chastain <mec.gnu@mindspring.com>
2105
2106 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
2107 of "exp_continue".
2108 (advancei): Likewise.
2109
1236e623
JJ
21102004-09-01 Jeff Johnston <jjohnstn@redhat.com>
2111
2112 * gdb.base/unload.exp: Fix so messages aren't duplicated.
2113
3bdcad15
MI
21142004-09-01 Manoj Iyer <manjo@austin.ibm.com>
2115
228af206 2116 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
2117 to check for nodebug in executable.
2118 * gdb.gdb/observer.exp (setup_test): Likewise.
2119 * gdb.gdb/selftest.exp (test_with_self): Likewise.
2120 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
2121
c72b934c
AC
21222004-09-01 Andrew Cagney <cagney@gnu.org>
2123
2124 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
2125 files.
2126
edd9b715
JJ
21272004-09-01 Jeff Johnston <jjohnstn@redhat.com>
2128
2129 * gdb.base/unload.exp: Fix expected warning message to match
2130 latest format.
2131
fb4ce06b
CV
21322004-09-01 Corinna Vinschen <vinschen@redhat.com>
2133
2134 * gdb.base/call-rt-st.exp: Fix typos.
2135
ce78e7c3
MI
21362004-08-31 Manoj Iyer <manjo@austin.ibm.com>
2137
2138 * gdb.threads/thread_check.exp: New testcase.
2139 * gdb.threads/thread_check.c: New testcase.
2140
2dedb159
AC
21412004-08-31 Andrew Cagney <cagney@gnu.org>
2142
2143 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
2144 (skip_to_handler_entry): New procedures. Test stepping into a
2145 handler when the breakpoint is at the handler's entry point.
2146
68f53502
AC
21472004-08-30 Andrew Cagney <cagney@gnu.org>
2148
2149 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
2150 gdb/1757.
2151
3e3ffd2b
MC
21522004-08-27 Michael Chastain <mec.gnu@mindspring.com>
2153
2154 With code from Manoj Iyer <manjo@austin.ibm.com>:
2155 * lib/gdb.exp (gdb_file_cmd): Return more information in the
2156 return value. Add an arm for "no debugging symbols found".
2157 Change a stray "error" to "perror".
2158 (gdb_run_cmd): Adapt to new return value.
2159 * gdb.base/remote.exp: Adapt to new return value.
2160 * gdb.gdb/complaints.exp: Likewise.
2161 * gdb.gdb/observer.exp: Likewise.
2162 * gdb.gdb/selftest.exp: Likewise.
2163 * gdb.gdb/xfullpath.exp: Likewise.
2164
4b6f5fd2
JB
21652004-08-27 Joel Brobecker <brobecker@gnat.com>
2166
2167 * gdb.threads/bp_in_thread.exp: New testcase.
2168
e5b25496
MC
21692004-08-27 Michael Chastain <mec.gnu@mindspring.com>
2170
2171 Fix PR testsuite/1735.
2172 * gdb.threads/schedlock.c (thread_function): Add a cast
2173 to suppress a gcc warning.
2174 * gdb.threads/thread-specific.c (thread_function): Likewise.
2175
934353d6
MC
21762004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2177
2178 * gdb.base/unload.c: Include <stdlib.h>.
2179
f98a0aef 21802004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 2181
f98a0aef 2182 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
2183 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
2184 synchronized after the "return".
2185
5a2e8882
MC
21862004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2187
2188 * gdb.mi/basics.c: Include <stdio.h>.
2189 * gdb.mi/pthreads.c: Include <stdlib.h>.
2190 * gdb.mi/var-cmd.c: Include <stdlib.h>.
2191
a9640423
MC
21922004-08-26 Michael Chastain <mec.gnu@mindspring.com>
2193
2194 * gdb.threads/schedlock.c: Add copyright notice.
2195
b04e311d
AC
21962004-08-25 Andrew Cagney <cagney@gnu.org>
2197
2198 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
2199 (skip_over_handler, breakpoint_over_hander): New test procedures.
2200 (advance, advancei): Add a proper prefix, do not use
2201 rerun_to_main.
2202 * gdb.base/sigstep.c (main): Change to use an infinite loop.
2203
7c27f15b
MC
22042004-08-24 Michael Chastain <mec.gnu@mindspring.com>
2205
2206 * gdb.mi/basics.c: Add copyright notice.
2207 * gdb.mi/var-cmd.c: Add copyright notice.
2208
fffc87ae
MC
22092004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2210
2211 * lib/gdb.exp: Remove signed_keyword_not_used.
2212 * lib/compiler.c: Likewise.
2213 * lib/compiler.cc: Likewise.
2214
d782e0bf
MC
22152004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2216
2217 * gdb.base/whatis.c: Remove conditional disabling of "signed".
2218 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
2219
96033e83
MC
22202004-08-23 Michael Chastain <mec.gnu@mindspring.com>
2221
2222 * gdb.base/whatis.c: Add copyright notice.
2223
cf38c229
MK
22242004-08-20 Mark Kettenis <kettenis@gnu.org>
2225
2226 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
2227 it to skip the breakpoints encoded in the inline assembly.
2228
f4b49756
MC
22292004-08-20 Michael Chastain <mec.gnu@mindspring.com>
2230
2231 * Makefile.in: Add gdb.fortran.
2232
2f193b69
MC
22332004-08-20 Michael Chastain <mec.gnu@mindspring.com>
2234
2235 * gdb.base/call-sc.exp (test_scalar_returns):
2236 Fix cut-and-paste glitch in "Make fun return now".
2237
89a237cb
MC
22382004-08-17 Michael Chastain <mec.gnu@mindspring.com>
2239
2240 * configure.in: Add gdb.fortran.
2241 * configure: Regenerate.
2242 * gdb.fortran/Makefile.in: New file.
2243 * lib/gdb.exp (skip_fortran_tests): New procedure.
2244
469aff8e
MC
22452004-08-17 Michael Chastain <mec.gnu@mindspring.com>
2246
2247 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
2248 reference to bug-gnu@prep.ai.mit.edu.
2249 * gdb.mi/mi-var-child.exp: Likewise.
2250 * gdb.mi/mi-var-cmd.exp: Likewise.
2251 * gdb.mi/mi-var-display.exp: Likewise.
2252 * gdb.mi/mi2-var-block.exp: Likewise.
2253 * gdb.mi/mi2-var-child.exp: Likewise.
2254 * gdb.mi/mi2-var-cmd.exp: Likewise.
2255 * gdb.mi/mi2-var-display.exp: Likewise.
2256
00b51b9f
MK
22572004-08-15 Mark Kettenis <kettenis@gnu.org>
2258
2259 * gdb.base/unload.c (main): Make local variable msg const.
2260
45f07fef
MC
22612004-08-15 Michael Chastain <mec.gnu@mindspring.com>
2262
2263 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
2264 to bug-gnu@prep.ai.mit.edu.
2265 * gdb.mi/mi-disassemble.exp: Likewise.
2266 * gdb.mi/mi-eval.exp: Likewise.
2267 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
2268 default line number.
2269 * gdb.mi/mi-return.exp: Likewise.
2270 * gdb.mi/mi-simplerun.exp: Likewise.
2271 * gdb.mi/mi-stack.exp: Likewise.
2272 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
2273 number with explicit range test.
2274 * gdb.mi/mi-watch.exp: Likewise.
2275 * gdb.mi/mi2-break.exp: Likewise.
2276 * gdb.mi/mi2-cli.exp: Likewise.
2277 * gdb.mi/mi2-disassemble.exp: Likewise.
2278 * gdb.mi/mi2-eval.exp: Likewise.
2279 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
2280 default line number.
2281 * gdb.mi/mi2-return.exp: Likewise.
2282 * gdb.mi/mi2-simplerun.exp: Likewise.
2283 * gdb.mi/mi2-stack.exp: Likewise.
2284 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
2285 number with explicit range test.
2286 * gdb.mi/mi2-watch.exp: Likewise.
2287
dd8c8ee7
MC
22882004-08-15 Michael Chastain <mec.gnu@mindspring.com>
2289
2290 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
2291 * gdb.cp/m-static.exp: Likewise.
2292 * gdb.cp/rtti.exp: Likewise.
2293
4e838464
MK
22942004-08-14 Mark Kettenis <kettenis@gnu.org>
2295
2296 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
2297
8d8cb839
EZ
22982004-08-14 Eli Zaretskii <eliz@gnu.org>
2299
2300 * ChangeLog: Prefix Local Variables with semi-colons and indent
2301 the reference to older ChangeLog files, to fix fontification in
2302 Emacs.
2303
deea8bb0
MC
23042004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2305
2306 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
2307 * gdb.mi/mi2-break.exp: Likewise.
2308
c3297504
MC
23092004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2310
2311 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
2312
25808999
MC
23132004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2314
2315 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
2316
226a8d71
MC
23172004-08-13 Michael Chastain <mec.gnu@mindspring.com>
2318
2319 * gdb.cp/classes.exp: Remove unused declarations. Just let
2320 test names default instead of providing special names. Remove
2321 extraneous demangler test.
2322
37fdf854
JJ
23232004-08-12 Jeff Johnston <jjohnstn@redhat.com>
2324
2325 * gdb.base/unload.exp: New test for breakpoints in dynamically
2326 loaded libraries.
2327 * gdb.base/unload.c: Ditto.
2328 * gdb.base/unloadshr.c: Ditto.
2329
2d3a7986
MC
23302004-08-12 Michael Chastain <mec.gnu@mindspring.com>
2331
2332 * gdb.cp/classes.exp (test_ptype_class_objects): Call
2333 cp_test_ptype_class.
2334 (test_enums): Likewise.
2335
c72b934c
AC
23362004-08-10 Andrew Cagney <cagney@gnu.org>
2337
2338 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
2339 files.
2340
cc503c8a
AC
23412004-08-10 Andrew Cagney <cagney@gnu.org>
2342
2343 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
2344 init_malloc call.
2345
902f2ccb
MC
23462004-08-10 Michael Chastain <mec.gnu@mindspring.com>
2347
2348 * ChangeLog: Add copyright notice. The notice is copied
2349 from emacs 21.3 top level ChangeLog.
2350
78c90502
MC
23512004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2352
2353 * lib/cp-support.exp: New file.
2354 * lib/cp-support.exp (cp_test_type_class): New function.
2355 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
2356 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
2357 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
2358 cp_test_ptype_class.
2359
88e5ea78
MC
23602004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2361
2362 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
2363 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
2364 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
2365 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
2366 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
2367 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
2368 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
2369 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
2370 gdb.mi/mi2-watch.exp: Update copyright years.
2371
6a89fc9c
MK
23722004-08-09 Mark Kettenis <kettenis@gnu.org>
2373
2374 * gdb.base/sigaltstack.exp: Provide proper anchoring.
2375
1482e0de
MC
23762004-08-09 Michael Chastain <mec.gnu@mindspring.com>
2377
2378 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
2379 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
2380 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
2381 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
2382 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
2383 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
2384 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
2385 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
2386 gdb.mi/mi-watch.exp: Update copyright years.
2387
1a5ce3f3
DJ
23882004-08-08 Daniel Jacobowitz <dan@debian.org>
2389
2390 PR gdb/1738
2391 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
2392 from a breakpoint with a pending signal.
2393
04f6ecf2
DJ
23942004-08-08 Daniel Jacobowitz <dan@debian.org>
2395
2396 PR gdb/1736
2397 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
2398 * gdb.base/sigaltstack.exp (finish_test): Consume output until
2399 the prompt.
2400 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
2401
54d90d35
DJ
24022004-08-08 Daniel Jacobowitz <dan@debian.org>
2403
2404 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
2405
d2f6abb0
DJ
24062004-08-08 Daniel Jacobowitz <dan@debian.org>
2407
2408 PR gdb/1736
2409 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
2410 for i?86-*-linux*.
2411
5598c03d
DJ
24122004-08-08 Daniel Jacobowitz <dan@debian.org>
2413
2414 * gdb.arch/i386-prologue.exp: Compile without debug information.
2415
c6fee705
MC
24162004-08-08 Michael Chastain <mec.gnu@mindspring.com>
2417
2418 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
2419 rather than asking gdb to search.
2420
dd90efdb
MC
24212004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2422
2423 * gdb.base/gcore.c: Include <string.h>.
2424
1e84bec1
MC
24252004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2426
2427 * gdb.base/gcore.c: Add copyright notice.
2428
e425eb2b
MC
24292004-08-05 Michael Chastain <mec.gnu@mindspring.com>
2430
2431 * gdb.base/freebpcmd.c: Include <stdio.h>.
2432 * gdb.base/long_long.c: Include <string.h>.
2433 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
2434 * gdb.base/siginfo.c: Include <string.h>.
2435 * gdb.base/sigstep.c: Include <string.h>.
2436
cb9aaed5
MC
24372004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2438
2439 * gdb.base/complex.c: Include <stdlib.h>.
2440
55944f3d
MC
24412004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2442
2443 * gdb.base/complex.c: Add copyright notice.
2444
7b2953d9
MC
24452004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2446
2447 * gdb.base/charset.c: Include <stdlib.h>.
2448
c9133d23
MC
24492004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2450
2451 * gdb.base/auxv.c: Include <stdlib.h>.
2452
0a8490ad
MC
24532004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2454
2455 * gdb.base/auxv.c: Add copyright notice.
2456
3426d5ec
MC
24572004-08-04 Michael Chastain <mec.gnu@mindspring.com>
2458
2459 * gdb.base/coremaker.c: Add copyright notice.
2460 * gdb.base/coremaker2.c: Add copyright notice.
2461
8da195dd
AC
24622004-08-04 Andrew Cagney <cagney@gnu.org>
2463
2464 * gdb.base/store.exp: Update copyright.
2465 (check_set, up_set, check_struct, up_struct): Add a prefix to test
2466 names, do not import gdb_prompt.
2467
8d394f98
AC
24682004-08-01 Andrew Cagney <cagney@gnu.org>
2469
2470 Fix PR testsuite/1729.
2471 * gdb.base/dump.exp: Add test name to callers of capture_value, do
2472 not use capture_value with value 4.
2473 (capture_value): Add optional test name parameter.
2474 (test_reload_saved_value, test_restore_saved_value): Use $msg as
2475 the prefix, pass to capture_value.
2476
b6702b23
MK
24772004-08-01 Mark Kettenis <kettenis@gnu.org>
2478
2479 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
2480 * gdb.arch/i386-prologue.c (standard): New prototype and function.
2481 (main): Call new function.
2482
c203e0ca
MC
24832004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2484
2485 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
2486
a7995a30
MC
24872004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2488
2489 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
2490
9366563b
MC
24912004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2492
b6eeaf26 2493 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
2494 Accept more values of vtbl pointer. Remove some messages
2495 about "obsolete gcc or gdb".
2496
2fc1f950
MC
24972004-07-30 Michael Chastain <mec.gnu@mindspring.com>
2498
2499 * gdb.cp/classes.exp: Accept more varieties of ptype output.
2500
c724d49b
MC
25012004-07-30 Michael Chastain <mec.gnu@mindspring.com>
2502
2503 * gdb.base/asm-source.exp: Properly convert target board
2504 debug flags from gcc format to binutils format.
2505
736b0fce
MK
25062004-07-28 Mark Kettenis <kettenis@gnu.org>
2507
2508 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
2509 gdb1718". PR backtrace/1718 partially fixed.
2510
5633ea5c
JJ
25112004-07-27 Jeff Johnston <jjohnstn@redhat.com>
2512
2513 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
2514
575eebb1
NC
25152004-07-26 Nick Clifton <nickc@redhat.com>
2516
2517 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
2518 good default value for a specific architecture is available then
2519 set it to that value. Otherwise default to the -gstabs switch.
2520 Remove the -g... switches from the asm-flags variable. Allow the
2521 target board info to override the value if it wants to. Pass the
2522 switch on the assembler command line.
2523
62104619
MK
25242004-07-23 Mark Kettenis <kettenis@gnu.org>
2525
2526 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
2527 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
2528 (main): Call new function.
2529
4a1135b8
MC
25302004-07-22 Michael Chastain <mec.gnu@mindspring.com>
2531
2532 Test for PR exp/1715.
2533 * gdb.base/radix.exp: Refactor common procedures. Make all
2534 test names unique. Change XFAIL to KFAIL.
2535
8a12c1f0
MC
25362004-07-20 Michael Chastain <mec.gnu@mindspring.com>
2537
2538 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
2539 * gdb.ada/gnat_ada.gin: ... to here.
2540 * configure.in: Use gnat_ada.gin.
2541 * configure: Regenerate.
2542
23b451cf
AC
25432004-07-20 Andrew Cagney <cagney@gnu.org>
2544
2545 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
2546 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
2547 XFAILs. Clean up test messages and comments. Check backtraces.
2548 Delete re-sync code.
2549
ab618a02
MC
25502004-07-19 Michael Chastain <mec.gnu@mindspring.com>
2551
2552 Fix PR cli/740.
2553 * gdb.base/annota1.exp: Honor gdb,nosignals.
2554 * gdb.base/annota3.exp: Likewise.
2555
46dad340
MC
25562004-07-19 Michael Chastain <mec.gnu@mindspring.com>
2557
2558 * lib/java.exp: Update copyright notice.
2559
756d8c70
AC
25602004-07-19 Andrew Cagney <cagney@gnu.org>
2561
2562 * gdb.base/selftest.exp: Copy file from here ...
2563 * gdb.gdb/selftest.exp: ... to here.
2564
586027e6
AC
25652004-07-16 Andrew Cagney <cagney@redhat.com>
2566
2567 * lib/insight-support.exp: Delete file.
2568 * lib/java.exp (java_init): Fix copyright.
2569
029d2200
AC
25702004-07-16 Andrew Cagney <cagney@gnu.org>
2571
2572 * gdb.base/restore.c: Append "prologue" to comments marking the a
2573 function's prologue.
2574 * gdb.base/restore.exp: Update copyright, re-indent.
2575 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
2576 callerN" prefix where needed. Update patterns that match a
2577 function's prologue.
2578
653b62c5
MC
25792004-07-16 Michael Chastain <mec.gnu@mindspring.com>
2580
2581 * gdb.base/restore.c: Add copyright notice.
2582
f7d690e5
AC
25832004-07-16 Andrew Cagney <cagney@gnu.org>
2584
2585 * gdb.base/logical.exp: Update copyright.
2586 (evaluate): New procedure. Use to re-implement tests using
2587 several tables.
2588
d629a7cb
MH
25892004-07-14 Martin Hunt <hunt@redhat.com>
2590
2591 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
2592 which fixes some problems where init.tcl was not found.
2593
9c7bb332
AC
25942004-07-13 Andrew Cagney <cagney@gnu.org>
2595
6bf46641
AC
2596 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
2597 (check_sizeof, check_valueof): Do not include the output in the
2598 test name. Use gdb_test.
2599 (get_valueof): Use gdb_test_multiple.
2600
c4ffd4c0
AC
2601 * gdb.base/step-test.exp: Update copyright. Use
2602 gdb_test_multiple. Ensure that test names do not include
2603 architecture dependent output.
2604
ab89363a
AC
2605 * gdb.gdb/observer.exp: Update copyright.
2606 (setup_test): Use gdb_test_multiple.
2607 (attach_first_observer, attach_second_observer)
2608 (attach_third_observer, detach_first_observer)
2609 (detach_second_observer, detach_third_observer)
2610 (reset_counters, check_counters): Make $message a prefix.
2611 (test_normal_stop_notifications): Add "args" parameter - a list of
2612 init functions to be called. Make $message a prefix,
2613 (test_observer_normal_stop): Change the message prefixes so that
2614 they are unique, pass the attach / detach procedures to
2615 test_normal_stop_notifications.
2616
ec58997a
AC
2617 * gdb.base/signull.exp (test_segv): Prefix all tests with
2618 "${name}". Clean up test messages.
2619
b475183b
AC
2620 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
2621
9c7bb332
AC
2622 * gdb.base/ena-dis-br.exp: Update copyright.
2623 (break_at): New function. Replace send_gdb with gdb_test,
2624 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
2625 ignore count, not stopped at bpt", with KFAIL.
2626
2dd95497
CV
26272004-07-13 Corinna Vinschen <vinschen@redhat.com>
2628
2629 * gdb.base/attach.exp: Remove cleanupfile handling.
2630
419e626b
AC
26312004-07-12 Andrew Cagney <cagney@gnu.org>
2632
2633 * gdb.base/annota1.exp: Cleanup corefile test name.
2634 * gdb.base/annota3.exp: Ditto.
2635
8b1b3228
AC
26362004-07-12 Andrew Cagney <cagney@gnu.org>
2637
78650829
AC
2638 * gdb.base/signals.exp: Clean up copyright, re-indent.
2639
8b1b3228
AC
2640 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
2641 gdb_test and gdb_test_multiple.
2642
935c2760
JJ
26432004-07-08 Jeff Johnston <jjohnstn@redhat.com>
2644
2645 * gdb.java/jmain.exp: Fix expected line number for main to
2646 break at. Set XFAIL for break at main test since gcj does not
2647 provide line number info for first statement in main.
2648
1544280f
AC
26492004-07-08 Andrew Cagney <cagney@gnu.org>
2650
1279f4ff
AC
2651 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
2652
1544280f
AC
2653 * gdb.base/sigbpt.exp: Make the common part of each test name a
2654 prefix instead of suffix.
2655
bcc82369
BR
26562004-07-07 Bob Rossi <bob_rossi@cox.net>
2657
2658 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
2659 test from test_tbreak_creation_and_listing to
2660 test_file_list_exec_source_file
2661 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
2662 Changed name of test from test_tbreak_creation_and_listing to
2663 test_file_list_exec_source_file
2664
23f4b0aa
JJ
26652004-07-07 Jeff Johnston <jjohnstn@redhat.com>
2666
2667 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
2668 the jmisc() constructor instead of <init>.
2669 * gdb.java/jmisc1.exp: Ditto.
2670
56401cd5
AC
26712004-07-07 Andrew Cagney <cagney@gnu.org>
2672
2673 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
2674 corrupting the PC.
2675
44ae2f6a
MC
26762004-07-06 Michael Chastain <mec.gnu@mindspring.com>
2677
2678 * gdb.cp/templates.exp: Accept whitespace change in demangler
2679 output.
2680
45a83408
AC
26812004-07-06 Andrew Cagney <cagney@gnu.org>
2682
2683 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
2684
d205ad70
MC
26852004-07-02 Michael Chastain <mec.gnu@mindspring.com>
2686
2687 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
2688 * lib/compiler.cc: Likewise.
2689
06ea1a61
MC
26902004-06-30 Michael Chastain <mec.gnu@mindspring.com>
2691
2692 * lib/compiler.cc: Work around string preprocessing problem
2693 with old hp c++ compiler.
2694 * lib/compiler.c: Likewise.
2695
daab1251
CV
26962004-06-29 Corinna Vinschen <vinschen@redhat.com>
2697
2698 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
2699 directives to conditionalize symbol prefixing.
2700 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
2701 additional_flags handling. Add underscore prefix for Cygwin.
2702 * gdb.arch/i386-unwind.c: Use preprocessor directives to
2703 conditionalize symbol prefixing.
2704 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
2705 additional_flags handling. Add underscore prefix for Cygwin.
2706
cc984116
CV
27072004-06-29 Corinna Vinschen <vinschen@redhat.com>
2708
2709 * gdb.base/bigcore.exp: Skip test on Cygwin.
2710
c279b077
MC
27112004-06-28 Michael Chastain <mec.gnu@mindspring.com>
2712
2713 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
2714 formats for "info register". Use gdb_test_multiple. Fix
2715 the "invalid register" test.
2716
0e915747
CV
27172004-06-28 Corinna Vinschen <vinschen@redhat.com>
2718
2719 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
2720 PID for Cygwin. Add Cygwin specific strings to check for in some
2721 tests.
2722 (do_attach_tests): Add a test for user interaction when attaching
2723 to a process with no matching symbol table already loaded.
2724
11422c86
AC
27252004-06-26 Andrew Cagney <cagney@gnu.org>
2726
2727 Test PR java/1567 and PR java/1565.
2728 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
2729 * gdb.java/jmisc2.exp: Delete file.
2730
cefbce26
MC
27312004-06-26 Michael Chastain <mec.gnu@mindspring.com>
2732
2733 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
2734
e19f872c
CV
27352004-06-25 Corinna Vinschen <vinschen@redhat.com>
2736
2737 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
2738 attach process.
2739
d931ba3b
MC
27402004-06-23 Michael Chastain <mec.gnu@mindspring.com>
2741
2742 * gdb.cp/pr-1553.exp: Remove.
2743
aef68c48
MC
27442004-06-22 Michael Chastain <mec.gnu@mindspring.com>
2745
2746 * gdb.cp/pr-1553.cc: Remove.
2747 * gdb.cp/pr-1553.exp: Disable this test.
2748
8d5df71a
JB
27492004-06-20 Jim Blandy <jimb@redhat.com>
2750
2751 Fix PR testsuite/1680.
2752 * gdb.arch/i386-sse.exp: Properly quote curly braces in
2753 regular expressions.
2754
4ac6f39d
MC
27552004-06-19 Michael Chastain <mec.gnu@mindspring.com>
2756
2757 Fix PR testsuite/1679.
2758 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
2759 Issue an UNSUPPORTED result instead.
2760
1b413552
JB
27612004-06-18 Jim Blandy <jimb@redhat.com>
2762
2763 * gdb.base/charset.exp: Only send a control-C if we see a new
2764 prompt and incomplete command.
2765
6daa6ebd
MC
27662004-06-18 Michael Chastain <mec.gnu@mindspring.com>
2767
2768 * gdb.cp/pr-574.cc: Add copyright notice.
2769
51fa4ae0
JB
27702004-06-17 Jim Blandy <jimb@redhat.com>
2771
2772 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
2773 cases where the regexp has no groups; this grabs random text from
2774 the previous test suite, whatever that was.
2775
8fea26c5
MC
27762004-06-17 Michael Chastain <mec.gnu@mindspring.com>
2777
2778 * gdb.cp/printmethod.cc: Add copyright notice.
2779
1e3aeb41
MC
27802004-06-16 Michael Chastain <mec.gnu@mindspring.com>
2781
2782 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
2783
9d9030bc
AC
27842004-06-16 Andrew Cagney <cagney@gnu.org>
2785
2786 * gdb.base/signull.c: Update copyright. Include <string.h>.
2787 (bowler): Replace data_pointer with data_read
2788 and data_write cases. Add code_descriptor case.
2789 (zero, desc): New array and pointer.
2790 (data, code): Change to simple pointers.
2791 * gdb.base/signull.exp: Fix probe pattern matching a function
2792 descriptor SIGSEGV. Replace data_pointer with data_read and
2793 data_write tests.
2794
acd4ad44
AC
27952004-06-16 Andrew Cagney <cagney@gnu.org>
2796
2797 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
2798
08fd625c
MC
27992004-06-15 Michael Chastain <mec.gnu@mindspring.com>
2800
2801 * gdb.base/long_long.c: Add copyright notice.
2802
1903502c
MC
28032004-06-15 Michael Chastain <mec.gnu@mindspring.com>
2804
2805 * gdb.base/long_long.exp: Remove reference to
2806 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
2807 to gdb_breakpoint and gdb_continue_to_breakpoint.
2808
83313cb1
JB
28092004-06-14 Jim Blandy <jimb@redhat.com>
2810
2811 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
2812 endian case.
2813
1bf404ef
AC
28142004-06-14 Andrew Cagney <cagney@gnu.org>
2815
2816 * gdb.base/gcore.exp (capture_command_output): Delete the always
2817 passing tests containing inferior values.
2818 * gdb.base/ending-run.exp: Do not include the breakpoint address
2819 in the test message. Update copyright.
2820 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
2821 size in the test name, use gdb_test_multiple. Update copyright.
2822
ef220b33
MC
28232004-06-14 Michael Chastain <mec.gnu@mindspring.com>
2824
2825 * gdb.cp/ref-types.cc: Add copyright notice.
2826
4f70a4c9
MC
28272004-06-14 Michael Chastain <mec.gnu@mindspring.com>
2828
2829 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
2830 hp_aCC_compiler.
2831 * lib/compiler.cc: Likewise.
2832 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
2833 'set' commands. Log diagnostics for other lines. Set
2834 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
2835
335928ac
MC
28362004-06-13 Michael Chastain <mec.gnu@mindspring.com>
2837
2838 * gdb.cp/try_catch.cc: Add copyright notice.
2839
2efb12e8
MC
28402004-06-12 Michael Chastain <mec.gnu@mindspring.com>
2841
2842 * gdb.cp/userdef.cc: Add copyright notice.
2843
0bbed51a
MC
28442004-06-11 Michael Chastain <mec.gnu@mindspring.com>
2845
2846 * gdb.cp/virtfunc.cc: Add copyright notice.
2847
e12a46c9
RC
28482004-06-11 Randolph Chung <tausq@debian.org>
2849
2850 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
2851 problem.
2852
338e05af
AC
28532004-06-10 Andrew Cagney <cagney@gnu.org>
2854
2855 * lib/compiler.cc, lib/compiler.c: Append either
2856 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
2857 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
2858 instead of gcc-3-3.
2859
dc3f10cb
AC
28602004-06-09 Andrew Cagney <cagney@gnu.org>
2861
b4d946af
AC
2862 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
2863 gdb/1455, bug is specific to "long long" and "double".
2864
dc3f10cb
AC
2865 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
2866 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
2867 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
2868 fixed.
2869
b5c0bfa2
AC
28702004-06-09 Andrew Cagney <cagney@gnu.org>
2871
2872 * gdb.base/structs.exp (test_struct_returns): Replace
2873 "return_value_unknown" and "finish_value_unknown" by
2874 "return_value_known" and "finish_value_known". Instead of
2875 "return_value_unknown" iff "finish_value_unknown", check
2876 "return_value_known" implies "finish_value_known".
2877
caeb605f
MH
28782004-06-08 Martin Hunt <hunt@redhat.com>
2879
2880 * gdb.base/float.exp: Add pattern for mips targets.
2881
c892bb64
RC
28822004-06-08 Randolph Chung <tausq@debian.org>
2883
2884 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
2885 message for unknown architectures more clear.
2886
48306d3e
JB
28872004-06-08 Joel Brobecker <brobecker@gnat.com>
2888
2889 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
2890 start the execution of the program.
2891
83ecb59f
JB
28922004-06-07 Jim Blandy <jimb@redhat.com>
2893
2894 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
2895 * gdb.arch/i386-cpuid.h: New helper file.
2896
55264cb4
RC
28972004-06-07 Randolph Chung <tausq@debian.org>
2898
2899 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
2900 has started.
2901
23cadb28
RM
29022004-06-04 Roland McGrath <roland@redhat.com>
2903
2904 Fix PR gdb/1647.
2905 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
2906 differently to be robust to output buffering differences.
2907
51d01eda
MC
29082004-06-04 Michael Chastain <mec.gnu@mindspring.com>
2909
2910 * gdb.threads/pthreads.exp: Update copyright years.
2911 (check_control_c): Change asynchronous 'after' to synchronous.
2912
f4fc3b93
RM
29132004-06-04 Roland McGrath <roland@redhat.com>
2914
2915 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
2916 next gdb prompt.
2917
4013522b
MC
29182004-06-02 Michael Chastain <mec.gnu@mindspring.com>
2919
2920 Fix PR gdb/1636.
2921 * gdb.threads/manythreads.exp: Change asynchronous 'after'
2922 calls to synchronous.
2923
7a8f1e6b
JB
29242004-05-26 Jim Blandy <jimb@redhat.com>
2925
2926 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
2927
81bb3443
RC
29282004-05-24 Randolph Chung <tausq@debian.org>
2929
2930 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
2931 * gdb.asm/pa.inc: New file.
2932
8f5a3103
MK
29332004-05-22 Mark Kettenis <kettenis@gnu.org>
2934
2935 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
2936
734b8fe8
JB
29372004-05-21 Joel Brobecker <brobecker@gnat.com>
2938 Daniel Jacobowitz <drow@mvista.com>
2939
2940 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
2941 GDB prompt.
2942
725603e1
UW
29432004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2944
f4fc3b93 2945 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
2946 setjmp/longjmp. Use sigaction instead of signal.
2947
8b923272
JB
29482004-05-19 J. Brobecker <brobecker@gnat.com>
2949 Michael Snyder <msnyder@redhat.com>
2950
2951 * gdb.threads/pthread_cond_wait.c: New file.
2952 * gdb.threads/pthread_cond_wait.exp: New testcase.
2953
8bfabb04
AC
29542004-05-13 Andrew Cagney <cagney@redhat.com>
2955
2956 * gdb.base/signull.exp, gdb.base/signull.c: New files.
2957 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
2958
42edda50
AC
29592004-05-11 Andrew Cagney <cagney@redhat.com>
2960
2961 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
2962 fixed but revealed gdb/1639.
2963
d303a6c7
AC
29642004-05-10 Andrew Cagney <cagney@redhat.com>
2965
2966 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
2967 func1" and "next to 2nd alarm", kernel bug avoided.
2968
bf08c2a1
DJ
29692004-05-10 Daniel Jacobowitz <dan@debian.org>
2970
2971 PR external/1568
2972 * gdb.base/bigcore.exp: Check the size of the dumped core file.
2973 XFAIL if it is smaller than bytes_allocated.
2974 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
2975 (main): Make chunks_allocated unsigned. Correct comment.
2976
c0586a34
JB
29772004-05-07 Joel Brobecker <brobecker@gnat.com>
2978
2979 * gdb.arch/powerpc-aix-prologue.c: New file.
2980 * gdb.arch/powerpc-aix-prologue.exp: New file.
2981
f2785d12
JB
29822004-05-07 Jim Blandy <jimb@redhat.com>
2983
2984 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
2985 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
2986
bd7f6e30
JB
29872004-05-06 Joel Brobecker <brobecker@gnat.com>
2988
2989 * gdb.base/sep.exp: No longer setup_kfail when the program was
2990 built with dwarf2.
2991
0a5e7efe
JI
29922004-05-05 Jim Ingham <jingham@apple.com>
2993
2994 * gdb.base/pending.exp: Make sure pending breakpoints
2995 preserve the ignore count.
f4fc3b93 2996
a8958849
MK
29972004-04-27 Jerome Guitton <guitton@gnat.com>
2998
2999 * i386-prologue.exp: Add testcase for jump instruction as first
3000 instruction of the real code.
3001 * i386-prologue.c (jump_at_beginning): New function.
3002
7e103f5b
MK
30032004-04-28 Mark Kettenis <kettenis@gnu.org>
3004
3005 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
3006 x86_64-*-*.
3007
5d38b224
MK
30082004-04-28 Mark Kettenis <kettenis@gnu.org>
3009
3010 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
3011 i*86-*-*.
3012
0ef32fd9
MK
30132004-04-25 Mark Kettenis <kettenis@gnu.org>
3014
3015 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
3016 expression that checks the return type.
3017
71d7dd7c
AC
30182004-04-23 Andrew Cagney <cagney@redhat.com>
3019
3020 * gdb.base/call-sc.exp: New test of scalar call/return values.
3021 * gdb.base/call-sc.c: Ditto.
3022
1e9f977e
JJ
30232004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3024
3025 * gdb.threads/manythreads.c: Reduce thread stack size.
3026
899d9e3a
JJ
30272004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3028
3029 * gdb.threads/manythreads.c: Add copyright notice.
3030
61bcae62
AC
30312004-04-23 Andrew Cagney <cagney@redhat.com>
3032
3033 * gdb.base/siginfo.exp: Better handle step out of signal.
3034 * gdb.base/sigstep.exp: Ditto.
3035
7339a42e
JJ
30362004-04-22 Jeff Johnston <jjohnstn@redhat.com>
3037 Daniel Jacobowitz <drow@mvista.com>
3038
3039 * gdb.threads/manythreads.c: New testcase.
3040 * gdb.threads/manythreads.exp: Ditto.
3041
5c98409b
JB
30422004-04-22 Jim Blandy <jimb@redhat.com>
3043
3044 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
3045 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
3046
3b611f1a
MC
30472004-04-21 Michael Chastain <mec.gnu@mindspring.com>
3048
3049 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
3050
f0fd9238
AC
30512004-04-21 Andrew Cagney <cagney@redhat.com>
3052
3053 * gdb.base/sigstep.c: New file.
3054 * gdb.base/sigstep.exp: New file.
3055
90990674
JB
30562004-04-16 Joel Brobecker <brobecker@gnat.com>
3057
3058 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
3059 call to observer_notify_normal_stop.
3060
78cef34b
AC
30612004-04-15 Andrew Cagney <cagney@redhat.com>
3062
3063 * gdb.base/siginfo.c: New file.
3064 * gdb.base/siginfo.exp: New file.
3065
d2343407
JB
30662004-04-12 J. Brobecker <brobecker@gnat.com>
3067
3068 * gdb.base/sep.exp: Fix typo in comment.
3069
a2dba3c8
JB
30702004-04-12 J. Brobecker <brobecker@gnat.com>
3071
3072 * gdb.base/sep.c: New file.
3073 * gdb.base/sep-proc.c: New file.
3074 * gdb.base/sep.exp: New testcase.
3075
15f7b60e
MK
30762004-04-09 Mark Kettenis <kettenis@gnu.org>
3077
3078 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
3079 support.
3080
44f4de1a
AC
30812004-04-05 Andrew Cagney <cagney@redhat.com>
3082
3083 * gdb.base/sigaltstack.c: New file.
3084 * gdb.base/sigaltstack.exp: New file.
3085
ef04f396
JB
30862004-04-04 Joel Brobecker <brobecker@gnat.com>
3087
3088 * gdb.base/foll-fork.exp: Update the expected output for
3089 "help set follow-fork-mode", to match a change that was made
3090 to the help of this variable on 2004-01-13.
3091
d40d2c92
JB
30922004-04-01 Joel Brobecker <brobecker@gnat.com>
3093
3094 * lib/ada.exp: Add copyright notice.
3095 * bar.ads: Likewise.
3096 * bar.adb: Likewise.
3097 * null_record.adb: Likewise.
3098 * null_record.exp: Likewise.
3099 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
3100
f86ef5a3
JB
31012004-04-01 Joel Brobecker <brobecker@gnat.com>
3102
3103 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
3104 * configure: Regenerate.
3105
414e70e3
JB
31062004-04-01 Joel Brobecker <brobecker@gnat.com>
3107
3108 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
3109 to build the application. Remove the message printed when in
3110 verbose mode, redundant with the UNSUPPORTED message above.
3111
f0aaee49
JB
31122004-03-31 Joel Brobecker <brobecker@gnat.com>
3113
3114 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
3115 * gdb.ada (null_record.exp): New testcase.
3116
ac81cb54
JB
31172004-03-31 Joel Brobecker <brobecker@gnat.com>
3118
3119 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
3120
854af2f7
JB
31212004-03-31 Joel Brobecker <brobecker@gnat.com>
3122
3123 * gdb.ada: New subdirectory.
3124 * gdb.ada/Makefile.in: New file.
3125 * gdb.ada/gnat_ada.gpr.in: New file.
3126
034cb681
JB
31272004-03-31 Joel Brobecker <brobecker@gnat.com>
3128
3129 * lib/ada.exp: New file.
3130
78a1a894
DJ
31312004-03-24 Daniel Jacobowitz <drow@mvista.com>
3132
3133 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
3134 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
3135
4b2b3b3e
AC
31362004-03-22 Andrew Cagney <cagney@redhat.com>
3137
3138 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
3139 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
3140 Problem identified by Ulrich Weigand.
3141
23c73aa3
DC
31422004-03-17 David Carlton <carlton@kealia.com>
3143
3144 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
3145 PR c++/826.
3146
d63a86f8
RM
31472004-03-16 Roland McGrath <roland@redhat.com>
3148
3149 * gdb.base/auxv.exp: New file.
3150 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
3151
0e02aa50
DC
31522004-03-12 David Carlton <carlton@kealia.com>
3153
3154 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
3155 * gdb.cp/pr-1553.cc: Ditto.
3156 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
3157 pass branch.
3158
c20b71be
MC
31592004-03-12 Michael Chastain <mec.gnu@mindspring.com>
3160
3161 * gdb.cp/templates.exp: Accept more template types.
3162
c7414a01
MC
31632004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3164
3165 From Corinna Vinschen with modifications.
3166 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
3167 local variable obj_with_enum.
3168 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
3169 results with obj_with_enum.
3170
ed69573c
MC
31712004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3172
3173 * gdb.cp/classes.cc: New file, copied from misc.cc.
3174 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
3175
28301461
MC
31762004-03-09 Michael Chastain <mec.gnu@mindspring.com>
3177
3178 * gdb.cp/misc.cc: Add copyright notice.
3179
1198ecbe
DC
31802004-03-05 David Carlton <carlton@kealia.com>
3181
3182 * gdb.cp/rtti.exp: Add 'print *obj3' test.
3183 * gdb.cp/rtti.h: Update copyright.
3184 (namespace n2::n3): New.
3185 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
3186 (n2::n3::func3): New.
3187 (main): Call n2::n3::func3.
3188 * gdb.cp/rtti2.cc: Update copyright.
3189 (n2::create3): New.
3190
9e08c470
MK
31912004-03-04 Mark Kettenis <kettenis@gnu.org>
3192
3193 * gdb.asm/openbsd.inc: Fix typo.
3194
4bebc3aa
FF
31952004-03-03 Fred Fish <fnf@redhat.com>
3196
3197 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
3198 "val" instead of unused "size". Update copyright year.
3199
6ea9fb37
DJ
32002004-02-29 Daniel Jacobowitz <drow@mvista.com>
3201
3202 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
3203 to use unsigned char.
3204 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
3205 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
3206
23b23974
DJ
32072004-02-29 Daniel Jacobowitz <drow@mvista.com>
3208
3209 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
3210 line of output.
3211
7574fd53
DJ
32122004-02-28 Daniel Jacobowitz <drow@mvista.com>
3213
3214 * gdb.base/relocate.c (dummy): Initialize.
3215
a195357f
DJ
32162004-02-28 Daniel Jacobowitz <drow@mvista.com>
3217
3218 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
3219 a breakpoint at exit.
3220
72fd54a9
FF
32212004-02-27 Fred Fish <fnf@redhat.com>
3222
3223 * gdb.base/chng-syms.exp: Add expect condition to match failing
3224 case that isn't a timeout.
3225
b9d23137
AC
32262004-02-27 Andrew Cagney <cagney@redhat.com>
3227
3228 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
3229 support.
3230
15d208f6 32312004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 3232
15d208f6
FF
3233 * gdb.arch/gdb1431.c: Remove.
3234 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
3235 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
3236 of "until" incorrectly.
3237
98f9cd2d
JB
32382004-02-26 J. Brobecker <brobecker@gnat.com>
3239
3240 * gdb.cp/class2.cc (empty): New class.
3241 (refer): New function.
3242 (main): Declare an object of type empty and use it.
3243 * gdb.cp/class2.exp: Print the value of an object of type empty.
3244
9b50c11b
JJ
32452004-02-26 Jeff Johnston <jjohnstn@redhat.com>
3246
3247 * gdb.base/langs.exp: Update query string to match the
3248 new nquery format used for pending breakpoints.
3249
0dcd613f
AC
32502004-02-26 Andrew Cagney <cagney@redhat.com>
3251
3252 Fix PR i18n/1570.
3253 * gdb.base/charset.c: Update copyright notice.
3254 (main, init_string): Remove the escape character '\e' tests.
3255 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
3256 * gdb.base/charset.exp (valid_host_charset): Ditto.
3257 * gdb.base/setvar.exp: Ditto.
3258
b8a56647
AC
32592004-02-24 Andrew Cagney <cagney@redhat.com>
3260
90d59e34
AC
3261 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
3262 mmapped data in core file" PASS and FAIL messages consistent.
3263
b8a56647
AC
3264 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
3265 setting a breakpoint. Work around PR java/1565.
3266
9f27c604
JJ
32672004-02-23 Jeff Johnston <jjohnstn@redhat.com>
3268
3269 * lib/gdb.exp (gdb_breakpoint): Update query string to match
3270 new nquery format.
3271 * gdb.base/pending.exp: Ditto.
3272
3224a706
MK
32732004-02-22 Mark Kettenis <kettenis@gnu.org>
3274
3275 * configure.in: Run stabs tests on *BSD.
3276 * configure: Regenerated.
3277
41e0a9ca
MK
32782004-02-21 Mark Kettenis <kettenis@gnu.org>
3279
3280 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
3281
1e1b3428
FF
32822004-02-20 Fred Fish <fnf@redhat.com>
3283
3284 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
3285 blank in test for "returns short", for consistency with other
3286 "returns xxx" tests. Update copyright year.
3287
f9a7572a
FF
32882004-02-19 Fred Fish <fnf@redhat.com>
3289
3290 New testcase for PR breakpoint/1558.
3291 * gdb.arch/gdb1558.exp: New file.
3292 * gdb.arch/gdb1558.c: New file.
3293
b2ce2854
EZ
32942004-02-19 Elena Zannoni <ezannoni@redhat.com>
3295
3296 * gdb.base/nodebug.exp: Fix typo.
3297
e7c9ff01
JB
32982004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3299
3300 Committed by Jim Blandy <jimb@redhat.com>.
3301
62f4b920
JB
3302 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
3303
2db536a1
JB
3304 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
3305
e7c9ff01
JB
3306 * gdb.base/float.exp: Support s390*-*-* targets.
3307
f3205b34
AF
33082004-02-17 Adam Fedor <fedor@gnu.org>
3309
3310 * gdb.base/gdb1555.exp: New file.
3311 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
3312
9d62932d
EZ
33132004-02-17 Elena Zannoni <ezannoni@redhat.com>
3314
3315 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
3316
344c9711
FF
33172004-02-16 Fred Fish <fnf@redhat.com>
3318
3319 * gdb.arch/gdb1291.c: Remove
3320 * gdb.arch/gdb1291.s: New test input file.
3321 * gdb.arch/gdb1291.exp: Expand test to check case that should not
3322 fail. Test for correct result, known incorrect result, other
3323 failures and timeouts.
3324
2d822687
AC
33252004-02-16 Andrew Cagney <cagney@redhat.com>
3326
3327 * gdb.base/bigcore.exp: New file.
3328 * gdb.base/bigcore.c: New file.
3329
dac15b66
AC
33302004-02-13 Andrew Cagney <cagney@redhat.com>
3331
3332 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
3333 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
3334 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
3335 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
3336 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
3337 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
3338 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
3339 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
3340 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
3341 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
3342
6bdfc2c4
JJ
33432004-02-11 Jeff Johnston <jjohnstn@redhat.com>
3344
3345 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
3346 executed is an alloc instruction.
3347
87b3ede8
DC
33482004-02-11 David Carlton <carlton@kealia.com>
3349
3350 * gdb.cp/breakpoint.exp: New.
3351 * gdb.cp/breakpoint.cc: New.
3352
6e19e2bf
MC
33532004-02-11 Michael Chastain <mec.gnu@mindspring.com>
3354
3355 Partial fix for PR gdb/1543.
3356 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
3357 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
3358 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
3359 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
3360 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
3361 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
3362 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
3363 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
3364 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
3365 to bug-gdb@prep.ai.mit.edu .
3366 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
3367 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
3368 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
3369 Likewise.
3370
5c5455dc
AC
33712004-02-10 Andrew Cagney <cagney@redhat.com>
3372
3373 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
3374 using gdb_internal_error_resync.
3375
9cf689d7
DJ
33762004-02-09 Daniel Jacobowitz <drow@mvista.com>
3377
3378 * gdb.threads/thread-specific.exp: Stop early if no threads are
3379 found.
3380
d2dc51db
MC
33812004-02-09 Michael Chastain <mec.gnu@mindspring.com>
3382
3383 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
3384
14b1a056
DJ
33852004-02-08 Daniel Jacobowitz <drow@mvista.com>
3386
3387 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
3388 breakpoints.
3389
83f66e8f
DJ
33902004-02-07 Daniel Jacobowitz <drow@mvista.com>
3391
3392 * config/sim.exp (gdb_load): Handle $arg == "".
3393 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
3394 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
3395
30fc0091
EZ
33962004-02-07 Elena Zannoni <ezannoni@redhat.com>
3397
3398 * gdb.base/maint.exp: Update test to reflect
3399 obstack changes.
3400
4d806929
JJ
34012004-02-04 Jeff Johnston <jjohnstn@redhat.com>
3402
3403 * gdb.base/pendshr.c (pendfunc): New function that calls
3404 pendfunc1.
3405 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
3406
7bfdd688
FF
34072004-02-04 Fred Fish <fnf@redhat.com>
3408
3409 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
3410 function symbols and update copyright years.
3411 * gdb.arch/gdb1291.c: Ditto.
3412
aaa08ee4
MC
34132004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3414
3415 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
3416
dbad7755
MC
34172004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3418
3419 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
3420
ec4646ef
MC
34212004-02-03 Michael Chastain <mec.gnu@mindspring.com>
3422
3423 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
3424
1b802196
FF
34252004-02-02 Fred Fish <fnf@redhat.com>
3426
3427 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
3428 remote targets. Update copyright years.
3429
18fe2033
JJ
34302004-02-02 Jeff Johnston <jjohnstn@redhat.com>
3431
3432 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
3433 support.
3434 * gdb.base/langs.exp: Fix test which attempts to create
3435 breakpoint on non-existent function to handle new pending
3436 support.
3437 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
3438 a breakpoint.
3439 * gdb.base/pending.exp: New test.
3440 * gdb.base/pending.c: New file.
3441 * gdb.base/pendshr.c: Ditto.
3442
8d577d32
DC
34432004-02-02 David Carlton <carlton@kealia.com>
3444
3445 * gdb.cp/overload.exp: Add overloadNamespace tests.
3446 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
3447 (overloadNamespace, XXX): New.
3448 (main): Call XXX::marker2.
3449
3ad13771
FF
34502004-02-01 Fred Fish <fnf@redhat.com>
3451
3452 * gdb.base/dump.exp: Use runto_main instead of "runto main".
3453 * gdb.base/finish.exp: Ditto.
3454 * gdb.base/gcore.exp: Ditto.
3455 * gdb.base/huge.exp: Ditto.
3456 * gdb.base/info-proc.exp: Ditto.
3457 * gdb.base/return2.exp: Ditto.
3458 * gdb.threads/gcore-thread.exp: Ditto.
3459
44c75849
DJ
34602004-02-01 Daniel Jacobowitz <drow@mvista.com>
3461
3462 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
3463
005bc093
MK
34642004-02-01 Mark Kettenis <kettenis@gnu.org>
3465
3466 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
3467 that opening the file succeeds on OpenBSD.
3468
c47cebdb
DJ
34692004-02-01 Daniel Jacobowitz <drow@mvista.com>
3470
3471 * gdb.threads/thread-specific.c: New file.
3472 * gdb.threads/threads-specific.exp: New test script.
3473 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
3474 to expect_out.
3475
5a01311c
MK
34762004-02-01 Mark Kettenis <kettenis@gnu.org>
3477
3478 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
3479 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
3480 only on the "print_small_structs from print_long_arg_list" test.
3481
ce22a4f1
DJ
34822004-02-01 Daniel Jacobowitz <drow@mvista.com>
3483
3484 * gdb.base/completion.exp: Kill a stray backslash.
3485
3486 From Jim Ingham <jingham@apple.com>:
3487 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
3488 agrees with the result from sending a tab.
3489
abbab9d3
DJ
34902004-01-31 Daniel Jacobowitz <drow@mvista.com>
3491
3492 * gdb.base/chng-syms.exp: Remove stray newline.
3493
53904d1e
MK
34942004-01-31 Mark Kettenis <kettenis@gnu.org>
3495
3496 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
3497 *-*-openbsd*.
3498 * gdb.asm/openbsd.inc: New file.
3499
3a4b3aac
MK
35002004-01-30 Mark Kettenis <kettenis@gnu.org>
3501
3502 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
3503 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
3504 *-*solaris2*. Remove commented out default settings for
3505 asm-flags. Replace gdb_compile with target_link.
3506
ebac27b4
MC
35072004-01-29 Michael Chastain <mec.gnu@mindspring.com>
3508
3509 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
3510 for all tests. Remove old hp-ux and cygnus xfail cases.
3511
d8679d84
PH
35122004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
3513
3514 * gdb.base/chng-syms.exp: New file.
3515 * gdb.base/chng-syms.c: New file.
3516
0a55bc22
MC
35172004-01-24 Michael Chastain <mec.gnu@mindspring.com>
3518
3519 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
3520 Provide arms for current output in all my configurations.
3521
94b8e876
MC
35222004-01-24 Michael Chastain <mec.gnu@mindspring.com>
3523
3524 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
3525 * lib/compiler.cc: Likewise.
3526 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
3527 get the right preprocessor. Eval the output directly. Remove
3528 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
3529 hp_f77_compiler and hp_f90_compiler completely.
3530 (gdb_preprocess): Delete.
3531 (get_compiler): Delete.
3532
7cf03d44
MK
35332004-01-24 Mark Kettenis <kettenis@gnu.org>
3534
3535 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
3536 <string.h>.
3537
68b6dce9
NR
35382004-01-24 Nick Roberts <nick@nick.uklinux.net>
3539
3540 * gdb.mi/mi-stack.exp: Update copyright.
3541
b368761e
DC
35422004-01-23 David Carlton <carlton@kealia.com>
3543
3544 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
3545 test for cp_lookup_transparent_type.
3546 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
3547 call them.
3548
f2061b53
DJ
35492004-01-23 Daniel Jacobowitz <drow@mvista.com>
3550
3551 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
3552 after -var-update.
3553
37fc574a
DC
35542004-01-23 David Carlton <carlton@kealia.com>
3555
3556 * gdb.cp/namespace.cc (C::ensureRefs): New.
3557 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
3558
8e94b928
NR
35592004-01-20 Nick Roberts <nick@nick.uklinux.net>
3560
3561 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
3562 case "-stack-list-locals 2".
3563 * gdb.mi/mi-var-child.exp: Test for case
3564 "-var-list-children --all-values NAME".
3565
997b0952
MC
35662004-01-18 Michael Chastain <mec.gnu@mindspring.com>
3567
3568 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
3569
52470da3
MK
35702004-01-18 Mark Kettenis <kettenis@gnu.org>
3571
7049b4b8
MK
3572 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
3573 used with gdb_test_multiple.
3574
52470da3
MK
3575 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
3576 read at address 0. This fixes PR testsuite/1504.
3577
da6012e5
DJ
35782004-01-18 Daniel Jacobowitz <drow@mvista.com>
3579
3580 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
3581 Remove downloading, guessing the host executable, the calls to
3582 gdb_file_cmd and gdb_target_cmd, and "load" support.
3583 (infer_host_exec): New function broken out from gdb_load.
3584 (gdb_load): New wrapper for gdbserver_gdb_load.
3585 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
3586 gdb_target_cmd. Use -target-select.
3587 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
3588 Download binaries to the host. Clear last_mi_remote_file when
3589 we load a new binary.
3590 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
3591 call gdbserver_gdb_load and mi_gdb_target_cmd.
3592
32c70722
MC
35932004-01-17 Michael Chastain <mec.gnu@mindspring.com>
3594
3595 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
3596 type patterns.
3597
b0cecf36
MC
35982004-01-17 Michael Chastain <mec.gnu@mindspring.com>
3599
3600 * gdb.cp/templates.exp: Fix typo in test name of
3601 "print Foo<volatile char*>::foo".
3602
4120d7e6
MC
36032004-01-15 Michael Chastain <mec.gnu@mindspring.com>
3604
3605 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
3606
f679e530
BE
36072004-01-16 Ben Elliston <bje@wasabisystems.com>
3608
3609 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
3610 (clean mostlyclean): Remove empty rm.
3611
091c48f6
MC
36122004-01-15 Michael Chastain <mec.gnu@mindspring.com>
3613
3614 * gdb.base/setvar.exp: Add copyright years.
3615
3e5fc8d2
DC
36162004-01-14 David Carlton <carlton@bactrian.org>
3617
3618 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
3619 PR c++/1511 and update coment.
3620 * gdb.cp/templates.exp: Update patterns to match current output.
3621 If changes involve something other than whitespace, KFAIL
3622 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
3623
63d06c5c
DC
36242004-01-14 David Carlton <carlton@kealia.com>
3625
3626 * gdb.cp/namespace.exp: Add tests involving classes defined within
3627 namespaces.
3628 * gdb.cp/namespace.cc (C::CClass): New.
3629 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
3630
a51dab88
EZ
36312004-01-14 Elena Zannoni <ezannoni@redhat.com>
3632
3633 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
3634 what debug info we have. Print a better message if something goes
3635 wrong while producing the separate debug info file.
3636
a476ccc9
MC
36372004-01-14 Michael Chastain <mec.gnu@mindspring.com>
3638
3639 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
3640
f453692c
MC
36412004-01-14 Michael Chastain <mec.gnu@mindspring.com>
3642
3643 * gdb.base/callfuncs.c: Add copyright notice.
3644
f40063a5
MC
36452004-01-13 Michael Chastain <mec.gnu@mindspring.com>
3646
3647 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
3648 inheritance. PR gdb/1498, PR gcc/13539.
3649
19ac3974
EZ
36502004-01-13 Elena Zannoni <ezannoni@redhat.com>
3651
3652 * gdb.threads/gcore-thread.exp: Prefix name of binary with
3653 test specific name.
3654 * gdb.mi/gdb669.exp: Ditto.
3655 * gdb.mi/mi-pthreads.exp: Ditto.
3656 * gdb.mi/mi1-pthreads.exp: Ditto.
3657 * gdb.mi/mi2-pthreads.exp: Ditto.
3658
56c97c6e
MC
36592004-01-12 Michael Chastain <mec.gnu@mindspring.com>
3660
3661 * gdb.cp/member-ptr.cc: Add copyright notice.
3662
a0644324
MC
36632004-01-12 Michael Chastain <mec.gnu@mindspring.com>
3664
3665 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
3666 some patterns for recent versions of gcc and hpacc. Delete
3667 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
3668 Delete tests that access a NULL pointer-to-member-data. This
3669 script is still disabled for gcc.
3670
32fabe09
EZ
36712004-01-12 Elena Zannoni <ezannoni@redhat.com>
3672
3673 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
3674 escaped correctly.
3675
1f8a6abb
EZ
36762004-01-12 Elena Zannoni <ezannoni@redhat.com>
3677
3678 * gdb.base/sepdebug.exp: New file.
3679 * gdb.base/sepdebug.c: New file.
3680 * lib/gdb.exp (separate_debug_filename): New procedure.
3681 (gdb_gnu_strip_debug): New procedure.
3682
48efe704
AC
36832004-01-12 Andrew Cagney <cagney@redhat.com>
3684
3685 * gdb.mi/ChangeLog: Delete file. Renamed to ...
3686 * gdb.mi/ChangeLog-1999-2003: New file.
3687
a9415475
AC
36882004-01-12 Andrew Cagney <cagney@redhat.com>
3689
3690 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
3691 "Renaming a directory to a non-empty directory returns ENOTEMPTY
3692 or EEXIST", treat EBUSY as an XFAIL.
3693
83b8cf9d
MC
36942004-01-11 Michael Chastain <mec.gnu@mindspring.com>
3695
3696 * gdb.base/scope.exp: Remove obsolete setup_xfail for
3697 hp_cc_compiler.
3698
9939d2a8
MC
36992004-01-10 Michael Chastain <mec.gnu@mindspring.com>
3700
3701 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
3702 decorations.
3703
1ff8cadf
MC
37042004-01-10 Michael Chastain <mec.gnu@mindspring.com>
3705
3706 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
3707 and "(aCC)" decorations. Remove obsolete doco about old
3708 test results.
3709
6fa9022e
MC
37102004-01-09 Michael Chastain <mec.gnu@mindspring.com>
3711
3712 * gdb.cp/exception.exp: Fix typo in doco.
3713
209721fe
MK
37142004-01-09 Mark Kettenis <kettenis@gnu.org>
3715
3716 * gdb.base/gdb1476.exp: Fix typo.
3717
ef11303e
MC
37182004-01-09 Michael Chastain <mec.gnu@mindspring.com>
3719
3720 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
3721 file.
3722
041ab88c
MC
37232004-01-09 Michael Chastain <mec.gnu@mindspring.com>
3724
3725 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
3726 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
3727 Use gdb_compile. Remove restriction on gcc. Add some patterns
3728 for recent version of gdb. Delete second half, which was a copy
3729 of the first half with different build flags. This test is
3730 still disabled because it is still not ready for production.
3731
e36d075a
MC
37322004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3733
3734 * gdb.cp/exception.cc: Add copyright notice.
3735 * gdb.cp/exception.exp: Add a notice that this file is broken
3736 because of line number changes caused by addition of copyright
3737 notice.
3738
42b190ad
MC
37392004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3740
3741 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
3742 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
3743
8f25f06b
MC
37442004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3745
3746 * gdb.cp/classes.exp: Accept gnu abi 2.
3747 * gdb.cp/derivation.exp: Likewise.
3748 * gdb.cp/overload.exp: Likewise.
3749 * gdb.cp/virtfunc.exp: Likewise.
3750
06ded8b8
MC
37512004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3752
3753 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
3754 semicolon after end of function.
3755
77c26ae3
MC
37562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3757
3758 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
3759 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
3760 boilerplate code for compiling and running the program under
3761 test. Add some string method tests.
3762
20757486
MC
37632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3764
3765 * gdb.cp/bs15503.cc: Add copyright notice.
3766 * gdb.cp/bs15503.exp: Adjust line number.
3767
0fd3b503
MC
37682004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3769
3770 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
3771 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
3772
10d1bea8
MC
37732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3774
3775 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
3776 hp_cc_compiler.
3777
2789202a
MC
37782004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3779
3780 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
3781 * gdb.cp/ctti.exp: Use the marker instead of "next".
3782 With gcc, run further before bailing.
3783
b862f14c
MC
37842004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3785
3786 * gdb.cp/cttiadd.cc: Add copyright notice.
3787 * gdb.cp/cttiadd1.cc: Likewise.
3788 * gdb.cp/cttiadd2.cc: Likewise.
3789 * gdb.cp/cttiadd3.cc: Likewise.
3790
96da2469
MC
37912004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3792
3793 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
3794 Use gdb_test, gdb_test_multiple. Use floating-point values that
3795 have exact representations in IEEE-ish formats.
3796
053248ff
MC
37972004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3798
3799 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
3800 compilers. Delete duplicate call to get_compiler_info.
3801 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
3802 * gdb.base/volatile.exp: Likewise.
3803
84acecdd
MK
38042004-01-07 Mark Kettenis <kettenis@gnu.org>
3805
3806 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
3807 memory at address 0.
3808
fe11a27f
MC
38092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3810
3811 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
3812 to test for hp-ux assembler. Fix copyright years.
3813
60ad077b
AC
38142004-01-07 Andrew Cagney <cagney@redhat.com>
3815
3816 * gdb.base/fileio.c (strerrno): Add "EBUSY".
3817
1c9b8f33
AC
38182004-01-07 Andrew Cagney <cagney@redhat.com>
3819
3820 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
3821 when creating the read-only file. From analysis by Roland McGrath
3822 and Elena Zannoni.
3823
753ccc7a
MC
38242004-01-06 Michael Chastain <mec.gnu@mindspring.com>
3825
3826 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
3827
eca3e36b
MC
38282004-01-06 Michael Chastain <mec.gnu@mindspring.com>
3829
3830 * gdb.base/cvexpr.c: Be type-safe with function pointers and
3831 data pointers.
3832
f8d4bac4
MC
38332004-01-06 Michael Chastain <mec.gnu@mindspring.com>
3834
3835 * gdb.cp/m-static.exp: Compile one source file at a time.
3836 Delete unused call to get_compiler_info.
3837
9b4e0f94
MC
38382004-01-06 Michael Chastain <mec.gnu@mindspring.com>
3839
3840 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
3841 * gdb.base/call-rt-st.exp: Likewise.
3842 * gdb.base/nodebug.exp: Likewise.
3843 * gdb.base/volatile.exp: Likewise.
3844 * gdb.cp/ref-types.exp: Likewise.
3845 * gdb.cp/templates.exp: Likewise.
3846
023c1024
MK
38472004-01-05 Mark Kettenis <kettenis@gnu.org>
3848
3849 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
3850
19703c4a
MC
38512004-01-05 Michael Chastain <mec.gnu@mindspring.com>
3852
3853 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
3854 hppa*-hp-hpux*.
3855
18b67037
MK
38562004-01-04 Mark Kettenis <kettenis@gnu.org>
3857
ba6219c8
MK
3858 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
3859 x86_64-*-*.
3860
18b67037
MK
3861 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
3862 sparc64-*-* and sparc*-solaris2*.
3863
1bfbbb9d
MK
38642004-01-04 Mark Kettenis <kettenis@gnu.org>
3865
3866 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
3867 return ${tests}" test. The ${tests} already mentions the
3868 filename.
3869
06846494
MC
38702004-01-02 Michael Chastain <mec.gnu@mindspring.com>
3871
3872 * gdb.cp/local.exp: Accept gcc abi 2.
3873
3b0cb202
MC
38742004-01-02 Michael Chastain <mec.gnu@mindspring.com>
3875
3876 * gdb.cp/templates.exp: Accept gcc abi 2.
3877
0643ec3f
MC
38782004-01-02 Michael Chastain <mec.gnu@mindspring.com>
3879
3880 * lib/compiler.cc: Remove supports_template_debugging.
3881 * gdb.cp/templates.exp: Do not test supports_template_debugging.
3882
d231d0b1
MC
38832004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3884
3885 * gdb.cp/namespace.exp: Accept gcc abi 2.
3886
44ffb27c
MC
38872004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3888
3889 * gdb.cp/method.exp: Accept gcc abi 2.
3890
184ad485
MC
38912004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3892
3893 * gdb.cp/classes.exp: Generate identical results as old version.
3894 * gdb.cp/derivation.exp: Likewise.
3895 * gdb.cp/overload.exp: Likewise.
3896 * gdb.cp/virtfunc.exp: Likewise.
3897
116f09e7
MC
38982004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3899
3900 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
3901 mysterious bug with sourceware version of expect.
3902
b1379776
MC
39032004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3904
3905 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
3906 current versions of gcc, including gcc abi 2. Remove gratuitous
3907 restart of test program. Use gdb_test_multiple and gdb_test for
3908 all tests. Add patterns to xfail missing "const" in "const char *"
3909 and kfail PR gdb/1155.
3910
6b7a4c0e
MC
39112004-01-01 Michael Chastain <mec.gnu@mindspring.com>
3912
3913 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
3914 current versions of gcc, including gcc abi 2. Remove gratuitous
3915 restart of test program. Use gdb_test_multiple and gdb_test for
3916 all tests. Add patterns to kfail PR gdb/1498.
3917
51615d72
MC
39182003-12-31 Michael Chastain <mec.gnu@mindspring.com>
3919
3920 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
3921 current versions of gcc, including gcc abi 2. Use "breakpoint"
3922 and "continue" instead of restarting the target program. Use
3923 gdb_test_multiple and gdb_test for all tests.
3924
7b79a9d7
MK
39252004-01-01 Mark Kettenis <kettenis@gnu.org>
3926
3927 * gdb.asm/asm-source.exp: Update copyright year. Link statically
3928 for *-*-solaris2*.
3929
1cd3489f
MC
39302003-12-31 Michael Chastain <mec.gnu@mindspring.com>
3931
3932 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
3933 current versions of gcc, including gcc abi 2. Use "breakpoint"
3934 and "continue" instead of restarting the target program several
3935 times. Use gdb_test_multiple and gdb_test for all tests.
3936
850742db
MC
39372003-12-18 Michael Chastain <mec.gnu@mindspring.com>
3938
3939 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
3940 source files.
3941
eb4bbda8
MC
39422003-12-16 Michael Chastain <mec.gnu@mindspring.com>
3943
3944 * gdb.base/environ.exp: Handle compiling test case from multiple
3945 source files.
3946
e42c7771
MC
39472003-12-16 Michael Chastain <mec.gnu@mindspring.com>
3948
3949 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
3950
80e4b428
JB
39512003-12-17 Jim Blandy <jimb@redhat.com>
3952
5f06973a
JB
3953 * gdb.base/freebpcmd.c: Add copyright notice.
3954
80e4b428
JB
3955 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
3956
0ab84fb7
MC
39572003-12-16 Michael Chastain <mec.gnu@mindspring.com>
3958
3959 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
3960
1b3bb3d0
JB
39612003-12-13 Jim Blandy <jimb@redhat.com>
3962
3963 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
3964
3a4c9371
KB
39652003-12-12 Kevin Buettner <kevinb@redhat.com>
3966
3967 * gdb.asm/frv.inc: New file.
3968 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
3969
a1dea79a
FF
39702003-12-09 Fred Fish <fnf@redhat.com>
3971
3972 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
3973 functions to break1.c and leave prototypes behind. Add more
3974 "set breakpoint NN here" comments.
3975 * gdb.base/break1.c: New file.
3976
3977 * gdb.base/break.exp: Handle compiling test case from multiple
3978 source files and change source file references as needed.
3979 * gdb.base/completion.exp: Ditto.
3980 * gdb.base/condbreak.exp: Ditto.
3981 * gdb.base/define.exp: Ditto.
3982 * gdb.base/ena-dis-br.exp: Ditto.
3983 * gdb.base/info-proc.exp: Ditto.
3984 * gdb.base/maint.exp: Ditto.
3985 * gdb.base/until.exp: Ditto.
3986
3987 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
3988 hardcoded line numbers.
3989 * gdb.base/define.exp: Ditto.
3990 * gdb.base/ena-dis-br.exp: Ditto.
3991 * gdb.base/maint.exp: Ditto.
3992 * gdb.base/until.exp: Ditto.
3993
3994 * gdb.base/completion.exp: Use "break1" for completion tests since
3995 "break" is no longer a unique prefix.
3996
5266b69c
AC
39972003-12-06 Andrew Cagney <cagney@redhat.com>
3998
3999 * gdb.base/structs.exp (test_struct_returns): When applicable, set
4000 "return_value_unimplemented". When an unimplemented struct return
4001 architecture, report incorrect values as a KFAIL
4002
374451f0
MC
40032003-12-05 Michael Chastain <mec.gnu@mindspring.com>
4004
4005 * gdb.cp/rtti.exp: Accept new wording of warning from
4006 cp_lookup_rtti_type.
4007
ba9b20a7
MC
40082003-12-05 Michael Chastain <mec.gnu@mindspring.com>
4009
4010 Partial fix for PR testsuite/1456.
4011 * gdb.base/scope.exp (test_at_main): Replace references to
4012 gcc_compiled with calls to test_compiler_info.
4013 (test_at_foo): Likewise.
4014 (test_at_bar): Likewise.
4015
b74b6d0b
MC
40162003-12-04 Michael Chastain <mec.gnu@mindspring.com>
4017
4018 Partial fix for PR testsuite/1456.
4019 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
4020 to test_compiler_info.
4021
ccfa3402
MC
40222003-12-03 Michael Chastain <mec.gnu@mindspring.com>
4023
4024 * gdb.base/so-impl-ld.exp: Update copyright notice.
4025
f6246aba
MC
40262003-12-02 Michael Chastain <mec.gnu@mindspring.com>
4027
4028 Partial fix for PR testsuite/1456.
4029 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
4030 to test_compiler_info.
4031
13ae734a
MC
40322003-11-28 Michael Chastain <mec.gnu@mindspring.com>
4033
4034 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
4035 from current versions of gdb. Clean up regular expressions.
4036 Delete redundant timeout case.
4037
d8e1cdee
MC
40382003-11-28 Michael Chastain <mec.gnu@mindspring.com>
4039
4040 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
4041 from current versions of gdb. Clean up regular expressions.
4042 Delete redundant timeout case.
4043
96457b64
MC
40442003-12-01 Michael Chastain <mec.gnu@mindspring.com>
4045
4046 Partial fix for PR testsuite/1456.
4047 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
4048 gcc_compiled with call to test_compiler_info.
4049
f35309fc
MC
40502003-11-30 Michael Chastain <mec.gnu@mindspring.com>
4051
4052 Partial fix for PR testsuite/1456.
4053 * gdb.base/list.exp (test_list_function): Delete unused declaration
4054 of gcc_compiled.
4055
d7afdf9b
MC
40562003-11-29 Michael Chastain <mec.gnu@mindspring.com>
4057
4058 Partial fix for PR testsuite/1456.
4059 * gdb.base/complex.exp: Replace reference to gcc_compiled with
4060 call to test_compiler_info.
4061
71507b56
MK
40622003-11-29 Mark Kettenis <kettenis@gnu.org>
4063
4064 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
4065 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
4066 it to create the appropriate note.inc.
4067 * gdb.asm/asmsrc1.s: Include "note.inc".
4068 * gdb.asm/netbsd.inc: New file.
4069 * gdb.asm/empty.inc: New file.
4070
f81f93f7
MC
40712003-11-28 Michael Chastain <mec.gnu@mindspring.com>
4072
4073 Partial fix for PR testsuite/1456.
4074 * gdb.base/constvars.exp: Replace references to gcc_compiled with
4075 calls to test_compiler_info.
4076
9a77938e
MC
40772003-11-27 Michael Chastain <mec.gnu@mindspring.com>
4078
4079 Partial fix for PR testsuite/1456.
4080 * gdb.base/volatile.exp: Replace references to gcc_compiled with
4081 calls to test_compiler_info.
4082
e8367dc7
MK
40832003-11-27 Mark Kettenis <kettenis@gnu.org>
4084
4085 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
4086 pattern for the KFAILs.
4087
526c61ee
AF
40882003-11-25 Adam Fedor <fedor@gnu.org>
4089
4090 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
4091 * gdb.objc/objcdecode.m: New file.
4092
28f2d600
AF
40932003-11-25 Adam Fedor <fedor@gnu.org>
4094
4095 * gdb.objc/nondebug.exp: Test for PR objc/1236.
4096 * gdb.objc/nondebug.m: New file.
4097
a3895cee
BE
40982003-11-26 Ben Elliston <bje@wasabisystems.com>
4099
4100 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
4101 NetBSD as it does on FreeBSD. Modelled on a similar change by
4102 Mark Kettenis on 2003-05-30.
4103 (link-flags): Set to "--entry _start" regardless of target.
4104 Special linker flags are to be appended to $link-flags.
4105 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
4106
c9f2c8a3
MC
41072003-11-25 Michael Chastain <mec.gnu@mindspring.com>
4108
4109 * gdb.cp/method.exp: Accept output of new demangler.
4110
15a0587a 41112003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
4112
4113 * gdb/class2.exp: New file.
4114 * gdb/class2.cc: New file.
4115
3c00b570
MC
41162003-11-25 Michael Chastain <mec.gnu@mindspring.com>
4117
4118 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
4119 of new demangler.
4120
7027acc7
MK
41212003-11-23 Mark Kettenis <kettenis@gnu.org>
4122
4123 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
4124 of gdb_test "run".
4125
b0e1598a
MK
41262003-11-23 Mark Kettenis <kettenis@gnu.org>
4127
4128 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
4129 "continue" into "run".
4130
4d9eda44
MC
41312003-11-23 Michael Chastain <mec.gnu@mindspring.com>
4132
4133 Partial fix for PR testsuite/1456.
4134 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
4135 call to test_compiler_info.
4136 * gdb.cp/ctti.exp: Likewise.
4137 * gdb.cp/derivation.exp: Likewise.
4138 * gdb.cp/member-ptr.exp: Likewise.
4139 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
4140 reference to gcc_compiled.
4141
41422003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
4143
4144 Fix PR testsuite/1463.
4145 * gdb.base/structs.exp (start_structs_test): Call
4146 get_debug_format before using the debug format.
4147
d422fe19
AC
41482003-11-22 Andrew Cagney <cagney@redhat.com>
4149
4150 * lib/gdb.exp (gdb_test_multiple): Add simple example.
4151 * gdb.base/structs.exp: Use gdb_test_multiple.
4152
039cf96d
AC
41532003-11-20 Andrew Cagney <cagney@redhat.com>
4154
6882279b
AC
4155 * gdb.base/structs.exp: Handle and recover from internal errors.
4156 Replace "foo${n}" with "foo<n>" in test messages.
4157
e53890ae
AC
4158 * gdb.base/structs.exp: Update copyright. Rewrite.
4159 * gdb.base/structs.c: Update copyright. Rewrite.
4160
2b211c59
AC
4161 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
4162 resync count exceeded.
d63a86f8 4163
039cf96d
AC
4164 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
4165 from the internal error.
4166 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
4167 Original from Jim Blandy.
4168 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 4169
eac98b22
AC
41702003-11-19 Andrew Cagney <cagney@redhat.com>
4171
4172 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
4173 KFAIL.
4174
67455b2a
MK
41752003-11-17 Mark Kettenis <kettenis@gnu.org>
4176
4177 New testcase for PR backtrace/1435.
4178 * gdb.arch/i386-unwind.exp: New file.
4179 * gdb.arch/i386-unwind.c: New file.
4180
853d6e5b
AC
41812003-11-17 Andrew Cagney <cagney@redhat.com>
4182
4183 * lib/gdb.exp (compiler_info): New global.
4184 (test_compiler_info): New function.
4185 (get_compiler_info): Set compiler_info.
4186 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
4187 "compiler_info" to gcc-<major>-<minor>.
4188
38cf6e11
MC
41892003-11-15 Michael Chastain <mec.gnu@mindspring.com>
4190
4191 * gdb.trace/configure: Remove.
4192
a50d3602
EZ
41932003-11-13 Elena Zannoni <ezannoni@redhat.com>
4194
4195 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 4196 breakpoints.
a50d3602
EZ
4197 * gdb.base/break.exp: Remove all references to explicit line
4198 numbers.
4199
d9407aaa
NC
42002003-11-11 Nick Clifton <nickc@redhat.com>
4201
4202 * gdb.base/shreloc.exp: Do not run for targets which do not
4203 support shared objects.
4204
db488fc1
CV
42052003-11-10 Corinna Vinschen <vinschen@redhat.com>
4206
4207 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
4208 Don't run tests if nofileio flag is given.
4209
6a90a18e
EZ
42102003-11-07 Elena Zannoni <ezannoni@redhat.com>
4211
4212 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
4213 as well as 'Watchpoint'.
4214
0b915e9c
EZ
42152003-11-06 Elena Zannoni <ezannoni@redhat.com>
4216
4217 Reported by Jim Ingham <jingham@apple.com>:
4218 * gdb.base/annota1.exp: Match at least one occurrence of the
4219 signal handler annotation.
4220
d7e4b55f
EZ
42212003-11-06 Elena Zannoni <ezannoni@redhat.com>
4222
4223 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
4224 as well as 'Watchpoint'.
4225
2fe4e8d0
MC
42262003-11-05 Michael Chastain <mec@shout.net>
4227
4228 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
4229
6ef88553
KW
42302003-11-03 Kris Warkentin <kewarken@qnx.com>
4231
4232 * gdb.arch/gdb1291.c: New test file.
4233 * gdb.arch/gdb1291.exp: New test script.
4234 * gdb.arch/gdb1431.c: New test file.
4235 * gdb.arch/gdb1431.exp: New test script.
4236
ae7dc4d8
MC
42372003-10-22 Michael Chastain <mec@shout.net>
4238
4239 * gdb.mi/pthreads.c: Add copyright notice.
4240
c39d7427
MC
42412003-10-22 Michael Chastain <mec@shout.net>
4242
4243 * gdb.threads/pthreads.c: Add copyright notice.
4244
8b7d96c1
MC
42452003-10-20 Michael Chastain <mec@shout.net>
4246
4247 * gdb.base/gdb1056.exp: New test script.
4248
d1d69fdd
DJ
42492003-10-13 Daniel Jacobowitz <drow@mvista.com>
4250
4251 * gdb.threads/killed.exp: Use gdb_run_cmd.
4252
7d605576
DJ
42532003-10-13 Daniel Jacobowitz <drow@mvista.com>
4254
4255 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
4256 create a core file.
4257 * gdb.threads/gcore-thread.exp: Likewise.
4258
618ec112
CV
42592003-10-13 Corinna Vinschen <vinschen@redhat.com>
4260
4261 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
4262 type, based on char type.
4263 (struct bit_flags_short_t): New bitfield type, based on short type.
4264 (init_bit_flags_char): New fuction.
4265 (init_bit_flags_short): Ditto.
4266 (print_bit_flags_char): Ditto.
4267 (print_bit_flags_short): Ditto.
4268 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
4269
9367a73c
MC
42702003-10-11 Michael Chastain <mec@shout.net>
4271
4272 * gdb.base/call-rt-st.exp: Update copyright year.
4273
1decf120
KI
42742003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
4275
4276 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
4277 * gdb.disasm/sh3.s: Ditto.
4278
5445b2ae
DJ
42792003-10-07 Daniel Jacobowitz <drow@mvista.com>
4280
4281 * gdb.threads/switch-threads.exp: New test.
4282 * gdb.threads/switch-threads.c: New source file.
4283
aec24853
CV
42842003-10-07 Corinna Vinschen <vinschen@redhat.com>
4285
4286 * gdb.base/ending-run.exp: Add sh specific case.
4287
adc7428d
AC
42882003-10-06 Andrew Cagney <cagney@redhat.com>
4289
4290 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
4291 * gdb.disasm/mn10200.exp: Delete obsolete file.
4292
c9d37158
DJ
42932003-09-29 Daniel Jacobowitz <drow@mvista.com>
4294
4295 * ChangeLog: Correct an entry command.exp -> commands.exp.
4296 * gdb.base/commands.exp (bp_deleted_in_command_test)
4297 (temporary_breakpoint_commands): Check noargs.
4298
79c2c32d
DC
42992003-09-25 David Carlton <carlton@kealia.com>
4300
4301 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
4302 of some print tests, where appropriate. Add tests for C::D::cd,
4303 E::ce, F::cXfX, G::XgX.
4304 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
4305
594e6d67
RE
43062003-09-25 Richard Earnshaw <rearnsha@arm.com>
4307
4308 * lib/java.exp (java_init): Import target_alias before using it.
4309
10f0d451
DC
43102003-09-25 David Carlton <carlton@kealia.com>
4311
4312 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
4313
274bcba0
EZ
43142003-09-23 Elena Zannoni <ezannoni@redhat.com>
4315
d63a86f8 4316 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
4317 weirdness.
4318
cdbf20f7
MC
43192003-09-17 Michael Chastain <mec@shout.net>
4320
4321 * gdb.cp/gdb1355.exp: New file.
4322 * gdb.cp/gdb1355.c: New file.
4323
71e06f80
CV
43242003-09-15 Corinna Vinschen <vinschen@redhat.com>
4325
4326 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
4327 * gdb.asm/sh.inc: New file.
4328
5c4e30ca
DC
43292003-09-11 David Carlton <carlton@kealia.com>
4330
bd45b7af
DC
4331 * gdb.cp/namespace.exp: Add tests for namespace types.
4332 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
4333 (test_namespace): New.
4334
1c199746
EZ
43352003-09-11 Elena Zannoni <ezannoni@redhat.com>
4336
4337 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 4338 * gdb.stabs/weird.exp: Ditto.
1c199746 4339
04ed252f
MC
43402003-09-08 Michael Chastain <mec@shout.net>
4341
4342 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
4343
d8a2d9e7
MC
43442003-09-07 Michael Chastain <mec@shout.net>
4345
4346 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
4347 'parse error'.
4348
161afb24
MK
43492003-09-07 Mark Kettenis <m.kettenis@osp.nl>
4350
4351 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
4352
49f2741a
MC
43532003-08-30 Michael Chastain <mec@shout.net>
4354
4355 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
4356 * gdb.gdb/observer.exp: Ditto.
4357 * gdb.gdb/xfullpath.exp: Ditto.
4358
8afa723e
MK
43592003-08-29 Mark Kettenis <kettenis@gnu.org>
4360
4361 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
4362 *-*-*bsd*.
4363
f31dfe3b
JJ
43642003-08-28 Jeff Johnston <jjohnstn@redhat.com>
4365
4366 * gdb.base/dump.exp: Skip for ia64.
4367
4630e498
JJ
43682003-08-25 Jeff Johnston <jjohnstn@redhat.com>
4369
4370 * gdb.asm/asm-source.exp: Add ia64 support.
4371 * gdb.asm/ia64.inc: New file.
4372
1105b7ef
MC
43732003-08-22 Michael Chastain <mec@shout.net>
4374
4375 * gdb.cp: New directory.
4376 * gdb.cp/*: Copy from gdb.c++/*.
4377 * gdb.c++/*: Remove.
4378 * Makefile.in: Change gdb.c++ to gdb.cp.
4379 * configure.in: Ditto.
4380 * configure: Regnerate.
4381
c945b932
MK
43822003-08-18 Mark Kettenis <kettenis@gnu.org>
4383
4384 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
4385 * gdb.arch/i386-prologue.c (gdb1338): Add function.
4386
2b66634b
DJ
43872003-08-17 Daniel Jacobowitz <drow@mvista.com>
4388
4389 * mi-var-display.exp (-var-list-children weird): Accept function
4390 pointers with argument types.
4391 * mi1-var-display.exp (-var-list-children weird): Likewise.
4392 * mi2-var-display.exp (-var-list-children weird): Likewise.
4393
a356f73b
DJ
43942003-08-17 Daniel Jacobowitz <drow@mvista.com>
4395
4396 * gdb.base/annota3.exp: Add missing newline.
4397
483417b8
MC
43982003-08-06 Michael Chastain <mec@shout.net>
4399
4400 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
4401
c99c59c3
MS
44022003-08-12 Michael Snyder <msnyder@redhat.com>
4403
4404 * gdb.base/float.exp: Add test for SH.
4405
55ed7501
MK
44062003-08-10 Mark Kettenis <kettenis@gnu.org>
4407
4408 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
4409
1a371f2e
EZ
44102003-08-07 Elena Zannoni <ezannoni@redhat.com>
4411
4412 * gdb.base/completion.exp: Remove reduntant completion test
4413 on filename.
4414
e0f353ce
EZ
44152003-08-07 Elena Zannoni <ezannoni@redhat.com>
4416
4417 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
4418 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
4419 gdb.trace/save-trace.exp: Make sure that full pathnames are
4420 escaped correctly.
4421
5710a1af 44222003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 4423
5710a1af
EZ
4424 * configure.in: Don't generate config.h from config.hin.
4425 * configure: Regenerate.
4426 * config.hin: Remove file.
4427 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
4428 * gdb.threads/pthreads.c: Ditto.
4429
dcd81ce9
DJ
44302003-08-07 Daniel Jacobowitz <drow@mvista.com>
4431
4432 From Kei Sakamoto <sakamoto.kei@renesas.com>:
4433 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
4434 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
4435 Replace ld24 with seth/add3.
4436
6009d884
AC
44372003-08-02 Andrew Cagney <cagney@redhat.com>
4438
4439 * gdb.base/annota3.exp: New file.
4440 * gdb.base/annota3.c: New file.
4441 * gdb.c++/annota3.exp: New file.
4442 * gdb.c++/annota3.cc: New file.
4443
51514e06
MC
44442003-07-29 Michael Chastain <mec@shout.net>
4445
4446 * gdb.threads/tls.c (spin): Check errno only if sem_wait
4447 actually failed.
4448 (do_pass): Likewise.
4449 * gdb.threads/tls.exp: Always initialize no_of_threads.
4450
4ee6625b
DJ
44512003-07-27 Daniel Jacobowitz <drow@mvista.com>
4452
4453 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
4454 pattern.
4455 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
4456 * gdb.threads/tls.exp: Recognize one case of the host library not
4457 supporting TLS.
4458
225f2bf6
AC
44592003-07-27 Andrew Cagney <cagney@redhat.com>
4460
4461 * gdb.base/fileio.exp: Use SH when running commands using
4462 remote_exec.
4463
bcb27c9f
DJ
44642003-07-24 Daniel Jacobowitz <drow@mvista.com>
4465
4466 From Kei Sakamoto <sakamoto.kei@renesas.com>:
4467 * gdb.base/relocate.c (dummy): New padding array.
4468
3d67be83
MS
44692003-07-22 Michael Snyder <msnyder@redhat.com>
4470
d63a86f8 4471 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
4472
4473 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
4474 patterns to be more general, accepting old and new output.
4475 Some output chars (such as '+') also must be quoted.
d63a86f8 4476 Some addresses are displayed numerically instead of
3d67be83
MS
4477 symbolically.
4478
57ba3b85
MS
44792003-07-23 Michael Snyder <msnyder@redhat.com>
4480
686d097c
MS
4481 * gdb.base/return2.exp: Don't test long-long return.
4482
57ba3b85
MS
4483 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
4484 * gdb.disasm/t01_mov.exp: Ditto.
4485 * gdb.disasm/t02_mova.s: Ditto.
4486 * gdb.disasm/t02_mova.exp: Ditto.
4487 * gdb.disasm/t03_add.s: Ditto.
4488 * gdb.disasm/t03_add.exp: Ditto.
4489 * gdb.disasm/t04_sub.s: Ditto.
4490 * gdb.disasm/t04_sub.exp: Ditto.
4491 * gdb.disasm/t05_cmp.s: Ditto.
4492 * gdb.disasm/t05_cmp.exp: Ditto.
4493 * gdb.disasm/t06_ari2.s: Ditto.
4494 * gdb.disasm/t06_ari2.exp: Ditto.
4495 * gdb.disasm/t07_ari3.s: Ditto.
4496 * gdb.disasm/t07_ari3.exp: Ditto.
4497 * gdb.disasm/t08_or.s: Ditto.
4498 * gdb.disasm/t08_or.exp: Ditto.
4499 * gdb.disasm/t09_xor.s: Ditto.
4500 * gdb.disasm/t09_xor.exp: Ditto.
4501 * gdb.disasm/t10_and.s: Ditto.
4502 * gdb.disasm/t10_and.exp: Ditto.
4503 * gdb.disasm/t11_logs.s: Ditto.
4504 * gdb.disasm/t11_logs.exp: Ditto.
4505 * gdb.disasm/t12_bit.s: Ditto.
4506 * gdb.disasm/t12_bit.exp: Ditto.
4507 * gdb.disasm/t13_otr.s: Ditto.
4508 * gdb.disasm/t13_otr.exp: Ditto.
4509
e00759ef
EZ
45102003-07-22 Elena Zannoni <ezannoni@redhat.com>
4511
4512 * gdb.threads/tls.exp :Add kfail for 'info address' case.
4513
8bc2021f
EZ
45142003-07-22 Elena Zannoni <ezannoni@redhat.com>
4515
4516 * gdb.threads/tls.c : New file.
4517 * gdb.threads/tls.exp : New file.
4518 * gdb.threads/tls-main.c : New file.
4519 * gdb.threads/tls-shared.c : New file.
4520 * gdb.threads/tls-shared.exp : New file.
4521
89320c4c
AS
45222003-07-22 Andreas Schwab <schwab@suse.de>
4523
4524 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
4525
180dea7c
AS
45262003-07-20 Andreas Schwab <schwab@suse.de>
4527
4528 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
4529 due to insn reordering.
4530
0714963c
AC
45312003-07-15 Andrew Cagney <cagney@redhat.com>
4532
4533 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
4534
98a23b3f
MC
45352003-07-15 Michael Chastain <mec@shout.net>
4536
4537 * gdb.base/gdb1250.exp: New file.
4538 * gdb.base/gdb1250.c: New file.
4539
27e417a2
ML
45402003-07-09 Michal Ludvig <mludvig@suse.cz>
4541
4542 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
4543 expansion of size_t to 'unsigned long', not only to 'unsigned'.
4544
8bc2021f
EZ
45452003-07-09 Elena Zannoni <ezannoni@redhat.com>
4546
4547 * gdb.threads/tls.c: New file.
4548 * gdb.threads/tls.exp: New file.
4549 * gdb.threads/tls-main.c: New file.
4550 * gdb.threads/tls-shared.c: New file.
4551 * gdb.threads/tls-shared.exp: New file.
4552
d99968dc
EZ
45532003-07-09 Elena Zannoni <ezannoni@redhat.com>
4554
4555 * gdb.base/annota1.exp: Make sure that we properly escape the
4556 full path of the source file. Xfail more permissive patterns,
d63a86f8 4557 due to a compiler debug info problem.
d99968dc 4558
83876b3b
AS
45592003-07-07 Andreas Schwab <schwab@suse.de>
4560
2705e972
AS
4561 * gdb.asm/m68k.inc: New file.
4562 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
4563
83876b3b
AS
4564 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
4565 arguments"): Also match negative number.
4566
4567 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
4568
3a871b37
DJ
45692003-07-03 Daniel Jacobowitz <drow@mvista.com>
4570
4571 * gdb.base/store.c (charest): New typedef.
4572 (add_char): Rename to add_charest, update.
4573 (wack_char): Rename to wack_charest, update types. Return l + r
4574 to keep r live across the call.
4575 (wack_short, wack_int, wack_long, wack_longest, wack_float)
4576 (wack_double, wack_doublest): Return l + r to keep r live across
4577 the call.
4578 * gdb.base/store.exp: Accomodate store.c changes.
4579
b2a7f303
DC
45802003-06-30 David Carlton <carlton@kealia.com>
4581
4582 * gdb.c++/maint.exp (test_invalid_name): New.
4583 (test_first_component): Add tests for invalid names.
4584
3c6cb4a1
MC
45852003-06-29 Michael Chastain <mec@shout.net>
4586
4587 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
4588 output of '<VTT for class>' for virtual base classes.
4589
f1c2644b
DJ
45902003-06-29 Daniel Jacobowitz <drow@mvista.com>
4591
4592 * gdb.base/completion.exp: Tab-complete "complet" instead of
4593 "compl".
4594 * gdb.base/complex.exp, gdb.base/complex.c: New files.
4595
18080350
DJ
45962003-06-29 Daniel Jacobowitz <drow@mvista.com>
4597
4598 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
4599 * gdb.base/volatile.exp: Likewise.
4600
f56973f8
DJ
46012003-06-29 Daniel Jacobowitz <drow@mvista.com>
4602
4603 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
4604 gdb/1265.
4605
46062003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
4607 Daniel Jacobowitz <drow@mvista.com>
4608
4609 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
4610 initial line count of 'captured_main' from 26 to 32.
4611 (test_with_self): Allow xmalloc call to be interleaved with the
4612 preceding two lines.
4613
e766d4d6
JB
46142003-06-24 Joel Brobecker <brobecker@gnat.com>
4615
4616 * gdb.base/bang.exp: New testcase.
4617
f125c9a4
JB
46182003-06-23 Joel Brobecker <brobecker@gnat.com>
4619
4620 * gdb.base/langs.exp: Add some tests for the "minimal" language
4621 support.
4622
6e25beaf
EZ
46232003-06-23 Elena Zannoni <ezannoni@redhat.com>
4624
4625 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
4626 the testcase.
4627
2f816dda
DJ
46282003-06-22 Daniel Jacobowitz <drow@mvista.com>
4629
4630 * gdb.base/relocate.exp: Test add-symbol-file with a variable
4631 offset.
4632
db5a5748
DJ
46332003-06-22 Daniel Jacobowitz <drow@mvista.com>
4634
4635 * gdb.c++/pr-1210.cc: New file.
4636 * gdb.c++/pr-1210.exp: New file.
4637
1df0c130
DJ
46382003-06-21 Daniel Jacobowitz <drow@mvista.com>
4639
4640 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
4641 000-exec-continue.
4642
a92feac0
MK
46432003-06-15 Mark Kettenis <kettenis@gnu.org>
4644
4645 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
4646 on *-*-*bsd* instead of *-*-freebsd*.
4647
81a58f5b
AC
46482003-06-14 Andrew Cagney <cagney@redhat.com>
4649
4650 * gdb.base/store.exp: Test longest and doublest. Test all
4651 parameters. Weaken return statement match.
4652 * gdb.base/store.c: Add longest and doublest - aka long long and
4653 long double functions. Put all parameters into local register
4654 variables. Use negative values.
4655
b257a0d3
AC
46562003-06-14 Andrew Cagney <cagney@redhat.com>
4657
4658 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
4659 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
4660 exit status.
4661 * gdb.base/fileio.exp: Disable target when nointerrupts and
4662 noinferiorio, instead of limiting it to remote. Use remote_exec
4663 instead of system.
d63a86f8 4664
21c38304
JJ
46652003-06-12 Jeff Johnston <jjohnstn@redhat.com>
4666
4667 * gdb.base/float.exp: Add ia64 support.
4668
1bcdb424
CV
46692003-06-12 Corinna Vinschen <vinschen@redhat.com>
4670
4671 * gdb.base/fileio.exp: Run only on remote targets.
4672
6aeb981f
CV
46732003-06-10 Corinna Vinschen <vinschen@redhat.com>
4674
4675 * gdb.base/fileio.c: New file, testing File-I/O.
4676 * gdb.base/fileio.exp: Ditto.
4677
53df362e
RG
46782003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
4679
4680 * gdb.base/shreloc.exp: New file, check symbol values obtained from
4681 shared objects after relocation at load time (gdb PR/1132).
4682 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
4683 as above, part of the shared object relocation test.
4684
ffee1b46
MK
46852003-06-08 Mark Kettenis <kettenis@gnu.org>
4686
b5ca3722
MK
4687 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
4688 fully filled history list.
4689 * gdb.base/gdb_history: New file.
4690
03ed860d
MK
4691 * gdb.base/signals.exp: XFAIL "continue to func1" on
4692 i*86-*-freebsd*.
4693
ffee1b46
MK
4694 * gdb.base/attach.exp: When trying to attach to a nonexistent
4695 process, make it possible to specify the PID based on the target,
4696 and do so for *-*-freebsd*.
4697
d80dbb52
RH
46982003-06-02 Richard Henderson <rth@redhat.com>
4699
4700 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
4701
6dd77b81
RH
47022003-06-02 Richard Henderson <rth@redhat.com>
4703
4704 * gdb.base/selftest.exp: Next over lim_at_start initialization.
4705
f6347e16
RH
47062003-06-02 Richard Henderson <rth@redhat.com>
4707
4708 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
4709
2c161407
DJ
47102003-06-01 Daniel Jacobowitz <drow@mvista.com>
4711
4712 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
4713 of globalvar.
4714
572eb746
MK
47152003-06-01 Mark Kettenis <kettenis@gnu.org>
4716
4717 * gdb.asm/asm-source.exp: Check for memory read errors in
4718 disassembler test on *BSD too.
4719
9e9617a5
RH
47202003-06-01 Richard Henderson <rth@redhat.com>
4721
4722 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
4723 for .frame.
4724 (gdbasm_call): Lose ldgp.
4725 (gdbasm_startup): Add frame information.
4726 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
4727
7b34ad4e
MK
47282003-05-31 Mark Kettenis <kettenis@gnu.org>
4729
4730 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
4731 i?86-*-*.
4732
10059fdf
MK
47332003-05-30 Mark Kettenis <kettenis@gnu.org>
4734
4735 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
4736 FreeBSD.
4737
acf4b816
RH
47382003-05-29 Richard Henderson <rth@redhat.com>
4739
4740 * gdb.asm/alpha.inc: New file.
4741 * gdb.asm/asm-source.exp: Use it.
4742
e9ecd949
JB
47432003-05-29 Jim Blandy <jimb@redhat.com>
4744
4745 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
4746 'core.PID'.
4747
e3e5a4f3
JB
47482003-05-22 Jim Blandy <jimb@redhat.com>
4749
4750 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
4751 backtrace.
d63a86f8 4752
72fe3d25
DC
47532003-05-20 David Carlton <carlton@math.stanford.edu>
4754
4755 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
4756 this time.
4757
58da2eb2
DC
47582003-05-19 David Carlton <carlton@bactrian.org>
4759
4760 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
4761 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
4762
1fcb5155
DC
47632003-05-19 David Carlton <carlton@bactrian.org>
4764
4765 * gdb.c++/namespace.exp: Add namespace scope and anonymous
4766 namespace tests.
4767 Bump copyright date.
4768 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
4769 (main): Call C::D::marker2.
4770 * gdb.c++/namespace1.cc: New file.
4771
85e85163
JJ
47722003-05-14 Jeff Johnston <jjohnstn@redhat.com>
4773
4774 Roland McGrath <roland@redhat.com>
d63a86f8 4775 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
4776 there is no manager thread.
4777
a25fbfec
JJ
47782003-05-08 Jeff Johnston <jjohnstn@redhat.com>
4779
d63a86f8
RM
4780 * gdb.threads/schedlock.exp: Remove assumption that all threads
4781 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
4782 in one of the child threads rather than the main thread.
4783
be375bae
JB
47842003-05-07 Jim Blandy <jimb@redhat.com>
4785
09bf6082
JB
4786 Add support for assembly source testing on the s390x.
4787 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
4788 architecture.
4789 * gdb.asm/s390x.inc: New file.
4790
be375bae
JB
4791 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
4792 succession of 'if' statements.
4793
00905d52
AC
47942003-05-05 Andrew Cagney <cagney@redhat.com>
4795
4796 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
4797
b1e29e33
AC
47982003-05-05 Andrew Cagney <cagney@redhat.com>
4799
4800 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
4801 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
4802
e33d66ec
EZ
48032003-05-02 Elena Zannoni <ezannoni@redhat.com>
4804
4805 * gdb.base/charset.exp: Update based on new behavior of set/show
4806 charset commands.
4807
2b6fd0d8
AC
48082003-05-01 Andrew Cagney <cagney@redhat.com>
4809
4810 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
4811 variable do not give memory errors.
4812
130cacce
AF
48132003-04-30 Adam Fedor <fedor@gnu.org>
4814
4815 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
4816 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
4817 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
4818 gdb.objc/basicclass.m: : New files
4819
4820 * lib/gdb.exp (gdb_compile_objc): New procedure.
4821
bea71854
DJ
48222003-04-27 Daniel Jacobowitz <drow@mvista.com>
4823
4824 * gdb.base/signals.exp: Make backtrace tests more specific.
4825
0f20eeea
DC
48262003-04-23 David Carlton <carlton@bactrian.org>
4827
4828 * gdb.c++/maint.exp (test_first_component): Add tests for
4829 'operator' in more locations.
4830
c8c4d8dc
KB
48312003-04-16 Kevin Buettner <kevinb@redhat.com>
4832
4833 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
4834
3fe60e3c
EZ
48352003-04-16 Elena Zannoni <ezannoni@redhat.com>
4836
4837 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
4838 func marke' instead. Update test name.
4839
9219021c
DC
48402003-04-15 David Carlton <carlton@math.stanford.edu>
4841
4842 * gdb.c++/maint.exp: New file.
4843
5dd55bdd
EZ
48442003-04-14 Elena Zannoni <ezannoni@redhat.com>
4845
4846 * gdb.threads/schedlock.c: Change type of thread function argument
4847 to long, to avoid warnings on 64-bit platforms.
4848
00890572
EZ
48492003-04-14 Elena Zannoni <ezannoni@redhat.com>
4850
4851 * gdb.base/attach.exp: Add new message from ptrace in case of
4852 attaching to nonexistent process.
d63a86f8 4853
93201743
JB
48542003-04-11 Jim Blandy <jimb@redhat.com>
4855
4856 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
4857 gdb.c++/userdef.cc: Place comments on the lines to which the
4858 marker function might return.
4859 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
4860 gdb.c++/userdef.exp: Look for those comments to check that we've
4861 returned to the right place, instead of checking line numbers.
4862
2a11c64d
EZ
48632003-04-11 Elena Zannoni <ezannoni@redhat.com>
4864
4865 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
4866 match on sourcefile name, instead of directory name.
4867
68ab8fc5
EZ
48682003-04-10 Elena Zannoni <ezannoni@redhat.com>
4869
d63a86f8 4870 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
4871 working directory name.
4872
5624293a
JB
48732003-04-09 Jim Blandy <jimb@redhat.com>
4874
4875 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
4876 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
4877 after an inferior function call, report the failure, but allow the
4878 test to continue.
4879
f1f02ee4
SC
48802003-04-05 Stephane Carrez <stcarrez@nerim.fr>
4881
4882 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
4883 with -DPROTOTYPES.
4884
6eb79af0
SC
48852003-04-05 Stephane Carrez <stcarrez@nerim.fr>
4886
4887 * gdb.base/break.exp: Revert last patch.
4888
8dfb4cf0
SC
48892003-04-04 Stephane Carrez <stcarrez@nerim.fr>
4890
4891 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
4892 with -DPROTOTYPES.
4893
ed4c619a
AC
48942003-04-02 Andrew Cagney <cagney@redhat.com>
4895
4896 * gdb.base/callfuncs.exp: Make "print add" messages unique.
4897 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
4898 matching directories by the name breakpoint.
4899 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
4900 Make "continue to marker1" consistent.
4901 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
4902 message consistent.
4903 * lib/gdb.exp: Put "the program is no longer running", and "the
4904 program exited" in parenthesis.
4905 * lib/mi-support.exp: Ditto.
d63a86f8 4906
4e35d5f0 49072003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 4908
4e35d5f0
BR
4909 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
4910
71900fe8
AC
49112003-03-29 Andrew Cagney <cagney@redhat.com>
4912
4913 * gdb.base/sizeof.c (main): Print the value of '\377'.
4914 * gdb.base/sizeof.exp: Check the sign of '\377'.
4915
c0655a16
MC
49162003-03-27 Michael Chastain <mec@shout.net>
4917
4918 * gdb.base/gdb1090.exp: New file.
4919 * gdb.base/gdb1090.cc: New file.
4920
5b2a3989
JB
49212003-03-27 J. Brobecker <brobecker@gnat.com>
4922
4923 * gdb.gdb/observer.exp: New regression test.
4924
79876890
MC
49252003-03-27 Michael Chastain <mec@shout.net>
4926
4927 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
4928 * gdb.base/ptype.exp: Likewise.
4929
6eac95e3
CV
49302003-03-27 Corinna Vinschen <vinschen@redhat.com>
4931
4932 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
4933
e8c71839
MC
49342003-03-26 Michael Chastain <mec@shout.net>
4935
4936 * gdb.base/ptype.exp: Actually use some typedef'd types.
4937
71b10041
SC
49382003-03-21 Stephane Carrez <stcarrez@nerim.fr>
4939
4940 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
4941 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
4942
2512cf80
CV
49432003-03-20 Corinna Vinschen <vinschen@redhat.com>
4944
4945 * gdb.base/default.exp: Fix regular expression.
4946
0d195a4f
CV
49472003-03-20 Corinna Vinschen <vinschen@redhat.com>
4948
4949 * gdb.base/args.exp: Fix regular expression.
4950
8a2dbca8
CV
49512003-03-20 Corinna Vinschen <vinschen@redhat.com>
4952
4953 * gdb.base/help.exp: Allow Win32 child process.
4954
bf028682
CV
49552003-03-20 Corinna Vinschen <vinschen@redhat.com>
4956
4957 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
4958 when stepping out of main().
4959
182dbe85
CV
49602003-03-20 Corinna Vinschen <vinschen@redhat.com>
4961
4962 * gdb.base/default.exp: Check for win32 specific message when calling
4963 "run" without executable.
4964
d67a6ba5
CV
49652003-03-20 Corinna Vinschen <vinschen@redhat.com>
4966
4967 * gdb.base/args.exp: Expect .exe in output.
4968
a955b5bb
CV
49692003-03-20 Corinna Vinschen <vinschen@redhat.com>
4970
4971 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
4972 Cygwin native.
4973
bf6bad4b
AC
49742003-03-17 Andrew Cagney <cagney@redhat.com>
4975
4976 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
4977 vector registes.
4978 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
4979 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
4980
293e9a31
DC
49812003-03-17 David Carlton <carlton@math.stanford.edu>
4982
4983 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
4984 test, for PR breakpoints/38.
4985 Call test_watchpoint_and_breakpoint.
4986 * gdb.base/watchpoint.c (func3): New function.
4987 (main): Call func3.
4988
5330f2db
DC
49892003-03-04 David Carlton <carlton@math.stanford.edu>
4990
4991 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
4992 Garply<Garply<char> >:: garply".
4993 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
4994 with respect to PR c++/1111; note also PR c++/1113.
4995 (test_template_breakpoints): KFAIL "constructor breakpoint" with
4996 respect to PR c++/1062.
4997 KFAIL "destructor breakpoint" with respect to PR c++/1112.
4998
6ece72da
DC
49992003-03-03 David Carlton <carlton@math.stanford.edu>
5000
5001 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
5002 with respect to PR c++/57.
5003 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
5004 c++/826.
5005 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
5006 respect to PR c++/57.
5007
85ca1584
DC
50082003-03-03 David Carlton <carlton@math.stanford.edu>
5009
5010 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
5011 respect to PR c++/33 into FAILs.
5012
98e9c5b8
MC
50132003-03-03 Michael Chastain <mec@shout.net>
5014
7bedbf27
MC
5015 * configure.in: Update copyright years.
5016
50172003-03-03 Michael Chastain <mec@shout.net>
5018
5019 * Makefile.in: Update copyright years.
98e9c5b8 5020
f683e100
DC
50212003-02-28 David Carlton <carlton@math.stanford.edu>
5022
5023 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
5024 print class instead of struct and/or superfluous protection
5025 specifiers, as long as the resulting output is equivalent to the
5026 source code.
5027 Delete FIXME from end of messages on tests that don't need
5028 fixing.
5029
a9e0cf2c
DC
50302003-02-28 David Carlton <carlton@math.stanford.edu>
5031
5032 * gdb.c++/templates.exp (do_tests): Allow const in the two
5033 Foo<volatile char *>::foo tests.
5034
e8d359df
MS
50352003-02-27 Michael Snyder <msnyder@redhat.com>
5036
d63a86f8 5037 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
5038 will be consistant.
5039
0b71dc91
DC
50402003-02-26 David Carlton <carlton@math.stanford.edu>
5041
5042 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
5043 char *>::foo" test with respect to PR c++/33. Create a new test
5044 which is identical to that one except that it doesn't put the
5045 space between the "char" and the "*"; KFAIL it, too.
5046
dd14ab43
DC
50472003-02-26 David Carlton <carlton@math.stanford.edu>
5048
5049 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
5050 template types into either PASSes or KFAILs (corresponding to PR
5051 c++/57). Tweak indentation. Update copyright.
5052
1146c7f1
SC
50532003-02-23 Stephane Carrez <stcarrez@nerim.fr>
5054
5055 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
5056
74641dfb
MC
50572003-02-13 Michael Chastain <mec@shout.net>
5058
5059 * gdb.base/exprs.exp: Remove i960 remnants.
5060 * gdb.base/funcargs.exp: Likewise.
5061 * gdb.base/list.exp: Likewise.
5062 * gdb.base/ptype.exp: Likewise.
5063
559cd2d0
DC
50642003-02-14 David Carlton <carlton@math.stanford.edu>
5065
5066 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
5067 pEe->D::vg()" from XFAIL to KFAIL.
5068
c4f90d87
JM
50692003-02-13 Jason Molenda (jmolenda@apple.com)
5070
5071 * gdb.base/maint.exp: Update maint print statistics regexp to include
5072 new entries.
5073
cbc4d97c
MC
50742003-02-13 Michael Chastain <mec@shout.net>
5075
5076 * gdb.c++/inherit.exp: Remove call to get_debug_format.
5077
40f235b7
MC
50782003-02-12 Michael Chastain <mec@shout.net>
5079
5080 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
5081 * gdb.c++/inherit.exp: Likewise.
5082 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
5083 * gdb.c++/templates.exp: Likewise.
5084 * gdb.c++/virtfunc.exp: Likewise.
5085
c56716b0
JM
50862003-02-06 Jason Molenda (jason-cl@molenda.com)
5087
5088 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
5089 why the code is written that way.
5090
070afcf8
MC
50912003-02-05 Michael Chastain <mec@shout.net>
5092
5093 * gdb.base/dump.exp: Add missing copyright line.
5094
5d0331e5
JM
50952003-02-05 Jason Molenda (jason-cl@molenda.com)
5096
f7ae6d3e 5097 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
5098 at the beginning so the breakpoint doesn't get set on the loop.
5099
92851186
MC
51002003-02-05 Michael Chastain <mec@shout.net>
5101
5102 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
5103 output for configurations with gcc 2.95.3.
5104
cbf1e085
AC
51052003-02-05 Keith Seitz <keiths@redhat.com>
5106 Andrew Cagney <ac131313@redhat.com>
5107
5108 * gdb.mi/mi-cli.exp: New file.
d63a86f8 5109
29518e1e
MC
51102003-02-04 Michael Chastain <mec@shout.net>
5111
5112 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
5113 Call perror and then continue.
5114
5af1d5f3
MC
51152003-02-03 Michael Chastain <mec@shout.net>
5116
5117 * gdb.c++/pr-1023.cc: New file.
5118 * gdb.c++/pr-1023.exp: New file.
5119
6b549786
JB
51202003-02-05 Jim Blandy <jimb@redhat.com>
5121
5122 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
5123 it's local to foobar. Check for it there, and check that it's not
5124 present in main.
5125 * gdb.c++/local.cc (marker2): New function.
5126 (foobar): Call marker1.
5127 (main): Call marker2 instead of marker1.
5128
67f16606
AC
51292003-02-04 Andrew Cagney <ac131313@redhat.com>
5130
5131 * gdb.disasm/mn10200.exp: Obsolete file.
5132 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
5133 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
5134 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
5135
1c5cb38e
DC
51362003-02-04 David Carlton <carlton@math.stanford.edu>
5137
5138 * gdb.c++/overload.exp: Test intToChar(1).
5139 * gdb.c++/overload.cc (intToChar): New.
5140 (main): Call intToChar.
5141
d1fe6965
DC
51422003-02-03 David Carlton <carlton@math.stanford.edu>
5143
5144 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
5145 'might_kfail' arg.
5146 KFAIL some of the continue_to_bp_overloaded calls, according to
5147 PR c++/1025.
5148
9ba61c5d
MC
51492003-02-01 Michael Chastain <mec@shout.net>
5150
5151 * gdb.base/advance.c (marker1): New marker function.
5152 * gdb.base/advance.exp: When the 'advance' command lands on the
5153 return breakpoint, it can legitimately stop on either the
5154 current line or the next line. Accommodate both outcomes.
5155 * gdb.base/until.exp: Likewise.
5156
e7494ffb
AC
51572003-02-02 Andrew Cagney <ac131313@redhat.com>
5158
5159 2002-11-10 Jason Molenda (jason-cl@molenda.com):
5160 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
5161 now a list, not a tuple.
5162 * gdb.mi/mi-var-display.exp: Ditto.
5163 * gdb.mi/gdb792.exp: Ditto.
5164
075559bc
AC
51652003-02-01 Andrew Cagney <ac131313@redhat.com>
5166
5167 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
5168 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
5169 stack backtraces.
5170 * gdb.mi/mi-syn-frame.c: Part of same.
5171
2bd4c7b1
MK
51722003-02-01 Mark Kettenis <kettenis@gnu.org>
5173
5174 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
5175 gdb.mi/mi1-pthreads.exp: Return instead of calling
5176 gdb_suppress_entire_file.
5177
eabd8992
MS
51782003-02-01 Mark Salter <msalter@redhat.com>
5179
5180 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
5181
71469e2f
MS
51822003-01-31 Mark Salter <msalter@redhat.com>
5183
5184 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
5185 Support empty arg.
5186
38a94d44
MC
51872003-01-30 Michael Chastain <mec@shout.net>
5188
5189 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
5190 This was a workaround for a UTF-8 bug in readline 4.3. The bug
5191 has been fixed in gdb/readline on 2003-01-09.
5192
19ea9e73
MS
51932003-01-29 Michael Snyder <msnyder@redhat.com>
5194
e8d359df
MS
5195 * gdb.base/maint.exp: Allow for leading underscore in symbol.
5196 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
5197 * gdb.base/args.exp: Skip if target does not support args passing.
5198
2307bd6a
DJ
51992003-01-22 Daniel Jacobowitz <drow@mvista.com>
5200
19ea9e73 5201 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
5202 gdb_test. Accept a list of expect arguments as the third
5203 parameter.
5204 (gdb_test): Use it.
5205
f2dd3617
EZ
52062003-01-20 Elena Zannoni <ezannoni@redhat.com>
5207
5208 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
5209 allow for different test tree configurations. Update some
5210 tescases accordingly.
5211 * gdb.arch/altivec-regs.exp: Ditto.
5212 * gdb.asm/asm-source.exp: Ditto.
5213 * gdb.base/advance.exp: Ditto.
5214 * gdb.base/display.exp: Ditto.
d63a86f8 5215 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
5216 * gdb.base/mips_pro.exp: Ditto.
5217 * gdb.base/overlays.exp: Ditto.
5218 * gdb.base/relocate.exp: Ditto.
5219 * gdb.base/setshow.exp: Ditto.
5220 * gdb.base/step-line.exp: Ditto.
5221 * gdb.base/step-test.exp: Ditto.
5222 * gdb.base/until.exp: Ditto.
5223 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
5224
c71cdefd
DC
52252003-01-17 David Carlton <carlton@math.stanford.edu>
5226
5227 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
5228 corresponding to PR c++/945.
5229 Update copyright.
5230
fdba05d7
DC
52312003-01-17 David Carlton <carlton@math.stanford.edu>
5232
5233 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
5234 corresponding to PR c++/68.
5235
52362003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
5237
5238 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
5239 (test_paddr_hairy_functions): Call print_addr_2_kfail for
5240 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
5241
c362c33a
EZ
52422003-01-15 Elena Zannoni <ezannoni@redhat.com>
5243
0fbc361c
EZ
5244 * gdb.base/break.exp: Fix change of default location, because of
5245 removal of until tests.
5246 * gdb.base/help.exp: Update test for new 'until' help message.
5247 Add test for help on 'advance'.
c362c33a
EZ
5248 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
5249
dabf8a35
MK
52502003-01-15 Mark Kettenis <kettenis@gnu.org>
5251
5252 * gdb.base/default.exp: Adapt "info float" test for recent changes
5253 to that command. Add test for "info vector".
5254 * gdb.base/float.exp: New file. Add test for "info float" that
5255 resembles the old test in gdb.base/default.exp.
5256
a1769aca
DC
52572003-01-15 David Carlton <carlton@math.stanford.edu>
5258
5259 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
5260
82025e13
EZ
52612003-01-15 Elena Zannoni <ezannoni@redhat.com>
5262
5263 * gdb.base/break.exp: Move the tests of until command from here...
5264 * gdb.base/until.exp: ... to here. New file. Add other tests.
5265 * gdb.base/advance.c: New file.
5266 * gdb.base/advance.exp: New file.
5267
8f9ab801
EZ
52682003-01-14 Elena Zannoni <ezannoni@redhat.com>
5269
5270 * gdb.base/args.c: New file.
5271 * gdb.base/args.exp: New file.
5272
9ae66589
DJ
52732003-01-14 Daniel Jacobowitz <drow@mvista.com>
5274
5275 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
5276
8d77e5c3
DJ
52772003-01-14 Daniel Jacobowitz <drow@mvista.com>
5278
5279 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
5280
12d2f0a1
DJ
52812003-01-14 Daniel Jacobowitz <drow@mvista.com>
5282
5283 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
5284 dates.
5285
6ca37014
DJ
52862003-01-13 Daniel Jacobowitz <drow@mvista.com>
5287
5288 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
5289
b0023472
DJ
52902003-01-13 Daniel Jacobowitz <drow@mvista.com>
5291
5292 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
5293 (ptype &*"foo").
5294 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
5295
607fbc54 52962003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
5297
5298 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
5299 * gdb.mi/mi1-console.exp: Likewise.
5300
607fbc54 53012003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
5302
5303 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
5304 * gdb.mi/mi1-console.exp: Likewise.
5305
a1fb14a2
DJ
53062003-01-13 Daniel Jacobowitz <drow@mvista.com>
5307
5308 * gdb.c++/overload.exp: Remove some fixed XFAILs.
5309
c4cf40b7
DJ
53102003-01-09 Daniel Jacobowitz <drow@mvista.com>
5311
5312 * gdb.base/detach.exp: New test.
5313
696d5a5b
DJ
53142003-01-09 Daniel Jacobowitz <drow@mvista.com>
5315
5316 * Makefile.in (ALL_SUBDIRS): New variable.
5317 (subdirs, clean, distclean): Use it.
5318 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
5319 regenerating Makefile, since it is generated from the top level.
5320 * gdb.asm/Makefile.in: Likewise.
5321 * gdb.base/Makefile.in: Likewise.
5322 * gdb.c++/Makefile.in: Likewise.
5323 * gdb.disasm/Makefile.in: Likewise.
5324 * gdb.java/Makefile.in: Likewise.
5325 * gdb.mi/Makefile.in: Likewise.
5326 * gdb.threads/Makefile.in: Likewise.
5327 * gdb.trace/Makefile.in: Likewise.
5328
754533e4
DC
53292003-01-09 David Carlton <carlton@math.stanford.edu>
5330
5331 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
5332 Add copyright year 2003.
5333
d8b3e9ee
MC
53342003-01-06 Michael Chastain <mec@shout.net>
5335
5336 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
5337 When selecting a thread, 'line' and 'file' are optional.
5338 * gdb.mi/mi1-pthreads.exp: Likewise.
5339
8e9e0fe6
AS
53402003-01-06 Andreas Schwab <schwab@suse.de>
5341
5342 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
5343 failures.
5344
b5ab8ff3
DJ
53452003-01-04 Daniel Jacobowitz <drow@mvista.com>
5346
5347 Fix PR gdb/844
5348 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
5349 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
5350
5351 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
5352 instead of calling gdb_suppress_entire_file.
5353 * gdb.threads/print-threads.exp: Likewise.
5354 * gdb.threads/schedlock.exp: Likewise.
5355
5356 * gdb.threads/killed.exp: Return instead of calling
5357 gdb_suppress_entire_file.
5358 * gdb.threads/linux-dp.exp: Likewise.
5359 * gdb.threads/pthreads.exp: Likewise.
5360
1e698235
DJ
53612003-01-04 Daniel Jacobowitz <drow@mvista.com>
5362
5363 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
5364 stabs.
5365 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
5366 * gdb.base/whatis.exp: Always allow (void) after function names.
5367
147ff08c
DJ
53682003-01-04 Daniel Jacobowitz <drow@mvista.com>
5369
5370 * gdb.c++/casts.exp: Correct regexp.
5371
dc62bfc2
MK
53722003-01-04 Mark Kettenis <kettenis@gnu.org>
5373
5374 * configure.in: Call AC_CONFIG_HEADER. Don't call
5375 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
5376 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
5377 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
5378 aforementioned directories in the AC_OUPUT call.
5379 * config.hin: New file.
5380 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
5381 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
5382 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
5383 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
5384 pass -I$objdir instead of -I$objdir/$subdir in compilation.
5385 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
5386 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
5387 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
5388 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
5389 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
5390 gdb.threads/configure.in, gdb.threads/configure,
5391 gdb.threads/config.in, gdb.trace/configure.in,
5392 gdb.trace/configure: Removed.
5393
77afa639
MC
53942003-01-03 Michael Chastain <mec@shout.net>
5395
5396 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
5397 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
5398
7634bb6e
DJ
53992003-01-03 Daniel Jacobowitz <drow@mvista.com>
5400
5401 * gdb.base/store.exp: Fix regular expressions.
5402
b39c905e
MK
54032002-12-28 Mark Kettenis <kettenis@gnu.org>
5404
5405 * configure.in: Rewrite.
5406 * configure: Regenerated.
5407
0a8551dd
DC
54082003-01-03 David Carlton <carlton@math.stanford.edu>
5409
5410 * gdb.base/psymtab.exp: New file.
5411 * gdb.base/psymtab1.c: Ditto.
5412 * gdb.base/psymtab2.c: Ditto.
5413
c60b7188
AF
54142002-12-23 Adam Fedor <fedor@gnu.org>
5415
5416 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
5417
ee73db83
DC
54182002-12-23 David Carlton <carlton@math.stanford.edu>
5419
5420 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
5421 and current_directory initialization.
5422
d6c1774e
JB
54232002-12-22 Jim Blandy <jimb@redhat.com>
5424
f0a847b8
JB
5425 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
5426 rather than as part of the output file name.
5427
d6c1774e
JB
5428 * gdb.base/attach.exp: There's no need to copy the test program to
5429 /tmp; that was only ever necessary on HP/UX, and this test is
5430 entirely disabled there anyway.
5431
f0708dbb
JB
54322002-12-21 Jim Blandy <jimb@redhat.com>
5433
4c2acfea
JB
5434 * gdb.c++/psmang.exp: Doc fix.
5435
f0708dbb
JB
5436 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
5437 test.
5438
9579e000
DC
54392002-12-20 David Carlton <carlton@math.stanford.edu>
5440
5441 * gdb.c++/annota2.exp: KFAIL annotate-quit.
5442
d1810171
MC
54432002-12-18 Michael Chastain <mec@shout.net>
5444
5445 * gdb.c++/annota2.exp: Add copyright year 2002.
5446
76565097
DC
54472002-12-17 David Carlton <carlton@math.stanford.edu>
5448
5449 * gdb.c++/try_catch.cc: Add marker comments.
5450 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
5451 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
5452 * gdb.c++/m-static.cc: Ditto.
5453 * gdb.c++/m-static1.cc: Ditto.
5454 * gdb.c++/try_catch.cc: Ditto.
5455
da81390b
JJ
54562002-12-16 Jeff Johnston <jjohnstn@redhat.com>
5457
5458 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
5459 to see whether we are using the new -environment-directory
5460 command which resets via -r or the old version of the command
5461 which may prompt the user. Part of fix for gdb/741.
5462
b304d130
AC
54632002-12-13 Andrew Cagney <ac131313@redhat.com>
5464
5465 * gdb.fortran/types.exp: Update obsolete comment.
5466 * gdb.fortran/exprs.exp: Ditto.
5467 * lib/gdb.exp: Delete obsolete code.
5468 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
5469 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
5470 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
5471 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
5472 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
5473 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
5474 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
5475 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
5476 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
5477 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
5478 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
5479 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
5480 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
5481 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
5482 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
5483 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
5484 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
5485 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
5486 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
5487 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
5488 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
5489 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
5490 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
5491 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
5492 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
5493 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
5494 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
5495 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
5496 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
5497 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
5498 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
5499 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
5500 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
5501 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
5502 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
5503 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
5504 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
5505
a23b6e6a
DC
55062002-12-11 David Carlton <carlton@math.stanford.edu>
5507
5508 * gdb.c++/m-data.exp: Add test for members that shadow global
5509 variables: see PR gdb/804.
5510 * gdb.c++/m-data.cc: Ditto.
5511
6604731b
DJ
55122002-12-10 Daniel Jacobowitz <drow@mvista.com>
5513
5514 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
5515
de46ecd7
DC
55162002-12-06 David Carlton <carlton@math.stanford.edu>
5517
5518 * gdb.base/store.c: Don't declare functions static.
5519
27e829d0
AC
55202002-12-04 Andrew Cagney <ac131313@redhat.com>
5521
5522 * gdb.base/store.exp, gdb.base/store.c: New files.
5523
92806416
DJ
55242002-12-03 Daniel Jacobowitz <drow@mvista.com>
5525
5526 * gdb.base/selftest.exp: Update for current gdb.
5527
3bcbaac5
DJ
55282002-12-03 Daniel Jacobowitz <drow@mvista.com>
5529
5530 * gdb.base/maint.exp: Only dump symbols from one source file
5531 or objfile.
5532
f4f00b1f
DJ
55332002-12-03 Daniel Jacobowitz <drow@mvista.com>
5534
5535 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
5536 function call.
5537
f1c8a949
JB
55382002-11-25 Jim Blandy <jimb@redhat.com>
5539
5540 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
5541 function appearing in error message.
5542
9e297a97
DJ
55432002-11-21 Daniel Jacobowitz <drow@mvista.com>
5544
5545 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
5546
1f312e79
JJ
55472002-11-08 Jeff Johnston <jjohnstn@redhat.com>
5548
d63a86f8
RM
5549 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
5550 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
5551 should be in mi console format. This is part of fix for PR gdb/604.
5552
83c31e7d
FN
55532002-09-18 Fernando Nasser <fnasser@redhat.com>
5554
5555 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
5556 which explicitly prints the zero offset as "+0".
5557
322b3f65
DJ
55582002-10-22 Daniel Jacobowitz <drow@mvista.com>
5559
5560 * gdb.threads/schedlock.c (args): Make unsigned.
5561
55622002-10-21 Daniel Jacobowitz <drow@mvista.com>
5563
5564 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
5565 numbers. Allow "foo2|selected stack frame".
5566 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
5567 * gdb.asm/asmsrc2.s: Likewise.
5568 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
5569 comments.
5570 * gdb.asm/mips.inc: New file.
5571
5e2fe5b8
AF
55722002-10-18 Adam Fedor <fedor@gnu.org>
5573
5574 * gdb.base/default.exp: Update expected output to include 'ObjC'.
5575 * gdb.base/help.exp: Likewise.
5576
abe1a5d0
KB
55772002-10-17 Kevin Buettner <kevinb@redhat.com>
5578
5579 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
5580 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
5581
10abb1d4
JB
55822002-10-02 Jim Blandy <jimb@redhat.com>
5583
5584 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
5585
1f609b42
AC
55862002-10-01 Andrew Cagney <ac131313@redhat.com>
5587
5588 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
5589 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
5590 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
5591 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
5592 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
5593 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
5594 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
5595
0aee02e4
AC
55962002-09-29 Andrew Cagney <ac131313@redhat.com>
5597
5598 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
5599 * mi0-disassemble.exp, mi0-eval.exp: Delete.
5600 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
5601 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
5602 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
5603 * mi0-var-block.exp, mi0-var-child.exp: Delete.
5604 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 5605
6fde09ad
KB
56062002-09-27 Kevin Buettner <kevinb@redhat.com>
5607
5608 * gdb.base/annota1.exp (info break): Make directory components of
5609 path optional since not all compilers emit this debug information.
5610
5611 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
5612 step ends up stepping out of the function instead of stopping on
5613 the epilogue.
5614
9e8aab75
KS
56152002-09-26 Keith Seitz <keiths@redhat.com>
5616
5617 * lib/insight-support.exp (gdbtk_start): Figure out where
5618 the insight executable is based on where gdb is. Use this
5619 executable to start insight instead of gdb.
5620
e36180d7
AC
56212002-09-25 Andrew Cagney <cagney@redhat.com>
5622
5623 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
5624
9dd34b2b
AC
56252002-09-24 Andrew Cagney <ac131313@redhat.com>
5626
5627 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
5628 test_isolated_complaints.
5629 (test_empty_complaint): New function.
5630 (test_empty_complaints): New function. Check no output when no
5631 complaints.
d63a86f8 5632
dea97812
KB
56332002-09-19 Jim Blandy <jimb@redhat.com>
5634
5635 * gdb.base/charset.exp, gdb.base/charset.c: New files.
5636
54951bd7
AC
56372002-09-19 Andrew Cagney <ac131313@redhat.com>
5638
5639 * gdb.gdb/complaints.exp: New file.
5640
dec43320
AC
56412002-09-18 Andrew Cagney <ac131313@redhat.com>
5642
5643 * gdb.base/maint.exp: Check `help maint internal-warning'.
5644
e70d6e3f
DC
56452002-09-18 David Carlton <carlton@math.stanford.edu>
5646
5647 * gdb.c++/m-static.exp: Remove breakpoints depending on line
5648 numbers, and replace them by a single breakpoint after the
5649 constructors are all finished.
5650 Add test 4.
5651 * gdb.c++/m-static.cc: Add test 4.
5652 * gdb.c++/m-static.h: New file.
5653 * gdb.c++/m-static1.cc: New file.
5654
5655 * gdb.c++/printmethod.exp: New file.
5656 * gdb.c++/printmethod.cc: New file.
5657
5658 * gdb.c++/pr-574.exp: New file.
5659 * gdb.c++/pr-574.cc: New file.
5660
afb5c968
CV
56612002-09-18 Corinna Vinschen <vinschen@redhat.com>
5662
5663 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
5664 embedded targets which never actually exit.
5665
31e45dee
FN
56662002-09-18 Fernando Nasser <fnasser@redhat.com>
5667
5668 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
5669 "don't step after run" as unresolved or unsupported, instead of xfail.
5670
a283c5a1
CV
56712002-09-18 Corinna Vinschen <vinschen@redhat.com>
5672
5673 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
5674 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
5675 Add newline to expected string in "step out of main (status wrapper)"
5676 case.
5677
11350d2a
CV
56782002-09-18 Corinna Vinschen <vinschen@redhat.com>
5679
5680 * lib/gdb.exp (rerun_to_main): Allow restarting application.
5681 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
5682
0deec7d6
TT
56832002-09-17 Tom Tromey <tromey@redhat.com>
5684
5685 * gdb.base/printcmds.exp (test_print_string_constants): Expect
5686 \000, not \0, in double-quoted string.
5687
b2b4a1b5
CV
56882002-09-14 Corinna Vinschen <vinschen@redhat.com>
5689
c9d37158 5690 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
5691 string after running the commands execution on breakpoint tests.
5692
1c56143a
CV
56932002-09-13 Corinna Vinschen <vinschen@redhat.com>
5694
5695 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
5696
37f8da45
JB
56972002-09-12 Joel Brobecker <brobecker@gnat.com>
5698
5699 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
5700
08b468e0
KS
57012002-09-10 Keith Seitz <keiths@redhat.com>
5702
5703 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
5704 runto proc.
5705 (mi_run_to_main): Use mi_runto.
5706 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
5707
dc360f58
KS
57082002-09-10 Keith Seitz <keiths@redhat.com>
5709
5710 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
5711 regexp for stopping at main. Could have multiple event notifications.
5712 Don't assume that main was declared with no parameters.
5713 (mi_next): Use mi_step_to.
5714 (mi_step): Use mi_next_to.
5715
ce3abcfb
CV
57162002-09-09 Corinna Vinschen <vinschen@redhat.com>
5717
5718 * gdb.base/default.exp: Fix expected string in `info float' test.
5719
d1f5b980
BE
57202002-09-09 Ben Elliston <bje@redhat.com>
5721
5722 * config/mips.exp: Update comments.
5723 * config/mips-idt.exp: Likewise.
5724 * config/nind.exp: Likewise.
5725 * config/slite.exp: Likewise.
5726 * config/sparclet.exp: Likewise.
5727 * config/udi.exp: Likewise.
5728 * config/vx.exp: Likewise.
5729 * config/vxworks29k.exp: Likewise.
5730
2f71430b
JB
57312002-09-05 Jim Blandy <jimb@redhat.com>
5732
5733 * gdb.threads/killed.exp: Fix test failure message.
5734
7ddebc7e
KS
57352002-09-04 Keith Seitz <keiths@redhat.com>
5736
5737 * lib/mi-support.exp: Update copyright.
5738 (mi_gdb_test): Increase the priority of the expected pattern
5739 so that it matches gdb_test.
5740
0ae67eb3
KS
57412002-09-03 Keith Seitz <keiths@redhat.com>
5742
5743 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
5744 Use integer comparison instead of string comparison for testing
5745 whether binary was built.
5746
38fc42c8
JB
57472002-09-03 Jim Blandy <jimb@redhat.com>
5748
5749 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
5750
b6ff0e81
JB
57512002-08-29 Jim Blandy <jimb@redhat.com>
5752
5753 * gdb.threads/pthreads.exp: Move the portable thread compilation
5754 code into a function in lib/gdb.exp, and call that from here.
5755 * lib/gdb.exp (gdb_compile_pthreads): New function.
5756
07c98896
KS
57572002-08-29 Keith Seitz <keiths@redhat.com>
5758
5759 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
5760 expect_out so that callers can get at it.
5761
0312286c
DJ
57622002-08-23 Daniel Jacobowitz <drow@mvista.com>
5763
5764 * gdb.threads/print-threads.c: New file.
5765 * gdb.threads/print-threads.exp: New file.
5766 * gdb.threads/schedlock.c: New file.
5767 * gdb.threads/schedlock.exp: New file.
5768
dd039bc4
EZ
57692002-08-22 Elena Zannoni <ezannoni@redhat.com>
5770
5771 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
5772 not altivec.c.
5773
1f36144c
MK
57742002-08-17 Mark Kettenis <kettenis@gnu.org>
5775
5776 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
5777 targets. The problem should be fixed now.
5778
16057ec7 57792002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
5780
5781 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
5782 2002-07-24 change that removes final dots from error messages.
5783
3c1499ad
TT
57842002-08-13 Tom Tromey <tromey@redhat.com>
5785
5786 * gdb.base/readline.exp: New file.
5787
a20ce2c3
AC
57882002-08-01 Andrew Cagney <ac131313@redhat.com>
5789
5790 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
5791 supress message.
5792
db034ac5
AC
57932002-08-01 Andrew Cagney <cagney@redhat.com>
5794
5795 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
5796 CHILL_FOR_TARGET and CHILL_LIB.
5797 * configure.in (configdirs): Remove gdb.chill.
5798 * configure: Regenerate.
5799 * lib/gdb.exp: Obsolete references to chill.
5800 * gdb.fortran/types.exp: Ditto.
5801 * gdb.fortran/exprs.exp: Ditto.
5802
3e000b18
KB
58032002-07-30 Kevin Buettner <kevinb@redhat.com>
5804
5805 * gdb.base/shlib-call.exp (additional_flags): Conditionally
5806 set Irix-specific compile and link flags.
5807
28f4966b
KB
58082002-07-29 Kevin Buettner <kevinb@redhat.com>
5809
5810 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
5811 source files. The ``-o'' option doesn't work with the ``-E'' option
5812 when using the Irix compiler.
5813
46c0d5a6
DJ
58142002-07-19 Daniel Jacobowitz <drow@mvista.com>
5815
5816 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
5817 Improve support for reusing an exec file. Copy exec file
5818 to target, and run gdbserver on the target instead of on the host.
5819
eecf4bed
JB
58202002-07-18 Jim Blandy <jimb@redhat.com>
5821
0f815cdf
JB
5822 * gdb.base/ending-run.exp: Don't expect to see the program end in
5823 some orderly fashion when we're running on a real stand-alone
5824 board.
5825
eecf4bed
JB
5826 * gdb.base/interrupt.exp: Correct logic for skipping tests on
5827 targets that don't support interrupts.
5828
52d309e4
JB
58292002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
5830
5831 * gdb.base/attach.exp: Add patterns to match output from /proc-based
5832 systems.
5833 Move comments in expect statements to inside the actions, so that they
5834 don't get matched against.
5835
ff683d9e
MK
58362002-07-10 Mark Kettenis <kettenis@gnu.org>
5837
5838 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
5839 function when asleep" test.
5840
b5356753
AC
58412002-07-10 Andrew Cagney <ac131313@redhat.com>
5842
5843 * gdb.base/page.exp: Rewrite to handle problems with very long
5844 `info set' output. Update copyright.
5845
6aa4d13a
AC
58462002-06-26 Andrew Cagney <ac131313@redhat.com>
5847
5848 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
5849 gdb.threads-hp.
5850 * gdb.hp/configure: Regenerate.
5851 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
5852 * gdb.hp/gdb.threads-hp/configure: Delete file.
5853 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
5854
8cf8c2b8
AC
58552002-06-22 Andrew Cagney <ac131313@redhat.com>
5856
5857 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
5858 setlocale, bindtextdomain and textdomain.
5859
6827a8f8
JB
58602002-06-11 Jim Blandy <jimb@redhat.com>
5861
919d772c
JB
5862 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
5863 preprocessor macro information is present.
5864
6827a8f8
JB
5865 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
5866 tests.
5867
c15b0d21
MS
58682002-06-06 Michael Snyder <msnyder@redhat.com>
5869
c5984d70
MS
5870 * gdb.base/overlays.exp: Record addresses of overlay
5871 functions in TCL variables rather than in GDB variables,
5872 to avoid having GDB convert them to pointers (with loss
5873 of information).
5874
d63a86f8 5875 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 5876 default linker script changes.
c15b0d21
MS
5877 * gdb.base/long_long.exp: Add check for sizeof (long double).
5878
be26fe0d
ML
58792002-06-06 Michal Ludvig <mludvig@suse.cz>
5880
5881 * gdb.asm/asm-source.exp: Add x86-64 target.
5882 * gdb.asm/x86_64.inc: New.
d63a86f8 5883
258093ca 58842002-05-30 Michael Chastain <mec@shout.net>
258093ca 5885
4b3153f1 5886 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
5887 * gdb.c++/m-static.cc: New file.
5888 * gdb.c++/m-static.exp: New file.
5889
241264c6
MS
58902002-05-28 Michael Snyder <msnyder@redhat.com>
5891
5892 * gdb.base/call-ar-st.exp: Allow for reduced floating point
5893 precision.
5894
9bba8c8f 58952002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 5896
4b3153f1 5897 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
5898 * gdb.c++/m-data.cc: New file.
5899 * gdb.c++/m-data.exp: New file.
5900
59012002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 5902
4b3153f1 5903 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 5904 * gdb.c++/try_catch.cc: New file.
d63a86f8 5905 * gdb.c++/try_catch.exp: New file.
9bba8c8f 5906
def1b996
MC
59072002-05-27 Michael Chastain <mec@shout.net>
5908
5909 * gdb.c++/local.exp: Accept more nested types in output.
5910
522ba268
MC
59112002-05-26 Michael Chastain <mec@shout.net>
5912
5913 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
5914
277254ba
MS
59152002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
5916
5917 * lib/gdb.exp (gdb_wrapper_init): Just because
5918 gdb_wrapper_file exists, this does not mean that the file
5919 should not be rebuilt. That is what gdb_wrapper_initialized
5920 is for.
5921 (default_gdb_init): Reset gdb_wrapper_initialized.
5922
b61a8733
MS
59232002-05-23 Michael Snyder <msnyder@redhat.com>
5924
d63a86f8 5925 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
5926 the precision of the floating point test results.
5927 * gdb.base/call-rt-st.exp: Ditto.
5928
b61a8733
MS
5929 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
5930 * gdb.base/call-rt-st.exp: Ditto.
5931
56f6e910
MC
59322002-05-19 Michael Chastain <mec@shout.net>
5933
5934 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
5935
ad0b0016
EZ
59362002-05-19 Elena Zannoni <ezannoni@redhat.com>
5937
5938 * configure.in (configdirs): Add gdb.arch.
5939 * configure: Regenerate.
5940
f617d2b6
JB
59412002-05-17 Jim Blandy <jimb@redhat.com>
5942
5943 * gdb.base/completion.exp: Recognize the more detailed error
5944 messages produced by the macro expander's lexical analyzer.
5945
eac2a696
EZ
59462002-05-14 Elena Zannoni <ezannoni@redhat.com>
5947
5948 * gdb.arch/altivec-abi.c: New file.
5949 * gdb.arch/altivec-abi.exp: New file.
5950 * gdb.arch/altivec-regs.c: New file.
5951 * gdb.arch/altivec-regs.exp: New file.
5952
2fdde8f8
DJ
59532002-05-14 Daniel Jacobowitz <drow@mvista.com>
5954
5955 * gdb.base/maint.exp (maint print type): Update for new type
5956 structure.
d63a86f8 5957
e31f1a7c
EZ
59582002-05-14 Elena Zannoni <ezannoni@redhat.com>
5959
5960 * gdb.arch: New directory.
5961 * gdb.arch/configure.in: New file.
5962 * gdb.arch/configure: New file.
5963 * gdb.arch/Makefile.in: New file.
5964
db589741
CV
59652002-05-13 Corinna Vinschen <vinschen@redhat.com>
5966
5967 * gdb.asm/asm-source.exp: Add v850 as supported target.
5968 * gdb.asm/v850.inc: New file.
5969
8ce2a7dc
DJ
59702002-05-13 Daniel Jacobowitz <drow@mvista.com>
5971
5972 * gdb.c++/annota2.exp (annotate-quit): Add comment.
5973
df763c7f
DJ
59742002-05-12 Daniel Jacobowitz <drow@mvista.com>
5975
5976 * gdb.base/break.exp: Check 'break "marker2"'.
5977
377daeed
MS
59782002-05-10 Michael Snyder <msnyder@redhat.com>
5979
5980 * gdb.base/long_long.exp: Fix typo.
5981
c4b7bc2b
JB
59822002-05-10 Jim Blandy <jimb@redhat.com>
5983
ecac9a4e
JB
5984 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
5985 a bug.
5986
c4b7bc2b
JB
5987 * gdb.base/printcmds.exp (test_integer_literals_rejected):
5988 Recognize more detailed error message produced by the macro
5989 expander's lexical analyzer.
5990 * lib/gdb.exp (test_print_reject): Same.
5991
e71019a1
MK
59922002-05-09 Mark Kettenis <kettenis@gnu.org>
5993
5994 * gdb.c++/method.exp: Fix typo.
5995
fedfc8e6
MS
59962002-05-08 Michael Snyder <msnyder@redhat.com>
5997
166a1957
MS
5998 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
5999 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 6000 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
6001 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
6002 Add iftarget clause for strongarm.
d63a86f8 6003
f1c47eb2
MS
60042002-05-06 Michael Snyder <msnyder@redhat.com>
6005
cb9a9d3e
MS
6006 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
6007 (gdb_continue_to_end): Accept output from status wrapper.
6008 * gdb.base/ending-run.exp: Add case for output from status wrapper.
6009 Clean up fail messages to match pass messages.
6010
f1c47eb2
MS
6011 Enable the "needs_status_wrapper" testsuite feature.
6012 * lib/gdb.exp (gdb_wrapper_init): New procedure.
6013 (gdb_compile): Conditionally call gdb_wrapper_init.
6014 * gdb.base/a2-run.exp: Recognize output from status wrapper.
6015 * gdb.c++/method.exp: Recognize output from status wrapper.
6016
6079c749
BE
60172002-05-06 Ben Elliston <bje@redhat.com>
6018From Graydon Hoare <graydon@redhat.com>
6019
6020 * config/sid.exp: Include support for "rawsid" protocol.
6021
188baff3
JB
60222002-05-03 Jim Blandy <jimb@redhat.com>
6023
6024 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
6025 * gdb.c++/hang3.C: New file.
6026
b9c07f0f
AC
60272002-05-04 Andrew Cagney <ac131313@redhat.com>
6028
6029 * gdb.base/default.exp: Remove obsolete code.
6030 * gdb.c++/misc.exp: Ditto. Update copyright.
6031 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
6032 * gdb.base/whatis.exp: Ditto. Update copyright.
6033 * gdb.base/scope.exp: Ditto. Update copyright.
6034 * gdb.base/ptype.exp: Ditto. Update copyright.
6035 * gdb.base/printcmds.exp: Ditto. Update copyright.
6036 * gdb.base/opaque.exp: Ditto. Update copyright.
6037 * gdb.base/list.exp: Ditto.
6038 * gdb.base/funcargs.exp: Ditto. Update copyright.
6039 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
6040 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
6041 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
6042 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
6043 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
6044 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
6045
5c7a0397
MS
60462002-05-02 Michael Snyder <msnyder@redhat.com>
6047
d6dcc264 6048 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
6049 * gdb.base/long_long.exp: Add xscale target.
6050 * gdb.base/default.exp: Add xscale target.
6051
eb7f1c48
JB
60522002-05-01 Jim Blandy <jimb@redhat.com>
6053
6054 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
6055 gdb.c++/hang.exp: New test.
6056
a6befae8
FF
60572002-05-01 Fred Fish <fnf@redhat.com>
6058
6059 * gdb.base/completion.exp: Handle completions of "./Make" for
6060 more than one completion possibility, as is the case when we
6061 build and test in the source tree.
6062
0a310277
AG
60632002-04-29 Anthony Green <green@redhat.com>
6064
6065 * gdb.java/jmisc1.exp: New file.
6066 * gdb.java/jmisc2.exp: New file.
6067
6ff9af88
DJ
60682002-04-24 Daniel Jacobowitz <drow@mvista.com>
6069
6070 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
6071
96b3d632
EZ
60722002-04-23 Elena Zannoni <ezannoni@redhat.com>
6073
6074 * gdb.base/help.exp: Change 'help status' to allow for target
6075 dependent output differences.
6076
5019bb54
MC
60772002-04-22 Michael Chastain <mec@shout.net>
6078
6079 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
6080
a805a116
MC
60812002-04-22 Michael Chastain <mec@shout.net>
6082
6083 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
6084
a1706bfd
DM
60852002-04-17 David S. Miller <davem@redhat.com>
6086
6087 * gdb.asm/sparc64.inc: New file.
6088 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
6089
a73a20a2
EZ
60902002-04-19 Elena Zannoni <ezannoni@redhat.com>
6091
6092 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
6093 instruction file directly into the build tree. Clean up at end of
6094 test.
6095
ba678339
DM
60962002-04-18 David S. Miller <davem@redhat.com>
6097
6098 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
6099 handle 64-bit platforms correctly.
6100 * gdb.base/maint.exp: Likewise.
6101
b03399da
KB
61022002-04-18 Kevin Buettner <kevinb@redhat.com>
6103
6104 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
6105 ``-fpic'' when compiling files comprising a shared library, but
6106 it does need additional linker flags in order to find shared
6107 libraries at run time.
6108
e2004992
KB
61092002-04-18 Kevin Buettner <kevinb@redhat.com>
6110
6111 * gdb.base/cvexpr.c (use): New function.
6112 (main): Invoke use() on all global variables to prevent
6113 some linkers from deleting these otherwise unused symbols.
6114
d8937120
MC
61152002-04-17 Michael Chastain <mec@shout.net>
6116From David S. Miller <davem@redhat.com>
6117
6118 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
6119 handle 64-bit platforms correctly.
6120
ffd61a58
MS
61212002-04-12 Michael Snyder <msnyder@redhat.com>
6122From Jim Blandy <jimb@redhat.com>
6123 * gdb.base/foo.c (foox): Remove section attribute; the linker
6124 script can handle this instead.
6125 * gdb.base/bar.c (barx): Same.
6126 * gdb.base/baz.c (bazx): Same.
6127 * gdb.base/grbx.c (grbxx): Same.
6128
6129 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
6130 manager doesn't automatically unmap overlays unnecessarily.
6131
6b8426a6
MH
61322002-04-10 Martin M. Hunt <hunt@redhat.com>
6133
6134 * gdb.base/ending-run.exp: Fix pattern for Mips targets
6135 stepping out of main.
6136
34af4875
MC
61372002-04-09 Michael Chastain <mec@shout.net>
6138
6139 * gdb.c++/local.cc (main): Move call to marker1() inside nested
6140 scope so that the nested scope tests will make sense.
6141 * gdb.c++/local.exp: Write patterns that actually work with gcc
6142 (the HP patterns "were never known to work with gcc").
6143 Keep the old aCC patterns too.
6144
2d1676a0
DJ
61452002-04-09 Daniel Jacobowitz <drow@mvista.com>
6146
6147 * gdb.base/attach.exp: Correct target board test.
6148
3a63e3f9
MC
61492002-04-08 Michael Chastain <mec@shout.net>
6150
6151 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
6152 in a const method. Add some xfail and fail cases for configurations
6153 that do not emit the "const ...".
6154
f18dabd2
MC
61552002-04-07 Michael Chastain <mec@shout.net>
6156
6157 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
6158 Accept "A * const" and "const A * const" as type of "this".
6159 Fix spelling of getFunky throughout. Make messages uniform.
6160
0fcddd82
EZ
61612002-04-07 Elena Zannoni <ezannoni@redhat.com>
6162
6163 Work around for PR gdb/285:
6164 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
6165
16a8534a
EZ
61662002-04-07 Elena Zannoni <ezannoni@redhat.com>
6167
6168 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
6169 instructions file at run time instead of configure time.
6170 Sometimes we run the test in a directory that is not the one we
6171 configured in.
6172 * gdb.asm/configure.in: Delete creation of symlink.
6173 * gdb.asm/configure: Regenerate.
6174
24181d81
JB
61752002-04-05 J. Brobecker <brobecker@gnat.com>
6176
6177 * gdb.gdb/xfullpath.exp: New test, to exercise the new
6178 xfullpath () function.
6179
7cdb7107
DJ
61802002-04-04 Daniel Jacobowitz <drow@mvista.com>
6181
6182 * gdb.asm/Makefile.in: Correct dependencies.
6183
6184 * gdb.asm/powerpc.inc: New file.
6185 * gdb.asm/asm-source.exp: Add PowerPC.
6186 * gdb.asm/configure.in: Likewise.
6187 * gdb.asm/configure: Regenerated.
6188
a7d17088
DJ
61892002-04-04 Daniel Jacobowitz <drow@mvista.com>
6190
6191 * gdb.base/relocate.exp: New file.
6192 * gdb.base/relocate.c: New file.
6193
cd721503
FF
61942002-04-04 Fred Fish <fnf@redhat.com>
6195
6196 * gdb.base/step-test.exp: Update comment regarding stopping in
6197 memcpy/bcopy calls inserted as part of the compiler runtime.
6198
b22ad7a7
MS
61992002-04-04 Michael Snyder <msnyder@redhat.com>
6200
6201 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
6202
5f279fa6
DJ
62032002-04-03 Daniel Jacobowitz <drow@mvista.com>
6204
6205 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
6206 (gdb_expect): Remove $notransfer hack.
6207
dd0fd3ce
DJ
62082002-04-02 Daniel Jacobowitz <drow@mvista.com>
6209
6210 * gdb.c++/classes.exp ("calling method for small class"): Match
6211 updated register output.
6212
1e50cda1
DJ
62132002-03-30 Daniel Jacobowitz <drow@mvista.com>
6214
6215 Fix PR gdb/452
6216 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
6217 when finished. Make gdb_file_cmd send "exec-file" when
6218 appropriate.
6219
24015922
DJ
62202002-03-30 Daniel Jacobowitz <drow@mvista.com>
6221
6222 * gdb.base/attach.exp: Remove extra setup_xfail.
6223
dd7dfd64
MS
62242002-03-26 Michael Snyder <msnyder@redhat.com>
6225
6226 * gdb.base/default.exp: Add tests for dump, append, and restore.
6227 * gdb.base/help.exp: Add tests for dump, append, and restore.
6228 * gdb.base/dump.exp: New file, test dump, append and restore.
6229 * gdb.base/dump.c: New file.
6230
48b2f8d7
MS
62312002-03-27 Michael Snyder <msnyder@redhat.com>
6232
d63a86f8 6233 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
6234 clean-ups in help messages.
6235
05b4d525
FF
62362002-03-26 Fred Fish <fnf@redhat.com>
6237
6238 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
6239 have debugging info for those functions and the compiler uses them
6240 internally to copy structs around.
6241
d7679631
FF
62422002-03-26 Fred Fish <fnf@redhat.com>
6243
6244 * gdb.base/list.exp: Revert the change made yesterday and add note
6245 about why we don't list the default lines for remote targets.
6246
523ac3f9
MS
62472002-03-25 Michael Snyder <msnyder@redhat.com>
6248
6249 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
6250
754b2b8d
FF
62512002-03-25 Fred Fish <fnf@redhat.com>
6252
6253 * gdb.base/list.exp: This test works on remote targets so remove
6254 the short circuit for remote targets. Update copyright.
6255
33c3e192
FF
62562002-03-25 Fred Fish <fnf@redhat.com>
6257
6258 * gdb.base/attach.exp: Fix logic error that was suppressing this
6259 test for all non hppa*-*-hpux* targets, instead of the hp target.
6260 Move comments closer to the suppression point. Also now need to
6261 check that we are running natively.
6262
d43e73ee
MS
62632002-03-22 Michael Snyder <msnyder@redhat.com>
6264
882c8f02
MS
6265 * gdb.base/default.exp: Add test for gcore. Update copyright.
6266 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 6267
04c12f60
FF
62682002-03-06 Fred Fish <fnf@redhat.com>
6269
6270 * gdb.base/funcargs.c: Remove extraneous ';' character.
6271 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
6272
b43df995
MC
62732002-03-04 Michael Chastain <mec@shout.net>
6274
6275 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
6276 accommodate gcc v3 function signature.
6277 * gdb.mi/mi0-var-cmd-exp: Ditto.
6278
92362027
AC
62792002-02-24 Andrew Cagney <ac131313@redhat.com>
6280
6281 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
6282 ``GNU/Linux'' or ``Linux kernel''
6283 * testsuite/gdb.threads/pthreads.c: Ditto.
6284
258ad32d
MC
62852002-02-24 Michael Chastain <mec@shout.net>
6286
6287 * gdb.threads/pthreads.c (thread1): Add a return statement.
6288 (thread2): Likewise.
6289 (foo): Likewise.
6290
04c3b3d4
MC
62912002-02-23 Michael Chastain <mec@shout.net>
6292
6293 * gdb.threads/linux-dp.c (philosopher): Add a return statement
6294 to placate gcc.
6295
5a2a0a20
MC
62962002-02-23 Michael Chastain <mec@shout.net>
6297
6298 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
6299 test "ptype bint". The test passes on all my stabs configurations.
6300
a640f7fc
JB
63012002-02-21 Jim Blandy <jimb@redhat.com>
6302
27924826
JB
6303 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
6304 filename at a time, and watch for the ones we want to see.
6305
a640f7fc
JB
6306 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
6307 types of pointers to prototyped functions.
6308
edcc8c75
AC
63092002-02-20 Andrew Cagney <ac131313@redhat.com>
6310
6311 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
6312 signed, unsigned and straight char.
6313 (padding_char, padding_short, padding_int, padding_long,
6314 padding_long_long, padding_float, padding_double,
6315 padding_long_double): New global variables.
6316 (fill, fill_structs): New functions.
6317
6318 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
6319 for correctly sized writes. Update copyright.
6320 (get_valueof): New procedure.
6321 (get_sizeof): Call get_valueof.
6322 (check_valueof): New procedure.
6323 (check_padding): New procedure.
6324
ac57ea44
MC
63252002-02-20 Michael Chastain <mec@shout.net>
6326
6327 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
6328 to setup_xfail. Document some of the remaining calls.
6329
7a10c941
MC
63302002-02-18 Michael Chastain <mec@shout.net>
6331
6332 * gdb.c++/userdef.exp: Update copyright year.
6333
fb8acdcc
DJ
63342002-02-18 Daniel Jacobowitz <drow@mvista.com>
6335
6336 * gdb.c++/userdef.exp: Test overloaded operators properly.
6337 Remove xfails.
6338
fda6ae12
MS
63392002-02-14 Michael Snyder <msnyder@redhat.com>
6340
6341 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
6342
676a0442
DJ
63432002-02-14 Daniel Jacobowitz <drow@mvista.com>
6344
6345 * gdb.base/a2-run.exp: Check for a remote target properly.
6346 * gdb.base/annota1.exp: Likewise.
6347 * gdb.base/list.exp: Likewise.
6348 * gdb.base/reread.exp: Likewise.
6349 * gdb.base/scope.exp: Likewise.
6350 * gdb.base/shlib-call.exp: Likewise.
6351 * gdb.base/term.exp: Likewise.
6352 * gdb.c++/annota2.exp: Likewise.
6353
78b4f468
RE
63542002-02-13 Richard Earnshaw <rearnsha@arm.com>
6355
6356 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
6357
9a81ba51
MC
63582002-02-10 Michael Chastain <mec@shout.net>
6359
6360 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
6361 (call_after_alloca): Ditto.
6362
004af6c7
DJ
63632002-02-10 Daniel Jacobowitz <drow@mvista.com>
6364
6365 * gdb.base/ending-run.exp: Guard "cont" test with
6366 gdb_skip_stdio_test.
6367
37225f62
JB
63682002-02-06 Jim Blandy <jimb@redhat.com>
6369
6370 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
6371 from here...
6372 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
6373 To here. Disable this test on non-HP platforms. Add big comment.
6374
fe6fdd96
MS
63752002-02-04 Michael Snyder <msnyder@redhat.com>
6376
6377 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
6378 other than d10v and m32r.
6379
036fad3f
RE
63802002-02-02 Richard Earnshaw <rearnsha@arm.com>
6381
6382 * gdb.base/default.exp: Rewrite test patterns to reduce time
6383 taken to match them.
6384
7148ab62
DJ
63852002-01-30 Daniel Jacobowitz <drow@mvista.com>
6386
6387 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
6388 Allow a start function above main.
6389 * gdb.threads/linux-dp.exp: Fix copyright date.
6390
396cc255
DJ
63912002-01-30 Daniel Jacobowitz <drow@mvista.com>
6392
6393 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
6394 (check_philosopher_stack): Check for manager thread before checking
6395 for a just-starting thread.
6396
f038d31b
DJ
63972002-01-30 Daniel Jacobowitz <drow@mvista.com>
6398
6399 From Neil Booth <neil@daikokuya.demon.co.uk>:
6400 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
6401 warnings.
6402
b3ff9d9a
FF
64032002-01-21 Fred Fish <fnf@redhat.com>
6404
6405 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
6406 not caller.
6407
39ad761d
JB
64082002-01-21 Jim Blandy <jimb@redhat.com>
6409
6410 * gdb.base/reread.exp: Check that GDB properly re-reads the
6411 executable file when it changes while no inferior is running.
6412
aaf320fa
FF
64132002-01-21 Fred Fish <fnf@redhat.com>
6414
6415 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
6416 optionally accept the "shlib events" variation.
6417
808a31f5
JB
64182002-01-21 Jim Blandy <jimb@redhat.com>
6419
6420 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
6421 call `fflush' after every `printf', so that the output is produced
6422 at predictable points, regardless of whatever buffering does (or
6423 doesn't) take place.
6424 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
6425 at different points.
6426
4420d5e2
DJ
64272002-01-20 Daniel Jacobowitz <drow@mvista.com>
6428
6429 * gdb.c++/inherit.exp: Update copyright years.
6430 * gdb.c++/method.exp: Likewise.
6431
3e36a0f4
DJ
64322002-01-20 Daniel Jacobowitz <drow@mvista.com>
6433
6434 * gdb.c++/classes.exp: Update for improved v3 support and skipping
6435 artificial methods/arguments.
6436 * gdb.c++/derivation.exp: Likewise.
6437 * gdb.c++/inherit.exp: Likewise.
6438 * gdb.c++/method.exp: Likewise.
6439 * gdb.c++/virtfunc.exp: Likewise.
6440
b4ceaee6
AC
64412002-01-18 Andrew Cagney <ac131313@redhat.com>
6442
6443 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
6444 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
6445 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
6446 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
6447 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
6448 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
6449
ecace851
JB
64502002-01-17 Jim Blandy <jimb@redhat.com>
6451
6452 * gdb.asm/asm-source.exp (info symbol): Take another shot at
6453 anchoring the pattern matching the entry point symbol's name.
6454
375fc983
AC
64552002-01-17 Andrew Cagney <ac131313@redhat.com>
6456
6457 * gdb.base/maint.exp: Update ``maint internal-error'' to match
6458 continue/quit query. Update copyright.
6459
fe6fdd96
MS
64602002-01-14 Michael Snyder <msnyder@redhat.com>
6461
6462 * gdb.base/gcore.exp: Remove extra debugging output.
6463
e017c81f
DJ
64642002-01-13 Daniel Jacobowitz <drow@mvista.com>
6465
6466 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
6467 for slightly dubious v2 mangled string.
6468
37ab3bf8
DJ
64692002-01-13 Daniel Jacobowitz <drow@mvista.com>
6470
6471 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
6472
1bc05c3a 64732002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 6474
1bc05c3a 6475 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 6476
1bc05c3a
JM
6477 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
6478 constructors.
6479 * gdb.c++/derivation.exp: Likewise.
6480 * gdb.c++/templates.exp: Likewise.
6481 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 6482
1bc05c3a
JM
64832002-01-10 Michael Snyder <msnyder@redhat.com>
6484
6485 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 6486
a911c360
MS
64872002-01-08 Michael Snyder <msnyder@redhat.com>
6488
6489 * gdb.base/gcore.exp: New test for generate-core-file command.
6490 * gdb.base/gcore.c: Testcase for above.
6491 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
6492
ea2119ec
JM
64932002-01-08 Jason Merrill <jason@redhat.com>
6494
6495 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
6496
68203136
FF
64972002-01-07 Fred Fish <fnf@redhat.com>
6498
6499 * gdb.c++/overload.exp: Remove unconditional xfails for:
6500 print foo_instance1.overloadargs(1)
6501 print foo_instance1.overloadargs(1, 2)
6502 print foo_instance1.overloadargs(1, 2, 3)
6503 print foo_instance1.overloadargs(1, 2, 3, 4)
6504 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
6505 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
6506 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
6507 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
6508 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
6509 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
6510 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
6511 print foo_instance1.overload1arg()
6512 print foo_instance1.overload1arg((char)arg2)
6513 print foo_instance1.overload1arg((signed char)arg3)
6514 print foo_instance1.overload1arg((unsigned char)arg4)
6515 print foo_instance1.overload1arg((int)arg7)
6516 print foo_instance1.overload1arg((unsigned int)arg8)
6517 print foo_instance1.overload1arg((float)arg11)
6518 print foo_instance1.overload1arg((double)arg12)
d63a86f8 6519
21b9b5b1
MS
65202002-01-07 Michael Snyder <msnyder@redhat.com>
6521
6522 * gdb.base/huge.exp: New test. Print a very large target data object.
6523 (skip_huge_test): New test variable. Define if you want to skip this
6524 test. The test reads an 8 megabyte data object from the target, so it
6525 might be very time consuming on remote targets with a slow connection.
6526 * gdb.base/huge.c: New file. Test case for above.
6527
725f922e
FF
65282002-01-07 Fred Fish <fnf@redhat.com>
6529
6530 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
6531 g_instance.bfoo, and g_instance.cfoo.
6532
634d57ec
JL
6533Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
6534
f286b2c3
JL
6535 * gdb.base/break.c (multi_line_if_conditional): New function.
6536 (multi_ilne_while_conditional): Likewise.
6537 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
6538 IF or WHILE condition puts the breakpoint at the start of
6539 the condition.
6540
634d57ec
JL
6541 * gdb.base/selftest.exp (backtrace through signal handler): Remove
6542 hppa*-*-hpux* expected failure.
6543 * gdb.base/structs.exp (do_function_calls): Similarly.
6544
6545 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
6546 watchpoints.
6547
9fbfe2dc
AC
65482002-01-06 Andrew Cagney <ac131313@redhat.com>
6549
6550 Fix PR gdb/66.
6551 * gdb.base/structs.exp: Replace skip for a29k with skip for
6552 gdb,cannot_call_functions.
6553 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
6554 * gdb.base/callfuncs.exp: Ditto.
6555 * gdb.base/call-rt-st.exp: Ditto.
6556 * gdb.base/call-strs.exp: Ditto.
6557 * gdb.base/callfwmall.exp: Ditto.
6558 * gdb.base/scope.exp: Obsolete xfail a29k.
6559 * gdb.c++/misc.exp: Ditto.
6560 * gdb.c++/cplusfuncs.exp: Ditto.
6561 * gdb.base/ptype.exp: Ditto.
6562 * gdb.base/printcmds.exp: Ditto.
6563 * gdb.base/opaque.exp: Ditto.
6564 * gdb.base/list.exp: Ditto.
6565 * gdb.base/funcargs.exp: Ditto.
6566 * gdb.base/default.exp: Ditto.
6567
8ddad156
MS
65682002-01-04 Michael Snyder <msnyder@redhat.com>
6569
ca4976a6 6570 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
6571 * gdb.base/maint.exp: Add tests for maint info sections options.
6572
1b074332
JL
6573Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
6574
6575 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
6576
7d159115
CV
65772001-12-20 Corinna Vinschen <vinschen@redhat.com>
6578
6579 * gdb.asm/arm.inc: New file.
6580 * gdb.asm/asm-source.exp: Add arm targets.
6581 * gdb.asm/configure.in: Ditto.
6582 * gdb.asm/configure: Recreated from configure.in.
6583
8fb87725
JL
6584Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
6585
afabe08c
JL
6586 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
6587 with HP's compiler.
6588 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
6589 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
6590 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
6591 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
6592
6593 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
6594 either HP's compilers or GCC.
6595
db521deb
JL
6596 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
6597 a SIGBUS or SIGSEGV.
6598
6599 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
6600
6601 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
6602 can be compiled with either HP's compiler or GCC.
6603
cfa88ab7
JL
6604 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
6605 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
6606 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
6607
ca344dff
JL
6608 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
6609 to match current gdb output. Update due to using auto-solib-limit
6610 for limiting instead of overloading auto-solib-add.
6611 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
6612 test program.
6613
3f3c6e55 6614 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
6615 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
6616 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
6617 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
6618 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
6619 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
6620 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
6621 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
6622 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
6623 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
6624 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
6625 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
6626 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 6627
8fb87725
JL
6628 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
6629 a SIGTRAP to the inferior.
6630
cf599fa7
CV
66312001-12-19 Corinna Vinschen <vinschen@redhat.com>
6632
6633 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
6634 Substitute call to target_link by call to gdb_compile.
6635
2cd045cd
JL
6636Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
6637
6638 * gdb.base/break.exp: Fix HP specific search string when testing
6639 backtracing in a called function.
6640
d63a86f8 6641 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
6642 compiling the test with HP's compilers.
6643 * gdb.base/volatile.exp: Similarly.
6644
99ebe9ac
JB
66452001-12-19 Jim Blandy <jimb@redhat.com>
6646
6647 * gdb.base/printcmds.exp: Expect the null character to be printed
6648 as '\0', and the '\013' to be printed as '\v'.
6649 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
6650 * gdb.base/setvar.exp: Same.
6651
b9891b29
JB
66522001-12-17 Jim Blandy <jimb@redhat.com>
6653
0eba65ab
JB
6654 * gdb.base/completion.exp: Rather than completing very long
6655 filenames, which can make the readline library produce output we
6656 don't recognize, cd to the directory first, and then complete
6657 using nice, short relative paths.
6658
6970b5b1
JB
6659 * gdb.base/completion.exp: On some systems, there is, in fact, a
6660 variable named `b' in scope, since GDB treats all static
6661 variables as being in scope. So use `no_var_named_this'
6662 instead of `b'.
6663
b9891b29
JB
6664 * gdb.base/corefile.exp: Recognize the message saying that GDB
6665 can't find the core file's registers as a failure.
6666
e6ccd35f
JSC
66672001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
6668
6669 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
6670 test expect string more specific.
6671
105ba819
CV
66722001-12-13 Corinna Vinschen <vinschen@redhat.com>
6673
6674 * gdb.asm/asm-source.exp: Add support for xstormy16.
6675 * gdb.asm/configure.in: Ditto.
6676 * gdb.asm/configure: Rebuild.
6677 * gdb.asm/xstormy16.inc: New file.
6678
e9e79dd9
FF
66792001-12-10 Fred Fish <fnf@redhat.com>
6680
6681 * gdb.base/maint.exp: Update to match changes in type dumping code.
6682
347dc97d
JB
66832001-12-10 Jim Blandy <jimb@redhat.com>
6684
6685 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
6686 matching the entry point symbol's name at the beginning of the
6687 line.
6688
5178b9d6
DJ
66892001-12-07 Daniel Jacobowitz <drow@mvista.com>
6690
6691 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
6692 gdb.c++/inherit.exp, gdb.c++/method.exp,
6693 gdb.c++/namespace.exp, gdb.c++/templates.exp,
6694 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
6695 and class layout support.
6696
af890c52
DJ
66972001-12-07 Daniel Jacobowitz <drow@mvista.com>
6698
6699 * gdb.c++/classes.exp: Add test for static member function.
6700 * gdb.c++/misc.cc: Add class with static member function.
6701
7a345fb3
JB
67022001-12-07 Jim Blandy <jimb@redhat.com>
6703
f2e54a80 6704 If GDB says it can't find the struct the function returned, report
8032bf31
JB
6705 those tests as `unsupported'.
6706 * gdb.base/call-rt-st.exp (print_struct_call): New function.
6707 Rewrite subsequent tests to use it.
6708
6709 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
6710 those tests as `unsupported'.
6711 * gdb.base/structs.exp (call_struct_func): New function.
6712 (do_function_calls): Use call_struct_func to call the functions
6713 returning structs.
6714
0bc69509
JB
6715 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
6716 whether functions are prototyped or not, so we can't possibly pass
6717 arguments to t_float_values2 properly.
6718
7a345fb3
JB
6719 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
6720 value of `timeout' for targets other than the mips*tx39-*.
6721
edb6ede1
MS
67222001-12-06 Michael Snyder <msnyder@redhat.com>
6723
d63a86f8 6724 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
6725 and detect whether the start symbol has a leading underscore.
6726
2d842f13
JB
67272001-12-04 Jim Blandy <jimb@redhat.com>
6728
6729 * gdb.base/completion.exp: Clarify indentation.
6730
68550daf
JB
67312001-12-03 Jim Blandy <jimb@redhat.com>
6732
6733 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
6734 variables on the S/390, not `.word'.
6735
cd5195a8
JB
67362001-11-30 Jim Blandy <jimb@redhat.com>
6737
6738 Add assembly-source tests for s390-ibm-linux.
6739 * gdb.asm/s390.inc: New file.
6740 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
6741 the S/390 architecture.
6742 * gdb.asm/configure: Regenerated.
6743
ca9efc90
MS
67442001-11-30 Michael Snyder <msnyder@redhat.com>
6745
6746 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
6747 next, info source, info sources, info line, global and static
6748 variables, and static functions.
6749 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
6750 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
6751 * gdb.asm/asmsrc1.s: Add a static function and some variables.
6752 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
6753 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
6754 (gdbasm_leave): Restore frame pointer.
6755 (gdbasm_startup): Copy stack set-up from crt0.S.
6756
d0e66976
FN
67572001-11-26 Fernando Nasser <fnasser@redhat.com>
6758
6759 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
6760 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
6761 to a local (non-static) variable. Copy tstruct.a to a static buffer
6762 and return a pointer to that buffer.
6763 * gdb.base/callfwmall.c (t_structs_a): Ditto.
6764
e2334072
MK
67652001-11-24 Mark Kettenis <kettenis@gnu.org>
6766
6767 * gdb.asm/configure.in: Fix recognition of ix86 target.
6768 * gdb.asm/configure: Regenerate.
6769
756caa3d
MS
67702001-11-21 Michael Snyder <msnyder@redhat.com>
6771
6772 * gdb.asm/sparc.inc: New file.
6773 * gdb.asm/asm-source.exp: Recognize sparc target.
6774 * gdb.asm/configure.in: Recognize sparc target.
6775 * gdb.asm/configure: Regenerate.
d63a86f8 6776
9a4d72d5
MS
67772001-11-21 Michael Snyder <msnyder@redhat.com>
6778
6779 * gdb.asm/m32r.inc: New file.
6780 * gdb.asm/asm-source.exp: Recognize m32r target.
6781 * gdb.asm/configure.in: Recognize m32r target.
6782 * gdb.asm/configure: Regenerate.
6783
a773d1cd
MS
67842001-11-20 Michael Snyder <msnyder@redhat.com>
6785
017ac23d
MS
6786 * gdb.asm/i386.inc: New file.
6787 * gdb.asm/asm-source.exp: Recognize ix86 target.
6788 * gdb.asm/configure.in: Recognize ix86 target.
6789 * gdb.asm/configure: Regenerate.
6790
a773d1cd
MS
6791 * gdb.c++/namespace.exp: Fix quotes in output messages.
6792
bb632afb
MS
67932001-11-14 Michael Snyder <msnyder@redhat.com>
6794
25d559ca 6795 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
6796 qualifier in a type cast expression, to designate an address
6797 in the instruction space (Harvard architecture).
6798
4749e309
MS
67992001-11-13 Michael Snyder <msnyder@redhat.com>
6800
6801 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
6802 Tests for expressions using 'const' and 'volatile'.
6803
25050984
CV
68042001-11-13 Corinna Vinschen <vinschen@redhat.com>
6805
6806 * gdb.asm/asm-sources.exp: Allow defining linker flags.
6807
1902c51f
DJ
68082001-11-12 Daniel Jacobowitz <drow@mvista.com>
6809
6810 * lib/mi-support.exp (mi_run_to_helper): Move comments
6811 outside of gdb_expect.
6812
dcf95b47
DJ
68132001-11-11 Daniel Jacobowitz <drow@mvista.com>
6814
6815 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
6816 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
6817 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
6818 mi0_run_to): New functions.
6819 * gdb.mi/mi-simplerun.exp: Use them.
6820 * gdb.mi/mi0-simplerun.exp: Likewise.
6821 * gdb.mi/mi-var-cmd.exp: Likewise.
6822 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 6823
45b074e1
AC
68242001-11-10 Andrew Cagney <ac131313@redhat.com>
6825
6826 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
6827 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
6828
bf50d346
AC
68292001-11-09 Andrew Cagney <ac131313@redhat.com>
6830
6831 * gdb.base/restore.exp: Include $expected value in restored test
6832 message.
6833
9383332c
AC
68342001-11-09 Andrew Cagney <ac131313@redhat.com>
6835
6836 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
6837 implemented.
6838
db62520a
MS
68392001-11-08 Michael Snyder <msnyder@redhat.com>
6840
6841 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
6842 Add pass/fail message for stop at breakpoint in call dummy function.
6843
b5703437
MS
68442001-11-07 Michael Snyder <msnyder@redhat.com>
6845
d63a86f8
RM
6846 * gdb.c++/templates.exp (test_template_breakpoints):
6847 If we get an overload menu, but it does not match what
760f6330 6848 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
6849 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
6850 making the whitespace optional. Argument for "new" may be
6851 "unsigned" as well as "unsigned int/long".
d63a86f8 6852 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
6853 making the whitespace optional. Also replace "(void) with
6854 "((void|)), making the keyword "void" optional.
d63a86f8 6855 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
6856 making the whitespace optional. Also replace "(void) with
6857 "((void|)), making the keyword "void" optional.
3bf40917
MS
6858 * gdb.base/callfuncs.c (t_float_values): This function must
6859 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 6860 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
6861 can be tested against both cases. Usually one case involves
6862 promotion of float to double, while the other does not.
6863 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
6864 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
6865 includes a stack frame for "start".
6866
c8ab4e6d
JB
68672001-11-05 Jim Blandy <jimb@redhat.com>
6868
6869 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
6870 pointers are 32 bits long, and that offsets of relocs are always
6871 stored in the data (REL-style), and not in the reloc entry itself
6872 (RELA-style).
6873 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
6874 stabs.
6875
3f08ced9
MS
68762001-11-01 Michael Snyder <msnyder@redhat.com>
6877
6878 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
6879 and regular expression operators by using quoting.
6880
cbfa24cd
MS
68812001-10-31 Michael Snyder <msnyder@redhat.com>
6882
6883 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
6884 depending on what the symbol table contains.
6885 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
6886 the output of the ptype command. Similarly, accept both "const &"
6887 and "const&".
6888
aaa68313
CV
68892001-10-31 Corinna Vinschen <vinschen@redhat.com>
6890
6891 * gdb.base/miscexprs.c (main): Add usage of preprocessor
6892 symbol `STORAGE' to allow to choose the storage class of
6893 the local datastructures.
6894 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
6895 compiler directive.
6896
91740388
MS
68972001-10-30 Michael Snyder <msnyder@redhat.com>
6898
6899 * gdb.base/jump.exp: Allow it to run for all targets.
6900
1b7c05e7
CV
69012001-10-29 Corinna Vinschen <vinschen@redhat.com>
6902
6903 * gdb.base/call-ar-st.c (print_double_array): Match for loop
6904 with new double_array size.
6905 (main): Change storage class of all local variables to static.
6906 Reduce size of double_array to 9.
6907 * gdb.base/call-ar-st.exp: Increase timeout value.
6908 Change expected output for double array to match new size in
6909 call-ar-st.c.
6910
36a22261
CV
69112001-10-29 Corinna Vinschen <vinschen@redhat.com>
6912
6913 * gdb.base/ending-run.exp: Create identical output when passing
6914 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 6915 Stormy16 target.
36a22261 6916
92b8ae91
MK
69172001-10-28 Mark Kettenis <kettenis@gnu.org>
6918
6919 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
6920 that we catch the expected failure under Linux/x86.
6921
cb135b83
OF
69222001-10-29 Orjan Friberg <orjanf@axis.com>
6923
6924 * gdb.base/setvar.exp: Escape curly braces.
6925 * gdb.stabs/weird.exp: Ditto.
6926
6884aa54
DJ
69272001-10-27 Daniel Jacobowitz <drow@mvista.com>
6928
6929 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
6930 * gdm.mi/mi0-hack-cli.exp: Likewise.
6931
0398c9aa
AC
69322001-10-25 Andrew Cagney <ac131313@redhat.com>
6933
6934 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
6935 messages.
6936
d20bf2e8
AC
69372001-10-21 Andrew Cagney <ac131313@redhat.com>
6938
6939 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
6940 checking MI enabled.
6941
03dd63aa
CV
69422001-10-09 Corinna Vinschen <vinschen@redhat.com>
6943
6944 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
6945
1d9d99f3
FCE
69462001-10-04 Frank Ch. Eigler <fche@redhat.com>
6947
6948 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
6949 if gdb child process crashes, just signal an error.
6950
838ae6c4
JB
69512001-10-02 Jim Blandy <jimb@redhat.com>
6952
6953 * lib/gdb.exp (test_xfail_format): Simplify.
6954
6955 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
6956 front of the variable name `format'. Simplify `if'.
6957
8f0cbc1c
DJ
69582001-10-01 Daniel Jacobowitz <drow@mvista.com>
6959
6960 * gdb.threads/pthreads.exp: Wait for output and delay
6961 before sending ^C.
6962
1f08dafd
DJ
69632001-10-01 Daniel Jacobowitz <drow@mvista.com>
6964
6965 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
6966 some incorrect output instead of timing out.
6967 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
6968
674f90ff
CV
69692001-09-28 Corinna Vinschen <vinschen@redhat.com>
6970
6971 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
6972 check to allow additional `int'.
6973
9b284272
DJ
69742001-09-27 Daniel Jacobowitz <drow@mvista.com>
6975
6976 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
6977 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
6978
b55a4771
MS
69792001-09-27 Michael Snyder <msnyder@redhat.com>
6980
6981 * lib/gdb.exp (test_debug_format): New proc.
6982 (setup_xfail_format): Use new proc test_debug_format.
6983 * gdb.base/constvars.exp (local_compiler_xfail_check): New
6984 proc; use new service proc test_debug_format.
6985 Replace all other "gcc_compiled" tests with this test.
6986 * gdb.base/volatile.exp (local_compiler_xfail_check): New
6987 proc; use new service proc test_debug_format.
6988 Replace all other "gcc_compiled" tests with this test.
6989
69902001-09-27 Michael Snyder <msnyder@redhat.com>
6991
6992 * gdb.base/cvexpr.exp: New file.
6993 * gdb.base/cvexpr.c: New file
6994 Test for expressions using const and volatile keywords.
6995
4e6667ac
CV
69962001-09-26 Corinna Vinschen <vinschen@redhat.com>
6997
6998 * gdb.base/constvars.exp: Check for different orders of keywords
6999 and additional "int" strings in output.
7000
4f337972
AC
70012001-09-22 Andrew Cagney <ac131313@redhat.com>
7002
7003 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
7004 responses from "help maint".
7005
2015650d
FCE
70062001-09-19 Frank Ch. Eigler <fche@redhat.com>
7007
7008 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
7009 to localhost:NNN instead of :NNN, in case Xvfb is listening
7010 only on TCP.
7011
f3bcedc1
CV
70122001-09-19 Corinna Vinschen <vinschen@redhat.com>
7013
7014 * gdb.base/recurse.exp: When checking leaving the watchpoint
7015 scope, recognize when gdb is in function's epilogue and pass.
7016
6b819c92
KS
70172001-09-18 Keith Seitz <keiths@redhat.com>
7018
7019 * lib/insight-support.exp (_gdbtk_export_target_info): Add
7020 support for running tests against sid targets.
7021 (gdbtk_done): Ditto.
7022
a10c9419
CV
70232001-09-18 Corinna Vinschen <vinschen@redhat.com>
7024
7025 * gdb.base/ending-run.c (main): Set stdout buffersize
7026 to the same reasonable value for any target.
7027 * gdb.base/ending-run.exp: Add a regular expression
7028 to make testsuite happy on Sanyo Stormy16 target.
7029
739d0d99
CV
70302001-09-17 Corinna Vinschen <vinschen@redhat.com>
7031
7032 * gdb.base/display.c (do_loops): Add float variable `f'.
7033 Increment f in loop.
7034 * gdb.base/display.exp: Increment timeout by 60 seconds.
7035 Change float display test to use variable `f'.
7036
1b8947f0
JB
70372001-09-17 Jim Blandy <jimb@redhat.com>
7038
7039 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
7040 overflowing the limited breakpoint tables on some ROM monitors
7041 (like the ROM68K).
7042
9890ac81
FCE
70432001-09-15 Frank Ch. Eigler <fche@redhat.com>
7044
7045 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
7046 the "-ac" (disable access control) flag.
7047
6db765ea
JH
70482001-08-30 Jeff Holcomb <jeffh@redhat.com>
7049
7050 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
7051 ints.
7052
4c32cc04
KS
70532001-08-30 Keith Seitz <keiths@redhat.com>
7054
7055 * lib/gdb.exp: Move all insight-related functionality into
7056 separate file.
7057 * lib/insight-support.exp: New file.
7058
8d6e6f81
FCE
70592001-08-29 Frank Ch. Eigler <fche@redhat.com>
7060
7061 * config/sid.exp (sid_start): Never set sid verbosity; disable
7062 expect_background {} that consumed its stdout; tolerate </dev/null.
7063 Attempt to set endianness override in "sid" protocol mode. Cleanup.
7064
6a90e1d0
AC
70652001-08-18 Andrew Cagney <ac131313@redhat.com>
7066
7067 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
7068 CLI jump command to start it.
7069 (mi_run_to_main): Fail immediatly when unexpected output.
7070
1759b3c3
AC
70712001-08-18 Andrew Cagney <ac131313@redhat.com>
7072
7073 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
7074 beginning of function. Fix PR gdb/191.
7075
61d11d80
FCE
70762001-08-16 Frank Ch. Eigler <fche@redhat.com>
7077
7078 * config/sid.exp (sid_start): Don't warn if we cannot figure out
7079 what to force sid endianness to.
7080
942a4df2
KS
70812001-08-15 Keith Seitz <keiths@redhat.com>
7082
7083 * lib/gdb.exp (gdbtk_start): Don't set environment
7084 variables for TCL_LIBRARY and friends. Insight will
7085 now figure these out for itself.
7086
0521c418
MS
70872001-08-02 Michael Snyder <msnyder@redhat.com>
7088
7089 * gdb.base/completion.exp: Remove the symbol "a64l" from
7090 the expect string; this is target-specific, and not related
7091 to what is being tested.
7092
74a9a58a
DB
70932001-08-02 Dave Brolley <brolley@redhat.com>
7094
7095 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
7096
c70819fa
MS
70972001-07-25 Michael Snyder <msnyder@redhat.com>
7098
c2b8fa57
MS
7099 * gdb.base/consecutive.exp: New file. Test stepping over
7100 breakpoints on consecutive instructions.
7101 * gdb.base/consecutive.c: New file.
7102
c70819fa
MS
7103 * gdb.base/call-rt-st.exp: Use double-backslash to quote
7104 curly braces in regular expressions.
7105
2b1a1355
MS
71062001-07-25 Michael Snyder <msnyder@redhat.com>
7107
7108 * gdb.base/ending-run.exp: Accept "Program exited normally" as
7109 legitimate output from stepping out of main.
7110
413eca6f
KS
71112001-07-22 Keith Seitz <keiths@redhat.com>
7112
7113 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
7114 the empty string, do not run the tests.
7115
7e5a9322
SC
71162001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7117
7118 * gdb.base/long_long.exp: Detect size of pointer. Take into
7119 account 2-byte pointers when testing for p/a results.
7120
de58f10f
SC
71212001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7122
d63a86f8 7123 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
7124 and defined to 1K for m68hc11.
7125 (random_data): Reduce table to 1K for embedded platforms (68hc11).
7126 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
7127 (sizeof_random_data): New variable to tell the size of the data table;
7128 don't test past this size; always run to main.
7129
d6f5fea1
SC
71302001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7131
7132 * gdb.base/return2.exp: return of long long and double fails for
7133 68HC11; don't execute these tests on that platform.
7134 * gdb.base/return.exp: Return of a double fails for 68hc11.
7135
c477543d
SC
71362001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7137
7138 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
7139 tests that print a float.
7140 * call-rt-st.exp: Likewise.
7141
63cf1c79
MK
71422001-07-12 Mark Kettenis <kettenis@gnu.org>
7143
7144 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
7145 running this test on Linux.
7146
112f9ab5
MC
71472001-06-24 Michael Chastain <chastain@redhat.com>
7148
7149 * gdb.base/arithmet.exp: Remove some tests to make all test names
7150 unique.
7151
4970cb0f
MS
71522001-07-03 Michael Snyder <msnyder@redhat.com>
7153
7154 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
7155 the output of the ptype command.
7156
d85da69f
MS
71572001-07-02 Michael Snyder <msnyder@redhat.com>
7158
4c8a82de
MS
7159 * gdb.base/completion.exp: Don't assume that break.c is the only
7160 source file that may contain functions named "marker".
d85da69f
MS
7161 * gdb.base/corefile.exp: Quote the curly braces in regexp.
7162
8afc772b
AC
71632001-06-28 Andrew Cagney <ac131313@redhat.com>
7164
7165 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
7166 of files to delete.
7167
7168 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
7169 * gdb.disasm/h8300s.exp: New file.
7170 gdb.disasm/h8300s.s: Likewise.
7171
cff22675
AC
71722001-06-27 Andrew Cagney <ac131313@redhat.com>
7173
7174 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
7175 empty breakpoint tables.
7176
68c81b54
AC
71772001-06-25 Andrew Cagney <ac131313@redhat.com>
7178
7179 * lib/mi-support.exp: Update args=... part of stop-reason
7180 patterns. Accept either a list or a tuple.
7181
2dd62704
AC
71822001-06-23 Andrew Cagney <ac131313@redhat.com>
7183
7184 * lib/mi-support.exp: Remove local emacs variable defining
7185 change-log-default-name.
7186
b4127474
MC
71872001-06-22 Michael Chastain <chastain@redhat.com>
7188
7189 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
7190 This is operationally compatible with the previous version.
7191
8dbfb380
JB
71922001-06-13 Jim Blandy <jimb@redhat.com>
7193
7194 * lib/gdb.exp (gdb_test): Doc fix.
7195
f2d8c86d
MC
71962001-06-10 Michael Chastain <chastain@redhat.com>
7197
7198 * gdb.base/exprs.exp: Remove a duplicate test.
7199
81564d34
JB
72002001-06-06 Jim Blandy <jimb@redhat.com>
7201
7202 * gdb.base/return2.exp (main): Use values to test float and double
7203 returns that are not NaN's, to avoid being confused by IEEE
7204 comparison rules.
7205
da55addb
MS
72062001-06-04 Michael Snyder <msnyder@redhat.com>
7207
7208 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 7209 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
7210 rather than wait for 12 more tests to time out.
7211
42c65987
JB
72122001-06-06 Jim Blandy <jimb@redhat.com>
7213
b18bced9 7214 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 7215 Don't forget to match the GDB prompt.
b18bced9 7216
42c65987
JB
7217 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
7218
5b41e5f0
JB
72192001-06-04 Jim Blandy <jimb@redhat.com>
7220
7221 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
7222 command.
7223
015e046f
KB
72242001-05-31 Kevin Buettner <kevinb@redhat.com>
7225
7226 * gdb.base/annota1.exp (info break): Match four or more spaces
7227 after "Address".
7228
fb1ffbbe
MC
72292001-05-31 Michael Chastain <chastain@redhat.com>
7230
7231 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
7232 (dm_type_int_star): Likewise.
7233 (dm_type_long_star): Likewise.
7234 (dm_type_void_star): Likewise.
7235
5ea2a32c
KB
72362001-05-29 Kevin Buettner <kevinb@redhat.com>
7237
7238 * gdb.base/completion.exp (INPUTRC): Set this environment variable
7239 to a known value in order to get consistent results regardless
7240 of the setting of INPUTRC or the presence or contents of .inputrc.
7241
ae23c492
MS
72422001-05-24 Michael Snyder <msnyder@redhat.com>
7243
ac55707e
MS
7244 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
7245 Don't require that the main thread and the manager thread are the
7246 first in the list.
7247
ae23c492
MS
7248 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
7249 debugging. If test fails, issue an "unsupported" not a "fail".
7250
400071f1
JB
72512001-05-24 Jim Blandy <jimb@redhat.com>
7252
7253 Don't assume that short is shorter than int.
7254 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
7255 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 7256 this isn't true.
400071f1
JB
7257 ("print unsigned char == (~0)"): Add test that verifies that ~0,
7258 an int, is not equal to ~0 stored in an unsigned char. This tests
7259 the same thing that the previous test meant to, but works on
7260 16-bit machines, too.
7261 ("print unsigned char != (~0)"): Same test, complemented.
7262
0816a3e5
MS
72632001-05-24 Michael Snyder <msnyder@redhat.com>
7264
7265 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 7266 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
7267 and prevents dejagnu getting out of step.
7268
f6dc23a9
KB
72692001-05-23 Kevin Buettner <kevinb@redhat.com>
7270
7271 * gdb.base/finish.exp (finish_void): Revise pattern for
7272 stopping on the call statement to not permit stopping at
7273 the start of the instructions comprising the call sequence.
7274
7dbd117d
MC
72752001-05-19 Michael Chastain <chastain@redhat.com>
7276
7277 * gdb.base/callfuncs.exp: Make all test names unique.
7278 * gdb.base/commands.exp: Make all test names unique.
7279 * gdb.base/condbreak.exp: Make all test names unique.
7280 * gdb.base/dbx.exp: Make all test names unique.
7281 * gdb.base/default.exp: Make all test names unique.
7282 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
7283 and TIMEOUT messages to their corresponding PASS message.
7284 * gdb.base/ending-run.exp: Make all test names unique.
7285 * gdb.base/long_long.exp: Remove duplicate test.
7286
6b0b0a9e
KB
72872001-05-21 Kevin Buettner <kevinb@redhat.com>
7288
7289 * gdb.base/finish.exp (finish_void): Allow "finish" command to
7290 stop on the call statement as well as the statement after the
7291 call.
7292
2caa35cb
MS
72932001-05-21 Michael Snyder <msnyder@redhat.com>
7294
7295 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
7296
40713331
EZ
72972001-05-10 Elena Zannoni <ezannoni@redhat.com>
7298
7299 * gdb.base/completion.exp: Revamp test. Make it execute on all
7300 platforms.
7301
c2c1be8d
EZ
73022001-05-10 Elena Zannoni <ezannoni@redhat.com>
7303
2c9cd303
EZ
7304 * config/gdbserver.exp (gdb_load): Handle the case
7305 in which the arguments to gdbserver are given in the
7306 baseboard configuration file.
7307 Also handle the case in which the server needs to do a
7308 load.
7309
9671de48
KS
73102001-05-07 Keith Seitz <keiths@cygnus.com>
7311
7312 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
7313 set up the display for testing.
7314 (gdbtk_start): Convert all paths to paths that tcl will like.
7315 Export target information to environment.
7316 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
7317 necessary.
7318 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
7319 (to_tcl_path): New proc to convert a given pathname into
7320 a path acceptible as an argument to a tcl command.
7321 (_gdbtk_export_target_info): New proc to export target info
7322 into the environment for gdbtk testing.
7323 (gdbtk_done): New proc to signal end-of-test.
7324
5a360f47
JB
73252001-05-06 Jim Blandy <jimb@redhat.com>
7326
7327 * restore.c: Make the code of caller0 correspond to its comment.
7328
66c756c6
MS
73292001-05-03 Michael Snyder <msnyder@redhat.com>
7330
7331 * config/sid.exp (gdb_target_sid): Check for error messages.
7332 On error or timeout, don't make expect exit (which will terminate
7333 all subsequent tests); instead just make gdb exit.
d63a86f8 7334 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
7335 return a negative value.
7336
a966fde5
JB
73372001-04-24 Jim Blandy <jimb@redhat.com>
7338
851c18e0
JB
7339 * gdb.c++/templates.exp: If we see the prompt for the overload
7340 list, but we haven't recognized any of the longer patterns,
7341 arrange for this test to fail, not hang.
7342
a966fde5
JB
7343 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
7344 variations.
7345
db144853
MC
73462001-04-22 Michael Chastain <chastain@redhat.com>
7347
7348 * gdb.c++/local.exp: Use the 'runto' library function.
7349 * gdb.c++/namespace.exp: Likewise.
7350 * gdb.c++/overload.exp: Likewise.
7351
3207ec21
KB
73522001-03-26 Kevin Buettner <kevinb@redhat.com>
7353
7354 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
7355 * gdb.base/step-line.exp: New file. Test step/next in presence of
7356 #line directives.
7357 * gdb.base/step-line.c: New file. Test program for the above.
7358 * gdb.base/step-line.inp: New file. We pretend that this file has
7359 been transformed by some other tool into step-line.c.
7360
13b57657
JB
73612001-03-21 Jim Blandy <jimb@redhat.com>
7362
7363 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
7364 unmangled operator names.
7365
754cbe1c
JB
73662001-03-20 Jim Blandy <jimb@redhat.com>
7367
7368 * gdb.threads/linux-dp.exp: Recognize an additional message
7369 generated by GDB when it doesn't understand how to debug threads
7370 on the target system.
7371
177495c9
AC
73722001-03-19 Andrew Cagney <ac131313@redhat.com>
7373
7374 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
7375
f266096b
MC
73762001-03-12 Michael Chastain <chastain@redhat.com>
7377
7378 * gdb.c++/derivation.exp: Use the 'runto' library function.
7379
cac3c2ff
MC
73802001-03-12 Michael Chastain <chastain@redhat.com>
7381
7382 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
7383
b6c11a24
MC
73842001-02-24 Michael Chastain <chastain@redhat.com>
7385
7386 * gdb.c++/ref-types.exp: Change handwritten code to library
7387 function 'runto'.
7388
6bae5bce
OF
73892001-03-16 Orjan Friberg <orjanf@axis.com>
7390
7391 * gdb.base/signals.exp: Set count to 0 explicitly.
7392
0015fd9a
MS
73932001-03-15 Mark Salter <msalter@redhat.com>
7394
7395 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
7396 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
7397 (gdb_load): Add support for additional target_info: gdb_download_size
7398 and gdb_load_timeout.
0015fd9a 7399
fc33412a
DT
7400Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
7401
7402 * gdb.base/annota1.exp: Move test of isnative to earlier in the
7403 file -- to prevent failing when the compile fails but we have no
7404 intention of running the tests anyway.
7405
7406 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
7407 tests if set.
7408
7409 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
7410 integers.
7411
7412 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
7413 * gdb.c++/namespace.exp: Ditto.
7414
115f06de
OF
74152001-03-07 Orjan Friberg <orjanf@axis.com>
7416
7417 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
7418 * gdb.base/pointers.exp: Relax pattern match of decimals.
7419
b6ba6518
KB
74202001-03-06 Kevin Buettner <kevinb@redhat.com>
7421
7422 * Makefile.in, config/abug.exp, config/cfdbug.exp,
7423 config/cpu32bug.exp, config/dve.exp, config/est.exp,
7424 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
7425 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
7426 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
7427 config/sh.exp, config/sid.exp, config/slite.exp,
7428 config/sparclet.exp, config/udi.exp, config/unknown.exp,
7429 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
7430 config/vxworks.exp, config/vxworks29k.exp,
7431 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
7432 gdb.base/all-bin.exp, gdb.base/annota1.exp,
7433 gdb.base/arithmet.exp, gdb.base/assign.exp,
7434 gdb.base/async.exp, gdb.base/attach.exp,
7435 gdb.base/bitfields.exp, gdb.base/bitops.exp,
7436 gdb.base/break.exp, gdb.base/call-ar-st.exp,
7437 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
7438 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
7439 gdb.base/commands.exp, gdb.base/completion.exp,
7440 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7441 gdb.base/constvars.exp, gdb.base/corefile.exp,
7442 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
7443 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
7444 gdb.base/ending-run.exp, gdb.base/environ.exp,
7445 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7446 gdb.base/finish.exp, gdb.base/foll-exec.exp,
7447 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
7448 gdb.base/funcargs.exp, gdb.base/help.exp,
7449 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
7450 gdb.base/logical.exp, gdb.base/long_long.exp,
7451 gdb.base/maint.exp, gdb.base/mips_pro.exp,
7452 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
7453 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
7454 gdb.base/pointers.exp, gdb.base/printcmds.exp,
7455 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
7456 gdb.base/regs.exp, gdb.base/relational.exp,
7457 gdb.base/remote.exp, gdb.base/reread.exp,
7458 gdb.base/restore.exp, gdb.base/return2.exp,
7459 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
7460 gdb.base/selftest.exp, gdb.base/setshow.exp,
7461 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
7462 gdb.base/sigall.exp, gdb.base/signals.exp,
7463 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
7464 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7465 gdb.base/step-test.exp, gdb.base/structs.c,
7466 gdb.base/structs.exp, gdb.base/structs2.exp,
7467 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
7468 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
7469 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
7470 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
7471 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
7472 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
7473 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
7474 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
7475 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
7476 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
7477 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
7478 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
7479 gdb.fortran/types.exp, gdb.java/jmisc.exp,
7480 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7481 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
7482 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7483 gdb.trace/circ.exp, gdb.trace/collection.exp,
7484 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7485 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7486 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
7487 gdb.trace/report.exp, gdb.trace/save-trace.exp,
7488 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7489 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7490 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
7491 notices.
7492
dc96c6c7 74932001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
7494
7495 * gdb.base/varargs.c (find_max_double): Fix printf format string:
7496 first arg is int not float.
7497
dc96c6c7 74982001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
7499
7500 * gdb.base/reread.exp: Unsupported for non-native targets;
7501 doesn't work for remote debugging.
7502
9b0c4aeb
FN
75032001-02-19 Fernando Nasser <fnasser@redhat.com>
7504
7505 From Drew Moseley <dmoseley@redhat.com>
7506 * gdb.base/ending-run.exp: Properly handle the BSP state when
7507 stepping past the end of main.
7508
02aa71d5
MC
75092001-02-19 John Moore <jmoore@redhat.com>
7510
7511 * gdb.base/commands.exp (infrun_breakpoint_command_test):
7512 Converted HPUX fix for non-expected items following multiple
7513 step commands into general solution for all platforms.
7514
1fa449a4
MC
75152001-02-18 Michael Chastain <chastain@redhat.com>
7516
7517 * gdb.c++/classes.exp (do_tests): Change runto statements
7518 from "runto 'foo(void)'" to "runto 'foo'". This makes the
7519 statements demangler agnostic.
7520 * gdb.c++/virtfunc.exp (do_tests): Likewise.
7521 (gdb_virtfunc_restart): Likewise.
7522
b2f9ec70
MC
75232001-02-14 Michael Chastain <chastain@redhat.com>
7524
7525 * gdb.c++/inherit.exp (do_tests): Change runto statements
7526 from "runto 'foo(void)'" to "runto 'foo'". This makes the
7527 statements demangler agnostic.
7528
cf74b8ca
AC
7529Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
7530
7531 * gdb.threads/pthreads.exp: Unify pass/fail messages for
7532 ``continue to bkpt at common_routine in thread 2'' and ``stopped
7533 before calling common_routine 15 times'' tests.
7534
99f78f56
MC
75352001-02-11 Michael Chastain <chastain@redhat.com>
7536
7537 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
7538 Helps the test script figure out which demangler is in use.
7539 (dm_type_foo_ref): Ditto.
7540 (dm_type_int_star): Ditto.
7541 (dm_type_long_star): Ditto.
7542 (dm_type_unsigned_int): Ditto.
7543 (dm_type_void): Ditto.
7544 (dm_type_void_star): Ditto.
99707966 7545 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
7546 Probe the gdb demangler and set variables to accommodate
7547 formatting differences.
7548 (info_func_regexp): New function. Same as info_func, but
7549 matches against a regexp.
7550 (info_func): Match against a literal string.
7551 (print_addr_2): New function. Match against a literal string,
7552 which can be different from the input to gdb.
7553 (print_addr): Simply call print_addr_2 with the same argument twice.
7554 (test_lookup_operator_functions): Use demangler formatting variables.
7555 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
7556 the tests in the same order as the C++ class declaration.
7557 (test_paddr_operator_functions): Ditto.
7558 (test_paddr_overloaded_functions): Ditto.
7559 (test_paddr_hairy_functions): Use demangler formatting variables.
7560 Add reference to gdb/19 for related tests.
7561 (do_tests): Call probe_demangler.
7562
1de8f023
KB
75632001-01-30 Kevin Buettner <kevinb@redhat.com>
7564
7565 * gdb.c++/templates.cc (printf): Remove unused function definition.
7566
ca3f91ed
MS
75672001-01-26 Felix Lee <flee@redhat.com>
7568
7569 * sid.exp (sid_exit): Pass host, not target, to remote_close.
7570
75712001-01-25 matthew green <mrg@redhat.com>
7572
7573 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
7574 up sid.
7575 (sid_exit): Call `remote_pop_conn' after GDB is gone.
7576
75772001-01-25 matthew green <mrg@redhat.com>
7578
7579 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 7580 Deprecate $sid_spawn_id.
ca3f91ed
MS
7581 (sid_exit): Remove code necessary only for `spawn.'
7582
75832001-01-25 matthew green <mrg@redhat.com>
7584
7585 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
7586
fb18ec4a
MC
75872001-01-28 Michael Chastain <chastain@redhat.com>
7588
7589 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
7590 to call when tests fail. It takes gdb out of the overloaded
7591 function choice menu back to the main prompt, so that the test
7592 program stays synchronized.
7593 (set_bp_overloaded): New proc to collect all the common
7594 code for setting a breakpoint on an overloaded name. Calls
7595 take_gdb_out_of_choice_menu when needed.
7596 (menu_overload1arg): New variable to collect the repeated
7597 instances of the expected menu for an overloaded name. Change
7598 the regular expression to handle changes in g++ type encoding:
7599 "void" can be either "void" or "", and "unsigned int" can be
7600 either "unsigned int" or "unsigned".
7601 (continue_to_bp_overloaded): Change regular expressions to handle
7602 changes in g++ type encoding.
7603 (no proc): Call take_gdb_out_of_choice_menu when needed.
7604 Remove redundant calls to "info break". Accept either "canceled"
7605 or "cancelled". Change regular expressions in "info break"
7606 calls to handle changes in g++ type encoding. Give all tests
7607 unique strings.
7608
9c646a6e
BE
76092001-01-17 Ben Elliston <bje@redhat.com>
7610
7611 * config/sid.exp: New file.
7612
9549d9c1
AC
7613Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
7614
7615 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
7616
dc96c6c7 76172000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
7618
7619 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
7620 Add a RE to accept a non-ascii char if one is ever presented.
7621
b4df4f68
FN
76222000-12-20 Fernando Nasser <fnasser@redhat.com>
7623
297dd0fd 7624 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 7625
dc96c6c7 76262000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 7627
d63a86f8 7628 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
7629 in regexp. One '\' does not suffice on Linux.
7630
4a7bddb6
MC
76312000-12-09 Michael Chastain <chastain@redhat.com>
7632
7633 * gdb.base/break.exp (test_clear_command): Use a marker function
7634 rather than 'main' for the test function. Also move this
7635 test to an execution point where the marker function names are
7636 guaranteed to be bound to functions. (Executing tests after a
7637 'finish' from main runs into name conflicts with local names
7638 in __libc_start_main).
7639
dc96c6c7 76402000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
7641
7642 * gdb.base/finish.exp: New test for gdb's "finish" command.
7643 * gdb.base/return2.exp: New test for gdb's "return" command.
7644 * gdb.base/return2.c: New source file for above.
7645
dc96c6c7 76462000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
7647
7648 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
7649 * gdb.base/miscexprs.exp: Ditto.
7650 * gdb.base/pointers.exp: Ditto.
7651 * gdb.c++/derivation.exp: Ditto.
7652 * gdb.c++/local.exp: Ditto.
7653 * gdb.c++/namespace.exp: Ditto.
7654 * gdb.c++/overload.exp: Ditto.
7655 * gdb.c++/ref-types.exp: Ditto.
7656
dc96c6c7 76572000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
7658
7659 * gdb.base/constvars.exp: Test result of "up" command.
7660 * gdb.base/miscexprs.exp: Ditto.
7661 * gdb.base/pointers.exp: Ditto.
7662 * gdb.base/scope.exp: Ditto.
7663 * gdb.c++/derivation.exp: Ditto.
7664 * gdb.c++/local.exp: Ditto.
7665 * gdb.c++/namespace.exp: Ditto.
7666 * gdb.c++/overload.exp: Ditto.
7667 * gdb.c++/ref-types.exp: Ditto.
7668
44097287
FN
76692000-11-22 Michael Chastain <chastain@redhat.com>
7670
7671 * mips_pro.exp: Accept either "middle -> top -> main" or
7672 "middle -> main" in the backtrace, because gcc can optimize
7673 tail calls to jumps. Remove setup_xfail for the hppa case.
7674 Add a comment with the original warning messages from PR 3016,
7675 which was filed in 1993, to preserve them for posterity.
7676
9d2e1bab
ND
76772000-11-17 Nick Duffek <nsd@redhat.com>
7678
7679 * lib/gdb.exp (gdb_test): Override timeout with board info.
7680
1aca8eb7
ND
76812000-11-17 Nick Duffek <nsd@redhat.com>
7682
7683 * gdb.base/display.exp: Don't kill running stub. Add "again" to
7684 the second kill and detach messages.
7685
93076499
ND
76862000-11-17 Nick Duffek <nsd@redhat.com>
7687
7688 * configure.in: Add AC_EXEEXT.
7689 * configure: Regenerate.
7690 * Makefile.in (just-check): Export EXEEXT.
7691 * lib/gdb.exp ($EXEEXT): Import from environment.
7692 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
7693 expect "maint dump-me" on Cygwin.
7694 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
7695 $EXEEXT.
7696
30e87cd3
ND
76972000-11-17 Nick Duffek <nsd@redhat.com>
7698
7699 * gdb.base/break.exp: Test backtrace and finish from called
7700 function on all platforms, not just HP-UX.
7701
dc96c6c7 77022000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
7703
7704 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
7705 code from gdb_target_monitor, so it can be used independantly
7706 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 7707
dc96c6c7 77082000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
7709
7710 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
7711 * gdb.base/corefile.exp: Expect the message "Program is being
7712 debugged already" when we send the "corefile" command, since
7713 the preceeding gdb_load may have connected gdb to a remote target.
7714 * gdb.base/display.exp: Disable hardware watchpoints if new
7715 board info variable "no_hardware_watchpoints" is true.
7716 Replace single-letter commands with more readable ones.
7717 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
7718 if new board info variable "no_hardware_watchpoints" is true.
7719 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
7720 to see if stdio (printf) testing is possible.
7721 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
7722 board info variable "no_hardware_watchpoints" is true. Use new
7723 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
7724
39124dea
FN
77252000-11-13 Fernando Nasser <fnasser@redhat.com>
7726
7727 From Orjan Friberg <orjanf@axis.com>:
7728 * gdb.base/printcmds.exp: Escape curly braces followed by a number
7729 in array print pattern match.
7730
a9e2e984
FN
77312000-11-09 Fernando Nasser <fnasser@redhat.com>
7732
7733 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
7734 spelling "cancelled" to U.S. spelling "canceled" to match changes
7735 made to gdb.
7736 * gdb.c++/ovldbreak.exp: Ditto.
7737
c7db355b
PS
77382000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7739
7740 * gdb.base/callfuncs.c (main): Moved to end of file, call
7741 t_double_values to initialize the FPU before inferior calls are made.
7742 * gdb.base/callfuncs.exp: Test for register preservation after calling
7743 inferior functions. Add tests for continuining, finishing and
7744 returning from a stop in a call dummy.
7745
dc96c6c7 77462000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
7747
7748 * gdb.base/commands.exp: Break up long lines, and re-indent.
7749
dc96c6c7 77502000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
7751
7752 * config/gdbserver.exp: Rewritten from the ground up, to make it
7753 compatible with the current dejagnu tree, and to make it work with
7754 the new "gdbserver" in libremote.
7755
dc96c6c7 77562000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
7757
7758 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
7759 * gdb.base/varargs.exp: Skip entire test if no printf support.
7760 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
7761 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
7762
dc96c6c7 77632000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
7764
7765 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
7766 no floating point support.
7767 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
7768 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
7769 * gdb.base/call-rt-st.exp: Ditto.
7770 * gdb.base/call-strs.exp: Ditto.
7771
bac5fc66
JG
77722000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
7773
7774 * gdb.base/sizeof.c: include <stdio.h>.
7775
7776 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
7777 'finish', otherwise uncaptured gdb_prompt would potentially
7778 throw remaining test points out of sync.
7779
b22a6027
SB
77802000-07-26 Scott Bambrough <scottb@netwinder.org>
7781
7782 * gdb.base/recurse.exp: Run tests for all targets.
7783 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
7784 gnu-oldld case on ARM.
7785 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
7786 for ARM targets.
d63a86f8 7787
d8231941
AG
7788Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
7789
7790 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
7791 * gdb.java/configure: Rebuild.
7792
8caabe69
AG
7793Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
7794
7795 * gdb.java/jv-exp.exp: New file.
7796
9d273ca3
AG
7797Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
7798
7799 * configure: Rebuilt.
7800 * configure.in (configdirs): Add gdb.java.
7801 * gdb.java/jmisc.java: New file.
7802 * gdb.java/jmisc.exp: New file.
7803 * gdb.java/Makefile.in: New file.
7804 * gdb.java/configure: Rebuilt.
7805 * gdb.java/configure.in: New file.
7806 * lib/java.exp: New file.
7807
4f823a66
AC
7808Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
7809
7810 * gdb.base/exprs.exp: Test casts to a pointer including over and
7811 underflow.
7812
2391e11d
AC
7813Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
7814
7815 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
7816 and the compilers sizes.
7817
54602222
ND
78182000-07-09 Nick Duffek <nsd@redhat.com>
7819
7820 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
7821 (use_methods): New function.
7822 (main): Call use_methods().
7823 * gdb.c++/classes.exp (test_method_param_class): New procedure.
7824 (do_tests): Call test_method_param_class.
7825
2bec0572
ND
78262000-07-09 Nick Duffek <nsd@redhat.com>
7827
7828 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
7829 spelling.
7830 (test_enums): New procedure. Move enum tests from end of script
7831 to here. Set breakpoint on function name instead of line number.
7832 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
7833 (enums2): New marker function.
7834 (enums1): New function.
7835 (main): Call enums1(). Move enum tests to enums1().
7836
78492fde
AC
7837Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
7838
7839 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
7840 compile/link program. Update line numbers.
7841 * gdb.asm/d10v.inc: Define ``startup''.
7842 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 7843
49a2cef8
AC
7844Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
7845
7846 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
7847
3e6c8688
EZ
78482000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7849
7850 * gdb.base/maint.exp: Add 'maint print architecture' item to output
7851 of 'help maint print' command.
7852
9ff5cbe9
AC
7853Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
7854
7855 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
7856 they use gdb_expect_list.
7857
17c579bd
AC
7858Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
7859
7860 * gdb.base/commands.exp: Use ``set remote
7861 memory-read-packet-size'' instead of ``set endian big'' to test
7862 long commands.
7863
e6d71bf3
DB
78642000-06-03 Daniel Berlin <dan@cgsoftware.com>
7865
7866 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 7867 g++, and stop skipping them.
e6d71bf3
DB
7868
7869 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
7870 work under g++.
7871
d63a86f8 7872 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
7873 initialization.
7874
dc96c6c7 78752000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
7876
7877 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
7878 the regular expression: accept an (almost) arbitrary sequence of
7879 "frames-invalid" and "breakpoints-invalid" messages both before
7880 and after the "starting" message.
7881
dc96c6c7 78822000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
7883
7884 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 7885
dc96c6c7 78862000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
7887
7888 * gdb.base/annota1.exp (annotate-signal-handler-caller):
7889 Relax the regular expression a little, make it pass on Solaris 8.
7890
8216cda9
KB
78912000-05-12 Kevin Buettner <kevinb@redhat.com>
7892
7893 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 7894 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
7895 Instead, it is permissible for gdb to stop on the line of the
7896 call itself.
7897
1a570b2f
MS
78982000-05-12 Michael Snyder <msnyder@.cygnus.com>
7899
7900 * gdb.base/break.exp (bp on small function, optimized file):
7901 Add a second pass pattern. The behavior differs here between stabs
7902 and dwarf for one-line functions. Stabs preserves two line symbols
7903 (one before the prologue and one after) with the same line number,
7904 but dwarf regards these as duplicates and discards one of them.
7905 Therefore the address after the prologue (where the breakpoint is)
7906 has no exactly matching line symbol, and GDB reports the breakpoint
7907 as if it were in the middle of a line rather than at the beginning.
7908
dc96c6c7 79092000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 7910
d63a86f8 7911 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
7912 rather than "send_gdb" (for consistancy).
7913
7d418785
AC
7914Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
7915
7916 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
7917 * gdb.c++/templates.cc: Properly check for GCC version number.
7918 * lib/compiler.cc: Likewise
7919
dc96c6c7 79202000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 7921
d63a86f8 7922 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
7923 gdb may not stop at the first line of main, due to code motion.
7924
dc96c6c7 79252000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
7926
7927 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
7928 This test depends on parsing the printf output from the target.
7929 Since the sparclet stub doesn't do stdio, this will never work.
7930 * gdb.base/call-rt-st.exp: ditto.
7931 * gdb.base/call-strs: ditto.
7932
dc96c6c7 79332000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
7934
7935 * gdb.base/miscexprs.exp: make sizeof long array test portable.
7936
7937 * gdb.base/ending-run.exp: After connecting to a remote target,
7938 but before running, the target will appear to be in a random
7939 location. Specify both a file and a line for breakpoints.
7940 Also, the function that calls main may be called 'init'
7941 rather than 'start'.
7942
a5a51225
EZ
79432000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7944
7945 * gdb.base/help.exp: Update output for add-symbol-file command.
7946
7930cc7c
FN
79472000-04-10 Fernando Nasser <fnasser@cygnus.com>
7948
7949 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7950 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
7951
23e37ab1
C
79522000-04-07 J.T. Conklin <jtc@redback.com>
7953
e93c542c
C
7954 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
7955
23e37ab1
C
7956 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
7957
591b8fa3
PDM
7958Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
7959
7960 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
7961 values that can be represented exactly.
7962 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
7963 above change, and to not check against the directory part of the source
7964 file name.
7965 (step into print_long_arg_list): Likewise.
7966 (print print_small_structs from print_long_arg_list): Likewise.
7967 (print print_long_arg_list): Likewise.
7968
7a495180
EZ
79692000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7970
30b53638 7971 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 7972
beb998c6
AC
7973Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
7974
7975 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
7976
1c689132
DB
79772000-03-25 Daniel Berlin <dan@cgsoftware.com>
7978
7979 * gdb.base/commands.exp (deprecated_command_test): Add test for
7980 deprecate with no arguments.
7981
c1790a9d
JL
79822000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
7983
7984 * gdb.base/break.exp: Add new test for setting breakpoints on
7985 optimized code so we can test breakpoints work even when function
7986 prologues may be optimized away
7987
003ba290
FN
79882000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
7989
7990 From David Whedon <dwhedon@gordian.com>
7991 * gdb.base/commands.exp : Added command deprecator tests.
7992
6837a0a2
DB
79932000-03-22 Daniel Berlin <dan@cgsoftware.com>
7994
7995 * gdb.base/help.exp: Added test for new apropos command.
7996
b9593231
KB
79972000-03-21 Kevin Buettner <kevinb@redhat.com>
7998
7999 * gdb.base/pointers.c (usevar): New function.
8000 (main): Make sure that global variables v_int_pointer2, rptr,
8001 and y are all referenced someplace in the program by calling
8002 usevar() on them. [Some linkers delete symbols which are
8003 never referenced. The space remains, but there's no way to
8004 get a (symbolic) handle on the variable from the debugger.]
8005
751a959b
EZ
80062000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8007
8008 * gdb.base/printcmds.c: Add typedeffed arrays.
8009
8010 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
8011 procedure to test arrays that are typedef'd.
8012
73a93a32
JI
80132000-03-13 James Ingham <jingham@leda.cygnus.com>
8014
8015 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 8016 the library directories.
73a93a32 8017
fb40c209
AC
8018Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
8019
8020 * configure.in (configdirs): Add sub directory gdb.mi.
8021 * configure: Re-generate.
8022
8023 * gdb.mi: New directory.
d63a86f8 8024
ee4dd2c9
AC
80252000-02-25 Scott Bambrough <scottb@netwinder.org>
8026
8027 * gdb.base/long_long.exp: Correct test suite failure when printing
8028 a long long value as a double on ARM platforms.
8029
70f0cc22
JB
80302000-02-16 Jim Blandy <jimb@redhat.com>
8031
8032 * gdb.base/break.exp ("breakpoint line number"): Make sure the
8033 default source file is set properly before running this test.
8034
853819b8
EZ
80352000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8036
8037 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
8038 gdbtk/library directory, not in gdbtcl2.
8039
dfcd3bfb
JM
80402000-02-04 Jim Blandy <jimb@redhat.com>
8041
8042 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
8043 backslash from regexp pattern.
8044
8045 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
8046 procedure. Use it to run all the "continue to bp overloaded"
8047 tests. Note that this changes the names of the tests slightly.
8048 If the breakpoint hit message includes a hex PC value, because
8049 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
8050 from the real source code, still consider that a pass.
8051
8052 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
8053 XFAIL here if the breakpoint message contains a hex address. Note
8054 similar change on 1999-11-02.
8055
8056 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
8057
8058 * gdb.base/ptype.exp: Establish a default source file before
8059 calling get_debug_format.
8060
80612000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
8062
8063 * gdb.base/watchpoint.exp: Remove duplication of test messages.
8064
8b93c638
JM
80652000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
8066
8067 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
8068 of successive stepi commands -- while in the prologue we should see
8069 the function entry bracket.
8070
80712000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
8072
8073 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
8074 reach __change_mode() when stepping through the end of main().
8075
c5394b80
JM
80762000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
8077
8078 * gdb.base/default.exp: Fix expected pattern.
8079 * gdb.base/help.exp: Same.
8080
0d06e24b
JM
80812000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8082
8083 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
8084 Don't use xfail's because that affects only the following test.
d63a86f8 8085
0d06e24b
JM
8086 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
8087 solaris or linux.
8088
8089 * gdb.base/selftest.exp: Update to reflect changes to main.c.
8090
dc96c6c7 80912000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 8092
d63a86f8 8093 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
8094 "A syntax error" rather than "A parse error". Accept both.
8095
80962000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
8097
8098 * gdb.base/default.exp: Remove OS dependent string from "target
8099 remote" test.
8100 * gdb.base/help.exp: Same for "help target remote" test.
8101
c3f6f71d
JM
81022000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8103
8104 From Jim Kingdon <kingdon@redhat.com>:
8105
8106 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
8107 prompt (cleanup rather than necessity, but still might keep output
8108 from spilling to next test).
8109
81102000-01-02 Fred Fish <fnf@cygnus.com>
8111
8112 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
8113 AIX, which defines them in <sys/types.h>.
8114
ed9a39eb 81151999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 8116
ed9a39eb
JM
8117 * gdb.base/default.exp: Match arm* etc instead of arm in "info
8118 float" test.
8119
81201999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 8121
ed9a39eb 8122 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
8123
8124 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
8125 outermost frame disallowed".
8126
81271999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
8128
8129 * gdb.base/setvar.exp: New tests for setting the value of a struct
8130 with a constant list.
8131
81321999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
8133
8134 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
8135 require the user to type a cast before setting the value of a struct.
8136
de57eccd
JM
81371999-12-06 Jim Blandy <jimb@cygnus.com>
8138
8139 * gdb.base/default.exp: Expect the new 'info float' command on
8140 all i386 platforms.
8141
8142 * gdb.threads/linux-dp.exp: Expand our ability to recognize
8143 LinuxThreads libraries that don't support debugging.
8144
c2d11a7d
JM
8145Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
8146
8147 * gdb.base/remote.c: Fill the buffer with truely random data.
8148 Change the buffer type to ``unsigned char'' to simplify size
8149 arithmetic.
8150
8151 * gdb.base/remote.exp: Reduce download numbers by one. Typical
8152 stub only handles 400-1 byte packets. Verify that the download
8153 worked.
8154
81551999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
8156
8157 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
8158 tests, using UNRESOLVED for the untested cases. Also, does not wait
8159 for a timeout if the prompt was received before a recognizable pattern.
8160
81611999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
8162
8163 * lib/gdb.exp (gdb_expect_list): Fix spelling.
8164
81651999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8166
8167 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
8168 watchpoints.
8169
81701999-11-24 Jason Merrill <jason@casey.cygnus.com>
8171
8172 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
8173
8174 * gdb.c++/local.exp: Be more flexible in recognizing local class
8175 name mangling. Don't allow horribly truncated method names.
8176 * gdb.c++/derivation.exp: Expect protected inheritance.
8177 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
8178 * gdb.c++/virtfunc.exp: Likewise.
8179 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
8180 when printing a nested enum.
8181
81821999-11-22 Jim Blandy <jimb@cygnus.com>
8183
8184 * gdb.base/step-test.exp: Properly await GDB's response to setting
8185 a breakpoint on the call to large_struct_by_value.
8186
8187 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
8188 just because we have debug info for the `start' function.
8189
81901999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
8191
8192 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
8193 "Unknown signal" messages, which indicate (on LinuxThreads) that
8194 GDB doesn't know how to debug threads on this system. This is
8195 better than hanging while philosopher 0 dumps chatter into gdb.log.
8196
81971999-11-18 Tom Tromey <tromey@cygnus.com>
8198
8199 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
8200
82011999-11-18 Fred Fish <fnf@cygnus.com>
8202
8203 * gdb.base/coremaker2.c: Add sample program for generating
8204 cores that is more self contained than coremaker.c. Eventually
8205 I'll add more code to this and tie it into the testsuite.
8206
4ce44c66
JM
82071999-11-12 Stan Shebs <shebs@andros.cygnus.com>
8208
8209 * gdb.base/dollar.exp: Remove, now in gdb.hp.
8210
82111999-11-10 Jimmy Guo <guo@cup.hp.com>
8212
8213 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
8214 from $srcdir/lib/.
8215 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
8216 and gdb.c++/.
8217
8218 * gdb.c++/derivation.exp: remove redundant get compiler info code.
8219
d63a86f8 8220 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
8221 'continue with watch' test point.
8222
82231999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
8224
8225 Merged from p2linux-990323-branch:
d63a86f8 8226
4ce44c66
JM
8227 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
8228
11cf8741
JM
8229Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
8230
8231 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
8232 {limit,fixed}''. Test ``set download-write-size''.
8233
8234Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
8235
8236 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
8237 gdb_expect_list.
8238
8239Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
8240
8241 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
8242
82431999-11-03 Mark Salter <msalter@cygnus.com>
8244
8245 * gdb.base/break.exp: Fix "stub continue" pattern.
8246
82471999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
8248
8249 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
8250
82511999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
8252
8253 * gdb.base/display.exp ("finish"): Add timeout clause.
8254
8255 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
8256 plain prompt clause, so this doesn't have to time out in order to
8257 fail.
8258
8259 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
8260 breakpoint hit messages include an address.
8261
8262 * gdb.base/display.exp: Don't forget to escape parens in regular
8263 expressions. Unix regexp notatation sucks.
8264
82651999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8266
8267 * gdb.base/annota1.exp: Test for annotate-signalled: change output
8268 order for 'signalled' message.
8269
5c44784c
JM
82701999-11-01 Stan Shebs <shebs@andros.cygnus.com>
8271
8272 From Jimmy Guo <guo@cup.hp.com>:
8273 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
8274 * gdb.base/annota1.c: Add code for tests to work with.
8275
82761999-10-26 Frank Ch. Eigler <fche@cygnus.com>
8277
8278 * gdb.base/remote.exp: New test for remote downloading settings.
8279 * gdb.base/remote.c: New file with large .data.
8280
917317f4
JM
82811999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
8282
8283 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
8284 for LinuxThreads support, merged from the Code Fusion branch.
8285
8286Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
8287
8288 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
8289 containing exp_continue into a while within an expect. Don't
8290 attempt a start more than three times. Check return value from
8291 gdb_load.
d63a86f8 8292
2df3850c
JM
8293Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
8294
8295 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
8296 a pass case.
8297
2acceee2
JM
82981999-10-01 Kevin Buettner <kevinb@cygnus.com>
8299
8300 * gdb.base/break.c (main): Added a statement that we can step
8301 off of.
8302 * gdb.base/break.exp: Added tests for setting a breakpoint
8303 at an offset and stepping onto a breakpoint.
8304
83051999-10-01 Fred Fish <fnf@cygnus.com>
8306
d63a86f8 8307 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
8308 gdb output.
8309
c2c6d25f
JM
83101999-09-18 Jim Blandy <jimb@cris.red-bean.com>
8311
8312 * gdb.base/break.exp: Code locations are in hex, don't forget!
8313 (For HP-UX.)
8314
83151999-09-17 Stan Shebs <shebs@andros.cygnus.com>
8316
8317 * condbreak.exp: Use break.c as test program.
8318 * condbreak.c: Remove, redundant with break.c.
8319
83201999-09-15 Stan Shebs <shebs@andros.cygnus.com>
8321
8322 * config/monitor.exp (gdb_target_monitor): Disable X- and
8323 Z-packets if the target needs it.
8324
83251999-09-13 James Ingham <jingham@leda.cygnus.com>
8326
8327 * gdb.c++/overload.exp: Added tests for listing overloaded
8328 functions with function pointers in the arg, explicitly calling
8329 out the version you want.
8330
cff3e48b
JM
83311999-09-09 Stan Shebs <shebs@andros.cygnus.com>
8332
8333 * long_long.exp: Add variations of test cases that work for
8334 targets with 16-bit ints and 32-bit doubles.
8335
d4f3574e
SS
83361999-09-08 Stan Shebs <shebs@andros.cygnus.com>
8337
8338 * break.c (main): Compare a possibly-uninitialized argc with an
8339 unlikely value that fits in 16 bits.
8340
83411999-09-07 Stan Shebs <shebs@andros.cygnus.com>
8342
8343 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
8344 0xfeeb, don't want negative numbers if ints are 16 bits.
8345
8346 * lib/gdb.exp (skip_cplus_tests): New proc.
8347 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
8348 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
8349 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
8350 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
8351 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
8352 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
8353 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
8354 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
8355
8356 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
8357
8358Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
8359
8360 * gdb.base/corefile.exp (up): Allow a parameter to appear
8361 in the frame that we're going up to.
8362
8363 From Jim Blandy <jimb@cygnus.com>:
8364
8365 * gdb.base/default.exp (info float): Expect some output now.
8366
8367 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
8368 returning floating-point values to fail on the x86.
8369 * gdb.base/callfwmall.exp (do_function_calls): Same.
8370
8371 * gdb.base/list.exp (test_listsize): Correct expectations for
8372 listing line 1 with listsize 2. Also, listing a single line
8373 works now, as does listing three lines. [Kevin's note: There
8374 were a number of other cases fixed too where the expectations
8375 differed...]
8376
83771999-09-02 Stan Shebs <shebs@andros.cygnus.com>
8378
8379 * gdb.base/selftest.exp: Add case for when version prints as
8380 constant string instead of char pointer.
8381
104c1213
JM
83821999-08-25 Stan Shebs <shebs@andros.cygnus.com>
8383
8384 * gdb.base/ending-run.exp: Add Solaris case for what happens when
8385 stepping out of main.
8386
8387 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
8388 G++ used.
8389
8390 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
8391 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
8392
8393 * gdb.c++/ovldbreak.exp: Update match string in test that
8394 includes a warning of multiple breakpoints.
8395
83961999-08-24 Stan Shebs <shebs@andros.cygnus.com>
8397
8398 * gdb.base/display.exp: Improve precision of step-after-finish
8399 added yesterday.
8400
8401 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
8402 test.
8403
8404 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
8405 configs when using G++, not just hppa*.
8406
84071999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8408
8409 * gdb.base/async.c: New file.
8410 * gdb.base/async.exp: New file.
8411
8412Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
8413
8414 * gdb.base/break.exp: Tweak PA specific tests to properly handle
8415 PA64.
8416
53a5351d
JM
8417Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
8418
104c1213
JM
8419 * gdb.base/display.exp: "finish" can leave us mid-line on many
8420 targets, deal with it. Add a small constant to main, instead of
8421 1000 since main+1000 may not be a valid address in the target.
8422
53a5351d
JM
8423 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
8424 on hpux11.
8425
8426 * gdb.base/attach.exp: Handle another hpux11 error message variant
8427 when attaching to a process that does not exist.
8428
84291999-08-19 J.T. Conklin <jtc@redback.com>
8430
8431 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
8432 characters in 'continue to 1241' test.
8433
84341999-08-17 Stan Shebs <shebs@andros.cygnus.com>
8435
8436 * gdb.base/call-ar-st.exp: Add a shorter match case for the
8437 stop in print_long_arg_list, define and use a whitespace
8438 variable in print_small_structs test, add an XFAIL for Solaris.
8439 * gdb.base/dbx.exp: XFAIL func commands until somebody is
8440 interested enough to fix.
8441
7be570e7
JM
84421999-08-13 Keith Seitz <keiths@cygnus.com>
8443
8444 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
8445 (dbx_gdb_load): Remove. Use gdb_load instead, since that
8446 proc knows about targets other than the natives.
8447 (test_assign): Use "gdb_run_cmd" to "run" the target.
8448 Check that we've actually hit the breakpoint at main.
8449 When we attempt to assign a value to a local variable, check
8450 that the variable is in the current scope, i.e., don't use
8451 a test with an empty result.
8452
8453Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
8454
8455 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
8456 command.
8457
84581999-08-09 Stan Shebs <shebs@andros.cygnus.com>
8459
8460 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8461 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
8462 gdb.compat, gdb.threads-hp.
8463 gdb.hp/configure, gdb.hp/configure.in: New files.
8464 gdb.hp/Makefile.in: Recurse into new subdirs.
8465 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
8466 gdb.hp/gdb.objdbg: New directory, tests for debugging info
8467 in object files.
8468 gdb.hp/tools: New directory, aux tools for HP-specific tests.
8469
96baa820
JM
84701999-08-05 Stan Shebs <shebs@andros.cygnus.com>
8471
8472 * gdb.base/display.exp: Help expect by putting a newline in the
8473 funky printf, remove a bogus p/a test.
8474
84751999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8476
8477 * gdb.base/display.exp: Make sure that when we say 'run', we are
8478 connected to the target. This is necessary when running not
8479 natively.
8480
84811999-08-03 Stan Shebs <shebs@andros.cygnus.com>
8482
8483 * gdb.base/step-test.exp: Removed some extraneous messages.
8484
8485 * gdb.base/long_long.exp: Don't run memory examination tests
8486 on little-endian targets (they will need a different set of
8487 results to match).
8488
84891999-08-02 Stan Shebs <shebs@andros.cygnus.com>
8490
8491 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
8492 until somebody decides to fix GDB.
8493
8494 * gdb.base/long_long.c: Stop compiler complaint by specifying long
8495 constant as "ULL".
8496 * gdb.base/long_long.exp: Loosen x/c test, add partial result
8497 matches for a couple x/2 commands.
8498
a0b3c4fd
JM
84991999-07-30 Stan Shebs <shebs@andros.cygnus.com>
8500
8501 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
8502 by merging in ref-types2 tests.
8503 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
8504
8505 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8506 * gdb.c++/Makefile.in: Add standard actions.
8507 (EXECUTABLES): Rename from PROGS, update list.
8508 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
8509 from gdb.hp.
8510 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
8511 foo and bar locals.
8512 * gdb.c++/anon-union.exp: Fix tests to match.
8513 * gdb.c++/classes.exp: Run if HP compiler used, add extra
8514 expect matches to handle output variations.
8515 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
8516 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
8517 output, add HP alternatives for new and delete prints.
8518 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
8519 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
8520 * gdb.c++/demangle.exp: Use $style when reporting failure.
8521 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
8522 * gdb.c++/inherit.exp: Run if HP compiler used, add some
8523 match alternatives.
8524 * gdb.c++/local.exp: Add match alternatives or xfails for HP
8525 compilers.
8526 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
8527 * gdb.c++/method.exp: Add match alternatives.
8528 * gdb.c++/misc.cc: Add bool types.
8529 * gdb.c++/misc.exp: Add tests for bool types.
8530 * gdb.c++/overload.exp: Add xfails.
8531 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
8532 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
8533 add some more template parameter tests (only for HP currently).
8534 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
8535 * gdb.c++/virtfunc.cc: Add return type and value for main.
8536 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
8537 match alternatives.
d63a86f8 8538
a0b3c4fd
JM
85391999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8540
8541 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
8542
85431999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
8544
8545 * gdb.base/signals.exp: Don't expect getting a backtrace from
8546 within a signal handler to fail on Linux.
8547
85481999-07-29 Stan Shebs <shebs@andros.cygnus.com>
8549
8550 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8551 * lib/gdb.exp: Remove some gratuitious semicolons.
8552 (delete_breakpoints): Increase timeout.
8553 (gdb_expect): Add -notransfer option.
8554 (gdb_test): Use -notransfer option.
8555 (get_compiler_info): Add f77 case.
8556 (get_compiler): New proc, split out from gdb_preprocess, add f77
8557 case.
8558 (gdb_preprocess): Call get_compiler.
8559
8560 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
8561 * gdb.base/attach.exp, gdb.base/display.exp,
8562 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
8563 gdb.base/long_long.exp, gdb.base/printcmds.exp,
8564 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
8565 third arg to gdb_test.
8566 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
8567 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
8568 HP-UX xfails, add others.
8569 * gdb.base/completion.exp: Reflect name change of self-test.
8570 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
8571 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
8572 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
8573 HP failure number.
8574 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
8575 useless HP-UX 10.30 references.
8576 * gdb.base/maint.exp: Loosen matches.
8577 * gdb.base/pointers.c (main): Declare more_code.
8578 * gdb.base/pointers.exp: Match on output of a `next'.
8579 * gdb.base/structs.c: Add prototypes.
8580 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
8581 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
8582
85831999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8584
8585 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
8586 command.
8587
85881999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8589
8590 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
8591 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
8592
8593 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
8594 debug info. Deal with lack of signal hanlder info in stack.
8595
8596 From Jim Kingdon <kingdon@redhat.com>:
8597 * gdb.base/annota1.exp: If printf has debug info, deal with it.
8598
5a2468f5
JM
85991999-07-19 Stan Shebs <shebs@andros.cygnus.com>
8600
8601 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
8602 gdb.base/foll-vfork.exp: Don't run for crosses.
8603
adf40b2e
JM
8604Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
8605
8606 * gdb.base/configure.in: Check for gdbvars.exp instead of
8607 a1-selftest.exp.
8608 * gdb.base/configure: Re-generate.
8609
86101999-07-12 Stan Shebs <shebs@andros.cygnus.com>
8611
8612 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
8613 in trying to run first and name is too long.
8614
8615 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
8616 pointers2.c and pointers2.exp, respectively.
8617 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
8618 doschk happier.
8619
43e526b9
JM
86201999-07-08 Stan Shebs <shebs@andros.cygnus.com>
8621
8622 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
8623 callfuncs2.c and callfuncs2.exp.
8624
8625 * gdb.base/list.exp: Remove mistaken xfails.
8626 * gdb.base/list0.h: Add optional prototypes.
8627
9846de1b
JM
8628Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
8629
8630 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
8631 calling malloc.
8632 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
8633 * ptype.exp: Move test for get_debug_format to before its first
8634 use.
8635
86361999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8637
8638 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
8639 * gdb.base/annota2.cc, annota2.exp: Move from here.
8640 * gdb.c++/annota2.cc, annota2.exp: To here.
8641 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
8642
43ff13b4
JM
8643Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
8644
8645 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
8646 a consistent format.
8647
085dd6e6
JM
86481999-06-25 Stan Shebs <shebs@andros.cygnus.com>
8649
8650 From Jimmy Guo <guo@cup.hp.com> and others at HP:
8651 * lib/gdb.exp (get_compiler_info): Add detection for assorted
8652 HP compilers, also set the globals $true and $false.
8653
8654 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
8655 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
8656 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
8657 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
8658 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
8659 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
8660 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
8661 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
8662 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
8663 whatis.c} Add C++ compatible function definitions and return
8664 types, add includes for library functions.
8665 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
8666 * gdb.base/step-test.c (myglob): Rename from glob.
8667 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
8668 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
8669 files, move here from gdb.hp.
8670 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
8671 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
8672 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
8673 Adjust line numbers in regexps.
8674
8675 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
8676 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
8677 instead of 0/1.
8678
8679 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
8680 foll-vfork.exp: New files, move here from gdb.hp.
8681 * gdb.base/page.exp: New file, test of pagination command.
8682
8683 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
8684 recursion test.
8685 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
8686
8687 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
8688 gdb.base/solib.exp: Fix compiler invocation process.
8689
8690 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
8691 HP-UX 11, turn off overload resolution explicitly.
8692 * gdb.base/commands.exp: Set argument list explicitly, add
8693 watchpoint test.
8694 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
8695 them work.
8696 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
8697 expressions properly.
8698 * gdb.base/corefile.exp: Loosen the match slightly.
8699 * gdb.base/default.exp: Allow "Error accessing memory" message
8700 also.
8701 * gdb.base/display.exp: Skip over x/0 j if PA64.
8702 * gdb.base/funcargs.exp: Add xfails for HP-UX.
8703 * gdb.base/interrupt.exp: Ditto.
8704 * gdb.base/langs.exp: Add symbolic matches governed by compiler
8705 in use.
8706 * gdb.base/list.exp: Add xfails for HP-UX.
8707 * gdb.base/long_long.exp: Refine some of the numeric matches.
8708 * gdb.base/mips_pro.exp: Xfail on HP-UX.
8709 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
8710 * gdb.base/nodebug.exp: Succeed on more varieties of output.
8711 * gdb.base/opaque.exp: Remove some HP-UX xfails.
8712 * gdb.base/ptype.exp: Succeed on more varieties of output.
8713 * gdb.base/scope.exp: Add xfails for HP-UX.
8714 * gdb.base/sect-cmd.exp: Add more cases.
8715 * gdb.base/setvar.exp: Add xfails for HP-UX.
8716 * gdb.base/shlib-call.exp: Loosen some matches slightly.
8717 * gdb.base/signals.exp: Match on void symbolically.
8718 * gdb.base/step-test.exp: Add case for PA64.
8719 * gdb.base/term.exp: Add exit and restart.
8720 * gdb.base/twice.exp: Clean up after self.
8721 * gdb.base/varargs.exp: Disable overload resolution explicitly.
8722 * gdb.base/whatis.exp: Allow more ways to pass tests.
8723
8724 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
8725 no longer useful.
8726
8727Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
8728
8729 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
8730 list of patterns.
8731 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
8732 print_double_array(double_array)", "continuing to breakpoint
8733 1018", "print print_double_array(array_d)" and "continuing to
8734 1034" tests.
d63a86f8 8735
085dd6e6
JM
87361999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
8737
8738 * Makefile.in: Add empty html and install-html targets.
8739
87401999-06-24 Stan Shebs <shebs@andros.cygnus.com>
8741
8742 * config/mt-*: Remove, these haven't been used since 1996.
8743
87441999-06-22 Stan Shebs <shebs@andros.cygnus.com>
8745
8746 * gdb.base/call-strs.c, gdb.base/ending-run.c,
8747 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
8748 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
8749
9e0b60a8
JM
87501999-06-18 Stan Shebs <shebs@andros.cygnus.com>
8751
8752 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
8753 simpler match case for the ptype of the big class.
8754
87551999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
8756
8757 * gdb.exp: Fix test for gdb_prompt existence.
8758
87591999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
8760
8761 * gdb.exp (gdb_test): Add fail after calls to perror.
8762
87631999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
8764
8765 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
8766
87671999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
8768
8769 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
8770
0f71a2f6
JM
8771Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
8772
8773 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
8774 malloc() is linked in.
8775
87761999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
8777
8778 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
8779 step at end.
8780
8781 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
8782
87831999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
8784
8785 * gdb.java/jv-print.exp: New file. (Our first Java test!)
8786
cce74817
JM
8787Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
8788
8789 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
8790 * gdb.base/mips_pro.exp: Likewise.
8791
87921999-06-02 Keith Seitz <keiths@cygnus.com>
8793
8794 * gdb.c++/templates.cc: Change all "new" operators to throw
8795 an exception.
8796 * gdb.c++/cplusfuncs.cc: Likewise.
8797
8798 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
8799
8800Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
8801
8802 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
8803 * gdb.base/ending-run.exp: When stepping out of main, accept a
8804 step into an arbitrary assembler file.
8805
392a587b
JM
88061999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8807
d63a86f8 8808 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 8809 "breakpoint-invalid" to be printed.
d63a86f8 8810 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
8811 number of "frames-invalid" and "breakpoint-invalid" to be printed.
8812 * gdb.base/annota2.cc: Initialize a.x to 0.
8813
9e086581
JM
88141999-05-17 Keith Seitz <keiths@cygnus.com>
8815
8816 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
8817 when "skip_float_tests" set.
8818 Ditto for "print print_double_array(array_d)", "print print_small_structs",
8819 "print print_ten_doubles", and "step into print_long_arg_list".
8820 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
8821 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
8822 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
8823 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
8824 "skip_float_tests" is set.
8825 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
8826 when "skip_float_tests" set.
d63a86f8 8827
cd0fc7c3
SS
88281999-05-06 Keith Seitz <keiths@cygnus.com>
8829
8830 * gdb.base/annota2.cc: Include stdio.h.
8831
8832Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
8833
8834 * gdb.base/crossload.exp: Remove, this has been disabled ever
8835 since BFD stopped including all targets, and cross-GDB gets
8836 plenty of testing anyway.
8837 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
8838 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
8839 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
8840 * gdb.base/README: Remove, was doc for this.
8841 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
8842 needed.
8843
b83266a0
SS
88441999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8845
8846 * gdb.base/call-ar-st.exp: Fix one regular expression in test
8847 output.
8848
8849 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
8850 * gdb.base/annota2.exp: New file. More annotation tests.
8851 * gdb.base/annota1.c: New file. Source file for annota1.exp.
8852 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
8853
88541999-04-23 Angela Marie Thomas <angela@cygnus.com>
8855
8856 * config/cfdbug.exp: New file.
8857
7a292a7a
SS
88581999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
8859
8860 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
8861 Marcus Daniel's and Dale Hawkins's demangler crashes.
8862
8863 * gdb.c++/demangle.exp (test_gnu_style_demangling,
8864 test_lucid_style_demangling, test_arm_style_demangling,
8865 test_hp_style_demangling): Try Tom Tromey's core-dumping
8866 identifier under each demangling style.
8867
88681999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
8869
8870 * gdb.c++/demangle.exp: Include the current demangling style
8871 in all test names.
8872 (current_demangling_style): New global variable.
8873 (set_demangling_style, test_demangling_core, test_demangling,
8874 test_demangling_exact): New functions.
8875 (test_gnu_style_demangling, test_lucid_style_demangling,
8876 test_arm_style_demangling, test_hp_style_demangling): Use those,
8877 instead of calling gdb_test and gdb_test_exact directly.
8878 (catch_demangling_errors): New function, which reports errors
8879 signalled by the demangling test functions in an orderly way.
8880 (do_tests): Use catch_demangling_errors.
8881
88821999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
8883
8884 * gdb.base/signals.exp (test_handle_all_print): Use () for
8885 grouping in expressions, not {}.
8886
8887 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
8888 initialized yet.
8889
88901999-04-01 Stan Shebs <shebs@andros.cygnus.com>
8891
8892 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
8893 are listed.
8894
88951999-03-26 Stan Shebs <shebs@andros.cygnus.com>
8896
8897 * gdb.stabs/weird.exp: Test for CC being defined before
8898 looking at its value.
8899
89001999-03-25 Stan Shebs <shebs@andros.cygnus.com>
8901
8902 * gdb.base/call-ar-st.exp: Remove stray '#'.
8903 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
8904 "short int" and "long int".
8905 * gdb.c++/overload.cc: Cast the string added in the previous
8906 change, to mollify finicky HP compiler.
8907 * gdb.hp/reg-test.exp (testfile): Fix file name.
8908 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 8909
7a292a7a
SS
8910 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
8911 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
8912 alternate form of enum ptype.
8913
c906108c
SS
89141999-03-23 Stan Shebs <shebs@andros.cygnus.com>
8915
7a292a7a
SS
8916 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
8917 * gdb.hp/*.exp: Change all to run compiler probe only after
8918 passing skip_hp_tests, so as not to waste time on guaranteed
8919 failure.
8920
c906108c
SS
8921 * gdb.c++/overload.cc: Pass string instead of char addr, always
8922 init ccpfoo.
8923 * gdb.c++/templates.cc: Fix syntax error.
8924
7a292a7a
SS
8925Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
8926
8927 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 8928 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
8929 command.
8930
89311999-03-18 James Ingham <jingham@cygnus.com>
8932
8933 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
8934
8935 * gdb.c++/method.exp: It was testing an uninitialized int on the
8936 stack and assuming it was positive.
8937
8938 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
8939
8940 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 8941 keep it from killing the rest of the tests.
7a292a7a
SS
8942 Use gdb_continue_to_end.
8943
8944 * gdb.base/sigall.exp: use gdb_continue_to_end.
8945
8946 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
8947
8948 * gdb.base/display.exp: use runto_main, not run.
8949
d63a86f8
RM
8950 * gdb.base/default.exp: Check for the current error message in the
8951 r abbreviation test.
7a292a7a
SS
8952 Add strongarm to the targets that know info float.
8953
d63a86f8 8954 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
8955 run which doesn't work with monitors.
8956
8957 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
8958
8959 * gdb.base/break.exp: use the gdb_continue_to_end proc.
8960
8961 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
8962 program. Traps the case (in Cygmon) when the program never really
8963 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
8964 more places, so I used my name. Sorry Mark...
8965
8966 * config/monitor.exp (gdb_target_monitor): added another
8967 target_info parameter: remotebinarydownload. This will set the
8968 remotebinarydownload flag if this is causing some boards trouble.
8969
89701999-03-18 Mark Salter <msalter@cygnus.com>
8971
8972 * lib/gdb.exp (continue_to_exit): New function.
8973
8974 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
8975 * gdb.base/ending-run.exp: Ditto.
8976 * gdb.base/step-test.exp: Ditto.
8977
89781999-03-16 Stan Shebs <shebs@andros.cygnus.com>
8979
8980 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
8981 (suggested by Art Haas <ahaas@neosoft.com>).
8982
89831999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
8984
8985 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
8986
8987Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
8988
8989 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
8990 descriptions of types (short unsigned int vs unsigned short, etc).
8991
89921999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
8993
8994 * gdb.base/call-strs.exp: Don't assume that `step' will step over
8995 a call to strlen; sometimes we do have sources.
8996
89971999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
8998
8999 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
9000 character, so GDB won't print garbage after its end.
d63a86f8 9001
c906108c
SS
9002 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
9003 breakpoint there instead. Sometimes GCC emits memcpy to handle
9004 the large structures being passed by value, so we step into that
9005 instead of sum_array_print, which obscures what we're really testing.
9006 * gdb.base/step-test.exp: However, we do want a test that notices
9007 the bizarre steps into memcpy, so do that here. Add check for
9008 stepping into function calls that pass large structures by value.
9009 ("Is that a noun clause, or are you just happy to see me?")
9010 Remove all references to specific line numbers.
9011 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
9012 New type and function.
9013 (main): Call large_struct_by_value, passing it a large struct by value.
9014 * lib/gdb.exp (gdb_get_line_number): New function.
9015
9016 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
9017 more portable.
9018
7a292a7a
SS
90191999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
9020
c906108c
SS
9021 * lib/gdb.exp: Doc fixes.
9022
7a292a7a
SS
90231999-03-05 Nick Clifton <nickc@cygnus.com>
9024
d63a86f8 9025 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
9026
90271999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
9028
c906108c
SS
9029 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
9030 commands. They're not germane to this test, and they don't work
9031 that way on remote targets.
9032
3fc11d3e
JM
90331999-03-01 James Ingham <jingham@cygnus.com>
9034
9035 * Changelog entries merged over from gdb development branch.
9036
3fc11d3e
JM
9037 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
9038
9039 * lib/gdb.exp (gdbtk_analyze_results): Generic function
9040 for outputting results of test run.
9041
2d4a1622 9042 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
9043
9044 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 9045
7a292a7a
SS
90461999-02-25 Felix Lee <flee@cygnus.com>
9047
9048 * lib/gdb.exp (debug_format): initialize
9049
c906108c
SS
90501999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
9051
9052 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
9053 * gdb.base/call-rt-st.c: Ditto.
9054
c906108c
SS
90551999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
9056
9057 * gdb.threads/pthreads.exp (horiz): New variable.
9058 (test_startup): Fix regexps that capture thread numbers.
9059
90601999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
9061
9062 * gdb.base/smoke.exp: Disambiguate two test case names (both
9063 called ``print'').
9064
9065Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
9066
9067 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
9068 compilation.
9069
90701999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
9071
9072 * gdb.base/miscexprs.exp: Change patterns to match GDB's
9073 actual output formatting.
9074 * gdb.base/smoke.exp: GDB removes leading 0's.
9075 * gdb.base/volatile.exp: Don't check type of remuneration;
9076 that variable is no longer defined in constvars.c.
9077 * gdb.base/step-test.c (main): Exit with explicit exit code.
9078 * gdb.base/step-test.exp: Remove two nexti checks--they are
9079 not portable.
9080
90811999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
9082
9083 * gdb.base/help.exp ("help delete display"): Fix test to match
9084 gdb's output.
9085
9086 * gdb.base/long_long.c (known_types): Initialize values to zero.
9087 * gdb.base/long_long.exp: Step one more line
9088 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 9089 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
9090 unique test case names.
9091
9092Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9093
d63a86f8 9094 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
9095
9096 * gdb.c++/method.exp: Add missing close brace.
9097
90981999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
9099
9100 * gdb.base/maint.exp: Use 'set height 0' to disable page
9101 prompting, not 'set height 400'.
9102
9103 Fix a bunch of timeouts.
9104 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
9105 four separate tests, so expect doesn't take forever to match a ton
9106 of text against a regexp with lots of .* forms.
9107 ("maint print psymbols", "maint print symbols"): Make some of
9108 these greps more selective, so that expect doesn't try to wade
9109 through huge piles of output and time out.
9110
9111 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
9112
9113 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
9114 tests: one which doesn't expect shlib events to be reported, and
9115 another which does, but is XFAIL for all platforms other than
9116 HP/UX.
9117
9118 * gdb.base/break.exp: Teach the test suite that the `catch
9119 fork', `catch vfork', and `catch exec' commands produce error
9120 messages on platforms that don't provide these features.
9121
9122Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
9123
9124 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
9125 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
9126 (shortening names from solib_threshold.exp etc), won't run on
9127 anything but HP-UX for the foreseeable future.
9128 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
9129 reflect move.
9130
9131Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
9132
9133 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9134 gdb.trace/Makefile.in (clean): Remove all test executables.
9135
9136Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
9137
9138 * gdb.base/shlib-call.exp: add test cases to verify that gdb
9139 successfully re-sets breakpoints in shared libraries.
9140 * gdb.base/shmain.c (main): return 0, don't fall off the end.
9141
9142Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9143
d63a86f8
RM
9144 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
9145 and compiled w/o GCC.
c906108c
SS
9146
9147 * gdb.hp/watch-cmd.exp: ditto.
9148
9149 * gdb.hp/watch-hp.exp: ditto.
9150
9151 * gdb.hp/xdb1.exp: ditto.
9152
9153 * gdb.hp/xdb2.exp: ditto.
9154
9155 * gdb.hp/dbx.exp: ditto.
9156
9157Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
9158
9159 * constvars.c: Remove C++-isms.
9160 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
9161 with GCC.
9162
9163Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
9164
9165 The following changes are part of the HP merge.
9166
9167 * gdb.base/break.exp: new tests to verify that catchpoints for
9168 fork, vfork, and exec don't trigger inappropriately.
9169
9170 * gdb.base/opaque.exp: compile one file at a time, then link.
9171
9172 * gdb.base/signals.exp: be more restrictive about which hppa
9173 systems receive a setup_xfail. new tests.
9174
9175 * gdb.base/solib_threshold.build: new file.
9176 * gdb.base/solib_threshold.exp: new file.
9177 * gdb.base/solib_threshold.link_opts: new file.
9178 * gdb.base/solib_threshold.mk: new file.
9179 * gdb.base/gen_solib_threshold.c: new file.
9180
9181 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
9182 tests. New tests for enums inside classes.
9183
9184 * gdb.c++/compiler.cc: indicate support of template debugging.
9185
9186 * gdb.c++/demangle.exp: run hp style demangling tests.
9187
9188 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
9189 tests.
9190
9191 * gdb.c++/misc.cc: changes to support new tests.
9192
9193 * gdb.c++/templates.cc: changes to support HP's compiler; changes
9194 to support new tests.
9195
9196 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
9197 gcc, then skip these tests.
9198
9199Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
9200
9201 The following files are part of the HP merge; some had longer
9202 names at HP, but have been renamed to be no more than 14
9203 characters in length.
9204
9205 * gdb.hp/ambiguous.cc: new file.
9206 * gdb.hp/ambiguous.exp: new file.
9207 * gdb.hp/attach.exp: new file.
9208 * gdb.hp/attach2.exp: new file.
9209 * gdb.hp/classes-hp.exp: new file.
9210 * gdb.hp/ctti.exp: new file.
9211 * gdb.hp/ctti-add.cc: new file.
9212 * gdb.hp/ctti-add1.cc: new file.
9213 * gdb.hp/ctti-add2.cc: new file.
9214 * gdb.hp/ctti-add3.cc: new file.
9215 * gdb.hp/dbx.exp: new file.
9216 * gdb.hp/exception.cc: new file.
9217 * gdb.hp/exception.exp: new file.
9218 * gdb.hp/foll-exec.c: new file.
9219 * gdb.hp/foll-exec.exp: new file.
9220 * gdb.hp/foll-fork.c: new file.
9221 * gdb.hp/foll-fork.exp: new file.
9222 * gdb.hp/foll-vfork.c: new file.
9223 * gdb.hp/foll-vfork.exp: new file.
9224 * gdb.hp/inherit-hp.exp: new file.
9225 * gdb.hp/more-steps.exp: new file.
9226 * gdb.hp/namespace.cc: new file.
9227 * gdb.hp/namespace.exp: new file.
9228 * gdb.hp/optimize.exp: new file.
9229 * gdb.hp/pxdb.c: new file.
9230 * gdb.hp/pxdb.exp: new file.
9231 * gdb.hp/quicksort.exp: new file.
9232 * gdb.hp/reg-test.exp: new file.
9233 * gdb.hp/reg-test.s: new file.
9234 * gdb.hp/sized-enum.c: new file.
9235 * gdb.hp/sized-enum.exp: new file.
9236 * gdb.hp/start-stop.exp: new file.
9237 * gdb.hp/templ-hp.cc: new file.
9238 * gdb.hp/templ-hp.exp: new file.
9239 * gdb.hp/thr-lib.c: new file.
9240 * gdb.hp/thr-lib.exp: new file.
9241 * gdb.hp/thr-lib.h: new file.
9242 * gdb.hp/thr-liblib.c: new file.
9243 * gdb.hp/virtfun-hp.c: new file.
9244 * gdb.hp/virtfun-hp.exp: new file.
9245 * gdb.hp/watch-cmd.exp: new file.
9246 * gdb.hp/watch-hp.exp: new file.
9247 * gdb.hp/xdb1.exp: new file.
9248 * gdb.hp/xdb2.exp: new file.
9249 * gdb.hp/xdb3.exp: new file.
9250
9251Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
9252
9253 The following files are part of the HP merge; some had longer
9254 names at HP, but have been renamed to be no more than 14
9255 characters in length.
9256
9257 * gdb.base/ss.h: new file.
9258 * gdb.base/call-ar-st.c: new file.
9259 * gdb.base/call-ar-st.exp: new file.
9260 * gdb.base/call-rt-st.c: new file.
9261 * gdb.base/call-rt-st-exp: new file.
9262 * gdb.base/call-strs.exp: new file.
9263 * gdb.base/ena-dis-br.exp: new file.
9264 * gdb.base/environ.exp: new file.
9265 * gdb.base/long_long.exp: new file.
9266 * gdb.base/sect-cmd.exp: new file.
9267 * gdb.base/shlib-cl2.exp: new file.
9268 * gdb.base/smoke.exp: new file.
9269 * gdb.base/so-impl-ld.c: new file.
9270 * gdb.base/so-impl-ld.exp: new file.
9271 * gdb.base/so-indr-cl.c: new file.
9272 * gdb.base/so-indr-cl.exp: new file.
9273 * gdb.base/varargs.exp: new file.
9274 * gdb.base/volatile.exp: new file.
9275 * gdb.base/whatis-exp.exp: new file.
7a292a7a 9276 * gdb.base/display.exp: new file.
c906108c
SS
9277 * gdb.c++/derivation.exp: new file.
9278 * gdb.c++/local.exp: new file.
9279 * gdb.c++/member-ptr.exp: new file.
9280 * gdb.c++/overload.exp: new file.
9281 * gdb.c++/ovldbreak.exp: new file.
9282 * gdb.c++/ref-types.exp: new file.
9283 * gdb.c++/ref-types2.exp: new file.
9284 * gdb.c++/userdef.exp: new file.
d63a86f8 9285
c906108c
SS
9286Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
9287
9288 * gdb.base/default.exp: Reflect wording change in remote.c.
9289
dc96c6c7 9290Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9291
9292 * gdb.base/help.exp: Update to reflect current text.
9293
9294Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
9295
9296 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
9297 they're stack variables and contain garbage.
9298 * gdb.c++/anon-union.exp: new file.
9299
9300 The following changes were made by David Taylor
9301 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
9302 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
9303 in changes by HP.
9304
9305 * gdb.base/bitops.exp: new file.
9306 * gdb.base/default.exp: change expected messages for catch and
9307 info catch tests to reflect HP merge changes.
9308 * gdb.base/enable-disable-break.exp
9309 * gdb.base/ending-run.c: new file.
9310 * gdb.base/long_long.c: new file.
9311 * gdb.base/maint.exp: new file.
9312 * gdb.base/pointers2.exp: new file.
9313 * gdb.base/shlib-call2.exp: new file.
9314 * gdb.base/solib.exp: new file.
9315 * gdb.base/step-test.c: new file.
9316 * gdb.c++/anon-union.cc: new file.
9317 * gdb.c++/local.cc: new file.
9318 * gdb.c++/member-pointer.cc: new file.
9319 * gdb.c++/method.cc: new file.
9320 * gdb.c++/ref-types.cc: new file.
9321 * gdb.c++/ref-types2.cc: new file.
9322 * gdb.c++/userdef.cc: new file.
d63a86f8 9323
c906108c
SS
9324 * gdb.base/scope.exp: compile one file at a time, then link.
9325 * gdb.base/langs.exp: ditto.
9326 * gdb.base/list.exp: ditto.
d63a86f8 9327
c906108c
SS
9328Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
9329
9330 The following changes were made by David Taylor
9331 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
9332 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
9333 in changes by HP.
d63a86f8 9334
c906108c
SS
9335 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
9336 skip tests. When compiling pass c++ flag to gdb_compile.
9337 * gdb.c++/
d63a86f8 9338
c906108c
SS
9339 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
9340 test for on hppa*-*-hpux*; use args to see if c++ was specified.
9341 (skip_hp_tests): new function.
9342 (gdb_preprocess): new function.
9343
9344 * configure.in (hpdir): decide whether to configure gdb.hp.
9345 * configure: regenerated.
9346
9347 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
9348 to delete on clean.
9349 (EXECUTABLES): update to reflect new additions.
9350 * gdb.base/commands.exp: update message expected.
9351 * gdb.base/default.exp: add copyright notice.
9352 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
9353 * gdb.base/help.exp: update messages to reflect current text.
9354 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
9355 targets for recurse tests.
9356 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
9357 skip this file.
9358
9359 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
9360 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
9361 compilation.
9362 * gdb.c++/misc.exp: ditto.
9363 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
9364 run the tests. tell gdb_compile that it's a c++ compilation.
9365
9366 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 9367
c906108c
SS
9368 * gdb.base/all-bin.exp: new file.
9369 * gdb.base/arithmet.exp: new file.
9370 * gdb.base/assign.exp: new file.
9371 * gdb.base/completion.exp: new file.
9372 * gdb.base/cond-expr.exp: new file.
9373 * gdb.base/condbreak.exp: new file.
9374 * gdb.base/define.exp: new file.
9375 * gdb.base/dollar.exp: new file.
9376 * gdb.base/environment.exp: new file.
9377 * gdb.base/eval-skip.exp: new file.
9378 * gdb.base/jump.exp: new file.
9379 * gdb.base/logical.exp: new file.
9380 * gdb.base/pointers.exp: new file.
9381 * gdb.base/relational.exp: new file.
9382 * gdb.base/section_command.exp: new file.
9383 * gdb.base/whatis-expr.exp: new file.
9384
9385 * gdb.base/all-types.c: new file.
9386 * gdb.base/call-array-struct.c: new file.
9387 * gdb.base/call-return-struct.c: new file.
9388 * gdb.base/call-strings.c: new file.
9389 * gdb.base/callfuncs2.c: new file.
9390 * gdb.base/condbreak.c: new file.
9391 * gdb.base/constvars.c: new file.
9392 * gdb.base/display.c: new file.
9393 * gdb.base/int-type.c: new file.
9394 * gdb.base/jump.c: new file.
9395 * gdb.base/miscexprs.c: new file.
9396 * gdb.base/pointers.c: new file.
9397 * gdb.base/pointers2.c: new file.
9398 * gdb.base/shmain.c: new file.
9399 * gdb.base/shr1.c: new file.
9400 * gdb.base/shr2.c: new file.
9401 * gdb.base/solib.c: new file.
9402 * gdb.base/solib1.c: new file.
9403 * gdb.base/solib2.c: new file.
9404 * gdb.base/varargs.c: new file.
9405 * gdb.c++/derivation.cc: new file.
9406 * gdb.c++/overload.cc: new file.
9407 * gdb.c++/ovldbreak.cc: new file.
9408 * gdb.hp/attach.c: new file.
9409 * gdb.hp/attach2.c: new file.
9410 * gdb.hp/average.c: new file.
9411 * gdb.hp/compiler.c: new file.
9412 * gdb.hp/compiler.cc: new file.
9413 * gdb.hp/execd-program.c: new file.
9414 * gdb.hp/follow-exec.c: new file.
9415 * gdb.hp/follow-fork.c: new file.
9416 * gdb.hp/follow-vfork-and-exec.c: new file.
9417 * gdb.hp/misc-hp.cc: new file.
9418 * gdb.hp/more-steps.c: new file.
9419 * gdb.hp/optimize.c: new file.
9420 * gdb.hp/quicksort.c: new file.
9421 * gdb.hp/run-hp.c: new file.
9422 * gdb.hp/start-stop.c: new file.
9423 * gdb.hp/sum.c: new file.
9424 * gdb.hp/templates-hp.cc: new file.
9425 * gdb.hp/thread-local-in-lib.c: new file.
9426 * gdb.hp/thread-local-in-lib.h: new file.
9427 * gdb.hp/thread-local-in-lib.lib.c: new file.
9428 * gdb.hp/vforked-program.c: new file.
9429 * gdb.hp/virtfunc-hp.cc: new file.
9430 * gdb.hp/watchpoint-hp.c: new file.
9431 * gdb.hp/xdb.c: new file.
9432 * gdb.hp/xdb0.c: new file.
9433 * gdb.hp/xdb0.h: new file.
9434 * gdb.hp/xdb1.c: new file.
9435
9436Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
9437
9438 The following change was made by Edith Epstein
9439 <eepstein@cygnus.com> as part of a project to merge in changes
9440 originally made by HP; HP did not create ChangeLog entries.
9441
9442 * gdb.c++/demangle.exp: changed the expected output for some
9443 ARM-style mangling -- removed second reference to datatype.
9444 For example, maint demangle __dt__11T1__pt__2_cFv
9445 T1<char>::~T1<char>(void)
9446 becomes,
9447 maint demangle __dt__11T1__pt__2_cFv
9448 T1<char>::~T1(void)
9449
9450 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 9451
c906108c
SS
9452Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
9453
9454 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
9455 * gdb.trace/backtrace.exp: Likewise.
9456 * gdb.trace/circ.exp: Likewise.
9457 * gdb.trace/collection.exp: Likewise.
9458 * gdb.trace/deltrace.exp: Likewise.
9459 * gdb.trace/infotrace.exp: Likewise.
9460 * gdb.trace/limits.exp: Likewise.
9461 * gdb.trace/packetlen.exp: Likewise.
9462 * gdb.trace/passc-dyn.exp: Likewise.
9463 * gdb.trace/passcount.exp: Likewise.
9464 * gdb.trace/report.exp: Likewise.
9465 * gdb.trace/save-trace.exp: Likewise.
9466 * gdb.trace/tfind.exp: Likewise.
9467 * gdb.trace/tracecmd.exp: Likewise.
9468 * gdb.trace/while-dyn.exp: Likewise.
9469 * gdb.trace/while-stepping.exp: Likewise.
9470
94711998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
9472
9473 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
9474
9475Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
9476
9477 From Brendan Kehoe:
9478 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
9479 int return types.
9480
9481Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
9482
9483 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
9484 remote dos host testing right.
9485
9486Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
9487
9488 * gdb.base/corefile.exp: remove some xfails.
9489
9490Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
9491
9492 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
9493 have different timestamps.
9494
9495Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
9496
9497 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
9498 gdb.base/default.exp: Replace "exec" with "executable".
9499
9500Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
9501
9502 * gdb.base/default.exp: Change else if to elseif from previous
9503 delta.
9504
9505Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
9506
9507 * gdb.base/default.exp: Add brace missing from previous delta.
9508
9509Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
9510
9511 * gdb.base/default.exp: Support test for info float for all
9512 varieties of arm toolchain.
9513
dc96c6c7 9514Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9515
9516 * gdb.trace/*.exp: remove "remote_download" command.
9517
dc96c6c7 9518Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9519
9520 * gdb.trace/*.exp: remove -gdwarf from compile.
9521
9522Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
9523
9524 * gdb.trace/configure.in(AC_INIT): typo
9525 * gdb.trace/configure: regenerated
9526
dc96c6c7 9527Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9528
9529 * config/m68k-emc.exp: New file.
9530 * lib/<emc-support.exp trace-support.exp}: New files.
9531 * configure.in: add new test directory gdb.trace.
9532 * gdb.trace/{configure configure.in Makefile.in}: New files.
9533 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
9534 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
9535 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
9536 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
9537 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
9538 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
9539 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 9540
dc96c6c7 9541Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9542
9543 * gdb.c++/classes.exp: Change all regular expressions to match
9544 arbitrary combinations of newline/carriage-return, so that they
9545 will work equally well on Unix and Windows.
9546 * gdb.c++/inherit.exp: ditto.
9547 * gdb.c++/virtfunc.exp: ditto.
9548
95491998-08-11 Dawn Perchik <dawn@cygnus.com>
9550
9551 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
9552
c2d11a7d
JM
9553Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
9554
9555 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
9556 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
9557 to use a0-a3/d0-d3 as needed.
9558
9559Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
9560
9561 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
9562 * gdb.disasm/am33.exp: Corresponding changes.
9563
c906108c
SS
95641998-07-11 Felix Lee <flee@cygnus.com>
9565
9566 * gdb.base/callfuncs.exp: add cmp10 test.
9567 * gdb.base/callfuncs.c (cmp10): new function.
9568
9569Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
9570
d63a86f8 9571 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
9572 into two parts to get around a synchronization problem in expect.
9573
3fc11d3e
JM
9574Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
9575
9576 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
9577
9578 * configure.in: Add options for gdbtk testsuite.
9579
9580 * configure: Regenerate.
9581
9582 * gdb.gdbtk: New directory to hold gdbtk tests.
9583
c906108c
SS
9584Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
9585
9586 * gdb.fortran/types.exp: Escape brackets in expect patterns
9587 for test_float_literal_types_accepted tests.
9588 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
9589 before run test.
9590
c2d11a7d
JM
9591Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
9592
9593 * am33.exp: Just compile, do not link the testcase.
9594 * am33.s: Add ".am33" pseudoop to force am33 mode.
9595
c906108c
SS
95961998-06-25 Felix Lee <flee@cygnus.com>
9597
9598 * gdb.base/setshow.exp: make sure $pc is sane.
9599
9600 * gdb.stabs/weird.exp: split expect patterns properly.
9601
c2d11a7d
JM
9602Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
9603
9604 * gdb.disasm/am33.s: New disassembler testfile for the am33.
9605 * gdb.disasm/am33.exp: Run it.
9606
dc96c6c7 9607Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9608
9609 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
9610 match processing (and eliminate spurious timeouts when running).
9611
dc96c6c7 9612Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9613
9614 * gdb.base/signals.exp (test_handle_all_print): put back Mach
9615 exception test, but conditionalize it on target [mach | gnu].
9616
dc96c6c7 9617Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9618
9619 * gdb.base/overlays.exp: fixup compile line for linker script.
9620
9621Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
9622
9623 * gdb.fortran/types.exp: don't guess at float size.
9624
9625Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
9626
9627 * gdb.base/exprs.exp: delete test that depends on int size.
9628
9629Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
9630
9631 * config/sim.exp: Removed checks for target triplets.
9632 (gdb_target_sim): Use gdb,target_sim_options.
9633
9634Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
9635
9636 * gdb.base/reread.exp: New file.
9637 * gdb.base/reread1.c: New file.
9638 * gdb.base/reread2.c: New file.
9639
9640Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
9641
9642 * config/sim.exp: Use 'target sim -sparclite' when running
9643 SPARClite programs.
9644
9645Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
9646
9647 * gdb.base/structs2.exp: New file.
9648 * gdb.base/structs2.c: New file.
9649
9650Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
9651
9652 * gdb.asm/common.inc: New file.
9653 * gdb.asm/d10v.inc: New file.
9654 * asm-source.exp: Pass -I's to gas to find .inc files.
9655 Update line numbers in expected output.
9656 * asmsrc1.s: Rewrite.
9657 * asmsrc2.s: Rewrite.
9658 * configure.in: Create arch.inc symlink.
9659 * configure: Regenerate.
9660 * Makefile.in (distclean): Delete arch.inc.
9661
9662Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
9663
9664 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
9665 (t_enum_value2): ditto
9666 (t_enum_value3): ditto
9667 (main): ditto
9668Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
9669
9670 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
9671 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
9672 change.
9673 Use gdb_test instead of send_gdb/gdb_expect sequences.
9674
9675Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
9676
9677 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
9678 not void.
9679
9680Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
9681
9682 * gdb.base/branches.c: Code with lots of loops and
9683 subroutines. Used to test gdbs ability to single step through PC
9684 changes, especially to test mips-tdep.c:mips_next_pc
9685
9686Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
9687
9688 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
9689 more rigorous EGCS C++ error checking.
9690
9691Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9692
9693 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 9694 tests.
c906108c 9695 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 9696 function when asleep.
c906108c 9697 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
9698 for i*86 Linux and SVR4 signal handling problems.
9699 Remove linux xfail for `next to handler in signals_tests_1', fixed
9700 by recent infrun.c change.
c906108c 9701 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 9702 stack backtraces.
c906108c
SS
9703 Adjust expect pattern in `handle all print' test to match Apr 28 1997
9704 target.[ch] change.
9705
9706Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
9707
9708 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
9709 for a newline from gdb before continuing.
9710 (default_gdb_exit): Just look for y or n.
9711 (gdb_test): Detect abnormal exit from GDB running on DOS; if
9712 it does, fail the rests of the tests in the file.
9713
9714Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
9715
9716 * config/cygmon.exp: New file.
9717
9718Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
9719
9720 * gdb.base/list.exp: Fix problem with "list default lines around
9721 main" test on remote targets.
9722
9723 * gdb.base/scope.exp: Fix problem with filelocal_bss before
9724 run test on remote targets.
9725
9726Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
9727
9728 * gdb.asm: New directory.
9729 * configure.in: Configure it.
9730 * configure: Regenerate.
9731 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
9732 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
9733
9734Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
9735
9736 * config/mn10300-eval.exp: New file to support MN10300 eval board.
9737
dc96c6c7 9738Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 9739
c906108c
SS
9740 * gdb.base/overlays (several files): Merge the two overlay
9741 managers into one. Change variables (foox, barx, bazx, grbxx)
9742 back into ints but force them to load in their proper sections.
9743
9744Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
9745
9746 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
9747 on-chip insn memory and IMAP1 to upper 128k.
9748 (D10VCopy): Handle memory regions crossing 16k boundaries.
9749 (D10VCopy): Transfer data in 32 bit chunks.
9750
9751Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
9752
9753 * gdb.base/overlays.c (main): Exit normally when result is
9754 correct.
9755
9756 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
9757 map. Include space for printf in .text segment.
9758
9759 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
9760 updated d10v memory VMA/LMA map.
9761 (D10VCopy): Call D10VTranslate.
d63a86f8 9762
c906108c
SS
9763Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
9764
9765 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
9766
9767 * gdb.base/bar.c (barx, bar): Change variable to small array so
9768 that it won't be put into the .sdata - small data -
9769 section. Update reference.
9770 * gdb.base/baz.c (bazx, baz): Ditto.
9771 * gdb.base/foo.c (foox, foo): Ditto.
9772 * gdb.base/grbx.c (grbxx, grbx): Ditto.
9773
9774 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
9775 to be arrays.
d63a86f8 9776
dc96c6c7 9777Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 9778
c906108c
SS
9779 * gdb.base/overlays.exp: fix up and get working again.
9780 Add tests for backtraces from an overlay function.
d63a86f8 9781
c906108c
SS
9782Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
9783
9784 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
9785 "calling function with watchpoint enabled".
9786
9787Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
9788
9789 * gdb.base/break.exp (test_next_with_recursion): Remove
9790 gdb_suppress_tests for d10v-*-*.
9791 * lib/gdb.exp (gdb_suppress_tests): Disable this function
9792 pending review of whether it is useful or not.
9793
9794Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
9795
9796 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
9797
9798Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
9799
9800 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
9801 * config/dve.exp: New file to support Densan boards.
9802
9803Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
9804
9805 * gdb.base/interrupt.exp: Document problem of simulators, signals,
9806 reads and BSD.
9807
9808Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
9809
9810 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
9811 response.
9812
9813 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
9814
9815Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
9816
9817 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
9818 test.
9819
9820 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
9821 target_sizeof_long and target_bigendian_p.
9822 (structs_by_value, structs_by_reference): Check values according
9823 to targets word size and endianess.
d63a86f8 9824
c906108c
SS
9825Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
9826
9827 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
9828 output.
9829
9830Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
9831
9832 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
9833 Update test of set args help to match source change.
9834
9835Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
9836
9837 * gdb.base/default.exp: Expect help system output to be in
9838 alphabetical order.
9839 * gdb.base/help.exp: Ditto.
9840
9841Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
9842
9843 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
9844 "i*86-pc-linux-gnu*".
9845 * gdb.base/interrupt.exp: Ditto.
9846 * gdb.base/corefile.exp: Ditto.
9847
9848 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
9849 define vxworks when building the testcase.
9850
9851 * gdb.base/ptype.exp: Fix testnames to be unique.
9852 * gdb.base/radix.exp: Ditto.
9853 * gdb.base/term.exp: Ditto.
9854 * gdb.base/whatis.exp: Ditto.
9855 * gdb.c++/classes.exp: Ditto.
9856
9857Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
9858
9859 * gdb.base/callfuncs.exp: Fix indentation.
9860
9861 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
9862 suppress_flag has been set.
9863 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
9864 target feature.
9865
9866Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
9867
9868 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
9869 the testcase.
9870
9871 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
9872 set_debug_traps() and breakpoint().
9873 * gdb.c++/misc.cc (main): Ditto.
9874 * gdb.c++/templates.cc (main): Ditto.
9875 * gdb.c++/virtfunc.cc (main): Ditto.
9876
9877Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
9878
9879 * lib/gdb.exp(gdb_step_for_stub): New function.
9880 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
9881 exists, reload the executable and do a "continue" instead of
9882 doing a jump.
9883 (runto_main): Use gdb_step_for_stub.
d63a86f8 9884
c906108c
SS
9885 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
9886 tests to have unique names.
9887 * gdb.base/callfuncs.exp: Ditto.
9888 * gdb.base/commands.exp: Ditto.
9889 * gdb.base/default.exp: Ditto.
9890 * gdb.base/help.exp: Ditto.
9891 * gdb.base/list.exp: Ditto.
9892 * gdb.base/opaque.exp: Ditto.
9893 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
9894 similar tests.
d63a86f8 9895
c906108c
SS
9896 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
9897 * gdb.c++/cplusfuncs.cc: Ditto.
9898 * gdb.c++/virtfunc.cc: Ditto.
9899
9900 * config/monitor.exp: Keep track of the last file we saw, rather
9901 than trying to get the info from gdb.
9902
9903 * gdb.fortran/types.exp: Move comment to previous line.
9904
9905Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
9906
9907 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
9908 target mode.
9909
9910Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
9911
9912 From Bob Manson:
9913 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
9914 string from GDB when it connects.
9915
9916 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
9917
9918Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
9919
9920 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
9921 if we can't get a debug format from GDB (we may be testing an
9922 older GDB). Use a 10 second timeout when checking for the format.
9923
9924 * gdb.stabs/weird.exp: Fix quoting.
9925
9926 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
9927
9928Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
9929
9930 * config/arm-ice.exp: New file.
9931
9932Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
9933
9934 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
9935 until it has been modified to work with the new testsuite.
9936
99707966 9937 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
9938 testcase won't compile, cause all of the testcases in the file to
9939 fail instead.
9940
9941 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
9942 (gdb_clear_suppressed): New procedure.
9943 (gdb_stop_suppressing_tests): Only clear suppress_flag if
9944 it contains a positive value.
9945
9946Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
9947
9948 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
9949
9950 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
9951
9952Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
9953
9954 * lib/gdb.exp (setup_xfail_format): New function.
9955 (get_debug_format): New function to get debug format.
9956 (debug_format): New global variable to hold last value set
9957 by get_debug_format.
9958 * gdb.base/list.exp: Call get_debug_format and expect some
9959 tests to fail for DWARF 1 and COFF formats.
9960 * gdb.c++/ptype.exp: Ditto.
9961 * gdb.c++/classes.exp: Ditto.
9962 * gdb.c++/cplusfuncs.exp: Ditto.
9963 * gdb.c++/inherit.exp: Ditto.
9964 * gdb.c++/templates.exp: Ditto.
9965 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 9966
c906108c
SS
9967Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
9968
9969 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
9970 host doesn't have a currently-open connection.
9971
9972 * config/sparclet.exp: Cleanups and fixes to make it generic for
9973 any gdb stub target. Handle cases where gdb doesn't respond when
9974 interrupted in a sane fashion.
9975
9976 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
9977 same thing in a totally different way.
9978
9979 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
9980 setting "timeout".
9981 (gdb_start): We set the global gdb_prompt variable in
9982 default_gdb_init now.
9983
9984Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
9985
9986 * gdb.base/printcmds.exp: Fix "check for floating addition"
9987 regexp to accept results within approx +/- .01 of exact value.
9988 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
9989
9990Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
9991
9992 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
9993 properly.
9994 (gdb_expect): Add optional timeout parameter, and add timeout
9995 value to various calls.
9996 (gdb_suppress_tests): Only give one warning message per group.
9997
9998Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
9999
10000 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
10001 global variables. Handle getting a value for $timeout more
10002 gracefully.
10003
10004Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
10005
10006 * lib/gdb.exp: Close connection to remote host if gdb doesn't
10007 initialize.
10008 (default_gdb_init): New procedure; allow gdb_init to be overridden
10009 by a target configuration file.
10010 (gdb_expect): Pass the timeout to remote_expect.
10011
10012 * config/monitor.exp(gdb_load): Fix typo in regexp.
10013
10014Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
10015
10016 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
10017
10018Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
10019
10020 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
10021 here. Call gdb_target_exec before rebooting the target, to make
10022 sure the connection to the target is closed.
10023 (gdb_load): Pass the name of the executable to gdb_target_monitor.
10024 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
10025 Also detect "Timeout reading from remote" error.
10026
10027 * config/gdbserver.exp: Pass the executable being loaded to
10028 gdb_target_monitor. Don't call gdb_file_cmd here; let
10029 gdb_target_monitor do it.
10030
10031 * gdb.disasm/hppa.exp: Don't use exec_output.
10032
10033Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
10034
10035 * gdb.base/list.exp: If we're debugging a non-native target,
10036 try to set the pc register to point to the start of the
10037 program before doing the first list command.
10038
10039 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
10040 test_calls after restarting.
10041
10042 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
10043 reloading.
10044
10045 * gdb.base/watchpoint.exp: Fix typo.
10046
10047 * gdb.base/setshow.exp: Check for use_gdb_stub.
10048
10049 * gdb.base/break.exp: Fix continue until exit test for the gdb
10050 stub case.
10051 * gdb.base/langs.exp: Ditto.
10052
10053 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
10054 gdb_load_offset. If we weren't given a file to load, figure out
10055 what the current file is and use it.
10056
10057 * config/i386-bozo.exp: New file.
10058
10059Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
10060
10061 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
10062 feature.
10063
10064 * config/proelf.exp: New entry.
10065
10066Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
10067
10068 * lib/gdb.exp: Remove spurious .* patterns at the beginning
10069 of regexps.
10070
10071 * gdb.base/watchpoint.exp: Don't run the test_stepping
10072 tests if gdb can't call functions on the target.
10073
10074 * gdb.base/setshow.exp: Don't run the set prompt tests if
10075 the board has gdb_prompt set.
10076
10077Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
10078
10079 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
10080 * gdb.base/commands.exp: Likewise.
10081 * gdb.base/setshow.exp: Likewise.
10082
10083Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
10084
10085 * config/monitor.exp(gdb_start): Look for gdb_prompt target
10086 feature.
10087
10088 * config/i960.exp: New file.
10089
10090Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
10091
10092 * gdb.base/funcargs.exp: Check for gdb,short_int target
10093 feature instead of looking for explicit target triplets.
10094
dc96c6c7 10095Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 10096
d63a86f8 10097 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
10098 "p 123DEADBEEF", to check parse_number.
10099 * top.c: change "to enable to enable" to "to enable" in a couple
10100 of help strings.
10101
10102Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
10103
10104 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
10105 on the mn10300.
d63a86f8 10106
c906108c
SS
10107Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
10108
10109 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
10110 where the test executable is run with explicit args.
10111 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
10112
10113Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
10114
10115 * gdb.base/run.c: Use FAKEARGV to build test executable that
10116 does not require a command line arg, since most simulators
10117 don't currently support passing such an arg into the simulated
10118 program.
10119 * gdb.base/commands.exp: Change tests to insert the proper
10120 value as the arg to the first recursive factorial call. Change
10121 compilation line to define FAKEARGV at compile time.
10122
10123Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
10124
10125 * gdb.base/recurse.exp: Enable these tests for the mn10300.
10126 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
10127 function with watchpoint enabled" test.
10128
10129Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
10130
10131 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
10132 Don't call gdb_test when the command doesn't return to a gdb prompt.
10133
10134 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
10135 "Tests restarted" messages.
10136
10137Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
10138
10139 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
10140
dc96c6c7 10141Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10142
10143 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
10144 for INFO SYMBOL; add help tests for OVERLAY commands.
10145 * gdb.base/default.exp: add tests for INFO SYMBOL command;
10146 add tests for OVERLAY commands
10147 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
10148 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
10149 * gdb.base/sigall.c: add usestubs code frag
10150 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 10151
c906108c
SS
10152Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
10153
10154 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
10155 failures.
10156 (gdb_stop_suppressing_tests): Note that tests have restarted.
10157
10158Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
10159
10160 * config/h8300.exp: New file.
10161
10162Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
10163
10164 * gdb.base/setshow.exp: Check for the existence of a
10165 feature, not its value.
10166
10167Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
10168
10169 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
10170
10171 * gdb.base/scope.exp: It's now init0(), not init().
10172
10173 * gdb.base/scope0.c: For now, change init() to be init0().
10174
10175 * config/monitor.exp: Use gdb_serial in preference to serial
10176 or netport.
10177
10178 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
10179 and it's not already set.
10180
10181Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
10182
10183 * gdb.base/setshow.exp: Only test the run command if the target
10184 isn't using a stub and if it supports argument passing.
10185
10186Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
10187
10188 * config/udi.exp(gdb_start): Make sure UDICONF is set
10189 properly before starting gdb.
10190
10191Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
10192
10193 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
10194 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
10195 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
10196
10197Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
10198
10199 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
10200 specialized code to reboot the board, use remote_reboot instead.
10201
10202 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
10203
10204 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
10205
10206 * config/monitor.exp: Make sure we disconnect from the target.
10207 Also, try a reboot/reload cycle instead of failing if the
10208 load fails.
10209
10210Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
10211
10212 * gdb.base/default.exp: Don't set match_max.
10213 * gdb.base/help.exp: Ditto.
10214 * gdb.base/list.exp: Ditto.
10215 * gdb.base/signals.exp: Ditto.
10216
10217 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
10218 set, use remote_ld to download the testcase instead of
10219 the GDB loader.
10220
10221Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
10222
10223 * config/vr5000.exp: New file.
10224
10225 * config/monitor.exp(gdb_target_monitor): Add pattern for
10226 "Ending remote" to detect errors in connecting.
10227
10228 * gdb.base/setshow.exp: Add .* within auto language test.
10229
10230 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
10231 target feature.
10232
10233 * config/monitor.exp(gdb_load): Check for a failure when loading,
10234 and reboot the board if necessary.
10235
10236 * gdb.base/setvar.exp(test_set): Handle multiple prints within
10237 a set of tests. Remove print.* from the patterns being checked.
10238
10239Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
10240
10241 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
10242 refer to gdb_spawn_id.
10243
10244 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
10245 longer used.
10246 * config/sparclet.exp: Ditto.
10247 * config/sparclet-old.exp: Ditto.
10248 * config/slite.exp: Ditto.
10249 * config/sim.exp: Ditto.
10250 * gdb.base/funcargs.exp: Ditto.
10251
10252 * lib/gdb.exp:Remove references to gdb_spawn_id.
10253 (gdb_expect): Move to remote.exp.
10254
10255Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
10256
10257 * config/monitor.exp: Detect the "Couldn't establish connection"
10258 message from GDB.
10259
10260Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
10261
10262 * gdb.base/bitfields.exp: Use runto instead of explicit
10263 gdb_run_cmd/gdb_expect sequences.
10264
10265 * gdb.base/break.exp(text_next_with_recursion): Add match for
10266 gdb_expect call.
10267
10268 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
10269 We also need to handle the "A program is being debugged already"
10270 prompt from gdb. Use gdb_test to set the baud rate.
10271
10272 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
10273 to 20000. Really. I mean it.
10274
10275Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
10276
10277 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
10278 fails. If suppress_flag is set, skip perror message about not
10279 being able to send to GDB.
10280 (send_gdb): If suppress_flag is set, don't try to send commands to
10281 GDB.
10282 (gdb_expect): If suppress_flag is set, always fail immediately.
10283 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
10284 (gdb_init): Call gdb_stop_suppressing_tests.
10285 (default_gdb_exit): Ditto.
10286 (default_gdb_start): Ditto.
10287
10288 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
10289 gdb_stop_suppressing_tests as appropriate.
10290 * gdb.base/break.exp: Ditto.
10291 * gdb.base/callfuncs.exp: Ditto.
10292 * gdb.base/commands.exp: Ditto.
10293 * gdb.base/exprs.exp: Ditto.
10294 * gdb.base/funcargs.exp: Ditto.
10295 * gdb.base/list.exp: Ditto.
10296 * gdb.base/recurse.exp: Ditto.
10297 * gdb.base/scope.exp: Ditto.
10298 * gdb.base/structs.exp: Ditto.
10299 * gdb.c++/inherit.exp: Ditto.
10300
10301Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
10302
10303 * config/vr4300.exp: New file.
10304
99707966 10305 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 10306
99707966 10307 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
10308
10309Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
10310
10311 * lib/gdb.exp(gdb_init): New function.
10312
10313 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
10314 for each individual variable set.
10315
10316 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
10317 name.
10318
10319 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
10320
10321 * gdb.base/scope.exp: Use gdb_test.
10322
10323 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
10324 aborting; the testsuite driver will do that for us (see
10325 gdb_finish). Also, use gdb_test in a few more places.
10326
10327Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
10328
10329 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
10330
10331Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
10332
10333 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
10334 and "add_tests" are not at the same address.
10335
10336Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
10337
10338 * gdb.base/ptype.exp: Use gdb_test.
10339
10340Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
10341
10342 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
10343 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
10344 left in. No longer expect them to fail.
10345
10346 * gdb.stabs/*.mt; Deleted, no longer used.
10347 * gdb.stabs/configure.in: Remove references to target makefile
10348 frags.
10349 * gdb.stabs/configure: Rebuilt.
10350
10351 * gdb.disasm/*.mt: Deleted, no longer used.
10352 * gdb.disasm/configure.in: Remove references to target makefile
10353 frags. Use "sh3.s" as the unique filename for this directory.
10354 * gdb.disasm/configure: Rebuilt.
10355
10356 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
10357 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
10358 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
10359
10360Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
10361
10362 * config/udi.exp: Use mondfe,name instead of remote_host.
10363
10364Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
10365
10366 * gdb.base/watchpoint.exp: Don't expect a failure when calling
10367 a function with a watchpoint enabled on the mn10200.
10368
10369 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
10370 before trying to create it!
10371
10372Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
10373
10374 * config/vx.exp: Use hostname instead of netport.
10375
10376 * config/vxworks.exp: New file.
10377
10378 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
10379
10380 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
10381 gdb before assuming everything worked. Send a ^C if a timeout
10382 occurs.
10383
10384 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
10385 $gdb_spawn_id directly.
10386 (gdb_run_cmd): Try _start as well as start. Use the target feature
10387 gdb,start_symbol as the symbol to start from when jumping.
10388
10389Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
10390
10391 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
10392 redundant) test.
10393
10394 * gdb.base/recurse.exp: Relax final value test for 'b' so that
10395 it doesn't lose for 16bit integer systems.
10396
10397Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
10398
10399 * gdb.fortran/types.exp: If the target doesn't support "double"
10400 data types, then expect "real" types to only be 4 bytes.
10401
10402 * gdb.c++/virtfunc.exp: Expect failure for virtual function
10403 call tests if the target doesn't support inferior function calls.
10404
10405 * gdb.base/printcmds.exp: Allow minor deviation in FP values
10406 in printf tests.
10407
10408Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
10409
10410 * gdb.base/help.exp: Disable "help set", "help show", and
10411 "help support". Simplify regexp for "help stack".
10412
10413 * gdb.base/default.exp: Set match_max to 5000 and the timeout
10414 to 60 seconds. Temporarily set match_max to 15000 around the
10415 "info copying" test.
10416
10417 * gdb.base/nodebug.exp: Don't try to do an inferior function
10418 call if the target doesn't support them.
10419 * gdb.base/printcmds.exp: Likewise.
10420 * gdb.base/setvar.exp: Likewise.
10421 * gdb.base/structs.exp: Likewise.
10422 * gdb.c++/templates.exp: Likewise.
10423 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
10424
10425 * gdb.base/recurse.exp: Enable for the mn10200.
10426
10427 * configure.in: Do configure gdb.stabs directory for *-*-elf
10428 targets.
10429 * configure: Rebuilt.
10430
10431 * gdb.base/break.exp: Check for gdb,noresults before testing
10432 exit status and/or results from the target.
10433 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
10434 * lib/gdb.exp: Remove old (now bogus) initialization of
10435 noinferior, noargs, noresults and nosignals.
10436
10437Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
10438
10439 * config/sh.exp: New file.
10440
10441 * config/slite.exp: Try to connect multiple times to the board
10442 before rebooting. Only send a "monitor run" if need_monitor_run
10443 is set.
10444
10445 * gdb.base/break.exp: Don't do the "stub continue" test if
10446 the target has gdb_stub set.
10447
10448 * gdb.base/callfuncs.exp: Increase the timeout.
10449
10450 * gdb.base/interrupt.exp: Don't even try to compile the testcase
10451 if the target has gdb,noinferiorio set.
10452
10453 * gdb.base/list.exp: Increase match_max to 10000 characters.
10454
10455 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
10456
10457 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
10458 target.
10459
10460 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
10461
10462Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
10463
10464 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
10465 trying to delete the copy of gdb. Catch the file delete so we
10466 don't die if the delete fails; also, the file should be copied to
10467 the host, not to the build.
10468
10469Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
10470
10471 * lib/gdb.exp(gdb_test): Surround the result pattern with
10472 parenthesis in case it contains multiple regexps separated
10473 with |.
10474
10475 * gdb.base/watchpoint.exp: Use gdb_test.
10476 * gdb.base/default.exp: Ditto.
10477
10478Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
10479
99707966 10480 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 10481
c906108c
SS
10482 * gdb.base/scope.exp: Use gdb_test.
10483 * gdb.c++/classes.exp: Ditto.
10484 * gdb.c++/inherit.exp: Ditto.
10485
10486Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
10487
10488 * gdb.base/crossload.exp: Don't use execute_anywhere, use
10489 remote_exec instead.
10490 * gdb.base/corefile.exp: Don't be ridiculous.
10491 * gdb.base/*.c: Add missing stub invocations.
10492
10493Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
10494
10495 * config/slite.exp: Miscellaneous fixes.
10496
10497 * lib/gdb.exp: Fix runto.
10498
10499 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
10500 the target.
10501
10502 * gdb.base/watchpoint.exp: Fix regexp.
10503
10504 * lib/gdb.exp(default_gdb_exit): Add a catch to the
10505 close and wait commands, as the descriptor may now be
10506 invalid. Always call "remote_close host".
10507
10508Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
10509
10510 Major rewrite for testsuite revision.
d63a86f8 10511
c906108c
SS
10512 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
10513 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
10514 instead of relying on spawn_id to always contain a valid
10515 spawn id.
10516 (get_compiler_info): New procedure to build the ${binfile}.ci
10517 file, instead of replicating this in N different places.
10518 (gdb_compile): New procedure.
d63a86f8 10519
c906108c
SS
10520 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
10521 appropriate arguments) instead of compile. Use gdb_test in a lot
10522 more places. Use send_gdb instead of send. Always run gdb_start
10523 at the start of a testcase, as this is no longer done magically.
10524
10525 config/*-gdb.exp: Rename without the -gdb suffix.
10526
10527 config/mips.exp: Use remote_close instead of exit_remote_shell.
10528 config/monitor.exp: Use target_info instead of looking at
10529 baud, timeout, etc.
10530 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
10531
10532Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10533
10534 * gdb.c++/templates.exp (test_ptype_of_templates),
10535 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
10536 Update expect patterns for destructors and assignment operators
10537 to match corresponding c-typeprint.c changes.
10538 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
10539 to destructor breakpoint test, GDB should be able to set the
10540 destructor breakpoint without specifying arguments.
10541
10542Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
10543
10544 * gdb.threads/pthreads.exp: Change result for failure to compile due
10545 to lack of pthreads runtime support from an error to simply an
10546 unsupported test, per dejagnu standards.
10547
10548Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10549
10550 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
10551 where GDB exits to reduce pattern match time.
10552 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
10553
10554 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
10555
dc96c6c7 10556Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10557
10558 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
10559 * gdb.base/default.exp: ditto.
10560 * gdb.base/nodebug.exp: ditto.
10561 * gdb.base/printcmds.exp: ditto.
10562 * gdb.base/ptype.exp: ditto.
10563 * gdb.base/setvar.exp: ditto.
10564 * gdb.base/structs.exp: ditto.
10565 * gdb.base/setshow.c: Guard against uninitialized values of argc.
10566
10567Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
10568
10569 * configure, */configure: Rebuild with autoconf 2.12.
10570
10571Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
10572
10573 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
10574 use new i*86-pc-linux*-gnu quads.
10575 * gdb.base/corefile.exp: Ditto.
10576 * gdb.base/signals.exp: Ditto.
10577 * gdb.base/sigall.exp: Ditto.
10578 * gdb.base/interrupt.exp: Ditto.
10579
10580 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
10581 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
10582 RedHat 4.0.
d63a86f8 10583
c906108c
SS
10584 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
10585 linux. This allows the test case to at least compile on latest
10586 linux, but still not run due to missing the threads runtime library.
10587
10588Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10589
10590 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
10591 directory to search gdb directory. Accept and step over conditional
10592 stack alignment code. Consume $prompt in failure cases.
10593 Reset timeout to $oldtimeout instead of some arbitrary value.
10594 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
10595 timeout problems with infinite stack backtraces.
10596 * gdb.base/ptype.exp (ptype struct link, union tu_link):
10597 Accept function parameters for linkfunc member.
10598
10599Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
10600
10601 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
10602 (CXXFLAGS): Remove, unreferenced.
10603 (B_OPTIONS): Add for -B options and add code to initialize with
10604 previous -B options and also add -B option to pick up cross compiled
10605 runtime.
10606 (TARGET_INCLUDES): Add for -I options and add code to initialize when
10607 doing cross compiles.
10608 (target_alias): Declare global.
10609 (xgcc): Set variable to full path of gcc in build tree. Use findfile
10610 to verify that gcc exists in build tree, and if so set CC to that
10611 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 10612
c906108c
SS
10613Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
10614
10615 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
10616 ptype test for anonymous union. Fixup testcase to match
10617 current gcc debug output.
10618
10619Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
10620
10621 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
10622 force argument to an unsigned long type.
10623
10624Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
10625
10626 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
10627 tests and anonymous union print/ptype tests.
10628 * gdb.base/list.exp (test_forward-search): Increase timeout by
10629 5 minutes for the "search extremely long line" case.
10630 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
10631 completely optional and that the pass/fail messages use the command as
10632 the message if that third arg is a null string.
10633 (gdb_test_exact): Arrange that a null string pattern means match a
10634 null string output rather than any output, which might include random
10635 errors.
10636 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
10637 backtrace test.
10638 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
10639 always failing and failure is now exposed by gdb.exp changes.
10640
10641Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
10642
10643 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
10644 weren't being noted.
10645
10646Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10647
10648 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
10649 * gdb.stabs/weird.exp: Remove v_comb xfails.
10650
dc96c6c7 10651Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10652
10653 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
10654 list.exp scope.exp watchpoint.exp]
10655 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 10656
dc96c6c7 10657Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10658
10659 * config/monitor.exp: Increase download timeout to 1000 seconds.
10660
dc96c6c7 10661Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10662
10663 * config/m32r.exp: Increase timeout to 120 seconds.
10664
10665Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
10666
10667 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
10668 and accept older ordering as obsolescent gcc or gdb.
10669 * gdb.c++/templates.exp: Ditto.
10670 * gdb.c++/virtfunc.exp: Ditto.
10671
10672Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
10673
10674 * gdb.base/coremaker.c: Add code to mmap some data so we
10675 can check that it ends up in the core file.
10676 * gdb.base/corefile.exp: Add test to read mmapped data
10677 from core file.
10678
dc96c6c7 10679Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10680
10681 * config/m32r.exp: New file.
10682
10683Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
10684
10685 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
10686 that cflags can contains -gstabs, and work correctly for other tests.
10687
dc96c6c7 10688Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10689
10690 * gdb.base/setshow.exp: New file, tests show and set.
10691 * gdb.base/setshow.c: New file, tests show and set.
10692 * gdb.base/help.exp: Add test for help set|show annotate.
10693 * gdb.base/default.exp: Add test for set|show annotate.
10694
10695Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
10696
10697 * testsuite/gdb.base/break.exp: Make backtrace from factorial
10698 errors unique.
10699 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
10700 explicitly.
10701
10702Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
10703
10704 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
10705 and width commands. This is done elsewhere.
10706 * (gdb_start): Don't call gdb_start_sim here. That's already
10707 done in gdb_load. This fixes lots of failures in default.exp.
10708
10709Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
10710
10711 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
10712 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
10713 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
10714 in the same we we treat other failures (since it may be an expected
10715 condition), rather than as an error.
10716 * gdb.base/signals.exp (test_handle_all_print): Revert back to
10717 old test format.
10718
10719Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
10720
10721 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
10722 (distclean maintainer-clean realclean): No need to remove files
10723 twice. Nuke the duplicates.
10724 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 10725 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
10726 Remove config.h along with other config files.
10727
10728Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
10729
10730 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
10731 "p func1 ()" and note that rests of tests are skipped.
10732 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
10733 setup_xfails for "print func2::coremaker_local".
10734 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
10735 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
10736 affected by the previous run test.
10737 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
10738 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
10739 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
10740 "pass int powerset tuple" and "pass modeless int powerset tuple".
10741 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
10742 "real write 4" and "real write 8".
10743 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
10744 setup_xfails for "print vs1 after tuple assign 2",
10745 "print \$i after tuple assign 2", and
10746 "print vs2 after tuple assign 2".
10747 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
10748 meaningful error message and return -1 so the caller can
10749 suppress further tests and avoid a cascade of errors.
d63a86f8 10750
c906108c
SS
10751Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
10752
10753 * gdb.base/a1-selftest.exp: Tweak tests to account for new
10754 format for printing version.
10755 * gdb.base/default.exp: Ditto.
10756 * gdb.base/interrupt.exp: Fix problem with cascade of
10757 errors if child process dies while calling a function.
d63a86f8 10758
c906108c
SS
10759Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
10760
10761 * Makefile.in (VPATH): Add
10762 * Makefile.in (Makefile, config.status): Fix rules so things get
10763 remade when necessary.
10764
10765Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
10766
10767 * Makefile.in (just-check): Add path to sibling expect dir
10768 to environment variable specified by RPATH_ENVVAR.
10769
10770Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
10771
10772 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
10773 (just-check): Add shared library paths for libstdc++, tk,
10774 tcl, bfd, and opcodes to the environment variable specified
10775 in RPATH_ENVVAR.
10776 * configure.in: Add support to recognize --enable-shared flag
10777 and generate correct value for RPATH_ENVVAR.
10778 * configure: Regenerated with autoconf.
10779
10780Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
10781
10782 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
10783 include all osf versions.
10784 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
10785 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
10786 when target is linux. When failing to build pthreads test
10787 executable, give more meaningful message.
10788 * gdb.threads/pthreads.c: Hpux also uses old definition of second
10789 arg for pthread_create.
d63a86f8 10790
c906108c
SS
10791Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
10792
10793 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
10794 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
10795 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
10796 and -lpthreads (everybody else).
10797 (test_startup): Fail gracefully if threads are not supported.
10798 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
10799 "p/c array_index("abcdef",2)" when not gcc compiled.
10800 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
10801 "print func2::coremaker_local" when not gcc compiled.
10802 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
10803 "ptype on opaque struct tagname (statically)",
10804 "ptype on opaque struct tagname (dynamically) 1", and
10805 "ptype on opaque struct tagname (dynamically) 2"
10806 for not compiled with gcc.
10807 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
10808 backtrace when compiled with gcc.
d63a86f8 10809 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
10810 than always return success.
10811
10812Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
10813
10814 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
10815
10816Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
10817
10818 * gdb.base/structs.exp: Undo last change.
10819
10820Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
10821
10822 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
10823 encapsulate all the steps/nexts done during self test, starting
10824 at main, and makes them less sensitive to optimization issues.
10825 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
10826 signal handler" test.
10827 * gdb.threads/pthreads.exp: Only run this for native configs.
10828 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
10829 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
10830 tests.
10831 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
10832 for "runto test_calls(void)" test.
d63a86f8 10833
c906108c
SS
10834Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
10835
10836 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
10837 and don't expect address info in breakpoint confirmations.
10838
10839Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
10840
10841 * gdb.base/list.exp (test_forward_search): Increase timeout
10842 temporarily by 60 seconds for searching extremely long line,
10843 and then reset to old value when done. Increase expect input
10844 buffer to 10000.
10845
10846Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
10847
10848 * gdb.base/list.exp (test_forward_search): Fix to handle very
10849 long source line without overflowing expect's input buffer.
10850
10851Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
10852
10853 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
10854 "buffer_full".
10855
10856 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
10857 "buffer_full".
10858
10859 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
10860 "buffer_full".
10861
10862 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
10863 "buffer_full".
10864
10865Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
10866
10867 * configure.in (configdirs): Add gdb.threads.
10868 * configure: Regenerated with autoconf.
10869 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
10870 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
10871 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 10872
c906108c
SS
10873Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
10874
10875 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
10876
10877Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
10878
10879 * gdb.base/signals.exp (test_handle_all_print): Test separately for
10880 each signal's status in the output of "handle all print".
10881 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
10882 the \r\n sequence that immediately precedes the gdb prompt.
10883 * gdb.base/a1-selftest.exp: Save original timeout and restore
10884 after test.
10885
10886Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
10887
10888 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
10889 symbol.
10890
10891Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
10892
10893 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
10894
10895Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
10896
10897 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
10898 timeout by 60 seconds.
10899
10900Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
10901
10902 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
10903 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
10904 error return.
10905
10906Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
10907
10908 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
10909 gdb initialization, also report how long dejagnu waited. Restore
10910 old timeout before doing error return. Temporarily increase timeout
10911 by 3 minutes to allow for slow startups over heavy NFS use.
10912
10913Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
10914
10915 * lib/gdb.exp: Report timeout value for verbosity level 2.
10916 * config/gdbserver.exp: Ditto.
10917 * config/hppro.exp: Ditto.
10918 * config/mips-gdb.exp: Ditto.
10919 * config/monitor.exp: Ditto.
10920 * config/netware.exp: Ditto.
10921 * config/sim-gdb.exp: Ditto.
10922 * config/slite-gdb.exp: Ditto.
10923 * config/udi-gdb.exp: Ditto.
10924 * config/unix-gdb.exp: Ditto.
10925 * config/vx-gdb.exp: Ditto.
10926 * gdb.base/a1-selftest.exp: Ditto.
10927 * gdb.base/a2-run.exp: Ditto.
10928 * gdb.base/break.exp: Ditto.
10929 * gdb.base/corefile.exp: Ditto.
10930 * gdb.base/list.exp: Ditto.
10931 * gdb.base/recurse.exp: Ditto.
10932 * gdb.base/scope.exp: Ditto.
10933 * gdb.base/signals.exp: Ditto.
10934
10935Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
10936
10937 * gdb.threads/Makefile.in (docdir): Removed.
10938
10939Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
10940
10941 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 10942 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 10943 @srcdir@.
d63a86f8 10944 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
10945 autoconf 2.5 or higher.
10946 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
10947
10948Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
10949
10950 * configure: Regenerated.
10951 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
10952 avoid name clashes with SunOS headers.
10953
10954Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
10955
10956 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
10957
10958Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
10959
10960 * gdb.base/callfuncs.exp: Finish last change -- make sure the
10961 prototype information ends up in the compiler info file.
10962
10963Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
10964
10965 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
10966 attempting to regenerate it. Eliminate use of a temporary file
10967 and just generate the info file directly. Source it immediately,
10968 for consistency of use.
10969 * gdb.base/corefile.exp: Ditto
10970 * gdb.base/exprs.exp: Ditto.
10971 * gdb.base/funcargs.exp: Ditto.
10972 * gdb.base/langs.exp: Ditto.
10973 * gdb.base/list.exp: Ditto.
10974 * gdb.base/mips_pro.exp: Ditto.
10975 * gdb.base/nodebug.exp: Ditto.
10976 * gdb.base/opaque.exp: Ditto.
10977 * gdb.base/ptype.exp: Ditto.
10978 * gdb.base/scope.exp: Ditto.
10979 * gdb.base/setvar.exp: Ditto.
10980 * gdb.base/signals.exp: Ditto.
10981 * gdb.base/whatis.exp: Ditto.
10982 * gdb.c++/templates.exp: Ditto.
10983 * gdb.c++/virtfunc.exp: Ditto.
10984 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
10985 whether or not to add -lstdc++ to the compile command line args.
10986
10987Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10988
10989 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
10990 it got fixed by the recent lookup_minimal_symbol_by_pc change.
10991 Increase timeout, a lot of single stepping might be needed if the
10992 target has no hardware watchpoints.
10993
10994Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
10995
10996 * gdb.base/break.exp: Ignore compiler warnings when compiling
10997 break.c.
10998 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
10999 * gdb.base/default.exp: Add h8300 xfails. Handle messages
11000 from remote-sim.
11001 * gdb.base/exprs.exp: Add h8300 xfails.
11002 * gdb.base/funcargs.exp: Likewise.
11003 * gdb.base/nodebug.exp: Likewise.
11004 * gdb.base/printcmds.exp: Likewise.
11005 * gdb.base/ptype.exp: Likewise.
11006 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
11007 h8300 xfails.
d63a86f8 11008 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
11009 on the h8300.
11010 * gdb.base/funcargs.c: Explicitly make last constant argument to
11011 call_after_alloca_subr an unsigned long type.
11012 * gdb.base/return.c: Include stdio.h.
11013
11014Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
11015
11016 * config/abug.exp: New file for the older Motorola Bug monitor
11017 that runs on the mvme13x series VME boards.
11018 * config/monitor.exp: Use the new config array for target settings
11019 if they exist.
11020
11021Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
11022
11023 * sim-gdb.exp: Make the SH simulator allocate less space when
11024 it is targeted.
11025
11026Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
11027
11028 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
11029 test.
11030
11031Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
11032
11033 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
11034 "rs6000-*-*" for "list function in include file" when gcc compiled.
11035 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
11036 for "p ctable1[120]".
11037 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
11038 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
11039 Remove setup_xfail for "rs6000-*-*" for
11040 "print 'scope0.c'::filelocal before run".
11041 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
11042 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
11043 since some compilers don't allow both options to be given
11044 on the same command line. Create object file and move it.
d63a86f8 11045
c906108c
SS
11046Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
11047
11048 * gdb.base/corefile.exp: Always regenerate the core file, since
11049 we always regenerate the coremaker program. Detect special case
11050 where registers cannot be read from core file.
d63a86f8 11051
c906108c
SS
11052Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
11053
11054 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
11055 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
11056 * gdb.c++/templates.exp: Only match on basename of file since
11057 some formats like xcoff don't encode directory information.
11058 * gdb.stabs/weird.exp: Use the right sed script for powerpc
11059 and rs6000 AIX xcoff targets.
11060 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
11061 * configure: Regenerate.
11062 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
11063 here, rather than in distclean.
d63a86f8 11064
c906108c
SS
11065Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
11066
11067 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
11068 defined, and use it to compile the test case with -O2. The
11069 native compilation still uses no optimization.
11070 * gdb.base/mips_pro.c: Remove inline assembly code since
11071 it is compiled PIC by default, which results in assembler
11072 warnings that make the testsuite think the compilation
11073 was unsuccessful.
11074
11075Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
11076
11077 * gdb.c++/misc.exp: Add note to message for
11078 "print s.a for foo struct" that this is a known gcc 2.7.2
11079 and earlier bug.
11080
11081Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
11082
11083 * gdb.base/break.exp: Fix pattern for matching "Delete all
11084 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
11085 setup_xfail for deleting all breakpoints test. Fix various
11086 timeout messages to include "(timeout)".
11087 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
11088 for "p t_float_values2(3.14159,float_val2)".
11089 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
11090 for "continue to call2g" when gcc compiled.
11091 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
11092 "up to foo in langs.exp", "show language at foo in langs.exp",
11093 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
11094 and "show language at fsub in langs.exp".
11095 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
11096 "list line 1 in include file", "list message for lines past EOF",
11097 "list function in include file", "list list0.h:foo", and
11098 "list filename:function; nonexistant function".
11099 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
11100 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
11101 and "ptype t_char_array" to be for native cc only.
d63a86f8 11102
c906108c
SS
11103Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
11104
d63a86f8 11105 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
11106 setup_xfail for "print coremaker_bss", "print coremaker_ro",
11107 "print func2::coremaker_local", and "backtrace in corefile.exp".
11108
11109Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
11110
11111 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
11112 "bt in signals.exp". This problem only appears when running
11113 the testsuite, and then only intermittently.
11114
11115Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
11116
11117 * gdb.base/return.exp (return_tests): Differentiate between
11118 two tests of continuing.
11119
11120Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
11121
11122 * */Makefile.in (maintainer-clean): Remove config.log.
11123 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
11124 * gdb.c++/Makefile.in (PROGS): Add inherit.
11125 (clean): Remove *.ci.
11126
11127Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
11128
11129 * gdb.c++/misc.cc: Add test code from Mike Stump.
11130 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
11131
11132Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
11133
11134 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
11135 to "alpha-*-osf2*" and add comment.
11136 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
11137 setup_xfail for "step over execarg initialization" and
11138 "step over corearg initialization".
11139 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
11140 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
11141 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
11142 gcc compiled for "print coremaker_bss", "print coremaker_ro",
11143 "print func2::coremaker_local", and "backtrace in corefile.exp".
11144 * gdb.base/signals.exp: Build and source signals.ci.
11145 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
11146 to be for gcc only.
11147 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 11148
c906108c
SS
11149Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11150
11151 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
11152 Feb 3 procfs.c change.
11153
11154Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
11155
11156 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
11157
11158Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
11159
11160 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
11161 from dejagnu's apparent default of 10 seconds, which gives random
11162 results when running the tests over NFS on moderately loaded systems.
11163 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
11164
11165Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
11166
11167 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
11168 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
11169 result reports.
11170
11171Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
11172
11173 * configure.in (CY_AC_PATH_TCLH): Remove.
11174 * configure: Regenerate.
11175
11176Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
11177
11178 * gdb.c++/Makefile.in (clean): Add missing '{'.
11179
11180Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
11181
11182 * lib/gdb.exp: Provide a default value for noinferior.
11183
11184 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
11185 Load libgloss.exp.
11186
11187Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
11188
11189 * gdb.disasm/hppa.exp: Compile directly into an executable, use
11190 the executable, not the .o to run the tests from.
11191
11192Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
11193
11194 * gdb.base/break.exp: Don't test for program exit or exit status
11195 if $noresults if nonzero.
11196 * gdb.base/langs.exp: Likewise.
11197 * gdb.base/watchpoint.exp: Likewise.
11198
11199 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
11200 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
11201 trying to compile the testcase.
11202
11203Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
11204
11205 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
11206 * gdb.base/signals.exp (continue to handler): Likewise.
11207
11208Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
11209
11210 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
11211
11212 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
11213
11214Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
11215
11216 * gdb.base/corefile.exp: Recognize "not found" as failure
11217 when trying to determine if a core file was generated.
11218 If no core file was generate the first time, try again without
11219 the ulimit -c to work around braindamaged shells.
11220
11221Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
11222
11223 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
11224 [] tests with "test" and enclose string in quotes.
11225 * gdb.stabs/configure: Rebuild
d63a86f8 11226
c906108c
SS
11227Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
11228
11229 Changes in sync with expect:
11230 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
11231 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
11232 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
11233 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
11234 argument to AC_REQUIRE.
11235 * configure: Regenerated.
11236
11237Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
11238
11239 * gdb.base/corefile.exp: When generating a core, discard any
11240 error messages about ulimit not found and the "core dumped"
11241 message from the shell that runs the coredumper.
11242
11243Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
11244
11245 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
11246
11247 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
11248 which sed script to run. Expect failure for v_comb test
11249 on PA targets too.
d63a86f8 11250
c906108c
SS
11251Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
11252
11253 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
11254 "print func2::coremaker_local" and for "backtrace in corefile.exp"
11255
11256Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
11257
11258 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
11259 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
11260 "sparc-sun-solaris*" xfails for "p v_comb".
11261 * lib/gdb.exp (default_gdb_start): Fix typo.
11262 * gdb.base/corefile.exp: Allow "Core was generated by ..."
11263 messages to not include the full program name that caused
11264 the core dump since some systems (such as solaris) apparently
11265 truncate this path to about 80 characters.
11266 When generating a core file first try increasing the core file
11267 size limit to unlimited since some systems may default it to
11268 zero, and it is harmless to try it. Move the test for failing
11269 to generate a core file to where it will actually get executed.
11270 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
11271 new gdb result from g++ debug info improvements and make old
11272 pattern obsolescent. Also account for size_t differences
11273 (may be int or long).
11274 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
11275 initialization before function call is placed in the delay slot
11276 and thus appears to be skipped over by commands such as "next".
11277
11278Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
11279
11280 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
11281
11282Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
11283
11284 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
11285 input source file; fix code to compile test to deal with this
11286 convention.
11287 * gdb.c++/*.exp: Likewise.
11288
11289Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
11290
11291 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
11292 "bt in signals.exp".
11293
11294Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
11295
11296 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
11297 "step over execarg initialization" and
11298 "step over corearg initialization".
11299
11300Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
11301
11302 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
11303 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
11304
11305Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
11306
11307 From Rob Savoye (rob@poseidon.cygnus.com)
11308 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
11309 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
11310 configure.in}, gdb.disasm/{Makefile.in, configure.in},
11311 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
11312 configure.in}: Major reworking for autoconfig.
11313 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
11314 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
11315 New files.
11316 * config/unix-gdb.exp: Make GDB global.
11317 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
11318 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
11319 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
11320 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
11321 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
11322 term.exp, twice.exp, watchpoint.exp, whatis.exp},
11323 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
11324 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
11325 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
11326 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
11327 pr-8136.exp, result.exp, string.exp, tuples.exp},
11328 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
11329 to returns as necessary, arrange for test to compile own testcase
11330 executable.
11331 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 11332
c906108c
SS
11333Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
11334
11335 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
11336 clear_xfail at end of test which might not call either pass or fail.
11337 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
11338 "backtrace through signal handler".
11339
11340Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11341
11342 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
11343 continuing from a job control stop signal.
11344 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
11345
11346Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
11347
11348 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
11349 * gdb.base/corefile.exp: Likewise.
11350 * gdb.base/funcargs.exp: Likewise.
11351
11352Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
11353
11354 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
11355 * config/monitor.exp: Add support for setting baud rate.
11356
11357Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
11358
11359 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
11360 i*86-*-linux* xfails for "backtrace through signal handler".
11361 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
11362 "print func2::coremaker_local".
11363 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
11364 alpha-dec-osf2* xfail for
11365 "delete all breakpoints when none".
11366
11367Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
11368
11369 * gdb.base/break.exp: Change test that deletes all breakpoints
11370 when no user breakpoints are installed. A post 4.15 change
11371 causes gdb to no longer prompt in this case.
11372
11373Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
11374
11375 * gdb.base/return.exp (return_tests): Change xfail for test
11376 "correct value returned double test" to stop xfailing at
11377 Solaris 2.5. Apparently the bug has been fixed.
11378
11379Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
11380
11381 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
11382 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
11383
11384Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
11385
11386 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
11387 * gdb.disasm/hppa.s: Corresponding changes.
11388
11389Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
11390
11391 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
11392 makefile fragment.
11393 * config/mt-hpux: Deleted.
11394
11395Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
11396
d63a86f8 11397 * Many files: When warning about suppressed tests due to a
c906108c
SS
11398 nonexistant test binary, avoid incrementing the warning count.
11399
11400Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
11401
11402 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 11403
c906108c
SS
11404Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11405
11406 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
11407 "sparc-*-solaris2*".
11408
11409Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11410
11411 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
11412 Add global and local variables and initialize them.
11413 * gdb.base/corefile.exp: Test correct mapping of corefile sections
11414 by printing variables. Remove rs6000 and powerpc xfails, BFD now
11415 extracts the file name and terminating signal from the core file.
11416 * TODO: Remove note about tests for correct mapping of corefile.
11417 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
11418 from optimizing it away.
11419 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
11420 handles common blocks.
11421
11422Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
11423
11424 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
11425 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
11426
11427Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
11428
11429 * Makefile.in (maintainer-clean): New target, synonym for
11430 realclean.
11431 * gdb.base/Makefile.in (maintainer-clean): Likewise.
11432 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
11433 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
11434 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
11435 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
11436 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
11437
11438Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
11439
11440 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
11441 xfails when not gcc compiled for "print foo::funclocal".
11442 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
11443 "print foo::funclocal at foo",
11444 "print 'scope1.c'::foo::funclocal at foo",
11445 "print foo::funclocal_bss at foo",
11446 "print 'scope1.c'::foo::funclocal_bss at foo",
11447 "print foo::funclocal_ro at foo",
11448 "print 'scope1.c'::foo::funclocal_ro at foo",
11449 "print bar::funclocal at foo" and
11450 "print 'scope1.c'::bar::funclocal at foo".
11451 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
11452 gcc compiled for "print foo::funclocal at bar".
11453 Expand all messages to ensure that they identify that
11454 the test is at bar().
11455 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
11456 gcc compiled for:
11457 "ptype on opaque struct pointer (statically)",
11458 "ptype on opaque struct tagname (statically)",
11459 "ptype on opaque struct pointer (dynamically) 1",
11460 "ptype on opaque struct tagname (dynamically) 1",
11461 "ptype on opaque struct pointer (dynamically) 2" and
11462 "ptype on opaque struct tagname (dynamically) 2
11463 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
11464 gcc compiled for:
11465 "p datalocal"
11466 "whatis datalocal",
11467 "ptype datalocal",
11468 "p bsslocal",
11469 "whatis bsslocal", and
11470 "ptype bsslocal".
11471 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
11472 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
11473 when not gcc compiled.
11474 * gdb.base/funcargs.exp (float_and_integral_args): Add
11475 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
11476 compiled.
11477 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
11478 "backtrace from call6a" when not gcc compiled.
11479 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
11480 "backtrace from call7a" when not gcc compiled.
11481 * gdb.base/callfuncs.exp (do_function_calls):
11482 Add "hppa*-*-hpux*" xfail when not gcc compiled for
11483 "p t_char_array_values(char_array_val2,char_array_val1)",
11484 "p t_char_array_values(char_array_val1,char_array_val2)",
11485 "p t_char_array_values("carray 1","carray 2")",
11486 "p t_char_array_values("carray 1",char_array_val2)",
11487 "p t_char_array_values(char_array_val1,"carray 2")",
11488 "p sum_args(1,{2})",
11489 "p sum_args(2,{2,3})",
11490 "p sum_args(3,{2,3,4})",
11491 "p sum_args(4,{2,3,4,5})"
11492 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
11493 "backtrace in corefile.exp" when not gcc compiled.
11494
11495Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11496
11497 * gdb.base/signals.exp: Rewrite `handle all print' test as
11498 a procedure. Accept blanks or TABs as whitespace, increase
11499 timeout and expect input buffer size for the large output
11500 from the command. Remove "i*86-*-bsdi2.0" xfail.
11501
11502Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11503
11504 * gdb.base/setvar.exp: Add new testcases for truncation when
11505 assigning invalid values to bitfields.
11506
11507Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
11508
d63a86f8 11509 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
11510 mips-sgi-irix* xfail for
11511 "call inferior func with struct - returns char *"
11512 and fix test so that an optional (unsigned char *) cast is
11513 accepted in the result.
11514
11515Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
11516
11517 * gdb.base/funcargs.exp (float_and_integral_args): Remove
11518 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
11519 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
11520 * gdb.base/signals.exp: Remove duplicate "handle all print" test
11521 that accidentally got checked in.
11522
11523Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
11524
d63a86f8 11525 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
11526 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
11527 compiled test.
11528 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
11529 Add mips-sgi-irix5* xfail for not gcc compiled.
11530 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
11531 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
11532 "p top", "whatis top", "p middle", and "whatis middle".
11533 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
11534 "whatis signed char" for not gcc compiled.
11535 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
11536 "set variable signed char=-1 (-1)" and
11537 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
11538 * gdb.base/funcargs.exp (float_and_integral_args):
11539 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
11540 Add mips-sgi-irix* xfail when not gcc compiled for
11541 "continue to call2b".
11542 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
11543 "continue to call2g".
11544 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
11545 "backtrace from call6a"
11546 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
11547 "backtrace from call7k".
11548 Add mips-sgi-irix5* xfail when not gcc compiled for
11549 "backtrace from call7a".
11550 (localvars_after_alloca): Fix gdb_test cmds for
11551 "print * after runto ...".
11552 Remove rs6000-*-* xfails for
11553 "print i after runto localvars_after_alloca" and
11554 "print l after runto localvars_after_alloca"
11555 for all compilers.
11556 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
11557 when not compiled with gcc, for:
11558 "print signed char == (minus)",
11559 "print signed char != (minus)",
11560 "print signed char < (minus)",
11561 "print signed char > (minus)".
11562 * gdb.base/callfuncs.exp (do_function_calls):
11563 Add mips-sgi-irix* xfail, when compiled with native compiler, for
11564 "call inferior func with struct - returns char *".
d63a86f8 11565 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
11566 "correct value returned double test" to include Solaris 2.4.
11567 * gdb.base/funcargs.exp (float_and_integral_args):
11568 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 11569
c906108c
SS
11570Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11571
11572 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
11573 enumeration bitfields if compiling with GNU C.
11574 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
11575 to empty' prompt.
11576
11577Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
11578
11579 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
11580 test for PRO targets.
11581
11582 * gdb.base/funcargs.exp: Avoid ever setting more than 8
11583 breakpoints in the inferior at any given time by making
11584 two groups of breakpoints for call2*, call6* and call7*
11585 tests.
11586
11587Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11588
11589 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
11590 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
11591 from optimizing it away.
11592 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
11593 "call inferior func with struct".
11594
11595Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
11596
11597 * configure.in: Only configure gdb.chill for particular targets.
11598
11599Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
11600
11601 * gdb.base/Makefile.in: Add action to .c.o transformation
11602 rule that generates a .ci file for each .o file and remove
11603 explicit .c.o rules except for callfuncs.o.
11604 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
11605 generates a .ci file for each .o file and remove explicit
11606 .cc.o rules.
11607 (clean): Remove *.tmp *.ci files.
11608 (EXECUTABLES): Remove templ-info.exp.
11609 * gdb.base/compiler.c: New file.
11610 * gdb.c++/compiler.cc: New file
11611 * gdb.base/scope.exp: Source gdb.base/scope.ci.
11612 Change rs6000-*-* xfail for
11613 "print 'scope0.c'::filelocal_ro" and
11614 "print 'scope1.c'::filelocal" and
11615 "print 'scope1.c'::filelocal_bss" and
11616 "print 'scope1.c'::filelocal_ro" and
11617 "print 'scope1.c'::foo::funclocal" and
11618 "print 'scope1.c'::foo::funclocal_ro" and
11619 "print 'scope1.c'::bar::funclocal" and
11620 "print 'scope0.c'::filelocal_ro" and
11621 "print 'scope1.c'::filelocal at foo" and
11622 "print 'scope1.c'::filelocal_bss at foo" and
11623 "print 'scope1.c'::filelocal_ro at foo" and
11624 "print 'scope1.c'::foo::funclocal at foo" and
11625 "print 'scope1.c'::foo::funclocal_bss at foo" and
11626 "print 'scope1.c'::foo::funclocal_ro at foo" and
11627 "print 'scope1.c'::bar::funclocal at foo" and
11628 "print 'scope0.c'::filelocal_ro" and
11629 "print 'scope1.c'::filelocal" and
11630 "print 'scope1.c'::filelocal_bss" and
11631 "print 'scope1.c'::filelocal_ro" and
11632 "print 'scope1.c'::foo::funclocal" and
11633 "print 'scope1.c'::foo::funclocal_bss" and
11634 "print 'scope1.c'::foo::funclocal_ro" and
11635 "print 'scope1.c'::bar::funclocal" and
11636 "print 'scope1.c'::bar::funclocal_bss"
11637 to only be xfail'd when not compiled with gcc.
d63a86f8 11638 Add rs6000-*-* xfail for
c906108c
SS
11639 "print 'scope0.c'::filelocal_bss before run"
11640 when compiled with gcc.
11641 (test_at_main): Add rs6000-*-* xfail for
11642 "print filelocal_ro in test_at_main"
11643 when compiled with gcc.
11644 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 11645 Add rs6000-*-aix* xfail for
c906108c
SS
11646 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
11647 "ptype t_char_array", not compiled with gcc.
11648 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
11649 xfail for "list foo (in include file)" when gcc compiled.
11650 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
11651 (integral_args): Add rs6000-*-* xfail for
11652 "run to call0a" if not compiled with gcc.
11653 (unsigned_integral_args): Add rs6000-*-* xfail for
11654 "run to call1a" if not compiled with gcc.
11655 (float_and_integral_args): Add rs6000-*-* xfail for
11656 "run to call2a" if not compiled with gcc and for
11657 "continue to call2b" for any compiler.
11658 Add rs6000-*-* xfail to
11659 "print f1 after run to call2a" for gcc compiled.
11660 (discard_and_shuffle): Add rs6000-*-* xfail for
11661 "run to call6a".
11662 (shuffle_round_robin): Add rs6000-*-* xfail for
11663 "backtrace from call7a" if not compiled with gcc.
11664 Add rs6000-*-* xfail for
11665 "backtrace from call7b" if compiled with gcc.
11666 (call_after_alloca): Add rs6000-*-* xfail for
11667 "print c in call_after_alloca" and
11668 "print s in call_after_alloca" and
11669 "backtrace from call_after_alloca_subr"
11670 if not compiled with gcc.
11671 (localvars_in_indirect_call): Add rs6000-*-* xfail for
11672 "print c in localvars_in_indirect_call" and
11673 "print c in localvars_in_indirect_call" and
11674 "backtrace in indirectly called function" and
11675 "stepping into indirectly called function"
11676 if not compiled with gcc.
11677 (localvars_after_alloca): Add rs6000-*-* xfail for
11678 "print c after runto localvars_after_alloca" and
11679 "print s after runto localvars_after_alloca" and
11680 "print i after runto localvars_after_alloca" and
11681 "print l after runto localvars_after_alloca"
11682 for all compilers.
11683 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
11684 than whatis-info.exp.
11685 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
11686 than opaque-info.exp.
11687 Setup rs6000-*-* xfail for
d63a86f8 11688 "ptype on opaque struct pointer (statically)" and
c906108c
SS
11689 "ptype on opaque struct pointer (dynamically)" when
11690 not compiled with gcc.
11691 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
11692 rather than callf-info.exp.
11693 (do_function_calls): Add clear_xfail for rs6000-*-* for
11694 "p t_float_values2(3.14159,float_val2)". Seems to work
11695 fine there, both with xlc and gcc. Need to find out what
11696 it is doing right and fix other platforms.
11697 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
11698 "call inferior func with struct - returns int",
11699 "call inferior func with struct - returns long",
11700 "call inferior func with struct - returns float",
11701 "call inferior func with struct - returns double",
11702 "call inferior func with struct - returns char *",
11703 but only if not gcc compiled (presumes xlc compiled).
11704 Change rs6000-*-* xfails for
11705 "call inferior func with struct - returns char" and
11706 " call inferior func with struct - returns short" to only
11707 xfail if not using gcc.
11708 (clean mostlyclean): Remove *.ci and *.tmp files.
11709 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
11710 than templ-info.exp.
11711 * gdb.base/langs.exp: Source gdb.base/langs.ci.
11712 Add rs6000-*-* xfail for "up to foo in langs.exp"
11713 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
11714 when not gcc compiled.
d63a86f8 11715
c906108c
SS
11716Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11717
11718 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
11719 * gdb.base/corefile.exp: Likewise.
11720 * gdb.base/list.exp: Likewise.
11721 * gdb.base/scope.exp: Likewise.
11722 * gdb.base/siganls.exp: Likewise.
11723
11724 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
11725 compiler output.
11726 * gdb.base/whatis.exp: Likewise.
11727
11728Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
11729
11730 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
11731 failure (opcode table has been fixed to match reality).
11732
11733Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
11734
11735 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
11736 "call inferior func with struct - returns char",
11737 "call inferior func with struct - returns short"
11738
11739 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
11740 "print 'scope0.c'::filelocal at main",
11741 "print 'scope0.c'::filelocal_bss in test_at_main",
11742 "print 'scope0.c'::filelocal at foo",
11743 "print 'scope0.c'::filelocal_bss in test_at_foo",
11744 "print 'scope0.c'::filelocal at bar",
11745 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 11746
c906108c
SS
11747 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
11748 in source file 1". This bug seems to have been fixed with both
11749 gcc and native cc (was native assembler bug?).
11750
11751Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
11752
11753 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
11754 "backtrace through signal handler" to "i*86-*-sysv4*".
11755 * gdb.base/signals.exp: Add xfail for "'next' behaved as
11756 continue" case. Add "known SVR4 bug" to fail message.
11757 Add "i*86-*-bsdi2.0" xfail for "handle all print".
11758 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
11759 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
11760 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
11761 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
11762 "up to foo in langs.exp", "show language at foo in
11763 langs.exp", "up to cppsub_ in langs.exp", "show
11764 language at cppsub_ in langs.exp", "up to fsub in
11765 langs.exp", and "show language at fsub in langs.exp".
11766 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
11767 "bactrace in corefile.exp".
11768 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
11769 "call inferior function with struct - returns float" and
11770 "call inferior function with struct - returns double".
d63a86f8 11771
c906108c
SS
11772Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
11773
11774 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
11775 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
11776 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
11777 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
11778
11779Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
11780
11781 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
11782 (or overriden) "CHILL" macro rather then bare "gcc".
11783 Also look for ../../gcc/xgcc since that is what we will
11784 actually need, not "Makefile". Remove following assignment
11785 of CHILL to CHILL_FOR_TARGET because that results in
11786 recursive definition.
11787
11788Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
11789
11790 * gdb.base/corefile.exp: Change xfail for backtrace in
11791 corefile.exp from linuxaout to all linux.
11792 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
11793 cases where we miss the breakpoint at the signal handler
11794 for some reason. Setup xfail for linuxoldld/linuxaout and
11795 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
11796 hitting SIGURG breakpoint.
11797 * gdb.base/signals.exp: Setup xfail for "next" acting like
11798 continue to add linuxoldld. Setup xfail for all linux for
11799 "next to handler in signals_tests_1", "backtrace in
11800 signals_tests_1", "continue to func1", "pass SIGUSR1",
11801 and continue to handler".
11802
11803Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
11804
11805 * Update all FSF addresses except those in COPYING* files.
11806
11807Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
11808
11809 * gdb.base/a2-run.exp: Change messages to be more explicit about
11810 the status of args, and quote binfile in results.
11811
11812Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
11813
11814 * gdb.base/callfuncs.exp: Add tests for passing structs to
11815 inferior functions and return various types.
11816 * gdb.base/callfuncs.c: Add functions to receive a struct
11817 and return a member of the struct, in various types.
11818
11819Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11820
11821 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
11822
11823Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
11824
11825 * config/vxworks29k.exp: New file, sources vxworks.exp.
11826
11827Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11828
11829 * config/gdbremote.exp: New file. Testing framework using
11830 gdbserver.
11831
11832Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
11833
11834 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
11835 "call function when asleep" and "send end of file".
11836 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
11837 for "backtrace in corefile.exp".
11838 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
11839 for "backtrace through signal handler".
11840 * gdb.base/corefile.exp: Make sure we actually generate a core file
11841 before trying the core tests. Some systems allow the user to suppress
11842 generation of core files and default to that (linux for example).
11843 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
11844 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
11845
11846Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11847
11848 * gdb.threads: New directory with some crude multi-threaded
11849 gdb tests (step.exp and step2.exp).
11850 * config/mt-lynx (STEP_EXECUTABLE): Define.
11851 (THREADFLAGS): Define.
11852
11853Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
11854
11855 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
11856
11857 * gdb.base/signals.exp: Disable whole file for lynx until
11858 further notice.
11859
11860 * gdb.base/signals.exp: xfail test where "next" acts like
11861 "continue" for lynx.
11862
11863 * gdb.base/interrupt.exp: xfail test for calling function while
11864 inferior is asleep for lynx.
11865
11866 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
11867 than one cr-lf after each command.
11868
11869Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11870
11871 * configure.in: Reinstate setting of stabsdirs variable, fix
11872 typo in setting up configdirs for native builds.
11873
11874 * gdb.base/return.exp: Fix typo in return double test.
11875 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
11876 compiler from optimizing them away.
11877
11878Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
11879
11880 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
11881 sequences to be echo'd by gdb when using gdb_test.
11882 * gdb.chill/chexp.exp: Likewise.
11883 * gdb.fortran/exprs.exp: Likewise
11884
11885Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11886
11887 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
11888 after the inferior gdb has started.
11889
11890 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
11891 after each command.
11892 * gdb.base/funcargs.exp: Likewise.
11893 * gdb.base/gdbvars.exp: Likewise.
11894 * gdb.base/interrupt.exp: Likewise.
11895 * gdb.base/list.exp: Likewise.
11896 * gdb.base/watchpoint.exp: Likewise.
11897 * gdb.c++/demangle.exp: Likewise.
11898 * gdb.c++/inherit.exp: Likewise.
11899 * gdb.chill/chexp.exp: Likewise.
11900 * gdb.fortran/exprs.exp: Likewise.
11901
11902 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
11903 test if we can't handle IO to/from the inferior.
11904
11905 * gdb.c++/misc.exp: Always check for a program already being
11906 started after sending a "run" command to gdb.
11907
11908 * gdb.base/twice.exp: Start with a fresh gdb.
11909
11910 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
11911 only depend on gdb's expression code, not the chill runtime.
11912
11913 * gdb.base/return.c: Put return values into variables so we
11914 can have gdb print them rather than depending on the program
11915 to print them.
11916 * gdb.base/return.exp: Corresponding changes.
11917
11918 * lib/gdb.exp: Provide default value for noinferiorio.
11919 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
11920 the inferior.
11921
11922 * gdb.base/break.exp: Always check for a program already being
11923 started after sending a "run" command to gdb.
11924 (text_next_with_recursion): Don't check the output from the
11925 program's printf statement. Instead just make sure the program
11926 exited.
11927
11928 * gdb.base/commands.exp: Protect tests which need arguments with
11929 $noargs conditionals.
11930
11931Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11932
11933 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
11934 of structure member arrays to match gdb/valops.c:value_addr change.
11935
11936Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
11937
11938 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
11939 cases.
11940
11941Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
11942
11943 * configure.in (configdirs): Remove gdb.chill from default list
11944 of subdirs and then add it back in only if doing a native build.
11945 The current chill compiler does not yet work in any cross build.
11946 * Revert all signal changes from Jul 6.
11947 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
11948 for sh-hms targets, allowing these tests to link, with no other
11949 changes. Testing is suppressed by setting "nosignals" in site.exp.
11950
11951Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
11952
11953 * configure.in (signaldirs): Define and add to configdirs for all
11954 targets except some specific ones that are known to not support signals.
11955 Also clean up formatting.
11956 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
11957 (signals, sigall): Remove rules to build.
11958 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
11959 Moved to new gdb.signals directory.
11960 * gdb.signals: New test directory.
11961 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
11962 signals.c signals.exp}: New or moved files.
11963
11964Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
11965
11966 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
11967
11968Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
11969
11970 * gdb.base/return.exp: Xfail `return double' test failure
11971 on at least Solaris 2.3 and handle future/past versions on
11972 a case by case basis as appropriate. Also update message
11973 to include i*86 failures.
11974
11975Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11976
11977 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
11978
11979 * lib/gdb.exp: Fix comment which erroneously identified
11980 gdb_file_cmd as gdb_load (the 19 May change was in fact to
11981 gdb_file_cmd not gdb_load).
11982 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
11983
11984 * gdb.base/setvar.exp: Make test names consistent between pass and
11985 fail cases. Use gdb_test more.
11986
11987Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11988
11989 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
11990
11991Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11992
11993 * gdb.base/help.exp: Fix expected help string for `show commands'.
11994
11995Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
11996
11997 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
11998
11999 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
12000 of a text section.
12001
12002Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
12003
12004 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
12005 that loop eventually terminates. Fix Connection refused logic so
12006 that testsuite will expire nicely.
12007
12008Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
12009
12010 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
12011 config/rom68k.exp: New tcl glue for the appropriate monitors.
12012 These all just end up calling monitor.exp.
12013 * config/monitor.exp (gdb_target_monitor): Handle `Connection
12014 refused' by retrying. Cleanup some timeout issues.
12015 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
12016 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
12017 callers don't have to set/restore global timeout variable.
12018
12019 * The following set of changes centralizes management of the global
12020 timeout variable. This way, it can be set in one target dependent
12021 place instead of dozens of places scattered throughout the test suite.
12022 If you need to lengthen a timeout, then you should either set timeout
12023 in one of the config/{target}.exp files, or multiply it by a factor.
12024 Setting it to an absolute value is always going to lose for some
12025 targets.
12026 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
12027 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
12028 * gdb.base/funcargs.exp: Don't set timeout.
12029 * gdb.base/list.exp (test_forward_search): Only use local timeout.
12030 * gdb.base/printcmds.exp (test_print_string_constants
12031 test_print_array_constants): Don't set timeout.
12032 * gdb.base/ptype.exp: Don't set timeout.
12033 * gdb.base/recurse.exp: Don't set timeout.
12034 * gdb.base/return.exp: Don't set timeout.
12035 * gdb.base/watchpoint.exp: Don't set timeout.
12036 * gdb.c++/classes.exp (do_tests): Don't set timeout.
12037 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
12038
12039Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
12040
12041 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
12042
12043Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12044
12045 * lib/gdb.exp: Disable chill tests for irix5.
12046
12047Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12048
12049 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
12050 each test pass or fail.
12051
12052Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12053
12054 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
12055 xlc not gcc.
12056
12057Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
12058
12059 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
12060
12061Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
12062
12063 * config/est.exp: Fix copyright and comments. Remove dead code.
12064 Use targetname, serialport and baud variables instead of fixed
12065 constants.
12066 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
12067 * config/cpu32bug.exp: New file to support cpu32bug monitors.
12068
12069Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12070
12071 * gdb.base/watchpoint.exp: Don't run
12072 test_watchpoint_triggered_in_syscall for sunos.
12073
12074Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12075
12076 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
12077 they don't seem to exist. Do include stdio.h.
12078
12079Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12080
12081 * gdb.base/a1-selftest.exp: Add alpha xfail.
12082
12083Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12084
12085 * gdb.base/watchpoint.c (main): Prompt before calling read().
12086 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
12087 Revise accordingly. Remove cruft about sending "123" several
12088 times, until it gets noticed. Clean up the "print buf[0]" stuff
12089 so that it passes or fails, and waits for prompts in the usual way.
12090
12091Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12092
12093 * gdb.base/recurse.exp: Fix comment.
12094
12095 * TODO: Remove item about printing variables in nodebug.exp. Add
12096 item about enabling tests which are only run on some targets.
12097
12098 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
12099 fail, make test names unique, use new gdb_test convention
12100 regarding pattern, use gdb_test more, etc.).
12101
12102 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
12103 fail, make test names unique, etc.).
12104
12105Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12106
12107 * gdb.base/nodebug.c: Change return type of top and middle to
12108 short.
12109 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
12110 are fixed by the recent mdebugread.c changes. Allow `short ()'
12111 as type for top and middle.
12112
12113Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12114
12115 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
12116 nearly as I can tell, the whole thing was an accident in Stu's
12117 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
12118 to replace a send/expect pair with gdb_test, but ended up only
12119 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
12120 of 30 Mar 1995 took care of it, but left this vestigial comment
12121 which I am now nuking.
12122
12123Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12124
12125 * gdb.base/break.exp: Look for different line number for
12126 breakpoint at main depending on usestubs.
12127
12128Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12129
12130 * gdb.base/list.exp: Adjust some alternate expect patterns to
12131 match recent list0.c change. Add alternate expect pattern for
12132 output from `list default lines around main' for optimizing
12133 compilers.
12134
12135Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12136
12137 * lib/gdb.exp: If nosignals is not set, set it to 0.
12138
12139Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
12140
12141 * config/slite-gdb.exp: Responds to load symbol table prompt.
12142 * gdb.base/break.exp: Adjust line number, fix rerun.
12143 * gdb.base/langs0.c: Add #ifdef usestubs.
12144
12145Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
12146
12147 * gdb.base/list.exp: Adjust line contents after adding new lines in
12148 list0.c. Also fix a syntax error.
12149
12150 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
12151 * gdb.base/break.exp: ditto.
12152 * gdb.base/list.exp: ditto.
12153 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
12154 * gdb.base/run.c: ditto.
12155 * gdb.base/list0.c: ditto.
12156 * gdb.base/funcargs.c: ditto.
12157
12158Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
12159
12160 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
12161 $targetname, $serialport and $baud instead of hardwired variables.
12162 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
12163 target doesn't support signals.
12164
12165Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
12166
12167 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
12168
12169Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12170
12171 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
12172 Don't rely on the value of an auto variable before it has been
12173 initialized. Use gdb_test more.
12174
12175Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12176
12177 * lib/gdb.exp (default_gdb_version): A version number must start
12178 with a digit, but other than that contains all characters up to
12179 the first whitespace character.
12180
12181Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12182
12183 * gdb.base/commands.exp (breakpoint_command_test): New tests.
12184
12185Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12186
12187 * gdb.c++/*.exp: Warn if executable does not exist. The original
12188 reason for skipping the warning was that configure.in sometimes
12189 intentionally skipped building the executables but the tcl code
12190 had no way of knowing. That (a) was always bogus with respect to
12191 error handling, (b) is no longer true (right now there is no way
12192 to skip C++ tests).
12193
12194 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
12195
12196Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12197
12198 * gdb.base/list.exp: Add expect patterns for output from
12199 SunPRO compiled executables.
12200 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
12201 types.
12202
12203Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12204
12205 * gdb.base/break.exp (test_next_with_recursion): Accept any line
12206 number (we are already testing that the correct source line text
12207 gets printed).
12208
12209 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
12210 that is what is intended, but something needed to be done to get
12211 sunos4 native working again.
12212
12213 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
12214
12215 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
12216 apparently went with a (very) old xfail.
12217
12218Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
12219
12220 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
12221 runto_main is a proc in gdb.exp that will do 'step' for target use
12222 stubs.
12223 * gdb.base/exprs.exp: ditto.
12224 * gdb.base/interrupt.exp: ditto.
12225 * gdb.base/opaque.exp: ditto.
12226 * gdb.base/printcmds.exp: ditto.
12227 * gdb.base/ptype.exp: ditto.
12228 * gdb.base/scope.exp: ditto.
12229 * gdb.base/setvar.exp: ditto.
12230 * gdb.base/signals.exp: ditto.
12231 * gdb.base/twice.exp: ditto.
12232 * gdb.c++/classes.exp: ditto.
12233 * gdb.c++/inherit.exp: ditto.
12234 * gdb.c++/templates.exp: ditto.
12235 * gdb.base/break.exp: no run and hit main for stubs. Change line
12236 numbers for breakpoints and info breakpoint.
12237 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
12238 breakpoint().
12239 * gdb.base/callfuncs.c: ditto.
12240 * gdb.base/exprs: ditto.
12241 * gdb.base/interrupt.c: ditto.
12242 * gdb.base/opaque0.c: ditto.
12243 * gdb.base/printcmds.c: ditto.
12244 * gdb.base/ptype.c: ditto.
12245 * gdb.base/scope0.c: ditto.
12246 * gdb.base/setvar.c: ditto.
12247 * gdb.base/signals.c: ditto.
12248 * gdb.base/twice.c: ditto.
12249 * gdb.c++/misc.cc: ditto.
12250 * gdb.c++/templates.cc: ditto.
12251
12252Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12253
12254 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
12255
12256 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
12257 somewhere between `read' and `main.c'. I'm pretty sure the
12258 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
12259 and it isn't particularly useful.
12260
12261 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
12262
12263Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12264
12265 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
12266
12267Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
12268
12269 * config/mt-slite: add LIBS and -nostdlib.
12270 * config/slite-gdb.exp: add this new file to support sparclite target.
12271
12272Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
12273
12274 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
12275
12276 * gdb.base/a2-run.exp: Change argument to istarget from
12277 "*-*-vxworks" to "*-*-vxworks*".
12278 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
12279
12280Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
12281
12282 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
12283 will not runto main but do a 'step' to step out of breakpoint().
12284 * config/mt-slite: add -Dusestubs.
12285
12286Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12287
12288 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
12289 instead of just @.
12290
12291 * gdb.base/signals.exp: Add test for "handle all print".
12292 * TODO: Remove "handle all print". Also remove item about
12293 checking copyright date (I don't like the idea of a spurious FAIL
12294 based on when we run the tests).
12295
12296 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
12297 for SunOS4 (reason for failure not investigated). Remove
12298 redundant test for $binfile.
12299
12300 * gdb.base/nodebug.c (array_index): Call malloc.
12301
12302 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
12303
12304Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
12305
12306 * gdb.base/recurse.exp: Update gdb_test invocation to use new
12307 conventions and slightly simplify the matching regexp.
12308
12309Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12310
12311 * gdb.base/break.exp: Update gdb_test invocation to use new
12312 convention.
12313
12314 * lib/gdb.exp: If noargs is not set, set it to 0.
12315
12316 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
12317 tests unique.
12318
12319 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
12320
12321Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12322
12323 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
12324 one argument of type "<non-float parameter>".
12325
12326Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
12327
12328 * config/rom68k.exp: New file to support Motorola IDP board.
12329 * gdb.base/a2-run.exp: Skip this file if noargs is set.
12330 * gdb.base/break.c: Change things around so that this program
12331 doesn't depend upon args. This is necessary to make remote
12332 targets work (in general, they can't take args).
12333 * gdb.base/break.exp: Don't try to send args to program. Don't
12334 expect output. Also, replace lots of code with gdb_test.
12335
12336Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12337
12338 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
12339 printing of '\'' (which is what the comment says we are testing,
12340 even though we were not), not '''.
12341 (test_integer_literals_rejected): Test that printing ''' is an error.
12342
12343 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12344 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
12345 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
12346 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
12347 Use gdb_test not test_print_accept.
12348 * lib/gdb.exp: Remove test_print_accept.
12349
12350 * gdb.base/signals.exp (signal_tests_1): Make pass message
12351 consistent with fail message.
12352
12353 * gdb.base/whatis.exp: Remove xfails for printing char vs.
12354 unsigned char; the bug (PR 1821) is fixed.
12355
12356 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
12357
12358 * gdb.base/scope.exp (test_at_localscopes): Call pass for
12359 successful tests--makes xfailing them work right.
12360
12361Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12362
12363 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
12364 only \r\n, not .*. The test can pass .* as the last thing in
12365 $pattern if that is what it wants. In addition to providing this
12366 flexibility, this change should speed up pattern matching in cases
12367 where the pattern already ended with .* (there were a number of
12368 them). This change also helps catch bad patterns--in the old
12369 scheme the typo "char \*" instead of "char \\*" would pass. Now
12370 it is caught.
12371 * Many .exp files: Update callers.
12372
12373 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
12374 clearer and does not spuriously match multiple ('s. Likewise for
12375 ) and *.
12376
12377 * gdb.base/nodebug.exp: Test ability to call a function and pass
12378 it a string (even with no debugging info).
12379
12380 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
12381 "p '\'", which is the same as "p ''" once tcl gets done with
12382 quoting, to "p '\\'", which I suspect is what is intended (one
12383 backslash gets sent to GDB).
12384
12385 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
12386
12387Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12388
12389 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
12390 1817) was fixed literally years ago.
12391
12392Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12393
12394 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
12395 test, it causes stepping out of call_after_alloca_subr with
12396 optimizing compilers.
12397 (localvars_in_indirect_call): Consume GDB prompt if `finish'
12398 fails.
12399
12400 * gdb.c++/templates.exp: Source templ-info.exp only if
12401 the templates executable exists.
12402
12403 * gdb.c++/misc.cc (class Contains_static_instance,
12404 class Contains_nested_static_instance),
12405 gdb.c++/classes.exp (test_static_members): Test printing of
12406 a class that contains a static instance of the class.
12407
12408Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12409
12410 * gdb.base/langs2.c (cppsub_): Don't prototype.
12411 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
12412 only, I believe).
12413
12414Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12415
12416 * lib/gdb.exp (skip_chill_tests): New procedure.
12417
12418 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
12419
12420Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
12421
12422 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
12423 each expect pattern. Cuts runtime from 12 to about 4 seconds.
12424
12425Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12426
12427 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
12428
12429 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
12430 disassemble 8, not 16, instructions for part 4.
12431
12432 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
12433 support the latter anymore.
12434
12435 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
12436 -DNO_PROTOTYPES.
12437 * gdb.base/callfuncs.c: Control use of prototypes based on
12438 NO_PROTOTYPES, not __STDC__.
12439 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
12440 t_float_values2 tests if prototypes in use.
12441
12442 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
12443 t_double_values): When checking differences against DELTA, check
12444 that difference is within the range (-DELTA,DELTA), not just
12445 (-infinity,DELTA).
12446
12447Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
12448
12449 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
12450 'file' command firts, then 'target', then 'load', this is due to gdb
12451 target set up.
12452 * config/mips-gdb.exp: Fix a couple regular exp bugs.
12453
12454Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
12455
12456 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
12457 FP load/store variants.
12458 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
12459
12460Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
12461
12462 * gdb.base/term.exp: Do not give a warning if not native, it is
12463 not an abnormal condition.
12464
12465Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
12466
12467 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
12468 t_char_array".
12469
12470Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
12471
12472 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
12473 are getting the version number.
12474
12475 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
12476 if not native, it is not an abnormal condition.
12477
12478Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12479
12480 * lib/gdb.exp: Just use "file exists", rather than undocumented
12481 dejagnu procedure "findfile".
12482
12483Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12484
12485 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
12486 (LDFLAGS): Set to -Xlinker -Ur.
12487
12488 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
12489 Removed, these values are set by lib/gdb.exp.
12490
12491 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
12492
12493Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12494
12495 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
12496 of replicating gdb startup code.
12497
12498 * config/mt-vxworks (LDFLAGS): Set to -r.
12499 (CFLAGS_FOR_TARGET): Removed.
12500
12501 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
12502 (gdb) and gdb for vxworks uses (vxgdb).
12503
12504 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
12505 executable is not in the tree and host != target, use sed and
12506 program_transform_name to determine the gdb name used by the
12507 target.
12508
12509 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
12510 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
12511
12512Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12513
12514 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
12515 floats, chars, and shorts where there are ANSI-style function
12516 definitions.
12517
12518 * gdb.base/langs.exp, gdb.base/langs*: New test.
12519 * gdb.base/Makefile.in: Build it.
12520 * TODO: Remove item about checking that C names don't get C++
12521 demangling applied; this test tests it.
12522
12523Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12524
12525 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
12526 went with the const70 xfail. The xfail went away a year ago.
12527
12528 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
12529
12530 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
12531 for hp300.
12532
12533 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
12534
12535 * gdb.base/a1-selftest.exp: Don't run on hp300.
12536
12537Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12538
12539 * Makefile.in (site.exp): Set host_alias and target_alias as well
12540 as host_triplet and target_triplet.
12541
12542Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12543
12544 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
12545
12546 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
12547 places as other ecoff systems).
12548
12549 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
12550 ultrix.
12551
12552Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12553
12554 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
12555 remove them.
12556 * gdb.base/nodebug.exp: Accept "function" in addition to "text
12557 variable and "variable" in addition to "data variable".
12558 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
12559
12560 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
12561 2.
12562 * gdb.base/list1.c (long_line): Add additional statement at start
12563 of function.
12564 * gdb.base/list.exp (test_forward_search): Update line number to
12565 reflect new statement.
12566
12567Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12568
12569 * gdb.base/signals.exp: Reinitialize searched source directories
12570 after gdb_start call.
12571
12572Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
12573
12574 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
12575 * gdb.stabs/Makefile.in: Likewise.
12576
12577 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
12578 change. Instead split the tests into smaller pieces.
12579 * gdb.disasm/hppa.s: Corresponding changes.
12580
12581Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12582
12583 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
12584 Quote ^C when passing it to stty. For some shells ^ is a pipe.
12585
12586 * gdb.base/funcargs.exp: Modify many tests so that every test
12587 either passes or fails. Make some test names unique.
12588
12589Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12590
12591 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
12592 Call stty to set interrupt character.
12593
12594 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
12595 for HP assembler versus GNU assembler based on actual behavior of
12596 $(CC), rather than assuming that $(AS) is always the GNU assembler.
12597
12598 * TODO: Suggest a few more stepping tests.
12599
12600Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
12601
12602 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
12603 restart GDB for h8300 after a continue.
12604 (return): Add pattern to match a29k-udi behavior.
12605 * gdb.base/nodebug.exp: Remove obsolete comment.
12606 * gdb.base/regs.exp: New file, testing of register displays.
12607 * gdb.base/return.exp: Fix typo in reference to $objdir.
12608 * gdb.base/whatis.exp: Always start with a fresh GDB.
12609
12610Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12611
12612 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
12613 higher, these tests generate a lot of output.
12614
12615Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12616
12617 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
12618 code following the catch silently ignored some errors; without the
12619 catch they should be thrown like any other tcl error. Also, the
12620 catch used "" instead of {} which meant all the callers who wanted
12621 to include one of the characters "[]$ had to quote it an extra time.
12622 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
12623 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
12624 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
12625 Remove extra quoting.
12626
12627Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
12628
12629 * gdb.base/commands.exp: Make test names unique; every test either
12630 passes or fails. Update some comments.
12631
12632 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
12633
12634Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12635
12636 The following fixes a FAIL caused by the fact that the alpha stabs
12637 configuration didn't use the ".if alpha" code in weird.def.
12638 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
12639 bit pointer, so the 32 bit version works even on the alpha.
12640 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
12641 Remove the stuff which allowed us to have separate versions for
12642 alpha and everything else.
12643
12644 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
12645 regexp which "info func operator\[\](" is supposed to match. Fix
12646 string to send to GDB. Note that GDB still doesn't work right. Add a
12647 new test for "info func .perator\[\](" which GDB does handle correctly.
12648
12649 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
12650
12651Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12652
12653 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
12654 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
12655 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
12656 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
12657 it makes the tests harder to understand and confuses test-o-matic.
12658 The preferred style is that each test provides a PASS or a FAIL,
12659 and has a unique message (e.g. "continue #54" not just "continue")
12660 which is the same for the pass and the fail.
12661 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12662 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
12663 to lib/gdb.exp.
12664 * gdb.base/printcmds.exp: Use test_print_accept. Remove
12665 prt_accept which was basically the same thing. Likewise for
12666 test_print_reject and prt_reject.
12667 * lib/gdb.exp (test_print_reject): Add some more error message
12668 patterns to match from the former printcmds.exp (prt_reject).
12669 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
12670 One defect of the passcount stuff is that some of it failed to
12671 report XPASS where appropriate.
12672 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
12673 stuff before and after arg in expected pattern.
12674 (test_paddr_operator_functions): Re-do test without print_addr_of;
12675 this is the only test which seems to want extra stuff there.
12676
12677Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12678
12679 * gdb.base/nodebug.exp: Update new tests to reflect improved
12680 wording of gdb output.
12681
12682 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
12683 and "ptype" work on variables in files compiled without -g.
12684 Replaces commented out "maint print msymbol" tests.
12685
12686Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12687
12688 * gdb.base/setvar.c (dummy): Call malloc.
12689
12690 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
12691 losing with the irix4 sed.
12692
12693 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
12694 ALRM" on irix4.
12695
12696Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12697
12698 * TODO: Remove items about corefile.exp testing new exec-file and
12699 backtrace; both are now done. Add items about printing enums.
12700
12701Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12702
12703 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
12704 "get signal $thissig" test fails.
12705
12706 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
12707
12708Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12709
12710 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
12711 compiler warning with dec alpha compiler.
12712
12713 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
12714 extra \n from gdb_test call (this explains why the prompt test
12715 that I removed yesterday was there).
12716 (user_defined_command_test): Remove extra \n and prompt test.
12717
12718 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
12719 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
12720 doesn't exist.
12721 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
12722 Also remove alpha workaround, which turns out to be because
12723 SIGABRT == SIGLOST.
12724
12725 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
12726
12727 * gdb.base/help.exp: Don't test "help show".
12728
12729Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12730
12731 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
12732 "set print address" is on.
12733 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
12734 pass prompt to gdb_test; gdb_test already looks for the prompt.
12735
12736 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
12737
12738 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
12739 was a vestige of the manual TESTSTRATEGY, and the purpose of it
12740 was to make sure that gdb can read a core file. But (a) the "read
12741 the corefile" part didn't make it to a1-selftest.exp, we just
12742 delete the corefile after creating it, and (b) we test reading
12743 corefiles in corefile.exp anyway. Also, this test left around a
12744 xgdb process on Solaris.
12745
12746 * gdb.base/corefile.exp: Also test backtrace.
12747
12748Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
12749
12750 * gdb.base/commands.exp: Test a simple user defined command with
12751 arguments and if/while statements; verify the full user command is
12752 printed by "show user".
12753
12754 * gdb.base/commands.exp: Test if/while commands as part of a
12755 breakpoint command list; verify they appear in breakpoint
12756 information.
12757
12758Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12759
12760 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
12761 than by dividing by zero.
12762
12763Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
12764
12765 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
12766 performing an inferior call with watchpoints enabled.
12767 * gdb.base/watchpoint.c (main): Delete second unnecessary read
12768 call.
12769
12770Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12771
12772 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
12773 of "file" command.
12774
12775 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
12776 Add additional pattern for when "int operator int(void);" appears
12777 in a different order.
12778
12779Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
12780
12781 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
12782
12783 * gdb.base/help.exp: Replace most of docstrings for "info signals"
12784 and "signal" with ".*".
12785
12786Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12787
12788 * TODO: Add note about "handle all nostop".
12789
12790 * gdb.base/{sigall.c, sigall.exp}: New test.
12791 * gdb.base/Makefile.in: Add it.
12792
12793Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
12794
12795 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
12796 when invoking GDB, suppresses any windowing interface.
12797
12798Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
12799
12800 * config/sim-gdb: New file, simulator testing support.
12801
12802Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
12803
12804 * gdb.base/interrupt.exp: Test calling func1 twice.
12805
12806Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
12807
12808 * gdb.base/list.exp (test_forward_search): Set timeout higher
12809 when we'll be getting lots of output from gdb.
12810
12811 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
12812 "init_malloc" to after the expect statement. Run it if that
12813 regexp is taken, but also for two others which happen if source
12814 cannot be found.
12815
12816Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12817
12818 * gdb.base/printcmds.exp: New test, for printing register before
12819 program is running.
12820
12821Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12822
12823 * gdb.base/list.exp: Correct some alternate expect patterns
12824 to reflect changes in list1.c.
12825
12826Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12827
12828 * TODO: Add item regarding large frames.
12829
12830 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
12831
12832 * TODO: Remove item about enabling return.exp; it
12833 is enabled. Suggest a few more "return" tests.
12834
12835Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12836
12837 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
12838 anonymous unions.
12839
12840Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12841
12842 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
12843 and pr-5646.o, so "make" is the same as "make all", not "make
12844 pr-4975.o".
12845
12846Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
12847
12848 * gdb.base/list.exp: Adjust expectations to reflect changes in
12849 list1.c.
12850 (test_forward_search): New test proc.
12851 * gdb.base/list1.c (long_line): New function, has long source line.
12852
12853Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
12854
12855 * gdb.base/a1-selftest.exp: Change initial stepping to know about
12856 additional line of code that was added.
12857
12858Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
12859
12860 * gdb.disasm/hppa.s: Break the large branching tests into smaller
12861 tests so as not to overflow expect's input buffers.
12862 * gdb.disasm/hppa.exp: Corresponding changes.
12863
12864Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12865
12866 Beginnings of template debugging tests.
12867 * gdb.c++/templ-info.cc: New file to test for template
12868 debugging capability of the compiler.
12869 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
12870 templ-info.cc.
12871 * gdb.c++/templates.cc: Add explicit template instantiations
12872 to enable compiling with -fno-implicit-templates. Add destructor
12873 and 'value' method to T5 class for template tests.
12874 * gdb.c++/templates.exp: Add testcases for printing of template
12875 types, setting breakpoints on template methods and calling a
d63a86f8 12876 template method.
c906108c
SS
12877
12878Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
12879
12880 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
12881 branch target since some assemblers (gas-2.5) may emit a
12882 relocation for the branch instead of resolving it in the
12883 assembler.
12884
12885Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12886
12887 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
12888 through signal handler.
12889
12890Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12891
12892 * configure.in (*-*-netware): Use config/mt-netware.
12893
12894 * config/mt-netware: New file.
12895 * config/mt-i386-netware: Removed, separate configs for different
12896 netware architectures are no longer needed now that we have
12897 --with-headers.
12898
12899Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12900
12901 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
12902 by the recent changes to use ANSI C arithmetic conversions.
12903
12904Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12905
12906 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
12907 bug involving using inferior_pid to figure out whether to select a
12908 frame.
12909
12910Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
12911
12912 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
12913 match the current disassembler output.
12914
12915Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
12916
12917 * gdb.fortran/exprs.exp: Expect VOID instead of void.
12918 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
12919 types, expect "int" as type of integer values (for now).
12920
12921Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
12922
12923 * gdb.base/commands.exp: New tests for if/while commands.
12924
12925Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
12926
12927 * lib/gdb.exp (runto): Replace sub-pattern for hex value
12928 by .*, since hex values have different syntax in Chill mode.
12929
12930Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12931
12932 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
12933 linefeed from expect pattern for repeated types with indices > 9.
12934
12935Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
12936
12937 First part of Fortran test suite.
12938 * gdb.fortran: New directory.
12939 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
12940
12941Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12942
12943 * gdb.base/default.exp: Update expect pattern for load command
12944 without arguments.
12945
12946Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12947
12948 * configure.in: Change i386 to i[345]86.
12949 * gdb.base/configure.in: Likewise.
12950 * gdb.c++/configure.in: Likewise.
12951 * gdb.chill/configure.in: Likewise.
12952
12953Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
12954
12955 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
12956 patterns, since that is not a valid context for comments.
12957
12958Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
12959
12960 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
12961 repeated types and repeated types with indices > 9.
12962
12963Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
12964
12965 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
12966 2417; old bug has been fixed.
12967
12968Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
12969
12970 * gdb.base/interrupt.exp: When trying to wake up the inferior,
12971 send the newline ourselves instead of assuming gdb_test will do
12972 so when passed an empty input string.
12973
12974 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
12975 stabs testcode.
12976
12977Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12978
12979 * lib/gdb.exp (gdb_test): Don't send anything if the first
12980 argument is an empty string. This makes cases where we want to
12981 match output that is already in expect's buffers (for example,
12982 matching a breakpoint after gdb_run_cmd has been called) work
12983 reliably.
12984
12985Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12986
12987 * config/netware.exp: New file.
12988
12989Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12990
12991 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
12992 the -B and -L prefixes so we can find the debugging stub.
12993
12994 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
12995 there and we are using the gcc from the tree.
12996
12997 * gdb.base/types.c: Removed.
12998
12999 * gdb.base/configure.in: Look for makefile fragments in ../config.
13000 Recognize i386-*-netware.
13001 * gdb.c++/configure.in: Likewise.
13002
13003Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13004
13005 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
13006 the correct TCL syntax.
13007
13008Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13009
13010 * gdb.base/opaque.exp: use runto instead of messing around with
13011 breakpoints. Simplify by using gdb_test.
13012
13013 * gdb.base/bitfields.exp: restart between tests on netware targets
13014 because breakpoints aren't relocated after target death. Run
13015 processes to completion.
13016
13017 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
13018
13019Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
13020
13021 * Makefile.in: Remove extra tabs that confuse some versions
13022 of "make". Use the newly built gdb to test with by default,
13023 rather than the first one in the tester's search path.
13024
13025Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
13026
13027 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
13028
13029 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
13030 condition help.
13031
13032Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13033
13034 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
13035
13036 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
13037 running.
13038 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
13039 * gdb.base/funcargs.exp: Likewise.
13040
13041 * gdb.base/bitfields.exp: Simplify by using gdb_test.
13042 * gdb.base/funcargs.exp: Likewise.
13043
13044 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
13045 message is "".
13046
13047Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13048
13049 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
13050 return,signals,twice}.exp: Handle non-existant binaries
13051 consistantly.
13052
13053 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
13054 * gdb.base/Makefile.in: Don't try to generate a core dump, we
13055 might testing a cross development system.
13056
13057Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13058
13059 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
13060 runtest script is relative to ${srcdir}, not ${rootdir}.
13061
13062Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
13063
13064 * gdb.base/signals.exp: Allow for optionality of breakpoint
13065 address.
13066
13067Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13068
13069 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
13070
13071Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13072
13073 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
13074 for size_t definition.
13075 * gdb.c++/templates.cc: Likewise
13076
13077 * config/mt-i386-netware: New file.
13078
13079 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
13080 defined.
13081
13082 * gdb.base/Makefile.in: Added support for systems that name core
13083 files by appending "core" to the program name.
13084 * gdb.base/a1-selftest.exp: Likewise.
13085
13086Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13087
13088 * gdb.base/return.exp: Add comment and message for `return double'
13089 test failure on Sparc Solaris.
13090
13091Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
13092
13093 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
13094
13095Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13096
13097 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
13098 from optimizing them away.
13099 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
13100 patterns to include default constructors and assignment operators,
13101 to match gcc versions beyond 2.5.8. Accept any cplus demangling
13102 character in the output of the virtual base pointer.
13103
13104Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13105
13106 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
13107 expression match in print_addr_of to avoid unintented matches.
13108 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
13109 versions up to 2.5.8.
13110
13111Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13112
13113 * gdb.base/list.exp: Tweak alternate pattern for listing of an
13114 included file to run under newer versions of expect.
13115 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
13116 consecutive >'s in templates to accomodate recent cplus-dem.c change.
13117 Remove xfail for the virtual table of BDDHookV.
13118
13119Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
13120
13121 * lib/gdb.exp (string_to_regexp): Set a default result.
13122 (default_gdb_start): Fix misleading message.
13123
13124Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
13125
13126 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
13127 Remove all CC, etc definitions.
13128 * config/mt-hpux: New file.
13129 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
13130 (CFLAGS, LDFLAGS): Define.
13131 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
13132
13133 * Makefile.in (site.exp): Don't insert host_os, etc.
13134 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
13135 (distclean): Check existence of subdir.
13136 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
13137 * gdb.base/Makefile.in: General cleanup and simplification.
13138 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
13139 to build executables. Use default rule to build .o files.
13140 (EXPECT, RUNTEST, CC): Fix relative pathname.
13141 (site.exp): Don't insert host_os, etc.
13142 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
13143 and/or SIGUSR1 defined.
13144 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
13145 * gdb.c++/Makefile.in: General cleanup and simplification.
13146 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
13147 (CFLAGS): Remove.
13148 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
13149
13150Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
13151
13152 * gdb.base/recurse.exp: Misc changes to get tests running again
13153 after Kung's changes to the watchpoint code.
13154 * gdb.base/watchpoint.exp: Likewise.
13155
13156Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
13157
13158 * lib/gdb.exp (string_to_regexp): Convert {\} also.
13159
13160Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
13161
13162 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
13163 * lib/gdb.exp (default_gdb_start): Define.
13164 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
13165 gdb.base/funcargs.exp, gdb.base/opaque.exp,
13166 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
13167 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
13168 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
13169 Don't call gdb_target_udi in between tests.
13170
13171Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13172
13173 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
13174 (which was basically just a local version of the same thing). In
13175 addition to avoiding duplication, gdb_test_exact is faster.
13176 * lib/gdb.exp (gdb_test_exact): Fix typo.
13177
13178 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
13179 don't give an error.
13180
13181 * gdb.base/term.exp: Call delete_breakpoints before starting.
13182
13183 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
13184 (t10): Add comment.
13185
13186Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
13187
13188 Reorganization of the GDB Test Suite.
13189
13190 * gdb.base: New directory, contains all the basic tests.
13191 * gdb.c++: New directory, tests specific to C++.
13192 * gdb.chill: New directory, tests specific to Chill.
13193 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
13194 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
13195 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
13196 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
13197 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
13198 t30-31 to chill).
13199 * */gdbme.*: Rename to match appropriate expect scripts.
13200 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
13201 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
13202 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
13203 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
13204 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
13205 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
13206 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
13207 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
13208 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
13209 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
13210 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
13211 gdb.c++/virtfunc.cc: New names of C++ files.
13212 * gdb.chill/chillvars.ch: New name of Chill file.
13213 * gdb.base/configure.in, gdb.c++/configure.in,
13214 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
13215 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
13216 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
13217 * configure.in (configdirs): Update to reflect directory changes.
13218 (target_abbrev): No longer define for any configuration.
13219 * Makefile.in: Cosmetic improvements to header comments.
13220
13221Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
13222
13223 Various changes to gdb.t31:
13224
13225 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
13226 * gdbme.ch: Make all key-words and predefineds be upper-case.
13227 * chillvars.exp: Expect key-words and predefinds in upper-case.
13228
13229 * chillvars.exp: Use gdb_test_exact many places.
13230 Change expected output for arrays (which now includes index labels).
13231
13232 * pr-5020.exp, gdme.ch (module PR_5020):
13233 New test, for PR-5020.
13234
13235Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
13236
13237 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
13238 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
13239
13240Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
13241
13242 * Makefile.in: Fix bit-rot in definitions of CHILL,
13243 CHILL_FOR_TARGET and Chill_LIB.
13244 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
13245 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
13246 CHILL, and CHILL_LIB.
13247
13248Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
13249
13250 * Revert the previous changes. Please see Rob's directory
13251 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
13252
13253Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
13254
13255 * Makefile.in, configure.in, config/mips-gdb.exp,
13256 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
13257 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
13258 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
13259 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
13260 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
13261 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
13262 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
13263 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
13264 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
13265 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
13266 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
13267 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
13268 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
13269 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
13270 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
13271 changes from 94Q1.
13272
13273Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
13274
13275 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
13276 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
13277 Rob's new testing fragments.
13278
13279Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
13280
13281 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
13282 lib/gdb.exp: Replace error proc calls with perror.
13283
13284Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
13285
13286 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
13287 version also, match on casted version strings, and match on
13288 gdb startup case where the line numbers might be messed up.
13289
13290Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
13291
13292 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
13293 (CFLAGS): Delete it from here.
13294
13295Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
13296
13297 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
13298
13299Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
13300
13301 * Makefile.in (RUNTEST): Default to just "runtest".
13302
13303Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13304
13305 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
13306 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
13307 the code has been restructured.
13308
13309Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13310
13311 * gdb.t00/default.exp (set write): Allow any number of \r and/or
13312 \n, not just one of each.
13313
13314 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
13315 /bin/cc gives a warning if you do.
13316
13317Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
13318
d63a86f8 13319 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
13320 __t10ListS_link1ZUiRCUiPT0
13321
13322Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13323
13324 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
13325 on local variables in recursive functions.
13326
13327 * gdb.t07/Makefile.in: Build the new test.
13328
13329Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13330
13331 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
13332 directly. Instead compare the return values from actual calls.
13333
13334Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
13335
13336 * Makefile.in (check): Set TCL_LIBRARY for runtest.
13337
13338Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13339
13340 * From Peter Schauer with minor modifications.
13341 * gdb.t15/return.exp (return_tests): Handle targets where "return"
13342 stops in mid-line in the caller. Add xfail for returning a float
13343 value on X86 targets.
13344
13345Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13346
13347 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
13348 to avoid expect lossage.
13349 (fmem_LRbug_tests): Likewise.
13350 * gdb.disasm/hppa.s: Corresponding changes.
13351
13352 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
13353 conditions to work with latest dejagnu/expect.
13354
13355 * gdb.t15/funcargs.exp (finish from indirect call): No longer
13356 expected to fail on the PA.
13357 (backtrace in call with trampolines): Explicitly require main
13358 to be frame #1 (no trampolines should show up in backtrace).
13359
13360 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
13361 "continue -expect".
13362 * gdb.t06/break.exp: Likewise.
13363 * gdb.t07/watchpoint.exp: Likewise.
13364 * gdb.t13/bitfields.exp: Likewise.
13365 * gdb.t15/{funcargs,return}.exp: Likewise.
13366 * gdb.stabs/weird.exp: Likewise.
13367 * config/{mips,udi}-gdb.exp: Likewise.
13368
13369 * hppa.sed: Enclose comments within a sed command to avoid
13370 losing with the old OSF1 sed.
13371
13372Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13373
13374 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
13375 sequent dynix.
13376 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
13377 * gdb.t15/funcargs.exp: Conditionally step again to really
13378 finish from marker_call_with_trampolines. Handle the case where
13379 the first step from within call_with_trampolines already steps
13380 us back to main.
13381 * gdb.t15/gdbme.c: Add comment to closing brace of
13382 call_with_trampolines for funcargs.exp.
13383
13384Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13385
d63a86f8 13386 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
13387 Fix typo(s).
13388
13389Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13390
13391 * gdb.t07/gdbme.c: More code for watchpoint testing.
13392
13393 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
13394 "Hardware watchpoint" throughout file.
13395 (test_watchpoint_triggered_in_syscall): New test.
13396 (test_complex_watchpoint): New test.
13397
13398Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13399
13400 * gdbme.c (call_with_trampolines): New function to try and step
13401 into. Tests trampoline problems on the PA.
13402
13403 * funcargs.exp (localvars_in_indirect_call): No longer expect
13404 stepping into indirect call to fail on PAs.
13405 (test_stepping_over_trampolines): New test.
13406
13407Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13408
13409 * TODO: Add suggestions for static member function tests, and
13410 completion tests.
13411
13412Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13413
13414 * TODO: Add suggestions for "p/a" tests.
13415
13416 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
13417 (default_gdb_exit): Replace all the hair with sending "quit" to
13418 the process with a simple close.
13419
13420Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13421
13422 * TODO: Add suggestions for shared library tests.
13423
13424Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13425
13426 * TODO: Add suggestions for x/s tests.
13427
13428Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13429
13430 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
13431 "enable once", and "enable breakpoints once" with ".*".
13432
13433Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13434
13435 * TODO: Add suggestions about structure passing tests.
13436
13437Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13438
13439 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
13440 the primary1 test, use work around if __GNUC__ < 2.
13441 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
13442 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
13443 Test for bad output rather than waiting for timeout. Issue
13444 second continue only if first continue failed.
13445
13446Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13447
13448 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
13449 operator[] test with gdb_test because the old code didn't seem to
13450 be getting the quoting right with the new dejagnu.
13451
13452Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
13453
13454 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
13455 one from the path.
13456 * Makefile.in: Use a fresh expect if there is one, use runtest
13457 from the src tree if there is one.
d63a86f8 13458
c906108c
SS
13459Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13460
13461 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
13462 next over recursive call. Revise the tests from that point on
13463 (which had been skipped) to match GDB's actual (correct) output.
13464
13465 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
13466 with next over a breakpoint whose condition is false.
13467
13468 * gdb.t00/help.exp: Comment out "help set print" tests just like
13469 (and for same reason as) "help set" test.
13470
13471Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13472
13473 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
13474 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
13475
13476Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13477
13478 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
13479 necessary gdb_target_udi.
13480
13481 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
13482
13483 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
13484 1838 and 2417; they are fixed.
13485
13486 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
13487 gdb.t03/ptype.exp (ptype structure, ptype union):
13488 Remove xfails; the test is looser than when the xfails were added.
13489
13490 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
13491 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
13492
13493 * gdb.t01/run.exp: Only run shell test if isnative.
13494
13495 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
13496 since "run" automatically loads if necessary. Call gdb_target_udi
13497 after the "file" since "file" kills any execution target.
13498
13499 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
13500 GDB. GDB doesn't work that way (not anymore at least) on UDI.
13501 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
13502 argument for UDI.
13503
13504Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
13505
13506 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
13507
13508 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
13509
13510Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13511
13512 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
13513 properly quoting regexps. This makes the second argument to
13514 demangle a fixed string, which matches the callers, instead of a
13515 shell-style pattern which is what the previous implementation
13516 used. Update some of the callers.
13517
13518Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13519
13520 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
13521 (comib_nullified_tests): Fix typo.
13522 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
13523 strings. No longer expected to fail.
13524
13525 * gdb.disasm/hppa.s (addib_tests): Fix typo.
13526 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
13527 strings. No longer expected to fail.
13528
13529 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
13530 string. No longer expected to fail.
13531
13532Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13533
13534 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
13535 No longer expected to fail.
13536
13537 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
13538 string. No longer expected to fail.
13539
13540Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13541
13542 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
13543 only in the names (I probably got most of them). I was even
13544 generous with some which differed in underscores in names, and
13545 probably missed a few, and I *still* was able to remove almost a
13546 third of the file with almost no impact on testsuite coverage.
13547
13548Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13549
13550 * gdb.t00/default.exp: Match udi_attach error message as well as
13551 the one from child_attach.
13552
13553 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
13554
13555 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
13556
13557 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
13558 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
13559
13560 * Move test with enums and partial symbols back to
13561 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
13562 Reverts the change of 26 May 93. Per today's change to
13563 stabs.texinfo, the behavior that weird.exp was expecting was
13564 unreasonable; what is important is that the compiler+gdb get
13565 things right, which happens with a recent gcc. Also fix the test
13566 to deal with native compilers which put out the stab gdb can't
13567 deal with.
13568
13569Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13570
13571 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
13572 in the names. The main thing these accomplish is to slow things down.
13573 Many more such duplicates surely remain.
13574
13575 * gdb.t00/help.exp: Comment out "help support" test just like
13576 (and for same reason as) "help set" test.
13577
13578Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
13579
13580 * gdb.t06/break.exp: Remove setup_xfails for
13581 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
13582 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
13583 about known bug in gcc to include up through 2.5.8.
13584 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
13585 well as "_vb$".
13586 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
13587 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
13588 with latest gcc and gdb.
13589 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
13590 well as "_vb$".
13591
13592Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13593
13594 * configure.in (hppa*-*-*): Also configure and build stabs-only
13595 tests.
13596
13597Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13598
13599 * gdb.t10/hppa.mt: A makefile fragment for the PA.
13600 * gdb.t10/configure.in (hppa*-*-*): Use it.
13601
13602Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13603
13604 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
13605
13606Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13607
13608 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
13609 versions prior to 1.13.5.
13610
13611Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13612
13613 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
13614 the prompt is at the start of a line.
13615
13616Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
13617
13618 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
13619 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
13620 in the copr tests now.
13621 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
13622 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
13623 expected to fail.
13624
13625Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
13626
13627 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
13628 gdb.t31/chillvars.exp, lib/gdb.exp:
13629 Tweak to run under either version of expect.
13630 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
13631 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
13632 * gdb.t11/list.exp: Remove extraneous whitespace.
13633
13634Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13635
13636 * gdb.t16/printcmds.exp (test_print_strings): Accept
13637 "(unsigned char *) " before the string.
13638
13639 * TODO: Add notes about printing of fancy types and GDB expressions.
13640
13641Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
13642
13643 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
13644 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 13645 if doing mips-idt-ecoff.
c906108c
SS
13646
13647Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
13648
13649 * Most .exp files: Tweak to run under either version of expect.
13650
13651Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13652
13653 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
13654 xfails; I'm not sure why they are failing, but not because of PR 1806.
13655
13656Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
13657
13658 * config/unix-gdb.exp: Remove gdb_unload cause it's already
13659 defined in lib/gdb.exp.
13660
13661Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13662
13663 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
13664 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
13665 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
13666 have to be typeless.
13667
13668Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
13669
13670 * TODO: Add suggestion for copyright year test.
13671
13672Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
13673
13674 * configure.in (*-*-lynxos*): Add stabs tests.
13675
13676Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
13677
13678 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
13679 so insert a tab before any assembler directive in column zero.
13680
13681 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
13682 stores.
13683 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
13684 stores.
13685 (fpu_short_memory_tests): Likewise.
13686
13687Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13688
13689 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
13690 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
13691 .stabs directives in comments.
13692
13693Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13694
13695 * TODO: New file, describing tests we could write.
13696 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
13697
13698Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13699
13700 * gdb.t06/signals.exp: Add kludge to force re-sync.
13701
13702 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
13703 to xgdb instead of gdb, get out of gdb.
13704
13705Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
13706
13707 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
13708 for info.
13709
13710Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
13711
13712 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
13713 * gdb.stabs/configure.in (hppa*-*-*): Use it.
13714 * gdb.stabs/hppa.sed: New sed script for the PA.
13715
13716Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13717
13718 * gdb.stabs: Re-write weird.def and configuration to use sed
13719 instead of cpp. sed is portable and POSIX; cpp is neither.
13720
13721Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13722
13723 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
13724
13725Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13726
13727 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
13728
13729Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13730
13731 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
13732 "_vb$".
13733 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
13734 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
13735
13736Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13737
13738 * lib/gdb.exp: Comment out code which depends on non-existent
13739 `transform' procedure.
13740
13741Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
13742
13743 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
13744 * lib/gdb.exp: Transform tool name.
13745 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
13746 1.1's new error handling system.
13747
13748Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13749
13750 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
13751
13752Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13753
13754 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
13755 They made pattern matching so slow that timeouts happened on
13756 heavily loaded systems. Now any output from "show print" which
13757 gets us back to the GDB prompt is a PASS.
13758
13759Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
13760
13761 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
13762
13763Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13764
13765 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
13766
13767 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
13768 It is not from PR 3220.
13769
13770Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13771
13772 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
13773 just started failing because they depended on the order the
13774 subcommands are presented, or exact docstring text. This kind of
13775 test is a pain and has minimal benefit.
13776
13777Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13778
13779 * gdb.t09/corefile.exp: At end of test, use "core" command with
13780 no arguments.
13781
13782Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
13783
13784 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
13785 17}/Makefile.in: Make it possible to run the testsuite with Sun
13786 make and CC = cross gcc by adding explicit build rules for .o
13787 files.
13788
13789Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13790
13791 * gdb.t15/funcargs.exp: Don't put comments on same line as
13792 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 13793
c906108c
SS
13794Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13795
13796 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
13797
13798Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
13799
13800 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
13801 * gdb.t20/inherit.exp: remove three dumplicate entries.
13802
13803Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13804
13805 * gdb.t06/break.exp: For "next over recursive call", fail on any
13806 incorrect output, not just on "factorial (value=2)".
13807
13808Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13809
13810 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
13811 working now. Add an xfail if accesing a bss variable causes
13812 a memory error if the target is not yet run.
13813
13814Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13815
13816 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
13817 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
13818 name of __st* demangling (2 strings). Did Kung really get the
13819 more than 95 others right without testing them?
13820
13821Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
13822
13823 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
13824
13825Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
13826
13827 * configure.in (configdirs): Add gdb.disasm
13828 * gdb.disasm: New directory for GDB disassembler tests.
13829 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
13830
13831Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13832
13833 * gdb.t00/help.exp: Don't test "help set".
13834
13835 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
13836 from within expect statements. None of these happen anymore and
13837 they cause regressions to be silently unnoticed.
13838
13839 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
13840 messages) about known failures with gcc cygnus-2.4.5-930417.
13841
13842 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
13843 comp-info.exp so it gets built if it doesn't exist.
13844
13845 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
13846 it is no longer used.
13847 * gdb.t13/comp-info.c: Removed.
13848
13849Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
13850
13851 * gdb.t06/signals.exp: Add xfail for sun3.
13852
13853Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13854
13855 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
13856 relevant because ^C doesn't get sent but failure can be reproduced
13857 interactively).
13858
13859Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13860
13861 * gdb.stabs/alpha.mt: New configuration file for alpha.
13862 * gdb.stabs/configure.in: Use it.
13863 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
13864 sharing with alpha.mt, redefine long to word via preprocessor.
13865 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
13866 for alpha.
13867 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
13868 native cc.
13869 * gdb.t00/teststrategy.exp: Change expect string so that we
13870 consume the `(xgdb)' from the command echo and from the gdb prompt.
13871 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
13872 gdb currently compares all values as long, so this failure probably
13873 applies to any configuration where LONGEST is bigger than a target int.
13874 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
13875 with gcc.
13876 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
13877 to handle opaque pointers, gcc is.
13878 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
13879 as first argument. Include <sys/types.h> and change all operator
13880 new definitions to use size_t.
13881 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
13882 now that we use size_t.
13883
13884Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13885
13886 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
13887 a long or float array cast all array members to the same type.
13888 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
13889 with 64 bit longs.
13890 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
13891 on alpha.
13892 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
13893
13894Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13895
13896 * gdb.t24 (demangle.exp): Constructors of templates have names like
13897 vector<int>::vector(int) not vector<int>::vector<int>(int). See
13898 section 14.6 of the ARM.
13899
13900 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
13901 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
13902 accomplish little and slow down the testsuite.
13903
13904 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
13905 Accept spaces various places.
13906
13907Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13908
13909 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
13910 with watchpoint enabled.
13911
13912 * Makefile.in: Remove definition of CC and remove the second
13913 definition of CXX (the "CXX = gcc" one remains). These definitions
13914 were causing backquotes to be expanded within backquotes, which
13915 doesn't work.
13916
13917Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
13918
13919 * gdb.t17/callfuncs.exp: Add "return 0" to end.
13920
13921Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13922
13923 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
13924 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
13925 by mips cc and contains no stabs entries.
13926
13927Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
13928
13929 * config/vx-gdb.exp: Use fake device to load files rather than
13930 NFS.
13931 * lib/gdb.exp: New proc to do "file" command.
13932 * config/unix-gdb.exp: Use new "file" proc.
13933
13934Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13935
13936 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
13937 Rework board rebooting slightly.
13938 (gdb_exit): Don't exit from the remote shell; there isn't one.
13939 * gdb.stabs/weird.exp: If a program is being debugged already,
13940 kill it.
13941 * gdb.t04/setvar.exp: Stop and restart gdb.
13942 * gdb.t05/expr.exp: Likewise.
13943 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
13944 restart gdb and reload the program.
13945 * gdb.t08/opaque.exp: Likewise.
13946 * gdb.t12/scope.exp: Likewise.
13947 * gdb.t13/bitfields.exp: Likewise.
13948 * gdb.t15/funcargs.exp: Likewise.
13949 * gdb.t20/classes.exp: Likewise.
13950 * gdb.t03/ptype.exp: Increase timeout.
13951 * gdb.t16/printcmds.exp (test_print_string_constants,
13952 test_print_array_constants): Likewise.
13953 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
13954 * gdb.t20/classes.exp (do_tests): Likewise.
13955 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
13956
13957Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
13958
13959 * gdb.stabs: Renamed *wierd* to *weird*.
13960
13961Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
13962
13963 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
13964 for timeout. Add "known gcc 2.4.5 bug" to failure message.
13965
13966Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
13967
13968 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
13969 (do_tests): Remove xfail for whatis on one_var and two_var.
13970
13971Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
13972
13973 * Makefile.in: Made cross building work better by adding
13974 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
13975
13976Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13977
13978 * gdb.t15/{return.c,return.exp,Makefile.in}:
13979 New test, currently commented out.
13980
13981Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
13982
13983 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
13984 still running and removes the leftover named socket so GDb can do
13985 clean restarts.
13986
13987Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
13988
13989 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
13990 console, not GDB.
13991 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
13992 cross testing works better with "make check"
13993 * config/unix-gdb: Use default procedures for exit and version.
13994 * config/vx-gdb.exp: Cleaned up and massaged back to working order
13995 with the newest VxWorks.
13996
13997Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13998
13999 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
14000 old form.
14001
14002 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
14003 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
14004
14005 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
14006
14007 * config/unix-gdb.exp: Remove this version of gdb_exit
14008 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
14009 Rob says he'll look at it when he gets back to testing boards.
14010
14011Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
14012
14013 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
14014 an expected fail for certain ptype commands.
14015
14016 * gdb.t20/classes.exp: Update expected results of "ptype class
14017 Base1" to account for the constructor that now appears in the type.
14018
14019Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
14020
14021 * configure.in (configdirs): Restore gdb.t04, which mysteriously
14022 disappeared from list.
14023 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
14024 "alldone" proc with call to cleanup and exit.
14025 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
14026 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
14027 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
14028 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
14029 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
14030 "alldone" proc with simple returns that suppress remaining
14031 tests. The alldone proc went away many months ago.
14032
14033Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14034
14035 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
14036
14037 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
14038
14039Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14040
14041 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
14042 as vax gdb will display them.
14043
14044Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14045
14046 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
14047 optimizers.
14048
14049 * scope.exp: Change "bad value for localval" messages so each one
14050 is unique.
14051
14052 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
14053 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
14054
14055 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
14056
14057Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14058
14059 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
14060 doesn't exist (due to optimization).
14061
14062Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14063
14064 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
14065 contains \r because the filename is long.
14066
14067 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
14068 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
14069
14070Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14071
14072 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
14073 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
14074 Ultrix.
14075 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
14076 int tests.
14077 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
14078
14079Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
14080
14081 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
14082
14083 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 14084 to match does not match the passing case but still matches the
c906108c
SS
14085 failing case.
14086
14087Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14088
14089 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
14090
14091Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
14092
14093 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
14094 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
14095 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
14096 Remove various versions of gdb_exit.
14097 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
14098 gdb_exit.
14099 * config/unix-gdb.exp: gdb_exit remains here, and should override
14100 the generic version, since it's doing a lot of wierd stuff that
14101 the other versions aren't. FIXME, fold it in, or abandon this
14102 version.
14103
14104Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14105
14106 * gdb.t24/demangle.exp: Add tests for PR 3220.
14107
14108Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14109
14110 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
14111
14112Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
14113
14114 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
14115 "i386-*-*". Works for i486 as well.
14116
14117 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
14118 bug, and expand domain of xfail to all SVR4 systems, since the
14119 actual problem is likely to be in generic SVR4 /proc support.
14120
14121Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14122
14123 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
14124
14125Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
14126
14127 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
14128 xfails for other systems. Match a missing 'Continuing.' as an
14129 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
14130
14131 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
14132 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
14133 Only issue warning for missing executables if -all option is used.
14134
14135 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
14136 file if -all option is used. It's like an unpredictable XFAIL.
14137
14138Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14139
14140 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
14141 for dynamically linked binaries.
14142
14143 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
14144
14145Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14146
14147 * gdb.t20/inherit.exp: Change message for "print tagless struct"
14148 to state that this is a known bug in old versions of g++.
14149
14150Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14151
14152 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
14153 while waiting for `Continuing'.
14154
14155Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
14156
14157 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
14158 in text, data, and bss.
14159 * gdb.t10/nodebug.c: Add local and global test variables for
14160 initialized and uninitialized data.
14161
14162Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14163
14164 * config/unix-gdb.exp (gdb_exit): Add "wait".
14165
14166Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14167
14168 * gdb.t06/signals.exp: xfail the continue from the handler for all
14169 targets.
14170
14171 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
14172 function with watchpoints enabled, the i386 call dummy starts with
14173 a call.
14174
14175 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
14176 386 bsd names its corefiles.
14177
14178Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
14179
14180 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
14181 compilers don't grok it.
14182 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
14183 with small octal ints rather than character constants, which
14184 are signed and might not fit if first promoted to int.
14185
14186Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
14187
14188 * gdb.t09/Makefile.in (clean): Remove corefile.
14189
14190Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14191
14192 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
14193
14194Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14195 and Jim Kingdon (kingdon@cygnus.com)
14196
14197 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
14198 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
14199 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
14200
14201Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14202
14203 * gdb.t17/interrupt.exp: Add xfail for hppa.
14204
14205Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14206
14207 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
14208 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
14209 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
14210 to determine signed-ness of bitfields and use the result to setup
14211 the xfail.
14212 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
14213 * gdb.t15/funcargs.exp: Use them to step until the second indirect
14214 call line is reached if necessary.
14215
14216Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14217
14218 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
14219
14220Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14221
14222 * gdb.t06/break.exp: Also test `clear' command.
14223
14224Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
14225
14226 * gdb.t00/teststrategy.exp: Remove extra quote.
14227
14228 * gdb.t07/watchpoint.exp: Change xfail for calling function with
14229 watchpoint enabled to be for all non-68k machines.
14230
14231 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
14232
14233Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14234
14235 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
14236 targets use aout.mt instead of ecoff.mt as gas understands
14237 standard aout format.
14238
14239Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
14240
14241 * lib/gdb.exp (runto): Don't insist that function we are running to
14242 was compiled with -g.
14243
14244 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
14245
14246 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
14247 to get back into the read system call.
14248 Accept leading newline in case where we woke it up.
14249
14250Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14251
14252 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
14253 to make the stabs test work on ecoff systems using gcc and -with-stabs.
14254 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
14255 enable ecoff configuration.
14256
14257Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14258
14259 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
14260
14261Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14262
14263 * gdb.t16/printcmds.exp: Add another printf test.
14264
14265Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
14266
14267 * configure.in: If configured -with-stabs on any target, add
14268 stabsdirs to configdirs.
14269
14270Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14271
14272 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
14273 fun" so pattern does not match the command itself.
14274
14275Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14276
14277 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
14278
14279Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14280
14281 * gdb.t17/interrupt.exp: Test for more things.
14282
14283Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14284
14285 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
14286 compiler arranges the code and line numbers.
14287
14288 * gdb.t17/interrupt.exp: Don't send \n after ^C.
14289
14290Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14291
14292 * gdb.t00/help.exp: Increase expect input buffer size.
14293
14294Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14295
14296 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
14297
14298 * gdb.t07/watchpoint.exp: Add xfail for hppa.
14299
14300 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
14301
14302 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
14303 [0-9]*, not just [0-9].
14304
14305Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14306
14307 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
14308
14309 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
14310
14311Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14312
14313 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
14314
14315Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14316
14317 * gdb.t06/signals.c: Add xfails for sun3.
14318
14319 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
14320
14321 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
14322 test_stepping tests.
14323
14324Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14325
14326 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
14327
14328 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
14329
14330 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
14331 rather than actually putting it through cpp twice.
14332
14333 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
14334
14335Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
14336
14337 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
14338 no longer needed.
14339
14340Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14341
14342 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
14343
14344 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
14345 C++ features prints as "struct", make it a pass, not an xfail.
14346
14347Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14348
14349 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
14350 Don't require VA to print as "class" rather than "struct".
14351
14352Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
14353
14354 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
14355
14356Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14357
14358 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
14359
14360Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14361
14362 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
14363 order.
14364
14365Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14366
14367 * gdb.t16/printcmds.exp: Add printf tests.
14368
14369 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
14370
14371 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
14372
14373Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
14374
14375 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
14376 pass counts, to counteract any existing or future setup_xfails.
14377
14378Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14379
14380 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
14381 {BEGIN,END}_COMMON for common block instead of STAB.
14382 * gdb.stabs/wierd.exp: Add xfail for rs6000.
14383
14384 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
14385 intp_var should be N_GSYM not N_LSYM.
14386 wierd-aout.S: Use a label for the value of the N_SO.
14387 wierd.def: Remove all backslashes.
14388 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
14389
14390Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14391
14392 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
14393 get the expected next to inheritance3.
14394
14395Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14396
14397 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
14398 now that gcc-2.4 gets it right.
14399
14400Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14401
14402 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
14403
14404 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
14405 generating comp-info.exp which works for cross-compilation.
14406
14407Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
14408
14409 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
14410 "*-*-sysv4.*".
14411
14412Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
14413
14414 * gdb.t01/run.exp: Start with a fresh gdb.
14415 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
14416 SVR4.x.
14417
14418Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
14419
14420 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
14421 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
14422 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
14423 Makefile.in (distclean, realclean): Remove gdbme.c from list of
14424 things to remove.
14425
14426Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
14427
14428 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
14429 test cases from bug reports.
14430
14431Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
14432
14433 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
14434 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
14435 avoid spurious xfails.
14436 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
14437 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
14438 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
14439
14440Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
14441
14442 * gdb.t00/teststrategy.exp: Rework to provide more useful
14443 description of each test, fix problem with systems that define
14444 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
14445 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
14446 results for "next over recursive call" so timeouts aren't taken
14447 by error.
14448
14449Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
14450
14451 * gdb.t12/scope.exp: Test printing of variables before run.
14452
14453 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
14454 printed in wrong order due to sorting.
14455
14456Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
14457
14458 * gdb.t00/teststrategy.exp: Fix expected results for printing
14459 user entered string constant. Is array of char, prints with no
14460 address.
14461
14462 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
14463 commands.
14464 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
14465 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
14466 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
14467 of struct of char arrays.
14468 * gdb.t00/radix.exp: New tests for radix commands.
14469
14470Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
14471
14472 * gdb.t16/printcmd.exp: Print a variable before running program
14473 (with xfail for AIX).
14474
14475Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
14476
14477 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
14478
14479 * gdb.t16/printcmd.exp: Don't print variables before running program.
14480
14481 * gdb.t06/break.exp: Don't require envp argument to main.
14482
14483 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
14484
14485 * gdb.t02/whatis.exp, gdb.t11/list.exp:
14486 Add xfails for rs6000.
14487
14488 * gdb.t02/whatis.exp: Change other tests not to re-test something
14489 we already tested.
14490
14491 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
14492 each type used has a variable of that type.
14493
14494Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
14495
14496 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
14497
14498Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14499
14500 * configure.in: change srctrigger to be a file, not a directory
14501
14502Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
14503
14504 * configure.in (mips-idt-ecoff*): Added trailing '*'.
14505
14506 * gdb.t11/list.exp: Fixed a couple of typos.
14507
14508Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
14509
14510 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
14511 is fixed and PR is closed.
14512 * gdb.t16 (gdbme.c): Add simple test string variable.
14513 * gdb.t16 (printcmds.exp): Add tests with simple test string
14514 variable, primarily for boundaries on "set print elements".
14515
14516Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
14517
14518 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
14519 Make leading 0's optional and don't expect a tab in the middle
14520 of the number.
14521
14522 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
14523
14524 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
14525 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
14526 don't end command passed to gdb_test with newline.
14527
14528 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
14529 signed keyword away, don't expect signed bitfields to be signed.
14530
14531 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
14532 printing with only as many 1's as are in the field as well as printing
14533 with 32 1's (see comment).
14534
14535Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
14536
14537 * gdb.t00/default.exp: Start with a fresh gdb.
14538 * configure.in (configdirs): Remove gdb.t31 until the chill
14539 compiler works again. It no longer is able to find chillrt0
14540 since it isn't in libchill.a anymore.
14541 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
14542 wierd.o, make more modular.
14543 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
14544 spurious newlines that caused problems.
14545
14546Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14547
14548 * Move test with enums and partial symbols from gdb.t03/ptype.exp
14549 to gdb.stabs/wierd.exp since GCC has worked around the bug.
14550 gdb.stabs/wierd.{exp,def}: Many new tests.
14551
14552 * gdb.t00/default.exp: update info line for new message.
14553
14554 * gdb.t02/{whatis.exp,gdbme.c}:
14555 Test that "char *" doesn't print as "caddr_t".
14556
14557Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14558
14559 * gdb.t00/help.exp: Use .* in place of some help messages which
14560 just changed.
14561 gdb.t00/default.exp: Update "info frame" test for new message.
14562 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
14563 Remove some xfails
14564
14565Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14566
14567 * gdb.t03/{gdbme.c,ptype.exp}:
14568 Add tests for typedef'd struct and union without tags.
14569 Also check "whatis" on a variable of a typedef'd enum without a tag.
14570
14571 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
14572 PRMS 1823; the bug still exists but isn't reproduced by this test
14573 anymore), and remove rs6000 XFAIL (the bug is fixed).
14574
14575 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
14576 duplicated from whatis.exp. For those that are left, accept
14577 "long", "long int", or "int" for long variables (whatis.exp already
14578 has an XFAIL for "int", so no need to fail it here).
14579
14580 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
14581 Deal with GCC's names for types now that GDB uses the compiler's names.
14582
14583 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
14584 setup_xfail's for sunos4. If we #defined the signed keyword away,
14585 don't expect GDB to know that char it is signed.
14586
14587 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
14588
14589Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
14590
14591 * configure.in (configdirs): Add gdb.t24 for C++ tests that
14592 should work on any system, regardless of debugging format.
14593 * gdb.t21/demangle.exp: Move to gdb.t24.
14594 * gdb.t24/demangle.exp: Move from gdb.t21.
14595 * gdb.t24/{Makefile.in, configure.in}: New files.
14596
14597Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14598
14599 * configure.in: Do gdb.stabs and C++ tests only for stabs.
14600 * gdb.stabs: New directory.
14601
14602Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
14603
14604 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
14605 not just "Quit anyway?".
14606
14607Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
14608
14609 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
14610 that all setup_xfails are immediately followed by clear_xfails.
14611
14612Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
14613
14614 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
14615 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
14616 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
14617 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
14618 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
14619 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
14620 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
14621 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
14622 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
14623 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
14624 gdb.t31/chillvars.exp, lib/gdb.exp:
14625 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
14626 bug-gdb@prep.ai.mit.edu.
14627
14628Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
14629
14630 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
14631 with 0.0, not integer 0.
14632
14633Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
14634
14635 * gdb.t06/break.exp: Update for "Kill the program" message change.
14636
14637Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
14638
14639 * Makefile.in (GDBFLAGS): Set to -nx.
14640 * Makefile.in (site.exp): Use GDBFLAGS.
14641
14642Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
14643
14644 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
14645 Makefiles.
14646 (check): depend on just-check.
14647 (just-check): added so that tests can be run without a noop
14648 build pass.
14649
14650Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
14651
14652 Switch to using configure's configdirs.
14653 * Makefile.in (Makefile): add configure.in dependency.
14654 (SUBDIRS): removed redundant assignment.
14655 * configure.in: switch subdirs assignment to configdirs.
14656 * gdb.t*/configure.in: new files.
14657
14658Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
14659
14660 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
14661 works.
14662
14663Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
14664
14665 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
14666 in explicit rules. Apparently this is not supported by some makes.
14667
14668Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
14669
14670 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
14671
14672Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14673
14674 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
14675 disappeared.
14676
14677Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
14678
14679 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
14680
14681Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
14682
14683 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
14684 watchpoint problem that is now fixed.
14685 * gdb.t30/chexp.exp: Remove setup_xfail for printing
14686 uninitialized convenience variables.
14687 * gdb.t31/chillvars.exp: Fix expected patterns for printing
14688 structures.
14689
14690Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14691
14692 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
14693 which causes expect to get out of sync with gdb on long output
14694 from help set.
14695 * gdb.t09/corefile.exp: Make expected pattern for core file
14696 failing signal and frame output format less sun specific.
14697
14698Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
14699
14700 * gdb.t31/chillvars.exp: Add and remove initial dummy
14701 breakpoint, so that symbol table is forced in.
14702 (Needed at least on Sunos4, though it seems not SVR4.)
14703 * gdb.t31/chillvars.exp: Update for changed output format.
14704
14705Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
14706
14707 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
14708
14709Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
14710
14711 * Makefile.in: Added --srcdir when invoking runtest, removed the
14712 need for a local config file. (optional now)
14713
14714Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
14715
14716 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
14717 failure count used to force early termination. Add some more
14718 expected failures for gnu style demangling.
14719
14720Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14721
14722 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
14723 pmi variable from gdb.t20/gdbme to get optimized away.
14724 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
14725 Check for written corefile upon timeout _and_ eof.
14726
14727Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14728
14729 * config/unix-gdb.exp: Add missing return 0.
14730
14731Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14732
14733 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
14734 test termination.
14735
14736Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
14737
14738 * configure.in (subdirs): Put back gdb.t17 which mysteriously
14739 disappeared.
14740
14741Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
14742
14743 * gdb.t10/crossload.exp: Disable the i860-elf test until such
14744 time as i860 support works.
14745
d63a86f8 14746 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
14747 "backtrace 100\r" rather than just "backtrace\r", to match last
14748 change.
14749
14750Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
14751
14752 * config/udi-gdb.exp (gdb_exit): Remove close command.
14753 (gdb_target_udi): New procedure to set the UDI target.
14754 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
14755 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
14756 Added waits for prompts after several question responses. Added
14757 some more responses used by a29k-amd-udi-gdb.
14758 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
14759 pass different arguments, restart UDI connection after program
14760 completion.
14761 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
14762 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
14763 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
14764 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
14765 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
14766 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
14767 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
14768 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
14769 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
14770 after program completion.
14771 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
14772 compiled with a SELECT_VECS setting.
14773 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
14774 infinite recursion.
14775
14776 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
14777 Added checks for COFF results, and made them expected failures for
14778 all targets. It would be better to make them expected failures
14779 for COFF targets only.
14780
14781Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
14782
14783 * Makefile.in: add null dvi target, don't bother to recurse
14784 through test directories for info and install-info; rename
14785 $(datadir) to be dejagnu instead of deja-gnu
14786
14787Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
14788
14789 * gdb.t31/gdbme.ch: Re-enable code that previously caused
14790 compiler to coredump.
14791 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
14792 code.
14793
14794Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
14795
14796 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
14797 coredump.
14798 * gdb.t31/chillvars.exp: Comment out tests that depend on that
14799 code.
14800
14801Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
14802
14803 * gdb.t03/ptype.exp: tests for return code from gdb_test.
14804 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
14805 which in a shell. Deletes xgdb when done.
14806 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
14807 Tests the return from the "set height" or "set width" commands.
14808 Added a few return codes where needed.
14809
14810Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
14811
14812 * Makefile.in (SUBDIRS): Add gdb.t17.
14813 * configure.in (subdirs): Add gdb.t17.
14814 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
14815 files to test gdb's calling of functions in the inferior with
14816 the correct arguments and gdb's ability to retrieve any
14817 result returned.
14818
14819Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
14820
14821 * config/unix-gdb.exp (gdb_exit): Remove close commands that
14822 may be called after gdb goes away. Previous versions of expect
14823 needed these to avoid file descriptor leaks, but they cause
14824 errors with the current revision of expect.
14825 * gdb.t00/gdbvars.exp: Use -re on expected output after
14826 setting sevenbit-strings.
14827 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
14828 to set sevenbit-strings consistent across tests.
14829 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
14830 set sevenbit-strings consistent across tests.
14831
14832Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
14833
14834 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
14835 expected output to match current "expect" expectations.
14836
14837Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
14838
14839 * gdb.t00/default.exp: Change expected output for default "source"
14840 command, to match new gdb behavior which requires a filename to
14841 source.
14842
14843Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
14844
14845 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
14846 expected fail for i486-*-* that misses the marker2 function.
14847 * gdb.t10/crossload.exp (bfddefault): Allow successful
14848 recognition of a format to pass even if no symbols are found.
14849 Explicitly catch failures where the format is not recognized
14850 or is ambiguous, and add the reason to the fail message.
14851 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
14852 the cause is and invalid target and add reason to failure message.
14853 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
14854 elf32-i386, elf32-sparc, and elf32-i860.
14855 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
14856 Set up expected failure for 'filename'::variable scope resolution,
14857 which is now apparently broken on all targets.
14858 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
14859 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
14860 gdb.t23/templates.exp: Change failure for missing binfile into
14861 just a warning.
14862 gdb.t21/demangle.exp: Change all cfront references to 'arm'
14863 references.
14864
14865Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
14866
14867 * gdb.t00/default.exp: Add expected output for default "source"
14868 command, to match new gdb behavior.
14869 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
14870
14871Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
14872
14873 * config/*-gdb.exp: returns an error, rather than exiting on
14874 internal errors.
14875
14876Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
14877
14878 * gdb.t03/gdbme.c: Add pointer to struct variable.
14879 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
14880 referencing struct members.
14881
14882Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
14883
14884 * configure.in (mips-idt-ecoff): New target.
14885 * config/mips-gdb.exp: New file for remote board using MIPS remote
14886 debugging protocol.
14887
14888 * Redid configuration scheme. Removed gdb.t*/configure.in.
14889 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
14890 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
14891 distclean targets. Built executables via .o files. Adjusted
14892 tests to account for source files in $(srcdir) rather than
14893 $(objdir).
14894 * lib/gdb.exp (runto): Don't expect () after the function name,
14895 because it may have arguments.
14896
14897Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
14898
14899 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
14900 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
14901 expected failures for mips-idt-* and mips-sgi-*.
14902 * gdb.t00/default.exp (attach): Kill process if requested.
14903 * gdb.t00/help.exp (help target core, help target): Accept a gdb
14904 that does not read core files.
14905 * gdb.t01/run.exp: Removed checks for exit status code.
14906 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
14907 it is linked in.
14908 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
14909 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
14910 appropriate, rather than doing it by hand.
14911 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
14912 execution.
14913 * gdb.t10/crossload.exp: Kill existing program if needed.
14914 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
14915 appropriate, rather than doing it by hand. Always increase
14916 timeout for this test, not just for VxWorks.
14917
14918Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
14919
14920 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
14921 of Chill STRUCT types and STRUCT values.
14922 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
14923 than "char".
14924 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 14925 struct2): New struct definitions and initializations to test
c906108c
SS
14926 simple Chill STRUCT types.
14927
14928Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
14929
14930 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
14931 the null byte at the end of strings.
14932 * gdb.t00/default.exp: Make show version insensitive to copyright
14933 date.
14934 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
14935 to avoid dependencies on target char signedness.
14936 * gdb.t16/printcmds.exp: Update expected results for explicitly
14937 unsigned char.
14938 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
14939 now work.
14940 * gdb.t21/demangle.exp: Add many more patterns for template
14941 demangling, most of them being expected failures.
14942 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
14943 string we are matching for, to match on the whole string.
14944 * gdb.t21/demangle.exp: Add many new test strings to demangle,
14945 and fix a whole bunch that had incorrect expected output but were
14946 passing anyway because of the bug in "proc demangle".
14947 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
14948 type.
14949 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
14950
14951Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
14952
14953 * gdb/testsuite: made modifications to testcases, etc., to allow
14954 them to work properly given the reorganization of deja-gnu and the
14955 relocation of the testcases from deja-gnu to a "tool" subdirectory.
14956
14957Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
14958
14959 * gdb/testsuite: Initial creation of gdb/testsuite.
14960 Migrated dejagnu testcases and support files for testing nm to
14961 gdb/testsuite from deja-gnu. These files were moved "as is"
14962 with no modifications. This migration is part of a major overhaul
14963 of dejagnu. The modifications to these testcases, etc., which
14964 will allow them to work with the new version of dejagnu will be
14965 made in a future update.
48efe704 14966
8d8cb839 14967 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 14968\f
8d8cb839
EZ
14969;; Local Variables:
14970;; mode: change-log
14971;; left-margin: 8
14972;; fill-column: 74
14973;; version-control: never
14974;; End:
902f2ccb
MC
14975
14976 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 14977 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
14978 Copying and distribution of this file, with or without modification,
14979 are permitted provided the copyright notice and this notice are preserved.
This page took 1.550412 seconds and 4 git commands to generate.